CN117811982A - System and method for testing airborne equipment for unmanned aerial vehicle - Google Patents

System and method for testing airborne equipment for unmanned aerial vehicle Download PDF

Info

Publication number
CN117811982A
CN117811982A CN202311865147.2A CN202311865147A CN117811982A CN 117811982 A CN117811982 A CN 117811982A CN 202311865147 A CN202311865147 A CN 202311865147A CN 117811982 A CN117811982 A CN 117811982A
Authority
CN
China
Prior art keywords
instruction
airborne equipment
instruction data
interface
data packet
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
CN202311865147.2A
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.)
China Academy of Aerospace Aerodynamics CAAA
Original Assignee
China Academy of Aerospace Aerodynamics CAAA
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 China Academy of Aerospace Aerodynamics CAAA filed Critical China Academy of Aerospace Aerodynamics CAAA
Priority to CN202311865147.2A priority Critical patent/CN117811982A/en
Publication of CN117811982A publication Critical patent/CN117811982A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

  • Communication Control (AREA)

Abstract

The invention relates to the field of unmanned aerial vehicle airborne equipment testing, and particularly discloses an unmanned aerial vehicle airborne equipment testing system and method, wherein the system comprises the following steps: the signal receiving and transmitting device is used for providing a hardware interface for interconnection communication with external airborne equipment; the protocol configuration module is used for generating a protocol configuration file; the instruction generation module is used for generating an instruction data packet based on the protocol configuration file and sending the instruction data packet to the airborne equipment through the signal receiving and transmitting device; the instruction analysis module is used for receiving, analyzing, reorganizing and analyzing the instruction data sent by the airborne equipment based on the protocol configuration file and performing visual processing; and the man-machine interaction interface is used for providing a visual operation interface for each module. Compared with the traditional test system, the system provided by the invention has the advantages that corresponding communication protocols can be conveniently configured and defined according to different data interface types, communication can be carried out with airborne equipment outside the test system, interconnection of hardware layers is realized, and the practicability is high.

Description

