Unmanned aerial vehicle model-based system development simulation test platform, method and device

By using a model-based system development simulation and testing platform for UAVs, the automatic conversion of physical system test case scripts into simulation models was achieved. This solved the problem of isolated simulation models and physical system test cases in the development of medium and large fixed-wing UAV systems, shortening the development cycle and reducing costs.

CN115809199BActive Publication Date: 2026-04-28AVIC (CHENGDU) UAS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AVIC (CHENGDU) UAS CO LTD
Filing Date
2022-12-19
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

The isolation between the simulation model and the physical system in the development of medium and large fixed-wing UAV systems necessitates the development of two sets of test cases, increasing the development cycle, time, and manpower costs, and the model cannot provide timely feedback on system problems.

Method used

This paper provides a model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs), including file acquisition, parsing, and instruction conversion modules. It realizes the automatic conversion of test case script instructions of physical systems into simulation models, breaks down system silos, and achieves script reuse and tight coupling.

Benefits of technology

It shortens the development cycle, reduces costs, and tightly couples the simulation model with the physical system, enabling timely feedback on system problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115809199B_ABST
    Figure CN115809199B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of unmanned aerial vehicles, and discloses an unmanned aerial vehicle model-based system development simulation test platform, method and equipment, which comprises a file acquisition module, a file analysis module and an instruction conversion module.The file acquisition module is used for acquiring a test case script file of an unmanned aerial vehicle entity system; the file analysis module is used for analyzing the test case script file of the unmanned aerial vehicle entity system to obtain test case script instructions of the unmanned aerial vehicle entity system; and the instruction conversion module is used for converting the test case script instructions of the unmanned aerial vehicle entity system into target test case script instructions used by a system development simulation model.The platform can automatically convert the test case script instructions of the entity system into system development simulation model script instructions, break the isolation between the two, establish a bridge between the model system and the entity system, and achieve the purpose of script reuse or universality, so that the development cycle of a type can be shortened, the cost can be reduced, and the system development simulation model and the entity system can be tightly coupled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of unmanned aerial vehicle (UAV) technology, and in particular to a model-based system development simulation and testing platform, method, and equipment for UAVs. Background Technology

[0002] In recent years, with the development of UAV technology and model-based systems engineering technology, a model-based development simulation model for medium and large fixed-wing UAV systems has been established to facilitate the research of medium and large fixed-wing UAVs.

[0003] However, due to the isolation between the model-based development simulation model (hereinafter referred to as the "system development simulation model") and the physical system of medium-to-large fixed-wing UAVs, the system development simulation model needs to write and use its own test cases, while the physical system also has its own test cases. The system development simulation test model cannot reuse existing test cases from the physical system, resulting in technicians needing to write two sets of test cases, increasing the development cycle, time costs, and manpower costs of the model. Furthermore, problems detected using test cases on the model cannot be fed back to the model, preventing the model from promptly reporting system issues.

[0004] Therefore, how to solve the problem of test case silos in system development simulation model verification testing and physical system verification testing is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a model-based system development simulation and testing platform, method, and equipment for unmanned aerial vehicles (UAVs), which enables tight coupling between the system development simulation model and the physical system, achieving script reuse or generalization, shortening the development cycle, and reducing costs. The specific solution is as follows:

[0006] A model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs) includes:

[0007] The file acquisition module is used to acquire test case script files for unmanned aerial vehicle (UAV) physical systems.

[0008] The file parsing module is used to parse the test case script file of the UAV entity system to obtain the test case script instructions of the UAV entity system.

[0009] The instruction conversion module is used to convert the test case script instructions of the UAV entity system into target test case script instructions used in the system development simulation model.

[0010] Preferably, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction conversion module includes:

[0011] The instruction judgment unit is used to determine whether the type of the test case script instruction of the UAV entity system is a breakpoint instruction or a read, write, or verification instruction.

[0012] The instruction query unit is used to determine the result based on the instruction type and query the corresponding target test case script instruction of the system development simulation model.

[0013] Preferably, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction query unit includes:

[0014] The first determining subunit is used to determine the location of the breakpoint instruction in the logic module of the system development simulation model and the address pointed to by the signal input module if the test case script instruction of the UAV entity system is a breakpoint instruction.

[0015] Preferably, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction query unit further includes:

[0016] The second determining subunit is used to determine the corresponding signal of the system development simulation model corresponding to the memory or variable in the test case script file of the UAV entity system if the test case script instruction of the UAV entity system is a read, write, or verification instruction.

[0017] Preferably, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction query unit further includes:

[0018] The file generation module is used to generate test case script files for the system development simulation model based on the determination results of the first determining subunit and the second determining subunit.

[0019] Preferably, the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention further includes:

[0020] The platform display module is used to display the platform interface; the platform interface includes a file loading area, an original instruction display area, and a conversion result instruction display area; the file loading area is used to display the script file path; the original instruction display area is used to display the test case script instructions of the UAV entity system; and the conversion result instruction display area is used to display the target test case script instructions used in the system development simulation model.

[0021] Preferably, in the UAV model-based system development simulation test platform provided in the embodiments of the present invention, the target test case script instructions used by the system development simulation model have time information or periodic information.

[0022] This invention also provides a testing method for the model-based system development simulation test platform for UAVs provided in this invention, comprising:

[0023] Obtain the test case script file for the drone physical system;

[0024] Parse the test case script file of the UAV entity system to obtain the test case script instructions of the UAV entity system;

[0025] The test case script instructions of the UAV physical system are converted into target test case script instructions used in the system development simulation model.

[0026] This invention also provides an electronic device, including a processor and a memory, wherein the processor executes a computer program stored in the memory to implement the testing method of the UAV model-based system development simulation test platform provided in this invention.

[0027] This invention also provides a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the testing method of the UAV model-based system development simulation test platform provided in this invention.

[0028] As can be seen from the above technical solution, the UAV model-based system development simulation test platform provided by the present invention includes: a file acquisition module for acquiring test case script files of the UAV entity system; a file parsing module for parsing the test case script files of the UAV entity system to obtain test case script instructions of the UAV entity system; and an instruction conversion module for converting the test case script instructions of the UAV entity system into target test case script instructions used by the system development simulation model.

[0029] The UAV model-based system development simulation and testing platform provided by this invention can organically combine UAV physical system testing and system development simulation model testing. It automatically converts test case scripts from the physical system to the system development simulation model scripts, breaking down the silos between the two and establishing a bridge between the model system and the physical system. This allows both types of testing to use the same set of test cases, achieving script reuse or universality. This not only shortens the model development cycle and reduces costs but also tightly couples the system development simulation model with the physical system, effectively solving the problem of inconsistencies between physical system testing schemes and system development simulation model testing schemes.

[0030] Furthermore, this invention also provides corresponding methods, devices, and computer-readable storage media for the development and simulation testing platform of UAV model-based systems, further enhancing the practicality of the platform. The method, devices, and computer-readable storage media have corresponding advantages. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0032] Figure 1 This is a schematic diagram of the structure of a model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs) provided in an embodiment of the present invention.

[0033] Figure 2 This is a schematic diagram illustrating the conversion process of test case script files in the UAV model-based system development simulation test platform provided in this embodiment of the invention;

[0034] Figure 3 A schematic diagram of the interface of the UAV model-based system development simulation and testing platform provided in an embodiment of the present invention;

[0035] Figure 4 A flowchart illustrating the testing method of a model-based system development simulation testing platform for unmanned aerial vehicles (UAVs) provided in this embodiment of the invention. Detailed Implementation

[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0037] This invention provides a model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs), such as... Figure 1 As shown, it includes:

[0038] File acquisition module 11 is used to acquire test case script files of the UAV entity system;

[0039] File parsing module 12 is used to parse the test case script file of the UAV entity system and obtain the test case script instructions of the UAV entity system.

[0040] The instruction conversion module 13 is used to convert the test case script instructions of the UAV entity system into the target test case script instructions used in the system development simulation model.

[0041] In the UAV model-based system development simulation test platform provided in this embodiment of the invention, the testing of the UAV physical system and the testing of the system development simulation model can be organically combined. This allows the test case script instructions of the physical system to be automatically converted into the system development simulation model script instructions, breaking down the silos between the two and establishing a bridge between the model system and the physical system. Both types of testing use the same set of test cases, achieving script reuse or universality. This not only shortens the model development cycle and reduces costs but also enables tight coupling between the system development simulation model and the physical system, effectively solving the problem of inconsistencies between the physical system test plan and the system development simulation model test plan.

