Can Bus
Can Bus
Vehicle application
Network configuration
▶ Network type
BUS type
Applied to CAN communication
Intervention required for multiple access
BUS type
Simple structure
Easy to add /remove controls
Star Brothers
Parallel Communication
Parallel communication
Transfer data to multiple lines simultaneously
Star Brothers
Synchronous Communication
Synchronous communication Need a separate line for synchronization
MOST communication
ASynchronous Communication
Asynchronous communica- St St
Ring typetion art op Synchronize in Data Frame
bit bit
① Data request
BUS type
Principal relationships in data transmission
Master/Slave Respond to Master's request
LIN communication
②Response
Communica-
tions Master/slave Multi-master Circulation structure
Subject
Communica-
tions Line 1 Second Line Optical cable
Line
Standard
12V 0V/5V 2.5V
Voltage
Beat
Time 208 ㎲ 96 ㎲ 50 ㎲ 10 ㎲ 2㎲ 44 ㎱
· Response to communi-
Major · Consisting of headers/ · Sensitive to communi- · Strong against external
·Response after requesting data cation line failure
Features respawns
(Line 1)
cation line failure noise
Major communication methods
[Diagnostic equipment]
C-CAN B-CAN
[BCM] [SJB]
(500Kbit/s) (100Kbit/s)
* Example) Sonata (YF) and many * Example) New vehicles after Santa Fe (DM ), K9
others.
Data Transfer Flow
▶ Meaning of waveform
The communication waveform transmits information in a combination of ‘1’ and ‘0’.
Reference voltage: 10 V
Signal:‘ 1 ’
Signal:‘ 0 ’
제어기 [ A] 제어기 [ B ]
C AN C AN C AN C AN
MC MC
Co n t Tr a n Tr a n Co n t
1. Transfer data from MC 1. Receive signals of ‘1’ and ‘0’ from the CAN transceiver
2. Frame configuration on CAN controller 2. Frame analysis and data generation on the CAN controller
3. The CAN transceiver configures the frame into signals ‘1’ 3. Control after receiving signals from MC
and ‘0’ and sends them to the BUS.
Network configuration
BUS type
12V → 0V
Binary consists of ‘ 1’’ and ‘ 0’.
Dominant, recessive Voltage in different binary states
Dominance always prevails over recession
Star Brothers
Ring type
Data Transfer Flow
High
3.5V
BUS type
2.5V
the voltage difference between the two lines
C-CAN Low · 0 V thermal (‘ 1 ’)
1.5V
·If the voltage is 2V or higher, it is dominant (‘ 0 ’)
recessive Dominance
('1') ('0')
Low
5V
3.5V the voltage difference between the two lines
· 5 V thermal (‘ 1 ’)
B-CAN 1.5V ·If the voltage is less than 2V, it is dominant (‘ 0 ’)
Star Brothers High
0V Application of fault tolerance function
recessive Dominance
('1') ('0')
12V Based on 12 V
K-Line recessive ('1').
Ring typeLIN · Thermal properties of 9.6V (80%) or higher (‘ 1 ’)
·Preference of 2.4V (20%) or less (‘ 0 ’)
Dominance ('0')
0V
Data Transfer Flow
▶ Termination resistance
☞ Applied inside controller configured at both ends of BUS ☞ Applied inside all controllers
2. Communication frame structure
Protocol
▶ The protocol is
A communication protocol that sets rules for communication, transmission method, error management, etc.
Registered primarily as standards by ISO (International Standards Organization), SAE (American Society of
Automotive Engineers)
▶ K-Line
Frame structure
Target
Data length Data features Data #1 Data #2 Data #3 Data #4 Data #5 Check Thumb
Controller ad- (1byte) (1byte) (1byte) (1byte) (1byte) (1byte) (1byte) (1byte)
dress
(1byte)
▶ LIN communication
Frame structure
It signals the start of a new frame and outputs a dominant It is the actual data transmitted and received by the controller.
signal of 13 bits The length depends on the amount of data.
Slave synchronization induction It is a space used to verify data. All data is calculated by adding
and accumulating 8 bits, and then verified with the remaining
3. Identifier values.
▶ CAN communication
Frame structure
SOF Arbitration Areas DLC Data #1 to #8 CRC area ACK EOF IFS
(1bit) (11byte) (6byte) (up to 64 bits per 1 byte) (15bit) (2bit) (7bit) (3bit)
1. SOF
· Signal indicating the start of sending data by a specific controller when the BUS is in idle state
·1bit dominant signal is transmitted, and other controllers are synchronized based on this signal
2. Arbitration Areas
· Det ermine priority when multiple controllers send signals to the BUS at the same time
· BUS as data priority, not controller
· RTR bits are also included in the Arbitration Areas
Data Frame Analysis
▶ CAN communication
Frame structure
SOF Arbitration Areas DLC Data #1 to #8 CRC area ACK EOF IFS
(1bit) (11byte) (6byte) (up to 64 bits per 1 byte) (15bit) (2bit) (7bit) (3bit)
3. DLC
4. Data Area
5. CRC Area
· The bit flow from the start of the frame to the data is expressed in polynomial f(x) and transmitted
· Check whether the controller that received the data matches the CRC value after calculating the frame (amount and part of the data)
Data Frame Analysis
▶ CAN communication
Frame structure
SOF Arbitration Areas DLC Data #1 to #8 CRC area ACK EOF IFS
(1bit) (11byte) (6byte) (up to 64 bits per 1 byte) (15bit) (2bit) (7bit) (3bit)
6. ACK
Seven recessive signals are sent as a signal indicating the end of the frame.
5. IFS
· The period during which one frame is finished and the next frame is prepared
· No signal can be transmitted
Error type
Beat error If the bit sent by the controller and the Feedback bit are incorrect
Response error If no one has received an incoming response to the transmitted data (ACK response)
CRC error If the calculated CRC value is incorrect (send side and receive side)
BUS-OFF
MESSAGE ERROR
LENGTH ERROR
DELAYED ERROR
Understand network control relationship and CAN schematic
Network Control Relations
Messages Signal
…
High
Cluster
High Low Low
• CLU1
TCU VDC SPAS EPB
• CLU2
Prioritize by ID
Time = 50 ㎲ Time = 20 ㎲
CAN related failure cases
Terminating resistance
T/M Astronic
Cause Main wiring short circuit.Disconnection
Mileage 550,000 Km
Microscopic interference
Thank you