an automotive survey
Post on 12-Sep-2014
599 views
DESCRIPTION
A literature survey on automotive embedded systemsTRANSCRIPT
![Page 1: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/1.jpg)
Manu S Ravindra, Colorado State University
AN AUTOMOTIVE SURVEY
![Page 2: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/2.jpg)
AUTOMOTIVE ELECTRONICS• What is it ?
Kommandogerat – BMW 801 Radial engine series Radial engine
![Page 3: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/3.jpg)
CONTEMPORARY ECU TRENDS• Around 80 to 100 in a an automobile
![Page 4: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/4.jpg)
ENGINE CONTROL UNIT• A typical modern example
![Page 5: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/5.jpg)
STEER-BY-WIRE (SBW) SYSTEMS – AN EXAMPLE• Power steering
![Page 6: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/6.jpg)
COMMUNICATION BETWEEN ECU’S• Standard communication protocols are used.
CAN (Controller Area Network)
LIN (Local Interconnect Network)
MOST (Media Oriented Systems Transport) are a few examples.
![Page 7: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/7.jpg)
FLEXRAY – THE FUTURE• A hybrid protocol
Time Triggered (TT) messages and Event Triggered (ET) messages
• Consists of two segments – Static segment (ST) and Dynamic segment (DYN)
• Uses TDMA for communication (Time Division Multiple Access)
![Page 8: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/8.jpg)
SYSTEM MODEL• N1, N2 and N3 are nodes.
• Controller Host Interface (CHI)
• CPU
![Page 9: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/9.jpg)
SYSTEM ARCHITECTURE• Implemented by two schedulers.
• Static Cyclic Scheduler
--- non-preempt tasks.
--- start time is decided at the design time or “off-line”.
• Fixed Priority Scheduler
--- preempt tasks.
--- scheduled based priorities.
![Page 10: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/10.jpg)
A SCHEDULING EXAMPLE• Τ1 and T6 are SCS scheduled tasks.
• The rest of the tasks are FPS tasks.
![Page 11: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/11.jpg)
A TYPICAL FLEX-FRAME
![Page 12: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/12.jpg)
THE PROTOCOL• Communication occurs in periodic cycles
• Each cycle consists of two intervals – ST and DYN intervals
• ST and DYN segment lengths can be different but are fixed over the cycles.
• Symbol Window and a network idle timer.
• Frame Identifier
![Page 13: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/13.jpg)
PAYLOAD SEGMENT• Slot counters – Static and Dynamic
• Dynamic mini-slot counters
• Node with frame identifier equal to the current slot counter is allowed to communicate.
![Page 14: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/14.jpg)
CLOCK SYNCHRONIZATION• Backbone of FlexRay operation.
• Clock system in a distributed system would be subject to “clock-drift”.
• Clock drift is an inevitable inherent delay in the arrival of clock from one point to another.
• But a global clock reference is needed to keep track of time.
• FlexRay uses ‘micro-ticks” and “macro-ticks”.
• “Cluster time” is used as a reference of global clock.
![Page 15: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/15.jpg)
NODE CLOCK CORRECTION• Measure clock delay.
• Determine clock correction term.
• Apply clock correction term (clock rate correction/clock state correction/both).
![Page 16: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/16.jpg)
AN OVERVIEW OF THE EVOLUTION
![Page 17: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/17.jpg)
WHY FLEXRAY ? FAULT TOLERANCE• Topological Flexibility.
• Synchronous Clock.
• Conceptual separation.
![Page 18: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/18.jpg)
MODERN ELECTRONIC CONTROL UNITS• Energy was considered to be “freely available” until now.
• Energy consumption is directly related to CO2 emmission of the vehicle.
E/E Architecture
- Partial networking.
- AUTOSAR.
![Page 19: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/19.jpg)
AUTOSAR (AUTOMOTIVE OPEN SYSTEM ARCHITECTURE)• An awesome group of companies working towards delivering the best on production lines
to the world!
• Similar to the SAE (Society of Automotive Engineers) – Another awesome group. The biggest!
![Page 20: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/20.jpg)
POWER AND ENERGY EFFICIENCY Optimize energy consumption of electronic components.
Use of networking policies to save power and energy policies. (Communication Energy)
![Page 21: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/21.jpg)
COMMUNICATION ENERGY• Sub-networking.
• A “sleep” and “wake-up” object.
![Page 22: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/22.jpg)
CAN – CONTROLLER AREA NETWORK• CSMA – Carrier Sense Multiple Access
• Speeds up to 1 Mbps are achievable.
• Bus topology.
• Nothing specific in the protocol to put a node to sleep / turn-off.
• A “sleeping” node “wakes up” if there is any activity on the bus.
• CAN sleep object is a random sleep object.
![Page 23: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/23.jpg)
FLEXRAY • TDMA – Time Division Multiple Access.
• Speeds up to 10 Mbps are achievable.
• Sleep object same as CAN.
• Wake up is performed by sending out a specific symbol.
![Page 24: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/24.jpg)
LIN – LOCAL INTERCONNECT NETWORK• Connects sensors and actuators.
• One wire communication protocol.
• Speeds up to 20kbps.
• Master slave network is employed. One way communication. One master controls one or more slaves. Therefore there is no need for conflict avoidance / collision.
![Page 25: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/25.jpg)
MULTI-CORE MCU’S• Homogeneous and Heterogeneous multi-core MCU’s.
• Multicore benefits.
- Code segregation
- Redundancy
- Monitoring
- Dedicated use of cores
• Non-volatile Memory
![Page 26: An automotive survey](https://reader033.vdocuments.us/reader033/viewer/2022061104/5412b84b8d7f720c4e8b46b0/html5/thumbnails/26.jpg)
THANK YOU