Abstract

Aiming at the high demand for the torque response speed and torque pulsation of the all-terrain vehicle (ATV) Electric Power Steering (EPS) system, this paper proposes to apply the Model Predictive Current Control to the all-terrain vehicle EPS system. A Novel Three-Vector Model Predictive Current Control (N3V-MPCC) is proposed in this paper to reduce the current ripple and reduce the calculation load. Two effective voltage vectors and a zero vector are selected in the control period through only six times of prediction and application of the Sector Vector Selection method. The duration of each voltage is calculated and output to the Voltage Source Inverter (VSI). Simulation and experimental results show that, compared with PID cascade Field Oriented Control (PI-FOC), N3C-MPCC can effectively reduce the ripple current of the d-axis and the q-axis. In the simulated electric power mode, the q-axis current ripple of the N3V-MPCC is reduced by 66.67%. Experimental results show that the current ripple of the motor is reduced by 60%, and the torque pulsation is reduced by 62.5%. Therefore, N3V-MPCC has a faster current response speed and smooth steering torque.

1. Introduction

All-Terrain Vehicles (ATV) [1] are widely used in agriculture, forestry, entertainment, and military fields because of their excellent passing performance. The ATV uses low-pressure wide tires, making it easy to shuttle through harsh terrains such as sand and riverbeds. However, due to the large contact area between the tire and the ground, the unique tread pattern, the deep crown, and the handlebar steering structural characteristics, the steering resistance is considerable. The operation difficulty is increased. Therefore, the Electric Power Steering system (EPS) has become a necessary device for ATV [2]. EPS system has the advantages of lightweight, high efficiency, and energy-saving and gradually replaces the Hydraulic Power Steering system (HPS). EPS power-assisted motors mainly include Direct Current (DC) brushed motors and Surface Permanent Magnet Synchronous Motors (SPMSM) [3]. The brushed DC motor has a short service life due to the structural factor. SPMSM has the characteristics of small size, high power density, and a large torque-to-inertia ratio [4, 5] and is widely used in electric vehicles [6] and industrial equipment fields. The motor control method is the key to the EPS system to achieve high steering accuracy and improve vehicle steering stability [7]. SPMSM can provide smoother electric power torque [8], which is beneficial to improve the driver’s driving comfort, and gradually replace the brushed DC motors in the EPS system.

The current loop control strategy is a key factor in the design of the vehicle steering feel. The main control methods include PID current control [9, 10], Sliding Mode current control [11], Hysteresis control [12], and Model Predictive Control (MPC). The advantages of PID current control are simple and efficient. This method has two disadvantages: one is that PID control contains the integral link, which has a certain hysteresis; the second is that PID does not contain the information of the controlled object, so a lot of experiments are needed to set proper PID parameters. Sliding Mode control has the characteristics of fast response and strong robustness [13]. However, in the real system, due to time lag, system delay, and measurement error, the sliding mode movement is accompanied by high-frequency jitter, which affects the dynamic performance of the steering system. Hysteresis Control, also known as bang-bang control, has strong robustness. Due to the lack of model information and the steps to find the optimal solution, hysteresis control leads to unstable switching frequency, high losses, and high ripple current. Model Predictive Control (MPC) originated in the 1960s. The algorithm discretizes the mathematical model of the system, uses the cost function to evaluate the influence of the control variable on the error between the predicted value and the reference value [14], and calculates the optimal control variable of the system through the rolling optimization method. MPC has the characteristics of fast dynamic response, simple and flexible control [15]. In recent years, with the development of integrated circuit design and manufacturing technology and the improvement of the computing power of integrated chips such as Digital Signal Processor (DSP), the application of MPC in the field of power electronics has become a research hotspot [16].

