A generalized configurable on-board controller digital mockup model
The digital prototype model of the airborne controller, built using the Qemu and Qt platforms, solves the problems of high construction costs and non-reusability of traditional simulation environments, enabling efficient development and testing of controller software in a virtual environment and reducing project costs.
Patent Information
- Application Number
- CN202411588052.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-11-08
AI Technical Summary
Traditional airborne controller simulation environments are costly to build and cannot be reused between projects. Controller software cannot be developed, debugged, and tested independently of the hardware environment.
By employing the Qemu virtual target machine simulation platform, the Qt control panel simulation platform, and the ICD abstraction model, a generalized and configurable airborne controller digital prototype model is constructed, enabling rapid construction of controller software and data transfer, and supporting software development, debugging, and testing in a virtual environment.
This enables the controller software to be developed, debugged, and tested independently in the hardware environment, reducing project costs, shortening the development cycle, and improving development efficiency.
Smart Images

Figure CN119472418B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of digital simulation modeling in avionics systems, belongs to the digital aviation and airborne avionics product digital twin technology category, and relates to a universal configurable airborne controller digital prototype model. BACKGROUND
[0002] There are many controller products in an aircraft avionics system, which are mainly used for input and output and processing of different information. The avionics systems of different types of aircraft have different requirements for controller products, and the controller products in the same aircraft avionics system also have different requirements. The differences mainly exist in the design requirements of the operation panel, the types of external transmission buses, the transmission ICD (interface communication definition) definition and the processing mode of the controller processor.
[0003] The traditional simulation environment of the controller product mainly adopts a semi-physical simulation form, and is realized by constructing a simulation device through a PC machine hanging a bus simulation board card. The construction cost is high, the software cannot be operated independently of the real product, and the projects cannot be reused. SUMMARY
[0004] The application aims to provide a universal configurable airborne controller digital prototype model. Through control panel drag simulation, virtual target machine simulation, ICD protocol configuration file analysis and data simulation technology, the controller products in different projects are quickly built in the digital prototype model in a building block manner, the development, debugging and testing of the software are realized independently of the hardware environment, the product resources are released, the development cycle is shortened, and the project cost is reduced.
[0005] The application aims to achieve the following technical solutions:
[0006] A universal configurable airborne controller digital prototype model comprises a virtual target machine simulation module, a control panel simulation module, a bus data simulation module and a collaborative simulation software.
[0007] The virtual target machine simulation module realizes behavior-level simulation of an ARM architecture microcontroller through Qemu technology, and constructs a virtual target machine running the controller software.
[0008] The control panel simulation module constructs a controller panel commonly used resource library by using a QT tool, selects the composition form of the required control panel of the project in a graphical drag and drop form, and forms a simulation control panel. The simulation control panel and the virtual target machine are bound through the collaborative simulation software, external excitation signals are generated to the virtual target machine, and the effect of triggering the virtual target machine to run is achieved.
[0009] The bus data simulation module firstly automatically parses the project ICD protocol configuration file, then simulates the ICD-based external bus data excitation, realizes the data transmission from the simulation bus data to the virtual target machine and the data transmission from the target machine simulation to the control panel model through the cooperative simulation software, and finally parses the ICD-based bus sending data, so as to realize the simulation monitoring of the input and output of the bus data of the entire digital prototype model.
[0010] Preferably, in the virtual target machine simulation module, a CPU resource simulation model composed of simulation CPU peripheral devices, an external device simulation model, a CPU and peripheral devices are freely combined and defined according to user requirements.
[0011] Preferably, the cooperative simulation software generates the simulation control panel realized by Qt and the virtual target machine realized by Qemu into win32 dynamic libraries, and defines the interface form between the libraries, so as to realize the data transmission at the software level.
[0012] Preferably, when automatically parsing the project ICD protocol configuration file, the bus data simulation module abstracts the contents in the ICD protocol configuration file into bus types, inputs / outputs, message types and message contents, and describes them in a unified form to XML or EXCEL, so as to realize the abstract definition of different ICDs and provide a basis for subsequent ICD parsing.
[0013] The present application has the advantages that:
[0014] The present application analyzes the differences in the requirements of multiple controllers in the avionics system, and for the first time proposes a universal airborne controller digital prototype model based on the Qemu virtual target machine simulation platform, the Qt control panel simulation platform and the ICD abstract model, and realizes the interconnection of the three different models through the definition of the model interface and the form of win32 dynamic library, solves the problem of repeated construction of the controller product simulation environment among different types of projects, realizes the debugging, development and testing of the controller software independent of the hardware environment, and realizes the system simulation, the parallel development of software and hardware, the release of product resources, the shortening of development cycle and the reduction of project cost. The present application has a wide range of applications, has a significant market prospect and economic benefits. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 The schematic diagram of the design architecture of the airborne controller digital prototype model.
[0016] Figure 2 The simulation schematic diagram of the virtual target machine.
[0017] Figure 3 The interconnection schematic diagram between the Qemu and the model realized by Qt. DETAILED DESCRIPTION
[0018] The application will be further described in detail below in combination with the accompanying drawings and examples.
[0019] In recent years, digital twin technology has been increasingly disseminated and focused, and is being applied in many fields such as power, ships, city management, agriculture, construction, manufacturing, oil and gas, health care, environmental protection, etc. In the field of aerospace, digital twin technology has been applied in fault prediction, design and development management, production and assembly, maintenance and repair, etc.
[0020] The digital prototype model described herein belongs to the technical category of digital twin of airborne avionics products, which refers to a method of modeling by software on a PC or server to build a virtual target system environment identical to the actual target machine, providing a comprehensive, purely digital simulation platform for embedded software development and calculation, enabling the software binary code to run in the virtual target system environment without modification or recompilation, and obtaining the same execution results as on the real target machine. Thus, the software is developed, debugged, and tested independently of the actual product hardware, releasing product resources, shortening development cycles, and reducing project costs.
[0021] In view of the differences in requirements of the above-mentioned multi-type aircraft controller products, the digital prototype model of the universal configurable airborne controller shown in this embodiment uses a virtual target machine simulation platform implemented by Qemu, a control panel simulation platform implemented by Qt, and abstract modeling of ICD to quickly build a simulation environment for controller products between different types of projects, for debugging, development, testing, and system simulation of controller software independent of the hardware environment, achieving parallel development of software and hardware, releasing product resources, shortening development cycles, and reducing project costs. The architecture is as shown in Figure 1 The simulation model includes a virtual target machine simulation module, a control panel simulation module, a bus data simulation module, and a collaborative simulation software.
[0022] 1) Virtual target machine simulation module: The behavior level simulation of ARM architecture microcontroller is realized through Qemu technology, a virtual target machine running the controller software is constructed, and the direct running of software binary code in the simulation platform in the real product is realized. Through the non-difference resident running of airborne software, the difference in processing mode of different types of controllers is solved.
[0023] The virtual target machine simulation module includes a simulation model of the CPU (MCU) resources composed of the simulation of the watchdog circuit, timer, interrupt controller, serial port, and other CPU integrated peripherals; a simulation model of external devices such as 1553B and RS422; the CPU and peripherals together constitute a virtual target machine, and constitute a graphical simulation of hardware resources, which can be freely combined and defined according to user requirements. For example, Figure 2As shown, the CPU chip is composed of two graphic modules: ARM_Cortex_A7 and Peri_FMQL45T900_1, and the graphic interface module is in the form of a full-digital closed-loop simulation system.
[0024] 2) Control panel simulation module: QT tools are used to build a controller panel commonly used resource library, to provide panel simulation control resources such as buttons, wave band switches, coding switches, indicator lights, etc. The form of graphical drag and drop is used to select the form of the control panel required by the project, and a simulation control panel is formed. See Figure 3 As shown, a design method is realized by a collaborative simulation software (distributed simulation data communication software) to bind the simulation control panel designed by QT with the pins, analog quantities, external address space design of the on-chip GPIO, ADC, DAC, etc. of the virtual target machine, to generate external excitation signals to the virtual target machine, and to achieve the effect of triggering the virtual target machine to run. The specific implementation method can be summarized as generating the simulation control panel realized by Qt and the virtual target machine realized by Qemu into a win32 dynamic library, and defining the interface form between the libraries to realize the data transmission at the software level.
[0025] 3) Bus data simulation module: This simulation mainly includes automatic parsing of project ICD protocol configuration files, external bus data excitation based on ICD, and bus transmitted data analysis based on ICD, so as to realize the simulation monitoring of the input and output of the bus data of the entire digital prototype model. The design content mainly includes:
[0026] a) Abstract description of ICD file: the contents in the ICD protocol configuration file are abstracted into bus types, inputs / outputs, message types, message contents, etc., and are described in a unified form in XML or EXCEL, to realize the abstract definition of different ICDs, and to provide a basis for subsequent ICD analysis;
[0027] b) Bus data simulation: build an external excitation model to realize the simulation of external bus data, to achieve the effect of triggering the digital prototype to run; analyze and display the data transmitted by the digital prototype in real time, to realize the monitoring of the correctness of the data transmitted by the digital prototype;
[0028] In the construction process of the bus data simulation module, the collaborative simulation software (distributed simulation data communication software) is also used to realize the data transmission of the simulation bus data to the virtual target machine, and the data transmission of the target machine simulation to the control panel model, and the specific method is the same as above.
[0029] It can be understood that for those skilled in the art, equivalent replacements or changes can be made according to the technical solutions and inventive concepts of the present application, and all these changes or replacements shall belong to the protection scope of the claims attached to the present application.
Claims
1. A universal configurable airborne controller digital prototype model, comprising a virtual target machine simulation module, a control panel simulation module, a bus data simulation module and a collaborative simulation software, characterized in that: the virtual target machine simulation module realizes the behavior level simulation of the ARM architecture microcontroller through the Qemu technology, and builds a virtual target machine running the controller software; the control panel simulation module uses the QT tool to build a common resource library of the controller panel, selects the composition form of the required control panel of the project in the form of graphical dragging, and forms a simulation control panel; the simulation control panel and the virtual target machine are bound through the collaborative simulation software, external excitation signals are generated to the virtual target machine, and the effect of triggering the virtual target machine to run is achieved; the bus data simulation module first automatically parses the project ICD protocol configuration file, then simulates the external bus data excitation based on ICD, realizes the data transmission of the simulation bus data to the virtual target machine and the data transmission of the target machine simulation to the control panel model through the collaborative simulation software, finally parses the bus sending data based on ICD, thereby realizing the simulation monitoring of the input and output of the bus data of the entire digital prototype model; the collaborative simulation software generates the simulation control panel realized by Qt and the virtual target machine realized by Qemu as win32 dynamic libraries, defines the interface form between the libraries, and realizes the data transmission at the software level.
2. A generic configurable on-board controller digital mockup model according to claim 1, characterized in that In the virtual target machine simulation module, the CPU resource simulation model composed of simulation CPU peripheral devices, the external device simulation model, the CPU and the peripheral device are freely combined and defined according to user requirements.
3. A generic configurable on-board controller digital mockup model according to claim 1, characterized in that When the bus data simulation module automatically parses the project ICD protocol configuration file, the contents in the ICD protocol configuration file are abstracted into bus types, inputs / outputs, message types and message contents, and are described in a unified form into XML or EXCEL, thereby realizing the abstract definition of different project ICDs and providing a basis for subsequent ICD parsing.
Citation Information
Patent Citations
General auto test system and general auto test method based on device under test (DUT) model
CN106201803A
Aviation airborne software full-digital simulation test system
CN113961453A
Touch screen simulator, touch screen simulation method, development system and development method
CN115525393A