CN114578790A - Unmanned aerial vehicle flight control automatic test method, system, equipment and medium - Google Patents

Unmanned aerial vehicle flight control automatic test method, system, equipment and medium Download PDF

Info

Publication number
CN114578790A
CN114578790A CN202210213303.6A CN202210213303A CN114578790A CN 114578790 A CN114578790 A CN 114578790A CN 202210213303 A CN202210213303 A CN 202210213303A CN 114578790 A CN114578790 A CN 114578790A
Authority
CN
China
Prior art keywords
test
aerial vehicle
unmanned aerial
interface
flight control
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
Application number
CN202210213303.6A
Other languages
Chinese (zh)
Other versions
CN114578790B (en
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.)
Sichuan AOSSCI Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Aerofugia Technology Chengdu 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 Zhejiang Geely Holding Group Co Ltd, Aerofugia Technology Chengdu Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202210213303.6A priority Critical patent/CN114578790B/en
Publication of CN114578790A publication Critical patent/CN114578790A/en
Application granted granted Critical
Publication of CN114578790B publication Critical patent/CN114578790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an unmanned aerial vehicle flight control automatic test method, a system, equipment and a medium, wherein the method comprises the following steps: constructing a test interface corresponding to the test item according to the preset test item, and matching a data transmission protocol prestored by the processing terminal according to the test interface; the test interface is connected with the unmanned aerial vehicle flight control system, a test instruction is output according to a data transmission protocol matched with the test interface, and corresponding response data are obtained from the unmanned aerial vehicle flight control system; comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result; the invention can effectively improve the testing efficiency and reduce the labor cost.

