Engine Cycle Sync (Camshaft)

Overview

On 4 stroke engines where sequential injection and/or ignition is required, the ECU must synchronize to the correct revolution of the engine cycle so that the correct fuel and spark events are generated.

The crank wheel typically rotates once per revolution and therefore does not provide the ECU with enough information on its own.

However, the camshaft rotates once per cycle (2 revolutions of the crankshaft) and a sync signal from the camshaft can be used to determine the engine cycle.

Camshaft Sync

The ECU counts the occurrence of rising or falling (or both) edges from the cam sensor.

The counter, typically channel iconT2R counter (rising) or channel iconT2F counter (falling), is captured at an actual crank tooth option iconSync Test A Tooth and is reset to zero to begin counting again; the counter will be reset every crank revolution at the specified tooth.

Example:

Cam Sync Diagram Cam Sync Diagram

In this example with a 8-1 crank wheel, there are 2 rising edges in the 1st crank revolution and 1 rising edge in the 2nd crank revolution.

The synchronization test point may be adjusted using the option iconSync Test A Tooth option.

option iconSync Test A Tooth is the actual crank tooth number (i.e. not an internal tooth number) at which the camshaft counter is captured and reset to zero on every crank revolution. The value is captured into the channel iconCam Tooth Count channel.

option iconSync Teeth is the number of Cam teeth expected at option iconSync Test A Tooth when testing for synchronization if the engine is within the expected half of the 4-stroke cycle.

If option iconSync Test A Tooth were set to 6 in this example (corresponding to the 7th tooth of the crank wheel, counting from 0), then the counter would be set to 2 in the first revolution and 1 in the second revolution.

Setting option iconSync Teeth to 2 would result in synchronization to be achieved on the 1st crank revolution. If set to 1 then synchronization would be achieved on the 2nd crank revolution.

During the ‘synchronization’ portion of the tooth control table, the captured counter value is tested against the Sync Teeth value.

Warning

It is essential that the cycle detection is unambiguous, otherwise the ECU may randomly synchronize to the wrong cycle.

It is recommended to use data logging and/or an oscilloscope to verify the configuration.

Note

It is not possible to set option iconSync Test A Tooth to the missing tooth position, as the ECU would not detect an “A Tooth” at that point.

Variable Valve Control Systems

On variable cam control systems, the timing of the camshaft signal varies with respect to the crankshaft signal.

Considering the example diagram again, if the camshaft was in its most retarded position at that point then the ‘Cam’ signal could shift to the left by up to 80 degrees (almost 2 Actual Teeth in this example).

Cam Sync Diagram Cam Sync Diagram

Cam Sync Diagram VVC Cam Sync Diagram VVC

The original example with option iconSync Test A Tooth set to 6 would still be correct, when counting rising edges, for either cycle 1 or cycle 2 if the cam signal were shifted to the left by as far as 2 teeth.

However, suppose option iconSync Test A Tooth was set to 4. There would be multiple issues:

  • In the first revolution, the ECU would detect either 1 or 2 teeth, depending on whether the camshaft position was advanced by VVC.
  • In the second revolution, option iconSync Test A Tooth closely coincides with the cam signal, and there is a race between the crank signal and cam signal - small timing variations could cause unreliable detection of the cam signal.

In both cases, the cycle detection would be highly unreliable.

Edge Selection

Depending upon the cam sensor configuration, the ECU could be counting rising edges, falling edges or both.

The cam sensor edge direction may be selected by a combination of option iconT2 Rising Edge, option iconT2 Falling Edge and option iconSync Channel T.

It is possible to use timers other than T2 for cam synchronization, but T2 is the most common.

Engines with Variable Valve Control (VVC / VVT) would typically require both edges to be enabled with option iconSync Channel T set to either “T2 Rise” or “T2 Fall” so that only the rising or falling edge of the cam signal is used for engine cycle synchronization.

The edge selection may require adjustment to improve engine cycle detection.

If you are using a VR (Variable Reluctance) sensor for the Cam sensor then there may only be 1 valid edge due to the nature of signals from VR sensors - see Crank Sensor.

Sync 2 (Reliably Synchronize Within 1 Revolution)

An optional feature is available to support synchronization within a single crank revolution.

If option iconSync 2 Active is set to ON, then the cycle shall also be matched using option iconSync 2 Teeth.

If channel iconCam Tooth Count matches option iconSync 2 Teeth then synchronization will be achieved (channel iconStat Sync'd will be set to ON) and the value of option iconSync 2 Fuel Tooth will be placed into channel iconFuel Tooth and the value of option iconSync 2 Spark Tooth will be placed into channel iconSpark Tooth to ‘jump’ these important clocks to the next half of the cycle.

Considering the example again:

Cam Sync Diagram Cam Sync Diagram

For sequential injection + ignition with 4 internal teeth per revolution, this example ECU could be configured with:

Option Value
option iconSync Teeth 2
option iconSync Test A Tooth 6
option iconSync 2 Active ON
option iconSync 2 Teeth 1
option iconSync 2 Fuel Tooth 4
option iconSync 2 Spark Tooth 4
option iconFuel Teeth 8
option iconSpark Teeth 8

Options / Channels

Option Description
option iconStart No Cam Sync The ECU will not attempt to synchronize to the camshaft while cranking (starting) the engine.
option iconSync Channel T Selects Cam synchronization input timer (e.g T2 Rise)
option iconSync Teeth Number of teeth expected to unambiguously identify 1 revolution in the engine cycle. Must be set to 0 if not using a Cam Sync input.
option iconSync Test A Tooth The actual crank tooth number at which the camshaft counter is captured and reset to zero. This is the actual crank tooth (channel iconA Tooth) number, not the internal tooth number.

Care should be taken, particularly with systems using VVC, to ensure reliable detection across the range from most retarded to most advanced camshaft positions.
channel iconCam Tooth Count Value of the sync channel (e.g. channel iconT2R counter) when channel iconA Tooth reaches option iconSync Test A Tooth
channel iconCam Tooth MX Value of channel iconCam Tooth Count when ‘MX’ (Missing / Extra tooth) synchronization tested.
option iconSync 2 Active Enabled Sync 2 feature.
option iconSync 2 Teeth Number of teeth to identify 2nd revolution in the engine cycle.
option iconSync 2 Fuel Tooth Value to set in channel iconFuel Tooth if Sync 2 is achieved. Jumps the injection ‘clock’ to the next half of the cycle. Should be set to the number of internal teeth per revolution, if sequential injection is required.
option iconSync 2 Spark Tooth Value to set in channel iconSpark Tooth if Sync 2 is achieved. Jumps the ignition ‘clock’ to the next half of the cycle. Should be set to the number of internal teeth per revolution, if sequential ignition is required.