Interlock loop (HVIL)

Last updated 2026-11-27

This page explains the interlock loop: what it is, why the device needs it, how to wire it for operation, and how to close it with a test jumper when you run a drive on the bench.

What it is

HVIL stands for high-voltage interlock loop, a method from electric vehicles. A PWM signal runs in a loop through every drive in the device. Each drive watches for that PWM signal. If the signal is lost anywhere, every drive on the loop goes to its safe state.

Note The drive runs from 48 V, which is below the high-voltage range. The name HVIL is kept because the method is the same.

Why the device needs it

A drive that is damaged, or whose cable is cut, may stop sending CAN messages. The other drives cannot tell that from silence on the bus quickly enough, and the host may not react in time. The loop tells every drive in hardware, without CAN, without the host, and without relying on firmware in the failed drive.

Event Loop What every drive on the loop does
All connectors and cables in place Closed Runs normally
A connector unplugged Open Goes to its safe state
A cable cut or crushed Open Goes to its safe state
A drive damaged so that its loop path opens Open Goes to its safe state
Loop wire shorted to ground or supply No PWM signal (the line is stuck at one level) Goes to its safe state

The safe state is the drive's fault reaction. See Safety for what a free joint means in your device.

Wiring for operation

Wire the loop as one chain through all drives. Each drive has one 2-pin HVIL connector: one pin is loop IN, the other is loop OUT.

loop source ──► [drive 1] IN → OUT ──► [drive 2] IN → OUT ──► ... ──► [drive n] IN → OUT ──► loop return
  1. Connect the loop source to loop IN of the first drive. Where the source sits (host board or first drive) is TBD.
  2. Connect loop OUT of each drive to loop IN of the next drive.
  3. Connect loop OUT of the last drive to the loop return. The return connection is TBD.
  4. Power on and read the loop state of every drive over CAN. Every drive should report the loop as closed.

The connector part and pin numbering are TBD; see Electrical and CAN wiring.

Bench testing with a test jumper

To run one drive on its own, close its loop with a test jumper instead of the loop harness.

You need:

Steps:

  1. Switch the supply off.
  2. Unplug the loop harness from the drive.
  3. Plug the test jumper into the drive's 2-pin HVIL connector. The jumper connects loop IN to loop OUT.
  4. Switch the supply on and read the loop state over CAN. The drive should report the loop as closed.
  5. Check that the loop works: remove the jumper. The drive should switch torque off and report the loop as open.
  6. Refit the jumper to continue testing.

Warning A test jumper keeps the loop closed even if a cable is cut, so the drive no longer reacts to a damaged node. Use jumpers only on the bench. Remove every jumper and reconnect the loop harness before a person wears the device or before it runs without supervision. Mark jumpers so they are easy to see.

Check the loop after assembly

Do this once the device is assembled and every time you change its wiring.

  1. With all connectors in place, read the loop state on every drive. All should report closed.
  2. Unplug the loop connector at the last drive. Every drive should report open and switch torque off.
  3. Reconnect it. Whether the drives re-arm by themselves when the loop closes again, or need a command from the host, is TBD.
  4. Repeat step 2 at one connector in the middle of the chain.

Reference

Item Value
Loop signal PWM; frequency, duty cycle and level TBD
Connector One 2-pin HVIL connector per drive: loop IN and loop OUT. Connector part and pin numbering TBD
Loop start (source of the PWM) TBD
Reaction time from loop open to torque off TBD
Safe state The drive's fault reaction; see Safety
Loop state on CAN UDS DID TBD; CANopen object TBD
Re-arm after the loop closes TBD
Test jumper part TBD