[go: up one dir, main page]

CN106885568B - Unmanned aerial vehicle data processing method and device - Google Patents

Unmanned aerial vehicle data processing method and device Download PDF

Info

Publication number
CN106885568B
CN106885568B CN201710092453.5A CN201710092453A CN106885568B CN 106885568 B CN106885568 B CN 106885568B CN 201710092453 A CN201710092453 A CN 201710092453A CN 106885568 B CN106885568 B CN 106885568B
Authority
CN
China
Prior art keywords
state
unmanned aerial
aerial vehicle
transition matrix
state transition
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
CN201710092453.5A
Other languages
Chinese (zh)
Other versions
CN106885568A (en
Inventor
吴海超
孙勇
李大鹏
历莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Qianshi Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710092453.5A priority Critical patent/CN106885568B/en
Publication of CN106885568A publication Critical patent/CN106885568A/en
Application granted granted Critical
Publication of CN106885568B publication Critical patent/CN106885568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Gyroscopes (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a method and a device for processing data of an unmanned aerial vehicle, and relates to the technical field of data fusion. The method comprises the following steps: measuring the flight state of the unmanned aerial vehicle in real time by using a plurality of sensors; determining a state equation according to the change process of the flight state of the unmanned aerial vehicle; acquiring a state transition matrix according to a state equation; and performing data fusion on the measured values of the plurality of sensors by adopting the EKF according to the state transition matrix, thereby determining the attitude information of the unmanned aerial vehicle. The method and the device improve the real-time performance and the accuracy of the unmanned aerial vehicle attitude information determination.

Description

Unmanned aerial vehicle data processing method and device
Technical Field
The invention relates to the technical field of data fusion, in particular to a method and a device for processing data of an unmanned aerial vehicle.
Background
In recent years, unmanned aerial vehicles have been widely used in various fields for military use and civilian use. For example, it is more swift to utilize unmanned aerial vehicle to carry out cargo distribution than car distribution, distribution cost greatly reduced moreover. In order to enable the unmanned aerial vehicle to smoothly and stably complete tasks, how to accurately acquire the attitude information of the unmanned aerial vehicle in real time is achieved, so that the unmanned aerial vehicle is controlled at high precision, and the unmanned aerial vehicle control method is a key problem of the unmanned aerial vehicle control technology.
At present, in the prior art, gyroscopes are mostly adopted to determine attitude information of an unmanned aerial vehicle, but most of filtering methods for gyroscope measured values are based on average filtering or sliding filtering, and the filtering technologies have serious output delay and poor real-time performance; in addition, some prior art add other sensors and revise the measured value of gyroscope, but, the drift of zero point of gyroscope measured value is still bigger, leads to the unmanned aerial vehicle attitude information precision of acquireing to seriously reduced unmanned aerial vehicle's control accuracy.
Disclosure of Invention
The inventors of the present invention have found the problems in the prior art described above, and have thus proposed a new technical solution to at least one of the problems.
The invention aims to provide a technical scheme for processing data of an unmanned aerial vehicle, which can improve the real-time performance and the accuracy of the determination of the attitude information of the unmanned aerial vehicle.
According to a first aspect of the invention, a data processing method for an unmanned aerial vehicle is provided, which includes: measuring the flight state of the unmanned aerial vehicle in real time by using a plurality of sensors; determining a state equation according to the change process of the flight state of the unmanned aerial vehicle along with time; acquiring a state transition matrix according to the state equation; and performing data fusion on the measured values of the plurality of sensors by adopting EKF (extended Kalman Filter) according to the state transition matrix, thereby determining the attitude information of the unmanned aerial vehicle.
Optionally, the measuring the flight state of the drone in real time with the plurality of sensors includes: measuring the angular velocity and the acceleration of the unmanned aerial vehicle in real time by utilizing a gyroscope and an accelerometer respectively; and measuring the intensity of the geomagnetic field where the unmanned aerial vehicle is located in real time by using a magnetometer.
Optionally, the determining a state equation according to a time-varying course of the flight state of the drone includes: taking the angular velocity, the angular acceleration and the acceleration of the unmanned aerial vehicle and the geomagnetic field intensity at which the unmanned aerial vehicle is positioned as state variables; and determining the state equation according to the change process of the state variable along with time.
Optionally, the obtaining a state transition matrix according to the state equation includes: and carrying out linearization processing on the state equation, thereby converting an implicit expression containing the state transition matrix into an explicit expression of the state transition matrix, and acquiring the state transition matrix from the explicit expression.
Optionally, the linearizing the state equation, so as to convert an implicit expression including the state transition matrix into an explicit expression of the state transition matrix, and acquiring the state transition matrix from the explicit expression includes: and solving the state variable deviation derivative of the state equation at the position where the state variable is equal to the state variable prior estimation value at the current moment so as to obtain the state transition matrix between the state variable at the current moment and the state variable at the next moment.
Optionally, the performing, according to the state transition matrix, data fusion on the measurement values of the plurality of sensors by using an extended kalman filter EKF, so as to determine the attitude information of the drone includes: and performing data fusion on the measurement values of the gyroscope, the accelerometer and the magnetometer by adopting EKF according to the state transition matrix, thereby determining the attitude information of the unmanned aerial vehicle. The gyroscope measurements may include: the angular velocity is a three-axis component in a machine coordinate system. The accelerometer measurements may include: and the three-axis component of the acceleration under the body coordinate system. The measurements of the magnetometer may include: and the three-axis component of the geomagnetic field intensity under the body coordinate system. The pose information may include: the pitch angle, yaw angle and roll angle of the unmanned aerial vehicle.
Optionally, the value range of the process noise covariance in the EKF data fusion process may be: qω∈[0.00008,0.00012]rad/s、
Figure BDA0001229317380000031
Qa∈[0.0072,0.0108]μ g and Qm∈[0.004,0.006]mG, wherein Qω
Figure BDA0001229317380000032
QaAnd QmThe process noise covariance of the angular velocity, the angular acceleration, the acceleration and the geomagnetic field strength, respectively. The measurement noise covariance range during the EKF data fusion process may be: rω∈[0.00064,0.00096]rad/s、Ra∈[8000,12000]μ g and Rm∈[80,120]mG, wherein Rω、RaAnd RmThe measurement noise covariance of the angular velocity, the acceleration and the geomagnetic field strength, respectively.
According to another aspect of the present invention, there is provided a drone data processing apparatus, including: the flight state measuring unit is used for controlling the plurality of sensors to measure the flight state of the unmanned aerial vehicle in real time; the state transition matrix determining unit is used for determining a state equation according to the change process of the flight state of the unmanned aerial vehicle along with time and acquiring a state transition matrix according to the state equation; and the attitude information determining unit is used for performing data fusion on the measurement values of the plurality of sensors by adopting EKF (extended Kalman filter), so as to determine the attitude information of the unmanned aerial vehicle.
Optionally, the flight state measurement unit includes: the speed measuring subunit is used for controlling the gyroscope and the accelerometer to respectively measure the angular speed and the acceleration of the unmanned aerial vehicle in real time; and the magnetic field measurement subunit is used for controlling the magnetometer to measure the geomagnetic field intensity of the unmanned aerial vehicle in real time.
Optionally, the state transition matrix determining unit includes: the state equation determining subunit is configured to use the angular velocity, the angular acceleration, the acceleration of the unmanned aerial vehicle, and the geomagnetic field intensity where the acceleration is located as state variables, and determine the state equation according to a change process of the state variables with time; and the state transition matrix determining subunit is used for performing linearization processing on the state equation, so that an implicit expression containing the state transition matrix is converted into an explicit expression of the state transition matrix, and the state transition matrix is obtained from the explicit expression.
Optionally, the state transition matrix determining subunit is configured to perform bias derivation on the state variable by the state equation at a position where the state variable is equal to a state variable prior estimation value at a current time, so as to obtain the state transition matrix between the state variable at the current time and the state variable at a next time.
Optionally, the attitude information determining unit is configured to perform data fusion on the measurement values of the gyroscope, the accelerometer, and the magnetometer by using an EKF according to the state transition matrix, so as to determine the attitude information of the drone.
According to yet another aspect of the present invention, there is provided a drone data processing apparatus, including: a memory and a processor coupled to the memory, the processor configured to execute the drone data processing method as previously described based on instructions stored in the memory device.
According to a further aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the drone data processing method as described above.
One advantage of the invention is that EKF is adopted to perform real-time data fusion processing on the measured values of a plurality of sensors, so that the real-time performance of unmanned aerial vehicle attitude information determination is improved, and meanwhile, the measured value of a gyroscope is corrected, so that zero drift is reduced, and the accuracy of unmanned aerial vehicle attitude information determination is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
The invention will be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 shows a flow chart of an embodiment of a drone data processing method according to the present invention.
Fig. 2 shows a flow chart of another embodiment of the drone data processing method according to the present invention.
Fig. 3 is a flow chart illustrating a further embodiment of a drone data processing method according to the present invention.
Fig. 4 shows a block diagram of an embodiment of the drone data processing device according to the invention.
Fig. 5 shows a block diagram of another embodiment of the drone data processing device according to the present invention.
Fig. 6 shows a block diagram of a further embodiment of a drone data processing device according to the invention.
Fig. 7 shows a block diagram of yet another embodiment of the drone data processing device according to the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 shows a flow chart of an embodiment of a drone data processing method according to the present invention.
As shown in fig. 1, step 101, a flight state of a drone is measured in real time using a plurality of sensors. For example, inertial sensors, such as gyroscopes and accelerometers, may be utilized to measure the angular velocity and acceleration of the drone in real time.
And 102, determining a state equation according to the change process of the flight state of the unmanned aerial vehicle along with time. For example, the state equation may be determined as a function of angular velocity and acceleration of the drone as a function of time.
And 103, acquiring a state transition matrix according to the state equation. For example, if the state equation is:
Figure BDA0001229317380000061
wherein,
Figure BDA0001229317380000062
is a priori estimate of the state variable at time k +1, XkFor the value of the state variable at the time k, H is directly extractedkIs a state transition matrix; if the state equation is:
Figure BDA0001229317380000063
the state equation is linearized and then the state transition matrix is extracted.
And step 104, carrying out data fusion on the measured values of the plurality of sensors by adopting EKF (extended Kalman filter), and determining the attitude information of the unmanned aerial vehicle. For example, the measured values of the multiple sensors may be three-axis components of the angular velocity and acceleration of the unmanned aerial vehicle in a body coordinate system, and the estimated value of the state variable at the current moment may be obtained through the EKF and converted into attitude information, where the attitude information may be a pitch angle, a yaw angle, and a roll angle of the unmanned aerial vehicle.
In the embodiment, the EKF is adopted to perform real-time data fusion processing on the measured values of the plurality of sensors, on one hand, only the estimated value at the previous moment is needed to be used for recursive calculation, and an infinite plurality of historical data are not needed, so that the real-time performance of determining the attitude information of the unmanned aerial vehicle is improved; on the other hand, other sensors can correct the measured value of the gyroscope, so that the zero drift of the gyroscope is reduced, and the accuracy of determining the attitude information of the unmanned aerial vehicle is improved.
Fig. 2 shows a flow chart of another embodiment of the drone data processing method according to the present invention.
As shown in fig. 2, in step 201, the angular velocity and the acceleration of the drone are measured in real time using a gyroscope and an accelerometer, respectively.
And step 202, measuring the intensity of the geomagnetic field where the unmanned aerial vehicle is located in real time by using the magnetometer.
In one embodiment, the measurement matrix at time k is determined from the measurements of the gyroscope, accelerometer, and magnetometer as: zk=[Ωmk,Amk,Mmk]TWherein Ω ismkFor the angular velocity of the drone measured at moment k by the gyroscope, an
Figure BDA0001229317380000064
Wherein ω ismxk、ωmykAnd ωmxkRespectively three-axis components of the angular velocity measured value of the unmanned aerial vehicle at the moment k under a body coordinate system; a. themkFor acceleration of the drone measured at time k by the accelerometer, and
Figure BDA0001229317380000065
wherein a ismxk、amykAnd amzkRespectively three-axis components of the acceleration measured value of the unmanned aerial vehicle at the moment k under a coordinate system of the machine body; mmkFor acceleration of the drone measured at time k by the accelerometer, and
Figure BDA0001229317380000066
wherein m ismxk、mmykAnd mmzkAnd three-axis components of the geomagnetic field intensity measured value of the unmanned aerial vehicle at the moment k under the body coordinate system are respectively measured.
And step 203, determining a state equation according to the change process of the angular velocity, the angular acceleration and the geomagnetic field strength along with time. For example, angular velocity, angular acceleration and geomagnetic field strength may be taken as state variables, and the value of the state variable at time k may be expressed as:
Figure BDA0001229317380000071
wherein omegask
Figure BDA0001229317380000072
AskAnd MskAre the values of the state variables of angular velocity, angular acceleration and geomagnetic field strength at time k, respectively, and
Figure BDA0001229317380000073
wherein ω issxk、ωsykAnd ωsxkThree-axis components of the value of the angular speed state variable of the unmanned aerial vehicle at the moment k under the coordinate system of the machine body are respectively;
Figure BDA0001229317380000074
wherein
Figure BDA0001229317380000075
And
Figure BDA0001229317380000076
respectively is a three-axis component of the value of the angular acceleration state variable of the unmanned aerial vehicle at the moment k under the coordinate system of the machine body;
Figure BDA0001229317380000077
wherein a issxk、asykAnd aszkRespectively is a three-axis component of the value of the acceleration state variable of the unmanned aerial vehicle at the moment k under a body coordinate system;
Figure BDA0001229317380000078
wherein m issxk、msykAnd mszkAnd the three-axis components of the value of the geomagnetic field intensity state variable of the unmanned aerial vehicle at the moment k under the body coordinate system are respectively.
From the above functional relationship of the state variables with time, the state equation can be determined as:
Figure BDA0001229317380000079
wherein, Δ t is the update time; n is a radical ofΩk
Figure BDA00012293173800000710
NAkAnd NMkAre respectively provided withThe process noises corresponding to the angular velocity, the angular acceleration, the acceleration and the geomagnetic field intensity are all Gaussian white noises; wkIs an attitude transformation matrix.
And step 204, acquiring a state transition matrix according to the state equation.
In one embodiment, fig. 3 is a flow chart illustrating a further embodiment of a drone data processing method in accordance with the present invention.
As shown in fig. 3, step 304, the state equation is linearized, so as to convert the implicit expression containing the state transition matrix into the explicit expression of the state transition matrix, and the state transition matrix is obtained from the explicit expression.
For example, equation of state
Figure BDA0001229317380000081
In that
Figure BDA0001229317380000082
Is aligned with the state variable XkCalculating a deviation, wherein
Figure BDA0001229317380000083
Obtaining a state transition matrix between the state variable at the current time and the state variable at the next time by using a priori estimation value of the state variable at the current time as follows:
Figure BDA0001229317380000084
wherein,
Figure BDA0001229317380000085
and
Figure BDA0001229317380000086
respectively are the state variable estimated values of the acceleration and the geomagnetic field intensity at the moment k, and I is a unit vector.
And step 205 (step 305), performing data fusion on the measurement values of the gyroscope, the accelerometer and the magnetometer by using EKF (extended Kalman filter), and determining the attitude information of the unmanned aerial vehicle.
In one embodiment, the measurement equation for the EKF may be determined from the above expression of the state variables and measurement matrix as:
Figure BDA0001229317380000087
wherein,ΩAandMrespectively the measurement noise of the gyroscope, accelerometer and magnetometer. The value range of the covariance of the measurement noise can be set as follows in the EKF filtering process: rω∈[0.00064,0.00096]rad/s、Ra∈[8000,12000]μ g and Rm∈[80,120]mG, wherein Rω、RaAnd RmThe covariance of the measurement noise of angular velocity, acceleration and geomagnetic field strength, respectively; process noise NΩk
Figure BDA0001229317380000088
NAkAnd NMkThe value range of the covariance of (a) can be set as: qω∈[0.00008,0.00012]rad/s、
Figure BDA0001229317380000089
Qa∈[0.0072,0.0108]μ g and Qm∈[0.004,0.006]mG, wherein Qω
Figure BDA00012293173800000810
QaAnd QmRespectively, the process noise covariance of angular velocity, angular acceleration, and geomagnetic field strength. After EKF filtering, the estimated value X of the state variable at the k moment can be obtainedkAnd thereby determine pose information of the drone. The attitude information may be the current pitch, roll and yaw angles of the drone or other physical quantities that may characterize the attitude of the drone.
In the above embodiment, the flight state of the unmanned aerial vehicle is linearized, a state transition matrix is obtained, and the measured values of the gyroscope, the accelerometer and the magnetometer are subjected to data fusion through the EKF, so that the measured values of the gyroscope can be corrected by using the accelerometer and the magnetometer, the zero drift of the gyroscope is reduced, the zero offset stability is improved, the high-precision attitude information of the unmanned aerial vehicle is further obtained, and reliable information support is provided for unmanned aerial vehicle control.
Fig. 4 shows a block diagram of an embodiment of the drone data processing device according to the invention.
As shown in fig. 4, the apparatus includes: a flight state measurement unit 41, a state transition matrix determination unit 42, and an attitude information determination unit 43.
The flight state measurement unit 41 controls a plurality of sensors to measure the flight state of the unmanned aerial vehicle in real time. For example, inertial sensors, such as gyroscopes and accelerometers, may be used to measure the flight state, such as angular velocity and acceleration, of the drone.
In one embodiment, fig. 5 shows a block diagram of another embodiment of a drone data processing device according to the present invention.
As shown in fig. 5, the flight state measurement unit 51 includes: a speed measurement subunit 511 and a magnetic field measurement subunit 512. For example, the speed measurement subunit 511 controls the gyroscope and the accelerometer to measure the angular speed and the acceleration of the drone, and the magnetic field measurement subunit 512 controls the magnetometer to measure the geomagnetic field strength. Therefore, real-time measurement values of all sensors at a certain moment of the flight state of the unmanned aerial vehicle can be obtained and used as the basis of the state variable estimation value at the moment.
The state transition matrix determination unit 42 determines a state equation according to a change process of the flight state of the unmanned aerial vehicle with time, and acquires a state transition matrix according to the state equation. For example, according to the functional relationship between the speed of the unmanned aerial vehicle and the time, the conversion relationship between the value of the state variable at the current moment and the value of the state variable at the next moment can be determined, so as to determine the state equation.
The attitude information determination unit 43 performs data fusion of the measurement values of the plurality of sensors using the EKF, thereby determining the attitude information of the unmanned aerial vehicle. For example, a matrix of measurements is composed of real-time measurements of a gyroscope, accelerometer and magnetometer, a matrix of state variables is composed of angular velocity, angular acceleration, acceleration and geomagnetic field strength, and a measurement equation is determined from the relationship between the measurement matrix and the matrix of state variables. And determining a real-time estimation value of the state variable through the EKF by combining the state equation and the state transition matrix, and further converting the real-time estimation value into attitude information of the unmanned aerial vehicle.
In the embodiment, the attitude information determination unit performs real-time data fusion processing on the measurement values of the plurality of sensors by using the EKF, so that on one hand, the estimation value at the current moment is only required to be subjected to recursive calculation by using the estimation value at the previous moment, an infinite plurality of historical data are not required, and the real-time performance of determining the attitude information of the unmanned aerial vehicle is improved; on the other hand, other sensors can correct the measured value of the gyroscope, so that the zero drift of the gyroscope is reduced, and the accuracy of determining the attitude information of the unmanned aerial vehicle is improved.
Fig. 6 shows a block diagram of a further embodiment of a drone data processing device according to the invention.
As shown in fig. 6, the apparatus includes: a flight state measurement unit 51, a state transition matrix determination unit 62, and an attitude information determination unit 43. Wherein the flight state measurement unit 51 includes: a speed measurement subunit 511 and a magnetic field measurement subunit 512; the state transition matrix determination unit 62 includes: a state equation determination subunit 621 and a state transition matrix determination subunit 622. The functions of the flight state measuring unit 51 and the attitude information determination unit 43 may refer to the corresponding descriptions of the above embodiments, and are not described herein again for the sake of brevity.
The state equation determining subunit 621 uses the angular velocity, the angular acceleration, the acceleration of the unmanned aerial vehicle, and the geomagnetic field intensity where the unmanned aerial vehicle is located as state variables, and determines the state equation according to the change process of the state variables. For example, with the angular velocity, the angular acceleration, the acceleration and the geomagnetic field intensity of the unmanned aerial vehicle as state variables, according to the functional relationship between the velocity of the unmanned aerial vehicle, the geomagnetic field intensity and the time, the conversion relationship between the value of the state variable at the current moment and the value of the state variable at the next moment can be determined, so as to determine the state equation.
The state transition matrix determination subunit 622 performs linearization processing on the state equation, thereby converting an implicit expression containing the state transition matrix into an explicit expression of the state transition matrix, and acquiring the state transition matrix from the explicit expression.
In one embodiment, the state transition matrix determining subunit 622 performs partial derivation on the state variables of the state equation at a state variable equal to the a-priori estimate of the state variable at the current time, so as to obtain the state transition matrix between the state variable at the current time and the state variable at the next time.
For example, after the state equation determining subunit 621 determines the state variable according to the requirement of acquiring the attitude information of the unmanned aerial vehicle, the state equation is generated according to the time variation process of the state variable, and the state equation is transmitted to the state transition matrix determining subunit 622; then, the state transition matrix determining subunit 622 performs linearization processing on the state equation according to the prior estimation value of the state variable at the current time obtained by the attitude information determining unit 43 in the EKF filtering process, so as to obtain a state transition matrix, and transmits the matrix to the attitude information determining unit 43; finally, the attitude information determination unit 43 performs EKF data fusion according to the state transition matrix provided by the state transition matrix determination subunit 622 and the real-time measurement values of the plurality of sensors provided by the flight state measurement unit 51, so as to obtain the attitude information of the unmanned aerial vehicle.
In the embodiment, the flight state of the unmanned aerial vehicle is linearized to obtain the state transition matrix, and the measured values of the gyroscope, the accelerometer and the magnetometer are subjected to data fusion through the EKF, so that the measured values of the gyroscope can be corrected by using the accelerometer and the magnetometer, the zero drift of the gyroscope is reduced, the zero offset stability is improved, high-precision attitude information of the unmanned aerial vehicle is obtained, and reliable information support is provided for the control of the unmanned aerial vehicle.
Fig. 7 shows a block diagram of yet another embodiment of the drone data processing device according to the present invention.
As shown in fig. 7, the apparatus 70 of this embodiment includes: a memory 701 and a processor 702 coupled to the memory 701, the processor 702 being configured to execute the drone data processing method in any one of the embodiments of the present invention based on instructions stored in the memory 701.
The memory 701 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), a database, and other programs.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
So far, the data processing method and device of the unmanned aerial vehicle according to the invention have been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and system of the present invention may be implemented in a number of ways. For example, the methods and systems of the present invention may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (13)

1. A data processing method for an unmanned aerial vehicle comprises the following steps:
measuring the flight state of the unmanned aerial vehicle in real time by using a plurality of sensors;
determining a state equation according to the change process of the flight state of the unmanned aerial vehicle along with time;
acquiring a state transition matrix according to the state equation;
performing data fusion on the measured values of the plurality of sensors by adopting an Extended Kalman Filter (EKF) according to the state transition matrix, so as to determine the attitude information of the unmanned aerial vehicle;
wherein the obtaining a state transition matrix according to the state equation comprises:
and carrying out linearization processing on the state equation, thereby converting an implicit expression containing the state transition matrix into an explicit expression of the state transition matrix, and acquiring the state transition matrix from the explicit expression.
2. The method of claim 1, wherein the measuring the flight status of the drone in real time with the plurality of sensors comprises:
measuring the angular velocity and the acceleration of the unmanned aerial vehicle in real time by utilizing a gyroscope and an accelerometer respectively;
and measuring the intensity of the geomagnetic field where the unmanned aerial vehicle is located in real time by using a magnetometer.
3. The method of claim 2, wherein the determining a state equation from a time course of the flight state of the drone includes:
taking the angular velocity, the angular acceleration and the acceleration of the unmanned aerial vehicle and the geomagnetic field intensity at which the unmanned aerial vehicle is positioned as state variables;
and determining the state equation according to the change process of the state variable along with time.
4. The method of claim 1, wherein linearizing the state equation to convert an implicit expression comprising the state transition matrix to an explicit expression for the state transition matrix, and obtaining the state transition matrix from the explicit expression comprises:
and solving the state variable partial derivative of the state equation at the position where the state variable is equal to the state variable prior estimation value at the current moment so as to obtain the state transition matrix between the state variable at the current moment and the state variable at the next moment.
5. The method of claim 2, wherein the data fusing the measured values of the plurality of sensors using an Extended Kalman Filter (EKF) according to the state transition matrix to determine the attitude information of the drone comprises:
performing data fusion on the measurement values of the gyroscope, the accelerometer and the magnetometer by adopting EKF according to the state transition matrix so as to determine the attitude information of the unmanned aerial vehicle;
the gyroscope measurements include: the angular velocity is a triaxial component under a body coordinate system;
the accelerometer measurements include: the three-axis component of the acceleration under the body coordinate system;
the measurements of the magnetometer include: the three-axis component of the geomagnetic field intensity under the body coordinate system;
the attitude information includes: the pitch angle, yaw angle and roll angle of the unmanned aerial vehicle.
6. The method of claim 5, wherein:
the value range of the process noise covariance in the EKF data fusion process is as follows: qω∈[0.00008,0.00012]rad/s、
Figure FDA0002508427510000021
Qa∈[0.0072,0.0108]μ g and Qm∈[0.004,0.006]mG wherein Qω
Figure FDA0002508427510000022
QaAnd QmProcess noise covariance of angular velocity, angular acceleration, acceleration and geomagnetic field strength, respectively;
the measurement noise covariance range in the EKF data fusion process is as follows: rω∈[0.00064,0.00096]rad/s、Ra∈[8000,12000]μ g and Rm∈[80,120]mG, wherein Rω、RaAnd RmRespectively, the measurement noise covariance of angular velocity, acceleration and geomagnetic field strength.
7. An unmanned aerial vehicle data processing apparatus comprising:
the flight state measuring unit is used for controlling the plurality of sensors to measure the flight state of the unmanned aerial vehicle in real time;
the state transition matrix determining unit is used for determining a state equation according to the change process of the flight state of the unmanned aerial vehicle along with time and acquiring a state transition matrix according to the state equation;
an attitude information determination unit for performing data fusion on the measurement values of the plurality of sensors using EKF to determine attitude information of the unmanned aerial vehicle,
the state transition matrix determining unit comprises a state transition matrix determining subunit, and is used for performing linearization processing on the state equation, so that an implicit expression containing the state transition matrix is converted into an explicit expression of the state transition matrix, and the state transition matrix is obtained from the explicit expression.
8. The apparatus of claim 7, wherein the flight status measurement unit comprises:
the speed measuring subunit is used for controlling the gyroscope and the accelerometer to respectively measure the angular speed and the acceleration of the unmanned aerial vehicle in real time;
and the magnetic field measurement subunit is used for controlling the magnetometer to measure the geomagnetic field intensity of the unmanned aerial vehicle in real time.
9. The apparatus of claim 8, wherein the state transition matrix determination unit comprises:
and the state equation determining subunit is used for taking the angular velocity, the angular acceleration, the acceleration of the unmanned aerial vehicle and the geomagnetic field intensity where the acceleration is located as state variables, and determining the state equation according to the change process of the state variables along with time.
10. The apparatus of claim 7, wherein,
the state transition matrix determining subunit is configured to solve a bias derivative of the state variable at a position where the state variable is equal to a state variable prior estimated value at a current time in the state equation, so as to obtain the state transition matrix between the state variable at the current time and the state variable at a next time.
11. The apparatus of claim 10, wherein,
and the attitude information determining unit is used for performing data fusion on the measurement values of the gyroscope, the accelerometer and the magnetometer by adopting EKF according to the state transition matrix so as to determine the attitude information of the unmanned aerial vehicle.
12. An unmanned aerial vehicle data processing apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the drone data processing method of any of claims 1-6 based on instructions stored in the memory device.
13. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, implements the drone data processing method of any one of claims 1 to 6.
CN201710092453.5A 2017-02-21 2017-02-21 Unmanned aerial vehicle data processing method and device Active CN106885568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710092453.5A CN106885568B (en) 2017-02-21 2017-02-21 Unmanned aerial vehicle data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710092453.5A CN106885568B (en) 2017-02-21 2017-02-21 Unmanned aerial vehicle data processing method and device

Publications (2)

Publication Number Publication Date
CN106885568A CN106885568A (en) 2017-06-23
CN106885568B true CN106885568B (en) 2020-09-01

Family

ID=59180026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710092453.5A Active CN106885568B (en) 2017-02-21 2017-02-21 Unmanned aerial vehicle data processing method and device

Country Status (1)

Country Link
CN (1) CN106885568B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231028B (en) * 2018-03-05 2021-11-30 北京京东乾石科技有限公司 Aircraft navigation method, device and system
US11035873B2 (en) 2018-04-10 2021-06-15 Blackberry Limited Method and system for moving status detection for a sensor apparatus
CN110887481B (en) * 2019-12-11 2020-07-24 中国空气动力研究与发展中心低速空气动力研究所 Carrier dynamic attitude estimation method based on MEMS inertial sensor
CN113095141A (en) * 2021-03-15 2021-07-09 南通大学 Unmanned aerial vehicle vision learning system based on artificial intelligence
CN112799421B (en) * 2021-03-30 2021-07-02 北京三快在线科技有限公司 Unmanned aerial vehicle control method and device, storage medium and electronic equipment
CN118605207B (en) * 2024-08-08 2024-12-17 济南千里马电子科技有限公司 Intelligent control method and system for hotel guest room environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782391A (en) * 2009-06-22 2010-07-21 北京航空航天大学 Attitude estimation method of maneuvering acceleration-assisted extended Kalman filter (EKF) attitude and heading reference system (AHRS)
CN103414451A (en) * 2013-07-22 2013-11-27 北京理工大学 Extension Kalman filtering method applied to flight vehicle attitude estimation
CN103822633A (en) * 2014-02-11 2014-05-28 哈尔滨工程大学 Low-cost attitude estimation method based on second-order measurement update
CN106052685A (en) * 2016-06-21 2016-10-26 武汉元生创新科技有限公司 Two-stage separation fusion attitude and heading estimation method
CN106403952A (en) * 2016-08-29 2017-02-15 中国人民解放军火箭军工程大学 Method for measuring combined attitudes of Satcom on the move with low cost

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101782391A (en) * 2009-06-22 2010-07-21 北京航空航天大学 Attitude estimation method of maneuvering acceleration-assisted extended Kalman filter (EKF) attitude and heading reference system (AHRS)
CN103414451A (en) * 2013-07-22 2013-11-27 北京理工大学 Extension Kalman filtering method applied to flight vehicle attitude estimation
CN103822633A (en) * 2014-02-11 2014-05-28 哈尔滨工程大学 Low-cost attitude estimation method based on second-order measurement update
CN106052685A (en) * 2016-06-21 2016-10-26 武汉元生创新科技有限公司 Two-stage separation fusion attitude and heading estimation method
CN106403952A (en) * 2016-08-29 2017-02-15 中国人民解放军火箭军工程大学 Method for measuring combined attitudes of Satcom on the move with low cost

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A linear fusion algorithm for attitude determination using low cost MEMS-based sensors;Rong Zhu;《Measurement》;20071231;第40卷(第3期);正文第322-328页,附图1-3 *

Also Published As

Publication number Publication date
CN106885568A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN106885568B (en) Unmanned aerial vehicle data processing method and device
KR102017404B1 (en) How to update the full posture angle of agricultural machinery based on 9 axis MEMS sensor
Hua Attitude estimation for accelerated vehicles using GPS/INS measurements
KR101214143B1 (en) Method and apparatus for detecting position and orientation
CN105953796A (en) Stable motion tracking method and stable motion tracking device based on integration of simple camera and IMU (inertial measurement unit) of smart cellphone
KR102006463B1 (en) Apparatus for Estimating Line of Sight Rate Using Asynchronous Filter
CN110968087A (en) Vehicle control parameter calibration method and device, vehicle-mounted controller and unmanned vehicle
KR100898169B1 (en) Initial alignment method of inertial navigation system
CN107389968B (en) Unmanned aerial vehicle fixed point implementation method and device based on optical flow sensor and acceleration sensor
CN106886222B (en) Control method and device for automated guided vehicle
CN110044385B (en) Rapid transfer alignment method under condition of large misalignment angle
CN109470239B (en) Magnetic field compensation method, related devices and computer program
CN106403952A (en) Method for measuring combined attitudes of Satcom on the move with low cost
KR101432736B1 (en) System for estimating Line Of Sight Rate of Strapdown seeker based on polar coordinate system using similarity
CN107228674A (en) A kind of improved method for star sensor and gyro Federated filter
CN117213480B (en) Transfer alignment method, system, equipment and storage medium
CN108871319B (en) Attitude calculation method based on earth gravity field and earth magnetic field sequential correction
Bodó et al. State estimation for UAVs using sensor fusion
CN118960787B (en) Fault location detection method, device, equipment, storage medium and program product
KR102006464B1 (en) Method for Estimating Line of Sight Rate Using Asynchronous Filter
KR102252825B1 (en) Device for estimating line of sight rate by compensating for time delay of directivity angle and air vehicle including the same
CN109459769B (en) Autonomous positioning method and system
CN115900697B (en) Object motion trail information processing method, electronic equipment and automatic driving vehicle
CN102135431B (en) Method for precision compensation of inertial measurement unit
KR102252826B1 (en) Device for estimating line of sight rate using acceleration of sight angle and air vehicle including the same

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210305

Address after: Room a1905, 19 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Patentee after: Beijing Jingdong Qianshi Technology Co.,Ltd.

Address before: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Patentee before: Beijing Jingbangda Trading Co.,Ltd.

Effective date of registration: 20210305

Address after: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Patentee after: Beijing Jingbangda Trading Co.,Ltd.

Address before: 100195 Beijing Haidian Xingshikou Road 65 West Cedar Creative Garden 4 District 11 Building East 1-4 Floor West 1-4 Floor

Patentee before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd.

Patentee before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd.