Professional Documents
Culture Documents
Section 1 Topics
Technical Training 5
673 Electronic & Computer Controlled Systems Technician Handbook
Electronic In the 1970’s, the decreasing cost and increasing power of computerized
Control Units microprocessors launched the personal computer industry. Because of their
speed and flexibility in carrying out complex functions, microprocessors were
adapted for hundreds of uses beyond personal computers.
The first microprocessors began appearing in automotive engine control
systems in the early 1980s. In automotive applications, they became known
as electronic control units (ECUs). Today, some vehicles may have
dozens of ECUs controlling a wide variety of vehicle systems, including:
• engine controls
• transmission
• braking
• steering
• air conditioning
• door locks
• suspension
• cruise control
• tire pressure monitoring
• and many other systems.
6 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
Light Control SW
Headlights
Light Control Body ECU
Sensor
Taillights
IF
Light control switch is in the AUTO position
Conditions
and
Light control sensor detects LOW ambient light
and
Ignition switch is ON
Decision
THEN
Turn headlights ON
Turn taillights ON
Logic Function For an example of the ECU’s logic function, consider the lighting control
system which is within the Body ECU. A simple lighting control system uses
three inputs – the light control switch, the light control sensor, and the ignition
switch.
When the condition of these three inputs matches the conditions
preprogrammed in the ECU, the ECU turns on the headlights and taillights.
Technical Training 7
673 Electronic & Computer Controlled Systems Technician Handbook
Combination Active
Switch Speed MRE A
Sensor IC
MRE B
Sensor
Variable Voltage
Variable Resistance
Exhaust Gas
Simple ECU Signals from switches and sensors can supply information to the ECU in
Inputs several ways.
Voltage ON/OFF – A simple switch opens or closes a circuit. It is the
presence or absence of voltage in the circuit that signals the ECU.
Variable Voltage – Some sensors produce a voltage that changes
depending on the conditions the sensor is measuring. The amount of voltage
produced at any given moment provides information about the condition at
that time.
Variable Resistance – In other types of sensors, electrical resistance
increases or decreases as external conditions change. Sensing the changing
voltage as a result of changing resistance in the circuit signals the ECU what
the conditions are.
Variable Pulse Pattern – Another method for signaling the ECU about
changing conditions is to turn a circuit on and off rapidly at a particular
frequency. This works especially well for signaling rotational speed. It is the
frequency of the ON/OFF pulses that supplies information to the ECU.
8 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
ECU * ECU *
0V 12.6v 5V 0.1v
12.6V 12.6V
Ground-side
switched
Voltage can also be measured
at the ECU terminal.
* Conceptual illustration only
Voltage ON/OFF The diagrams above illustrate a ground-side switch connected to an ECU.
(Switch) Input The ECU supplies battery voltage to the switch circuit and provides the
circuit’s load (a resistor). The ECU’s electronic circuits detect when the
voltage after the load is high (near battery voltage) or low (near ground
voltage).
While the switch is open, no current is flowing and the available voltage after
the load is near battery voltage. When the switch is closed, current flows and
most of the battery voltage is dropped across the load. The available voltage
after the load is now near ground voltage.
In this example, the switch controls a lamp, but is not actually part of the lamp
circuit. When the ECU senses a voltage drop in the switch circuit, it supplies
five volts to the transistor. This in turn closes the lamp circuit, lighting the
lamp.
SERVICE TIP You can detect the same high or low voltage the ECU is detecting by
measuring voltage at the appropriate ECU terminal. If the switch is closed
and the voltage remains high, you’ll know there is an open in the circuit
between the ECU and the switch.
NOTE The actual wiring inside the ECU is extremely complex. The ECU circuit
details shown in the diagrams above and the diagrams on the following
pages are to illustrate concepts, not actual internal connections.
Technical Training 9
673 Electronic & Computer Controlled Systems Technician Handbook
Atmosphere
ECM
Exhaust Gas
Variable Voltage An oxygen sensor is a voltage generator, producing between 0.1v and 0.9v
Input depending on the oxygen content of the exhaust gas compared to the
atmosphere.
The engine control module’s electronic circuits measure the amount of
voltage generated by the oxygen sensor, and use that information to control
the air-fuel ratio.
10 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
12.6V or 5V
An ECU can detect the change
V in the sensor’s resistance by
measuring voltage.
ECU
Technical Training 11
673 Electronic & Computer Controlled Systems Technician Handbook
MRE B
Sensor IC
As rotation speed increases, pulses
are generated at a higher frequency.
The ECU measures the pulse frequency
to calculate vehicle speed.
Voltage Voltage
Time Time
Pulse Pattern Another type of ECU input is a pulse pattern. When voltage rises
Input momentarily, then falls, the transient voltage reading is called a pulse. When
a component creates multiple pulses, the result is a pulse pattern (or pulse
train).
An active wheel speed sensor is a component that generates a pulse pattern.
A magnetic ring mounted on the wheel hub has alternating north-south fields
that are detected by the sensor pickup. As the wheel rotates, the alternating
magnetic fields are converted into a series of voltage pulses. The frequency
of the pulses increases with the wheel rotation speed.
When the pulse pattern is provided as ECU input, the ECU’s circuits are able
to measure the pulse frequency and calculate wheel RPM and vehicle
speed.
12 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
ECU
NPN
B+
How a Transistor Works (NPN)
Transistor 5V
Collector
When voltage
Ground-side controlled circuit is applied to
the base…
...current can
ECU Base flow from the
collector to
PNP the emitter
B+
Emitter
Simple ECU The simplest way for an ECU to control a vehicle function is to turn a circuit
Outputs on or off. A circuit can be ground-side switched or power-side switched.
Transistors as Electronic circuits use transistors for switching circuits on and off. A
Switches transistor is a solid-state electronic component having a base, collector and
emitter. In the more commonly used NPN transistor, when sufficient voltage
is applied to the base, current flows from the collector to the emitter.
One of the advantages of the transistor is that a low voltage at the base is
able to control a large current flowing through the collector and emitter. In that
respect, a transistor is similar to a relay.
Some transistors also regulate current flow based on the amount of voltage
applied to the base. Within the transistor’s limits, a higher base voltage
results in a greater flow of current through the collector/emitter. This feature
is used in amplifier circuits where the low voltage signal from a microphone
regulates current flow in higher power speaker circuits
Technical Training 13
673 Electronic & Computer Controlled Systems Technician Handbook
Example
Voltage
Pulses The ECM regulates the injector
ON time by regulating the width of
the voltage pulse to the injectors.
Pulse
Width
Notice the pulse width increases at
higher load as the ECM increases
the injector ON time.
Pulse Width An ECU’s electronic circuits have the ability to open and close a circuit very
Modulation rapidly. The ECU can switch a circuit on for a fraction of a second at very
precise intervals.
When a circuit is switched ON and then OFF, the momentary change in voltage
creates a voltage pulse. (The pulse can be either a momentary increase or
decrease in voltage depending on whether the circuit is ground-side switched
or power-side switched and where the voltage is measured.)
When the voltage is viewed on an oscilloscope, the voltage pulse’s width
represents the amount of time the circuit is switched ON and can be as brief as
1 millisecond or less. In some circuits, the ECU uses the amount of ON time to
regulate component operation.
When the ECU varies the width of the voltage pulse (the ON time) to control a
component, the process is called pulse-width modulation.
NOTE In the above example, the frequency of the pulses changes as well as the
pulse width. In some circuits, the frequency of the pulses is constant.
14 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
5V If the percentage of ON
time decreases, the
lamp becomes dimmer.
1 cycle 1 cycle
(100%) (100%)
12 V 12 V
0V 0V
In a ground-side
controlled circuit,
measure after the load.
Duty Cycle The terms pulse-width modulation and duty cycle are often confused or
used incorrectly.
Pulse-width modulation is a function an ECU can perform to turn a circuit on
and off rapidly to regulate the amount of ON time. As the pulse width changes,
the frequency of the pulses might or might not change depending on the circuit
design and intended operation.
When a circuit is switched on and off rapidly at a constant frequency, duty
cycle measures the percentage of ON time compared to total cycle time. If the
circuit is ON 75% of the time, it is operating at a 75% duty cycle. When a circuit
is duty-cycle controlled, the pulse frequency does not change – only the
percentage of ON time.
An ECU varies the duty cycle to control the speed of a motor or the brightness
of a lamp by switching the circuit ON and OFF hundreds of times per second.
Human senses can’t perceive a lamp or motor being cycled on and off that
quickly. Nonetheless, the amount of power to the component increases or
decreases depending on how much of the time the circuit is ON versus OFF.
As OFF time increases, the net power supplied to a component decreases
resulting in the lamp becoming dimmer or the motor running slower. As ON
time increases, power increases and the lamp becomes brighter or the motor
runs faster.
NOTE When the circuit is ground-side controlled, voltage before the load is always
battery voltage, and voltage after the switch is zero, or near zero. To observe
voltage modulation, place the positive probe between the load and the switch
(which may be an ECU).
Technical Training 15
673 Electronic & Computer Controlled Systems Technician Handbook
ECU
B+
If the percentage of ON
time decreases, the
lamp becomes dimmer.
1 cycle 1 cycle
(100%) (100%)
In a power-side
controlled circuit,
measure before the load.
Power-Side Most circuits in Toyota vehicles are ground-side controlled. When a pulse-
Control width modulated circuit is power-side controlled, the voltage modulation is
observable after the ECU and before the load. In this arrangement, the
circuit is ON when the voltage rises.
Note that if voltage is measured after the load, a very minute change in
voltage occurs as the circuit is modulated. At this point in the circuit,
voltage is zero when the circuit is open. When the circuit is closed, ground
voltage is present. The difference is usually less than 0.1V and may not be
observable depending on your scope settings.
16 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
Self-Diagnosis
VC 5V
With either a short or an open in
VTA2 the input circuit, voltage at VTA
and VTA2 becomes 0V and the
E2 ECU sets a DTC.
2002 Tundra V8
Differences in Self- An ECU’s self-diagnosis capabilities can range from very simple to highly
Diagnosis sophisticated. Each ECU has its own features and limitations, and very few
work in exactly the same way.
The example above is a throttle position sensor circuit. The electronics inside
the engine control module (ECM) are designed so that an open or a short to
ground on VTA or VTA2 can be detected and a DTC set. The circuit
arrangement inside the ECM is not able to distinguish a short from an open,
however. In either case, the voltage the ECM is monitoring goes to 0V.
Technical Training 17
673 Electronic & Computer Controlled Systems Technician Handbook
Self-Diagnosis
Differences in Self- In this throttle position sensor circuit, the electronics inside the ECM are
Diagnosis (Cont’d) arranged slightly differently. In this arrangement, a short to ground on a VTA
line causes the monitored voltage to go to 0V. An open in a VTA line,
however, causes the monitored voltage to go to 5V.
Thus, this ECM can distinguish between an open or short on an input circuit
and can set a DTC for one or the other. The additional data supplied by the
ECM makes it easier and faster to diagnose and correct the problem.
18 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
ECU Memory
B+ ECU Memory
• DTCs
• Driver preferences RAM
• Vehicle operating characteristics (volatile)
ECU Memory Like other computers, ECUs have internal memory. Besides storing DTCs,
they can also store switch settings and component positions. Over time,
ECUs can acquire and store information about the vehicle’s operating
characteristics and driver/occupant preferences. The data stored in memory
can have a direct affect on how well the vehicle operates and the driver’s
perceptions of comfort and convenience.
Types of ECU Volatile memory chips are the type that require constant power to maintain
Memory what is stored in them. When the power is removed, their memory contents
are erased. These types of memory chips are used for ordinary
microprocessor memory. (RAM for example.)
Non-volatile memory chips retain their contents even when the power is
removed. These types of memory chips permanently store the
microprocessor’s operating instructions, or logic. (ROM for example.)
Programmable Read Only Memory (PROM) – A memory chip that can be
programmed once, but cannot be reprogrammed.
Erasable Programmable Read Only Memory (EPROM) – A programmable
chip that can be removed from its circuit and reprogrammed.
Electrically Erasable Programmable Read Only Memory (EEPROM) – A
programmable chip that can be electrically erased and reprogrammed without
removing it from the circuit.
Technical Training 19
673 Electronic & Computer Controlled Systems Technician Handbook
ECU Customization
ECU Memory
A. Yes
Would you like the interior
C. 30 seconds
Customization No matter how carefully automobile manufacturers analyze the features that
new car buyers want, there will always be those who want a feature to work
differently. ECUs have made it much easier for owners to customize many of
the vehicle’s convenience features to suit their own preferences.
The settings for customizable features are stored in ECU memory. Needless
to say, if the memory is lost then any preferences the owner has chosen are
also lost. Memory can be lost when the ECU loses its connection to the
battery, and also when the ECU is replaced.
SERVICE TIP Before disconnecting the battery, make note of the owner’s customized
settings and restore those settings when service is complete.
NOTE When one driver changes a customized setting without informing other
drivers, another driver may view the change in operation as a malfunction. Be
sure to consider the potential role of customized settings on a customer’s
concern before beginning a problem diagnosis.
20 Technical Training
673 Electronic & Computer Controlled Systems Technician Handbook
ECU Initialization
Examples
• Jumper terminals 4 and 8 of DLC3 • Hold the switch to open the window
• Flash the headlights 3 times • Hold the switch to close the window
• Keep holding the switch until the
switch stops blinking
Completely
Closed
NOTE Before determining an ECU is faulty, first verify that it doesn't just need to be
initialized.
Technical Training 21
673 Electronic & Computer Controlled Systems Technician Handbook
22 Technical Training