Skip to content
Manual / Part XII / 54 Launch Control & Anti-Lag
Chapter 54 · Firmware Patching & Custom Features

Launch Control & Anti-Lag

2-step launch control, rally anti-lag, and rolling launch firmware.

Calibration symbols
B_KUPPL NMOT_W VFZG_W WPED_W G186 GRA
ECUs covered
06A906032LP
Size
6 symbols · 1 diagram · ~839 words

2-step launch control, rally anti-lag, and rolling launch firmware.

In competitive drag racing, time attack, and circuit environments, turbocharged vehicles suffer from a fundamental thermodynamic disadvantage: turbo lag from a standstill and during gear transitions. Standard factory rev limiters employ fuel-injector cutouts, which extinguish the combustion flame front, eliminating exhaust mass flow and causing boost pressure to collapse instantly to 0.0\text{ bar}.

By injecting custom assembly routines directly into the C167CR execution pipeline, an engineer can reprogram the Bosch ME7.5 operating system to support Stationary Launch Control (2-Step), No-Lift Shift (NLS), True Rally Anti-Lag (ALS), and Highway Rolling Antilag.

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│                     C167CR LAUNCH CONTROL & ANTI-LAG EXECUTION LOGIC                             │
├──────────────────────────────────────────────────────────────────────────────────────────────────┤
│                                                                                                  │
│   [ Vehicle Speed: vfzg_w <= 3 km/h ]                                                            │
│   [ Clutch Pedal Switch: B_kuppl == 1 (ECU Pin 39) ]                                            │
│   [ Accelerator Pedal Position: wped_w >= 95% ]                                                  │
│                                  │                                                               │
│                                  ▼ All Launch Conditions Met                                     │
│   ┌─────────────────────────────────────────────────────────────────────────┐                    │
│   │ Custom C167 Code Hook at Main Ignition Calculation Routine (0x028A10)   │                    │
│   └──────────────────────────────┬──────────────────────────────────────────┘                    │
│                                  │                                                               │
│         ┌────────────────────────┴────────────────────────┐                                      │
│         ▼                                                 ▼                                      │
│   ┌───────────────────────────┐                     ┌───────────────────────────┐                │
│   │ Spark Timing Override:    │                     │ Soft Ignition Cut Pattern:│                │
│   │ Clamp ZW to -18.0° to     │                     │ Drop 2 of 4 spark pulses  │                │
│   │ -25.0° KW (ATDC Retard)   │                     │ to hold RPM exactly at    │                │
│   │ Burning charge exits into │                     │ target launch ceiling     │                │
│   │ exhaust manifold runners! │                     │ (e.g., 4000 RPM)          │                │
│   └─────────────┬─────────────┘                     └─────────────┬─────────────┘                │
│                 │                                                 │                              │
│                 └────────────────────────┬────────────────────────┘                              │
│                                          ▼                                                       │
│   ┌─────────────────────────────────────────────────────────────────────────┐                    │
│   │ Exhaust Gas Enthalpy Surge Powers Turbine Wheel at 0 MPH!               │                    │
│   │ • Generates 0.8 bar to 1.3 bar (12 - 19 psi) Positive Boost on Launch!  │                    │
│   │ • Driver Dumps Clutch: Instantaneous Maximum Torque Delivery            │                    │
│   └─────────────────────────────────────────────────────────────────────────┘                    │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

54.1. Assembly Implementation: The C167 2-Step Launch Routine#

To execute stationary launch control, a hook is placed inside the 10ms synchronous task queue immediately preceding the final dwell and spark angle calculation (n-synchrone Zündausgabe):

