HMI EMBEDDED SYSTEM DESIGN AS A FUNCTION OF TECU

Similar documents
7a. System-on-chip design and prototyping platforms

Microcontrollers in Practice

Using Xbee in Serial Communication

Serial Communications

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Software User Guide UG-461

FLYPORT Wi-Fi G

Lab Experiment 1: The LPC 2148 Education Board

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

The Design of Hardware for Remote Control System of the Manipulator

A-307. Mobile Data Terminal. Android OS Platform Datasheet

SCADA and Monitoring for Solar Energy Plant

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

Technical description MX-1 VB Edge

Eureka Technology. Understanding SD, SDIO and MMC Interface. by Eureka Technology Inc. May 26th, Copyright (C) All Rights Reserved

Lesson 7: SYSTEM-ON. SoC) AND USE OF VLSI CIRCUIT DESIGN TECHNOLOGY. Chapter-1L07: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Freescale Semiconductor, I

A-317. Mobile Data Terminal. Android Platform Datasheet

Security & Chip Card ICs SLE 44R35S / Mifare

Designing VM2 Application Boards

Fondamenti su strumenti di sviluppo per microcontrollori PIC

USER MANUAL V5.0 ST100

ATB50v1 GPRS / GPS Based Fleet Management Terminal. Datasheet

Serial port interface for microcontroller embedded into integrated power meter

R-Win. Smart Wireless Communication Management System

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Serial Communications

Single channel data transceiver module WIZ2-434

All Programmable Logic. Hans-Joachim Gelke Institute of Embedded Systems. Zürcher Fachhochschule

WinCon Programmable Automation. Controller

Version Date Author Description Jpo First version Jpo FET output descriptions made clearer

ADVANCED VEHICLE TRACKING SYSTEM USING ARM7

FM4100 USER MANUAL V1.4

Display Message on Notice Board using GSM

Final Design Report 19 April Project Name: utouch

IRT84. Irt84. Datasheet. EMV L1 compliant terminal with ISO14443A/B. 1

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Access Control Using Smartcard And Passcode

MVME162P2. VME Embedded Controller with Two IP Slots

System Design Issues in Embedded Processing

R&D Access Touch 3.1 User Manual Version 1.00 Public 1 (13) User Manual. Access Touch 3.1

System-on-a-Chip with Security Modules for Network Home Electric Appliances

Chapter 2 Features of Embedded System

What is LOG Storm and what is it useful for?

A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b

Designed for the needs of automation, telecommunications, remote supervision, and monitoring

BUILD VERSUS BUY. Understanding the Total Cost of Embedded Design.

Special Note Ethernet Connection Problems and Handling Methods (CS203 / CS468 / CS469)

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

Fleet Management Solution

VON BRAUN LABS. Issue #1 WE PROVIDE COMPLETE SOLUTIONS ULTRA LOW POWER STATE MACHINE SOLUTIONS VON BRAUN LABS. State Machine Technology

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Why you need to monitor serial communication?

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC STANDARD INTRODUCTION

SAN Conceptual and Design Basics

Design Considerations in Adding USB Communications to Embedded Applications

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

How to design and implement firmware for embedded systems

User manual Compact Web PLC WP240 series IEC-line

Intelligent Fleet Management System Using Active RFID

ACR880 GPRS Portable Smart Card Terminal

Reconfigurable System-on-Chip Design

Pre-tested System-on-Chip Design. Accelerates PLD Development

applicomio Profibus-DP

The Secrets of Flow Control in Serial Communication

Adding WiFi to Your Embedded System. WPG Americas & Gainspan Titus Wandinger (WPG) & Su Li (Gainspan) April 23, 2013

Raghavendra Reddy D 1, G Kumara Swamy 2

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

This idea could limit unnecessary visits and help developing countries to provide healthcare remotely as well.

Alcalde # 1822 Col. Miraflores C.P Guadalajara, Jal. Mexico MX 01 (33) y USA 001 (619) (San Diego, CA.

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

Implementation of Wireless Gateway for Smart Home

EVAL-UFDC-1/UFDC-1M-16

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Networking Remote-Controlled Moving Image Monitoring System

Getting Started Guide with WIZ550web

1 Serial RS232 to Ethernet Adapter Installation Guide

Process Control and Automation using Modbus Protocol

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

Tutorial for MPLAB Starter Kit for PIC18F

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Part Number Description Packages available

Virtual KNX/EIB devices in IP networks

What else to be embedded. Teddy Kuo ICP Group CEO President IEI Technology Corp.

NIOS II Based Embedded Web Server Development for Networking Applications

Open Flow Controller and Switch Datasheet

International Journal of Advancements in Research & Technology, Volume 2, Issue3, March ISSN

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World


Technical Notes TN 1 - ETG FactoryCast Gateway TSX ETG 3021 / 3022 modules. How to Setup a GPRS Connection?

WISE-4000 Series. WISE IoT Wireless I/O Modules

Transcription:

HMI EMBEDDED SYSTEM DESIGN AS A FUNCTION OF TECU Katrenčík J., Čupera J., Fajman M. Department of Technology and Automobile Transport, Faculty of Agronomy, Mendel University in Brno, Zemedelska 1, 613 00 Brno, Czech Republic E-mail: xkatrenc@node.mendelu.cz ABSTRACT The article deals with the development of HMI systems for agricultural tractors. The characteristic feature of this system is the full support of the requirements SAE J1939. The system is developed completely, at present is formed embedded platform using advanced components - FPGA RT MCU and it is simultaneously integrated and supporting subsystems, GPS, GSM, RFID, etc. data logging. Above this embedded platform is created based HMI Industrial OS with applications developed in LabVIEW. Interaction is made with the touch screen monitor with the possibility of use of integrated drivers. The system is the initial stages of testing and the next stage will be followed by PCB redesign due to the necessity to maintain dimensions of the tractor. Key words: HMI, CAN-BUS, FPGA Acknowledgments: This study was supported by the project 2101/SP2130511 "Design of a user interface of control terminal of agriculture tractor" and financed by Internal Grant Agency Mendel University in Brno; Faculty of Agronomy. This study was supported by the project No. TP 5/2013 "Application of non-destructive methods of technical diagnostics in Agricultural technology" and financed by Internal Grant Agency Mendel University in Brno; Faculty of Agronomy. 826 P age

INTRODUCTION Today s use of electrical regulated systems which are integrated in farm tractors, or in farm machinery generally, is being devalued of mismatch of often used protocols of communication networks. In other words, every single system is regulated with different manufacturers. System model fulfills categorization as a distributed, on the other hand, largely suffers from the mutual incompatibility, whether physical or example, application-layer communication protocol. It carries considerable difficulties not only in the primary purpose of the control systems, but also complicates the implementation of an internal diagnostic system, which must use physical or virtual formed intercom gateway. We can only speculate whether this is not the intention of the producers. By studying the revised documents issued by SAE, in our case, the Recommendation J1939 is readily apparent elimination of the above-described problem. Logically, therefore, the question arises whether it is possible to create a system based only on the platform SAE J1939. Moreover, the task was set to facilitate the integration of the necessary hardware and software to implement the existing machines, including reconfiguration of existing systems and setting priorities for individual systems. The paper shows the primary hardware platform with basic equipment and software connectivity to HMI intended for agricultural tractors. MATERIAL AND METHODS Internal system with interactive intervention by the operator, referred to as HMI has a unique position in the complex regulated system because sometimes it makes decision processes of the operator and requests from other microcontrollers. This makes it more difficult algorithm and opens the way for program errors. Unfortunately, in its current form there is no possibility of testing in accordance with the requirements of AUTOSAR, MISRA, etc. It will be described the hardware platform with the lowest layer of software that can be exaggeration to call firmware. Crucial importance in the present development was reliability. This is to some extent a function of the complexity of the number of segments, diversity and relationships between them. At the level of peripheral integration in integrated circuits it is possible to solve a wide range of applications based SoC (system on chip). From past experience, we decided to discretize the various roles of the gate array and solutions bonds confer superior system based on MCU with RT operating system on top of which will be further built HMI / SCADA. Development of FPGA hardware platform is very complicated, so we used standard National Instruments industrial solutions with commercial name SBRI - 9626th. This embedded system is equipped with FPGA Xilinx Spartan -6 LX45 with 43,661 logic cells and the possibility of I / O up to 358. Those plates due to internal needs reduce the number of DIO to 96, which, far exceeds our needs. Superior RT system is a Freescale MCU running at 400 MHz supplemented with 256 MB RAM and a static memory is 512 megabytes NAND Flash. PCB also contains many peripherals - Ethernet, RS485, RS232, CAN - BUS, SDHC port. For our purposes, however, has been used in fact only Ethernet for the purpose of programming and for connection to HMI. Required periphery we were right in the FPGA, respectively hw support for microcontrollers. Figure 1 shows the temporary system as a development board. This is not the final product; this is only a test device. The description of this board is done numerically. Under the number 1 is a primary part of the supply plate. All parts of the supply are electrically isolated switching DC / DC converters. To power SBRI - 9626 is necessary voltage range of 9-30V (12V default form), other 827 P age

