Multi-source sensor unmanned aerial vehicle indoor and outdoor positioning method based on Kalman filtering

Through the iterative volumetric Kalman filter algorithm of the expanded dimension theory and the fusion strategy of multi-source sensors, the problem of low positioning accuracy of UAVs at the intersection of outdoor and indoor areas is solved, and high-precision and high-stability indoor and outdoor navigation are achieved.

CN118583154APending Publication Date: 2024-09-03JIANGSU UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410601615.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

When the drone's positioning method needs to be switched at the intersection of outdoor and indoor locations, the GPS and UWB signals are weak, resulting in low positioning accuracy and sudden changes in navigation speed. The filtering positioning accuracy of the traditional Kalman filter algorithm is insufficient.

Method used

A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering is adopted. Through the iterative volumetric Kalman filter algorithm of the expanded dimension theory, GPS and UWB positioning data are combined to perform iterative operations and set weights for fusion, using the body coordinate system. Unification and real-time correction of positioning information to achieve high-precision positioning.

Benefits of technology

It improves the positioning accuracy and navigation stability of UAVs at indoor and outdoor interfaces, avoids the problem of inaccurate iteration of positioning information, and achieves high-precision and high-stability indoor and outdoor navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583154A
    Figure CN118583154A
Patent Text Reader

Abstract

The invention discloses a multi-source sensor unmanned aerial vehicle indoor and outdoor positioning method based on Kalman filtering, and the method comprises the steps: 1, determining the state vector of an unmanned aerial vehicle, and obtaining the measurement data of a positioning source, and 2, carrying out the iterative volume Kalman filtering algorithm based on a dimension expansion theory according to the speed information and positioning data of the unmanned aerial vehicle under a geodetic coordinate system, performing iterative operation by combining positioning data of GPS positioning and UWB positioning to obtain a positioning result; step 3, according to a positioning result obtained in the step 2, converting GPS coordinates with longitude and latitude as units in the GPS positioning coordinate information into GPS coordinates with meter as a unit; according to the method, different positioning technologies are utilized, an aircraft body coordinate system is established, fusion switching is used, fused information is filtered through an iterative volume Kalman filtering algorithm based on a dimension expansion theory, finally positioning information is obtained, and high-precision and high-stability positioning of the unmanned aerial vehicle is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle positioning, and in particular to a multi-source sensor unmanned aerial vehicle indoor and outdoor positioning method based on Kalman filtering. Background Art

[0002] Drones have been widely used in the fields of agricultural value protection, security monitoring, etc. Indoor and outdoor positioning technology plays an increasingly important role for drones.

[0003] In order to improve the positioning accuracy of drones, GPS positioning technology is often used in outdoor environments, and UWB positioning methods are used to complete positioning in indoor environments. However, there is still a very important problem in the positioning process of drones in operation, that is, when the drone is at the junction of outdoor and indoor, the positioning method needs to switch between GPS positioning and UWB positioning. In the case of weak signals, the positioning accuracy needs to be improved in places where both GPS signals and indoor positioning signals are weak. When switching between two positioning sources, direct switching may cause a sudden change in the navigation speed of the drone, so it is necessary to improve the switching strategy to improve smoothness. Moreover, for the strong nonlinear positioning system of drones, the filtering positioning accuracy of the traditional Kalman filter algorithm needs to be improved. Summary of the invention

[0004] The purpose of the present invention is to provide a multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering to address the deficiencies of the prior art.

[0005] The technical solution of the present invention to solve the above problem is: a multi-source sensor drone indoor and outdoor positioning method based on Kalman filtering, which specifically includes the following steps:

[0006] Step 1: determine the drone state vector and obtain the positioning source measurement data;

[0007] The high-precision positioning information of the UAV is defined as (p, v, q), where p = [xyz]T is the position coordinate of the UAV in the geodetic coordinate system, and v = [v x v y v z ] T is the velocity information of the UAV in the earth coordinate system, and q is the quaternion parameter describing the attitude information of the UAV;

[0008] Considering that there are multiple positioning source data in the indoor and outdoor positioning and navigation process, the drone state model vector is defined as:

