Water/meth controller

...
...

Pump drive

Full-on pulses: the pump runs at full pressure for part of each cycle, its on-time rising from the start-boost figure to the full-boost one: the best spray from an ordinary diaphragm pump. PWM: it runs continuously, its duty rising from the start-boost duty to the full-boost one, for pumps made for it.

When to spray

How much

Hot air

Limits

Other

Nozzle

From its rating

Nozzle ratingml/min, as marked
How many nozzles

Better: measure it

Disarmed, engine off: put the nozzle in a cup, run a test spray, weigh what it caught (water: 1 g is 1 ml). With a line pressure transducer the board also records the pressure during the test, so the flow can be worked out from the pressure while driving.

Test length
Caught in the testgrams

Mix

More methanol is more cooling and more fuel; above about 50 % it is a fire risk. In winter some methanol keeps it from freezing.

Fluid

The count adds up the flow while the valve is open: from line pressure when the nozzle was measured at a known pressure, otherwise from the nozzle figure. Kept through power cycles.

Pressure input

Transducer range0.5-4.5 V, between the pump and the nozzle

Solenoid valve

A normally closed valve at the nozzle end of the line. It opens only while the pump runs and shuts the moment it stops, so nothing dribbles after a pulse, and a pump switch that fails shorted still cannot spray. With a lead time, after a stop the pump builds pressure against the shut valve first, so the first of the spray is fine mist, not a dribble. Between pulses the shut valve holds the pressure, so no lead is needed there.

Pump current

Measured on every pass (0.1 V per amp). The board stops the pump on a short (over 25 A), over the limit for 0.3 s, no current after 0.6 s (not connected), or current with the pump off (switch stuck on). The typical figure is this pump's own at full drive: a clogging filter or nozzle draws more, a worn pump less.

Tank switch

Engine data on CAN

Trouble codes

Codes are kept through power cycles with the readings at the moment each was last set. Clear faults lets the pump run again after a latched fault; Clear codes empties this list.

Watchdogs

Each watches one thing on its own: the task watchdog on both cores; the pump keeper on the other core (pump and valve off if control stops setting them for 0.25 s); the outputs read back each pass; the pump's on-time kept to the longest spray (the spray budget); the CAN task's heartbeat; the settings checked every second; memory; and the crash hook that switches the outputs off before a restart.

Tune profiles

Each profile keeps how the system sprays: all of the tuning, the pump drive, the nozzle's pressure, the valve lead and the line pressure limits. Not the wiring, engine data or arming. Loading one keeps it.

Backup

Every setting as a file, to keep or to put on another board.

Restore from a file

Wi-Fi

New password8 to 63 characters, used from the next power-up

Firmware

Only the WaterMethPCBStandalone image: any other is checked and refused. Not while injecting. Running build .

Since start-up