钱平 于宝成 杜玉立



摘 要:随动电子部件是光电雷达中一个核心部件,需进行定期故障检查,检测信号种类多、数量大,且不能进行破坏性检测。为方便检测,考虑到实际应用中的检测要求,利用LabVIEW语言设计一个在工控机端运行的检测仪软件。结果表明,结合数据采集卡,采用状态机模型与生产者消费者设计模式,能有效构建模块,对部件的各项参数进行检测。使用检测仪软件,能方便、快捷地对各项数据进行检测,避免大量数据的人工检测,提高效率。
关键词:光电雷达;LabVIEW;状态机;生产者消费者循环
DOI:10.11907/rjdk.171504
中图分类号:TP319 文献标识码:A 文章编号:1672-7800(2017)009-0117-03
Abstract:Electronic following component is one of the core components of the Photoelectric Radar, which needs the regular fault detection, it has large number and kinds of signals, and it can not be destructively detected. In order to detect and take the actual application requirements into account, we design a test software using LabVIEW in a industrial computer . The results show that, combining with the data acquisition card, using the state machine model and the producing consumer design model, it can effectively build modules and detect the parameters of the components. With the detector software, the data can be detected conveniently and quickly,avoiding large amounts of data detected by manual and improving the efficiency.
Key Words:photoelectric radar; LabVIEW; state machine; producer consumer cycle
0 引言
随动电子部件在飞机上主要用于探索、发现、截获和跟踪目标,且能测量目标距离[1],为攻击目标提供参考信息。随着对光电雷达安全可靠性要求提高,随动电子部件需要进行性能调试与测试。通过对电子部件响应结果进行测试与分析,以获得满足技术指标的随动电子部件。
检测仪中的工控机端通过ARINC通信板卡发送工作指令到随动系统,电子部件收到命令后,自身发出占空比可调的PWM信号控制模拟负载运动,而负载上对应的光电编码器将运动的角度信息以16位二进制形式发送回工控机。通过对反馈的角度信息进行处理和分析,对随动电子部件进行性能判断。此外,电子部件自身的信号参数通过NI采集卡获取,同样也是性能检测的一部分。
1 软件总体结构
随动电子部件检测仪软件流程见图1,主要有系统自检、角度数据发送、负载控制显示、数据采集等模块。……