A method and device for initial alignment of a missile-loaded dynamic base based on BAS algorithm
The BAS algorithm is used to calculate the optimal rotation matrix, which solves the problems of complex matrix operations and high computing power requirements in the initial alignment method of the moving base, improves the accuracy and speed of the initial alignment, and reduces the impact of noise.
Patent Information
- Application Number
- CN202410356538.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-03-27
AI Technical Summary
The existing initial alignment method of the moving base requires complex matrix operations and high computing power, is easily affected by sensor noise, and is easy to fall into a local optimal solution based on the gradient descent method, affecting the initial alignment accuracy.
The initial alignment method of the missile-borne moving base based on the BAS algorithm is adopted. The muzzle muzzle velocity is measured by the giant magnetoresistive sensor, and the movement speed is measured by the MEMS inertial navigation sensor. The Wahba cost function is constructed based on the GNSS measurement, and the optimal rotation matrix is calculated using the BAS algorithm. Reduce the number of iterations and calculations.
It reduces the computing power requirements of the equipment, improves the initial alignment accuracy and speed, avoids complex matrix operations and singular value decomposition calculations, and enhances the immunity to sensor noise.
Smart Images

Figure CN118258388B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of projectile posture initial alignment, and in particular to a projectile-loaded dynamic base initial alignment method and device based on a BAS algorithm. Background Art
[0002] The guidance transformation of projectiles is the main direction of artillery development in various countries. As one of the key technologies of inertial navigation, the initial alignment technology aims to obtain the precise initial attitude of the carrier. The accuracy of the initial attitude directly determines the solution accuracy of the inertial navigation algorithm. It is one of the important branches in the research of inertial navigation algorithms. In the initial alignment problem, representative solutions include the initial alignment algorithm based on SVD, the initial alignment algorithm based on QUEST, the initial alignment algorithm based on gradient descent method, and the initial alignment algorithm based on Kalman filter.
[0003] The dynamic base initial alignment technology is an important research direction in inertial navigation technology. The initial alignment accuracy directly affects the results of the inertial navigation algorithm. The classic dynamic base initial alignment method often involves more complex matrix operations and matrix singular value decomposition operations, which increases the amount of calculation in the initial alignment process, reduces the calculation efficiency, and is greatly affected by sensor noise, affecting the speed of initial alignment and the accuracy of the final result. The existing dynamic base initial alignment mainly includes the following:
[0004] (1) Construct the state transfer equation for the initial alignment of the dynamic base and the state transfer matrix of the error during the initial alignment process, and use Kalman filtering to estimate the initial posture. For example, Patent 202311581259.5 discloses an unscented Kalman filter initial alignment method on a matrix Lie group, which uses the properties of the rotation matrix on the Lie group to establish an unscented Kalman filter for initial alignment.
[0005] (2) Use digital filters or digital signal processing methods to process the raw data of the sensor to reduce the impact of sensor noise on the subsequent initial alignment algorithm to improve the alignment accuracy. For example, Patent 202311477529.8 discloses an initial coarse alignment method for an inertial navigation system on a moving base on water. The inertial navigation system measurement signal is adaptively decomposed into inherent mode functions containing different spectra; the similarity between the decomposed signal and the original signal is calculated and analyzed to reconstruct the signal. After the inertial navigation system signal is denoised, the initial alignment model is used to estimate the initial attitude.
[0006] (3) Use the gradient descent method to iteratively estimate the initial posture in the cost function to avoid more complex matrix operations and reduce the computing power requirements of the initial alignment algorithm. For example, the INS / GNSS combined system air alignment technology for guided artillery shells based on the gradient descent method is proposed in Reference 1 (Lu Zhenglong. Research on the air alignment technology of the INS / GNSS combined system for guided artillery shells [D]. 2020).
[0007] Among the various methods mentioned above, the Kalman filter-based method has relatively complex matrix operations and requires high computing power for the device. In addition, the gradient descent-based method needs to calculate the gradient size and gradient direction of the potential field function, and is prone to fall into a local optimal solution, affecting the initial alignment accuracy. Summary of the invention
[0008] The object of the present invention is to provide a method and device for initial alignment of a missile-loaded dynamic base based on a BAS algorithm with small calculation amount and good real-time performance.
[0009] The technical solution to achieve the purpose of the present invention is: a method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm, comprising the following steps:
[0010] Step 1, muzzle velocity measurement: obtain the rotation speed of the projectile after it leaves the barrel through the giant magnetoresistance sensor, and calculate the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling winding;
[0011] Step 2: Measurement and calculation of the motion velocity of the projectile carrier coordinate system: Use the MEMS inertial navigation sensor to measure the angular velocity and acceleration of the projectile, and use the velocity update algorithm to calculate the carrier system velocity vector during the projectile flight;
[0012] Step 3: Measurement of the velocity of the projectile in the navigation coordinate system: Use GNSS to measure the velocity vector of the projectile in the navigation coordinate system, align it with the velocity vector of the carrier system in time, and then construct the Wahba cost function;
[0013] Step 4: Based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix so that the cost function value is minimized. When the number of iteration results that are the same reaches a preset value, the initial alignment is terminated and the estimated results of the pitch angle and yaw angle are retained.
[0014] Step 5: Use the pitch angle and yaw angle obtained in step 4 as the initial values for iteration, and use the BAS algorithm to perform a second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle, and roll angle.
[0015] Furthermore, the MEMS inertial navigation sensor described in step 2 includes a MEMS accelerometer and a MEMS gyroscope.
[0016] Furthermore, in step 2, the angular velocity and acceleration of the projectile are measured using an inertial navigation sensor, and the velocity vector of the carrier system during the projectile flight is calculated using a velocity update algorithm, as follows:
[0017] Step 2.1, set the angular velocity measured by the MEMS gyroscope in the current sampling period to The angular velocity measured in the previous sampling period is The angular increment of the projectile's motion during flight is calculated by trapezoidal integration. The formula is:
[0018]
[0019] The subscript k represents the number of sampling times, Δθ k represents the angular increment of the current cycle, and Δt represents the sampling time;
[0020] Step 2.2, record the angular increment calculated in the previous sampling cycle and the angular increment calculated in the current sampling cycle, and use the angular increments of the current cycle and the previous cycle to calculate the equivalent rotation vector of the projectile posture change. The formula is:
[0021]
[0022] Among them, Φ(k) represents the equivalent rotation vector of the attitude change calculated in this sampling period, Δθ k Represents the angular increment of the current sampling period, Δθ k-1 Indicates the angular increment of the previous sampling period;
[0023] Convert the equivalent rotation vector into a quaternion and a rotation matrix, and denote the corresponding quaternion as q k , the corresponding rotation matrix is
[0024] Step 2.3: Set the acceleration value measured by the MEMS accelerometer in the current sampling period to The acceleration value obtained in the previous sampling period is After converting the accelerometer measurement value to the carrier system, the velocity increment Δv of the projectile flight is calculated using trapezoidal integration. k , the formula is:
[0025]
[0026] Step 2.4: Set the initial velocity of the projectile carrier coordinate system obtained by measuring the muzzle initial velocity to v 0 , then calculate the velocity vector v of the carrier coordinate system when the projectile is flying b for:
[0027]
[0028] In step 3, the velocity vector of the projectile in the navigation coordinate system is measured by GNSS, and after time alignment with the velocity vector of the carrier system, the Wahba cost function is constructed as follows:
[0029] The velocity vector of the projectile in the navigation coordinate system is measured by GNSS. After time alignment with the velocity vector of the carrier system, the constructed Wahba cost function is:
[0030]
[0031] Where L(·) represents the cost function; x i is the weight coefficient, the value is 1; v gnss represents the velocity vector of the projectile in the navigation system measured by GNSS; v b is the velocity vector in the projectile carrier coordinate system; n represents the number of velocity vector groups brought into the cost function, with a value of 60 to 100; l is the resolution coefficient, with a value of 4 or 8; Represents the optimal rotation matrix to be calculated, which is the rotation matrix representation of the initial posture;
[0032] Euler angles are used as input parameters of the optimization algorithm, and the conversion function between Euler angles and rotation matrices for:
[0033]
[0034] in, represents the conversion function between Euler angles and rotation matrix; γ represents the roll angle, θ represents the pitch angle, and ψ represents the yaw angle; A eul Represents a vector consisting of roll angle, pitch angle, and yaw angle;
[0035] Then the cost function J(A eul )for:
[0036]
[0037] In step 4, based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix, as follows:
[0038] Substitute the Wahba cost function into the BAS algorithm formula, the expression is:
[0039]
[0040] in, represents the value of the Euler angle during the algorithm iteration process; η represents the attenuation factor of the iteration step, which is 0.9; ξ i represents the iteration step of the function coordinate value at each iteration; sign(·) represents the sign function; dbas is the random coefficient, and the calculation formula is:
[0041]
[0042] Where rand(·) represents a random function, K represents the function dimension, and its value is 3 in the application environment of initial alignment;
[0043] as well as The calculation formula is:
[0044]
[0045] A projectile-carrying moving base initial alignment device based on a BAS algorithm, the device is used to implement the projectile-carrying moving base initial alignment method based on the BAS algorithm; the device comprises a muzzle velocity measurement module, a projectile carrier coordinate system motion velocity measurement and calculation module, a projectile navigation coordinate system motion velocity measurement module, a BAS algorithm module and a final initial alignment module, wherein:
[0046] The muzzle velocity measurement module obtains the rotation speed of the projectile after it leaves the barrel through a giant magnetoresistance sensor, and calculates the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling twist;
[0047] The projectile carrier coordinate system motion velocity measurement and calculation module uses a MEMS inertial navigation sensor to measure the projectile motion angular velocity and acceleration, and uses a velocity update algorithm to calculate the carrier system velocity vector during the projectile flight;
[0048] The projectile navigation coordinate system motion speed measurement module uses GNSS to measure the velocity vector of the projectile in the navigation coordinate system, and after time alignment with the carrier system velocity vector, constructs a Wahba cost function;
[0049] The BAS algorithm module calculates the optimal rotation matrix using the BAS algorithm based on the Wahba cost function to minimize the cost function value, terminates the initial alignment when the number of iteration results that are the same reaches a preset value, and retains the estimated results of the pitch angle and the yaw angle;
[0050] The final initial alignment module uses the pitch angle and yaw angle obtained by the BAS algorithm module as the iterative initial values, and uses the BAS algorithm to perform the second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle and roll angle.
[0051] A mobile terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm is implemented.
[0052] A computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps in the method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm are implemented.
[0053] Compared with the prior art, the present invention has the following significant advantages: (1) no complex singular value decomposition calculation is required, thus avoiding the influence of sensor noise on the singular value decomposition calculation and reducing the requirement for equipment computing power; (2) an improved Wahba cost function is established, and the cost function of the optimal rotation matrix is calculated using the BAS algorithm, which makes the optimization process faster and improves the efficiency of the optimization algorithm; (3) the algorithm's requirement on the number of velocity vector group measurements is reduced, thus reducing the preparation time of the initial alignment algorithm; (4) there is no need to calculate the cost function gradient, thus reducing the amount of calculation of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a flow chart of a method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm of the present invention.
[0055] Figure 2 It is a flow chart of the secondary estimation method in the present invention.
[0056] Figure 3 3 is a numerical distribution diagram of the Wahba function before improvement in the embodiment of the present invention.
[0057] Figure 4 3 is a numerical distribution diagram of the improved Wahba function in an embodiment of the present invention.
[0058] Figure 5 3 is a numerical distribution diagram of the Wahba function in the process of re-estimation of the roll angle in an embodiment of the present invention.
[0059] Figure 6 3 is a comparison curve diagram of the results of estimating the initial pitch angle using the BAS method and the SVD method in an embodiment of the present invention.
[0060] Figure 7 3 is a comparison curve diagram of the results of estimating the initial roll angle using the BAS method and the SVD method in an embodiment of the present invention.
[0061] Figure 8 It is a comparison curve diagram of the results of estimating the initial yaw angle by the BAS method and the SVD method in an embodiment of the present invention.
[0062] Fig. 9 3 is an error distribution diagram of 100 simulation experiments of the BAS method in an embodiment of the present invention.
[0063] Fig.10 3 is a comparison chart of the results of estimating the initial pitch angle using the BAS method and the SVD method in a sports car experiment in an embodiment of the present invention.
[0064] Fig.11 3 is a comparison chart of the results of estimating the initial roll angle using the BAS method and the SVD method in a sports car experiment in an embodiment of the present invention.
[0065] Fig.12 3 is a comparison chart of the results of estimating the initial yaw angle using the BAS method and the SVD method in a sports car experiment in an embodiment of the present invention. DETAILED DESCRIPTION
[0066] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0067] Combination Figure 1 , a missile-loaded dynamic base initial alignment method based on BAS algorithm, comprising the following steps:
[0068] Step 1, muzzle velocity measurement: obtain the rotation speed of the projectile after it leaves the barrel through the giant magnetoresistance sensor, and calculate the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling winding;
[0069] Step 2: Measurement and calculation of the motion velocity of the projectile carrier coordinate system: Use the MEMS inertial navigation sensor to measure the angular velocity and acceleration of the projectile, and use the velocity update algorithm to calculate the carrier system velocity vector during the projectile flight;
[0070] Step 3: Measurement of the velocity of the projectile in the navigation coordinate system: Use GNSS to measure the velocity vector of the projectile in the navigation coordinate system, align it with the velocity vector of the carrier system in time, and then construct the Wahba cost function;
[0071] Step 4: Based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix so that the cost function value is minimized. When the number of iteration results that are the same reaches a preset value, the initial alignment is terminated and the estimated results of the pitch angle and yaw angle are retained.
[0072] Step 5: Use the pitch angle and yaw angle obtained in step 4 as the initial values for iteration, and use the BAS algorithm to perform a second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle, and roll angle.
[0073] As a specific example, the MEMS inertial navigation sensor described in step 2 includes a MEMS accelerometer and a MEMS gyroscope.
[0074] As a specific example, in step 2, the angular velocity and acceleration of the projectile are measured using an inertial navigation sensor, and the velocity vector of the carrier system during the projectile flight is calculated using a velocity update algorithm, as follows:
[0075] Step 2.1, set the angular velocity measured by the MEMS gyroscope in the current sampling period to The angular velocity measured in the previous sampling period is The angular increment of the projectile's motion during flight is calculated by trapezoidal integration. The formula is:
[0076]
[0077] The subscript k represents the number of sampling times, Δθ k represents the angular increment of the current cycle, and Δt represents the sampling time;
[0078] Step 2.2, record the angular increment calculated in the previous sampling cycle and the angular increment calculated in the current sampling cycle, and use the angular increments of the current cycle and the previous cycle to calculate the equivalent rotation vector of the projectile posture change. The formula is:
[0079]
[0080] Among them, Φ(k) represents the equivalent rotation vector of the attitude change calculated in this sampling period, Δθ k Represents the angular increment of the current sampling period, Δθ k-1 Indicates the angular increment of the previous sampling period;
[0081] Convert the equivalent rotation vector into a quaternion and a rotation matrix, and denote the corresponding quaternion as q k , the corresponding rotation matrix is
[0082] Step 2.3: Set the acceleration value measured by the MEMS accelerometer in the current sampling period to The acceleration value obtained in the previous sampling period is After converting the accelerometer measurement value to the carrier system, the velocity increment Δv of the projectile flight is calculated using trapezoidal integration. k , the formula is:
[0083]
[0084] Step 2.4: Set the initial velocity of the projectile carrier coordinate system obtained by measuring the muzzle initial velocity to v 0 , then calculate the velocity vector v of the carrier coordinate system when the projectile is flying b for:
[0085]
[0086] As a specific example, in step 3, the velocity vector of the projectile in the navigation coordinate system is measured by GNSS, and after time alignment with the velocity vector of the carrier system, a Wahba cost function is constructed, as follows:
[0087] The velocity vector of the projectile in the navigation coordinate system is measured by GNSS. After time alignment with the velocity vector of the carrier system, the constructed Wahba cost function is:
[0088]
[0089] Where L(·) represents the cost function; x i is the weight coefficient, the value is 1; v gnss represents the velocity vector of the projectile in the navigation system measured by GNSS; v b is the velocity vector in the projectile carrier coordinate system; n represents the number of velocity vector groups brought into the cost function, with a value of 60 to 100; l is the resolution coefficient, with a value of 4 or 8; Represents the optimal rotation matrix to be calculated, which is the rotation matrix representation of the initial posture;
[0090] Euler angles are used as input parameters of the optimization algorithm, and the conversion function between Euler angles and rotation matrices for:
[0091]
[0092] in, represents the conversion function between Euler angles and rotation matrix; γ represents the roll angle, θ represents the pitch angle, and ψ represents the yaw angle; A eul Represents a vector consisting of roll angle, pitch angle, and yaw angle;
[0093] Then the cost function J(A eul )for:
[0094]
[0095] As a specific example, in step 4, based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix so that the cost function value is minimized. When the number of iteration results that are the same reaches a preset value (for example, 10 times), the initial alignment is terminated, and the estimated results of the pitch angle and the yaw angle are retained, as follows:
[0096] Substitute the Wahba cost function into the BAS algorithm formula, the expression is:
[0097]
[0098] in, represents the value of the Euler angle during the algorithm iteration process; η represents the attenuation factor of the iteration step, which is 0.9; ξ i represents the iteration step of the function coordinate value at each iteration; sign(·) represents the sign function; d basis the random coefficient, and the calculation formula is:
[0099]
[0100] Where rand(·) represents a random function, K represents the function dimension, and its value is 3 in the application environment of initial alignment;
[0101] as well as The calculation formula is:
[0102]
[0103] The present invention also provides a projectile-carrying moving base initial alignment device based on the BAS algorithm, which is used to implement the projectile-carrying moving base initial alignment method based on the BAS algorithm as described in any one of claims 1 to 5; the device includes a muzzle velocity measurement module, a projectile carrier coordinate system motion speed measurement and calculation module, a projectile navigation coordinate system motion speed measurement module, a BAS algorithm module, and a final initial alignment module, wherein:
[0104] The muzzle velocity measurement module obtains the rotation speed of the projectile after it leaves the barrel through a giant magnetoresistance sensor, and calculates the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling twist;
[0105] The projectile carrier coordinate system motion velocity measurement and calculation module uses a MEMS inertial navigation sensor to measure the projectile motion angular velocity and acceleration, and uses a velocity update algorithm to calculate the carrier system velocity vector during the projectile flight;
[0106] The projectile navigation coordinate system motion speed measurement module uses GNSS to measure the velocity vector of the projectile in the navigation coordinate system, and after time alignment with the carrier system velocity vector, constructs a Wahba cost function;
[0107] The BAS algorithm module calculates the optimal rotation matrix using the BAS algorithm based on the Wahba cost function to minimize the cost function value, terminates the initial alignment when the number of iteration results that are the same reaches a preset value, and retains the estimated results of the pitch angle and the yaw angle;
[0108] The final initial alignment module uses the pitch angle and yaw angle obtained by the BAS algorithm module as the iterative initial values, and uses the BAS algorithm to perform the second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle and roll angle.
[0109] The present invention also provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm is implemented.
[0110] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the initial alignment method of the missile-loaded dynamic base based on the BAS algorithm are implemented.
[0111] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0112] Example
[0113] This embodiment uses MATLAB projectile flight simulation experiments and sensor data actually collected by the unmanned vehicle to perform semi-physical simulation of the projectile-borne dynamic base initial alignment method based on the BAS algorithm proposed in the present invention to verify its correctness and effectiveness.
[0114] In order to compare the initial posture solution effects of the dynamic base initial alignment method based on the BAS algorithm proposed in the present invention and the traditional SVD-based initial alignment method, the method is firstly simulated and verified using a simulated ballistic environment. At the same time, the two methods are experimented with the actual measured unmanned vehicle sports car experimental data to compare the advantages of the methods and verify the effects of the methods in the actual environment. The robustness of the methods is verified using multiple simulation experiments.
[0115] The specific process of using the BAS algorithm-based initial alignment method for the missile-loaded dynamic base proposed in the present invention to perform semi-physical simulation is as follows: First, build an unmanned vehicle experimental platform with MEMS inertial sensors, wheel odometers (ODO), satellite positioning systems (GNSS), integrated navigation units (IPMV) and on-board main control computers. Carry out sports car experiments in an open field and record sensor data. Use MATLAB installed in the on-board main control computer to record and process sensor acquisition data. Save the original sensor data, processed sensor data and initial alignment results. After the experiment, download the data to detect the initial alignment results.
[0116] In the simulation experiment, the motion trajectory of the projectile during flight and the data of each sensor are simulated. Gaussian noise is used to simulate sensor noise, and the first-order Markov random process is used to simulate the random walk generated by the zero-bias integration of the MEMS inertial sensor. At the same time, the Wahba cost function is plotted during the simulation experiment to show the distribution of the improved Wahba cost function value. During the simulation experiment, the initial posture of the projectile is 60° yaw, 45° pitch, and 75° roll. For the same simulation experiment, the mean absolute error (MAE) and root mean square error (RMSE) of the experimental results are statistically analyzed.
[0117] Table 1 MAE simulation results and estimated time
[0118]
[0119] Table 2 RMSE simulation results and estimated time
[0120]
[0121] Tables 1 and 2 are comparison tables of estimation time and estimation accuracy between the missile-loaded dynamic base initial alignment method based on the BAS algorithm proposed in the present invention and the traditional initial alignment method based on the SVD algorithm in the same simulation experiment. Table 1 is the simulation result of mean absolute error (MAE). Table 2 is the simulation result of root mean square error (RMSE).
[0122] In the sports car experiment, the unmanned vehicle's motion data measured by the integrated navigation (IPMV) unit of the unmanned vehicle itself was used as the reference result. The starting longitude and latitude of the unmanned vehicle's motion trajectory are: 118.8531° east longitude, 32.0265° north latitude; the end longitude and latitude of the unmanned vehicle's trajectory are: 118.8502° east longitude, 32.0276° north latitude. Figure 2 This is the trajectory of the unmanned vehicle measured by the vehicle-mounted IPMV in the unmanned vehicle experiment. The initial postures of the unmanned vehicle measured by the IPMV are: yaw -175.463°, pitch 1.028°, and roll 1.632°.
[0123] Table 3 Posture estimation results and time of the two methods
[0124]
[0125] Table 4 Attitude estimation results and IPMV errors of two methods
[0126]
[0127] Tables 2 to 4 are comparison tables of estimation time and estimation accuracy of the missile-loaded dynamic base initial alignment method based on the BAS algorithm proposed in the present invention and the traditional initial alignment method based on the SVD method in the same sports car experiment. Table 1 shows the attitude estimation results and time of the two methods, and Table 2 shows the attitude estimation results and IPMV errors of the two methods.
[0128] Figure 3 to Figure 5 In order to compare the numerical distribution of the improved Wahba function and the Wahba function before and after the improvement in the initial alignment method of the missile-loaded dynamic base based on the BAS algorithm proposed in the present invention in the simulation experiment, Figure 3 In order to improve the numerical distribution of the previous Wahba function, Figure 4 To improve the numerical distribution of Wahba function, Figure 5 This is the numerical distribution of the Wahba function during the roll angle re-estimation process.
[0129] Figure 6 to Figure 8This is a comparison diagram of the initial posture convergence estimated by the BAS-based initial alignment method and the traditional SVD method in the simulation experiment. From the figure, it can be seen that the method of the present invention has significant advantages over the original method in terms of the number of iterations and estimation time.
[0130] Fig. 9 The error distribution is statistically analyzed after 100 simulation experiments of the method of the present invention. The simulation results show that compared with the initial alignment method based on SVD, the RMSE value of the pitch angle is reduced by 50%, the RMSE value of the roll angle is reduced by 30%, and the RMSE value of the yaw angle is reduced by 40%. The proposed method has obvious advantages in estimation time, which is reduced by 59%.
[0131] Figure 10 to Figure 12 The paper demonstrates the estimation process and results of the initial posture of the unmanned sports car using the initial alignment method based on the BAS algorithm and the traditional SVD-based initial alignment method in the unmanned sports car experiment.
[0132] It can be seen that the BAS-based initial alignment method proposed in the present invention solves the problem that the traditional SVD algorithm-based initial alignment method is easily affected by sensor noise, resulting in a decrease in initial alignment accuracy or failure. Compared with the traditional initial alignment method, the BAS-based initial alignment method has lower requirements for the number and accuracy of velocity vector groups, improves the speed of the initial alignment process and the accuracy of the initial alignment results, avoids complex matrix operations and matrix singular value decomposition calculations, reduces the method's requirements for processor computing power, and reduces equipment costs.
[0133] In summary, compared with the traditional initial alignment method, the BAS-based missile-loaded dynamic base initial alignment device and method proposed in the present invention improves the cost function, adopts a new optimization algorithm, greatly reduces the number of iterations, improves the accuracy of initial alignment, reduces the time of initial alignment, and avoids complex matrix operations and matrix singular value decomposition processes.
Claims
1. A method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm, characterized in that: The following steps are involved: Step 1, muzzle velocity measurement: obtain the rotation speed of the projectile after it leaves the barrel through the giant magnetoresistance sensor, and calculate the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling winding; Step 2: Measurement and calculation of the motion velocity of the projectile carrier coordinate system: Use the MEMS inertial navigation sensor to measure the angular velocity and acceleration of the projectile, and use the velocity update algorithm to calculate the carrier system velocity vector during the projectile flight; Step 3: Measurement of the velocity of the projectile in the navigation coordinate system: Use GNSS to measure the velocity vector of the projectile in the navigation coordinate system, align it with the velocity vector of the carrier system in time, and then construct the Wahba cost function; Step 4: Based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix so that the cost function value is minimized. When the number of iteration results that are the same reaches a preset value, the initial alignment is terminated and the estimated results of the pitch angle and yaw angle are retained. Step 5: Use the pitch angle and yaw angle obtained in step 4 as the initial values for iteration, and use the BAS algorithm to perform a second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle, and roll angle.
2. The method for initial alignment of a missile-loaded dynamic base based on the BAS algorithm according to claim 1 is characterized in that: The MEMS inertial navigation sensor described in step 2 includes a MEMS accelerometer and a MEMS gyroscope.
3. The method for initial alignment of a missile-loaded dynamic base based on the BAS algorithm according to claim 2 is characterized in that: In step 2, the inertial navigation sensor is used to measure the angular velocity and acceleration of the projectile, and the velocity update algorithm is used to calculate the velocity vector of the carrier system during the projectile flight, as follows: Step 2.1, set the angular velocity measured by the MEMS gyroscope in the current sampling period to The angular velocity measured in the previous sampling period is The angular increment of the projectile's motion during flight is calculated by trapezoidal integration. The formula is: The subscript k represents the number of sampling times, Δθ k represents the angular increment of the current cycle, and Δt represents the sampling time; Step 2.2, record the angular increment calculated in the previous sampling cycle and the angular increment calculated in the current sampling cycle, and use the angular increments of the current cycle and the previous cycle to calculate the equivalent rotation vector of the projectile posture change. The formula is: Among them, Φ(k) represents the equivalent rotation vector of the attitude change calculated in this sampling period, Δθ k Represents the angular increment of the current sampling period, Δθ k-1 Indicates the angular increment of the previous sampling period; Convert the equivalent rotation vector into a quaternion and a rotation matrix, and denote the corresponding quaternion as q k , the corresponding rotation matrix is Step 2.3: Set the acceleration value measured by the MEMS accelerometer in the current sampling period to The acceleration value obtained in the previous sampling period is After converting the accelerometer measurement value to the carrier system, the velocity increment Δv of the projectile flight is calculated using trapezoidal integration. k , the formula is: Step 2.4: Set the initial velocity of the projectile carrier coordinate system obtained by muzzle velocity measurement as v0, and calculate the velocity vector v of the carrier coordinate system when the projectile is flying. b for:
4. The method for initial alignment of a missile-loaded dynamic base based on the BAS algorithm according to claim 3 is characterized in that: In step 3, the velocity vector of the projectile in the navigation coordinate system is measured by GNSS, and after time alignment with the velocity vector of the carrier system, the Wahba cost function is constructed as follows: The velocity vector of the projectile in the navigation coordinate system is measured by GNSS. After time alignment with the velocity vector of the carrier system, the constructed Wahba cost function is: Where L(·) represents the cost function; x i is the weight coefficient, which takes the value of 1; v gnss represents the velocity vector of the projectile in the navigation system measured by GNSS; v b is the velocity vector in the projectile carrier coordinate system; n represents the number of velocity vector groups brought into the cost function, with a value of 60 to 100; l is the resolution coefficient, with a value of 4 or 8; Represents the optimal rotation matrix to be calculated, which is the rotation matrix representation of the initial posture; Euler angles are used as input parameters of the optimization algorithm, and the conversion function between Euler angles and rotation matrices for: in, represents the conversion function between Euler angles and rotation matrix; γ represents the roll angle, θ represents the pitch angle, and ψ represents the yaw angle; A eul Represents a vector consisting of roll angle, pitch angle, and yaw angle; Then the cost function J(A eul )for:
5. The method for initial alignment of a missile-loaded dynamic base based on the BAS algorithm according to claim 4 is characterized in that: In step 4, based on the Wahba cost function, the BAS algorithm is used to calculate the optimal rotation matrix, as follows: Substitute the Wahba cost function into the BAS algorithm formula, the expression is: in, represents the value of the Euler angle during the algorithm iteration process; η represents the attenuation factor of the iteration step, which is 0.9; ξ i represents the iteration step of the function coordinate value at each iteration; sign(·) represents the sign function; d bas is the random coefficient, and the calculation formula is: Where rand(·) represents a random function, K represents the function dimension, and its value is 3 in the application environment of initial alignment; as well as The calculation formula is:
6. A missile-loaded dynamic base initial alignment device based on BAS algorithm, characterized in that: The device is used to implement the initial alignment method of the projectile-carrying moving base based on the BAS algorithm as described in any one of claims 1 to 5; the device includes a muzzle velocity measurement module, a projectile carrier coordinate system motion speed measurement and calculation module, a projectile navigation coordinate system motion speed measurement module, a BAS algorithm module and a final initial alignment module, wherein: The muzzle velocity measurement module obtains the rotation speed of the projectile after it leaves the barrel through a giant magnetoresistance sensor, and calculates the initial velocity of the projectile after it leaves the barrel based on the relationship between the rotation speed and the rifling twist; The projectile carrier coordinate system motion velocity measurement and calculation module uses a MEMS inertial navigation sensor to measure the projectile motion angular velocity and acceleration, and uses a velocity update algorithm to calculate the carrier system velocity vector during the projectile flight; The projectile navigation coordinate system motion speed measurement module uses GNSS to measure the velocity vector of the projectile in the navigation coordinate system, and after time alignment with the carrier system velocity vector, constructs a Wahba cost function; The BAS algorithm module calculates the optimal rotation matrix using the BAS algorithm based on the Wahba cost function to minimize the cost function value, terminates the initial alignment when the number of iteration results that are the same reaches a preset value, and retains the estimated results of the pitch angle and the yaw angle; The final initial alignment module uses the pitch angle and yaw angle obtained by the BAS algorithm module as the iterative initial values, and uses the BAS algorithm to perform the second initial alignment to obtain the final initial alignment results of the pitch angle, yaw angle and roll angle.
7. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the initial alignment method of the missile-loaded dynamic base based on the BAS algorithm as described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for initial alignment of a missile-loaded dynamic base based on a BAS algorithm as described in any one of claims 1 to 5 are implemented.