The current EPS system research is based on accurate mathematical models, and it has become a trend to use MPC to design control strategies. In the field of motor control, MPC can be divided into Continuous-Control-Set MPC (CCS-MPC) [17, 18] and Finite-Control-Set MPC (FCS-MPC) [19]. Among them, CCS-MPC obtains the required voltage vector by solving the optimization problem online and uses the PWM module to obtain continuous output variables [20]. FCS-MPC uses the Voltage Source Inverter (VSI) discretization characteristics to enumerate all switch combinations and then select the optimal voltage vector by calculating the minimum value of the cost function. Compared with the CCS-MPC algorithm, the FCS-MPC algorithm is more concise and has less computational load. According to the different types of optimization targets, FSC-MPC includes Model Predictive Torque Control (MPTC) [2123] and Model Predictive Current Control (MPCC) [24, 25]. The MPTC method needs to design the weight factor, which increases the difficulty of solving the optimization problem. MPCC uses the motor d-axis and q-axis currents as control variables and does not need to design weight factor, nor does it need to predict torque and flux linkage, which is simpler than the MPTC algorithm. According to the number of vector outputs in a single control cycle of MPCC, it can be divided into single-vector MPCC [21, 26], two-vector MPCC [2730], and three-vector MPCC [31, 32]. The direction and amplitude of the voltage vector are fixed in the single-vector MPCC. There is overshoot or undershoot current tracking, resulting in large current ripples and poor system performance. The two-vector MPCC can output two voltage vectors in a single sampling period. Although this control method improves the system performance, it is difficult to ensure that the control performance is optimal because the second voltage vector is the constant zero vector. Many scholars have made improvements on this basis. The study in [28] proposed using the estimated back Electromotive Force (EMF) to predict the stator current. Despite reducing the current pulsation and improving the system stability, the estimated back EMF value increases the control error. The study in [30] proposes a method of selecting the combination of two voltage vectors and calculates the two voltage vectors duration simultaneously by optimizing the value function to obtaining better dynamic and static performance. However, the total number of combinations required for this method is 7 + 6 + ··· + 1 = 28. The optimal voltage vector is selected in 28 prediction sets, resulting in a large calculation load. The three-vector MPCC outputs two effective voltages and a zero vector in a single control period. The study in [32] proposed a method of combining the active vectors with duty cycle and virtual vectors with duty cycle. However, the large number of candidate vectors is not conducive to real-time optimization, has a large calculations load, and requires high hardware. Therefore, this paper proposes a Novel Three-Vector Model Predictive Current Control (N3V-MPCC), which obtains the first optimal vector through 6 iterations. Combine the deadbeat current principle and the SPMSM mathematical model; calculate the error between the target vector and the first optimal vector. According to the vector error, use the Sector Vector Selection method to select the second optimal vector. Finally, adjust the amplitude and direction of the output vector by the zero vector, reducing the ripple current and reducing the calculation load. This method is applied to the EPS system of ATV. Compared with the traditional PID Cascade Field Oriented Control (PI-FOC) strategy, it is verified that the N3V-MPCC has a faster dynamic response speed and better steering feel.

The structure of this paper is as follows: The second section establishes the dynamic model of the EPS system of ATV. The third section introduces the principle of N3V-MPCC. The fourth section carries out the simulation analysis based on the established model and carries out vehicle experiment verification. Finally, the conclusion is given in Section 5.

2. Model of EPS Systems

The ATV adopts a rocker-type steering mechanism, which mainly includes a handlebar steering wheel, a steering column, an EPS component, a steering rocker arm, and a steering rod. The structure is shown in Figure 1. The EPS components include a torque sensor, a deceleration mechanism, an SPMSM, and an Electronic Control Unit (ECU). When the vehicle starts or is driven, the torque sensor on the steering column detects the driver’s torque on the steering wheel and transmits the torque signal to the ECU. Then, the ECU controls the SPMSM to provide electric torque. Ensure the portability of the driver’s steering process.

The dynamic model of the EPS system is determined by the interrelationship between the following three aspects: the steering mechanism, the dynamic characteristics of the motor, and the reaction force of the ground on the tire. According to Newton’s second law, combined with the structure shown in Figure 1, the nonlinear dynamic model of EPS is derived. The mathematical models between the steering wheel, steering column, and steering rocker are established, respectively, as follows:where is the rotation angle of the steering wheel; is the rotation angle of the lower steering column; is the torque of the driver; is the torsion bar torque; is the stiffness coefficient of the torsion bar; is the moment of inertia of the steering column; is steering column steering damping; is the steering resistance torque; is the motor boost torque; is the motor rotation angle; is the motor torque coefficient; is the transmission ratio of the motor reduction mechanism; is the moment of inertia of the motor; is motor damping; and is electromagnetic torque.

The reaction torque of the steering column in the above equation is mainly composed of the friction between the tire and the ground and the friction torque of the mechanical rotation pair. The steering resistance torque is greatest during static steering. This article assumes that the steering system is well lubricated, and the friction loss torque is small, which is negligible. The maximum steering resistance torque iswhere is the friction coefficient between the ground and the tire; is the front axle load of the vehicle; and P is the tire pressure.

Synthesize the above equation to establish the state-space 0equation of the system to provide theoretical support for subsequent simulations. The state-space variable is. System input state-space variables are. The output state-space variable is. The state-space equation of the system iswhere

3. Principle of N3V-MPCC

3.1. SPMSM Prediction Model

The N3V-MPCC method of SPMSM is based on the mathematical model of the system. Using current as the variable, a prediction model based on the discrete state-space equations of the system is established, and a rolling optimization method is used to realize the current control of SPMSM. Without considering the parameter uncertainty, the electromagnetic model of the permanent magnet synchronous motor in the d-axis and q-axis coordinate system iswhere is the d-axis stator voltage; is the q-axis stator voltage; is the d-axis stator current; is the d-axis stator current; is the d-axis stator inductance; is the q-axis stator inductance; is the electrical angular velocity of the rotor; is the permanent magnet flux; and is the stator resistance.

According to equations (5) and (6), the continuous state-space equation of SPMSM is derived [33]:

EPS system uses DSP as an arithmetic chip, so it is necessary to discretize continuous equations. Forward Euler discretization method is the simplest and most commonly used method. The continuous state-space equation (7) is discretized by the Forward Euler discretization method. The discrete SPMSM state-space equation is shown in the following equation:where is the control period, which represents the value of the state variable of the kth control period (k = 1, 2, 3, ...), and represents the predicted value of the d-axis current at the next sampling; represents the predicted value of the d-axis current at the next sampling moment.

In a control period , assuming that , ,, and are all known and constant quantities, since the speed changes slowly relative to the current and the control period is short, it is considered that the speed remains unchanged in a control period. Then the d-axis and q-axis stator currents at the kth sampling time can be used to predict the future d-axis and q-axis stator currents at k + 1 time. The prediction model of SPMSM iswhere indicates the predicted value of the d-axis stator current and indicates the predicted value of the q-axis stator current.

The SPMSM control system studied in this paper is based on a three-phase two-level VSI, and the structure is shown in Figure 2. Each bridge of the VSI has two switching states: on and off, represented by 1 and 0, respectively. SA = 1 means that the upper half-bridge of phase A is on and the lower half-bridge is off. SA = 0 means that the lower half-bridge of phase A is on, and the upper half-bridge is off. The three-phase two-level VSI can output two zero vectors ( and ) and six effective voltage vectors, forming a limited control set .

According to the eight conduction combinations of the VSI, the voltage of each phase under eight states is calculated. According to Clarke’s transformation, we use equation (10) to obtain the components and the stator voltage in the α-β-axis stationary coordinate system. Table 1 shows the switch states of FCS and the corresponding values of and .

According to Table 1, the values of and of all switch combinations in one cycle can be obtained. After Park transformation, the values of and are obtained and put into the prediction model equation (9) for the current prediction. The predicted current values of eight switch combinations in the control period are calculated, and the optimal voltage vector is selected according to the minimum value of the cost function.

The cost function is an important part of the MPCC algorithm. The target of the cost function of the MPCC algorithm is to track the target current accurately. The cost function of MPCC designed in this paper is to calculate the voltage with the smallest error between the predicted current value and the target-current value as the optimal voltage vector. The cost function is shown in the following equation:where is the target value of the stator current q-axis component and is the d-axis component of the stator current target.

