自定义控制器通过外部MATLAB®文件嵌入COMSOLMulti188金宝搏优惠phySics®磁悬浮模型

亚当krzysztof pilat.1,K.słowik.1
1Agh科学技术大学,自动控制和机器人,Mickiewicza 30,30-059克拉科夫,波兰
出版于2020.

为特定设备或过程设计专用控制器的正确方法是计算足够和代表性的模型。在磁悬浮系统的情况下,通过常规方程的数学建模受到代表由电磁铁产生的电磁力并用待吸引物体作用的分析功能的限制。模型的多体验方法方法允许使用几何和材料属性扩展建模,以及物理现象在设备/过程动态中发挥着重要作用。主动磁悬浮和嵌入式控制器的设计[1,2,3]已显示,其中一些使用多体模型可以获得新的结果和应用。在AGH的磁悬浮实验室中,存在许多用于研究目的的主动悬浮系统(悬浮液和轴承)。其中一个是具有圆柱形电磁铁的主动磁悬浮。使用COMSOLMultibySics®Axi对称模式建模了具有铁磁球体的相反动作主动磁悬浮系统中的双电磁铁。188金宝搏优惠COMS188金宝搏优惠OLMultibySics®AC/ DC模块用于执行电磁场的建模。应用移动网格模式以获得悬浮球的自由运动。另外,ode接口用于获得悬浮球运动的常微分方程的解。 For this research the bottom electromagnet was not used. Two forces were acting on the sphere: the gravity and the electromagnetic one. The electromagnetic force generated by the electromagnet was computed by the solution of magnetic field problem. Therefore, the value of electromagnetic force depend on the applied geometry, materials and coil configuration. In this research the electromagnet is steered by the controller computed externally: in the m-file. Thanks to the COMSOL Multiphysics® LiveLink™ for MATLAB®, it was possible to design and realize the controller in the m-code (see Fig. 1). The embedded controller was realized as a nonlinear one based on Fuzzy Logic approach using Mamdani type architecture. The output control surface is nonlinear (see Fig. 2). The synthesis of the controller was done using MATLAB® tools and exported to the appropriate files for external computations. Using the realized model and MATLAB® features it is possible to design any kind of linear and nonlinear controller. In every COMSOL Multiphysics® computational step, the controller equation was calculated using formulas embedded in m-file on the basis of actual state (sphere position and velocity) exported from COMSOL Multiphysics® model. In the postprocessing mode it is possible to analyze magnetic field distribution during control stage (see Fig. 3). The initial conditions for the sphere and coil current were set and the problem was solved in time domain using BDF method with strict time stepping set to 5ms in a range up to 2.5seconds. The levitating sphere displacement versus time for a few configurations of the nonlinear controller are presented in Fig. 4. As result we obtained a fully functional virtual prototype consisting of a nonlinear model and nonlinear controller. This valuable tool is open for any kind of control system architecture design and simulation research prior to real-time experiments.