Anda di halaman 1dari 42

ECU Designing

By Deependra Magarde
9/1/2012 DEEPENDRA MAGARDE 1

Electronic Control Unit - ECU


In the Automobile industry an electronic control unit (ECU) is a embedded electronic device ECU basically a digital computer, that read 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
9/1/2012 DEEPENDRA MAGARDE 2

ECU Key Funtions


Read signals coming from sensors Controls various units according to sensor signals Keeps a check on the performance of components

9/1/2012

DEEPENDRA MAGARDE

An ECU is basically made up of hardware and software (firmware).

The hardware components is a microcontroller chip along with an EPROM or a Flash memory chip. The software (firmware) is a set of lowerlevel codes that runs in the microcontroller.
9/1/2012 DEEPENDRA MAGARDE 4

The ECU is characterized by:


Many analog and digital I/O Power device interface/control Different communication protocols (CAN, KWP-2000, etc.). Large switching matrices for both low and high power signals High voltage tests Intelligent communication interface adapters (standard or custom) Automatic fixture recognition and software sequence enable Power device simulation
9/1/2012 DEEPENDRA MAGARDE 5

Different Types of ECU's


ECM Engine Control Module EBCM Electronic Brake control module PCM Powertrain control module VCM Vehicle control module BCM Body control module

9/1/2012

DEEPENDRA MAGARDE

ECM Engine Control Module


ECM is an ECU in an internal combustion engine that controls various engine functions e.g Injection Ignition timing Idle speed control system.

9/1/2012

DEEPENDRA MAGARDE

EBCM Electronic Brake control module.


The EBCM regulates the braking systems on the basis of five inputs that it receives.

9/1/2012

DEEPENDRA MAGARDE

PCM Powertrain control module


PCM is an ECU that monitors and controls speed, charging and Automatic Transmission The inputs that are fed to the PCM are from: throttle position sensor, output shaft speed sensor, vehicle speed sensor engine speed sensor (CKP) brake switch cruise control switches ignition overdrive on/off switch governor pressure sensor.

9/1/2012

DEEPENDRA MAGARDE

VCM Vehicle control module


VCM is an ECU that takes care of systems like: Electronic Powersteering (EPS) systems Adaptive Cruise control (ACC) systems Airbag control system (ACS) systems. Electronic Stability Control (ESC) systems.
9/1/2012 DEEPENDRA MAGARDE 10

BCM Body control module


BCM is an ECU that takes care of seating control unit, wiper control, power windows and power hoods in convertible cars (e.g. Benz SL Roadster).

9/1/2012

DEEPENDRA MAGARDE

11

ECU functional blocks


1. Power Supply digital and analog 2. MPU microprocessor and memory 3. Communications Link (e.g. CAN bus) 4. Discrete Inputs On/Off Switch type inputs 5. Frequency Inputs encoder type signals 6. Analog Inputs feedback signals from sensors 7. Switch Outputs On/Off Switch type outputs 8. PWM Outputs variable frequency 9. Frequency Outputs constant duty cycle

9/1/2012

DEEPENDRA MAGARDE

12

Sensors and Actuators Connected to an ECM


Manifold Air temperature Sensor (MAT) Coolant Temperature Sensor (CTS) Camshaft/Crankshaft Position Sensor (CPS) Knock Sensor (KS) Heated Oxygen Sensor (HO2S) Throttle Position Sensor (TPS) Vehicle Speed Sensor (VSS) Manifold Absolute Pressure (MAP)
9/1/2012 DEEPENDRA MAGARDE 13

Different types of Protocols used


Diagnostics ODBII protocol CAN ISO 11898 Body and Powertrain LIN Multimedia and Drive by wire MOST IDB 1394 Drive by wire FlexRay

9/1/2012

DEEPENDRA MAGARDE

14

Design and Testing

9/1/2012

DEEPENDRA MAGARDE

15

Three Academic options for building a software model.


LabVIEW System Identification Toolkit and Control Design Toolkit Simulation Module MATRIXx Xmath SystemBuild AUTOCODE Document It
9/1/2012 DEEPENDRA MAGARDE 16

Three Academic options for building a software model cont.


LabVIEW + Simulink Simulation Module Simulation Interface Toolkit (SIT)

9/1/2012

DEEPENDRA MAGARDE

17

Rapid Control Prototyping

9/1/2012

DEEPENDRA MAGARDE

18

Targeting
In this step the core ECU model is modified to interface with the I/O available in the actual ECU and then is converted into a C code using a C code generator. In some cases they are also converted into an ada code. And then this code is downloaded as the control algorithm to the 32-bit microcontroller inside the ECU.
9/1/2012 DEEPENDRA MAGARDE 19

Hardware-in-the-loop Simulation (HIL)

9/1/2012

DEEPENDRA MAGARDE

20