3.2. Vector Selection

The predicted current values of all combinations in the FCS set are imported into equation (11), and the switch combination that makes minimum is the optimal voltage vector. However, due to the limitation of the selectable voltage vector in the FCS, there is only one vector action per control period. The direction and amplitude of the voltage vector issued by the VSI are fixed. Compared with PI-FOC, single-vector MPC has lower control accuracy. Therefore, based on single-vector control, a two-vector MPCC is proposed. The FCS is traversed twice in a control cycle. In that case, two optimal voltage vectors can be selected, so the ripple current is reduced, and the control accuracy of the variables is improved. However, as the two voltage vectors of three-phase VSI can produce 64 possible combinations, the calculation amount of all combinations is too large to be applied in the EPS system. Therefore, it is necessary to simplify traversal steps, reduce the calculation load, improve the control precision, and reduce the ripple current [34].

First, according to the above method, the first optimal voltage vector is selected from the effective voltage vector (). According to the combination in Table 1, find the values of and corresponding to , and get the values of and in the dynamic coordinate system by Park’s transformation. According to the target current and current of the d-axis and q-axis in the control period, combined with the deadbeat control principle, the target voltage of the d-axis and q-axis is calculated by the following equation:where and are the d-axis and q-axis target voltages, respectively.

Second, calculate the error and between the target voltage and the selected first optimal voltage, as shown in the following equations:

Third, the voltage error obtained by the above equation is subjected to inverse Park’s transformation to get the voltage errors and in the α-β-coordinate system, and the error voltage vector is synthesized.

Fourth, a method of Sector Vector Selection is proposed. With six effective voltage vectors as the center, a sector is divided every 60°, and a total of 6 sectors are divided. As shown in Figure 3, the middle of the two sets of dashed lines is a sector. According to the sector where the error voltage vector is located, the effective voltage vector in the sector is selected as the second optimal voltage vector. Such as the error voltage vector in the IV sector, choose as the second optimal voltage vector . This method eliminates the second traversal of the entire FCS calculation process and reduces the computational complexity of the algorithm.

Fifth, in the N3V-MPCC algorithm, , and the zero vector work together in one control cycle. To calculate the effective voltage vector and the zero vector duration, we need to know the rate of stator current change first. Define the d-axis and q-axis change rates of current and , as shown in the following equations:

The stator change rates of the current corresponding to the zero vector, the first optimal voltage vector, and the second optimal voltage vector are shown in the following equations:where , , and are the zero vector, the first optimal voltage vector, and the second optimal voltage vector corresponding to the rate of change of the stator current on the d-axis; , , and are the zero vector, the first optimal voltage vector, and the second optimal voltage vector corresponding to the rate of change of the stator current on the q-axis; and are the voltage components of the d-axis and q-axis corresponding to ; and and are the voltage components of the d-axis and q-axis corresponding to .

According to the stator change rate of current, the predicted current equation is changed into the following forms:where is the duration of the first optimal voltage vector and is the duration of the second optimal voltage vector.

According to equations (17)–(24), the duration of and is obtained, as shown in equations (25) and (26).where .

When calculating the duration of the voltage vector, when is less than the control period , the duration of the group of voltage vectors is output as , , and . When is greater than the control period , it is calculated and output, according to the following equation:

In summary, the SPMSM drive control block diagram of N3V-MPCC proposed in this paper is shown in Figure 4.

4. Simulation and Experiment

MATLAB/Simulink is used to simulate and verify the proposed N3V-MPCC algorithm. The control scheme of the SPMSM system includes two-stage closed-loop control. The outer loop is PID speed control to eliminate the error between the reference speed and the actual speed, while the inner loop is current control. To compare the performance of the proposed N3V-MPCC with that of the traditional PI-FOC, the outer loop of the two kinds of control uses PID to control the speed. The PI-FOC inner loop still uses PID to adjust the current error, and the N3V-MPCC is designed according to the structure of Figure 4. Parameters of SPMSM are shown in Table 2.

