Path tracking control method for unmanned mine car on abrupt slope road section
By using the adaptive Kalman filter method to estimate road slope changes online, combined with adaptive model predictive control, the problem of speed and path tracking of unmanned mine trucks on steep slopes is solved, and driving safety and smoothness are improved.
Patent Information
- Application Number
- CN202410604476.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-13
AI Technical Summary
In the case of mine transportation roads with steep slopes and many curves, it is difficult for unmanned mining trucks to achieve reasonable speed planning and path tracking, leading to dangerous phenomena such as rapid deceleration on downhill slopes and rolling cars on uphill slopes. Existing slope estimation methods cannot Fully consider slope changes, which affect accuracy.
The adaptive Kalman filter method is used to estimate road slope and slope changes online, and the trajectory tracking control algorithm is designed based on vehicle motion status and road environment information. Longitudinal and lateral motion control is performed through adaptive model predictive control, and vehicle path and speed planning are optimized.
It improves the driving safety and smoothness of unmanned mine trucks on steep slopes, achieves accurate estimation of road gradient and precise tracking of speed and path, and enhances driving stability and safety.
Smart Images

Figure CN118642480A
Abstract
Description
Technical Field
[0001] The invention relates to the field of unmanned vehicle motion control, and in particular to a path tracking control method for an unmanned mining vehicle on a steep slope. Background Art
[0002] Most sections of open-pit mine transportation roads have the characteristics of large slopes, many curves, and large transportation volumes. The complex road environment places higher demands on the skills of mining truck drivers. The realization of unmanned mining trucks is of great significance for improving the working environment of mining transportation workers, improving transportation safety and transportation efficiency. Research on unmanned mining trucks has important social significance and broad application prospects.
[0003] Mine transportation roads usually have large slope changes, many bends and uneven roads, which affect the speed and smoothness of unmanned mine vehicles when going up and downhill. Especially on steep slopes, if the unmanned mine vehicle cannot perform reasonable speed planning, it is easy to cause dangerous phenomena such as falling blocks due to rapid deceleration on the downhill, or slipping on the uphill. To avoid these dangerous situations, it is necessary to perform reasonable speed planning for the unmanned mine vehicle based on the road slope information, and perform precise speed tracking control and path tracking control.
[0004] In order to solve the problem of real-time detection of road slope, domestic and foreign scholars have conducted a lot of research on slope estimation. The research methods mainly focus on the Kalman Filter (KF) method and the Recursive Least Square (RLS) method. The existing slope estimation methods rarely consider the slope change, which will affect the accuracy of slope estimation. Therefore, it is urgent to design an unmanned mine car control method that can accurately estimate the road slope and accurately track the planned speed and path. Summary of the invention
[0005] In view of the situation that the mine transportation road has steep slope and many curves, the present invention provides a path tracking control method for an unmanned mine car on a steep slope section. The method adopts an adaptive Kalman filtering method to perform online estimation of the road slope and slope change, and designs a mine car trajectory tracking control algorithm according to the slope and slope change estimation results, thereby improving the driving safety and smoothness of the unmanned mine car.
[0006] The technical solution adopted by the present invention is:
[0007] A method for controlling the path tracking of an unmanned mining vehicle on a steep slope comprises the following steps:
[0008] Step 1: Collect vehicle motion status information and road environment information;
[0009] Step 2: Establish a time-varying reference model of road slope and a vehicle dynamics model;
[0010] Step 3: Based on the vehicle motion state information, an adaptive Kalman filter algorithm is used to perform online estimation of the road slope and slope change;
[0011] Step 4: Plan the vehicle's motion trajectory and determine the vehicle's expected speed and path.
[0012] Step 5: Based on the vehicle motion state and slope estimation result information, the vehicle longitudinal acceleration and deceleration control law is designed using an adaptive model predictive control algorithm;
[0013] Step 6: Based on the vehicle motion state and slope estimation result information, an adaptive model predictive control algorithm is used to design the vehicle lateral motion control law.
[0014] In step 1, the vehicle motion state information is mainly collected through vehicle-mounted sensors such as the Internet of Vehicles and the Inertial Measurement Unit (IMU), and the information mainly includes: the longitudinal speed v of the vehicle in the vehicle body coordinate system x , the lateral velocity v of the vehicle in the vehicle body coordinate system y , the vertical velocity v of the vehicle in the vehicle body coordinate system z , the pitch angular velocity ω of the vehicle in the vehicle body coordinate system y , the vehicle's yaw angular velocity ω in the vehicle body coordinate system z , front wheel turning angle δ f , the longitudinal position X of the vehicle in the inertial coordinate system O and lateral position Y O , the yaw angle of the vehicle in the inertial coordinate system
[0015] Road environment information includes: global reference path information, obstacle information near the vehicle;
[0016] The global reference path is a pre-set geometric curve in the global coordinate system, which is mainly collected through the Internet of Vehicles.
[0017] The obstacle information near the vehicle is mainly collected through lidar, including: the distance and angle of the obstacle relative to the vehicle and the space occupied by the obstacle.
[0018] The schematic diagram of the global coordinate system, vehicle coordinate system and road environment information is as follows: Figure 1 shown. Figure 1 In the figure, XOY is the global coordinate system, xoy is the vehicle coordinate system, is the yaw angle of the vehicle in the inertial coordinate system, l ob is the distance between the obstacle and the vehicle, αob is the angle of the obstacle relative to the vehicle.
[0019] In step 2, the road slope time-varying reference model is as shown in formula (1):
[0020]
[0021] In formula (1): T s is the system sampling time; k is the sampling time; θ s (k) and θ s (k+1) are the sine values of the road slope angles at time k and time k+1 respectively; and They are θ s The first, second and third derivatives of (k+1); and They are θ s (k) The first, second and third derivatives.
[0022] The schematic diagram of the time-varying reference model of road slope is as follows: Figure 2 shown.
[0023] In step 2, the vehicle dynamics model is in the form of formula (2):
[0024]
[0025] In formula (2): v x is the longitudinal velocity of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, is the yaw angle of the vehicle in the inertial coordinate system, ω z is the yaw angular velocity of the vehicle in the vehicle body coordinate system, X O and Y O are the longitudinal and lateral positions of the vehicle in the inertial coordinate system, δ f is the front wheel turning angle, θ s is the sine value of the road slope angle, λ(k) is the state vector of the vehicle dynamics equation at time k, is the first-order derivative of λ(k), and D[] represents the mathematical mapping adopted by the vehicle dynamics equations.
[0026] In step 2, when the vehicle dynamics model is used to calculate the vehicle state, the tire cornering stiffness parameter is often required. The method for obtaining the tire cornering stiffness value of the present invention is specifically as follows:
[0027] First, the relationship between the tire cornering stiffness and the tire vertical force is fitted offline. The fitting function uses the Fourier function, as shown in formula (3):
[0028] C α =a0+a1 cos(wF z )+b1 sin(wF z ) (3);
[0029] In formula (3): F z is the vertical force of the ground on the tire, C α is the tire cornering stiffness, a0, a1, w and b1 are fitting parameters.
[0030] The sensor is then used to obtain the tire vertical force, and the tire cornering stiffness is obtained by calculating the fitting function.
[0031] In step 3, the state equation and measurement equation of the adaptive Kalman filter algorithm are shown in equation (4):
[0032]
[0033] In formula (4): T s is the system sampling time, X(k-1) and X(k) are the values of the estimated state vector X at time k-1 and time k respectively, and W k-1 is the system noise at time k-1, V k is the measurement noise at time k, Z(k) is the measurement value matrix at time k, θ s (k) is the sine value of the road slope angle at time k; and They are θ s The first, second and third derivatives of (k+1); Z1(k) and Z2(k) are θ s (k) and The measurement value of Z1(k) is as shown in formula (5):
[0034]
[0035] In formula (5), m is the vehicle curb mass, g is the gravitational acceleration, δ V is the vehicle rotation mass conversion factor, is the longitudinal acceleration of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, v z is the vertical velocity of the vehicle in the vehicle body coordinate system, ω y is the pitch angular velocity of the vehicle in the vehicle body coordinate system, ω z is the yaw rate of the vehicle in the vehicle body coordinate system, δ f is the front wheel turning angle. tq is the driving force, F bk is the braking force, F aero is the air resistance, Ff is the rolling resistance, F yf is the lateral force on the front wheel.
[0036] Z2(k) is The measured value of is obtained by discrete sampling of Z1(k), as shown in formula (6):
[0037]
[0038] In formula (6): Z1(k-1) is the k-1 moment θ s The measured value of .
[0039] The simplified formula (4) is:
[0040]
[0041] In formula (7), Φ is the state transfer matrix, H is the measurement matrix, X k-1 and X k The state vectors X and Z to be estimated at time k-1 and time k are k is the measurement value matrix at time k, W k-1 is the system noise at time k-1, V k is the measurement noise at time k.
[0042] The Kalman filter algorithm is shown in formula (8):
[0043]
[0044] In formula (8): is the one-step prediction value of the state at time k, is the estimated value of the state at time k-1, is the state estimation value at time k, Φ is the state transfer matrix in equation (7), H is the measurement matrix in equation (7), P k / k-1 is the one-step prediction mean square error matrix at time k, P k-1 is the estimated mean square error matrix at time k-1, P k is the estimated mean square error matrix at time k, K k is the Kalman gain at time k, Q k-1 is the system noise covariance matrix at time k-1, R k is the covariance matrix of the measurement noise at time k. The definitions of the system noise covariance matrix and the measurement noise covariance matrix are shown in formula (9):
[0045]
[0046] In formula (9): W k is the system noise at time k, V k and Vj are the measurement noise at time k and time j, Q k and R k are the system noise covariance matrix and the measurement noise covariance matrix at time k, E[] is the mean, and δ is the impulse function.
[0047] In step 3, the Sage-Husa algorithm is used to estimate the covariance matrix of the system noise and the covariance matrix of the measurement noise, and the upper and lower limit constraints are imposed on the estimation results to enhance the adaptability of the Kalman filter algorithm, specifically:
[0048] First, the forgetting factor and residual at time k are calculated, as shown in equation (10) and equation (11) respectively:
[0049]
[0050] In formula (10): β k-1 and β k are the forgetting factors at time k-1 and k respectively, b is a constant, and 0 <b<1。
[0051]
[0052] In formula (11): e k / k-1 is the residual at time k, Z k is the measurement value matrix at time k in equation (7), H is the measurement matrix in equation (7), is the one-step prediction value of the state at time k in equation (8).
[0053] Q k and r k As shown in formula (12) and formula (13):
[0054]
[0055] In formula (12): K k is the Kalman gain at time k in equation (8), Φ is the state transfer matrix in equation (7), P k-1 is the estimated mean square error matrix at time k-1 in equation (8). k is the estimated mean square error matrix at time k in equation (8).
[0056]
[0057] In formula (13): P k / k-1 is the one-step prediction mean square error matrix at time k in equation (8).
[0058] Finally, the estimated values of the covariance matrix of the system noise and the covariance matrix of the measurement noise are obtained, as shown in equations (14) and (15) respectively:
[0059]
[0060] In formula (14): is the estimated value of the system noise covariance matrix at time k-1, Q max and Q min are the upper and lower limit estimates of the system noise covariance matrix, respectively.
[0061]
[0062] In formula (15): is the estimated value of the measurement noise covariance matrix at time k, R max and R min are the upper and lower limit estimates of the measurement covariance matrix, respectively.
[0063] In step 4, the expected path is the result of optimizing the global reference path based on known local information such as obstacles, and the expected longitudinal position X in the inertial coordinate system is obtained. ref , expected horizontal position Y ref and the desired yaw angle The expected path diagram is shown in Figure 3 The expected speed is the expected longitudinal speed v in the vehicle body coordinate system. xref express.
[0064] In step 5, the prediction model used by the model predictive controller is shown in formula (16):
[0065]
[0066] In formula (16): T s is the sampling time of the system, δ V is the vehicle rotation mass conversion coefficient, x(k) and x(k+1) are the state vectors at time k and k+1 respectively, v x (k) is the longitudinal velocity of the vehicle at time k, a x (k) is the longitudinal acceleration of the vehicle at time k, and are the values of θ in step 3 respectively. s , and The estimated result is a xref (k-1) and a xref (k) are the expected longitudinal acceleration at time k-1 and time k, respectively, Δa xref(k-1) represents the first-order increment of the expected longitudinal acceleration from time k-1 to time k, τ0 is the time constant, which represents the delay of the actual acceleration of the vehicle in responding to the expected acceleration. A is the state matrix, and B is the input matrix.
[0067] The adaptive model prediction problem is reduced to an optimization problem, and the longitudinal acceleration control law is obtained by solving the following optimization problem:
[0068]
[0069] In formula (17): v xref (k) is the expected longitudinal velocity at time k, C is the output matrix, N PV is the prediction time domain, N CV is the control time domain, and N PV ≥N CV , Q V The weight matrix of the longitudinal velocity tracking error, R V The weight matrix representing the expected longitudinal acceleration change, ρ V is the relaxation factor, f i (Δa xref )b i represents the i-th pair Δa xref The constraint, f i is the mathematical mapping of the ith constraint, b i is the bound of the ith constraint, N V is the number of constraints, J V represents the cost function, argminJ V represents the minimization J V .
[0070] In step 6, the prediction model used by the model predictive controller is shown in formula (18):
[0071]
[0072] In formula (18): T s is the sampling time of the system, ζ(k) and ζ(k+1) are the state vectors at time k and time k+1 respectively, δ f (k-1) and δ f (k) are the front wheel turning angles at time k-1 and time k, Δδ f (k-1) represents the first-order increment of the front wheel steering angle from time k-1 to time k, D is the mathematical mapping of the vehicle dynamics equation established in step 2, O and I are the zero matrix and unit matrix of the corresponding order, respectively. is the value of θ in step 3 s The estimation result is: d(k) represents the linearization error at time k, λ(k) is the state variable of the vehicle dynamics equation at time k in equation (2), is the first-order derivative of λ(k) in equation (2), A L represents the state matrix, B L Represents the input matrix.
[0073] The adaptive model prediction problem is reduced to an optimization problem, and the vehicle lateral motion control law is obtained by solving the optimization problem:
[0074]
[0075] In formula (19): T ref (k) is the expected path at time k, C t is the output matrix, N PL is the prediction time domain, N CL is the control time domain, and N PL ≥N CL , Q L Represents the weight matrix of trajectory tracking error, R L The weight matrix representing the change in the front wheel steering angle, ρ L is the relaxation factor, h i (Δδ f )c i represents the i-th pair Δδ f Constraints, h i is the mathematical mapping of the ith constraint, c i is the bound of the ith constraint, N L is the number of constraints, J L represents the cost function, argminJ L represents the minimization J L .
[0076] The present invention provides a path tracking control method for an unmanned mining vehicle on a steep slope section, and the technical effects are as follows:
[0077] 1) In step 1 of the present invention, the vehicle motion state information and road environment information are mainly collected through vehicle-mounted sensors such as the Internet of Vehicles and an inertial measurement unit, and the information collection is easy and has high real-time performance.
[0078] 2) In step 2 of the present invention, a road slope time-varying reference model is established to describe the road slope, which fully considers the variation of the road slope and has high accuracy. At the same time, the relationship between the tire vertical force and the cornering stiffness is fitted offline using the Fourier function, which can improve the accuracy of the cornering stiffness.
[0079] 3) Step 3 of the present invention utilizes an adaptive Kalman filter algorithm, which can not only estimate the road slope, but also estimate the slope change, providing more comprehensive road information for subsequent steps.
[0080] 4) Step 4 of the present invention plans the expected vehicle speed and expected path in real time according to the road slope information, which can improve driving safety.
[0081] 5) Step 5 of the present invention fully considers the influence of slope in longitudinal speed control, adds road slope and slope change to the prediction model of the controller to improve the longitudinal speed tracking accuracy, and adds constraints on the longitudinal acceleration change to improve driving smoothness.
[0082] 6) In step 6 of the present invention, the road slope measurement is added to the prediction model of the controller to further improve the trajectory tracking accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0084] Figure 1 Schematic diagram of the global coordinate system, vehicle coordinate system and road environment.
[0085] Figure 2 Schematic diagram of the time-varying reference model of road slope.
[0086] Figure 3 A schematic diagram of the expected path.
[0087] Figure 4 A flow chart of a path tracking control method for an unmanned mine car in an open-pit mine provided by an embodiment of the present invention.
[0088] Figure 5 is the result of slope estimation in the embodiment of the present invention.
[0089] Figure 6 This is the result of the vehicle tracking the sinusoidal velocity sequence in the embodiment of the present invention.
[0090] Figure 7 It is the motion trajectory of the vehicle when tracking the sinusoidal velocity sequence in the embodiment of the present invention. DETAILED DESCRIPTION
[0091] A method for tracking and controlling the trajectory of an unmanned mine car on a steep slope section in an open-pit mine includes: real-time acquisition of the vehicle's current motion state information and road environment information; establishing a road slope time-varying reference model and a vehicle dynamics model; based on the vehicle motion state information, using an adaptive Kalman filter method to estimate the road slope and slope change online; planning the vehicle motion trajectory to plan the vehicle's expected driving speed and expected path; based on the vehicle state information, expected speed and slope information, using an adaptive model predictive control method to design a longitudinal motion controller, design a longitudinal acceleration control law, and achieve accurate tracking of the speed through engine and brake control; based on the vehicle motion information, expected path information, and slope and slope change information, using an adaptive model predictive control method to design a front wheel angle control law. The present invention accurately estimates the road slope and slope change online by designing an adaptive Kalman filter, and then integrates the road slope and slope change information to design a controller, which can improve the path tracking accuracy, speed change smoothness, and driving safety of the unmanned mine car when traveling on steep slope sections.
[0092] An adaptive control method for unmanned mine cars on steep slopes in open-pit mines, the flow chart is as follows Figure 4 As shown, the method comprises the following steps:
[0093] Step 1: Collect vehicle motion status information and road environment information:
[0094] The vehicle motion status information is mainly collected through vehicle-mounted sensors such as the Internet of Vehicles and inertial measurement units. The information mainly includes: the longitudinal speed v of the vehicle in the vehicle body coordinate system x , the lateral velocity v of the vehicle in the vehicle body coordinate system y , the vertical velocity v of the vehicle in the vehicle body coordinate system z , the pitch angular velocity ω of the vehicle in the vehicle body coordinate system y , the vehicle's yaw angular velocity ω in the vehicle body coordinate system z , front wheel turning angle δ f , the longitudinal position X of the vehicle in the inertial coordinate system O and lateral position Y O , the yaw angle of the vehicle in the inertial coordinate system
[0095] Road environment information includes: global reference path information and obstacle information near the vehicle.
[0096] The global reference path is a pre-set geometric curve in the global coordinate system, which is mainly collected through the Internet of Vehicles.
[0097] The obstacle information near the vehicle is mainly collected through lidar, including: the distance and angle of the obstacle relative to the vehicle and the spatial range occupied by the obstacle.
[0098] Step 2: Establish a road slope time-varying reference model and a vehicle dynamics model. The road slope time-varying reference model expression is shown in formula (1):
[0099]
[0100] In formula (1): T s is the system sampling time, k is the sampling time, θ s (k) and θ s (k+1) are the sine values of the road slope angles at time k and time k+1, and They are θ s The first, second and third derivatives of (k+1), and They are θ s (k) The first, second and third derivatives.
[0101] In an embodiment of the present invention, the vehicle dynamics model is established as shown in formula (20):
[0102]
[0103] In formula (20), m is the vehicle curb mass, δ V is the vehicle rotation mass conversion factor, v x is the longitudinal velocity of the vehicle in the vehicle body coordinate system, is the longitudinal acceleration of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, v z is the vertical velocity of the vehicle in the vehicle body coordinate system, ω y is the pitch angular velocity of the vehicle in the vehicle body coordinate system, ω z is the yaw angular velocity of the vehicle in the vehicle body coordinate system, F tq is the driving force, F bk is the braking force, F aero is the air resistance, F f is the rolling resistance, F yf and F yr The lateral forces of the front and rear wheels, δ f is the front wheel turning angle, I z is the vehicle yaw moment of inertia, L f and L r are the distances from the vehicle's center of mass to the front and rear axles, respectively, X O and Y O are the longitudinal and lateral positions of the vehicle in the inertial coordinate system, and For X O and YO The first derivative of is the yaw angle of the vehicle in the inertial coordinate system, θ s It is the sine value of the road slope angle at the current moment.
[0104] In formula (20), the tire cornering stiffness must be determined before F yf and F yr The tire cornering stiffness value of the present invention is obtained by the following method: first, the relationship between the tire cornering stiffness and the vertical force is fitted offline, and the fitting function adopts the Fourier function, as shown in formula (3):
[0105] C α =a0+a1cos(wF z )+b1sin(wF z ) (3);
[0106] In formula (3): F z is the vertical force of the ground on the tire; C α is the tire cornering stiffness, a0, a1, w and b1 are fitting parameters.
[0107] The sensor is then used to obtain the vertical force, and the fitting function is calculated to obtain the tire cornering stiffness.
[0108] Step 3: Based on the vehicle motion state information, the adaptive Kalman filter method is used to estimate the road slope and slope change online. The state equation and measurement equation of the Kalman filter algorithm are shown in formula (4):
[0109]
[0110] In formula (4), X(k-1) and X(k) are the values of the estimated state vector X at time k-1 and time k respectively, and W k-1 is the system noise at time k-1, V k is the measurement noise at time k, θ s (k) is the sine value of the road slope angle at time k, and They are θ s (k), Z(k) is the measurement value matrix at time k, Z1(k) and Z2(k) are θ s (k) and The measured value of .
[0111] Z1(k) is specifically shown in formula (5):
[0112]
[0113] In formula (5), m is the vehicle curb weight, δ Vis the vehicle rotation mass conversion factor, is the longitudinal acceleration of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, v z is the vertical velocity of the vehicle in the vehicle body coordinate system, ω y is the pitch angular velocity of the vehicle in the vehicle body coordinate system, ω z is the yaw rate of the vehicle in the vehicle body coordinate system, δ f is the front wheel turning angle. tq is the driving force, F bk is the braking force, F aero is the air resistance, F f is the rolling resistance, F yf is the lateral force on the front wheel.
[0114] Z2(k) is The measured value of is obtained by discrete sampling of Z1(k), as shown in formula (6):
[0115]
[0116] In formula (6): Z1(k-1) is the k-1 moment θ s The measured value of .
[0117] The simplified formula (4) is:
[0118]
[0119] In formula (7), Φ is the state transfer matrix, H is the measurement matrix, X k-1 is the state vector X, Z to be estimated at time k-1 k is the measurement value matrix at time k, W k-1 is the system noise at time k-1, V k is the measurement noise at time k.
[0120] The Kalman filter algorithm is shown in formula (8):
[0121]
[0122] In formula (8): is the one-step prediction value of the state at time k, is the estimated value of the state at time k-1, is the state estimation value at time k, Φ is the state transfer matrix in equation (7), H is the measurement matrix in equation (7), P k / k -1 is the one-step prediction mean square error matrix at time k, P k-1 is the estimated mean square error matrix at time k-1, P k is the estimated mean square error matrix at time k, Kk is the Kalman gain at time k, Q k-1 is the system noise covariance matrix at time k-1, R k is the covariance matrix of the measurement noise at time k. The definitions of the system noise covariance matrix and the measurement noise covariance matrix are shown in equation (9):
[0123]
[0124] In formula (9): W k is the system noise at time k, V k and V j are the measurement noise at time k and time j, Q k and R k are the system noise covariance matrix and the measurement noise covariance matrix at time k, respectively. E[] represents the mean and δ represents the impulse function.
[0125] The Sage-Husa algorithm is used to estimate the covariance matrix of the system noise and the covariance matrix of the measurement noise, and the upper and lower limits of the estimation results are set to enhance the adaptability of the Kalman filter algorithm. Specifically:
[0126] First, the forgetting factor and residual at time k are calculated, as shown in equation (10) and equation (11) respectively:
[0127]
[0128]
[0129] In formula (10): β k-1 and β k are the forgetting factors at time k-1 and k respectively, b is a constant, and 0 <b<1。
[0130] In formula (11): e k / k-1 is the residual at time k, Z k is the measurement value matrix at time k in equation (7), H is the measurement matrix in equation (7), is the one-step prediction value of the state at time k in equation (8).
[0131] Q k and r k As shown in formula (12) and formula (13):
[0132]
[0133]
[0134] In formula (12): K kis the Kalman gain at time k in equation (8), Φ is the state transfer matrix in equation (7), P k-1 is the estimated mean square error matrix at time k-1 in equation (8), P k is the estimated mean square error matrix at time k in equation (8).
[0135] In formula (13): P k / k-1 is the one-step prediction mean square error matrix at time k in equation (8).
[0136] Finally, the estimated values of the covariance matrix of the system noise and the covariance matrix of the measurement noise are obtained, as shown in equations (14) and (15) respectively:
[0137]
[0138]
[0139] In formula (14): is the estimated value of the system noise covariance matrix at time k-1, Q max and Q min are the upper and lower limit estimates of the system noise covariance matrix, respectively.
[0140] In formula (15): is the estimated value of the measurement noise covariance matrix at time k, R max and R min are the upper and lower limit estimates of the measurement covariance matrix, respectively.
[0141] Step 4: Plan the vehicle's motion trajectory to obtain the vehicle's expected speed and expected path.
[0142] The expected path is the result of optimizing the global reference path based on known local information such as obstacles. ref , expected horizontal position Y ref and the desired yaw angle express;
[0143] The expected speed is the expected longitudinal speed v in the vehicle body coordinate system xref express;
[0144] Step 5: Based on the vehicle motion information, expected speed information and slope estimation results, the expected acceleration is obtained through the adaptive model predictive control method. The prediction model used by the model predictive controller is shown in formula (16):
[0145]
[0146] In formula (16): T s is the sampling time of the system, δV is the vehicle rotation mass conversion coefficient, x(k) and x(k+1) are the state vectors at time k and k+1 respectively, v x (k) is the longitudinal velocity of the vehicle at time k, a x (k) is the longitudinal acceleration of the vehicle at time k, and are the values of θ in step 3 respectively. s , and The estimated result is a xref (k-1) and a xref (k) are the expected longitudinal acceleration at time k-1 and time k, respectively, Δa xref (k-1) represents the first-order increment of the expected longitudinal acceleration from time k-1 to time k, τ0 is the time constant, which represents the delay of the actual acceleration of the vehicle in responding to the expected acceleration. A is the state matrix, and B is the input matrix.
[0147] The adaptive model prediction problem is reduced to an optimization problem, and the longitudinal acceleration control law is obtained by solving the following optimization problem:
[0148]
[0149] In formula (17): v xref (k) is the expected longitudinal velocity at time k, C is the output matrix, N PV is the prediction time domain, N CV is the control time domain, and N PV ≥N CV , Q V Represents the weight matrix of velocity tracking error, R V The weight matrix representing the expected longitudinal acceleration change, ρ V is the relaxation factor, f i (Δa xref )b i represents the i-th pair Δa xref The constraint, f i is the mathematical mapping of the ith constraint, b i is the bound of the ith constraint, N V is the number of constraints, J V represents the cost function, argminJ V represents the minimization J V .
[0150] Step 6: Based on the vehicle motion information, expected path information and slope estimation results, the adaptive model predictive control method is used to design the vehicle lateral motion control law.
[0151] First, simplify formula (20) as follows:
[0152]
[0153] In formula (21): v x is the longitudinal velocity of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, is the yaw angle of the vehicle in the inertial coordinate system, ω z is the yaw angular velocity of the vehicle in the vehicle body coordinate system, X O and Y O are the longitudinal and lateral positions of the vehicle in the inertial coordinate system, δ f is the front wheel turning angle, θ s is the sine value of the road slope angle, λ(k) is the state vector of the vehicle dynamics equation at time k, is the first-order derivative of λ(k), and D[] represents the mathematical mapping of formula (20).
[0154] Then the prediction model of this step can be obtained, as shown in formula (18):
[0155]
[0156] In formula (18): T s is the sampling time of the system, ζ(k) and ζ(k+1) are the state vectors at time k and time k+1 respectively, δ f (k-1) and δ f (k) are the front wheel turning angles at time k-1 and time k, Δδ f (k-1) represents the first-order increment of the front wheel steering angle from time k-1 to time k, g is the mathematical mapping of the vehicle dynamics equation established in step 2, O and I are the zero matrix and unit matrix of the corresponding order, respectively. is the value of θ in step 3 s The estimation result is: d(k) represents the linearization error at time k, λ(k) is the state variable of the vehicle dynamics equation at time k in equation (2), is the first-order derivative of λ(k) in equation (2), A L represents the state matrix, B L Represents the input matrix.
[0157] The adaptive model prediction problem is reduced to an optimization problem, and the vehicle lateral motion control law is obtained by solving the optimization problem:
[0158]
[0159] In formula (19): T ref (k) is the expected path at time k, C t is the output matrix, N PL is the prediction time domain, NCL is the control time domain, and N PL ≥N CL , Q L Represents the weight matrix of trajectory tracking error, R L The weight matrix representing the change in the front wheel steering angle, ρ L is the relaxation factor, h i (Δδ f )c i represents the i-th pair Δδ f Constraints, h i is the mathematical mapping of the ith constraint, c i is the bound of the ith constraint, N L is the number of constraints, J L represents the cost function, argminJ L represents the minimization J L .
[0160] In some embodiments of the present invention, a vehicle passes through a test section at a speed of 40 km / h, and the road slope is estimated using the method proposed by the present invention. The results are as follows: Figure 5 As shown in the figure, on steep slope sections where the road slope changes continuously, the method proposed in the present invention can accurately estimate the road slope. Since the slope change is taken into account in the estimation, the method proposed in the present invention can still maintain a high accuracy even in sections with large slope changes such as near the bottom and top of the slope.
[0161] In some embodiments of the present invention, the expected speed is set as a sinusoidal sequence, and the vehicle is allowed to pass through the test section. The longitudinal speed tracking result is as follows: Figure 6 The trajectory tracking results are shown in Figure 7 As shown, when the road slope changes continuously on a steep slope section, the vehicle can track the desired longitudinal speed and the desired path with a small error, and the vehicle speed jitter is small for most of the time, with good smoothness.
[0162] The results show that when the unmanned mining car is driving on the steep slope section of the mine, the method proposed by the present invention can achieve accurate tracking of the path while accurately tracking the expected speed and expected acceleration, thereby improving the speed change smoothness and driving safety of the vehicle when driving on the steep slope path.
Claims
1. A path tracking control method for unmanned mining vehicles on steep slopes. Features The following steps are involved: Step 1: Collect vehicle motion state information and road environment information; Step 2: Establish a time-varying reference model of road slope and a vehicle dynamics model; Step 3: Based on the vehicle motion state information, an adaptive Kalman filter algorithm is used to perform online estimation of the road slope and slope change; Step 4: Plan the vehicle's motion trajectory and determine the vehicle's expected speed and path. Step 5: Based on the vehicle motion state and slope estimation result information, an adaptive model is used to design the vehicle longitudinal acceleration and deceleration control law; Step 6: Based on the vehicle motion state and slope estimation result information, an adaptive model is used to design the vehicle lateral motion control law.
2. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 1, Features: In step 1, the vehicle motion state information includes: the longitudinal velocity v of the vehicle in the vehicle body coordinate system x , the lateral velocity v of the vehicle in the vehicle body coordinate system y , the vertical velocity v of the vehicle in the vehicle body coordinate system z , the pitch angular velocity ω of the vehicle in the vehicle body coordinate system y , the vehicle's yaw angular velocity ω in the vehicle body coordinate system z , front wheel turning angle δ f , the longitudinal position X of the vehicle in the inertial coordinate system O and lateral position Y O , the yaw angle of the vehicle in the inertial coordinate system Road environment information includes: global reference path information, obstacle information near the vehicle; The global reference path is a geometric curve pre-set in the global coordinate system; The obstacle information near the vehicle includes: the distance and angle of the obstacle relative to the vehicle and the space occupied by the obstacle.
3. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 1, Features: In step 2, the road slope time-varying reference model is as shown in formula (1): In formula (1): T s is the system sampling time; k is the sampling time; θ s (k) and θ s (k+1) are the sine values of the road slope angles at time k and time k+1 respectively; and They are θ s The first, second and third derivatives of (k+1); and They are θ s (k) The first, second and third derivatives.
4. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 3, Features: In step 2, the vehicle dynamics model is in the form of formula (2): In formula (2): v x is the longitudinal velocity of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, is the yaw angle of the vehicle in the inertial coordinate system, ω z is the yaw angular velocity of the vehicle in the vehicle body coordinate system, X O and Y O are the longitudinal and lateral positions of the vehicle in the inertial coordinate system, δ f is the front wheel turning angle, θ s is the sine value of the road slope angle, λ(k) is the state vector of the vehicle dynamics equation at time k, is the first-order derivative of λ(k), and D[] represents the mathematical mapping adopted by the vehicle dynamics equations.
5. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 4, Features: In step 2, the method for obtaining the tire cornering stiffness value is specifically as follows: First, the relationship between the tire cornering stiffness and the tire vertical force is fitted offline. The fitting function uses the Fourier function, as shown in formula (3): C α =a 0 +a 1 cos(wF z )+b 1 sin(wF z ) (3); In formula (3): F z is the vertical force of the ground on the tire, C α is the tire cornering stiffness, a 0 , a 1 , w and b 1 is the fitting parameter; The sensor is then used to obtain the tire vertical force, and the tire cornering stiffness is obtained by calculating the fitting function.
6. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 1, Features: In step 3, the state equation and measurement equation of the adaptive Kalman filter algorithm are shown in equation (4): In formula (4): T s is the system sampling time, X(k-1) and X(k) are the values of the estimated state vector X at time k-1 and time k respectively, and W k-1 is the system noise at time k-1, V k is the measurement noise at time k, Z(k) is the measurement value matrix at time k, θ s (k) is the sine value of the road slope angle at time k; and They are θ s The first, second and third derivatives of (k+1); Z 1 (k) and Z 2 (k) are θ s (k) and The measured value of Z 1 (k) is specifically shown in formula (5): In formula (5), m is the vehicle curb mass, g is the gravitational acceleration, δ V is the vehicle rotation mass conversion factor, is the longitudinal acceleration of the vehicle in the vehicle body coordinate system, v y is the lateral velocity of the vehicle in the vehicle body coordinate system, v z is the vertical velocity of the vehicle in the vehicle body coordinate system, ω y is the pitch angular velocity of the vehicle in the vehicle body coordinate system, ω z is the yaw rate of the vehicle in the vehicle body coordinate system, δ f is the front wheel turning angle; F tq is the driving force, F bk is the braking force, F aero is the air resistance, F f is the rolling resistance, F yf is the lateral force of the front wheel; Z 2 (k) The measured value of Z 1 (k) is obtained by discrete sampling, as shown in formula (6): In formula (6): Z 1 (k-1) is k-1 time θ s The measured value of The simplified formula (4) is: In formula (7), Φ is the state transfer matrix, H is the measurement matrix, X k-1 and X k The state vectors X and Z to be estimated at time k-1 and time k are k is the measurement value matrix at time k, W k-1 is the system noise at time k-1, V k is the measurement noise at time k; The Kalman filter algorithm is shown in formula (8): In formula (8): is the one-step prediction value of the state at time k, is the estimated value of the state at time k-1, is the state estimation value at time k, Φ is the state transfer matrix in equation (7), H is the measurement matrix in equation (7), P k / k-1 is the one-step prediction mean square error matrix at time k, P k-1 is the estimated mean square error matrix at time k-1, P k is the estimated mean square error matrix at time k, K k is the Kalman gain at time k, Q k-1 is the system noise covariance matrix at time k-1, R k is the covariance matrix of the measurement noise at time k. The definitions of the system noise covariance matrix and the measurement noise covariance matrix are shown in formula (9): In formula (9): W k is the system noise at time k, V k and V j are the measurement noise at time k and time j, Q k and R k are the system noise covariance matrix and the measurement noise covariance matrix at time k, E[] is the mean, and δ is the impulse function.
7. A method for controlling the path tracking of an unmanned mining vehicle on a steep slope according to claim 6, Features: In step 3, the Sage-Husa algorithm is used to estimate the covariance matrix of the system noise and the covariance matrix of the measurement noise, and the upper and lower limit constraints are imposed on the estimation results, specifically: First, the forgetting factor and residual at time k are calculated, as shown in equation (10) and equation (11) respectively: In formula (10): β k-1 and β k are the forgetting factors at time k-1 and k respectively, b is a constant, and 0 <b<1; In formula (11): e k / k-1 is the residual at time k, Z k is the measurement value matrix at time k in equation (7), H is the measurement matrix in equation (7), is the one-step prediction value of the state at time k in formula (8); Q k and r k As shown in formula (12) and formula (13): In formula (12): K k is the Kalman gain at time k in equation (8), Φ is the state transfer matrix in equation (7), P k-1 is the estimated mean square error matrix at time k-1 in equation (8); P k is the estimated mean square error matrix at time k in equation (8); In formula (13): P k / k-1 is the one-step prediction mean square error matrix at time k in equation (8); Finally, the estimated values of the covariance matrix of the system noise and the covariance matrix of the measurement noise are obtained, as shown in equations (14) and (15) respectively: In formula (14): is the estimated value of the system noise covariance matrix at time k-1, Q max and Q min are the upper limit estimate and lower limit estimate of the system noise covariance matrix respectively; In formula (15): is the estimated value of the measurement noise covariance matrix at time k, R max and R min are the upper and lower limit estimates of the measurement covariance matrix, respectively.
8. According to the method for controlling the path tracking of an unmanned mining vehicle on a steep slope section as described in claim 1, Features: In step 4, the expected path is the result of optimizing the global reference path based on known local information such as obstacles, and the expected longitudinal position X in the inertial coordinate system is obtained. ref , expected horizontal position Y ref and the desired yaw angle Indicates; the expected speed is the expected longitudinal speed v in the vehicle body coordinate system xref express.
9. The method for controlling the path tracking of an unmanned mining vehicle on a steep slope according to claim 1, Features: In step 5, the prediction model used by the model predictive controller is shown in formula (16): In formula (16): T s is the sampling time of the system, δ V is the vehicle rotation mass conversion coefficient, x(k) and x(k+1) are the state vectors at time k and k+1 respectively, v x (k) is the longitudinal velocity of the vehicle at time k, a x (k) is the longitudinal acceleration of the vehicle at time k, a xref (k-1) and a xref (k) are the expected longitudinal acceleration at time k-1 and time k, respectively, Δa xref (k-1) represents the first-order increment of the expected longitudinal acceleration from time k-1 to time k, τ 0 is a time constant, indicating the delay of the actual acceleration of the vehicle in response to the expected acceleration; A is the state matrix, and B is the input matrix; The adaptive model prediction problem is reduced to an optimization problem, and the longitudinal acceleration control law is obtained by solving the following optimization problem: In formula (17): v xref (k) is the expected longitudinal velocity at time k, C is the output matrix, N PV is the prediction time domain, N CV is the control time domain, and N PV ≥N CV , Q V The weight matrix of the longitudinal velocity tracking error, R V The weight matrix representing the expected longitudinal acceleration change, ρ V is the relaxation factor, f i (Δa xref )b i represents the i-th pair Δa xref The constraint, f i is the mathematical mapping of the ith constraint, b i is the bound of the ith constraint, N V is the number of constraints, J V represents the cost function, argminJ V represents the minimization J V .
10. The path tracking control method for an unmanned mining vehicle on a steep slope according to claim 1, Features: In step 6, the prediction model used by the model predictive controller is shown in formula (18): In formula (18): T s is the sampling time of the system, ζ(k) and ζ(k+1) are the state vectors at time k and time k+1 respectively, δ f (k-1) and δ f (k) are the front wheel turning angles at time k-1 and time k, Δδ f (k-1) represents the first-order increment of the front wheel steering angle from time k-1 to time k, D is the mathematical mapping of the vehicle dynamics equation established in step 2, O and I are the zero matrix and unit matrix of the corresponding order, respectively. is the value of θ in step 3 s The estimation result is: d(k) represents the linearization error at time k, λ(k) is the state variable of the vehicle dynamics equation at time k in equation (2), is the first-order derivative of λ(k) in equation (2), A L represents the state matrix, B L represents the input matrix; The adaptive model prediction problem is reduced to an optimization problem, and the vehicle lateral motion control law is obtained by solving the optimization problem: In formula (19): T ref (k) is the expected path at time k, C t is the output matrix, N PL is the prediction time domain, N CL is the control time domain, and N PL ≥N CL , Q L Represents the weight matrix of trajectory tracking error, R L The weight matrix representing the change in the front wheel steering angle, ρ L is the relaxation factor, h i (Δδ f )c i represents the i-th pair Δδ f Constraints, h i is the mathematical mapping of the ith constraint, c i is the bound of the ith constraint, N L is the number of constraints, J L represents the cost function, argminJ L represents the minimization J L .
Citation Information
Cited By
Gradient determination method and vehicle
CN119568167A
Slope determination method and vehicle
CN119568167B
Trajectory tracking control algorithm related to unmanned vehicle sensor fusion
CN120122660A
Automatic driving vehicle trajectory planning method and device under complex road working conditions
CN121291471A
Unmanned vehicle road surface disturbance prediction and active stable balance control method
CN122009192A
