This document proposes using feedback control to improve hardware-in-the-loop (HIL) based ECU system function testing. It introduces a method that uses feedback from either directly connecting an output signal back to the HIL simulator (hardware feedback) or accessing an internal ECU variable through a communication protocol (software feedback). This feedback is used in a PID control loop to dynamically adjust inputs to drive the output or variable to a target value. The document presents a case study using throttle position control to demonstrate this method. It evaluates the hardware and software feedback approaches and concludes that feedback control enhances HIL-based testing capabilities when transfer functions are unclear.