[0042] It should be noted that the UAV model-based system development simulation test platform provided in this embodiment of the invention is applicable to medium and large fixed-wing UAVs. That is, by converting existing or newly compiled entity system test case scripts into system development simulation model test case scripts through the model-based system development simulation test platform for medium and large fixed-wing UAVs, the problem of isolated test cases in model-based system development simulation model verification testing and entity system verification testing for medium and large fixed-wing UAVs can be solved.

[0043] In specific implementation, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction conversion module 13 may include:

[0044] The instruction judgment unit is used to determine whether the type of test case script instruction of the UAV entity system is a breakpoint instruction or a read, write, or verification instruction.

[0045] The instruction query unit is used to determine the result based on the instruction type and query the corresponding target test case script instruction of the system development simulation model.

[0046] Figure 2 The process of converting test case script files is illustrated. First, the entity system test case script file is obtained; then, the test case script file is parsed; subsequently, breakpoint instructions and read, write, and verification instructions within the script file are parsed. For breakpoint instructions, the corresponding target test case script instruction for the system development simulation model can be retrieved from a pre-stored symbol relationship table. In practical applications, breakpoint instructions in the test case script can be used for single-step debugging. For read, write, and verification instructions, the corresponding target test case script instruction for the system development simulation model can be retrieved from a pre-stored signal relationship table.

[0047] In specific implementation, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the instruction query unit may include:

[0048] The first determining subunit is used to determine the location of the breakpoint instruction in the logic module of the system development simulation model and the address pointed to by the signal input module if the test case script instruction of the UAV entity system is a breakpoint instruction.

[0049] It should be noted that the target test case script instructions of the corresponding system development simulation model can be retrieved from the symbol relation table. This symbol relation table determines two things: first, it describes the location of the breakpoint instructions in the entity system test case script file within the logic module of the system development simulation model; second, it determines the address pointed to by the breakpoint instructions in the entity system test case script file within the signal input module of the system development simulation model. The aforementioned first determining subunit can determine the location of the breakpoint instructions in the logic module of the system development simulation model and the address pointed to by the breakpoint instructions in the signal input module based on the symbol relation table.

[0050] In specific implementation, the instruction query unit in the above-mentioned UAV model-based system development simulation test platform provided in the embodiments of the present invention may further include:

[0051] The second determining subunit is used to determine the corresponding signal of the system development simulation model corresponding to the memory or variable in the test case script file of the UAV entity system if the test case script instruction is a read, write, or verification instruction.

[0052] It should be noted that the target test case script instructions of the corresponding system development simulation model can be found from the signal relationship table. In this signal relationship table, the relationship between the memory / variables in the entity system test case script file and the signals of the system development simulation model is uniquely matched.

[0053] In specific implementation, the instruction query unit in the above-mentioned UAV model-based system development simulation test platform provided in the embodiments of the present invention may further include:

[0054] The file generation module is used to generate test case script files for the system development simulation model based on the determination results of the first and second determined sub-units.

[0055] It should be noted that, based on the results of querying the symbol relationship table and the signal relationship table, test case script files for the system development simulation model can be generated.

[0056] In specific implementation, the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention may further include:

[0057] The platform display module is used to display the platform interface; the platform interface includes a file loading area, an original instruction display area, and a conversion result instruction display area; the file loading area is used to display the script file path; the original instruction display area is used to display the test case script instructions of the UAV entity system; the conversion result instruction display area is used to display the target test case script instructions used in the system development simulation model.

[0058] Specifically, after determining the script file to be converted, the script file is loaded into the platform by selecting the file and the script file path is displayed; the parsed instructions are displayed in the original instruction display area, including interrupt instructions, read, write, and verification instructions; and the converted target test case script instructions are displayed in the conversion result instruction display area.

[0059] Presented in this graphical interface, the conversion of test script files is more intuitive. It can display the correspondence between the original test script instructions and the converted script instructions, and further distinguish and parse the breakpoint instructions, read, write, and verification instructions in the script file separately.

