CN110532704B - Power data acquisition method and device - Google Patents

Power data acquisition method and device Download PDF

Info

Publication number
CN110532704B
CN110532704B CN201910823358.7A CN201910823358A CN110532704B CN 110532704 B CN110532704 B CN 110532704B CN 201910823358 A CN201910823358 A CN 201910823358A CN 110532704 B CN110532704 B CN 110532704B
Authority
CN
China
Prior art keywords
coordinate system
angle
expansion
data
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910823358.7A
Other languages
Chinese (zh)
Other versions
CN110532704A (en
Inventor
丁雨豪
宋亮
齐海超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Runke General Technology Co Ltd
Original Assignee
Beijing Runke General Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Runke General Technology Co Ltd filed Critical Beijing Runke General Technology Co Ltd
Priority to CN201910823358.7A priority Critical patent/CN110532704B/en
Publication of CN110532704A publication Critical patent/CN110532704A/en
Application granted granted Critical
Publication of CN110532704B publication Critical patent/CN110532704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a method and a device for acquiring power data, wherein the method comprises the following steps: acquiring power data under a source coordinate system; determining a target coordinate system; obtaining a coordinate transformation matrix between the source coordinate system and the target coordinate system; and processing the power data under the source coordinate system by using the coordinate transformation matrix to obtain the power data under the target coordinate system. Therefore, the power data under different coordinate systems can be obtained by utilizing the coordinate conversion without carrying out a power experiment again, so that the time consumption is saved, and the data acquisition efficiency is improved.

Description

Power data acquisition method and device
Technical Field
The application relates to the technical field of simulation control, in particular to a method and a device for acquiring power data.
Background
In the design process of control systems of objects such as aircrafts, ships and the like, a mathematical simulation mode is generally adopted for design and verification. The simulation precondition is to carry out mathematical modeling on the controlled object body such as unmanned aerial vehicle or ship. In the modeling process, power data of the corresponding controlled object body is provided through a power experiment such as aerodynamic force or hydrodynamic force experiment, and then the power data can be imported into the simulation of the control system. The power data can be divided into power parameter data and power moment parameter data according to purposes, and the two types of data are respectively generated in a determined coordinate system.
In a simulation design, it is often necessary to provide power data in a variety of coordinate systems. At present, in order to obtain power data under a plurality of different coordinate systems, repeated power experiments are generally required to be performed for a plurality of times according to the different coordinate systems, so as to obtain the power data under the different coordinate systems.
However, it often takes a long time to repeat the power experiment, resulting in a low efficiency of obtaining power data in different coordinate systems.
Disclosure of Invention
Accordingly, the present application is directed to a method and apparatus for acquiring power data, which are used for solving the technical problem of low efficiency of acquiring power data under different coordinate systems in the prior art.
The application provides a power data acquisition method, which comprises the following steps:
acquiring power data under a source coordinate system;
Determining a target coordinate system;
obtaining a coordinate transformation matrix between the source coordinate system and the target coordinate system;
and processing the power data under the source coordinate system by using the coordinate transformation matrix to obtain the power data under the target coordinate system.
The method, optionally, determining the target coordinate system, includes:
determining at least one expansion angle according to simulation requirements and power data under the source coordinate system;
and determining a target coordinate system corresponding to each expansion angle.
The method optionally, determining at least one expansion angle according to the simulation requirement and the power data in the source coordinate system, includes:
According to simulation requirements and dynamic data under the source coordinate system, determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension;
and determining an expansion angle according to the dimension expansion range and a preset value interval.
The method, optionally, further comprises:
According to the simulation result under the target coordinate system, adjusting the value interval;
and re-determining the expansion angles by utilizing the dimension expansion range and the adjusted value interval so as to re-determine the target coordinate system corresponding to each expansion angle.
The method, optionally, further comprises:
performing data fitting on the power data under the target coordinate system by using a preset interpolation algorithm to obtain a data fitting result;
determining an interpolation index value according to simulation requirements;
and searching simulation power parameters in the data fitting result based on the interpolation index value.
The application also provides a power data acquisition device, which comprises:
The data acquisition unit is used for acquiring power data under a source coordinate system;
A coordinate system determination unit configured to determine a target coordinate system;
A matrix obtaining unit configured to obtain a coordinate transformation matrix between the source coordinate system and the target coordinate system;
and the coordinate conversion unit is used for processing the power data under the source coordinate system by utilizing the coordinate transformation matrix to obtain the power data under the target coordinate system.
The above apparatus, optionally, the coordinate system determining unit includes:
The angle determining subunit is used for determining at least one expansion angle according to the simulation requirement and the power data under the source coordinate system;
and the target determining subunit is used for determining a target coordinate system corresponding to each expansion angle.
The above device, optionally, the angle determining subunit is specifically configured to: according to simulation requirements and dynamic data under the source coordinate system, determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension; and determining an expansion angle according to the dimension expansion range and a preset value interval.
The above device, optionally, further comprises:
And the interval adjustment unit is used for adjusting the value interval according to the simulation result under the target coordinate system, so that the angle determination subunit can redetermine the expansion angle by utilizing the dimension expansion range and the adjusted value interval, and the target determination subunit can redetermine the target coordinate system corresponding to each expansion angle.
The above device, optionally, further comprises:
the data fitting unit is used for performing data fitting on the power data under the target coordinate system by utilizing a preset interpolation algorithm to obtain a data fitting result;
The parameter searching unit is used for determining an interpolation index value according to the simulation requirement; and searching simulation power parameters in the data fitting result based on the interpolation index value.
According to the scheme, in the power data acquisition method and device provided by the application, after the power data under the source coordinate system is acquired, the power data under the source coordinate system is processed by utilizing the coordinate transformation matrix after the target coordinate system and the corresponding coordinate transformation matrix are determined, so that the power data under the target coordinate system is obtained. Therefore, the power data under different coordinate systems can be obtained by utilizing the coordinate transformation matrix without carrying out a power experiment again, so that the time consumption is saved, and the data acquisition efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for acquiring power data according to a first embodiment of the present application;
fig. 2 and fig. 3 are a partial flow chart of a power data acquisition method according to a first embodiment of the present application;
fig. 4 is a schematic structural diagram of a power data acquisition device according to a second embodiment of the present application;
Fig. 5 to fig. 7 are schematic views of a part of a power data acquisition device according to a second embodiment of the present application;
fig. 8 to 12 are application example diagrams of the embodiment of the present application, respectively.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, a flowchart of an implementation of a power data acquisition method according to an embodiment of the present application is applicable to a computer or a server capable of performing simulation data processing, so as to acquire power data required by a simulation design.
Specifically, the method in this embodiment may include the following steps:
Step 101: power data in a source coordinate system is obtained.
The source coordinate system can be understood as a coordinate system inherent in aerodynamic or hydrodynamic experiments, and the obtained dynamic data after the dynamic experiments are the aerodynamic or hydrodynamic data under the source coordinate system. For example, the source coordinate system may be any one of a velocity coordinate system, a body coordinate system, a geodetic coordinate system, a trajectory coordinate system, and the like.
The power data may be classified into power parameter data and power moment parameter data according to the purpose, and the two types of data are generated in a determined source coordinate system. The power data in this embodiment may be presented in the form of a data table, where each data point in the data table corresponds to a different power condition, such as mach number, angle of attack, sideslip angle, etc., and where the different power conditions correspond to a different family of data.
Step 102: a target coordinate system is determined.
The target coordinate system refers to a target coordinate system with respect to the source coordinate system, that is, a target coordinate system requiring power data conversion, and for example, the target coordinate system may be any coordinate system other than the source coordinate system, such as a speed coordinate system, a body coordinate system, a ground coordinate system, and a track coordinate system.
Specifically, in this embodiment, the target coordinate system may be determined based on the actual requirement of the simulation design, for example, the power experiment is performed based on the speed coordinate system, and the corresponding power data is the power data under the speed coordinate system, and in the simulation design of the control system of the object such as the aircraft and the ship, the power data under the track coordinate system or the body coordinate system is also required, where the track coordinate system or the body coordinate system is determined to be the target coordinate system.
Step 103: a coordinate transformation matrix between the target coordinate system and the source coordinate system is obtained.
The coordinate transformation matrix is a matrix for converting power data from a source coordinate system to a target coordinate system, and in this embodiment, the corresponding coordinate transformation matrix can be obtained through actual needs in simulation design.
Step 104: and processing the power data under the source coordinate system by utilizing the coordinate transformation matrix to obtain the power data under the target coordinate system.
Specifically, in this embodiment, matrix calculation may be performed on the power data in the source coordinate system and the coordinate transformation matrix, so as to convert the power data in the source coordinate system into the target coordinate system, and obtain the power data in the target coordinate system.
As can be seen from the above, in the method for acquiring power data provided in the first embodiment of the present application, after power data in a source coordinate system is acquired, the power data in the original coordinate system is subjected to coordinate transformation by using a coordinate transformation matrix after determining a target coordinate system and a corresponding coordinate transformation matrix, so as to obtain the power data in the target coordinate system. Therefore, in the embodiment, the power data under different coordinate systems can be obtained by utilizing the coordinate conversion without carrying out a power experiment again, so that the time consumption is saved, and the data acquisition efficiency is improved.
In one implementation, step 102 in determining the target coordinate system may be implemented specifically by the following manner, as shown in fig. 2:
step 201: at least one expansion angle is determined based on the simulation requirements and the power data in the source coordinate system.
The expansion angle may be one or a plurality of expansion angles.
Specifically, in one embodiment, step 201 may be implemented by:
Firstly, according to simulation requirements and dynamic data under a source coordinate system, an expansion dimension and a dimension expansion range corresponding to the expansion dimension are determined. For example, simulation requirements in the actual simulation process include mach number, attack angle, sideslip angle and other dimensions, and in combination with existing dimensions of the dynamic data under the source coordinate system, an expansion dimension, such as a requirement for expanding in mach number, attack angle, sideslip angle and other dimensions, can be determined. And then determining a corresponding dimension extension range under the extension dimension, such as an attack angle extension range of-20 degrees to +20 degrees, and the like according to the simulation requirement.
Specifically, in this embodiment, the extension dimension may be determined based on the parameter configuration in the power data in the source coordinate system under the guidance of the simulation requirement, for example, if the power data in the source coordinate system has no attack angle parameter required in the simulation requirement, the extension dimension may be determined as the extension dimension of the attack angle and the corresponding attack angle extension range may be determined in this embodiment; if the power data under the source coordinate system lacks the sideslip angle parameters required in the simulation requirement, the expansion dimension can be determined to be the expansion dimension of the sideslip angle and the corresponding sideslip angle expansion range can be determined in the embodiment.
And then, determining an expansion angle according to the dimension expansion range and a preset value interval. The size of the value interval can be set according to empirical data, for example, a worker sets the size of the value interval according to working experience or empirical data, and accordingly, after the value interval is determined, the number of the determined expansion angles in the dimension expansion range is determined by the dimension expansion range and the size of the value interval. For example, in an angle expansion range of-20 degrees to +20 degrees, values are taken at value intervals of 2 degrees, and 21 expansion angles are obtained.
Step 202: and determining a target coordinate system corresponding to each expansion angle.
When the dimension expansion requirement exists, the target coordinate system corresponding to each expansion angle is the coordinate system corresponding to the simulated object in the specific gesture. When the expansion angles are determined to be a plurality of according to the dimension expansion range and the preset value interval, each expansion angle corresponds to a coordinate system corresponding to the simulated object under a specific gesture, namely, the expansion angles respectively correspond to different gestures. Of course, when the simulation requirement is only one gesture of the simulated object, the corresponding expansion angle is only one, and the assistance of the preset value interval is not needed when the expansion angle is determined. When the dynamic data under the source coordinate system does not meet the simulation requirement due to lack of dimension, the problem can be solved through dimension expansion, and finally various simulation requirements can be completed.
In another implementation, when determining the target coordinate system in step 102, the target coordinate system is determined according to the simulation requirement and the power data under the source coordinate system, without performing angle expansion in the expansion dimension, where the target coordinate system may be any coordinate system other than the source coordinate system in the velocity coordinate system, the body coordinate system, the earth coordinate system, the track coordinate system, and the like.
Accordingly, after determining the target coordinate system in step 102, step 103 may be specifically implemented by, when obtaining the coordinate transformation matrix between the target coordinate system and the source coordinate system:
first, a transformation angle value between a target coordinate system and a source coordinate system, such as a transformation angle value in euler angles, is obtained: nutation angle, precession angle, and angular value from rotation angle, etc., where the transformed angular value may be determined based on the angular transformation requirements between the target coordinate system and the source coordinate system in the simulated design.
And then, based on the transformation angle value, generating a corresponding coordinate transformation matrix by using a preset transformation matrix formula.
In one implementation, the preset transformation matrix formula may be determined based on the euler rotation theorem, and the transformation matrix formula is determined by using euler rotation, and then the corresponding coordinate transformation matrix is generated by using the transformation angle value. For example, the coordinate transformation matrix in the present embodiment may be as follows:
Wherein, X ', Y ' and Z ' are power data under a source coordinate system, namely power data before coordinate transformation, X, Y, Z is power data under a target coordinate system, namely power data after coordinate transformation, and Euler angles theta, phi and phi are Euler transformation angles between the source coordinate system and the target coordinate system. Specifically, in this embodiment, according to the difference of coordinate systems represented by X ', Y', and Z ', source data are corresponding to the positions of X', Y ', and Z', and then euler angles θ, Φ, and ψ are determined according to the conversion angle requirement between the source coordinate system and the target coordinate system, so as to generate a corresponding coordinate transformation matrix for coordinate system conversion of power data.
In one implementation, the method in this embodiment may further include the following steps, as shown in fig. 3:
step 105: and carrying out data fitting on the power data under the target coordinate system by using a preset interpolation algorithm to obtain a data fitting result.
The interpolation algorithm may be implemented as a linear interpolation algorithm, a quadratic interpolation algorithm, an emmett interpolation algorithm, or the like. Correspondingly, in this embodiment, after the interpolation algorithm is used to perform data fitting on the power data, a data fitting result showing continuous features under the target coordinate system is obtained.
Step 106: and determining an interpolation index value according to the simulation requirement.
For example, according to the requirements in the actual simulation process, such as the requirement of simulation in the attack angle dimension or the requirement of simulation in the sideslip angle, a group of attack angle index values or sideslip angle index values are determined as interpolation index values.
Step 107: based on the interpolation index value, searching the simulation power parameter in the data fitting result.
Specifically, in this embodiment, the interpolation index value may be used as an input of the data fitting result, so as to find the simulation power parameter in the data fitting result under the target coordinate system. The simulation power parameter can be used for performing a simulation experiment to obtain a simulation result. By means of interpolation, power data which are not available before and after coordinate transformation can be obtained, and more simulation requirements are met.
In another implementation manner, the data fitting of the interpolation algorithm may be omitted in this embodiment, and after a search variable of a target attack angle or sideslip angle is determined according to a simulation requirement, a corresponding simulation power parameter is searched in power data under a target coordinate system, where the simulation power parameter may be used to perform a simulation experiment to obtain a simulation result.
In practical application, the generation size of the value interval can be adjusted according to the requirement.
Specifically, in this embodiment, after power data in the target coordinate system is obtained or after a data fitting result after data fitting is obtained, power data in the target coordinate system or simulation power parameters searched through interpolation indexes may be input into a simulation model, so as to obtain a simulation result.
Then, in this embodiment, the interval between values is adjusted according to the simulation result under the target coordinate system. For example, if the simulation index in the simulation result cannot meet the requirement, the value interval can be correspondingly adjusted to be increased or decreased, and then the expansion angle is redetermined by utilizing the dimension expansion range and the adjusted value interval, so that the target coordinate system corresponding to each expansion angle is redetermined. Correspondingly, after the target coordinate system is redetermined, the power data under the target coordinate system can be correspondingly transformed, so that after the simulation is carried out again, whether the simulation result meets the requirement is checked, if the simulation result still does not meet the requirement, the value interval can be continuously adjusted or the expansion angle range can be readjusted, and if the simulation result meets the requirement, the value interval is not required to be adjusted any more.
Referring to fig. 4, a schematic structural diagram of a power data acquisition device according to a second embodiment of the present application is suitable for a computer or a server capable of performing simulation data processing, so as to acquire power data required by a simulation design.
Specifically, the apparatus in this embodiment may include the following structures:
a data obtaining unit 401, configured to obtain power data in a source coordinate system.
The source coordinate system can be understood as a coordinate system inherent in the power experiment, and the power data obtained after the power experiment is the data under the source coordinate system. For example, the source coordinate system may be any one of a velocity coordinate system, a body coordinate system, a geodetic coordinate system, a trajectory coordinate system, and the like.
The power data may be classified into power parameter data and power moment parameter data according to the purpose, and the two types of data are generated in a determined source coordinate system. The power data in this embodiment may be presented in the form of a data table, where each data point in the data table corresponds to a different power condition, such as mach number, angle of attack, sideslip angle, etc., and where the different power conditions correspond to a different family of data.
A coordinate system determination unit 402 for determining a target coordinate system.
The target coordinate system refers to a target coordinate system with respect to the source coordinate system, that is, a target coordinate system requiring power data conversion, and for example, the target coordinate system may be any coordinate system other than the source coordinate system, such as a speed coordinate system, a body coordinate system, a ground coordinate system, and a track coordinate system.
Specifically, in this embodiment, the target coordinate system may be determined based on the actual requirement of the simulation design, for example, the power experiment is performed based on the speed coordinate system, and the corresponding power data is the power data under the speed coordinate system, and in the simulation design of the control system of the object such as the aircraft and the ship, the power data under the track coordinate system or the body coordinate system is also required, where the track coordinate system or the body coordinate system is determined to be the target coordinate system.
A matrix obtaining unit 403 for obtaining a coordinate transformation matrix between the target coordinate system and the source coordinate system.
The coordinate transformation matrix is a matrix for converting power data from a source coordinate system to a target coordinate system, and in this embodiment, the corresponding coordinate transformation matrix can be obtained through actual needs in simulation design.
And the coordinate conversion unit 404 is configured to process the power data in the source coordinate system by using the coordinate transformation matrix, so as to obtain the power data in the target coordinate system.
Specifically, in this embodiment, matrix calculation may be performed on the power data in the source coordinate system and the coordinate transformation matrix, so as to convert the power data in the source coordinate system into the target coordinate system, and obtain the power data in the target coordinate system.
As can be seen from the above, in the power data acquisition device provided in the second embodiment of the present application, after power data in a source coordinate system is acquired, after a target coordinate system and a corresponding coordinate transformation matrix are determined, the coordinate transformation matrix is used to perform coordinate transformation on the power data in the original coordinate system, so as to obtain the power data in the target coordinate system. Therefore, in the embodiment, the power data under different coordinate systems can be obtained by utilizing the coordinate conversion without carrying out a power experiment again, so that the time consumption is saved, and the data acquisition efficiency is improved.
In one implementation, the coordinate system determination unit 402 may include the following structure, as shown in fig. 5:
An angle determining subunit 421, configured to determine at least one expansion angle according to the simulation requirement and the power data in the source coordinate system;
The angle determining subunit 421 specifically is configured to: according to simulation requirements and dynamic data under the source coordinate system, determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension; and determining an expansion angle according to the dimension expansion range and a preset value interval.
And a target determining subunit 422, configured to determine a target coordinate system corresponding to each expansion angle.
When the expansion angles are multiple, the target coordinate system corresponding to each expansion angle is the coordinate system corresponding to the object to be simulated in different postures.
In one implementation, the apparatus in this embodiment may further include the following structure, as shown in fig. 6:
the data fitting unit 405 is configured to perform data fitting on the power data in the target coordinate system by using a preset interpolation algorithm, so as to obtain a data fitting result;
A parameter searching unit 406, configured to determine an interpolation index value according to a simulation requirement; and searching simulation power parameters in the data fitting result based on the interpolation index value.
In one implementation, based on the implementation structure of the coordinate system determining unit 402 in fig. 5, the apparatus in this embodiment may further include the following structure, as shown in fig. 7:
The interval adjustment unit 407 is configured to adjust the value interval according to the simulation result under the target coordinate system, so that the angle determination subunit 421 redetermines the expansion angle by using the dimension expansion range and the adjusted value interval, so that the target determination subunit 422 redetermines the target coordinate system corresponding to each expansion angle.
The following takes a controlled object main body as an example of a simulation design of a control system of an aircraft, and in combination with an acquisition flow in fig. 8, an implementation scheme of acquiring power data under different coordinate systems required by simulation in the present case is illustrated:
As shown in fig. 8, the present embodiment is mainly divided into the following execution flows:
The method comprises the steps of sequentially carrying out original power data arrangement, importing power data, confirming a source coordinate system and a target coordinate system, confirming a transformation angle value, transforming according to an Euler matrix, and generating an interpolation module for standby, thereby completing data acquisition.
The power data of a certain fixed coordinate system is shown in fig. 9, the power data is a two-dimensional interpolation data table, interpolation is performed according to Mach number and attack angle as interpolation index values, and power parameters uniquely determined by the Mach number and attack angle are obtained. The coordinate system where the group of power data is located is a speed coordinate system, when the power data needs to be applied to the body coordinate system, the power parameters are converted into the body coordinate system through Euler angles according to a certain sequence by using Euler rotation. The relationship between the two coordinate systems can be described by a transformation matrix, or the transformation can be completed by a transformation matrix, wherein the transformation matrix is the coordinate transformation matrix in the previous description.
Specifically, for a certain set of moment parameter data having one dimension, such as mach number, as a unique index condition, a graph of moment parameter data of one dimension is shown in fig. 10, wherein the transverse coordinate in fig. 10 represents mach number, and the longitudinal coordinate represents moment parameter data mx2 under the condition of mach number as a unique index condition when the attack angle ALF2 is 0. At this time, if data under different attack angles are required to be obtained in the simulation design, the power moment parameter data cannot meet the requirement. In this embodiment, the power moment parameter data is dimensionally expanded by using the euler angle transformation method, and 0, 2, 4, 6, 8 and 10 degrees are selected as the angle of attack transformation values, so that a set of power data under different angles of attack conditions can be obtained, as shown in a graph of the power moment parameter data with multiple dimensions in fig. 11, wherein the transverse coordinates in fig. 11 represent mach numbers, and the longitudinal coordinates of multiple curves represent power moment parameter data mx2 under different angles of attack under the condition of mach numbers as indexes. Accordingly, after the data expansion is completed, an interpolation module can be generated by using software, and index variables are two dimensions of Mach number and attack angle, and as shown in FIG. 12, u1 and u2 are respectively used for representing the input of Mach number and attack angle.
Thus, the steps for implementing the power parameter coordinate transformation process in this embodiment are briefly described as follows:
The first step: and obtaining the original pneumatic power data in the TXT text format, and confirming a source coordinate system where the source data are located.
And a second step of: and determining a target coordinate system to which the power data are converted according to the requirements of motion simulation under different coordinate systems. And providing a transformation angle value between the source coordinate system and the target coordinate system, and obtaining a uniquely determined transformation matrix according to the transformation matrix formula.
And a third step of: and finishing coordinate transformation by transforming a calculation formula.
In practical applications, it may be necessary to perform data dimension expansion to complete coordinate transformation, specifically, a set of transformation angle values within a certain range (for example, a set of transformation angles with 2 ° intervals are provided in a range of-20 ° to 20 ° of attack angle direction) may be confirmed according to the data dimension expansion requirement, and coordinate transformation calculation is performed on each transformation angle to obtain a new set of data. For example, when only the attack angle and mach number dimensions are available, only the longitudinal motion characteristics of the aircraft can be calculated when simulation is performed, and when transverse motion analysis is required, the sideslip angle dimension needs to be increased as one of the dependent variables.
Fourth step: the new data is fitted by utilizing methods such as linear interpolation, secondary interpolation, hermite interpolation and the like in the data interpolation to generate a new interpolation module, and under the general condition, the linear interpolation or the secondary interpolation is selected when the calculated amount is limited, if the stability of a curve is required to be kept, the connection is required to be smooth enough, the Hermite interpolation method can be adopted, but the calculated amount is larger at the moment. So far, the dimension of the dynamic parameter index is increased, the data processing is completed, and the data fitting result is obtained.
Then, simulation can be performed according to the fitting result.
Therefore, in this embodiment, the conversion of any two coordinate systems among the speed coordinate system, the body coordinate system, the geodetic coordinate system and the track coordinate system can be completed by euler transformation of the power data. In addition, in the embodiment, when the coordinates are converted, a plurality of values are selected for a certain Euler angle to complete conversion in a certain range, and one-dimensional interpolation indexes can be added to the original data to make up for the condition that the original data index condition is single or insufficient.
In specific implementation, the application aims at the inherent dynamic parameter tabular data under a certain fixed coordinate system, and can efficiently and quickly perform various coordinate transformations by selecting a source coordinate system and a target coordinate system in simulation design to obtain pneumatic or hydrodynamic data under different coordinate systems. Furthermore, the application can increase the interpolation index dimension of the original data to construct new dynamic data, and can make up the defect of single dimension of the original data to a certain extent, thereby ensuring more accurate simulation and improving the design performance of the control system. The applicable object can be an aircraft or a submersible.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description of a preferred embodiment of the present application provides a method and apparatus for power data acquisition, and the above description of the preferred embodiment of the present application enables one skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method of power data acquisition, comprising:
Obtaining power data under a source coordinate system based on power conditions, wherein the power conditions comprise at least one of Mach number, attack angle and sideslip angle, the source coordinate system is any one of a speed coordinate system, a body coordinate system, a ground coordinate system and a track coordinate system, and the power data comprises power parameter data and power moment parameter data;
according to simulation requirements and the dynamic data in the source coordinate system, determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension, wherein the expansion dimension is determined based on parameter composition in the dynamic data in the source coordinate system;
determining an expansion angle according to the dimension expansion range and a preset value interval;
Determining a target coordinate system corresponding to each expansion angle, wherein the target coordinate system is any one of a speed coordinate system, a body coordinate system, a geodetic coordinate system and a track coordinate system, and the target coordinate system is different from a source coordinate system;
Obtaining a transformation angle value between a target coordinate system and a source coordinate system, wherein the transformation angle value comprises nutation angle, precession angle and self-rotation angle values;
Based on the transformation angle value, generating a corresponding coordinate transformation matrix by using a preset transformation matrix formula, wherein the preset transformation matrix formula is determined based on the Euler rotation theorem;
and processing the power data under the source coordinate system by using the coordinate transformation matrix to obtain the power data under the target coordinate system.
2. The method of claim 1, wherein the dimension extension ranges from-20 degrees to +20 degrees of angle of attack extension.
3. The method as recited in claim 2, further comprising:
According to the simulation result under the target coordinate system, adjusting the value interval;
and re-determining the expansion angles by utilizing the dimension expansion range and the adjusted value interval so as to re-determine the target coordinate system corresponding to each expansion angle.
4. A method according to any one of claims 1 to 3, further comprising:
performing data fitting on the power data under the target coordinate system by using a preset interpolation algorithm to obtain a data fitting result;
determining an interpolation index value according to simulation requirements;
and searching simulation power parameters in the data fitting result based on the interpolation index value.
5. A power data acquisition device, comprising:
A data obtaining unit, configured to obtain power data in a source coordinate system based on a power condition, where the power condition includes at least one of a mach number, an attack angle, and a sideslip angle, the source coordinate system is any one of a velocity coordinate system, a body coordinate system, a geodetic coordinate system, and a trajectory coordinate system, and the power data includes power parameter data and power moment parameter data;
a coordinate system determining unit for determining a target coordinate system of the power data conversion;
A matrix obtaining unit, configured to obtain a transformation angle value between a target coordinate system and a source coordinate system, where the transformation angle value includes angle values of nutation angle, precession angle, and self-rotation angle; based on the transformation angle value, generating a corresponding coordinate transformation matrix by using a preset transformation matrix formula, wherein the preset transformation matrix formula is determined based on the Euler rotation theorem;
The coordinate conversion unit is used for processing the power data under the source coordinate system by utilizing the coordinate transformation matrix to obtain the power data under the target coordinate system;
The coordinate system determination unit includes:
the angle determining subunit is used for determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension according to the simulation requirement and the dynamic data in the source coordinate system, and the expansion dimension is determined based on parameter composition in the dynamic data in the source coordinate system; determining an expansion angle according to the dimension expansion range and a preset value interval;
And the target determining subunit is used for determining a target coordinate system corresponding to each expansion angle, wherein the target coordinate system is any one of a speed coordinate system, a body coordinate system, a ground coordinate system and a track coordinate system, and the target coordinate system is different from the source coordinate system.
6. The apparatus of claim 5, wherein the angle determination subunit is specifically configured to: according to simulation requirements and dynamic data under the source coordinate system, determining an expansion dimension and a dimension expansion range corresponding to the expansion dimension; and determining an expansion angle according to the dimension expansion range and a preset value interval.
7. The apparatus as recited in claim 6, further comprising:
And the interval adjustment unit is used for adjusting the value interval according to the simulation result under the target coordinate system, so that the angle determination subunit can redetermine the expansion angle by utilizing the dimension expansion range and the adjusted value interval, and the target determination subunit can redetermine the target coordinate system corresponding to each expansion angle.
8. The apparatus according to any one of claims 5 to 7, further comprising:
the data fitting unit is used for performing data fitting on the power data under the target coordinate system by utilizing a preset interpolation algorithm to obtain a data fitting result;
The parameter searching unit is used for determining an interpolation index value according to the simulation requirement; and searching simulation power parameters in the data fitting result based on the interpolation index value.
CN201910823358.7A 2019-09-02 2019-09-02 Power data acquisition method and device Active CN110532704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910823358.7A CN110532704B (en) 2019-09-02 2019-09-02 Power data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910823358.7A CN110532704B (en) 2019-09-02 2019-09-02 Power data acquisition method and device

Publications (2)

Publication Number Publication Date
CN110532704A CN110532704A (en) 2019-12-03
CN110532704B true CN110532704B (en) 2024-05-10

Family

ID=68666210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910823358.7A Active CN110532704B (en) 2019-09-02 2019-09-02 Power data acquisition method and device

Country Status (1)

Country Link
CN (1) CN110532704B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766343B1 (en) * 2000-02-04 2004-07-20 Harris Corporation Method and apparatus for coordinate system conversions
CN102945002A (en) * 2012-10-18 2013-02-27 南京航空航天大学 Simulation method and system of general unmanned aerial vehicle based on nonlinear mathematical model
CN104408279A (en) * 2014-10-09 2015-03-11 北京宇航系统工程研究所 Space external heat flux calculation method for carrier rocket
CN107084723A (en) * 2017-05-12 2017-08-22 中国人民解放军91550部队 A kind of underwater sailing body movement locus method of estimation under marine environment
CN108346168A (en) * 2018-02-12 2018-07-31 腾讯科技(深圳)有限公司 A kind of images of gestures generation method, device and storage medium
CN108801250A (en) * 2018-05-07 2018-11-13 约肯机器人(上海)有限公司 Real-time attitude acquisition methods based on underwater robot and device
CN109901402A (en) * 2019-04-08 2019-06-18 哈尔滨工程大学 A kind of autonomous underwater robot path following method based on course smoothing technique

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766343B1 (en) * 2000-02-04 2004-07-20 Harris Corporation Method and apparatus for coordinate system conversions
CN102945002A (en) * 2012-10-18 2013-02-27 南京航空航天大学 Simulation method and system of general unmanned aerial vehicle based on nonlinear mathematical model
CN104408279A (en) * 2014-10-09 2015-03-11 北京宇航系统工程研究所 Space external heat flux calculation method for carrier rocket
CN107084723A (en) * 2017-05-12 2017-08-22 中国人民解放军91550部队 A kind of underwater sailing body movement locus method of estimation under marine environment
CN108346168A (en) * 2018-02-12 2018-07-31 腾讯科技(深圳)有限公司 A kind of images of gestures generation method, device and storage medium
CN108801250A (en) * 2018-05-07 2018-11-13 约肯机器人(上海)有限公司 Real-time attitude acquisition methods based on underwater robot and device
CN109901402A (en) * 2019-04-08 2019-06-18 哈尔滨工程大学 A kind of autonomous underwater robot path following method based on course smoothing technique

Also Published As

Publication number Publication date
CN110532704A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN106020231B (en) Hypersonic aircraft reentry trajectory optimization method based on reentry point parameter
Jiang et al. Improving low-thrust trajectory optimization by adjoint estimation with shape-based path
Skujins et al. Reduced-order modeling of unsteady aerodynamics across multiple mach regimes
CN109254533B (en) Hypersonic aircraft rapid trajectory optimization method based on state integral gradient-restoration algorithm
CN103995540A (en) Method for rapidly generating finite time track of hypersonic aircraft
Huang et al. Polytopic LPV modeling and gain-scheduled switching control for a flexible air-breathing hypersonic vehicle
CN104251990B (en) Synthetic aperture radar self-focusing method
CN103942401A (en) Tool kit and method for optimizing high-precision self-adaptation and modular spacecraft trajectory multi-constrained track
CN105654422A (en) Point cloud registration method and system
Baranyi et al. Aeroelastic wing section control via relaxed tensor product model transformation framework
CN105093926A (en) Optimization matching combination method of iterative learning control reference tracks
CN112051854A (en) Rapid planning method for optimal trajectory of lunar soft landing considering complex constraints
CN109446471B (en) Fluid-solid coupling interface data transmission method considering load uncertainty
CN111474949A (en) Unmanned aerial vehicle cluster flight feasible path trajectory planning method, unmanned aerial vehicle cluster and medium
CN110532704B (en) Power data acquisition method and device
Tesfahunegn et al. Surrogate-based airfoil design with space mapping and adjoint sensitivity
CN104933261A (en) High efficient sequential maximin latin hypercube design method
CN116339347B (en) Unmanned vehicle running path planning method, device and equipment
CN107863599B (en) Arm Tolerance Design Method is unfolded in deployable antenna based on ellipsoidal model
Orman et al. Comparison of shape optimization techniques coupled with genetic algorithm for a wind turbine airfoil
Berkenstock et al. Analytic Solutions of Hypersonic Newtonian Flows Over Ellipses
Zhao et al. Lpv based robust mpc for a multi-vectored airship
CN105488236A (en) Design of experiment platform of unmanned ship and hydrokinetic parameter Identification method
Roman et al. Regularization of the circular restricted three-body problem using ‘similar’coordinate systems
CN117077296B (en) Control coupling simulation method for aerodynamic structure of aircraft

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant