scholarly journals Operating System Realization for Real-Time Visualization of CAN-Bus Data Streams using Xilinx Zync SoC

2020 ◽  
Vol 4 (2) ◽  
pp. 44
Author(s):  
Mohammad J. M. Zedan

The revolution in the automotive industry over time led to more and more electronics to be included in the vehicle and this increased the number and space allocated for cables. Therefore, the in-vehicle cabling network has been replaced with a two-wire bus serial communications protocol called Controller Area Network (CAN). The proposed paper describes the implementation of the CAN controller as a listener to monitor the state of the CAN bus in a real-time approach. The CAN listener obtains the data from the CAN bus by using an external signals converter. The work is realized using development platform called ZedBoard. The controller performs a sequence of processes on the received CAN frames including decoding, buffering and filtering. The processed data is stored in an implemented FIFO to keep the data from loss. After that, the data is sent serially to the processor system over the implemented SPI that connects the controller with the processor of the Zynq-7000 device. A single-threaded, simple operating system is run over the processor to provide a set of libraries and drivers that are utilized to access specific processor functions. It enables the execution of the C code that was written to configure the operation of the onboard display unit. The design procedure and simulation process for the implemented CAN listener is achieved using the Xilinx ISE WebPACK environment, while the final complete design is properly tested and verified by connecting the module to a CAN network consisting of six CAN nodes.

Author(s):  
Yingji Liu ◽  
Kan Zhao ◽  
Chen Ding ◽  
Yu Yao

Real-time remote monitoring and fault diagnosis for commercial buses has important significance in reducing the occurrence of potential accidents. This paper presents a real-time remote monitoring system for the running state of commercial passenger buses. The vehicle Controller Area Network (CAN) bus is able to collect the information of key indicators being monitored, such as brake pressure, oil pressure and fault code. Then, the collected data are uploaded to the central remote monitoring platform through a General Packet Radio Service (GPRS) module for further analysis and decision-making. In this work, a classification based data acquisition method and a hybrid configuration data transmission method are proposed to improve the efficiency of data acquisition and transmission. The authors also proposed a Run-length based relative coding algorithm to compress the massive monitoring data. Experimental results shows the average data compression ratio is 32.17%, which effectively reduces the data transmission cost.


2012 ◽  
Vol 2012 ◽  
pp. 1-12 ◽  
Author(s):  
Lisheng Jin ◽  
Qingning Niu ◽  
Haijing Hou ◽  
Huacai Xian ◽  
Yali Wang ◽  
...  

Driver cognitive distraction is a hazard state, which can easily lead to traffic accidents. This study focuses on detecting the driver cognitive distraction state based on driving performance measures. Characteristic parameters could be directly extracted from Controller Area Network-(CAN-)Bus data, without depending on other sensors, which improves real-time and robustness performance. Three cognitive distraction states (no cognitive distraction, low cognitive distraction, and high cognitive distraction) were defined using different secondary tasks. NLModel, NHModel, LHModel, and NLHModel were developed using SVMs according to different states. The developed system shows promising results, which can correctly classify the driver’s states in approximately 74%. Although the sensitivity for these models is low, it is acceptable because in this situation the driver could control the car sufficiently. Thus, driving performance measures could be used alone to detect driver cognitive state.


2013 ◽  
Vol 579-580 ◽  
pp. 792-797
Author(s):  
Yan Wang ◽  
Zhong Da Yu ◽  
Chen Xing Bao ◽  
Dong Xiang Shao

In this paper, we realize a real-time communication based on wireless local area network (WIFI) and controller area network (CAN) bus and develop a distributed control system for an automated guided vehicle (AGV). The system consists of two levels: (1) communication between AGVs and main computer based on WIFI, (2) communicationg between control units of AGV based on CAN bus. A real-time operating system μC/OS-II was used to control time, which significantly reduces the time for program and improves development efficiency. Finally, a small-size distributed AGV controller is developed as the main control unit of AGV and a distributed I/O system is developed based on it.


2012 ◽  
Vol 433-440 ◽  
pp. 5584-5590
Author(s):  
Ke Fei Wang

