The document provides an overview of automotive embedded systems and network technologies. It discusses electronic control units (ECUs) and their functions. Two main automotive bus protocols are described: Local Interconnect Network (LIN) and Controller Area Network (CAN). LIN uses a single wire connection and supports speeds up to 20kbps, while CAN uses a two-wire connection and supports speeds up to 1Mbps. The document outlines the frame structures, message types, and error handling approaches for both LIN and CAN networks.
This pdf is about the CAN communication protocol, which is vital for automobiles.A Brief Overview. The CAN bus protocol is defined by the ISO 11898-1 standard and can be summarized like this: The physical layer uses differential transmission on a twisted pair wire. A non-destructive bit-wise arbitration is used to control access to the bus. This is made with the help of Engineersgarage.
This pdf is about the CAN communication protocol, which is vital for automobiles.A Brief Overview. The CAN bus protocol is defined by the ISO 11898-1 standard and can be summarized like this: The physical layer uses differential transmission on a twisted pair wire. A non-destructive bit-wise arbitration is used to control access to the bus. This is made with the help of Engineersgarage.
All the images used in my presentation are belonging to their respective owners. I do not own any copyright.
-------------------------------------------------------------------------------------
>> One of the Best, Semester-3 M.Tech Academic Seminar Presentation on "Controller Area Network Bus" or CAN Protocol.
>> One of the Automotive based protocols from Robert Bosch
>> Comes under In-Vehicle Networking (IVN) Technology
>> Includes most of the theoretical concepts of CAN
This is a comprehensive overview on FlexRay. This will equip you with necessary basic knowledge on the topic. And as an added perk, I have shared extra information in the "Notes" field below the slides. Happy learning!
CAN bus presentation covers all points in brief, at last please refer the references it really worth..
This was presented on 12-06-2017 in a Germany.
There was a 15 minutes time limit for presentation hence couldn't cover in detail
For further details please contact
controller area network is a serial communication protocol and nowadays is widely used in factory and plant controls, in robotics, medical devices, and also in
some avionics systems.
In this AUTOSAR layered architecture, Communication Stack or ComStack facilitates communication. Hence ComStack can be defined as a software stack that provides communication services to the Basic Software Modules and Application Layer or Application Software.
https://www.embitel.com/product-engineering-2/automotive/autosar/
Automotive Electronics In Automobile | Electronic control unitjignesh parmar
this presentation covers Automotive Electronics Management in Automobile Engineering
It Includes>>
ECU
SENSOR
ACTUAORS
Electronic control unit, a generic term for any embedded system that controls one or more of the electrical systems or subsystems in a motor vehicle
All the images used in my presentation are belonging to their respective owners. I do not own any copyright.
-------------------------------------------------------------------------------------
>> One of the Best, Semester-3 M.Tech Academic Seminar Presentation on "Controller Area Network Bus" or CAN Protocol.
>> One of the Automotive based protocols from Robert Bosch
>> Comes under In-Vehicle Networking (IVN) Technology
>> Includes most of the theoretical concepts of CAN
This is a comprehensive overview on FlexRay. This will equip you with necessary basic knowledge on the topic. And as an added perk, I have shared extra information in the "Notes" field below the slides. Happy learning!
CAN bus presentation covers all points in brief, at last please refer the references it really worth..
This was presented on 12-06-2017 in a Germany.
There was a 15 minutes time limit for presentation hence couldn't cover in detail
For further details please contact
controller area network is a serial communication protocol and nowadays is widely used in factory and plant controls, in robotics, medical devices, and also in
some avionics systems.
In this AUTOSAR layered architecture, Communication Stack or ComStack facilitates communication. Hence ComStack can be defined as a software stack that provides communication services to the Basic Software Modules and Application Layer or Application Software.
https://www.embitel.com/product-engineering-2/automotive/autosar/
Automotive Electronics In Automobile | Electronic control unitjignesh parmar
this presentation covers Automotive Electronics Management in Automobile Engineering
It Includes>>
ECU
SENSOR
ACTUAORS
Electronic control unit, a generic term for any embedded system that controls one or more of the electrical systems or subsystems in a motor vehicle
Practical Fieldbus, DeviceNet & Ethernet for IndusrtyLiving Online
The Fieldbus and DeviceNet standards are also becoming a standard at the field and instrumentation level, and are replacing the traditional approaches in the plant today. Ethernet is fast becoming the obvious choice for industrial control networking worldwide.
While the basic structure of Ethernet has not changed much, the faster technologies such as fast Ethernet and gigabit Ethernet have increased the complexity and choices you have available in planning and designing these systems. There has also been a convergence between Fieldbus and DeviceNet standards in that they are also increasingly becoming based on industrial Ethernet for the higher speed data transfer applications.
There is a fair degree of confusion about where Fieldbus, DeviceNet and Ethernet, are applied and the workshop commences with a clear comparison between the different standards and where they are applied. The first day focuses on AsiBus, DeviceNet, Profibus and Foundation Fieldbus technologies in a simple and understandable manner. A detailed discussion is conducted on the application of these technologies in your plant today.
There are many misconceptions on the best standard to apply in a given section of the plant. This workshop will promote the theme which is rapidly growing strength, in that you should focus on your application and apply the particular Fieldbus or DeviceNet to match this application and ensure easy interconnectivity between the different standards. Picking one standard to match all applications is not really a practical approach.
Ethernet is then discussed with a brief outline of the fundamentals of Ethernet and its operation. The method of access is discussed in depth, and topics such as full duplex and auto negotiation are explained. The best methods of designing and installing the cabling systems are explored with the discussion ranging from 10Base-T over twisted pair to gigabit Ethernet cabling methods of optimising Ethernet to obtain the best performance are also defined.
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor NetworksEswar Publications
False data injection attack is a serious threat to wireless sensor network. In this paper, a node legitimacy based false data filtering scheme (NLFS) is proposed. NLFS verifies not only message authentication codes (MACs) contains in reports, but also the legitimacy of nodes that endorse the report. The verification guarantees that compromised nodes from different geographical areas cannot collude to inject false data, which makes NLFS has a high tolerance of compromised nodes. In addition, NLFA only utilizes the relationships between node IDs to verify the legitimacy of nodes without other software or hardware overhead. Simulation results show that NLFS can filter 95% false reports within three hops and is resilience to an increasing number of compromised nodes.
The Design of an MVB Communication Controller Based on an FPGAIJRESJOURNAL
Abstract:According to the TCN standard (Train Communication Network Standard), in order to design the MVB controller simply and quickly, this paper presents an new design idea, which avoids the cumbersome process in the traditional design process and makes the MVB controller design become efficient and concise. The design realizes the real-time protocol associated with the multifunction vehicle bus (MVB) device and the design process for all layers associated with the MVB device link layer. The design is a concurrent, easy-to-parameter and reconfigurable top-down design process that is implemented through programmable gate arrays (FPGAs) and related circuits. The design provides an efficient and rigorous design idea, and was verified by some experiments successfully.
"Trans Failsafe Prog" on your BMW X5 indicates potential transmission issues requiring immediate action. This safety feature activates in response to abnormalities like low fluid levels, leaks, faulty sensors, electrical or mechanical failures, and overheating.
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs AttentionBertini's German Motors
IBS monitors and manages your BMW’s battery performance. If it malfunctions, you will have to deal with an array of electrical issues in your vehicle. Recognize warning signs like dimming headlights, frequent battery replacements, and electrical malfunctions to address potential IBS issues promptly.
Things to remember while upgrading the brakes of your carjennifermiller8137
Upgrading the brakes of your car? Keep these things in mind before doing so. Additionally, start using an OBD 2 GPS tracker so that you never miss a vehicle maintenance appointment. On top of this, a car GPS tracker will also let you master good driving habits that will let you increase the operational life of your car’s brakes.
Comprehensive program for Agricultural Finance, the Automotive Sector, and Empowerment . We will define the full scope and provide a detailed two-week plan for identifying strategic partners in each area within Limpopo, including target areas.:
1. Agricultural : Supporting Primary and Secondary Agriculture
• Scope: Provide support solutions to enhance agricultural productivity and sustainability.
• Target Areas: Polokwane, Tzaneen, Thohoyandou, Makhado, and Giyani.
2. Automotive Sector: Partnerships with Mechanics and Panel Beater Shops
• Scope: Develop collaborations with automotive service providers to improve service quality and business operations.
• Target Areas: Polokwane, Lephalale, Mokopane, Phalaborwa, and Bela-Bela.
3. Empowerment : Focusing on Women Empowerment
• Scope: Provide business support support and training to women-owned businesses, promoting economic inclusion.
• Target Areas: Polokwane, Thohoyandou, Musina, Burgersfort, and Louis Trichardt.
We will also prioritize Industrial Economic Zone areas and their priorities.
Sign up on https://profilesmes.online/welcome/
To be eligible:
1. You must have a registered business and operate in Limpopo
2. Generate revenue
3. Sectors : Agriculture ( primary and secondary) and Automative
Women and Youth are encouraged to apply even if you don't fall in those sectors.
Fleet management these days is next to impossible without connected vehicle solutions. Why? Well, fleet trackers and accompanying connected vehicle management solutions tend to offer quite a few hard-to-ignore benefits to fleet managers and businesses alike. Let’s check them out!
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...Autohaus Service and Sales
Learn what "PARKTRONIC Inoperative, See Owner's Manual" means for your Mercedes-Benz. This message indicates a malfunction in the parking assistance system, potentially due to sensor issues or electrical faults. Prompt attention is crucial to ensure safety and functionality. Follow steps outlined for diagnosis and repair in the owner's manual.
Your VW's camshaft position sensor is crucial for engine performance. Signs of failure include engine misfires, difficulty starting, stalling at low speeds, reduced fuel efficiency, and the check engine light. Prompt inspection and replacement can prevent further damage and keep your VW running smoothly.
Ever been troubled by the blinking sign and didn’t know what to do?
Here’s a handy guide to dashboard symbols so that you’ll never be confused again!
Save them for later and save the trouble!
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...Import Motorworks
Learn how to respond when the red temperature light flashes in your VW with this presentation. From checking coolant levels to seeking professional help, follow these steps promptly to prevent engine damage and ensure safety on the road.
Learn why monitoring your Mercedes' Exhaust Back Pressure (EBP) sensor is crucial. Understand its role in engine performance and emission reduction. Discover five warning signs of EBP sensor failure, from loss of power to increased emissions. Take action promptly to avoid costly repairs and maintain your Mercedes' reliability and efficiency.
What Could Cause The Headlights On Your Porsche 911 To Stop WorkingLancer Service
Discover why your Porsche 911 headlights might flicker out unexpectedly. From aging bulbs to electrical gremlins and moisture mishaps, we're delving into the reasons behind the blackout. Stay tuned to illuminate the road ahead and ensure your lights shine bright for safer journeys.
𝘼𝙣𝙩𝙞𝙦𝙪𝙚 𝙋𝙡𝙖𝙨𝙩𝙞𝙘 𝙏𝙧𝙖𝙙𝙚𝙧𝙨 𝙞𝙨 𝙫𝙚𝙧𝙮 𝙛𝙖𝙢𝙤𝙪𝙨 𝙛𝙤𝙧 𝙢𝙖𝙣𝙪𝙛𝙖𝙘𝙩𝙪𝙧𝙞𝙣𝙜 𝙩𝙝𝙚𝙞𝙧 𝙥𝙧𝙤𝙙𝙪𝙘𝙩𝙨. 𝙒𝙚 𝙝𝙖𝙫𝙚 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙥𝙡𝙖𝙨𝙩𝙞𝙘 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙪𝙨𝙚𝙙 𝙞𝙣 𝙖𝙪𝙩𝙤𝙢𝙤𝙩𝙞𝙫𝙚 𝙖𝙣𝙙 𝙖𝙪𝙩𝙤 𝙥𝙖𝙧𝙩𝙨 𝙖𝙣𝙙 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙛𝙖𝙢𝙤𝙪𝙨 𝙘𝙤𝙢𝙥𝙖𝙣𝙞𝙚𝙨 𝙗𝙪𝙮 𝙩𝙝𝙚 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙛𝙧𝙤𝙢 𝙪𝙨.
Over the 10 years, we have gained a strong foothold in the market due to our range's high quality, competitive prices, and time-lined delivery schedules.
In this presentation, we have discussed a very important feature of BMW X5 cars… the Comfort Access. Things that can significantly limit its functionality. And things that you can try to restore the functionality of such a convenient feature of your vehicle.
The Octavia range embodies the design trend of the Škoda brand: a fusion of
aesthetics, safety and practicality. Whether you see the car as a whole or step
closer and explore its unique features, the Octavia range radiates with the
harmony of functionality and emotion
2. Agenda:
Introduction to automotive embedded systems.
Automotive Network.
Network fundamentals.
Review for Serial communication.
Automotive bus protocols:
Local interconnect technology.
Controlled area network.
3. Introduction to automotive embedded systems.
• Automotive is embedding systems consist of separated ECUs and
each ECU has its own functionality.
4. What is an ECU?
In the Automobile industry an electronic control unit (ECU) is an embedded
electronic device, basically a digital computer, that reads signals coming
from sensors placed at various parts and in different components of
the car and depending on this information controls various important units
e.g. engine and other automated operations within the car among many.
Electronic Control Unit(ECU)consists of:
Microcontroller(s).
Sensors.
Power switches.
Drivers.
Voltage regulator(s).
6. Automotive ECUs:
Dynamic stability control
https://www.youtube.com/watch?v=VvNP2d6MDQM
Air Bags and Seat Belts
https://www.youtube.com/watch?v=R4ekbB5EzZM&spfreload=10
Roll Stability Control
https://www.youtube.com/watch?v=6WjfRxtIMzo
7. Automotive ECUs:
The automotive ECU market can be segmented on the basis of as application
into safety and security systems, chassis electronics, powertrain
electronics, communication & navigation systems and entertainment
systems.
8. Automotive network
Whenever increase applications/technologies in cars will increase in
ECUs.
Each car now contains at least 30 computer system (ECU).
Each ECU in car need to interface with more than one ECU to perform its
own functionality.
9. Network Fundamentals
The main network properties are:
Transmission medium
Transmission speed
Network topology
Data packets
11. Network Fundamentals: Transmission speed
Transmission speed can be measured by Bit rate
Bit rate is number of bit that can be transmit in a fixed amount of time usually
Kbit/sec
depend on time constrains and can be measured by bit rate.
Engine control tasks: Critical
Break system tasks: Critical
Dashboard tasks: High
Doors control tasks: Normal
Air condition tasks: Low
12. Network Fundamentals: Network topology
A network topology is the arrangement of a network, including its nodes and
connecting lines.
there are several common physical topologies:
1. bus network topology
2. Star network topology
3. Ring network topology
13. Network Fundamentals: Data packets
packet is a unit of data is called a segment or a block or a cell or a frame
depending on the type of network.
15. Network Protocol
Network protocol determine network fundamentals.
In network protocol define:
topology, Speed, transmission medium and data packet/frame.
In embedded Systems there are three basics serial communications
protocols:
UART, SPI and I2C.
16. Network Protocol
Topology in serial communication protocols define Terminologies
Simplex Communication
Half Duplex Communication
Full Duplex Communication
17. Network Protocol
Speed in serial communication protocols define Modes
data can be transferred in two modes:
Synchronous mode: data sampling with clock pulses.
Asynchronous mode: transmitter and receiver used the same data
rate.
18. Network Protocol
Data packet format depend on network protocol for example :
Data size
Address
Start and End communication methods
Error detection method
19. Automotive bus protocols
• Network protocol classification:
Depend on message ID.
Depend on distention ID.
• Network protocols depend on message ID:
Controlled area network “CAN”.
Local interconnect network “LIN”.
• Network protocols depend on distention ID: I2C.
21. Local interconnect network
LIN protocol is single master multi slaves.
LIN bus single wire connection->> half duplex> terminology.
LIN bus speed 20 kbps and max length 40m>>speed.
LIN is serial communication protocol used in low speed
applications.
in automotive applications, LIN bus is connected
between(smart sensors, actuators and ECUs such as door
control ECU and air condition ECU).
22. Local interconnect network
LIN protocol depend on message ID:
from message ID each slave connected to lin bus
determine whether it needs to publish or subscribe.
publish-subscribe: in a publish-subscribe system, senders
label each message with the name of a topic ("publish"), rather
than addressing it to specific recipients. The messaging system
then sends the message to all eligible systems that have asked
to receive messages on that topic ("subscribe").
23. Local interconnect network
Concept of operation:
LIN is single master –multi slaves:
master node consists of slave task and master task.
slave node consists of slave task.
24. Local interconnect network
Master task:
Control over the whole Bus.
Controls which message at what time is to be transferred over
the bus.
Error handling.
monitors Data Bytes and Check Byte, and evaluates them on
consistence.
Receives Wakeup Break from slave nodes when the bus is
inactive.
Defines the transmission speed.
Switching slave nodes to sleep/wake up mode.
25. Local interconnect network
Slave task:
One of 2-16 Members on the Bus.
Receives or transmits Data when appropriate ID is sent .
According to ID, slave determines:
receive data (subscribe), transmit data ( publish) ,do nothing.
When transmitting : sends 1, 2, 4, or 8 Data Bytes + Check-Byte
26. LIN message frame
The LIN is a SCI/UART-based serial, the LIN protocol is byte
oriented.
data is sent one byte at a time.
One byte field contains a start bit (dominant), 8 data bits and a
stop bit (recessive).
The data bits are sent LSB first.
27. LIN message frame
LIN frame consist of:
Header which is provided by the master task
Response which is provided by the slave task
28. LIN message frame
Header consists of: break field, synch field and identifier field.
Response consists of: from 0 to 8 data fields and checksum.
29. LIN frame structure:
Break field:
The break symbol is used to signal the beginning of a new frame.
A break is always generated by the master task and it shall be at
least 13 bits of dominant value, including the start bit, followed by
a break delimiter
Synch break ends with a “break delimiter” which should be at least
one recessive bit.
30. LIN frame structure:
Synch field: is the second field transmitted by the master task in
the header.
LIN is self synchronization; has the synchronization mechanism
that allows the clock recovery by slave nodes.
Sync is defined as the character x55.
The sync field allows slave devices that perform automatic baud
rate detection to measure the period of the baud rate and adjust
their internal baud rates to synchronize with the bus.
31. LIN frame structure:
Protected Identifier
The ID field is the final field transmitted by the master task in the
header.
This field provides identification for each message on the
network and ultimately determines which nodes in the network
receive or respond to each transmission.
All slave tasks continually listen for ID fields, verify their parities,
and determine if they are publishers or subscribers for this
particular identifier.
32. LIN frame structure:
Protected Identifier
1.Identifier:
Six bits are reserved for the identifier (ID).
Values in the range 0 to 63 can be used.
The identifiers are split in four categories:
Values 0 to 59 (0x3b) are used for signal• carrying frames.
60 (0x3c) and 61 (0x3d) are used to carry diagnostic data.
62 (0x3e) is reserved for user• defined extensions.
63 (0x3f) is reserved for future protocol enhancements.
33. LIN frame structure:
• Protected Identifier: the Identifier Field does not indicate
the destination of the message but describes the contents of the message
frame.
34. LIN frame structure:
Protected Identifier:
ID5:4
used to determine data length in bytes which transfer in response.
35. LIN frame structure:
Protected Identifier
2. Parity:
The parity is calculated on the identifier bits.
36. LIN frame structure:
Data:
A frame carries between one and eight bytes of data
A data byte is transmitted in a byte field
The data bytes field is transmitted by the slave task in the
response.
37. LIN frame structure:
Check sum:
The checksum field is transmitted by the slave task in the
response.
The LIN bus defines the use of one of two checksum algorithms to
calculate the value in the eight-bit checksum field:
Classic checksum is calculated by summing the data bytes alone (V 1.3)
enhanced checksum is calculated by summing the data bytes and the
protected ID. (V2.0)
38. LIN Error Handling:
Each LIN Slave monitors its operating state and creates a status
report.
The status report is sent periodically to the LIN Master (LIN 2.0).
Monitoring by error detection mechanisms
Parity check
Checksum
LIN messages detected as corrupt are rejected
Error handling is not part of the LIN specification and must be
defined separately
39. LIN Frame types:
There are three different ways of transmitting frames on the bus:
unconditional, event triggered, and sporadic frames.
Unconditional Frame:
This is the “normal” type of LIN communication.
The master sends a frame header in a scheduled frame slot and
the designated slave node fills the frame with data.
40. LIN Frame types:
Event-triggered frame: collect statues of slaves
The purpose of this method is to receive as much information from
slave nodes without overloading the bus with frames.
An event triggered frame can be filled with data from more
than one slave node.
A slave only updates the data in an event triggered frame when
the value has changed.
If more than one slave wants to update data in the frame a
collision occurs. The master should then send unconditional
frames to each of the slaves starting with the one with the highest
priority.
41. LIN Frame types:
Sporadic Frame:
This method provides some dynamic behavior to the otherwise
static LIN protocol.
The header of a sporadic frame is only sent from the master when
it knows that a signal has been updated in a slave node.
Usually the master fills the data bytes of the frame itself and the
slave nodes will be the receivers of the information.
42. LIN Frame types:
User-defined frames:
have an ID of 62.
carry any type of information.
Diagnostic frame:
Eight data bytes in length
Carry diagnostic or configuration data.
Their IDs are :
60 for a master request frame.
61 for a slave response frame.
46. Controlled Area Network: Features
CAN protocol is Multi-Master Multi-Slave communication.
CAN bus is two wires connections but still half
duplex>>terminology.
CAN bus speed 1 Mbps and 40m max length>>speed.
The Controller Area Network (CAN) is a serial communications
protocol widely used in automotive electronics for critical tasks
such as engine control tasks and break systems tasks.
48. Controlled area network: CAN properties
Prioritization of message:
No node addressing, Message identifier specifies contents & priority.
Depending on the importance of messages the priorities will be given to the
different messages.
the highest priority message with the lowest ID in your network
49. Controlled area network: CAN properties
Multicast reception with time synchronization:
CAN is based on the “broadcast communication mechanism”
,simultaneously multiple nodes can receive the frame.
50. Controlled area network: CAN properties
Multi master: When the bus is free any unit may start to transmit
a message.
If two nodes need to transmit in the same time, the unit with the
message of higher priority to be transmitted gains bus access.
Message Routing: An identifier names the content of a message.
The identifier does not indicate the destination of the message,
but describes the meaning of the data, so that all nodes in the
network are able to decide by message filtering whether the data
is to be acted upon by them or not [publish /subscribe].
51. Controlled Area Network: CAN properties
Bus values: The bus can have one of two complementary logical
values: ‘dominant’ (‘0’) or ‘recessive’ (‘1’). During simultaneous
transmission of ’dominant’ and ’recessive’ bits, the resulting bus
value will be ’dominant’.
Automatic retransmission of corrupted messages as soon as
the bus is idle again.
52. Controlled area network: CAN properties
Synchronization:
Hard Synchronization:
CAN synchronize the message transfer for each node with the
leading edge of SOF bit.
Re-synchronize
With each recessive to dominant edge.
53. Controlled area network: Different Types of CAN
There are two types of CAN implementations depending in the
size of the identifier field.
1) STANDARD: 11-bit wide identifier field.
2) EXTENDED: 29-bit wide identifier field.
54. Controlled area network: CAN message
1. Data frame:
Description: - Carries data from a transmitter to the receivers.
Fields: - Start of Frame, Arbitration Field, Control Field, Data
Field, CRC Field, ACK Field, End of Frame.
55. Controlled area network: CAN message
1. Data frame:
SOF: Start of frame bit. It is the indication of start of frame
when a dominant bit is detected after the bus idle condition.
56. Controlled area network: CAN message
1. Data frame:
The arbitration field is depending on the type of frame
57. Controlled area network: CAN message
The arbitration field contains:
Identifier field: contains information’s about message.
In case of standard frame the length of this field is 11 bits.
In case of extended 18 more bits are added to it. So in case of
extended frame total size of identifier field it is 29 bits.
RTR: It is the remote transmission request BIT
RTR = Dominant in the data frames
RTR = Recessive in the remote frames
58. Controlled area network: CAN message
The arbitration field contains:
SRR: Substitute remote request (SRR)
one bit wide. Used in case of extended frame. SRR bit will be
recessive and in case standard frame this bit replaces the RTR bit. .
IDE: Identifier extension bit (IDE)
IDE = Dominant in the standard frame
IDE = Recessive in the extended frame
59. Controlled area network: CAN message
The control field:
six bit wide. Two bits r0 and r1 are reserved. In standard frame r1 is
replaced by IDE bit. And remaining 4 bits called as data length
control (DLC) describes total length of data field.
60. Controlled area network: CAN message
Data field: contains the actual information within the limit of
{0…8} bytes.
CRC field: (cyclic redundancy code )
16 bit wide. Divided into two parts:
CRC sequence: 15 bit length. Calculated over SOF to data field.
CRC delimiter: 1 bit recessive bit.
61. Controlled area network: CAN message
ACK field: 2 bit wide and contain two fields ACK flag and
ACK delimiter.
ACK flag: being successful reception of frame the receiver
will indicate the transmitter by putting a dominant bit in this place,
otherwise recessive.
ACK delimiter: A recessive bit.
END OF FRAME: 7 bit wide. Consists of 7 recessive bits.
62. Controlled area network: CAN message
2- Remote Frame
Description: -
Transmitted by a bus unit to request the transmission of the data
frame with the same identifier.
Fields: - Start of Frame, Arbitration Field, Control Field,
CRC Field, ACK Field, End of Frame
63. Controlled area network: CAN message
3- Error Frame:
Description: - Any unit on detecting a error transmits an
error frame.
Fields: - Error flag and Error delimiter.
64. Controlled area network: CAN message
3- Error Frame:
There are two types of error frames are there in CAN:
Active Error Flag: six dominant bits, Transmitted by a node detecting an error on
the network that is in error state "error active“.
Passive Error Flag: six recessive bits, Transmitted by a node detecting an active
error frame on the network that is in error state "error passive".
And in both the cases all the bits of error delimiter will be all recessive.
Depending on the node internal error count register condition the
respective type of error frame will be transmitted.
65. Controlled area network: CAN message
4- Overload Frame:
Description: Generated due to internal conditions of a receiver,
which requires a delay of the next DATA or REMOTE frame.
Fields: - Overload flag and Overload delimiter.
66. Controlled area network: CAN Error Detection:
There are 5 error detection mechanisms:
Bit error: During transmission the node transmits the bit at
transmit time region and receives the bit at receive time and
two bits are compared if they are not equal then that is
considered as bit error.
67. Controlled area network: CAN Error Detection
CRC error:
While receiving data or remote frame the CRC value will be
calculated and is compared with the received CRC values.
In case of proper frame transmission both will be equal. Else
that will be considered as CRC error and error frame will be
transmitted.
68. Controlled area network: CAN Error Detection
Acknowledgement error:
During the transmission of data or remote frame, in the ACK flag
field the transmitter will put recessive bit and expect dominant bit
from receive pin.
If dominant bit is observed then that is considered as proper
transmission. In other case it is acknowledgement error. The error
frame is transmitted if acknowledgment error is observed.
69. Controlled area network: CAN Error Detection
Form error: Form error will be related to the error in forming the
frame. For e.g. delimiter (CRC, ACK) missing or improper end of
frame, these conditions are taken as form error and immediately
error frame is transmitted.
70. Controlled area network: CAN Error Detection
Stuff error:
In a frame if continuous 5 recessive or dominant bits are
transmitted, the sixth bit should be of opposite to that.
While receiving if continuous 5 recessive or dominant bits are
received then the next incoming bit is of same value that of
previous then it will be considered as stuff error.
72. Controlled area network
CAN Application:
Motor vehicles
Utility vehicles
Industrial automation.
Other applications for CAN are: trains, medical equipment,
building automation, household appliances, and office
automation.