Software-in-the-loop simulation automatic analysis system

By providing a software in-loop simulation automatic analysis system in the development of aero engine control system, the problem of lack of effective verification system design in the existing technology is solved, real-time automatic judgment and analysis of software simulation tests is realized, and the efficiency and accuracy of simulation tests are significantly improved.

CN120029085APending Publication Date: 2025-05-23AECC COMML AIRCRAFT ENGINE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311560356.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

In the development of aero engine control systems, the prior art lacks a software in-loop simulation automatic analysis system that can effectively verify system design.

Method used

Provides a software-in-loop simulation automatic analysis system, including human-computer interactive workstations, real-time simulation machines and module development workstations. The system realizes the automatic determination and analysis function of software simulation test through a real-time simulation machine, and uses the module development workstation to develop the required simulation model.

Benefits of technology

Real-time automatic judgment and analysis of software in-loop simulation is realized, the clock performance of data analysis and result judgment is improved, and the efficiency and accuracy of simulation testing is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029085A_ABST
    Figure CN120029085A_ABST
Patent Text Reader

Abstract

The invention discloses a software-in-the-loop simulation automatic analysis system, which is characterized in that various types of product interfaces are collected according to product definitions, then the collected product interfaces are classified, interface categories are established, and corresponding interface feature groups are respectively constructed for the interface categories according to interface features; and managing the interfaces in the product MBD three-dimensional control model based on the interface categories and the corresponding interface feature groups.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of simulation testing, and in particular to a software-in-the-loop simulation automatic analysis system. Background Art

[0002] At present, in the fields of aerospace, high-speed rail, automobile, precision machinery, industrial automation, etc., it has become a common and indispensable part of the development process to carry out design verification of control system requirements for the developed electronic controller in a closed-loop real-time simulation system. A set of real-time simulation systems with complete functions, stable performance and high verification confidence has become a typical requirement for the development of high-performance, high-quality, high-reliability and technically controllable control systems.

[0003] At present, the international common processes for developing aircraft engine control systems include SAE ARP 4754, DO-178 and DO-331. The system development process ARP4754 points out the classic double V process of system requirements analysis, system design and system verification, and DO-178 proposes the process of software from requirements, coding to integrated testing. However, there is no common process or typical method for implementing the system design process from system requirements to software requirements. Summary of the invention

[0004] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.

[0005] The purpose of the present invention is to solve the above-mentioned problems and to provide a software-in-the-loop simulation automatic analysis system that can be used for the development of aircraft engine control systems and can verify the system design being carried out. It can automatically judge and analyze the data during and after the software-in-the-loop simulation.

[0006] The technical solution of the present invention is:

[0007] The present invention provides a software-in-the-loop simulation automatic analysis system, including a human-computer interaction workstation, a real-time simulation machine and a module development workstation; wherein,

[0008] The human-computer interaction workstation is used to provide a human-computer interaction environment for software simulation testing;

[0009] The real-time simulator is used to realize the automatic determination and analysis functions of software simulation testing;

[0010] The model development workstation is used to develop the simulation models required by the real-time simulation machine.

[0011] According to an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the human-computer interaction workstation includes a monitoring module, a human-computer interaction module, a use case injection module and an analysis report generation module; wherein,

[0012] The monitoring module is used to monitor the running status of the real-time simulation machine in different running modes;

[0013] The human-computer interaction module is used to provide external configuration ports and instruction ports of the real-time simulation machine in different operating modes;

[0014] The use case injection module is used to implement the use case injection function of the real-time simulator in different operating modes;

[0015] The analysis report generation module is used to generate a simulation test analysis report after the real-time simulation machine completes the software simulation test.

[0016] According to an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the real-time simulation machine includes a gateway module, a control object model module, an automatic determination and analysis model module, a controller model module and a real-time scheduling module; wherein,

[0017] The gateway module is used to realize the information interaction between the human-computer interaction station and the module development workstation and the control object model module;

[0018] The control object model module is used to provide a dynamic library or executable file of the control object model for software simulation testing;

[0019] The automatic determination and analysis model module is used to realize the automatic determination and analysis function of the operating status of the control object model module;

[0020] The controller model module is used to simulate the physical signal acquisition function and physical signal output function of the control object model module when it is running;

[0021] The real-time scheduling module is used to realize the real-time scheduling of the gateway module, the control object model module, the automatic determination and analysis model module and the controller model module.

[0022] According to an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the real-time simulation machine uses a high-speed data bus and a low-speed data bus to communicate with each module; wherein,

[0023] The automatic determination and analysis model module and the controller model module are respectively connected to the control object model module by high-speed data buses;

[0024] The control object model module and the automatic determination and analysis model module are respectively connected to the gateway module through a low-speed data bus for communication.

[0025] According to one embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the real-time simulation machine runs the automatic judgment and analysis model module in real time to perform real-time automatic judgment and analysis on the software simulation test; wherein, when the automatic judgment and analysis model module performs real-time automatic judgment and analysis on the software simulation test, it synchronously runs the control object model in the control object model module, and obtains information on the controller model in the controller model module and the control object model in the control object model module through a high-speed data bus, and then completes the automatic judgment and analysis of the software simulation test under the scheduling drive of the real-time scheduling module.

[0026] According to one embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the gateway module is also used to realize the communication connection between the automatic determination and analysis model module and the analysis report generation module in the human-computer interaction workstation; wherein, after the automatic determination and analysis model module completes the automatic determination and analysis of the operating status of the control object model module, the determination result is sent to the analysis report generation module of the human-computer interaction workstation through the gateway module, and then the corresponding simulation test analysis report is generated by the analysis report generation module.

[0027] According to an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the module development workstation includes a graphical model development module, a code generation and compilation link module, and a real-time model download and update module; wherein,

[0028] The graphical model development module is used to provide a graphical modeling environment for developing simulation models required for real-time simulation machines, and to send the generated simulation model files to the code generation, i.e., compilation and linking module;

[0029] The code generation and compilation link module is used to parse the received simulation model file, generate the corresponding model code, compile link and model dynamic library file or executable file;

[0030] The real-time model download and update module is used to provide real-time download and update functions of the model code and compilation link of the simulation model.

[0031] According to one embodiment of the software-in-the-loop simulation automatic analysis system of the present invention, the module development workstation develops corresponding simulation models according to the requirements of each module in the real-time simulation machine, and provides a model dynamic library or executable file of the simulation model to the outside; wherein the simulation module includes the control object model required by the control object model module, the automatic determination and analysis model required by the automatic determination and analysis model module, and the controller model required by the controller model module.

[0032] The present invention also provides a computer readable medium storing a computer program code, wherein the computer program code implements the method as described above when executed by a processor.

[0033] The present invention also provides a software-in-the-loop simulation automatic analysis device, comprising:

[0034] a memory for storing instructions executable by a processor; and

[0035] The processor is used to execute the memory instructions to implement the above method.

[0036] Compared with the prior art, the present invention has the following beneficial effects: the present invention is aimed at the automatic analysis of software-in-the-loop simulation, adopts a model development workstation to develop the simulation model required by the real-time simulator, and then realizes the automatic judgment and analysis function of the software simulation test through the real-time simulator. Compared with the judgment method of saving the test data and then performing offline analysis, the present invention can realize the conversion of the environment from offline to real-time by performing synchronous automatic judgment on the test analysis system and the system being tested, so that the judgment and analysis of the simulation test are more direct and effective. Secondly, the automatic judgment function in the present invention runs on the real-time simulator, which makes the judgment logic and the interactive judgment process of the judged system more accurate, and significantly improves the clock performance of data analysis and result judgment. In addition, the present invention also provides a graphical judgment logic development environment, which effectively improves the development efficiency of the automatic judgment logic and simulation module. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.

[0038] Figure 1 1 is a system architecture diagram showing an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention. DETAILED DESCRIPTION

[0039] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the accompanying drawings and specific embodiments are only exemplary and should not be construed as limiting the scope of protection of the present invention in any way.

