RE: What is an Electronic Control Unit? PH Explains

RE: What is an Electronic Control Unit? PH Explains

Tuesday 27th March 2018

What is an Electronic Control Unit? PH Explains

The heart of the combustion engine will always be metal - but its brain has long been made of sensors and actuators



What is an electronic control unit (ECU)?

An electronic control unit is a device responsible for overseeing, regulating and altering the operation of a car's electronic systems.

Each of a car's electronic features, such as an anti-lock braking system or electronic fuel injection setup, will typically be controlled by an ECU. Some systems may have their own ECU, while in other cases one ECU may be responsible for several associated systems.

The term ECU, however, is commonly used when referring to engine management systems - which are often called engine control units. These are responsible for controlling the injection and ignition system of an engine.


How do electronic control units work?

On a very basic level, an ECU is an electronic device fed with several inputs. The data from these inputs is assessed by the ECU and compared against stored on-board data. The ECU then decides what needs to happen to ensure the system in question functions properly and issues new commands to suit. These outputs then alter the operation of the system, delivering the desired effect.

For example, modern electronic fuel injection systems are controlled by ECUs. Data, including temperature, engine speed and accelerator position is fed into the ECU. The ECU then compares the data against on-board tables that tell it what the engine ideally needs, and alters the behaviour of the fuel injectors - and in many cases the ignition system - to deliver the best performance.


Common types of ECU

Engine control module: Also known as an engine control unit. Responsible for assessing the load of the engine and tuning the ignition, fuel delivery and more to deliver optimum performance and economy.

Transmission control module: These control the way, and when, an automatic gearbox shifts. Besides being fed with sensor data from the transmission itself, TCMs may also take data from the engine control unit to deliver more suitable, precise shifts.

Suspension control module: Sometimes dubbed a ride control module and common in active, adjustable or air suspension set-ups. These adjust the suspension to suit the current driving conditions, or work to maintain the correct ride height.

Body control module: This unit is typically responsible for controlling the car's myriad electrical access, comforts and security features. Common features it controls include door locks, electric windows and climate systems.

Telematics control module: Typically offers internet and phone connectivity for the car's on-board services. May also include a GPS receiver for navigation services.


'Standalone' ECUs

Aftermarket engine management systems are often referred to as 'standalone' ECUs. These are often highly customisable set-ups that can be easily adjusted to deliver the best possible engine performance. Their flexibility also allows them to accommodate future engine upgrades with ease.

Read more:

What is an intercooler? PH Explains

What is a drum brake? PH Explains

How does a supercharger work? PH Explains

More from PH Explains...

Author
Discussion

AER

Original Poster:

1,142 posts

270 months

Tuesday 27th March 2018
quotequote all
Can you do a feature on "what are lug nuts" next...?

anonymous-user

54 months

Tuesday 27th March 2018
quotequote all
PH said:
'Standalone' ECUs. These are often highly customisable set-ups that can be easily adjusted to deliver the best possible engine performance.
Splendid.




SuperchargedVR6

3,138 posts

220 months

Tuesday 27th March 2018
quotequote all
AER said:
Can you do a feature on "what are lug nuts" next...?
Good shout. I've often wondered why Americans call a wheel stud, a 'lug'?

stuart-b

3,643 posts

226 months

Tuesday 27th March 2018
quotequote all
You could go into more detail, such as why BMW DME's of the N5X series used mosfets which powered the coils.
And the difference between smart coils and the pencils.
Why the ECU is encrypted and what "remapping" vs "piggybacking" does, think MHD and JB4.
Lots of interesting things in the ECU world to talk about smile

RacerMike

4,198 posts

211 months

Tuesday 27th March 2018
quotequote all
Also worth mentioning that the majority of new cars have a multi CAN or CAN and FlexRay network, which the modules are split into common network groups and managed by a Gateway Module which ties all the signals together from the different networks.

jzakariya

176 posts

118 months

Tuesday 27th March 2018
quotequote all
Somebody write this one up for 4th grade homework?

annodomini2

6,861 posts

251 months

Tuesday 27th March 2018
quotequote all
RacerMike said:
Also worth mentioning that the majority of new cars have a multi CAN or CAN and FlexRay network, which the modules are split into common network groups and managed by a Gateway Module which ties all the signals together from the different networks.
There's also CAN FD, but only the very latest cars have that.

Flexray is typically only used by BMW.


annodomini2

6,861 posts

251 months

Tuesday 27th March 2018
quotequote all
There are lots of other units:

Park Distance Control
Electric Power Steering
Tyre Pressure Monitoring
Door control unit
Battery Management
Gateway(s)
Infotainment
etc
etc

Most modern cars have about 50 ecus as a minimum.

RacerMike

4,198 posts

211 months

Tuesday 27th March 2018
quotequote all
annodomini2 said:
There's also CAN FD, but only the very latest cars have that.

Flexray is typically only used by BMW.
All JLR stuff developed in the last 3 years uses it too. Not heard of CAN FD? Is that just another name for automotive Ethernet?

Stuzza

138 posts

88 months

Tuesday 27th March 2018
quotequote all
RacerMike said:
All JLR stuff developed in the last 3 years uses it too. Not heard of CAN FD? Is that just another name for automotive Ethernet?
Nope... CAN Flexible Data rate.

Normal CAN supports upto 8-bytes of payload (plus header, sync bits, checksums, etc. it all adds up...) at up to 1MBit/s data rate.

The length of the payload is encoded in the DLC field (data length code) of the header and uses 4-bits (1..8). That leaves some spare bits that can be used in a clever way to encode larger payloads for CAN-FD which supports upto 64-bytes (but not all values, there's fixed lengths I can't remember right now).

Additionally CAN-FD supports much faster transmission rates for the payload (but still 1MBIt/s for header and sync stuff for compatibility with normal CAN on the same network) so it can transmit those 64-bytes in the same time as CAN 2.0 takes to transmit an 8-byte payload.

FlexRay is different again... it's a time-driven protocol with reserved slots for ECUs. Totally different to CAN...

Automotive Ethernet is different as well. Going to be much more used in future with the changes in E/E architectures being driven by connectivity and autonomy which both require the potential to handle large data sets within the vehicle.

My Evil Twin

457 posts

133 months

jamoor

14,506 posts

215 months

Wednesday 28th March 2018
quotequote all
Why does it cost more than the latest iphone that has a camera, screen etc.

annodomini2

6,861 posts

251 months

Wednesday 28th March 2018
quotequote all
jamoor said:
Why does it cost more than the latest iphone that has a camera, screen etc.
Combination of factors, mostly markup (i.e. profit).

But additionally, needs to work at wider temperature ranges -55degC - 140 degC for most engine compartment stuff.

Higher vibrational tolerance.

Safety Critical design standards.

Much Stricter Electromagnetic Compatibility requirements.

etc etc

unsprung

5,467 posts

124 months

Thursday 29th March 2018
quotequote all
stuart-b said:
Why the ECU is encrypted and...
Security methods and potential systemic weaknesses are, IMHO, an especially interesting area of enquiry. Grateful to see some of the more detailed explanations here (wish I was able to contribute same!).

It is natural that the rise and increasing dependence / sophistication of onboard computing and networking will bring about a commensurate increase in potential opportunity for bad guys. Or simply for unintended consequences. Especially as we look toward a future with vehicle-to-vehicle and vehicle-to-infrastructure solutions.





shotta287

854 posts

94 months

Thursday 29th March 2018
quotequote all
You should see the size and cost of the aerospace ECUs that I work with..