Next Article in Journal
Optimization of Reclaiming–Loading Scheduling in Dry Bulk Terminals Based on Knowledge-Driven Memetic Algorithm
Previous Article in Journal
Vector Reconfiguration on a Bidirectional Multilevel LCL-T Resonant Converter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Steering-by-Wire System Motor Control Based on an Improved Sparrow Search Proportional–Integral–Derivative Algorithm

1
School of Mechanical and Automotive Engineering, Anhui Polytechnic University, Wuhu 241000, China
2
Anhui Province Key Laboratory of Intelligent Car Wire-Controlled Chassis System, Anhui Polytechnic University, Wuhu 241000, China
3
Chery Automobile Company Limited, Wuhu 241009, China
4
School of Mechanical Engineering, Zhejiang University, Hangzhou 310014, China
5
Key Laboratory Collaborat Sensing and Autonomous Unmanned System, Polytech Institute, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(22), 4553; https://doi.org/10.3390/electronics13224553
Submission received: 19 October 2024 / Revised: 14 November 2024 / Accepted: 18 November 2024 / Published: 20 November 2024

Abstract

:
To enhance the control performance of a wire-controlled steering system, an improved sparrow search algorithm for fine-tuning the gains of a proportional–integral–derivative (SSA-PID) steering motor control algorithm is proposed. Mathematical models of the steering system and motor were derived based on an analysis of the system’s structure and dynamics. A PID controller was developed with the aim of facilitating the precise control of the steering angle by targeting the angle of the steering motor. The population diversity in the sparrow algorithm was enhanced through the integration of a human learning mechanism along with a Cauchy–Gaussian variation strategy. Furthermore, an adaptive warning strategy was implemented, which employed spiral exploration to modify the ratio of early warning indicators, thereby augmenting the algorithm’s capacity to evade local optima. Following these enhancements, an SSA-PID steering motor control algorithm was developed. Joint simulations were performed using the CarSim software 2019.1 and MATLAB/Simulink R2022a, and subsequent tests were conducted on a wire-controlled steering test rig. The outcomes of the simulations and bench tests demonstrate that the proposed SSA-PID regulation algorithm is capable of adapting effectively to variations and disturbances within the system, facilitating precise motor angle control and enhancing the overall reliability of the steering system.

1. Introduction

The advancement of driverless technology significantly influences the direction of future automobile development. Traditional steering systems increasingly fail to meet the electrified control requirements that are essential for automated driving. The advancement of steering-by-wire systems has been identified as a pivotal aspect in facilitating autonomous driving capabilities, as discussed in [1]. In these systems, the mechanical link between the steering wheel and the steering mechanism is replaced with an electric motor, which allows for direct operation of the steering mechanism. Therefore, precise control of the steering motor angle is considered essential [2]. However, challenges associated with the development of control algorithms for linear steering systems have impeded their widespread implementation in the automotive sector. This study presents an enhanced iteration of the sparrow search algorithm, which is renowned for its expeditious convergence, with the objective of optimizing the performance of a PID controller while striving to reduce cornering errors in the steering system.
For research on steering-by-wire systems, some scholars have adopted sliding-mode control (SMC), model predictive control (MPC), learning-based control, etc. To enhance the accuracy and robustness of the system and enable vector control of brushless DC motors in [3], an adaptive sliding-mode observer was developed to replace the velocity sensor. Control was achieved by observing the motor’s induced electromotive force, eliminating the need for a velocity sensor. Due to the advantages of high power density and fast response, the comprehensive performance of permanent-magnet synchronous motors is better than that of brushless DC motors in steering system applications [4]. Reference [5] proposed a controller that combines LuGre dual observers and backstepping to respond to external disturbances and flutter using adaptive SMC. In [6], an innovative adaptive fast overtwist sliding-mode control (AFST-SMC) strategy was proposed, employing time-delay estimation (TDE) to optimize the performance of SBW systems by modifying the gain based on control errors. However, the sliding-mode variable-structure control strategy has high requirements for the nonlinearity and uncertainty of the system, and it requires a more accurate model and parameter estimation. In [7], an adaptive hierarchical control method was proposed, based on the VSR strategy of the Adaptive Network Fuzzy Inference System (ANFIS) and an integrated sliding-mode design. The proposed method was observed to accurately track both the expected yaw rate and front wheel rotation angle, thereby enhancing the stability and accuracy of the SBW system when operating in low positions. In order to make the prediction and optimization of the model more accurate, an observer and sliding-mode predictive control (DSMPC) were combined to solve the uncertainty and input constraints of a system and enhance the lateral stability [8]. In [9], model predictive control (MPC) was used to optimize the steering angle in an SBW system to improve its dynamic performance and stability. To enhance real-time control performance, researchers have investigated extreme learning machines. In the study [10], authors proposed a robust adaptive terminal sliding-mode (AITSM) control strategy that employs an extreme learning machine (ELM) to guarantee the convergence of errors and precise estimation of uncertainty. As demonstrated in [11], the ability of the sideslip angle, as well as the yaw rate, to converge was constrained, and the system exhibited a lack of robustness. To address this, the authors proposed using ARITSM for the upper controller and FNTSM for the lower controller. Simulation experiments demonstrated the effectiveness of this control scheme, achieving decoupling and optimization of the SBW system’s steering performance.
PID controllers offer fast response times and high control accuracy, making them suitable for widespread use in electronic control systems. Compared to SMC, MPC, and extreme learning machines, they are particularly efficient in these aspects. The whale optimization algorithm was employed in [12] to determine the optimal PID controller parameters. The algorithm’s optimization ability and convergence speed were enhanced by improving the population iteration updating method and incorporating an adaptive learning strategy. In [13,14,15], the BP neural network training method was integrated into the PID control strategy, resulting in enhanced performance and robustness of the regulated system. In conventional PID controllers, the control output is determined by measuring the magnitude of the system error, its rate of change, and integrating the error over time. However, PID controllers usually require the manual tuning of parameters and may not perform well for nonlinear, time-varying, or complex systems. A superior solution can be identified using the sparrow search algorithm (SSA) through a global search within the solution vector space. This makes it highly adaptable to complex nonlinear systems and multi-peak optimization problems, and the individuals in the algorithm population are adaptive and can adjust to the needs of the current environment. The sparrow algorithm facilitates the automatic adjustment of search strategies and parameter values in accordance with a problem’s characteristics, thereby enhancing the robustness and stability of the PID controller. Using the sparrow algorithm for parameter optimization in a PID controller improves the system’s control performance and response speed.
Various improvement strategies for addressing local optima in the SSA were summarized in [16]. A hybrid approach combining the strengths of the artificial bee colony algorithm and the SSA was proposed to improve optimization performance [17]. An improved SSA was introduced in [18], utilizing the Levy flight strategy to boost global optimization capabilities. The enhancement of population diversity was achieved in [19] through chaotic mapping combined with a greedy strategy, thereby improving the algorithm’s effectiveness against local optima. In [20], a hybrid strategy was employed to augment the quality, diversity, and search capability of the preliminary population. This resulted in improved convergence accuracy and speed in specific application scenarios. The approach of chaotic mapping, as described in [21], was used to optimize both the quality and quantity of the explorer subpopulation within the SSA, thereby enhancing the global search ability of the system. In order to enhance the algorithm’s capacity to circumvent local optima, a two-sample learning strategy was employed to update the follower positions. An inverse learning strategy was utilized in [22] to enhance individual exploration abilities, along with improvements to the flexible strain mechanism via a perturbation operator, adaptive weight factor, and sine–cosine factor. Additionally, a penalty processing mechanism was developed for vigilantes to ensure appropriate search solutions for individuals outside the boundary, thus guaranteeing the full utilization of each sparrow’s value. However, while enhancing the algorithm’s ability to search for optimal solutions, more arithmetic power and more accurate test functions are needed to meet the algorithm’s operational requirements.
To address the issues mentioned above, this study introduces a steering-by-wire motor control method that uses an enhanced SSA-PID algorithm. A novel adaptive early warning strategy based on spiral exploration is proposed with the objective of enhancing the sparrow algorithm’s capability to escape local optima. This is achieved by incorporating the human learning mechanism and the Cauchy–Gaussian mutation strategy, which increases population diversity in the algorithm. Then, the SSA-PID steering motor control algorithm is designed and improved. The proportional, integral, and differential coefficients are adjusted using the improved sparrow algorithm to achieve precise control of the system. To augment the anti-interference capacity of the control system, the nonlinear characteristics of the permanent-magnet synchronous motor and the impact of permanent-magnet encapsulation are taken into account. The objective of this study was to enhance the stability of the steering-by-wire system by reducing external interference and incorporating current compensation into the motor signal input. In the initial phase of the enhanced sparrow algorithm, the discrepancy between the actual and target motor angles is utilized as the fitness value. Subsequently, an iterative optimization process is employed in order to determine the optimal PID controller parameters. Then, the output of the PID controller is used as a control signal and input to the steering motor to achieve accurate control of the rotation angle. Due to the real-time acquisition of corner information and the iterative calculation of control signals, the method has high real-time performance and can quickly respond to system changes. The PID controller can adapt to changes and disturbances in the system, making the control of the steering motor more stable and reliable. Considering that actuator wear will reduce performance over time, the experimental rig will be maintained at the end of its use to extend its service life. In order to avoid the influence of temperature, humidity, light, and other environmental factors, the entire test bench is placed in a separate room, isolating it from such factors to ensure the stability of the test environment.
The remainder of this article is structured as follows. Section 2 elucidates the structure and operational principle of the wire-controlled steering system and presents the mathematical models of both the vehicle and the steering system. In Section 3, a mixed-strategy improved SSA based on PID control is proposed for the modeling of the steering motor’s PMSM, and the effect of the improved algorithm is verified and applied. In Section 4, steering pedestal experiments are conducted to test the control strategy for the steering motor and the improved algorithm. Subsequently, the results are subjected to a comparative analysis with the data obtained from the simulation. Finally, the work carried out in this study is summarized in Section 5.

