CN109753050A - A kind of Portable unmanned machine handling controller test macro and test method - Google Patents

A kind of Portable unmanned machine handling controller test macro and test method Download PDF

Info

Publication number
CN109753050A
CN109753050A CN201910077451.8A CN201910077451A CN109753050A CN 109753050 A CN109753050 A CN 109753050A CN 201910077451 A CN201910077451 A CN 201910077451A CN 109753050 A CN109753050 A CN 109753050A
Authority
CN
China
Prior art keywords
serial
serial ports
module
microcomputer
handling controller
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.)
Pending
Application number
CN201910077451.8A
Other languages
Chinese (zh)
Inventor
仇继伟
邵长海
曹春燕
童话
朱延青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aisheng Technology Group Co Ltd
Original Assignee
Northwestern Polytechnical University
Xian Aisheng Technology Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University, Xian Aisheng Technology Group Co Ltd filed Critical Northwestern Polytechnical University
Priority to CN201910077451.8A priority Critical patent/CN109753050A/en
Publication of CN109753050A publication Critical patent/CN109753050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention relates to a kind of Portable unmanned machine handling controller test macro and test methods, including test cabinet, control panel, two-way direct current power supply, Multi-serial port converter, micromainframe, touch screen etc., transit cable, serial ports selection function, serial ports control function, serial ports sending function, serial data receive capabilities composition.A kind of Portable unmanned machine handling controller test macro is a kind of human-computer interaction test interface based on Lab windows CVI too development, it can be automatically performed handling controller I/O signal collecting test, serial communication test, the test of temperature shock stress test, avoid original handling controller testboard there are equipment the disadvantage heavy, cumbersome, testing efficiency is low.Sufficient test expansion interface is greatly shortened handling controller mass test period, reduces labour cost, it can be achieved that 8 handling controllers of stress test process monitor simultaneously.

Description

