Virtual simulation verification method for airborne software of airplane

By loading the digital simulation application software on the local computer and configuring the virtual processor to directly execute the airborne software instructions, combined with LINUX kernel optimization, the existing technology problems of low efficiency and insufficient real-time verification of aircraft airborne software are solved, and the Efficient simulation verification and real-time communication.

CN118733446APending Publication Date: 2024-10-01SHENYANG AIRCRAFT DESIGN INST AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410778407.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology has low efficiency and long cycle in aircraft onboard software verification, making it difficult to meet the needs of rapid design iteration, and the simulation efficiency and real-time performance are insufficient, especially the low efficiency of floating-point number operations and operational instability due to the form of instruction translation.

Method used

Use a local computer to load digital simulation application software, configure the virtual processor and memory, initialize the virtual processor and instruction set, directly execute the onboard software instructions, and combine the KVM function and real-time patch of the LINUX kernel to reduce the instruction translation process, improve efficiency and real-time.

Benefits of technology

It achieves efficient airborne software simulation verification, improves instruction execution efficiency and system real-time performance, can stably meet mission cycle requirements, and saves development and verification time and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733446A_ABST
    Figure CN118733446A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of airplane airborne software verification design, and particularly relates to an airplane airborne software virtual simulation verification method which comprises the following steps: step 1, selecting a local computer; step 2, loading digital simulation application software on a local computer; 3, starting digital simulation application software, digitalizing the airborne system, and loading airborne software for simulation verification; after the digital simulation application software is started, the following operations are carried out: configuring processor and memory resources of a local computer, and applying for a virtual processor and a memory required by the operation of an airborne system; loading a boot file MSL of an airborne operating system, initializing a working mode and an instruction set of the virtual processor, and digitalizing the airborne system; and loading the FLASH file of the airborne software, and carrying out simulation verification on the airborne software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of aircraft onboard software verification design, and specifically relates to an aircraft onboard software virtual simulation verification method. Background Art

[0002] During the development of aircraft airborne simulation software, a lot of verification is required. Currently, the following two methods are mainly used for this purpose:

[0003] 1) Using the airborne system to run the airborne software for verification is limited by the use of airborne hardware, and has low efficiency and long cycles, making it difficult to meet the needs of rapid design iteration of airborne software;

[0004] 2) Run the onboard software in the form of simulation for verification, convert the target code of the onboard system into the instruction set of the local computer, run the instructions of the onboard system on the local computer in the form of instruction translation, realize the simulation of the onboard system, and then run the onboard software for verification. This technical solution has the following defects:

[0005] a. The hardware requirements for the local computer are high. The performance of conventional processors cannot meet the simulation requirements and it is difficult to reflect the operation effect of the airborne system. In addition, the simulation of the airborne system in the form of instruction translation is to run related binary files, and the floating-point operation simulation efficiency is low;

[0006] b. The simulation of the airborne system in the form of instruction translation cannot guarantee the efficiency and real-time performance of the simulation. Although the timing can be performed internally according to the number of instructions executed by the processor, the stability of the timing cannot be guaranteed externally. When docking with an external system, it is difficult to run according to the designed task cycle, and the task operation cycle is unstable.

[0007] This application is proposed in view of the above-mentioned technical defects. Summary of the invention

[0008] The purpose of this application is to provide an aircraft onboard software virtual simulation verification method to overcome or alleviate at least one of the known technical defects.

[0009] The technical solution of this application is:

[0010] A virtual simulation verification method for aircraft onboard software, comprising:

[0011] Step 1. Select the local computer;

[0012] Step 2: Loading digital simulation application software on a local computer;

[0013] Step 3: Start the digital simulation application software, digitize the airborne system, and load the airborne software for simulation verification;

[0014] After starting the digital simulation application software, perform the following operations:

[0015] Configure the processor and memory resources of the local computer and apply for the virtual processor and memory required for the operation of the onboard system;

