Method, device and storage medium for generating an aircraft aerodynamic model

The aircraft aerodynamic model is automatically generated through GC Kontrol software and Python API interface, which solves the problems of low generation efficiency and easy introduction of errors in the existing technology and realizes efficient and accurate aerodynamic model generation.

CN119830442BActive Publication Date: 2025-09-12BEIJING GLOBAL CROWN JINYANG TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411891771.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-09-12
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

The generation of aircraft aerodynamic models in the existing technology is inefficient and prone to human errors, mainly due to the tedious manual query and construction of aerodynamic data.

Method used

Through the GC Kontrol software and Python API interface, the variable information and aerodynamic data of the interpolation table data file in the target folder are automatically obtained, the interpolation table module is created, and the aerodynamic model is generated based on the virtual subsystem, avoiding manual operation.

Benefits of technology

The efficiency of aerodynamic model generation is improved, the risk of human error is reduced, and the accuracy and reliability of the model are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830442B_ABST
    Figure CN119830442B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium for generating an aircraft aerodynamic model. In this solution, the path information of a target folder is obtained; each subfolder in the target folder includes multiple interpolation table data files, and the interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, and aerodynamic data corresponding to each flight state variable; based on the path information, the target folder is traversed, and the variable information and aerodynamic data corresponding to each interpolation table data file in each subfolder are obtained in turn; based on the variable information and aerodynamic data corresponding to each interpolation table data file, an interpolation table module corresponding to the interpolation table data file is created; virtual subsystems are created based on each interpolation table module corresponding to the subfolder, and an aerodynamic model is generated based on the virtual subsystems corresponding to each subfolder. The technical solution of this application improves the efficiency of generating aerodynamic models by generating aircraft aerodynamic models in an automated manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of aerodynamics, and in particular to a method, device and storage medium for generating an aerodynamic model of an aircraft. Background Art

[0002] In the field of aeronautical engineering, aircraft aerodynamic data (such as lift, drag, and lateral force) is crucial for evaluating an aircraft's flight performance. This data not only influences aircraft design and optimization but also plays a key role in the development and verification of flight control systems.

[0003] Currently, existing technologies typically use aircraft aerodynamic models to fit the aerodynamic coefficients of an aircraft under different flight conditions to evaluate its flight performance. However, these aircraft aerodynamic models often need to be constructed manually. For example, this involves manually querying the aerodynamic data required to build the aerodynamic model and manually creating the functional modules that constitute the aerodynamic model (such as input modules and interpolation table modules). This not only increases the risk of introducing human errors, but also leads to low aerodynamic model generation efficiency due to the cumbersome manual modeling process. Summary of the Invention

[0004] Based on the above problems, the present application provides a method, device and storage medium for generating an aircraft aerodynamic model, the purpose of which is to generate an aircraft aerodynamic model in an automated manner and improve the efficiency of generating the aerodynamic model.

[0005] The embodiments of this application disclose the following technical solutions:

[0006] In a first aspect, the present application provides a method for generating an aircraft aerodynamic model, the method being applied to GCKontrol software, the method comprising:

[0007] Obtain the path information of the target folder; the target folder contains multiple subfolders, each of which contains multiple interpolation table data files. The interpolation table data files in each subfolder correspond to the same type of rudder effect. The interpolation table data files contain variable information of multiple flight state variables corresponding to the aircraft, as well as aerodynamic data corresponding to each flight state variable. The variable information includes the number of variables and the variable name.

[0008] Traversing the target folder based on the path information, sequentially obtaining variable information and aerodynamic data corresponding to each interpolation table data file in each subfolder, and creating an interpolation table module corresponding to the interpolation table data file based on the variable information and aerodynamic data corresponding to each interpolation table data file; the interpolation table module is used to fit aerodynamic coefficients that match the input variables of the aerodynamic model based on the aerodynamic data;

[0009] Create a virtual subsystem based on the interpolation table modules corresponding to the subfolders, and generate an aerodynamic model based on the virtual subsystems corresponding to the subfolders; the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

[0010] In an optional implementation, the target folder is traversed based on the path information, the variable information and aerodynamic data of each interpolation table data file in each subfolder are sequentially obtained, and based on the variable information and aerodynamic data corresponding to each interpolation table data file, an interpolation table module corresponding to the interpolation table data file is created, including:

[0011] Traverse the target folder based on the path information and obtain the directory information of the target folder;

[0012] Based on the directory information, each subfolder in the target folder and each interpolation table data file in the subfolder are traversed in sequence to obtain the variable information and aerodynamic data corresponding to each interpolation table data file;

[0013] Based on the variable information and aerodynamic data corresponding to each interpolation table data file, an interpolation table module corresponding to each interpolation table data file is created respectively.

[0014] In an optional implementation, before obtaining the path information of the target folder, the method further includes:

[0015] Create an input module and a Mux module based on the preset flight state variables; the Mux module is used to combine multiple input variables received by the input module into a single output signal;

[0016] Create connections between the input module and the Mux module.

[0017] In an optional implementation, a virtual subsystem is created based on each interpolation table module corresponding to the subfolder, including:

[0018] Based on the variable information of each interpolation table data file in the subfolder, create a Demux module corresponding to the subfolder; the Demux module is used to decompose the output signal of the Mux module into multiple input variables and route the input variables to the matching interpolation table module;

[0019] Establish connections between the Demux modules and Mux modules corresponding to each subfolder;

[0020] Create output modules corresponding to each interpolation table module;

[0021] Establish connections between each interpolation table module and the Demux module, and establish connections between each interpolation table module and the corresponding output module;

[0022] The connected Demux modules, interpolation table modules and output modules are encapsulated as a virtual subsystem.

[0023] In an optional implementation, an aerodynamic model is generated based on the virtual subsystem corresponding to each subfolder, including:

[0024] Generate an aerodynamic model based on the connected input modules and Mux modules, as well as the virtual subsystems corresponding to each subfolder.

[0025] In a second aspect of the present application, a device for generating an aircraft aerodynamic model is provided, characterized in that it is applied to GCKontrol software and comprises:

[0026] An acquisition module is used to obtain the path information of a target folder; the target folder includes multiple subfolders, each of which includes multiple interpolation table data files, each of which corresponds to the same type of rudder effect, and the interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, as well as aerodynamic data corresponding to each flight state variable, and the variable information includes the number of variables and variable names;

[0027] A creation module is used to traverse the target folder based on the path information, sequentially obtain the variable information and aerodynamic data corresponding to each interpolation table data file in each subfolder, and create an interpolation table module corresponding to the interpolation table data file based on the variable information and aerodynamic data corresponding to each interpolation table data file; the interpolation table module is used to fit the aerodynamic coefficients that match the input variables of the aerodynamic model based on the aerodynamic data;

[0028] The model generation module is used to create virtual subsystems based on the interpolation table modules corresponding to the subfolders, and generate aerodynamic models based on the virtual subsystems corresponding to the subfolders; the aerodynamic models are used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

[0029] Optionally, creating a module includes:

[0030] A first acquiring unit, configured to traverse a target folder based on the path information and acquire directory information of the target folder;

[0031] The second acquisition unit sequentially traverses each subfolder in the target folder and each interpolation table data file in the subfolder based on the directory information to acquire variable information and aerodynamic data corresponding to each interpolation table data file;

[0032] The first creating unit is configured to create interpolation table modules corresponding to the respective interpolation table data files based on the variable information and aerodynamic data corresponding to the respective interpolation table data files.

[0033] Optionally, the model generation module includes:

[0034] The second creation unit is used to create a Demux module corresponding to the subfolder based on the variable information of each interpolation table data file in the subfolder; the Demux module is used to decompose the output signal of the Mux module into multiple input variables, and route the input variables to the matching interpolation table module;

[0035] The first connection unit is used to establish a connection between the Demux module and the Mux module corresponding to each subfolder;

[0036] A third creation unit is used to create output modules corresponding to each interpolation table module;

[0037] A second connection unit is used to establish a connection between each interpolation table module and the Demux module, and to establish a connection between each interpolation table module and the corresponding output module;

[0038] The encapsulation unit is used to encapsulate the connected Demux modules, various interpolation table modules and output modules into a virtual subsystem.

[0039] In a third aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for generating an aircraft aerodynamic model is implemented.

[0040] In a fourth aspect of the present application, a processor is provided for running a computer program, which executes the above-mentioned method for generating an aircraft aerodynamic model when the computer program is running.

[0041] Compared with the existing technology, this application has the following beneficial effects:

[0042] In the technical solution of the present application, the path information of the target folder is first obtained; then, the target folder is traversed based on the path information, and the variable information and aerodynamic data corresponding to each interpolation table data file in each subfolder are obtained in turn, and based on the variable information and aerodynamic data corresponding to each interpolation table data file, an interpolation table module corresponding to the interpolation table data file is created, wherein the interpolation table module is used to fit the aerodynamic coefficients that match the input variables of the aerodynamic model based on the aerodynamic data; the variable information includes the number of variables and the variable name; finally, a virtual subsystem is created according to each interpolation table module corresponding to the subfolder, and an aerodynamic model is generated according to the virtual subsystem corresponding to each subfolder, wherein the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

[0043] Through the technical solution of the present application, it is possible to traverse the target folder based on the path information of the target folder, automatically obtain the variable information of multiple flight state variables corresponding to the aircraft in each interpolation table data file in each subfolder, and the aerodynamic data corresponding to each flight state variable, and create an interpolation table module corresponding to the interpolation table data file, without manually querying the aerodynamic data or manually creating the interpolation table module, reducing the time consumed by manually querying and inputting aerodynamic data and manually creating the interpolation table module, and improving the efficiency of creating the interpolation table module; since the interpolation table data files in each subfolder correspond to the same type of rudder effect, the virtual subsystem corresponding to the subfolder can be automatically created through each interpolation table module corresponding to the subfolder, and the aerodynamic model is automatically generated based on the virtual subsystem corresponding to each subfolder, without manually creating the functional modules constituting the aerodynamic model, thereby realizing the generation of the aircraft aerodynamic model in an automated manner and improving the efficiency of generating the aerodynamic model. In addition, through the technical solution of the present application, the risk of introducing human error is reduced and the accuracy and reliability of the generated aircraft aerodynamic model are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0045] Figure 1 A flowchart of a method for generating an aircraft aerodynamic model provided in an embodiment of the present application;

[0046] Figure 2 A flowchart of another method for generating an aircraft aerodynamic model provided in an embodiment of the present application;

[0047] Figure 3 A schematic structural diagram of an aerodynamic model provided in an embodiment of the present application;

[0048] Figure 4 A flowchart of a process for creating a virtual subsystem provided in an embodiment of the present application;

[0049] Figure 5 A schematic structural diagram of a device for generating an aerodynamic model of an aircraft provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] As described above, current aircraft aerodynamic models often need to be constructed manually. For example, the aerodynamic data required to build the aerodynamic model is manually queried, and the functional modules that constitute the aerodynamic model (such as input modules, interpolation table modules, etc.) are manually created to build the aerodynamic model. This not only increases the risk of introducing human errors, but also leads to low efficiency in generating the aerodynamic model due to the cumbersome manual modeling process.

[0051] After research, the inventors have proposed a method for generating an aircraft aerodynamic model. The method can realize the automatic modeling function of the aerodynamic model through Python code. Through GCControl software and Python API interface, the target folder can be traversed based on the path information of the target folder, and the variable information of multiple flight state variables corresponding to the aircraft in each interpolation table data file in each subfolder, as well as the aerodynamic data corresponding to each flight state variable, can be automatically obtained. An interpolation table module corresponding to the interpolation table data file is created, eliminating the need for manual query of aerodynamic data and manual creation of the interpolation table module. This reduces the time consumed in manually querying and inputting aerodynamic data and manually creating the interpolation table module, and improves the efficiency of creating the interpolation table module. Since the interpolation table data files in each subfolder correspond to the same type of rudder effect, the virtual subsystem corresponding to the subfolder can be automatically created through the interpolation table modules corresponding to the subfolder, and the aerodynamic model is automatically generated based on the virtual subsystem corresponding to each subfolder. There is no need to manually create the functional modules constituting the aerodynamic model, thereby realizing the automatic generation of the aircraft aerodynamic model and improving the efficiency of generating the aerodynamic model. In addition, the technical solution of the present application reduces the risk of introducing human errors and improves the accuracy and reliability of the generated aircraft aerodynamic model.

[0052] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0053] Method Example

[0054] An embodiment of the present application provides an embodiment of a method for generating an aerodynamic model of an aircraft. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0055] See also Figure 1 This figure is a flow chart of a method for generating an aircraft aerodynamic model, provided in an embodiment of the present application. This method is applied to GCKontrol software, a graphical modeling and simulation tool that enables system design and simulation. GCKontrol software features a rich set of control system modeling elements, supports control system modeling and simulation, linear and nonlinear system modeling and simulation, and can automatically generate efficient, high-quality C code. It also supports FMU export, real-time simulation, and automated testing and verification. Using GCKontrol software and the Python API interface, automated modeling of aerodynamic models can be achieved using Python code.

[0056] like Figure 1 As shown, the method includes the following steps:

[0057] Step S101: Obtain the path information of the target folder.

[0058] In step S101, the target folder includes multiple subfolders, each subfolder includes multiple interpolation table data files, the interpolation table data files in each subfolder correspond to the same type of rudder effect, the interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, and aerodynamic data corresponding to each flight state variable, and the variable information includes the number of variables and variable names.

[0059] In this embodiment, the interpolation table data file includes interpolation table data composed of a large amount of aerodynamic data collected through experimental tests (such as wind tunnel tests and flight tests). The flight state variables included in the interpolation table data file can be parameters corresponding to the aircraft, such as the angle of attack, sideslip angle, altitude, Mach number, elevator, left rudder, right rudder, and aileron, which are used to evaluate the flight state and performance of the aircraft. The aerodynamic data corresponding to each flight state variable can be any one of parameters such as the lift coefficient cl, the drag coefficient cd, the side force coefficient cy, the pitching moment coefficient cm, and the yaw moment coefficient cn.

[0060] For example, each subfolder includes multiple interpolation table data files, which may be cl.csv and cy.csv respectively. Among them, cl.csv may include four flight state variables, namely angle of attack, sideslip angle, altitude, and Mach number, as well as the vector length and vector breakpoint corresponding to the angle of attack, the vector length and vector breakpoint corresponding to the sideslip angle, the vector length and vector breakpoint corresponding to the altitude, the vector length and vector breakpoint corresponding to the Mach number, and the lift coefficients corresponding to the angle of attack, sideslip angle, altitude, and Mach number respectively; cy.csv may include four flight state variables, namely angle of attack, sideslip angle, altitude, and Mach number, as well as the vector length and vector breakpoint corresponding to the angle of attack, the vector length and vector breakpoint corresponding to the sideslip angle, the vector length and vector breakpoint corresponding to the altitude, the vector length and vector breakpoint corresponding to the Mach number, and the side force coefficients corresponding to the angle of attack, sideslip angle, altitude, and Mach number respectively.

[0061] In this embodiment, the interpolation table data files in each subfolder correspond to the same type of steering effect. For example, the steering effect corresponding to all the interpolation table data files in subfolder 1 is the elevator steering effect, the steering effect corresponding to all the interpolation table data files in subfolder 2 is the aileron steering effect, and the steering effect corresponding to all the interpolation table data files in subfolder 3 is the rudder effect.

[0062] It should be noted that by placing the interpolation table data files with the same type of rudder effect in the same subfolder, the interpolation table data files with the same type of rudder effect can be read quickly and accurately, reducing the time-consuming search for the interpolation table data files with the same type of rudder effect one by one from a large number of interpolation table data files, thereby providing data preparation for the automatic generation of aerodynamic models to improve the generation efficiency of aerodynamic models.

[0063] In order to improve the generation efficiency of the aerodynamic model, in this embodiment, before obtaining the path information of the target folder, the GCKontrol software can create an input module and a Mux module based on the preset flight state variables, wherein the Mux module is used to merge multiple input variables received by the input module into a single output signal; and then establish a connection between the input module and the Mux module.

[0064] In this embodiment, the preset flight state variables are pre-set input variables of the aerodynamic model. The preset flight state variables include but are not limited to the parameters corresponding to the aircraft, such as the angle of attack, sideslip angle, altitude, Mach number, elevator, left rudder, right rudder and aileron, which are used to evaluate the flight state and performance of the aircraft. They can be selected according to actual needs and are not specifically limited here. Figure 2As shown, the GCKontrol software can automatically create an input module of the aerodynamic model based on preset flight state variables, as well as a Mux module for merging multiple input variables received by the input module into a single output signal, and establish a connection between the input module and the Mux module. There is no need to manually create the input module and the Mux module, nor to manually establish the connection between the input module and the Mux module, which reduces the risk of introducing human errors and the time spent on manually creating the input module and the Mux module and manually connecting the lines, thereby improving the efficiency of aerodynamic model generation, as well as the accuracy and reliability of the generated aircraft aerodynamic model.

[0065] Optionally, after creating the Mux module, the GCKontrol software can automatically update the parameters of the Mux module based on the names of the preset flight state variables. For example, the initial parameters of the Mux module are in1, in2, in3 and in4. After the update, the parameters of the Mux module are: in1 is updated to the angle of attack, in2 is updated to the sideslip angle, in3 is updated to the altitude, and in4 is updated to the Mach number.

[0066] Step S102: traverse the target folder based on the path information, sequentially obtain variable information corresponding to each interpolation table data file in each subfolder, and create an interpolation table module corresponding to the interpolation table data file based on each interpolation table data file and the variable information corresponding to the interpolation table data file.

[0067] In step S102 , the interpolation table module is used to fit aerodynamic coefficients that match the input variables of the aerodynamic model based on the interpolation table data file.

[0068] In order to improve the generation efficiency of the aerodynamic model and avoid the problem of low generation efficiency of the aerodynamic model due to manual query of aerodynamic data and creation of interpolation table modules, in this embodiment, the GCKontrol software can traverse the target folder based on the path information, and automatically obtain the variable information corresponding to each interpolation table data file in each subfolder in turn, and automatically create the interpolation table module corresponding to the interpolation table data file based on each interpolation table data file and the variable information corresponding to the interpolation table data file. There is no need to manually query the aerodynamic data or manually create the interpolation table module, thereby reducing the time spent on manually querying and inputting aerodynamic data and manually creating the interpolation table module.

[0069] Specifically, the GCKontrol software can traverse the target folder based on the path information to obtain the directory information of the target folder; then, based on the directory information, it can traverse each subfolder in the target folder and each interpolation table data file in the subfolder in turn to obtain the variable information and aerodynamic data corresponding to each interpolation table data file; finally, based on the variable information and aerodynamic data corresponding to each interpolation table data file, it can create an interpolation table module corresponding to each interpolation table data file.

[0070] In this embodiment, if Figure 2 As shown, the GCKontrol software can traverse the target folder based on the path information, obtain the directory information of the target folder, and determine whether the currently accessed data is a subfolder through the directory information, and traverse the subfolders in the target folder and the interpolation table data files in the subfolder in turn; specifically, if the currently accessed data is a subfolder, continue to traverse the target folder, if the currently accessed data is an interpolation table data file in a subfolder, traverse the interpolation table data file in the subfolder, and obtain the variable information and pneumatic data corresponding to the interpolation table data file; finally, the GCKontrol software can create interpolation table modules corresponding to each interpolation table data file based on the variable information and pneumatic data corresponding to each interpolation table data file. For example, the subfolder includes interpolation table data files such as cl.csv, cd.csv, cm.csv and cy.csv. The GCKontrol software can create an interpolation table module corresponding to cl.csv, an interpolation table module corresponding to cd.csv, an interpolation table module corresponding to cm.csv and an interpolation table module corresponding to cy.csv based on the variable information and pneumatic data in cl.csv, cd.csv, cm.csv and cy.csv respectively.

[0071] Optionally, after creating the interpolation table module corresponding to the interpolation table data file, the variable name corresponding to the interpolation table data file can be set as the interpolation table module input parameter, and the type of aerodynamic data (such as lift coefficient, drag coefficient, etc.) can be set as the interpolation table module output parameter.

[0072] It should be noted that by automatically traversing the various subfolders in the target folder and the various interpolation table data files in the subfolders based on the directory information, the variable information and aerodynamic data corresponding to each interpolation table data file are obtained, and the interpolation table modules corresponding to each interpolation table data file are automatically created based on the variable information and the aerodynamic data. There is no need to manually query the aerodynamic data or manually create the interpolation table module, which reduces the time spent on manually querying and inputting aerodynamic data and manually creating the interpolation table module, reduces the risk of introducing human errors, and thereby improves the generation efficiency of the aerodynamic model as well as the accuracy and reliability of the generated aircraft aerodynamic model.

[0073] Step S103 , creating a virtual subsystem according to each interpolation table module corresponding to each subfolder, and generating an aerodynamic model according to the virtual subsystem corresponding to each subfolder.

[0074] In step S103 , the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

[0075] In order to improve the efficiency of generating the aerodynamic model, in this embodiment, the GCKontrol software can automatically create the interpolation table modules corresponding to the subfolders. Figure 3 The virtual subsystem shown in the figure is automatically generated based on the virtual subsystems corresponding to each subfolder, the input modules and Mux modules after the connection. Figure 3 The aerodynamic model shown in . Figure 3 The pneumatic model shown includes an input module, a Mux module, a virtual subsystem 1, and a virtual subsystem 2. Virtual subsystem 1 and virtual subsystem 2 each include a Demux module, multiple interpolation table modules, and corresponding output modules. The connection relationship between the modules can be shown as follows: Figure 3 shown.

[0076] Specifically, see Figure 4 , Figure 4 A flowchart of a process for creating a virtual subsystem provided in an embodiment of the present application includes the following steps:

[0077] Step S401: creating a Demux module corresponding to the subfolder based on the variable information of each interpolation table data file in the subfolder.

[0078] In step S401 , the Demux module is used to decompose the output signal output by the Mux module into multiple input variables, and route the input variables to the matching interpolation table module.

[0079] In this embodiment, each subfolder corresponds to a Demux module. For example, if all interpolation table data files in subfolder 1 correspond to elevator rudder effects and the variable information of each interpolation table data file is as follows: there are four variables, named angle of attack, sideslip angle, altitude, and Mach number, GCKontrol software can create a Demux module for the four-dimensional variables corresponding to subfolder 1.

[0080] Step S402: Establish connections between the Demux modules and the Mux modules corresponding to each sub-folder.

[0081] Step S403: Create output modules corresponding to the interpolation table modules.

[0082] Step S404: Establish a connection between each interpolation table module and the Demux module, and establish a connection between each interpolation table module and the corresponding output module.

[0083] Step S405: Encapsulate the connected Demux module, each interpolation table module and output module into a virtual subsystem.

[0084] In this embodiment, the GCKontrol software can automatically create Demux modules corresponding to the subfolders and output modules corresponding to each interpolation table module based on the variable information of each interpolation table data file, and automatically establish connections between the Demux modules and Mux modules corresponding to each subfolder, establish connections between each interpolation table module and the Demux module, and establish connections between each interpolation table module and the corresponding output module. There is no need to manually create the functional modules that constitute the aerodynamic model, nor to manually establish connections between the modules, which reduces the time consumption of manual operations and reduces the risk of introducing human errors, thereby improving the generation efficiency of the aerodynamic model and the accuracy and reliability of the generated aircraft aerodynamic model.

[0085] Furthermore, if Figure 2 As shown in the figure, GCKontrol software can determine whether to generate an aerodynamic model based on the virtual subsystems corresponding to each subfolder by determining whether there are unvisited subfolders in the target folder. If there are no unvisited subfolders in the target folder, GCKontrol software can automatically generate an aerodynamic model based on the virtual subsystems corresponding to each subfolder, the connected input modules, and the Mux modules. If there are unvisited subfolders in the target folder, the interpolation table data files in the unvisited subfolders will continue to be traversed until there are no unvisited subfolders in the target folder.

[0086] The method for generating an aircraft aerodynamic model provided by the embodiment of the present application realizes traversing the target folder based on the path information of the target folder, automatically obtaining the variable information of multiple flight state variables corresponding to the aircraft in each interpolation table data file in each subfolder, as well as the aerodynamic data corresponding to each flight state variable, and creating an interpolation table module corresponding to the interpolation table data file, without manually querying the aerodynamic data or manually creating the interpolation table module, reducing the time consumed by manually querying and inputting aerodynamic data and manually creating the interpolation table module, and improving the efficiency of creating the interpolation table module; since the interpolation table data files in each subfolder correspond to the same type of rudder effect, the virtual subsystem corresponding to the subfolder can be automatically created through each interpolation table module corresponding to the subfolder, and the aerodynamic model is automatically generated based on the virtual subsystem corresponding to each subfolder, without manually creating the functional modules constituting the aerodynamic model, thereby realizing the generation of the aircraft aerodynamic model in an automated manner, and improving the efficiency of generating the aerodynamic model. In addition, the method for generating an aircraft aerodynamic model provided by the embodiment of the present application reduces the risk of introducing human error and improves the accuracy and reliability of the generated aircraft aerodynamic model.

[0087] Device embodiment

[0088] The embodiment of the present application provides a device for generating an aerodynamic model of an aircraft, wherein: Figure 5 A schematic diagram of a device for generating an aircraft aerodynamic model according to an embodiment of the present application is shown in FIG. Figure 5 As shown, the device includes: an acquisition module 11, a creation module 12 and a model generation module 13. Figure 5 You can see the connection relationship between several modules.

[0089] The acquisition module 11 is configured to obtain path information of a target folder; the target folder includes multiple subfolders, each of which includes multiple interpolation table data files. The interpolation table data files in each subfolder correspond to the same type of rudder effect. The interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, as well as aerodynamic data corresponding to each flight state variable. The variable information includes the number of variables and the variable name.

[0090] A creation module 12 is configured to traverse the target folder based on the path information, sequentially obtain variable information and aerodynamic data corresponding to each interpolation table data file in each subfolder, and create an interpolation table module corresponding to the interpolation table data file based on the variable information and aerodynamic data corresponding to each interpolation table data file; the interpolation table module is configured to fit aerodynamic coefficients that match the input variables of the aerodynamic model based on the aerodynamic data;

[0091] The model generation module 13 is used to create a virtual subsystem based on the interpolation table modules corresponding to the subfolders, and generate an aerodynamic model based on the virtual subsystems corresponding to the subfolders; the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

[0092] Optionally, the creation module includes: a first acquisition unit, a second acquisition unit and a first creation unit.

[0093] The first acquiring unit is configured to traverse the target folder based on the path information and acquire directory information of the target folder;

[0094] The second acquisition unit sequentially traverses each subfolder in the target folder and each interpolation table data file in the subfolder based on the directory information to acquire variable information and aerodynamic data corresponding to each interpolation table data file;

[0095] The first creating unit is configured to create interpolation table modules corresponding to the respective interpolation table data files based on the variable information and aerodynamic data corresponding to the respective interpolation table data files.

[0096] Optionally, the model generation module includes: a second creation unit, a first connection unit, a third creation unit, a second connection unit and an encapsulation unit.

[0097] The second creation unit is configured to create a Demux module corresponding to the subfolder based on the variable information of each interpolation table data file in the subfolder; the Demux module is configured to decompose the output signal of the Mux module into multiple input variables and route the input variables to the matching interpolation table module;

[0098] The first connection unit is used to establish a connection between the Demux module and the Mux module corresponding to each subfolder;

[0099] A third creation unit is used to create output modules corresponding to each interpolation table module;

[0100] A second connection unit is used to establish a connection between each interpolation table module and the Demux module, and to establish a connection between each interpolation table module and the corresponding output module;

[0101] The encapsulation unit is used to encapsulate the connected Demux modules, various interpolation table modules and output modules into a virtual subsystem.

[0102] Optionally, the device for generating an aircraft aerodynamic model further includes:

[0103] The fourth creation unit is configured to create an input module and a Mux module based on preset flight state variables before obtaining the path information of the target folder; the Mux module is configured to combine multiple input variables received by the input module into a single output signal;

[0104] The third connection unit is used to establish a connection between the input module and the Mux module.

[0105] Optionally, the model generation module further includes: a model generation unit, configured to generate an aerodynamic model based on the connected input module and Mux module, and the virtual subsystems corresponding to the subfolders.

[0106] Storage medium embodiment

[0107] The present application provides a computer-readable storage medium having a program stored thereon, wherein, when executed by a processor, the program implements some or all of the steps of the method for generating an aircraft aerodynamic model described in the aforementioned method embodiment of the present application. The storage medium can be any medium capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0108] Processor Embodiments

[0109] An embodiment of the present application provides a processor for running a program, wherein, when the program is running, some or all of the steps in the method for generating an aircraft aerodynamic model introduced in the aforementioned method embodiment are executed.

[0110] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.

[0111] The above is only one specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for generating an aircraft aerodynamic model, characterized in that: Applied to GCKontrol software, the method comprises: Obtaining path information of a target folder; the target folder includes multiple subfolders, each of the subfolders includes multiple interpolation table data files, the interpolation table data files in each subfolder correspond to the same type of rudder effect, the interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, and aerodynamic data corresponding to each flight state variable, the variable information including the number of variables and variable names; Traversing the target folder based on the path information, sequentially obtaining variable information and the aerodynamic data corresponding to each of the interpolation table data files in each of the subfolders, and creating an interpolation table module corresponding to the interpolation table data file based on the variable information and the aerodynamic data corresponding to each of the interpolation table data files; the interpolation table module is used to fit aerodynamic coefficients that match input variables of an aerodynamic model based on the aerodynamic data; A virtual subsystem is created according to each of the interpolation table modules corresponding to the subfolders, and the aerodynamic model is generated according to the virtual subsystem corresponding to each of the subfolders; the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

2. The method according to claim 1, characterized in that The traversing the target folder based on the path information, sequentially obtaining the variable information and the pneumatic data corresponding to each of the interpolation table data files in each of the subfolders, and creating an interpolation table module corresponding to the interpolation table data file based on the variable information and the pneumatic data corresponding to each of the interpolation table data files, includes: Traversing the target folder based on the path information to obtain directory information of the target folder; Based on the directory information, each subfolder in the target folder and each interpolation table data file in the subfolder are sequentially traversed to obtain variable information and the pneumatic data corresponding to each interpolation table data file; Based on the variable information corresponding to each of the interpolation table data files and the pneumatic data, interpolation table modules corresponding to each of the interpolation table data files are created respectively.

3. The method according to claim 2, characterized in that Before obtaining the path information of the target folder, the method further includes: An input module and a Mux module are created based on preset flight state variables; the Mux module is used to combine the multiple input variables received by the input module into a single output signal; Establish a connection between the input module and the Mux module.

4. The method according to claim 3, characterized in that The creating of a virtual subsystem according to each of the interpolation table modules corresponding to the subfolders includes: Creating a Demux module corresponding to the subfolder based on the variable information of each interpolation table data file in the subfolder; the Demux module is used to decompose the output signal output by the Mux module into a plurality of input variables, and route the input variables to a matching interpolation table module; Establishing a connection between the Demux module corresponding to each of the subfolders and the Mux module; Creating output modules corresponding to the interpolation table modules respectively; Establishing a connection between each of the interpolation table modules and the Demux module, and establishing a connection between each of the interpolation table modules and the corresponding output module; The connected Demux module, each of the interpolation table modules and the output module are encapsulated into the virtual subsystem.

5. The method according to claim 4, characterized in that Generating the aerodynamic model according to the virtual subsystems corresponding to the subfolders includes: The aerodynamic model is generated based on the connected input module and the Mux module, and the virtual subsystems corresponding to the subfolders.

6. A device for generating an aircraft aerodynamic model, characterized in that: Applied to GCKontrol software, the device comprises: an acquisition module, configured to acquire path information of a target folder; the target folder includes multiple subfolders, each of the subfolders includes multiple interpolation table data files, the interpolation table data files in each subfolder correspond to the same type of rudder effect, the interpolation table data files include variable information of multiple flight state variables corresponding to the aircraft, and aerodynamic data corresponding to each flight state variable, the variable information including the number of variables and variable names; a creation module configured to traverse the target folder based on the path information, sequentially obtain variable information and the aerodynamic data corresponding to each of the interpolation table data files in each of the subfolders, and create an interpolation table module corresponding to the interpolation table data file based on the variable information and the aerodynamic data corresponding to each of the interpolation table data files; the interpolation table module being configured to fit aerodynamic coefficients that match input variables of an aerodynamic model based on the aerodynamic data; A model generation module is used to create a virtual subsystem based on each of the interpolation table modules corresponding to the subfolders, and to generate the aerodynamic model based on the virtual subsystems corresponding to each of the subfolders; the aerodynamic model is used to fit the aerodynamic coefficients of the aircraft under different flight conditions.

7. The device according to claim 6, characterized in that The creation module includes: A first acquiring unit, configured to traverse a target folder based on the path information and acquire directory information of the target folder; A second acquiring unit is configured to sequentially traverse each of the subfolders in the target folder and each of the interpolation table data files in the subfolder based on the directory information, and acquire variable information and the aerodynamic data corresponding to each of the interpolation table data files; The first creating unit is configured to create interpolation table modules corresponding to each of the interpolation table data files based on the variable information corresponding to each of the interpolation table data files and the aerodynamic data.

8. The device according to claim 7, characterized in that The model generation module includes: a second creation unit, configured to create a Demux module corresponding to the subfolder based on variable information of each of the interpolation table data files in the subfolder; the Demux module being configured to decompose an output signal output by the Mux module into a plurality of input variables, and to route the input variables to a matching interpolation table module; A first connection unit, configured to establish a connection between the Demux module corresponding to each of the subfolders and the Mux module; A third creating unit is used to create output modules corresponding to each of the interpolation table modules; A second connection unit, configured to establish a connection between each of the interpolation table modules and the Demux module, and to establish a connection between each of the interpolation table modules and the corresponding output module; The encapsulation unit is used to encapsulate the connected Demux module, each of the interpolation table modules and the output module into the virtual subsystem.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating an aircraft aerodynamic model according to any one of claims 1 to 5 is implemented.

10. A processor, characterized in that: The method is used to run a computer program, which, when running, executes the method for generating an aircraft aerodynamic model according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Batch construction and submission method for aerospace multivariable CFD jobs

    CN111797576A

  • Method and device for generating and traversing channel model data based on channel model data storage format, processor and storage medium

    CN115794754A