MathWorks provides tools for comprehensive testing of your control systems, using desktop simulation, real-time testing, and formal verification methods.
Test control algorithms through desktop simulation to find design errors before building hardware and creating production software. Such early-verification testing reduces the need for expensive and difficult-to-access prototypes. To perform early-verification testing, you combine the plant model and control algorithm into one model and simulate the closed-loop system behavior. For this simulation, utilize the plant model used for control design or develop one with higher fidelity. One option for creating a higher fidelity plant model is to use a third-party product for your specific application or industry from the MathWorks Connections Program.
If a real-time simulation or physical prototype of the system is available, you can perform real-time testing of your control algorithm by:
You can reuse the plant model that you developed for compensator design for HIL testing.
MathWorks provides additional tools for verifying, validating, and testing your design that enable you to:
Nissan Increases Software Reliability (User Story)
"We created a hardware-in-the-loop testing tool using Simulink, Simulink Coder, and xPC Target that enables us to very rapidly test control algorithms in a way that is simply not possible on an actual airplane."Read the story