Electric water pumps, intercooler pumps, PWM radiator fans, variable intake valves, fuel pump speed controllers: many devices on a modern engine want a PWM signal whose duty changes with speed, load or temperature. The RM-Primis has four generic PWM channels for them. Each can follow a table directly (open loop) or hold a target with its own PID (closed loop), so you can drive almost any PWM device without a dedicated function.
This page explains how a generic PWM channel works and gives typical uses.
| Mode | What the table holds |
|---|---|
| Open loop | The output duty in %, by engine speed across and a Y source down |
| Closed loop | A target for a Feedback value: the ECU compares the feedback with the target and a PID moves the duty to hold it |
Y source, the table's second axis, can be RPM, MAP, engine Cycles since start, Vehicle speed or one of the four analog inputs. Feedback, in closed loop, can be the load, MAP, TPS, pedal, throttle rate, coolant, intake air, ethanol content, fuel temperature, road speed, an analog input, MAP rate or a cam angle.
Open I/O → Generic PWM 1 (to 4), each with Overview, Target table and PID (see the menu on the Alternator control page).
| Setting | What it does |
|---|---|
| Alias | A name for the channel, shown in RM-Tuner and the logs |
| Enable | Switches the channel on |
| Closed loop (hold the target value) | Off: the table is the duty. On: the table is a target for the feedback |
| Activate only while running | Holds the output off while the engine is not running |
| Output pin | The output that drives the device |
| PWM frequency | The drive frequency: use the device maker's figure |
| Invert output | Reverses the duty |
The example runs open loop by engine speed and manifold pressure: almost nothing at light load, 37 % at 55 kPa, 70 % at 75 kPa and 87.5 % at full load. That suits a pump or a fan that must work harder as the engine makes more heat.
In closed loop the PID page holds the controller (with Invert direction for devices where more duty lowers the feedback), its output limits and the live values. See Boost control for how P, I and D act.
| Device | Mode | Set-up |
|---|---|---|
| Electric water pump | Open loop, or closed loop on CLT | Open loop: duty by RPM and load, more at high load. Closed loop: the coolant temperature as Feedback, with Invert direction so more duty brings the temperature down |
| Intercooler water pump | Open loop | Duty by RPM and MAP: low at cruise, full at boost |
| PWM radiator fan | Open loop, or closed loop on CLT | As the water pump. On VW and Audi cars the climate control's fan request can also drive it (see Radiator fan and air conditioning) |
| Variable intake or exhaust valve | Open loop | Duty by RPM and load, as the valve maker's map |
| Fuel pump speed | Open loop | Duty by RPM and MAP: slow at idle and cruise, full at high load. See also Fuel pump |
A device that matters for the engine's safety, like a water pump, should fail safe: check what it does with no signal, and add a programmable output warning or a protection on its temperature.
Four generic PWM channels, besides the dedicated ones (idle, boost, VVT, alternator, fuel pump).
Yes, in closed loop with the temperature as Feedback: an electric water pump holding the coolant temperature is a typical example.
Contact customer support at [email protected].
Related pages: Programmable outputs · Radiator fan and air conditioning · Alternator control · Analog inputs