CN102955477B - Attitude control system and control method of four-rotor aircraft - Google Patents

Attitude control system and control method of four-rotor aircraft Download PDF

Info

Publication number
CN102955477B
CN102955477B CN201210417209.9A CN201210417209A CN102955477B CN 102955477 B CN102955477 B CN 102955477B CN 201210417209 A CN201210417209 A CN 201210417209A CN 102955477 B CN102955477 B CN 102955477B
Authority
CN
China
Prior art keywords
angle
model
pitch
attitude
crab
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210417209.9A
Other languages
Chinese (zh)
Other versions
CN102955477A (en
Inventor
王伟
马浩
胡凯
翁理国
夏旻
朱海飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing aoyi Flight Control Technology Co. Ltd.
Original Assignee
Nanjing University of Information Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201210417209.9A priority Critical patent/CN102955477B/en
Publication of CN102955477A publication Critical patent/CN102955477A/en
Application granted granted Critical
Publication of CN102955477B publication Critical patent/CN102955477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an attitude control system and a control method of a four-rotor aircraft. Firstly, the information of attitude angles of the current aircraft is obtained, and the attitude angles include a roll angle, a pitch angle and a yaw angle; secondly, controllers for the roll angle, the pitch angle and the yaw angle are respectively designed, wherein the controller for the roll angle is the same as that for the pitch angle; and finally, after obtained control inputs of the three controllers are overlapped, a total driving signal is output, thereby driving a motor to operate, so as to control the attitude of the aircraft. A gyroscope and an accelerometer are combined, and a Kalman filter is designed in accordance with models of the attitude angles of the aircraft, so as to conjecture the attitude angles on line. Additionally, variables of the intermediate state of the system can be obtained, and a certain filtering effect is achieved.

Description

A kind of quadrotor attitude control system and control method
Technical field
The present invention relates to a kind of quadrotor attitude control system, belong to flying vehicles control technical field.
Background technology
As far back as the middle of last century, microminiature multi-rotor aerocraft has been subjected to attracting attention of more overseas research institutions, but multi-rotor aerocraft stock size is less, and load capacity is relatively poor, cannot carry traditional high-precision sensor.Until the beginning of this century, the development of MEMS sensor technology makes the research of microminiature multi-rotor aerocraft be broken through.
Gesture stability is the basis that many rotor flyings control.For completing gesture stability, the attitude information of aircraft first must be obtained.The measuring method at current attitude of flight vehicle angle mainly contains: 1, adopt high-precision gyroscope.Although price is relatively low, there is drift in gyroscope itself, increase in time, the data precision can be very poor.2, adopt accelerometer and magnetometer to revise gyro data, thus suppress sensor drift.The accuracy of the method is relevant with the backoff algorithm of employing, generally has Eulerian angle, hypercomplex number, rotating vector, spreading kalman etc.Business-like attitude measurement system mainly contains the MNAV module of Crossbow company of the U.S. and the MTi of Dutch Xsens company, but their price is all up to tens thousand of Renminbi, has had a strong impact on its range of application.
3, the method for image procossing is adopted.The method is by obtaining attitude information comparatively accurately to the process of image in conjunction with respective algorithms, but image processing data amount is comparatively large, and Data Update frequency is slow, not easily meets the needs of aircraft.In addition, because image procossing generally needs to install image capture device and mark etc., the restriction by environment is comparatively large, cannot extensively adopt.
At present, the method for designing of attitude controller is more, as PID control, modern scientist, fuzzy control etc., and achieves certain control effects.But above control method is mostly higher to the accuracy requirement of model, when model perturbation or when being subject to external interference, its Control platform can obviously decline, and has had a strong impact on the range of application of multi-rotor aerocraft.
Summary of the invention
The object of the present invention is to provide the quadrotor attitude control system that a kind of structure is simple, cost is low; Meanwhile, the present invention also proposes a kind of control method based on this control system.
The technical solution realizing the object of the invention is: a kind of quadrotor attitude control system, comprise DC-DC circuit, 3-axis acceleration device, magnetometer, gyroscope, analog to digital converter and microprocessor, described 3-axis acceleration device, magnetometer, gyroscope are connected with microprocessor by analog to digital converter, and 3-axis acceleration device, magnetometer, gyroscope will detect that simulating signal is sent to microprocessor and carries out processing and controlling after analog to digital conversion.
Prioritization scheme further, in quadrotor attitude control system of the present invention, described gyrostatic quantity is three.
A kind of quadrotor attitude control method, comprises the following steps:
The attitude angle information of step one, acquisition current flight device, described attitude angle comprises roll angle, the angle of pitch and crab angle;
Step 2, design the controller of roll angle, the angle of pitch and crab angle respectively, wherein roll angle is identical with the controller of the angle of pitch;
Step 3, the total drive singal of rear output one is superposed to the controlled quentity controlled variable of three controllers obtained in step 2 thus drive motor work to control attitude of flight vehicle.
Prioritization scheme further, in described quadrotor attitude control method, obtains the attitude angle information of current flight device in step one, specific as follows:
(1-1) set up the attitude angle model of aircraft, comprising roll angle model, angle of pitch model and crab angle model, described roll angle model is identical with angle of pitch model to be:
x . = Ax + Bu = - 1 T 0 0 0 1 0 0 0 0 1 0 0 0 g 0 - K m x 1 x 2 x 3 x 4 + k JT 0 0 0 u y = Cx = 0 1 0 0 0 0 g - 1 x 1 x 2 x 3 x 4
In formula, A is the system matrix of roll angle/angle of pitch model, and B is gating matrix, and C is output matrix, and x is state variable, and y is output variable, represent the derivative J moment of inertia of x, T is a time constant, and k is scale-up factor, and K is coefficient of air resistance, and m is vehicle mass, and g is acceleration of gravity, state variable x 1, x 2, x 3, x 4be respectively angular acceleration, acceleration, angle, sensors observe acceleration, u is control inputs;
Crab angle model is:
x . y = A y x y + B y u y = - T s 1 + T s 2 T s 1 T s 2 - 1 T s 1 T s 2 1 0 y y = C y x y = 0 1 x y 1 x y 2 x y 1 x y 2 + k T s 1 T s 2 s 0 u y
A in formula y, B y, C y, x y, y ybe respectively the system matrix of crab angle model, gating matrix, output matrix, state variable, output variable, for x yderivative.T s1, T s2be respectively the time constant of two approximate inertial elements, k sbe the product of the scale-up factor of two inertial elements, x y1, x y2for yaw rate and angle, u yfor crab angle control inputs;
(1-2) respectively according to the corresponding Kalman filter of the modelling of above-mentioned foundation, estimate the state variable in attitude angle model, the state variable wherein in roll angle model/angle of pitch model comprises attitude angle, angular acceleration, angular velocity and observation acceleration; State variable in crab angle model comprises yaw rate and angle;
A, the Kalman filter set up according to roll angle model/angle of pitch model are:
x . ^ = Ax + Bu + K z ( y - y ^ )
In formula, represent the estimated value of state variable x, y and be respectively the output valve of system and the output valve of estimation, K zfor the kalman gain of roll angle/angle of pitch model;
B, according to crab angle model set up Kalman filter be:
x . ^ y = A y x y + B y u y + K zy ( y y - y ^ y )
In formula, represent state variable x yestimated value, y ywith be respectively the output valve of system and the output valve of estimation, K zyfor the kalman gain of crab angle model;
Prioritization scheme further, in described quadrotor attitude control method, the method designing the controller of roll angle, the angle of pitch and crab angle in step 2 is specially:
(2-1) for roll angle model, angle of pitch model, crab angle model arrange corresponding reference model
Wherein, the reference model of roll angle model, angle of pitch model is as follows:
x . m = A m x m + B m r y m = C m x m
In formula, r is reference input, A m, B m, C mfor the state matrix of reference model, x m, y mfor state variable and the output of reference model;
Crab angle reference model is as follows:
x . my = A my x my + B my r y y my = C my x my
R in formula yfor the reference input of crab angle, A my, B my, C myfor the state matrix of reference model, x my, y myfor state variable and the output of reference model;
(2-2), utilize the deviation of the state variable in the state variable in reference model and attitude of flight vehicle angle model to design sliding mode controller; Wherein, roll angle, pitch controller are:
u=u eq+u nl=u eq+K nlf(σ)
In formula, u is the control inputs that roll angle/pitch controller obtains, u eqfor equivalent inpnt, u nlfor the non-linear input of sliding mode controller, K nlfor switching amplitude, f (σ) is switching function;
Crab angle controller is:
u y=u eqy+u nly=u eqy+K nlyf yy)
U in formula yfor the control inputs that crab angle controller obtains, u eqyfor equivalent inpnt, u nlyfor the non-linear input of sliding mode controller, K nlyfor switching amplitude, f yy) be switching function.
The present invention compared with prior art, its remarkable advantage: 1) the present invention adopts gyroscope in conjunction with accelerometer, and design Kalman filter according to attitude of flight vehicle angle model and infer attitude angle online, the intermediateness variable of system can also be obtained simultaneously, there is certain filter effect;
2) the present invention has the advantage contained much information that cost is low, calculated amount is little, precision is high, obtain;
3) the present invention adopts gyroscope in conjunction with accelerometer, and designs Kalman filter according to attitude of flight vehicle angle model and infer attitude angle online, and calculated amount is less, and system response time is fast.
4) the present invention adopts reference model synovial membrane controller gesture stability algorithm, has stronger robustness, and flying quality is very little by the restriction of environment.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of quadrotor attitude control system of the present invention;
Fig. 2 is the system block diagram between roll angle/angle of pitch to the acceleration recorded;
Fig. 3 is the Kalman filter block scheme of roll angle/angle of pitch;
Fig. 4 is the controlling party block diagram of the synovial membrane controller of roll angle/angle of pitch;
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
As shown in Figure 1, a kind of quadrotor attitude control system, comprise DC-DC circuit 1,3-axis acceleration device 3, magnetometer 4, gyroscope 2, analog to digital converter 5 and microprocessor 6, described 3-axis acceleration device, magnetometer, gyroscope are connected with microprocessor by analog to digital converter, and 3-axis acceleration device, magnetometer, gyroscope will detect that simulating signal is sent to microprocessor and carries out processing and controlling after analog to digital conversion.
1, DC-DC circuit: DC-DC circuit is the power transfer module of DC-to-DC, effect is DC voltage direct supply being converted into needs.This example selects voltage stabilizing chip LM2575, and its maximum input voltage is 45v, and maximum output current can reach 1A, and output voltage 3.3v, 5v, 12v, 15v are adjustable, and voltage stabilizing error is within 4%.According to actual needs, the voltage stabilizing adopting two panels LM2575 to obtain 3.3v and 5v exports.
2. gyroscope: gyro used is a complete function of ADI company, angular rate sensor with low cost (gyroscope), for measured angular speed, this gyroscope survey scope reaches ± 300 °/s, antijamming capability is strong, there is temperature correction function, drift error is little, can meet the flight control performance demand of multi-rotor aerocraft.Utilize resistance on external capacitor and sheet to form a low-pass filter for limiting ADXRS610 rate response bandwidth, bandwidth is set to 361Hz.
3. 3-axis acceleration device: acceleration is MAV attitude measurement and the important state amount analyzing MAV flying quality, the ADXL335 of selection can with the full range acceleration measurement of ± 3g.Suitable bandwidth is selected by the electric capacity on regulation output pin.The X-axis of accelerometer adopted and the bandwidth range of Y-axis are 0.5Hz to 1600Hz, and the bandwidth range of Z axis is 0.5Hz to 550Hz.In order to reduce noise, degree of will speed up sensor bandwidth is set as 50HZ, namely uses 0.1uf filter capacitor.
4. magnetometer: selecting first magnetometer of TM MAG3110, is a small-sized low-power consumption, digital 3 axle magnetometers, has broad dynamic range, can run in the printed circuit board (PCB) (PCB) of external magnetic field.MAG3110 comprises the I2C serial line interface of standard, can measure the magnetic field, position up to 10 Gausses, and output data rate (ODR) can reach 80Hz.Corresponding output data rate can adjust in the sampling interval from 12ms to several seconds.
5. analog to digital converter: analog to digital converter employs the MCP3204 of 12 bit resolutions, band SPI serial line interface, when supply voltage is 5V; Maximum sampling rate can reach 100Ksps.In order to strengthen the wind loading rating of miniature MAVS, need to improve the sampling rate of ADC, the attitude measurement system of design is by with the rate-adaptive pacemaker data of 400HZ.Signal is with analog-and digital-(RS-232) two kinds of formatted outputs.Simulating signal comprises three axis accelerometer voltage, three axis magnetometer voltage, accelerometer voltage.Digital output comprises tri-axis angular rate; Rolling, pitching, crab angle.Leave GPS input interface, ADC input pin leaves expansion interface, conveniently increases corresponding sensor according to actual needs.
6. microprocessor: adopt microprocessor to process sensing data, infer and attitude angle and carry out gesture stability, controlled frequency is 400Hz.Select the AT91sam7 had compared with high performance-price ratio, it is Atmel32 position ARM risc processor, and with the high speed Flash of 256k, processing speed can meet the needs of attitude supposition and gesture stability.
A control method for quadrotor attitude control system, comprises the following steps:
The attitude angle information of step one, acquisition current flight device, described attitude angle comprises roll angle, the angle of pitch and crab angle, is specially:
(1-1) the attitude angle model of aircraft is set up, comprising roll angle model, the angle of pitch
Model and crab angle model
A, set up roll angle model, angle of pitch model
By theory deduction and approximate linearization process, the relation between the attitude angle of aircraft and torque can approximate representation be:
τ = J φ . . - - - ( 1 )
In formula, τ is the torque that aircraft obtains, J moment of inertia, and φ is attitude angle.
Now suppose that the steering order signal of aircraft is first order inertial loop to the torque obtained, then can obtain the model of steering order signal to attitude angle.
G uφ = φ ( s ) u ( s ) = k ( 1 + Ts ) s 2 - - - ( 2 )
G in formula u φrepresent the transport function of control inputs signal u to attitude angle φ, k is scale-up factor, and T is a time constant.
For suppressing the attitude angle φ presumption error produced by the drift of single gyro data, this patent proposes to introduce accelerometer and compensates, and then utilizes Kalman filter to infer attitude angle online.For this reason, first we will will speed up data read and introduce dummy vehicle.
The observation acceleration a of accelerometer mcomprise dynamic acceleration a dwith quiet acceleration, g is acceleration of gravity, and φ is attitude angle, and its relation can be provided by following formula.
a m=g φ+a d (3)
Consider air resistance, and resistance coefficient is directly proportional to speed, then have:
ma d=mgφ-K∫a ddt (4)
In formula, K is coefficient of air resistance.
Laplace transform is done to above formula, obtains the transport function of attitude angle to dynamic acceleration:
G φa d = a d ( s ) φ ( s ) = mg K s m K s + 1 - - - ( 5 )
Thus the system block diagram obtained between roll angle/angle of pitch to the acceleration recorded, as shown in Figure 2, Angular Velocity is input angular velocity, and Roll is the attitude angle obtained, and g is acceleration of gravity, and Acc is quiet acceleration, a dfor dynamic acceleration, a mfor sensors observe acceleration.
According to formula (2) (3) (5), select angular velocity and acceleration to export as system, then can obtain the model of quadrotor roll angle or the angle of pitch:
x . = Ax + Bu = - 1 T 0 0 0 1 0 0 0 0 1 0 0 0 g 0 - K m x 1 x 2 x 3 x 4 + k JT 0 0 0 u y = Cx = 0 1 0 0 0 0 g - 1 x 1 x 2 x 3 x 4 - - - ( 6 )
In formula, A is the system matrix of roll angle model, and B is gating matrix, and C is output matrix, and x is state variable, and y is output variable, for the derivative of x, J moment of inertia, T is a time constant, and K is coefficient of air resistance, and k is scale-up factor, and m is vehicle mass, and g is acceleration of gravity, state variable x 1, x 2, x 3, x 4be respectively angular acceleration, acceleration, angle, sensors observe acceleration, u is control inputs;
B, set up crab angle model
Suppose that in crab angle model, control inputs is the superposition of two first order inertial loops to crab angle, then can obtain the second-order model of crab angle.
x . y = A y x y + B y u y = - T s 1 + T s 2 T s 1 T s 2 - 1 T s 1 T s 2 1 0 y y = C y x y = 0 1 x y 1 x y 2 x y 1 x y 2 + k T s 1 T s 2 s 0 u y
A in formula y, B y, C y, x y, y ybe respectively the system matrix of crab angle model, gating matrix, output matrix, state variable, output variable, for x yderivative.T s1, T s2be respectively the time constant of two approximate inertial elements, k sbe the product of the scale-up factor of two inertial elements, x y1, x y2for yaw rate and angle, u yfor crab angle control inputs;
(1-2), respectively according to the corresponding Kalman filter of the modelling of above-mentioned foundation, estimate the state variable in attitude angle model, the state variable wherein in roll angle model/angle of pitch model comprises attitude angle, angular acceleration, angular velocity and observation acceleration; State variable in crab angle model comprises yaw rate and angle;
A, according to roll angle model, angle of pitch model set up Kalman filter be expressed as
x . ^ = Ax + Bu + K z ( y - y ^ ) - - - ( 7 )
In formula represent the estimated value of state variable x, A, B are system matrix and the input matrix of system state equation in formula (6), y and be respectively the output valve of system and the output valve of estimation, K zfor kalman gain, can be expressed as
K z=PC TR -1 (8)
In formula, C is formula (6) system state equation output matrix, and P is the solution of algebraic Riccati equation
AP+PA T+BQB T-PC TRCP=0 (9)
In Riccati equation, matrix Q, R are respectively the variance of system output (gyroscope and accelerometer data) and control input end noise, represent the degree of confidence of parameters.Relatively accurate attitude angle information then can be obtained by the weighting coefficient adjusting matrix.Kalman filter has certain filter effect simultaneously, can eliminate the sensor noise of high frequency, improve the accuracy of the attitude angle of supposition.As shown in Figure 3, y is the angular velocity that obtains of sensor and acceleration information, and u is the output controlled quentity controlled variable of controller, and A, B, C are the attitude of flight vehicle angle model that formula (6) represents, Kz is the kalman gain that formula (8) obtains, then can obtain the estimation of the state variable of system
B, according to crab angle model set up Kalman filter be:
x . ^ y = A y x y + B y u y + K zy ( y y - y ^ y )
In formula, represent state variable x yestimated value, y ywith be respectively the output valve of system and the output valve of estimation, K zyfor the kalman gain of crab angle model; The design of the Kalman filter of crab angle model is identical with roll angle method, just kalman gain K zyto solve be weighting matrices Q according to crab angle model and its correspondence y, R yobtain.
Step 2, design the controller of roll angle, the angle of pitch and crab angle respectively, wherein roll angle is identical with the controller of the angle of pitch;
(2-1) for roll angle model, angle of pitch model, crab angle model arrange corresponding reference model
The reference model of A, roll angle model, angle of pitch model is as follows:
x . m = A m x m + B m r y m = C m x m
In formula, r is reference input, A m, B m, C mfor the state matrix of reference model, x m, y mfor state variable and the output of reference model;
Make C m=C, e=x m-x, then the deviation differential expressions of backfeed loop can be expressed as:
e . = A m e + ( A - A m ) x + Bu - B m r - - - ( 11 )
U is control inputs, supposes that this reference model meets following condition:
A m-A=BK 1,B m=BK 2 (12)
Then formula (10) can be expressed as:
e . = A m e - B ( K 1 x + K 2 r - u ) - - - ( 13 )
Introduce the generalized inverse matrix B of B +, obtain K by formula (11) 1expression formula
K 1=B +(A m-A) (14)
For enabling the output tracking target value r of reference model, the straight-through gain of adjustment System is needed to be 1.When time approximates infinity, the state variable convergence of system is stablized, namely
A mx m+ B mr=0, so
x m=-A m -1B mr (15)
Bring y into m
y m=-C mA m -1B mr=-C mA m -1BK 2r (16)
Thus can K be obtained 2value
K 2 = ( - C m A m - 1 B ) - 1 - - - ( 17 )
Then B mcan be obtained by following formula
B m = BK 2 = B ( - C m A m - 1 B ) - 1 - - - ( 18 )
A mvalue by emulation experiment regulate obtain.
B, crab angle reference model are as follows:
x . my = A my x my + B my r y y my = C my x my
R in formula yfor the reference input of crab angle, A my, B my, C myfor the state matrix of reference model, x my, y myfor state variable and the output of reference model; The method for solving of crab angle model and the method for solving of roll angle/angle of pitch similar, only roll angle in the solution procedure/matrix A of angle of pitch model, B, C need be replaced with A y, B y, C ya can be obtained my, B my, C my.
(2-2), utilize the deviation of the state variable in the state variable in reference model and attitude of flight vehicle angle model to design sliding mode controller;
To disturb to external world due to sliding mode controller (SMC) and modeling error has good robustness, therefore adopt the tracking that sliding mode controller design method realizes reference model state variable.Be the accurate tracking of realize target value in SMC controls, introducing integral element is to improve the tracking performance of system, and we introduce a new state variable ε for this reason yfor output bias e yintegration, namely
ϵ . y = y - y m - - - ( 19 )
The bias system then expanded is
e . s = e . ϵ . y = A m 0 C m 0 e ϵ y + B 0 u s = A e e s + B s u s - - - ( 20 )
U in formula s=-(K 1x+K 2r-u)
Definition switching function σ ∈ R is
σ=Se s (21)
σ . = S A s e s - SB s ( K 1 x + K 2 r - u ) - - - ( 22 )
When system arrives desirable sliding mode its equivalent inpnt u eqcan be obtained by formula (23)
To u eq=-(SB s) -1sA se s+ K 1x+K 2r (23)
By u eqbring formula (19) into obtain
e . s = { I - B s ( S B s ) - 1 S } A s e s - - - ( 24 )
System has stable zero point can be obtained fom the above equation.
For selecting diverter surface, introducing method for optimally controlling, namely selecting Optimal Feedback gain F to be diverter surface S.In formula, P is the solution of Riccati equation, and S meets SB s>0.
F = S = B s T P - - - ( 25 )
PA s + A s T P - PB s B s T P + Q = 0 - - - ( 26 )
The non-linear input of SMC
u nl=K nlf(σ) (27)
K in formula Chinese style nlfor switching amplitude, f (σ) is switching function, usually selection function sign, but sign function can produce very large shake in actual applications, affects Control platform.We adopt a smooth function
f ( σ ) = σ | σ | + δ - - - ( 28 )
In formula, δ is smooth function weight.
Roll angle, pitch controller are expressed as:
u=u eq+u nl=u eq+K nlf(σ)
In formula, u is the controlled quentity controlled variable that controller obtains, u eqfor equivalent inpnt, u nlfor the non-linear input of sliding mode controller, K nlfor switching amplitude, f (σ) is switching function;
By selecting suitable δ to make state variable close to nonlinear Control amount corresponding during diverter surface also corresponding reduction, thus effectively inhibit thrashing.As shown in Figure 4, SMC is sliding mode controller, and Kalman is Kalman filter, and Real System is practical flight device.R is reference input, the state variable that Kalman filter is inferred with the difference of the state variable x of reference model, and the output angle y of aircraft and reference model export the state variable of integration as sliding mode controller SMC of angle difference, then export control inputs u, thus complete the gesture stability of aircraft.
Crab angle controller is:
u y=u eqy+u nly=u eqy+K nlyf yy)
U in formula yfor the control inputs that crab angle controller obtains, u eqyfor equivalent inpnt, u nlyfor the non-linear input of sliding mode controller, K nlyfor switching amplitude, f yy) be switching function.
Step 3, the total drive singal of rear output one is superposed to the controlled quentity controlled variable of three controllers obtained in step 2 thus drive motor work to control attitude of flight vehicle.