circuits are powered by DC 5V or 3.3V DC. Since the FPGA inputs are 5V tolerant type, then the modules with I / O 5V level shifter used logic to 3.3V. An example might be the TX line of RFID module. For voltage 3.3V used standard linear voltage regulators, and all was very carefully smoothed capacitors. This was preceded by the development of modeling software Multisim. Number 2 shows the supply part of the PCB, which has been developed by us. Under the section 2 is specifically about backing up the Li - Ion batteries with a nominal voltage value of 3.6 V and a capacity of 2 x 2500 mah. The charge control including protections (over-charging, short circuit, thermal) is a solution of Linear Circuits own. Switching between the primary power supply and battery backup is done autonomous path controller. For supply voltages in these sizes are necessary to increase the voltage using a step - up converters, these are dedicated for each module separately. On the same plate is then fitted with GSM communication module (4). It facilitates the exchange of data between our platform being developed and remote client applications that can represent as remote diagnostic module or making bridge between applicator such as purpose-built software for the remote user. The module can operate on three bands. So far we have developed a software module that uses the GPRS standard, the test is a multi- slot. The module also includes GPS with unidirectional data line UART. In addition to this module is the position of the 5 marked the part that is intended for communication on the CAN bus. Physically, the CAN module consists CAN exciter MCP 2551 MCP controller and CAN 2515th The FPGA is connected to the SPI bus, and given the current bus load of 50 % is thus set to 10MHz bus, which provides sufficient data stream. Marking 6 carries RFID module with protocol Machaster for operator identification. All RF components including antennas are integrated in the module. Data are overrunning the TX line UART with Baud Rate 9600 kbps. The seventh member is formed SDHC port with storage options for cards up to 32 gigabytes The number 8 stands for Information Display, which is being formed 2x16 segments. 828 P age

Fig. 1 Embedded system (1. power sources DC/DC convertors, 2. Li-Ion back-up batteries, 3. main embedded system NI sbrio9626, 4. GSM/GPS module, 5. CAN-BUS module, 6. RFID reader, 7. External storage, 8. Info display HMI is being still under development, it is necessary to think over the open architecture due to the implementation of other protocols, now it is being considered with ISO- BUS as a virtual terminal Implement. Therefore, it is modified embedded system platform with Intel Atom installing MS Windows XP Embedded. This system booting from a CompactFlash card which is installed rapidly native LabVIEW NI. General HMI options on this platform are very broad. Among other things, it is intended to visual applications with connectivity over TCP / IP implemented in GSM Module. We can t forget the needs of internal diagnostics, which we have not yet conceived the protocol OBD - 2, the hardware based artist ELM327 is the HMI integrated approach and it provides a virtual serial port driver through the VISA. Figure 2 shows the mask. It should be noted that some modules are disabled and basic mask is being created due to testing response time and lower the reliability of embedded systems with FPGAs. Data exchange between the two parts is going on TCP / IP. In the future it will be necessary to address the overall style of power and integration in tractors without delay or manual way to disconnecting the battery. 829 P age

Fig. 2 Main screen of HMI. RESULT AND DISCUSSION The results of the current development of primary embedded boards show significant advantages of using FPGA compared to earlier test platform based on ARM Cortex core. As regards the intended central system, it is necessary to calculate a considerable number of peripherals. Contemporary MCU are greatly limited the number of peripheral IO and IRQ constant invocation and related problems. In contrast, the FPGA can emulate the hardware for each bus. Of course this is at the cost of increased programming effort. For an example, asynchronous serial bus often referred to UART. Loop dedicated to the FPGA on the RX waiting for the start bit and according to the selected bit is sampled DI of eight bits (optional) and the whole transfer is completed stop bit. Of course you can also solve parity or signal inversion, in that hw but this is not necessary. It is significantly positive individual FIFO settings for the application. For example, the RFID module is needed only 21 elements of data type U8. Similarly, you can also emulate SPI or I2C, appears problematic bus. Transfer to the bus is generally more sophisticated and the need tolerance voltage on the bus would still require a driver, so this module consists of a platform of microchip. As the microcontroller has its own buffer for two messages, then interrupt the MCP 2515 follows the input gate array and data are transferred to the buffer FPGA. Only here is based on comparison with the protocol (as required) decisions about their treatment. 830 P age

From the above it is clear that the distribution of individual routines gate array dramatically decreases the load master system represented by RT with Freescale MCU. Speed basic loop RT system is chosen time of 10 ms, of course, change timing is possible even in a running system. FPGA clock speed is fixed, the frequency of 40 MHz. The requirements of SAE J1939 recommendations are implemented in developing the system at the application layer, because the physical layer is consistent both with SAE J1939 and with with ISO 11898. But for now, not a module diagnostic protocol according to SAE J1939, which will be harder implemented, resp. now it is necessary to dedicate a relatively large size of the FIFO FPGA-RT and vice versa. CONCLUSIONS Experimental testing of developed systems have shown considerable potential of use of FPGA for embedded applications. In our case the HMI TECU segment (units SAE J1939 27hex), which is made up of modular touch panel with an industrial PC and embedded base plate, that carries all the activity. As already mentioned, this is a relatively early stage of development, but the chosen architecture easily allows expansion. It shows, for example, the information display, which only serves to display the system status will be replaced by a more expansive type of panel TFT / LED / OLED. It is also necessary to create additional opportunities for visualization viewer, is currently considering the detail of hydraulic system. In the longer term it will be necessary to focus on more comprehensive system of wireless transmission of data used for GPRS is no longer sufficient as audiovisual services and sophisticated database management systems. 831 P age