InteractionLayer

上传人:206****923 文档编号:88626413 上传时间:2019-05-05 格式:PDF 页数:50 大小:720.87KB
返回 下载 相关 举报
InteractionLayer_第1页
第1页 / 共50页
InteractionLayer_第2页
第2页 / 共50页
InteractionLayer_第3页
第3页 / 共50页
InteractionLayer_第4页
第4页 / 共50页
InteractionLayer_第5页
第5页 / 共50页
点击查看更多>>
资源描述

《InteractionLayer》由会员分享,可在线阅读,更多相关《InteractionLayer(50页珍藏版)》请在金锄头文库上搜索。

1、 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.012011-05-18 Interaction Layer GENy 2 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slid

2、e: Q INTRODUCTIONINTRODUCTION Agenda TRANSMISSION WITH INTERACTION LAYER RECEPTION WITH INTERACTION LAYER STATE MACHINE OF THE INTERACTION LAYER FUNCTIONS OF INTERACTION LAYER GENY - GENERATION TOOL 3 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior

3、written approval by Vector. Slide: Q Communication Needs for ECUs Engine Speed (ES): rpm (revolution per minute) Information exchange between the ECUs ABS Dashboard Dashboard ABS Typical ECUs Engine Speed CAN 4 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject

4、 to prior written approval by Vector. Slide: Q Modular Build-up of each ECU The software for communication is similar to all ECUs. Usually the Applicationcontrols the reception and the transmission of CAN messages. Now the Interaction Layer takes over this task. CANbedded Software Components for Com

5、munication and Diagnostics Application 5 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Message and Signal The Interaction Layer provides a Signal OrientedInterface The network database engineer is responsible f

6、or the distribution of the signals to the messages Message IDDLC byte n (low) n (high) Signal A signal can exceed byte boundaries (1 Bit to 8 Bytes) ES (high) ES (low) ES (low) ES (high) 6 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written appr

7、oval by Vector. Slide: Q Task of the Interaction Layer General Tasks KData Consistency KSignal Access Tx Tasks KDelay Time KTransmission Modes KDefault Values KNotification of successful Transmission Rx Tasks KNotification on Reception KTimeout Monitoring KDefault Values 7 2011. Vector Informatik Gm

8、bH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Agenda INTRODUCTION RECEPTION WITH INTERACTION LAYER STATE MACHINE OF THE INTERACTION LAYER FUNCTIONS OF INTERACTION LAYER GENY - GENERATION TOOL TRANSMISSION WITH INTERACTION LAYERTRANSMISS

9、ION WITH INTERACTION LAYER 8 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Transmission with Interaction Layer ABS Without IL K wait for timer to elapse K Store ES in Buffer K Call CanTransmit until return valu

10、e is ok K new start of the timer IlPutTxES( value); With IL t ES(t) ES(t) ES(t) ES(t) ES(t) ES(t) Dashboard ES 9 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q .and there are more complex ways to send signals th

11、an cyclic. How would you change the script, when you have to send periodical and on a change of the value of ES? K wait for timer to elapse K Store Signal ES in Buffer K Call CanTransmit until return value is ok K New start of the timer The Interaction Layer will do this for you Transmission with In

12、teraction Layer 10 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Cyclic Transmission Mode GenMsgCycleTimeattributes 11 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject t

13、o prior written approval by Vector. Slide: Q IlPut_(10) message (10) IlPut_(12) message (15) IlPut_(15) lost signal Send on Event attributes 12 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Transmission Fast if

14、 Signal Active Mode Application Interaction Layer Data Link Layer IlPut (5) message (5) message (20) IlPut (20) message (20) Decision message (20) If(x!=10) IlPut (10) IlTaskIlTaskIlTaskIlTaskIlTaskIlTask IlTaskIlTaskIlTaskIlTaskIlTask t the signal is active if its value is not 10. GenMsgCycleTimeFa

15、st IlPut (10) IlTaskIlTask Transmission Fast if Signal is Active GenMsgCycleTimeFastattributes 13 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q Send on Event with Repetition attributes 14 2011. Vector Informati

16、k GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q IlPut (5) message (5) message (20) IlPut (20) message (10) message (20) IlPut (10) message (10) Transmit Fast if Signal is Active with Repetition attributes GenMsgCycleTimeFast with GenMsgNrOfRepetition 15 2011. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: Q message (cycle)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号