Error suppression method and device for angle measurement, equipment and storage medium
By constructing a joint probability distribution function and factor graph model, and using the least squares method to solve the true values of azimuth and pitch angles for error suppression, the problem that the soft calibration method requires precise reference point positions is solved, and effective suppression of angle measurement errors is achieved.
Patent Information
- Application Number
- CN202410610073.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
AI Technical Summary
The existing soft calibration method requires a reference point with a known precise position as a premise, making it difficult to obtain the precise position of the reference point, which limits the use of the method.
By obtaining the measured values of azimuth and pitch angles between multiple sets of fixed reference point positions and the position of the mission drone, a joint probability distribution function and factor graph model are constructed, and the least squares method is used to solve the error suppression azimuth and pitch angles. True value, taking into account deterministic errors for compensation.
It effectively reduces the overall error of the measurement quantity, avoids endless calibration of the equipment, and does not require particularly precise reference point positions, solving the problem of limited use of the soft calibration method.
Smart Images

Figure CN118533200A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of unmanned aerial vehicles, and in particular relates to an angle measurement error suppression method, device, equipment and storage medium. Background Art
[0002] With the development of science and technology, drones are increasingly used in the military field. In the process of using drones to attack targets, obtaining the specific location of the target is a key link.
[0003] Angle measurement error is the main source of target positioning error. The size of the angle measurement error determines the Cramer-Rao lower bound of target positioning, that is, the optimal solution of the final positioning error. Therefore, it is necessary to reduce the errors of each measurement quantity in the target positioning process to further reduce the target positioning error.
[0004] There are two main existing deterministic error calibration methods. The given reference method has the problem of high cost. The soft calibration method requires a reference point with a known precise position as a prerequisite. This method has the problem that the precise position of the reference point is difficult to obtain, so the use of the method is limited. Summary of the invention
[0005] In order to solve the problem that the existing soft calibration method requires a reference point with a known precise position as a premise, and the precise position of the reference point is difficult to obtain, which limits the use of the soft calibration method, the present invention provides an angle measurement error suppression method, device, equipment and storage medium.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] A method for suppressing an error in angle measurement comprises the following steps:
[0008] Obtaining the measured values of azimuth and pitch angles between multiple sets of fixed reference point positions and the mission UAV positions;
[0009] Assuming that there is a deterministic error, the true value calculation formula of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system is constructed according to the conversion relationship between the true value and the measured value of the azimuth and pitch angle;
[0010] A joint probability distribution function is constructed based on the true value calculation formula of azimuth and pitch angle, the position and attitude of the mission UAV, the position of the fixed reference point, and the measurement quantities related to the calculation of the true value of azimuth and pitch angle;
[0011] Constructing a corresponding factor graph model through the joint probability distribution function, and constructing an objective function of the least squares method through the factor graph model;
[0012] The objective function of the least square method is solved to obtain an optimal solution, and the optimal solution is the true value of the azimuth angle and the pitch angle for error suppression.
[0013] Furthermore, the step of constructing a true value calculation formula of the azimuth and pitch angle from a fixed reference point to the UAV in the geodetic coordinate system according to the conversion relationship between the true value and the measured value of the azimuth and pitch angle includes:
[0014] Let the unit vector of the mission UAV in the real coordinate system be n = (0,0,1), then the coordinates of the vector n in the error-free space coordinate system are:
[0015]
[0016] Among them, α′ and β′ are the measured values of azimuth and elevation angles respectively;
[0017] In the case of deterministic errors, that is, the unit vector n makes a three-dimensional rotation in the air with angles of Δφ, Δγ, and Δψ, then the true coordinates of the vector n in the spatial coordinate system with deterministic errors are:
[0018]
[0019]
[0020] Where U is the rotation matrix;
[0021] The true value calculation formula of the azimuth and pitch angle from the reference point to the UAV in the geodetic coordinate system is:
[0022]
[0023] Furthermore, the measurement quantities include measurement quantities of the UAV GPS system, measurement quantities of the UAV's inertial navigation system, and measurement quantities of the UAV's onboard infrared camera.
[0024] Furthermore, the step of constructing a corresponding factor graph model through the joint probability distribution function, and constructing an objective function of the least squares method through the factor graph model includes:
[0025] The maximum posterior probability of the joint probability distribution function is decomposed into:
[0026]
[0027] Among them, X is a vector containing the real position and angle of the drone at each moment, L represents the position of the cooperative reference point calculated by the drone by combining its own information with the measurement information, Y represents the displacement and attitude change obtained by the drone's IMU inertial navigation system at each moment, which is used to correct x; Z represents the measurement obtained by the drone's GPS positioning at each moment, which is also used to estimate the value of X; M is the azimuth and pitch angle of the cooperative target relative to the drone measured by the drone, which contains errors and is used to estimate the angle error;
[0028] Assuming that the transformation and measurement models in the factor graph obey Gaussian distribution, the relevant formula of the transformation model is:
[0029] x i =f i (x i-1 ,y i ,z i )+ω i
[0030]
[0031] Among them, f i (·) is the state transition model of the UAV, ω i is the normally distributed zero-mean process noise, Q i is the covariance matrix, ∝ is the proportional sign;
[0032] The relevant formula of the measurement model is:
[0033] m i =h i (x i ,l i )+υ i
[0034]
[0035] Among them, h i (·) is the state transition model of the UAV, υ i is the normally distributed zero-mean process noise, R i is the covariance matrix;
[0036] Under the above assumptions, all the variables X and L can be expressed as The maximum a posteriori estimate is obtained by maximizing the joint probability P(X,L,Y,Z,M):
[0037]
[0038] The maximum a posteriori estimation is converted to nonlinear least squares, and the converted objective function is as follows:
[0039]
[0040] For the prior information P(x0), assuming that x0 is given, for f in the objective function i (·) Linearization processing:
[0041]
[0042] Among them, a i is the measurement prediction error, Yes i (·) at point x i-1 The Jacobian matrix at , the corresponding formula is:
[0043]
[0044] h i The linearization result of (·) is expressed as:
[0045]
[0046] Among them, H and J are h i (·) About x i and l i The Jacobian matrix of Linear expansion at:
[0047]
[0048]
[0049] c i To measure the prediction error, h i The linearization result of (·) and f i (·) Substitute the linearized result into the objective function, then we have:
[0050]
[0051] Among them, G is a 6-dimensional identity matrix;
[0052] By G and a i and Multiply them to eliminate the influence of the covariance matrix. Finally, the objective function is converted into a least squares problem. The corresponding least squares objective function is:
[0053]
[0054] Among them, A is the set of Jacobian matrices related to G, F, J, and H, and b is the set of Jacobian matrices related to a.i and c i The associated measurement residual matrix;
[0055] Solve the least squares objective function and get the optimal solution δ * , δ * This contains the true value of the angle measurement with error suppression.
[0056] Furthermore, when solving and updating δ, the Jacobian matrix A is decomposed into an upper triangular matrix by QR decomposition or Cholesky decomposition.
[0057] An angle measurement error suppression device, comprising:
[0058] A data acquisition module is used to obtain the measured values of azimuth and pitch angles between multiple groups of fixed reference point positions and the mission UAV position;
[0059] The formula building module is used to construct the true value calculation formula of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system based on the conversion relationship between the true value and the measured value of the azimuth and pitch angle, assuming that there is a deterministic error;
[0060] A function construction module is used to construct a joint probability distribution function based on the true value calculation formula of the azimuth and pitch angle, the position and attitude of the mission UAV, the position of the fixed reference point, and the measurement quantities related to the calculation of the true value of the azimuth and pitch angle;
[0061] A model building module, used to build a corresponding factor graph model through the joint probability distribution function, and to build an objective function of the least squares method through the factor graph model;
[0062] The result acquisition module is used to solve the objective function of the least square method to obtain the optimal solution, and the optimal solution is the true value of the azimuth angle and the pitch angle for error suppression.
[0063] A computer device comprises a memory and a processor, wherein the memory stores computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory to implement an angle measurement error suppression method as described in any one of the above items.
[0064] A computer-readable storage medium is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement an angle measurement error suppression method as described in any one of the above items.
[0065] The angle measurement error suppression method provided by the present invention has the following beneficial effects:
[0066] This scheme assumes that there is a deterministic error. According to the conversion relationship between the true value and the measured value of the azimuth and pitch angle, a calculation formula for the true value of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system is constructed. According to the true value calculation formula of the azimuth and pitch angle, the position and attitude of the mission UAV, the position of the fixed reference point and the measurement quantity related to the calculation of the true value of the azimuth and pitch angle, a joint probability distribution function is constructed. Then, the corresponding factor graph model is constructed through the joint probability distribution function, and the objective function of the least squares method is constructed through the factor graph model. The objective function of the least squares method is solved to obtain the optimal solution, and the optimal solution is the true value of the azimuth and pitch angle for error suppression.
[0067] Since the deterministic error is considered in the calculation formula of the true value of the azimuth and pitch angles from the fixed reference point to the UAV in the geodetic coordinate system, the deterministic error is compensated in advance in the true value calculation formula of the azimuth and pitch angles, and the optimal solution is obtained by solving the objective function of the least squares method, so that the overall error of the measured quantity is minimized, and the true value of the azimuth and pitch angle for error suppression is obtained from the optimal solution; compared with the direct compensation algorithm, the factor graph algorithm can obtain a definite error estimation result. The algorithm based on the factor graph in this paper does not require endless calibration of the equipment, and the position of the reference point does not need to be particularly accurate. Therefore, this scheme solves the problem that the existing soft calibration method requires a reference point with a known precise position as a premise. This method has the problem that the precise position of the reference point is not easy to obtain, which limits the use of the soft calibration method. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the embodiment of the present invention and its design scheme, the following briefly introduces the drawings required for this embodiment. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0069] Figure 1 A schematic diagram of a factor graph model of an embodiment of the method of the present invention;
[0070] Figure 2 A schematic diagram of a UAV deterministic error compensation flight route according to an embodiment of the method of the present invention;
[0071] Figure 3 Comparison of simulation results of pitch angle deterministic error in the attitude angle of the UAV in the embodiment of the method of the present invention;
[0072] Figure 4 Comparison of simulation results of the roll angle deterministic error in the attitude angle of the UAV in the embodiment of the method of the present invention;
[0073] Figure 5The following is a comparison of simulation results of the deterministic error of the yaw angle in the attitude angle of the UAV according to the method embodiment of the present invention. DETAILED DESCRIPTION
[0074] In order to enable those skilled in the art to better understand the technical solution of the present invention and implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention.
[0075] Factor graph is a probabilistic graph model based on Bayesian network or Markov random field. As an undirected graph model, it contains two types of nodes: variable nodes and factor nodes. Generally speaking, the variables to be estimated are represented as "variable nodes", the constraints between these variables are represented as "factor nodes", and variable nodes are connected by factor nodes. In the problem of drone target positioning, the position variables and attitude variables of the drone and the position variables of the target are usually used as variable nodes, and the factor nodes are represented as sensor data in the variable system.
[0076] By building a graphical model of the system within a certain time interval, the factor graph can establish the relationship between the measured value and the system state value, and decompose a complex problem into the product of several simple problems. It is a data fusion method based on the theory of posterior estimation, which can calculate the maximum posterior estimate of the joint probability distribution function of all states.
[0077] In the factor graph algorithm, the position of the moving target at each moment is regarded as a landmark, and each landmark corresponds to the position of the drone at each moment. The motion state of the target is tracked by calculating the coordinates of the landmark at each moment.
[0078] The function of the factor graph algorithm is to transform the solution of the maximum a posteriori estimation of the navigation state into the inference of the factor graph.
[0079] Method Embodiment
[0080] The present invention provides an angle measurement error suppression method, which specifically comprises the following steps:
[0081] Step 1: Make the mission UAV fly around any fixed reference point with known GPS coordinates, and obtain multiple sets of angle measurement values α′, β′ of the measured angles between the fixed reference point and the mission UAVs at different positions.
[0082] Step 2: In the presence of deterministic errors, construct the conversion relationship formula between the true values α, β of the azimuth and elevation angles and the measured values α′, β′. The construction process is as follows:
[0083] Let the unit vector in the real coordinate system of the mission drone be n = (0,0,1), then the coordinates of the vector n in the error-free space coordinate system are:
[0084]
[0085] In the case of deterministic errors, the unit vector n makes a three-dimensional rotation in the air with angles of Δφ, Δγ, and Δψ respectively.
[0086]
[0087] Among them, U is the rotation matrix, which is specifically expressed as:
[0088]
[0089] The calculation results of the azimuth and pitch angles from the fixed reference point to the UAV in the geodetic coordinate system are:
[0090]
[0091] Taking the deterministic errors of azimuth and elevation angles as Δφ, Δγ, and Δψ, then equation (3) shows that α and β can be combined into a vector m, which eventually becomes M to participate in subsequent calculations. In the case of vector m, the real unknowns are not α and β, but the rotation matrix U that is transformed together with α′ and β′.
[0092] Step 3: Combine multiple groups of angle measurement values and the measurement quantities related to the angle measurement calculation to build a factor graph model. By solving the factor graph model, the optimal solution is obtained when the overall error of the measurement quantity is minimized. The navigation error of the drone's own attitude angle is obtained from the optimal solution. This error is compensated in the subsequent calculation process, and more accurate azimuth and pitch angle values can be obtained during the mission.
[0093] The position of the fixed target can be expressed as L k ={l1,l2,...l k-1 ,l k}, and its true position is recorded as l0 (because the true position of L remains unchanged and only its calculated position changes, L is drawn as a point l0 instead of a group of points L in the factor graph).
[0094] t i The measurement quantity of the inertial navigation system at time is expressed as y i , then to t k At time , the measurement collected by the inertial navigation system can be expressed as Y k ={y1,y2,...,y k-1 ,y k}; i The measurement quantity of the GPS system at the moment is expressed as zi , then to t k At this moment, the measurements collected by the GPS system are represented as a set: Z k ={z1,z2,...,z k-1 ,z k}; i The measurement quantity of the onboard infrared camera at time is expressed as m i , then to t k At time , the measurement quantity collected by the airborne infrared camera system is expressed as: M k ={m1,m2,...,m k-1 ,m k}; If the system t i The position and attitude of the drone at the moment is x i , then the drone arrives at t k The state at a moment can be represented as a set: X k ={x1,x2,...,x k-1 ,x k}, where the position part can be expressed as x location,i =z i -Δz i , the posture part can be expressed as x attitude,i =ΔU·y attitude,i ,y attitude,i It is the attitude change obtained by the UAV IMU inertial navigation system at each moment, and ΔU is the rotation matrix.
[0095] X is a vector containing the real position and angle of the drone at each moment, and is also one of the values that the factor graph needs to estimate. The error-free real position in x is the position Z value of the drone with error plus an error matrix, and the error-free angle in x is the attitude value Y with error multiplied by a rotation matrix. In this embodiment, it is not a simple error; L represents the position of the cooperative reference point calculated by the drone by combining its own information and measurement information; Y represents the displacement and attitude change obtained by the drone IMU inertial navigation system at each moment, which is used to correct x; Z represents the measurement obtained by the GPS positioning of the drone at each moment, which is also used to estimate the value of X; M is the azimuth and pitch angle of the cooperative target relative to the drone measured by the drone, which is used to estimate the angle error.
[0096] The solution to the optimal estimate of target positioning can be transformed into the maximum a posteriori estimation problem of solving the joint probability distribution function P(X, L, Y, Z, M), as follows: Figure 1 As shown, the corresponding factor graph model is constructed through the joint probability distribution function, so the target positioning problem can be decomposed into through the factor graph model.
[0097] After using the factor graph for estimation, the estimated result is a vector consisting of the error-free UAV position and attitude value and the error-free azimuth and pitch angle of the target relative to the UAV, and the UAV attitude error matrix can be obtained.
[0098] The solution to the optimal estimate of target positioning can be transformed into the maximum a posteriori estimation problem of solving the joint probability distribution function P(X, L, Y, Z, M), as follows: Figure 1 As shown, the corresponding factor graph model is constructed through the joint probability distribution function, so the target positioning problem can be decomposed into:
[0099]
[0100] Again, assume that both the transformation and measurement models follow Gaussian distributions, defined as:
[0101] x i =f i (x i-1 ,y i ,z i )+ω i
[0102]
[0103] Among them, f i (·) is the state transition model of the UAV, ω i is a normally distributed zero-mean process noise with covariance matrix Q i .
[0104] m i =h i (x i ,l i )+υ i
[0105]
[0106] Among them, h i (·) is the state transition model of the UAV, υ i is a normally distributed zero-mean process noise with covariance matrix R i . The above is defined as given a covariance matrix R i The square of the Mahalanobis distance.
[0107] Under the above assumptions, all the variables X and L can be expressed as We obtain the maximum a posteriori estimate by maximizing the joint probability P(X,L,Y,Z,M) in the above equation:
[0108]
[0109] This leads to the following nonlinear least squares problem:
[0110]
[0111] For the prior information P(x0), assume that x0 is given and it is regarded as a constant, thus simplifying the calculation of the problem. Linearize the above formula:
[0112]
[0113] in, Yes i (·) at point x i-1 The Jacobian matrix at is defined as:
[0114]
[0115] a i is the measurement prediction error is the measured value, is the predicted value, since y i , z i Known, the two can be regarded as constants. i The linearization result of (·) is expressed as:
[0116]
[0117] Among them, H and J are h i (·) About x i , l i and the Jacobian matrix of m, and convert it to Linear expansion at:
[0118]
[0119]
[0120] c i To measure the prediction error, l i is the measured value, Predicted value. Substituting the above linearization results, we have:
[0121]
[0122] Among them, G is a 6-dimensional identity matrix.
[0123] Without the covariance matrix, the Mahalanobis distance can be expressed as:
[0124]
[0125] This can be done by adding G and a i and Multiplying together and eliminating the influence of the covariance matrix, we can finally get the following least squares problem:
[0126]
[0127] Among them, δ is a multidimensional vector containing the measured angle between the drone and the fixed target.
[0128] A is the coefficient matrix related to G, F, J, and H, b is the coefficient matrix related to a and c, A is the set of Jacobian matrices, and b is the measurement residual matrix. When solving and updating δ, the Jacobian matrix A can be decomposed by Givens transformation to decompose A into an upper triangular matrix.
[0129] When N=4, the values of A and b are as follows:
[0130] Specific embodiment:
[0132] like Figure 2 In the figure, the blue dot indicates the flight trajectory of the drone, which is 1000 meters above the ground. The drone tries to minimize the impact of the self-positioning error on the true values of the azimuth and pitch angles. It flies from the northeast celestial coordinate (100,200,1000) to (100,100,1000). Two straight lines are taken as the correction path, and 200 points are taken on the straight line for simulation analysis. The red dot indicates the coordinate position of the fixed reference point, and its northeast celestial coordinate is (0,0,0). When the drone is in a static state, the random errors of the azimuth and pitch angle measurements are 8.7e-4rad and 3.5e-4rad, and the deterministic errors are 0.007rad for the pitch angle, 0.005rad for the roll angle, and 0.01rad for the yaw angle.
[0133] The direct compensation algorithm and the compensation algorithm based on factor graph are used to calculate the value of the deterministic error. The final results are compared as follows: Figure 3 , Figure 4 and Figure 5 shown.
[0134] Depend on Figure 3 , Figure 4 and Figure 5It can be seen that directly using the global factor graph algorithm will eventually result in a certain error value, which can be used directly for the next step of calculation. In the simulation process of this embodiment, the actual errors of the pitch angle, roll angle, and yaw angle are 0.007 rad, 0.005 rad, and 0.01 rad, respectively, while the error calculation values of the roll angle and yaw angle obtained by using the global factor graph algorithm are 0.0072 rad, 0.0048 rad, and 0.0097 rad, respectively, which can achieve the effect of angle correction and facilitate subsequent calculations.
[0135] It can be seen that the calculation of the global factor graph can effectively compensate for the deterministic error generated by the sensor during the assembly process. Moreover, compared with the direct compensation algorithm, the factor graph algorithm can obtain a definite error estimation result, which is beneficial to subsequent calculations.
[0136] Device Embodiment
[0137] The present invention provides an angle measurement error suppression device, comprising:
[0138] The data acquisition module is used to obtain the measured values of the azimuth and pitch angles between multiple groups of fixed reference point positions and the mission UAV position.
[0139] The formula construction module is used to construct the true value calculation formula of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system based on the conversion relationship between the true value and the measured value of the azimuth and pitch angle, assuming the existence of deterministic errors.
[0140] The function construction module is used to construct a joint probability distribution function based on the true value calculation formula of the azimuth and pitch angle, the position and attitude of the mission drone, the position of the fixed reference point, and the measurement quantities related to the calculation of the true value of the azimuth and pitch angle.
[0141] The model building module is used to build a corresponding factor graph model through the joint probability distribution function, and to build an objective function of the least squares method through the factor graph model.
[0142] The result acquisition module is used to solve the objective function of the least square method to obtain the optimal solution, and the optimal solution is the true value of the azimuth angle and the pitch angle for error suppression.
[0143] Device Embodiment
[0144] The present invention provides a computer device, including a memory and a processor, wherein the memory stores computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory to implement an angle measurement error suppression method as described above, wherein the method has been described in detail in the method embodiment and will not be repeated here.
[0145] Storage Medium Embodiments
[0146] The present invention provides a computer-readable storage medium, which is used to store computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement an angle measurement error suppression method as described above, wherein the method has been described in detail in the method embodiment and will not be repeated here.
[0147] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0148] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0149] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0151] It should be noted that the above-described specific implementation methods can enable those skilled in the art to more fully understand the invention, but do not limit the invention in any way. Therefore, although the present specification and embodiments have described the invention in detail, those skilled in the art should understand that the invention can still be modified or replaced by equivalents; and all technical solutions and improvements that do not deviate from the spirit and scope of the invention are included in the protection scope of the patent for the invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
Claims
1. A method for suppressing an error in angle measurement, characterized in that: The steps include: Obtaining the measured values of azimuth and pitch angles between multiple sets of fixed reference point positions and the mission UAV positions; Assuming that there is a deterministic error, the true value calculation formula of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system is constructed according to the conversion relationship between the true value and the measured value of the azimuth and pitch angle; A joint probability distribution function is constructed based on the true value calculation formula of azimuth and pitch angle, the position and attitude of the mission UAV, the position of the fixed reference point, and the measurement quantities related to the calculation of the true value of azimuth and pitch angle; Constructing a corresponding factor graph model through the joint probability distribution function, and constructing an objective function of the least squares method through the factor graph model; The objective function of the least square method is solved to obtain an optimal solution, and the optimal solution is the true value of the azimuth angle and the pitch angle for error suppression.
2. The method for suppressing the error of angle measurement according to claim 1, characterized in that: The step of constructing a true value calculation formula of the azimuth and pitch angle from a fixed reference point to the UAV in the geodetic coordinate system according to the conversion relationship between the true value and the measured value of the azimuth and pitch angle comprises: Let the unit vector of the mission UAV in the real coordinate system be n = (0,0,1), then the coordinates of the vector n in the error-free space coordinate system are: Among them, α′ and β′ are the measured values of azimuth and elevation angles respectively; In the case of deterministic errors, that is, the unit vector n makes a three-dimensional rotation in the air with angles of Δφ, Δγ, and Δψ, then the true coordinates of the vector n in the spatial coordinate system with deterministic errors are: Where U is the rotation matrix; Then the true value calculation formula of the azimuth and pitch angle from the reference point to the UAV in the geodetic coordinate system is:
3. The method for suppressing angle measurement errors according to claim 1, characterized in that: The measurement quantities include the measurement quantities of the UAV GPS system, the measurement quantities of the UAV's inertial navigation system, and the measurement quantities of the UAV's onboard infrared camera.
4. The method for suppressing the error of angle measurement according to claim 1, characterized in that: The step of constructing a corresponding factor graph model through the joint probability distribution function and constructing an objective function of the least squares method through the factor graph model comprises: The maximum posterior probability of the joint probability distribution function is decomposed into: Among them, X is a vector containing the real position and angle of the drone at each moment, L represents the position of the cooperative reference point calculated by the drone by combining its own information with the measurement information, Y represents the displacement and attitude change obtained by the drone's IMU inertial navigation system at each moment, which is used to correct x; Z represents the measurement obtained by the drone's GPS positioning at each moment, which is also used to estimate the value of X; M is the azimuth and pitch angle of the cooperative target relative to the drone measured by the drone, which contains errors and is used to estimate the angle error; Assuming that the transformation and measurement models in the factor graph obey Gaussian distribution, the relevant formula of the transformation model is: x i =f i (x i-1 ,y i ,z i )+ω i Among them, f i (·) is the state transition model of the UAV, ω i is the normally distributed zero-mean process noise, Q i is the covariance matrix, ∝ is the proportional sign; The relevant formula of the measurement model is: m i =h i (x i ,l i )+υ i Among them, h i (·) is the state transition model of the UAV, υ i is the normally distributed zero-mean process noise, R i is the covariance matrix; Under the above assumptions, all the variables X and L can be expressed as The maximum a posteriori estimate is obtained by maximizing the joint probability P(X,L,Y,Z,M): The maximum a posteriori estimation is converted to nonlinear least squares, and the converted objective function is as follows: For the prior information P(x0), assuming that x0 is given, for f in the objective function i (·) Linearization processing: Among them, a i is the odometry prediction error, Yes i (·) at point x i-1 The Jacobian matrix at , the corresponding formula is: h i The linearization result of (·) is expressed as: Among them, H and J are h i (·) About x i and l i The Jacobian matrix of Linear expansion at: c i To measure the prediction error, h i The linearization result of (·) and f i (·) Substitute the linearized result into the objective function, then we have: Among them, G is a 6-dimensional identity matrix; By G and a i and Multiply them to eliminate the influence of the covariance matrix. Finally, the objective function is converted into a least squares problem. The corresponding least squares objective function is: Among them, A is the set of Jacobian matrices related to G, F, J, and H, and b is the set of Jacobian matrices related to a. i and c i The associated measurement residual matrix; Solve the least squares objective function and get the optimal solution δ * , δ * This contains the true value of the angle measurement with error suppression.
5. The method for suppressing the error of angle measurement according to claim 4, characterized in that: When solving and updating δ, the Jacobian matrix A is decomposed by Givens transformation to decompose A into an upper triangular matrix.
6. An angle measurement error suppression device, characterized in that: include: A data acquisition module is used to obtain the measured values of azimuth and pitch angles between multiple groups of fixed reference point positions and the mission UAV position; The formula building module is used to construct the true value calculation formula of the azimuth and pitch angle from the fixed reference point to the UAV in the geodetic coordinate system based on the conversion relationship between the true value and the measured value of the azimuth and pitch angle, assuming that there is a deterministic error; A function construction module is used to construct a joint probability distribution function based on the true value calculation formula of the azimuth and pitch angle, the position and attitude of the mission UAV, the position of the fixed reference point, and the measurement quantities related to the calculation of the true value of the azimuth and pitch angle; A model building module, used to build a corresponding factor graph model through the joint probability distribution function, and to build an objective function of the least squares method through the factor graph model; The result acquisition module is used to solve the objective function of the least square method to obtain the optimal solution, and the optimal solution is the true value of the azimuth angle and the pitch angle for error suppression.
7. A computer device comprising a memory and a processor, characterized in that: The memory stores computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory to implement an angle measurement error suppression method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement an angle measurement error suppression method as described in any one of claims 1 to 5.
Citation Information
Cited By
Unmanned aerial vehicle attitude angle error calibration method
CN120489180A
A method for calibrating attitude angle error of a UAV
CN120489180B
