Protocole CAN et Multiplexage Automobile
|
|
- Ethan Jennings
- 6 years ago
- Views:
Transcription
1 Protocole CAN et Multiplexage Automobile Nov Dec 2010
2 1) Introduction Electronique automobile Véhicule multiplexé. 2) Le protocole CAN Introduction Trame CAN L arbitrage, gestion de collisions, acquittement Différents types de trames et implémentation Bit timing et synchronisation Détection et gestion des erreurs Les normes ISO and SAE La couche physique, codage du bit 3) Mise en œuvre Registres de contrôle dans le Microcontrôleur Développement d une application CAN Messagerie 4) Conclusion Autres Bus de communication Bibliographie Contenu 1
3 Vehicle equipment trends 2
4 1: Power train Ignition, Injection Direct Injection Gear box/clutch Automatic transmission Stop and Go Regenerative braking Hybrid Fuel economy & pollution control 3: Infotainment Navigation Display Video Vehicle equipment trends 2: Body and comfort Central locking, remote access Anti thefts (coded key) Power window Interior lighting (dimming etc) Wiper (intermittent/rain sensor) Electric mirror Seat: electric control and heat Radio Air conditioning Trip computer/dashboard Park assistance 3
5 Vehicle equipment trends - safety 4: Safety Air bag ABS, ESP & Traction control Tire pressure monitor Radar Night vision Head up display Line departure Increase safety, active and passive 4
6 Vehicle electronic architecture Trip computer Dashboard Radio Engine management AirBag ABS/ESP Air Cond. Communication bus Top column switches Light, wipers, radio, horn, cruise control Front Light control Turn signal, head lamp, fog Rear module Light, turn signal, brake, rear wiper Driver Door Lock, window, mirror, switch panel Passenger Door Body Controller Interior light, Front wiper, RF, Alarm 5
7 illustration of multiplexing Switch status Vehicle speed Speed acquisition AC ON Trip computer Dashboard Radio Engine management AirBag ABS/ESP Air Cond. Top column switches Light, wipers, radio, horn, cruise control Front Light control Turn signal, head lamp, fog Rear module Light, turn signal, brake, rear wiper Driver Door Lock, window, mirror, switch panel Passenger Door Body Controller Interior light, Front wiper, RF, Alarm Direct Load and actuator control: Top column switch: Lights, front and rear wiper, cruise control, radio etc Indirect and advance actuator control: Air conditioning ON/OFF: engine management. Dashboard: Engine temperature and speed: Rear gear ON & front wiper ON: automatic turn ON of rear wiper Door open/close: turn ON/OFF interior light, displayed on the dashboard for safety Child safety: lock rear doors, lock rear power window Key identification for door open/close & engine start (anti theft) Vehicle speed used by: Engine control: for engine parameter Dashboard: display vehicle speed Trip computer: for calculations. Radio system: adjust level versus speed Locking system: automatic lock when speed >7km/h Front wiper: use this data to adapt intermittent period & select lower speed when vehicle is stopped (ex: speed 1,stop at traffic light=>intermittent active) 6
8 Network architectures Flat Network CAN Multiple Flat Networks Low speed High speed CAN Multiple and Hierarchical Networks Gateway node CAN (VAN) LIN sub buses Multiple CAN networks to optimize data transfer and bus speed Subnets are necessary to reduce bus load on main CAN Bus Increase robustness Gateway nodes between CAN buses and CAN & LIN buses 7
9 Automotive CAN and LIN networks CAN LIN Mirror LIN WL Lock Lock Gateway WL Leveling Lights Flaps 1-10 CAN LIN Heater LIN CAN Lights Power Train Control Fan CAN Climate Control Central Body Controller Dashboard Wiper Power Seat Power Seat LIN Heater ROOF CAN Rear Power Seat LIN Heater Heater Wiper Lock Lights CAN Lights Leveling LIN Gateway LIN Lock WL Mirror WL Lock 8
10 Body (Comfort, Safety, Lighting, Instrumentation) Example: car network architecture Intell. Transportation & Communication Power Train Chassis CAN-B Instrument. CAN-C Climate Ctrl Left Door Module Ctrl Panel Lighting Ctrl Central ECU & Gateway CAN (diagnostics) Stepper Motor LIN Climate Panel Stand-By Heating Right Door Module Sun-Roof Wiper Wish-Wash Remote Keyl.Entry Air Bag Sensor Squib Seat Control LIN DC Motor Light Level Regulation Park-Dist Ctrl CD TV-Tuner Video Mod Multi Funct Steering Wh Multi Funct Display Mobile Ph Navigation Radio HiFi DSP Video Monitor ITS-Bus D2B, MOST Engine Ctrl Gear Box Ctrl Vehicle Dynamics FlexRay Solenoid Electric Brake E-Power Steering 9
11 High-End Network Architecture Examples BMW, Mercedes-Benz 10
12 Power management, MCU power supply System low power and wake up management Include physical layer Supply Typical View of an Automotive ECU Typical Electronic Control Unit Power Supply Watchdog, Interrupt SPI interface Micro Controller Power Drivers Loads Interface to high speed CAN bus CAN bus CAN bus Low power mode Wake up High Speed CAN SBC Low speed CAN Transceiver Switch Detection Interface RF Transceiver LIN Transceiver LIN sub-bus Switches Switch detection interface Interface to low speed CAN bus Interface to local sub bus 11
13 CAN protocol: Controller Area Network
14 CAN: Controller Area Network ISO standard, developed by Bosch in the 80 s. Automotive and Industrial applications (Airplane industry) Robust, handle well extreme condition, error detection and recovery, fault confinement Event trigger protocol Priority and arbitration mechanism Multi master Open architecture 3 bus speed ranges with specific Physical layer implementation Single wire, low speed (<125kb/s), high speed (< 1Mb/s) 13
15 ISO / OSI Structure of a CAN Node OSEK COM/NM, Vector Driver S/W mscan,toucan CAN-B, CAN-C Transceivers OSI Layers APPLICATION PRESENTATION SESSION TRANSPORT NETWORK DATA LINK PHYSICAL CAN Protocol DATA LINK LAYER LOGICAL LINK CONTROL (LLC) SUB-LAYER - Acceptance Filtering - Overload Notification - Recovery Management MEDIUM ACCESS CONTROL (MAC) SUB-LAYER - Data Encapsulation/Decomposition - Frame Coding (Bit Stuffing/Unstuffing) - Medium Access Management - Error Detection/Signaling - Acknowledgement - Serialization/Deserialization PHYSICAL LAYER - Bit Encoding/Decoding - Bit Timing - Synchronization 14
16 Simplified Electronic Control Unit system partitioning Power supply Micro-controller Sensor and Load Driver Protocol Handler Data Physical interface ECU Physical bus ECU: Electronic Control Unit 15
17 CAN: Controller Area Network CAN Frame segmentation Identification & Arbitration Data Integrity Check Acknowledge Data: ex vehicle speed, engine temperature, door open-close Encapsultated in the CAN frame with identification and integrity check 16
18 CAN: Controller Area Network CAN Frame segmentation Acknowledge Identification & Arbitration Data Integrity Check Data: ex vehicle speed, engine temperature, door open-close Encapsultated in the CAN frame with identification and integrity check 17
19 CAN 2A and 2B 18
20 Arbitration principle bus SOF ARBITRATION FIELD: IDENTIFIER Node 1 Node 2 Node 3 node 1 node 2 Two states for the bus: Recessive (weak, transistor(s) OFF) Dominant (strong, transistor(s) ON) Wired OR function: dominant level overwrite recessive level. Bus state is monitored: => Sending a recessive bit and reading a dominant bit means loss of arbitration Identifier is unique to a Node node 3 Node 2 arbitration loss Node 1 arbitration loss bus dominant state recessive state - Several nodes starts to send message at the same time. - Only one will win arbitration, and will send its message. - The other(s) will retry after message completion. - No time and no information is lost. 19
21 Inter frame, Acknowledge bits, Arbitration Arbitration phase Inter frame delay Acknowledge bit Tx1 and Tx3 send a recessive bit Bus Bus Tx1 Tx1 Tx2 Rx1 Tx2 Tx3 Tx3 send Rx1 Rx2 Rx3 Tx3 Tx1 and Tx3 send dominant Rx2 Rx3 - Tx3 send dominant - Tx1 send recessive Rx1 = recessive => node 1 losses arbitration and stop transmission 20
22 Tx1 Tx2 Acknowledge bit illustration Stronger drive for acknowledge bit Tx1 send dominant Bus Bus Tx1 Tx2 Rx1 Rx2 Tx1 Tx2 Rx1 Rx2 Tx2 transmit. Tx2 recessive for ACK bit Zoom on acknowledge bit: 21
23 Example: 3 nodes monitored Bus Tx1 Tx2 Tx3 Rx1 Rx2 Rx3 3 Tx/Rx, Inter frame, Acknowledge bits, Arbitration 22
24 CAN Data Frame recessive dominant IFS or Bus Idle SOF 1 bit Arbitration Field 12 bits (Std ID) 32 bits (Ext ID) Control Field 6 bits Data Field 0-8 bytes CRC Field 16 bits ACK 2 bits EOF 7 bits IFS Bit Stuffing A node is allowed to start transmitting a Data Frame after Inter-Frame Space (IFS). The two complementary bus values are called dominant and recessive. All receivers synchronize to leading edge of Start Of Frame (SOF). Arbitration Field is 12 bits for a Standard Format Data Frame (CAN2.0A/B). Arbitration Field is 32 bits for a Extended Format Data Frame (CAN2.0B only). Bit Stuffing - whenever 5 consecutive bits of equal value are transmitted, 1 extra bit of complementary value is automatically inserted into the bit stream: provides edges for clock resynchronization. Receivers automatically de-stuff. 23
25 Messages are one of four different types, called frames : CAN : Message Types Data Frame: transmits up to 8 bytes of data Remote Transmission Request (RTR) Frame: requests a Data Frame Error Frame: indicates a bus error (independent of CPU) Overload Frame : creates an extra delay between Data Frames or Remote Frames An Inter-frame space is also defined. Only Data and RTR Frames can be transmitted under host control. 24
26 Requirements of a CAN Controller Simple user interface to CPU Access control & status registers Access to buffers Interrupt and error types Message filtering & buffering Store incoming & outgoing messages Only interrupt CPU w/ relevant messages Predictable Message Transmission Protocol handling Error Detection Arbitration detection Bit monitoring/stuffing Physical layer interface Current & voltage control for bus Absorb transients Signal bus (line) faults & correction CAN bus CANH CANL Physical interface CAN Transmit Receive Engine TX RX H/W Errors Microcontroller Message filtering + buffering Control + status CPU Interface 25
27 mscan12 - Rev 2.0 (for HCS12 MCUs) mscan Receive / Transmit Engine Global Identifier Filtering: Internal Priority Scheduling 2 x 32-bit CPU Interface (Memory Mapped I/O) TX Buffer TX Buffer TX Buffer Priority Register or 4 x 16-bit or 8 x 8-bit RX Buffer RX Buffer RX Buffer RX Buffer RX Buffer 26
28 Bus Tx1 Tx2 Rx1 Rx2 CAN Bit Timing SYNC_SEG: The bit edge is expected to lie within this segment. PROP_SEG: Allowance for physical delays. PHASE_SEG1 & PHASE_SEG2: Define the position of the Sample Point. May be adjusted to compensate for edge phase errors. SAMPLE POINT: The bus value at this point is taken as the value of the bit (if 3 samples per bit taken, this is position of 3rd sample). BIT TIME SYNC_SEG PROP_SEG PHASE_SEG1 PHASE_SEG2 Transmit Point Sample Point - Each segment is composed by one or more Tq (time Quanta). - Each Tq have same value, derivate from the main MCU clock. 27
29 Extract from CAN config file: // fnbt = bit/s // CANCLK = Hz // tbus = 25 ns (0.5 m * 5*10^-9 sm^-1) // ttx = 500 ns // trx = 500 ns // // NBT = 10 // Tq = 0.75ns // P = 3 // SYNC_SEG = 1Tq // PROP_SEG = 3Tq // PHASE_SEG1 = 3Tq // PHASE_SEG2 = 3Tq // RJW = 3 // OscToll = % // 28
30 Tx1 Tx2 CAN Clock Resynchronization Edge appears here... Edge should be here... Edge appears here... CAN bus r d Edge should be here... Receiver bit timing Sample points S PS P1 P2 S PS P1 P2 S PS P1 P2 S PS P1 P2 S PS P1 P2 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 S = SYNC_SEG PS = PROP_SEG P1 = PHASE_SEG1 P2 = PHASE_SEG2 Bit 3 Negative Phase Error PHASE_SEG2 shortened Bit 5 Positive Phase Error PHASE_SEG1 lengthened 29
31 Bit Error - Stuff Error - CRC Error - Form Error - CAN Error Detection Detected by a transmitter if the bit value received is different from the bit value transmitted. Exceptions:- sending a recessive bit and receiving a dominant bit during the Arbitration Field or the Ack Slot, or during a Passive Error flag. Detected by a receiver if 6 consecutive bit values are received during a message field that should be encoded by bit stuffing. Detected by a receiver if the CRC calculated by the receiver is different from the CRC received in the CRC Sequence field. Detected by a receiver if a fixed form bit field contains one or more illegal bits. Acknowledge Error - Detected by a transmitter if it does not receive a dominant bit during the ACK Slot. 30
32 CAN Terminology Revealed CAN Robert Bosch CAN Specification, Revision 2.0 CAN 2.0 A CAN 2.0 B Full-CAN MSCANxx TouCAN FlexCAN - Formerly CAN 1.2, limited to 11-bit identifiers - Usually means complete protocol standard - Includes 11-bit and 29-bit identifiers - Should read CAN 2.0 A/B - Hardware implementation with at least 15 message buffers - Nothing to do with compliance to CAN 2.0 A/B standard - Freescale Scalable CAN hardware implementation (HC08, HC12, HCS12, DSP families) - Full-CAN Freescale CAN hardware implementation (DSP, PowerPC families) - Similar to, but larger version of TouCAN 31
33 ISO and SAE Standards for CAN ISO : Protocol ISO : Time trigger CAN Physical layer: Dual wire ISO : high speed CAN (up to 1Mb/s) ISO : low speed fault tolerant CAN (10-125kb/s) ISO : high speed CAN with low power mode Upgrade of Physical layer: Single wire Single wire CAN: GM3089 (SAE). 32
34 High speed CAN physical layer implementation
35 High speed CAN full view +5V 2.5V 25k Rxd sleep hz 25k Differential receiver driver CAN H Bus termination 120 Txd BUS Dominant state VcanH 0 1 4V Txd CAN L 2.5V Vdiff Vbat wu Wake up receiver driver +5V Rxd Recessive state VcanL 1V gnd Sleep state on/off SPLIT Splitted termination 34
36 High speed CAN transmit and receive mode (1) 2.5V 25k +5V Txd Dominant state 0 1 Rxd Txd 25k Differential receiver driver CAN H 120 CAN L 120 BUS 2.5V Recessive state VcanH Vdiff VcanL 4V 1V driver High side switch to Vdd (5V) Low side switch to gnd Diode function Bus termination Rxd 2 bus levels: recessive & dominant Signal symmetry in DC and during transition Power dissipation, current in bus load and bus driver 35
37 High speed CAN transmit and receive mode (2) 2.5V 25k +5V Txd Dominant state 0 1 Rxd Txd 25k Differential receiver driver CAN H 120 CAN L I-canH I-canL 120 BUS 2.5V Recessive state VcanH Vdiff VcanL 4V 1V driver Bus termination Rxd High side switch to Vdd (5V) Low side switch to gnd Diode function 2 bus levels: recessive & dominant Signal symmetry in DC and during transition Power dissipation, current in bus load and bus driver I-canH 0 0 I-canL I-canH+I-canL 0 36
38 Physical Interface - High Speed CAN ISO or -5 Linear bus topology 500 Kb/s bit rate 40m max bus length 3.5V 2.5V 1.5V CANH CANL recessive dominant recessive ECU 1 ECU 2 ECU n... Stubs 1m RT 120Ω CANH CANL Twisted-pair, or parallel, non shielded media RT 120Ω Terminators can be inside end ECUs 37
39 Physical interface on MCU board 38
40 CAN network and signals 3 Tx/Rx, Inter frame, Acknowledge bits, Arbitration Tx5 Tx1 Tx2 Tx3 Tx4 5 nodes lab network Bus Tx1 Tx2 Tx3 Rx1 Rx2 Rx3 39
41 Inter frame, Acknowledge bits, Arbitration Arbitration phase Inter frame delay Acknowledge bit Tx1 and Tx3 send a recessive bit Bus Bus Tx1 Tx1 Tx2 Rx1 Tx2 Tx3 Tx3 send Rx1 Rx2 Rx3 Tx3 Tx1 and Tx3 send dominant Rx2 Rx3 - Tx3 send dominant - Tx1 send recessive Rx1 = recessive => node 1 losses arbitration and stop transmission 40
42 CAN register control and CAN development Tools
43 MSCAN What must be common to each node on the same network? - Baud rate - CAN2A or 2B (standard or extended identifier) - Bit partitioning, but timing, but sampling point - Messaging structure (ID and data) In addition, each application must manage and define: - Filtering mechanism - INT handling etc 42
44 CAN module registers Configuration Transmission and reception management Acceptance / Mask ID Transmit / reiceive buffers 43
45 CAN register control 44
46 Each module is developed by a different system supplier: Development phase of the vehicle Trip computer Dashboard Radio Engine management AirBag ABS/ESP Air Cond. Top column switches Light, wipers, radio, horn, cruise control Supplier A Front Light control Turn signal, head lamp, fog Supplier B Read module Light, turn signal, brake, rear wiper Supplier C Driver Door Lock, window, mirror, switch panel Supplier D Passenger Door Body Controller Interior light, Front wiper, RF, Alarm CANalyser tool Front Light control Turn signal, head lamp, fog CAN tool Emulate other nodes messaging. Test, debug and validation Supplier B 45
47 CANalyser tool 46
48 ID data Messaging definition: example Trip computer Dashboard Radio Engine management AirBag ABS/ESP Air Cond. Top column switches Light, wipers, radio, horn, cruise control Front Light control Turn signal, head lamp, fog Rear module Light, turn signal, brake, rear wiper Driver Door Lock, window, mirror, switch panel Passenger Door Body Controller Interior light, Front wiper, RF, Alarm 15 Front light 20 Door 10 switches Warning Turn signal left Turn signal right wiper Front light Message periodicity: -Every x ms -Upon switch state change signals 47
49 Signals: Driver door: close/open, window up/down, passenger window up/down Passenger door: close/open Commodo status: wiper on/off, head lamp, turn signal Vehicle speed: CAN frame construction For each ECU, consolidate signals into one or more frame Example of CAN data frame Network management messages Node identification. Network phase life (phases de vie) 1 ECU of the vehicle managed the network (OSEK VDE) 48
50 speed [ bit/s ] Multiplexing protocols embedded control multi media 25M 10M 1M CAN-C dual wire Flexray, TTP time triggered, fault tolerant 2x2 wire / optical TT CAN D2B, MOST optical ring Bluetooth 125K 20K 10K LIN master-slave single wire J1850 (US market) ISO 9141 diagnostic CAN-B fault tolerant dual/single wire wireless medium Complexity and Relative cost per node Not shown: dedicated air bag protocols and proprietary buses (i.e DSI, BMW K-bus) 49
51 protocol overview Protocol engine UART SCI esci Rx Tx V BAT LIN Bit coding: Low = dominant High = Recessive, via pull up resistor GND Bus level compliant to ISO9141. Diagnostic bus, K line synch break synch fieldidentifier field 13 bit (min) 1 byte 1 byte data fields 2, 4, or 8 bytes 1 byte check field response space data fields 2, 4, or 8 bytes 50
52 FlexRay protocol Why Flexray: Need for higher speed (10Mb/s), safer and more predictable communication to allow X by wire systems Application examples: steer by wire brake by wire When: foreseen from FlexRay consortium: Define the protocol, physical layer, conformance specifications etc Electrical braking system Front right Pedal node Rear right Rear left 51
53 Rear right Protocol overview Front left Pedal node Rear left Deterministic data transmission, guaranteed message latency time. No arbitration. Fault tolerant, synchronized global time Redundant transmission channels 52
54 Bibliographie Standards internationaux: ISO7637, automotive transient specification ISO11898, CAN specification LIN protocol specification Quelques sites: Bus de communication: LIN and CAN CRC, Checksum, parity:
55
1 November Basics of In-Vehicle Networking (IVN) Protocols
1 November 2011 Basics of In-Vehicle Networking (IVN) Protocols Available IVN Protocols There are many Bus Systems used in a car but... "It is becoming clear that regardless of carmaker, new vehicles will
More informationIntroduction to Controller Area Network (CAN)
Introduction to Controller Area Network (CAN) 2003 Microchip Technology Incorporated. All Rights Reserved. Introduction to Controller Area Network (CAN) 1 Topics CAN Protocol Overview What is CAN? CAN
More informationController area network
Controller area network From Wikipedia, the free encyclopedia (Redirected from Controller area network) Controller area network (CAN or CAN-bus) is a vehicle bus standard designed to allow microcontrollers
More informationController Area Network
Controller Area Network 1 CAN FUNDAMENTALS...3 1.1 USER BENEFITS...3 1.1.1 CAN is low cost...3 1.1.2 CAN is reliable...3 1.1.3 CAN means real-time...3 1.1.4 CAN is flexible...3 1.1.5 CAN means Multicast
More informationIn-Vehicle Networking freescale.com/automotive
LIN/CAN/RF/FlexRay Technology In-Vehicle Networking freescale.com/automotive In-Vehicle Networking As an industry leader in automotive solutions, Freescale Semiconductor has greatly contributed to in-vehicle
More informationSimplify CAN and LIN In-vehicle Network Testing
Simplify CAN and LIN In-vehicle Network Testing An in-vehicle network integrates many modules that interact with the environment, and process high and low speed information. As a result, testing this network
More informationAn Introduction to CAN by Peter Bagschik (I+ME ACTIA)
1 of 11 24.10.00 14:36 An Introduction to CAN by Peter Bagschik (I+ME ACTIA) The CAN (Controller Area Network) protocol was developed in Europe for the use in passenger cars. Through the successful use
More informationBOSCH. CAN Specification. Version , Robert Bosch GmbH, Postfach , D Stuttgart
CAN Specification Version 2.0 1991, Robert Bosch GmbH, Postfach 30 02 40, D-70442 Stuttgart CAN Specification 2.0 page 1 Recital The acceptance and introduction of serial communication to more and more
More informationFlexRay and Automotive Networking Future
FlexRay and Automotive Networking Future Chris Quigley Warwick Control Technologies Presentation Overview High Speed and High Integrity Networking Why FlexRay? CAN Problems Time Triggered Network Principles
More informationAdditional Slides (informative)
Automation Systems Discrete Event Control Systems and Networked Automation Systems Additional Slides (informative) Application Automotive Networks (LIN, CAN, FlexRay, MOST) Vorlesungstitel Vehicle Bus
More informationCAN Protocol Implementation
CAN Protocol Implementation Arun Pasupathi, Gaurav Agalave Electrical and Computer Engineering Department School of Engineering and Computer Science Oakland University, Rochester, MI e-mails: apasupathi@oakland.edu,
More informationThe House Intelligent Switch Control Network based On CAN bus
The House Intelligent Switch Control Network based On CAN bus A.S.Jagadish Department Electronics and Telecommunication Engineering, Bharath University Abstract The Embedded Technology is now in its prime
More informationRecommended readings
Recommended readings Dominique Paret, Multiplexed Networks for Embedded Systems: CAN, LIN, FlexRay, Safe-by-Wire..., ISBN: 978-0- 470-03416-3, 434 pages, WILEY, UK, 2007. Wolfhard Lawrenz, CAN System Engineering:
More informationArchitecture concepts in Body Control Modules
Bitte decken Sie die schraffierte Fläche mit einem Bild ab. Please cover the shaded area with a picture. (24,4 x 11,0 cm) Course 7 www.continental-corporation.com Interior Body and Security Table Of Contents
More informationCommunication Networks for the Next-Generation Vehicles
Communication Networks for the, Ph.D. Electrical and Computer Engg. Dept. Wayne State University Detroit MI 48202 (313) 577-3855, smahmud@eng.wayne.edu January 13, 2005 4 th Annual Winter Workshop U.S.
More informationCAN Node using HCS12
CAN Node using HCS12 Ketan Kulkarni, Siddharth Dakshindas Electrical and Computer Engineering Department School of Engineering and Computer Science Oakland University, Rochester, MI e-mails: krkulkarni@oakland.edu,
More informationCAN bus and NMEA2000 1
NMEA2000 relation to CAN and how Warwick Control can help Richard McLaughlin B.Sc., M.Sc., CEng Dr Chris Quigley Warwick Control NMEA Conference 2016, Naples, Florida CAN bus and NMEA2000 1 Company Profile
More informationOperating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien
Operating Systems, Concurrency and Time real-time communication and CAN Johan Lukkien (Courtesy: Damir Isovic, Reinder Bril) Question Which requirements to communication arise from real-time systems? How
More informationToday. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?
Embedded networks Characteristics Requirements Simple embedded LANs Bit banged SPI I2C LIN Ethernet Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today
More informationEP A1 (19) (11) EP A1 (12) EUROPEAN PATENT APPLICATION. (43) Date of publication: Bulletin 2012/45
(19) (12) EUROPEAN PATENT APPLICATION (11) EP 2 521 319 A1 (43) Date of publication: 07.11.2012 Bulletin 2012/45 (51) Int Cl.: H04L 12/40 (2006.01) H04L 1/00 (2006.01) (21) Application number: 11164445.6
More informationImplementation of CAN Bus Protocol
Implementation of CAN Bus Protocol Ms. Ashwini S. Shinde ashushinde16@gmail.com Ms. Aarti S. Deshpande aartideshpande11@gmail.com Mr. Pradnyant N Kalamkar pnkalamkar4587@gmail.com Mr. Arjun R. Nichal arjunnichal@gmail.com
More informationController Area Network (CAN)
Controller Area Network (CAN) EECS 461, Fall 2008 J. A. Cook J. S. Freudenberg 1 Introduction Up until now, we ve considered our embedded control system to be self-contained: an algorithm implemented in
More informationSerial EEPROM for Automotive New Advanced series
Serial EEPROM for Automotive New Advanced series More parameters, quicker, safer http://www.st.com/automotiveeeprom Good reasons to use EEPROM in cars 2 Applications in cars become Smarter, Customized
More informationCORBA in Control Systems
CORBA in Control Systems The Use of Embedded Real-time CORBA in the Architecture of Control Systems: A Case Study James L. Paunicka Ph.D. Boeing Phantom Works Eric Martens Boeing Phantom Works Shahzad
More informationThe Touran Electrical system
Service. Self-study programme 307 The Touran Electrical system Design and function The networking technology, used until now only in luxury class vehicles, will be a feature in compact vans, such as the
More informationCAN-FD Flexible Data Rate CAN
FD CAN-FD Flexible Data Rate CAN A Short Primer and Update V. 202-08-27 Agenda > Why CAN-FD? What is CAN-FD? Basic Concepts CAN-FD Specifics Data Frame Operating Modes/States Physical Layer Considerations
More informationDesign of the Control System about Central Signals in Electric Vehicle
J. Electromagnetic Analysis & Applications, 2010, 2: 189-194 doi:10.4236/jemaa.2010.23027 Published Online March 2010 (http://www.scirp.org/journal/jemaa) 1 Design of the Control System about Central Signals
More informationCAN in Space workshop
CAN in Space workshop Holger Zeltwanger www.can-cia.org The next generation of CAN technology: Chances and challenges of CAN FD Presentation outline u Introduction into CAN FD u CAN FD physical layer u
More informationAUTOMOBILE APPLICATIONS USING CAN PROTOCOL
AUTOMOBILE APPLICATIONS USING CAN PROTOCOL 1 VEERESH B M, 2 JEEVAN C N, 3 MAHESH PATIL 1,2,3 Department of Electronics and Communication, G.S.S.I.T, Bangalore, India Abstract- The main objective of the
More informationWorkshop on In Vehicle Network using CAN By
Workshop on In Vehicle Network using CAN By Modern CAR Modern CAR INTRODUCTION 1. Controller Area Network (CAN) was initially created by German automotive system supplier Robert Bosch in the mid-1980s.
More informationSerial Buses in Industrial and Automotive Applications
Serial Buses in Industrial and Automotive Applications Presented by Neelima Chaurasia Class: #368 1 Overview As consumer electronics, computer peripherals, vehicles and industrial applications add embedded
More informationA Reliable Gateway for In-vehicle Networks
Proceedings of the 17th World Congress The International Federation of Automatic Control A Reliable Gateway for In-vehicle Networks S. H. Seo*, J. H. Kim*, T. Y. Moon* S. H. Hwang**, K. H. Kwon*, J. W.
More informationUNDERSTANDING THE CONTROLLER AREA NETWORK (CAN)
UNDERSTANDING THE CONTROLLER AREA NETWORK (CAN) The unsuspecting troops had come under heavy enemy fire just before dawn and the garrison was caught totally by surprise. The fort commander had been awakened
More informationThe Golf 2004 Electrical system
Service Training Self-study programme 319 The Golf 2004 Electrical system Design and function The most striking change compared with the previous model is the rear lighting of the Golf 2004. The one-piece
More informationCAN (Controller Area Network) Physical Layer
CAN (Controller Area Network) Physical Layer Technical Training Systems Engineering Industrial Interface Networking Overview Networking: OSI 7 Layer Model Open Systems Interconnection Basic Reference Model
More informationComputation of CAN Bit Timing Parameters Simplified
Computation of CAN Bit Timing Parameters Simplified Meenanath Taralkar, OTIS ISRC PVT LTD, Pune, India CAN bit timing and synchronization play an important role in ensuring performance of CAN network.
More informationOvervoltage protection with PROTEK TVS diodes in automotive electronics
Ian Doyle Protek / Zoltán Kiss Endrich Bauelemente Vertriebs GmbH Overvoltage protection with PROTEK TVS diodes in automotive electronics A utomotive electronics is maybe the area of the automotive industry,
More informationLecture 2. Basics of networking in automotive systems: Network. topologies, communication principles and standardised protocols
Lecture 2. Basics of networking in automotive systems: Network topologies, communication principles and standardised protocols Objectives Introduce basic concepts used in building networks for automotive
More informationCommunication in Automotive Networks Illustrated with an Example of Vehicle Stability Program: Part I - Control Area Network
DOI 10.7603/s40707-013-0013-8 Communication in Automotive Networks Illustrated with an Example of Vehicle Stability Program: Part I - Control Area Network Grzejszczyk Elżbieta, Ph.D.eng. Docent, Electrical
More informationCAN with Flexible Data-Rate
CAN with Flexible Data-Rate Florian Hartwich, Robert Bosch GmbH Ever increasing bandwidth requirements in automotive networks impede the applicability of CAN due to its bit rate limitation to 1 MBit/s.
More informationGoals and prospects of embedded electronic automotive systems
Goals and prospects of embedded electronic automotive systems Joseph Beretta Division of Research and Automotive Innovation Manager Automotive Science & Advance Research Electromechanically, Electrochemistry,
More informationApplication Note. Introduction. AN2255/D Rev. 0, 2/2002. MSCAN Low-Power Applications
Application Note Rev. 0, 2/2002 MSCAN Low-Power Applications by S. Robb 8/16-bit MCU Division Freescale, East Kilbride Introduction The Freescale Scalable Controller Area Network (MSCAN) is the specific
More informationDEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK
Bachelor's thesis Degree Programme in Information Technology Internet Technology 2015 Daria Shevchenko DEFINITION AND IMPLEMENTATION OF AN ARCHITECTURAL CONCEPT FOR CONFIGURING A CAN NETWORK BACHELOR S
More informationController Area Network CAN. messages
Controller Area Network CAN messages CAN message 11 or 29 bits 0-8 bytes CAN Id/ Priority DLC 4bits Data Frame CAN Data Frame Std Transmitter Receiver 1 0 1 11 1 2 4 0-64 15 1 1 1 7 3 Identifier Start
More informationDebugging CAN, LIN, and FlexRay Automotive Buses with an Oscilloscope
Debugging CAN, LIN, and FlexRay Automotive Buses with an Oscilloscope Introduction Embedded systems applications growing rapidly in the automotive industry. Many vehicle designs use CAN, LIN or FlexRay
More informationChances and challenges
Chances and challenges CAN FD for commercial vehicles Holger Zeltwanger Commercial vehicles CAN in mobile machinery Truck network architecture Trunk, fuel Switches CAN (FD) Instrumentation train (125 or
More informationUsing CAN Arbitration for Electrical Layer Testing
Using CAN Arbitration for Electrical Layer Testing Sam Broyles and Steve Corrigan, Texas Instruments, Inc. The Controller Area Network (CAN) protocol incorporates a powerful means of seamlessly preventing
More informationMIGRATING TO CAN FD. Tony Adamson. Marketing Director CAN / LIN / FlexRay
MIGRATING TO CAN FD Tony Adamson Marketing Director CAN / LIN / FlexRay Agenda WHO ARE WE CAR NETWORKS UNDER TRANSFORMATION SPEED SRITY OUR MISSION AND STRATEGY 2 2 FEBRUARY 16, 2016 VECTOR CAN FD SYMPOSIUM
More informationAutomobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched
Automobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched communication protocol used for automotive industries. Now we are
More informationRemote Keyless Entry In a Body Controller Unit Application
38 Petr Cholasta Remote Keyless Entry In a Body Controller Unit Application Many of us know this situation. When we leave the car, with a single click of a remote control we lock and secure it until we
More informationAn Introduction to FlexRay as an Industrial Network
An Introduction to FlexRay as an Industrial Network Robert Shaw, Brendan Jackman Automotive Control Group, Waterford Institute of Technology, Waterford, Ireland. E-mail: rshaw@wit.ie, bjackman@wit.ie Website:
More informationCAN FD for commercial vehicles: Chances and challenges
CAN FD for commercial vehicles: Chances and challenges Holger Zeltwanger, e. V. Commercial vehicles include road, off-highway as well as off-road vehicles. Many of them are equipped with multiple CAN networks.
More informationNew Generation of CAN Controllers Optimized for 8-bit MCUs
New Generation of CAN Controllers Optimized for 8-bit MCUs Paul Kinowski, Bertrand Conan ST Microelectronics, Rousset, France With the introduction of OSEK and the increasing number of ECUs in car s body,
More informationMATLAB Expo Simulation Based Automotive Communication Design using MATLAB- SimEvent. Sudhakaran M Anand H General Motors
MATLAB Expo 2013 Simulation Based Automotive Communication Design using MATLAB- SimEvent Sudhakaran M Anand H General Motors 1 Agenda Introduction Different Analysis Methods Analytical vs. Simulation Approach
More informationMPX-2515 User s Guide
MPX-2515 User s Guide Rev 0100 MPX-2515 User s Guide MPX-2515 CAN 2.0B USB card features USB 2.0 full speed to CAN 2.0B bus interface in Mini-PCIe form factor. This MPX-2515 User's Guide describes how
More informationCAN protocol enhancement
Protocols CAN protocol enhancement This article describes the enhanced CAN protocol called CAN-HG and the features of the IC circuitry from Canis that implement it. CAN-HG has been designed to meet two
More informationCybersecurity Challenges for Connected and Automated Vehicles. Robert W. Heller, Ph.D. Program Director R&D, Southwest Research Institute
Cybersecurity Challenges for Connected and Automated Vehicles Robert W. Heller, Ph.D. Program Director R&D, Southwest Research Institute Cars are becoming complex (and CAV is only part of it) 1965: No
More informationFreescale Semiconductor, I. SECTION 13 CAN 2.0B CONTROLLER MODULE (TouCAN)
nc. SECTION 13 CAN 2.0B CONTROLLER MODULE (TouCAN) This section is an overview of the TouCAN module. Refer to D.10 TouCAN Module for information concerning TouCAN address map and register structure. 13.1
More informationImplementation and validation of SAE J1850 (VPW) protocol solution for diagnosis application
Implementation and validation of SAE J1850 (VPW) protocol solution for diagnosis application Pallavi Pandurang Jadhav 1, Prof. S.N.Kore 2 1Department Of Electronics Engineering, Walchand College Of Engineering,
More informationDigital communication technology for teaching automatic control: the level control case
Digital communication technology for teaching automatic control: the level control case Nicolás H. Beltrán, Manuel A. Duarte-Mermoud and Pablo A. Kremer Department of Electrical Engineering, University
More informationHow to Hack Your Mini Cooper: Reverse Engineering CAN Messages on Passenger Automobiles
How to Hack Your Mini Cooper: Reverse Engineering CAN Messages on Passenger Automobiles Jason Staggs Who is this guy? Jason Staggs Graduate Research Assistant Institute for Information Security (isec)
More informationISO INTERNATIONAL STANDARD. Road vehicles Controller area network (CAN) Part 3: Low-speed, fault-tolerant, medium-dependent interface
INTERNATIONAL STANDARD ISO 11898-3 First edition 2006-06-01 Road vehicles Controller area network (CAN) Part 3: Low-speed, fault-tolerant, medium-dependent interface Véhicules routiers Gestionnaire de
More informationCAN Driver Trends and Solutions for Higher Data Rate and Energy Savings
CAN Driver Trends and Solutions for Higher Data Rate and Energy Savings FTF-AUT-F0262 Dan Lenskold Product Line Manager A P R I L 0 9, 2 0 1 4 TM External Use Agenda CAN Market Overview and Trends Evolution
More informationCONTROLLER AREA NETWORK (CAN)
GROUP 54C CONTROLLER AREA NETWORK (CAN) CONTENTS GENERAL INFORMATION........ 54C-2 STRUCTURE................... 54C-3 SELF-DIAGNOSIS............... 54C-6 CAN BUS DIAGNOSTICS......... 54C-6 OPERATION...................
More informationField buses (part 2): time triggered protocols
Field buses (part 2): time triggered protocols Nico Fritz Universität des Saarlandes Embedded Systems 2002/2003 (c) Daniel Kästner. 1 CAN and LIN LIN CAN Type Arbitration Transfer rate Serial communication
More informationDeveloping deterministic networking technology for railway applications using TTEthernet software-based end systems
Developing deterministic networking technology for railway applications using TTEthernet software-based end systems Project n 100021 Astrit Ademaj, TTTech Computertechnik AG Outline GENESYS requirements
More informationApplication guide ESD protection Automotive
Application guide ESD protection Automotive For In-Vehicle Networks and multimedia buses: CAN, LIN, FlexRay, BroadR-Reach, HDMI, LVDS, USB Type-C Contents Introduction... 3 A growing and challenging market
More informationTutorial Introduction
Tutorial Introduction PURPOSE: This tutorial provides a detailed description of the features and operations of the TouCAN bus. OBJECTIVES: Describe the CAN specification and layer architecture. Identify
More informationDevelopment of a CAN Slave Module with SystemC. Igor Sachs Shang Qihua
Development of a CAN Slave Module with SystemC Igor Sachs Shang Qihua Agenda 0. Motivation 1. Introduction to the CAN-Bus 1.1 The CAN Message Format (Frame) 1.2 Bus Arbitration 1.3 Bit Stuffing 2. Development
More informationINTER INTRA VEHICULAR COMMUNICATION
INTER INTRA VEHICULAR COMMUNICATION Neethu P P 1 and Siddharth Shelly 2 Department of Electronics& Communication, Mar Athanasius College of Engineering, A.P.J Abdul Kalam Technological University, Kerala,
More informationMicroprocessor Communication Module Connecting On Board Diagnostic System and Personal Computer
Microprocessor Communication Connecting On Board Diagnostic System and Personal Computer Nina Bencheva, Yordan Alexandrov Microprocessor Communication Connecting On Board Diagnostic System and Personal
More informationData Link Layer Technologies
Chapter 2.2 La 2 Data Link La Technologies 1 Content Introduction La 2: Frames Error Handling 2 Media Access Control General approaches and terms Aloha Principles CSMA, CSMA/CD, CSMA / CA Master-Slave
More informationIMPLEMENTATION OF CONTROLLER AREA NETWORK FOR AUTOMOTIVE APPLICATIONS
IMPLEMENTATION OF CONTROLLER AREA NETWORK FOR AUTOMOTIVE APPLICATIONS A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF Master of Technology in VLSI Design and Embedded System
More informationImplementation of automotive CAN module requirements
Implementation of automotive CAN module requirements Alan Devine, freescale semiconductors At first glance all CAN modules are very similar, the only difference being the number of message buffers which
More informationMCP2510. MCP2510 Rev. AA Silicon Errata Sheet. 3. Module: Error Flags. 1. Module: Configuration Mode State Machine. 4. Module: Bus Timing Logic
M MCP2510 MCP2510 Rev. AA Silicon Errata Sheet The MCP2510 parts you have received conform functionally to the Device Data Sheet (DS21291C), except for the anomalies described below. All of the problems
More informationSri Vidya College of Engineering and Technology. EC6703 Embedded and Real Time Systems Unit IV Page 1.
Sri Vidya College of Engineering and Technology ERTS Course Material EC6703 Embedded and Real Time Systems Page 1 Sri Vidya College of Engineering and Technology ERTS Course Material EC6703 Embedded and
More informationEE445M/EE380L.6, Lecture 10 4/3/2016. EE445M/EE360L.6 Embedded and Real-Time Systems/ Real-Time Operating Systems. Lecture 10
, 4/3/2016 EE445M/EE360L.6 Embedded and Real-Time Systems/ Real-Time Operating Systems : Networking, bus, Ethernet, Embedded Internet, TCP/IP 1 Network Collection of interfaces that share a physical medium
More informationEE445M/EE380L.12, Lecture 10 4/2/2018. EE445M/EE360L.6 Embedded and Real-Time Systems/ Real-Time Operating Systems. Lecture 10
, 4/2/2018 EE445M/EE360L.6 Embedded and Real-Time Systems/ Real-Time Operating Systems : Networking, bus, Ethernet, Embedded Internet, TCP/IP 1 Network Collection of interfaces that share a physical medium
More informationCANCore-I/II. User Manual. Industrial grade CAN module. Ver.:V3.02 (2016/10/22)
CANCore-I/II Industrial grade CAN module User Manual Ver.:V3.02 (2016/10/22) Contents 1. Introduction... 3 1.1 Functional Overview... 3 1.2 Properties at a Glance...3 1.3 Typical application... 4 2. Installation...
More informationTSS463C. VAN Data Link Controller with Serial Interface. Features. Description
Features Fully Compliant to VAN Specification ISO/11519-3 Handles All Specified Module Types Handles All Specified Message Types Handles Retransmission of Frames on Contention and Errors 3 Separate Line
More informationUSBCAN-OBD. USB to CAN adapter. User Manual. Document version 3.01 (2015/04/22)
USB to CAN adapter User Manual Document version 3.01 (2015/04/22) Contents 1. Introduction... 3 1.1 Functional Overview... 3 1.2 Properties at a Glance...3 1.3 Typical application... 3 2. Installation...
More informationELEC 5260/6260/6266 Embedded Computing Systems
ELEC 5260/6260/6266 Embedded Computing Systems Spring 2019 Victor P. Nelson Text: Computers as Components, 4 th Edition Prof. Marilyn Wolf (Georgia Tech) Course Web Page: http://www.eng.auburn.edu/~nelsovp/courses/elec5260_6260/
More informationISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 4: Electrical physical layer specification
INTERNATIONAL STANDARD ISO 17458-4 First edition 2013-02-01 Road vehicles FlexRay communications system Part 4: Electrical physical layer specification Véhicules routiers Système de communications FlexRay
More informationFrequently Asked Questions
Product Name: System Basis Chips (SBCs) Date: April 2013 Application: Automotive ECUs Datasheet: www.infineon.com/sbc Contact Person: Norbert Ulshoefer/Antonio Monetti Note: The following information is
More informationHelsinki Metropolia University of Applied Sciences Degree Program in Information Technology
Helsinki Metropolia University of Applied Sciences Degree Program in Information Technology Lawrence Nwaogo Implementation of an Embedded System Networking and Vehicle Information Display Bachelor Thesis,
More informationCh 7. Network Interface
EE414 Embedded Systems Ch 7. Network Interface Part 1/2 Byung Kook Kim School of Electrical Engineering Korea Advanced Institute of Science and Technology Overview 7.1 Advanced Communication Principles
More informationor between microcontrollers)
: Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016
More informationJ1939-based application profiles
J1939-based application profiles Holger Zeltwanger J1939 reference model 7 6 Application Profile Presentation 5 4 Session Transport 3 etwork J1939/31 - Truck and Bus etwork Layer 2 Data Link J1939/21 -
More informationThe Controller Area Network (CAN) Interface
The Controller Area Network (CAN) Interface ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.S.M. Course
More informationTRK-S12ZVL Quick Start Guide. MagniV Mixed-signal MCUs for LIN Applications
TRK-S12ZVL Quick Start Guide MagniV Mixed-signal MCUs for LIN Applications Quick Start Guide Introduction The TRK-S12ZVL features the S12ZVL, an automotive 16-bit MCU family. This integrates on the same
More informationAUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers
Introduction stands for AUTomotive Open Systems ARchitecture Electronic Control Unit Partnership of automotive Car Manufacturers and their Suppliers Source for ECU: Robert Bosch GmbH 2 Introduction Members
More informationAN1077 APPLICATION NOTE
AN1077 APPLICATION NOTE OVERVIEW OF ENHANCED CAN CONTROLLERS FOR ST7 AND ST9 MCUS by Microcontroller Division Applications ABSTRACT Automotive body network requirements have changed significantly in the
More informationISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 2: Data link layer specification
INTERNATIONAL STANDARD ISO 17458-2 First edition 2013-02-01 Road vehicles FlexRay communications system Part 2: Data link layer specification Véhicules routiers Système de communications FlexRay Partie
More informationBLE Bluetooth Low Energy Modules SBC2112-B. Preliminary Specification. Version 1.0
BLE Bluetooth Low Energy Modules SBC2112-B Preliminary Specification Version 1.0 23-JUN.-2014 Content 1. Description...3 2. Features...3 3. Block Diagram...3 4. Radio Characteristics...4 5. Electrical
More informationMixed-Criticality Systems based on a CAN Router with Support for Fault Isolation and Selective Fault-Tolerance
IFAC 2014 Mixed-Criticality Systems based on a Router with Support for Fault Isolation and Selective Fault-Tolerance Roland Kammerer 1, Roman Obermaisser², Mino Sharkhawy 1 1 Vienna University of Technology,
More informationDCB1M - Transceiver for Powerline Communication
Preliminary Description DCB1M - Transceiver for Powerline Communication The information in this data sheet is preliminary and may be changed without notice. 1. General The DCB1M is an innovative technology
More informationEnhanced Error-Recovery CAN Bus System Using Reed-Solomon Codec
Journal of Network Intelligence c 2017 ISSN 2414-8105 (Online) Taiwan Ubiquitous Information Volume 2, Number 4, November 2017 Enhanced Error-Recovery CAN Bus System Using Reed-Solomon Codec Shi-Huang
More informationCase USB-MUX-4C2L 4 CAN - 2 LIN/ISO
Case USB-MUX-4C2L 4 CAN - 2 LIN/ISO Installation guide Document n. 054114-04 Published 08/07/2005 ANNECY ELECTRONIQUE Z.A. Les Marais 74410 St JORIOZ Phone : +33 (0) 450 68 90 65 Fax: +33 (0) 450 68 58
More informationGW-7238D J1939 to Modbus TCP Server / RTU Slave Gateway
GW-7238D J1939 to Modbus TCP Server / RTU Slave Gateway User s Manual www.icpdas.com 1 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one
More informationIndustrial Controller Area Network (CAN) Applications
Networking Applications Industrial Controller Area Network (CAN) Applications Overview The controller area network (CAN) is a serial, asynchronous, multimaster communication protocol for connecting electronic
More information