A strapdown inertial navigation Doppler odometer calibration method based on improved least squares, computer equipment and medium
By improving the least squares method to process DVL calibration, and using singular value decomposition and regularization parameters to process the measurement matrix, the problem of ill-posed problems in traditional methods is solved, the accuracy and applicability of parameter estimation are improved, and it is suitable for underwater navigation and positioning.
Patent Information
- Application Number
- CN202310553805.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-05-17
AI Technical Summary
The traditional least squares DVL calibration method is difficult to deal with ill-posed problems, making it difficult to obtain accurate calibration parameters and requiring high calibration attitude of the AUV.
The improved least squares method is used to construct the DVL speed measurement model through the initial alignment of the carrier in the SINS and GPS integrated navigation mode. The singular value decomposition and regularization parameters are used to process the measurement matrix to obtain stable calibration parameters.
It effectively suppresses the errors at both ends of the measurement equation, is suitable for dealing with ill-conditioned problems, improves the accuracy of parameter estimation and reduces random errors, and is suitable for underwater navigation and positioning scenarios.
Smart Images

Figure CN116793346B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of combined navigation, and in particular relates to a strapdown inertial navigation and Doppler odometer calibration method. Background Art
[0002] In order to achieve full exploration and development of the ocean, autonomous underwater vehicles need to have high-precision, long-duration, deep-sea navigation capabilities, among which underwater navigation and positioning is the key technology for the application of autonomous underwater vehicles. The Strapdown Inertial Navigation System (SINS) does not radiate energy to the outside world. Although the navigation error accumulates over time and cannot provide high-precision navigation information for the AUV for a long time, it has good concealment and autonomy, so it is often used as the main navigation system of the AUV. DVL is a speed measurement device based on the Doppler effect. It has good autonomy and fast response. It can measure the speed of the vehicle relative to the seabed and the water flow, thereby providing high-precision carrier speed information, and the error does not accumulate over time. At present, the combined navigation of the strapdown inertial navigation system and the Doppler log is the main way for autonomous underwater vehicles to navigate. However, due to the introduction of the DVL system, the SINS / DVL combined navigation system is prone to spatial inconsistency between the two carrier coordinate systems of SINS and DVL, and the installation error angle and scale factor need to be calibrated.
[0003] A method proposed in the prior art establishes a DVL error loss function and then approximates the optimal solution of the loss function based on the Newton iteration method. Although this method has advantages such as fast convergence speed and local second-order convergence, it is difficult to calculate the inverse of the Hessian matrix and consumes time and computing resources. In addition, a three-point online calibration method is also proposed in the prior art. This method only requires the AUV to float twice to complete the calibration of the scale factor error and the installation error angle. However, this method cannot calibrate the roll error angle, and since the pitch angle and roll angle of the carrier are ignored during the calculation, it has higher requirements for the calibration posture of the AUV. Summary of the invention
[0004] The purpose of the present invention is to solve the problem that the traditional least squares DVL calibration method lacks the processing of ill-conditioned problems and is difficult to obtain accurate calibration parameters. A new strapdown inertial navigation and Doppler odometer calibration method based on improved least squares is proposed.
[0005] To solve the above technical problems, a strapdown inertial navigation / Doppler odometer calibration method based on improved least squares of the present invention comprises the following steps:
[0006] Step 1: The vehicle is initially aligned and enters the SINS and GPS combined navigation mode. After combined navigation filtering, the speed of the vehicle in the vehicle coordinate system is obtained.
[0007] Step 2: Construct a DVL speed measurement model, obtain the inverse mapping relationship of the model, and the speed of the DVL in the carrier coordinate system and the With the The residual r of
[0008] Step 3: Obtain the parameters to be calibrated based on the improved least squares principle
[0009] The parameters to be calibrated are obtained according to the improved least squares principle. include:
[0010] According to the minimum residual r principle, i.e. r = 0, the measurement equation composed of q velocity measurement values is combined to obtain the linear equation in matrix form, the measurement matrix and the measurement vectors H and Z;
[0011] Perform singular value decomposition on the expanded matrix (H, Z) and select an initial regularization parameter k, where k is less than or equal to the dimension of the state vector;
[0012] According to the regularization parameter k, the expanded matrix (H, Z) after singular value decomposition is processed to obtain the improved least squares solution
[0013] The regularization parameter k is determined according to the generalized cross-validation method.
[0014] Furthermore, the speed of the carrier in the carrier coordinate system is for:
[0015]
[0016] In the formula, is the velocity of the carrier in the x-axis direction of the carrier coordinate system, is the velocity of the carrier in the y-axis direction of the carrier coordinate system, is the velocity of the carrier in the z-axis direction of the carrier coordinate system.
[0017] Furthermore, the DVL speed measurement model is:
[0018]
[0019] In the formula, is the speed output by DVL in the d-frame of the DVL coordinate system, K is the scale factor, is the installation error angle coordinate transformation matrix from the carrier coordinate system to the DVL coordinate system, is the speed measurement noise.
[0020] Furthermore, the speed of the DVL in the carrier coordinate system is for:
[0021]
[0022] In the formula, is the parameter matrix to be calibrated.
[0023] Furthermore, in the process of acquiring the parameters to be calibrated, the extended matrix (H, Z) after singular value decomposition is processed by the regularization parameter k, and the part of the solution corresponding to the small singular value is truncated.
[0024] Furthermore, the linear equation is:
[0025] Z=HX
[0026] Where X is the 9-dimensional system state vector.
[0027] A computer device comprises a memory and a processor. The memory stores a computer program. When the processor runs the computer program stored in the memory, the processor executes the above strapdown inertial navigation Doppler odometer calibration method based on improved least squares.
[0028] A computer-readable storage medium is used to store a computer program, and the computer program executes the above-mentioned strapdown inertial navigation Doppler odometer calibration method based on improved least squares.
[0029] A strapdown inertial navigation Doppler odometer calibration system based on improved least squares, characterized in that the system includes: a system for initially aligning a carrier, entering a SINS and GPS combined navigation mode, and obtaining the speed of the carrier in the carrier coordinate system after combined navigation filtering. Device; used to construct a DVL speed measurement model, obtain the relationship of the inverse mapping of the model, the speed of the DVL in the carrier coordinate system and the With the The residual r of the device; used to obtain the parameters to be calibrated according to the improved least squares principle device.
[0030] The method proposed by the present invention can suppress the errors at both ends of the measurement equation and is suitable for processing ill-conditioned problems.
[0031] Compared with the prior art, the invention has the following beneficial effects: when there are errors at both ends of the measurement equation, the linear least squares method is no longer optimal. The total least squares method can solve the problem of errors at both ends of the measurement equation, but cannot solve the ill-conditioned problem. The improved least squares method used in this method is a natural extension of the least squares method and can be applied to the above two problems.
[0032] The present invention has certain engineering application value in improving the accuracy of parameter estimation and achieving the purpose of suppressing random errors.
[0033] The present invention is applicable to underwater navigation and positioning application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a flow chart of a strapdown inertial navigation Doppler log calibration method based on improved least squares;
[0035] Figure 2 This is the flow chart of the calibration algorithm of strapdown inertial navigation Doppler log based on improved least squares; DETAILED DESCRIPTION
[0036] In order to better understand the technical content of the present invention, the following is explained and illustrated in conjunction with the accompanying drawings. The main steps of the method are:
[0037] Implementation method 1: The specific steps of the strapdown inertial navigation and Doppler odometer calibration method based on improved least squares described in this implementation method are:
[0038] Step 1: After the initial alignment, the vehicle enters the SINS / GPS integrated navigation mode;
[0039] Step 2: After the combined navigation filtering, the velocity of the vehicle in the vehicle coordinate system (b system) is obtained by solving the solution and transforming the coordinates.
[0040] Step 3: Establish the speed measurement model of DVL as shown below
[0041]
[0042] In the formula, is the speed output by DVL in the DVL coordinate system (d system), is the speed output by DVL in the carrier coordinate system, K is the scale factor, is the installation error angle coordinate transformation matrix from the carrier coordinate system to the DVL coordinate system, is the speed measurement noise.
[0043] Step 4: After inverse mapping the DVL velocity measurement model, the velocity expression of DVL in the carrier coordinate system can be obtained:
[0044]
[0045] In the formula, is the parameter matrix to be calibrated.
[0046] Step 5: During DVL calibration, the vehicle must maintain a constant speed and straight flight. is a fixed value, that is,
[0047]
[0048] In the formula, a i ,i=1,2,…,6 are intermediate variables defined by the parameter matrix P to be calibrated.
[0049] Step 6: According to step 5, the speed of the carrier in the carrier coordinate system can be The velocity of DVL in the carrier coordinate system The residual of is r, then
[0050]
[0051] In the formula, a i , i=1,2,…,6 are intermediate variables defined by the parameter matrix P to be calibrated,
[0052]
[0053] ξ=[-a1 -a2 -a3 -a4 -a5 -a6 a7 a8 a9 a 10 ] T , a i , i=7,8,9,10 are the parameters matrix P to be calibrated and the speed measurement noise Defined intermediate variables,
[0054]
[0055]
[0056]
[0057]
[0058] Step 7: If there is no random error interference, the residual r = 0, r∈N×1, N is the number of velocity data obtained by solution. Since there will be random error interference in practice, we can only estimate ξ, ξ∈N×1, and get Make the residual r as small as possible, that is, the optimization function is
[0059] argminf(A,ξ)=||r|| 2 =ξ T A T Aξ
[0060] stξ≠0, (5)
[0061] 4a1a4-(a2) 2 >0.
[0062] In the formula, ||·|| represents the modulo operation.
[0063] Step 8: According to step 6, when the residual r is the smallest, that is, r = 0, the optimization function of formula (5) reaches the optimal value. Linearizing and expanding formula (4) can obtain the following linear equation:
[0064]
[0065] Step 9: If there are q speed measurement values, the measurement equations composed of q speed measurement values can be combined to obtain a linear equation of the following form:
[0066] Z=HX (7)
[0067] Where Z is the q-dimensional measurement vector, X is the 9-dimensional system state vector, and H is the measurement matrix. Their specific forms are as follows:
[0068]
[0069]
[0070]
[0071] where a i , i=7,8,9,10 are the parameters matrix P to be calibrated and the speed measurement noise Defined intermediate variables;
[0072] Step 10: Since the number of velocity measurement values q is much larger than the number of unknowns in the measurement equation, equation (7) is an overdetermined linear equation. When calibrating the DVL, the measurement matrix H and the measurement vector Z will be disturbed by the measurement noise. Therefore, the random error is included in equation (7) to obtain the first-order approximate perturbation of H and Z:
[0073]
[0074] Where Z and H represent the error-free measurement vector and measurement matrix, respectively, and ΔZ and ΔH are the approximate perturbation terms of Z and H.
[0075] Step 11: According to step 10, the DVL calibration problem can be transformed into the following problem:
[0076]
[0077] In the formula, ||*|| F It's the Frobenius model.
[0078] Step 12: Use the improved least squares method to solve the problem in step 11 and perform singular value decomposition on the expanded matrix (H, Z) to obtain
[0079]
[0080] Where: i is the i-th singular value, i = 1, 2, ..., 10, and σ1 ≥ σ2 ≥ ... ≥ σ 10 ;u i is the i-th column vector of matrix U, U T U=I q , I q is the identity matrix of order q; v i is the i-th column vector of the matrix V, V T V=I 10 , I 10 is the identity matrix of order 10; 0 (q-10)×10 is a (q-10)×10 zero matrix, D=diag(σ1,…,σ 10 ), diag(σ1,…,σ m ) represents the m A diagonal matrix consisting of elements (i.e., an m-order square matrix in which all elements except the main diagonal are zero), where m is the number of elements;
[0081] Step 13: When the measurement equation is ill-conditioned, the DVL calibration problem may get unreliable solutions or even no solutions. In order to obtain a stable solution, it is necessary to introduce a regularization method and select an initial regularization parameter k, which is less than or equal to the dimension of the state vector;
[0082] Step 14: Divide the matrix V into blocks according to the regularization parameter k, and get
[0083]
[0084] Step 15: The solution of the improved least squares can be obtained by the following formula
[0085]
[0086] In the formula, Yes V22 The pseudo-inverse of , ||·||2 is the 2-norm.
[0087] In formula (11), V 22 The elements of cannot all be 0, but in fact the regularization parameter k can always be reduced to a sufficient degree so that V 22 has a sufficiently large norm.
[0088] Step 16: Optimize and select the regularization parameter k through the GCV function;
[0089] Step 17: Definition of GCV function:
[0090]
[0091] Where I is the identity matrix, trace(·) represents the trace operation, and G(k) is the objective function including the regularization parameter k.
[0092] Step 18: The optimal regularization parameter is obtained at the minimum value of the GCV function, so the optimal regularization parameter is obtained according to formula (13);
[0093] Step 19: Repeat steps 14-18 until the result meets the requirements;
[0094] Step 20: Once the equations are solved for the unknowns The estimated value of the parameter to be calibrated can be solved and an estimate of the speed measurement noise
[0095] This completes the strapdown inertial navigation / Doppler odometer calibration method based on improved least squares.
[0096] Implementation method 2:
[0097] This embodiment simulates and verifies the strapdown inertial navigation and Doppler odometer calibration method based on improved least squares described in the first embodiment.
[0098] The simulation conditions are set as follows:
[0099] Vehicle maneuvering speed Installation angle α = [0° 0° 5°], scale factor Measurement Error of Doppler Speedometer
[0100] The velocity measurement noise of the Doppler log is Right now in express It follows a normal distribution with a mean of 0 and a variance of R;
[0101] The data sampling frequency is 1 Hz and the simulation time is 200 seconds.
[0102] By calculation, we can know that the condition number of the measurement matrix H is 4.062×10 7 , which shows that the measurement equation is seriously ill-conditioned. The data are processed using the traditional least squares method and the improved least squares method, and the results are shown in the following table:
[0103] Table 1: Results of data processing using traditional least squares and improved least squares
[0104]
[0105] It can be seen from the simulation results that when the measurement equation is severely ill-conditioned, the algorithm proposed in the present invention is superior to the traditional least squares method and the accuracy is improved by about 36.1%.
[0106] Although the embodiments and drawings of the present invention are disclosed for illustrative purposes, those skilled in the art will appreciate that various substitutions, changes and modifications are possible without departing from the spirit and scope of the present invention and the appended claims. Therefore, the scope of the present invention is not limited to the contents disclosed in the embodiments and drawings.
Claims
1. A strapdown inertial navigation Doppler odometer calibration method based on improved least squares, characterized in that: The method comprises the following steps: Step 1: The vehicle is initially aligned and enters the SINS and GPS combined navigation mode. After combined navigation filtering, the speed of the vehicle in the vehicle coordinate system is obtained. Step 2: Construct a DVL speed measurement model, obtain the inverse mapping relationship of the model, and the speed of the DVL in the carrier coordinate system and the With the The residual r of the DVL speed measurement model is: In the formula, is the speed output by DVL in the DVL coordinate system, is the speed measurement noise; Step 3: Obtain the parameters to be calibrated based on the improved least squares principle Where K is the scaling factor, The installation error angle coordinate transformation matrix from the carrier coordinate system to the DVL coordinate system; The parameters to be calibrated are obtained according to the improved least squares principle. include: According to the minimum residual r principle, that is, r=0, the measurement equation composed of q velocity measurement values is combined to obtain a linear equation in matrix form, a measurement matrix H and a measurement vector Z; the velocity measurement value is the velocity output by the DVL in the DVL coordinate system; Perform singular value decomposition on the expanded matrix (H, Z) and select an initial regularization parameter k, where k is less than or equal to the dimension of the state vector; According to the regularization parameter k, the expanded matrix (H, Z) after singular value decomposition is processed to obtain the improved least squares solution Specifically: After inverse mapping the DVL velocity measurement model, the velocity expression of DVL in the carrier coordinate system is obtained: In the formula, is the parameter matrix to be calibrated; Since the vehicle needs to maintain a constant speed and straight flight during DVL calibration, is a fixed value, that is, In the formula, i=1,2,…,6 are intermediate variables defined by the parameter matrix P to be calibrated; Let the velocity of the carrier in the carrier coordinate system be The velocity of DVL in the carrier coordinate system The residual of is r, then In the formula, ξ=[-a1 -a2 -a3 -a4 -a5 -a6 a7 a8 a9 a 10 ] T , a i , i=7,8,9,10 are the parameters matrix P to be calibrated and the speed measurement noise Defined intermediate variables, The linear equation in matrix form is Z=HX, where X is a 9-dimensional system state vector; Solving for the unknown That is, to calculate the estimated value of the parameter to be calibrated and an estimate of the speed measurement noise Thus we get The regularization parameter k is determined according to the generalized cross-validation method.
2. A strapdown inertial navigation Doppler odometer calibration method based on improved least squares according to claim 1, characterized in that: The speed of the carrier in the carrier coordinate system for: In the formula, is the velocity of the carrier in the x-axis direction of the carrier coordinate system, is the velocity of the carrier in the y-axis direction of the carrier coordinate system, is the velocity of the carrier in the z-axis direction of the carrier coordinate system.
3. A strapdown inertial navigation Doppler odometer calibration method based on improved least squares according to claim 1, characterized in that: In the process of obtaining the parameters to be calibrated, the extended matrix (H, Z) after singular value decomposition is processed by the regularization parameter k, and the part of the solution corresponding to the small singular value is truncated.
4. A computer device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes a strapdown inertial navigation Doppler odometer calibration method based on improved least squares according to any one of claims 1 to 3.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program executes a strapdown inertial navigation Doppler odometer calibration method based on improved least squares according to any one of claims 1 to 3.
6. A strapdown inertial navigation Doppler odometer calibration system based on improved least squares, characterized in that: The system is implemented by a strapdown inertial navigation Doppler odometer calibration method based on improved least squares as described in any one of claims 1 to 3, and the system includes: a method for initially aligning the carrier, entering a SINS and GPS combined navigation mode, and obtaining the speed of the carrier in the carrier coordinate system after combined navigation filtering. Device; used to construct a DVL speed measurement model, obtain the relationship of the inverse mapping of the model, the speed of the DVL in the carrier coordinate system and the With the The residual r of the device; used to obtain the parameters to be calibrated according to the improved least squares principle Where K is the scaling factor, It is the installation error angle coordinate transformation matrix from the carrier coordinate system to the DVL coordinate system.