[0060] Figure 3 A schematic diagram of the interface of a model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs) is shown. The interface of this invention includes the following operations:

[0061] Operation 1: After the entity system test script file is loaded and parsed, the following information will be displayed on the interface: First, expand the read and write instructions in the macro. When the read instruction is executed, the read value will be displayed on the interface. Then, mark the execution status of the instructions, such as green indicating successful execution and red indicating failure. If the execution fails, the reason for the failure will be displayed.

[0062] Step 2: Click "Execute" to start executing the instructions in the script order, and the button will switch to the "Pause" state. Click "Pause" to pause the execution of the script instructions and the button will switch to the "Continue" state. Click "Continue" to resume the execution of the script.

[0063] Step 3: Stop the execution of the script instructions and switch the "Pause / Continue" button to the "Execute" state;

[0064] Operation 4: When the program stops at a breakpoint, the "Single Step" button is active, allowing for single-step debugging.

[0065] Operation 5: If a breakpoint needs to be activated for a specific instruction, then the breakpoint instruction needs to be executed individually.

[0066] In practical implementation, in the UAV model-based system development simulation and testing platform provided in the embodiments of the present invention, the target test case script instructions used by the system development simulation model can carry time information or periodic information. That is, the present invention can convert the test case script instructions of the UAV physical system into target test case script instructions with time information or periodic information used by the system development simulation model. This strengthens the connection between the physical system test plan and the system development simulation model, enabling the system development simulation model to more realistically reflect the problems encountered in the physical system testing.

[0067] Based on the same inventive concept, this invention also provides a testing method for a model-based system development simulation test platform for unmanned aerial vehicles (UAVs). Since the principle of this method in solving the problem is similar to that of the aforementioned model-based system development simulation test platform for UAVs, the implementation of this method can refer to the implementation of the model-based system development simulation test platform for UAVs, and the repeated parts will not be described again.

[0068] In specific implementation, the testing method of the UAV model-based system development simulation test platform provided in this embodiment of the invention, such as... Figure 4 As shown, the specific steps include:

[0069] S401. Obtain the test case script file for the drone entity system;

[0070] S402. Parse the test case script file of the UAV entity system to obtain the test case script instructions of the UAV entity system.

[0071] S403. Convert the test case script instructions of the UAV physical system into the target test case script instructions used in the system development simulation model.

[0072] The testing method of the UAV model-based system development simulation test platform provided in the embodiments of the present invention can solve the problem of test case silos in the verification test of the UAV model-based system development simulation model and the verification test of the physical system. It can automatically convert the test case script instructions of the physical system to the test case script instructions used by the system development simulation model, so that both tests use the same set of test cases. It can test both the UAV physical system and its system development simulation model.

[0073] In specific implementation, in the testing method of the UAV model-based system development simulation test platform provided in the embodiments of the present invention, step S403 converts the test case script instructions of the UAV entity system into the target test case script instructions used by the system development simulation model, which may specifically include:

[0074] First, determine whether the test case script instructions of the drone physical system are breakpoint instructions or read, write, or verification instructions;

[0075] Then, based on the result of the instruction type judgment, the target test case script instruction of the corresponding system development simulation model is retrieved.

[0076] Specifically, if the test case script instructions for the UAV entity system are breakpoint instructions, then the location of the breakpoint instructions in the logic module of the system development simulation model and the address they point to in the signal input module are determined. If the test case script instructions for the UAV entity system are read, write, or verification instructions, then the corresponding signals of the system development simulation model corresponding to the memory or variables in the test case script file of the UAV entity system are determined. Further, based on the determination results of the first and second determining sub-units, the test case script file of the system development simulation model can be generated.

[0077] For more detailed information on the above steps, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0078] Accordingly, embodiments of the present invention also disclose an electronic device, including a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the test method of the UAV model-based system development simulation test platform disclosed in the foregoing embodiments.

[0079] For more detailed information on the above methods, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0080] Furthermore, the present invention also discloses a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, it implements the aforementioned test method for the model-based system development simulation test platform for unmanned aerial vehicles.

[0081] For more detailed information on the above methods, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.

