What a Robot Hardware-in-the-Loop Test Bench Must Represent
Restaurant Serving Robot Pilot: How to Measure Aisle Bottlenecks and Staff Handoff
Dec 04, 2026
Exoskeleton Trial Productivity Metrics: Measure Output Without Hiding Quality
Nov 19, 2026
AMR Handoffs to Weighing Stations: Stable Placement, Tare, and Load–Record Matching
Nov 19, 2026
Empty-Pallet Supply for Robotic Palletizing: Dispensers, Stack Quality, Detection, and Recovery
Nov 18, 2026
Two test benches, side by side, running what appears to be the same demonstration. On both screens a robot arm executes the same pick-and-place cycle, the same six-axis path, the same gripper closing at the same point in the trajectory. Watch the screens and the two systems are indistinguishable.

Now look at what is plugged in. On the first bench, a real robot controller runs the real firmware, connected through real I/O modules to a simulated process. On the second, a desktop application replays a recorded trajectory, and no production controller is present at all. Both produce a convincing animation. Only one of them can tell you anything about how your controller behaves when a sensor signal is lost.
That is the procurement problem in one image. A hardware-in-the-loop bench is not defined by what it displays. It is defined by what is physically in the loop and what is modelled, and those two decisions determine which questions the bench can answer.
Test equipment vendors describe the discipline with a useful framing. In the standard development sequence, model-in-the-loop simulates both controller and plant, software-in-the-loop replaces the simulated controller with generated code while the plant stays simulated, hardware-in-the-loop runs that code on a physical controller against a simulated plant, and physical testing comes last. Each stage exists because different questions require different amounts of real hardware. The corollary is the one that matters for a purchase: a bench positioned at one stage cannot answer questions that belong to another.
Name the Decision the Bench Must Support
A test bench is scoped by its decisions, not by its equipment list, and the scoping conversation stalls when the buyer cannot say which decision is being bought.
Four categories of question are commonly bundled under “we need a HIL bench”, and they need separating.
Controller integration questions. Does the controller integrate correctly with the surrounding I/O, the fieldbus, the safety chain and the motion hardware? These are answered by having the real controller and the real interfaces present, with the machine represented well enough to exercise the handshakes.
Interface fault-handling questions. What does the controller do when a signal is lost, late, stuck at a value, or contradictory? These require the ability to produce those conditions deliberately and repeatedly, which is a bench capability rather than a controller property.
Software regression questions. Did a firmware or application change alter behaviour that was previously correct? These require repeatability, version control and a baseline, and they are often the largest long-term use of a bench once commissioning is finished.
Mechanical performance questions. Will the real mechanism reach the required positions at the required speed with the required accuracy, under real loads? These are the questions a bench answers worst, because the mechanism, the structure, the compliance and the thermal behaviour are exactly what is being simulated.
List the behaviours the buyer intends to verify before the final machine or the site is available, and put each one in one of those four groups. The grouping is not academic; it tells you which benches can address each item.
Then do the harder half of the exercise. Identify the decisions the proposed bench cannot support without physical robot tests, and write them down before the purchase order rather than after the first failed acceptance. A bench that cannot answer a question is a scope gap, not a defect, provided the gap is known. The problems start when a bench result is used to close out a question it was never equipped to answer.
Draw the Real and Simulated Boundary
Ask a supplier where the real/simulated line falls and the answer usually arrives as a capability list. The better method is to walk the architecture until every element has been placed on one side or the other.
On the real side, four elements should be identified concretely. The controller, specified by model and firmware version, because firmware changes behaviour. The I/O and communications hardware, specified by module and interface type. Any signal conditioning between the controller and the simulation interface, since this affects what the controller electrically sees. And any real loads or sensors included, if the bench includes them, because their presence changes the fidelity of the loop.
On the simulated side, four corresponding elements. The plant model, meaning the mechanism, its dynamics and its structure. The sensor models, meaning what the controller believes it is measuring. The actuator response, meaning how commands translate into motion in the model. And the environment model, including anything the process interacts with.
Test instrument vendors describe the interface layer between these two worlds as its own engineering problem. Their architecture documentation sets out the functions that typically sit between a controller and a simulation system: fault insertion, logic level shifting, signal conditioning, amplification or attenuation, load or sensor emulation, and high-current or high-voltage drive. The PXI and CompactRIO class of hardware handles precision I/O, control, model execution and measurement under hard real-time conditions, while a separate switch-load-and-signal-conditioning layer handles electrical adaptation, protection and the flexibility needed to interface safely with real control units.
That division is a useful mental model even if the buyer ends up with a different vendor's equipment, because it makes the boundary concrete. The simulated side produces and consumes signals. The interface layer decides whether those signals are electrically honest. The controller believes it is in a machine.
Fidelity of models is a separate axis, and it is where expectations most often outrun capability. The Functional Mock-up Interface standard, now at version 3.0, exists to make dynamic models exchangeable between simulation tools independently of the tools themselves. Its 3.0 revision adds a scheduled-execution interface type alongside model exchange and co-simulation, aimed at discrete, real-time-like simulation, and it adds clocks for synchronising events between a model and its host. Those features exist because the timing behaviour of a model is a configuration property rather than a fixed characteristic. A model can be exchanged, and what it does between communication points is a choice.
Practical consequence for a buyer: model exchange and model fidelity are different claims. A bench can use a standard, portable model container and still represent the machine poorly, because fidelity comes from the model's content and its validation, not from the file format. Our robot simulation deliverables guide covers what should arrive with a simulation model, including the gaps between a model and real hardware that a URDF does not capture.
Then record what is omitted, simplified or substituted. Three categories cover most of it. Omitted, meaning effects that are absent entirely, such as structural flex, thermal drift or cable behaviour. Simplified, meaning effects present in a reduced form, such as a linear friction model replacing a nonlinear one. Substituted, meaning something real replaced by an equivalent, such as a resistor network standing in for a sensor's electrical behaviour. Each entry in that list is a constraint on what the bench result can support, and the list is what turns a demonstration into a scope document.
Check Interfaces, Timing, and Electrical Representation
Bench interfaces should be compared against the agreed interface control document, signal by signal, rather than accepted as compatible.
Four things to compare.
Signal ranges and types. Voltage and current ranges, digital levels, analogue resolution, and whether the bench reproduces the same sensor output characteristics the controller expects, including excitation where relevant.
Message behaviour. Cycle times, timing constraints, and what happens on timeout or on a missing frame. Fieldbus behaviour under fault is frequently where integration problems appear, and a bench that cannot reproduce a late message cannot test the response to one.
Timing and synchronisation. What is the bench's time base, how is it distributed, and is it traceable? Synchronisation between a controller and a simulation also appears at network level, where protocols such as NTP provide the time reference, and a bench with an unsynchronised clock will produce results that are hard to reproduce. It is the same time-source question that applies to any distributed system, and it is worth settling once for the whole installation rather than once per component.
Diagnostic states. Does the bench surface what the controller reports when things go wrong, and in a form an engineer can read? A bench that only shows the happy path is half a bench.
On timing capability, ask what the proposed configuration actually delivers and what evidence exists for it. Do not accept or assign a universal loop rate. Published work on model exchange explains why: the FMI 3.0 scheduled-execution interface was added precisely because different simulation targets need different execution semantics, and communication step size is a configuration parameter rather than a standard. A bench that claims a fixed rate without stating what determines it is describing a setting, not a capability.
Our guide to the robot interface control document covers how to specify interfaces so that they can be verified. That document is the reference this comparison uses, which is why it should exist before the bench specification is written rather than in parallel with it.
Electrical review deserves a named owner. Signal conditioning, fault-insertion limits, high-current paths and protection are safety-relevant engineering, and the phrase worth insisting on is that interfaces must be adapted safely. A bench that can inject a short circuit is a useful instrument and a potential hazard, and the limits have to be set by someone competent to set them. Assign that responsibility in writing, including who may change a fault-insertion limit and under what authorisation.
Choose Fault Cases the Bench Can Represent Credibly
Fault injection is often the reason a bench is bought, and it is also where the gap between what a bench can do and what a buyer assumes it can do is widest.
Start from four categories of case, and note that the bench may support some and not others.
Lost signal, meaning a connection opens or a message stops arriving.
Delayed response, meaning a signal or message arrives outside its expected window.
Inconsistent state, meaning the controller receives information that contradicts itself, such as a position report that does not match the commanded trajectory.
Device unavailable, meaning a peripheral, a node or a communication partner is absent entirely.
Electrical fault injection is the most mature part of this, and the vendor documentation describes it concretely: dedicated relay and switch modules for automated open-circuit and short-circuit testing, supply-line disconnection and other electrical fault scenarios, with fault-insertion units specified by continuous and peak current ratings, voltage range, and the number of independent fault channels. Those three specifications are worth asking for by name, because they define what the bench can actually inject rather than what it can simulate.
For each case, tie it to the represented interface and to an expected observable result. The interface tells you where the fault is injected. The observable result tells you what evidence you will accept as a pass. A fault case without a defined observable result tends to end with a discussion about whether the behaviour was reasonable, which is not a test.
The academic literature offers a useful classification for thinking about which faults a bench can credibly represent. Work on fault injection techniques distinguishes hardware methods, which can reach chip pins and internal components that software cannot address, from software methods, which produce changes at the software state level. The two differ in the fault injection points they can reach, in cost, and in the level of perturbation they introduce. Hardware methods suit the evaluation of low-level error detection and masking; software methods suit testing higher-level mechanisms.
That framing converts a vague question into a specific one. When a supplier says the bench can inject faults, ask which injection points, at which level, and with what perturbation of the system under test. A bench injecting at the electrical interface is testing a different layer from one injecting at the software state level, and both may be needed.
One exclusion should be stated plainly in the test plan. Simulated faults do not validate real physical hazards or safety functions. Safety requirements for industrial robots sit in their own standards framework, with ISO 10218-1:2025 and ISO 10218-2:2025 addressing the robot and its integration, and verification of protective functions follows its own process. A bench can show that a controller responds to a signal in a defined way. It cannot show that a protective function will stop a real mechanism in a real installation, and using a bench result to claim otherwise is a category error.
Correlate the Bench with the Physical System
A bench result supports a decision only to the extent that the bench represents the thing you are deciding about, and that relationship has to be evidenced rather than assumed.
The strongest available evidence is a comparison record. Take a set of cases, run them on the bench, then run the same cases on the real controller and machine configuration, and compare. The method itself is not novel: validating a real-time simulator by comparing its output against reference values from an offline simulation, and treating agreement as evidence of fidelity, is established practice across engineering domains that rely on real-time simulation. The domain differs, and the method transfers.
Three things to record from such a comparison. What was compared, meaning the specific cases rather than a general claim of agreement. How closely the results matched, expressed in whatever terms the case allows. And where they diverged, with an explanation or at least a characterisation of the divergence.
Record model assumptions alongside. Every model embodies assumptions about what can be neglected: rigid links, ideal sensors, no thermal effects, a particular friction law. Those assumptions are legitimate and they are also the boundary of what the model can predict. A model built for trajectory planning may be perfectly adequate for testing dispatch logic and useless for predicting cycle time under load.
Known discrepancies belong in the same record, because they are the constraints on interpretation. Power-hardware-in-the-loop testing shows why. There, real hardware is connected into a simulated loop, and two different effects appear at once, which is what makes the case instructive.
The first is a genuine distortion. Closing the loop with the hardware under test can introduce stability problems that would not otherwise exist, and those belong on the discrepancy list because they are artefacts of the test arrangement.
The second is a latency that belongs to the equipment rather than to the bench. Analogue signal paths add delay, and the modelled system does not contain it, so a bench measured against the model looks slower than the model says it should be. But the same delay is present when those devices are connected in a real installation, which means it is not an error to be driven to zero. It is a property that a bench can either ignore, and stay optimistic, or reproduce, and become more faithful to the site. The two effects look alike on a timing trace and have opposite implications for what the result means. The general lesson is that closing a loop with real hardware changes the loop, and the change is not automatically in the direction of more realism.
That is the honest framing for a buyer. A bench result is not a prediction of site behaviour. It is a measurement of behaviour in a defined representation, and the discrepancies define how far the measurement travels. Explaining those discrepancies to the people who will approve the machine is part of the bench's deliverable, not a caveat to be buried in an appendix.
Retest triggers follow from the same logic. Three changes invalidate a correlation record: a firmware or controller version change, a plant model change, and an interface change. Any of those means the previous comparison no longer describes the current bench, even if nothing in the test procedure changed.
Specify the Handover Artefacts and Continuing Cost
A bench is a system that will outlive its commissioning project, and what arrives with it determines whether it remains useful.
Eight artefacts to require in the specification.
Model and interface versions, identified precisely enough to know what was tested. Executable test cases, meaning the cases themselves rather than a document describing them. The result format, so that results can be compared across runs. Calibration records where relevant, particularly for any measurement chain. The licence scope for the software, including whether test cases can be run after the support contract changes. Named support owners on both sides. Change history, so that a later discrepancy can be traced to a change. And the exclusion list from earlier in this article, which is the most valuable document the bench produces.
Then ask which updates require supplier-only work or additional tools. This is where a bench's continuing cost becomes visible. If the simulation platform is extensible through a module development kit, custom work is possible and probably requires specialised skills. If the model can only be updated by the supplier, every plant change becomes a purchase order. Neither arrangement is wrong; the buyer needs to know which one applies before the budget is set.
Separate test bench acceptance from final robot and site acceptance. These are different gates with different evidence, and conflating them creates the expectation that a bench result closes out commissioning. Our FAT and SAT acceptance stages guide covers how factory and site acceptance are structured. A bench acceptance should establish that the bench represents what it claims to represent, at a stated version, with a stated exclusion list. Site acceptance establishes that the installed system works in the building.
Write a Representation-Based Acceptance Statement
The output of this whole exercise is one table with five columns, and it is short.
The required question, written as a question rather than a topic. The represented hardware and model, meaning what is real and what is simulated for this question. The test case used. The evidence produced. And the known exclusion, meaning what the bench cannot establish about this question.
A filled row reads something like this. Required question: does the controller recover correctly when a safety-rated input opens mid-cycle? Represented hardware and model: production controller at a stated firmware version, real I/O module, simulated mechanism and a replaced sensor input. Test case: open the input at a defined point in the cycle, repeated a stated number of times. Evidence: controller state transitions, error log entries and recovery behaviour recorded. Known exclusion: the test does not verify that the physical guard opening stops the mechanism within the required distance, which requires physical measurement on the installed machine.
The value of that row is not the pass. It is the last column, which tells a reviewer exactly how far the result travels.
Then use the table to make the purchase decision rather than to document it after the fact. Where a required question has no represented hardware or model, and no test case, that is a scope gap. Treat it as one: name it, price the alternative, and decide whether to accept the gap, buy more bench capability, or plan the physical test. Do not accept a substitute benchmark, a demonstration, or a supplier's reference to another project in place of a representation.
Finally, leave a physical validation plan for the exclusions. This is not a formality. The development sequence that ends with physical testing does so because simulation and physical test answer different questions, and a bench positioned before the physical test does not shorten the list of things that must eventually be verified on real hardware. It reorders the work so that fewer problems arrive late. If the exclusion list has four items on it, the plan should say when each one gets tested, by whom, on what, and against which criterion.
If you are working through this for a specific controller and a specific set of questions, the useful starting material is the controller model and version, the integration questions you intend the bench to answer, and a first attempt at the real/simulated boundary you expect the supplier to propose. AIsirRobot can coordinate that scope conversation with the relevant bench and robot suppliers and help get the deliverable list into a form you can accept against. We do not validate benches or warrant their results, and a bench result should never be presented as a substitute for physical commissioning or safety validation. The achievable outcome is a bench whose representation is documented, whose exclusions are listed, and whose results you can defend to whoever signs off the machine.
Contact Us
In This Article
Restaurant Serving Robot Pilot: How to Measure Aisle Bottlenecks and Staff Handoff
Dec 04, 2026
Exoskeleton Trial Productivity Metrics: Measure Output Without Hiding Quality
Nov 19, 2026
AMR Handoffs to Weighing Stations: Stable Placement, Tare, and Load–Record Matching
Nov 19, 2026
Empty-Pallet Supply for Robotic Palletizing: Dispensers, Stack Quality, Detection, and Recovery
Nov 18, 2026