0% found this document useful (0 votes)
21 views13 pages

Can Bus

CAN bus notes for B.E students

Uploaded by

Priyadharshini J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views13 pages

Can Bus

CAN bus notes for B.E students

Uploaded by

Priyadharshini J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Intro to

Controller Area Networks (CAN)

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

Vehicles Before CAN:


Expensive, bulky
point to point wiring,
wiring harnesses and
many connectors.

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

New cars typically contain


50 to 100 microcontrollers
AP-EEE
CAN Data-Flow Model
CAN CAN CAN CAN
NODE 1 NODE 2 NODE 3 NODE 4
Receives Transmits Ignores Receives
Message Message Message Message

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?

• All messages sent over a CAN network follows a


format. Each bit is used either to verify the validity
of the message, or is data itself.

AP-EEE
What is the process of sending a message?

• At each CAN device, the start of frame bit notifies


a transmission is being sent.
• The identifier bit shows the priority of the
message along with determining which device
the data belongs to.

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

You might also like