[0082] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The methods, devices, and storage media disclosed in the embodiments are described simply because they correspond to the platforms disclosed in the embodiments; relevant details can be found in the platform section.

[0083] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0084] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0085] In summary, the UAV model-based system development simulation test platform provided by this invention includes: a file acquisition module for acquiring test case script files of the UAV entity system; a file parsing module for parsing the test case script files of the UAV entity system to obtain test case script instructions for the UAV entity system; and an instruction conversion module for converting the test case script instructions of the UAV entity system into target test case script instructions used by the system development simulation model. This UAV model-based system development simulation test platform can organically combine UAV entity system testing and system development simulation model testing, automatically converting the test case script instructions of the entity system to the system development simulation model script instructions, breaking down the silos between the two, establishing a bridge between the model system and the entity system, and allowing both tests to use the same set of test cases, achieving script reuse or universality. This can shorten the model development cycle, reduce costs, and enable tight coupling between the system development simulation model and the entity system, effectively solving the problem of inconsistencies between entity system test schemes and system development simulation model test schemes. Furthermore, this invention also provides corresponding methods, devices, and computer-readable storage media for the UAV model-based system development simulation test platform, further enhancing the platform's practicality. These methods, devices, and computer-readable storage media offer corresponding advantages.

[0086] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0087] The above provides a detailed description of the UAV model-based system development simulation testing platform, method, and equipment provided by this invention. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.

Claims

1. A model-based system development simulation and testing platform for unmanned aerial vehicles (UAVs), characterized in that, include: The file acquisition module is used to acquire test case script files for unmanned aerial vehicle (UAV) physical systems. The file parsing module is used to parse the test case script file of the UAV entity system to obtain the test case script instructions of the UAV entity system. The instruction conversion module is used to convert the test case script instructions of the UAV entity system into the target test case script instructions used in the system development simulation model. The instruction conversion module includes: The instruction judgment unit is used to determine whether the type of the test case script instruction of the UAV entity system is a breakpoint instruction or a read, write, or verification instruction. The instruction query unit is used to query the target test case script instructions of the corresponding system development simulation model based on the instruction type. The instruction query unit includes: The first determining subunit is used to query a pre-stored symbol relationship table if the test case script instruction of the UAV entity system is a breakpoint instruction, in order to determine the position of the breakpoint instruction in the logic module of the system development simulation model and the address pointed to by the signal input module. The second determining subunit is used to query a pre-stored signal relationship table if the test case script instruction of the UAV entity system is a read, write, or verification instruction, so as to determine the corresponding signal of the system development simulation model corresponding to the memory or variable in the test case script file of the UAV entity system. The file generation module is used to generate test case script files for the system development simulation model based on the determination results of the first determining subunit and the second determining subunit.

2. The UAV model-based system development simulation and testing platform according to claim 1, characterized in that, Also includes: The platform display module is used to display the platform interface; The platform interface includes a file loading area, a source instruction display area, and a conversion result instruction display area; The file loading area is used to display the script file path; The original instruction display area is used to display the test case script instructions of the UAV entity system; The conversion result display area is used to display the target test case script instructions used in the system development simulation model.

3. The UAV model-based system development simulation and testing platform according to claim 2, characterized in that, The target test case script instructions used in the system development simulation model contain time information or periodic information.

4. A testing method for a model-based system development simulation testing platform for unmanned aerial vehicles (UAVs) as described in any one of claims 1 to 3, characterized in that, include: Obtain the test case script file for the drone physical system; Parse the test case script file of the UAV entity system to obtain the test case script instructions of the UAV entity system; The test case script instructions of the UAV physical system are converted into target test case script instructions used in the system development simulation model.

5. An electronic device, characterized in that, It includes a processor and a memory, wherein the processor executes a computer program stored in the memory to implement the test method of the UAV model-based system development simulation test platform as described in claim 4.

6. A computer-readable storage medium, characterized in that, Used to store computer programs, wherein the computer programs, when executed by a processor, implement the test method of the UAV model-based system development simulation test platform as described in claim 4.

Citation Information

Patent Citations

  • Method for improving executing speed of test script of real-time embedded system

    CN101719096A

  • Parallel development and maintenance method for multiple aircraft simulation models based on pre-compilation instruction

    CN113569333A