摘要
使用Simulink建立了某型无人机自动配电系统的主要部件的数学模型。使用C MEX格式的S-函数代替Stateflow实现了多状态间的转换。模拟了发电机的过压故障、配电装置的故障控制和负载的状态控制。基于MATLAB Real-Time Work-shop(RTW)和嵌入式实时操作系统VxWorks建立了实时仿真系统,并对其进行改进方便了参数调节和故障控制。在Lab-VIEW界面显示实时仿真曲线便于观察模型的运行状况。
The mathematicmodels of main components of one UAV automatic distribution system were built using simulink.The conversion between the multi-states was achieved using C MEX S-function instead of Stateflow.Generator overvoltage fault,distribution device failure control and load state control were simulated.Based on MATLAB Real-Time Workshop(RTW) with VxWorks,an embedded real-time operating system,real-time simulation system was built and improved,which was convenient to parameter adjustment and fault control.Real-time simulation curve are displayed in LabVIEW in order to observe the running status of model.
出处
《科学技术与工程》
北大核心
2013年第18期5240-5244,共5页
Science Technology and Engineering
基金
国家自然科学基金(60974146)资助