; ==============================================================================
; C167 Custom Firmware Patch: Stationary Launch Control (2-Step)
; Target File: 06A906032LP (Flash Offset: 0x07F800 Hooked from 0x028A10)
; ==============================================================================
patch_launch_control:
    MOV     R4, [0xFD02]          ; Read vehicle speed word (vfzg_w)
    CMP     R4, #0x0030           ; Compare with 3.0 km/h threshold
    JNB     CC_ULE, exit_patch    ; If speed > 3.0 km/h, branch to standard logic

    MOV     R4, [0xFD18]          ; Read digital input byte containing B_kuppl
    JNB     R4.3, exit_patch      ; If Clutch Pedal NOT depressed (Bit 3 == 0), exit

    MOV     R4, [0xFD44]          ; Read driver accelerator pedal position (wped_w)
    CMP     R4, #0x3A00           ; Compare with 90% throttle threshold
    JNB     CC_UGT, exit_patch    ; If throttle < 90%, exit

    ; --- All Launch Conditions Verified ---
    MOV     R4, [0xFD00]          ; Read instantaneous engine RPM (nmot_w)
    CMP     R4, #0x3E80           ; Compare with Launch Target RPM (e.g. 4000 RPM)
    JNB     CC_UGT, spark_retard  ; If RPM < 4000, apply retard to build boost

    ; --- RPM Above Launch Ceiling: Execute Soft Ignition Drop ---
    ; Note: Internal RAM 0x382A00 accessed via DPP2 (0x00E0): 0x8000 | 0x2A00 = 0xAA00
    MOV     R5, [0xAA00]          ; Read scratchpad rotation counter via DPP2 (RAM 0x382A00)
    ADD     R5, #0x0001
    AND     R5, #0x0003           ; Modulo 4 counter
    MOV     [0xAA00], R5          ; Write updated counter via DPP2 (RAM 0x382A00)
    CMP     R5, #0x0002           ; Drop 50% of spark events
    JNB     CC_EQ, skip_spark

spark_retard:
    MOV     [0xFD60], #0xF700     ; Clamp actual ignition timing ZW to -20.0° KW
    RETS

skip_spark:
    MOV     [0xFD62], #0x0001     ; Set spark suppress flag for current cylinder
    RETS

exit_patch:
    ; Restore original overwritten instructions and return
    MOV     R4, [0xFD60]
    RETS

54.2. Rally Anti-Lag System (ALS) Dynamics#

While launch control operates from a standstill, Rally Anti-Lag (ALS) functions off-throttle during high-speed cornering:

  1. Air Bypassing: When the driver lifts off the throttle entering a turn, the ECU commands the electronic throttle motor G186 to remain cracked open by 12\text{°}\dots 18\text{°}, pumping continuous fresh air through the cylinders.
  2. Extreme Ignition Retard: Spark timing is driven deep into negative territory: -30\text{°}\dots -35\text{° KW} ATDC.
  3. Exhaust Manifold Combustion: Fuel is injected normally, but the spark fires so late that combustion occurs primarily as the mixture expands through the exhaust valves into the manifold.
  4. Instantaneous Turbine Spool: The explosive expansion in the manifold keeps the turbocharger spinning at &gt; 120,000\text{ rpm} on closed throttle, delivering instantaneous full boost (&gt; 1.5\text{ bar}) the millisecond the driver re-applies the accelerator at the corner exit!
  5. Thermal Protection Timers: Because ALS generates manifold gas temperatures exceeding 1100\text{°C}, continuous operation is strictly capped at 3.0\text{ seconds} per overrun event via internal countdown timers to prevent melting the turbine housing.

54.3. Rolling Launch Control (Highway Antilag)#

Rolling launch allows a driver participating in rolling-start acceleration trials (e.g., 40\dots 60\text{ mph} roll racing) to pre-spool the turbocharger while maintaining a steady vehicle velocity:

  • Trigger Interface: The driver latches the cruise control stalk switch (GRA Set / Res) on the steering column while holding the accelerator pedal pinned at 100\% WOT.
  • Torque Nullification: The C167 microcode detects the active GRA button press and immediately pulls ignition timing to -15\text{° KW} and initiates soft spark cuts.
  • Velocity Lock: Despite wide-open throttle, net engine brake torque matches road load. Vehicle speed remains held at 50\text{ mph}, while manifold boost pressure climbs from vacuum to 1.4\text{ bar} (20\text{ psi}).
  • The Launch: The instant the driver releases the cruise control switch, the custom code unlatches the spark clamp, unleashing maximum boost and peak engine torque in 0\text{ milliseconds} without a trace of turbo lag!

Cross-referenced on shared calibration symbols, not on subject matter — these are the chapters that touch the same maps.

← Previous chapter · Contents · Next chapter →

Related

Cross-referenced on shared calibration symbols, not on subject matter — these are the chapters that touch the same maps.

59 Brake & Clutch Interlocks
GRAB_KUPPLWPED_WG186
16 Torque Model & Inversion
GRAWPED_WG186NMOT_W
23 Drivetrain CAN Bus
VFZG_WB_KUPPLNMOT_W
14 Code Hooks & Patching
B_KUPPLWPED_WNMOT_W
60 Post-Dyno Verification
WPED_WG186NMOT_W