Description

Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
Technical Field
The invention relates to the field of unmanned aerial vehicle technology application, in particular to an unmanned aerial vehicle flight control automatic test method, system, equipment and medium.
Background
At present, the unmanned aerial vehicle flight control finished product function test is generally performed manually by using equipment such as an oscilloscope, a CAN bus debugger and an 422/232 bus debugger by a tester and judges whether a product is bad, in the test process, the tester needs to be familiar with the use method of the instrument firstly and builds a hardware test environment, then reads and records the test result of the instrument, and compares the test result with a standard value in the test requirement, and manually takes out a series of actions such as a defective product, so that the whole test needs both an expensive instrument and a professional tester, the working efficiency is low, and the cost of an enterprise is also improved.
In the prior art, some automatic test equipment which needs to be matched with an upper computer for testing is also arranged, a tester needs to be skilled in mastering the operation of application software of the upper computer in the test process, and the requirement on the professional skill of the tester is still higher.
In addition, the test is finished by using the embedded software of the unmanned aerial vehicle flight control or other tested intelligent products or developing the embedded software special for the test again on the platform of the unmanned aerial vehicle flight control or other tested intelligent products, the test environment needs to be built in the former, the hardware fault of the tested equipment is easy to miss test in the latter, and the test reliability is reduced.
Disclosure of Invention
In view of the problems in the prior art, the invention provides a method, a system, equipment and a medium for testing the flight control of an unmanned aerial vehicle, and mainly solves the problem of low testing efficiency caused by dependence on manual work in the traditional method.
In order to achieve the above and other objects, the present invention adopts the following technical solutions.
An unmanned aerial vehicle flight control automatic test method comprises the following steps:
constructing a test interface corresponding to the test item according to the preset test item, and matching a data transmission protocol prestored by the processing terminal according to the test interface;
the test interface is connected with the unmanned aerial vehicle flight control system, a test instruction is output according to a data transmission protocol matched with the test interface, and corresponding response data are obtained from the unmanned aerial vehicle flight control system;
and comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result.
Optionally, the test interface includes: the device comprises a communication test interface, a sensor test interface and a debugging interface.
Optionally, constructing a test interface corresponding to the test item according to the preset test item, including:
the method comprises the steps of splitting test items according to preset test nodes, determining a data transmission mode of each test item according to the hardware setting of the unmanned aerial vehicle flight control system, and constructing a corresponding test interface according to the data transmission mode.
Optionally, the connection is established with the unmanned aerial vehicle flight control system through the test interface, and a test instruction is output according to a data transmission protocol matched with the test interface, including:
and judging whether the test interface is matched with a data transmission protocol contained in the processing end, if not, converting the corresponding test interface into a data interface matched with the data transmission protocol so as to read preset data in the data transmission protocol and output the preset data to the unmanned aerial vehicle flight control system.
Optionally, before acquiring the corresponding response data from the unmanned aerial vehicle flight control system, the method further includes:
arranging all test interfaces according to a preset test sequence, and constructing a test sequence with the test interfaces as nodes;
and acquiring corresponding response data from the unmanned aerial vehicle flight control system in sequence according to the sequence of the test sequence nodes, and completing the test of the corresponding nodes.
Optionally, comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result, where the comparing includes:
and displaying the test result through a display interface, and outputting preset early warning information when the test result is abnormal.
Optionally, the processing end includes an MCU.
An unmanned aerial vehicle flight control automatic test system, comprising:
the interface configuration module is used for constructing a test interface corresponding to the test item according to the preset test item and matching a data transmission protocol prestored by the processing terminal according to the test interface;
the data interaction module is used for establishing connection with the unmanned aerial vehicle flight control system through the test interface, outputting a test instruction according to a data transmission protocol matched with the test interface and acquiring corresponding response data from the unmanned aerial vehicle flight control system;
and the data comparison module is used for comparing the response data with the preset standard data of the data transmission protocol and outputting a test result.
An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the drone flight control autotest method.
A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the drone flight control automatic test method.
As described above, the method, the system, the device and the medium for automatic testing of unmanned aerial vehicle flight control have the following advantages.
The data transmission protocol matching of the test interface is completed according to the test items, the corresponding test instruction is automatically output according to the transmission protocol, the test comparison is completed, manual intervention is not needed, the test operation and the learning cost of manually operating the test equipment are simplified, and the test efficiency is greatly improved.
Drawings
Fig. 1 is a schematic flow chart of an automatic testing method for unmanned aerial vehicle flight control according to an embodiment of the present invention.
Fig. 2 is a block diagram of an automatic testing system for unmanned aerial vehicle flight control according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
FIG. 4 is a schematic structural diagram of an apparatus according to another embodiment of the present invention
Fig. 5 is a schematic structural diagram of a processing end according to an embodiment of the invention.
FIG. 6 is a schematic diagram of an automatic test process according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, the present invention provides an automatic testing method for flight control of an unmanned aerial vehicle, including the following steps:
step S01, constructing a test interface corresponding to the test item according to the preset test item, and matching a data transmission protocol pre-stored in the processing terminal according to the test interface;
step S02, establishing connection with the unmanned aerial vehicle flight control system through the test interface, outputting a test instruction according to a data transmission protocol matched with the test interface, and acquiring corresponding response data from the unmanned aerial vehicle flight control system;
and step S03, comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result.
The automatic testing method for unmanned aerial vehicle flight control is explained in detail below with reference to specific embodiments.
In step S01, a test interface corresponding to the test item is constructed according to the preset test item, and the data transmission protocol pre-stored by the processing terminal is matched according to the test interface.
In an embodiment, constructing a test interface corresponding to a test item according to a preset test item includes:
the method comprises the steps of splitting test items according to preset test nodes, determining a data transmission mode of each test item according to the hardware setting of the unmanned aerial vehicle flight control system, and constructing a corresponding test interface according to the data transmission mode.
Specifically, the test nodes and the connections between the test nodes may be set according to the test steps of the overall test process, the entire test flow may be represented in the form of test nodes, and each test node may correspond to one test item. The test parameters of each test node can be preset, the test parameters of the corresponding nodes are compared with the hardware parameters of the unmanned aerial vehicle flight control system to be tested, and the data transmission mode of the corresponding test items and the unmanned aerial vehicle flight control system to be tested is determined according to the comparison result. Illustratively, as the test item a, test parameters X1 and X2 are configured, and two sets of test parameters respectively represent two data transmission modes supported. And reading the hardware parameters of the unmanned aerial vehicle flight management system to be tested, and comparing the hardware parameters with the test parameters of the split test items to obtain matched test parameters for determining test interface data. The comparison process can be completed at the processing end, and the comparison result is displayed through the display terminal so as to guide the tester to select the test interface corresponding to each test item.
In one embodiment, the test interface may include: the device comprises a communication test interface, a sensor test interface, a debugging interface and the like. The communication test interface may include: a CAN bus communication test interface, a 422 communication test interface, a 232 communication test interface and the like. The sensor test interface may include a PWM signal test interface, or the like. The test of the flight control finished product CAN be divided into 5 test steps of CAN bus communication test, 422 bus communication test, 232 bus communication test, PWM signal test and sensor test. Each test step corresponds to one test item, and a corresponding test interface is configured for each test item, such as a CAN bus test interface corresponding to CAN bus communication test. And connecting the finished unmanned aerial vehicle to be tested through the test interface to finish test preparation work.
In step S02, a connection is established with the unmanned aerial vehicle flight control system through the test interface, a test instruction is output according to a data transmission protocol matched with the test interface, and corresponding response data is acquired from the unmanned aerial vehicle flight control system.
In one embodiment, the method for establishing connection with an unmanned aerial vehicle flight control system through the test interface and outputting a test instruction according to a data transmission protocol matched with the test interface includes:
and judging whether the test interface is matched with a data transmission protocol contained in the processing end, if not, converting the corresponding test interface into a data interface matched with the data transmission protocol so as to read preset data in the data transmission protocol and output the preset data to the unmanned aerial vehicle flight control system.
Specifically, please refer to fig. 5, the processing end may be a data processing module, and the data processing module establishes a connection with the unmanned aerial vehicle flight control through the communication interface module. The communication interface module may include a CAN interface circuit, a 422 interface circuit, a 232 interface circuit, a PWM interface circuit, a debug interface circuit, and the like. According to the matching result of the test steps, the corresponding interface is selected from the communication interface module to be connected with the unmanned aerial vehicle flight control, and the test of the designated test item or designated test flow is completed.
Further, the connected test interface is judged to be matched with a communication protocol pre-stored in the data processing module. If the CAN bus transmission protocol and the UART protocol are stored in the data processing module in advance, the CAN bus test interface is matched with the CAN bus transmission protocol, and data transmission CAN be directly carried out. Selecting specified data from the preset data content of the CAN bus transmission protocol prestored in the data processing module to generate a test instruction, sending the test instruction to the unmanned aerial vehicle flight control, waiting for receiving information fed back by the unmanned aerial vehicle flight control, judging whether the feedback information is matched with the protocol information, and if the feedback information is not met or not received after timeout, directly reporting an error and prompting a tester. If the 422 test interface and the 232 test interface are not matched with the communication protocol pre-stored in the data processing module, the 422 test interface and the 232 test interface can be converted into a UART interface, and data transmission is performed with the data processing module through the UART interface. The UART has a set of fixed communication protocol, can read data specified in the UART protocol to generate a test instruction and send the test instruction to the unmanned aerial vehicle flight control, and waits for feedback data to judge whether the feedback data is correct or not. Wherein, the feedback data is response data of the unmanned aerial vehicle aiming at the data processing module output data.
In an embodiment, before acquiring the corresponding response data from the unmanned aerial vehicle flight control system, the method further includes:
arranging all test interfaces according to a preset test sequence, and constructing a test sequence with the test interfaces as nodes;
and acquiring corresponding response data from the unmanned aerial vehicle flight control system in sequence according to the sequence of the test sequence nodes, and completing the test of the corresponding nodes.
Specifically, the test flow may be pre-entered into the data processing module, the data processing module sorts each accessed test interface according to the test sequence, and the corresponding test interface is automatically called according to the test flow.
In step S03, the response data is compared with the preset standard data of the data transmission protocol, and a test result is output.
In an embodiment, comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result includes: and displaying the test result through a display interface, and outputting preset early warning information when the test result is abnormal.
Referring to fig. 6, the specific testing process is as follows,
step 01, after the initialization of the processing end system is completed, sending an appointed CAN signal to the unmanned aerial vehicle flight control, judging whether the appointed CAN signal fed back by the unmanned aerial vehicle flight control is received or not, if the appointed CAN signal is not received, reporting a CAN test error, refreshing the content of a display interface, and entering step 02; if the fed back designated CAN signal is received, the test is displayed to pass, and the step 02 is entered;
step 02, the processing end sends a specified UART1 signal, judges whether a specified UART1 signal fed back by the unmanned aerial vehicle flight control is received, if not, reports 422 a communication test error, refreshes the content of a display interface, and enters step 03; if the specified UART1 signal fed back is received, the test is displayed to pass, and the step 03 is entered;
step 03, the processing end sends a specified UART2 signal, judges whether a specified UART2 signal fed back by the unmanned aerial vehicle flight control is received, if not, reports 232 a communication test error, refreshes display interface content, and enters step 04; if the specified UART2 signal fed back is received, the test is passed, and the step 04 is entered;
step 04, the processing end UART3 sends a PWM signal with specified frequency and duty ratio according to the protocol command of the non-air conditioner, collects the frequency and duty ratio of the PWM signal, judges whether the collected PWM frequency and duty ratio are consistent with the command, if not, reports a PWM test error, refreshes the content of a display interface, and enters step 05; if yes, entering step 05;
step 05, the UART3 reads the sensor parameters according to the non-air-conditioning protocol, judges whether the sensor parameters are in the standard value range required by the test, reports the test error of the sensor if the sensor parameters are not in the standard value range, and displays the result on the display interface; and if the test requirement is met, displaying that the test is passed, and completing the whole process test.
In one embodiment, the data processing module of the processing end may use MCU, SOC, etc. When the interface is required to be added for test item extension, only the corresponding test interface is required to be added in the communication interface module, and the interface conversion and the data transmission of the data processing module are completed through the conversion circuit, so that the test requirements of different unmanned aerial vehicle flight control products or other products can be met.
Aiming at the tests of communication interfaces such as CAN bus communication test, 422 bus communication test and 232 bus communication test, the full-automatic self-loop test has the advantage of high efficiency compared with the traditional test method of manually reading the bus communication content by matching a CAN bus debugger and an 422/232 bus debugger with an upper computer; in the whole testing process, the communication content is not required to be judged to be correct manually, the processing end automatically sends and receives the communication content and automatically judges whether the testing content is correct and directly feeds the testing content back to a tester to obtain a testing result; aiming at the PWM signal test, compared with the traditional method of manually reading PWM signal parameters by using an oscilloscope, the automatic analysis judgment test has the advantage of high efficiency; in the test process, manual reading and judgment of whether the parameters are correct are not needed, and the processing end automatically reads the frequency and the duty ratio of the PWM signals, judges whether the parameters are correct and directly feeds back the parameters to a test result of a tester. Aiming at the sensor test, the automatic analysis judgment test has the advantage of high efficiency compared with the traditional method of manually reading the sensor parameters by utilizing an upper computer.
Referring to fig. 2, the present embodiment provides an automatic testing system for unmanned aerial vehicle flight control, which is used for executing the automatic testing method for unmanned aerial vehicle flight control in the foregoing method embodiment. Since the technical principle of the system embodiment is similar to that of the method embodiment, repeated description of the same technical details is omitted.
In one embodiment, unmanned aerial vehicle flight control automatic test system includes:
the interface configuration module 10 is configured to construct a test interface corresponding to a preset test item according to the preset test item, and match a data transmission protocol pre-stored in the processing terminal according to the test interface; the data interaction module 11 is used for establishing connection with the unmanned aerial vehicle flight control system through the test interface, outputting a test instruction according to a data transmission protocol matched with the test interface, and acquiring corresponding response data from the unmanned aerial vehicle flight control system; and the data comparison module 12 is configured to compare the response data with the preset standard data of the data transmission protocol, and output a test result.
An embodiment of the present application further provides an apparatus, which may include: one or more processors; and one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of fig. 1. In practical applications, the device may be used as a terminal device, and the embodiment of the present application does not limit specific devices.
The embodiment of the present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of steps included in the unmanned aerial vehicle flight control automatic test method in fig. 1 according to the embodiment of the present application.
Fig. 3 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application. As shown, the terminal device may include: an input device 1100, a first processor 1101, an output device 1102, a first memory 1103, and at least one communication bus 1104. The communication bus 1104 is used to implement communication connections between the elements. The first memory 1103 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and the first memory 1103 may store various programs for performing various processing functions and implementing the method steps of the present embodiment.
Alternatively, the first processor 1101 may be, for example, a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and the processor 1101 is coupled to the input device 1100 and the output device 1102 through a wired or wireless connection.
Optionally, the input device 1100 may include a variety of input devices, for example, at least one of a user-oriented user interface, a device-oriented device interface, a software programmable interface, a camera, and a sensor. Optionally, the device interface facing the device may be a wired interface for data transmission between devices, or may be a hardware plug-in interface (e.g., a USB interface, a serial port, etc.) for data transmission between devices; optionally, the user-facing user interface may be, for example, a user-facing control key, a voice input device for receiving voice input, and a touch sensing device (e.g., a touch screen with a touch sensing function, a touch pad, etc.) for receiving user touch input; optionally, the programmable interface of the software may be, for example, an entry for a user to edit or modify a program, such as an input pin interface or an input interface of a chip; the output devices 1102 may include output devices such as a display, audio, and the like.
In this embodiment, the processor of the terminal device includes a function for executing each module of the speech recognition apparatus in each device, and specific functions and technical effects may refer to the above embodiments, which are not described herein again.
Fig. 4 is a schematic hardware structure diagram of a terminal device according to another embodiment of the present application. Fig. 4 is a specific embodiment of fig. 3 in an implementation process. As shown, the terminal device of the present embodiment may include a second processor 1201 and a second memory 1202.
The second processor 1201 executes the computer program code stored in the second memory 1202 to implement the method described in fig. 1 in the above embodiment.
The second memory 1202 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, such as messages, pictures, videos, and so forth. The second memory 1202 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, the first processor 1201 is provided in the processing assembly 1200. The terminal device may further include: communication components 1203, power components 1204, multimedia components 1205, audio components 1206, input/output interfaces 1207, and/or sensor components 1208. The specific components included in the terminal device are set according to actual requirements, which is not limited in this embodiment.
The processing component 1200 generally controls the overall operation of the terminal device. The processing assembly 1200 may include one or more second processors 1201 to execute instructions to perform all or part of the steps of the method illustrated in fig. 1 described above. Further, the processing component 1200 can include one or more modules that facilitate interaction between the processing component 1200 and other components. For example, the processing component 1200 can include a multimedia module to facilitate interaction between the multimedia component 1205 and the processing component 1200.
The power supply component 1204 provides power to the various components of the terminal device. The power components 1204 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia components 1205 include a display screen that provides an output interface between the terminal device and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 1206 is configured to output and/or input speech signals. For example, the audio component 1206 includes a Microphone (MIC) configured to receive external voice signals when the terminal device is in an operational mode, such as a voice recognition mode. The received speech signal may further be stored in the second memory 1202 or transmitted via the communication component 1203. In some embodiments, audio component 1206 also includes a speaker for outputting voice signals.
The input/output interface 1207 provides an interface between the processing component 1200 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
The sensor component 1208 includes one or more sensors for providing various aspects of status assessment for the terminal device. For example, the sensor component 1208 may detect an open/closed state of the terminal device, relative positioning of the components, presence or absence of user contact with the terminal device. The sensor assembly 1208 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact, including detecting the distance between the user and the terminal device. In some embodiments, the sensor assembly 1208 may also include a camera or the like.
The communication component 1203 is configured to facilitate communications between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the terminal device may include a SIM card slot therein for inserting a SIM card therein, so that the terminal device may log onto a GPRS network to establish communication with the server via the internet.
As can be seen from the above, the communication component 1203, the audio component 1206, the input/output interface 1207 and the sensor component 1208 in the embodiment of fig. 4 may be implemented as the input device in the embodiment of fig. 3.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Those skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An unmanned aerial vehicle flight control automatic test method is characterized by comprising the following steps:
constructing a test interface corresponding to the test item according to the preset test item, and matching a data transmission protocol prestored by the processing terminal according to the test interface;
the test interface is connected with the unmanned aerial vehicle flight control system, a test instruction is output according to a data transmission protocol matched with the test interface, and corresponding response data are obtained from the unmanned aerial vehicle flight control system;
and comparing the response data with the preset standard data of the data transmission protocol, and outputting a test result.
2. The unmanned aerial vehicle flight control automatic test method according to claim 1, wherein the test interface comprises: the device comprises a communication test interface, a sensor test interface and a debugging interface.
3. The unmanned aerial vehicle flight control automatic test method according to claim 1, wherein a test interface corresponding to a test item is constructed according to a preset test item, and the method comprises the following steps:
the method comprises the steps of splitting test items according to preset test nodes, determining a data transmission mode of each test item according to the hardware setting of the unmanned aerial vehicle flight control system, and constructing a corresponding test interface according to the data transmission mode.
4. The unmanned aerial vehicle flight control automatic test method according to claim 1, wherein the step of establishing connection with the unmanned aerial vehicle flight control system through the test interface and outputting a test instruction according to a data transmission protocol matched with the test interface comprises the steps of:
and judging whether the test interface is matched with a data transmission protocol contained in the processing end, if not, converting the corresponding test interface into a data interface matched with the data transmission protocol so as to read preset data in the data transmission protocol and output the preset data to the unmanned aerial vehicle flight control system.
5. The unmanned aerial vehicle flight control automatic test method according to claim 1, before acquiring the corresponding response data from the unmanned aerial vehicle flight control system, further comprising:
arranging all test interfaces according to a preset test sequence, and constructing a test sequence with the test interfaces as nodes;
and acquiring corresponding response data from the unmanned aerial vehicle flight control system in sequence according to the sequence of the test sequence nodes, and completing the test of the corresponding nodes.
6. The unmanned aerial vehicle flight control automatic test method according to claim 1, wherein comparing the response data with the data transmission protocol preset standard data and outputting a test result comprises:
and displaying the test result through a display interface, and outputting preset early warning information when the test result is abnormal.
7. The unmanned aerial vehicle flight control automatic test method according to claim 1, wherein the processing terminal comprises an MCU.
8. The utility model provides an unmanned aerial vehicle flies accuse automatic test system which characterized in that includes:
the interface configuration module is used for constructing a test interface corresponding to the test item according to the preset test item and matching a data transmission protocol prestored by the processing terminal according to the test interface;
the data interaction module is used for establishing connection with the unmanned aerial vehicle flight control system through the test interface, outputting a test instruction according to a data transmission protocol matched with the test interface, and acquiring corresponding response data from the unmanned aerial vehicle flight control system;
and the data comparison module is used for comparing the response data with the preset standard data of the data transmission protocol and outputting a test result.
9. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method recited by one or more of claims 1-7.
10. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the method of one or more of claims 1-7.
CN202210213303.6A 2022-03-04 2022-03-04 Unmanned aerial vehicle flight control automatic test method, system, equipment and medium Active CN114578790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210213303.6A CN114578790B (en) 2022-03-04 2022-03-04 Unmanned aerial vehicle flight control automatic test method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210213303.6A CN114578790B (en) 2022-03-04 2022-03-04 Unmanned aerial vehicle flight control automatic test method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN114578790A true CN114578790A (en) 2022-06-03
CN114578790B CN114578790B (en) 2024-05-14

Family

ID=81772837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210213303.6A Active CN114578790B (en) 2022-03-04 2022-03-04 Unmanned aerial vehicle flight control automatic test method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN114578790B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115755866A (en) * 2022-12-21 2023-03-07 杭州牧星科技有限公司 Unmanned aerial vehicle flies to control computer test system
CN115967660A (en) * 2022-08-18 2023-04-14 山东有人物联网股份有限公司 Method and device for testing CAN protocol conversion, terminal equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708074B1 (en) * 2000-08-11 2004-03-16 Applied Materials, Inc. Generic interface builder
EP1515204A2 (en) * 2003-08-21 2005-03-16 Lenze Drive Systems GmbH Drive system with decentralised intelligence
CN101212357A (en) * 2006-12-31 2008-07-02 亿阳信通股份有限公司 Interface testing method and device
CN102035673A (en) * 2010-12-02 2011-04-27 北京航空航天大学 Fiber channel-based general automatic test system
US20120232825A1 (en) * 2011-03-09 2012-09-13 Srinivas Patil Functional fabric-based test controller for functional and structural test and debug
CN103038751A (en) * 2010-05-28 2013-04-10 爱德万测试公司 Flexible storage interface tester with variable parallelism and firmware upgradeability
CN103685292A (en) * 2013-12-20 2014-03-26 哈尔滨工业大学 Universal device and method for protocol conversion
US20160170394A1 (en) * 2013-07-03 2016-06-16 Vega Grieshaber Kg Transfer apparatus for a measuring instrument and method for transferring raw data using a transfer apparatus
KR20160112846A (en) * 2015-03-20 2016-09-28 주식회사 뉴론웍스 Interface construction method and device for heterogeneous application protocol communication
CN109828936A (en) * 2019-01-28 2019-05-31 南京钛佳汽车科技有限公司 A kind of full style interface of automobile intelligent host
WO2019132095A1 (en) * 2017-12-27 2019-07-04 Htcsystem Co.,Ltd Interface apparatus and method of converting communication protocol
CN110071944A (en) * 2019-05-28 2019-07-30 山东盖特航空科技有限公司 A kind of multi-protocols adaptation device and method for winged ginseng equipment
CN209710118U (en) * 2019-05-28 2019-11-29 山东盖特航空科技有限公司 A kind of multi-protocols adaptation device for winged ginseng equipment
CN112286845A (en) * 2020-10-30 2021-01-29 重庆金美通信有限责任公司 Transmission line switching system supporting multiple devices and multiple interfaces
CN113238936A (en) * 2021-05-11 2021-08-10 中国船舶重工集团公司第七0九研究所 Extensible universal embedded software communication interface testing method and device
WO2021196410A1 (en) * 2020-04-03 2021-10-07 全球能源互联网研究院有限公司 Closed-loop test apparatus and test method for flexible direct-current valve based control device
CN113965501A (en) * 2021-09-30 2022-01-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Communication navigation recognition system module test platform

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6708074B1 (en) * 2000-08-11 2004-03-16 Applied Materials, Inc. Generic interface builder
EP1515204A2 (en) * 2003-08-21 2005-03-16 Lenze Drive Systems GmbH Drive system with decentralised intelligence
CN101212357A (en) * 2006-12-31 2008-07-02 亿阳信通股份有限公司 Interface testing method and device
CN103038751A (en) * 2010-05-28 2013-04-10 爱德万测试公司 Flexible storage interface tester with variable parallelism and firmware upgradeability
CN102035673A (en) * 2010-12-02 2011-04-27 北京航空航天大学 Fiber channel-based general automatic test system
US20120232825A1 (en) * 2011-03-09 2012-09-13 Srinivas Patil Functional fabric-based test controller for functional and structural test and debug
US20160170394A1 (en) * 2013-07-03 2016-06-16 Vega Grieshaber Kg Transfer apparatus for a measuring instrument and method for transferring raw data using a transfer apparatus
CN103685292A (en) * 2013-12-20 2014-03-26 哈尔滨工业大学 Universal device and method for protocol conversion
KR20160112846A (en) * 2015-03-20 2016-09-28 주식회사 뉴론웍스 Interface construction method and device for heterogeneous application protocol communication
WO2019132095A1 (en) * 2017-12-27 2019-07-04 Htcsystem Co.,Ltd Interface apparatus and method of converting communication protocol
CN109828936A (en) * 2019-01-28 2019-05-31 南京钛佳汽车科技有限公司 A kind of full style interface of automobile intelligent host
CN110071944A (en) * 2019-05-28 2019-07-30 山东盖特航空科技有限公司 A kind of multi-protocols adaptation device and method for winged ginseng equipment
CN209710118U (en) * 2019-05-28 2019-11-29 山东盖特航空科技有限公司 A kind of multi-protocols adaptation device for winged ginseng equipment
WO2021196410A1 (en) * 2020-04-03 2021-10-07 全球能源互联网研究院有限公司 Closed-loop test apparatus and test method for flexible direct-current valve based control device
CN112286845A (en) * 2020-10-30 2021-01-29 重庆金美通信有限责任公司 Transmission line switching system supporting multiple devices and multiple interfaces
CN113238936A (en) * 2021-05-11 2021-08-10 中国船舶重工集团公司第七0九研究所 Extensible universal embedded software communication interface testing method and device
CN113965501A (en) * 2021-09-30 2022-01-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Communication navigation recognition system module test platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
王兵;武杰;张杰;: "基于ARM的通信接口测试系统的开发", 核技术, no. 01, 10 January 2010 (2010-01-10), pages 10 - 14 *
赵鑫;岳青;易冬阳;韩春艳;: "通用接口协议测试工具设计", 通信技术, no. 11, 10 November 2018 (2018-11-10), pages 248 - 254 *
陈翔;贾建华;: "基于I~2C总线的射频前端通用测试适配器设计", 电子测量技术, no. 09, 15 September 2007 (2007-09-15), pages 171 - 175 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115967660A (en) * 2022-08-18 2023-04-14 山东有人物联网股份有限公司 Method and device for testing CAN protocol conversion, terminal equipment and storage medium
CN115967660B (en) * 2022-08-18 2024-05-03 山东有人物联网股份有限公司 Method, device, terminal equipment and storage medium for testing CAN protocol conversion
CN115755866A (en) * 2022-12-21 2023-03-07 杭州牧星科技有限公司 Unmanned aerial vehicle flies to control computer test system

