CN102004474A - Detection and controller for aircraft integration test general interface - Google Patents
Detection and controller for aircraft integration test general interface Download PDFInfo
- Publication number
- CN102004474A CN102004474A CN 201010284600 CN201010284600A CN102004474A CN 102004474 A CN102004474 A CN 102004474A CN 201010284600 CN201010284600 CN 201010284600 CN 201010284600 A CN201010284600 A CN 201010284600A CN 102004474 A CN102004474 A CN 102004474A
- Authority
- CN
- China
- Prior art keywords
- interface
- circuit
- data
- controller
- transceiver
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 73
- 238000012360 testing method Methods 0.000 title claims abstract description 26
- 230000010354 integration Effects 0.000 title abstract description 8
- 238000012544 monitoring process Methods 0.000 claims abstract description 86
- 238000005259 measurement Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 18
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种接口检测与控制器,特别是一种飞行器集成测试通用接口检测与控制器。The invention relates to an interface detection and controller, in particular to a general interface detection and controller for aircraft integration testing.
背景技术Background technique
在航空航天飞行器地面集成测试实验中,各个系统之间信号传输复杂,需要进行大量的数据交换。在测试时,这些信号需要连接到各种接口上,且能被检测到,并进行分析和控制。众所周知,接口设备多,在电联测试时,检测数据交互复杂,就需要人工将相应的接口连接到检测设备上或与其断开。当测试对象接口种类多且线路复杂时,这样的工作非常繁琐,必须对每条接线人工确认并进行手工插拔连接,按对应线路连接好后,再逐一进行检查,这样的实验效率低下且易出错。有些接口传输的是强电流等,会对操作人员生命安全造成威胁。传统的接口管理方法是使用继电器简单的通断接口,不能满足复杂测试设备的要求,且对接口数据传输的方式不了解,只能在接口数据已知的前提下进行。In the ground integration test experiment of aerospace vehicles, the signal transmission between various systems is complicated, and a large amount of data exchange is required. During testing, these signals need to be connected to various interfaces and be detected, analyzed and controlled. As we all know, there are many interface devices, and the detection data interaction is complicated during the ITU test, so it is necessary to manually connect the corresponding interface to the detection device or disconnect it. When the test object has many types of interfaces and complex lines, such work is very cumbersome. It is necessary to manually confirm and manually plug and unplug each line, and then check one by one after connecting the corresponding lines. error. Some interfaces transmit strong current, etc., which will pose a threat to the life safety of operators. The traditional interface management method is to use the simple on-off interface of the relay, which cannot meet the requirements of complex test equipment, and does not understand the way of interface data transmission, so it can only be carried out on the premise that the interface data is known.
发明内容Contents of the invention
为了克服现有的飞行器测试接口复杂的不足,本发明提供一种飞行器集成测试通用接口检测与控制器。利用模拟开关和A/D将输入接口上的信号采集到从控制器上,利用协议检测算法,将采集的信号数据进行处理,判断出信号属于哪一类,并将处理的结果传到主控制器,主控制器根据判断结果,控制多路开关,将检测出来的信号传送的相应的收发器上,主控制器通过收发器检测出信号的详细信息,将信号通过串口上传到上位机,完成信号监测与控制。由于通过软件远程检测和控制硬件接口,可以避免人工频繁切换接口和控制接口通断,实现远程计算机自动识别接口协议类型,自动配置硬件接口开关、切换操作,并能按需求监测接口数据并储存。In order to overcome the deficiency that the existing aircraft test interface is complex, the present invention provides a universal interface detection and controller for aircraft integrated testing. Use the analog switch and A/D to collect the signal on the input interface to the slave controller, use the protocol detection algorithm to process the collected signal data, determine which type the signal belongs to, and transmit the processing result to the master controller The main controller controls the multi-channel switch according to the judgment result, and transmits the detected signal to the corresponding transceiver. The main controller detects the detailed information of the signal through the transceiver, and uploads the signal to the host computer through the serial port to complete Signal monitoring and control. Due to the remote detection and control of the hardware interface through the software, it is possible to avoid manual frequent switching of the interface and the on-off control of the interface, realize the automatic identification of the interface protocol type by the remote computer, automatically configure the hardware interface switch, switch operation, and monitor and store the interface data as required.
本发明解决其技术问题所采用的技术方案:一种飞行器集成测试通用接口检测与控制器,其特点是包括输入接口1~n、干扰屏蔽电路1~n、接口控制电路、协议检测电路、数据监测电路和串口,所述接口控制电路包括继电器阵列、多选一开关、通道选通控制电路;所述协议检测电路包括模拟开关、A/D采集电路和从控制器;所述数据监测电路包括多路开关、CAN收发器、串口收发器、429收发器、1553B收发器和主控制器;用户通过上位机将输入接口1~n与其他接口的通断指令通过串口发送到数据监测电路的主控制器,主控制器接收到指令之后,解析并按指令改变继电器阵列,通过多选一开关将相应的接口联通或断开;接口控制电路将输入接口1~n的信号输入到协议检测电路的模拟开关上,从控制器控制模拟开关,逐次将输入接口1~n中的各个引脚接入到A/D采集电路,并测量各个引脚电压值,保存所测的电压值数据,数据测量完成后,进行协议判断,并将检测出输入接口1~n所传输数据的类型判断结果数据发送到数据监测电路;数据监测电路中的主控制器配置接口控制电路,选择具体的输入接口1~n,将其信号输入到接口控制电路上,根据之前协议检测的结果,将信号通过多路开关选通到对应的收发器上,主控制器通过收发器统计信号数据及速率,并将统计结果通过串口上传给上位机客户端。The technical solution adopted by the present invention to solve the technical problem: a general interface detection and controller for aircraft integrated testing, which is characterized in that it includes input interfaces 1-n, interference shielding circuits 1-n, interface control circuit, protocol detection circuit, data A monitoring circuit and a serial port, the interface control circuit includes a relay array, a multiple selection switch, and a channel gating control circuit; the protocol detection circuit includes an analog switch, an A/D acquisition circuit and a slave controller; the data monitoring circuit includes Multi-way switch, CAN transceiver, serial port transceiver, 429 transceiver, 1553B transceiver and the main controller; the user sends the on-off command of the
本发明的有益结果是:本发明利用模拟开关和A/D将输入接口上的信号采集到从控制器上,利用协议检测算法,将采集的信号数据进行处理,判断出信号属于哪一类,并将处理的结果传到主控制器,主控制器根据判断结果,控制多路开关,将检测出来的信号传送的相应的收发器上,主控制器通过收发器检测出信号的详细信息,将信号通过串口上传到上位机,完成信号监测与控制。由于通过软件远程检测和控制硬件接口,避免了人工频繁切换接口和控制接口通断,实现了远程计算机自动识别接口协议类型,自动配置硬件接口开关、切换操作,并能按需求监测接口数据并储存。The beneficial results of the present invention are: the present invention utilizes the analog switch and A/D to collect the signal on the input interface to the slave controller, utilizes the protocol detection algorithm to process the collected signal data to determine which category the signal belongs to, And pass the processing result to the main controller, the main controller controls the multi-way switch according to the judgment result, and transmits the detected signal to the corresponding transceiver, the main controller detects the detailed information of the signal through the transceiver, and sends The signal is uploaded to the host computer through the serial port to complete signal monitoring and control. Due to the remote detection and control of the hardware interface through the software, it avoids manual frequent switching of the interface and the on-off control of the interface, and realizes the automatic identification of the interface protocol type by the remote computer, automatic configuration of the hardware interface switch, switching operation, and monitoring and storage of interface data as required. .
下面结合附图和具体实施方式对本发明作详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
附图说明Description of drawings
图1是本发明飞行器集成测试通用接口检测与控制器系统框图。Fig. 1 is a block diagram of the general interface detection and controller system of the aircraft integration test of the present invention.
图2是本发明飞行器集成测试通用接口检测与控制器的系统工作流程图。Fig. 2 is a system work flow chart of the general interface detection and controller of the aircraft integration test of the present invention.
图3是图1中协议检测电路祥图。Fig. 3 is a diagram of the protocol detection circuit in Fig. 1.
图4是图3的协议检测流程图。FIG. 4 is a flowchart of protocol detection in FIG. 3 .
图5是图1中数据监测电路祥图。Fig. 5 is a diagram of the data monitoring circuit in Fig. 1.
图6是图5的数据监测流程图。FIG. 6 is a flow chart of data monitoring in FIG. 5 .
图7是图1中接口控制电路祥图。Fig. 7 is a diagram of the interface control circuit in Fig. 1 .
图8是图7的接口控制流程图。FIG. 8 is a flow chart of interface control in FIG. 7 .
具体实施方式Detailed ways
本发明主要针对航天航空中通用串行总线,提出一种通用接口检测、监测及控制电路。采用通用的串口DB9传输数据,以减少各种不同接口之间转换的复杂性,提高通用行,并为数据采集,软件算法等的实施提供的方便。The invention mainly aims at the universal serial bus in aerospace, and proposes a universal interface detection, monitoring and control circuit. The universal serial port DB9 is used to transmit data, so as to reduce the complexity of conversion between various interfaces, improve the universal row, and provide convenience for the implementation of data acquisition and software algorithms.
参照图1~8,飞行器集成测试通用接口检测与控制器包括输入接口1~n、干扰屏蔽电路1~n、接口控制电路、协议检测电路、数据监测电路和串口,串口型号RS232。Referring to Figures 1-8, the aircraft integration test general interface detection and controller includes input interfaces 1-n, interference shielding circuits 1-n, interface control circuit, protocol detection circuit, data monitoring circuit and serial port, serial port type RS232.
信号通过输入接口1~n,经过干扰屏蔽电路,到达接口控制电路。接口控制电路将要检测一路信号接入到协议检测电路,协议检测电路通过协议检测算法,检测出输入接口1~n所传输数据的类型,并将检测结果发送给数据监测电路,并由数据监测电路将检测结果通过串口RS232发送给上位机客户端软件。The signal passes through the
协议检测电路检测出输入接口1~n的协议之后,再由接口控制电路将检测到输入接口1~n的信号传给数据监测电路,数据监测电路统计信号的详细信息,如数据流及传输速率等,并将检测结果通过串口传回上位机客户端软件。After the protocol detection circuit detects the protocol of the
上位机客户端软件根据接收到输入接口1~n的信息,配置输入接口1~n的连通状态,将配置指令通过串口RS232传给数据监测电路,数据监测电路根据指令配置接口控制电路,将输入接口1~n连接到指令要求的接口之上或断开,完成接口的检测和控制。The host computer client software configures the connection status of the
飞行器集成测试通用接口检测与控制器的系统工作流程:The system workflow of aircraft integration test general interface detection and controller:
(2.1)判断输入接口1是否有信号。若有,则采集输入接口1上各引脚电压,分析通信协议类型,若没有,检测线路移位至输入接口2;以此类推,完成判断输入接口1~n是否有信号。(2.1) Determine whether the
信号从输入接口1进入到接口控制电路,由接口控制电路将输入接口1的信号输入到协议检测电路中,再由协议检测电路判断是否有信号输入?若有,则采集信号,若没有,继续判断输入接口2中是否有信号输入;以此类推,完成判断输入接口1~n是否有信号输入。The signal enters the interface control circuit from the
(2.2)采集输入接口1~n各个引脚电压,分析通讯协议类型。(2.2) Collect the voltage of each pin of the
由协议检测电路采集保存数据,并判断通讯协议类型。The data is collected and saved by the protocol detection circuit, and the communication protocol type is judged.
(2.3)判断输入接口1~n上的所有接口引脚是否检测完毕,若是,将结果发送给数据监测电路,并由其通过串口上传协议检测结果报文至上位机客户端软件,若否,继续进行步骤(2.1)判断当前输入接口1~n是否有信号;(2.3) Determine whether all the interface pins on the
由协议检测电路对输入接口1~n进行处理,并判断是否完成当前接口的协议检测,若没有,则继续采集信号并进行协议检测,若完成协议检测,将协议检测结果传给数据监测电路,并由数据监测电路将检测结果通过串口RS232上传给上位机客户端软件;Process the input interfaces 1-n by the protocol detection circuit, and judge whether the protocol detection of the current interface is completed, if not, continue to collect signals and perform protocol detection, if the protocol detection is completed, the protocol detection result is transmitted to the data monitoring circuit, And the data monitoring circuit uploads the detection results to the host computer client software through the serial port RS232;
(2.4)数据监测电路通过串口RS232上传协议检测结果报文至上位机客户端软件。(2.4) The data monitoring circuit uploads the protocol detection result message to the host computer client software through the serial port RS232.
由协议检测电路将检测结果数据发送到数据监测电路中,数据监测电路把检测结果数据通过串口RS232上传到上位机客户端软件中。上位机客户端软件将检测结果显示在软件界面上。The protocol detection circuit sends the detection result data to the data monitoring circuit, and the data monitoring circuit uploads the detection result data to the host computer client software through the serial port RS232. The upper computer client software displays the detection results on the software interface.
(2.5)等待用户操作,生成用户指令并下载至数据监测电路中。(2.5) Waiting for user operations, generating user instructions and downloading them to the data monitoring circuit.
用户可以通过上位机客户端软件,操作相关指令,上位机客户端软件将指令信息通过串口RS232传至数据监测电路中。The user can operate relevant instructions through the client software of the host computer, and the client software of the host computer transmits the instruction information to the data monitoring circuit through the serial port RS232.
(2.6)数据监测电路判断是否停止系统,若没有,继续进行步骤(2.7)判断是否为线路配置指令,若有,结束运行。(2.6) The data monitoring circuit judges whether to stop the system, if not, proceed to step (2.7) to judge whether it is a line configuration instruction, and if so, end the operation.
数据监测电路根据指令内容,进行相关动作,如指令是结束运行,则停止工作,进入休眠,若没有接到此指令,按其他相关指令执行。The data monitoring circuit performs related actions according to the instruction content. If the instruction is to end the operation, it will stop working and go to sleep. If the instruction is not received, it will be executed according to other related instructions.
(2.7)数据监测电路判断是否为线路配置指令,若有,继续进行步骤(2.9)判断是否停止数据监测指令,若否,转入执行步骤(2.5)等待用户操作,生成用户指令并下载至数据监测电路中。(2.7) The data monitoring circuit judges whether it is a line configuration command, if so, proceed to step (2.9) to judge whether to stop the data monitoring command, if not, go to the execution step (2.5) and wait for the user to operate, generate the user command and download it to the data monitoring circuit.
数据监测电路判断指令是否为线路配置指令。The data monitoring circuit judges whether the command is a line configuration command.
(2.8)映射物理线路驱动执行机构。(2.8) Map the physical line to drive the actuator.
数据监测电路中根据线路配置指令,配置接口控制电路;In the data monitoring circuit, the interface control circuit is configured according to the line configuration instruction;
(2.9)判断是否停止数据监测指令,若否,继续进行步骤(2.10)监听报文并开始计时,若是,结束运行。(2.9) Determine whether to stop the data monitoring command, if not, proceed to step (2.10) to monitor the message and start timing, if so, end the operation.
数据监测电路判断是否有数据监测指令,若没有,则停止工作,进入休眠,若有此指令,按相关程序执行;The data monitoring circuit judges whether there is a data monitoring command, if not, it will stop working and go to sleep, if there is such a command, execute according to the relevant program;
(2.10)数据监测电路监听报文并开始计时。(2.10) The data monitoring circuit monitors the message and starts timing.
数据监测电路根据协议信息监听报文,并开始计时;The data monitoring circuit monitors the message according to the protocol information, and starts timing;
(2.11)计算输入接口1~n监测统计结果。(2.11) Calculate the monitoring and statistical results of
数据监测电路根据监听得到的报文信息,统计出结果;The data monitoring circuit calculates the results according to the message information obtained by monitoring;
(2.12)数据监测电路通过串口RS232上传监测统计信息至上位机客户端软件。转入执行(2.9)判断是否停止数据监测指令,并继续判断是否有上位机客户端软件发出停止数据监测指令,若有,系统工作结束,若没有,继续执行(2.10)监听报文并开始计时。(2.12) The data monitoring circuit uploads monitoring statistics information to the host computer client software through the serial port RS232. Go to execution (2.9) to judge whether to stop the data monitoring command, and continue to judge whether there is an upper computer client software to issue a stop data monitoring command, if so, the system work is over, if not, continue to execute (2.10) to monitor the message and start timing .
数据监测电路将统计的结果通过串口RS232上传至上位机客户端软件,并监听是否有停止数据监测指令,若有此指令,继续监测,若没有此指令,判断是否有停止系统指令,并按指令执行相关动作;The data monitoring circuit uploads the statistical results to the host computer client software through the serial port RS232, and monitors whether there is a stop data monitoring command. If there is such a command, continue monitoring. If there is no such command, judge whether there is a stop system command and press the command perform relevant actions;
(2.13)监测线路移位至输入接口2~n。(2.13) The monitoring circuit is shifted to input interface 2~n.
数据监测电路开始监测输入接口2~n;The data monitoring circuit starts to monitor the input interfaces 2-n;
(2.14)终止线路监测。(2.14) Terminate line monitoring.
数据监测电路终止线路监测。The data monitoring circuit terminates line monitoring.
协议检测电路包括模拟开关、A/D采集电路和从控制器。Protocol detection circuit includes analog switch, A/D acquisition circuit and slave controller.
接口控制电路将输入接口1~n的信号输入到协议检测电路的模拟开关上,从控制器控制模拟开关,逐次将输入接口1~n中的各个引脚接入到A/D采集电路,并测量各个引脚电压值,保存所测的电压值数据。数据测量完成后,运行协议检测算法进行协议判断,并将检测出输入接口1~n所传输数据的类型判断结果数据发送到数据监测电路,数据监测电路通过串口RS232将判断结果反馈给上位机客户端软件。The interface control circuit inputs the signals of the input interfaces 1-n to the analog switch of the protocol detection circuit, controls the analog switch from the controller, and connects each pin of the input interfaces 1-n to the A/D acquisition circuit successively, and Measure the voltage value of each pin and save the measured voltage value data. After the data measurement is completed, run the protocol detection algorithm to judge the protocol, and send the type judgment result data of the detected data transmitted by the
协议检测流程:Protocol detection process:
(4.1)数据监测电路中的控制器自检。(4.1) The controller self-inspection in the data monitoring circuit.
数据监测电路启动自检,并将自检指令发给协议检测电路中的从控制器,并等待从控制器将自检结果反馈;The data monitoring circuit starts the self-test, sends the self-test instruction to the slave controller in the protocol detection circuit, and waits for the slave controller to feed back the self-test result;
(4.2)判断系统状态是否健康。若否,执行步骤(4.11)报警,并生成系统故障报文,若是,继续执行步骤(4.3)逐次接入输入接口1~n对应线路。(4.2) Determine whether the system status is healthy. If not, perform step (4.11) to alarm and generate a system failure message; if so, continue to perform step (4.3) to access the corresponding lines of
数据监测电路分析从协议检测电路反馈信息,结合自身自检结果,判断系统是否健康,若否,发出警报,若是,等待进一步指令。The data monitoring circuit analyzes the feedback information from the protocol detection circuit, combined with the self-test results, to determine whether the system is healthy, if not, an alarm is issued, and if so, it waits for further instructions.
(4.3)逐次接入输入接口1~n对应线路组(4.3) Access input interfaces 1~n corresponding to line groups one by one
在输入接口1~n中接入相关接插件。Connect the relevant connectors to the input interfaces 1~n.
(4.4)逐次采集输入接口1~n的各个引脚。(4.4) Each pin of the input interface 1-n is collected successively.
数据监测电路向协议检测电路中的从控制器发出启动指令,从控制器开始工作,控制模拟开关,逐次将输入接口1~n各个引脚接入到A/D采集电路,测量各个引脚电压值。The data monitoring circuit sends a starting command to the slave controller in the protocol detection circuit, and the slave controller starts to work, controls the analog switch, connects each pin of the
(4.5)判断输入接口1~n所有引脚采集是否完毕,若是,继续执行步骤(4.6)存储测量值并输入逻辑处理单元,若否,返回步骤(4.4)逐次采集测量引脚。(4.5) Determine whether the acquisition of all pins of
从控制器判断输入接口1~n各个引脚数据是否采集完毕,若是,储存数据,若否,继续控制模拟开关,采集剩余引脚数据。The slave controller judges whether the data of each pin of the
(4.6)从控制器存储测量值并输入逻辑处理单元。(4.6) The measured value is stored from the controller and input to the logic processing unit.
从控制器读取测量值。Read the measured value from the controller.
(4.7)判断输入接口1~n是否有信号,若有,继续执行步骤(4.8)计算分析测量值,检测通讯协议,若没有,返回步骤(4.3)逐次接入输入接口1~n各接插件对应线路组。(4.7) Determine whether there is a signal from the
从控制器处理测量值,并判断是测量值中是否有电压数据,若有,分析测量值,若没有,人工检查输入接口。Process the measured value from the controller, and judge whether there is voltage data in the measured value, if so, analyze the measured value, if not, manually check the input interface.
(4.8)从控制器计算分析测量值,检测通讯协议。(4.8) Calculate and analyze the measured value from the controller, and detect the communication protocol.
从控制器根据测量值信息,执行相应的检测运算,检测输入接口1~n的通讯协议。According to the measured value information, the slave controller executes the corresponding detection operation and detects the communication protocols of the input interfaces 1-n.
(4.9)编码测量结果,生成检测结果报文。(4.9) Encode the measurement results and generate a test result message.
从控制器将协议检测结果发到数据检测中;Send the protocol detection result from the controller to the data detection;
(4.10)编码测量结果,生成检测结果报文。(4.10) Coding the measurement results to generate a test result message.
由数据检测电路通过串口RS232将测量结果上传到上位机客户端软件中。The measurement results are uploaded to the host computer client software through the serial port RS232 by the data detection circuit.
(4.11)报警,并生成系统故障报文。(4.11) alarm and generate a system failure message.
数据检测电路发出警报,并根据故障类型生成故障报文。The data detection circuit sends out an alarm and generates a fault message according to the fault type.
数据监测电路包括多路开关、CAN收发器、串口收发器、429收发器、1553B收发器和主控制器。The data monitoring circuit includes a multi-way switch, a CAN transceiver, a serial port transceiver, a 429 transceiver, a 1553B transceiver and a main controller.
数据监测电路中的主控制器配置接口控制电路,选择具体的输入接口1~n,将其信号输入到接口控制电路上,根据之前协议检测的结果,将信号通过多路开关选通到对应的收发器上,主控制器通过收发器统计信号数据及速率,并将统计结果通过串口RS232上传给上位机客户端软件。The main controller in the data monitoring circuit configures the interface control circuit, selects the
数据监测工作流程依以下步骤进行处理:The data monitoring workflow is processed in the following steps:
(6.1)协议检测电路将检测到的输入接口1~n通讯协议,发送给数据监测电路,并由其上传。(6.1) The protocol detection circuit sends the detected communication protocols of the input interfaces 1 to n to the data monitoring circuit and uploads them.
数据监测电路中的主控制器将协议检测电路的检测结果通过串口RS232上传至上位机客户端软件;The main controller in the data monitoring circuit uploads the detection results of the protocol detection circuit to the host computer client software through the serial port RS232;
(6.2)上位机客户端软件解析检测结果报文,并通过软件显示。(6.2) The upper computer client software parses the test result message and displays it through the software.
上位机客户端软件解析协议检测结果报文之后显示结果;The upper computer client software analyzes the protocol detection result message and displays the result;
(6.3)用户选择监测线路,编码生成监测指令报文。(6.3) The user selects the monitoring line, encodes and generates a monitoring instruction message.
上位机客户端软件根据用户选择监测的输入接口1~n,将监测指令转换成串口指令格式;The client software of the upper computer converts the monitoring command into a serial port command format according to the
(6.4)下载串口指令报文至主控制器。(6.4) Download the serial command message to the main controller.
上位机客户端软件将串口指令通过串口RS232下载到主控制器中;The host computer client software downloads the serial port instructions to the main controller through the serial port RS232;
(6.5)主控制器解析监测指令,开始工作。(6.5) The main controller analyzes the monitoring instruction and starts working.
主控制器根据监测指令控制多路开关,选择协议检测电路的检测结果对应的收发器开始监测接口信号;The main controller controls the multi-way switch according to the monitoring instruction, and selects the transceiver corresponding to the detection result of the protocol detection circuit to start monitoring the interface signal;
(6.6)判断是否通讯错误。若否,则继续进行步骤(6.7)监听报文,并开始报文计算并计时,若是,依步骤(6.11)报警,并生成通讯故障报文。(6.6) Determine whether there is a communication error. If not, proceed to step (6.7) to monitor the message, and start message calculation and timing, if so, alarm according to step (6.11), and generate a communication failure message.
主控制器判断是否检测到通讯错误,若有错误,报警,并生成通讯故障报文,若没有通讯错误,开始监测报文;The main controller judges whether a communication error is detected, if there is an error, it will alarm and generate a communication failure message, if there is no communication error, start monitoring the message;
(6.7)主控制器监听报文,并开始报文计算并计时。(6.7) The main controller monitors the message, and starts message calculation and timing.
主控制根据工作的收发器监听报文,统计计数并计时;The main control monitors the message according to the working transceiver, counts and counts the time;
(6.8)主控制器计算线路通信统计结果,编码生成监测结果报文。(6.8) The main controller calculates the statistical results of line communication, and encodes and generates a monitoring result message.
主控制器根据统计的结果,将结果数据转换成串口指令;The main controller converts the result data into serial port instructions according to the statistical results;
(6.9)串口RS232上传监测报文至上位机客户端软件。(6.9) The serial port RS232 uploads the monitoring message to the host computer client software.
主控制器通过串口RS232将监测结果上传至上位机客户端软件;The main controller uploads the monitoring results to the host computer client software through the serial port RS232;
(6.10)主控制器判断是否终止监测,若否,则继续进行步骤(6.6)判断是否通讯错误,若是,监测结束。(6.10) The main controller judges whether to terminate the monitoring, if not, proceed to step (6.6) to judge whether there is a communication error, if so, the monitoring ends.
主控制器根据上位机客户端软件发送的指令判断是否为终止检测,若不是,继续判断接口是否通讯错误,若是,结束检测。The main controller judges whether the detection is terminated according to the instruction sent by the client software of the upper computer, if not, continues to judge whether the interface has a communication error, and if so, ends the detection.
(6.11)报警,并生成通讯故障报文(6.11) alarm and generate a communication failure message
主控制器判断存在通讯故障,开启报警,并通过串口RS232将通讯故障报文上传至上位机客户端软件。The main controller judges that there is a communication failure, turns on the alarm, and uploads the communication failure message to the client software of the host computer through the serial port RS232.
接口控制电路包括继电器阵列、多选一开关、通道选通控制电路。The interface control circuit includes a relay array, a multi-choice switch, and a channel gating control circuit.
用户通过上位机客户端软件,选择输入接口1~n与其他具体接口的通断及它们之间的连通情况,将指令通过串口RS232发送到数据监测电路的主控制器,主控制器接收到指令之后,解析并按指令改变继电器阵列,通过多选一开关将相应的接口联通或断开。Through the host computer client software, the user selects the on-off of the
接口控制电路工作流程依以下步骤进行处理:The workflow of the interface control circuit is processed in the following steps:
(8.1)用户操作上位机客户端软件配置接口连接。(8.1) The user operates the upper computer client software to configure the interface connection.
用户通过上位机客户端软件,选择输入接口1~n和其他具体接口的通断及它们之间的连通情况;Through the client software of the upper computer, the user selects the on-off of the input interfaces 1~n and other specific interfaces and the connection between them;
(8.2)编码生成接口配置指令报文。(8.2) Encoding generates an interface configuration instruction message.
上位机客户端软件根据用户接口选择,将指令转换成串口指令格式;The upper computer client software converts the command into a serial port command format according to the user interface selection;
(8.3)串口下载指令报文至主控制器。(8.3) The serial port downloads the instruction message to the main controller.
上位机客户端软件通过串口RS232将指令信息发送给主控制器;The upper computer client software sends the command information to the main controller through the serial port RS232;
(8.4)主控制器解析接口配置指令,生成接口配置映射逻辑表。(8.4) The main controller parses the interface configuration instruction and generates an interface configuration mapping logic table.
主控制器根据指令,配置接口控制电路,完成相关输入接口通断或相关输入接口之间的连接情况;The main controller configures the interface control circuit according to the instructions, and completes the on-off of the relevant input interfaces or the connection between the relevant input interfaces;
(8.5)接口控制电路驱动执行机构工作,改变接口状态。(8.5) The interface control circuit drives the actuator to work and changes the interface state.
接口控制电路根据主控制器指令,配置相关继电器阵列、多选一开关、通道选通控制电路按指令工作。The interface control circuit configures relevant relay arrays, multi-choice switches, and channel gating control circuits to work according to the instructions of the main controller.
(8.6)主控制器判断接口配置是否成功,若成功,则继续进行步骤(8.7)编码生成配置完成报文,若不成功,进入步骤(8.9)报警并生成配置失败文件。(8.6) The main controller judges whether the interface configuration is successful, if successful, then proceed to step (8.7) encoding to generate a configuration completion message, if not successful, enter step (8.9) to report to the police and generate a configuration failure file.
主控制器判断接口配置是否按指令进行,如是,测生成指令配置成功文件,若否,测报警并生成配置失败文件;The main controller judges whether the interface configuration is carried out according to the instruction, if yes, generates the command configuration success file, if not, detects the alarm and generates the configuration failure file;
(8.7)编码生成配置完成报文。(8.7) Encoding generates a configuration completion message.
主控制器生成配置完成报文,并转换成串口指令格式;The main controller generates a configuration completion message and converts it into a serial command format;
(8.8)串口上传报文至上位机。(8.8) The serial port uploads the message to the host computer.
主控制器通过串口RS232将配置完成报文上传至上位机客户端软件中,并在上位机客户端软件中显示。The main controller uploads the configuration completion message to the upper computer client software through the serial port RS232, and displays it in the upper computer client software.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102846007A CN102004474B (en) | 2010-09-16 | 2010-09-16 | Detection and controller for aircraft integration test general interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102846007A CN102004474B (en) | 2010-09-16 | 2010-09-16 | Detection and controller for aircraft integration test general interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102004474A true CN102004474A (en) | 2011-04-06 |
| CN102004474B CN102004474B (en) | 2012-05-30 |
Family
ID=43811895
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010102846007A Expired - Fee Related CN102004474B (en) | 2010-09-16 | 2010-09-16 | Detection and controller for aircraft integration test general interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102004474B (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103914031A (en) * | 2013-12-04 | 2014-07-09 | 哈尔滨安天科技股份有限公司 | RS-485 bus monitor probe circuit automatically adapting to various protocols |
| CN104020682A (en) * | 2013-02-28 | 2014-09-03 | 卡特彼勒公司 | Machine communication system and communication unit |
| CN104487962A (en) * | 2012-01-31 | 2015-04-01 | 湾流航空航天公司 | Methods and systems for aircraft health and trend monitoring |
| CN105763197A (en) * | 2014-12-19 | 2016-07-13 | 上海灿态信息技术有限公司 | Data converter for measuring device |
| CN105867190A (en) * | 2016-04-15 | 2016-08-17 | 北京博瑞爱飞科技发展有限公司 | Interface system and interface control method of unmanned aerial vehicle |
| CN105974824A (en) * | 2016-01-15 | 2016-09-28 | 中测新图(北京)遥感技术有限责任公司 | Universal control system of digital aerial photography system |
| US9725186B2 (en) | 2012-01-31 | 2017-08-08 | Gulfstream Aerospace Corporation | Methods and systems for requesting and retrieving aircraft data during flight of an aircraft |
| CN108415857A (en) * | 2018-03-01 | 2018-08-17 | 合肥威艾尔智能技术有限公司 | A kind of universal process method of serial data |
| CN111147104A (en) * | 2019-10-30 | 2020-05-12 | 南京林洋电力科技有限公司 | Modular intelligent fusion terminal and module interface matching method based on analog bus communication |
| CN112415299A (en) * | 2020-10-13 | 2021-02-26 | 中国运载火箭技术研究院 | Independent monitoring system, aerospace vehicle electrical system and monitoring method |
| CN113190291A (en) * | 2021-05-25 | 2021-07-30 | 电子科技大学 | Configurable protocol conversion system and method based on network-on-chip data acquisition |
| CN115767472A (en) * | 2021-09-03 | 2023-03-07 | 北京机械设备研究所 | Integrated monitoring system in airplane |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109839548A (en) * | 2017-11-24 | 2019-06-04 | 深圳市科比特航空科技有限公司 | Interface test method, apparatus and system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005086365A1 (en) * | 2004-03-02 | 2005-09-15 | Spartak Buniatyan | Portable universal data storage device |
| CN101171578A (en) * | 2005-06-08 | 2008-04-30 | 费希尔-罗斯蒙德系统公司 | Multi-protocol field device interface with automatic bus detection |
| US7715433B2 (en) * | 2006-07-14 | 2010-05-11 | Boren Gary W | Universal controller and signal monitor |
| CN201941981U (en) * | 2010-09-16 | 2011-08-24 | 西北工业大学 | Detection and control device for aircraft integrated universal test interface |
-
2010
- 2010-09-16 CN CN2010102846007A patent/CN102004474B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005086365A1 (en) * | 2004-03-02 | 2005-09-15 | Spartak Buniatyan | Portable universal data storage device |
| CN101171578A (en) * | 2005-06-08 | 2008-04-30 | 费希尔-罗斯蒙德系统公司 | Multi-protocol field device interface with automatic bus detection |
| US7715433B2 (en) * | 2006-07-14 | 2010-05-11 | Boren Gary W | Universal controller and signal monitor |
| CN201941981U (en) * | 2010-09-16 | 2011-08-24 | 西北工业大学 | Detection and control device for aircraft integrated universal test interface |
Non-Patent Citations (2)
| Title |
|---|
| 《电子设计应用》 20031101 徐箭等 一种智能多协议通信适配器的设计 45-47 1 , 第11期 2 * |
| 《电气传动》 20060220 王敏等 基于USB总线通信数据采集器的设计与实现 52-54 1 第35卷, 第07期 2 * |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104487962A (en) * | 2012-01-31 | 2015-04-01 | 湾流航空航天公司 | Methods and systems for aircraft health and trend monitoring |
| US9725186B2 (en) | 2012-01-31 | 2017-08-08 | Gulfstream Aerospace Corporation | Methods and systems for requesting and retrieving aircraft data during flight of an aircraft |
| CN104020682A (en) * | 2013-02-28 | 2014-09-03 | 卡特彼勒公司 | Machine communication system and communication unit |
| CN103914031B (en) * | 2013-12-04 | 2016-08-17 | 哈尔滨安天科技股份有限公司 | A kind of RS-485 bus monitoring probe circuit of self adaptation various protocols |
| CN103914031A (en) * | 2013-12-04 | 2014-07-09 | 哈尔滨安天科技股份有限公司 | RS-485 bus monitor probe circuit automatically adapting to various protocols |
| CN105763197B (en) * | 2014-12-19 | 2020-07-24 | 上海灿态信息技术有限公司 | Data converter for measuring equipment |
| CN105763197A (en) * | 2014-12-19 | 2016-07-13 | 上海灿态信息技术有限公司 | Data converter for measuring device |
| CN105974824A (en) * | 2016-01-15 | 2016-09-28 | 中测新图(北京)遥感技术有限责任公司 | Universal control system of digital aerial photography system |
| CN105867190A (en) * | 2016-04-15 | 2016-08-17 | 北京博瑞爱飞科技发展有限公司 | Interface system and interface control method of unmanned aerial vehicle |
| CN108415857A (en) * | 2018-03-01 | 2018-08-17 | 合肥威艾尔智能技术有限公司 | A kind of universal process method of serial data |
| CN111147104A (en) * | 2019-10-30 | 2020-05-12 | 南京林洋电力科技有限公司 | Modular intelligent fusion terminal and module interface matching method based on analog bus communication |
| CN112415299A (en) * | 2020-10-13 | 2021-02-26 | 中国运载火箭技术研究院 | Independent monitoring system, aerospace vehicle electrical system and monitoring method |
| CN113190291A (en) * | 2021-05-25 | 2021-07-30 | 电子科技大学 | Configurable protocol conversion system and method based on network-on-chip data acquisition |
| CN113190291B (en) * | 2021-05-25 | 2023-06-02 | 电子科技大学 | A configurable protocol conversion system and method based on network-on-chip data acquisition |
| CN115767472A (en) * | 2021-09-03 | 2023-03-07 | 北京机械设备研究所 | Integrated monitoring system in airplane |
| CN115767472B (en) * | 2021-09-03 | 2024-11-05 | 北京机械设备研究所 | An integrated monitoring system in an aircraft |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102004474B (en) | 2012-05-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102004474B (en) | Detection and controller for aircraft integration test general interface | |
| CN207281579U (en) | Distribution power automation terminal auto testing instrument | |
| CN111459138B (en) | Turnout fault testing system | |
| CN104682214B (en) | An intelligent power control box | |
| CN104569688B (en) | A kind of distribution terminal automatization test system and method | |
| CN201145714Y (en) | An electronic control module testing device and system | |
| CN102176140B (en) | Remote control controlled area network (CAN) bus testing device and method | |
| CN110942400B (en) | An automatic point-to-point method and device for an intelligent substation monitoring system | |
| CN102347786A (en) | Power line narrowband carrier field test device applied to low voltage centralized meter reading system | |
| CN103944787B (en) | The two net pattern handoff testing method of intelligent substation station level | |
| CN110632410B (en) | A kind of intelligent debugging system of intelligent substation automation equipment and application method thereof | |
| CN103941133B (en) | A kind of microminiature parallel processor Cable Testing System and method of testing | |
| CN207249015U (en) | Distribution power automation terminal remote auto test device | |
| CN105137958A (en) | Railway under-vehicle power supply main control board detection device and detection method | |
| CN201941981U (en) | Detection and control device for aircraft integrated universal test interface | |
| CN202773083U (en) | An automatic test system for movable terminals | |
| WO2012079729A2 (en) | Monitoring inverters in a photovoltaic system | |
| CN105357029B (en) | The determination method of intelligent substation communication link exception based on whole station information | |
| CN112217176A (en) | Transformer substation hard pressing plate state monitoring system, method and device | |
| CN101408771A (en) | Software automatic test system and method applicable to electronic type refrigerator | |
| CN202453435U (en) | Debug control device, debug execution device and debug system | |
| CN105044552A (en) | Fault diagnosis method, system and device for distribution network automation system | |
| CN106774234A (en) | The test platform of train central control unit | |
| CN205791792U (en) | A kind of telecontrol channel automatically diagnoses and initializes platform | |
| CN108828388A (en) | A kind of multi-core cable switching detection device and method based on Radio Transmission Technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| ASS | Succession or assignment of patent right |
Owner name: NANTONG JINNIU MACHINERY MANUFACTURE CO., LTD. Free format text: FORMER OWNER: NORTHWESTERN POLYTECHNICAL UNIVERSITY Effective date: 20141014 Owner name: NORTHWESTERN POLYTECHNICAL UNIVERSITY Effective date: 20141014 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 710072 XI'AN, SHAANXI PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE |
|
| TR01 | Transfer of patent right |
Effective date of registration: 20141014 Address after: 226600, Jiangsu province Nantong city Haian county old dam Town Industrial Park Patentee after: NANTONG JINNIU MACHINERY MANUFACTURE CO., LTD. Patentee after: Northwestern Polytechnical University Address before: 710072 Xi'an friendship West Road, Shaanxi, No. 127 Patentee before: Northwestern Polytechnical University |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120530 Termination date: 20190916 |