How MIL,SIL is a Closed Loop Testing ?
Afficher commentaires plus anciens
Closed Loop Testing
Réponse acceptée
Plus de réponses (2)
Gaurav Shukla
le 27 Avr 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 commentaires
Aluri Pramod Kumar
le 28 Avr 2015
Apurva Bhide
le 8 Déc 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
le 4 Avr 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
le 14 Juin 2019
0 votes
You can check the following link to know about everyone of them.
Catégories
En savoir plus sur Test Model Components dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!