检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李勇波 田润梅 张辉 郭善鹏 李琪 Li Yongbo;Tian Runmei;Zhang Hui;Guo Shanpeng;Li Qi(Xi'an Institute of Aerospace Propulsion Technology,Xi'an 710025,China)
机构地区:[1]西安航天动力技术研究所,陕西西安710025
出 处:《系统仿真学报》2024年第6期1468-1474,共7页Journal of System Simulation
摘 要:针对传统测试软件实时性有限、传统仿真接口软件通用性程度低的问题,为满足半实物仿真软件需兼顾单元测试和控制系统仿真验证的需求,设计了基于Windows/RTX的实时仿测软件。仿测软件采用模块化的设计原则,开发了GUI层人机交互界面和RTX层实时运行程序。为保证实时性,采用无锁循环缓冲区+双线程技术,解决了RTX环境下仿真步长为1 ms时串口数据收发的超时问题;提出一种超时检测算法监测仿真节点的实时状态。借助cJSON优化了测试用例配置文件,用户可以更灵活地编辑测试用例,利用RTW自动代码生成将弹体模型编译集成到RTX仿测软件工程。实验结果表明:该仿测软件有效兼顾了单测与仿真,提高了仿测软件的通用性和二次开发效率,降低了开发难度。Aiming at the limited real-time performance of traditional test software and the low generality of traditional simulation interface software,a real-time simulation software based on Windows/RTX is designed to meet the requirements of unit testing and control system simulation verification of semiphysical simulation software.Through modular design,GUI layer human-computer interface and RTX layer real-time operation program are developed.To ensure the real-time,the lock-free cyclic buffer plus dual-threading technology is used to solve the timeout problem of serial data transmission and reception when the simulation step size is 1 ms under RTX environment.A timeout detection algorithm is proposed to monitor the real-time status of simulation nodes.With cJSON,the test case configuration files are optimized and the users can edit the test cases more flexibly.RTW automatic code generation is used to integrate the projectile model compilation into RTX copycat software engineering.Test results show that the imitation software effectively considers the single test and the simulation,improves the versatility and secondary development efficiency,and reduces the development difficulty.
关 键 词:Windows/RTX 实时 部件单测 半实物仿真
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.122.164