M7 SmazTunerECU reference
Chapter 36 of 60·Part IV of XIV

Engine Speed Sensing

The 60-2 reluctor, zero-crossing capture, cam sync, and high-rpm tooth loss.

3 symbols in this chapter

Open the symbol index

In this page

The accurate execution of sequential fuel injection, ignition timing to within 0.25° of crankshaft angle, individual cylinder knock windowing, and misfire detection depends entirely on the primary engine position acquisition subsystem. In the Volkswagen/Audi 1.8T 20V engine, this is accomplished via a Variable Reluctance (VR) magnetic pickup sensor (G28) reading an internal 60-2 toothed trigger wheel on the crankshaft, synchronized with a Hall-effect camshaft position sensor (G40) on the cylinder head.

Understanding the electromagnetic signal conditioning and phase synchronization mechanics is critical for diagnosing high-RPM misfire cuts, timing belt installation errors, and engine no-start faults.

code
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                   60-2 CRANKSHAFT VR SIGNAL & 2-TOOTH MISSING GAP TOPOLOGY                       │
├──────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Voltage (V)                                                                                      │
│      ▲                                                                                           │
│ +40V ┼    ▲    ▲    ▲    ▲                                  ▲    ▲    ▲                          │
│      │   / \  / \  / \  / \                                / \  / \  / \                         │
│   0V ┼──┼───┼──┼───┼──┼───┼────────── Flat Zero Gap ──────┼───┼──┼───┼──┼────────► Crank Angle    │
│      │   \ /  \ /  \ /  \ /                                \ /  \ /  \ /                         │
│ -40V ┼    ▼    ▼    ▼    ▼                                  ▼    ▼    ▼                          │
│      │◄── 58 Regular Teeth ──►│◄── Missing Tooth Gap ───►│◄── Cycle Repeats ──►                  │
│      │     (6° Pitch Each)     │   (12° Missing / 84° BTDC)│                                     │
│                                                                                                  │
│ Zero-Crossing Detector in CC650 ASIC converts AC waveform into 5V digital TTL clock pulses        │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

36.1. The 60-2 Reluctor Wheel Geometry & Signal Physics

  • Mechanical Reluctor Wheel: A stamped ferromagnetic steel wheel bolted directly to the rear counterweight of the forged crankshaft inside the oil pan.
    • During Starter Cranking (200 rpm): Vpeak≈ 0.8V … 1.5V.
    • At Idle Speed (800 rpm): Vpeak≈ 4.5V … 6.0V.
    • At Redline (7200 rpm): Vpeak≈ 65V … 85V.
  • Tooth Profile: Designed for a theoretical 60-tooth circle (360° / 60 = 6.0° per tooth pitch). Two physical teeth are removed to create a 12.0° reference gap, leaving 58 physical teeth.
  • Reference Indexing: The trailing edge of the first tooth following the missing gap is calibrated to pass sensor G28 at exactly 84° BTDC of Cylinder 1 and Cylinder 4.
  • Sensor Terminal Connections:
  • Signal Amplitude Dynamics: Because a variable reluctance sensor generates voltage via magnetic flux rate-of-change (V = -N dΦdt), signal amplitude scales dramatically with rotational velocity:

36.2. Internal ASIC Signal Conditioning: Zero-Crossing Detection

The raw differential AC signal arriving on Pins 82 and 90 cannot be connected directly to the C167 CPU. It enters the Bosch CC650 / 30380 gate array ASIC:

  1. Dynamic Adaptive Thresholding: The ASIC tracks the envelope of the incoming sine wave, setting dynamic comparator thresholds to reject low-amplitude high-frequency noise induced by ignition coil firing pulses.
  2. Zero-Crossing Trigger: The digital output state toggles at the exact moment the AC waveform crosses 0.0V from positive to negative, providing an edge that is mathematically invariant to engine RPM and voltage amplitude.
  3. Missing Tooth Identification: The C167 timer measures the time duration between successive teeth (tn). If tn > 1.75 × tn-1, the CPU identifies the Missing Tooth Gap, synchronizing the engine cycle clock.

36.3. Camshaft Hall Sensor (G40) Synchronization & Phase Adaptation

While the 60-2 crank trigger provides precise 6.0° rotational increments, because a four-stroke engine operates on a 720° cycle (two crank revolutions per engine cycle), the crankshaft sensor cannot distinguish whether Cylinder 1 is at Top Dead Center on its Compression Stroke (ready to fire) or its Exhaust Stroke.

  • Cam Sensor Hardware (G40): A digital Hall-effect sensor mounted to the front of the cylinder head reading a 4-window shutter rotor bolted to the intake camshaft.
    • Normal Plausible Window: -10.0° KW … +10.0° KW.
    • Timing Belt Jumped by 1 Tooth (15.6° Crank Angle): The measured phase error exceeds limits. The ECU immediately sets DTC P0016 / 16400 (Crank/Cam Position Correlation Bank 1 Sensor A Implausible), disables VVT camshaft advance, and reverts to semi-sequential injection.
  • Phase Offset Adaptation (wngwg_w): The ECU measures the exact crank angle between the crank missing gap and the falling edge of the cam shutter window, storing this offset in persistent RAM and EEPROM (0x0170):

36.4. Diagnosing High-RPM Tooth Loss (> 7200 RPM)

In high-revving 1.8T engines (7500… 8500 rpm), tuners frequently encounter hard "rev-limiter" cuts well below the calibrated NMAX ceiling, accompanied by erratic tachometer drops.

Root Causes & Diagnostic Protocol

  1. Sensor Resistance Test: Unplug the grey 3-pin connector. Measure resistance across pins 1 and 2:
  2. Sensor Air Gap: The physical gap between the G28 sensor tip and the crank trigger wheel teeth must be 0.8 mm ± 0.2 mm. If the sensor is improperly seated or warped, an air gap > 1.2 mm causes the signal to collapse at high speed.
  3. Shield Ground Ground Loops: Never ground the G28 outer shield braid to the cylinder head or firewall! The shield must float at the sensor end and ground strictly at ECU Pin 1 & 2. Grounding to the head injects active ignition coil flyback noise directly into the VR sensor lines, corrupting tooth counts.
Esc
↑↓ move↵ openEsc close