CN109308074A - A kind of compensation method and system of drone center of unmanned aerial vehicle offset - Google Patents
A kind of compensation method and system of drone center of unmanned aerial vehicle offset Download PDFInfo
- Publication number
- CN109308074A CN109308074A CN201710630420.1A CN201710630420A CN109308074A CN 109308074 A CN109308074 A CN 109308074A CN 201710630420 A CN201710630420 A CN 201710630420A CN 109308074 A CN109308074 A CN 109308074A
- Authority
- CN
- China
- Prior art keywords
- unmanned plane
- angular direction
- torque
- attitude
- angular
- 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
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000005484 gravity Effects 0.000 claims abstract description 16
- 238000005096 rolling process Methods 0.000 claims description 36
- 230000001133 acceleration Effects 0.000 claims description 29
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/08—Control of attitude, i.e. control of roll, pitch, or yaw
- G05D1/0808—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
- G05D1/0816—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability
- G05D1/0825—Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using mathematical models
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Algebra (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention discloses a kind of compensation methodes of drone center of unmanned aerial vehicle offset, comprising: obtains the target control torque of unmanned plane;Obtain the additional moment that the unmanned plane is obtained by centre-of gravity shift;Compensating torque needed for picking out the unmanned plane using least square method of recursion;The additional moment and the compensating torque are added in target control torque and compensate control;Compensated Torque distribution is given to four motors, so that unmanned plane described in four motor drivens reaches targeted attitude.The invention also discloses a kind of compensation systems of drone center of unmanned aerial vehicle offset.The present invention can carry out centre-of gravity shift compensation control to unmanned plane, effectively promote the dynamic property and anti-interference ability of unmanned plane, and then promote the flight experience of user.
Description
Technical field
The present invention relates to compensation methodes and system that air vehicle technique field more particularly to a kind of drone center of unmanned aerial vehicle deviate.
Background technique
In the prior art, the unmanned aerial photography aircraft with holder can all have the geometry of aircraft center of gravity and aircraft body
The inconsistent situation in center, the effect that resulting centre-of gravity shift will lead to control is not ideal enough, especially in a manual mode,
Unmanned plane can obviously drift about toward the direction of centre-of gravity shift, leverage the flight experience of user especially new hand and can operate
Property.Therefore, it is necessary to carry out accurate recognition to it aiming at the problem that drone center of unmanned aerial vehicle offset and compensate control.
Summary of the invention
The present invention aiming at the problems existing in the prior art, provides a kind of compensation method of drone center of unmanned aerial vehicle offset and is
System can carry out centre-of gravity shift compensation control to unmanned plane, effectively promote the dynamic property and anti-interference ability of unmanned plane, in turn
Promote the flight experience of user.
The technical solution that the present invention is proposed with regard to above-mentioned technical problem is as follows:
On the one hand, the present invention provides a kind of compensation method of drone center of unmanned aerial vehicle offset, comprising:
Obtain the target control torque of unmanned plane;
Obtain the additional moment that the unmanned plane is obtained by centre-of gravity shift;
Compensating torque needed for picking out the unmanned plane using least square method of recursion;
The additional moment and the compensating torque are added in target control torque and compensate control;
Compensated Torque distribution is given to four motors, so that unmanned plane described in four motor drivens reaches target appearance
State.
Further, the target control torque for obtaining unmanned plane, specifically includes:
According to the object attitude angle of the unmanned plane and the attitude angle resolved by the unmanned plane current pose, meter
It calculates and obtains attitude error;
Target angular velocity is obtained according to the attitude error, and according to the target angular velocity and by the unmanned plane
The angular speed that current pose resolves calculates and obtains attitude angular velocity error;
The target control torque is obtained according to the attitude angular velocity error.
Further, it is described the unmanned plane is picked out using least square method of recursion needed for compensating torque, it is specific to wrap
It includes:
Resultant couple, rate of pitch, rolling angular acceleration and yaw rate based on pitching angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the pitching angular direction;
Resultant couple, angular velocity in roll, pitching angular acceleration and yaw rate based on rolling angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the rolling angular direction;
Resultant couple, yaw angular acceleration, angular velocity in roll and rate of pitch based on yaw angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the yaw angular direction.
Further, the resultant couple based on pitching angular direction, rate of pitch, rolling angular acceleration and yaw angle speed
Degree, the compensating torque needed for picking out the unmanned plane on the pitching angular direction using the least square method of recursion, tool
Body includes:
Obtain the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor nobody
The resultant couple of machine pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、IzzFor
The rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
If system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)=[ak1,ak2,…,
akn], x=[x1,x2,…,xn]T;
Enable b=Mx,It is distinguished using least square method of recursion
Know the compensating torque needed for the unmanned plane is on the pitching angular direction out
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn ×nIt is unit matrix.
Further, described to give compensated Torque distribution to four motors, so that nothing described in four motor drivens
It is man-machine to reach targeted attitude, it specifically includes:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitching
The compensating torque of angular direction, the compensating torque of the rolling angular direction, the compensating torque for yawing angular direction are distributed to described
Four motors make unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
On the other hand, the present invention provides a kind of compensation system of drone center of unmanned aerial vehicle offset, comprising:
First obtains module, for obtaining the target control torque of unmanned plane;
Second obtains module, the additional moment obtained for obtaining the unmanned plane by centre-of gravity shift;
Module is recognized, for compensating torque needed for picking out the unmanned plane using least square method of recursion;
Compensating module is compensated for the additional moment and the compensating torque to be added in target control torque
Control;And
Distribution module, for giving compensated Torque distribution to four motors, so that nothing described in four motor drivens
It is man-machine to reach targeted attitude.
Further, the first acquisition module specifically includes:
Attitude error computing unit, it is current for the object attitude angle according to the unmanned plane and by the unmanned plane
The attitude angle that attitude algorithm obtains calculates and obtains attitude error;
Attitude angular velocity error calculation unit, for obtaining target angular velocity according to the attitude error, and according to institute
The angular speed stating target angular velocity and being resolved by the unmanned plane current pose calculates and obtains attitude angular velocity error;
And
Acquiring unit, for obtaining the target control torque according to the attitude angular velocity error.
Further, the identification module specifically includes:
First identification unit, for resultant couple, rate of pitch, rolling angular acceleration and yaw based on pitching angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the pitching angular direction using the least square method of recursion
Square;
Second identification unit, for resultant couple, angular velocity in roll, pitching angular acceleration and yaw based on rolling angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the rolling angular direction using the least square method of recursion
Square;And
Third identification unit, for resultant couple, yaw angular acceleration, angular velocity in roll and pitching based on yaw angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the yaw angular direction using the least square method of recursion
Square.
Further, first identification unit specifically includes:
Equation obtains subelement, for obtaining the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor nobody
The resultant couple of machine pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、Izz
For the rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
Subelement is set, for setting system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)
=[ak1,ak2,…,akn], x=[x1,x2,…,xn]T;And
Subelement is recognized, for enabling b=Mx,Using passing
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the pitching angular direction
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn ×nIt is unit matrix.
Further, the distribution module is specifically used for:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitching
The compensating torque of angular direction, the compensating torque of the rolling angular direction, the compensating torque for yawing angular direction are distributed to described
Four motors make unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
Technical solution provided in an embodiment of the present invention has the benefit that
After drone center of unmanned aerial vehicle offset, compensating torque needed for unmanned plane is accurately distinguished using least square method of recursion
Know, and identification obtained compensating torque add back target control torque compensating control, so as to by compensated Torque distribution
To four motors of unmanned plane, unmanned plane is made to reach targeted attitude, to effectively promote the dynamic property of unmanned plane and anti-interference
Ability, and then promote the flight experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow diagram of the compensation method for the drone center of unmanned aerial vehicle offset that the embodiment of the present invention one provides;
Fig. 2 is the compensation principle figure in the compensation method for the drone center of unmanned aerial vehicle offset that the embodiment of the present invention one provides;
Fig. 3 is bowing after addition additional moment in the compensation method for the drone center of unmanned aerial vehicle offset that the embodiment of the present invention one provides
Elevation angle output waveform figure;
Fig. 4 is the pitch angle in the compensation method for the drone center of unmanned aerial vehicle offset that the embodiment of the present invention one provides after compensation control
Output waveform figure;
To the identification waveform diagram of additional moment when Fig. 5 is unmanned plane practical flight in the embodiment of the present invention one;
Fig. 6 is the structural schematic diagram of the compensation system of drone center of unmanned aerial vehicle offset provided by Embodiment 2 of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
The embodiment of the invention provides a kind of compensation methodes of drone center of unmanned aerial vehicle offset, referring to Fig. 1, this method comprises:
S1, the target control torque for obtaining unmanned plane;
S2, the additional moment that the unmanned plane is obtained by centre-of gravity shift is obtained;
S3, the unmanned plane is picked out using least square method of recursion needed for compensating torque;
S4, it the additional moment and the compensating torque is added in target control torque compensates control;
S5, compensated Torque distribution is given to four motors, so that unmanned plane described in four motor drivens reaches mesh
Mark posture.
It should be noted that after drone center of unmanned aerial vehicle offset, obtain unmanned plane by additional moment that centre-of gravity shift obtains with
And the target control torque of unmanned plane, while compensating torque needed for obtaining unmanned plane as least square method of recursion, it then will be attached
Reinforcing square and compensating torque are added in target control torque, compensate control, and then will be compensated by unmanned plane parameter
Torque distribution gives four motors, obtains the revolving speed of four motors, to be resolved according to the revolving speed of four motors and sensing data
Attitude angle information out, so that unmanned plane reaches targeted attitude.
Further, the target control torque for obtaining unmanned plane, specifically includes:
According to the object attitude angle of the unmanned plane and the attitude angle resolved by the unmanned plane current pose, meter
It calculates and obtains attitude error;
Target angular velocity is obtained according to the attitude error, and according to the target angular velocity and by the unmanned plane
The angular speed that current pose resolves calculates and obtains attitude angular velocity error;
The target control torque is obtained according to the attitude angular velocity error.
It should be noted that as shown in Fig. 2, by object attitude angle RtargetThe attitude angle resolved with current pose
Rcurrent, calculate and obtain attitude error.Target angular velocity ω is obtained through PD control device by attitude errord, then with current appearance
The angular velocity omega that state resolves calculates and obtains attitude angular velocity error ωerr.By attitude angular velocity error ωerrThrough PID control
Device obtains target control torque, the additional moment Δ M that then will be obtained by centre-of gravity shift in compensation control modulexWith by minimum two
Multiply the compensating torque that identification obtainsIt is added in target control torque, compensates control.And then by unmanned plane parameter,
Such as weight, rotary inertia, brachium etc., torque is distributed into four motors and obtains the revolving speed of four motors, is finally turned by motor
Speed and quadrotor kinetic model are plus sensing data resolving attitude angle information Rcurrent.Wherein, attitude angle includes
Pitch angle, roll angle and yaw angle.
Further, it is described the unmanned plane is picked out using least square method of recursion needed for compensating torque, it is specific to wrap
It includes:
Resultant couple, rate of pitch, rolling angular acceleration and yaw rate based on pitching angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the pitching angular direction;
Resultant couple, angular velocity in roll, pitching angular acceleration and yaw rate based on rolling angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the rolling angular direction;
Resultant couple, yaw angular acceleration, angular velocity in roll and rate of pitch based on yaw angular direction, are passed using described
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the yaw angular direction.
It, can be from pitching angular direction, rolling angular direction and partially it should be noted that when the torque to unmanned plane compensates
The torque of boat angular direction compensates respectively.
Further, the resultant couple based on pitching angular direction, rate of pitch, rolling angular acceleration and yaw angle speed
Degree, the compensating torque needed for picking out the unmanned plane on the pitching angular direction using the least square method of recursion, tool
Body includes:
Obtain the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor nobody
The resultant couple of machine pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、Izz
For the rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
If system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)=[ak1,ak2,…,
akn], x=[x1,x2,…,xn]T;
Enable b=Mx,It is distinguished using least square method of recursion
Know the compensating torque needed for the unmanned plane is on the pitching angular direction out
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn ×nIt is unit matrix.
It should be noted that the present embodiment for obtaining the compensating torque of pitching angular direction to be illustrated.Unmanned plane
Torque equilibrium equation are as follows:Wherein, Mx, My, MzRespectively unmanned plane x, y, z
The resultant couple in three directions,For the rotary inertia of unmanned plane, p, q, r are angular speed,For corresponding angular acceleration,For since centre-of gravity shift is in three directions of x, y, z
The additional moment of generation.Wherein, coordinate system is defined as: origin takes the mass center in unmanned plane, and coordinate system and body are connected;X-axis with
The longitudinal axis of fuselage design is parallel, and in the symmetrical plane in unmanned plane, is directing forwardly;Y-axis is perpendicular to unmanned plane symmetrical plane
It is directed toward right;Z axis is and downwardly directed perpendicular to X-axis in unmanned plane symmetrical plane.Whole coordinate system meets the eulerian coordinate system right side
Hand rule.
Due to considering unmanned plane under conditions of small angle variation is flown, after approximate processing, with the direction x, i.e. pitch orientation
For, it obtainsWherein,
Ixx、Izz-Iyy、For parameter to be identified, Mx、It (filters to obtain by sensor or control loop is straight for known quantity
Connect output).Least square method of recursion is picked outIt is added in control loop, to additional moment Δ MxIt compensates
Control.Similarly, rolling angular direction can be picked out and yaw the compensating torque of angular direction.
Further, described to give compensated Torque distribution to four motors, so that nothing described in four motor drivens
It is man-machine to reach targeted attitude, it specifically includes:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitching
The compensating torque of angular direction, the compensating torque of the rolling angular direction, the compensating torque for yawing angular direction are distributed to described
Four motors make unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
It should be noted that ideally, the kinetic model of quadrotor drone can be described as: be regarded as
The three-dimensional rigid body of one power and three torque.The approximate power of the quadrotor drone under the conditions of small angle variation is given as follows
Learn model:
Wherein, x, y are respectively the coordinate of horizontal plane;Z is upright position;ψ is the yaw angle around z-axis, and θ is bowing around y-axis
The elevation angle, φ are the roll angle around x-axis;U is the thrust upward from uav bottom;τψ, τθ, τφRespectively yawing, pitching
Torque, rolling moment.
Dynamic model:
Four motors provide lift, and general lift is proportional to square of revolving speed.If not considering air drag, then quadrotor
Model simplification it is as follows:
Wherein, φ, θ, ψ are fuselage respectively around x-axis, y-axis, the angle (counterclockwise) of z-axis rotation;Ix、Iy、IzIt is respectively
Rotary inertia of the fuselage in three directions;JrIt is rotary inertia;L is brachium of the motor to mass centre;M is the quality of fuselage;g
It is acceleration (numerical value 9.81);U1,U2,U3,U4, Ω obtains by following equations:
Ω=Ω2+Ω4-Ω1-Ω3
Wherein, Ω1,Ω2,Ω3,Ω4The revolving speed of respectively four motors, b, d are undetermined coefficient.
Emulation experiment is carried out using the method for the embodiment of the present invention.
The emulation module that unmanned plane is built using MATLAB software, it is 0 that in input terminal, to give pitch angle φ, which be average value,
Square-wave signal first assumes additional moment Δ Mx=0.1, additional moment is added in control loop, the waveform meeting of pitch angle φ
There is an offset, as shown in Figure 3.It, will after adding least square method of recursion identification feedback moduleIdentification result
It compensates in control loop, the situation of change of pitch angle φ is as shown in Figure 4.The result shows that the control of square wave is defeated after identification convergence
Meet preset requirement out.
Least square method of recursion and compensation control are added in the winged control source code based on C++, the identification knot to take off every time
Fruit as shown in Figure 5 (red line mutation indicates unmanned plane take-off and landing), is as a result basically stable near a fixed value.From reality
It has been observed that taking off under manual mode (under no-wind environment) indoors, unmanned plane is substantially vertical to take off flight effect, does not drift about
Phenomenon;It takes off under outdoor (have wind environment under) manual mode, unmanned plane can have certain small range in external disturbance
Drift, but compared with additional moment caused by centre-of gravity shift is not compensated processing, improvement is clearly.
The embodiment of the present invention can be when the part motor of unmanned plane breaks down, according to fault message to four motors
Control distribution information optimizes, and closes the control instruction of four motors linearly with unmanned plane posture to be achieved and height
System, to make unmanned plane reach its posture and height to be achieved according to the control distribution information after optimization, to overcome rapidly
Influence of the failure to unmanned plane guarantees the controllability of posture and height, keeps the stability of UAV Attitude, avoid accident
Occur.
Embodiment two
The embodiment of the invention provides a kind of compensation systems of drone center of unmanned aerial vehicle offset, can be realized above-mentioned drone center of unmanned aerial vehicle
All processes of the compensation method of offset, referring to Fig. 6, the compensation system of the drone center of unmanned aerial vehicle offset includes:
First obtains module 1, for obtaining the target control torque of unmanned plane;
Second obtains module 2, the additional moment obtained for obtaining the unmanned plane by centre-of gravity shift;
Module 3 is recognized, for compensating torque needed for picking out the unmanned plane using least square method of recursion;
Compensating module 4 is mended for the additional moment and the compensating torque to be added in target control torque
Repay control;And
Distribution module 5, for giving compensated Torque distribution to four motors, so that nothing described in four motor drivens
It is man-machine to reach targeted attitude.
Further, the first acquisition module specifically includes:
Attitude error computing unit, it is current for the object attitude angle according to the unmanned plane and by the unmanned plane
The attitude angle that attitude algorithm obtains calculates and obtains attitude error;
Attitude angular velocity error calculation unit, for obtaining target angular velocity according to the attitude error, and according to institute
The angular speed stating target angular velocity and being resolved by the unmanned plane current pose calculates and obtains attitude angular velocity error;
And
Acquiring unit, for obtaining the target control torque according to the attitude angular velocity error.
Further, the identification module specifically includes:
First identification unit, for resultant couple, rate of pitch, rolling angular acceleration and yaw based on pitching angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the pitching angular direction using the least square method of recursion
Square;
Second identification unit, for resultant couple, angular velocity in roll, pitching angular acceleration and yaw based on rolling angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the rolling angular direction using the least square method of recursion
Square;And
Third identification unit, for resultant couple, yaw angular acceleration, angular velocity in roll and pitching based on yaw angular direction
Angular speed, the balancing force needed for picking out the unmanned plane on the yaw angular direction using the least square method of recursion
Square.
Further, first identification unit specifically includes:
Equation obtains subelement, for obtaining the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor unmanned plane
The resultant couple of pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、IzzFor
The rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
Subelement is set, for setting system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)
=[ak1,ak2,…,akn], x=[x1,x2,…,xn]T;And
Subelement is recognized, for enabling b=Mx,Using passing
Push away the compensating torque needed for least squares identification goes out the unmanned plane on the pitching angular direction
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn ×nIt is unit matrix.
Further, the distribution module is specifically used for:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitching
The compensating torque of angular direction, the compensating torque of the rolling angular direction, the compensating torque for yawing angular direction are distributed to described
Four motors make unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
The embodiment of the present invention is after drone center of unmanned aerial vehicle offset, using least square method of recursion to balancing force needed for unmanned plane
Square carries out accurate recognition, and identification obtained compensating torque adds back target control torque compensating control, to compensate
Torque distribution afterwards makes unmanned plane reach targeted attitude to four motors of unmanned plane, to effectively promote the dynamic of unmanned plane
Performance and anti-interference ability, and then promote the flight experience of user.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of compensation method of drone center of unmanned aerial vehicle offset characterized by comprising
Obtain the target control torque of unmanned plane;
Obtain the additional moment that the unmanned plane is obtained by centre-of gravity shift;
Compensating torque needed for picking out the unmanned plane using least square method of recursion;
The additional moment and the compensating torque are added in the target control torque and compensate control;
Compensated Torque distribution is given to four motors, so that unmanned plane described in four motor drivens reaches targeted attitude.
2. the compensation method of drone center of unmanned aerial vehicle offset as described in claim 1, which is characterized in that the mesh for obtaining unmanned plane
Control moment is marked, is specifically included:
It is obtained according to the object attitude angle of the unmanned plane and the attitude angle resolved by the unmanned plane current pose, calculating
Obtain attitude error;
Target angular velocity is obtained according to the attitude error, and current according to the target angular velocity and by the unmanned plane
The angular speed that attitude algorithm obtains calculates and obtains attitude angular velocity error;
The target control torque is obtained according to the attitude angular velocity error.
3. the compensation method of drone center of unmanned aerial vehicle offset as described in claim 1, which is characterized in that described to use recursion minimum two
Compensating torque needed for multiplication picks out the unmanned plane, specifically includes:
Resultant couple, rate of pitch, rolling angular acceleration and yaw rate based on pitching angular direction, most using the recursion
Small square law picks out unmanned plane compensating torque required on the pitching angular direction;
Resultant couple, angular velocity in roll, pitching angular acceleration and yaw rate based on rolling angular direction, most using the recursion
Small square law picks out unmanned plane compensating torque required on the rolling angular direction;
Resultant couple, yaw angular acceleration, angular velocity in roll and rate of pitch based on yaw angular direction, most using the recursion
Small square law picks out unmanned plane compensating torque required on the yaw angular direction.
4. the compensation method of drone center of unmanned aerial vehicle offset as claimed in claim 3, which is characterized in that described to be based on pitching angular direction
Resultant couple, rate of pitch, rolling angular acceleration and yaw rate, picked out using the least square method of recursion described
Unmanned plane compensating torque required on the pitching angular direction, specifically includes:
Obtain the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor unmanned plane
The resultant couple of pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、IzzFor
The rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
If system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)=[ak1,ak2,…,akn], x=
[x1,x2,…,xn]T;
Enable b=Mx,It is picked out using least square method of recursion
Unmanned plane compensating torque required on the pitching angular direction
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn×nIt is
Unit matrix.
5. the compensation method of drone center of unmanned aerial vehicle offset as claimed in claim 3, which is characterized in that described by compensated torque
Four motors are distributed to, so that unmanned plane described in four motor drivens reaches targeted attitude, are specifically included:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitch angle side
To compensating torque, the rolling angular direction compensating torque, it is described yaw angular direction compensating torque distribute to described four
Motor makes unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
6. a kind of compensation system of drone center of unmanned aerial vehicle offset characterized by comprising
First obtains module, for obtaining the target control torque of unmanned plane;
Second obtains module, the additional moment obtained for obtaining the unmanned plane by centre-of gravity shift;
Module is recognized, for compensating torque needed for picking out the unmanned plane using least square method of recursion;
Compensating module compensates control for the additional moment and the compensating torque to be added in target control torque
System;And
Distribution module, for giving compensated Torque distribution to four motors, so that unmanned plane described in four motor drivens
Reach targeted attitude.
7. the compensation system of drone center of unmanned aerial vehicle offset as claimed in claim 6, which is characterized in that described first obtains module tool
Body includes:
Attitude error computing unit, for the object attitude angle according to the unmanned plane and by the unmanned plane current pose
Obtained attitude angle is resolved, calculates and obtains attitude error;
Attitude angular velocity error calculation unit, for obtaining target angular velocity according to the attitude error, and according to the mesh
Mark angular speed and the angular speed resolved by the unmanned plane current pose, calculate and obtain attitude angular velocity error;And
Acquiring unit, for obtaining the target control torque according to the attitude angular velocity error.
8. the compensation system of drone center of unmanned aerial vehicle offset as claimed in claim 6, which is characterized in that the identification module is specifically wrapped
It includes:
First identification unit, for resultant couple, rate of pitch, rolling angular acceleration and yaw angle speed based on pitching angular direction
Degree, the compensating torque needed for picking out the unmanned plane on the pitching angular direction using the least square method of recursion;
Second identification unit, for resultant couple, angular velocity in roll, pitching angular acceleration and yaw angle speed based on rolling angular direction
Degree, the compensating torque needed for picking out the unmanned plane on the rolling angular direction using the least square method of recursion;With
And
Third identification unit, for resultant couple, yaw angular acceleration, angular velocity in roll and pitch angle speed based on yaw angular direction
Degree, the compensating torque needed for picking out the unmanned plane on the yaw angular direction using the least square method of recursion.
9. the compensation system of drone center of unmanned aerial vehicle offset as claimed in claim 8, which is characterized in that the first identification unit tool
Body includes:
Equation obtains subelement, for obtaining the torque equilibrium equation of unmanned plane pitching angular directionWherein, MxFor unmanned plane
The resultant couple of pitching angular direction,For rolling angular acceleration,For rate of pitch,For yaw rate, Ixx、Iyy、IzzFor
The rotary inertia of unmanned plane,For the compensating torque of pitching angular direction;
Subelement is set, for setting system of linear equations Ax=b, then A (k :) x=bk, wherein k=1,2 ... n, A (k :)=
[ak1,ak2,…,akn], x=[x1,x2,…,xn]T;And
Subelement is recognized, for enabling b=Mx,Most using recursion
Small square law picks out unmanned plane compensating torque required on the pitching angular direction
The least square method of recursion are as follows:
xk+1=xk+Qk[bk-A(k,:)xk], k=1,2 ..., n;
Pk+1=[I-QkA(k,:)]Pk;
Wherein, initial weight vector x is randomly generated0=rand (n, 1), if P0=α I ∈ Rn×n, α=106~1010, I ∈ Rn×nIt is
Unit matrix.
10. the compensation system of drone center of unmanned aerial vehicle offset as claimed in claim 8, which is characterized in that the distribution module is specific
For:
Weight, rotary inertia and motor based on the unmanned plane to mass centre brachium, successively by the pitch angle side
To compensating torque, the rolling angular direction compensating torque, it is described yaw angular direction compensating torque distribute to described four
Motor makes unmanned plane described in four motor drivens reach targeted attitude to adjust the revolving speed of four motors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710630420.1A CN109308074B (en) | 2017-07-28 | 2017-07-28 | Compensation method and system for gravity center offset of unmanned aerial vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710630420.1A CN109308074B (en) | 2017-07-28 | 2017-07-28 | Compensation method and system for gravity center offset of unmanned aerial vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109308074A true CN109308074A (en) | 2019-02-05 |
CN109308074B CN109308074B (en) | 2021-10-08 |
Family
ID=65205114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710630420.1A Active CN109308074B (en) | 2017-07-28 | 2017-07-28 | Compensation method and system for gravity center offset of unmanned aerial vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109308074B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427043A (en) * | 2019-09-04 | 2019-11-08 | 福州大学 | Pose Control device design method based on operation flying robot's centre-of gravity shift |
WO2020181531A1 (en) * | 2019-03-13 | 2020-09-17 | 深圳市大疆创新科技有限公司 | Gimbal center of gravity trim method, gimbal, and client |
CN111721470A (en) * | 2019-03-19 | 2020-09-29 | 辉达公司 | Force estimation using deep learning |
CN111923047A (en) * | 2020-08-11 | 2020-11-13 | 北京航空航天大学 | Attitude control method for rotor unmanned aerial vehicle with arm aiming at mass center offset and base floating |
CN114063626A (en) * | 2021-09-18 | 2022-02-18 | 航天时代飞鹏有限公司 | Four-rotor freight unmanned aerial vehicle flight attitude control method based on gravity center detection |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090043432A1 (en) * | 2007-06-01 | 2009-02-12 | Airbus France | Method and device for determining the dynamic stability margin of an aircraft |
KR20120137229A (en) * | 2011-06-10 | 2012-12-20 | 삼성전자주식회사 | Balancing control apparatus of robot and method for controlling the same |
CN103885450A (en) * | 2014-03-03 | 2014-06-25 | 天津大学 | Method for nonlinear control over unmanned helicopter posture and verification platform |
CN103913991A (en) * | 2014-04-22 | 2014-07-09 | 西北工业大学 | High-speed axisymmetric aircraft composite control method |
CN105739513A (en) * | 2016-02-05 | 2016-07-06 | 北京航空航天大学 | Quadrotor flying robot non-linear trajectory tracking controller and tracking control method thereof |
CN106354147A (en) * | 2016-10-31 | 2017-01-25 | 上海航天控制技术研究所 | Control system and control method for posture rail coupling under shifting state of big barycenter based on engine pre-swinging |
CN205931245U (en) * | 2016-08-17 | 2017-02-08 | 深圳市大疆创新科技有限公司 | Controlling means of unmanned aerial vehicle and control unmanned aerial vehicle gesture |
CN106647781A (en) * | 2016-10-26 | 2017-05-10 | 广西师范大学 | Neural-fuzzy PID control method of four-rotor aircraft based on repetitive control compensation |
CN106647792A (en) * | 2017-01-25 | 2017-05-10 | 天津大学 | Disturbance rejection control method for unmanned aerial vehicle suspension loading system |
CN106844887A (en) * | 2016-12-29 | 2017-06-13 | 深圳市道通智能航空技术有限公司 | The dynamic modeling method and device of rotor wing unmanned aerial vehicle |
-
2017
- 2017-07-28 CN CN201710630420.1A patent/CN109308074B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090043432A1 (en) * | 2007-06-01 | 2009-02-12 | Airbus France | Method and device for determining the dynamic stability margin of an aircraft |
KR20120137229A (en) * | 2011-06-10 | 2012-12-20 | 삼성전자주식회사 | Balancing control apparatus of robot and method for controlling the same |
CN103885450A (en) * | 2014-03-03 | 2014-06-25 | 天津大学 | Method for nonlinear control over unmanned helicopter posture and verification platform |
CN103913991A (en) * | 2014-04-22 | 2014-07-09 | 西北工业大学 | High-speed axisymmetric aircraft composite control method |
CN105739513A (en) * | 2016-02-05 | 2016-07-06 | 北京航空航天大学 | Quadrotor flying robot non-linear trajectory tracking controller and tracking control method thereof |
CN205931245U (en) * | 2016-08-17 | 2017-02-08 | 深圳市大疆创新科技有限公司 | Controlling means of unmanned aerial vehicle and control unmanned aerial vehicle gesture |
CN106647781A (en) * | 2016-10-26 | 2017-05-10 | 广西师范大学 | Neural-fuzzy PID control method of four-rotor aircraft based on repetitive control compensation |
CN106354147A (en) * | 2016-10-31 | 2017-01-25 | 上海航天控制技术研究所 | Control system and control method for posture rail coupling under shifting state of big barycenter based on engine pre-swinging |
CN106844887A (en) * | 2016-12-29 | 2017-06-13 | 深圳市道通智能航空技术有限公司 | The dynamic modeling method and device of rotor wing unmanned aerial vehicle |
CN106647792A (en) * | 2017-01-25 | 2017-05-10 | 天津大学 | Disturbance rejection control method for unmanned aerial vehicle suspension loading system |
Non-Patent Citations (2)
Title |
---|
万慧等: "基于TD-RLS算法的四旋翼飞行器系统参数辨识", 《飞行力学》 * |
钟杭等: "旋翼飞行机械臂建模及重心动态补偿控制", 《控制理论与控制工程》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020181531A1 (en) * | 2019-03-13 | 2020-09-17 | 深圳市大疆创新科技有限公司 | Gimbal center of gravity trim method, gimbal, and client |
CN111721470A (en) * | 2019-03-19 | 2020-09-29 | 辉达公司 | Force estimation using deep learning |
CN110427043A (en) * | 2019-09-04 | 2019-11-08 | 福州大学 | Pose Control device design method based on operation flying robot's centre-of gravity shift |
CN110427043B (en) * | 2019-09-04 | 2021-09-28 | 福州大学 | Pose controller design method based on gravity center offset of operation flying robot |
CN111923047A (en) * | 2020-08-11 | 2020-11-13 | 北京航空航天大学 | Attitude control method for rotor unmanned aerial vehicle with arm aiming at mass center offset and base floating |
CN114063626A (en) * | 2021-09-18 | 2022-02-18 | 航天时代飞鹏有限公司 | Four-rotor freight unmanned aerial vehicle flight attitude control method based on gravity center detection |
CN114063626B (en) * | 2021-09-18 | 2024-01-09 | 航天时代飞鹏有限公司 | Four-rotor freight unmanned aerial vehicle flight attitude control method based on gravity center detection |
Also Published As
Publication number | Publication date |
---|---|
CN109308074B (en) | 2021-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107368091B (en) | A kind of stabilized flight control method of more rotor unmanned aircrafts based on finite time neurodynamics | |
CN109308074A (en) | A kind of compensation method and system of drone center of unmanned aerial vehicle offset | |
CN107957730A (en) | A kind of unmanned vehicle stabilized flight control method | |
Colorado et al. | Mini-quadrotor attitude control based on Hybrid Backstepping & Frenet-Serret theory | |
García Carrillo et al. | Stabilization and trajectory tracking of a quad-rotor using vision | |
Lozano | Unmanned aerial vehicles: Embedded control | |
Brezoescu et al. | Adaptive trajectory following for a fixed-wing UAV in presence of crosswind | |
CN106844887B (en) | Dynamics modeling method and device for rotor unmanned aerial vehicle | |
CN106155076B (en) | A kind of stabilized flight control method of more rotor unmanned aircrafts | |
Lu et al. | Real-time simulation system for UAV based on Matlab/Simulink | |
CN104765272A (en) | Four-rotor aircraft control method based on PID neural network (PIDNN) control | |
CN106707749B (en) | A kind of control method for bionic flapping-wing flying robot | |
Jithu et al. | Quadrotor modelling and control | |
JP2015024705A (en) | Automatic landing/taking-off control method of small electric helicopter | |
Zhang et al. | The quadrotor dynamic modeling and indoor target tracking control method | |
CN113189875B (en) | Unmanned aerial vehicle robust landing method on mobile platform based on circular features | |
CN106292297B (en) | Attitude control method based on PID controller and L1 adaptive controller | |
CN106802570B (en) | Method and device for tracking position of unmanned helicopter | |
CN111976974A (en) | Flight control method, unmanned aerial vehicle and storage medium | |
CN108475066B (en) | Unmanned aerial vehicle attitude calculation method, flight controller and unmanned aerial vehicle | |
CN109656258A (en) | A kind of small drone flying height and flight attitude decouple stabilized control method | |
CN116149193B (en) | Anti-disturbance control method and system for rotor unmanned aerial vehicle based on vision | |
CN116305772A (en) | Multi-rotor air speed calculation method, equipment and computer readable storage medium | |
CN112462798B (en) | Unmanned aerial vehicle and method for improving flight performance of unmanned aerial vehicle | |
Kuantama et al. | Quadcopter attitude and thrust simulation based on Simulink platform |
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 |