Skip to content

1.4.4 PMU Programming

PMU configuration examples, logic sequences, and implementation checklist.

Programming Examples

DRL Auto-Off (Output 23) and Parking / Tail Markers (Output 12)

IF (Pin7_IgnitionRUN == ON) AND (In7_CT4_LowBeam == OFF) AND (In5_CT4_HighBeam == OFF)
  THEN Out23_DRL = ON
ELSE Out23_DRL = OFF

IF (In7_CT4_LowBeam == ON) OR (In5_CT4_HighBeam == ON)
  THEN Out12_Parking = ON
ELSE Out12_Parking = OFF

DRL on with ignition, off when either beam is on. Parking/tail markers follow the headlights (low or high — the CT4 drops SW3 when SW4 is on, so both are sensed) with no ignition term and no separate switch: pull the headlights on while parked and the vehicle is lit (owner decision 2026-09-22). See DRL & Parking.

Note: Pin 7 is the dedicated 12V switched input (physical pin), different from In 7 which is a digital input channel. See PMU Inputs for complete pin assignments.

GPS Power (Output 14)

IF (Pin7_IgnitionRUN == ON)
  THEN Out14_GPS = ON
ELSE Out14_GPS = OFF

The Garmin Tread 2 follows the ignition, with no switch (owner decision 2026-09-24). Its internal battery covers short key-off stops. See Navigation.

A/C Clutch Logic (Output 17)

IF (In9_AC_Request == ON) AND (BatteryVoltage > 11.5V)
  THEN Out17_AC_Clutch = ON
ELSE Out17_AC_Clutch = OFF

A/C engages when requested and voltage adequate.

4WD / 4LO Indicators (Outputs 19 + 24) - analog position

IF (An1_TCasePosition WITHIN 4H_band OR An1_TCasePosition WITHIN 4L_band)
  THEN Out19_4x4Relay = ON
ELSE Out19_4x4Relay = OFF

IF (An1_TCasePosition WITHIN 4L_band)
  THEN Out24_4LO = ON
ELSE Out24_4LO = OFF

Band edges come from the measured per-detent resistances of the NP241OR position switch — not yet taken (TBD #145). Set each band from the midpoints between adjacent measured values so a drifting contact cannot alias into the neighbouring detent, and confirm 2H (the highest-resistance position) falls outside both bands.

OUT19 drives a relay coil because the HDX 4x4 input is ground-activated and the PMU switches high-side only; OUT24 feeds the HDX EXTRA(+) input directly. See Transfer Case.

Oil Cooler Fan Control (Output 1) - CAN-based

IF (J1939_SPN175_OilTemp > 230°F) THEN Out1_OilFan = ON
ELSEIF (J1939_SPN175_OilTemp < 220°F) THEN Out1_OilFan = OFF

10°F hysteresis prevents rapid cycling. Uses J1939 engine oil temperature from ECM (SPN 175).

PS Cooler Fan Control (Output 16) - CAN-based

IF (J1939_SPN110_CoolantTemp > 220°F) THEN Out16_PSFan = ON
ELSEIF (J1939_SPN110_CoolantTemp < 210°F) THEN Out16_PSFan = OFF

10°F hysteresis prevents rapid cycling. Uses J1939 coolant temperature from ECM (SPN 110) as proxy for PS fluid temp.

Radiator Fan Control — relocated off the PMU

The radiator fan no longer runs on PMU outputs. It is powered START-direct from the START+ Forward Distribution Bus and speed-controlled by a dedicated fan controller (TBD #134) with its own coolant sensor, independent of the PMU and J1939 — see Radiator Fan. The controller must be configured to command full speed on lost/invalid sensor signal (the former PMU/CAN PWM path defaulted the fan OFF on lost coolant-temp data — the failure mode this relocation closes).

Sequential Load Startup

DELAY Out5_HVAC = 0.5s
DELAY Out1_OilFan = 1.0s
DELAY Out16_PSFan = 1.5s

Prevents voltage sag during ignition-on by staggering high-current load activation.

Delayed turn off (Output 15, TCU)

By default the PMU switches off immediately when Pin 7 (ignition) drops.1 Delayed turn off (manual §16.7) is enabled, with its maximum time set to the Turbolamik TCU sleep time (TBD #332), so OUT15 stays live until the TCU has saved its adaptations and gone to sleep — see Transmission. Every other output follows the ignition inside the same window; nothing on the PMU is CONSTANT, which is why the CT4 and PBS-I are fed from the START+ Forward Distribution Bus.

Battery Load Monitoring

Purpose: Monitor battery voltage and current to track actual system load and verify alternator capacity.

Data Logging Configuration:

LOG BatteryVoltage (continuous, 1 Hz)
LOG TotalCurrent_PMU (continuous, 1 Hz)
LOG AlternatorVoltage (if available)
LOG EngineRPM (J1939_SPN190)

Critical Voltage Thresholds:

  • 14.2-14.4V (engine running): Alternator charging normally
  • 13.8-14.1V (engine running, high load): Alternator near capacity
  • 12.6-12.8V (engine off): Fully charged battery at rest
  • <12.5V (engine running): Alternator undersized or failing
  • <11.5V (engine running): Critical - load exceeds alternator output

Warning Triggers:

IF (BatteryVoltage < 12.5V) AND (EngineRPM > 1000)
  THEN Trigger_Low_Voltage_Warning = ON

ARB Compressor Load Shedding

Purpose: Automatically shed non-critical PMU loads when the ARB compressor runs (90A on the AUX side) to preserve AUX battery capacity and maximize BCDC charging headroom.

Summary: Detects ARB activation and disables DRL (~0.8A), A/C (5A), and conditionally oil/PS cooler fans (15A each), shedding ~8-38A from the START-side PMU load. See ARB Load Shedding Logic for the current full-scenario totals.

See: ARB Load Shedding Logic for complete implementation details, load analysis, testing procedures, and operator guidelines.

Configuration Software

Software: ECUMaster PMU Configuration Software

Connection: USB to PMU (PC configuration)

Configuration File: Export and backup PMU configuration file (.pmu format)

Backup Strategy: Store configuration in git repository + printed copy of critical logic (DRL, fan control, starter safety)

Features:

  • Visual output state monitoring
  • Real-time data logging
  • Logic programming interface
  • CAN bus configuration
  • Output combining setup
  • Diagnostic LED configuration

Installation & Testing: See Section 1 Installation Checklist

Build Tasks

  • Set PMU Delayed turn off maximum once Turbolamik confirms TCU sleep time (TBD #332)

  1. ECUMaster, PMU User Manual 122.3.1 (2026-09-21): §2.13 connector current capacity (2.8 mm terminal 25 A @ 23°C with 12 AWG, 23 A @ 40°C, two adjacent 38 A; 1.5 mm terminal 19 A @ 23°C with 14 AWG); §16.7 Delayed turn off ("By default, the PMU switches off immediately when the ignition is switched off"); wire table p.137. https://www.ecumaster.com/files/PMU/PMU_Manual.pdf (accessed 2026-10-17). ↩