[0009]

[0010] In the formula, pe =[x e y e z e ]T is the origin of the drone coordinate system with the take-off point of the drone as the origin. The position coordinates of the drone in the body coordinate system are obtained through the inertial navigation system (SINS) positioning source. e The data obtained by the secondary integration of the accelerometer will be inaccurate due to the influence of temperature, vibration, etc. The long-term accumulation will make the error larger and larger, and it will be corrected by Kalman filtering. b is the UAV speed information obtained by the SINS positioning source; a ,b g denote the bias vectors of the accelerometer and gyroscope respectively;

[0011] To use GPS positioning to obtain the GPS longitude and latitude coordinates of the drone in the geodetic coordinate system; uwb =[x uwb y uwb z uwb ]T is the UWB coordinates of the UAV in the geodetic coordinate system obtained by UWB positioning;

[0012] N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively;

[0013] Step 2: Based on the iterative volumetric Kalman filter algorithm of the extended dimension theory, the velocity information and positioning data of the UAV in the earth coordinate system are combined with the positioning data of GPS positioning and UWB positioning to perform iterative calculations to obtain the positioning results;

[0014] Step 3: According to the positioning result obtained in step 2, the GPS positioning coordinate information in units of longitude and latitude is converted into Convert to meters GPS coordinates.

[0015] Furthermore, the specific method of step 2 is:

[0016] S1, the state x at time k is known k The statistical characteristics of x k is the state vector at time k, is the state estimation vector at time k, P k is the estimated variance matrix at time k, and the volume point and the transfer value of the volume point through the state equation are obtained:

[0017]

[0018]

[0019] In the formula, S k-1 is the estimated variance matrix P k-1 The variance matrix of X j,k-1 represents the volume point vector obtained according to the k-1 time, where the total number of volume points m using the third-order volume principle is twice the dimension n of the state vector; u represents the transfer vector obtained by the nonlinear transfer function equation f(·) of the volume point, and is the transfer vector from the state at time k-1 to the state at time k to be estimated; u k To control the amount;

[0020] The estimated state prediction vector and state estimation variance prediction matrix are:

[0021]

[0022]

[0023] In the formula, Q k-1 represents the estimated noise matrix at time k-1;

[0024] S2, measurement update

[0025] Considering that after each iteration, the measurement noise information is involved in updating the formulas for calculating the measurement covariance matrix and the estimation error variance matrix, the estimation accuracy of the two variance matrices will be inaccurate, which will further lead to the inaccuracy of the next iteration. Therefore, the present invention uses the state estimation prediction With the estimated variance predicted P k|k-1 Expand the dimension so that the measurement noise information is fully involved in the calculation;

[0026] Set the initial value to Where R k To measure the noise matrix, find the i-th iteration volume point after dimension expansion:

[0027]

[0028] In the formula, The weighting function is the basic volume point of the integral of the standard normal distribution density Basic volume point ξ j It is generated in the following way: Let the n-dimensional unit vector be e = [1,0,...,0] T , [l] is used to represent the point set generated by fully permuting the elements of e and changing the signs of the elements, which is called the complete and fully symmetric point set [l] j represents the j-th point in the point set [l];

[0029] by and Iterate for the initial value, the superscript 0 represents the filter initialization value of this iteration; and record the number of iterations i = 1, 2, ..., N max , where N max is the maximum number of iterations, and a volume recursive strategy is established:

[0030]

[0031] In the formula, z k represents the measurement vector at time k, is the measurement prediction vector;

[0032] (1) Calculate the transfer value of the i-th iteration volume point at time k through the measurement equation as follows:

[0033]

[0034] (2) Calculate the measurement prediction, measurement variance matrix and complementary covariance matrix of the i-th iteration at time k:

[0035]

[0036]

[0037]

[0038] (3) Calculate the filter gain, volume point and estimated variance matrix of the i-th iteration at time k:

[0039]

[0040]

[0041]

[0042] (4) Iteration termination condition The state estimation vector of the i-th iteration at time k is calculated by the volume point:

[0043]

[0044] The iteration termination condition is:

[0045] Or i = N max

[0046] In the formula, δ is the set parameter threshold;

[0047] Assuming the number of iterations when the iteration ends is N, the state estimation vector and estimated variance matrix at time k are:

[0048]

[0049] Furthermore, the specific method of step 3 is:

[0050] from arrive In the conversion process, the data of the drone's height on the Z axis is unified, that is, Therefore, it is only necessary to convert the longitude and latitude coordinates of the X-axis and Y-axis into coordinate information in meters; the initial mission starting point of the drone is X0, Y0). When the mission drone receives the first location information (X1, Y1) available from the outdoor positioning system, since the drone takes off from indoors, the positioning depends on the UWB positioning coordinates and SINS positioning coordinates in meters. Therefore, at (X1, Y1), the location information (X'1, Y'1) in meters can also be obtained. (X1, Y1) and (X'1, Y'1) can express the same location, but the units are different.

[0051] In order to unify the coordinates in indoor and outdoor navigation tasks, the absolute position information (X m ,Y m ) is transformed into the distance relative to (X1, Y1) in indoor relative position information units such as meters, as shown in the formula

[0052]

[0053] In the formula, Y1 represents the initial latitude information of GPS, f represents the ellipticity of the sphere, and R e is the major radius of the Earth;

[0054] At this time, according to the main curvature radius R M and the minor curvature radius R N The coordinates of any point outdoors (X m ,Y m ) relative to (X1, Y1) on the XY axis decomposition distance L mx ,L my , L represents (X m ,Y m ) relative to (X1,Y1):

[0055]

[0056] Where, X i ,i=1,2 indicates the longitude provided by GPS, Y i ,i=1,2 indicates the provided latitude, and H is the altitude information fed back by GPS;

[0057] When the drone starts the navigation mission from the indoor area, according to the determination of the different navigation mission areas in the flowchart, the pose information in different indoor and outdoor coordinate systems is unified, and finally the relative pose information of the drone relative to the navigation starting point in meters is displayed. in

[0058]

[0059] Furthermore, in the buffer transition area, the two coordinates of the UAV are fused and switched;

[0060] The formula for fusing the two coordinates of the drone is expressed as:

[0061]

[0062] Where P con Indicates the positioning information after the fusion of GPS and UWB in the switching area; P r is the real positioning position of the UAV, N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively; It represents the fusion allocation coefficient on the three axes XYZ. The subscript 0 indicates that the fused positioning source is GPS and UWB positioning source.

[0063] For three-dimensional positioning, the positioning errors of positioning system A and positioning system B should obey the following distribution:

[0064]

[0065]

[0066] Among them, σ Ax ,σ Ay ,σ Az represents the standard deviation of system A in the X, Y, and Z directions, σ Bx ,σ By ,σ Bz Represents the standard deviation of system B in the X, Y, and Z directions; since the errors of the positioning results on the three axes are independent of each other, the three-dimensional normal distribution can be written as the product of three one-dimensional normal distributions. The total positioning error after fusion is σ Pc It can be expressed as follows;

[0067]

[0068] In the formula, It represents the three positioning errors of system A in the X, Y, and Z axis directions. In practical applications, this value is a pre-assigned appropriate fixed value. Similarly;

[0069] Here we assume that the positioning accuracy of the three axes of system A is higher than that of system B, that is, σ Ac <σ Bc ;

[0070] If the positioning accuracy after fusion is required to be higher than the most accurate one of the original results, σ Pc <σ Ac , then it should satisfy the formula:

[0071]

[0072] Solving the inequality, we can get the weight interval of w:

[0073]

[0074] It can be seen that when the weights assigned to the more accurate system are in the interval When the fusion positioning accuracy is statistically higher than the positioning data accuracy of any system, in practical applications, c The value of can be the median of the interval, and the specific expression is as follows:

[0075]

[0076] According to the high-precision location information obtained during the indoor and outdoor navigation of the drone By selecting appropriate positioning sources in different navigation areas for fusion, the final position information P can be obtained as shown below:

[0077]

[0078] In the formula, The value of w can be derived by the above method;

[0079] The speed information of the drone v = v e , q is the quaternion q parameter obtained by the SINS positioning source.

[0080] The present invention has the beneficial effects:

[0081] The invention provides a multi-source sensor unmanned aerial vehicle indoor and outdoor positioning method based on Kalman filtering. By setting a weight w and limiting a weight interval, two indoor and outdoor coordinates are fused and switched; fused positioning data is fused with speed information, and the fused information is filtered through an iterative volumetric Kalman filtering algorithm based on the dimension expansion theory to finally obtain positioning information, and a body coordinate system is established by using different positioning technologies, and then the fusion switching is used in combination with filtering to achieve high-precision and high-stability positioning of the unmanned aerial vehicle. In places where GPS and UWB signals are poor, the progress positioning is performed through the body coordinate system, and in places where GPS and UWB signals are available, the body coordinates are corrected in real time; when the unmanned aerial vehicle enters indoors from outdoors, the outdoor GPS positioning coordinates can be converted into indoor UWB coordinates through a rotation matrix; the iterative volumetric Kalman filtering algorithm based on the dimension expansion theory expands the dimensions of estimated state prediction and state variance prediction, so that measurement noise information is fully involved in calculation, and the problem of inaccurate next iteration caused by inaccurate estimation precision of the two matrices is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 It is a flow chart of the present invention.

[0083] Figure 2 It is a unified schematic process for indoor and outdoor coordinate transformation. DETAILED DESCRIPTION

[0084] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.

[0085] A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering specifically includes the following steps:

[0086] Step 1: determine the drone state vector and obtain the positioning source measurement data;

[0087] The high-precision positioning information of the UAV is defined as (p, v, q), where P = [xyz] T is the position coordinate of the UAV in the geodetic coordinate system, v = [v x v y v z ] T is the velocity information of the UAV in the earth coordinate system, and q is the quaternion parameter describing the attitude information of the UAV;

[0088] Considering that there are multiple positioning source data in the indoor and outdoor positioning and navigation process, the drone state model vector is defined as:

[0089]

[0090] In the formula, p e =[x e y e z e ] T The take-off point of the UAV is taken as the origin of the UAV coordinate system, and the position coordinates of the UAV in the body coordinate system are obtained through the inertial navigation system (SINS) positioning source. e The data obtained by the secondary integration of the accelerometer will be inaccurate due to the influence of temperature, vibration, etc. The long-term accumulation will make the error larger and larger, and it will be corrected by Kalman filtering. b is the UAV speed information obtained by the SINS positioning source; a ,b g denote the bias vectors of the accelerometer and gyroscope respectively;

[0091] To use GPS positioning to obtain the GPS longitude and latitude coordinates of the drone in the geodetic coordinate system;

[0092] p uwb =[x uwb y uwb z uwb ] T To use UWB positioning to obtain the UWB coordinates of the drone in the geodetic coordinate system;

[0093] N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively.

[0094] When obtaining measurement data, the drone can directly obtain the measurement data of the relevant position coordinates through the GPS and UWB positioning systems, while the positioning measurement data of the SINS system needs to be obtained through calculation. Here, the state vector obtained by the drone through the SINS system is defined as

[0095] x SINS =[p e v e q] T

[0096] Derivative of the state vector with respect to time:

[0097]

[0098] In the formula, a eis the acceleration of the UAV along the three axes in the geodetic coordinate system, ω b is the angular velocity of the UAV in the body coordinate system, is the acceleration along the three axes measured by the accelerometer in the body coordinate system, is the angular velocity measured by the gyroscope in the body coordinate system, n a and n b is the Gaussian white noise with non-zero mean for the accelerometer and gyroscope. is the coordinate system transformation matrix.

[0099]

[0100] In the formula, q x q y q z q w are the four components of the quaternion q.

[0101] And the data sampled at the kth moment is updated to update the state vector:

[0102]

[0103]

[0104]

[0105] In the formula, g e =[0 0 -9.8] T is the gravitational acceleration vector.