[0016] Load the boot file MSL of the onboard operating system, initialize the working mode and instruction set of the virtual processor, and digitize the onboard system;

[0017] Load the FLASH file of the airborne software and perform simulation verification on the airborne software.

[0018] Optionally, in the above-mentioned aircraft onboard software virtual simulation verification method, the processor of the local computer is selected with reference to the architecture of the processor of the onboard system, and supports the same instruction set as the processor of the onboard system.

[0019] Optionally, in the above-mentioned aircraft onboard software virtual simulation verification method, the operating system of the local computer adopts the LINUX system.

[0020] Optionally, in the above-mentioned aircraft onboard software virtual simulation verification method, the following steps are implemented before the digital simulation application software is run:

[0021] Adjust the LINUX kernel and enable the KVM function in the LINUX kernel;

[0022] Adjust the LINUX kernel and install real-time patches for the LINUX kernel;

[0023] Recompile and install the LINUX kernel adapter module. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 Schematic diagram of a virtual simulation verification method for aircraft onboard software provided in an embodiment of the present application;

[0025] Figure 2 It is a schematic diagram of the architecture design of the aircraft onboard software virtual simulation verification method provided in an embodiment of the present application.

[0026] In order to better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product. In addition, the drawings are only used for illustrative purposes and should not be construed as limitations on the present application. DETAILED DESCRIPTION

[0027] In order to make the technical solution and advantages of the present application clearer, the technical solution of the present application will be described in further detail in detail and in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described here are only partial embodiments of the present application, which are only used to explain the present application, not to limit the present application. It should be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, and other related parts can refer to the general design.

[0028] In addition, unless otherwise defined, the technical terms or scientific terms used in the description of this application shall have the usual meanings understood by those of ordinary skill in the art to which this application belongs. The words used in the description of this application to indicate orientation are only used to indicate relative directions or positional relationships. When the absolute position of the described object changes, its relative positional relationship may also change accordingly. The word "include" used in the description of this application indicates that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, but does not exclude other elements or objects.

[0029] In addition, it should be noted that, unless otherwise clearly specified and limited, the words "installation", "connection" and similar terms used in the description of this application should be understood in a broad sense. For example, the connection can be a fixed connection or a detachable connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. Technical personnel in the field can understand its specific meaning in this application according to the specific circumstances.

[0030] A virtual simulation verification method for aircraft onboard software, such as Figure 1 shown.

[0031] Step 1: Select the local computer.

[0032] The processor of the local computer is selected with reference to the architecture of the processor of the onboard system, and supports the same instruction set as the processor of the onboard system.

[0033] Step 2: Load the digital simulation application software on the local computer.

[0034] Step 3: Start the digital simulation application software, digitize the airborne system, and load the airborne software for simulation verification.

[0035] After starting the digital simulation application software, perform the following operations:

[0036] Configure the processor and memory resources of the local computer and apply for the virtual processor and memory required for the operation of the onboard system;

[0037] Load the boot file MSL of the onboard operating system, initialize the working mode and instruction set of the virtual processor, and digitize the onboard system;

[0038] Load the FLASH file of the airborne software and perform simulation verification on the airborne software.

[0039] In the aircraft airborne software virtual simulation verification method disclosed in the above-mentioned embodiment, the simulation work of designing the airborne system is performed by the digital simulation application software, and the instructions of the airborne software are loaded and executed by the virtual processor. The processor resources of the local computer are virtualized and taken over by the digital simulation application software to execute the processor instructions of the airborne system, which essentially avoids the instruction translation process and improves the efficiency of instruction execution. In terms of implementation, the airborne operating system is deeply integrated with the virtual hardware. The airborne operating system can implement the scheduling of the underlying hardware through the virtual hardware access interface, which can improve the real-time performance of the system operation.

[0040] The local computer's operating system can adopt the LINUX system, and utilize the extension mechanism in the LINUX kernel to support processor virtualization instructions. At the same time, the real-time performance of the LINUX kernel can be improved to build a real-time kernel, which can further improve the efficiency of simulation verification of airborne software.