A kind of Portable unmanned machine handling controller test macro and test method
Technical field
The invention belongs to aviation fields, are a kind of handling controller equipment detections for Aeronautics and Astronautics field System, in particular to a kind of Portable unmanned machine handling controller test macro.
Background technique
Handling controller is mainly made of power panel, Telemetry Data Acquisition plate, remote-control data transmission board, is mainly used in Data transmitting and processing between Aeronautics and Astronautics field aircraft and ground controlling terminal.Handling controller mainly completes data-link The decoding of uplink remote-control data coding and downlink telemetry data, the two respectively correspond the control instruction and unmanned plane of unmanned plane Current state.Therefore data encoding and decoded reliability be must assure that, is just able to achieve unmanned plane during flying safety and accurate control System.This just needs to guarantee the functional reliability of handling controller, uses standard according to aeronautical product, before product successful application It needs to test by multiple function and environmental suitability is tested.For industrial mass production, product hand over inspection before need into The a large amount of test job of row, the accuracy of test result and the performance for each depending on detection device of testing efficiency, therefore detect The superiority and inferiority of platform plays most important effect.Handling controller test is divided into room temperature test and temperature stress loop test, room temperature Test mainly sends including key switch instruction, code-disc and resistance simulation signal acquisition, serial data send and receive; Temperature stress circulation experiment needs for handling controller to be placed in high-low temperature chamber, and thermal cycler parameters are arranged according to test program, Upper electro-detection is carried out to handling controller during test, it is whether normal that main detection serial ports receives data.The original manipulation of our unit Controller test tooling is a handling controller power supply by external power supply, and handling controller passes through external tester Calculation machine serial ports carries out sending and receiving for serial data.Former test fixture panel integrates 32 way switch keys and two-way code-disc is believed Number input, pass through detection mouth transit cable realize on-off model and analog signal test.Former industrial installation device for testing dispersion, Heaviness is not easy to mobility test;Measuring and calculation machine only only has two-way serial ports simultaneously, therefore is once only capable of completing a behaviour The serial data of vertical controller sends and receives, and testing efficiency is low;When especially carrying out temperature stress circulation experiment, due to Cycle period requires to carry out to will cause a large amount of repetitive operations when mass test, when expending the labour of a large amount of human and material resources Between.Since handling controller is the control equipment that there is specific aim to use for our company, corresponding test macro there is no similar special Benefit, article are technical support.
Summary of the invention
Technical problem solved by the present invention is in order to overcome the drawbacks of the prior art, the present invention proposes a kind of portable behaviour Vertical controller test system is mainly made of hardware components and software human-computer interaction test interface.
The technical scheme is that a kind of Portable unmanned machine handling controller test macro, including power supply module, Operational module, multi-channel serial port converter, microcomputer and display module;Several handling controllers to be measured and power supply module connect It connects, operational module is integrated on control panel, and control panel is connected by aviation plug with several handling controllers to be measured; Multi-channel serial port converter passes sequentially through DB9 plug and transit cable and connect with several handling controllers to be measured;Microcomputer is logical It crosses multichannel serial converter to be communicatively coupled with display module, serial ports is sent and received into transmission data and is shown in display mould On block;Multi-channel serial port converter receives the signal issued from handling controller and is transmitted to microcomputer;Microcomputer will The serial data of transmission, which is passed through, is forwarded to handling controller with multi-channel serial port converter.
A further technical solution of the present invention is: the display module is a touch display screen, touch display screen is equipped with Electric power connecting mouth and USB interface, electric power connecting mouth are connect with power supply module, and USB interface is attached with microcomputer.
A further technical solution of the present invention is: the power supply module includes AC Power supply socket, power switch and two-way DC power supply;AC Power supply socket is powered after connecting external 220V AC power source for multi-channel serial port converter;Two-way direct current simultaneously The exchange 220v voltage of input is converted direct current+24V and+12V by power supply, wherein+24V voltage is several manipulation and controls to be measured Device power supply ,+12V are that microcomputer and touch screen are powered.
The further technical solution of the present invention is: the multi-channel serial port converter is uport-1650 serial ports MOXA card, can be incited somebody to action Former micromainframe serial ports is expanded to 16 tunnels.It is connect by USB port with microcomputer.
The further technical solution of the present invention is: further including test cabinet, for the installation of component and integrated including upper Lid, case body and handle;Upper cover side and case body side are hinged, and are cavity body inside case body, and side wall is equipped with handle;Case The through-hole for grafting aviation plug and the power hole for grafting AC Power supply socket are had with it;It is put inside case body Set two-way direct current power supply, microcomputer and control panel.
The further technical solution of the present invention is: the operational module includes serial ports selecting module, serial ports control module, string Mouth sending module and serial data receiving module;Serial ports selecting module is used to select the serial port of data transmission and reception;It is described Serial ports enable module for controlling the on and off of serial ports;The serial data sending module includes single channel serial ports hair It send and is sent simultaneously with multi-channel serial port;The serial data receiving module receives and multichannel string for controlling single channel serial data Mouth data receive simultaneously.
The further technical solution of the present invention is: the operational module includes serial ports selecting module, serial ports control module, string Mouth sending module and serial data receiving module, each functions of modules are realized common by multi-channel serial port converter and microcomputer Composition, wherein multi-channel serial port converter is that USB turns 16 road MOXA cards, and microcomputer is mini computer, microcomputer tool There are serial ports, all the way USB port all the way.Multi-channel serial port converter passes through USB cable for microcomputer itself serial ports expansion to 16 Road, by Microcomputer control extend the road 1-16 serial ports " opening ", " closing " and " transmission " of serial data, " reception ".
The further technical solution of the present invention is: the 220V AC power source inputs to Switching Power Supply and southern exposure power supply, passes through Corresponding power supply adaptor generates 12V respectively and 24V DC power supply exports, and wherein 12V power supply is that touch screen and micromainframe supply Electricity, 24V power supply are 8 handling controller power supplies.After micromainframe and touch screen power on, corresponding string is selected on control panel Slogan, and all serial ports are opened, and then each initialization of (a) serial ports can be completed by serial ports configuration function in software and be arranged, and led to It crosses serial ports and opens all serial ports that sentence opening micromainframe is extended through multi-channel serial port converter;By operating control panel On certain key or code-disc all the way, generate operational module switching value and Analog control electric signal, generation per electric signal all the way It is handled by handling controller and is converted to corresponding hexadecimal code value, by RS232 serial ports transit cable by the 16 of generation Binary data sends multi-channel serial port converter to, and is exported by multi-channel serial port converter and reach miniature calculating by USB cable Machine realizes serial data by Send and Receive function in cured CVI operating software in microcomputer respectively Send and receive function control.Language is finally read and write by serial ports by HDMI cable transmission and in touch screen by microcomputer Sentence realizes reading and the write-in functions of serial data, and the serial data received is shown in man-machine interface, and then in " string The variation of respective byte code value is observed in mouth sink block ".
The further technical solution of the present invention is: a kind of test method of Portable unmanned machine handling controller test macro, The following steps are included:
Step 1: when carrying out single channel and sending information by calling serial port setting and control statement, selected string is opened Mouthful, it calls serial ports to send function by microcomputer, serial ports inside the serial data write-in handling controller of transmission is read Resume module chip;
Step 2: when carrying out single channel and receiving information by calling serial port setting and control statement, selected string is opened Mouthful, by microcomputer call serial ports receiver function, by the data issued from handling controller by serial ports transit cable with Multi-channel serial port converter sends microcomputer to, and the serial data of reading is shown in selected serial ports sink block;
Step 3: when carrying out multichannel and sending information by calling serial port setting and control statement, all serial ports is opened, are led to Crossing microcomputer calls serial ports to send function, is then sending serial ports frame input transmission data, is clicking " all sending " control The serial data of transmission is written serial ports read module inside handling controller by microcomputer and handles chip by part;Step Four: when carrying out multipath reception information by calling serial port setting and control statement, opening all serial ports, pass through miniature calculating Machine calls serial ports receiver function, then " all receives " control in click, calls serial ports receiver function by microcomputer, The data issued from handling controller are sent to microcomputer by serial ports transit cable and multi-channel serial port converter, read The serial data taken is shown in all serial ports sink blocks.
Invention effect
The technical effects of the invention are that: to solve above original handling controller test fixture defect, improve test system System integrated level and testing efficiency, a kind of portable handling controller test macro proposed by the present invention can be completed at the same time 8 The room temperature test of handling controller, temperature stress circulation experiment, to improve handling controller debugging efficiency;Succinct people Machine interactive interface simplifies testing procedure, shortens test period.Portable cabinet Integration Design substantially reduces simultaneously Test fixture volume facilitates tester to carry out outfield fluidity testing.The present invention is directed to the defect of original test fixture, main The integrated innovation of hardware is carried out, software then carries out interface configuration using mature Lab windows CVI language.
The present invention can once complete 8 executor room temperature and the high and low temperature test simultaneously, can theoretically can imitate production Rate is improved to original 8 times, while by component integrated installation on test box, carries out outfield mobility convenient for operator Test.
Detailed description of the invention
Fig. 1 is handling controller test macro composition schematic diagram;
Fig. 2 is test cabinet structure chart;
Fig. 3 is operation panel schematic diagram;
Fig. 4 is man-machine test interface schematic diagram;
Fig. 5 is system connection relationship diagram;
In Fig. 1: 1: AC Power supply socket 2: power switch 3: two-way direct current power supply 4: handling controller 5: operation control surface Plate 6: aviation plug 7: multi-channel serial port converter 8:DB9 plug 9: microcomputer 10: touch screen 11: transit cable
Specific embodiment
Referring to Fig. 1-Fig. 5, the present invention provides a kind of Portable unmanned machine handling controller test macros, special in detail It levies as follows:
The present apparatus is mainly by test cabinet, control panel, Switching Power Supply, multi-serial-port card, micromainframe, touch screen etc., survey Try cable composition;Human-computer interaction interface is mainly by serial ports selecting module, serial ports control module, serial ports sending module, serial data Receiving module composition.As shown in Figure 1, test cabinet three-dimensional structure is shown in Fig. 2 institute to handling controller test macro composition schematic diagram Show, as shown in Figure 3, test interactive interface is as shown in Figure 4 for control panel schematic diagram.
Of the invention is technically characterized in that since former test fixture only only has two-way serial ports, is only capable of completing for one The serial data of handling controller sends and receives, and handling controller test macro of the present invention can be expanded using multi-serial-port card 16 road serial ports of Zhan Zhi, can complete the RS232 serial communication of 8 handling controllers, and wherein channel 1-8 is serial data reception Channel, channel 9-16 are serial data sendaisle.8 times are theoretically improved compared to more former test fixture testing efficiency, substantially Improve mass production efficiency;The unattended of temperature shock stress test process can also be completed simultaneously, may be implemented to test The preservation and output of data, are greatly saved human cost.It is set by each serial ports parameter of lab windows CVI Integrated Simulation It sets, the data that can control 8 road serial ports simultaneously send and receive.Software interface can choose single channel transmission and send out simultaneously with multichannel It send, single channel reception receives simultaneously with multichannel, level of integrated system height, strong operability.Hardware composition part of the present invention is by test box Module, power supply module, multi-serial communication module, operating unit module, data processing module, human-computer interaction module, test electricity Cable and external interface module.Operational module enables module, serial data sending module, serial ports number by serial ports selecting module, serial ports According to receiving module.The test box module is portable clamshell cabinet, is divided into upper cover and case body, the two passes through hinge It is connected with spring hanging buckle.Bottom of box installation Switching Power Supply and micromainframe are tested, side installation external interface connector is used for With external equipment power supply and data communication;Supporting plate is distributed with for installing and supporting operation panel along surrounding in cabinet top.Cabinet The back side is provided with power hole, for installing three hole ship type switch power receptacles.Position is equipped with handle among cabinet front panel, is convenient for Operator carries out the test of outfield mobility;The power supply module is made of a two-way direct current Switching Power Supply, will pass through electricity The exchange 220v voltage of source aperture input is converted into direct current 24v and 12v for modules power supply;The Multi-serial port is logical Letter module turns 16 road serial ports MOXA cards by USB and forms, and is connect by USB port with microcomputer and carries out serial ports with handling controller Communication;The operating unit module is mainly used for the input of I/O on-off model and analog signal and output controls.It is described Data processing module be mainly used for serial data processing and test interface software runtime environment support;The man-machine friendship Mutual module is used for the display and operation of human-computer interaction interface;The test cable and external interface module mainly completes outside The connection of equipment and test macro.The serial ports selecting module is used to select the serial port of data transmission and reception;Described Serial ports enables module for controlling the on and off of serial ports;The serial data sending module includes that single channel serial ports is sent It is sent simultaneously with multi-channel serial port;The serial data receiving module is for controlling the reception of single channel serial data and multi-channel serial port Data receive simultaneously.
By certain key or code-disc all the way on operation control panel 5, operational module switching value and Analog control are generated Electric signal, generation are converted to corresponding hexadecimal code value by the processing of handling controller 4 per electric signal all the way, pass through RS232 serial ports sends the hexadecimal data of generation to multi-channel serial port converter 7, and extremely by the output of multi-channel serial port converter 7 Microcomputer 9 is finally shown in the man-machine interface (attached drawing 4) of touch screen 10 by microcomputer 9 by USB, Jin Er The variation of respective byte code value is observed in " serial ports sink block ".
Each module connection relationship as shown in figure 5, first by 220V AC power source input to Switching Power Supply with towards positive electricity Source generates 12V by corresponding power supply adaptor respectively and 24V DC power supply exports, and wherein 12V power supply is 10 He of touch screen Micromainframe 9 is powered, and 24V power supply is that 8 handling controllers 4 are powered.After micromainframe 9 and touch screen 10 power on, in control surface Corresponding serial port is selected on plate, and opens all serial ports, and then can be completed in software by Com configure function each Initialization of (a) serial ports setting, and all strings that micromainframe 9 is extended through multi-channel serial port converter 7 are opened by Open Com sentence Slogan;By certain on operation control panel 5, key or code-disc, generation operational module switching value and Analog control are electric all the way Signal, generation are converted to corresponding hexadecimal code value by the processing of handling controller 4 per electric signal all the way, pass through RS232 Serial ports transit cable sends the hexadecimal data of generation to multi-channel serial port converter 7, and defeated by multi-channel serial port converter 7 Microcomputer 9 is reached by USB cable out, in microcomputer 9 in cured CVI operating software by Send with What Receive function realized serial data respectively sends and receives function control.HDMI electricity is finally passed through by microcomputer 9 Cable transmits and in touch screen 10, and reading and the write-in functions of serial data are realized by Read and Write function, will be received Serial data be shown on man-machine interface (attached drawing 4), and then observe respective byte code value in " serial ports sink block " Variation.
Internal system circuit connecting relation is as shown in Fig. 5, and AC Power supply socket 1 connects 220V alternating current, and is connected to electricity Source switch 2;It is connect by power switch 2 with two-way direct current power supply 3, to control the power supply of whole system;Handling controller 4 It being connect with+24V the power supply of two-way direct current power supply 3, control panel 5 is connected by aviation plug 6 with handling controller 4, thus Realize that the I/O between control panel 5 and handling controller 4, analog signal are transmitted;Multi-channel serial port converter 7 passes through DB9 plug 8, transit cable 11 is connect with handling controller 4, to realize that rs 232 serial interface signal transmits;The electricity of microcomputer 9 and touch screen 10 Source self brought line is connect with+the 12V of two-way direct current power supply 3, and microcomputer 9 is communicated with touch screen 10 by usb signal line Connection.Micromainframe 9 has two-way USB interface, wherein connecting all the way with Multi-serial port converter 7, micromainframe 9 passes through HDMI Cable is connect with touch screen 10.
It is as follows to send information process:
(1) when carrying out single channel transmission information, selected serial ports first is opened in operational module, and carry out initialization of (a) serial ports Parameter setting then selects the serial ports for the data of being sent in touch screen (10) man-machine interface (attached drawing 4) serial ports selection control Number, cured CVI software calls Com configure and Open Com function automatically in microcomputer (9), loads respectively The property parameters of selected serial port simultaneously open the serial ports;Then serial ports frame input transmission data are being sent, clicked " single channel transmission " Control is write the serial data of transmission by cured CVI software transfer Send in microcomputer (9) and Write function Enter the internal serial ports read module processing chip of handling controller (4).
(2) when carrying out single channel reception information, selected serial ports is opened in operational module, and carry out initialization of (a) serial ports ginseng Number setting then selects the serial ports for the data of being received in touch screen (10) man-machine interface (attached drawing 4) serial ports selection control Number, cured CVI software calls Com configure and Open Com function automatically in microcomputer (9), loads respectively The property parameters of selected serial port simultaneously open the serial ports;Then corresponding serial ports is clicked before serial ports sink block and receives control, is led to Cured CVI software transfer Receive function in microcomputer (9) is crossed, the data warp that will be issued from handling controller (4) It crosses serial ports transit cable and multi-channel serial port converter (7) is sent to microcomputer (9), it is cured in microcomputer (9) The serial data of reading is read display in touch screen (10) operation interface by HDMI cable by CVI software transfer Read function In selected serial ports sink block.
(3) all serial ports are opened in operational module when carrying out multichannel and sending information, and carries out initialization of (a) serial ports parameter and sets It sets, the then selection " opening serial ports " in touch screen (10) man-machine interface (attached drawing 4) selection control, in microcomputer (9) Cured CVI software calls Com configure and Open Com function automatically, loads the attribute ginseng of all serial ports respectively It counts and opens all serial ports;Then serial ports frame input transmission data are being sent, is clicking " all sending " control, passes through microcomputer Handling controller (4) are written in the serial data of transmission by cured CVI software transfer Send and Write function in calculation machine (9) Internal serial ports read module handles chip.
(4) when carrying out multipath reception information, all serial ports are opened in operational module, and carry out initialization of (a) serial ports parameter and set It sets, and controls serial ports and receive the data issued through handling controller, then be sent to microcomputer through multi-channel serial port converter. Specifically: selection " opening serial ports ", microcomputer (9) in touch screen (10) man-machine interface (attached drawing 4) serial ports selection control In cured CVI software call Com configure and Open Com function automatically, load the attribute of all serial ports respectively Parameter simultaneously opens all serial ports;Then control " is all received " in click, passes through cured CVI software in microcomputer (9) Receive function is called, the data that will be issued from handling controller (4) are by serial ports transit cable and multi-channel serial port converter (7) it sends to microcomputer (9), cured CVI software transfer Read function is by the serial ports of reading in microcomputer (9) Data are shown in all serial ports sink blocks of touch screen (10) operation interface by the reading of HDMI cable.
Man-machine test interface carries control by CVI and realizes man-machine interface using Lab windows CVI as development platform In the controls configuration such as " serial ports choice box ", " serial ports button on and off ", " serial ports sends and receives text box ";Pass through Com Configure function realizes that initialization of (a) serial ports setting, including the parameters such as serial communication baud rate, parity check bit, stop position are determined Justice;Serial ports control on and off is realized by Open Com and Close Com sentence;Pass through Send and Receive function point Not Shi Xian serial ports send and receive function control.Reading and the write-in functions of serial data are realized by Read and Write.
Referring to shown in attached drawing 1, carry out wiring connection to test macro: AC Power supply socket 1 connects 220V alternating current, and It is connected to power switch 2;It is connect by power switch 2 with two-way direct current power supply 3, to control the power supply of whole system;Manipulation control Device 4 processed is connect with+24V the power supply of two-way direct current power supply 3, and control panel 5 is connected by aviation plug 6 with handling controller 4 It connects, to realize the I/O between control panel 5 and handling controller 4, analog signal transmitting;Multi-channel serial port converter 7 passes through DB9 plug 8, transit cable 11 are connect with handling controller 4, to realize that rs 232 serial interface signal transmits;Microcomputer 9 and touch The power supply self brought line of screen 10 is connect with+the 12V of two-way direct current power supply 3, and microcomputer 9 and touch screen 10 pass through usb signal line It is communicatively coupled.
The test box module is portable clamshell cabinet, is mainly used for component installation and integrated, entire cabinet It is divided into upper cover and case body, the two is connected by hinge with spring hanging buckle.Tank thickness is 2mm, aluminum alloy material, light weight.Case Position is equipped with handle among body front panel, carries out the test of outfield mobility convenient for operator.Box house is divided into two layers and sets Meter, is separated box house by control panel 5, control panel is led to by being supported along the supporting plate that cabinet wall is arranged It crosses four screws control panel is fixed at four side feet of supporting plate;Bottom of box corresponding position is equipped with wandering nut use In the two-way direct current power supply 3 and micromainframe 9 of fixed bottom installation;Body side installs aviation plug 6 and is used for handling controller 4 power supply and data communication;Box back surface is provided with power hole, for installing three hole ship type switch power receptacles.
The power supply module is made of a two-way direct current power supply, the power supply for each module.Pass through box back surface AC Power supply socket 1 connects external communication 220V power supply, and 220 power supplys of exchange are directly that multi-channel serial port converter 7 is powered, two-way The exchange 220v voltage of input is converted direct current+24V and+12V by DC power supply 3, wherein+24V voltage is external control control Device 4 is powered, and+12V is that micromainframe 9 and touch screen 10 are powered.
The multi-serial communication module is made of multi-channel serial port converter 7, and multi-channel serial port converter 7 passes through USB interface It is connected with micromainframe 9, selected multi-channel serial port converter 7 is uport-1650 serial ports MOXA card, can be by former micromainframe serial ports It is expanded to 16 tunnels.It is connect by USB port with microcomputer 9, multi-channel serial port converter 7 receives the signal issued from manipulation and control 4 And it is transmitted to micromainframe 9;The serial data of transmission is passed through and is forwarded to manipulation and control with multi-channel serial port converter 7 by micromainframe 9 Device 4.Serial interface between Multi-serial port converter 7 and handling controller 4 is connected by DB plug 8, wherein the 2 of DB9 plug 8 Foot is that RXD is responsible for data receiver, and 3 feet are that TXD is responsible for data transmission, and 5 feet are the end signal GND.
The operating unit module is made of control panel 5, and control panel 5 is fixed in cabinet by mounting screw On the supporting plate of wall, panel is provided with corresponding component installation hole location, is used for 32 road key switches, 2 road code-discs, power switch, touching The installation of the components such as screen is touched, specific arrangement signal is shown in Figure 3.It is mainly used for I/O on-off model and analog signal Input is controlled with output.
The data processing module is made of micromainframe 9, and processing and the test interface for being mainly used for serial data are soft The support of part running environment.Micromainframe 9 has two-way USB interface, wherein connecting all the way with Multi-serial port converter 7, micromainframe 9 are connect by HDMI cable with touch screen 10.Micromainframe 9 is powered by the output+12V of two-way direct current power supply 3, is used 7 system of Windows can support the operation of Lab windows CVI software.
The human-computer interaction module is made of touch screen 10, and touch screen 10 is fixed on manipulation by four installation buckles It on panel, and is powered by the output+12V of DC power supply 3, using capacitive touch screen, Operational Figure Of Merit is higher.According to CVI The good software operation interface of configuration, displays it on touch screen panel on software, display and behaviour for human-computer interaction interface Make;
The test cable is made of with external interface module transit cable 11 and aviation plug 6, main to complete outside The connection of equipment and test macro.Due to the achievable 8 handling controllers test of single of the present invention, service cable interface It will be made into the mode of " one point eight " with test cable interface, i.e., be divided into 8 branches from output end and be coupled with 8 manipulation controls Device 4 processed.
The serial ports selecting module is used to select the serial port of data transmission and reception, and Multi-serial port converter 7 will be miniature 9 serial ports expansion of host is to 16 tunnels, wherein preceding 8 tunnel is for receiving serial ports, serial port 1-8;8 tunnels are for sending serial ports, serial ports afterwards Number be 9-16.It receives serial port baud rate and is set as 38400, sending serial port baud rate is 9600, and interface display is shown in Figure 4 Serial port options.
The serial ports enables module for controlling the on and off of serial ports, including " opening serial ports ", " fully open ", " all closing ", can control the on and off of certain road serial ports, can also control the shape on and off of all serial ports simultaneously State, while the display that serial ports sends data text frame and serial ports receives data text frame can be cleared up by " emptying data " frame Content enables item referring specifically to serial ports shown in Fig. 4.
The serial data sending module includes that the transmission of single channel serial ports is sent simultaneously with multi-channel serial port, when serial port selects For certain in 9-16 all the way serial ports when, click interface " transmission " button then only send current serial data to handling controller 4; Serial ports 9-16 data are sent to handling controller 4 simultaneously if selection " all sending ", send referring specifically to serial ports shown in Fig. 4 ?.
The serial data receiving module is received for controlling the reception of single channel serial data with multi-channel serial port data simultaneously, Serial port 1-8 is serial data reception, will show manipulation by the corresponding reception text box of click " reception of serial ports 1 " serial ports 1 16 binary datas that controller 4 is sent.Serial ports sink block can show 4 row, 16 column double byte data, when handling controller 4 adds After electricity, when pressing 32 road key switches of control panel or adjusting two rotation code-discs, associated byte can be shown pair in sink block The code value answered, referring specifically to serial ports receiving item shown in Fig. 4.
When carrying out single channel and sending information by calling serial port setting and control statement, selected serial ports is opened, is passed through Microcomputer (9) calls serial ports to send function, and the internal serial ports of serial data write-in handling controller (4) of transmission is read Resume module chip;When carrying out single channel and receiving information by calling serial port setting and control statement, selected string is opened Mouthful, serial ports receiver function is called by microcomputer (9), the data issued from handling controller (4) are transferred by serial ports Cable and multi-channel serial port converter (7) are sent to microcomputer (9), and the serial data of reading is shown in selected serial ports and connects It receives in frame;When carrying out multichannel and sending information by calling serial port setting and control statement, all serial ports are opened, by miniature Computer (9) calls serial ports to send function, is then sending serial ports frame input transmission data, is clicking " all sending " control, lead to Microcomputer (9) is crossed by the internal serial ports read module processing chip of serial data write-in handling controller (4) of transmission;When Pass through when multipath reception information and call serial port setting and control statement, opens all serial ports, pass through microcomputer (9) Serial ports receiver function is called, then control " is all received " in click, calls serial ports receiver function by microcomputer (9), The data issued from handling controller (4) are sent to miniature calculating by serial ports transit cable and multi-channel serial port converter (7) Machine (9), the serial data of reading are shown in all serial ports sink blocks.
System debug: present system debugging is mainly including the 32 road push button signallings test above control panel 5, two-way Code-disc signal testing, serial ports send and receive test.Wherein 32 road code-disc signals belong to switch order test, two-way code-disc letter Number belong to analog signal test, per key all the way and code-disc respective figure 4 in a certain byte hexadecimal generation in serial ports sink block Code is handled by handling controller 4 by certain key or code-disc all the way on operation control panel 5 and is sent to multi-channel serial port and turn Parallel operation 7, and exported by multi-channel serial port converter 7 to microcomputer 9, touching is finally shown in by USB by microcomputer 9 It touches in the man-machine interface (attached drawing 4) for shielding 10, and then observes the variation of respective byte code value in " serial ports sink block ".It is logical It is 16 road serial ports that 16 road serial converters 7, which are crossed, by the single channel serial ports expansion of microcomputer, and the road 1-8 is set as receiving by the present invention Serial ports, 9-16 are set as sending serial ports, control so as to realize that 8 road serial ports send to receive with 8 road serial ports simultaneously.Serial ports is sent Test is to send to instruct to handling controller 4 by microcomputer 9, since the code value of required transmission is identical, in attached drawing Only need to be arranged one " serial ports transmission frame " in 4 man machine operation interfaces.Serial ports transmission may be implemented single channel and send with 8 roads simultaneously It sends, is selected in the road 9-16 in " serial ports selection " frame in figure 4 all the way, and input to be sent out in " serial ports transmission frame " The hexadecimal code value sent, clicking " single channel transmission " button can be realized the data transmission of the road serial ports;At " serial ports transmission frame " The middle input hexadecimal code value to be sent, clicking " all sending " button can be realized the data transmission of 8 road serial ports, i.e., Microcomputer 9 sends serial ports instruction to 8 handling controllers 4 simultaneously.It is by control panel 5 or micro- that serial ports, which receives test, The external inputs such as type computer 9 show data in serial ports sink block after the processing of handling controller 4.To realize certain road Serial ports individual reception is tested and receives two kinds of functions of test simultaneously, certain may be selected all the way in setting in 4 man machine operation interface of attached drawing Serial data receives and 8 road serial datas receive both of which simultaneously.After serial ports is connected, by selecting 4 human-machine operation circle of attached drawing " serial ports reception " button all the way of certain in the road Mian Zhong 1-8 can monitor the reception data of certain serial ports all the way;It " is all connect by selection Receipts " button is while receiving 8 road serial datas.
The method of the present invention implementation process is complicated, relates generally to five key steps: Preparatory work of experiment, parameter setting, serial ports hair It send test, serial ports to receive test, stress test, wherein first carrying out room temperature test, carries out temperature stress experiment later.
Step 1: Preparatory work of experiment
1. system electrification: as shown in Figure 1 to system electrification, ac power plug 1 is connect
Logical 220v alternating current, presses power switch 2, detected respectively with multimeter two-way direct current power supply 3 output end whether For+24V and+12V, and the switch of Multi-serial port converter 4 is set to open state.2. connecting equipment: the just common switching electricity of voltage tester Handling controller 4 and test cabinet are attached by cable 11 by aviation plug 6.Transit cable 11 is the design of " 1 point 8 " formula, can To connect 8 handling controllers 4 simultaneously, every handling controller 4 itself has 4 aviation plugs 6, is respectively as follows: power port, string Row data port, two I/O data ports.It is arranged when connection by 4 number order of handling controller, to facilitate subsequent separate unit mould Formula test.It is configured with test, the input terminal and output end voltage of voltage reduction module 3, network relay 5.
Step 2: parameter setting
After touch screen is shown normally, to computer " management "-" equipment manager "-com port serial communication baud Rate is configured, and the road 1-8 serial ports is set as the road 38400,9-16 serial port baud rate and is set as 9600.Computer desktop CVI software is opened, As shown in figure 4, corresponding serial port-opening serial ports-is selected to empty reception frame data.
Step 3: serial ports sends test
Corresponding hexadecimal data is inputted as shown in figure 4, sending in frame in serial ports, when progress separate unit handling controller 4 When test, the serial port (should be in 9-16 all the way) for selecting the handling controller to be connected is clicked " opening serial ports ", that is, is beaten The transmission serial port currently selected is opened, " single channel transmission " button is clicked, i.e., the data sent in frame is sent to handling controller 4;When needing serial port 9-16 totally 8 road serial ports while when sending, sends and input the data to be sent in frame, click and " all send out Send " button, then 8 road serial ports are sent simultaneously.
Step 4: serial ports receives test
As shown in figure 4, pressing corresponding key or rotation code-disc on control panel, then according to institute's instruction to be tested It will receive hexadecimal data relevant to key command or code-disc instruction in serial ports sink block, after handling controller 4 is powered Serial ports sink block will receive the data of the transmission of handling controller 4 automatically, each, which receives frame data, 4 rows 16 column, when pressing Corresponding 16 system code value will change when a certain key.16 systems received according to the definition detection of each key command Whether code is correct.
Step 5: stress test
After the completion of room temperature test, temperature stress circulation experiment is carried out, handling controller 4 is put into high-low temperature chamber, is arranged The parameters such as " temperature cycle " of experimental box, " working time ", " cycle-index ", wherein " temperature cycle " represents high/low temperature circulation Total time, " working time " represented within the entire temperature cycles period, the working time that handling controller 4 is powered on.It sets up and follows After ring parameter, handling controller is powered up, and circulation step three, step 4 test content.

