Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
(Data)
Recipient
Recipient A
A (Node)
(Node)
Delivery Network
(Communication Bus)
Wrapped Package
(Protocol)
Contents Unwrapped
(Data)
Sender
Sender B
B
Recipient
Recipient B
B
Sender
Sender C
C
Recipient
Recipient C
C
Additionally, when a package is late, lost and/or damaged, the delivery company tracks and warranties the
item. Similarly, if communication data is late or damaged, an error is detected, and the data is sent again.
sec
Enlargement
One Frame
CAN-High
2.0V
2.5V
2.5V
CAN-Low
*1
CAN-High
2.0V
sec
10
100
200
CAN-Low
300
400
500
600
700
800
*1: With ACK signals, since all nodes reply, output accumulates, and voltage increases.
Frames used in CAN communication can be divided into the four types listed at the bottom of the page. In
addition, to separate the (1) data frame, and (2) remote frame from the preceding frames, a space called the
inter-frame space is placed before both (1) and (2). Each of the following frame types will be explained on
the proceeding page.
(1) Data Frame
(2) Remote Frame
(3) Error Frame
(4) Overload Frame
10
Actual Data
Ex.) 80C
Calculation Value
ACK Slot
RTR IDE r0
Identifier
11
DLC
Data
CRC
0-64
15
3 Control
2 Arbitration
1 Start Of Frame
CRC Delimiter
4 Data
ACK Delimiter
EOF
5 CRC
6 ACK
7 End Of Frame
Meaning
Each Field
1 Start Of Frame (SOF)
2 Arbitration
Displays messages in prioritized order. Acquires transmission authority from the longest continuously dominant node.
3 Control
4 Data
Used for correct recipient verification. Normally, the reception node transmits a dominant signal to the ACK slot.
7 End Of Frame
1 Start Of Frame
ACK Slot
CRC Delimiter
ACK Delimiter
RTR IDE r0
11
2 Arbitration
DLC
CRC
15
3 Control
EOF
1
4 CRC
5 ACK
6 End Of Frame
Error Flag
Error Delimiter
6
0-6
Overload Flag
Overload Delimiter
6
0-6
11
3 ERROR DETECTION
CAN communication has the following five error detection functions.
Error Detection
Function
Detection Node
Bit Error
Detects when values for transmission data and data on the bus differ.
Staff Error
Detects when six or more equivalent bit levels have continued without
following bit staff regulations.
CRC Error
Detects when the delivered CRC and the CRC calculated for the
reception side do not match.
Form Error
ACK Error
Detects when dominant has not been detected in the ACK slot.
ACK Slot
RTR IDE r0
Identifier
1
Error
Detection
Locations
11
Transmission Side,
Reception Side Node
CRC Delimiter
DLC
Data
CRC
0-64
15
ACK Delimiter
EOF
Bit Error
Staff Error
Form Error
CRC Error
ACK Error
Form Error
A node that has detected an error using one of the error detection functions outputs an error frame, and
notifies other nodes of an abnormality. Each node is controlled according to the detected error, such that the
error frame continues to be output to prevent the bus from being completely monopolized. There are the
following three types of error states.
Error State
Control
Error Passive
(Blinking Red Signal)
Error Active
(Green Signal)
12