[0106] Step 2: Based on the iterative volumetric Kalman filter algorithm of the extended dimension theory, the velocity information and positioning data of the UAV in the earth coordinate system are combined with the positioning data of GPS positioning and UWB positioning to perform iterative calculations to obtain the positioning results, including the following steps:

[0107] S1, the state x at time k is known k The statistical characteristics of x k is the state vector at time k, is the state estimation vector at time k, P k is the estimated variance matrix at time k, and the volume point and the transfer value of the volume point through the state equation are obtained:

[0108]

[0109]

[0110] In the formula, S k-1 is the estimated variance matrix P k-1 The variance matrix of X j,k-1 represents the volume point vector obtained according to the k-1 time, where the total number of volume points m using the third-order volume principle is twice the dimension n of the state vector; u represents the transfer vector obtained by the nonlinear transfer function equation f(·) of the volume point, and is the transfer vector from the state at time k-1 to the state at time k to be estimated; u k To control the amount;

[0111] The estimated state prediction vector and state estimation variance prediction matrix are:

[0112]

[0113]

[0114] In the formula, Q k-1 represents the estimated noise matrix at time k-1;

[0115] S2, measurement update

[0116] Considering that after each iteration, the measurement noise information is involved in updating the formulas for calculating the measurement covariance matrix and the estimation error variance matrix, the estimation accuracy of the two variance matrices will be inaccurate, which will further lead to the inaccuracy of the next iteration. Therefore, the present invention uses the state estimation prediction With the estimated variance predicted P k|k-1 The dimension is expanded so that the measurement noise information is fully involved in the calculation.

[0117] Set the initial value to Where R k To measure the noise matrix, find the i-th iteration volume point after dimension expansion:

[0118]

[0119] In the formula, The weighting function is the basic volume point of the integral of the standard normal distribution density Basic volume point ξ j It is generated in the following way: Let the n-dimensional unit vector be e = [1,0,...,0] T , [l] is used to represent the point set generated by fully permuting the elements of e and changing the signs of the elements, which is called the complete and fully symmetric point set [l] j Represents the j-th point in the point set [l].

[0120] by and Iterate for the initial value, the superscript 0 represents the filter initialization value of this iteration. And record the number of iterations i = 1, 2, ..., Nmax , where N max is the maximum number of iterations, and a volume recursive strategy is established:

[0121]

[0122] In the formula, z k represents the measurement vector at time k, is the measurement prediction vector.

[0123] (1) Calculate the transfer value of the i-th iteration volume point at time k through the measurement equation as follows:

[0124]

[0125] (2) Calculate the measurement prediction, measurement variance matrix and complementary covariance matrix of the i-th iteration at time k:

[0126]

[0127]

[0128]

[0129] (3) Calculate the filter gain, volume point and estimated variance matrix of the i-th iteration at time k:

[0130]

[0131]

[0132]

[0133] (4) Iteration termination condition The state estimation vector of the i-th iteration at time k is calculated by the volume point:

[0134]

[0135] The iteration termination condition is:

[0136] Or i = N max

[0137] In the formula, δ is the set parameter threshold.

[0138] Assuming the number of iterations when the iteration ends is N, the state estimation vector and estimated variance matrix at time k are:

[0139]

[0140] Step 3: According to the positioning result obtained in step 2, the GPS positioning coordinate information in units of longitude and latitude is converted into Convert to meters GPS coordinates can be used to realize high-precision fusion positioning of GPS coordinates and UWB coordinates in the geodetic coordinate system.

[0141] from arrive In the conversion process, the data of the drone's height on the Z axis is unified, that is, Therefore, we only need to convert the longitude and latitude coordinates of the X-axis and Y-axis into coordinate information in meters. Figure 2 As shown, the initial mission starting point of the drone is (X0, Y0). When the mission drone receives the first location information (X1, Y1) available from the outdoor positioning system, since the drone takes off from indoors, the positioning depends on the UWB positioning coordinates and SINS positioning coordinates in meters. Therefore, the location information (X'1, Y'1) in meters can also be obtained at (X1, Y10). (X1, Y1) and (X'1, Y'1) can express the same location, but the units are different.

[0142] In order to unify the coordinates in indoor and outdoor navigation tasks, the absolute position information (X m ,Y m ) is transformed into the distance relative to (X1, Y1) in indoor relative position information units such as meters, as shown in the formula

[0143]

[0144] In the formula, Y1 represents the initial latitude information of GPS, f represents the ellipticity of the sphere, and R e is the major radius of the Earth.

[0145] At this time, according to the main curvature radius R M and the minor curvature radius R N The coordinates of any point outdoors (X m ,Y m ) relative to (X1, Y1) on the XY axis decomposition distance L mx ,L my , L represents (X m ,Y m ) relative to (X1,Y1):

[0146]

[0147] Where, X i ,i=1,2 indicates the longitude provided by GPS, Y i ,i=1,2 indicates the provided latitude, and H is the altitude information fed back by GPS.

[0148] In summary, when the drone starts a navigation mission from an indoor area, the position information in different indoor and outdoor coordinate systems is unified according to the determination of the different navigation mission areas in the flowchart, and finally the relative position information of the drone relative to the navigation starting point in meters is displayed. in

[0149]

[0150] In the buffer transition area, the two coordinates of the drone are fused and switched; the buffer transition area is determined based on the area where signals can be received from GPS and UWB positioning sources but the signal strength of any one or both positioning sources is poor, and the "poor signal strength" is determined by the threshold based on the actual situation.

[0151] The formula for fusing the two coordinates of the drone is expressed as:

[0152]

[0153] Where P con Indicates the positioning information after the fusion of GPS and UWB in the switching area; P r is the real positioning position of the UAV, N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively; Indicates the fusion distribution coefficient on the three axes XYZ. The subscript 0 indicates that the fused positioning source is GPS and UWB positioning source. For three-dimensional positioning, the positioning error of positioning system A and positioning system B should obey the following distribution:

[0154]

[0155]

[0156] Among them, σ Ax ,σ Ay ,σ Az represents the standard deviation of system A in the X, Y, and Z directions, σ Bx ,σ By ,σ Bz It represents the standard deviation of system B in the X, Y, and Z directions. Since the errors of the positioning results in the three axes are independent of each other, the three-dimensional normal distribution can be written as the product of three one-dimensional normal distributions. The total positioning error after fusion is σ Pc It can be expressed by the following formula.

[0157]

[0158] In the formula, It represents the three positioning errors of system A in the X, Y, and Z axis directions. In practical applications, this value is a pre-assigned appropriate fixed value. Same reason.

[0159] Here we assume that the positioning accuracy of the three axes of system A is higher than that of system B, that is, σ Ac <σ Bc .

[0160] If the positioning accuracy after fusion is required to be higher than the most accurate one of the original results, σ Pc <σ Ac , then it should satisfy the formula:

[0161]

[0162] Solving the inequality, we can get the weight interval of w:

[0163]

[0164] It can be seen that when the weights assigned to the more accurate system are in the interval When the fusion positioning accuracy is statistically higher than the positioning data accuracy of any system, in practical applications, c The value of can be the median of the interval, and the specific expression is as follows:

[0165]

[0166] According to the high-precision location information obtained during the indoor and outdoor navigation of the drone By selecting appropriate positioning sources in different navigation areas for fusion, the final position information P can be obtained as shown below:

[0167]

[0168] In the formula, The value of w can be derived by the above method.

[0169] The speed information of the drone v = v e , q is the quaternion q parameter obtained by the SINS positioning source.

[0170] In summary, according to the iterative volumetric Kalman filtering algorithm based on dimension expansion theory and the positioning information fusion strategy proposed in the present invention, high-precision positioning information (p, v, q) of the UAV can be obtained.