System and method for testing airborne equipment for unmanned aerial vehicle
Technical Field
The invention relates to the field of airborne equipment testing for unmanned aerial vehicles, in particular to an airborne equipment testing system and method for an unmanned aerial vehicle.
Background
With the development of aerospace technology, the near space receives a great deal of attention due to the unique position of the near space, and the near space ultra-long-time unmanned aerial vehicle is one of the big research hotspots. When a conventional unmanned aerial vehicle performs tasks, the conventional unmanned aerial vehicle usually only has a period of hours or days, and the duration of the unmanned aerial vehicle in the nearby space with the ultra-long endurance is relatively longer, so that the unmanned aerial vehicle is widely applied to detection, communication relay and other directions, and the unmanned aerial vehicle has higher requirements on the weight, the communication rate, the communication bandwidth and the total amount of communication data of airborne equipment.
In the development process of the unmanned aerial vehicle, debugging and testing are an indispensable process, and the meeting conditions of indexes, functions and performances of each phase of the unmanned aerial vehicle can be fully verified only through detailed and sufficient testing, however, communication interfaces adopted by all airborne equipment of the unmanned aerial vehicle are inconsistent, even communication instruction formats are different, so that the testing work of the existing airborne equipment is generally carried out and carried out for single equipment, or an independent testing system is arranged for single equipment. In addition, for different communication buses and architectures, an independent data instruction protocol is usually designed, and for testing such special instructions, verification test is required to be performed in a manner of artificial framing, or an upper computer is developed to assist in testing, so that the workload of the methods is large, and great difficulty is added to the testing process. Therefore, a proper test system with multiple hardware data interfaces and multiple architectures and multiple protocol formats is developed for the unmanned aerial vehicle, and the test system has sufficient necessity.
Based on the technical background, the invention researches a system and a method for testing the airborne equipment of the unmanned aerial vehicle.
Disclosure of Invention
Compared with the traditional test system, the system and the method for testing the airborne equipment for the unmanned aerial vehicle can conveniently configure and define corresponding communication protocols aiming at different data interface types, can communicate with the airborne equipment outside the test system, realize interconnection of hardware layers, have stronger universality and can meet the requirements of multi-specialty tests.
To achieve the above object, a first aspect of the present invention provides an on-board equipment testing system for an unmanned aerial vehicle, including:
the signal receiving and transmitting device is used for providing a hardware interface for interconnection communication with external airborne equipment;
the protocol configuration module is used for generating a protocol configuration file;
the instruction generation module is used for generating an instruction data packet based on the protocol configuration file and sending the instruction data packet to the airborne equipment through the signal receiving and transmitting device;
the instruction analysis module is used for receiving, analyzing, reorganizing and analyzing the instruction data sent by the airborne equipment based on the protocol configuration file and performing visual processing;
and the man-machine interaction interface is used for providing a visual operation interface for each module.
A second aspect of the present invention provides a method for testing an onboard device for an unmanned aerial vehicle, which is performed in the above system, including:
providing a hardware interface for interconnection communication with external airborne equipment;
generating a protocol configuration file;
generating an instruction data packet based on the protocol configuration file, and sending the instruction data packet to airborne equipment through the signal receiving and transmitting device;
receiving, analyzing, reorganizing and analyzing instruction data sent by the airborne equipment based on the protocol configuration file, and performing visual processing;
and performing various operations on the human-computer interaction interface.
The beneficial effects of the invention include:
(1) Compared with the traditional test system, the test system for the unmanned aerial vehicle airborne equipment provided by the invention can conveniently configure and define corresponding communication protocols aiming at different data interface types, can communicate with the airborne equipment outside the test system, realizes interconnection of hardware layers, has stronger universality and can meet the requirements of multi-specialty tests.
(2) According to the method for testing the airborne equipment for the unmanned aerial vehicle, disclosed by the invention, the modularized design is adopted, the instruction is decomposed into a plurality of basic mappings, and the instruction templates can be freely edited and combined on line in a graphical mode aiming at a plurality of frame protocol formats, so that the operation is simple.
(3) The method for testing the airborne equipment for the unmanned aerial vehicle can generate corresponding instruction data packets in batches according to the configuration information, and solves the problem that manual framing is excessively complicated in the unmanned aerial vehicle testing and debugging process.
(4) According to the method for testing the airborne equipment for the unmanned aerial vehicle, provided by the invention, the automatic analysis of the instruction data packet is realized through the configuration information, meanwhile, the analyzed data code is analyzed according to the requirement, the result of the instruction data is displayed through a man-machine interaction interface, and the drawing and the comparison analysis can be performed according to the requirement.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 is a schematic diagram of the composition of the system for testing the on-board equipment for the unmanned aerial vehicle.
Fig. 2 is a schematic diagram of a configuration protocol information flow in a specific embodiment of the system for testing an on-board device for an unmanned aerial vehicle according to the present invention.
Fig. 3 is a schematic diagram of a test data packet generation flow in a specific embodiment of the system for testing an on-board device for an unmanned aerial vehicle according to the present invention.
Fig. 4 is a schematic diagram of a data packet receiving and analyzing flow in a specific embodiment of the system for testing an onboard device for an unmanned aerial vehicle according to the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in more detail below. While the preferred embodiments of the present invention are described below, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
The invention provides an onboard equipment testing system for an unmanned aerial vehicle, as shown in fig. 1, comprising:
the signal receiving and transmitting device is used for providing a hardware interface for interconnection communication with external airborne equipment;
the protocol configuration module is used for generating a protocol configuration file;
the instruction generation module is used for generating an instruction data packet based on the protocol configuration file and sending the instruction data packet to the airborne equipment through the signal receiving and transmitting device;
the instruction analysis module is used for receiving, analyzing, reorganizing and analyzing the instruction data sent by the airborne equipment based on the protocol configuration file and performing visual processing;
and the man-machine interaction interface is used for providing a visual operation interface for each module.
Compared with the traditional test system, the invention can conveniently configure and define corresponding communication protocols aiming at different data interface types, can communicate with airborne equipment outside the test system, realizes interconnection of hardware layers, has stronger universality and can meet the requirements of multi-specialty tests.
According to the invention, the hardware interfaces include an optical fiber interface, a serial interface, a CAN bus interface and a FlexRay bus interface.
The invention also provides a method for testing the airborne equipment of the unmanned aerial vehicle, which is carried out in the system and comprises the following steps:
providing a hardware interface for interconnection communication with external airborne equipment;
generating a protocol configuration file;
generating an instruction data packet based on the protocol configuration file, and transmitting the instruction data packet to the airborne equipment through the signal receiving and transmitting device;
receiving, analyzing, reorganizing and analyzing instruction data sent by the airborne equipment based on the protocol configuration file, and performing visual processing;
and performing various operations on the human-computer interaction interface.
According to the present invention, generating a protocol profile includes:
and establishing a plurality of basic mappings based on basic data definition and actual data content, combining the basic mappings into a data packet with a required protocol format, and storing the data packet as a configuration information file after data setting.
According to the invention, the data setting comprises setting the identification information code, the type information, the length information, the data content and the end identification code of the data packet;
the types of combinations include frame header, frame length, frame class information, data content, frame check information, and frame trailer of the analog data packet.
In the invention, the modularized design is adopted, the instruction is decomposed into a plurality of basic mappings, and the instruction templates can be freely edited and combined on line in a graphical mode aiming at a plurality of frame protocol formats, so that the operation is simple.
According to the present invention, generating an instruction data packet based on a protocol profile and transmitting the instruction data packet to an on-board device through a signal transceiver device includes:
the method comprises the steps that an instruction data packet is generated by an import protocol configuration file, and the instruction data packet is sent to airborne equipment through a physical port of a signal transceiver after being set;
and reading and receiving the transmitted data content through the physical port, and then performing verification judgment.
According to the method and the device, the corresponding instruction data packets can be generated in batches according to the configuration information, and the problem that manual framing is excessively complicated in the unmanned aerial vehicle testing and debugging process is solved.
Preferably, setting the instruction packet includes setting a usage class, a transmission port, a baud rate, a check bit, a transmission frequency, and a transmission number of the instruction packet.
According to the invention, the receiving, analyzing, reorganizing and analyzing the instruction data sent by the onboard equipment based on the protocol configuration file comprises the following steps:
importing a protocol configuration file, setting physical port and interface type information of instruction data, and receiving the instruction data sent by airborne equipment through a physical interface;
analyzing the received instruction data to obtain basic mapping, reorganizing and analyzing the basic mapping, and displaying the basic mapping in an image form.
Preferably, the received instruction data original code and the parsed instruction data content are stored in csv or txt format.
According to the invention, the data content which will be sent through the physical port is displayed in the man-machine interaction interface;
when the received instruction data is analyzed to obtain the basic mapping, the received instruction data is displayed in a man-machine interaction interface, and the basic mapping is distinguished by different colors.
According to the invention, the automatic analysis of the instruction data packet is realized through the configuration information, meanwhile, the analyzed data code is analyzed according to the requirement, the result of the instruction data is displayed through a man-machine interaction interface, and the drawing and the comparison analysis can be performed according to the requirement.
The present invention will be described in more detail with reference to examples.
Example 1:
the embodiment provides an airborne equipment testing system for an unmanned aerial vehicle, as shown in fig. 1, which is a basic architecture diagram of the testing system provided by the embodiment, and is provided with a signal transceiver, a protocol configuration module, an instruction generation module, an instruction analysis module and a human-computer interaction interface; the signal transceiver is provided with a plurality of different types of hardware interfaces, can communicate with airborne equipment outside the test system, and realizes interconnection of hardware levels; the protocol configuration module can set and edit specific contents of communication protocols of the airborne equipment, and can edit and freely reorganize configuration information on line in a modularized and graphical mode according to the communication protocols used by different interface types; the instruction generation module can automatically generate instruction data content in a corresponding form according to the set protocol format; the instruction analysis module can receive and analyze the instruction data content sent by the airborne equipment, recombine, compare and analyze the effective data in the instruction data content, and draw a corresponding curve according to the need; the man-machine interaction interface is the main interface of the system operation.
The basic operation flow of the method for testing the airborne equipment for the unmanned aerial vehicle in the embodiment is as follows: firstly, defining configuration information of a protocol data packet through a man-machine interaction interface, generating an independent data mapping relation by importing a configuration file or a newly-built mode, taking the independent data mapping relation as a basic unit, combining all basic units through a configuration module to enable the basic units to be in a preset standard protocol format, and then importing the configuration information into an instruction generation module and an instruction analysis module; the instruction generation module can automatically generate single or multiple groups of instruction data packets according to a standard protocol format defined in the configuration information, and parameter thresholds in the data packets can be modified; integrating the data packet into a standard form corresponding to the communication interface through the signal sending module, and transmitting the data packet to external equipment through the hardware interface; in the process of receiving data, a standard protocol format is defined in advance through a configuration information module, basic mapping is adopted as a basic unit, a plurality of basic units are combined and spliced in a graphical operation mode, the data type and the data parameter threshold value of each basic unit can be modified, data received through different hardware interfaces are processed through a signal receiving module and then are imported into an instruction analyzing module, decoding analysis is carried out according to the defined standard protocol format, a data packet is decomposed into independent frame information, and after identification information codes and check codes in a communication protocol are checked and removed according to the protocol, valid data bits are reserved, decoded according to the protocol and displayed in a man-machine interaction interface;
the protocol configuration module in the embodiment can realize the basic function of protocol format pre-configuration, has a file importing function, can load configuration file information into a system, and can also store the set configuration information as a configuration file;
in addition, a new mapping relation can be defined in the man-machine interaction interface by using a protocol configuration module, the mapping relation reflects the relation between the original code of a specific protocol information unit and the actual representation meaning, and can be defined for the type, the length and the threshold value of the information, after the corresponding mapping relation is configured, the splicing combination of the mapping relation can be carried out in a graphical mode in the system, and the combination type comprises but is not limited to the frame head, the frame length, the frame type information, the data content, the frame check information, the frame tail and the like of the data packet; as shown in fig. 2, for the basic flow of the system configuration protocol format, if the configuration information file is not imported, a plurality of basic mappings can be newly established, and each of the mapped information is filled and supplemented, after the information of category, threshold and the like is specified, the information can be freely combined into the required protocol format in the system, then a group of analog data packets can be generated by one key so as to check whether the required protocol standard is met, and finally the correctly set data packet format can be saved as the configuration information file for the next use;
the specific function of the instruction generating module in the embodiment is to generate a corresponding data packet according to the configured protocol format information, then convert specific parameter information and data content of the data packet into a preset format, send the data packet to external equipment through physical interfaces such as optical fibers, serial ports, CAN, flexRay and the like installed in the system, and monitor and check the actually sent data through internal interfaces; the specific operation flow is shown in fig. 3, a configuration file is first imported, then specific data packet information such as the use category, the sending port, the baud rate, the check bit, the sending frequency, the sending quantity and the like of the data packet is set, then the content of the data packet which is simulated to be sent is displayed in a man-machine interaction interface, the content of the data packet can be sent out through a selected physical port after being confirmed without errors, and meanwhile the physical port reads and receives the data content and performs check judgment according to protocol content;
the instruction parsing module in the embodiment mainly decodes the data information packet received in the signal receiving and transmitting device according to a preset configuration format, and visualizes the detailed content of the decoded data information in the man-machine interaction interface; as shown in fig. 4, a specific flow of data packet receiving and analyzing is shown, firstly, a configuration file needs to be imported or set, then, physical ports and interface type information of the data packet need to be set, then, the data packet sent by external equipment is received through physical interfaces such as optical fiber, serial port, CAN, flexRay bus and the like in a system, and analyzed according to a preset mode, the content of the data packet is displayed in a man-machine interaction interface, the analyzed basic mapping is distinguished according to rules and different colors, meanwhile, the meaning of the data content is analyzed according to protocol content, the actual meaning is displayed in the interface, different data CAN be selected in an operation interface, and the data is displayed in an image form, so that comparison and observation are convenient; in addition, all received original data codes and analyzed data contents can be stored in the formats of csv, txt and the like.
Compared with the traditional test system, the test system for the unmanned aerial vehicle airborne equipment provided by the embodiment of the invention can conveniently configure and define corresponding communication protocols aiming at different data interface types, can communicate with the airborne equipment outside the test system, realizes interconnection of hardware layers, has stronger universality and can meet the requirements of multi-specialty tests.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described.

Claims (10)

1. An on-board equipment testing system for an unmanned aerial vehicle, comprising:
the signal receiving and transmitting device is used for providing a hardware interface for interconnection communication with external airborne equipment;
the protocol configuration module is used for generating a protocol configuration file;
the instruction generation module is used for generating an instruction data packet based on the protocol configuration file and sending the instruction data packet to the airborne equipment through the signal receiving and transmitting device;
the instruction analysis module is used for receiving, analyzing, reorganizing and analyzing the instruction data sent by the airborne equipment based on the protocol configuration file and performing visual processing;
and the man-machine interaction interface is used for providing a visual operation interface for each module.
2. The system of claim 1, wherein the hardware interface comprises a fiber optic interface, a serial interface, a CAN bus interface, and a FlexRay bus interface.
3. A method of testing on-board equipment for a drone in a system according to any one of claims 1-2, comprising:
providing a hardware interface for interconnection communication with external airborne equipment;
generating a protocol configuration file;
generating an instruction data packet based on the protocol configuration file, and sending the instruction data packet to airborne equipment through the signal receiving and transmitting device;
receiving, analyzing, reorganizing and analyzing instruction data sent by the airborne equipment based on the protocol configuration file, and performing visual processing;
and performing various operations on the human-computer interaction interface.
4. The method of claim 3, wherein generating a protocol profile comprises:
and establishing a plurality of basic mappings based on basic data definition and actual data content, combining the basic mappings into a data packet with a required protocol format, and storing the data packet as a configuration information file after setting the data.
5. The method of claim 4, wherein setting the data comprises setting an identification information code, type information, length information, data content, and an end identification code of a data packet;
the types of the combination include frame header, frame length, frame class information, data content, frame check information, and frame trailer of the analog data packet.
6. The system of claim 5, wherein generating an instruction packet based on the protocol profile and transmitting the instruction packet to an on-board device via the signaling device comprises:
importing the protocol configuration file to generate an instruction data packet, and sending the instruction data packet to airborne equipment through a physical port of the signal transceiver after setting the instruction data packet;
and reading and receiving the transmitted data content through the physical port, and then performing verification judgment.
7. The system of claim 6, wherein setting the instruction packet includes setting a usage class, a transmission port, a baud rate, a check bit, a transmission frequency, and a transmission number of the instruction packet.
8. The method of claim 7, wherein receiving, parsing, reorganizing, analyzing, and visualizing instruction data sent by an on-board device based on the protocol profile comprises:
importing the protocol configuration file, setting physical port and interface type information of instruction data, and receiving the instruction data sent by the airborne equipment through a physical interface;
analyzing the received instruction data to obtain basic mapping, reorganizing and analyzing the basic mapping, and displaying the basic mapping in an image form.
9. The method of claim 8, wherein the received instruction data source code, and the parsed instruction data content are stored in csv or txt format.
10. The method of claim 9, wherein the data content to be transmitted through the physical port is displayed in a human-machine interaction interface;
when the received instruction data is analyzed to obtain the basic mapping, the received instruction data is displayed in a man-machine interaction interface, and the basic mapping is distinguished by different colors.
CN202311865147.2A 2023-12-29 2023-12-29 System and method for testing airborne equipment for unmanned aerial vehicle Pending CN117811982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311865147.2A CN117811982A (en) 2023-12-29 2023-12-29 System and method for testing airborne equipment for unmanned aerial vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311865147.2A CN117811982A (en) 2023-12-29 2023-12-29 System and method for testing airborne equipment for unmanned aerial vehicle