Also Published As

Publication number Publication date
CN114578790B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN108566323B (en) T-Box automated testing method and system
CN105866575B (en) Vehicle-mounted display comprehensive testing device and testing method
CN114578790B (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
CN106776294B (en) Automatic android mobile phone testing method and system
CN105120483B (en) Automatic testing method and system for compatibility of smart card and mobile terminal
CN112839323A (en) Bluetooth device testing method and device, terminal and computer readable storage medium
CN111563042A (en) Wireless performance test system and method applied to Wi-Fi5 chip
CN112231163A (en) Multifunctional computer detection equipment and operation method thereof
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN114660436A (en) Chip testing equipment and chip testing method
CN204517822U (en) A kind of result with WIFI can be reviewed bluetooth and automatically be detected frock
CN108319516B (en) Test system and test method
CN113126993A (en) Automatic testing method and system applied to vehicle detection software
CN112181810A (en) TCN network-based intelligent bicycle debugging system
CN219266946U (en) Test board card and test system
CN111458592A (en) Automatic detection system for car lamp driving module
CN111901589A (en) Automatic test system for television mainboard
CN115712537A (en) Low-cost vehicle controller CAN signal simulation system
CN111352780B (en) Method and device for determining state of path and readable storage medium
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN114924546A (en) Calibration system and method for hardware-in-loop test
CN111596203B (en) Chip testing device, platform and method
CN113671932A (en) ECU offline testing device and method
CN112783708A (en) DTU hardware testing method, terminal and computer readable storage medium
CN111212281A (en) Video board detection method and detection device

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

Effective date of registration: 20230530

Address after: 610095 No. 601 and 602, block a, building 5, No. 200, Tianfu Fifth Street, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan

Applicant after: SICHUAN AOSSCI TECHNOLOGY Co.,Ltd.

Address before: 610000 China (Sichuan) pilot Free Trade Zone, Chengdu

Applicant before: Wofei Changkong Technology (Chengdu) Co.,Ltd.

Applicant before: ZHEJIANG GEELY HOLDING GROUP Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant