Aerodynamic model determination method and device, flight simulator and storage medium
By analyzing the correlation between aerodynamic coefficients and flight parameters, orthogonal regression, and least squares analysis, an aerodynamic model with the smallest error value is generated. This solves the problem of dependence on aerodynamic theory and data in existing technologies, and achieves efficient aerodynamic model determination, training, and evaluation.
Patent Information
- Application Number
- CN202410310897.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-03-19
AI Technical Summary
Existing methods for determining aerodynamic models require a deep understanding of aerodynamic theory or consume a significant amount of time, thus impacting work efficiency.
By analyzing the correlation between aerodynamic coefficients and flight parameters, candidate variable matrices are determined, and Schmidt orthogonal regression and least squares analysis are performed to generate the aerodynamic model with the smallest error value.
In the absence of aerodynamic theory and limited flight data, the aerodynamic model with the smallest error value can be quickly determined, which improves work efficiency and the reliability of training and evaluation.
Smart Images

Figure CN118313054B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerodynamics, and in particular to a method for determining an aerodynamic model, a device for determining an aerodynamic model, a flight simulator, and two computer-readable storage media. Background Art
[0002] The aerodynamic model is a model that characterizes the corresponding relationship between flight parameters and aircraft aerodynamic coefficients. It is often used to design the aircraft's stability augmentation system and flight control system, or is used in flight simulators for training pilots to identify the pilot's training results. However, there are two main methods for determining the existing aerodynamic model, namely, direct determination through experience and gradual analysis using a large amount of flight data. Here, when directly determining the flight aerodynamic model through experience, it is necessary to have a deep theoretical foundation in aerodynamics, which places extremely high demands on relevant technical personnel. In addition, the method of determining the aerodynamic model using a large amount of flight data stepwise regression analysis requires repeated iterative analysis, which consumes a lot of time and seriously affects work efficiency.
[0003] In order to overcome the above-mentioned defects of the prior art, the art urgently needs an improved method for determining the aerodynamic model, which determines the alternative selected variable matrix by analyzing the correlation between the aerodynamic coefficients and the flight parameters, and performs a least squares analysis on the orthogonalized alternative selected variable matrix, so as to determine the aerodynamic model with the smallest error value without having an aerodynamic theoretical basis and without requiring a large amount of flight data. 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 decisive 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] In order to overcome the above-mentioned defects in the prior art, the present invention provides a method for determining an aerodynamic model, a device for determining an aerodynamic model, a flight simulator and two computer-readable storage media. Alternative selected variable matrices can be determined by analyzing the correlation between aerodynamic coefficients and flight parameters, and least squares analysis can be performed on the orthogonalized alternative selected variable matrices, so as to determine the aerodynamic model with the smallest error value without having an aerodynamic theoretical basis and without requiring a large amount of flight data.
[0006] Specifically, the method for determining the aerodynamic model provided in accordance with the first aspect of the present invention comprises the following steps: obtaining aerodynamic coefficients and flight parameters of the aircraft; calculating the correlation coefficient between the flight parameters and the aerodynamic coefficients; in response to the correlation coefficient being greater than a preset first threshold, determining the corresponding flight parameters as alternative selected variables; obtaining a preset maximum order, and combining all alternative selected variables to generate an alternative regressor matrix; using a Schmidt orthogonal regression algorithm to convert the alternative regressor matrix into an orthogonal regression matrix to obtain a target orthogonal regressor corresponding to the minimum error value of the orthogonal regression matrix; using an inverse Schmidt orthogonal regression algorithm to convert the target orthogonal regressor into a corresponding original physical regressor; and determining the corresponding aerodynamic model based on the original physical regressor.
[0007] Further, in some embodiments of the present invention, the aerodynamic coefficients include aerodynamic force coefficients and aerodynamic moment coefficients. The flight parameters include flight motion state parameters and manipulated variables. The flight motion state parameters are selected from at least one of the speed, altitude, and attitude of the aircraft. The manipulated variables include rudder surface deflection angles.
[0008] Furthermore, in some embodiments of the present invention, the step of generating the candidate regressor matrix includes: arranging and combining the candidate selected variables according to the maximum order to generate the candidate regressor matrix.
[0009] Further, in some embodiments of the present invention, the step of converting the candidate regressor matrix into an orthogonal regression matrix using the Schmidt orthogonal regression algorithm includes: selecting a constant regressor in the candidate regressor matrix as a first orthogonal regressor in the orthogonal regression matrix, and determining a corresponding first Schmidt coefficient; determining a second Schmidt coefficient according to the first orthogonal regressor and the second candidate regressor to determine the corresponding second orthogonal regressor, and so on to determine at least one subsequent Schmidt coefficient and at least one orthogonal regressor; constructing a Schmidt matrix according to each of the Schmidt coefficients; and converting the candidate regressor matrix into an orthogonal regression matrix according to the Schmidt matrix.
[0010] Furthermore, in some embodiments of the present invention, the step of converting the target orthogonal regressor into a corresponding original physical regressor using an inverse Schmidt orthogonal regression algorithm includes: multiplying the target orthogonal regressor with the Schmidt matrix to obtain the corresponding original physical regressor.
[0011] Further, in some embodiments of the present invention, the step of obtaining the target orthogonal regressor corresponding to the minimum error value of the orthogonal regression matrix includes: calculating the fitting mean square error of at least one orthogonal regressor in the orthogonal regression matrix; calculating the predicted square error of the at least one orthogonal regressor based on the fitting mean square error; and determining the corresponding target orthogonal regressor based on the minimum predicted square error.
[0012] Further, in some embodiments of the present invention, the step of calculating the fitting mean square error of at least one orthogonal regressor in the orthogonal regression matrix includes: calculating the fitting mean square error MSFE.
[0013]
[0014] is the output matrix calculated by the least squares regression analysis algorithm of the orthogonal regression matrix. z is the matrix composed of the flight parameter data. N is the number of each group of data.
[0015] Further, in some embodiments of the present invention, the step of calculating the predicted square error of the at least one orthogonal regressor based on the fitting mean square error includes: calculating the predicted square error of the at least one orthogonal regressor based on the fitting mean square error and an overfitting penalty term.
[0016] In addition, the aerodynamic model determination device provided according to the second aspect of the present invention includes a first memory and a first processor. The first memory stores computer instructions. The first processor is connected to the first memory and is configured to execute the computer instructions stored thereon to implement the aerodynamic model determination method provided by the first aspect of the present invention.
[0017] In addition, the computer-readable storage medium provided in the third aspect of the present invention stores computer instructions, which, when executed by a processor, implement the method for determining the aerodynamic model provided in the first aspect of the present invention.
[0018] In addition, the computer-readable storage medium provided according to the fourth aspect of the present invention stores an aerodynamic model, which is determined according to the method for determining the aerodynamic model provided by the first aspect of the present invention.
[0019] In addition, the flight simulator provided according to the fifth aspect of the present invention includes a second memory and a second processor. The second memory includes but is not limited to the computer-readable storage medium provided in the fourth aspect of the present invention. The second processor is connected to the second memory and is configured to: obtain flight data input by a user; input the flight data into the aerodynamic model to determine the corresponding aerodynamic coefficient; and determine the training score of the user according to the aerodynamic coefficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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.
[0021] Figure 1 A schematic flow chart of a method for determining an aerodynamic model provided according to some embodiments of the present invention is shown.
[0022] Figure 2 A schematic diagram of the architecture of a flight simulator provided according to some embodiments of the present invention is shown.
[0023] Figure 3 A schematic diagram showing the operation flow of a flight simulator provided according to some embodiments of the present invention is shown.
[0024] Reference numerals:
[0025] 10 Flight Simulator
[0026] 11 Second Memory
[0027] 12 Second processor DETAILED DESCRIPTION
[0028] The following specific embodiments illustrate the implementation of the present invention, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may be extended based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description.
[0029] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0030] In addition, the terms "upper", "lower", "left", "right", "top", "bottom", "horizontal" and "vertical" used in the following description should be understood as the directions shown in the paragraph and the related drawings. Such relative terms are only used for the convenience of description and do not mean that the device described therein must be manufactured or operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0031] It is understood that although the terms "first", "second", "third", etc. may be used herein to describe various components, regions, layers and / or parts, these components, regions, layers and / or parts should not be limited by these terms, and these terms are only used to distinguish different components, regions, layers and / or parts. Therefore, the first component, region, layer and / or part discussed below may be referred to as a second component, region, layer and / or part without departing from some embodiments of the present invention.
[0032] As mentioned above, there are two main methods for determining the existing aerodynamic model, namely, direct determination through experience and determination through step-by-step analysis using a large amount of flight data. Here, when directly determining the flight aerodynamic model through experience, it is necessary to have a deep theoretical foundation in aerodynamics, which places extremely high demands on relevant technical personnel. In addition, the method of determining the aerodynamic model through step-by-step regression analysis using a large amount of flight data requires repeated iterative analysis, which will consume a lot of time and seriously affect work efficiency.
[0033] In order to overcome the above-mentioned defects in the prior art, the present invention provides a method for determining an aerodynamic model, a device for determining an aerodynamic model, a flight simulator and two computer-readable storage media. Alternative selected variable matrices can be determined by analyzing the correlation between aerodynamic coefficients and flight parameters, and least squares analysis can be performed on the orthogonalized alternative selected variable matrices, so as to determine the aerodynamic model with the smallest error value without having an aerodynamic theoretical basis and without requiring a large amount of flight data.
[0034] In some non-limiting embodiments, the method for determining the aerodynamic model provided in the first aspect of the present invention can be implemented based on the device for determining the aerodynamic model provided in the second aspect of the present invention. Specifically, the device for determining the aerodynamic model is configured with a first memory and a first processor. The first memory includes but is not limited to the first computer-readable storage medium provided in the third aspect of the present invention, on which computer instructions are stored. The first processor is connected to the first memory and is configured to execute the computer instructions stored in the memory to implement the method for determining the aerodynamic model provided in the first aspect of the present invention.
[0035] The working principle of the above-mentioned device for determining the pneumatic model will be described below in conjunction with some embodiments of the method for determining the pneumatic model. Those skilled in the art will understand that the embodiments of these methods for determining the pneumatic model are only some non-restrictive implementation methods provided by the present invention, which are intended to clearly demonstrate the main concept of the present invention and provide some specific solutions that are convenient for the public to implement, rather than to limit all functions or all working modes of the device for determining the pneumatic model. Similarly, the device for determining the pneumatic model is also only a non-restrictive implementation method provided by the present invention, and does not constitute a limitation on the execution subject or execution order of each step in these methods for determining the pneumatic model.
[0036] Please refer to Figure 1 , Figure 1 A schematic flow chart of a method for determining an aerodynamic model provided according to some embodiments of the present invention is shown.
[0037] like Figure 1 As shown, in the process of determining the aerodynamic model, the first processor can first obtain the aerodynamic coefficients and flight parameters of the aircraft. The aerodynamic coefficients include aerodynamic force coefficients and aerodynamic moment coefficients, and the flight parameters include flight motion state parameters and manipulated variables. Here, the flight motion state parameters are selected from at least one of the speed, altitude, and attitude of the aircraft, and the manipulated variables include the control surface deflection angle (for example: elevator deflection angle, rudder deflection angle, aileron deflection angle).
[0038] Afterwards, the first processor can calculate the correlation coefficient R between the flight parameters and the aerodynamic coefficients jz :
[0039]
[0040] Here, ζ is the flight parameter, z is the aerodynamic coefficient, n is the number of data sets, j is the number of data sets, N is the number of data in each set, and i is the number of data in each set.
[0041] Furthermore, the mean value and the centered sum of squares of the flight parameter data are:
[0042]
[0043]
[0044] Similarly, the mean and centered square sum of the aerodynamic coefficient data are:
[0045]
[0046]
[0047] Thereafter, in response to the calculated correlation coefficient being greater than a preset first threshold (eg, 0.1), the first processor may determine the flight parameter corresponding to the correlation coefficient as an alternative selected variable.
[0048] After determining all the alternative selected variables, the first processor may obtain a preset maximum order (eg, 3) and combine all the alternative selected variables to generate an alternative regressor matrix X.
[0049] Specifically, the first processor may first arrange and combine the candidate variables according to the maximum order to generate corresponding candidate regressors ξ0, ξ1, ξ2, ..., ξ n For example, the alternative variables determined above are ε0 and ε1, and the preset maximum order is 3, then the corresponding alternative regressors ξ1, ξ2, …, ξ n The first-order, second-order, and third-order forms of ε0 and ε1 are 2 ,ε0×ε1,ε1 2 , ε0 3 , ε0 2 ×ε1、ε0×ε1 2 and ε1 3 Afterwards, the first processor may convert candidate regressors ξ1, ξ2, ..., ξ n Construct the candidate regressor matrix X.
[0050] Afterwards, the first processor may use the Schmidt orthogonal regression algorithm to convert the candidate regressor matrix X into an orthogonal regression matrix P to obtain a target orthogonal regressor p corresponding to the minimum error value of the orthogonal regression matrix P.
[0051] Specifically, in the process of performing the Schmidt orthogonal regression algorithm, the first processor may first select the constant regressor ξ1 in the candidate regressor matrix X as the first orthogonal regressor p1 in the orthogonal regression matrix P, and determine the corresponding first Schmidt coefficient γ 11 :
[0052] p1=ξ1
[0053] γ 11 =1
[0054] Afterwards, the first processor may determine the second Schmidt coefficient γ according to the first orthogonal regressor p1 and the second candidate regressor ξ2: 12 , to determine the corresponding second orthogonal regressor p2:
[0055] p2=ξ2-γ 12 p1
[0056]
[0057] Afterwards, the first processor may determine the subsequent at least one Schmidt coefficient and at least one orthogonal regression variable by analogy:
[0058]
[0059]
[0060] Here, j is the jth candidate regressor, p j is the jth orthogonal regressor.
[0061] Furthermore, the first processor may construct a Schmidt matrix G in the form of an upper triangular matrix with 1 as the diagonal according to each Schmidt coefficient:
[0062]
[0063] In this way, the first processor can convert the candidate regressor matrix X into an orthogonal regression matrix P according to the Schmidt matrix G:
[0064] P=XG -1
[0065] Afterwards, the first processor may obtain the target orthogonal regression quantity corresponding to the minimum error value of the orthogonal regression matrix P. Specifically, the first processor may first use the least squares regression analysis algorithm to perform regression analysis on the orthogonal regression matrix P, and output the matrix Here, the least squares regression analysis algorithm mentioned above is a prior art and does not involve the technical improvement of the present invention, so there is no need to elaborate on it.
[0066] Afterwards, the first processor can output the matrix The matrix z composed of flight parameter data is used to calculate the fitting mean square error MSFE of at least one orthogonal regression variable in the orthogonal regression matrix P:
[0067]
[0068] Further, the first processor may calculate an overfitting penalty term To measure the impact of redundant regression in the model on model accuracy:
[0069]
[0070] Afterwards, the first processor can calculate the overfitting penalty term according to the above-mentioned And the fitted mean square error MSFE, calculate the predicted square error PSE of at least one orthogonal regressor:
[0071]
[0072] In the process of error analysis of the orthogonal regression matrix P, as the orthogonal regression amount increases, the fitting mean square error MSFE will decrease monotonically, while the overfitting penalty term will increase monotonically. In this way, the predicted square error PSE has a minimum value. The first processor can determine the orthogonal regressor corresponding to the minimum value as the target orthogonal regressor p.
[0073] Finally, the first processor can use the inverse Schmidt orthogonal regression algorithm to convert the above target orthogonal regressor p into the corresponding original physical regressor ξ:
[0074] ξ=Gp
[0075] Furthermore, the first processor can obtain relevant parameters of the corresponding aerodynamic model based on the above-mentioned original physical regression value ξ to determine the corresponding aerodynamic model, and store it in the second computer-readable storage medium provided by the fourth aspect of the present invention for call by the above-mentioned flight simulator provided by the fifth aspect of the present invention.
[0076] Please refer to Figure 2 and Figure 3 . Figure 2 A schematic diagram of the architecture of a flight simulator provided according to some embodiments of the present invention is shown. Figure 3 A schematic diagram showing the operation flow of a flight simulator provided according to some embodiments of the present invention is shown.
[0077] like Figure 2 As shown, the flight simulator 10 provided in the fifth aspect of the present invention is configured with a second memory 11 and a second processor 12. The second memory 11 includes but is not limited to the second computer-readable storage medium provided in the fourth aspect of the present invention, on which is stored an aerodynamic model determined according to the method for determining an aerodynamic model provided in the first aspect of the present invention. The second processor 12 is connected to the second memory 11 and is configured to call the aerodynamic model in the second memory 11 to use it to identify flight data.
[0078] like Figure 3As shown, during the operation of the flight simulator, the second processor 12 can first obtain the flight data input by the user, and then input the flight data into the above-mentioned aerodynamic model to determine the corresponding aerodynamic coefficient. Finally, the processor can determine the training score of the user based on the aerodynamic coefficient.
[0079] In summary, the aerodynamic model determination method, determination device and first computer-readable storage medium provided by the present invention can determine the alternative selected variable matrix by analyzing the correlation between the aerodynamic coefficients and the flight parameters, and perform least squares analysis on the orthogonalized alternative selected variable matrix, so as to determine the aerodynamic model with the smallest error value without the need for aerodynamic theory and a large amount of flight data. Accordingly, the second computer-readable storage medium storing the aerodynamic model with the smallest error value, and the flight simulator using the aerodynamic model with the smallest error value, can determine the acquired flight data as the corresponding aerodynamic coefficients to obtain accurate training scores, thereby improving the credibility of the training evaluation.
[0080] Although the above methods are illustrated and described as a series of actions for simplicity of explanation, it should be understood and appreciated that these methods are not limited by the order of the actions, because according to one or more embodiments, some actions may occur in a different order and / or concurrently with other actions from those illustrated and described herein or not illustrated and described herein but understandable to those skilled in the art.
[0081] Those skilled in the art will appreciate that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips cited throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.
[0082] 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.
Claims
1. A method for determining an aerodynamic model, characterized in that: The following steps are involved: Obtain the aircraft's aerodynamic coefficients and flight parameters; Calculating a correlation coefficient between the flight parameter and the aerodynamic coefficient; In response to the correlation coefficient being greater than a preset first threshold, determining the corresponding flight parameter as an alternative selected variable; Get the preset maximum order and combine all alternative variables to generate an alternative regressor matrix; Selecting a constant regressor in the candidate regressor matrix as a first orthogonal regressor in the orthogonal regression matrix, and determining a corresponding first Schmidt coefficient; Determine a second Schmidt coefficient according to the first orthogonal regressor and the second candidate regressor to determine the corresponding second orthogonal regressor, and determine at least one subsequent Schmidt coefficient and at least one orthogonal regressor by analogy; Constructing a Schmidt matrix according to each of the Schmidt coefficients; According to the Schmidt matrix, the candidate regressor matrix is converted into an orthogonal regression matrix to obtain a target orthogonal regressor corresponding to the minimum error value of the orthogonal regression matrix; Multiplying the target orthogonal regressor by the Schmidt matrix to convert the target orthogonal regressor into a corresponding original physical regressor; as well as According to the original physical regression quantity, the corresponding aerodynamic model is determined.
2. The method for determining the aerodynamic model according to claim 1, characterized in that: The aerodynamic coefficients include aerodynamic force coefficients and aerodynamic moment coefficients, and the flight parameters include flight motion state parameters and manipulated variables, wherein the flight motion state parameters are selected from at least one of the speed, altitude, and attitude of the aircraft, and the manipulated variables include the rudder surface deflection angle.
3. The method for determining the aerodynamic model according to claim 1, characterized in that: The step of generating a candidate regressor matrix comprises: The candidate regressor matrix is generated by arranging and combining the candidate variables according to the maximum order.
4. The method for determining the aerodynamic model according to claim 1, characterized in that: The step of obtaining the target orthogonal regression quantity corresponding to the minimum error value of the orthogonal regression matrix comprises: Calculating the fitted mean square error of at least one orthogonal regression variable in the orthogonal regression matrix; Calculating the predicted square error of the at least one orthogonal regressor according to the fitted mean square error; and According to the minimum predicted square error, the corresponding target orthogonal regression quantity is determined.
5. The method for determining the aerodynamic model according to claim 4, characterized in that: The step of calculating the fitting mean square error of at least one orthogonal regression variable in the orthogonal regression matrix comprises: Calculate the fitted mean square error MSFE, where is the output matrix of the orthogonal regression matrix calculated by the least squares regression analysis algorithm, z is the matrix composed of the flight parameter data, and N is the number of each group of data.
6. The method for determining the aerodynamic model according to claim 5, characterized in that: The step of calculating the predicted square error of at least one orthogonal regression variable according to the fitted mean square error comprises: The predicted square error of the at least one orthogonal regressor is calculated according to the fitted mean square error and the overfitting penalty term.
7. A device for determining an aerodynamic model, characterized in that: include: a first memory having computer instructions stored thereon; as well as The first processor is connected to the first memory and configured to execute computer instructions stored therein to implement the method for determining the aerodynamic model according to any one of claims 1 to 6.
8. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method for determining an aerodynamic model according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a pneumatic model stored thereon, characterized in that: The aerodynamic model is determined according to the aerodynamic model determination method according to any one of claims 1 to 6.
10. A flight simulator, characterized in that: include: The second memory is a computer-readable storage medium as claimed in claim 9; as well as The second processor is connected to the second memory and is configured to: obtain flight data input by a user; input the flight data into the aerodynamic model to determine the corresponding aerodynamic coefficient; and determine the training score of the user according to the aerodynamic coefficient.
Citation Information
Patent Citations
High accuracy longitudinal and cross range analytical prediction method based smooth gliding reentry guidance method
CN104035335A
Aerodynamic Modeling Using Flight Data
US20160238481A1