[0040] A software-in-the-loop simulation automatic analysis system is disclosed herein. Figure 1 1 is a system architecture diagram showing an embodiment of the software-in-the-loop simulation automatic analysis system of the present invention. Figure 1As shown, in this embodiment, the software-in-the-loop simulation automatic analysis system includes a human-computer interaction workstation (1), a real-time simulation machine (2) and a module development workstation (3). The human-computer interaction workstation (1) is used to provide a human-computer interaction environment for software simulation testing. The real-time simulation machine (2) is used to realize the automatic determination and analysis functions of the software simulation test. The model development workstation is used to develop the simulation model required by the real-time simulation machine (2).

[0041] Specifically, in this embodiment, the human-computer interaction workstation (1) includes a monitoring module (1.1), a human-computer interaction module (1.2), a use case injection module (1.3) and an analysis report generation module (1.4). Among them, the monitoring module (1.1) is used to monitor the operating status of the real-time simulator (2) in different operating modes. The human-computer interaction module (1.2) is used to provide the configuration port and instruction port of the real-time simulator (2) in different operating modes to the outside, thereby completing the configuration and instruction control of the real-time simulator (2) in different operating modes. The use case injection module (1.3) is used to realize the use case injection function of the real-time simulator (2) in different operating modes. The analysis report generation module (1.4) is used to generate a simulation test analysis report after the real-time simulator (2) completes the software simulation test.

[0042] Furthermore, in this embodiment, the real-time simulation machine (2) comprises a gateway module (2.1), a control object model module (2.2), an automatic determination and analysis model module (2.3), a controller model module (2.4) and a real-time scheduling module (2.5). The gateway module (2.1) is used to realize information interaction between the human-machine interaction station and the module development workstation (3) and the control object model module (2.2), thereby realizing functions such as sending and receiving information such as configuration, loading, and control of the human-machine interaction workstation (1) and the model development workstation (2). The control object model module (2.2) is a dynamic library (dll, so, etc. format) or an executable file (exe, etc. format) of the control object model for software simulation testing. When the model development workstation (4) develops the control object model, it is downloaded to the control object model module (2.2) of the real-time simulation machine (2) to complete the simulation of the controlled object function. The automatic judgment and analysis model module (2.3) is a dynamic library (dll, so, etc. format) or an executable file (exe, etc. format) of the automatic judgment and analysis model for software simulation testing. When the model development workstation (4) develops the automatic judgment After determining and analyzing the model, it is downloaded to the automatic determination and analysis model module (2.3) of the real-time simulation machine (2) to realize the automatic determination and analysis function of the control object model module (2.2) during operation, performance and fault status. The controller model module (2.4) is used to simulate the physical signal acquisition function and physical signal output function of the control object model module (2.2) during operation. The real-time scheduling module (2.5) is used to realize the real-time scheduling of the gateway module (2.1), the control object model module (2.2), the automatic determination and analysis model module (2.3) and the controller model module (2.4).

[0043] In addition, in this embodiment, for the model information interaction and signal acquisition and driving between the models in the real-time simulation machine (2), a high-speed data bus and a low-speed data bus are used to communicate and connect the modules. Among them, the automatic determination and analysis model module (2.3) and the control object model module (2.2), and the controller model module (2.4) and the control object model module (2.2) are connected by a high-speed data bus, and the signal transmission and reception of the constructed control closed-loop signal flow are completed through the high-speed data bus, and the refresh rate is 1000Hz to 5000Hz. The control object model module (2.2) and the gateway module (2.1), and the automatic determination and analysis model module (2.3) and the gateway module (2.1) are connected by a low-speed data bus, and the functions of executable model configuration and loading, model operation monitoring, manual operation drive signal transmission and reception, and test case drive signal transmission and reception are completed through the low-speed data bus, and the refresh rate is about 10Hz to 100Hz.

