How MIL,SIL is a Closed Loop Testing ?
Show older comments
Accepted Answer
More Answers (2)
Gaurav Shukla
on 27 Apr 2015
0 votes
Broadly speaking when you create a controller model for validation of the logic you connect the output of your controller to a plant model and output from plant is fed back to controller. Thereby creating a closed loop.
For SIL you replace the model logic for your controller with the generated code rest all process remains the same.
4 Comments
Aluri Pramod Kumar
on 28 Apr 2015
Apurva Bhide
on 8 Dec 2015
Plant model is the model of expected behavior of system you are making controller for. For eg: you model the overall behavior (response)of car and call it plant model. Then one can use this model and use the controller model to test whether the expected output is received with the current implementation of controller.
Jesús
on 4 Apr 2019
We don`t perform only PIL and HIL, because PIL and HIL test different things.
- PIL is used to check the code of the processor against a Matlab/Simulink model of the plant. The connection between the processsor and the Matlab model are digital signals.
- HIL is used to check the final hardware of the controller and the final processor code. The connection between the processor and the Matlab model are hardware electronics.
For example, in case of the development of an ECU of a car:
- PIL could be a prototype board using same processor than the final ECU, connected to a PC running matlab model and communicating by ethernet.
- HIL will consist of the final ECU with final hardware electronics, connected to the HIL simulator using the final connector of the ECU. The HIL simulator includes a complete model of dynamics of the car, other ECUs and hardware for simulating the sensor and actuators connected to the ECU. In addition, the advanced HIL simulator test the electronics injecting hardware errors, as short circuits or break of cables at the conector of the ECU. So, the HIL testing check the hardware of the ECU and the interaction with other componentes.
Ahmed Gad
on 14 Jun 2019
0 votes
You can check the following link to know about everyone of them.
Categories
Find more on Test Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!