The RM-Primis ECU controls variable valve timing (VVT) on the intake and exhaust camshafts, such as BMW VANOS, Toyota VVT-i and Honda VTC: it drives each cam's oil control solenoid to move the cam to the angle you want for each engine speed and load. Both cams work the same way and are set up separately.
| Mode | How it works |
|---|---|
| Closed loop | The table holds the target cam angle. The ECU measures the cam's real angle and a PID controller drives the solenoid to hold the target |
| Open loop | The table holds the solenoid duty directly. Simple, but the cam angle drifts with oil temperature and pressure |
Closed loop is what most engines need.
A fixed camshaft is a compromise: timing that fills the cylinders well at 7000 rpm leaves the engine weak and lumpy at 2000, and timing that makes good low-speed torque runs out of breath at the top. Moving the cams while the engine runs gets the best of both.
So the target angle table is, in effect, a torque tool: on a dyno you can find the angle that gives the most torque at each speed and load, just as you do with the ignition advance.
Open Tune → Variable valve timing. Each cam, Intake VVT and Exhaust VVT, has three pages:
| Page | What it holds |
|---|---|
| Overview | Enable, closed or open loop, the output and its alarm limits |
| Target angle | The table of target angles (closed loop) or duties (open loop) |
| PID | The closed loop controller, its output limits and the cam measurement settings, with the live values beside them. Shown in closed loop only |
| Setting | What it does |
|---|---|
| Enable | Switches the cam control on |
| Closed loop (hold the target angle) | On: the table is a target angle the ECU holds. Off: the table is the solenoid duty |
| Activate only while running | Holds the output at 0 while the engine is not running |
| Output pin | The ECU output that drives the solenoid |
| Number of outputs | One solenoid, or two for systems with separate advance and retard solenoids (such as twin-solenoid VANOS) |
| Retard output pin | With two outputs, the second solenoid. The ECU drives one at a time and swaps to the other when its output falls to Minimum |
| PWM frequency | The solenoid drive frequency, shared by both cams. Too low can overheat the solenoid or the driver: use the maker's figure. It takes effect the next time the ignition is switched on |
| Invert output | For a solenoid that acts with the output off |
| Alarm limits: Max. / Min. | Two readings in a row outside these angles set the output to Minimum and, in closed loop, store a cam timing fault |
The target cam angle, in degrees from the cam's rest position, by engine speed and load: positive values advance an intake cam. In open loop, the table holds the solenoid duty in % instead. The table tools are described on the Fuel table page.
| Setting | What it does |
|---|---|
| P, I, D | The controller's proportional, integral and derivative gains |
| Gain | Multiplies the whole PID output |
| Loop speed | How often the PID runs, in ms, when Compute on measurements is off |
| Invert direction | Tick if a larger output moves the cam away from the target |
| Compute on measurements | Runs the PID each time the cam is measured, instead of every Loop speed |
| P on the error | On: P acts on the error, so a target change moves the output at once. Off: P acts only on the cam's movement and the target is reached through I alone |
| Auto tune | A guided measurement of the cam solenoid: warm the engine and hold a steady speed, and RM-Tuner suggests P and I. Nothing changes unless you accept the suggestion |
| Trend PID | A live graph of the target, the angle and the output, for tuning by eye |
| Output limits: Maximum / Minimum | The highest and lowest duty the closed loop may use |
| Hold value | The duty the solenoid is set to while the cam is inside the dead band: the duty that keeps the cam still at working oil temperature |
| Offset | The cam angle measured with the control off, used as the zero point |
| Auto detect | Learns Offset from the cam's position when the engine starts |
| Dead band | The error the ECU accepts before it moves the solenoid, so the cam does not hunt around the target. 0 turns it off |
| Min RPM / Min CLT | Cam control stays off below this engine speed and coolant temperature, while the oil is still cold and thick |
The Live values panel shows the load, the actual angle, the target, the output and whether the cam control is enabled. Undock opens it in a window of its own.
Reading the cam's behaviour. Open Trend PID with the engine at a steady speed, step the target by 10° and watch the angle follow:
| What the angle does | What to change |
|---|---|
| Creeps slowly to the target | More P, then more I |
| Overshoots and swings before settling | Less P; add a little D to damp it |
| Settles a degree or two short | More I |
| Hunts around the target at a steady speed | A Dead band of 1–2°, and check Hold value |
| Fine when warm, sluggish when cold | Normal: cold oil is thick. Raise Min CLT so the control waits for warm oil |
Check the cam can reach every target: a target beyond the cam's range makes the controller push to its limit and hold there.
Once the cam follows its target cleanly, the target table itself is tuned like the ignition table: for the most torque at each speed and load, with the engine's other limits in mind.
On a dyno, by steps. Hold the engine at one speed and load, for example 3000 rpm at full throttle. Change the target in that cell by 5° at a time, let the engine settle and note the torque. The angle with the most torque is the best for that cell; check the knock and the exhaust temperature on the way, as more cylinder filling can bring the engine closer to knock. Repeat at a spread of speeds and loads, then fill the table smoothly between them.
What the result usually looks like.
| Where | Intake cam | Exhaust cam |
|---|---|---|
| Idle | Little advance: little overlap, so a steady idle | Little retard: as little overlap as possible |
| Low and mid speed, high load | Advanced: closes the intake valve early and traps more air, for torque | Retarded a little: some overlap helps scavenging, especially with a turbo |
| High speed, high load | Retarded: the valve stays open longer while the fast air keeps filling the cylinder | Set for the best top-end power on the dyno |
| Light load, cruise | Advanced for overlap: some exhaust stays in the cylinder, lowering pumping losses and fuel use | Retarded for the same reason |
Without a dyno. Start from the factory cam timing if you know it, or from a gentle table that stays close to the cam's rest position. Make full-throttle pulls in the same gear and compare the acceleration (the time from one speed to another, in the log) with the table changed by a few degrees in one area at a time.
Every change of cam timing changes how much air the engine takes in, so the fuel table and the ignition table need checking after the cam table changes. With the adaptation on, the fuel follows on its own while you drive.
Open loop drives the solenoid at a fixed duty from the table, so the cam angle changes with oil temperature and pressure. Closed loop measures the cam angle and corrects the solenoid to hold the target angle from the table.
Lower P, add a Dead band of 1–2°, and check Hold value is the duty that holds the cam still.
Contact customer support at [email protected].
Related pages: Crank and cam sensors · Trigger inputs · Table switch · Table axis