Fault injection on the Control Pilot and Proximity Pilot

The faults a charger test injects on the pilot and proximity circuits (diode missing or shorted, pilot shorted to earth, pilot open, earth open, proximity open), what IEC 61851-1 asks the charger to do, and what each looks like on an oscilloscope.

Why and how

A charger must stay safe when the car, the cable or the plug is faulty. Type tests prove this by breaking the pilot circuit on purpose, one fault at a time, and watching how the charger reacts. The Control Pilot itself is explained in IEC 61851-1: the Control Pilot.

Faults are injected with an EV simulator or a test adapter that has switches for each fault, not by cutting a cable. IEC 61851-1 Figure A.8 shows an example simulator; commercial ones are listed in Test equipment for charging.

These tests run next to mains or high DC voltage. They belong in a lab with the right protective measures and qualified staff.

The circuit in one paragraph

The charger drives plus and minus 12 V through a resistor onto the pilot wire. In the car, a diode is followed by resistors to earth; they pull the positive half down to the level of state B or C, while the diode keeps the negative half at about -12 V. The charger reads the state from the positive plateau and the presence of the diode from the negative one (IEC 61851-1, A.2.2 and Tables A.2 to A.4). The pilot returns through the protective conductor, so the pilot also proves that earth is connected (6.3.1.2).

The faults

FaultWhat the charger must doWhere in IEC 61851-1On the scope
Diode missingNot close its contactor: diode presence is checked at least once before the supply is switched onTable A.4 and the text after it; 6.3.1.3The positive plateau looks normal. The negative plateau is no longer about -12 V: the car resistors load it as well. From nominal values it sits near -9 V in state B and near -6 V in state C
Diode shortedThe same as a missing diodeAs aboveThe same as a missing diode: a shorted diode conducts in both directions
Pilot shorted to earthTreat it as state E: open the supply within the time the standard gives, then unlock the socket outlet6.3.1.2; Table A.5 (state E); Table A.6 (any state to E or F); test in A.4.9Both plateaus collapse towards 0 V and the PWM disappears. A.4.9 uses a low resistance rather than a dead short, so a small residual square wave may remain
Pilot openLoss of continuity: switch the supply off within the time given for an open pilot circuit6.3.1.2The level jumps to +12 V (state A); if the charger keeps its PWM running, a full plus and minus 12 V square wave
Protective conductor openCut the power within the time A.4.8 gives, starting from state C or D6.3.1.2; A.4.8Like an open pilot: the pilot has lost its return path
Proximity open (Type 2 socket outlet, case B)Treat the cable as absent or faulty and not energise; interrupt the supply if the coded cable current would be exceededAnnex B, B.2 and Table B.2Nothing on the pilot. The proximity measurement reads a resistance above the highest coding range, which Table B.2 treats as an error or an unplugged cable
Charger faultSignal it with state F, and after that follow the rules for state F (remain in F, or change to state x1 after a minimum time)Table A.5 (state F)A steady -12 V

The negative plateau values for a missing diode are calculated here from the nominal resistor values of Tables A.2 and A.3, not taken from the standard; real values depend on tolerances and on the simulator. The response times are in the clauses named; read them there.

States E and F

  • State E (0 V) usually means an error the charger did not choose: no power to the charger, or a pilot shorted to earth. The charger must not use it to signal, apart from the wake up workaround in A.5.3.
  • State F (steady -12 V) is set by the charger on purpose to report a fault, for example that it needs maintenance. Without a fault, a charger that will not deliver energy signals this with state x1, not with F.
  • Both states lead to the supply being switched off and the socket outlet being unlocked (Table A.5 and Table A.6).
  • The optional hysteresis tests in A.4.11 move the pilot slowly between C and E, and D and E, to show that the charger does not flicker between states.

What to record

  • A Control Pilot log or scope trace with a sample rate high enough to see each PWM period, from before the fault until the contactor opens.
  • The time from the fault to the contactor opening, measured on the output voltage, not only on the pilot.
  • What the charger tells its backend: the status and error code it sends over OCPP, compared with the codes ChargeX expects in its MREC list (The ChargeX EV-EVSE Interoperability Test Plan).
  • Whether and how the charger recovers once the fault is removed.

This analyzer reads Control Pilot logs and runs the CP- checks on them, for example CP-02 on the plateau voltages and CP-09 on state F during energy transfer. The PF- checks name the fault the levels point to: PF-01 a missing diode (the negative plateau mirrors the positive one), PF-02 a pilot that opens to state A while energy flows, PF-03 a pilot held at 0 V (state E) beyond a retry step or during charging, and PF-04 a proximity pin that reads open while a car is connected. Control Pilot problems explains what the levels mean, and AC test cases, worked has worked AC cases that include a pilot short and a charger fault.

Sources

  • IEC 61851-1:2017, 6.3.1.2, 6.3.1.3, Annex A (A.2.2, Tables A.2 to A.6, A.4.8, A.4.9, A.4.11), Annex B (B.2, Table B.2)
  • SAE J1772, the North American coupler: the same pilot circuit and diode check
  • ChargeX Consortium: ev-charge-seq-state, Argonne National Laboratory, Apache-2.0; PlantUML sequence diagrams and state machines of SAE J1772, ISO 15118-2 and ISO 15118-20 with OCPP 1.6J, 2.0.1 and 2.1
  • INL: Minimum Required Error Codes by ChargeX