Before you can read the parent HIL note, you need a small pile of words and symbols. The parent note uses them all as if you already know them. This page builds each one from nothing: plain meaning → the picture → why the topic needs it, ordered so each new idea leans only on the ones above it.
Look at the figure. On the left sits the controller. On the right sits the plant. Between them run two arrows:
Down-arrow (commands): the controller tells the plant what to do.
Up-arrow (measurements): the plant tells the controller what actually happened.
Because the up-arrow feeds back into the brain, this is a loop. That loop is the beating heart of the whole topic — remember its shape, we will keep redrawing it.
Top panel — reality: real brain wired to a real engine.
Bottom panel — HIL: the same real brain, but the engine is now a computer with a box of electronics (the I/O box) in the middle converting numbers into voltages and back.
The dashed magenta box is what HIL invents. Everything inside the violet box (the controller) is untouched — that is the whole point.
Recall Why not just simulate the controller too?
Simulating the controller too gives you SIL or MIL, which are cheaper but miss real-chip bugs (timing, drivers, compiler quirks). HIL keeps the chip real precisely to catch those. ::: Because a simulated chip cannot reveal real-chip bugs.
The two arrows in the loop are not "ideas" — they are electrical signals on physical wires. The parent note names several. Here is each, from zero.
The figure shows both. The smooth orange curve is analog (a temperature reading rising). The square magenta trace is digital (a switch flicking on/off). HIL must be able to fake both kinds, because a real plant produces both.
Look at the three stacked PWM traces. All three switch between the same two heights, but the wider the "on" bars, the bigger the fraction D, and the higher the dashed average line. This D is the number the parent note multiplies by battery voltage to get the applied voltage.
Read it top to bottom: the loop and the swap give the shape; signals + converters wire the swap; the symbols + physics + stepping let the simulator be the plant; the real-time deadline keeps the fake plant honest. Together they make HIL.