processor-in-the-loop tutorial - nrel · processor-in-the-loop tutorial fernand diaz franco...
TRANSCRIPT
![Page 1: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/1.jpg)
Processor-in-the-loop tutorial
Fernand Diaz Franco Advisor: Dr. Chris Edrington
Energy Conversion and Integration Thrust (EC&I) Center for Advanced Power Systems
![Page 2: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/2.jpg)
About EC&I
Focus Design, modeling, simulation, and experimentation of various energy conversion apparatus.
![Page 3: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/3.jpg)
Sequential Design and Validation Phases
![Page 4: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/4.jpg)
Sequential Design and Validation Phases
HIL
![Page 5: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/5.jpg)
Sequential Design and Validation Phases
HIL
PIL
![Page 6: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/6.jpg)
• Concepts SIL – PIL
• PIL key aspects
• Implementation
• Conclusions
Outline
![Page 7: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/7.jpg)
SIL – PIL
![Page 8: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/8.jpg)
SIL – PIL
SIL
![Page 9: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/9.jpg)
SIL – PIL
PIL
![Page 10: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/10.jpg)
Discrepancy on SIL – PIL
![Page 11: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/11.jpg)
Processor-in-the-loop
Control Hardware-in-the-loop
![Page 12: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/12.jpg)
Processor-in-the-loop
Control Hardware-in-the-loop
Processor-in-the-loop
![Page 13: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/13.jpg)
Processor-in-the-loop
![Page 14: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/14.jpg)
• Reduce cost compared with HIL • Arbitrary test-probes • Effects of the fixed point calculation in code • Pseudo real-time execution facilitates
debugging • WBG based power converters with high
frequency
Well suited for development, verification and validation
Main Advantages of PIL
![Page 15: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/15.jpg)
RP with PIL
Control design
Code generation Verification
Embedded code and the simulation software require initial configuration
Communication, variables to read and write, sample time definition
![Page 16: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/16.jpg)
Implementation of PIL
Peripheral explorer board TMS320F28335 controlCARD
![Page 17: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/17.jpg)
PIL Implementation
Filter coefficients and regulator gains controlled in software
![Page 18: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/18.jpg)
PIL Simulations
Time (s) Time (s)
![Page 19: Processor-in-the-loop tutorial - NREL · Processor-in-the-loop tutorial Fernand Diaz Franco Advisor: Dr. Chris Edrington . Energy Conversion and Integration Thrust (EC&I) Center for](https://reader034.vdocuments.us/reader034/viewer/2022042620/5b36d3457f8b9a4a728b5692/html5/thumbnails/19.jpg)
• PIL offers valuable information of the control hardware since it can take the advantage of the simulation environment to test upfront scenarios.
• PIL work is an excellent precursor to CHIL and could prove to be a good addition to the HIL design cycle.
Conclusions