I have open-sourced the software and design of an engine dyno for Rotax, KZ and OK class kart engines: github.com/oleg-kukharenko/kart-engine-dyno . The mechanics are designed but not built yet. The software runs end to end on a hardware-in-the-loop bench that pretends to be the stand. This post is about the software side: where the control loop lives, why the sensors moved into PIO, how the HIL bench works, and why the scoring is a table of rules rather than a model.
The one-paragraph context
A karting team does not need an absolute horsepower figure. It needs to know which of its engines is best right now and how each one changes with wear. So the stand measures relatively : same mechanics, same fixed test program every time, so stand losses cancel out between runs. That lets a used truck eddy-current retarder act as the brake, with torque read by a load cell on a reaction arm.…