Universal configurable airborne controller digital prototype model
By adopting a general configurable digital prototype model of airborne controllers in avionics systems, the rapid construction of controller products between different projects and the development, debugging and testing of software that is separated from the hardware environment is achieved, and the construction of medium and high-end technologies is solved. The problems of cost and non-reusability have achieved the release of resources and the shortening of development cycles.
Patent Information
- Application Number
- CN202411588052.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The simulation environment of controller-type products in existing avionics systems has problems such as high construction costs, software cannot be separated from real product operation, and unreusable between projects.
Using a general configurable digital prototype model of the onboard controller, through virtual target machine simulation, control panel simulation, bus data simulation and collaborative simulation software, the rapid construction of controller products between different projects and the development of software separated from the hardware environment. Debugging and testing.
It realizes debugging, development and testing of controller software that is separated from the hardware environment, shortens the development cycle, reduces project costs, and solves the problem of repeated construction of controller product simulation environments between projects of different models.
Smart Images

Figure CN119472418A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of digital simulation modeling in avionics systems, belongs to the category of digital aviation and digital twin technology of airborne avionics products, and relates to a universal configurable airborne controller digital prototype model. Background Art
[0002] There are many controller products in aircraft avionics systems, which are mainly used for input, output and processing of different information. The avionics systems of different aircraft models have different requirements for controller products. The requirements for controller products within the avionics system of the same aircraft also vary. The differences are mainly reflected in the design requirements of the operating panel, the type of external transmission bus, the transmission ICD (Interface Communication Definition) definition and the processing method of the controller processor.
[0003] The traditional simulation environment for controller products mainly adopts the form of semi-physical simulation, which is achieved by connecting a bus simulation board to a PC to build a simulation device. The construction cost is high, the software cannot run independently of the real product, and it cannot be reused between projects. Summary of the invention
[0004] The purpose of the present invention is to provide a universal configurable airborne controller digital prototype model, which realizes the rapid building of controller products in different projects in the digital prototype model through control panel drag-and-drop simulation, virtual target machine simulation, ICD protocol configuration file parsing and data simulation technology, and realizes the development, debugging and testing of software out of the hardware environment, thereby releasing product resources, shortening the development cycle and reducing project costs.
[0005] The object of the present invention is achieved through the following technical solutions:
[0006] A generalized configurable airborne controller digital prototype model, comprising a virtual target machine simulation module, a control panel simulation module, a bus data simulation module and collaborative simulation software;
[0007] The virtual target machine simulation module uses Qemu technology to implement behavioral-level simulation of ARM architecture microcontrollers and build a virtual target machine that runs the controller software.
[0008] The control panel simulation module uses the QT tool to build a common resource library for controller panels, and uses graphical drag-and-drop to select the composition of the control panel required for the project to form a simulation control panel; the simulation control panel is bound to the virtual target machine through the collaborative simulation software, and an external excitation signal is generated to the virtual target machine to achieve the effect of triggering the operation of the virtual target machine;
[0009] The bus data simulation module first automatically parses the project ICD protocol configuration file, then simulates the external bus data stimulus based on ICD, and realizes the data transfer from the simulated bus data to the virtual target machine through the collaborative simulation software, as well as the data transfer from the target machine simulation to the control panel model. Finally, the bus sends data analysis based on ICD, thereby realizing the simulation monitoring of the bus data input and output of the entire digital prototype model.
[0010] Preferably, the virtual target machine simulation module includes a CPU resource simulation model composed of simulated CPU peripheral devices, an external device simulation model, a CPU, and peripherals, which can be freely combined and defined according to user needs.
[0011] Preferably, the co-simulation software generates the simulation control panel implemented by Qt and the virtual target machine implemented by Qemu as win32 dynamic libraries, and defines the interface form between libraries to achieve data transfer at the software level.
[0012] Preferably, when the bus data simulation module automatically parses the project ICD protocol configuration file, it abstracts the contents of the ICD protocol configuration file into bus type, input / output, message type, and message content, and describes them in a unified form in XML or EXCEL, thereby realizing the abstract definition of ICDs of different projects and providing a basis for subsequent ICD analysis.
[0013] The beneficial effects of the present invention are:
[0014] The present invention 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 mutual interconnection of 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 between different model projects, realizes the debugging, development, testing, and system simulation of the controller software out of the hardware environment, realizes the parallel development of software and hardware, releases product resources, shortens the development cycle, and reduces project costs. The present invention has a wide range of applications and has significant market prospects and economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Schematic diagram of the airborne controller digital prototype model design architecture.
[0016] Figure 2 Schematic diagram of virtual target machine simulation.
[0017] Figure 3 Schematic diagram of the cross-linking between Qemu and QT implementation models. DETAILED DESCRIPTION
[0018] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0019] In recent years, digital twin technology has been increasingly disseminated and paid attention to, and is being applied in many fields such as electricity, shipping, urban management, agriculture, construction, manufacturing, oil and gas, health care, environmental protection, etc. In the field of aerospace, digital twin technology has been applied in many fields such as fault prediction, design and development management, production and assembly, maintenance and repair, etc.
[0020] The digital prototype model described in this article belongs to the technical scope of digital twins of airborne avionics products. It refers to the construction of a virtual target system environment identical to the actual target machine through software modeling on a PC or server, providing a comprehensive, purely digital simulation platform for embedded software development and measurement, so that the software binary code can run in the virtual target system environment without modification or recompilation, and obtain the same execution results as on the real target machine. This enables the development, debugging, and testing of software to be separated from the actual product hardware, freeing up product resources, shortening the development cycle, and reducing project costs.
[0021] In view of the differences in the requirements of the above-mentioned multi-type aircraft controller products, a universal configurable airborne controller digital prototype model shown in this embodiment uses a virtual target machine simulation platform implemented by Qemu, a control panel simulation platform implemented by Qt, and an abstract modeling of ICD to achieve rapid construction of a controller product simulation environment between different models of projects, which is used for debugging, development, testing, and system simulation of controller software out of the hardware environment, and realizes parallel development of software and hardware, freeing up product resources, shortening the development cycle, and reducing project costs. Its architecture is as follows: Figure 1 As shown, it includes a virtual target machine simulation module, a control panel simulation module, a bus data simulation module and collaborative simulation software.
[0022] 1) Virtual target machine simulation module: Through Qemu technology, the behavioral level simulation of ARM architecture microcontroller is realized, and a virtual target machine running the controller software is built, which enables the direct operation of the software binary code in the real product on the simulation platform. The difference in processing methods of different models of controllers is solved through the non-differential resident operation of the onboard software.
[0023] The virtual target machine simulation module includes the simulation of CPU (MCU) resources, such as the watchdog circuit, timer, interrupt controller, serial port and other CPU integrated peripherals; 1553B, RS422 and other external equipment simulation models; CPU and peripherals together constitute the virtual target machine, which constitutes the graphical simulation of hardware resources, and can realize free combination and definition according to user needs. Figure 2As shown, the CPU chip consists of two graphical modules: ARM_Cortex_A7 and Peri_FMQL45T900_1, and the graphical interface module is used to form a full digital closed-loop simulation system.
[0024] 2) Control panel simulation module: Use QT tools to build a common resource library for controller panels, provide panel simulation control resources such as buttons, band switches, coding switches, indicator lights, etc., and use graphical drag and drop to select the composition of the control panel required for the project to form a simulation control panel. Figure 3 As shown in the figure, a design method for binding the simulation control panel designed by QT with the on-chip GPIO, ADC, DAC and other pins, analog quantity, and external address space design of the virtual target machine is realized through the collaborative simulation software (distributed simulation data communication software), and an external excitation signal is generated to the virtual target machine to achieve the effect of triggering the operation of the virtual target machine. The specific implementation method can be summarized as generating the simulation control panel implemented by Qt and the virtual target machine implemented by Qemu as win32 dynamic libraries, and defining the interface form between libraries to realize data transmission at the software level.
[0025] 3) Bus data simulation module: This simulation mainly includes automatic analysis of the project ICD protocol configuration file, ICD-based external bus data excitation, and ICD-based bus transmission data analysis, thereby realizing simulation monitoring of the entire digital prototype model bus data input and output. Its design content mainly includes:
[0026] a) Abstract description of ICD file: Abstract the contents of ICD protocol configuration file into bus type, input / output, message type, message content and other elements, and describe them in XML or EXCEL in a unified form to realize the abstract definition of ICD of different projects and provide a basis for subsequent ICD analysis;
[0027] b) Bus data simulation: build an external excitation model to simulate the external bus data and trigger the operation of the digital prototype; analyze and display the data sent by the digital prototype in real time to monitor the correctness of the data sent by the digital prototype;
[0028] In the process of building the bus data simulation module, collaborative simulation software (distributed simulation data communication software) is also used to realize the data transmission from the simulated bus data to the virtual target machine, and the data transmission from the target machine simulation to the control panel model. The specific method is the same as above.
[0029] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.
Claims
1. A generalized configurable airborne controller digital prototype model, comprising a virtual target machine simulation module, a control panel simulation module, a bus data simulation module and collaborative simulation software, characterized in that: The virtual target machine simulation module uses Qemu technology to implement behavioral-level simulation of ARM architecture microcontrollers and build a virtual target machine that runs the controller software. The control panel simulation module uses QT tools to build a common resource library for controller panels, and uses graphical drag-and-drop to select the composition of the control panel required for the project to form a simulation control panel; The simulation control panel is bound to the virtual target machine through the co-simulation software, and an external excitation signal is generated to the virtual target machine to trigger the operation of the virtual target machine. The bus data simulation module first automatically parses the project ICD protocol configuration file, then simulates the external bus data stimulus based on ICD, and realizes the data transfer from the simulated bus data to the virtual target machine through the collaborative simulation software, as well as the data transfer from the target machine simulation to the control panel model. Finally, the bus sends data analysis based on ICD, thereby realizing the simulation monitoring of the bus data input and output of the entire digital prototype model.
2. A generalized configurable airborne controller digital prototype model according to claim 1, characterized in that The virtual target machine simulation module includes a CPU resource simulation model composed of simulated CPU peripherals, an external device simulation model, a CPU, and peripherals, which can be freely combined and defined according to user needs.
3. A generalized configurable airborne controller digital prototype model according to claim 1, characterized in that The collaborative simulation software generates the simulation control panel implemented by Qt and the virtual target machine implemented by Qemu as win32 dynamic libraries, and defines the interface form between libraries to realize data transmission at the software level.
4. A generalized configurable airborne controller digital prototype model according to claim 1, characterized in that When the bus data simulation module automatically parses the project ICD protocol configuration file, it abstracts the contents of the ICD protocol configuration file into bus type, input / output, message type, and message content, and describes them in a unified form in XML or EXCEL, thereby realizing the abstract definition of ICDs of different projects and providing a basis for subsequent ICD analysis.
Citation Information
Patent Citations
All-digital collaborative simulation system communication method based on P2P network
CN105959347A
General auto test system and general auto test method based on device under test (DUT) model
CN106201803A
ICD (interface control document)-oriented RS422 bus signal simulation testing method
CN106354027A
System-level simulation test environment construction method based on DDS
CN113221318A
Aviation airborne software full-digital simulation test system
CN113961453A
Cited By
Flight control ICD protocol simulation verification system based on virtual modeling and flight control system
CN121056334A