In the operating conditions of the EPS system, the motor speed will not exceed the rated speed. To obtain the maximum output torque and improve the operating efficiency of SPMSM, the control method with id = 0 is often adopted. Under the same motor parameters, the PID parameters in the PI-FOC current loop are adjusted to the optimal value to simulate the current responses of N3V-MPCC and PI-FOC. When the load is 4.5 N·m, the steering wheel rotates at a constant speed, and the d-axis current, q-axis current, and A-phase current of the two control strategies are compared. Figure 5(a) is the current curve of N3V-MPCC, and Figure 5(b) is the current curve of PI-FOC. It can be seen from Figure 5 that the value of N3V-MPCC current ripple amplitude within ±0.38 A, while the current ripple amplitude of PI-FOC is within ±1 A, and the deviation of N3C-MPCC is low. In SPMSM, through A-phase current comparison, the A-phase current ripple amplitude of N3V-MPCC is lower, and the current curve is smoother.

Figure 6 shows the current values of N3V-MPCC and PI-FOC under a load of 4.5 N·m. Both N3V-MPCC and PI-FOC are stable at 48 A. However, PI-FOC has a more significant ripple current, with a maximum current ripple amplitude of 0.8 A, while the maximum current ripple amplitude of N3V-MPCC is only 0.15 A. Moreover, the time for PI-FOC to reach a steady state is slightly longer, which is 10 ms slower than N3V-MPC. Therefore, it shows that N3V-MPCC has better dynamic response performance.

In the EPS system, the Microcontroller Unit (MCU) gives the corresponding target current through the assist curve table according to the vehicle speed and the steering wheel torque signal detected by the torque sensor. The simulation structure of the EPS system of the ATV is shown in Figure 7. To simplify the analysis, a spring device is used to simulate the actual steering resistance . When the steering wheel rotates at a constant speed, the steering resistance increases, and the current required by the motor increases. Given the steering wheel angle and vehicle speed, the reference current is obtained through the assist parameter table. As the steering wheel turns, the steering resistance gradually increases, and the target value gradually increases. By comparing the d-axis and q-axis currents of N3V-MPCC and PI-FOC, the performance of the two control strategies is analyzed.

It can be seen from Figure 8 that the maximum current ripple amplitude of under the control of N3V-MPCC is ± 0.4 A, which is small compared with the reference current. The current ripple amplitude of PI-FOC is high, with a maximum current ripple amplitude of ±1.2 A. It shows that the system stability of N3V-MPCC is better in the assist mode.

It can be seen from Figure 9 that both N3V-MPCC and PI-FOC increase with the increase of steering resistance, and the output current also gradually increases, realizing the function of electric power steering. When the required maximum torque is reached, the output current of N3V-MOCC and PI-FOC can be stabilized at 48 A. However, the current ripple amplitude of N3V-MPCC is ±0.6 A, and the current ripple amplitude of PI-FOC is ±1.8 A, indicating that the steering feel of the N3V-MPCC control strategy is better.

It can be seen from Figure 10 that under the two control strategies, the three-phase current of the SPMSM is sinusoidal. As the steering resistance increases, the amplitude of the three-phase current also increases. The three-phase ripple current of N3V-MPCC is low, and the three-phase ripple current of PI-FOC is high.

In summary, when the steering resistance gradually increases, the ripple currents of the d-axis, q-axis, and three-phase of N3V-MPCC are lower than those of PI-FOC, which verifies that the N3V-MPCC has higher control accuracy and more stable output. To demonstrate the actual effect of the proposed N3V-MPCC, use DSP28335 as the main control chip to design the EPS controller and conduct real-vehicle testing, as shown in Figure 11. The rotor position feedback element of the SPMSM is a rotary transformer to reduce the position calibration error of the motor. The control step of this system is one millisecond, and the Pulse Width Modulation (PWM) drive frequency is 10 kHz. This experiment uses dual resistors for current sampling. The current sampling period is 50 us. Sample the current values of A-phase and B-phase each time.

