You are on page 1of 22

CAN Bus & CANalyzer

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CONTENT
1. CAN Bus
2. CANalyzer

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CAN Bus in automotive: - why?




At the beginning, each signal has its own electrical line wiring expense

Solution: bit-serial exchange of data via communication channel (BUS)

Today, serial bus systems offer:


- minimized wiring effort
- assure space requirement and simplify installation
- weight and error susceptibility
- data exchange in real-time
- high flexibility in relation to changes and extensions

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CAN Bus in automotive: - background




Serial multi-master communication (demand-based interaction)

Communication media: 2-wire (STP or UTP) or 1-wire

Communication speed: max 1Mbps @ 25m; min 50Kbps @ 1000m (for CAN
HS: 500Kbps @ 100m)

Type of messages:


One shot on event

Periodic on event

Periodic with fixed period transmission

Periodic with variable period transmission

CAN High Speed

500Kbps power-train
CAN LSFT: 125Kbps body

CAN Bus
CAN Low Speed

CAN SW:

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

33.3Kbps body

EE ARCHITECTURE
CAN
bus: frame description

Message List
1/5 LIN

Identifier Field


Unique number on bus used to identify a frame and in message priority

The lower the numerical ID, the higher the message priority

Can be with: 11bits (standard ID) or 29bits (extended ID)

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

EE ARCHITECTURE
CAN
bus: frame description

Message List
2/5 LIN

Identifier Field


Unique number on bus used to identify a frame and in message priority

The lower the numerical ID, the higher the message priority

Can be with: 11bits (standard ID) or 29bits (extended ID)

DLC (Data Length Code)




Number of bytes of data (0 - 8bytes)

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CAN bus: frame description

Identifier Field


Unique number on bus used to identify a frame and in message priority

The lower the numerical ID, the higher the message priority

Can be with: 11bits (standard ID) or 29bits (extended ID)

DLC (Data Length Code)




Message List
3/5 LIN

Number of bytes of data (0 - 8bytes)

Data Field


Data to be transmitted (length in bytes specified by DLC field)

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CAN bus: frame description

Identifier Field


Unique number on bus used to identify a frame and in message priority

The lower the numerical ID, the higher the message priority

Can be with: 11bits (standard ID) or 29bits (extended ID)

DLC (Data Length Code)




Number of bytes of data (0 - 8bytes)

Data Field


Message List
4/5 LIN

Data to be transmitted (length in bytes specified by DLC field)

CRC (Cyclic Redundancy Check)




An error-detecting code used to detect accidental changes to raw data

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

EE ARCHITECTURE
CAN
bus: frame description

Identifier Field


Unique number on bus used to identify a frame and in message priority

The lower the numerical ID, the higher the message priority

Can be with: 11bits (standard ID) or 29bits (extended ID)

DLC (Data Length Code)




Data to be transmitted (length in bytes specified by DLC field)

CRC (Cyclic Redundancy Check)




Number of bytes of data (0 - 8bytes)

Data Field


Message List
5/5 LIN

An error-detecting code used to detect accidental changes to raw data

ACK (Acknowledge)


Transmitter send a logic 1 and the receiver overwrite it with logic 0 if the frame is received without error

If any error on transmission, the ACK field remains logic 1 and transmitter repeats the frame

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

1/6

10

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

2/6

11

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

3/6

12

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

4/6

13

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

5/6

14

CAN Bus: CAN communication

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

6/6

15

CAN Bus: bitwise Bus arbitration

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

1/5

16

CAN Bus: bitwise Bus arbitration

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

2/5

17

CAN Bus: bitwise Bus arbitration

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

3/5

18

CAN Bus: bitwise Bus arbitration

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

4/5

19

CAN Bus: bitwise Bus arbitration

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

5/5

20

CANalyzer:


Comprehensive software tool with intuitive operation for




traffic analysis

communication diagnostic

data logging

stimulation (influence the data traffic by sending frames)

Widely used, primarily by automotive and electronic control unit suppliers, then
used in rail transportation, avionics, medical technology and heavy-duty vehicles

First version of Vector CANalyzer released in 1992 (the worlds first CAN software tool)

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

21

Gabriel ISPAS

DATE: 17.01.2014

CONFIDENTIEL
PROPRIETE RENAULT

22

You might also like