2. Modeling of Steering-by-Wire Systems

2.1. Structure and Working Principle of the Steering-by-Wire System

As shown in Figure 1, the steering-by-wire system includes a steering wheel module, a steering actuator module, and an electronic control unit (ECU). During operation, signals from the steering wheel are monitored using torque and angle sensors and transmitted to the ECU via a communication bus. Vehicle status information, such as speed, is also received by the ECU. The front wheel’s steering angle is calculated by the control unit based on a specified algorithm, and this angle signal is sent to the steering motor through the communication bus to initiate the steering action [23]. The ECU calculates the torque of the road-sensing motor using the return torque. This feedback is then transmitted to the driver through the steering wheel, simulating the sensation provided by a mechanical connection.

2.2. Modeling of the Steering-by-Wire System

The steering-by-wire system consists of a steering wheel module and a steering actuation module [24]. The dynamic balance equation for the steering wheel module is derived through a detailed analysis of the steering wheel and column, as outlined below:
T s w = J s w θ s w ¨ + B sw θ s w ˙ + K sw θ s w θ m G m + T f
In this context, T s w represents the steering wheel’s input moment, J s w denotes the rotational inertia of the steering wheel assembly, B sw = 0.366 N·m·s/rad indicates the steering wheel’s damping coefficient, and θ s w refers to the steering wheel’s angle. K sw = 131 N·m/rad is the steering wheel’s torsional stiffness, θ m is the road-sensing motor angle, G m = 17 is the road-sensing motor’s reduction ratio, and T f is the steering wheel assembly’s friction moment.
The system includes a steering motor and a steering actuator. The dynamic balance equation for the steering motor is given by
T M = J M θ M ¨ + B M θ M ˙ + K M θ M X r r p / G m + f M · s i g n θ M ˙
In this context, T M denotes the output torque of the steering motor, J M represents the motor’s rotational inertia, θ M indicates the angle of rotation of the steering motor, B M = 0.00011 N·m·s/rad refers to the motor damping coefficient, K M = 172 N·m/rad signifies the steering motor’s torsional stiffness, X r represents the rack displacement, r p = 0.00837 mm is the radius of the pinion indexing circle, G M denotes the steering motor’s gear reduction ratio, and f M indicates the friction within the motor and reduction mechanism.
The power balance equation for the steering motor is
V M = L M · i M ˙ + R M · i M + K b · θ M ˙
The electromagnetic torque equation is
T M = P M Z M ϕ M i M 2 π a M = K M · i M
In this context, V M represents the steering motor voltage, L M denotes the armature inductance, i M indicates the motor current, R M = 0.44   Ω refers to the armature resistance, K b = 0.072 V·s/rad signifies the electromotive force coefficient, P M represents the steering motor power, Z M denotes the number of turns of the armature winding, ϕ M is the magnetic flux per stage, and a M indicates the number of branch circuits in the armature winding.
The equilibrium equations for the rack and pinion dynamics are
m r X r ¨ + B r X r ˙ + F r = G M T M / r p θ s g = X r / r p
In this context, m r = 4.21 Kg denotes the rack mass, B r = 1100 N·m·s/rad represents the rack’s damping coefficient, F r indicates the rack’s motion resistance, and θ s g signifies the pinion angle.
As an example, the steering wheel’s dynamic balance equation for a front-wheel-drive model is
J F W 1 θ F W 1 + B FW 1 θ F W 1 = K FW 1 X r N L 1 θ F W 1 T F 1
In this context, J F W 1 denotes the rotational inertia of the left steering wheel, B FW 1 = 203 N·m·s/rad represents the damping coefficient of the left steering wheel, θ F W 1 indicates the steering angle of the left steering wheel, K FW 1 = 132 N·m/rad signifies the torsional stiffness of the left steering wheel, N L 1 represents the torsional stiffness from the rack to the left steering wheel, and T F 1 indicates the steering resistance moment of the left steering wheel.

