Calibration & Control
Variable cam timing (VCT)
Set cam-position measurement correctly before tuning closed-loop cam target control.
Measurement first
The VCT variables include cam-position offsets for up to four measured cams. These offsets establish the zero/reference relationship; closed-loop target tuning should not be used to compensate for an incorrect measured cam position.
Control
Variable cam timing settings include control-valve frequency, target-angle rate limiting, proportional and integral gains, and target inlet/exhaust cam-angle maps where supported. Some applications also provide cam-profile switching thresholds.
Recommended order
- Verify crank/cam synchronisation.
- Verify measured cam angle and set offsets.
- Confirm the control valve moves the cam in the expected direction.
- Set conservative target maps.
- Tune closed-loop gains only after mechanical response is known.
Variable valve timing control strategy
The variable valve control function can control up to 4 VVT systems on an engine.

Image: outputs configuration for VVT
Editable fields in Outputs Configuration
They need to be configured correctly under ECU config, output configuration and their feedback signals need to be configured correctly under inputs configuration.

Image: inputs configuration for VVT
Editable fields in Inputs Configuration
Under inputs configuration, the correct cam trigger pattern has to be chosen. Either it is already preconfigured in the firmware such as for the ecoboost V6 in the example above, or it still needs to be defined.
To define a user defined cam trigger pattern for VVT the following steps need to be performed:
Pick a user defined VVT profile under inputs configuration:

Image: user defined VVT trigger pattern
When the engine is running in idle go to the VVT cam trigger capture page:

Editable fields
- Cam 1 VCT Output Test
- Puts the VCT outputs in test mode to drive either full on or off Used to test the full range and direction of the VCT system Test mode is disabled automatically when the ECU is switched off
- Cam 2 VCT Output Test
- Puts the VCT outputs in test mode to drive either full on or off Used to test the full range and direction of the VCT system Test mode is disabled automatically when the ECU is switched off
- Cam 3 VCT Output Test
- Puts the VCT outputs in test mode to drive either full on or off Used to test the full range and direction of the VCT system Test mode is disabled automatically when the ECU is switched off
- Cam 4 VCT Output Test
- Puts the VCT outputs in test mode to drive either full on or off Used to test the full range and direction of the VCT system Test mode is disabled automatically when the ECU is switched off
With the options force output off and on, you can push the VVTs to their extreme positions one after the other. For each position note down all the different values you see at cam 1 toot 1 to 8. You can then eliminate all values which are repeating themselves. Do this once for the full off position and then once for the full on position.
With these values the cam trigger pattern can be defined on the page of the next image. For open crank tooth number you write the lowest value found above, for close the highest value for the same tooth nr. The difference between the two, multiplied with the number of crank degrees per crank trigger tooth will give you the range of the VVT phasers in degrees of crank angle.

Image: user defined VVT trigger pattern definition example
Once these trigger definitions are configured correctly, the normal VVT operation mode can be activated.
The ECU will control the VVT position to the target by varying the PWM value to the cam actuactor.

Image: target intake vvt map example
Target inlet camshaft angle map, as a function of engine speed and primary load Increasing values in this map increases the target inlet camshaft advance angle, measured in crankshaft degrees Maximum map size 16x16, primary load either throttle position or manifold pressure

Image: target exhaust vvt map example
Target exhaust camshaft angle map, as a function of engine speed and primary load Increasing values in this map increases the target exhaust camshaft retard angle, measured in crankshaft degrees Maximum map size 16x16, primary load either throttle position or manifold pressure
The optimal vvt positions need to be calibrated looking at the following criteria: optimal performance, optimal fuel efficiency, minimal engine out raw emissions for Nox. It is important to keep the maps smooth here.
Typically the engine like more valve overlap at low engine speeds and less the higher up you go in engine speed.

Image: vvt control parameters overview
Editable fields
- VCT Control Method
- Sets the frequency of the variable cam timing control solenoids Synchronous mode uses the engine speed for valve frequency Asynchronous mode uses a fixed valve frequency defined in the calibration
- Inlet Cam Direction
- Enables forcing of inlet cam VCT direction Usually leave this in the automatic setting (enabled by default) If VCT operation is reversed then the direction can be corrected
- Exhaust Cam Direction
- Enables forcing of exhaust cam VCT direction Usually leave this in the automatic setting (enabled by default) If VCT operation is reversed then the direction can be corrected
- VCT Control Valve Freq
- Sets the piloting frequency (in Hz) for the variable cam timing control valve
- VCT Angle Step
- Limits the rate of change of VCT target position by the step size defined by this value
- VCT Proportional Gain
- Sets the gain of the proportional term for closed loop variable camshaft timing control
- VCT Integral Gain
- Sets the gain of the integral term for closed loop variable camshaft timing control
- Cam 1 Position Offset
- Offsets the zero position of the cam 1 measurement with respect to the origin Maximum offset value is +/- 30degs
- Cam 2 Position Offset
- Offsets the zero position of the cam 2 measurement with respect to the origin Maximum offset value is +/- 30degs
- Cam 3 Position Offset
- Offsets the zero position of the cam 3 measurement with respect to the origin Maximum offset value is +/- 30degs
- Cam 4 Position Offset
- Offsets the zero position of the cam 4 measurement with respect to the origin Maximum offset value is +/- 30degs
- VTEC Cam Profile Switch On
- VTEC Output is switched on when engine speed is above this value
- VTEC Cam Profile Switch Off
- VTEC Output is switched off when engine speed is below this value
- Cam 1 VCT Inlet/Exhaust
- Chooses inlet or exhaust camshaft VCT
- VCT Operating Range
- Sets the operating range of the variable camshaft timing control in crankshaft degrees
- Number of Crank Angle Windows
- Chooses number of crank angle windows for cam position measurement
- Window 1 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 1 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 2 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 2 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 3 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 3 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 4 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 4 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 5 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 5 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 6 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 6 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 7 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 7 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Window 8 open crank tooth number
- Sets the crank tooth number to open the VCT measurement window 1
- Window 8 close crank tooth number
- Sets the crank tooth number to close the VCT measurement window 1
- Cam 2 VCT Inlet/Exhaust
- Chooses inlet or exhaust camshaft VCT
- Cam 3 VCT Inlet/Exhaust
- Chooses inlet or exhaust camshaft VCT
- Cam 4 VCT Inlet/Exhaust
- Chooses inlet or exhaust camshaft VCT
See the four VCT output tests in Camshaft Sensors Position Capture.
The optimal setting for the vvt controller are the ones that give you a quick response putting the acutal position on to the target position without creating any big overshoots or oscillations.
VVT target offsets
User Defined Exhaust VVT Offset (°)
User defined exhaust VVT target offset, maximum 12x12 breakpoints
Both axes can be selected from the user defined parameter list
Map resolution is 0.5 degrees/bit; 128 is zero offset
To activate this map, set Map Enable? on the right to Enabled.
User Defined Inlet VVT Offset (°)
User defined inlet VVT target offset, maximum 12x12 breakpoints
Both axes can be selected from the user defined parameter list
Map resolution is 0.5 degrees/bit; 128 is zero offset
To activate this map, set Map Enable? on the right to Enabled.