For safety, in the actual vehicle experiment, the steering performance of the motor in a static state is tested. Rotate the steering wheel back and forth to collect the motor current. To facilitate analysis, the collected three-phase current is transformed into d-axis and q-axis currents through Park’s transformation and Clarke’s transformation, and then the comparative analysis is performed. Figure 12 shows the SPMSM current of N3V-MPCC and PI-FOC. Under N3V-MPCC and PI-FOC control strategies, the ripple current decreases with the current decrease and increases with the current increase. N3V-MPCC has better current followability, and the maximum current ripple amplitude is 0.8 A. The maximum current ripple amplitude of the PI-FOC control strategy is 2 A. When turning the steering wheel at a small angle, the ripple current is low, and the steering feel is better; when the steering wheel is rotated at a large angle, the ripple current is higher, and the steering feel is slightly worse. However, the ripple current of N3V-MPCC is generally lower than that of PI-FOC, and the steering feel is better.

To analyze the torque fluctuation during the starting process and to measure the response speed of the system, the experiment condition designed in this paper is: when the vehicle does not start, torque is applied to the handlebar steering wheel. Then, the vehicle ignites, the EPS runs, and the torque fluctuation of the steering wheel is measured. Rotate the handle steering wheel repeatedly at a speed of 0.5 r/s to measure the torque of the handle steering wheel. The steering torque of the N3V-MPCC control strategy and the PI-FOC control strategy is compared, as shown in Figure 13. Both control methods have large torque fluctuations at the beginning. The system soon stabilized. The bottom line in the figure is the return phase of the steering wheel. At this point, the system has stabilized, so the current ripple disappears. It can be seen from the figure that both N3V-MPCC and PI-FOC control strategies can achieve the function of reducing the steering torque and achieve the purpose of easy steering. The torque pulsation of PI-FOC is 0.8 N·m, and the torque pulsation of N3V-MPCC is 0.3 N·m. It shows that the steering torque pulsation of N3V-MPCC is smaller, has adequate torque stability, and feels better.

5. Conclusions

The classic PI-FOC control strategy is based on past errors to track the target, and the idea of MPCC is based on the mathematical model of the system to predict future errors and track the target. MPCC does not require complicated PID parameter tuning and has the advantages of simple structure, fast dynamic response, and small steady-state error. This paper applies the MPCC algorithm to the EPS system of ATV. When the SPMSM drive uses a single-vector MPCC, the direction and amplitude of the output voltage vector in the control period are limited and with a higher ripple current. When using a two-vector drive, the calculation load of selecting the second vector is relatively large, and it is difficult to apply to embedded systems. In order to reduce the ripple current and the calculation load, this paper proposes an N3V-MPCC algorithm. In a control cycle, the first optimal voltage vector is found through six predictions. The error voltage vector is calculated based on the target current and the prediction model, and the sector where the error voltage vector is located by the Sector Vector Selection method is determined. In this way, the second effective voltage vector is selected. Finally, adjust the amplitude of the output voltage vector through the zero-voltage vector, and calculate the duration of each voltage and output it to VSI. Through the simulation results of MATLAB/Simulink, compared with PI-FOC, N3V-MPCC can effectively reduce the d-axis and q-axis ripple current, having a better decoupling effect and faster dynamic response. The q-axis current ripple of the N3V-MPCC is reduced by 66.67%. Experimental results show that the current ripple of the motor is reduced by 60%. The steady-state performance of N3V-MPCC and PI-FOC algorithms is almost the same. Still, the N3V-MPC control strategy can provide faster response and better dynamic performance with prediction and optimization technology. Through real-vehicle experiments, it is verified that the proposed N3V-MPCC effectively reduces the current ripple of the motor, has a faster dynamic response characteristic, and makes a more stable steering torque and a better steering feel. Since the N3V-MPCC has a strong dependence on the parameters of the prediction model, changes in the parameters will increase the prediction error, resulting in poor control performance. In the working state of the SPMSM, as the temperature increases, the inductance will have a more remarkable change, which will reduce the control accuracy. Therefore, subsequent researches need to be carried out on the automatic identification of inductance parameters.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.