AUTOSAR (AUTomotive Open System ARchitecture) is a worldwide development partnership of car manufacturers, suppliers and other companies from the electronics, semiconductor and software industry. The AUTOSAR scope includes all vehicle domains.
9/1/2012 DEEPENDRA MAGARDE 21

AUTOSAR
Improve performance, safety and environmental friendliness One common standard: "Cooperate on standards, compete on implementation Improve cost-efficiency without making any compromise with respect to quality Facilitates the exchange and update of software and hardware
9/1/2012 DEEPENDRA MAGARDE 22

Technical Overview
Technical goals Modularity Scalability Transferability Re-usability

9/1/2012

DEEPENDRA MAGARDE

23

Technical Overview
AUTOSAR enables configuration process optimization (e.g. partitioning and resource usage) and where necessary, to allow local optimization if required to meet the runtime requirements of specific devices and hardware constraints.

9/1/2012

DEEPENDRA MAGARDE

24

AUTOSAR ECU Software Architecture

9/1/2012

DEEPENDRA MAGARDE

25

Standardized interfaces

9/1/2012

DEEPENDRA MAGARDE

26

AUTOSAR Software Components


Virtual Functional Bus (VFB) System Constraint and ECU Descriptions Mapping on ECUs Runtime Environment (RTE)

9/1/2012

DEEPENDRA MAGARDE

27

Software Component
A fundamental design concept of AUTOSAR is the separation between: Application Infrastructure

9/1/2012

DEEPENDRA MAGARDE

28

Sensor/Actuator Software Components

9/1/2012

DEEPENDRA MAGARDE

29

AUTOSAR Runtime Environment


The RTE provides a communication abstraction to AUTOSAR Software Components attached to it by providing the same interface and services whether inter-ECU communication channels are used (such as CAN, LIN, FlexRay, MOST, etc.) or communication stays intra-ECU.

9/1/2012

DEEPENDRA MAGARDE

30

AUTOSAR Basic Software


Services System services such as diagnostic protocols; NVRAM, flash and memory management Communication Communication Framework (e.g. CAN, LIN, FlexRay...), I/O management, Network management Operating System As AUTOSAR aims at an architecture that is common for all vehicle domains it will specify the requirements for an AUTOSAR Operating System
9/1/2012 DEEPENDRA MAGARDE 31

Microcontroller Abstraction layer (MCAL)


Digital I/O (DIO) Analog/Digital Converter (ADC) Pulse Width (De)Modulator (PWM, PWD) EEPROM (EEP) Flash (FLS) Capture Compare Unit (CCU) Watchdog Timer (WDT) Serial Peripheral Interface (SPI) I2C Bus (IIC)
9/1/2012 DEEPENDRA MAGARDE 32

ECU specific components


ECU Abstraction The ECU Abstraction provides a software interface to the electrical values of any specific ECU in order to decouple higher-level software from all underlying hardware dependencies. Complex Device Driver (CDD) The CDD allows a direct access to the hardware in particular for resource critical applications

9/1/2012

DEEPENDRA MAGARDE

33

The AUTOSAR Methodology


System Configuration Description: Configuration Extractor:
includes all system information and the information that must be agreed between different ECUsSystem extracts the information from the System Configuration Description needed for a specific ECUECU extract: is the information from the System Configuration Description needed for a specific ECUECU

Configuration Description:

all information that is local to a specific ECU the runnable software can be built from this information and the code of the software component

9/1/2012

DEEPENDRA MAGARDE

34

AUTOSAR Specifications Released


Release 4.0 Release 3.2 Release 3.1 Release 3.0 Release 2.0

9/1/2012

DEEPENDRA MAGARDE

35

User Groups

9/1/2012

DEEPENDRA MAGARDE

36

Artop User Group


The Artop User Group is a group of licensed users of the AUTOSAR standard with a special interest in AUTOSAR compliant tools The AUTOSAR Tool Platform (Artop) is an implementation of common base functionality for AUTOSAR development tools.
9/1/2012 DEEPENDRA MAGARDE 37

ARText - An AUTOSAR Textual Language Framework


ARText is a framework for building textual modeling languages for AUTOSAR ARText is based on Xtext. ARText extends Xtext with features specific to the AUTOSAR domain and provides a full integration of your editor within Artop.
9/1/2012 DEEPENDRA MAGARDE 38

Artop IDE Screenshot

9/1/2012

DEEPENDRA MAGARDE

39

AUTOSAR Designing Softwares


AUTOSAR Builder Infineon AUTOSAR Software Freescale AUTOSAR Software Solutions RTI AUTOSAR Package EB tebros
9/1/2012 DEEPENDRA MAGARDE 40

AUTOSAR Solution By Maths Work


Simulink Stateflow Embedded Coder Vector Informatik DaVinci Developer KPIT Cummins ECU SPECTRUM and AUTOSAR Basic Software Modules

9/1/2012

DEEPENDRA MAGARDE

41

THANKS FOR YOUR PATIENCE

9/1/2012

DEEPENDRA MAGARDE

42

Anda mungkin juga menyukai