Publications (1)

Publication Number Publication Date
CN117811982A true CN117811982A (en) 2024-04-02

Family

ID=90421714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311865147.2A Pending CN117811982A (en) 2023-12-29 2023-12-29 System and method for testing airborne equipment for unmanned aerial vehicle

Country Status (1)

Country Link
CN (1) CN117811982A (en)

Similar Documents

Publication Publication Date Title
CN111024405B (en) Automobile diagnosis method, related device and system
CN106950864B (en) CAN communication program generation method and device of vehicle control unit
CN105025058B (en) Vehicle remote diagnosis method, remote vehicle monitoring method and car-mounted terminal
US8983714B2 (en) Failsafe communication system and method
CN101916087B (en) Diagnostic testing system based on CANoe
CN101651683B (en) Method for generating analysis source code of signaling message
CN111538312B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN111506047B (en) Vehicle diagnosis method, device and storage medium
CN110989555A (en) Vehicle diagnosis and alarm method, device and system
JP2020034510A (en) Diagnosis analyzer for vehicle, diagnosis data analysis method for vehicle, and diagnosis data analysis computer program for vehicle
CN111124443A (en) Vehicle, vehicle equipment and vehicle instrument upgrading method
CN110647139B (en) Evaluation test tool and evaluation test method for OBD (on-Board diagnostics) mass production vehicle
CN112015163B (en) Method and device for quickly identifying diagnostic subject on CAN bus
CN114414255A (en) Automatic driving test method and system based on CAN message period monitoring
CN117811982A (en) System and method for testing airborne equipment for unmanned aerial vehicle
CN112965463A (en) Remote diagnosis system and remote diagnosis method
CN112564772A (en) Satellite data acquisition system
CN112249088B (en) Method for mutual diagnosis and data synchronization of double-display system, double-display system and train
CN113498597A (en) PCIe-based data transmission method and device
CN114726674B (en) PROFIBUS bus process data extraction method based on FPGA
WO2020150863A1 (en) Optical communication module testing method and apparatus and terminal device
CN112612663B (en) Method for reversely solving 1553B bus ICD
CN111541697B (en) On-line communication method based on protocol configuration
CN107943007A (en) A kind of decoding method of different automobile types engine data
CN115701088A (en) Data packet parsing method, system, storage medium and electronic 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