2.3. Simulation and Analysis of the Steering-by-Wire System

2.3.1. Variable-Ratio Design

To ensure the stability of the vehicle’s handling, a method based on a constant yaw velocity gain is used to design the ideal transmission ratio [25]. This approach addresses the limitations of the constant angular velocity gain, including its poor adaptability to the dynamic system, low anti-interference capability, and mismatch with the vehicle’s physical characteristics.
The two-degree-of-freedom model of the vehicle is represented as follows:
β k 1 + k 2 + 1 u a k 1 b k 2 ω r k 1 θ F W = m v ˙ + u ω r β a k 1 b k 2 + 1 u a 2 k 1 + b 2 k 2 ω r a k 1 θ F W = I z ω r
In this context, β denotes the lateral deflection angle of the vehicle’s center of mass, and k 1 = 107,948.6 N/rad and k 2 = 98,538.2 N/rad represent the lateral deflection stiffnesses of the front and rear wheels, respectively. The variable u indicates the velocity component of the center of mass in the direction of vehicle motion, while a = 1015 mm and b = 1895 mm signify the distances from the front and rear axles to the center of mass, respectively. ω r represents the transverse angular velocity of the vehicle, m = 1341 Kg denotes the total mass of the vehicle, and θ F W = ( θ F W 1 + θ F W 2 ) / 2 , with θ F W 2 indicating the steering angle of the right steering wheel. Additionally, v represents the vertical velocity component of the center of mass, and I z denotes the rotational moment of inertia about the z-axis.
Let K w represent the transverse pendulum angular velocity. In the two-degree-of-freedom vehicle model, it is given by
ω r = K w · θ s w = K w · θ F W · G = v · θ F W 1 + m v 2 L 2 a 2 k 1 b 2 k 2
Here, G represents the steering ratio, and L = a + b , L = 2910 mm denotes the distance between the front and rear axles of the vehicle.
Consequently, the transmission ratio G is determined as follows:
G = v K w L 1 + m v 2 L 2 a 2 k 1 b 2 k 2
Since the motor turning angle is the focus of this study, the transmission ratio G 1 between the steering wheel and the steering motor must be established. For convenience, the transmission ratio G 2 between the steering motor and the wheel is set to 1.15, which is calculated using the following transmission ratio formula:
G = G 1 + G 2
The transmission relationship between the steering wheel and the steering motor is given by Equation (11), where K w is set to 0.3 s−1:
G 1 = v 1.15 K w L 1 + m v 2 L 2 a 2 k 1 b 2 k 2

2.3.2. Simulation and Analysis of the Variable-Ratio-Based Steering Motor

In order to test the steering motor angle control effect, a variety of working conditions were set up in the CarSim software to carry out joint simulations, as shown in Figure 2.

3. Research on the Steering Motor Control Algorithm

3.1. Steering Motor Modeling for the Steering-by-Wire System

High-precision steering control is achieved by precisely regulating the phase and amplitude of the stator current in permanent-magnet synchronous motors, which offer a higher torque density for increased output torque [26,27,28]. This characteristic makes permanent-magnet synchronous motors particularly well suited for steering applications that demand both high accuracy and substantial torque output. As a result, the steering motor is classified as a three-phase permanent-magnet synchronous motor.
The three-phase windings inside the motor are arranged at 120° intervals. The chain equation of the permanent-magnet synchronous motor (PMSM) in the ABC three-phase coordinate system is as follows:
φ A φ B φ C = L A M A B M A C M B A L B M B C M C A M C B L C i A i B i C + φ f A φ f B φ f C
In this context, φ A , φ B , and φ C represent the magnetic chains of the three-phase windings. L A , L B , and L C denote the self-inductances of these windings, while M A B , M A C , M B A , M B C , M C A , and M C B indicate the mutual inductances between the three-phase windings. The currents in the windings are represented by i A , i B , and i C , and φ f A , φ f B , and φ f C denote the magnetic chains of the three-phase windings generated by the magnetic field of the permanent magnet’s excitation.
The voltage balance equation, typically employed in the context of permanent-magnet synchronous motors, is commonly written in the following form:
u A u B u C = R 0 0 0 R 0 0 0 R i A i B i C + L 0 0 0 L 0 0 0 L d d t i A i B i C ω r φ f cos θ cos θ 2 π / 3 cos θ + 2 π / 3
where u A , u B , and u C are the phase voltages of the three-phase motor and R is the three-phase stator resistance.
The equation for the motor’s electromagnetic torque is usually written as follows:
T e = P φ f i A sin θ + i B sin θ 2 π / 3 + i C sin θ + 2 π / 3
where P is the number of pole pairs of the motor rotor.
To simplify the mathematical model of the complex nonlinear system of the permanent-magnet synchronous motor (PMSM) and aid in control decoupling, a coordinate system transformation is necessary.
After applying the Clarke and Park transformations, the three-phase coordinate system undergoes a transition to become a two-phase stationary system. Subsequently, the α - β coordinates are multiplied by a rotation matrix, thereby deriving the d-q coordinate system.
The current in the d-q coordinate system is given by
i d i q = cos θ sin θ sin θ cos θ i α i β
In the d-q rotating coordinate system, i d and i q represent the currents, while i α and i β represent the currents in the α - β rotating coordinate system.
As a result of the Park transformation, the equation expressing the voltage balance is given by
u d u q = R ω L s ω L s R i d i q + L d d t i d i q + 0 ω
In the d-q rotating coordinate system, u d and u q denote the voltages.
The transformed electromagnetic torque equation is
T e = 3 2 P φ d i q φ q i d = 3 2 P φ f i q
where φ d and φ q are the magnetic chains of the d and q axes, respectively.
The equation shows that the motor’s electromagnetic torque can be controlled by adjusting the magnitude of the q-axis current.

3.2. Improved SSA-PID Algorithm

This study uses the SSA-PID control algorithm to adjust the motor angle. The parameters of PID control ( K P , K I , and K D ) can be set by humans, and the control parameter values can be gradually changed to change the control effect. However, this method is very cumbersome, as it is not only time- and labor-consuming but also fails to reach the ideal state in terms of the control effect [29]. Using the sparrow search algorithm to determine the parameters can enhance both control stability and effectiveness. The PID controller, in conjunction with the optimization algorithm, is utilized for motor corner-tracking control, effectively enhancing the corner-following capability and steering motor accuracy. The control strategy is illustrated in Figure 3.
Several improvements were proposed to the sparrow search algorithm (SSA) to improve its convergence speed and accuracy. Modifications were made to overcome the SSA’s tendency to converge to local optima and enhance population diversity. A human learning mechanism was introduced to modify the update method for the individual with the worst fitness, promoting greater population diversity. Additionally, the Cauchy and Gaussian variation methods were applied to determine the step size of the variation for each individual based on its ranking position. Furthermore, the global search capability of the SSA’s alarmers was enhanced through the implementation of spiral variation. To further accelerate the convergence speed, the number of alarmers was optimized using a linearly decreasing approach. The improvements are described as follows:
(1)
Sparrow Algorithm Based on Human Social Learning Behavior
As the algorithm iterates, each individual in the population approaches the optimal value, resulting in a rapid decline in population diversity and a reduction in convergence accuracy [30]. To solve this problem, the idea of human social learning behavior is introduced to improve population diversity. Improvements are made to the updating method for individuals in the population through this idea. The specific improvements are detailed below.
The worst-adapted individual during each iteration, i.e., the worst individual globally, X w o r s t , is defined as follows:
X w o r s t = max F i t X 1 , F i t X 2 , , F i t X M
The learning factor r 3 is introduced into the position update process for population individuals to simulate human social learning behavior. This factor is defined as a random number following a standard normal distribution, N (0,1). When r 3 > 0 , learning among the population individuals is facilitated, resulting in increased energy values and improved global optimization capabilities of the algorithm. In contrast, when r 3 < 0 , a penalty is applied to learning, improving the algorithm’s local search capability. To lessen the impact of a single parameter on the algorithm’s optimal solution, two additional random learning factors, r 1 and r 2 , are introduced. These factors are defined as random numbers within the interval [0, 1] and follow a uniform distribution, with the constraint that r 1 + r 2 = 1 . The position update formula is then revised as follows:
X i d t + 1 = X i d t + r 1 P b e s t d t X i d t + r 2 G b e s t d t X i d t + r 3 X w o r s t d t X i d t
In this context, X i d t + 1 represents the updated position of the population individuals, X i d t denotes the current position, P b e s t d t signifies the historical optimal solution, and G b e s t d t indicates the global optimal solution.
(2)
Cauchy–Gaussian Variation Strategy
To address the issue of sparrow individuals in the sparrow algorithm tending to experience individual assimilation in the later iterations, which leads to locally optimal solutions, a Cauchy–Gaussian mutation strategy is introduced. Following the mutation of individuals with optimal fitness using the Cauchy–Gaussian operator, a comparison of their positional energy values before and after the mutation is made. The individual exhibiting the highest positional energy value is selected for substitution in the subsequent iteration [31]. The formula is as follows:
X i d t + 1 = X b e s t d t + X i d t X k d t · λ 1 C a u c h y 0 , σ 2 + λ 2 G a u s s 0 , σ 2
In this context, X i d is designated as the position of the optimal-fitness individual following the mutation, X b e s t d represents the position of the current optimal individual, and X k d denotes a randomly selected individual in the d-th dimension and k-th instance. The parameters λ 1 and λ 2 are updated throughout the iterations. The function C a u c h y ( ) represents a random parameter that follows the Cauchy distribution, while G a u s s ( ) represents a random parameter that follows the Gaussian distribution.
σ = 1 , f X b e s t < f X i exp f X b e s t f X i f X b e s t , o t h e r w i s e .
(3)
Adaptive Predictive Warning Based on Spiral Exploration
To address the sparrow algorithm’s rapid convergence and strong optimization ability, as well as its tendency to fall into local optima, an updating strategy is proposed. This strategy enables the proportion of early-warning individuals to undergo a spiral change with respect to the number of iterations. In the first half of the algorithm’s iterations, the spiral change enhances the global search capability. In the second half, the quantity of early-warning individuals is decreased using a linear-decreasing method. This approach aims to avoid local optima and improve the algorithm’s convergence speed. The update process for the number of alarmers is as follows:
N f = i n t z · N f t · exp i / α · M a x i t e r , 0 < t M a x i t e r / 2 N m a x i n t t 2 · N m a x N m i n M a x i t e r , M a x i t e r / 2 < t M a x i t e r
In this context, N f represents the proportion of early warners, z denotes the spiral exploration factor, t indicates the current iteration number, α is a random number between 0 and 1, M a x i t e r is the maximum number of iterations, N m a x is the maximum number of early warners, and N m i n is the minimum number of early warners. The maximum number of early warners is set to 20% of the population, while the minimum number is set to 10%.
Based on the improved strategy described above, the improved hybrid sparrow search algorithm (HSSA) is proposed, and its flowchart is illustrated in Figure 4. To validate the optimization capabilities of the HSSA, both single-peak and multi-peak functions are employed to assess the convergence speed and accuracy. The functions to be tested are listed in Table 1, and the results are shown in Figure 5. Functions F1 to F3 are associated with single-peak functions, which typically contain a single global optimal solution. In contrast, functions F4 to F6 represent multi-peak functions, which are characterized by multiple locally optimal solutions. Single-peak functions are utilized to evaluate the algorithm’s convergence accuracy and speed, whereas multi-peak functions are primarily used to examine the algorithm’s capacity to escape local optima [32]. Figure 5a–f show the solution iteration results of the HSSA and SSA for test functions F1 to F6, respectively.
The convergence curves for the test functions in Figure 5 reveal that functions F1, F3, F4, and F5 display slow convergence prior to 300 iterations. This is attributed to the introduction of the Cauchy–Gaussian variation strategy, human learning mechanism, and warning mechanism of spiral exploration, all of which preserve population diversity and enhance the global exploration capability. After 300 iterations, a decrease in the number of individuals is observed, resulting in an enhanced speed of convergence and increased accuracy of the algorithm. Functions F2 and F6 are observed to reach local optima between 300 and 700 generations. The hybrid improvement strategy enhances the algorithm’s ability to escape from local optima.
To assess the stability of the improved algorithm, the means and standard deviations of the test results were calculated and are shown in Table 2. The standard deviation of the hybrid sparrow search algorithm (HSSA) was lower than that of the ordinary sparrow algorithm (SSA), suggesting improved stability. Furthermore, the average value was found to be closer to the optimal value, indicating an improvement in the optimization capability of the HSSA. Overall, the results demonstrate that the HSSA converges faster and achieves higher accuracy compared to the SSA.

3.3. Simulation Analysis of the Steering Motor

