Operation CHARM: Car repair manuals for everyone.

Powertrain Control Software

POWERTRAIN CONTROL SOFTWARE

Adaptive Airflow
Some vehicles equipped with electronic throttle control (ETC) have an adaptive airflow strategy that allows the powertrain control module (PCM) to correct for changes in the airflow. During idle, the PCM monitors the throttle angle and air flow. If the air flow is determined to be less than expected, the PCM adjusts the throttle angle to compensate.

The PCM only learns the adaptive airflow when the vehicle is at idle and normal operating temperature and the airflow is less than a calibrated limit. Whenever the battery is disconnected or the keep alive memory (KAM) is reset, it is necessary for the PCM to learn the new value and not use the default value. For additional information on a KAM reset, refer to Diagnostic Methods, Resetting The Keep Alive Memory (KAM). Resetting The Keep Alive Memory (KAM)

Computer Controlled Shutdown
The PCM controls the PCM power relay when the key is turned to the ON or START position, by grounding the PCM relay control (PCMRC) circuit. After the key is turned to the OFF, ACC or LOCK position, the PCM stays powered up until the correct engine shutdown occurs.

The ignition switch position run (ISP-R) and the injector power monitor (INJPWRM) circuits provide the key state input to the PCM. Based on the ISP-R and INJPWRM signals the PCM determines when to power down the PCM power relay.

Engine RPM/Vehicle Speed Limiter
The PCM disables some or all of the fuel injectors whenever an engine RPM or vehicle over speed condition is detected. The purpose of the engine RPM or vehicle speed limiter is to prevent damage to the powertrain. The vehicle exhibits a rough running engine condition, and the PCM stores one of the following continuous memory diagnostic trouble codes (DTCs): P0219, P0297, or P1270. Once the driver reduces the excessive speed, the engine returns to the normal operating mode. No repair is required. However, the technician should clear the DTCs and inform the customer of the reason for the DTC.

Excessive wheel slippage may be caused by sand, gravel, rain, mud, snow, ice, or excessive and sudden increase in RPM while in NEUTRAL or while driving.

Fail-Safe Cooling Strategy

NOTE: Not all vehicles with a cylinder head temperature (CHT) sensor have the fail-safe cooling strategy.

The fail-safe cooling strategy is activated by the PCM only in the event that an overheating condition has been identified. This strategy provides engine temperature control when the cylinder head temperature exceeds certain limits. The cylinder head temperature is measured by the CHT sensor.

A cooling system failure such as low coolant or coolant loss could cause an overheating condition. As a result, damage to major engine components could occur. Along with a CHT sensor, the fail-safe cooling strategy is used to prevent damage by allowing air cooling of the engine. This strategy allows the vehicle to be driven safely for a short time with some loss of performance when a overheat condition exist.

Engine temperature is controlled by varying and alternating the number of disabled fuel injectors. This allows all cylinders to cool. When the fuel injectors are disabled, the respective cylinders work as air pumps, and this air is used to cool the cylinders. The more fuel injectors that are disabled, the cooler the engine runs, but the engine has less power.

A wide open throttle (WOT) delay is incorporated if the CHT temperature is exceeded during WOT operation. At WOT, the injectors function for a limited amount of time allowing the customer to complete a passing maneuver.

Before injectors are disabled, the fail-safe cooling strategy alerts the customer to a cooling system problem by moving the instrument cluster temperature gauge to the hot zone and DTC P1285 is set. Depending on the vehicle, other indicators, such as an audible chime or warning lamp, can be used to alert the customer of fail-safe cooling. If overheating continues, the strategy begins to disable the fuel injectors, DTC P1299 is stored in the PCM memory, and a malfunction indicator lamp (MIL) illuminates. If the overheating condition continues and a critical temperature is reached, all fuel injectors are turned off and the engine is disabled.

Failure Mode Effects Management (FMEM)
The FMEM is an alternate system strategy in the PCM designed to maintain engine operation if one or more sensor inputs fail.

When a sensor input is determined to be out-of-limits by the PCM, an alternative strategy is initiated. The PCM substitutes a fixed value for the incorrect input and continues to monitor the suspect sensor input. If the suspect sensor begins to operate within limits, the PCM returns to the normal engine operational strategy.

All FMEM sensors display a sequence error message on the scan tool. The message may or may not be followed by key on engine off (KOEO) or continuous memory DTCs when attempting key on engine running (KOER) self-test mode.

