+ All Categories
Home > Documents > CAN (Control Area Network)

CAN (Control Area Network)

Date post: 03-Jun-2018
Category:
Upload: lee-rang-ho
View: 217 times
Download: 0 times
Share this document with a friend
18
Introduction to CANBUS Presented by: Marek Hajek 1
Transcript
Page 1: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 1/18

Introduction to

CANBUS

Presented by: Marek Hajek

1

Page 2: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 2/18

Page 3: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 3/18

CANBUS or CAN bus – Controller rea Network bus 

An automotive serial bus system developed to satisfy

the following requirements:

Network multiple microcontrollers with 1 pair of wires.

Allow microcontrollers communicate with each other.

High speed, real-time communication.

Provide noise immunity in an electrically noisy environment.

Low cost

3

Page 4: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 4/18

Designed specifically for automotive applications

Today - industrial automation / medical equipment

4

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

Automotive Medical / Industrial

Markets

C NBUS Market Distribution

Page 5: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 5/18

5

First idea - The idea of CAN was first conceived byengineers at Robert Bosch Gmbh in Germany in theearly 1980s.

Early focus - develop a communication systembetween a number of ECUs (electronic controlunits).

New standard - none of the communicationprotocols at that time met the specificrequirements for speed and reliability so the

engineers developed their own standard.

Page 6: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 6/18

6

1983 : First CANBUS project at Bosch

1986 : CAN protocol introduced

1987 : First CAN controller chips sold

1991 : CAN 2.0A specification published 1992 : Mercedes-Benz used CAN network

1993 : ISO 11898 standard

1995 : ISO 11898 amendment Present : The majority of vehicles use CAN bus.

Page 7: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 7/18

CAN is a closed network◦ – no need for security, sessions or logins.

◦ - no user interface requirements.

Physical and Data Link layers in silicon.

7

Page 8: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 8/188

Conventional multi-wire looms CAN bus network

Physical medium – two wires terminated at both ends by resistors.

Differential signal - better noise immunity.

Benefits: Reduced weight, Reduced cost

Fewer wires = Increased reliability

vs.

http://canbuskit.com/what.php

Page 9: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 9/189

Up to 1 Mbit/sec.

Common baud rates: 1 MHz, 500 KHz and 125 KHz

All nodes – same baud rate

Max length:120’ to 15000’ (rate dependent) 

© esd electronics, Inc. • 525 Bernardston Road • Greenfield, MA 01301 

Page 10: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 10/1810

Each node – receiver & transmitter

A sender of information transmits to all devices on the bus

All nodes read message, then decide if it is relevant to them All nodes verify reception was error-free

All nodes acknowledge reception

CAN bus© 2005 Microchip Technology Incorporated. All Rights Reserved.

Page 11: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 11/18

Page 12: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 12/1812

Page 13: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 13/18

13

Arbitration – needed when multiple nodes try to transmit at thesame time

Only one transmitter is allowed to transmit at a time. A node waits for bus to become idle

Nodes with more important messages continue transmitting

CAN bus© 2005 Microchip Technology Incorporated. All Rights Reserved.

Page 14: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 14/18

14

Message importance is encoded in message ID.

Lower value = More important

As a node transmits each bit, it verifies that it seesthe same bit value on the bus that it transmitted.

A “0” on the bus wins over a “1” on the bus. 

Losing node stops transmitting, winner continues.

Page 15: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 15/18

CAN bus – Controller rea Network bus Primarily used for building ECU networks in

automotive applications.

Two wires

OSI - Physical and Data link layers

Differential signal - noise immunity

1Mbit/s, 120’ 

Messages contain up to 8 bytes of data

15

Page 16: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 16/18

Marek Hajek

16

Page 17: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 17/18

Page 18: CAN (Control Area Network)

8/12/2019 CAN (Control Area Network)

http://slidepdf.com/reader/full/can-control-area-network 18/18


Recommended