Detailed Description
The invention is further illustrated with reference to the following figures and examples.
The automatic testing system for the steering engine can simultaneously complete debugging of a plurality of groups of steering engines and real-time output of stress experiment data, so that the debugging efficiency and the testing precision of the steering engine are improved. The steering engine tester overcomes the defects of complex test, long test period, low test precision and the like of the original steering engine tester.
The steering engine automatic test system can complete the simultaneous power-on test of 16 groups of steering engines, the test efficiency can reach 16 times of that of the original steering engine detector theoretically, and the debugging period is greatly shortened; meanwhile, unattended operation in the temperature impact stress experiment process can be completed, the experiment data can be stored and output, and the labor cost is greatly saved. An angle sensor module is adopted to ensure the swing angle measurement precision of the rocker arm of the steering engine, the current swing angle value can be read out in real time through an interactive interface, and the current swing angle value is compared with an actual measurement value, so that the angle measurement precision is ensured.
The hardware of the invention consists of five units, namely a power supply control unit, a communication control unit, a steering engine execution unit, an angle feedback unit and a voice prompt unit; the software comprises a stress experiment module, a steering engine performance detection module and a data processing module.
The invention provides an automatic testing system for a steering engine of an unmanned aerial vehicle, which mainly comprises a hardware control cabinet and a software testing interactive interface, wherein the control cabinet is structurally shown in figure 1 and comprises a power supply wiring terminal, a two-way direct-current power supply, a voltage reduction module, an angle measuring module, a network relay module, a hub module, a CAN box analyzer, a steering engine set, a USB-to-RS 485 module, a voice module, a power amplifier board and a loudspeaker; the software testing function comprises a stress experiment module, a steering engine performance detection module and a data processing module.
The hardware platform of the test system comprises a power supply control unit, a communication control unit, a steering engine execution unit, an angle feedback unit and a voice prompt unit, wherein the power supply control unit comprises a power socket (1), a two-way direct current power supply (2), a voltage reduction module (3) and a network relay module in the figure 1, the network relay module is a 16-way network relay (5), the input end of the two-way direct current power supply (2) is connected with 220V alternating current through the power socket (1) and outputs two-way direct current, the two-way direct current power supply (2) is connected with the voltage reduction module (3) to reduce the voltage, required voltages are respectively provided for a steering engine group (6), a voice module (11), a power amplifier plate (12) and a loudspeaker (13), and power-on and power-off control of each steering engine of a steering engine group (6) is realized through the network; the communication control unit comprises a USB concentrator module (9), a CAN box analyzer module (4) and a USB-to-RS 485 module (10) in the figure 1, and is responsible for communication connection between each module and a computer, the CAN box analyzer module (4) is connected to the USB concentrator module (9), the input end of the USB concentrator (9) is connected with the computer (8), and the output port is respectively connected with a voltage reduction module (3), a 16-path network relay (5), the CAN bus protocol analyzer (4) and a voice module (11) through the USB-to-485 module (10); the steering engine execution unit is a steering engine set (6) in fig. 1, the steering engine set (6) comprises 16 steering engines, the 16 steering engines are respectively connected to each passage of the network relay module, the 16 steering engines are connected to a USB concentrator module (9) through a CAN box analyzer (4), the USB concentrator module (9) is connected to a computer (8), and the computer (8) and the CAN box analyzer (4) send control data to the steering engine set, so that the steering engine set is a final monitoring object of the whole test system; the angle feedback unit comprises an angle sensor (7) in fig. 1, one end of the angle sensor (7) is connected with the steering engine, the other end of the angle sensor is connected to a USB concentrator module (9) through a USB-to-RS 485 module (10) and then connected to a computer (8), the actual rotation angle of the rocker arm of the steering engine is measured through the angle sensor, and angle information is fed back to the computer (8) and then converted into a corresponding angle value; the voice prompt unit comprises a voice module (11), a power amplifier board (12) and a loudspeaker (13) in the figure 1, voice information is collected and output through the voice module (11), the power amplifier board (12) amplifies the power of the voice information, finally the loudspeaker (13) sends out the voice signal, and the voice prompt unit prompts the power-on state and the equipment number of an experimental steering engine, so that operation of experimenters is facilitated.
The power supply control unit is responsible for power supply control of the whole system and comprises a power socket (1), a two-way direct-current stabilized power supply (2), a voltage reduction module (3) and a 16-way network relay (5). The input end of the double-path direct current power supply (2) is connected with 220V alternating current through the power socket (1) to output two paths of +12V direct current and two paths of +24V direct current. The positive pole of the input end of the voltage reduction module (3) is connected with two paths of +24V serial connection of the two paths of direct current power supplies (2), namely the input is +48V, and the negative pole is connected with the COM end of the two paths of direct current power supplies (2). The direct-current voltage range of the output end is 0-46V, and the current is 0-15A, so that the bias test of the steering engine power supply is realized. 16 network relay (5) have 16 groups of normally open normally closed contacts, 16 network relay (5) all normally open contact 2 terminals carry out the short circuit and with step-down module (3) output positive pole connection, normally open contact 3 terminals are connected with steering wheel (6) respectively. And the normally open contact of the network relay is controlled to be closed through a program, so that the power-on state of the steering engine is controlled.
The communication control unit is responsible for testing data transmission and ensuring normal communication between each module and the computer. The USB hub comprises a USB hub module (9), a CAN box analyzer module (4) and a USB-to-RS 485 module (10). The input end of the USB concentrator (9) is connected with the computer (8), the output port is respectively connected with the voltage reduction module (3), the 16-path network relay (5), the CAN bus protocol analyzer (4) and the voice module (11) through the USB to 485 module (10), and data instructions are sent through the computer (8).
The steering engine execution unit is a monitoring object of the test system, and is composed of 16 steering engines (6), a single-mode cycle mode or a multi-mode cycle mode is selected when the function cycle test of the steering engines is carried out, a certain steering engine is debugged independently when the single-mode cycle mode is selected, and the simultaneous debugging of 16 groups of steering engines (6) can be completed under the multi-mode cycle mode.
The angle feedback unit measures the actual deflection angle of the rocker arm of the steering engine, measures the actual swing angle value through the angle sensor (7), feeds back the actual swing angle value to the computer (8) through the USB-to-RS 485 module (10) through the USB concentrator (9), and then converts the actual swing angle value into a corresponding angle value.
The voice prompt unit prompts the power-on state and the equipment number of the steering engine in an experiment, voice information is collected and output through the voice module (11), the power amplification board (12) amplifies the power of the voice signals, and finally the voice signals are sent out through the loudspeaker (13).
The software function modules of the test system are as follows: the stress experiment module can realize unattended operation of the steering engine temperature stress impact test process and automatically record experiment data. The steering engine performance detection module is used for performing functional parameter verification tests on the steering engine, and comprises a rudder deflection angle test, a power supply deflection test, a rotating speed test, a Mobil test and the like. The data processing module completes data storage and export of an experimental process and a testing process, and fault prediction is conveniently carried out on the steering engine through analysis of data.
The stress experiment module is designed for the temperature impact stress experiment of the aviation steering engine, and unattended operation of the steering engine temperature stress impact experiment process can be realized. In order to guarantee the environment experimental requirement of the steering engine of the unmanned aerial vehicle, the steering engine needs to be subjected to stress experiment before flying. The stress experiment belongs to a high-low temperature circulation experiment, parameters such as high-low temperature limit values, temperature holding time, temperature conversion time, circulation times and the like are set according to experiment requirements before the experiment, a computer (8) controls a 16-network relay (5) to output according to set time, namely, the 16-network relay (5) has output to electrify a steering unit (6) in a temperature holding time period, the 16-network relay (5) is switched off in the temperature conversion time period, and the steering unit (6) does not work. And setting the cycle times, namely the temperature conversion time and the temperature holding time as a complete period in the program, so that the rudder unit (6) works periodically.
Cyclic interface of system stress experiment: and starting a stress experiment computer (8) to automatically time, acquiring the current high-low temperature box temperature through a temperature sensor, and displaying the current high-low temperature box temperature on an experiment interface. And power-on/power-off control of a single steering engine and the whole steering engine set (6) is carried out, and when a power-on button is selected, channel output corresponding to the 16-network relay (5) is triggered, so that the connection between the steering engine and a power supply is switched on. The working current and voltage of the steering engine set (6) are collected through a voltage and current sensor, the steering engine power is obtained through a computer (8) according to the detected current value and steering engine working voltage, different steering engine IDs are selected through a software interface, and the steering engine set (6) automatically reads positive and negative polar angles, namely different steering engine ID values correspond to unique rocker arm swing positive and negative limit angles. And the computer (8) calculates the rotating speed of the steering engine according to the time consumed by the rocker arm of the steering engine to swing from the negative limit angle to the positive limit angle. In the stress experiment process, experimenters do not need to observe and record experimental data and states in real time, and only need to set stress cycle parameters.
the steering engine performance detection module is used for performing functional parameter verification tests on a steering engine, and comprises an angle test, a Mobil test and the like. The steering engine angle test comprises a circulation mode and a fixed angle mode, the circulation mode adopts square wave signals, and the steering engine rocker arm can realize circular swing from a negative limit angle to a positive limit angle; the fixed angle mode refers to selecting a certain angle in the angle control column, observing the actual swing angle of the rocker arm of the steering engine, and judging whether the swing angle of the rocker arm of the steering engine is within an error requirement range by comparing the detection result of the angle sensor with the angle measurement result of the pointer of the rocker arm. The angle change range of the fixed angle mode is-60 degrees to +60 degrees, and the angle change range is divided into continuous fine adjustment and discontinuous fine adjustment. When continuous fine adjustment is selected, the angle value can be adjusted and set every 1 degree; when discontinuous trimming is selected, one measurement is set every 10 °. The Songfu test refers to observing the state of the rocker arm when the steering engine is powered off, and simultaneously detecting whether the rocker arm of the steering engine can swing freely in the power-off state.
The data processing module can automatically store data of an experimental process and a test process, and can check and analyze the data of the experimental process through a data output option, so that fault prediction is facilitated. Meanwhile, a data clearing button is arranged, data clearing is firstly carried out before the steering engine is powered on every time, and software collapse caused by overshoot and overflow of original data at the moment of power on is prevented.
The implementation process of the method of the invention involves five main steps: experiment preparation, steering engine ID setting, fixed angle debugging, single mode circulation and multi-mode circulation, and the method comprises the following specific steps:
The method comprises the following steps: preparation of the experiment
An experimental circuit is connected as shown in fig. 1, a plug 1 is connected with 220v alternating current, and a universal meter is used for respectively detecting the voltages of the input end and the output end of a double-circuit direct current power supply 2, a voltage reduction module 3 and a network relay 5. The steering engine group 6 is arranged according to model numbers so as to be convenient for identification. And opening the computer 8 and the test software, and clearing the control level and the receiving level data instructions to prevent the software from being blocked due to data blockage when the steering engine is powered on.
Step two: setting parameters
After the steering unit (6) is powered on, ID setting is carried out on each steering engine, the steering angle ranges of different steering engine models are different, the ID setting is selected firstly, then the corresponding steering engine model is selected, and frame data information is checked in the frame ID. The frame ID data of each steering engine comprises two layers of meanings, wherein the first half section is steering engine address data and the second half section is limit angle data. And when the steering engine is subjected to primary ID setting, the minimum limit angle value is taken as a reference. And an ID address data storage function is arranged in each steering engine, and after the setting is finished, the computer is powered on next time to automatically identify data information of each steering engine and drive the steering engine to operate according to a specified limit angle. The steering engine CAN box analyzer (4) is connected to establish communication connection, and the steering engine set (6) transmits information such as the current swinging angle, the steering engine ID number, the rotating speed and the like to the computer (8) through the CAN box analyzer (4) in a CAN message form. According to the requirement of a power supply bias test, the voltage reduction module (3) adjusts the voltage output of the two-way direct-current power supply (2) to change within the range of +24V to +32V by setting the working voltage of the steering engine, so that the power supply bias test is realized.
Step three: fixed angle debugging
Firstly selecting ID setting, selecting a corresponding steering engine model, powering up a test steering engine, selecting a discontinuous fine adjustment button, firstly selecting a 'Shuifu' test in an angle control 1 on an interactive interface, and at the moment, enabling a steering engine unit (6) to be in a reset state and enabling a steering engine rocker arm to swing freely. The computer (8) sends corresponding can message angle data to the steering engine group (6), the steering engine group (6) receives the can message data and then the rocker arm swings, and whether the difference value between the actual swing measurement angle value of the rocker arm and the set angle is within the required error range is observed, so that the fixed angle mode test is realized. And selecting a continuous fine adjustment button, testing the swing angle of the rocker arm at intervals of 1 degree, and observing the reaction of the steering engine and the measured value of the angle sensor. And finally, selecting 'rotating speed test' on the interactive interface, respectively selecting plus and minus limit angles of plus and minus 40 degrees and plus and minus 25 degrees, enabling the rocker arm of the rudder unit (6) to swing at the plus and minus limits, and calculating a corresponding rotating speed value by recording the time taken for the rocker arm to swing from the positive limit position to the negative limit position. In order to ensure the working safety of the steering engine, the software in fixed angle debugging is provided with a steering engine overtravel self-protection function, even if the real limit angle of the steering engine is less than +/-60 degrees, when the error selection is +/-60 degrees, the steering engine can automatically execute the limit swing angle value set in the ID data of the first frame.
Step four: loop debug
the cycle test is a rectangular wave test and comprises a single mode cycle and a multi-mode cycle, wherein the single mode cycle can only control the power-on test of a single steering engine, and the multi-mode cycle can control the power-on cycles of all the steering engines. A single-mode circulation button is pressed, a corresponding test steering engine model is selected, the steering engine is powered up, a corresponding circulation swing angle range is selected in the angle control 2, the rocker arm of the steering engine can periodically swing back and forth in a positive polar angle range and a negative polar angle range, and data are output from an observation interface. And selecting a multi-mode circulation mode, pressing a power-on all button, selecting a certain circulation angle in the angle control 2, simultaneously executing reciprocating circulation instructions by all the steering engines, and displaying the control quantity of each steering engine in an output column.
Step five: stress test
Firstly, stress experiment parameter setting is carried out, wherein the stress experiment parameter setting comprises parameters such as a temperature period, working time and cycle times, wherein the temperature period represents the total high-low temperature cycle time, and the working time represents the working time of electrifying the steering engine in the whole temperature cycle period. After the circulation parameters are set, the steering engine is powered up, the stress experiment computer (8) is started to automatically time, and the experiment circulation times are recorded; the current high-low temperature box temperature is collected through a temperature sensor, and the current temperature is displayed in real time through an experimental interface; and the computer (8) returns the response by receiving the can message of the steering engine set (6) so as to obtain parameters such as the model number of the steering engine, the voltage current value, the angle values of the positive electrode and the negative electrode of the steering engine, the rotating speed value and the like. The soft buttons are controlled to trigger the channel output corresponding to the network relay 5 through the interface power-on and power-off control, and then the connection between the steering engine and the power supply is switched on, so that the power-on and power-off states of the whole stress experiment steering engine set (6) are controlled. The steering engine is placed in the high-low temperature box in the whole circulation, personnel monitoring is not needed, and experimental data can be automatically output.
step five: data processing
The computer (8) stores and derives the experimental data automatically stored by the test system to generate a corresponding time-angle curve, analyzes whether the performance of the steering engine reaches the standard or not, estimates the failure risk of the steering engine at the corresponding temperature according to the turning point and the jumping point in the temperature cyclic stress curve, and generates an evaluation data report.