Flash Electrically Erasable Programmable Read Only Memory (EEPROM)
The flash EEPROM is an integrated circuit within the PCM. This integrated circuit contains the software code required by the PCM to control the powertrain. One feature of the EEPROM is that it can be electrically erased and then reprogrammed through the data link connector (DLC) without removing the PCM from the vehicle.

Fuel Trim

Short Term Fuel Trim
Included in these messages is diagnostic data that is outputted over the CAN + and CAN - lines to the DLC. PCM connection to the DLC is typically done with a 2-wire, twisted pair cable used for the network interconnection. The diagnostic data such as self-test or PIDs can be accessed with a scan tool. For additional information on scan tool equipment, refer to Diagnostic Methods.

Idle Air Trim


Idle Air Trim Learning Modes:






Idle air trim is designed to adjust the idle air control (IAC) calibration to correct for wear and aging of components. When the engine conditions meet the learning requirement, the strategy monitors the engine and determines the values required for ideal idle calibration. The idle air trim values are stored in a table for reference. This table is used by the PCM as a correction factor when controlling the idle speed. The table is stored in the KAM and retains the learned values even after the engine is shut off. A DTC is set if the idle air trim has reached its learning limits.

Whenever an IAC component is replaced, or a repair affecting idle is carried out, it is recommended that the KAM be reset. This is necessary so the idle strategy does not use the previously learned idle air trim values.

To reset the KAM, refer to Diagnostic Methods, Resetting The Keep Alive Memory (KAM). It is important to note that erasing DTCs with a scan tool does not reset the idle air trim table. Resetting The Keep Alive Memory (KAM)

Once the KAM has been reset, the engine must idle for 15 minutes (actual time varies between strategies) to learn new idle air trim values. Idle quality improves as the strategy adapts. Adaptation occurs in 4 separate modes as shown in the table.

Idle Speed Control Closed Throttle Determination - Applications Without Electronic Throttle Control (ETC)
One of the fundamental criteria for entering RPM control is an indication of closed throttle. Throttle mode is always calculated to the lowest learned throttle position (TP) voltage seen since engine start. This lowest learned value is called ratch, since the software acts like a one-way ratch. The ratch value (voltage) is displayed as the TPREL PID. The ratch value is relearned after every engine start. Ratch learns the lowest, steady TP voltage seen after the engine starts. In some cases, ratch can learn higher values of TP. The time to learn the higher values is significantly longer than the time to learn the lower values. The brakes must also be applied to learn the higher values.

All PCM functions are done using this ratch voltage, including idle speed control. The PCM goes into closed throttle mode when the TP voltage is at the ratch (TPREL PID) value. An increase in TP voltage, normally less than 0.05 volts, puts the PCM in part throttle mode. Throttle mode can be viewed by looking at the TP MODE PID. With the throttle closed, the PID must read C/T (closed throttle). Slightly corrupt values of ratch can prevent the PCM from entering closed throttle mode. An incorrect part throttle indication at idle prevents entry into closed throttle RPM control, and could result in a high idle. Ratch can be corrupted by a throttle position sensor or a circuit that drops out or is noisy, or by loose/worn throttle plates that close tight during a deceleration and spring back at a normal engine vacuum.

International Standards Organization (ISO) 14229 Diagnostic Trouble Code (DTC) Descriptions
The IS0 14229 is a global, diagnostic communication standard. The IS0 14229 is a set of standard diagnostic messages that can be used to diagnose any vehicle module in service, and at the assembly plant. The IS0 14229 is similar to the society of automotive engineers (SAE) J2190 diagnostic communication standard that was used by all original equipment manufacturers (OEMs) for previous communication protocols, like J1850 standard corporate protocol (SCP).

For the 2008 model year, the new IS0 14229 standard is standard on the Focus powertrain control module (PCM). The IS0 14229 changes the way PIDs, DTCs, and output state control is processed internally in the PCM and in the scan tool software. Most of the changes are to make data transfer between electronic modules more efficient, and the amount and type of information that is available for each DTC. This information may be helpful in diagnosing driveability concerns.

DTC Structure







Like all digital signals, DTCs are sent to the scan tool as a series of 1s and 0s. Each DTC is made up of 2 data bytes which each consist of 8 bits that can be set to 1 or 0. The data is decoded by the scan tool to display each set of 4 bits as a hexadecimal number (0 to F) in order to display the DTCs in the conventional format. For example, P0420 Catalyst System Efficiency Below Threshold (Bank 1).







The table shows how to decode the bits into hex digits.







The first 4 bits of a DTC do not convert directly into hex digits. The conversion into different types of DTCs (P, B, C and U) is defined by SAE J2012. This standard contains DTC definitions and formats.