The improved hybrid sparrow search algorithm (HSSA) was utilized for the parameter adjustment of PID control. The three PID parameters were defined as the population individuals in the sparrow algorithm. A target corner was defined according to the steering motor’s operating conditions. The algorithm then automatically adjusted the PID controller’s parameters based on the cornering error’s fitness value. This adjustment aimed to stabilize the actual corner of the motor near the target value.
The first step was to set the sparrow population size to 30, ensuring a broader solution space. Typically, the population size ranges from 30 to 50, with explorers making up 10% to 20% of the total. The algorithm was set to a maximum of 100 iterations. The upper and lower bounds for the initialization position (UB and LB) were determined based on the dimension of the benchmark function. To enhance search response speed, the safety value (R2) and warning value (ST) were set between 0.6 and 0.8, as shown in Table 3.
Figure 6a displays the simulation results of the motor angle under double-lane-change conditions at a vehicle speed of 60 km/h, while Figure 6b shows the results at a speed of 90 km/h. Similarly, Figure 7a presents the simulation results of the motor angle under sine-wave conditions at 60 km/h, and Figure 7b illustrates the results at 90 km/h.
Table 4 presents a summary of the simulation results for the double-lane-change conditions, displaying the mean and standard deviation of the steering motor angle deviations at vehicle velocities of 60 km/h and 90 km/h. At 60 km/h, the mean steering angle error with HSSA-PID control was 0.3582°, and the standard deviation was 0.3625, representing reductions of 74.58% and 76.02%, respectively, compared with SSA-PID control. At 90 km/h, the mean error with HSSA-PID control was 0.3516°, and the standard deviation was 0.3220, indicating decreases of 57.24% in the mean error and 53.07% in the standard deviation compared with SSA-PID control.
The simulation results for the sine-wave conditions, including the mean and standard deviation of the steering motor angle errors at vehicle speeds of 60 km/h and 90 km/h, are presented in Table 5. At 60 km/h, a mean steering angle error of 1.3505° was observed with HSSA-PID control, and the standard deviation was recorded at 2.0185°. These results indicate reductions of 8.88% in the mean error and 20.04% in the standard deviation when compared with SSA-PID control. At 90 km/h, the mean error with HSSA-PID control was observed to be 0.9567°, with a standard deviation of 1.2722°. This reflects decreases of 23.50% in the mean error and 26.83% in the standard deviation relative to SSA-PID control.
According to the simulation results of the step condition, the maximum overshoot of the amplitude under the control of HSSA-PID was reduced by 2.96% compared with the maximum overshoot under the control of SSA-PID. When the load was added at 0.7 s, the peak time and steady-state error under HSSA-PID control were not significantly different from those of SSA-PID, but they were improved compared with SMC and MPC.The simulation results are shown in Figure 8 and the specific data are shown in Table 6.

4. Test Bench of the Steering-by-Wire System Steering Motor

4.1. Construction of Test Bench

To evaluate the reliability of the control strategy for practical applications, a test bed for the steering-by-wire system was constructed, as depicted in Figure 9. This setup included a steering wheel, a corner sensor, a steering-by-wire ECU, wheels, a rack-and-pinion steering gear, steering motors, an inferior unit, and an upper unit. The test process was as follows: first, power was supplied to the upper unit, inferior unit, steering wheel, and steering system. Then, the model built on the computer was compiled into a file type that could be recognized by the upper computer. The road conditions and operating conditions were established in the CarSim 2019.1 software, compiled, and sent to the VeriStand 20202 R4 software, where it was possible to connect the model and road condition information of the upper computer with the real-time signals of the vehicle steering system received by the inferior unit through a communication protocol, thus completing the acquisition of test data.

4.2. Test Results and Analysis

In the CarSim software, the operating conditions were initially set to 60 km/h for the double-lane-change scenario, as shown in Figure 10a. To evaluate the impact of the variable-transmission ratio, the vehicle speed was increased to 90 km/h. The results for the double-lane-change conditions are presented in Figure 10b. The test curves for the sine-wave conditions at 60 km/h and 90 km/h are shown in the subsequent Figure 11.
Table 7 presents the outcomes of the double-lane-change condition test, exhibiting the mean and standard deviation of steering motor angle errors at vehicle speeds of 60 km/h and 90 km/h. At a speed of 60 km/h, the mean steering angle error under HSSA-PID control was 2.5155°, with a standard deviation of 1.8930. These values reflect a 17.11% reduction in the mean error compared with SSA-PID control and an 18.18% decrease in standard deviation relative to SSA-PID control. At a speed of 90 km/h, the mean steering angle error under HSSA-PID control was 2.5343°, with a standard deviation of 1.8969, representing a 13.19% reduction in the mean error compared with SSA-PID control, along with a 14.00% decrease in the standard deviation.
Table 8 presents the simulation results under sinusoidal conditions, including both the mean value and the standard deviation of the steering motor angle errors at speeds of 60 km/h and 90 km/h. At 60 km/h, the mean steering angle error under HSSA-PID control was 2.9477°, with a standard deviation of 2.3878. These values represent an 11.25% reduction in the mean error compared with SSA-PID control and a 17.20% reduction in the standard deviation. A mean steering angle error of 2.5197° was observed for the HSSA-PID control system at a speed of 90 km/h, with a standard deviation of 1.9768. This represents a 10.94% reduction in the mean error and a 10.20% reduction in the standard deviation compared to SSA-PID control.

5. Conclusions

In view of the hardware limitations and safety problems that commercial vehicles may face when implementing the SSA-PID algorithm, this study turned to a test bench designed based on a specific model by Chery for verification. The test bench covered the key motion control aspects of the vehicle, such as steering and acceleration, and was designed to simulate the dynamic response of a vehicle under real road conditions. Through a series of experimental verifications on the bench, the feasibility of the proposed control algorithm under hardware constraints was ensured, and its influence on vehicle-handling stability and dynamic vehicle performance was evaluated. This method not only effectively avoids the risks caused by hardware and safety concerns but also provides an experimental basis for promoting the implementation of these research results in actual commercial vehicles in the future, as well as the close integration between research and applications. Following an analysis of the steering control stability issue in the steering-by-wire system, the following conclusions were reached:
(1)
To enhance the steering motor’s angle control accuracy in the steer-by-wire system, an improved SSA-PID control strategy was developed. Considering that actuator wear and tear may affect performance during use, the test bench will be maintained after the end of service to extend its service life.
(2)
The population diversity of the sparrow algorithm was increased by incorporating a human learning mechanism and a hybrid Cauchy–Gaussian mutation strategy. In order to enhance the exploration of the solution space and improve both the efficiency of the algorithm and its capacity to circumvent local optima, an adaptive spiral exploration method was introduced. This method updates the characteristics of the warning agents in the sparrow algorithm. As a result, a hybrid sparrow search algorithm (HSSA) was developed; it incorporated these enhancement strategies and was subsequently applied to the PID control system of the steering motor.
(3)
The integration of the algorithm and the verification of its control effects were conducted on the test bench. A comparison with other control algorithms revealed that HSSA-PID control outperformed both SMC and SSA-PID control. The experimental results indicated that, under double-lane-change conditions, the mean cornering errors of steering motors controlled by HSSA-PID at speeds of 60 km/h and 90 km/h were reduced by 17.11% and 13.19%, respectively, while the standard deviations of the cornering errors were decreased by 18.18% and 14.00% compared with those of SSA-PID control. Under sine-wave conditions, the mean cornering errors were reduced by 11.25% and 10.94%, with the standard deviations decreasing by 17.20% and 10.20%, respectively. The implementation of current compensation in the motor signal input was shown to effectively reduce external interference and the nonlinear effects within the system. This modification ensures a stable response of the steering motor to commands and enhances corner tracking control in the steer-by-wire system.

Author Contributions

