摘要
在研制复杂大功率电力驱动系统的过程中,实际测试前采用虚拟实验平台对控制器的中断延迟、计算速度、内存、接口、通信等瓶颈和瑕疵进行排查,可缩短开发周期,降低开发费用和技术风险。该文依据实际电力驱动系统结构,提出离散事件变流器系统与连续时间电机系统解耦的实时仿真框架,并基于Simulink开发电力驱动系统实时模型库;采用dSPACE实时仿真环境生成模型的实时C代码,基于两定时器任务实现交流驱动系统15~20μs步长实时仿真。实时仿真系统具有与实际系统的实时硬件接口,可以与实际控制器或实际电机系统直接相连,构成硬件在回路仿真测试或快速控制原型系统。在一般的实验室中可以对大功率电力驱动系统进行测试、教学和操作培训。
To reduce cost, risk and time, the bottle-necks and design flaws of interrupt latency, computing speed, memory, interface and communication in a complicated high power electric drive system have to be found by virtual test platform before actual test. This paper describes a real-time simulation platform for virtual test of electrical drives. A framework of decoupling discrete event and continuous time systems is proposed. A Simulink based library of real-time models is set up. By using dSPACE environment, the real-time C codes for controller, sensor and controlled systems model can be directly generated, compiled, linked, downloaded to and executed in the target hardware. With two-timer task mode, the real-time simulation is performed within the frame time of 15-20 us for AC drives, that verified the validity of the proposed models. Having the real-time hardware interface to actual system, the real-time simulation system can be directly connected to actual controller or actual inverter-motor-sensor system for hardware-in-the-loop applications as well as for rapid control prototyping. The virtual test platform is suitable to test and training of high power electrical drives at general-purpose laboratories.
出处
《中国电机工程学报》
EI
CSCD
北大核心
2003年第4期119-123,共5页
Proceedings of the CSEE