Claims (1)

1. the control method of a quadrotor attitude control system, this system comprises DC-DC circuit, 3-axis acceleration device, magnetometer, gyroscope, analog to digital converter and microprocessor, described 3-axis acceleration device, magnetometer, gyroscope are connected with microprocessor by analog to digital converter, the simulating signal detected is sent to microprocessor by 3-axis acceleration device, magnetometer, gyroscope after analog to digital conversion carries out processing and controlling, it is characterized in that, comprise the following steps:
The attitude angle information of step one, acquisition current flight device, described attitude angle comprises roll angle, the angle of pitch and crab angle, is specially:
(1-1) set up the attitude angle model of aircraft, comprising roll angle model, angle of pitch model and crab angle model, described roll angle model is identical with angle of pitch model to be:
x · = Ax + Bu = - 1 T 0 0 0 1 0 0 0 0 1 0 0 0 g 0 - K m x 1 x 2 x 3 x 4 + k JT 0 0 0 u y = Cx = 0 1 0 0 0 0 g - 1 x 1 x 2 x 3 x 4
In formula, A is the system matrix of roll angle model, and B is gating matrix, and C is output matrix, and x is state variable, and y is output variable, represent the derivative of x, J moment of inertia, T is a time constant, and K is coefficient of air resistance, and k is scale-up factor, and m is vehicle mass, and g is acceleration of gravity, state variable x 1, x 2, x 3, x 4be respectively angular acceleration, acceleration, angle, sensors observe acceleration, u is control inputs;
Crab angle model is:
x · y = A y x y + B y u y = - T s 1 + T s 2 T s 1 T s 2 - 1 T s 1 T s 2 1 0 x y 1 x y 2 + k s T s 1 T s 2 0 u y y y = C y x y = 0 1 x y 1 x y 2
A in formula y, B y, C y, x y, y ybe respectively the system matrix of crab angle model, gating matrix, output matrix, state variable, output variable, for x yderivative; T s1, T s2be respectively the time constant of two inertial elements, k sbe the product of the gain of two inertial elements, x y1, x y2for yaw rate and angle, u yfor crab angle control inputs;
(1-2) respectively according to the corresponding Kalman filter of the modelling of above-mentioned foundation, estimate the state variable in attitude angle model, the state variable wherein in roll angle model/angle of pitch model comprises attitude angle, angular acceleration, angular velocity and observation acceleration; State variable in crab angle model comprises yaw rate and angle;
A, the Kalman filter set up according to roll angle model/angle of pitch model are:
x · ^ = Ax + Bu + K z ( y - y ^ )
In formula, represent the estimated value of state variable x, y and be respectively the output valve of system and the output valve of estimation, K zfor the kalman gain of roll angle/angle of pitch model;
B, according to crab angle model set up Kalman filter be:
x · ^ y = A y x y + B y u y + K zy ( y y - y ^ y )
In formula, represent state variable x yestimated value, y ywith be respectively the output valve of system and the output valve of estimation, K zyfor the kalman gain of crab angle model;
Step 2, design the controller of roll angle, the angle of pitch and crab angle respectively, wherein roll angle is identical with the controller of the angle of pitch, is specially:
(2-1) be respectively roll angle model, angle of pitch model, crab angle model arrange corresponding reference model
Wherein, the reference model of roll angle model, angle of pitch model is as follows:
x · m = A m x m + B m r y m = C m x m
In formula, r is the reference input of roll angle or the angle of pitch, A m, B m, C mfor the state matrix of reference model, x m, y mfor state variable and the output of reference model;
The reference model of crab angle model is as follows:
x · my = A my x my + B my r y y my = C my x my
R in formula yfor the reference input of crab angle, A my, B my, C myfor the state matrix of reference model, x my, y myfor state variable and the output of reference model;
(2-2), utilize the deviation of the state variable in the state variable in reference model and attitude of flight vehicle angle model to design sliding mode controller;
Wherein, roll angle, pitch controller are:
u=u eq+u nl=u eq+K nlf(σ)
In formula, u is the control inputs that roll angle/pitch controller obtains, u eqfor equivalent inpnt, u nlfor the non-linear input of sliding mode controller, K nlfor switching amplitude, f (σ) is switching function;
Crab angle controller is:
u y=u eqy+u nly=u eqy+K nlyf yy)
U in formula yfor the control inputs that crab angle controller obtains, u eqyfor equivalent inpnt, u nlyfor the non-linear input of sliding mode controller, K nlyfor switching amplitude, f yy) be switching function;
Step 3, the total drive singal of rear output one is superposed to the control inputs of three controllers obtained in step 2 thus drive motor work to control attitude of flight vehicle.
CN201210417209.9A 2012-10-26 2012-10-26 Attitude control system and control method of four-rotor aircraft Active CN102955477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210417209.9A CN102955477B (en) 2012-10-26 2012-10-26 Attitude control system and control method of four-rotor aircraft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210417209.9A CN102955477B (en) 2012-10-26 2012-10-26 Attitude control system and control method of four-rotor aircraft