IS0 14229 sends 2 additional bytes of information with each DTC, a failure type byte and a status byte.

All IS0 14229 DTCs are 4 bytes long instead of 3 bytes or 2 bytes long. Additionally, the status byte for IS0 14229 DTCs is defined differently than the status byte for previous applications with 3 byte DTCs.

Failure Type Byte







The failure type byte is designed to describe the specific failure associated with the basic DTC. For example, an failure type byte of 1C means circuit voltage out of range, 73 means actuator stuck closed. When combined with a basic component DTC, it allows one basic DTC to describe many types of failures.

For example, P0110:1C-AF means intake air temperature sensor circuit voltage out of range. The base DTC, P0110, means intake air temperature sensor circuit, while the failure type byte 1C means circuit voltage out of range. This DTC structure was designed to allow manufacturers to more precisely identify different kinds of faults without always having to define new DTC numbers.

The PCM does not use failure type bytes and always sends a failure type byte of 00 (no sub type information). This is because OBD-II regulations require manufacturers to use 2 byte DTCs for generic scan tool communications. Additionally, the OBD-II regulations require the 2 byte DTCs to be very specific, so there is no additional information that the failure type byte could provide.

A list of failure type bytes is defined by SAE J2012 but is not described here because the PCM does not use the failure type byte.

Status Byte







The status byte is designed to provide additional information about the DTC, such as when the DTC failed, when the DTC was last evaluated, and if any warning indication has been requested. Each of the 8 bits in the status byte has a precise meaning that is defined in IS0 14229.

The protocol is that bit 7 is the most significant bit and is the left-most bit while bit 0 is the least significant bit and is the right-most bit.

DTC Status Bit Definitions
Refer to the following status bit descriptions:

Bit 7
- 0 - The ECU is not requesting warning indicator to be active
- 1 - The ECU is requesting warning indicator to be active

Bit 6
- 0 - The DTC test completed this monitoring cycle
- 1 - The DTC test has not completed this monitoring cycle

Bit 5
- 0 - The DTC test never failed since last code clear
- 1 - The DTC test failed at least once since last code clear

Bit 4
- 0 - The DTC test completed since the last code clear
- 1 - The DTC test not completed since the last code clear

Bit 3
- 0 - The DTC is not confirmed at the time of the request
- 1 - The DTC is confirmed at the time of the request

Bit 2
- 0 - The DTC was not failed on the current or previous monitoring cycle
- 1 - The DTC failed on the current or previous monitoring cycle

Bit 1
- 0 - The DTC never failed on the current monitoring cycle
- 1 - The DTC failed on the current monitoring cycle

Bit 0
- 0 - The DTC is not failed at the time of request
- 1 - The DTC is failed at the time of request

For DTCs that illuminate the MIL, a confirmed DTC means the PCM has stored a DTC and has illuminated the MIL. If the fault has corrected itself, the MIL may no longer be illuminated but the DTC still shows a confirmed status for 40 warm up cycles at which time the DTC is erased. Bit 7 can be used to determine if the MIL is illuminated for the DTC.

For DTCs that do not illuminate the MIL, a confirmed DTC means the PCM has stored a DTC. If the fault has corrected itself, the DTC still shows a confirmed status for 40 warm up cycles at which time the DTC is erased.

To determine if a test has completed and passed, for example, after a repair, information can be combined from 2 bits as follows:

If bit 6 is 0 (the DTC test completed this monitoring cycle), and bit 1 is 0 (the DTC never failed on the current monitoring cycle), then the DTC has been evaluated at least once this drive cycle and was a pass.

If bit 6 is 0 (the DTC test completed this monitoring cycle) and bit 0 is 0 (the DTC is not failed at the time of request), then the most recent test result for that DTC was a pass.







The status byte bits can be decoded as a 2 digit hexadecimal number, and can be displayed as the last 2 digits of the DTC, for example for DTC P0110:1C-AF, AF represents the status byte info.

Multiplexing
The increased number of modules on the vehicle necessitates a more efficient method of communication. Multiplexing is a method of sending 2 or more signals simultaneously over a single circuit. In an automotive application, multiplexing is used to allow 2 or more electronic modules to communicate simultaneously over a single media. Typically this media is a twisted pair of wires. The information or messages that can be communicated on these wires consists of commands, status or data. The advantage of using multiplexing is to reduce the weight of the vehicle by reducing the number of redundant components and electrical wiring.

Multiplexing Implementation
Currently Ford Motor Company uses CAN communication language protocol to communicate with the PCM.

For additional information about the module communications network, refer to Information Bus (Module Communications Network), Module Communications Network for Description and Operation.