Conceptualization, K.J. and P.X.; methodology, P.X.; software, K.J., D.Y., Z.F. and R.Z.; validation, P.X.; formal analysis, K.J. and D.Y.; investigation, D.Y., Z.F. and A.Y.; resources, K.J., D.Y. and Z.F.; data curation, K.J.; writing—original draft preparation, K.J.; writing—review and editing, K.J.; visualization, K.J.; supervision, P.X., R.Z. and A.Y.; project administration, K.J.; funding acquisition, P.X. All authors are in agreement with the published version of the manuscript.

Funding

In the interest of full transparency and in accordance with the norms of academic conduct, the author(s) wish to disclose the receipt of financial support in the form of grants or other forms of remuneration for the research, authorship, and publication of this article. This research is supported by the Key Research and Development Projects in Anhui Province (2022a05020007), the 2024 Anhui Provincial University Collaborative Innovation Project (GXXT-2023-039), and the National Natural Science Foundation of China (52375227).

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The author Dongde Yang was employed by the company Chery Automobile Company Limited. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following acronyms and abbreviations are employed throughout this manuscript:
DCdirect current
ECUelectronic control unit
HSSAhybrid sparrow search algorithm
MPCmodel predictive control
PIDproportional–integral–derivative
PMSMpermanent-magnet synchronous motor
SSAsparrow search algorithm
SMCsliding-mode control

Appendix A

F 5 ( x ) = π n 10 sin π y 1 + i = 1 n y i 1 2 1 + 10 sin 2 π y i + 1 + y n 1 2 + i = 1 n u x i , 10 , 100 , 4
u x i , a , k , m = k x i a m , x i > a 0 , a < x i < a k x i a m , x i < a
F 6 ( x ) = 0.1 sin 2 3 π x 1 + i = 1 n x i 1 2 1 + sin 2 3 π x i + 1 + x n 1 2 1 + sin 2 2 π x n + i = 1 n u x i , 5 , 100 , 4

References

  1. Ma, B.; Wang, Y. Adaptive type-2 fuzzy sliding mode control of steer-by-wire systems with event-triggered communication. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2021, 235, 2442–2455. [Google Scholar] [CrossRef]
  2. Wang, Y.; Liu, Y.; Wang, Y.; Chai, T. Neural Output Feedback Control of Automobile Steer-by-Wire System with Predefined Performance and Composite Learning. IEEE Trans. Veh. Technol. 2023, 72, 5906–5921. [Google Scholar] [CrossRef]
  3. Orman, K. Design of a memristor-based chattering free sliding mode controller and speed control of the BLDC motor. Teh. Vjesn. 2021, 28, 754–762. [Google Scholar]
  4. Das, U.; Biswas, P.K. Relative study of classical and fuzzy logic controllers in a closed-loop BLDC motor drive with the GA and PSO optimization technique. J. Appl. Res. Technol. 2021, 19, 379–402. [Google Scholar] [CrossRef]
  5. Liang, X.; Zhao, L.; Wang, Q.; Chen, W.; Xia, G.; Hu, J.; Jiang, P. A novel steering-by-wire system with road sense adaptive friction compensation. Mech. Syst. Signal Process. 2022, 169, 108741. [Google Scholar] [CrossRef]
  6. Yang, Y.; Yan, Y.; Xu, X. Fractional Order Adaptive Fast Super-Twisting Sliding Mode Control for Steer-by-Wire Vehicles with Time-Delay Estimation. Electronics 2021, 10, 2424. [Google Scholar] [CrossRef]
  7. Yang, H.; Liu, W.; Chen, L.; Yu, F. An adaptive hierarchical control approach of vehicle handling stability improvement based on Steer-by-Wire Systems. Mechatronics 2021, 77, 102583. [Google Scholar] [CrossRef]
  8. Zhao, J.; Yang, K.; Cao, Y.; Liang, Z.; Li, W.; Xie, Z.; Wong, P.K. Observer-Based Discrete-Time Cascaded Control for Lateral Stabilization of Steer-by-Wire Vehicles with Uncertainties and Disturbances. IEEE Trans. Circuits Syst.-Regul. Pap. 2023, 70, 3347–3358. [Google Scholar] [CrossRef]
  9. Yan, M.; Chen, W.; Wang, Q.; Zhao, L.; Liang, X.; Cai, B. Human-Machine Cooperative Control of Intelligent Vehicles for Lane Keeping-Considering Safety of the Intended Functionality. Actuators 2021, 10, 210. [Google Scholar] [CrossRef]
  10. Ye, M.; Wang, H. Robust adaptive integral terminal sliding mode control for steer-by-wire systems based on extreme learning machine. Comput. Electr. Eng. 2020, 86, 106756. [Google Scholar] [CrossRef]
  11. Zhang, J.; Wang, H.; Ma, M.; Yu, M.; Yazdani, A.; Chen, L. Active Front Steering-Based Electronic Stability Control for Steer-by-Wire Vehicles via Terminal Sliding Mode and Extreme Learning Machine. IEEE Trans. Veh. Technol. 2020, 69, 14713–14726. [Google Scholar] [CrossRef]
  12. Mortazavizadeh, S.A.; Ghaderi, A.; Ebrahimi, M.; Hajian, M. Recent developments in the vehicle steer-by-wire system. IEEE Trans. Transp. Electrif. 2020, 6, 1226–1235. [Google Scholar] [CrossRef]
  13. Mosaad, A.M.; Attia, M.A.; Abdelaziz, A.Y. Whale optimization algorithm to tune PID and PIDA controllers on AVR system. Ain Shams Eng. J. 2019, 10, 755–767. [Google Scholar] [CrossRef]
  14. Pirasteh-Moghadam, M.; Saryazdi, M.G.; Loghman, E.; Kamali, A.; Bakhtiari-Nejad, F. Development of neural fractional order PID controller with emulator. ISA Trans. 2020, 106, 293–302. [Google Scholar] [CrossRef]
  15. Gao, P.; Yang, P. Research on Speed Control of Three-Phase Alternating Current Asynchronous Motor Based on Back Propagation Neural Network Tuning Proportion Integration Differentiation Control. J. Nanoelectron. Optoelectron. 2022, 17, 958–966. [Google Scholar] [CrossRef]
  16. Ren, L.; Zhang, W.; Ye, Y.; Li, X. Hybrid Strategy to Improve the High-Dimensional Multi-Target Sparrow Search Algorithm and Its Application. App. Sci. 2023, 13, 3589. [Google Scholar] [CrossRef]
  17. Gharehchopogh, F.S. Advances in tree seed algorithm: A comprehensive survey. Arch. Comput. Methods Eng. 2022, 29, 3281–3304. [Google Scholar] [CrossRef]
  18. Gad, A.G.; Sallam, K.M.; Chakrabortty, R.K.; Ryan, M.J.; Abohany, A.A. An improved binary sparrow search algorithm for feature selection in data classification. Neural Comput. Appl. 2022, 34, 15705–15752. [Google Scholar] [CrossRef]
  19. Dong, J.; Dou, Z.; Si, S.; Wang, Z.; Liu, L. Optimization of capacity configuration of wind–solar–diesel–storage using improved sparrow search algorithm. J. Electr. Eng. Technol. 2022, 17, 1–14. [Google Scholar] [CrossRef]
  20. Gao, B.; Shen, W.; Guan, H.; Zheng, L.; Zhang, W. Research on multistrategy improved evolutionary sparrow search algorithm and its application. IEEE Access 2022, 10, 62520–62534. [Google Scholar] [CrossRef]
  21. Khedr, A.M.; Al Aghbari, Z.; Raj, P.P. MSSPP: Modified sparrow search algorithm based mobile sink path planning for WSNs. Neural Comput. Appl. 2023, 35, 1363–1378. [Google Scholar] [CrossRef]
  22. Tang, A.; Zhou, H.; Han, T.; Xie, L. A Chaos Sparrow Search Algorithm with Logarithmic Spiral and Adaptive Step for Engineering Problems. Cmes-Comput. Model. Eng. Sci. 2022, 130. [Google Scholar] [CrossRef]
  23. Irmer, M.; Degen, R.; Nüßgen, A.; Thomas, K.; Henrichfreise, H.; Ruschitzka, M. Development and Analysis of a Detail Model for Steer-by-Wire Systems. IEEE Access 2023, 11, 7229–7236. [Google Scholar] [CrossRef]
  24. He, L.; Huang, C.; Xu, Z.; Li, S.; Guo, C.; Shi, Q. A Model-Tuned Predictive Backstepping Control Approach for Angle Following of Steer-by-Wire. IEEE Trans. Intell. Transp. Syst. 2024, 25, 8053–8062. [Google Scholar] [CrossRef]
  25. Shi, Q.; Wei, Y.; Xie, D.; Li, F.; Song, K.; He, L. A model predictive control approach for angle tracking of steer-by-wire system with nonlinear transmission ratio. Asian J. Control 2023, 25, 1156–1166. [Google Scholar] [CrossRef]
  26. Wang, S.; Kang, J.; Degano, M.; Galassini, A.; Gerada, C. An accurate wide-speed range control method of IPMSM considering resistive voltage drop and magnetic saturation. IEEE Trans. Ind. Electron. 2019, 67, 2630–2641. [Google Scholar] [CrossRef]
  27. Xu, Y.; Ding, X.; Wang, J.; Li, Y. Three-vector-based low-complexity model predictive current control with reduced steady-state current error for permanent magnet synchronous motor. IET Electr. Power Appl. 2020, 14, 305–315. [Google Scholar] [CrossRef]
  28. Yi, P.; Wang, X.; Sun, Z. Interior permanent magnet synchronous motor minimum current harmonics torque ripple suppression strategy based on magnetic co-energy model. IET Electr. Power Appl. 2020, 14, 234–244. [Google Scholar] [CrossRef]
  29. Zhang, J.; Zhao, C.; Guo, L. On PID control theory for nonaffine uncertain stochastic systems. J. Syst. Sci. Complex. 2023, 36, 165–186. [Google Scholar] [CrossRef]
  30. Du, Y.; Yuan, H.; Jia, K.; Li, F. Research on threshold segmentation method of two-dimensional Otsu image based on improved sparrow search algorithm. IEEE Access 2023, 11, 70459–70469. [Google Scholar] [CrossRef]
  31. Ding, C.; Ding, Q.; Wang, Z.; Zhou, Y. Fault diagnosis of oil-immersed transformers based on the improved sparrow search algorithm optimised support vector machine. IET Electr. Power Appl. 2022, 16, 985–995. [Google Scholar] [CrossRef]
  32. Vala, T.M.; Rajput, V.N.; Geem, Z.W.; Pandya, K.S.; Vora, S.C. Revisiting the performance of evolutionary algorithms. Expert Syst. Appl. 2021, 175, 114819. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the structure of the steering-by-wire system.