[0041] In the aircraft onboard software virtual simulation verification method disclosed in the above embodiment, the system architecture is designed as follows: Figure 2 As shown, the digital simulation application software is responsible for virtualizing the simulated airborne system, calling the LINUX kernel to virtualize the processor and memory, and running the airborne operating system to initialize the operation scheduling of the virtual processor and memory.

[0042] The steps to be implemented before the digital simulation application software runs are as follows:

[0043] Adjust the LINUX kernel and enable the KVM function in the LINUX kernel;

[0044] Adjust the LINUX kernel and install real-time patches for the LINUX kernel;

[0045] Recompile and install the LINUX kernel adapter module.

[0046] After the digital simulation application software is started, it applies for hardware resources and completes the virtualization of the processor through the LINUX kernel, and then loads the boot file MSL of the airborne operating system. The scheduling and use of the processor are managed by the module support layer, and the working mode is initialized. Thereafter, the airborne operating system core is responsible for the scheduling and management of tasks. For the hardware used in the virtualization process of the airborne system, such as NVRAM, the digital simulation application software is responsible for functional scheduling, realizing the simulation of the airborne communication hardware, reducing the process of instruction translation during the simulation process, and improving the simulation efficiency.

[0047] The aircraft airborne software virtual simulation verification method disclosed in the above-mentioned embodiment is based on the Linux kernel extension mechanism, fully utilizes the characteristics of the hardware itself, cooperates with the operating system's support for the hardware, and constructs an airborne system simulation running environment. The environment has a certain real-time performance and can realize the simulation of the airborne system and the loading and running of the airborne software. It fully utilizes the hardware characteristics and reduces the instruction translation process. While performing the virtualization simulation of the airborne system, it realizes the running of the airborne operating system and airborne software, which can effectively improve the running efficiency of the software, and cooperates with the simulation capability of the hardware system to realize real-time communication with external systems.

[0048] The aircraft airborne software virtual simulation verification method disclosed in the above-mentioned embodiment can realize the simulation of the airborne system more efficiently. It not only realizes the simulation of the airborne system in function, but also optimizes the performance so that the simulation system has a certain real-time performance. It can realize scheduling within the mission cycle and periodic communication with external systems, which can effectively save time and cost in the process of airborne software development and verification.

[0049] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other. In the absence of conflict, the embodiments in this application and the technical features in the embodiments can be combined with each other to obtain new embodiments.

[0050] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. Those skilled in the art should understand that the scope of protection of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the scope of protection of the present application.

Claims

1. A virtual simulation verification method for aircraft onboard software, characterized in that: include: Step 1. Select the local computer; Step 2: Loading digital simulation application software on a local computer; Step 3: Start the digital simulation application software, digitize the airborne system, and load the airborne software for simulation verification; After starting the digital simulation application software, perform the following operations: Configure the processor and memory resources of the local computer and apply for the virtual processor and memory required for the operation of the onboard system; Load the boot file MSL of the onboard operating system, initialize the working mode and instruction set of the virtual processor, and digitize the onboard system; Load the FLASH file of the airborne software and perform simulation verification on the airborne software.

2. The aircraft onboard software virtual simulation verification method according to claim 1, characterized in that: The processor of the local computer is selected with reference to the architecture of the processor of the onboard system, and supports the same instruction set as the processor of the onboard system.

3. The aircraft onboard software virtual simulation verification method according to claim 1, characterized in that: The local computer's operating system uses the LINUX system.

4. The aircraft onboard software virtual simulation verification method according to claim 1, characterized in that: The steps to be implemented before the digital simulation application software runs are as follows: Adjust the LINUX kernel and enable the KVM function in the LINUX kernel; Adjust the LINUX kernel and install real-time patches for the LINUX kernel; Recompile and install the LINUX kernel adapter module.