design of technical condition monitoring system of vehicle based on can bus authors : ruili zeng,...

18
Design of Technical Condition Design of Technical Condition Monitoring System of Vehicle Monitoring System of Vehicle Based on CAN Bus Based on CAN Bus Authors Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy of Military Transportation Tianjin, China Wenjun Dai, Bin Zhou, Lingling Zhang Group of Machine Repair Unit of 63996 Beijing, China Computer Science and Information Technology (ICCSIT), 2010 3rd IEEE International Conference on Speaker 陳陳陳 M98G0105 111/05/1 3 1

Upload: sybil-clark

Post on 17-Jan-2016

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Design of Technical Condition Monitoring Design of Technical Condition Monitoring System of Vehicle Based on CAN BusSystem of Vehicle Based on CAN Bus

Authors :Ruili Zeng, Yunkui XiaoDepartment of Automobile EngineeringAcademy of Military Transportation Tianjin, China

Wenjun Dai, Bin Zhou, Lingling Zhang Group of Machine Repair Unit of 63996 Beijing, China

Computer Science and Information Technology (ICCSIT),

2010 3rd IEEE International Conference on 

Speaker :陳明睿 M98G0105

112/04/21 1

Page 2: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

OutlineOutlineIntroductionOverview of CAN bus Design of electronic control unit Node scheduling optimization◦ Scheduling parameters ◦Node optimization

Analysis of data Conclusions

112/04/21 2

Page 3: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

IntroductionIntroductionBOSCH had develop CAN in the early 1980's and used

between measurement components and executive components.

Ex:◦ Electronic fuel injection engine, electronically

controlled high pressure common rail injection system, anti-lock brake system, AT(Automatic Transmission) and electrical window regulator

This paper mainly discusses the development of hardware and software for the controllers and analysis of vehicle's information.

112/04/21 3

Page 4: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Overview of CAN busOverview of CAN busCAN is an asynchronous communications protocol used

in automobile and industrial control systems.

It is a high speed (I Mbit/sec), short distance, priority based protocol that can communicate using a variety of mediums

Prioritized messages of length 8 bytesError detection mechanisms

112/04/21 4

Page 5: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Overview of CAN busOverview of CAN busCAN Bus provides the following features

◦ A multi-master hierarchy, Which allows building intelligent and redundant systems.

◦ Broadcast communication. A sender of information transmits to all devices on the bus. All receiving devices read the message and then decide if it is

relevant to them.

◦ Sophisticated error detecting mechanisms and re transmission of faulty message.

CAN2.0B protocol is applied to the control of sound device and comfort,

112/04/21 5

Page 6: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Design of electronic control unit Design of electronic control unit

112/04/21 6

Page 7: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Design of electronic control unit Design of electronic control unit

112/04/21 7

Page 8: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimization

112/04/21 8

Scheduling parameters ◦ CAN bus average load rate Ut

It is sum of all information frame occupancy percentage of CAN bus.

Page 9: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimization

Maximum delay time limit Rm

◦It is interval of node controller from begin sending information frame to finish in worst transmission condition

◦maximum delay time limit is

112/04/21 9

Page 10: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimization

Where wm is waiting time of send information frame in the worst condition

hp(m) is information frame set which priority is higher than frame m .

Bm is longest time delayed by frame with lower priority than frame m

112/04/21 10

Page 11: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimizationNode optimization◦Chose optimum communication rate. Based on

reliable information transmission, increasing communication rate can decrease time occupation bus of information frame and bus average load rate, improve real-time ability of net work

112/04/21 11

Page 12: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimizationNode optimization◦Confirm stability margin of system.◦The more stability margin is, the more system

can avoid network communication block.◦Redundancy a is expressed as formula.

112/04/21 12

Page 13: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Node scheduling optimizationNode scheduling optimization

Distribute information frame sending period. Analyze performance of CAN network, and adjust sending period according to demands. Avoid difference between two sending period is integral multiple as possible. If it is, advance or postpone a maximum delay time △ Cm=Rm.

112/04/21 13

Page 14: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Analysis of data Analysis of data When there are eight nodes, set information frame of

transmission system highest priority and CAN bus communication velocity 250kbps.

112/04/21 14

Page 15: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Analysis of data Analysis of data Analysis results of maximum delay time limit in theory

and practice is displayed as fig 3, among them, maximum delay time of node with lowest priority is reduced by 30%.

112/04/21 15

bus average load rate is 10.2%, it is 10.67% after adjustment.

Page 16: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Analysis of data Analysis of data

It increases a little because sending period is shorten after adjustment and is within the acceptable range of bus.

A CAN analyzer made in IXXA T Inc.

1. bus average load rate

2. baud rate

3. Queue

4. error rate

112/04/21 16

Page 17: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

Analysis of data Analysis of data

112/04/21 17

Page 18: Design of Technical Condition Monitoring System of Vehicle Based on CAN Bus Authors : Ruili Zeng, Yunkui Xiao Department of Automobile Engineering Academy

ConclusionsConclusionsBy hardware design and optimize nodes

scheduling, technical condition monitoring ECU of vehicle based on A T90CAN 128 chip is designed.

maximum CAN bus information delay time after optimizing node scheduling is shorten as 30% as before

Promote real-time ability of information transmission, increase CAN bus average load rate by 0.47%

112/04/21 18