Figure 1. Schematic diagram of the structure of the steering-by-wire system.
Electronics 13 04553 g001
Figure 2. Steering motor angle curves under different operating conditions. (a) The steering motor angle curves for under 60 km/h double-shift lane-changing conditions. (b) The steering motor angle curves for under 90 km/h double-shift lane-changing conditions. (c) The steering motor angle curves for under 60 km/h sinusoidal curve conditions. (d) The steering motor angle curves for under 90 km/h sinusoidal curve conditions.
Figure 2. Steering motor angle curves under different operating conditions. (a) The steering motor angle curves for under 60 km/h double-shift lane-changing conditions. (b) The steering motor angle curves for under 90 km/h double-shift lane-changing conditions. (c) The steering motor angle curves for under 60 km/h sinusoidal curve conditions. (d) The steering motor angle curves for under 90 km/h sinusoidal curve conditions.
Electronics 13 04553 g002
Figure 3. Block diagram of SSA-PID control algorithm.
Figure 3. Block diagram of SSA-PID control algorithm.
Electronics 13 04553 g003
Figure 4. Flowchart illustrating the enhanced sparrow algorithm.
Figure 4. Flowchart illustrating the enhanced sparrow algorithm.
Electronics 13 04553 g004
Figure 5. Comparative results of testing the optimization algorithm. (a) The convergence curve for the F1 test function. (b) The convergence curve for the F2 test function. (c) The convergence curve for the F3 test function. (d) The convergence curve for the F4 test function. (e) The convergence curve for the F5 test function. (f) The convergence curve for the F6 test function.
Figure 5. Comparative results of testing the optimization algorithm. (a) The convergence curve for the F1 test function. (b) The convergence curve for the F2 test function. (c) The convergence curve for the F3 test function. (d) The convergence curve for the F4 test function. (e) The convergence curve for the F5 test function. (f) The convergence curve for the F6 test function.
Electronics 13 04553 g005
Figure 6. The simulation curves of the motor angle under double-lane-change conditions. (a) The simulation curve of the motor angle for the double-lane-change condition at a speed of 60 km/h. (b) The simulation curve of the motor angle for the double-lane-change condition at a speed of 90 km/h.
Figure 6. The simulation curves of the motor angle under double-lane-change conditions. (a) The simulation curve of the motor angle for the double-lane-change condition at a speed of 60 km/h. (b) The simulation curve of the motor angle for the double-lane-change condition at a speed of 90 km/h.
Electronics 13 04553 g006
Figure 7. The simulation curves of the motor angle under sine-wave conditions. (a) The simulation curve of the motor angle under sine-wave conditions at a speed of 60 km/h. (b) The simulation curve of the motor angle under sine-wave conditions at a speed of 90 km/h.
Figure 7. The simulation curves of the motor angle under sine-wave conditions. (a) The simulation curve of the motor angle under sine-wave conditions at a speed of 60 km/h. (b) The simulation curve of the motor angle under sine-wave conditions at a speed of 90 km/h.
Electronics 13 04553 g007
Figure 8. Step condition simulation curve.
Figure 8. Step condition simulation curve.
Electronics 13 04553 g008
Figure 9. Test rig for the steering-by-wire system.
Figure 9. Test rig for the steering-by-wire system.
Electronics 13 04553 g009
Figure 10. Motor angle test curves for double-lane-change conditions. (a) Motor angle test curve for double-lane-change conditions at 60 km/h. (b) Motor angle test curve for double-lane-change conditions at 90 km/h.
Figure 10. Motor angle test curves for double-lane-change conditions. (a) Motor angle test curve for double-lane-change conditions at 60 km/h. (b) Motor angle test curve for double-lane-change conditions at 90 km/h.
Electronics 13 04553 g010
Figure 11. Motor corner test curves for sine-wave conditions. (a) Motor corner test curve for sine-wave conditions at 60 km/h. (b) Motor corner test curve for sine-wave conditions at 90 km/h.
Figure 11. Motor corner test curves for sine-wave conditions. (a) Motor corner test curve for sine-wave conditions at 60 km/h. (b) Motor corner test curve for sine-wave conditions at 90 km/h.
Electronics 13 04553 g011
Table 1. Standard test functions.
Table 1. Standard test functions.
Test FunctiondimRangefmin
F 1 ( x ) = i = 1 n x i 2 30[−100, 100]0
F 2 ( x ) = i = 1 n x i + i = 1 n x i 30[−10, 10]0
F 3 ( x ) = max x i , 1 i n 30[−100, 100]0
F 4 ( x ) = i = 1 n x i sin x i 30[−500, 500]−12,569.5
F 5 ( x ) 30[−50, 50]0
y i = 1 + x i + 1 / 4 30[−50, 50]0
u ( x i , a , k , m ) 30[−50, 50]0
F 6 ( x ) 30[−50, 50]0
F 5 ( x ) , u ( x i , a , k , m ) , and F 6 ( x ) . See Appendix A for the specific formula.
Table 2. Comparison of the means and standard deviations of the test functions.
Table 2. Comparison of the means and standard deviations of the test functions.
Test FunctionSSAHSSA
Average Value Standard Deviation Average Value Standard Deviation
F1 3.4904 × 10 44 1.1038 × 10 43 3.8067 × 10 95 1.1420 × 10 94
F2 2.0565 × 10 47 6.4096 × 10 47 1.9116 × 10 53 6.0450 × 10 53
F3 2.2373 × 10 26 7.0732 × 10 26 1.0811 × 10 42 3.4187 × 10 42
F4 1.0056 × 10 4 3.0748 × 10 3 1.2561 × 10 4 2.1879 × 10 1
F5 4.5555 × 10 6 2.2426 × 10 6 1.3866 × 10 12 2.9431 × 10 12
F6 4.5700 × 10 3 5.8466 × 10 3 5.2126 × 10 11 8.6025 × 10 11
Table 3. Algorithm parameters and controller parameters.
Table 3. Algorithm parameters and controller parameters.
Algorithm ParameterValue
PID parameter range[−100, 100]
Number of algorithm iterations500
Population size30
PID controller parametersKp = 10.283; Ki = 1.641; Kd = 0.065
Table 4. Simulation data errors for different vehicle speeds under double-lane-change conditions. AVMSAE: average value of the motor’s steering angle error; SDMSAE: standard deviation of the motor’s steering angle error.
Table 4. Simulation data errors for different vehicle speeds under double-lane-change conditions. AVMSAE: average value of the motor’s steering angle error; SDMSAE: standard deviation of the motor’s steering angle error.
Control Strategy60 km/hHSSA
AVMSAE SDMSAE AVMSAE SDMSAE
SMC3.88904.09812.94242.4517
MPC1.47951.58720.86340.7205
SSA-PID1.40901.51160.82230.6862
HSSA-PID0.35820.36250.35160.3220
Table 5. Simulation data errors for different vehicle speeds under sinusoidal conditions.
Table 5. Simulation data errors for different vehicle speeds under sinusoidal conditions.
Control Strategy60 km/hHSSA
AVMSAE SDMSAE AVMSAE SDMSAE
SMC7.31673.57836.23243.4678
MPC1.55632.65071.31311.8255
SSA-PID1.48222.52451.25061.7386
HSSA-PID1.35052.01850.95671.2722
Table 6. Comparison of simulation data under step operating conditions.
Table 6. Comparison of simulation data under step operating conditions.
Control Strategy0.7 s Before0.7 s Later
Maximum Overshoot Peak Time Steady-State Error
SMC0.031760.121000.10695
MPC0.009380.193000.10427
SSA-PID0.039370.814000.10052
HSSA-PID0.008600.818000.10048
Table 7. Test data errors for different vehicle speeds under double-lane-change conditions.
Table 7. Test data errors for different vehicle speeds under double-lane-change conditions.
Control Strategy60 km/hHSSA
AVMSAE SDMSAE AVMSAE SDMSAE
SMC5.31044.71043.96073.0146
MPC3.18632.42913.06542.3161
SSA-PID3.03462.31342.91942.2058
HSSA-PID2.51551.89302.53431.8969
Table 8. Test data errors for different vehicle speeds under sinusoidal conditions.
Table 8. Test data errors for different vehicle speeds under sinusoidal conditions.
Control Strategy60 km/hHSSA
AVMSAE SDMSAE AVMSAE SDMSAE
SMC7.18854.90506.40553.9956
MPC3.48743.02822.97072.3114
SSA-PID3.32132.88402.82922.2013
HSSA-PID2.94772.38782.51971.9768
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jin, K.; Xiao, P.; Yang, D.; Fang, Z.; Zhang, R.; Yang, A. Research on Steering-by-Wire System Motor Control Based on an Improved Sparrow Search Proportional–Integral–Derivative Algorithm. Electronics 2024, 13, 4553. https://doi.org/10.3390/electronics13224553

AMA Style

Jin K, Xiao P, Yang D, Fang Z, Zhang R, Yang A. Research on Steering-by-Wire System Motor Control Based on an Improved Sparrow Search Proportional–Integral–Derivative Algorithm. Electronics. 2024; 13(22):4553. https://doi.org/10.3390/electronics13224553

Chicago/Turabian Style

Jin, Kai, Ping Xiao, Dongde Yang, Zhanyu Fang, Rongyun Zhang, and Aixi Yang. 2024. "Research on Steering-by-Wire System Motor Control Based on an Improved Sparrow Search Proportional–Integral–Derivative Algorithm" Electronics 13, no. 22: 4553. https://doi.org/10.3390/electronics13224553

APA Style

Jin, K., Xiao, P., Yang, D., Fang, Z., Zhang, R., & Yang, A. (2024). Research on Steering-by-Wire System Motor Control Based on an Improved Sparrow Search Proportional–Integral–Derivative Algorithm. Electronics, 13(22), 4553. https://doi.org/10.3390/electronics13224553

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop