Notices
Engine & Drivetrain VQ Power and Delivery

How Car Computers Work

Thread Tools
 
Search this Thread
 
Old 02-18-2003, 11:08 AM
  #1  
insaneamine
Inventor
Z-Xtreme.com
Thread Starter
iTrader: (1)
 
insaneamine's Avatar
 
Join Date: Oct 2002
Location: Z-Xtreme.com
Posts: 354
Likes: 0
Received 0 Likes on 0 Posts
Default How Car Computers Work

Here is a great little article taken from HowStuffWorks.com on how a car computers work:

http://computer.howstuffworks.com/car-computer1.htm

Sophisticated Engine Controls

Before emissions laws were enacted, it was possible to build a car engine without microprocessors. With the enactment of increasingly stricter emissions laws, sophisticated control schemes were needed to regulate the air/fuel mixture so that the catalytic converter could remove a lot of the pollution from the exhaust. (See How Catalytic Converters Work for more details.)

Controlling the engine is the most processor-intensive job on your car, and the engine control unit (ECU) is the most powerful computer on most cars. The ECU uses closed-loop control, a control scheme that monitors outputs of a system to control the inputs to a system, managing the emissions and fuel economy of the engine (as well as a host of other parameters). Gathering data from dozens of different sensors, the ECU knows everything from the coolant temperature to the amount of oxygen in the exhaust. With this data, it performs millions of calculations each second, including looking up values in tables, calculating the results of long equations to decide on the best spark timing and determining how long the fuel injector is open. The ECU does all of this to ensure the lowest emissions and best mileage. See How Fuel Injection Systems Work for a lot more detail on what the ECU does.

A modern ECU might contain a 32-bit, 40-MHz processor. This may not sound fast compared to the 500- to 1,000-MHz processor you probably have in your PC, but remember that the processor in your car is running much more efficient code than the one in your PC. The code in an average ECU takes up less than 1 megabyte (MB) of memory. By comparison, you probably have at least 2 gigabytes (GB) of programs on your computer -- that's 2,000 times the amount in an ECU.

The processor is packaged in a module with hundreds of other components on a multi-layer circuit board. Some of the other components in the ECU that support the processor are:

Analog-to-digital converters - These devices read the outputs of some of the sensors in the car, such as the oxygen sensor. The output of an oxygen sensor is an analog voltage, usually between 0 and 1.1 volts (V). The processor only understands digital numbers, so the analog-to-digital converter changes this voltage into a 10-bit digital number.

High-level digital outputs - On many modern cars, the ECU fires the spark plugs, opens and closes the fuel injectors and turns the cooling fan on and off. All of these tasks require digital outputs. A digital output is either on or off -- there is no in-between. For instance, an output for controlling the cooling fan might provide 12 V and 0.5 amps to the fan relay when it is on, and 0 V when it is off. The digital output itself is like a relay. The tiny amount of power that the processor can output energizes the transistor in the digital output, allowing it to supply a much larger amount of power to the cooling fan relay, which in turn provides a still larger amount of power to the cooling fan.

Digital-to-analog converters - Sometimes the ECU has to provide an analog voltage output to drive some engine components. Since the processor on the ECU is a digital device, it needs a component that can convert the digital number into an analog voltage.

Signal conditioners - Sometimes the inputs or outputs need to be adjusted before they are read. For instance, the analog-to-digital converter that reads the voltage from the oxygen sensor might be set up to read a 0- to 5-V signal, but the oxygen sensor outputs a 0- to 1.1-V signal. A signal conditioner is a circuit that adjusts the level of the signals coming in or out. For instance, if we applied a signal conditioner that multiplied the voltage coming from the oxygen sensor by 4, we'd get a 0- to 4.4-V signal, which would allow the analog-to-digital converter to read the voltage more accurately (see How Analog and Digital Recording Works for more details).

Communication chips - These chips implement the various communications standards that are used on cars. There are several standards used, but the one that is starting to dominate in-car communications is called CAN (controller-area networking). This communication standard allows for communication speeds of up to 500 kilobits per second (Kbps). That's a lot faster than older standards. This speed is becoming necessary because some modules communicate data onto the bus hundreds of times per second. The CAN bus communicates using two wires.
Old 02-18-2003, 05:49 PM
  #2  
zogan
Registered User
 
zogan's Avatar
 
Join Date: Nov 2002
Location: Oklahoma City
Posts: 507
Likes: 0
Received 0 Likes on 0 Posts
Default Re: How Car Computers Work

can you paraphraise and put in lamans
Old 02-19-2003, 01:20 AM
  #3  
menehune
Registered User
 
menehune's Avatar
 
Join Date: Nov 2002
Location: hawaii
Posts: 136
Likes: 0
Received 0 Likes on 0 Posts
Default Re: Re: How Car Computers Work

Originally posted by zogan
can you paraphraise and put in lamans
Tuning todays cars isn't only knowing how to wrench. You can spend 10-100G trying to be an engineer or programmer to effectively tune your car on your own, or spend a few G to buy a tuned/tunable ECU.

How's that?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Chris350z03
Maintenance & Repair
38
10-08-2023 07:19 PM
SonnyWu
2003-2009 Nissan 350Z
52
11-24-2015 08:19 PM
davidm350
2003-2009 Nissan 350Z
37
10-31-2015 02:28 PM
RyansZ33
Maintenance & Repair
8
09-15-2015 05:54 AM
Twiztids4
Tuning
4
09-10-2015 04:02 PM



Quick Reply: How Car Computers Work



All times are GMT -8. The time now is 08:13 AM.