Publications (2)

Publication Number Publication Date
CN102955477A CN102955477A (en) 2013-03-06
CN102955477B true CN102955477B (en) 2015-01-14

Family

ID=47764398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210417209.9A Active CN102955477B (en) 2012-10-26 2012-10-26 Attitude control system and control method of four-rotor aircraft

Country Status (1)

Country Link
CN (1) CN102955477B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217981A (en) * 2013-04-18 2013-07-24 东南大学 Four-rotor aircraft speed control method based on integral variable structure control
CN103365295B (en) * 2013-06-29 2015-09-30 天津大学 Based on the autonomous hover control system of four rotor unmanned aircrafts and the method for DSP
CN103414451B (en) * 2013-07-22 2015-11-25 北京理工大学 A kind of EKF method being applied to attitude of flight vehicle and estimating
CN103412491B (en) * 2013-08-27 2016-08-10 北京理工大学 A kind of Spacecraft feature axis attitude maneuver index time-varying sliding-mode control
CN104699108B (en) * 2013-12-10 2017-12-19 中国航空工业第六一八研究所 A kind of control distribution method of multi-rotor aerocraft
CN103869817A (en) * 2014-03-03 2014-06-18 东南大学 Vertical take-off and landing control method for quad-tilt-rotor unmanned aerial vehicle
CN104386246A (en) * 2014-10-20 2015-03-04 浙江工业大学 Four-rotor aircraft
CN104460685A (en) * 2014-11-21 2015-03-25 南京信息工程大学 Control system for four-rotor aircraft and control method of control system
CN106032166B (en) 2015-03-12 2018-12-04 优利科技有限公司 Aircraft and its method for turning
CN105136145A (en) * 2015-08-11 2015-12-09 哈尔滨工业大学 Kalman filtering based quadrotor unmanned aerial vehicle attitude data fusion method
CN105138001B (en) * 2015-09-10 2017-08-25 中国人民解放军国防科学技术大学 A kind of quadrotor attitude control method
CN105242679A (en) * 2015-10-22 2016-01-13 电子科技大学 Method for designing control system of four rotor aircraft
CN105739513B (en) * 2016-02-05 2018-06-12 北京航空航天大学 A kind of quadrotor flying robot nonlinear loci tracking control unit and its tracking and controlling method
CN107203220A (en) * 2017-05-27 2017-09-26 上海交通大学 Flapping wing aircraft flight control method and system
CN107561931B (en) * 2017-07-11 2019-12-03 浙江工业大学 A kind of quadrotor nonlinear sliding mode posture control method based on monoexponential function
CN107368089B (en) * 2017-07-11 2019-12-03 浙江工业大学 A kind of quadrotor nonlinear sliding mode posture control method based on double exponential type functions
CN109974031A (en) * 2017-12-27 2019-07-05 中国石油天然气股份有限公司 It is vented igniter and is vented the control method of igniter
CN108181919B (en) * 2018-01-11 2020-11-03 哈尔滨模豆科技有限责任公司 Small-sized transporter attitude control method based on Kalman filtering
CN109189088B (en) * 2018-08-21 2021-10-08 中南林业科技大学 Self-adaptive cruise tracking method, terminal and storage medium for tethered unmanned aerial vehicle
CN109636927B (en) * 2018-11-26 2021-02-12 中国科学院长春光学精密机械与物理研究所 System and method for training and identifying aircraft attitude measurement algorithm
CN109813308A (en) * 2019-03-07 2019-05-28 京东方科技集团股份有限公司 Attitude estimation method, apparatus and computer readable storage medium
CN109976363B (en) * 2019-03-20 2022-08-09 中国科学院深圳先进技术研究院 Unmanned aerial vehicle control method and device, computer equipment and storage medium
CN110017808B (en) * 2019-03-26 2021-08-27 北京理工大学 Method for resolving aircraft attitude by using geomagnetic information and accelerometer
CN113075879B (en) * 2020-01-03 2022-02-01 中国科学院沈阳自动化研究所 Engine control system of tilt rotor unmanned aerial vehicle
CN111723486B (en) * 2020-06-22 2021-05-04 西华大学 Double-sided PCB structure steady-state thermal analysis method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000244A (en) * 2007-01-05 2007-07-18 北京航空航天大学 High integral navigation device combined by MIMU/GPS/micromagnetic compass/barometric altimeter
CN101033973A (en) * 2007-04-10 2007-09-12 南京航空航天大学 Attitude determination method of mini-aircraft inertial integrated navigation system
CN101270993A (en) * 2007-12-12 2008-09-24 北京航空航天大学 Remote high-precision independent combined navigation locating method
CN101726295A (en) * 2008-10-24 2010-06-09 中国科学院自动化研究所 Unscented Kalman filter-based method for tracking inertial pose according to acceleration compensation
CN202854611U (en) * 2012-10-26 2013-04-03 南京信息工程大学 Four-rotor aircraft attitude control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000244A (en) * 2007-01-05 2007-07-18 北京航空航天大学 High integral navigation device combined by MIMU/GPS/micromagnetic compass/barometric altimeter
CN101033973A (en) * 2007-04-10 2007-09-12 南京航空航天大学 Attitude determination method of mini-aircraft inertial integrated navigation system
CN101270993A (en) * 2007-12-12 2008-09-24 北京航空航天大学 Remote high-precision independent combined navigation locating method
CN101726295A (en) * 2008-10-24 2010-06-09 中国科学院自动化研究所 Unscented Kalman filter-based method for tracking inertial pose according to acceleration compensation
CN202854611U (en) * 2012-10-26 2013-04-03 南京信息工程大学 Four-rotor aircraft attitude control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
应用于多旋翼MAVs的姿态测量系统;叶小岭等;《传感技术学报》;20120331;第25卷(第3期);344-348 *

