基于dSPACE直流电机控制系统设计
摘要:本控制系统是基于dSPACE半实物仿真平台的基础上,通过一定的控制算法形成控制器,通过控制器来控制电机的转速的半实物仿真系统。在本控制系统中,在MATLAB/simulink中建立出直流电机控制系统的模型,通过在线仿真的方法得到控制器的参数,来实现最优控制。其中控制系统中各项参数形成的控制器是虚拟部分。对于本控制系统的硬件部分,是通过在实时仿真系统dSPACE中的硬件部分的基础上,通过设计相应的输入输出接口电路, 测量电机转速电路,电机驱动电路等,这是实物部分。基于dSPACE的半实物仿真平台不仅可以减少开发产品的时间,而且可以通过离线仿真的方式对于系统的硬件以及软件的参数进行相应的调整,这样可以减少普通的产品开发过程中,由于无法及时的验证方案而带来的人力物力的损失,一定程度上节约了成本以及开发产品反反复复测试和修改所带来的时间上的损失。
关键字:dSPACE,直流电机,Simulink,离线仿真
Based on dSPACE DC motor control system design
Abstract:This control system is based on dSPACE semi-physical simulation platform on the basis of the controller are formed by a certain control algorithm, through the controller to control the speed of the motor of hardware-in-the-loop simulation system. In this control system, in the MATLAB/simulink to establish the model of dc motor control system, through online simulation method to get the parameters of the controller, to achieve optimal control. Of the various parameters of the controller in control system is the virtual part. For the hardware part of this control system, through the real-time simulation system based on the hardware part in dSPACE, through the design of the corresponding input/output interface circuit, measuring circuit of motor speed, motor drive circuit and so on, this is the physical part. Semi-physical simulation platform based on dSPACE can not only reduce product development time, but also through the way of offline simulation for the parameters of the system hardware and software for the corresponding adjustment, so that we can reduce the common product development process, because it could not timely validation protocols and bring the loss of manpower, to some extent, save the cost and the development of product testing and repeated revision brought about by the loss of time.
Keywords:dSPACE, DC motor, Simulink, Off-line simulation
目 录