[0171] The above description is only a preferred embodiment of the present invention and does not limit the present invention in other forms. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering, Features: The specific steps include: Step 1: determine the drone state vector and obtain the positioning source measurement data; The high-precision positioning information of the UAV is defined as (p, v, q), where p = [xyz] T is the position coordinate of the UAV in the geodetic coordinate system, v = [v x v y v z ] T is the velocity information of the UAV in the earth coordinate system, and q is the quaternion parameter describing the attitude information of the UAV; Considering that there are multiple positioning source data in the indoor and outdoor positioning and navigation process, the drone state model vector is defined as: In the formula, p e =[x e y e z e ] T The take-off point of the UAV is taken as the origin of the UAV coordinate system, and the position coordinates of the UAV in the body coordinate system are obtained through the inertial navigation system (SINS) positioning source. e The data obtained by the secondary integration of the accelerometer will be inaccurate due to the influence of temperature, vibration, etc. The long-term accumulation will make the error larger and larger, and it will be corrected by Kalman filtering; b is the UAV speed information obtained by the SINS positioning source; a , b g denote the bias vectors of the accelerometer and gyroscope respectively; To use GPS positioning to obtain the GPS longitude and latitude coordinates of the drone in the geodetic coordinate system; p uwb =[x uwb y uwb z uwb ] T To use UWB positioning to obtain the UWB coordinates of the drone in the geodetic coordinate system; N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively; Step 2: Based on the iterative volumetric Kalman filter algorithm of the extended dimension theory, the velocity information and positioning data of the UAV in the earth coordinate system are combined with the positioning data of GPS positioning and UWB positioning to perform iterative calculations to obtain the positioning results; Step 3: According to the positioning result obtained in step 2, the GPS positioning coordinate information in units of longitude and latitude is converted into Convert to meters GPS coordinates.

2. A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering as claimed in claim 1, Features: The specific method of step 2 is: S1, the state x at time k is known k The statistical characteristics of x k is the state vector at time k, is the state estimation vector at time k, P k is the estimated variance matrix at time k, and the volume point and the transfer value of the volume point through the state equation are obtained: In the formula, S k-1 is the estimated variance matrix P k-1 The variance matrix of X j,k-1 represents the volume point vector obtained according to the k-1 time, where the total number of volume points m using the third-order volume principle is twice the dimension n of the state vector; u represents the transfer vector obtained by the nonlinear transfer function equation f(·) of the volume point, and is the transfer vector from the state at time k-1 to the state at time k to be estimated; u k To control the amount; The estimated state prediction vector and state estimation variance prediction matrix are: In the formula, Q k-1 represents the estimated noise matrix at time k-1; S2, measurement update Considering that after each iteration, the measurement noise information is involved in updating the formulas for calculating the measurement covariance matrix and the estimation error variance matrix, the estimation accuracy of the two variance matrices will be inaccurate, which will further lead to the inaccuracy of the next iteration. Therefore, the present invention uses the state estimation prediction With the estimated variance predicted P k|k-1 Expand the dimension so that the measurement noise information is fully involved in the calculation; Set the initial value to Where Rk is the measurement noise matrix, and the i-th iteration volume point after dimension expansion is obtained: In the formula, The weighting function is the basic volume point of the integral of the standard normal distribution density Basic volume point ξ j It is generated in the following way: Let the n-dimensional unit vector be e = [1, 0, ..., 0] T , [l] is used to represent the point set generated by fully permuting the elements of e and changing the signs of the elements, which is called the complete and fully symmetric point set [l] j represents the j-th point in the point set [l]; by and Iterate for the initial value, and the superscript 0 represents the filter initialization value of this iteration; And record the number of iterations i = 1, 2, ..., N max , where N max is the maximum number of iterations, and a volume recursive strategy is established: In the formula, z k represents the measurement vector at time k, is the measurement prediction vector; (1) Calculate the transfer value of the i-th iteration volume point at time k through the measurement equation as follows: (2) Calculate the measurement prediction, measurement variance matrix and complementary covariance matrix of the i-th iteration at time k: (3) Calculate the filter gain, volume point and estimated variance matrix of the i-th iteration at time k: (4) Iteration termination condition The state estimation vector of the i-th iteration at time k is calculated by the volume point: The iteration termination condition is: Or i = N max In the formula, δ is the set parameter threshold; Assuming the number of iterations when the iteration ends is N, the state estimation vector and estimated variance matrix at time k are:

3. A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering as claimed in claim 1, Features: The specific method of step 3 is: from arrive In the conversion process, the data of the drone's height on the Z axis is unified, that is, Therefore, we only need to convert the longitude and latitude coordinates of the X-axis and Y-axis into coordinate information in meters; the initial mission starting point of the drone is (X 0 , Y 0 ), when the mission UAV receives the first available location information from the outdoor positioning system (X 1 , Y 1 ), since the drone takes off from indoors, the positioning depends on the UWB positioning coordinates and SINS positioning coordinates in meters. Therefore, in (X 1 , Y 1 ) can also get the position information in meters (X′ 1 , Y′ 1 ), (X 1 , Y 1 ) and (X′ 1 , Y′ 1 ) can express the same position, but in different units. In order to unify the coordinates in indoor and outdoor navigation tasks, the absolute position information (X m , Y m ) is transformed relative to (X 1 , Y 1 ) is expressed in units of indoor relative position information such as meters, as shown in the formula Where Y 1 Indicates the initial latitude information of GPS, f indicates the ellipticity of the sphere, R e is the major radius of the Earth; At this time, according to the main curvature radius R M and the minor curvature radius R N The coordinates of any point outdoors (X m , Y m ) relative to (X 1 , Y 1 ) The resolution distance L on the XY axis mx , L my , L represents (X m , Y m ) relative to (X 1 , Y 1 ) distance: In the formula, X i , i=1, 2 represents the longitude provided by GPS, Y i , i=1, 2 indicates the provided latitude, and H is the altitude information fed back by GPS; When the drone starts the navigation mission from the indoor area, according to the determination of the different navigation mission areas in the flowchart, the pose information in different indoor and outdoor coordinate systems is unified, and finally the relative pose information of the drone relative to the navigation starting point in meters is displayed. in 4. A multi-source sensor UAV indoor and outdoor positioning method based on Kalman filtering as claimed in claim 3, Features: In the buffer transition area, the two coordinates of the drone are fused and switched; The formula for fusing the two coordinates of the drone is expressed as: Where P con Indicates the positioning information after the fusion of GPS and UWB in the switching area; P r is the real positioning position of the UAV, N gps and N uwb are the measurement noise in GPS and UWB positioning sources, respectively; It represents the fusion distribution coefficient on the three axes XYZ. The subscript 0 indicates that the fused positioning sources are GPS and UWB positioning sources. For three-dimensional positioning, the positioning errors of positioning system A and positioning system B should obey the following distribution: Among them, σ Ax , σ Ay , σ Az represents the standard deviation of system A in the X, Y, and Z directions, σ Bx , σ By , σ Bz Represents the standard deviation of system B in the X, Y, and Z directions; since the errors of the positioning results on the three axes are independent of each other, the three-dimensional normal distribution can be written as the product of three one-dimensional normal distributions. The total positioning error after fusion is σ Pc It can be expressed as follows; In the formula, Indicates the three positioning errors of system A in the X, Y, and Z axis directions. In practical applications, this value is a pre-assigned appropriate fixed value. Similarly; Here we assume that the positioning accuracy of the three axes of system A is higher than that of system B, that is, σ Ac <σ Bc ; If the positioning accuracy after fusion is required to be higher than the most accurate one of the original results, σ Pc <σ Ac , then it should satisfy the formula: Solving the inequality, we can get the weight interval of w: It can be seen that when the weights assigned to the more accurate system are in the interval When the fusion positioning accuracy is statistically higher than the positioning data accuracy of any system, in practical applications, c The value of can be the median of the interval, and the specific expression is as follows: According to the high-precision position information P obtained during the indoor and outdoor navigation of the UAV e P uwb P con By selecting appropriate positioning sources in different navigation areas for fusion, the final position information P can be obtained as shown below In the formula, The value of w can be derived by the above method; The speed information of the drone v = v e , q is the quaternion q parameter obtained by the SINS positioning source.

Citation Information

Cited By

  • Unmanned aerial vehicle indoor and outdoor seamless switching navigation method and system

    CN119665975A

  • Unmanned aerial vehicle cluster cooperative positioning method based on improved CKF algorithm and related product

    CN121299724A