| BLDC motor(Brushless DC Motor)integrates the many advantages of DC motor,and also overcome the inherent shortcomings of DC motor,its application is very extensive.At present,the common BLDC motor control system is mostly micro-controller control system,and its control algorithm relies on manual programming,the efficiency is low.In the research of control science,engineers generally use MATLAB/Simulink to simulate the control algorithm,but generally can’t be applied directly to the actual.In order to solve the above contradiction,a BLDC motor control platform based on the semi-physical simulation technology is designed in this paper.The platform utilizes the RTW platform which developed by Math Works.With this,engineers can directly take the control model which builded on the Simulink to generate a C language code which can directly control the hardware system,thereby achieve the rapid prototyping control of the semi-physical simulation.Thus,engineers can focus on the design of algorithm rather than the edit of the control program,it greatly improved the developing efficiency and reliability.The platform uses the host-target machine mode of the double machine mode.The host computer is used to design the control model.The target machine runs the x PC Target real-time kernel which based on MATLAB,and it receives the control model code which designed by host computer and operate it real-time through the Ethernet and then to controls the hardware system.The main research work in this paper focuses on the following parts:(1)Outline the contents of the BLDC motor.Firstly,the structure of the motor and the working principle are described.Secondly,according to the structure of the motor,the mathematical model of the motor is introduced.Finally,the control method of BLDC motor is discussed.(2)BLDC motor control system modeling and simulation experiments.Firstly,based on the above-mentioned motor control method,the PID control system of the motor is modeled.After that,the simulation experiment of the model is carried out.Secondly,the fuzzy adaptive PID control system of the motor is modeled and simulated.And compared with the PID control system experiment,it is concluded that the fuzzy adaptive PID control is more suitable for the BLDC motor.(3)The design of the hardware system of BLDC motor control platform is introduced.Firstly,the hardware structure of the whole platform is discussed.Secondly,the selection and configuration of the host computer and the target machine are discussed respectively,and the content of the communication of them is introduced.Finally,the design of other hardware circuits and mechanical transmission systems are introduced.(4)Based on the fuzzy adaptive PID control system model and the hardware system,the semi-physical simulation model of the motor control platform is modeled and experimented and verified.The comparison between the experimental results and the simulation results shows that the design meets the requirements of BLDC motor control. |