电光与控制, 2016, 23 (10): 90, 网络出版: 2016-11-18  

基于RTW的实时多任务无人机仿真系统设计

RTW Based Design of a Real-Time and Multi-Task UAV Simulation System
作者单位
南京航空航天大学自动化学院,南京211106
摘要
针对无人机仿真系统对高实时性、多任务的需求以及传统手工代码开发设计难度大、开发周期长等问题,提出了一种使用RTW结合C代码进行VxWorks平台的多任务设计方法。使用Simulink仿真环境开发无人机仿真系统;将系统任务划分为系统管理任务、模型解算任务、调度管理任务、接口任务并分别进行详细设计;最后使用RTW将Simulink模型文件及C代码文件统一编译生成为可执行文件,完成无人机仿真系统构建。半物理仿真结果表明:该无人机仿真系统仿真功能正确并满足实时性要求,与传统的手工代码开发方式相比,RTW与C代码联合开发方式降低了系统设计难度、加速了半物理仿真平台的研制。
Abstract
In view of the high real-time and multi-task design requirements to UAV simulation system and the problems of complicated manual code development and long design cycle, a design method using RTW and C code on VxWorks platform is proposed.First, Simulink tool is used for developing the UAV simulation system.Then missions of the simulation system are divided into system administration, model solving, scheduling management and interfacing task, which are designed respectively.Then, Real Time Workshop (RTW) is used to compile the Simulink and C code files into an executable file, and thus to implement the construction of the UAV simulation system.Semi-physical simulation results show that:1) The UAV simulation system has proper simulating function and can meet the real-time requirements; and 2) Compared with the traditional manual code development mode, the method based on RTW together with C code reduces system design complexity and accelerates the simulation platform development.

陈朋, 李春涛. 基于RTW的实时多任务无人机仿真系统设计[J]. 电光与控制, 2016, 23(10): 90. CHEN Peng, LI Chun-tao. RTW Based Design of a Real-Time and Multi-Task UAV Simulation System[J]. Electronics Optics & Control, 2016, 23(10): 90.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!