Also Published As

Publication number Publication date
CN102955477A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN102955477B (en) Attitude control system and control method of four-rotor aircraft
CN101709975B (en) Estimation and compensation method for unbalanced moment of aerial remote sensing inertially stabilized platform
CN105353762B (en) The control method of six rotor wing unmanned aerial vehicles based on double remaining attitude transducers
CN104267743B (en) Shipborne camera shooting stabilized platform control method with active disturbance rejection control technology adopted
Derafa et al. Super twisting control algorithm for the attitude tracking of a four rotors UAV
CN202854611U (en) Four-rotor aircraft attitude control system
CN104765272A (en) Four-rotor aircraft control method based on PID neural network (PIDNN) control
CN106249745A (en) The control method of four axle unmanned planes
CN103425146A (en) Inertially stabilized platform disturbance observer design method based on angular acceleration
CN105607640B (en) The Pose Control device of quadrotor
CN102426457A (en) Flight control navigation system of miniature flapping-wing flying vehicle
González et al. Real-time attitude stabilization of a mini-uav quad-rotor using motor speed feedback
CN202939489U (en) Multi-rotor autobalance flight controller
CN108132604A (en) Quadrotor robust attitude control method, apparatus and system based on quaternary number
CN113985740B (en) Stability control method and device based on particle active disturbance rejection
CN111964688B (en) Attitude estimation method combining unmanned aerial vehicle dynamic model and MEMS sensor
Davis et al. Direct sensing of thrust and velocity for a quadrotor rotor array
CN112015192B (en) Self-healing quad-rotor unmanned aerial vehicle anti-interference control method and system
CN113296525A (en) Data-driven nonlinear control method for tilting three-rotor unmanned aerial vehicle
CN106292297B (en) Attitude control method based on PID controller and L1 adaptive controller
Peddle Autonomous flight of a model aircraft
CN105974935B (en) A kind of quadrotor agricultural remote control aircraft and its control method
Mou et al. More detailed disturbance measurement and active disturbance rejection altitude control for a flapping wing robot under internal and external disturbances
Zhan et al. Control system design and experiments of a quadrotor
CN116039977A (en) Variable-structure four-rotor system and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161026

Address after: Qinhuai District of Nanjing city in Jiangsu province is 210006 Road No. 1

Patentee after: Nanjing aoyi Flight Control Technology Co. Ltd.

Address before: Nanjing City, Jiangsu province 210019 Olympic Avenue No. 69

Patentee before: Nanjing University of Information Science and Technology