Claims (9)

1. a kind of Portable unmanned machine handling controller test macro, which is characterized in that including power supply module, operational module, more Road serial converter (7), microcomputer (9) and display module;Several handling controllers to be measured are connect with power supply module, manipulation Module is integrated on control panel (5), and control panel (5) is connected by aviation plug with several handling controllers to be measured;It is more Road serial converter (7) passes sequentially through DB9 plug (8) and transit cable (11) is connect with several handling controllers to be measured;It is miniature Computer (9) is communicatively coupled by multi-channel serial port converter (7) with display module, and serial ports is sent and received transmission data Display is on the display module;Multi-channel serial port converter (7) receives the signal issued from handling controller (4) and is transmitted to microcomputer Calculation machine (9);The serial data of transmission is passed through and is forwarded to handling controller with multi-channel serial port converter (7) by microcomputer (9) (4)。
2. a kind of Portable unmanned machine handling controller test macro as described in claim 1, which is characterized in that the display Module is a touch display screen (10), and touch display screen (10) is equipped with electric power connecting mouth and USB interface, electric power connecting mouth and confession Electric module connection, USB interface are attached with microcomputer (9).
3. a kind of Portable unmanned machine handling controller test macro as claimed in claim 1 or 2, which is characterized in that described Power supply module includes AC Power supply socket (1), power switch (2) and two-way direct current power supply (3);AC Power supply socket (1) is connected It powers after external 220V AC power source for multi-channel serial port converter (7);Two-way direct current power supply (3) is by the exchange 220v of input simultaneously Voltage is converted into direct current+24V and+12V, wherein+24V voltage is several handling controller (4) power supplies to be measured ,+12V is microcomputer Calculation machine (9) and touch screen (10) power supply.
4. a kind of Portable unmanned machine handling controller test macro as described in claim 1, which is characterized in that the multichannel Serial converter (7) is uport-1650 serial ports MOXA card, former micromainframe serial ports can be expanded to 16 tunnels.By USB port with Microcomputer (9) connection.
5. a kind of Portable unmanned machine handling controller test macro as described in claim 1, which is characterized in that further include surveying Cabinet is tried, for the installation of component and integrated, including upper cover (11), case body (12) and handle (13);Upper cover (11) side and Case body (12) side is hinged, and is cavity body inside case body (12), and side wall is equipped with handle (13);Case body is opened respectively on (12) There is the through-hole for grafting aviation plug and is used for the power hole of grafting AC Power supply socket (1);It is placed inside case body (12) double Road DC power supply (3), microcomputer (9) and control panel (5).
6. a kind of Portable unmanned machine handling controller test macro as described in claim 1, which is characterized in that the manipulation Module includes serial ports selecting module, serial ports control module, serial ports sending module and serial data receiving module;Serial ports selecting module For selecting the serial port of data transmission and reception;The serial ports enables module for controlling the on and off of serial ports;Institute The serial data sending module stated includes that the transmission of single channel serial ports is sent simultaneously with multi-channel serial port;The serial data receiving module It is received simultaneously for controlling the reception of single channel serial data with multi-channel serial port data.
7. a kind of Portable unmanned machine handling controller test macro as claimed in claim 6, which is characterized in that the manipulation Module includes serial ports selecting module, serial ports control module, serial ports sending module and serial data receiving module, and each functions of modules is real It is now collectively constituted by multi-channel serial port converter (7) and microcomputer (9), wherein multi-channel serial port converter (7) is that USB turns 16 tunnels MOXA card, microcomputer (9) are mini computer, and microcomputer (9) has serial ports, all the way USB port all the way.Multi-channel serial port Converter (7), by microcomputer (9) itself serial ports expansion to 16 tunnels, is controlled by microcomputer (9) and is expanded by USB cable " opening ", " closing " and " transmission " of serial data, " reception " of the road the 1-16 serial ports of exhibition.
8. a kind of Portable unmanned machine handling controller test macro as described in claim 1, which is characterized in that the 220V AC power source inputs to Switching Power Supply and southern exposure power supply, generates 12V and 24V DC power supply respectively by corresponding power supply adaptor Output, wherein 12V power supply is touch screen (10) and micromainframe (9) is powered, and 24V power supply is 8 handling controller (4) power supplies. After micromainframe (9) and touch screen (10) power on, corresponding serial port is selected on control panel, and open all serial ports, in turn Each initialization of (a) serial ports can be completed by serial ports configuration function in software to be arranged, and sentence is opened by serial ports and opens micromainframe (9) all serial ports extended through multi-channel serial port converter (7);Pass through certain key or code all the way in operation control panel (5) Disk, generates operational module switching value and Analog control electric signal, and generation is passed through at handling controller (4) per electric signal all the way Reason is converted to corresponding hexadecimal code value, is sent to the hexadecimal data of generation by RS232 serial ports transit cable more Road serial converter (7), and exported by multi-channel serial port converter (7) and microcomputer (9) are reached by USB cable, miniature The transmission of serial data is realized respectively and is connect by Send and Receive function in cured CVI operating software in computer (9) Receive function control.Finally pass through serial ports read-and-write statement by HDMI cable transmission and in touch screen (10) by microcomputer (9) Reading and the write-in functions for realizing serial data, the serial data received are shown in man-machine interface, and then " serial ports connects The variation of respective byte code value is observed in receipts frame ".
9. a kind of test method based on Portable unmanned machine handling controller test macro described in claim 1, feature exist In, comprising the following steps:
Step 1: when carrying out single channel and sending information by calling serial port setting and control statement, selected serial ports is opened, is led to Crossing microcomputer (9) calls serial ports to send function, and the internal serial ports of serial data write-in handling controller (4) of transmission is read Resume module chip;
Step 2: when carrying out single channel and receiving information by calling serial port setting and control statement, selected serial ports is opened, is led to Cross microcomputer (9) call serial ports receiver function, will from handling controller (4) issue data by serial ports transit cable with Multi-channel serial port converter (7) is sent to microcomputer (9), and the serial data of reading is shown in selected serial ports sink block;
Step 3: when carrying out multichannel and sending information by calling serial port setting and control statement, all serial ports are opened, by micro- Type computer (9) calls serial ports to send function, is then sending serial ports frame input transmission data, is clicking " all sending " control, The internal serial ports read module of serial data write-in handling controller (4) of transmission is handled into chip by microcomputer (9);
Step 4: when carrying out multipath reception information by calling serial port setting and control statement, all serial ports are opened, by micro- Type computer (9) calls serial ports receiver function, then " all receives " control in click, is called and gone here and there by microcomputer (9) Mouth receiver function transmits the data issued from handling controller (4) by serial ports transit cable and multi-channel serial port converter (7) It gives microcomputer (9), the serial data of reading is shown in all serial ports sink blocks.
CN201910077451.8A 2019-01-28 2019-01-28 A kind of Portable unmanned machine handling controller test macro and test method Pending CN109753050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910077451.8A CN109753050A (en) 2019-01-28 2019-01-28 A kind of Portable unmanned machine handling controller test macro and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910077451.8A CN109753050A (en) 2019-01-28 2019-01-28 A kind of Portable unmanned machine handling controller test macro and test method

Publications (1)

Publication Number Publication Date
CN109753050A true CN109753050A (en) 2019-05-14

Family

ID=66404924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910077451.8A Pending CN109753050A (en) 2019-01-28 2019-01-28 A kind of Portable unmanned machine handling controller test macro and test method

Country Status (1)

Country Link
CN (1) CN109753050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110988558A (en) * 2019-12-20 2020-04-10 京东方科技集团股份有限公司 Touch screen testing system and method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0053561A2 (en) * 1980-12-03 1982-06-09 René Lazare Automated and portable modular specific tester
CN101030160A (en) * 2006-03-02 2007-09-05 鸿富锦精密工业(深圳)有限公司 Tester and method for testing unified series interface command
CN101136139A (en) * 2007-09-06 2008-03-05 中兴通讯股份有限公司 Automatization test system and method simulating infrared remote-controller
CN201327675Y (en) * 2008-11-28 2009-10-14 中国航天空气动力技术研究院 Automatic comprehensive test instrument for avionic devices
CN103514136A (en) * 2012-06-27 2014-01-15 苏州工业园区新宏博通讯科技有限公司 Multi-serial port conversion device
CN104122885A (en) * 2014-07-15 2014-10-29 北京航空航天大学 422 bus solid-liquid power aircraft flying control testing system
CN205068149U (en) * 2015-10-21 2016-03-02 上海电控研究所 Steering control ware test equipment
CN106526388A (en) * 2016-12-20 2017-03-22 中国航天空气动力技术研究院 Test system and test method for airborne avionics device of unmanned aerial vehicle
CN106791826A (en) * 2017-03-02 2017-05-31 深圳创维-Rgb电子有限公司 A kind of test system, method and apparatus
CN107704406A (en) * 2017-10-31 2018-02-16 珠海全志科技股份有限公司 Chip testing exception monitoring device, method, computer equipment and storage medium
CN108241101A (en) * 2018-02-06 2018-07-03 中国航天空气动力技术研究院 Aircraft ground Auto-Test System based on Real Time Serial Communication
CN208298167U (en) * 2018-06-11 2018-12-28 湖北三江航天万峰科技发展有限公司 A kind of RS-422 bus test device based on embedded system
CN209343196U (en) * 2019-01-28 2019-09-03 西安爱生技术集团公司 A kind of Portable unmanned machine handling controller test macro

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0053561A2 (en) * 1980-12-03 1982-06-09 René Lazare Automated and portable modular specific tester
CN101030160A (en) * 2006-03-02 2007-09-05 鸿富锦精密工业(深圳)有限公司 Tester and method for testing unified series interface command
CN101136139A (en) * 2007-09-06 2008-03-05 中兴通讯股份有限公司 Automatization test system and method simulating infrared remote-controller
CN201327675Y (en) * 2008-11-28 2009-10-14 中国航天空气动力技术研究院 Automatic comprehensive test instrument for avionic devices
CN103514136A (en) * 2012-06-27 2014-01-15 苏州工业园区新宏博通讯科技有限公司 Multi-serial port conversion device
CN104122885A (en) * 2014-07-15 2014-10-29 北京航空航天大学 422 bus solid-liquid power aircraft flying control testing system
CN205068149U (en) * 2015-10-21 2016-03-02 上海电控研究所 Steering control ware test equipment
CN106526388A (en) * 2016-12-20 2017-03-22 中国航天空气动力技术研究院 Test system and test method for airborne avionics device of unmanned aerial vehicle
CN106791826A (en) * 2017-03-02 2017-05-31 深圳创维-Rgb电子有限公司 A kind of test system, method and apparatus
CN107704406A (en) * 2017-10-31 2018-02-16 珠海全志科技股份有限公司 Chip testing exception monitoring device, method, computer equipment and storage medium
CN108241101A (en) * 2018-02-06 2018-07-03 中国航天空气动力技术研究院 Aircraft ground Auto-Test System based on Real Time Serial Communication
CN208298167U (en) * 2018-06-11 2018-12-28 湖北三江航天万峰科技发展有限公司 A kind of RS-422 bus test device based on embedded system
CN209343196U (en) * 2019-01-28 2019-09-03 西安爱生技术集团公司 A kind of Portable unmanned machine handling controller test macro

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110988558A (en) * 2019-12-20 2020-04-10 京东方科技集团股份有限公司 Touch screen testing system and method

Similar Documents

Publication Publication Date Title
CN103257910B (en) Can be used for the embedded reconfigurable general-utility test platform of LXI of on-the-spot test
CN103186103B (en) Satellite-borne equipment simulator and whole star simulation system
CN106124888B (en) A kind of full-automatic adjustment method and system of microcomputer protective relay device
CN104699068A (en) Universal simulator for aircraft engines
CN103925853B (en) A kind of carrier rocket ground testing system device
CN209343196U (en) A kind of Portable unmanned machine handling controller test macro
CN204269340U (en) A kind of optical cable comprehensive tester
CN103809049B (en) A kind of distributor test board
CN109194491A (en) A kind of password evaluation and test pilot system and password evaluate and test test method
CN106020167B (en) A kind of anti-collision system test equipment and its test method based on gpib bus interface
CN113965501A (en) Communication navigation recognition system module test platform
CN201293943Y (en) Test and emulation integrated equipment for aerospace test
CN105261254B (en) A kind of virtual detection teaching platform in kind of long-distance opening aircraft electronic circuit half
CN109753050A (en) A kind of Portable unmanned machine handling controller test macro and test method
CN107861052B (en) Circuit board test box
CN103412808A (en) Satellite task subsystem testing equipment based on field programmable gate array (FPGA) architecture
CN203773022U (en) Universal optical coupler chip testing apparatus
CN107450528B (en) The mobile phone automatized test equipment of stationary nodes
CN204731634U (en) A kind of aviation landing system performance detection apparatus
CN201812005U (en) Performance test box and performance test system for analogue input/output (AI/O) module
CN209168452U (en) A kind of Portable unmanned machine training apparatus
CN110783009A (en) Automatic debugging device and method for high-temperature gas cooled reactor safety control system
CN207096361U (en) A kind of test device and system
CN204965047U (en) Embedded synthesis shows emulation instrument based on ARM
CN109085808A (en) The sub- equipment simulating device of intelligent substation assist control system and test method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221024

Address after: No.34, Fenghui South Road, Xi'an, Shaanxi 710065

Applicant after: Xi'an Aisheng Technology Group Co.,Ltd.

Address before: No.34, Fenghui South Road, high tech Zone, Xi'an, Shaanxi 710065

Applicant before: XI'AN AISHENG TECHNOLOGY GROUP Co.,Ltd.

Applicant before: Northwestern Polytechnical University

CB02 Change of applicant information
CB02 Change of applicant information

Address after: No.34, Fenghui South Road, Xi'an, Shaanxi 710065

Applicant after: Xi'an Aisheng Technology Group Co.,Ltd.

Applicant after: Northwestern Polytechnical University

Address before: No.34, Fenghui South Road, high tech Zone, Xi'an, Shaanxi 710065

Applicant before: XI'AN AISHENG TECHNOLOGY GROUP Co.,Ltd.

Applicant before: Northwestern Polytechnical University

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221128

Address after: No.34, Fenghui South Road, Xi'an, Shaanxi 710065

Applicant after: Xi'an Aisheng Technology Group Co.,Ltd.

Address before: No.34, Fenghui South Road, Xi'an, Shaanxi 710065

Applicant before: Xi'an Aisheng Technology Group Co.,Ltd.

Applicant before: Northwestern Polytechnical University