CAN Bus
CAN Bus
CAN bus was designed to serve the very specific needs of the automotive industry. To be fast, robust,
fault tolerant, deliver small amounts of data to automotive electronic devices.
Network Arbitration
The algorithm used by CAN bus for network devices to effectively use and share a common network bus.
The basic composition of a CAN bus data frame and how it relates to Network Arbitration
Using a CAN training kit, I build a simple CAN bus network data packets. It will show you first hand what
network engineers do to design and build CAN bus network.
First vehicle BMW installed CAN bus was BMW 850 Coupe
1986
They reduced wires length by 2 km and reduced weight by
50kg.
CAN bus – responsible for very reliable and rapid data
exchange.
Example: Power sliding door on Minivan
Body Control Module \Door Control Module
Key
Engine Control Module
Network Arbitration in Modbus/Network
Network consist of devices connected via some “shared” pathway
The GOAL is to get data reliably and securely delivered to the right devices at the right
time.
1.Modbus on RS485
Collision
EOF: 7
Arbitration - also called the Message Identifier.Responsible for Network Arbitration through setting of
message priority. Implements non-destructive collision detection. (THE MOST IMPORTANT PART)
ACK – acknowledgement
Logic 0 – CAN_H = 3.5 volts and CAN_L = 1.5 volts. So voltage difference is 2 volts. Expresses a
“Dominant” bit
Before a device transmits it will check the Bus to see that a Logic 1
is on the Bus whick indicate inactivity.
The CAN Bus specification DOES NOT specify the content of the
Data Bytes(CAN Bus doesn’t care what the engineer puts into that
field).
First you choose your message identifier then you choose what
byte represents what