[0044] In this embodiment, the real-time simulation machine (2) executes the analysis logic of the test simulation test item judgment in real time by running the automatic judgment and analysis model module (2.3) in real time. When the automatic judgment and analysis model module (2.3) performs real-time automatic judgment and analysis on the software simulation test, it synchronously runs the control object model in the control object model module (2.2), and obtains the information of the controller model in the controller model module (2.4) and the control object model in the control object model module (2.2) through the high-speed data bus, and then completes the automatic judgment and analysis of the software simulation test under the scheduling drive of the real-time scheduling module (2.5).

[0045] In addition, in this embodiment, the gateway module (2.1) is also used to realize the communication connection between the automatic determination and analysis model module (2.3) and the analysis report generation module (1.4) in the human-computer interaction workstation (1), thereby generating a corresponding simulation test analysis report. Specifically, in this embodiment, after the automatic determination and analysis model module (2.3) completes the automatic determination and analysis of the operating state of the control object model module (2.2), the determination result is sent to the analysis report generation module (1.4) of the human-computer interaction workstation (1) through the gateway module (2.1). Driven by the "test completed" event issued by the automatic determination and analysis model module (2.3), the analysis report generation module (1.4) generates a corresponding simulation test analysis report.

[0046] Furthermore, in this embodiment, the module development workstation (3) includes a graphical model development module (3.1), a code generation and compile link module (3.2) and a real-time model download and update module (3.3), which are used to complete the graphical development of the simulation model, code generation, compile link generation of the model file and other functions. Among them, the graphical model development module (3.1) is used to provide a graphical modeling environment for developing the simulation model required by the real-time simulation machine (2), and send the generated simulation model file to the code generation and compile link module. The code generation and compile link module (3.2) is used to parse the received simulation model file, generate the corresponding model code, compile link and model dynamic library file or executable file. The real-time model download and update module (3.3) is used to complete the sending function of the simulation model dynamic library or executable model file, and the receiving function of the model update information, and send the model update information to the graphical model development module (3.1), so as to realize the real-time download and update of the model code and compile link of the simulation model.

[0047] Specifically, in this embodiment, when developing the simulation model, the module development workstation (3) develops the corresponding simulation model according to the requirements of each module in the real-time simulation machine (2), and provides the model dynamic library (so, dll and other files) or executable file (exe and other files) of the simulation model to the outside. The simulation module includes the control object model required by the control object model module (2.2), the automatic determination and analysis model required by the automatic determination and analysis model module (2.3), and the controller model required by the controller model module (2.4).

[0048] When developing the simulation model, the module development workstation (3) carries out the model development process based on the graphical modeling environment in the graphical model development module (3.1), completes the model file (mdl or other format) corresponding to the control object model module (2.2) for automatic judgment of the simulation test execution criterion, and simultaneously generates the model file (mdl or other format) corresponding to the automatic judgment and analysis model module (2.3) and the controller model module (2.4) for carrying out closed-loop control test simulation. In addition, in this embodiment, the graphical model development module (3.1) can also provide a status information display function for successful model download.

[0049] The present specification also provides a computer-readable medium storing computer program codes, which, when executed by a processor, implement the software-in-the-loop simulation automatic analysis system as described above.

[0050] This specification also provides a software-in-the-loop simulation automatic analysis device, including an instruction memory for storing instructions executable by a processor, and a processor for executing instructions in the instruction memory to implement the software-in-the-loop simulation automatic analysis system as described above.

[0051] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.

[0052] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention.

[0053] The various illustrative logic blocks, modules, and circuits described in conjunction with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.

[0054] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, a storage medium may be integrated into a processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and the storage medium may reside in a user terminal as discrete components.

[0055] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, each function may be stored on or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include both computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium that can be accessed by a computer. As an example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, wherein disk often reproduces data magnetically, while disc reproduces data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

Claims

1. A software-in-the-loop simulation automatic analysis system, It is characterized in that It includes human-computer interaction workstation, real-time simulator and module development workstation; among them, The human-computer interaction workstation is used to provide a human-computer interaction environment for software simulation testing; The real-time simulator is used to realize the automatic determination and analysis functions of software simulation testing; The model development workstation is used to develop the simulation models required by the real-time simulation machine.

2. The software-in-the-loop simulation automatic analysis system according to claim 1, It is characterized in that The human-computer interaction workstation includes a monitoring module, a human-computer interaction module, a use case injection module and an analysis report generation module; wherein, The monitoring module is used to monitor the running status of the real-time simulation machine in different running modes; The human-computer interaction module is used to provide external configuration ports and instruction ports of the real-time simulation machine in different operating modes; The use case injection module is used to implement the use case injection function of the real-time simulator in different operating modes; The analysis report generation module is used to generate a simulation test analysis report after the real-time simulation machine completes the software simulation test.

3. The software-in-the-loop simulation automatic analysis system according to claim 1, It is characterized in that The real-time simulation machine includes a gateway module, a control object model module, an automatic determination and analysis model module, a controller model module and a real-time scheduling module; wherein, The gateway module is used to realize the information interaction between the human-computer interaction station and the module development workstation and the control object model module; The control object model module is used to provide a dynamic library or executable file of the control object model for software simulation testing; The automatic determination and analysis model module is used to realize the automatic determination and analysis function of the operating status of the control object model module; The controller model module is used to simulate the physical signal acquisition function and physical signal output function of the control object model module when it is running; The real-time scheduling module is used to realize the real-time scheduling of the gateway module, the control object model module, the automatic determination and analysis model module and the controller model module.

4. The software-in-the-loop simulation automatic analysis system according to claim 3, It is characterized in that The real-time simulation machine uses a high-speed data bus and a low-speed data bus to communicate with each module; wherein, The automatic determination and analysis model module and the controller model module are respectively connected to the control object model module by high-speed data buses; The control object model module and the automatic determination and analysis model module are respectively connected to the gateway module through a low-speed data bus for communication.

5. The software-in-the-loop simulation automatic analysis system according to claim 3, It is characterized in that The real-time simulation machine runs the automatic determination and analysis model module in real time to perform real-time automatic determination and analysis on the software simulation test; wherein, when the automatic determination and analysis model module performs real-time automatic determination and analysis on the software simulation test, it synchronously runs the control object model in the control object model module, and obtains information on the controller model in the controller model module and the control object model in the control object model module through a high-speed data bus, and then completes the automatic determination and analysis of the software simulation test under the scheduling drive of the real-time scheduling module.

6. The software-in-the-loop simulation automatic analysis system according to claim 3, It is characterized in that The gateway module is also used to realize the communication connection between the automatic determination and analysis model module and the analysis report generation module in the human-computer interaction workstation; wherein, after the automatic determination and analysis model module completes the automatic determination and analysis of the operating status of the control object model module, the determination result is sent to the analysis report generation module of the human-computer interaction workstation through the gateway module, and then the corresponding simulation test analysis report is generated by the analysis report generation module.

7. The software-in-the-loop simulation automatic analysis system according to claim 1, It is characterized in that The module development workstation includes a graphical model development module, a code generation and compilation link module, and a real-time model download and update module; wherein, The graphical model development module is used to provide a graphical modeling environment for developing simulation models required for real-time simulation machines, and to send the generated simulation model files to the code generation, i.e., compilation and linking module; The code generation and compilation link module is used to parse the received simulation model file, generate the corresponding model code, compile link and model dynamic library file or executable file; The real-time model download and update module is used to provide real-time download and update functions of the model code and compilation link of the simulation model.

8. The software-in-the-loop simulation automatic analysis system according to claim 1, It is characterized in that The module development workstation develops corresponding simulation models according to the requirements of each module in the real-time simulation machine, and provides a model dynamic library or executable file of the simulation model to the outside; wherein, the simulation module includes the control object model required by the control object model module, the automatic determination and analysis model required by the automatic determination and analysis model module, and the controller model required by the controller model module.

9. A computer readable medium storing computer program code, It is characterized in that The computer program code implements the method according to any one of claims 1 to 8 when executed by a processor.

10. A software-in-the-loop simulation automatic analysis device, It is characterized in that include: a memory for storing instructions executable by a processor; as well as A processor, configured to execute the instructions to implement the method according to any one of claims 1 to 8.