An automotive survey

26
Manu S Ravindra, Colorado State University AN AUTOMOTIVE SURVEY
  • date post

    12-Sep-2014
  • Category

    Automotive

  • view

    597
  • download

    1

description

A literature survey on automotive embedded systems

Transcript of An automotive survey

Page 1: An automotive survey

Manu S Ravindra, Colorado State University

AN AUTOMOTIVE SURVEY

Page 2: An automotive survey

AUTOMOTIVE ELECTRONICS• What is it ?

Kommandogerat – BMW 801 Radial engine series Radial engine

Page 3: An automotive survey

CONTEMPORARY ECU TRENDS• Around 80 to 100 in a an automobile

Page 4: An automotive survey

ENGINE CONTROL UNIT• A typical modern example

Page 5: An automotive survey

STEER-BY-WIRE (SBW) SYSTEMS – AN EXAMPLE• Power steering

Page 6: An automotive survey

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

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

SYSTEM MODEL• N1, N2 and N3 are nodes.

• Controller Host Interface (CHI)

• CPU

Page 9: An automotive survey

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

A SCHEDULING EXAMPLE• Τ1 and T6 are SCS scheduled tasks.

• The rest of the tasks are FPS tasks.

Page 11: An automotive survey

A TYPICAL FLEX-FRAME

Page 12: An automotive survey

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

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

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

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

AN OVERVIEW OF THE EVOLUTION

Page 17: An automotive survey

WHY FLEXRAY ? FAULT TOLERANCE• Topological Flexibility.

• Synchronous Clock.

• Conceptual separation.

Page 18: An automotive survey

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

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

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

COMMUNICATION ENERGY• Sub-networking.

• A “sleep” and “wake-up” object.

Page 22: An automotive survey

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

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

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

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

THANK YOU