摘要
为了便于卫星自主智能控制技术的研究,该文研究了控制系统硬件在回路仿真技术,分析了实时仿真系统中仿真步长的确定及通讯接口技术的应用。文中详细说明了在MATLAB下采用S-function编写串口驱动模块的方法,还介绍了利用MATLAB/xPC环境下的UDP模块进行数据传输的方法。最后,该文设计了一个基于PC机的三轴稳定卫星姿态控制硬件在回路仿真系统,将反作用飞轮、陀螺等实物接入仿真系统。仿真结果表明实时仿真结果与数学仿真结果基本一致,仿真系统接口设计合理,实时性符合要求。
This paper discusses the hardware in the loop simulation of control system for the researches on the technology of satellite self - determination intelligent control, and analyzes the choosing of simulation step in real - time simulation and the application of the technology to communication interface. The method of building driver module for serial port with S - function based on MATLAB and the way of data transmission with the application of UDP module under MATLAB/xPC target environment are introduced and analyzed in details. At last,the hardware in the loop simulation system for three - axis stabilized satellite attitude control based on PC, with reaction wheel and gyro in the loop is designed. The results show the consistency of digital simulation and real - time simulation, the rationality of communication interface and the satisfaction of real - time characteristic.
出处
《计算机仿真》
CSCD
2005年第10期78-81,共4页
Computer Simulation
关键词
卫星姿态控制
硬件在回路仿真
实时仿真
通讯接口
Satellite attitude control
Hardware in the loop simulation
Real - time simulation
Communication interface