1. Introduction
With the aging of the global population and the deepening of sustainable development, it is imperative to ensure the improvement of agricultural production efficiency under the conditions of agricultural labor shortage and energy conservation and environmental protection [
1,
2,
3]. As an important component of agricultural machinery, the intelligence and greenness of tractors can improve agricultural production efficiency and reduce air pollution emissions [
4,
5]. Path tracking is a key component of tractor intelligence, and its tracking effect will directly affect the tractor’s operating efficiency. Hilly farmland has the characteristics of a small single-plot arable land area and irregular shape. Traditional tractors cannot adapt to hilly farmland due to their large turning radius and poor terrain adaptability. Compared with traditional tractors, intelligent hybrid articulated tractors have a small turning radius and strong terrain adaptability [
6,
7,
8]. Therefore, it is of great significance to carry out research on path-tracking of intelligent hybrid-articulated tractors.
Path-tracking and path-planning are important components in the field of intelligent driving, but the accuracy of path tracking directly affects the operating efficiency of intelligent hybrid articulated tractors [
9,
10]. Current path-tracking research can be divided into three categories based on differences in algorithm theory: classical control theory, intelligent control theory, and modern control theory. The main methods of classical control theory in path tracking include: proportional-integral-derivative (PID), feedforward control, etc. Xu et al. proposed a real-time path-tracking control method for mobile robots based on Backstepping time-varying feedback and PID control. By introducing a restricted strategy, it achieved good control results, but it cannot solve the problem caused by the change in path curvature during path-tracking [
11]. To this end, Ridley et al. used a state feedback control method to track the path of a load haul dump vehicle and verified the effectiveness of the control strategy, but there was a problem of large fluctuations in the speed curve during the path tracking process [
12]. In order to deal with the problem of large speed curve fluctuations, Cheng et al. designed a model-free adaptive predictive path-tracking controller based on the model-free adaptive predictive controller PID method. This method has high adaptability under different paths, but requires a large amount of experimental data to determine the optimal control parameters [
13]. Zhao Xuan et al. proposed a feedback linearization control path tracking control strategy, which improved the stability of the articulated dump truck by linearizing the nonlinear error equation. This method can achieve path tracking without an accurate model, but it will still produce large errors at turns [
14]. Classical control theory has good control effects on linear systems. However, when faced with complex systems with multiple constraints, problems such as instability and overshoot may occur.
The main methods of intelligent control theory in path tracking include fuzzy control, reinforcement learning, and neural networks. Huang et al. proposed a control method based on fuzzy sliding mode control. By fuzzifying the control parameters, the inherent chattering problem of sliding mode control was effectively suppressed, and the straight-line path tracking stability of agricultural traction vehicles was improved. However, it cannot solve the problems caused by uneven road surfaces and side winds during path-tracking [
15]. For complex disturbance scenarios, Hu Jie et al. integrated sliding mode control with the linear quadratic regulator (LQR) algorithm and coordinated the two algorithms through fuzzy control, thereby improving the accuracy of path tracking. However, they did not solve the problem of the impact of slip rate on tracking accuracy [
16]. To this end, Zhao et al. proposed a fuzzy control method considering skid and slip, which improved the tracking accuracy. However, this control method lacks a compensation mechanism for path deviation under lateral interference [
17]. An event-triggered adaptive path following the control strategy proposed by Yang Yuhang et al. reduces the tracking deviation caused by tire sideslip, but it cannot effectively guarantee the tracking accuracy when the load changes drastically [
18]. Based on this, Wang et al. proposed a path-tracking control strategy based on a nonlinear disturbance observer, which significantly improved the tracking accuracy of four-wheel independent driving and four-wheel independent steering in ridge farming mode, However, there is still room for improvement in adaptability to changing road curvatures [
19]. For scenes such as orchards with narrow roads and large curvature changes, Liu et al. proposed a path-tracking control algorithm based on the Virtual Radar Model. This algorithm uses a virtual radar map to describe the positional relationship between the vehicle and the path, generates control instructions through a deep neural network, and controls the crawler tractor. This enhances the navigation accuracy of the crawler tractor, but there is still a significant error in the variable curvature path [
20]. The Pure Pursuit path-tracking control method based on B-spline optimization proposed by Zhang Wenyu improves the tracking performance of agricultural machinery on variable curvature paths but is susceptible to steady-state errors caused by system disturbances [
21]. Wu et al. designed an adaptive slip compensation controller based on fault-tolerant control, achieving accurate compensation for the velocity error caused by wheel slippage, and it exhibits stronger robustness and higher tracking accuracy compared to conventional controllers [
22]. Intelligent control theory has good robustness to uncertainties in the system, but in a dynamic environment, it has high requirements for training and computing resources, which will lead to insufficient real-time performance.
The main methods of modern control theory in path tracking include LQR, model predictive control (MPC), robust control, etc. Zhou et al. proposed a lateral control strategy of path tracking based on a linear quadratic regulator. The feed forward control was added to improve the control accuracy of path-tracking, which improved the lateral control accuracy during path tracking. However, the error problem under high-speed conditions has not been solved [
23]. To solve this problem, Meng Yu et al. proposed an LQR strategy based on predictive information, which effectively improved the tracking accuracy of articulated vehicles [
24,
25]. Tang et al. introduced a lateral-longitudinal coordination path tracking control method based on MPC, improving vehicle stability and path-tracking accuracy across various roads. However, the potential understeering issue in autonomous vehicles was not addressed [
26]. To address the need for steering compensation, Hu et al. proposed a hierarchical control method based on Robust Model Predictive Control. This method, which considers external disturbances and understeering in trucks, established a two-layer control structure that effectively improved steering control accuracy. However, it suffers from poor real-time performance [
27]. To solve this problem, Bai et al. introduced feedforward steering angle information based on an inverse kinematics model and proposed a Feedforward MPC method, significantly improving robot control accuracy and reducing computational time. However, vehicle dynamic response characteristics were not fully considered [
28]. To improve accuracy, Zhang et al. built a Multilayer MPC framework for speed control path tracking, combining the advantages of Feedforward MPC and Nonlinear MPC, achieving high path tracking accuracy even at higher average longitudinal speeds. However, further optimization of path-tracking accuracy is still needed [
29]. To overcome the limitations of model dependency, Han et al. combined Gaussian process regression to establish an error-fitting model. They used this error correction model as the prediction model, designed a path-tracking cost function, and formulated a quadratic programming optimization problem, proposing a learning-based model predictive path-tracking control method. This reduced the average path-tracking error, but dynamic parameter adaptation for different vehicle models is still required [
30]. Qin et al., based on the principle of Extended Kalman Filtering, performed learning and updating on the parameters of unmodeled dynamics, improving the tracking accuracy of intelligent vehicles in the presence of external disturbances. However, control lag remains an issue in high-speed, large-curvature scenarios [
31]. To address this issue, He et al. proposed an adaptive prediction horizon control strategy based on optimized dynamic models, effectively improving prediction accuracy for vehicles in large-curvature conditions [
32]. In terms of robust control, Chang Sheng et al. proposed a robust control method based on H∞ Ioop shaping. By processing the vehicle dynamics model, the vehicle’s trajectory tracking capability on a variable curvature path is enhanced, but the adaptability to roll conditions is not mentioned [
33]. Dong et al. proposed a robust multi-dimensional switched H∞ path tracking control method. This method can ensure the tracking accuracy and roll stability of the vehicle at high speed and large turns [
34]. Modern control theory has more advantages than classical control theory in dealing with complex systems with multiple constraints. When performing precise control on known models, it has higher real-time performance than intelligent control methods.
In summary, in order to help understand the characteristics of these control theories more intuitively,
Table 1 lists the advantages and disadvantages of several common control methods mentioned above. Intelligent control methods can effectively deal with complex systems with multiple constraints, but are affected by data training time, model update frequency, etc. Modern control methods can not only deal with complex systems with multiple constraints but also have good real-time performance. The intelligent hybrid articulated tractor is a multi-constrained system. In order to improve the path-tracking performance of the intelligent hybrid articulated tractor, this paper adopts MPC combined with fuzzy control and PID control and proposes a path tracking control method based on corrected model predictive control (CMPC). This control method, Compared with MPC, integrates the advantages of PID’s rapid response to small-range errors and the strong robustness of fuzzy control, and can quickly correct the tractor’s articulation angular acceleration, thereby improving tracking accuracy. The specific contributions are as follows:
- (1)
Kinematic analysis is conducted to obtain motion state parameters during path tracking, and a kinematic model that reflects articulated steering characteristics is established.
- (2)
To improve the path tracking accuracy of intelligent hybrid articulated tractors under all working conditions, this paper uses a PID controller and fuzzy controller to correct the model prediction output articulation angular acceleration based on MPC and proposes a CMPC method to solve the problem of low tracking accuracy of linear MPC-processed tractors in the process of U-shaped variable curvature trajectory tracking.
Table 1.
Comparison of control methods.
Table 1.
Comparison of control methods.
Control Methods | Advantage | Shortcoming |
---|
PID | Responds quickly to small errors, enabling efficient control in simple systems. | Limited performance in large error ranges and complex dynamic systems, struggling with nonlinear characteristics. |
Feedforward control | Can proactively respond to known external disturbances or system model variations | Unable to handle unknown disturbances and requires high precision in system modeling. |
Fuzzy control | Exhibits strong robustness in uncertain and noisy environments | Control rule design relies on expert knowledge, making parameter tuning and optimization challenging. |
Reinforcement Learning | Adapts to complex dynamic environments, optimizing control strategies | Requires extensive training time and large amounts of interaction data. |
Neural networks. | Suitable for systems where precise mathematical models are difficult to establish, enabling effective control through training. | Difficult to interpret system behavior, making debugging and optimization complex. |
LQR | Provides good stability and optimized performance for known linear system models. | Struggles with nonlinear systems and large disturbances, requiring high model accuracy. |
MPC | Effectively handles complex constraints, making it suitable for multi-variable optimization control. | High computational complexity, requiring real-time optimization of control inputs. |
Robust control | Ensures system stability and reliability in uncertain environments, making it ideal for complex systems. | Complex design and analysis process, requiring in-depth modeling to handle uncertainties and system variations. |
The remainder of the paper is organized as follows:
Section 2 introduces the kinematic model of the tractor,
Section 3 presents the improved MPC path tracking control method,
Section 4 validates the proposed method through simulations, and
Section 5 summarizes the paper.
2. Intelligent Hybrid Articulated Tractor Kinematic Model
The intelligent hybrid articulated tractor model is divided into a kinematic model and a dynamic model. The vehicle kinematic model is usually used to analyze the relationship between variables such as speed, position, acceleration, etc., during the vehicle’s motion. The vehicle dynamics model is usually used in high-speed driving situations. Since the tractor travels at a slow speed, the kinematic model is used to design the path tracking controller to ensure the reliability of the system.
As shown in
Figure 1, during straight-line motion, there is no relative displacement between the front and rear sections of the intelligent hybrid articulated tractor. In the steering process, the hydraulic cylinders on both sides of point J extend and retract, which causes the front and rear sections of the vehicle to form a certain bending angle. This action, in turn, completes the steering process under the influence of the tractor’s driving force. The midpoint of the front axle, P
f (X
f, Y
f), is selected as the reference point for the tractor’s state, and the kinematic equations for the unmanned articulated tractor are derived through kinematic analysis [
35].
In Equation (1), θf is the heading angle of the front axle center relative to the X-axis, γ is the angle between the front and rear vehicle body centerlines, F(xf, yf) is the front axle center, Lf is the distance between the hinge point J and the front roller center, and vf is the front axle speed. For the rear body, θr is the heading angle of the rear body relative to the X-axis, G(xr,yr) is the rear axle center, Lr is the distance from the hinge point J to the rear axle center, and vr is the speed of the rear body.
By converting Equation (1) into matrix form, the kinematic model of the unmanned articulated tractor can be obtained:
3. Intelligent Hybrid Articulated Tractor Control Strategy Design
3.1. Path Tracking Control System Based on Model Predictive Control
MPC is a commonly used optimization control algorithm that effectively handles multi-constrained problems and possesses good robustness. It is widely applied in path tracking. Compared to other algorithms, the MPC based on a linear time-varying model offers high computational efficiency, good real-time performance, and strong stability. Therefore, this paper adopts the linear time-varying model predictive control algorithm.
As shown in Equation (2), the state variables of the control system include the coordinates of the front axle center, the tractor’s heading angle, and the articulation angle of the tractor. The control variables include the front axle speed and the front wheel steering angle, leading to the general form of the control system [
36].
For a given reference trajectory, the general form of the reference trajectory can be obtained:
Among them,
In the equation, xf is the tractor’s front axle center reference x-coordinate, yf is the tractor’s front axle center reference y-coordinate, θf is the tractor’s front axle reference heading angle, vf is the tractor’s front axle center reference speed, ωf is the tractor’s reference articulation angle angular velocity, γf is the tractor’s reference articulation angle.
Equation (5) is expanded using a Taylor series based on the reference point position, neglecting higher-order terms, and is then discretized [
37]:
Among them,
In the equation, Ts is the Sampling time.
By converting the control variables into control increments and incorporating a relaxation factor, the new discretized state-space representation can be derived:
Among them,
In the equation, Nx is the State variable dimension, Nu is the Control variable dimension.
To simplify the calculations, the following assumptions are made:
Based on Equations (6) and (7), the predicted output expression of the system can be obtained:
Among them,
In the equation: Np is the Prediction horizon; Nc is the Control horizon.
For the optimization problem involving the system’s state and control variables, the following objective function is derived:
In the equation: Q is the weight matrix for the state variables, R is the weight matrix for the control variables, ρ is the weight coefficient, ε is the relaxation factor.
3.2. Corrected Model Predictive Control Method
The tractor is in a steady-state condition during the path tracking process of straight driving, while the system is in a transient condition during the path tracking process of turning. In order to improve the path tracking accuracy of the tractor in all working conditions during the path tracking process, a correction control method is proposed. The correction control method includes PID and Fuzzy, where PID is used to output the articulation angular acceleration δ1; Fuzzy is used to provide the weighting coefficient of PID. The error between the predicted position and the actual position of the tractor is transmitted to the PID controller and the fuzzy controller. The fuzzy controller corrects the articulation angular acceleration of the prediction model and the articulation angular acceleration output by PID, thereby improving the accuracy of path tracking.
PID control is a common feedback control system that adjusts the parameters of the three parts, namely the proportional, integral, and differential, to make the system output as close to the set value as possible. As shown in
Figure 2, the proportional part can adjust the output according to the current error. The integral part can adjust the output according to the accumulation of historical errors to eliminate steady-state errors. The differential part predicts possible future errors based on the error change rate so as to make adjustments in advance. Through the combination of these three parts, the system output can be adjusted in real time to ensure that the system has good response speed and stability in a dynamic environment. The specific calculation formula of PID is as follows:
In the process of path tracking of the intelligent hybrid articulated tractor, the error between the actual state variable and the expected state variable is calculated and input into the PID controller. The PID controller outputs an articulation angular acceleration δ1 according to the size of the error. When the articulation angular acceleration output by PID control is simply coupled with the articulation angular acceleration output by MPC; a larger error may be generated to affect the tracking accuracy. Therefore, fuzzy control is introduced to dynamically adjust the combined relationship between PID and MPC for articulation angular acceleration.
As shown in
Figure 3 and
Figure 4, fuzzy control does not rely on an accurate model but rather achieves control by fuzzifying the input variables and then using fuzzy rules and reasoning. In the process of path tracking, the corresponding fuzzy control rules are formulated by calculating the error between the horizontal coordinate of the expected front axle center position and the horizontal coordinate of the actual front axle position, the error between the vertical coordinate of the expected front axle center position and the vertical coordinate of the actual front axle position, the error between the expected front wheel heading angle and the actual front wheel heading angle, and the error between the expected articulation angle and the actual articulation angle. When the error is input into the fuzzy control system, the fuzzy control system outputs a PID articulation angular velocity weighting coefficient
a according to the fuzzy rule, which is used to adjust the articulation angular acceleration
δ1 output by the PID control system. Correspondingly, the system also outputs an MPC articulation angular velocity weighting coefficient 1−
a, which is used to adjust the articulation angular acceleration
δ2 output by the MPC system to achieve the weight distribution of different control strategies for the articulation angular acceleration. In the process of path tracking, by formulating reasonable fuzzy rules, the intelligent hybrid articulated tractor can maintain a high accuracy during the tracking process, thereby improving the operating efficiency.
As shown in
Figure 5, the errors between the actual and desired state variables of the intelligent hybrid articulated tractor are calculated and fed into both the PID and fuzzy controllers. The PID controller calculates and outputs a steering angle acceleration
δ1 in response to the error, while the fuzzy controller calculates weighting coefficients
a and 1 −
a for the PID and MPC, respectively. During the tractor’s straight-line driving, the path tracking accuracy is high, and the error between the actual and desired state variables is small, so the fuzzy controller outputs a smaller PID weighting coefficient a. However, during turns, when larger errors may occur, the fuzzy control system increases the PID weighting coefficient a to ensure that the steering angle acceleration is rapidly adjusted within a reasonable range, thereby maintaining the path tracking accuracy of the intelligent hybrid articulated tractor.
The key variables in
Figure 5 are described as follows.
Xf(
t) is the actual tractor front axle center reference horizontal coordinate,
Yf(
t) is the actual tractor front axle center reference vertical coordinate,
θf(
t) is the actual tractor front axle reference heading angle,
Vf(
t) is the actual tractor front axle center reference speed, γ
f(t) is the actual tractor reference articulation angle,
ωf(t) is the actual tractor reference articulation angle angular velocity.
Xf(
t+1) is the desired tractor front axle center reference horizontal coordinate,
Yf(
t+1) is the desired tractor front axle center reference vertical coordinate,
θf(
t+1) is the desired actual tractor front axle reference heading angle,
Vf(
t+1) is the desired tractor front axle center reference speed,
γf(
t+1) is the desired tractor reference articulation angle,
ωf(
t+1) is the desired tractor reference articulation angle angular velocity,
δ2(
t+1) is the joint angular acceleration output by MPC,
δ1(
t+1) is the joint angular acceleration output by PID,
δ(
t+1) is used to input the actual model.
Compared with MPC, after the PID controller and fuzzy controller in CMPC receive the error between the actual state variable and the expected state variable, the PID controller outputs the articulation acceleration according to the error, and the fuzzy controller outputs the weighting coefficient according to the error. These outputs are used to correct the articulation angular acceleration output by MPC, which can effectively improve the transient performance of the tractor during path tracking.
5. Conclusions
To improve the path-tracking performance of the intelligent hybrid articulated tractor across all operating conditions during unmanned operations, a CMPC path-tracking control method is proposed. The method demonstrates good path-tracking performance across all conditions.
The results show that in the process of path tracking under instantaneous working conditions, the CMPC increases the speed standard deviation by 2.7%, reduces the lateral tracking error by 18.2%, reduces the longitudinal tracking error by 21.2%, reduces the heading angle standard deviation by 18.7%, and reduces the articulation angle standard deviation by 4.9% compared with MPC. In the process of path tracking under full working conditions, CMPC can stabilize the tractor speed at about 7.2 km/h; compared with MPC, the speed standard deviation is reduced by 2%, the longitudinal tracking error is reduced by 8%, the lateral tracking error is reduced by 50%, and the maximum heading angle error is reduced by 20%, which proves the effectiveness of the corrected MPC strategy in path tracking under full working conditions.
The method proposed in this paper can provide a new reference for the path tracking of intelligent hybrid articulated tractors. In the future, considering the interaction between soil and tire, the proposed method still has a lot of room for improvement in the path-tracking effect of intelligent hybrid articulated tractors. By studying the soil-tire interaction mechanism, the path-tracking accuracy can be further improved.