CN106096194A - Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface - Google Patents
Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface Download PDFInfo
- Publication number
- CN106096194A CN106096194A CN201610487530.2A CN201610487530A CN106096194A CN 106096194 A CN106096194 A CN 106096194A CN 201610487530 A CN201610487530 A CN 201610487530A CN 106096194 A CN106096194 A CN 106096194A
- Authority
- CN
- China
- Prior art keywords
- equation
- aerodynamic parameter
- phi
- aircraft
- cos
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/15—Vehicle, aircraft or watercraft design
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Automation & Control Theory (AREA)
- Aviation & Aerospace Engineering (AREA)
- Feedback Control In General (AREA)
- Aerodynamic Tests, Hydrodynamic Tests, Wind Tunnels, And Water Tanks (AREA)
Abstract
The present invention proposes fixed wing airplane aerodynamic parameter edit specification based on plug type interface, designs plug type interface, is peeled off by aerodynamic parameter and abstract, it is achieved aerodynamic parameter plug and play from kinetic model.Use VC2010 developing instrument, complete the manipulation input of fixed wing airplane, kinetics equation and kinematical equation Development of Module.Design aerodynamic parameter XML file analysis program, combines the aerodynamic parameter of acquisition with dynamics module, it is achieved the quick exploitation of flying quality phantom.User is by replacing the aerodynamic parameter of different aircraft in XML file, on the premise of engine type and model are fixing, only need to revise the aerodynamic parameter in XML file and just can complete simulation model design during to different Modeling of Vehicle.Can quickly set up the Aerodynamics Model for different fixed wing airplane types, shorten the model development cycle.Reduce the repeated labor in aircraft process of mathematical modeling, improve the motility of Modeling of Vehicle, rapidity, and versatility.
Description
Technical field
Present invention relates particularly to a kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, belong to
Computer aircraft performance emulation field.
Background technology
XML is extensible markup language or extensible, is a kind of markup language.The innovative point of the present invention is that application can
The aerodynamic parameter of aircraft, due to the XML document of aerodynamic parameter, is detached out from Aviate equation and writes by extending mark language
XML document, is resolved in Aviate equation can be carried out aircraft emulating when again from document by aerodynamic parameter
Performance simulation.Use XML document labelling aerodynamic parameter so that flight side can be shared when different aircraft are emulated
Journey, it is only necessary to the aerodynamic parameter in amendment document, so can improve development efficiency, it is achieved the multiplexing of code.XML language has
There is the succinct feature effectively, efficiently expanded, and use XML can exchange information between different computer systems.XML supports
Multiplexing document snippet, user can invent and use the label of oneself, and scalability is big, can effectively carry out XML file
Expansion, aircraft platforms difference when can by amendment expand XML file be rapidly performed by aerial vehicle simulation model.
Summary of the invention
The present invention proposes a kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, proposes base
In the fixed wing airplane aerodynamic parameter edit specification of XML, design plug type interface, aerodynamic parameter is shelled from kinetic model
From also abstract, it is achieved aerodynamic parameter plug and play.Use VC2010 developing instrument, complete fixed wing airplane manipulation input,
Kinetics equation and kinematical equation Development of Module.Design aerodynamic parameter XML file analysis program, by same for the aerodynamic parameter obtained
Dynamics module combines, it is achieved the quick exploitation of flying quality phantom.User flies by replacing difference in XML file
The aerodynamic parameter of row device, on the premise of engine type and model are fixing, only need to revise XML during to different Modeling of Vehicle
Aerodynamic parameter in file just can complete simulation model design.Can quickly set up the air for different fixed wing airplane types to move
Mechanical model, shortens the model development cycle.Reduce the repeated labor in aircraft process of mathematical modeling, improve aircraft
The motility of modeling, rapidity, and versatility.
A kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, mainly comprises herein below:
Step one: definition XML document, peels off the aerodynamic parameter of aircraft from Aviate equation and writes in file, real
Existing Aviate equation therefrom reads aerodynamic parameter when initializing;
Step 2: according to the Kinematic Decomposition of aircraft, is moved and is divided into horizontal lateral movement and lengthwise movement, write respectively
Kinestate resolves equation;
Step 3: design XML analysis program, is loaded into aerodynamic parameter in Aerodynamics Model, it is achieved kinestate
Resolve the initialization of equation;
Step 4: under conditions of engine type and model are fixing, can fly so that multiplexing is same for different aircraft
Row equation, only need to revise the aerodynamic parameter in XML file and the most again be resolved in kinetic model;
Defined in described step one, the realization approach of XML document is:
(1). first created XML document, definition document root node by xml editor;
(2). definition ground floor node, totally 8 nodes, labelling ground floor nodes, lift resolve relevant pneumatic ginseng respectively
Number, side force resolve aerodynamic parameter, pitching moment resolves aerodynamic parameter, rolling moment resolves aerodynamic parameter, yawing resolves gas
Dynamic parameter, damping force resolve aerodynamic parameter, angular acceleration resolves aerodynamic parameter;
(3). for each node creation node of ground floor, create child node according to the aerodynamic parameter number of corresponding node,
Relate to a how many aerodynamic parameter and be created that several child node, wherein the child node number of first sub-vertex ticks present node;
(4). one aerodynamic parameter of a sub-node on behalf, is series of discrete point owing to being stored in the aerodynamic parameter of document, because of
This needs to create a series of nexine nodes for child node.Each child node extends 21 nexine nodes, wherein first nexine
Vertex ticks aerodynamic parameter discrete point number, remaining nexine vertex ticks aerodynamic parameter centrifugal pump;
(5). Save and Close XML document, it is achieved the labelling of aerodynamic parameter;
In described step 3, XML document parsing realization approach is:
(1). load XML document, proceed by aerodynamic parameter and resolve;
(2). text pointer is navigated to root node, obtains the nodes of ground floor node;
(3). text pointer is navigated to successively each node of ground floor, begins stepping through the child node of each node;
(4). the nexine node of traversal child node extension, by the aerodynamic parameter value of labelling in nexine node, read corresponding gas
In aerodynamic parameter array corresponding in dynamic resolving module;
(5). repeat aforesaid operations, until the nexine node in the child node of all nodes all reads;
(6). Save and Close XML document, start-up parameter is loaded in calculator memory;
Aerodynamic force, moment that described ground floor node on behalf is corresponding resolve module;The child node of node represents this pneumatic solution
Calculate the aerodynamic parameter that module relates to;The dimensional table data amount check of this aerodynamic parameter labelling of nexine node on behalf of child node;
Need write XML file aerodynamic parameter table:
For just understanding, the XML document tag format of attached following airfoil lift coefficient.
Implement:
1 defined variable:
Variable module includes that abstract variable that each aerodynamic parameter of aircraft is corresponding, kinestate variable, mechanical state become
Amount and control input.Wherein aerodynamic parameter variable is for the resolving of aircraft aerodynamic model;Kinestate variable is used for
Attitude information that record cast calculates, positional information etc.;Pitching moment that mechanical state variable calculates for record cast,
Rolling moment, yawing, lateral moment and the status information such as resistance, lift;Control input and include [δT δe δa δr], right
Answer the input of throttle push rod, elevator drift angle, aileron movement angle, rudder.
2 definition XML document and XML analysis programs:
The aerodynamic parameter of vehicle aerodynamics model is write in XML file.By gas from Aerodynamics Model
Dynamic parameter is stripped out and abstract, replaces with variable in each resolving module, by pneumatic by file of XML analysis program
Parameter analysis of electrochemical is in corresponding variable, it is achieved the initialization of Aerodynamics Model.The definition of XML document is by the gas in table 1
Dynamic parameter recorded in document with tree-like hierarchy structure successively according to resolving equation, and all aerodynamic parameters of such aircraft are with regard to structure
Having become to have the tree of multilamellar bifurcation structure, each aerodynamic parameter corresponds to an element of one of them branch.Analysis program
Effect be exactly parsing tree, by carry out tree traversal just each element can be operated, be resolved to aircraft flight
In equation, thus Aviate equation is embodied.The method creating XML document is shown in Figure of description 1, Fig. 2, XML document parsing side
Method is shown in Figure of description 3.
3 states resolving modules:
State resolves module and includes the power equation group of aircraft, movement difference equations, momental equation group, navigation equation group four
Point, write when state resolves module and corresponding equation group discretization is converted into computer program.Determining state vectorWith control input [δT δe δa δrRelation between]
After, at the relevant aerodynamic parameter of known aircraft, characteristic parameter, very according to flying height h, Mach number MaAnd state of flight, just
May determine that power (Fx Fy Fz) and momentApplication state resolves module, and in office when just can solve aircraft
The kinestate carved.Wherein (u, v w) are three velocity components of body axis system;For attitude angle, respectively rolling
Angle, the angle of pitch, course angle;(p, q, r) be body angular velocity component, respectively body angular velocity in roll, body rate of pitch
And body yaw rate;(xg,yg,zg) it is geographical coordinates;δT,δe,δa,δrBe respectively accelerator open degree input, elevator inclined
Input, aileron rudder partially inputs and course rudder inputs partially.
1). according to controlling input [δT δe δa δr] resolve power, moment.
Power mainly includes lift L, side force Y, motor power T.Concrete resolving is as follows:
Lift resolving equation:
Wherein have
Q: dynamic pressure;
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CLW: airfoil lift coefficient;
CLb: fuselage lift coefficient;
Sb: fuselage cross-section is amassed;
SW: wing area;
CLt: horizontal tail lift coefficient;
St: horizontal tail area;
Side force resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
SW: wing area;
CYβ: the side force derivative that yaw angle causes;
β: yaw angle;
: rudder side force derivative;
δr: rudder inputs;
: angular velocity in roll side force derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: yaw rate side force derivative;
: withFor the yaw rate of dimension, b is wing length;
Pitching moment resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CM, α=0: static indeterminacy pitching moment;
Cmα: angle of attack pitching moment derivative;
α: the angle of attack;
: elevator pitching moment derivative;
δe: elevator drift angle;
: the additional pitching moment coefficient of horizontal tail;
: withFor the rate of pitch of dimension, b is wing length;
: wash time difference damping torque derivative under horizontal tail;
: withAngle of attack speed for dimension
: elevator drift angle speed pitching moment derivative;
: withElevator drift angle speed for dimension;
cA: wing mean geometric of airfoil;
Rolling moment resolving equation:
Clβ: roll static-stability derivative;
V: aircraft horizontal flight speed;
B:b is wing length;
ρ: current gas pressure level air density;
: roll guidance derivative;
δa: aileron movement angle;
: rudder control cross derivative;
: roll damping derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: intersection dynamic derivative;
: withFor the yaw rate of dimension, b is wing length;
Yawing resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
Cnβ: driftage static-stability derivative;
: aileron control cross derivative;
δa: aileron movement angle;
: directional control derivative;
δr: course angle of rudder reflection;
: intersection dynamic derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: course damping derivative;
: withFor the yaw rate of dimension, b is wing length;
Damping force resolves equation: Dk=CDVk (6)
CD: damped coefficient;
Aircraft can be calculated along body axis system force vector by equation (1)~(6):
Wherein k is that kth resolves the cycle;DkFor flight resistance;mkThe quality of cycle aircraft is resolved for kth;gkFor kth
The acceleration of gravity in individual resolving cycle.
(7) moment vector can be decomposed along body axis system by calculating aircraft by equation (1)~(6):
WhereinMkA, NkAIt is respectively kth and resolves cycle roll guidance moment, pitch control moment, yaw control power
Square;TkThe motor power in cycle is resolved for kth;ly,lzIt is respectively the rotary inertia of y-axis, the rotary inertia of z-axis;Lk,Mk,
NkIt is respectively rolling moment, pitching moment, yawing.
2). by [Fkx Fky Fkz]T、[uk νk ωk]T、[φk θk ψk]T、[pk qk rk]TCalculate current state to accelerate
Degree component.
Component of acceleration resolving equation:
Current state component of acceleration is calculated by equation (9)
3). by [Lk Mk Nk]T、[pk qk rk]TCalculate current state component of angular acceleration.
Component of angular acceleration resolving equation:
Wherein: IxzFor the product of inertia;
Current state component of angular acceleration is calculated by equation (10)
4). by [uk νk ωk]T、Calculate the velocity component [u of NextStatek+1 νk+1 ωk+1]T
The velocity component resolving equation of NextState:
Wherein Δ τ is the resolving cycle.
5). by [pk qk rk]T、Calculate the angular velocity component [p of NextStatek+1 qk+1 rk+1]T
The angular velocity component resolving equation of NextState:
Wherein Δ τ is the resolving cycle.
6). by [φk θk ψk]T、[pk+1 qk+1 rk+1]TCalculate current state attitude angular rate
Current state attitude angular rate resolving equation:
Current state attitude angular rate can be calculated by equation (13)
7). by[φk θk ψk]TCalculate the attitude angle [φ of NextStatek+1 θk+1 ψk+1]T
NextState solving of attitude equation:
Wherein Δ τ is the resolving cycle.
8). by [uk+1 νk+1 ωk+1]T、[φk+1 θk+1 ψk+1]TCalculate the location status information change rate of aircraft
Location status information change rate resolving equation:
Current position state rate of change can be calculated by equation (15)
9). by[x(k)g y(k)g z(k)g]TResolve the next position information [x(k+1)g y(k+1)g
z(k+1)g]T
NextState positional information resolving equation:
Equation (1)~(16) are carried out discretization and can write computer program, set up Aviate equation, pass through Aviate equation
Calculate the rate of change of power in aircraft each moment, moment variations rate, attitude angle rate of change, percentage speed variation can be obtained by
The status information in each moment of aircraft and positional information.Resolved by state and just achieve dummy vehicle emulation, from
And the performance parameter of aircraft can be simulated.
Compared with prior art, the invention have the advantages that:
Invention defines the aerodynamic parameter xml configuration file of aircraft dynamics model, can be by amendment configuration file
The rapid modeling of different type of machines kinetic model can be realized.The feature of this Dynamics Model is with dynamic by aerodynamic parameter
Mechanical equation is separated, it is achieved that the modularized design of kinetic model, is then loaded into by aerodynamic parameter before resolving state
In model, resolve aerodynamic parameter according to current flight state and realize the resolving of airplane motion state.Use this modeling pattern can
To realize the flexible combination of Dynamics Model, improve development efficiency, shorten the construction cycle, and engineering can be reduced
Personnel's repeated labor in modeling process, improves the motility of Modeling of Vehicle, rapidity and versatility.
Accompanying drawing explanation
Fig. 1 is method for designing schematic flow sheet of the present invention;
Fig. 2 is that the definition of aerodynamic parameter XML document realizes framework 1;
Fig. 3 is that the definition of aerodynamic parameter XML document realizes framework 2;
Fig. 4 aerodynamic parameter XML document flow chart;
Fig. 5 is Aviate equation model realization structure chart;
Detailed description of the invention
The present invention proposes a kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, proposes base
In the fixed wing airplane aerodynamic parameter edit specification of XML, design plug type interface, aerodynamic parameter is shelled from kinetic model
From also abstract, it is achieved aerodynamic parameter plug and play.Use VC2010 developing instrument, complete fixed wing airplane manipulation input,
Kinetics equation and kinematical equation Development of Module.Design aerodynamic parameter XML file analysis program, by same for the aerodynamic parameter obtained
Dynamics module combines, it is achieved the quick exploitation of flying quality phantom.User flies by replacing difference in XML file
The aerodynamic parameter of row device, on the premise of engine type and model are fixing, only need to revise XML during to different Modeling of Vehicle
Aerodynamic parameter in file just can complete simulation model design.Can quickly set up the air for different fixed wing airplane types to move
Mechanical model, shortens the model development cycle.Reduce the repeated labor in aircraft process of mathematical modeling, improve aircraft
The motility of modeling, rapidity, and versatility.
A kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, mainly comprises herein below:
Step one: definition XML document, peels off the aerodynamic parameter of aircraft from Aviate equation and writes in file, real
Existing Aviate equation therefrom reads aerodynamic parameter when initializing;
Step 2: according to the Kinematic Decomposition of aircraft, is moved and is divided into horizontal lateral movement and lengthwise movement, write respectively
Kinestate resolves equation;
Step 3: design XML analysis program, is loaded into aerodynamic parameter in Aerodynamics Model, it is achieved kinestate
Resolve the initialization of equation;
Step 4: under conditions of engine type and model are fixing, can fly so that multiplexing is same for different aircraft
Row equation, only need to revise the aerodynamic parameter in XML file and the most again be resolved in kinetic model;
Defined in described step one, the realization approach of XML document is:
(1). first created XML document, definition document root node by xml editor;
(2). definition ground floor node, totally 8 nodes, labelling ground floor nodes, lift resolve relevant pneumatic ginseng respectively
Number, side force resolve aerodynamic parameter, pitching moment resolves aerodynamic parameter, rolling moment resolves aerodynamic parameter, yawing resolves gas
Dynamic parameter, damping force resolve aerodynamic parameter, angular acceleration resolves aerodynamic parameter;
(3). for each node creation node of ground floor, create child node according to the aerodynamic parameter number of corresponding node,
Relate to a how many aerodynamic parameter and be created that several child node, wherein the child node number of first sub-vertex ticks present node;
(4). one aerodynamic parameter of a sub-node on behalf, is series of discrete point owing to being stored in the aerodynamic parameter of document, because of
This needs to create a series of nexine nodes for child node.Each child node extends 21 nexine nodes, wherein first nexine
Vertex ticks aerodynamic parameter discrete point number, remaining nexine vertex ticks aerodynamic parameter centrifugal pump;
(5). Save and Close XML document, it is achieved the labelling of aerodynamic parameter;
In described step 3, XML document parsing realization approach is:
(1). load XML document, proceed by aerodynamic parameter and resolve;
(2). text pointer is navigated to root node, obtains the nodes of ground floor node;
(3). text pointer is navigated to successively each node of ground floor, begins stepping through the child node of each node;
(4). the nexine node of traversal child node extension, by the aerodynamic parameter value of labelling in nexine node, read corresponding gas
In aerodynamic parameter array corresponding in dynamic resolving module;
(5). repeat aforesaid operations, until the nexine node in the child node of all nodes all reads;
(6). Save and Close XML document, start-up parameter is loaded in calculator memory;
Aerodynamic force, moment that described ground floor node on behalf is corresponding resolve module;The child node of node represents this pneumatic solution
Calculate the aerodynamic parameter that module relates to;The dimensional table data amount check of this aerodynamic parameter labelling of nexine node on behalf of child node;
Need write XML file aerodynamic parameter table:
For just understanding, the XML document tag format of attached following airfoil lift coefficient.
Implement:
1 defined variable:
Variable module includes that abstract variable that each aerodynamic parameter of aircraft is corresponding, kinestate variable, mechanical state become
Amount and control input.Wherein aerodynamic parameter variable is for the resolving of aircraft aerodynamic model;Kinestate variable is used for
Attitude information that record cast calculates, positional information etc.;Pitching moment that mechanical state variable calculates for record cast,
Rolling moment, yawing, lateral moment and the status information such as resistance, lift;Control input and include [δT δe δa δr], right
Answer the input of throttle push rod, elevator drift angle, aileron movement angle, rudder.
2 definition XML document and XML analysis programs:
The aerodynamic parameter of vehicle aerodynamics model is write in XML file.By gas from Aerodynamics Model
Dynamic parameter is stripped out and abstract, replaces with variable in each resolving module, by pneumatic by file of XML analysis program
Parameter analysis of electrochemical is in corresponding variable, it is achieved the initialization of Aerodynamics Model.The definition of XML document is by the gas in table 1
Dynamic parameter recorded in document with tree-like hierarchy structure successively according to resolving equation, and all aerodynamic parameters of such aircraft are with regard to structure
Having become to have the tree of multilamellar bifurcation structure, each aerodynamic parameter corresponds to an element of one of them branch.Analysis program
Effect be exactly parsing tree, by carry out tree traversal just each element can be operated, be resolved to aircraft flight
In equation, thus Aviate equation is embodied.The method creating XML document is shown in Figure of description 1, Fig. 2, XML document parsing side
Method is shown in Figure of description 3.
3 states resolving modules:
State resolves module and includes the power equation group of aircraft, movement difference equations, momental equation group, navigation equation group four
Point, write when state resolves module and corresponding equation group discretization is converted into computer program.Determining state vectorWith control input [δT δe δa δrRelation between]
After, at the relevant aerodynamic parameter of known aircraft, characteristic parameter, very according to flying height h, Mach number MaAnd state of flight, just
May determine that power (Fx Fy Fz) and momentApplication state resolves module, and in office when just can solve aircraft
The kinestate carved.Wherein (u, v w) are three velocity components of body axis system;For attitude angle, respectively rolling
Angle, the angle of pitch, course angle;(p, q, r) be body angular velocity component, respectively body angular velocity in roll, body rate of pitch
And body yaw rate;(xg,yg,zg) it is geographical coordinates;δT,δe,δa,δrBe respectively accelerator open degree input, elevator inclined
Input, aileron rudder partially inputs and course rudder inputs partially.
3). according to controlling input [δT δe δa δr] resolve power, moment.
Power mainly includes lift L, side force Y, motor power T.Concrete resolving is as follows:
Lift resolving equation:
Wherein have
Q: dynamic pressure;
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CLW: airfoil lift coefficient;
CLb: fuselage lift coefficient;
Sb: fuselage cross-section is amassed;
SW: wing area;
CLt: horizontal tail lift coefficient;
St: horizontal tail area;
Side force resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
SW: wing area;
CYβ: the side force derivative that yaw angle causes;
β: yaw angle;
: rudder side force derivative;
δr: rudder inputs;
: angular velocity in roll side force derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: yaw rate side force derivative;
: withFor the yaw rate of dimension, b is wing length;
Pitching moment resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CM, α=0: static indeterminacy pitching moment;
Cmα: angle of attack pitching moment derivative;
α: the angle of attack;
: elevator pitching moment derivative;
δe: elevator drift angle;
: the additional pitching moment coefficient of horizontal tail;
: withFor the rate of pitch of dimension, b is wing length;
: wash time difference damping torque derivative under horizontal tail;
: withAngle of attack speed for dimension
: elevator drift angle speed pitching moment derivative;
: withElevator drift angle speed for dimension;
cA: wing mean geometric of airfoil;
Rolling moment resolving equation:
Clβ: roll static-stability derivative;
V: aircraft horizontal flight speed;
B:b is wing length;
ρ: current gas pressure level air density;
: roll guidance derivative;
δa: aileron movement angle;
: rudder control cross derivative;
: roll damping derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: intersection dynamic derivative;
: withFor the yaw rate of dimension, b is wing length;
Yawing resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
Cnβ: driftage static-stability derivative;
: aileron control cross derivative;
δa: aileron movement angle;
: directional control derivative;
δr: course angle of rudder reflection;
: intersection dynamic derivative;
: withFor the angular velocity in roll of dimension, b is wing length;
: course damping derivative;
: withFor the yaw rate of dimension, b is wing length;
Damping force resolves equation: Dk=CDVk (6)
CD: damped coefficient;
Aircraft can be calculated along body axis system force vector by equation (1)~(6):
Wherein k is that kth resolves the cycle;DkFor flight resistance;mkThe quality of cycle aircraft is resolved for kth;gkFor kth
The acceleration of gravity in individual resolving cycle.
(7) moment vector can be decomposed along body axis system by calculating aircraft by equation (1)~(6):
WhereinMkA, NkAIt is respectively kth and resolves cycle roll guidance moment, pitch control moment, yaw control power
Square;TkThe motor power in cycle is resolved for kth;ly,lzIt is respectively the rotary inertia of y-axis, the rotary inertia of z-axis;Lk,Mk,
NkIt is respectively rolling moment, pitching moment, yawing.
4). by [Fkx Fky Fkz]T、[uk νk ωk]T、[φk θk ψk]T、[pk qk rk]TCalculate current state to accelerate
Degree component.
Component of acceleration resolving equation:
Current state component of acceleration is calculated by equation (9)
3). by [Lk Mk Nk]T、[pk qk rk]TCalculate current state component of angular acceleration.
Component of angular acceleration resolving equation:
Wherein: IxzFor the product of inertia;
Current state component of angular acceleration is calculated by equation (10)
4). by [uk νk ωk]T、Calculate the velocity component [u of NextStatek+1 νk+1 ωk+1]T
The velocity component resolving equation of NextState:
Wherein Δ τ is the resolving cycle.
5). by [pk qk rk]T、Calculate the angular velocity component [p of NextStatek+1 qk+1 rk+1]T
The angular velocity component resolving equation of NextState:
Wherein Δ τ is the resolving cycle.
6). by [φk θk ψk]T、[pk+1 qk+1 rk+1]TCalculate current state attitude angular rate
Current state attitude angular rate resolving equation:
Current state attitude angular rate can be calculated by equation (13)
7). by[φk θk ψk]TCalculate the attitude angle [φ of NextStatek+1 θk+1 ψk+1]T
NextState solving of attitude equation:
Wherein Δ τ is the resolving cycle.
8). by [uk+1 νk+1 ωk+1]T、[φk+1 θk+1 ψk+1]TCalculate the location status information change rate of aircraft
Location status information change rate resolving equation:
Current position state rate of change can be calculated by equation (15)
9). by[x(k)g y(k)g z(k)g]TResolve the next position information [x(k+1)g y(k+1)g
z(k+1)g]T
NextState positional information resolving equation:
Equation (1)~(16) are carried out discretization and can write computer program, set up Aviate equation, pass through Aviate equation
Calculate the rate of change of power in aircraft each moment, moment variations rate, attitude angle rate of change, percentage speed variation can be obtained by
The status information in each moment of aircraft and positional information.Resolved by state and just achieve dummy vehicle emulation, from
And the performance parameter of aircraft can be simulated.
Table 1 kinetic model aerodynamic parameter
Claims (4)
1. a Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface, it is characterised in that its comprise with
Lower step:
Step one, defines XML document, is peeled off by the aerodynamic parameter of aircraft and write in file, it is achieved fly from Aviate equation
Row equation therefrom reads aerodynamic parameter when initializing;
Step 2, according to the Kinematic Decomposition of aircraft, is moved and is divided into horizontal lateral movement and lengthwise movement, write motion respectively
State resolves equation;
Step 3, designs XML analysis program, is loaded in Aerodynamics Model by aerodynamic parameter, it is achieved kinestate resolves
The initialization of equation;
Step 4, under conditions of engine type and model are fixing, can be with the same flight side of multiplexing for different aircraft
Journey, only need to revise the aerodynamic parameter in XML file and the most again be resolved in kinetic model.
A kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface the most according to claim 1,
It is characterized in that, defined in described step one, XML document specifically comprises the following steps that
(1). first created XML document, definition document root node by xml editor;
(2). definition ground floor node, totally 8 nodes, labelling ground floor nodes, lift resolve relevant aerodynamic parameter, side respectively
Power resolves aerodynamic parameter, pitching moment resolves aerodynamic parameter, rolling moment resolves aerodynamic parameter, yawing resolves pneumatic ginseng
Number, damping force resolve aerodynamic parameter, angular acceleration resolves aerodynamic parameter;
(3). for each node creation node of ground floor, create child node according to the aerodynamic parameter number of corresponding node, relate to
A how many aerodynamic parameter are created that several child node, wherein the child node number of first sub-vertex ticks present node;
(4). one aerodynamic parameter of a sub-node on behalf, it is series of discrete point owing to being stored in the aerodynamic parameter of document, therefore needs
Child node to be creates a series of nexine nodes;Each child node extends 21 nexine nodes, wherein first nexine node
Labelling aerodynamic parameter discrete point number, remaining nexine vertex ticks aerodynamic parameter centrifugal pump;
(5). Save and Close XML document, it is achieved the labelling of aerodynamic parameter.
A kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface the most according to claim 1,
It is characterized in that, what in described step 3, XML document resolved specifically comprises the following steps that
(1). load XML document, proceed by aerodynamic parameter and resolve;
(2). text pointer is navigated to root node, obtains the nodes of ground floor node;
(3). text pointer is navigated to successively each node of ground floor, begins stepping through the child node of each node;
(4). the nexine node of traversal child node extension, by the aerodynamic parameter value of labelling in nexine node, read corresponding pneumatic solution
Calculate in aerodynamic parameter array corresponding in module;
(5). repeat aforesaid operations, until the nexine node in the child node of all nodes all reads;
(6). Save and Close XML document, start-up parameter is loaded in calculator memory.
A kind of Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface the most according to claim 1,
It is characterized in that, in described step 3, aircraft kinestate resolves equation, including herein below:
Described state resolves equation and includes the power equation group of aircraft, movement difference equations, momental equation group, navigation equation group four
Point, write when state resolves module and corresponding equation group discretization is converted into computer program;Determining state vectorWith control input [δT δe δa δrRelation between],
Aerodynamic parameter that known aircraft is relevant, characteristic parameter, very according to flying height h, Mach number MaAnd state of flight, it is possible to really
Determine power (Fx Fy Fz) and momentApplication state resolves module just can solve aircraft fortune at any time
Dynamic state;Wherein (u, v w) are three velocity components of body axis system;For attitude angle, respectively roll angle, bow
The elevation angle, course angle;(p, q, r) be body angular velocity component, respectively body angular velocity in roll, body rate of pitch and machine
Body yaw rate;(xg,yg,zg) it is geographical coordinates;δT,δe,δa,δrBe respectively accelerator open degree input, elevator inputs partially, pair
Wing rudder inputs partially and course rudder inputs partially;
1). according to controlling input [δT δe δa δr] resolve power, moment;
Power mainly includes lift L, side force Y, motor power T;Concrete resolving is as follows:
Lift resolving equation:
Wherein have
Q: dynamic pressure;
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CLW: airfoil lift coefficient;
CLb: fuselage lift coefficient;
Sb: fuselage cross-section is amassed;
SW: wing area;
CLt: horizontal tail lift coefficient;
St: horizontal tail area;
Side force resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
SW: wing area;
CYβ: the side force derivative that yaw angle causes;
β: yaw angle;
Rudder side force derivative;
δr: rudder inputs;
Angular velocity in roll side force derivative;
WithFor the angular velocity in roll of dimension, b is wing length;
Yaw rate side force derivative;
WithFor the yaw rate of dimension, b is wing length;
Pitching moment resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
CM, α=0: static indeterminacy pitching moment;
Cmα: angle of attack pitching moment derivative;
α: the angle of attack;
Elevator pitching moment derivative;
δe: elevator drift angle;
The additional pitching moment coefficient of horizontal tail;
WithFor the rate of pitch of dimension, b is wing length;
Time difference damping torque derivative is washed under horizontal tail;
WithAngle of attack speed for dimension
Elevator drift angle speed pitching moment derivative;
WithElevator drift angle speed for dimension;
cA: wing mean geometric of airfoil;
Rolling moment resolving equation:
Clβ: roll static-stability derivative;
V: aircraft horizontal flight speed;
B:b is wing length;
ρ: current gas pressure level air density;
Roll guidance derivative;
δa: aileron movement angle;
Rudder control cross derivative;
Roll damping derivative;
WithFor the angular velocity in roll of dimension, b is wing length;
Intersection dynamic derivative;
WithFor the yaw rate of dimension, b is wing length;
Yawing resolving equation:
ρ: current gas pressure level air density;
V: aircraft horizontal flight speed;
Cnβ: driftage static-stability derivative;
Aileron control cross derivative;
δa: aileron movement angle;
Directional control derivative;
δr: course angle of rudder reflection;
Intersection dynamic derivative;
WithFor the angular velocity in roll of dimension, b is wing length;
Course damping derivative;
WithFor the yaw rate of dimension, b is wing length;
Damping force resolves equation: Dk=CDVk (6)
CD: damped coefficient;
Aircraft can be calculated along body axis system force vector by equation (1)~(6):
Wherein k is that kth resolves the cycle;DkFor flight resistance;mkThe quality of cycle aircraft is resolved for kth;gkFor kth solution
The acceleration of gravity in calculation cycle;
Moment vector can be decomposed along body axis system by calculating aircraft by equation (1)~(6):
WhereinMkA, NkAIt is respectively kth and resolves cycle roll guidance moment, pitch control moment, yaw control moment;Tk
The motor power in cycle is resolved for kth;ly,lzIt is respectively the rotary inertia of y-axis, the rotary inertia of z-axis;Lk,Mk,NkRespectively
For rolling moment, pitching moment, yawing;
2). by [Fkx Fky Fkz]T、[uk νk ωk]T、[φk θk ψk]T、[pk qk rk]TCalculate current state acceleration to divide
Amount;
Component of acceleration resolving equation:
Current state component of acceleration is calculated by equation (9)
3). by [Lk Mk Nk]T、[pk qk rk]TCalculate current state component of angular acceleration;
Component of angular acceleration resolving equation:
Wherein: IxzFor the product of inertia;
Current state component of angular acceleration is calculated by equation (10)
4). by [uk νk ωk]T、Calculate the velocity component [u of NextStatek+1 νk+1 ωk+1]TNext shape
The velocity component resolving equation of state:
Wherein Δ τ is the resolving cycle;
5). by [pk qk rk]T、Calculate the angular velocity component [p of NextStatek+1 qk+1 rk+1]TNext shape
The angular velocity component resolving equation of state:
Wherein Δ τ is the resolving cycle;
6). by [φk θk ψk]T、[pk+1 qk+1 rk+1]TCalculate current state attitude angular rate current state attitude angular rate
Resolving equation:
Current state attitude angular rate can be calculated by equation (13)
7). by[φk θk ψk]TCalculate the attitude angle [φ of NextStatek+1 θk+1 ψk+1]TNextState
Solving of attitude equation:
Wherein Δ τ is the resolving cycle;
8). by [uk+1 νk+1 ωk+1]T、[φk+1 θk+1 ψk+1]TCalculate the location status information change rate position shape of aircraft
State information change rate resolving equation:
Current position state rate of change can be calculated by equation (15)
9). byResolve the next position information [x(k+1)g y(k+1)g
z(k+1)g]TNextState positional information resolving equation:
Equation (1)~(16) are carried out discretization and can write computer program, set up Aviate equation, resolved by Aviate equation
Go out the rate of change of power in aircraft each moment, moment variations rate, attitude angle rate of change, percentage speed variation can be obtained by flight
The status information in each moment of device and positional information.Resolved by state and just achieve dummy vehicle emulation, thus can
To simulate the performance parameter of aircraft.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610487530.2A CN106096194B (en) | 2016-06-28 | 2016-06-28 | rapid modeling design method of fixed-wing aircraft based on pluggable interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610487530.2A CN106096194B (en) | 2016-06-28 | 2016-06-28 | rapid modeling design method of fixed-wing aircraft based on pluggable interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106096194A true CN106096194A (en) | 2016-11-09 |
CN106096194B CN106096194B (en) | 2019-12-17 |
Family
ID=57214498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610487530.2A Active CN106096194B (en) | 2016-06-28 | 2016-06-28 | rapid modeling design method of fixed-wing aircraft based on pluggable interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106096194B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106682361A (en) * | 2017-01-13 | 2017-05-17 | 沈阳航空航天大学 | System and method for simulating flight tracks of unmanned aerial vehicles on basis of GPS (global positioning system) simulation |
CN107944201A (en) * | 2018-01-04 | 2018-04-20 | 北京航空航天大学 | A kind of fast modeling method of Fixed Wing AirVehicle |
CN109063256A (en) * | 2017-06-30 | 2018-12-21 | 北京航空航天大学 | It is a kind of for assessing the airplane digital virtual flight simulation computing system of passenger plane airworthiness |
CN110471313A (en) * | 2019-08-26 | 2019-11-19 | 中仿智能科技(上海)股份有限公司 | A kind of flight simulation subsystem of simulated flight device |
CN111197970A (en) * | 2020-02-28 | 2020-05-26 | 成都飞机工业(集团)有限责任公司 | Engine interface digital measurement method |
CN111444682A (en) * | 2020-05-06 | 2020-07-24 | 南京大学 | Method for converting system dynamics model into XM L file |
CN113255116A (en) * | 2021-05-11 | 2021-08-13 | 四川知周科技有限责任公司 | Splitting parallel simulation method for modeling of aircraft electromechanical system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105243173A (en) * | 2015-08-25 | 2016-01-13 | 中国民航科学技术研究院 | Computer virtual environment simulation and check system for performance based navigation flight program |
-
2016
- 2016-06-28 CN CN201610487530.2A patent/CN106096194B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105243173A (en) * | 2015-08-25 | 2016-01-13 | 中国民航科学技术研究院 | Computer virtual environment simulation and check system for performance based navigation flight program |
Non-Patent Citations (3)
Title |
---|
宋晓龙 等: "基于XML的飞行动力学模型设计与实现", 《电子设计工程》 * |
王冠宇: "面向对象的飞行仿真动力学建模技术研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
肖振 等: "基于XML的飞行器虚拟样机总体设计", 《系统仿真学报》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106682361A (en) * | 2017-01-13 | 2017-05-17 | 沈阳航空航天大学 | System and method for simulating flight tracks of unmanned aerial vehicles on basis of GPS (global positioning system) simulation |
CN109063256A (en) * | 2017-06-30 | 2018-12-21 | 北京航空航天大学 | It is a kind of for assessing the airplane digital virtual flight simulation computing system of passenger plane airworthiness |
CN109063256B (en) * | 2017-06-30 | 2020-05-08 | 北京航空航天大学 | Airplane digital virtual flight simulation computing system for evaluating airworthiness of passenger plane |
CN107944201A (en) * | 2018-01-04 | 2018-04-20 | 北京航空航天大学 | A kind of fast modeling method of Fixed Wing AirVehicle |
CN107944201B (en) * | 2018-01-04 | 2020-05-29 | 北京航空航天大学 | Rapid modeling method of fixed-wing aircraft |
CN110471313A (en) * | 2019-08-26 | 2019-11-19 | 中仿智能科技(上海)股份有限公司 | A kind of flight simulation subsystem of simulated flight device |
CN110471313B (en) * | 2019-08-26 | 2022-07-22 | 中仿智能科技(上海)股份有限公司 | Flight simulation subsystem of simulation aircraft |
CN111197970A (en) * | 2020-02-28 | 2020-05-26 | 成都飞机工业(集团)有限责任公司 | Engine interface digital measurement method |
CN111444682A (en) * | 2020-05-06 | 2020-07-24 | 南京大学 | Method for converting system dynamics model into XM L file |
CN113255116A (en) * | 2021-05-11 | 2021-08-13 | 四川知周科技有限责任公司 | Splitting parallel simulation method for modeling of aircraft electromechanical system |
Also Published As
Publication number | Publication date |
---|---|
CN106096194B (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106096194A (en) | Fixed Wing AirVehicle rapid modeling method for designing based on plug type interface | |
Forsythe et al. | Coupled flight simulator and CFD calculations of ship airwake using kestrel | |
CN108090302B (en) | Helicopter flight mechanics simulation method and system | |
Buning et al. | CFD approaches for simulation of wing-body stage separation | |
CN108920811B (en) | Simulation method and system for helicopter flight simulation | |
CN106707790A (en) | Unmanned aerial vehicle nonlinear mathematical model building method | |
Grauer et al. | System identification of flexible aircraft: lessons learned from the X-56A Phase 1 flight tests | |
CN106446466B (en) | Quadrotor rapid modeling design method based on editable configuration parameter interface | |
Kapeel et al. | Physical Modeling, Simulation and Validation of Small Fixed-Wing UAV | |
Cobar et al. | The Facility for Aerospace Systems and Technology Simulation: FASTSim-An Open Source Configurable Software in the Loop Simulation Environment | |
Vélez et al. | Modeling, simulation and rapid prototyping of an unmanned mini-helicopter | |
CN102890734A (en) | Method for building flight icing reduced-order model in flight simulator | |
Pedro et al. | Online aerodynamic parameter estimation of a miniature unmanned helicopter using radial basis function neural networks | |
CN106919050B (en) | Multi-rotor unmanned aerial vehicle high speed open loop acts adaptive learning method | |
Zuniga et al. | Vehicle design of a sharp CTV concept using a virtual flight rapid integration test environment | |
Camargo et al. | A computational tool for unsteady aerodynamic flow simulations coupled with rigid body dynamics and control | |
Spieck et al. | Multibody simulation of the free-flying elastic aircraft | |
Bowman et al. | Simulation tool for analyzing complex shape-changing mechanisms in aircraft | |
Sikström | Flight simulator integration in test rig | |
Hall et al. | Lateral control and observation of a micro aerial vehicle | |
Twigg et al. | Use of real time simulation in a laboratory course | |
Cereceda et al. | JSBSim Open-Source Flight Dynamics Model for Fixed-Wing Unmanned Aerial Vehicle Applications | |
CN103902753A (en) | Method for building flight freezing reduced-order model in flight simulator | |
Melin | Using internet interactions in developing vortex lattice software for conceptual design | |
Moczulski et al. | Low-Cost Flight Simulator with Possibility of Modeling of Flight Controls Failures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |