ecu designing by deependra magarde
TRANSCRIPT
-
7/31/2019 ECU Designing by Deependra Magarde
1/42
ECU Designing
9/1/2012 DEEPENDRA MAGARDE 1
By
Deependra Magarde
-
7/31/2019 ECU Designing by Deependra Magarde
2/42
Electronic Control Unit - ECU In the Automobile industry an electronic
control unit (ECU) is a embeddedelectronic device
DEEPENDRA MAGARDE 29/1/2012
,signals coming from sensors placed atvarious parts and in different components
of the car and depending on thisinformation controls various importantunits e.g. Engine
-
7/31/2019 ECU Designing by Deependra Magarde
3/42
ECU Key Funtions
Read signals coming from sensors Controls various units according to sensor
DEEPENDRA MAGARDE 39/1/2012
Keeps a check on the performance ofcomponents
-
7/31/2019 ECU Designing by Deependra Magarde
4/42
An ECU is basically made up ofhardware and software (firmware).
DEEPENDRA MAGARDE 49/1/2012
The hardware components is amicrocontroller chip along with an EPROM
or a Flash memory chip. The software (firmware) is a set of lower-level codes that runs in themicrocontroller.
-
7/31/2019 ECU Designing by Deependra Magarde
5/42
The ECU is characterized by:
Many analog and digital I/O Power device interface/control Different communication protocols (CAN, KWP-2000,
etc.).
DEEPENDRA MAGARDE 59/1/2012
signals
High voltage tests Intelligent communication interface adapters (standard
or custom)
Automatic fixture recognition and software sequenceenable Power device simulation
-
7/31/2019 ECU Designing by Deependra Magarde
6/42
Different Types of ECU's
ECM Engine Control Module EBCM Electronic Brake control
DEEPENDRA MAGARDE 69/1/2012
PCM Powertrain control module
VCM Vehicle control module
BCM Body control module
-
7/31/2019 ECU Designing by Deependra Magarde
7/42
ECM Engine Control Module
ECM is an ECU in an internal combustionengine that controls various enginefunctions e.
DEEPENDRA MAGARDE 79/1/2012
Injection
Ignition timing
Idle speed control system.
-
7/31/2019 ECU Designing by Deependra Magarde
8/42
EBCM Electronic Brake controlmodule.
The EBCM regulates the braking systems onthe basis of five inputs that it receives.
DEEPENDRA MAGARDE 89/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
9/42
PCM Powertrain controlmodule 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,
DEEPENDRA MAGARDE 99/1/2012
,
vehicle speed sensor engine speed sensor (CKP) brake switch cruise control switches
ignition overdrive on/off switch governor pressure sensor.
-
7/31/2019 ECU Designing by Deependra Magarde
10/42
VCM Vehicle control module
VCM is an ECU that takes care of systemslike:
DEEPENDRA MAGARDE 109/1/2012
Electronic Powersteering (EPS) systems Adaptive Cruise control (ACC) systems Airbag control system (ACS) systems. Electronic Stability Control (ESC)systems.
-
7/31/2019 ECU Designing by Deependra Magarde
11/42
BCM Body control module
BCM is an ECU that takes care of seatingcontrol unit, wiper control, power windowsand ower hoods in convertible cars e. .
DEEPENDRA MAGARDE 119/1/2012
Benz SL Roadster).
-
7/31/2019 ECU Designing by Deependra Magarde
12/42
ECU functional blocks
1. Power Supply digital and analog2. MPU microprocessor and memory3. Communications Link (e.g. CAN bus)4. Discrete Inputs On/Off Switch type inputs
DEEPENDRA MAGARDE 129/1/2012
. requency npu s enco er ype s gna s6. Analog Inputs feedback signals fromsensors7. Switch Outputs On/Off Switch type outputs
8. PWM Outputs variable frequency9. Frequency Outputs constant duty cycle
-
7/31/2019 ECU Designing by Deependra Magarde
13/42
Sensors and ActuatorsConnected to an ECM
Manifold Air temperature Sensor (MAT) Coolant Temperature Sensor (CTS)
Camshaft/Crankshaft Position Sensor (CPS)
DEEPENDRA MAGARDE 139/1/2012
Knock Sensor (KS)
Heated Oxygen Sensor (HO2S)
Throttle Position Sensor (TPS)
Vehicle Speed Sensor (VSS) Manifold Absolute Pressure (MAP)
-
7/31/2019 ECU Designing by Deependra Magarde
14/42
Different types of Protocols used
Diagnostics
ODBII protocol CAN ISO 11898
Body and Powertrain
DEEPENDRA MAGARDE 149/1/2012
LIN
Multimedia and Drive by wire
MOST
IDB 1394
Drive by wire
FlexRay
-
7/31/2019 ECU Designing by Deependra Magarde
15/42
Design and Testing
DEEPENDRA MAGARDE 159/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
16/42
Three Academic options forbuilding a software model.
LabVIEW System Identification Toolkit and Control
Design Toolkit Simulation Module
DEEPENDRA MAGARDE 169/1/2012
MATRIXx Xmath SystemBuild AUTOCODE Document It
-
7/31/2019 ECU Designing by Deependra Magarde
17/42
Three Academic options forbuilding a software model cont.
LabVIEW + Simulink Simulation Module Simulation Interface Toolkit (SIT)
DEEPENDRA MAGARDE 179/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
18/42
Rapid Control Prototyping
DEEPENDRA MAGARDE 189/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
19/42
Targeting
In this step the core ECU model ismodified to interface with the I/O availablein the actual ECU and then is converted
DEEPENDRA MAGARDE 199/1/2012
into a C code using a C code generator.In some cases they are also convertedinto an ada code. And then this code isdownloaded as the control algorithm to the32-bit microcontroller inside the ECU.
-
7/31/2019 ECU Designing by Deependra Magarde
20/42
Hardware-in-the-loop Simulation(HIL)
DEEPENDRA MAGARDE 209/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
21/42
AUTOSAR (AUTomotive Open SystemARchitecture) is a worldwide developmentartnershi of car manufacturers
DEEPENDRA MAGARDE 219/1/2012
suppliers and other companies from theelectronics, semiconductor and softwareindustry.
The AUTOSAR scope includes all vehicledomains.
-
7/31/2019 ECU Designing by Deependra Magarde
22/42
AUTOSAR
Improve performance, safety andenvironmental friendliness
"
DEEPENDRA MAGARDE 229/1/2012
standards, compete on implementation
Improve cost-efficiency without making
any compromise with respect to quality Facilitates the exchange and update of
software and hardware
-
7/31/2019 ECU Designing by Deependra Magarde
23/42
Technical Overview
Technical goals Modularity
DEEPENDRA MAGARDE 239/1/2012
Transferability
Re-usability
-
7/31/2019 ECU Designing by Deependra Magarde
24/42
Technical Overview
AUTOSAR enables configuration processoptimization (e.g. partitioning and resourceusa e and where necessar to allow
DEEPENDRA MAGARDE 249/1/2012
local optimization if required to meet theruntime requirements of specific devicesand hardware constraints.
-
7/31/2019 ECU Designing by Deependra Magarde
25/42
AUTOSAR ECU Software Architecture
DEEPENDRA MAGARDE 259/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
26/42
Standardized interfaces
DEEPENDRA MAGARDE 269/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
27/42
AUTOSAR Software Components
Virtual Functional Bus (VFB) System Constraint and ECU
DEEPENDRA MAGARDE 279/1/2012
Mapping on ECUs
Runtime Environment (RTE)
-
7/31/2019 ECU Designing by Deependra Magarde
28/42
Software Component
A fundamental design concept ofAUTOSAR is the separation between:
DEEPENDRA MAGARDE 289/1/2012
Application
Infrastructure
-
7/31/2019 ECU Designing by Deependra Magarde
29/42
Sensor/Actuator SoftwareComponents
DEEPENDRA MAGARDE 299/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
30/42
AUTOSAR RuntimeEnvironment
The RTE provides a communicationabstraction to AUTOSAR SoftwareCom onents attached to it b rovidin
DEEPENDRA MAGARDE 309/1/2012
the same interface and services whetherinter-ECU communication channels areused (such as CAN, LIN, FlexRay, MOST,
etc.) or communication stays intra-ECU.
-
7/31/2019 ECU Designing by Deependra Magarde
31/42
AUTOSAR Basic Software
ServicesSystem services such as diagnostic protocols;NVRAM, flash and memory management
Communication
DEEPENDRA MAGARDE 319/1/2012
. . , ,
FlexRay...), I/O management, Networkmanagement Operating System
As AUTOSAR aims at an architecture that is
common for all vehicle domains it will specify therequirements for an AUTOSAR OperatingSystem
-
7/31/2019 ECU Designing by Deependra Magarde
32/42
Microcontroller Abstraction layer(MCAL)
Digital I/O (DIO) Analog/Digital Converter (ADC) Pulse Width (De)Modulator (PWM, PWD)
DEEPENDRA MAGARDE 329/1/2012
Flash (FLS) Capture Compare Unit (CCU) Watchdog Timer (WDT)
Serial Peripheral Interface (SPI) I2C Bus (IIC)
-
7/31/2019 ECU Designing by Deependra Magarde
33/42
ECU specific components
ECU AbstractionThe ECU Abstraction provides a software
interface to the electrical values of any specific
DEEPENDRA MAGARDE 339/1/2012
n or er o ecoup e g er- eve so warefrom all underlying hardware dependencies.
Complex Device Driver (CDD)
The CDD allows a direct access to the hardwarein particular for resource critical applications
-
7/31/2019 ECU Designing by Deependra Magarde
34/42
The AUTOSAR Methodology
System Configuration Description:includes all system information and the informationthat must be agreed between different ECUsSystem
Configuration Extractor:
DEEPENDRA MAGARDE 349/1/2012
Description needed for a specific ECUECU extract:is the information from the System ConfigurationDescription needed for a specific ECUECU
Configuration Description:all information that is local to a specific ECU therunnable software can be built from this informationand the code of the software component
-
7/31/2019 ECU Designing by Deependra Magarde
35/42
AUTOSAR SpecificationsReleased
Release 4.0 Release 3.2
DEEPENDRA MAGARDE 359/1/2012
.
Release 3.0
Release 2.0
-
7/31/2019 ECU Designing by Deependra Magarde
36/42
User Groups
DEEPENDRA MAGARDE 369/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
37/42
Artop User Group
The Artop User Group is a group oflicensed users of the AUTOSAR standardwith a s ecial interest in AUTOSAR
DEEPENDRA MAGARDE 379/1/2012
compliant tools The AUTOSAR Tool Platform (Artop) is an
implementation of common basefunctionality for AUTOSAR developmenttools.
-
7/31/2019 ECU Designing by Deependra Magarde
38/42
ARText - An AUTOSAR TextualLanguage Framework
ARText is a framework for building textualmodeling languages for AUTOSAR
DEEPENDRA MAGARDE 389/1/2012
ex s ase on ex .
ARText extends Xtext with featuresspecific to the AUTOSAR domain and
provides a full integration of your editorwithin Artop.
-
7/31/2019 ECU Designing by Deependra Magarde
39/42
Artop IDE Screenshot
DEEPENDRA MAGARDE 399/1/2012
-
7/31/2019 ECU Designing by Deependra Magarde
40/42
AUTOSAR Designing Softwares
AUTOSAR Builder Infineon AUTOSAR Software
DEEPENDRA MAGARDE 409/1/2012
Freescale AUTOSAR SoftwareSolutions
RTI AUTOSAR PackageEB tebros
-
7/31/2019 ECU Designing by Deependra Magarde
41/42
AUTOSAR Solution By MathsWork
Simulink Stateflow
DEEPENDRA MAGARDE 419/1/2012
Vector Informatik DaVinci Developer
KPIT Cummins ECU SPECTRUM and
AUTOSAR Basic Software Modules
-
7/31/2019 ECU Designing by Deependra Magarde
42/42
THANKS FOR YOUR PATIENCE
DEEPENDRA MAGARDE 429/1/2012