6 ECU Development UNAL 20240129
6 ECU Development UNAL 20240129
SCIENCE
PASSION
TECHNOLOGY
2
General Position, distance
Rotational and
translational velocity
Resistive
• General Information
Pressure
Inductive
• Automotive Sensor & Actuator Technologies Gas & concentration Sound wave
propagation (e.g.
• Calibration
• Sensors types
• Actuator Technologies
• Electric Motor Technologies
• Automotive IT
• Hands-On Examples
• Icebreaker Session
Automotive ECU Development
3
General Information
• Training Schedule -> 4 days (Mon. – Thu.)
• Exam day -> Monday, February 5th
4
Project Examples – Research Vehicle for Autonomous
Inner-city Goods Transport
Automotive ECU Development
5
Project Examples
Sensor application
Automotive ECU Development
6
Project Examples
Actuator application
Automotive ECU Development
7
Project Examples – Automated Charging for BEVs
Automotive ECU Development
8
Project Examples – Position Sensor Test Bench
• Max. Speed: ± 24.000 rpm
• Temperature range: -40°C to +160°C
• 5 MS/sec Data Acquisition Unit
• Evaluation and Vehicle ECU
• High Precise Reference Sensor
(8192 increments per rotation)
• Misalignment of DUT in 4 axis
• Supply Voltage 0V to 40V ±15mV
• Angular resolution < 0,1° at 24.000rpm
• Acceleration > 10.000 rpm/sec
Automotive ECU Development
9
Project Examples – Position Sensor Test Bench
• Data Acquisition Units for
Reference and DUT
• Mechanical decoupled data acquisition
to prevent shock and vibrations
• Vehicle target ECU and
evaluation ECU
• Synchronized reference data
acquisition card and ECUs
• Electromagnetic shields
Automotive ECU Development
10
Project Examples – Position Sensor Test Bench
Automotive ECU Development
11
Project Examples – Position Sensor Test Bench
Automotive ECU Development
12
Project Examples – Position Sensor Test Bench
Automotive ECU Development
13
Project Examples – Position Sensor Test Bench
Automotive ECU Development
14
Contents
• Automotive Sensor & Actuator Technologies
• Technologies and Applications
• Important Steps in the Measuring Process
• Calibration
• Sensors Types
• Actuator Types
• Electric Motor Technologies • Hands-On Examples
• ECU Development
• Automotive IT
• Embedded Systems
• Software & Hardware Components
• Automotive Controller Networks
• Functional Development of
Mechatronic Systems
Automotive ECU Development
15
Goals of this Course
• Basic knowledge and a broad insight in different sensor and actuator
technologies
• Understanding of sensor and actuator effects for translation of physical
conditions to electrical signals
• Exemplary automotive sensor and actuator applications
• Knowledge exchange
• Be able to optimize products
16
Technical Systems
Sensors Actuators
Recognize environmental Receive and fulfil
conditions and own orders from the
system status. controller.
Pic-Source: https://www.theverge.com/2017/11/21/16684160/toyota-thr3-humanoid-robot-mimic-movement
Automotive ECU Development
17
Mechatronic Systems Overview
Flow of information
Communication Man-machine
system interface
Information Information
processing Human
processing
Control Measurement
inputs signals
Power
supply Environment
Regulating
variable Measurand
Basic system
Forces, Forces,
displacement, displacement,
etc. Flow of energy etc.
18
What is a Sensor?
• Our environment is described by physical quantities and relations.
• To provide the information, we need to understand how to translate the information.
Physical/Chemical
value Φ (non electric)
??? ???
Pic-source: https://www.rüdiger-weiss.de, http://www.besthealthmag.ca, https://stephenmansfield.tv/habits-and-the-brain/
Disturbance Value Yi
(temperature, voltage fluctuation)
19
Example: Microphone
20
Automotive Sensor Technologies and Applications
Application Technologies
Automotive ECU Development
21
Sensor Market Development
Doubled in 10 years!
Innovative sensor concepts
and new sensor application
fields (e.g. autonomous
driving or comfort functions)
will raise expectations.
22
Important steps in the measuring process
23
Application Examples of Different Sensor Effects
Position, distance
Acceleration Capacitive
Pressure
Inductive
24
Measuring Results
A measuring result always consists of:
Measuring unit
Numeric value
Accuracy of the measurement
For example:
U = 13,58 V ± 1%
25
Accuracy
1. Accuracy of the measurement system
→ Technical characteristics (e.g. tolerance)
→ Calibration
2. Accuracy of the measurement process
→ Repeatability
→ Reproducibility
Costs /
Accuracy
effort
Automotive ECU Development
26
Accuracy: Requirements for Automotive Applications
Automotive ECU Development
27
Repeatability
• Fundamental requirement for experiments, measurements and analysis.
• Successive measurements should get the same result.
• Sufficient documentation of the setup and execution of the experiment.
• Scientific statements have to be based on several measurements.
Reproducibility
• Measures our ability to replicate the findings of others.
• Differences by
• Equipment
• Time and place
• People
• Environment
Automotive ECU Development
28
Conversion
• Conversion of received sensor signal to further processible signal.
-> E.g. conversion from an analog to a digital signal.
29
Signal Types
Stationary signals
e.g. DC
Non-stationary signals
e.g. AC
30
Signal Types
Deterministic
Can be defined exactly by a mathematical formula.
Non-Deterministic
Random Signals (noise)
Can not be defined by a mathematical equation.
Automotive ECU Development
31
Signal Types
Periodic signals
Repeats itself every time period.
Quasi-periodic
Periodic over a short time.
Changes in amplitude or frequency in the long term,
e.g. temperature change.
Automotive ECU Development
32
Signal Types
Repetitive signals
A certain signal period repeats in uneven
intervals
Transient signals
Switching operations
Automotive ECU Development
33
Signal Types
Continuous amplitude and time Discrete amplitude and continuous
time
Automotive ECU Development
34
Signal Types
Continuous amplitude Discrete amplitude and time
and discrete time
Automotive ECU Development
35
A/D Converter ADC
• An ADC converts a continuous time and continuous amplitude
analog signal in a discrete time and discrete amplitude digital signal.
• The ADC carries out two processes, sampling and quantization.
Automotive ECU Development
36
Sampling
Continuous time signal in
discrete and uniform time
intervals.
Nyquist-Shannon sampling
theorem
Sampling rate must be
higher than twice the
highest frequency of the
signal.
37
Quantization
Replacing the analog values with an approximation from a finite set of discrete
values.
Common ADC bit depth: 8-bit, 16-bit, 24-bit.
2N values. For example: 28 = 256 values.
Automotive ECU Development
38
Signal to Noise Ratio
• Every signal is contaminated by some amount of noise
• Too much noise will make the signal undetectable
• SNR is the ratio between signal power to noise power
• Usually represented in dB
𝑃𝑃𝑃𝑃
𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 = 10log
𝑃𝑃𝑃𝑃
Automotive ECU Development
39
Quantization Error
Offset error
Output is changing at the wrong input.
Offset is equal for the whole range.
Automotive ECU Development
40
Quantization Error
Gain error
Change in the slope of the staircase
Larger error for higher output
Automotive ECU Development
41
Quantization Error
Differential nonlinearity
DNL describes the deviation from the ideal step size
Automotive ECU Development
42
Quantization Error
Integral nonlinearity
INL describes the deviation of the centerpoints from the ideal
Automotive ECU Development
43
Sample and Hold Circuit
Automotive ECU Development
44
ADC Types
• Flash ADCs
• Pipelined converters
• Successive approximation register (SAR) converters
• Integrating or dual-slope converters
• Sigma-delta converters (ΣΔ)
Automotive ECU Development
45
Comparator
The Comparator Function – Non-inverting
INPUT OUTPUT
VIN > VREF HIGH (1)
VIN < VREF LOW (0)
Automotive ECU Development
46
Flash ADC
• Compares the input signal Vin to a
unique reference voltage Vref by a
comparator.
• The output of the comparator is
connected to a 8-line to 3-line priority
encoder.
• The encoders output corresponds to the
currently active input.
Automotive ECU Development
47
Subranging / Pipelined ADC
• The input is first converted with a flash ADC.
• The digital value is converted back in analog format by a DAC and subtracted
from the input.
• The difference is converted to digital with another ADC.
• A pipelined ADC repeats this process to get a higher resolution but also a
latency delay.
Automotive ECU Development
48
Integrating / Dual-Slope ADC
• An unknown input voltage is applied to the input of the integrator for a
fixed time (tu)
• A known reference voltage of opposite polarity is applied to the
integrator until the output returns to zero (td)
• The time period (td) is proportional to the input voltage (Vin)
Pic-source: https://slideplayer.com/slide/4584344/15/images/31/Dual-Slope+ADC+%E2%80%93+How+It+Works.jpg,
Automotive ECU Development
49
Successive Approximation Register (SAR)
• Input signal Uin will be digitalized in n steps
• Accuracy increases by 1 Bit with every step
• Each step Uin is compared with Uref
• Depending on, if Uin is higher or lower, Uref changes up or down
Automotive ECU Development
50
Digital to Analog Converter DAC
Device to transform digital data into an analog signal
Applications
Audio
Video
Mechanical actuators
Analog controller
Analog components
Pic-source: https://www.intersil.com/content/dam/Intersil/featured/grid/digital-to-analog-converter-dac.png
Automotive ECU Development
51
Weighted Resistor DAC
• Each digital level is converted into an equivalent analog voltage.
• Consists of a weighted resistor network.
• OPamp is used as an summing amplifier, which gives a weighted sum of
the input voltage VR.
Output voltage is a
amplitude discrete signal,
which has to be filtered by
a lowpass filter.
Automotive ECU Development
52
R-2R DAC
• Basically same concept as weighted resistor method.
• Requires only 2 resistor values.
Automotive ECU Development
53
Evaluation
• Feasibility check of received measurement signal.
• Detection and minimization of possible errors.
54
Feasibility Check: Physical Quantities and Units
Dimensional formula
𝐸𝐸𝑘𝑘 = 𝑚𝑚 ∗ 𝑣𝑣 2 ⟹ 1 J = 1 kg ∗ 1 𝑚𝑚⁄𝑠𝑠 2
Unit conversion
1 ℎ ∗ 601𝑚𝑚𝑚𝑚𝑚𝑚
ℎ ∗ 60 𝑠𝑠
1 𝑚𝑚𝑚𝑚𝑚𝑚
= 3600 𝑠𝑠 = 3.6 ∗ 102 𝑠𝑠
Dimensional equation
Same units on both sides
𝐸𝐸𝑘𝑘 = 1�2 𝑚𝑚𝑣𝑣 2 ⇒ 𝐸𝐸𝑘𝑘 = 𝑚𝑚 ∗ 𝑣𝑣 2 = 𝑚𝑚 ∗ 𝑠𝑠 2 ∗ 𝑡𝑡 −2
Automotive ECU Development
55
Measurement Error
Systematic error
Usually caused by sensor.
Incorrectly calibrated instrument, friction, worn out instrument.
Can be corrected by careful examination.
Random error
Caused by unknown and unpredictable changes in the experiment.
Different results for the same repeated measurement.
Automotive ECU Development
56
Origin of measurement errors
x y
Measurement
Measuring object Output element
instrument
process system further processing
(equipment error)
57
Arithmetic average
i xi [mV] The arithmetic average 𝑥𝑥̅ 𝑵𝑵
𝟏𝟏
1 103 from the measurements 𝑥𝑥𝑖𝑖 � = � 𝒙𝒙𝒊𝒊
𝒙𝒙
2 106
can be determined by 𝑵𝑵
3 102
𝒊𝒊=𝟏𝟏
4 104 𝑁𝑁 10
1 1 1
5 105 𝑥𝑥̅ = � 𝑥𝑥𝑖𝑖 = � 𝑥𝑥𝑖𝑖 = ∗ 1040 𝑚𝑚𝑚𝑚 = 104 𝑚𝑚𝑚𝑚
𝑁𝑁 10 10
6 104 𝑖𝑖=1 𝑖𝑖=1
7 104
𝑁𝑁 10
8 103 1 2
1 2 12
𝑠𝑠 = � 𝑥𝑥𝑖𝑖 − 𝑥𝑥̅ = � 𝑥𝑥𝑖𝑖 − 𝑥𝑥̅ = 9
= 1,155 𝑚𝑚𝑚𝑚
9 104 𝑁𝑁 − 1 9
𝑖𝑖=1 𝑖𝑖=1
10 105
∑ 1040 mV
𝑼𝑼 = 𝟏𝟏𝟏𝟏𝟏𝟏 ± 𝟏𝟏, 𝟏𝟏𝟏𝟏𝟏𝟏 𝒎𝒎𝒎𝒎
Automotive ECU Development
58
Normal distribution
• Distribution that occurs naturally in many situations.
• Reference for many probability problems
• 𝑁𝑁 → ∞; 𝑥𝑥̅ → 𝜇𝜇; 𝑠𝑠 → 𝜎𝜎
(𝑥𝑥−𝜇𝜇)2
1 −
𝑓𝑓 𝑥𝑥 = 𝑒𝑒 2𝜎𝜎2
𝜎𝜎 2𝜋𝜋
Automotive ECU Development
59
Regression Analysis
Relationship between two variables
E.g. voltage and current at a resistor
𝒚𝒚 = 𝒎𝒎 ∗ 𝒙𝒙 + 𝒃𝒃
Automotive ECU Development
60
Calibration
• A test during which known values of the measurand are applied to the sensor
and the corresponding output signals are recorded.
straight line
range [%]
61
Matching/Calibration of a Sensor
Matching is done in three
steps:
1. Recording of actual value
(characterization)
2. Correction parameters’
storage
3. Operating phase
Depending whether sensor is
“intelligent” or not.
Automotive ECU Development
62
Recording of Actual Value
• External calibration computer host varies measurand and influencing variables.
• Sensor provides raw measurement data at its output.
• A high precise reference sensor provides “true” data.
• Calibration host compares sensor’s (DUT) and reference output.
Automotive ECU Development
63
Correction parameters’ storage
a. Sensor has no storage/compensation unit.
b. Sensor has a storage/compensation unit
(“smart sensor”).
Ad a.:
Calibration host generates look-up table (LUT).
This LUT is stored in the control unit (ECU, MCU, …).
Control unit reads in raw sensor data and compares it to LUT
Ad b.:
Calibration host calculates model parameters (e.g. linear characteristic) and stores the model on the smart
sensor's storage.
Automotive ECU Development
64
Operating phase
The (smart) sensor is now disconnected from the host computer and is in a
position itself to calculate the measured variable xe with relatively low error thanks
to the stored model data.
Automotive ECU Development
65
Correction Model of a (Smart)sensor
Automotive ECU Development
66
Processing
• Provision of signal to further processing, e.g. in any electronic control unit
(ECU).
• Providing the measured result in a certain signal type (analog / digital).
• ECU reads in this signal.
• In automotive applications, normally signal type is defined by supplier and
OEM.
67
Sensor Signal Processing ECU
Hall sensor
68
Processing Example
Automotive ECU Development
69
Processing Example
Automotive ECU Development
70
Processing Example
Automotive ECU Development
71
Processing Example
Automotive ECU Development
72
Processing Example
Automotive ECU Development
73
Processing Example
74
Processing Example
Automotive ECU Development
75
Sensor Classification
76
Assignment and Application
Sensor effect Application
Functional sensors, used for open and closed loop control assignments
(e.g. engine management, on board diagnosis), e.g.
Pressure sensor
Electromechanical pressure sensor
Hot-wire air mass meter
Piezoelectric knock sensor
Inductive rotational speed sensor
Safety (passenger protection) and security (e.g. theft deterrence Seatbelt tension
sensor
feature), e.g.
Micromechanical capacitive acceleration sensor
Electromechanics door contact switch
77
Characteristic Curve Type
Continuous linear curves (a)
• Control assignments covering a wide measuring range. Linear curves are
also distinguished by “uncomplicated testing and calibration“.
78
Classification of the Determined Output Signals
Automotive ECU Development
79
Sensor Types
Active
Generate energy out of the measurement process, which is necessary for passing
by the information.
E.g. Inductive sensor, Thermocouple …
Signal: e.g. voltage, current, charge, frequency
Passive
Energy must flow through the sensor to
gather information.
E.g. Hall sensor, Potentiometer,
Accelerometer
Signal: e.g. resistance, capacity,
inductance
Automotive ECU Development
80
Sensor Integration Levels
81
Smart Sensor
• Intelligent sensors, (a.k.a. integrated sensors) or sensors with specific local
electronics.
• Decentral sensor information processing, relief of any central vehicle control unit
(VCU).
• Complex information from multisensory structures can be merged here by local
further processing.
• Sensor is capable of measurement, conversion and evaluation of signal
-> simplification of communication process with integrated system.
Automotive ECU Development
82
Sensor Types Examples
Binary sensors
Resistive sensors
Some other
thrilling sensors
Sensors
Piezo-electric Capacitive
sensors sensors
83
Binary Sensors
Simplest information: „Is something there or not?“
time
Automotive ECU Development
84
Resistive Sensor
Change of ohmic resistance (Ω) by changing characters of an ohmic
conductor, e.g.
85
Capacitive Sensor
Based on changing the electrical capacity of a single capacitor or capacitor system, e.g.
86
Magnetostatic Sensor
• Measure a DC magnetic field.
• Suitable for miniaturization.
• Can be manufactured at reasonable costs using
microsystem technology.
• Used types:
galvanomagnetic effects
Hall and Gaussian effects
anisotropic magneto resistive effects
AMR (anisotropic magneto resistive effect)
GMR (giant magneto resistive effect)
Automotive ECU Development
87
Inductive Sensor
• Inductive sensors mainly consist of a coil with a ferrite or
magnetic core.
U ind = l ⋅ v ⋅ B
Uind … induced voltage [V]
l … length of wire [m]
Inductive effect v … target velocity [m/s]
B … magnetic flux density [T]
dΦ
U ind = − N ⋅ (general law of induction)
dt
N … number of conductor loops [-]
Φ … magnetic flux [Wb]
t … time [s]
Automotive ECU Development
88
Piezo-Electric Sensor
• After the pressure is applied on a crystal surface (i.e. Quartz), differently charged
ions are moving through the crystal grid.
• As a result, electric charges are generated on the surface of the sides of the crystal
where the pressure is applied.
• During discharge, these charges can be converted into a proportional voltage via an
integrated amplifier or an amplifier with an extreme high input resistance
(electrometer amplifier).
• The piezo effect is reversible. Tensile and compressive
forces lead to different polarity of the charge.
• The size of the charge is not temperature dependent
and has no hysteresis depending on the force.
Automotive ECU Development
89
Wave Propagation Sensor
Ultrasonic
Night viev
90
Measurand Types
Position
RPM and velocity
Acceleration
Pressure
Force and torque
Flow
Gas and concentration
Temperature
Object detection, distance
Automotive ECU Development
91
Position Sensors
• Position sensors record the variety of one or multi-dimensional positions
(translatoric and rotatoric variables) in a wide variety of areas.
92
Travel/Angular Positions as
Direct/Indirect Measured Variables
Automotive ECU Development
93
Low Level Sensor
𝑆𝑆
Uses effect of electric conductance (EC or σ [ ]).
𝑚𝑚
1 𝐴𝐴
𝑆𝑆 = =
Ω 𝑉𝑉
𝑈𝑈
Output: 𝐼𝐼 =
𝑅𝑅
EC of exemplary media:
𝑆𝑆
Silver: σ = 60 106
𝑚𝑚
𝑆𝑆
Tap water: σ = 50 10−3
𝑚𝑚
Automotive ECU Development
94
Low Level – Reed Contact
Closing of el. circuit via reaction
of magnetic straps to a magnetic
field.
95
Potentiometer
Wiper potentiometer uses the
correspondence between the length
of a wire or film resistor and its
resistance value.
1…Wiper
2…Resistance track
3…Contact conductor track
IA…Wiper current
U0…Supply voltage
UA…Measurement voltage
R…Resistance
ᵠmax…Maximum angle of rotation
ᵠ…Measured angle
[9]
Automotive ECU Development
96
Application I
Tank Shell
1 Electrical connections
2 Wiper spring
3 Contact rivet
4 Resistor board
5 Bearing pin
6 Twin contact
7 Float lever
8 Float
9 Fuel-tank floor
Automotive ECU Development
97
Application II
Air mass potentiometer Throttle valve potentiometer
1 Throttle valve
2 DC-motor
3 Wiper
4 Resistance track 1
5 Resistance track 2
1 Throttle valve
2 Throttle-valve sensor
UA Measurement voltages
UV Operating voltage
R1, R2 Resistance tracks 1 & 2
R3, R4 Calibration resistors
R5, R6 Protective resistors
Automotive ECU Development
98
Applications III
Acceleration pedal potentiometer
Resistance tracks
Wiper pairs
99
Application IV Fuel Level Sensor
Magnet at art moves flexible contacts over
resistance track.
Sensor element not in contact with
medium (→ no abrasion due to aggressive
substances in fuel, e.g. RME).
Automotive ECU Development
100
Pros & Cons – Potentiometer
101
Ultrasound
• Sound waves with frequencies higher than the upper audible limit of human
hearing (about 20 kHz).
• Ultrasonic Module sends out a cycle burst of ultrasound (e.g. at 40 kHz via
Transmitter).
• Sound wave in medium with sonic velocity.
• Ultrasonic Module records echo (via Receiver) and measures time
between sending and receiving signal.
• The distance can be calculated with:
L = 1/2 × T × C
L…distance
T…time between the emission
and reception
C…the sonic speed
Automotive ECU Development
102
Dependency of Sound Velocity on Medium
Automotive ECU Development
103
Ultrasonic Fluid Level Sensor
• Sensor calculates Speed Of Sound (SOS)
of fluid by measuring time against a fixed
distance (SOS = Distance/Time).
104
Magnetostatic Sensor
• Measure a DC magnetic field.
• Suitable for miniaturization.
• Can be manufactured at reasonable costs using
microsystem technology.
• Used types:
galvanomagnetic effects
Hall and Gaussian effects
anisotropic magneto resistive effects
AMR (anisotropic magneto resistive effect)
GMR (giant magneto resistive effect)
Automotive ECU Development
105
Hall Effect Sensors
• Based on Hall-effect theory (Edwin Hall- 1879).
• Electric current carrying conductor is kept in a
magnetic field.
• The magnetic field exerts a transverse force on
the moving charge carriers. Single Hall IC chip
Gnd
Signal
Automotive ECU Development
106
Galvanomagnetic Effect
B Magnetic flux density
I Wafer current
IH Hall current
IV Supply current 𝑈𝑈𝐻𝐻 = 𝑅𝑅𝐻𝐻 � 𝐼𝐼 � 𝐵𝐵/𝑑𝑑
UR Longitudinal voltage
𝛼𝛼 Deviation of the electrons
due to the magnetic field
RH = Hall coefficient
d = wafer thickness
a Circuit
b Curve of Hall voltage UH
c Increase of wafer
resistance R (Gaussian effect)
Automotive ECU Development
107
Rotor Position Detection – Hall Effect Sensors
• Rotor position is sensed using Hall-effect sensors
embedded into the stator.
• Sensor sensitivity depends on e.g.
• Placement to the magnet
• Air gap
• Magnet strength
Pic-source: https://www.appliancedesign.com/articles/95289-how-to-select-hall-effect-sensors-for-brushless-dc-motors/
Automotive ECU Development
108
Hall Effect Sensor
a) Linear (analog output sensor): b) Threshold (digital, or on-off)
• Produce a hall voltage proportional to • Produce a constant hall voltage when field
the strength of magn. field around it. strength reaches certain amplitude and/or
• Orientation of surrounding magn. field polarity.
determines the polarity of the voltage • Latching devices:
swing. • E.g. turn on when a positive field
• Used in musical applications, throttle, … strength reaches the threshold.
• E.g. only turn off under negative
field of same strength.
Automotive ECU Development
109
Analog Hall angular-position sensor (up to 90°/180°)
Linear characteristic curve for angles up to
approximately 90°
a Design
b Characteristic curve with working range A
110
Hall angular-position sensor (360°+)
• E.g. digital Hall sensor device with n Hall-switches
Angular position measurement up to 360° with a circular, equidistant arrangement of simple Hall switches
1…Housing with permanent magnets,2…Codedisk (magnetic), 3…Printed-circuit board with Hall switches
Automotive ECU Development
111
Pros & Cons – Potentiometer
112
RPM- and Speed Sensors
• Mainly, measurement of rotational speed.
• Measuring the number of revolutions or the distance traveled per unit
of time.
• Measuring principles (examples):
Magnetic-inductive (for the most part electrically passive - not supported
by form of local/on-site electronics).
Magnetostatic sensors (Hall-effect, need local, integrated electronics for
signal conditioning → “Intelligent” or “active” sensors)
Optical and capacitive sensors
(highly unsuitable for rough operating conditions
in a motorized vehicle).
Automotive ECU Development
113
RPM- and Speed Sensors
• To measure variables which occur between two components or
referenced to the road surface or another vehicle.
• Examples:
Crankshaft and camshaft rotational speed.
Wheel speeds (e.g. ABS/TCS/ESP).
Rotational speed of the diesel fuel-injection pump.
Vehicle movement (e.g. yaw rate).
Automotive ECU Development
114
Sensor Shapes and Rotors
Rotors:
Fork shape (a) Of decisive importance when measuring rotational
Measurement in axial direction. speed. Usually provided by the vehicle
+ Lower sensitivity to air gap. manufacturer, while the sensor itself comes from a
- Must be roughly aligned to the rotor. component supplier.
- Space demands for included sensor.
Types:
a) Magnetically passive (e.g. gear wheel)
b) Magnetically active (pole wheels)
Rod shape (b) a)
Measurement in radial direction.
The rotor teeth approach the sensor.
+ Relatively easy to install. b)
- Higher sensitivity to air gap.
Mainly used in automotive applications.
Automotive ECU Development
115
Magnetically Passive Rotors
E.g. gear wheels.
Made from magnetically soft materials (usually steel).
+ Lower costs than magnetically active rotors.
+ Not magnetized no danger of mutual demagnetization
(e.g. during storage).
- Difficult to scan, particularly in combination with rod
sensors.
Normally, passive rotors are in the form of gear wheels
already present on the engine.
Exemplary application: starter ring gear, with additional
reference mark for picking off the crankshaft position (fault-
free and optimum timing of ignition and injection).
Automotive ECU Development
116
Magnetically Active Rotors
E.g. „Pole wheels“
Sensor
Automotive ECU Development
117
Inductive Sensor Effect
• Use Faraday’s law of induction when measuring rotational speed.
• Means: they generate a voltage UA at their two-pole output which is
Moved
proportional to the change (referred to time) of a magnetic flux ɸ permanent
magnet
(⍵ = number of turns).
• The magnetic flux ɸ is also a function of the rotational position x and
the air gap dL: where ɸ = ɸ(x, dL) and dL = const .
118
Inductive Speed Sensors
Basically, inductive speed sensors are
comprised of three important magnetic
component parts:
Fixed coil
Soft-iron component
Permanent-magnet component
____________________________
1 Rod magnet
2 Soft-magnetic
pole pin
3 Induction coil
4 Airgap dL
5 Ferromagnetic gearwheel (or rotor or pulse wheel)
6 Rotational or reference mark
𝝀𝝀 Tooth interval
Automotive ECU Development
119
Flux and Voltage Curve for an Inductive-Type
Sensor
• Figure shows the flux curve and the voltage induced by a single rotational or reference mark
(slot, cam, or pole pin).
• Normally, the steep passage through zero which takes place at the mid-point of maximum
flux is utilized for the electronic detection of such a rotational or reference mark.
• According to Faraday’s Law, in all phases the signal’s amplitude is proportional to rotational
speed.
• In order to ensure adequate, interference-free evaluation in the control unit, the spacing
between the peaks of a double pulse (or of a periodic voltage pulse) should be at least 30
mV.
• The signal amplitude is highly dependent (exponentially) upon air gap and tooth size.
Automotive ECU Development
120
Pros & Cons – Inductive Speed Sensor
121
Simple Hall Rod Sensors
With magnetically passive rotors:
- High dependency on air gap.
122
Acceleration Sensors
• Basic principles
Measurement of displacement
Measurement of force
• Application examples
Knock control in gasoline engines
Triggering restraint systems (e.g. airbag and seat-belt pretensioners)
Detecting the accelerations of the vehicle for the antilock brake system
(ABS) or the electronic stability program (ESP)
Evaluation of body acceleration for use by the chassis and suspension
control systems.
• Measured variable is acceleration a, often stated as a multiple of
the acceleration due to gravity gn (1 g ≈ 9.81 m/s2).
Automotive ECU Development
123
Measurement Principles
Automotive ECU Development
124
Measuring Range of Acceleration Sensors
125
Piezo-Electrical Effect
• After the pressure is applied on a crystal surface (i.e. Quartz),
differently charged ions are moving through the crystal grid.
• As a result, electric charges are generated on the surface of
the sides of the crystal where the pressure is applied.
• During discharge, these charges can be converted into a
proportional voltage via an integrated amplifier or an amplifier
with an extreme high input resistance (electrometer amplifier).
• The piezo effect is reversible. Tensile and compressive forces
lead to different polarity of the charge.
• The size of the charge is not temperature dependent and has
no hysteresis depending on the force
Automotive ECU Development
126
Knock Sensor / Engine Knocking
• When combustion of some of the air/fuel mixture in the cylinder does not result from
propagation of the flame front ignited by the spark plug, but one or more pockets of air/fuel
mixture explode outside the envelope of the normal combustion front.
• Shock wave creates a characteristic metallic "pinging" sound, and cylinder pressure increases
dramatically.
Automotive ECU Development
127
Capacitive Acceleration Sensor – Measuring the
Displacement
A mass m – the seismic mass – is elastically attached to the body, the acceleration
a of which it is intended to measure.
Sensor
Automotive ECU Development
128
Capacitive Acceleration Sensor – Measuring the
Displacement
Compensation principle: the system deflection
due to acceleration is controlled out by an +: greater measurement range
equivalent return force. +: only limited by the return force
The sensor element is now a component part of a +: a higher cut-off frequency than
closed control loop. non-motion- controlled systems
The return force or the variable generating it (e.g.
current or voltage) acts as a measure of the
acceleration.
The system operates through closed-loop control
very close to the zero point of the excursion and
achieves a high degree of linearity.
Automotive ECU Development
129
Micromechanical Capacitive Acceleration Sensor
Automotive ECU Development
130
Micromechanical Capacitive Acceleration Sensor
for Yaw Rate Sensing
Automotive ECU Development
131
Micromechanical Capacitive Acceleration Sensor
for Rollover Applications
Automotive ECU Development
132
Force and Torque (Piezo-Resistive Effect)
• Change in the electrical resistance of a semiconductor
or metal when mechanical strain is applied.
• E.g. thin silicon layers change their electrical resistance
when bent.
• This allows forces to be measured.
• In contrast to the piezoelectric effect, the piezoresistive
effect causes a change only in electrical resistance, not
in electric potential.
Automotive ECU Development
133
Strain-gage Force Sensor
• Strain- gage resistors in the form of film resistors are so
closely bonded to the surface of the selected elastic
member that they follow its surface elongation perfectly.
• The change in resistance resulting from the resistor’s
elongation is defined by the particular gage factor K:
∆R/R = K*ε
Automotive ECU Development
134
Strain-gage Torque Measurement
Angle-measurement methods
require a certain length “l” of
the torsion shaft via which the
torsion angle (approximately
0.4° to 4°) can be picked-off.
135
Strain-gage Torque Sensor
Strain-gage principle has become
predominant.
Strain-gage bridge measures the
mechanical stress.
The bridge is powered using
transformer principles.
Further local electronic components
on the shaft permit the
measurement signal to be amplified
and converted to an AC form which
is independent of the air gap (for
instance, frequency-analog) which 1 Torque indicator; σ Torsional stress
can then also be outputted using M Torque; 𝑼𝑼𝟎𝟎 Supply voltage
R1 to R4 Strain-gage measuring
transformer principles. resistors
Automotive ECU Development
136
Applications
• Commercial-vehicle sector: coupling force between
the tractor vehicle and its trailer.
• Damping force for use in electronic chassis and
suspension control.
• Axle load for electronically controlled braking-force
distribution on commercial vehicles.
• Pedal force on electronically-controlled brake Force
systems. sensor
• Braking force on electrically actuated, electronically-
controlled brake systems.
• Drive and brake torque.
• Steering and steering servo torque. Torque
sensor
Automotive ECU Development
137
Pressure Sensor - Applications
Intake-manifold or boost pressure (1 to 5 bar) for gasoline injection
Brake pressure (10 bar) on electropneumatic brakes
Air-spring pressure (16 bar) on pneumatic-suspension vehicles
Tire pressure (5 bar absolute) for tire pressure monitoring
Hydraulic reservoir pressure (approximately 200 bar) for ABS and power
assisted steering
Shock-absorber pressure (approximately 200 bar) for chassis and
suspension control
Coolant pressure (35 bar) for air- conditioning systems
Modulation pressure (35 bar) for automatic transmissions
Brake pressure in master cylinder and wheel-brake cylinder (200 bar), and
automatic yaw-moment compensation on the electronically-controlled brake
Overpressure/underpressure of the tank atmosphere (0.5 bar)
Automotive ECU Development
138
Method: Direct Pressure Measurement
Direct pressure measurement with
• Given that all known resistors are more or less electrical resistor
pressure-dependent (volumetric effect), when very
high pressures (>104 bar) are to be measured, it
would suffice to simply subject an electrical
resistor to the pressure medium.
139
Method: Diaphragm-Type Sensors
• Most common method used for the measurement Diaphragm-Type Sensors
of pressure.
• Thin diaphragm as a mechanical intermediate
stage which is exposed on one side to the
pressure to be measured.
• Diaphragm deflects a function of the pressure.
• Within a very wide range, its diameter and
thickness can be adapted to the particular
pressure range.
Diaphragm-type sensors
1: Force measurement device
p: pressure
Automotive ECU Development
140
Method: Strain Gauge Pick-Off
• The elongations of the diaphragm occurring on the
deflection of a diaphragm-type sensor are Strain Gauge Pick-Off
detected using strain-gage technology.
• Strain-gage resistors are affixed to the diaphragm.
• Their electrical resistance varies under the
influence of mechanical stresses.
• The resistors are connected together to form a
Wheatstone bridge.
• Its voltage output is a measure for the pressure.
Strain gauge pick-off method
2: strain gauges
p: pressure
Automotive ECU Development
141
Method: Transfer to a Force Sensor
• Instead of directly using the force taken up by their Transfer to a Force Sensor
diaphragm, a number of sensors transfer it to a
force sensor whose measurement range can
remain constant due to the fact that the purely
mechanical diaphragm has already performed the
adaptation to the pressure-measuring range.
142
Examples High pressure:
• Steel diaphragm with strain-gage resistors
(bridge circuit).
• Measuring range is dependent on the
thickness of the diaphragm.
• Application examples:
• Rail-pressure sensor for gasoline direct
injection (up to 200 bar)
• Rail-pressure sensor for common-rail
diesel-injection system (up to 2,000 bar)
• Brake-fluid pressure sensor in the
hydraulic modulator of the ESP (up to
350 bar)
Automotive ECU Development
143
Examples Low pressure:
• E.g. measures the pressure in the vehicle's
fuel tank.
• Part of the vehicle's sealed EVAP
(Evaporative) system
• Input for OBDII (e.g. diagnose of leaks in
the tank system).
144
Tire Pressure Measurement Tire pressure sensor for
direct measurement
• Direct: via sensor element in wheel.
• Indirect: e.g. comparison of wheel
speeds (wheel speed sensor)
145
Flow Sensors – Flowmeters
Calibrated for flow through a pipe with a
symmetrical flow profile.
146
Differential Pressure Flow Meter /
Pressure Drop Equation
The calculation of the pressure drop
across fixed orifice plates is based on two
physical laws:
Continuity equation and Bernoulli’s
equation
a Ring orifice; b Sensor plate; 1 Orifice plate 1 Sensor plate; 2 Air-temperature sensor; 3
𝑨𝑨𝒔𝒔 Disk cross-section; 𝑨𝑨𝟏𝟏,𝟐𝟐 Measuring cross- To control unit; 4 Potentiometer; 5 Damping
section chamber;
𝒑𝒑𝟏𝟏,𝟐𝟐 Measured pressures; Δp Pressure drop 6 Compensation flap; QL Intake-air flow
QLM Air-mass flow
147
Pitot Tube Ultrasonic
Flow measurement via determination of Ultrasonic signals both
dynamic pressure. in flow direction
against flow direction
At stationary fluid, measured time for signal
arrival is the same.
When in movement, difference in signal arrival
time is proportional to flow velocity.
Automotive ECU Development
148
Coriolis Force and Electromagnetic Flow Meter
• Faraday's law of induction.
• Moving conductive liquids
inside of a magnetic field
generates an electromotive
force (voltage).
• Potential difference proportional
to the flow velocity
perpendicular to the flux.
Automotive ECU Development
149
Hot-Wire / Hot-Film Anemometer
• Exemplary Automotive application
Automotive ECU Development
150
Gas and Concentration
• Concentration: ration of mass or volume of a certain material in another
material or mix.
• Ideal case: a sensor is sensitive to only one medium, while “ignoring” all
other mediums.
• In practice: cross sensitivity to other mediums
• even though, as is often the case, “temperature” and “pressure” are
maintained constant.
Applications:
• Oxygen content in the exhaust gas
• CO, NOx
• Air humidity inside the vehicle
• Humidity in the compressed-air brake system
• Dampness of the outside air
• Concentration of soot in diesel-engine exhaust gas
• Urea concentration (SCR)
Automotive ECU Development
151
Gas and Concentration -> Humidity Sensors
Resistive sensors Capacitive sensors
152
Gas and Concentration -> Humidity Sensors
Resistive sensor:
Reduction of R due to water storage (increase of conductivity)
Capacitive sensor:
Increase of C due to increase of εr (relative dielectric constant of water εrW≈ 80)
10.000
1.000
Impedance [kΩ]
100
10
1
10 50 90
Relative Humidity [%RH]
Automotive ECU Development
153
Temperature Sensors
154
Temperature Sensors – NTC Resistors
• An NTC thermistor is a thermally sensitive
resistor whose resistance exhibits a large,
precise and predictable decrease as the core
temperature of the resistor increases over the
operating temperature range.
• Their characteristic curve can be defined as
follows:
Automotive ECU Development
155
Temperature Sensors – PTC Resistors
• A PTC thermistor is a thermally sensitive resistor
whose resistance increases significantly with
temperature.
• The following applies for the computational definition
of these sensors:
Automotive ECU Development
156
Exemplary Resistance Temperature Detector (RTD)
• RTD100 or PT 100 means: 100 Ω at e.g. 0°C.
Automotive ECU Development
157
Thermocouples
• Thermocouples are used in particular for measuring
ranges ≥ 1,000 °C
• They rely on the Seebeck effect.
• Both free ends of the thermoelement configuration are
at the same (reference) temperature.
• The sensor signals are usually small
• In order to increase the measurement voltage, it is
common practice to connect a number of identical
thermocouples in series.
copper
constantan
158
Semiconductor Depletion Layers
• Presuming a constant current, the forward voltage of semiconductor depletion layers
such as those in diodes and in the basis-emitter path of a transistor, demonstrate
very good linearity as a function of temperature:
Automotive ECU Development
159
Non-Contacting Temperature Measurements
• Non-contacting (pyrometric) temperature sensing
160
Pros & Cons of the Methods
Thermocouple RTD Thermistor I.C. Sensor
Criteria: Sensor
behavior (e.g. linearity),
• Self-powered • Most stable • High output • Most linear accuracy, sensitivity,
• Simple • Most accurate • Fast • Highest output
space requirements,
Pros
161
Object Detection – ADAS functions
SAE / VDA – Levels of Autonomous Driving
162
ADAS Sensors
• Vision systems
• Long Range- & Midrange-Radar, Laser scanner, 3D Video camera, Top view cameras, Ultrasonic sensors,
Infrared (Night view) …
• On-Board Sensors
• e.g. ESP: Lateral acceleration sensors, Wheel speed, Yaw rate, Steering angle, Brake system pressure
sensor; … , Ambient temperature, Air pressure, Rain sensor, ...
• Further sensors / Information sources
• Digital maps & GPS, Car2Car, Car2Infrastructure, Car2Home, …
Ultrasonic
Night viev
Automotive ECU Development
163
UBER Self-Driving Car Technologies
Automotive ECU Development
164
Waymo Driver Technologies
Automotive ECU Development
165
Waymo Driver Technologies
166
Waymo Driver Technologies
Roof unit:
360° Lidar
360° cameras
Long range
cameras
2 Radars
Front unit:
Perimeter
Lidar,
cameras
Rear side
units:
Radar,
perimeter
Lidar,
cameras
Automotive ECU Development
167
Park Distance Sensor
1. Decoupling element
2. Membrane
3. Plug
4. Sensor housing
5. El. circuit
6. Piezo-ceramics
7. Ultrasonic wave
8. Object
Automotive ECU Development
168
Park Distance Sensor
Combined transmitting/
receiving operation
Sensor transmits and
receives signal.
Receiving operation:
Trilateration
Sensor receives signal
from other ultrasonic
sensors. Tesla invented a way to project
ultrasound through metal,
Calculation of minimal
allowing them to hide these
distance to object (in
sensors all over their cars, to
external central control
maintain vehicle aesthetics.
unit).
Automotive ECU Development
169
Radio Detecting And Ranging (RADAR)
• Radio frequency: 30 Hz → 300 GHz
• Frequency Modulated Continuous Wave (FMCW).
• Radio-frequency (rf) energy is transmitted to and
reflected from the reflecting object.
• A small portion of the reflected energy returns to
the radar set. This returned energy is called an
ECHO, just as it is in sound terminology. Radar
sets use the echo to determine the direction and
distance of the reflecting object.
• Applicable e.g. for collision avoidance.
• In today’s vehicle safety systems, radars are used
in conjunction with cameras, ultrasound and other
sensors to obtain information about a vehicle’s
surroundings.
• Using high-level processing technology to facilitate
the fusion of this sensor data can lead to improved
object identification and decision-making.
Automotive ECU Development
170
Radio Detecting And Ranging (RADAR)
Short-range radars(SSR) Long-range and Full-range radars
They work with low ranges and high aperture They cover longer distances (up to approx. 820 feet or 250
angles (up to approx. 330 feet or 100 meters). This meters) and offer information that the emergency braking
type of radar sensor is installed as a corner radar system and / or adaptive cruise control (ACC) needed.
in the bumper ends. The lane-change warning,
lane-change assist, and intersection assistant all
require them.
Automotive ECU Development
171
What Does a RADAR See?
Automotive ECU Development
172
What Does a RADAR See?
Automotive ECU Development
173
LIDAR Sensors
• A LIDAR (Light Detection and Ranging)
system is based on the Time of Flight (ToF)
method.
• ToF is used to determine the time that a
laser pulse needs to overcome a certain
distance in a particular medium.
• In the automotive sector, laser pulses with
a length of 3 to 20 nanoseconds are used
for the ToF method
• The shorter laser pulses provide a better
accuracy. LIDAR sensors in the automotive
industry can reliably detect objects within
ranges of up to 300 meters.
Automotive ECU Development
174
Inside a LIDAR
• Laser diode emits laser pulses.
• Rotating mirror deviates laser
pulses to target coordinates and
creates a fan of laser light around
the sensor.
• Any object that comes within this
range reflects the laser light back
to the sensor, hitting the mirror.
• Photo diode receives the
reflected laser beam and
converts the light into an
electrical current. Inside a photo diode:
• ToF-method: Distance is
calculated based on how long the
light takes to bounce back to the
sensor.
Automotive ECU Development
175
Pros & Cons – Inductive Speed Sensor
Speed of light is constant and known -> independent No colors detectable. But could be addressed with
from medium. data fusion from cameras (again issue: night?)
High accuracy (dependent on actual resolution). Costs.
More insensitive to environmental conditions (e.g.
Energy consumption.
dust, fog, snow).
Relatively high data acquisition (10 to 20 MByte/s) ->
Usable at night.
effort in data management.
Level of detail depends on number of laser pulses per time: Low impact from environmental conditions
Automotive ECU Development
176
What Does a LIDAR Sensor See?
Automotive ECU Development
177
Principles of Path Planning and Motion
1. Virtual recording of the environment
Creation of 2d grid map of the environment.
Map is a grid with a probability for a cell being free or a part of a (permanent) structure.
2. Localizing the vehicle in the map
Information of the ego-motion from the vehicle with actual measurements from the
laser scanner.
3. Global path planning
Automatically planning a collision-free path from the actual position to a given goal.
Done by searching for a sequence of short motions (e.g. different normal Ackermann
arc segments) that do not collide with any obstacles in the map.
No consideration of dynamic obstacles (e.g. pedestrians) so far.
4. Local planning
Also takes into account the actual measurements of the lidar sensors in order to be
able to react to dynamic obstacles.
Executes the path, finding a collision free motion command for the next timestep,
respecting actual dynamics.
In order to avoid dynamic obstacle collision, the planner is allowed to deviate from the
path within defined boundaries.
Automotive ECU Development
178
Automotive Cameras
• Cameras are the most precise mechanism
available to capture accurate data at high
resolution.
• Collect the highest amount of information in
relation to e.g. RADAR, LIDAR, or Ultrasonic
Distance, colours, shape, …
• Many of ADAS applications can be implemented
by using a vision system with forward, rear, and
side mounted cameras for pedestrian detection,
traffic-sign recognition, blind spots, and lane-
detect systems.
• Key sensor to achieve a reliable environment
perception for ADAS functions
• Standard equipment in several middle- and high- Deep information?
class vehicles and support several Level-2 and
Level-3 ADAS functionalities
• Cameras are passive sensors
Automotive ECU Development
179
Automotive Cameras
A typical sequence where the host vehicle decelerates to
keep a safe headway distance from the detected vehicle.
The detected target vehicle (the truck) is marked by a
white rectangle. As the distance to the target vehicle
decreases the size of the target vehicle in the image
increases.
180
Distance Detection Using Cameras
Distance detection methods:
• Active methods
• Passive methods
181
Automotive Cameras
182
What Do Automotive Cameras See?
Automotive ECU Development
183
Biometric Sensors
• A biometric sensor is a transducer that changes a biometric treat
of a person into an electrical signal. Treats mainly include
biometric fingerprint reader, iris, face, voice…
• Reads or measures light, temperature, speed, electrical capacity
and other types of energies. Biometric sensors are an essential
feature of identity technology
Ambient light sensor
• determines how much light is available in the area surrounding
the iPhone (for Facial recognition ideal)
Proximity sensor
• determines how close the iPhone is to (your) face
Fingerprint Recognition
• Includes taking a fingerprint image of a person and records its
features
• Optical sensor works by shining a bright light over fingerprint
and taking what is effectively a digital photograph
• Capacitive sensor measures finger electrically
• There are varying distances between each part of finger
and the surface below
• A capacitive scanner builds up a picture of fingerprint by
measuring these distances
Automotive ECU Development
184
Touch Screen
• Direct manipulation type gesture-based technology
• Electronic visual display capable of detecting and locating a touch over its
display area
• Touch screen is a 2-dimensional sensing device made of 2 sheets of
material separated by spacers
• The sensor generally has an electric current or signal going through it and
touching the screen causes a voltage or signal change
• A touch screen sensor is a clear glass panel with a touch responsive
surface which is placed over a display screen
• There are two main touch screen technologies:
1. Resistive Resistive Capacitive
1. composed of a flexible top layer made of polythene and a rigid
bottom layer made of glass separated by insulating dots, attached to
a touch screen controller
2. more affordable but offering only 75% of light monitor and the layer
can be damaged by sharp objects
2. Capacitive
1. coated with a material that stores electrical charges
2. can transmit up to 90% of light from the monitor
Automotive ECU Development
185
Motion Sensor
• Motion sensor is a device that notices moving objects,
mainly people
• The main principle of motion sensor is to sense a burglar
and send an alert to control panel, which gives an alert to
monitoring center
• Types of Motion Sensors:
Passive Infrared (PIR) Sensor
Includes a thin Pyroelectric film material, that responds to IR radiation by
emitting electricity
Activates burglar alarm whenever this influx of electricity takes place
PIR Sensors are economical, don’t use more energy and last forever
Ultrasonic Sensor
Microwave Sensor
Generates microwave pulses and then calculate their reflection off of
objects, in order to know whether objects are moving or not
Microwave sensors are very sensitive, but sometimes they can see
through non-metallic objects and thus can detect moving objects outside
the target range / area.
Automotive ECU Development
186
Why do we Need Actuators?
• As part of a control system
• To take influence on a process or system
• To convert a weak electric signal, e.g. from a digital or integrated control
circuit, into powerful action.
187
Categorization of Actuators
According to their main power source According to their response to a
Pneumatic – air/gas pressure varying input signal
Hydraulic – oil/fluid pressure
Electric – electric power 140
Piezo-Electric – electric charge Proportional
120 Steps
Electro-Magnetic – electric power, Digital
188
Categorization of Actuators
According to their operating According to their direction of
degree of freedom actuation
• Rotational actuators • One-way or “single” acting
• Transversal actuators • two-way acting “double” acting
• Complex actuators (e.g. push/pull operation, CW and CCW)
Examples:
• For direct: A relays or an electric motor
activated by a switch
• For indirect: Hydraulic actuator controlled by
electrically controlled valve
Automotive ECU Development
189
Examples of Actuators Currently in Use
Chassis Power Train
Automotive ECU Development
190
Examples of Actuators Currently in Use
Find the
actuators
Automotive ECU Development
191
Contents – CU Driven Actuators
Automotive ECU Development
192
Contents – CU Driven Actuators
Automotive ECU Development
193
Heaters – Basics
Conversion of electric energy into thermal energy Seat heating
𝑊𝑊𝑒𝑒 = 𝑊𝑊𝑄𝑄 ca. 100W
𝑐𝑐 … 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐
𝑊𝑊𝑒𝑒 = 𝑈𝑈 � 𝐼𝐼 � Δ𝑡𝑡 = 𝑐𝑐 � 𝑚𝑚 � Δ𝑇𝑇 𝑚𝑚 … 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚
t … time
𝑇𝑇 … 𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇 Steering wheel
Power equivalence heating ca. 50W
𝑃𝑃𝑒𝑒 = 𝑃𝑃𝑄𝑄
𝑃𝑃𝑒𝑒 = 𝑈𝑈 � 𝐼𝐼 = 𝑐𝑐 � 𝑚𝑚 � Δ𝑇𝑇/Δ𝑡𝑡 = 𝑃𝑃𝑄𝑄 Rear defrost
ca. 200W
For heaters with constant ohmic resistance Rheater over temperature
(temperature coefficient) or when ΔT is rather small:
𝑈𝑈 2 Overall heating
𝑃𝑃𝑒𝑒 = = 𝐼𝐼 2 � 𝑅𝑅ℎ𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 ca. 1-3kW
𝑅𝑅ℎ𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒
Automotive ECU Development
194
Heaters – Fields of Application
195
Heaters – Fields of Application
Automotive ECU Development
196
Heaters – Fields of Application
Expansion Thermostat
Wax
element
Lifting pin
Heating resistor
197
Heaters – SMA Shape Memory Alloys
Timeline of Memory Metals
• 1932 - A. Ölander discovers the pseudo elastic properties of Au-Cd alloy.
• 1949 - Memory effect of Au-Cd reported by Kurdjumov & Kandros.
• 1967 – At Naval Ordance Laboratory, Beuhler discovers shape memory effect in nickel titanium
alloy, Nitinol, which proved to be a major breakthrough in the field of shape memory alloys.
• 1970-1980 – First reports of nickel-titanium implants being used in medical applications.
• Mid-1990s – Memory metals start to become widespread in medicine and soon move to other
applications.
Transformation Transformation
Alloy Hysteresis (°C)
Composition Temperature Range (°C)
Ni-Al 36-38% Al -180 to +100 Ca. 10
Ni-Ti 49-51% Ni -50 to +110 Ca. 30
Automotive ECU Development
198
Heaters – SMA Shape Memory Alloys
Material behaviour in micro-size
Automotive ECU Development
199
Existing and Potential Automotive SMA Applications
Videos
Automotive ECU Development
200
Existing and Potential Automotive SMA Applications
The schematic of NiTi (Left) Scanning electron micrograph of a NiTi Magnetic microgripper (a)
microvalve in (a) close micro-gripper (Right) (1) The sketch of the schematic of the body,
position, (b) open operational mode (2) Thermo-mechanically (b) Gripping a micro-object
position cycle (3) The working principle due to heating by the micro-tip
/ cooling
Automotive ECU Development
201
Existing and Potential Automotive SMA Applications
202
Existing and Potential Automotive SMA Applications
Videos
Automotive ECU Development
203
Pros & Cons – SMAs
204
Contents – CU Driven Actuators
Automotive ECU Development
205
Pyro Actuator
Characteristics:
• Ideal for safety device
• Fast actuation
• One time use
• Gas generators or Initializer
for gas generation
206
Pyro Actuator - Applications
Pyro actuators as gas generator for safety
device - Airbag
• Two stage operation
• Limitation on shock and noise
Automotive ECU Development
207
Pyro Actuator - Applications
Seatbelt tensioner:
• Fast reaction
• One time use
• Design compromise :
• Tensioning the seatbelt quickly
to securely lock the belts
ratchet but smoothly enough
not to harm the person
Automotive ECU Development
208
Pyro Actuator – Application Piston Actuator
Automotive ECU Development
209
Pyro Actuator – Application Piston Actuator
The Mercedes-Benz SLS has explosive
bolts that separates the doors from the
car for easy exit during a serious
accident.
Automotive ECU Development
210
Contents – CU Driven Actuators
Automotive ECU Development
211
Piezo Actuator
The piezoelectric effect was discovered by Jacques and
Pierre Curie in 1880.
212
Piezo Actuator
direct piezoelectric effect converse piezoelectric effect
213
Piezo Actuator – Characteristics of Piezoelectric Material
Automotive ECU Development
214
Piezo Actuator – Actuators for Quasi-Static Applications
Benders
Displacement up to mm
range
Amplified actuators
Force
215
How to Select an Quasi-Static Actuator
Displacement
Force
Automotive ECU Development
216
Piezo Actuator – Automotive Applications
Diesel Injector
Requirements
Piezo actuator
• Small stroke – high precision module
217
Piezo Actuator – Automotive Applications
Knock
sensor
Automotive ECU Development
218
Contents – CU Driven Actuators
Automotive ECU Development
219
Relay – Pros & Cons
Separation of different kinds of circuits LV/HV, Electrical contacts are subject to wear
DC/AC
May require additional electrical components,
High and low side application (comp. transistor)
e.g. for induction spark suppression
Great power (voltage and / or current)
amplification in one stage EMC issues may require shielding
Are found in DC and AC systems
Robust
Automotive ECU Development
220
Relay – Contact Configurations
E.g. usage of two SPDT:
2 bit digital input to change polarity /
direction of motion of a DC motor
221
Solenoids and Linear Electromagnets
Solenoids are electro-magnetic
actuators
They…
• are the widest used type of actuators
• serve as direct actuators or as trigger
for indirect actuation
• enable the electric control of actuators
of other categories
222
Solenoids and Linear Electromagnets Video
bearing
coil carrier
Automotive ECU Development
223
Solenoids and Linear Electromagnets
224
Solenoids – Force-Stroke-Diagram
Automotive ECU Development
225
MSMA – Magnetic Shape Memory Alloy Video
magnetic
(electro magnet)
• Reset / compressed by
mechanical force (preloaded
by spring)
compression
magnetic
Automotive ECU Development
226
Contents – CU Driven Actuators
Automotive ECU Development
227
Electric Motors
• Basics of Electro-Motion
228
Electric Motors – Operating Principle of Electric Machines
𝑰𝑰 ∗ 𝑵𝑵
𝑩𝑩 = µ𝟎𝟎 𝑭𝑭 = 𝑰𝑰 × 𝑩𝑩 × 𝑳𝑳
𝒍𝒍
Automotive ECU Development
229
Electric Motors – Operating Principle of Electric Machines
AC Generator
Automotive ECU Development
230
Electric Motors – Parts of a PM DC Motor
Automotive ECU Development
231
Electric Motors – Working Principle Video
Automotive ECU Development
232
Electric Motors – DC Machine Characteristics
Shunt Excited Shunt Excited
Series Exited Series Exited
Compound Excited Compound Excited
Torque
Speed
233
Electric Motors – Series Motors
Series Motors
The series DC motors are used where high starting torque is required, and variations in speed are possible.
E.g. the series motors are used in Traction system, Cranes, air compressors, Vacuum Cleaner, Sewing machine, etc.
234
Electric Motors – Series Motors
Automotive ECU Development
235
Electric Motors – Series Motors
Car cooling fan Car windscreen wipers
236
Electric Motors – Externally or PM Excited Motors
Externally Excited or Permanent Magnet Excited Motors
The externally excited motor offers an additional degree of freedom as the field can be controlled to influence the
motor characteristics. Big machines were ones used as locomotive drives.
The PM excited is/was the widest spread electric motor for small alliances such as fans, toys, servos, … as it is
cheap. They offer easy speed control just by the supplied voltage.
Automotive ECU Development
237
Electric Motors – Externally or PM Excited Motors
speed
torque
Automotive ECU Development
238
Electric Motors – Applications of PM Excited Motors
Automotive ECU Development
239
Electric Motors – Shunt Motors
Shunt Motors
The shunt motors are used where constant speed is required and starting conditions are not severe. The
various applications of DC shunt motor are in Lathe Machines, Centrifugal Pumps, Fans, Blowers, Conveyors,
Lifts, Weaving Machine, Spinning machines, etc.
Automotive ECU Development
240
Electric Motors – Compound Motors
Compound Motors
The compound motors are used where higher starting torque and fairly constant speed is required. The
examples of usage of compound motors are in Presses, Shears, Conveyors, Elevators, Rolling Mills, Heavy
Planners, etc.
Automotive ECU Development
241
Electric Motors – Losses
Transition to Brushless
DC Motors (BLDC)
Automotive ECU Development
242
Contents – CU Driven Actuators
Automotive ECU Development
243
Electric Motors – BLDC
Outer rotor type Inner rotor type
+ Easy to obtain large torque. + The rotor is small and can respond quickly.
+ Speed is stable during constant rotation. + The coil is located on the outside and the level of
− The rotor is large. hear dissipation is high.
− Requires appropriate safety measures. − Magnets can be damaged by centrifugal forces.
Automotive ECU Development
244
Electric Motors – BLDC
Automotive ECU Development
245
BLDC – Control of the Sense of Rotation
I DC
ω
VDC T
246
Inside a BLDC
A BLDC-Motor:
• consists of a controller, an inverter and an AC-Motor
• is consequently a 3 phase AC-Motor supplied by DC
Automotive ECU Development
247
BLDC vs. PM DC
Automotive ECU Development
248
BLDC – Pros and Cons
PRO CONS
Brushless no brush friction no self commutation
no wear, less maintenance
lower mechanical losses
249
BLDC Control
Input:
• Typically torque, speed, position and/or direction
• Inputs can be analog voltage, potentiometer, switches
or digital communications (serial, CAN, LIN,…)
Feedback:
• Hall effect sensors, optical encoder or back-EMF voltage
Automotive ECU Development
250
BLDC Control
Six Step Commutation is used for BLDC Motors (concentrated windings)
• Requires “rough” knowledge about the rotor position
(sensor or sensor less)
• Drives current into only two windings at any one time
• Use PWM to control drive circuitry
251
BLDC Control
Automotive ECU Development
252
BLDC Control – Six-step or Block Commutation Video
Automotive ECU Development
253
BLDC Control – Sin-Wave Commutation
Speed control by
Automotive ECU Development
254
BLDC Control – Sin-Wave Commutation
Automotive ECU Development
255
BLDC Control – Automotive Application
Traction motor/generator in
hybrid powertrains
Accessories – electrification for
increased efficiency /performance
electric
water pump
electric
turbo
charger
Automotive ECU Development
256
BLDC Control – Automotive Application
Automotive ECU Development
257
Stepper Motors Ideal for positioning task due to
deterministic step size
No position feedback required
But position calibration necessary
Consume current in stand still (holding
torque)
Resolution is given by design but can be
refined by control method (full/half/micro
step)
Stepper motors offer special features
• Datasheet study
• Control of stepper motors (commutation modes /
sequences)
• Type differentiation and their Identification
Automotive ECU Development
258
Stepper Motors
259
Parts of Stepper Motors Video
260
Stepper Motors Switching Sequence
Automotive ECU Development
261
Stepper Motor – Automotive Application
Flap Actuation Motor Location
262
BLDC Control – Automotive Application
Automotive ECU Development
264 Automotive IT
Automotive
IT
Example:
Software applications
Actor
Actor
Real-time operation system
(e.g. Scheduling, interface
driver)
-Program control
-Functional safety
Actor
-Data interfaces Hardware
(Interfaces to sensors, actors)
Chip production:
https://www.youtube.com/watch?v=UvluuAIiA50&feature=youtu.be&t=53
Automotive ECU Development
The number of
transistors in a
dense integrated
circuit doubles
approximately
every two years
(computer power
doubling every 18
months)
Automotive ECU Development
275 Memory
Physical device capable of storing information temporarily or
permanently
Cache (also called CPU memory) stores data so future requests for
that data can be served faster (much faster than regular RAM)
Read Only Memory (ROM):
Non-volatile memory
Cannot be written on or erased without special equipment
Start-up instructions (BIOS) are loaded at factory
Random Access Memory (RAM):
Volatile memory
Hold: Software instructions and data
before & after the CPU processes it
Automotive ECU Development
276 Memory
PROM:
EPROM
Programmable- Read- Only- EEPROM
Memory
User can program it electrically once
EPROM:
Erasable- Programmable- ROM
User can program and erase it via
UV-light
EEPROM (E2PROM):
Electrically erasable PROM
Possibility to erase it electrically (no
UV-light)
Automotive ECU Development
etc.)
RAM is much faster than flash, but it
is more expensive and requires
constant power
Automotive ECU Development
?
Automotive ECU Development
Prototyping Layout
Testing
Automotive ECU Development
Hardware samples:
after the project start, hardware samples are built
the samples can be assigned to four categories as preliminary stages of the series
ECU, where each sample category builds on the previous one (A-, B-, C- & D-
Sample)
Automotive ECU Development
292 Automotive IT
Automotive
IT
294
Costs and Data Rates of Automotive Bus Systems
Automotive ECU Development
Termina Trans-
mission Ring
-ting
resistor line
Each controller on the bus receives the message and decides on the basis of the message
identifier, whether to processes or ignore the message
Each controller can send a message as soon as the bus is free for at least 3 bit times. The message
identifier not only features the content of a message but also its priority. If there is a collision, the
message with the higher priority “wins” - Carrier Sense Multiple Access/Collision Resolution
(CSMA/CR)
If, however, the bus is currently busy or if there is a another message with a
higher priority ready for transmission, the message has to wait until the
bus is free
Automotive ECU Development
313
Automotive ECU Development
314 Automotive IT
Automotive
IT
317 Algorithm
An algorithm is a step-by-step
set of rules to be followed in
problem-solving operations
318 SW Programming
Is a process that leads from an original formulation of
a computing problem to executable computer programs
Automotive ECU Development
(1) (2)
(2)
Syntax:
Automotive ECU Development
unsigned int
same as int → stores a 2 byte value
only store positive values, yielding
a useful range of 0 to 65,535 ((2^16) Unsigned int variable declaration
- 1)
Automotive ECU Development
byte
stores an 8-bit unsigned number, from 0
to 255 Byte variable declaration
char
a data type that takes up 1 byte of
memory and stores a character value
character literals are written in single
quotes like ’A’ Storing characters
Automotive ECU Development
327 Arrays
an array is a collection of variables which share the
same data type
328 Arrays
rules for declaring an array:
data type can be any valid data type such as int, float, char, …
name of an array must follow naming rules of variables
size of the array must be zero or a constant positive integer
329 String
is a sequence of characters (char)
a string can be defined as an array of characters, which is terminated
by a null byte ('\0') - e.g. declare a string with a length of 50 characters
330 Operators
Logical operators:
an expression containing
a logical operator returns
either 0 or 1, depending
on whether the
expression is true or
false (boolean
operators)
logical operators are
commonly used in
programming in
decision making
Automotive ECU Development
331 Operators
Examples with logical operators:
Distance
Button input
sensor input
Automotive ECU Development
332 Operators
Arithmetic operators:
C supports common
arithmetic operators such
as +, -, *, / and modulus
operator %
modulus operator (%)
returns the remainder of
integer division calculation
Automotive ECU Development
333 Operators
Relational operators:
two expressions can be compared using relational and equality
operators
the result of such an operation is either true or false (1 or 0)
relational operators are crucial for control structures, since each loop
and if-statement must check whether a condition is fulfilled in order to
enter the control structure body
Automotive ECU Development
334 Comments
a comment is a set of characters that is used to document the code to
make the code easier to understand and maintain in the future
it starts with a combination of a forward slash and an asterisk (/*)
and ends with (*/) or double forward slash (//) for inline comment
all comments in the program are ignored by the compiler
Automotive ECU Development
Conditional constructs
if - statement
switch/case – statement
Loops
count-controlled (for)
condition-controlled (while)
Automotive ECU Development
336 If Statements
the if statement allows to control the flow of our program, letting it make decisions on
what code to execute
mostly used in conjunction with a comparison operator (==, !=, <, >,
>=, <= )
to have more than one statement execute after an if statement that evaluates to true, use
braces
.
Automotive ECU Development
337 If Statements
the else statement effectively says that any code after it (whether a single line or
code between brackets) will be executed if the if statement is FALSE
another use of else is when there are multiple conditional statements that may all
evaluate to true, yet we want only one if statement's body to execute
for that we can use the else if statement following an if statement and its body
Automotive ECU Development
three expressions separated by semicolons in the control block of the for loop:
initialization_expression - expression executes when the loop first
starts. It is typically used to initialize a loop counter variable
loop_condition - expression is evaluated at the beginning of each iteration. The execution of the
loop continues until the loop_condition evaluates to false
increment_expression - expression is evaluated at the end of each iteration. It is used to increase
or decrease the loop counter variable
Automotive ECU Development
Integer: %d
Char: %c
Float. %f
Unsigned integer: %u
SCIENCE
PASSION
TECHNOLOGY