Subpage of Motorsport menu


Table Of Contents

Cam control outline
Cam control measurement prerequisites
Cam control configuration
Cam control actuation explained per control type
Cam control position measurement and configuration notes per trigger type
Cam control hardware changes in case of retrofit


Cam control outline

VEMS camshaft control, allows you to fully closed loop control (with independent PID regulation and targets for each cam) the camshaft angle on intake and exhaust camshafts (brand specific cam control abbreviations: VVTI/AVCS/VANOS); In the default configuration 2 controllable channels are available, when selecting 4 cam control (available since 1.2.34 firmware), wheelspeed is sacrificed in favor of cam control, allowing the maximum of 4 controllable channels.

2 camshaft control operation:

4 camshaft control operation:

Cam control measurement prerequisites

On some engines the intake camshaft does not contain a camshaft pattern that allows successful filtering out to single pulse, on such engines (like BMW S50/S54/S65/S85) the intake channels and exhaust channels need to be swapped in wiring, so that the intake sensors connect to the exhaust cam inputs (and vise versa) obviously this also means the intake and exhaust solenoids will need to have the same swapping applied (in wiring or in configuration).

Cam control configuration

In general, the "measure tooth" should be configured, so the sectrig (and third trig) position measures 5-35 degrees normally (that means appr 40-75 when fully advanced. For example 100 degrees is too high, just lower "measure tooth", and the target table should be lowered accordingly to match the measured values, of course) For more information regarding position measurement, see: Cam control position measurement and configuration notes per trigger type

Number of controllable cams

Realtime data set (4 cam control)

Third trigger input/Edge
Enable when using the third trigger for cam control, when unconnected set to disable, adjust trigger edge so it confirms with rules from prerequisites.

Third trigger Hall Dirac filtering
Filter small diract pulses which do not contain information

Intake/Exhaust 1/2 measure tooth
Adjust to conform with general setup notes (on cam target when full advanced) above

Intake 1/2 and Exhaust 1/2 phase correction (4 cam control)
Adjust so the measurement offset between the Intake 1/2 (and Exhaust 1/2) becomes zero

Control loop speed
Update frequency of the PID control loops (for all axis) when in doubt use default 28Hz

Control type for control actuation details, see: Cam control actuation explained per control type

Control deadband
Deadband around target, inside the deadband solenoid actuation is in hold position (mid PWM or VANOS both solenoids active)

PID KP/KI/KD/Integral limit
PID controller behavior tuning parameters

PWM frequency
PWM actuation frequency, when in doubt use 100-125Hz

Intake/Exhaust refDc up
Reference dutycycle where the cam position starts to move slowly up

Intake/Exhaust refDc down
Reference dutycycle where the cam position starts to move slowly down

Intake/Exhaust output type/channels
Select the output channels where the cam solenoids are connected

Cam control actuation explained per control type

Cam control position measurement and configuration notes per trigger type

Cam control hardware changes in case of retrofit

Historic information: Firmware 1.1.81 uses a (slightly) different algorithm the details here
.