摘要:在分析无刷直流电机(BLDCM)数学模型的基础上,提出了一种BLDCM仿真模型建立的新方法。在Matlab中利用C MEX S-函数通过编程来实现BLDCM除速度控制模块外的其余子模块的功能,并搭建无刷直流电机模型。仿真结果表明建模方法的正确性和有效性,同时提高了仿真效率。基于所建立的BLDCM仿真模型利用S-函数建立了带自调整比例因子的模糊控制器,并将之与数字PI控制器、基本模糊控制器及Fuzzy-PI混合控制器对比仿真,仿真结果表明所建立的自调整比例因子模糊控制器具有最优的控制效果。 关键词:无刷直流电机;比例因子;模糊控制器; S函数; 对比仿真 Abstract: Based on the analysis of the mathematical model of Brushless DC motor(BLDCM), a novel method for modeling and simulation of BLDCM was proposed. In Matlab, all BLDCM submodels were modeled by C MEX Sfunction except speed controller block, and the whole structure of BLDCM was established. The simulation results showed the correctness and validity of the proposed method which also enhanced the simulation efficiency. Based on the modeling and simulation of BLDCM, a fuzzy controller with selfturning proportional factor was set up by Sfunction. Besides, a contrast simulation was performed among digital PI controller, basic fuzzy controller, Fuzzy PI hybrid controller and the fuzzy controller with selfturning proportional factor, and the results of the comparative simulation indicate that the last controller can provide the best control effect. Key words: BLDCM; proportional factor; fuzzy controller; Sfunction; contrast simulation
|