检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西北工业大学精确制导与控制研究所,陕西西安710072 [2]北京机电工程研究所,北京100074
出 处:《测控技术》2011年第7期53-57,共5页Measurement & Control Technology
基 金:航天科工支撑基金资助项目(2009CASIC0304)
摘 要:针对半实物仿真中的串口通信要求,提出一种xPC系统下采用CPU中断和软件定时的基于循环缓冲区的串口通信方法,解决了基于S函数的串口模块工作原理设计、硬件中断获取、循环缓冲区设计及参数传递和缓冲区读写操作等关键技术。采用该方法设计了惯性测量单元通信模块,并用三轴转台进行了动态测试,可以实现三路加速度和三路角速率信号的正确采集。实验证明了该方法的有效性,有助于xPC目标的应用扩展。To satisfy the requirement of serial communication in hardware-in-loop simulation,the serial communication technology using circular buffers driven by the CPU interrupt and the software timing in xPC target was proposed.The key technologies based on the S-function were studied which included the module task principle analysis,hardware interrupts obtain,the circular buffer design and its parameter transmission,and the write and read of the buffer.The communication module of the inertial measurement unit was achieved using this method,and test on the three axis simulator,which can get the acceleration and angular rate information correctly.Tests prove that the proposed method is effective and can help the expansion of the xPC target.
关 键 词:XPC目标 循环缓冲 S函数 串口通信 中断响应
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145