This article is designed based on Samsung's S3C2410 company as the main processor, Cruise system, using CAN bus process communication and exchange, using Real Time Embedded Systems operating system, greatly improving the system running the real-time nature and stability. Microprocessor on the sensor signals collected were processed, as confirmed when the need to open the main cruise control switch, and then to cruise speed up or slow down. Upon completion of desired goals, the disconnect cruise switch, out of cruise, the system also has fault diagnosis, and with diagnostic interface to prepare for maintenance use.


1990 ◽  
Vol 36 (9) ◽  
pp. 1572-1575 ◽  
Author(s):  
K S Margrey ◽  
A Martinez ◽  
D P Vaughn ◽  
R A Felder

Abstract Many clinical laboratory instruments are not designed for robotic compatibility, hence the need for standardization of data communications and analyzer interface hardware. We developed an interface with supporting software that simplifies communication between a microcomputer and clinical instruments. Our interface establishes a standardized bidirectional communications protocol, which is useful in many clinical laboratory robotic projects. Instruments targeted for interfacing require no prior on-board communications capabilities. Additionally, modifications to the clinical instrument are minimized. Once installed, the interface translates input commands to codes or actions recognizable by the analyzer. Features not normally available to the user, such as electrode real-time response and full instrument status, are also reported by the interface, thereby establishing a remote monitor and control mechanism for the interfaced instrument. We have written an operating system to control the interface microcomputer, which in turn commands and monitors the clinical analyzer. A host computer controls the information flow to the interface and provides (a) requests to the interface for instrument operation and status and (b) commands to the interface to initiate the desired instrument operation. This arrangement maintains complete instrument functionality as designed by the manufacturer while allowing remote monitoring and operation of the instrument.


2021 ◽  
Vol 54 (1) ◽  
pp. 1-37 ◽  
Author(s):  
Emad Aliwa ◽  
Omer Rana ◽  
Charith Perera ◽  
Peter Burnap

As connectivity between and within vehicles increases, so does concern about safety and security. Various automotive serial protocols are used inside vehicles such as Controller Area Network (CAN), Local Interconnect Network (LIN), and FlexRay. CAN Bus is the most used in-vehicle network protocol to support exchange of vehicle parameters between Electronic Control Units (ECUs). This protocol lacks security mechanisms by design and is therefore vulnerable to various attacks. Furthermore, connectivity of vehicles has made the CAN Bus vulnerable not only from within the vehicle but also from outside. With the rise of connected cars, more entry points and interfaces have been introduced on board vehicles, thereby also leading to a wider potential attack surface. Existing security mechanisms focus on the use of encryption, authentication, and vehicle Intrusion Detection Systems (IDS), which operate under various constraints such as low bandwidth, small frame size (e.g., in the CAN protocol), limited availability of computational resources, and real-time sensitivity. We survey and classify current cryptographic and IDS approaches and compare these approaches based on criteria such as real-time constraints, types of hardware used, changes in CAN Bus behaviour, types of attack mitigation, and software/ hardware used to validate these approaches. We conclude with mitigation strategies limitations and research challenges for the future.


2013 ◽  
Vol 694-697 ◽  
pp. 2667-2670
Author(s):  
Cheng Ji Ouyang ◽  
Hai Xian Xu ◽  
Hong Juan Zhang ◽  
Bin Huang

Specific to the problems of current loader weighing device, for example, lack of accuracy and poor real-time processing ability, this paper designed a new type loader electronic scale and introduced μC/OS-II operating system into this system. Besides, GPRS communication module is added and the digital sensor is installed. At the same time, CAN bus is applied to carry out information transmission, which effectively improves the accuracy, real-time processing ability and anti-interference ability of loader electronic scales.


2011 ◽  
Vol 383-390 ◽  
pp. 4318-4322
Author(s):  
Zai Ping Chen ◽  
Yan Lei Guo

Controller Area Network (CAN) is widely used in real-time automobile control and is gaining wider acceptance as a standard for factory automation. This paper discusses the applicability of Rate Monotonic (RM) techniques to the scheduling of CAN messages. Rate Monotonic can guarantee higher network utilization, but it is difficult to implement in periodic data networks or local buses. The paper mainly analyzes the RM scheduling algorithm and then establishes the simulation model about the algorithm based on CAN bus, and analyzes the effect in this situation of experiment.


Sign in / Sign up

Export Citation Format

Share Document