Can Bus
Can Bus
AP-EEE
CAN History
1. In 1985 Bosch originally developed CAN, a high-integrity serial bus system
for networking intelligent devices, to replace automotive point-to-point
wiring systems.
2. As vehicle electronics became pervasive, complex wire harnesses which
were heavy, expensive and bulky were replaced with CAN throughout the
automotive industry.
3. In 1993 CAN became the international standard known as ISO 11898.
4. Since 1994, several widely used higher-level protocols have been
standardized on top of CAN, such as CANopen* and DeviceNet.
5. In 1996 the OnBoard Diagnostics OBD-II standard which incorporates CAN
becomes mandatory for all cars and light trucks sold in the United States.
6. Today markets including surface transportation, industrial automation,
maritime and avionics systems have widely adopted CAN.
7. Today CAN is incorporated into many microcontrollers
(our embed has two CAN ports)
AP-EEE
Before CAN
After CAN
Vehicles After CAN:
Systems of Systems
with multiple CAN
busses, simplified
wiring harnesses and
many Fewer
connectors
AP-EEE
CAN is Now Central to Automotive Networks
One node transmits, all nodes listen and processor data frames selectively.
Message filtering is typically performed in transceiver hardware. This data flow
supports a broad range of network communication models:
1. Master / Slave : All communications initialed by master node
2. Peer-to-Peer : Nodes interact with autonomously with equal authority
3. Producer / Consumer : Producer nodes broadcast (push) messages to
Consumer nodes
4. Client / Server : Client nodes request (pull) data from Server nodes
AP-EEE
• CAN bus uses 2 dedicated wires for
communication such as CAN H & CAN L.
• CAN protocol is message based protocol not an
address based protocol.
• It provides 2 communication services , the
sending of a message (data frame transmission)
and requesting of a message (remote
transmission request)
• Each node is able to send and receive msg but
not simultaneously.
• Baud rate is 1 Mbps and it is a multi master
broadcast serial bus standard.
AP-EEE
What is transmitted?
AP-EEE
What is the process of sending a message?
AP-EEE
• CAN uses differential signaling to improve
signal to noise ratio. Termination resistors
reduce signal reflection.
• Idle bus state is Recessive with no applied
differential signal: VCAN_H ≈ VCAN_L
• Dominant state occurs when one or more
nodes drive the bus state to: VDIFF
AP-EEE
4 message frames in CAN
• Data frame
• Remote frame
• Error frame
• Over head frame
• The data and remote frames need to be set by
the user.
• The other 2 are set by the CAN hardware.
AP-EEE
Two models
• CAN interface with mc, separate CAN module
• CAN interface with mc having inbuilt CAN
module
AP-EEE
Advantages of CAN
1. Low cost network infrastructure which is often built into
microcontrollers.
2. Large market segment with broad availability of hardware,
software and systems engineering tools.
3. Light weight, low latency, highly deterministic design
specifically for real-time embedded applications.
4. Reliable with strong error detection, fault tolerant versions
available.
5. Flexible and highly configurable with various higher level
application protocols.
6. Foundation for next generation technology controller area
networks.
AP-EEE
• What are some real world applications of CAN?
– Controller Area Networks are used in many different fields,
the bulk of which are
• Auto-motive industry
• Factory Automation
• Machine Control
• Medical Equipment and devices
• And more….
AP-EEE