摘要
为了快速验证电力电子控制系统中的控制算法,提高控制算法的效率,处理器在环测试(PIL)将生成的代码运行到目标处理器上,以验证代码和模型是否一致,并获得算法在实际控制器上的最长运行时间。本文以电力电子能量转换器三相半桥DC/AC为例,在Simulink环境下构建了离散仿真模型,让学生很快学会三相半桥DC/AC的工作原理、主回路设计以及控制系统设计,然后通过学会处理器在环仿真去验证测试软件和模型的一致性。通过相同的方法,学生很快能完成电力电子技术课程中的其他能量转换电路控制系统的设计,并在实验之前验证、分析结果,以防因控制算法设计不当在实验过程中出现损坏实验器件的现象。
To fast verify the control strategies in the power electronic control systems and improve the efficiency of the control strategies, the processor-in-the-loop (PIL) will run the code in the target processor to verify whether codes agree with models and acquire the longest operation time of the algorithms on the actual controllers.This paper takes three-phase half-bridge DC/AC power electronics energy converter as an example and builds a discrete simulation model in Simulink to let students learn the principles of the three-phase half-bridge DC/AC converter and the design of the main circuit and control system.Then, students will learn how to use PIL to verify the consistency of the software and the model.Through the same method, students can complete the design of the control systems of other kinds of energy converters in the power electronics course quickly.Besides, they can verify and analyze the results before the experiments, which can prevent the damage to the experimental equipment during the experiment due to the improper design of the control algorithms.
作者
易映萍
侯文
蒋玲
谢明
YI Ying-ping;HOU Wen;JIANG Ling;XIE Ming(School of Mechanical Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《软件》
2019年第7期138-141,共4页
Software
关键词
电力电子技术
处理器在环仿真
课程教学
Power electronics technology
Processor-in-the-loop
Course teaching