Flexible interface for hardware-in-the-loop simulations adds realism
Driving simulation expert RFPRO and embedded electronics specialist Xylon are working together to accelerate the testing of complex automotive systems by interfacing real hardware with a simulated environment for both open and closed-loop testing.
By exchanging the software ECU model used in a software-in-the-loop (SIL) simulation with the real physical ECU, stimulated and monitored from the software simulator, a new level of realism can be achieved that delivers greater confidence in simulation results. This validation allows engineers to ensure products are ready for market in the fastest and most cost-effective way.
The two companies have worked together to create a flexible interface that can be quickly and independently adapted to suit a variety of third-party ECUs and applications.
The concept has been validated by interfacing RFPRO’s driving simulation software with Xylon’s 360-degree Surround View parking assistance ECU. In the real world, the system stitches together the output from four cameras placed around the vehicle – in the front grille, rear bumper, and under each door mirror – to create a bird’s eye view of the vehicle and its surroundings to aid parking manoeuvres.
In the simulation, RFPRO’s high-definition scenes are rendered using specific models that precisely match the characteristics of each parking camera, complete with fish-eye lens distortion. The rFpro output then passes through the Xylon’s LogiRecorder interface box, converting it into four video feeds that can be fed to the hardware ECU in a format identical to that of the real cameras.
By feeding the ECU with data that is indistinguishable from that generated in the real world, the ECU can be tested in a wide variety of scenarios using production firmware. With the aid of RFPRO’s industry-leading simulation software, challenging lighting conditions, harsh environments, and countless other test scenarios can all be instantly simulated and tested far faster and more cost-effectively than ever before.
Furthermore, closed-loop testing is possible, with the ECU’s responses fed back through LogiRecorder to RFPRO, allowing it in turn to respond and update the simulation based on the ECU’s reactions. This reinforces the ability of rFpro’s software to significantly accelerate testing programmes for a wide variety of automotive systems, often eliminating the need for physical testing in a number of scenarios.
The data-intensive scenario presented by the parking ADAS set-up acts as a perfect demonstration of the interface’s very high bandwidth capability, making it suitable for use with a wide variety of ECUs and with support for practically all types of serial interface.
“RFPRO has been the leader in high-definition and high-quality world models for real-time simulators for many years, and that makes this expansion into hardware-in-the-loop (HIL) injection systems a natural progression,” said Matt Daley, Operations Director, rFpro. “The ability to interface with third-party hardware providers such as Xylon is a key advantage of our flexible approach, and working together has enabled us to bring advancements in hardware-in-the-loop simulations.”