IPEmotion CAN Bus Traffic Recording, Analysis, Generation PM 04.05.2016 (V2.3)
Contents 1. Applications 2. Benefits for Customers 3. Functions of the Protocols PlugIn 4. Traffic recording 5. Traffic analysis 6. Traffic generator / simulation 7. Message generator 8. Appendix: ID filter and frames 2
Applications CAN Bus Traffic simulation and analysis are common requirements for customer working with ECUs on their logging and data acquisition applications. IPEmotion supports: CAN Bus analysis & diagnostic Benchmarking und Reengineering Error analysis Simulating CAN bus traces IPEmotion data acquisition software combines CAN measurement, traffic analysis and simulation applications in one package. 3
Functions of the Protocols PlugIn CANdb free running CAN Traffic measurement CAN Traffic send CAN protocols: OBD / OBD21 measurement GM-LAN J1939 with: Diagnostics Message 1 (DM1) Status Signals FMI (Failure Mode Identifier) OC (Occurrence Count) XCP, CCP, KWP XCPonETHERNET Description files import for 2 interfaces: CAN: DBC, Autosar, A2L, Fibex, GM-LAN ETH: A2L 4
Protocols PlugIn Traffic Measurement Create Traffic channel on CAN interface. Activate required frames Start measurement 5
Traffic Analyzer Instrument Messages (IDs) Option: show Signals from DBC Filter function in the columns. 6
Product Overview: Traffic Analyzer Window Settings Color highliting Traffic frames Accaptance filter CAN Messages Traffic export Requirements Product Overview Trace based view (IDs) Logger view (Number of tabel enties configurable) Filter function by coumn: ID, Name, Type Data display: switch between decimal / hexadecimal Changing bytes are indicated by different background colors Blue: slow chaning data bytes 5 seconds or slower Grey: fast changing data bytes < 5 seconds White: static signals no changes Instrument update rate: 10 Hz Data, Status, Remote, Error, Statistic, Counter In the Protocols PlugIn filter conditions for ID & Mask and extended ID Mask can be defined See Appendix. With suitable DBC file CAN message are availabel Export ASCII file from the instrument IPEmontion 2014 R2 & Protocols PlugIn Edition: Professional or Developer 7
CAN Traffic export to ASCII Export Traffic messages to ASCII (.ASC) file. 8
CAN Traffic Generation - Sending How to generate and output CAN signals: Manually: Manually input of values to a CAN Send channel Use Traffic Generator instrument Automatically: Function Generator which is sending signals to the CAN Send channel. CAN Traffic generator to play back a CAN traffic recorded file. 9
Traffic Generator - configuration Create traffic Genrator channel Link Traffic ASCII file to the generator. Start measurement The signals from the ASCII file are played back. 10
VIEW Message Generator Enter values for transfer in the message ID data grid. Import DBC as a reference for message definition. YouTube: http://youtu.be/hi8lyfnkcu0 11
Appendix Supported Frames for CAN traffic measurement: Data frames Status frames Remote frames Error frames Statistic frames Transmit frames 12 Include signal data received from a CAN interface / device. This frame is not measured on the CAN bus. Rather it is generated by the PlugIn. The status frames include an error counter for received Rx und transmitted Tx frames and can report the following status changes when a certain limit is crossed: CAN_SERVER_STATE_BUS_ACTIVE > changed to status active CAN_SERVER_STATE_BUS_WARNING> changed to status warning CAN_SERVER_STATE_BUS_PASSIVE > changed to status passive CAN_SERVER_STATE_BUS_OFFLINE > changed to status offline Buffer overflow causing a loss of data: CAN_SERVER_STATE_HARDWARE_BUFFER_OVERFLOW CAN_SERVER_STATE_SOFTWARE_BUFFER_OVERFLOW CAN_SERVER_STATE_BUFFER_OVERFLOW This is a request telegram to ask a passive CAN device to provide data. A CAN device is sending an error message This frame is not a frame measured on the CAN bus. Rather it is calculated by the PlugIn to provide bus statistic information. This are frames sent from the PlugIn and the installed CAN card.
Appendix Protocols PlugIn is supporting filter functions on ID level. 0x0B 0xB5 Example: The following IDs can pass the filter 0xB4, 0xB5, 0xB6, 0xB7, 0xBC, 0xBD, 0xBE,0xBF 13
IPEmotion CAN Bus Traffic Recording, Analysis, Generation PM 04.05.2016 (V2.3)