An automatic power steering system control method

By combining traditional PID control and improved language education algorithms, the control parameters of the automatic assist steering system are optimized, and the precise matching of vehicle steering needs is achieved, which solves the problem of inaccurate assist effects in the existing system, and improves the system's response speed and handling comfort.

CN120117031BActive Publication Date: 2025-07-18FUZHOU INSTITUE OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510614745.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-07-18
Estimated Expiration
2045-05-14

AI Technical Summary

Technical Problem

The existing automatic power steering system lacks fine adjustments to changes in actual demand during the control process, resulting in insufficient precision in the assist effect, affecting the system's responsiveness and control comfort.

Method used

Combining traditional PID control algorithms and improved language education algorithms, by collecting vehicle steering angle data and dynamic parameters in real time, calculating the target power steering torque, and using the torque PID controller to generate control signals, optimizing its control parameters, including path backtracking feedback mechanism and dynamic target guidance and gravitational effect optimization strategies, accurately adjusting the output torque of the power motor.

Benefits of technology

It significantly improves the response speed and control accuracy of the automatic power steering system, ensures a high degree of matching of vehicle steering requirements, and improves the intelligence and adaptability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120117031B_ABST
    Figure CN120117031B_ABST
Patent Text Reader

Abstract

A control method for an automatic power steering system proposed by the present invention belongs to the field of PID control optimization, and specifically includes: S1. Real-time collection of the current steering angle data of the vehicle through a steering angle sensor; S2. Calculation of the target power steering torque based on the steering angle data and the current dynamic parameters of the vehicle; S3. The torque PID controller generates a corresponding control signal according to the error between the target power steering torque and the actual power steering torque; S4. The control parameters of the torque PID controller are optimized by an improved language education algorithm; the specific implementation of the improved language education algorithm is: D1. Use a path backtracking feedback mechanism; D2. Use a dynamic target guidance and gravitational effect optimization strategy; S5. The control signal accurately adjusts the output torque of the power steering motor to ensure a high degree of matching with the vehicle steering demand, thereby realizing the precise control of the vehicle automatic power steering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of PID control optimization, and particularly relates to a control method for an electric power steering system. Background Art

[0002] An electric power steering system is an important steering assist system in modern automobiles, which is widely used to improve driving comfort and maneuverability; in a traditional mechanical steering system, the driver's operating force is transmitted to the wheels through a steering column and a gear device, and the driver needs to apply a large force to complete steering. Especially at low speeds or when parking, the steering operation becomes more strenuous; with the development of technology, the electric power steering system uses an electric motor to replace the traditional mechanical device, and the electric control system adjusts the assist output of the electric motor in real time, thereby reducing the driver's operating burden. Especially in the low-speed and parking states, a more lightweight and comfortable operating experience is provided; currently, the electric power steering system mainly relies on vehicle speed and steering angle to adjust the assist output of the motor; specifically, when driving at low speeds, the system provides a large amount of assist to reduce the difficulty of the steering operation; while when driving at high speeds, the system reduces the assist to improve handling stability; however, in the control process of the existing electric power steering system, there is a lack of fine adjustment for changes in actual demand, which may lead to inaccurate assist effects, affecting the responsiveness of the system and the comfort of operation.

[0003] A torque PID controller is a feedback controller commonly used in automatic control systems and is widely used in electric power steering systems to accurately adjust the steering assist torque; its core idea is to dynamically adjust the control signal through three control parameters: proportional (P), integral (I), and derivative (D) according to the error between the target torque and the actual torque, thereby achieving precise control of the torque; the proportional term (P) generates a control signal based on the magnitude of the current error, quickly responding to changes in the error; the integral term (I) eliminates long-term steady-state errors by accumulating historical errors; the derivative term (D) predicts the change trend of future errors, effectively suppressing overshoot and oscillation of the system; the torque PID controller can adjust the output according to real-time error changes to ensure that the system stably and accurately meets the expected steering torque requirements; however, when facing a complex dynamic system, the PID controller may have problems such as untimely adjustment or improper parameter selection, resulting in overreaction or underreaction of the system.

[0004] The Language Education Optimization Algorithm (LEOA) is a heuristic algorithm based on the language education process. The algorithm consists of three main stages: students select teachers, students learn from each other, and individual practice. In the mathematical model, these stages are respectively simulated as different operations in the learning process. The algorithm solves optimization problems through the simulation of these education processes. Compared with other meta-heuristic algorithms, the performance of LEOA has been verified in the practical application of engineering design. However, when facing complex problems, the algorithm may have a slow convergence speed or get stuck in a local optimum. Summary of the Invention

[0005] In view of the problems existing in the above background technology, the present invention provides a control method for an automatic power steering system, aiming to achieve precise control of vehicle automatic power steering by combining the traditional PID control algorithm and the intelligent optimization algorithm. By collecting vehicle steering angle data and dynamic parameters in real time, the target power steering torque is calculated, and a torque PID controller generates corresponding control signals according to the error. To further improve the control accuracy and response speed, the present application optimizes the control parameters of the torque PID controller through an improved language education algorithm. The improved algorithm includes using a path backtracking feedback mechanism to improve the position update in the population exploration stage. At the same time, through a dynamic target guidance and gravitational effect optimization strategy, the position update in the population exploitation stage is improved. Finally, by precisely adjusting the output torque of the power assist motor, it is ensured to highly match the vehicle steering demand. This method can significantly improve the response speed and control accuracy of the automatic power steering system.

[0006] To achieve the above object, the present invention adopts a control method for an automatic power steering system, and the specific steps are as follows.

[0007] S1. Real-time collect the current steering angle data of the vehicle through a steering angle sensor.

[0008] S2. Calculate the target power steering torque based on the steering angle data and the current dynamic parameters of the vehicle.

[0009] S3. The torque PID controller generates corresponding control signals according to the error between the target power steering torque and the actual power steering torque.

[0010] S4. The control parameters of the torque PID controller are optimized through an improved language education algorithm. The specific implementation of the improved language education algorithm is as follows: D1. Use a path backtracking feedback mechanism by introducing the cumulative difference of historical paths and an adaptive feedback factor , improve the position update mathematical model in the exploration stage of the algorithm; D2. Use a dynamic target guidance and gravitational effect optimization strategy by introducing hierarchical target positions and gravitational effect factors , improve the position update mathematical model in the development stage of the algorithm.

[0011] S5. The control signal precisely adjusts the output torque of the assist motor to ensure a high degree of matching with the vehicle steering demand, thereby achieving precise control of the vehicle's automatic power steering.

[0012] Preferably, the mathematical model of the target assist steering torque in S2 is designed by comprehensively considering the coupling effect of the current steering angle and driving speed of the vehicle on the steering demand, and is constructed in a linear superposition manner in terms of structure; the vehicle steering angle adjustment term reflects the driver's input steering intention, and at the same time, a dynamic adjustment term proportional to the vehicle speed is introduced to meet the special requirements for steering stability and response flexibility during high-speed driving; the two terms are respectively adjusted by the torque coefficient and the speed-related coefficient to achieve precise matching of the target assist output.

[0013] Preferably, the torque PID controller control model in S3 uses a typical PID adjustment structure to perform closed-loop adjustment on the difference between the target assist steering torque and the actual output steering torque. The core design concept is to continuously sense the deviation between the target torque and the execution result during the dynamic operation process, and use the three adjustment links of proportional, integral, and differential to cooperate to generate a control signal; the proportional link provides a direct response to the current torque error, the integral link accumulates historical deviations to eliminate the torque steady-state offset, and the differential link performs feedforward adjustment based on the torque error change trend to suppress rapid disturbances and system overshoot.

[0014] Preferably, the specific method of introducing the historical path cumulative difference and the adaptive feedback factor in S4 is as follows:

[0015] D11. The historical path cumulative difference establishes a clear measurement system for the total deviation of the historical trajectory by calculating the absolute difference between the position of each iteration and the current optimal solution of the population, and accumulating it linearly. The specific mathematical model is:

[0016] ;

[0017] In the formula, t is the current iteration number, T is the maximum iteration number, is the position of the i-th population individual in the j-th dimension at the t-th iteration, is the current optimal solution for the j-th dimension in the t-th iteration;

[0018] D12, Adaptive feedback factor By calculating the cumulative difference between the position in the t-th iteration and the current position to represent the trajectory fluctuation amplitude, and then performing scale normalization with the product of the number of iterations and the problem dimension, a normalized mean measure of trajectory fluctuation is constructed, and then embedded into a non-linear inverse proportional mapping function structure. The specific mathematical model is:

[0019] ;

[0020] In the formula, is the current position of the i-th population individual in the j-th dimension, m is the problem dimension, and the meanings of other parameters are the same as above.

[0021] Preferably, the mathematical model for position update in the exploration stage of the improved algorithm is:

[0022] ;

[0023] In the formula, is the new position of the i-th population individual in the j-th dimension in the exploration stage of the algorithm, is the current position of the i-th population individual in the j-th dimension, r is a random value between 0 and 1, is the position of the selected teacher, I is a value randomly selected from the set {1, 2}, is the adaptive feedback factor, is the cumulative difference of historical paths.

[0024] Preferably, the cumulative difference of historical paths is an index that evaluates the behavior of population individuals by considering the difference between the paths they have taken and the optimal solution during the optimization process; specifically, calculates the deviation degree between the population individuals and the optimal solution during multiple iterations. It guides the exploration direction of population individuals by accumulating the difference between the current position of population individuals and the historical optimal solution; by introducing this term, population individuals can adjust their current search behavior according to their positions in historical iterations, avoiding making decisions only based on local information; in this way, when population individuals stagnate in a certain local area, the cumulative difference of historical paths enables population individuals to automatically make position adjustments, thus breaking through the local optimum and expanding the search range.

[0025] Preferably, the adaptive feedback factor further optimizes the search strategy of population individuals; specifically, by evaluating the cumulative difference of paths , the adaptive feedback factor It can intelligently adjust the size of the current step; when the individuals in the population have experienced a large path difference in the previous iteration, it will increase, which means that the individuals in the population need to make a greater adjustment to avoid being trapped in the local optimal area, thereby strengthening the global exploration; while when the path difference of the individuals in the population is small, it will decrease. At this time, the individuals in the population tend to refine the search and improve the accuracy of local optimization; through this adaptive adjustment mechanism, the algorithm can flexibly adjust the search strategy according to the historical performance of the individuals in the population, enabling the individuals in the population to effectively conduct global exploration and make fine adjustments when approaching the optimal solution.

[0026] Preferably, in step S4, a hierarchical target position and a gravitational effect factor are introduced in the following specific way:

[0027] D21. Hierarchical target position Taking the global optimal solution as the basic reference point, using the total relative change in the positions of an individual in the past several consecutive generations, through the implementation of non-linear attenuation on the iterative scale, a composite time-domain position reference structure is constructed. The specific mathematical model is:

[0028] ;

[0029] In the formula, is the hierarchical target position of the i-th individual in the population in the j-th dimension at the t-th iteration, is the global optimal solution in the j-th dimension at the t-th iteration, is the current target position offset of the i-th individual in the population in the j-th dimension at the t-th iteration, and t is the current iteration number;

[0030] D22. Gravitational effect factor Based on the absolute difference between the objective function value of the current individual position and the objective function value of the current optimal solution, after adding 1 to the constant, an inverse proportional mapping is implemented to form a non-linear compression mapping function for fitness difference. The specific mathematical model is:

[0031] ;

[0032] In the formula, is the objective function value of the current individual position in the population, is the objective function value of the current optimal solution.

[0033] Preferably, the mathematical model for position update in the development stage of the improved algorithm is:

[0034] ;

[0035] In the formula, is the new position of the $i$-th population individual in the $j$-th dimension during the algorithm development stage, is the current position of the $i$-th population individual in the $j$-th dimension, is the step size factor, is the upper limit of the algorithm search space, is the lower limit of the algorithm search space, $r$ is a random value between 0 and 1, and $t$ is the current iteration number, is the hierarchical target position, is the gravitational effect factor.

[0036] Preferably, the hierarchical target position is introduced to optimize the update of the target position; in the original mathematical model for position update during the algorithm development stage, the position update of the population individuals is mainly adjusted based on the difference between the current position of the population individuals and the boundaries; in the improved mathematical model for position update, by introducing the global optimal solution and the offset of the current target position of the population individuals , the population individuals not only rely on local information during the search process but also consider the position of the global optimal solution, and guide the population individuals to approach the global optimal solution by dynamically adjusting the target position.

[0037] Preferably, the gravitational effect factor is introduced to dynamically adjust the pace of the population individuals; in the original mathematical model for position update during the algorithm development stage, the position update of the population individuals only depends on fixed step sizes and boundary values, while in the improved mathematical model for position update, the gravitational effect factor is used to adjust the step size according to the difference between the position of the population individuals and the objective function value of the current optimal solution, enabling the population individuals to reduce the step size when approaching the global optimal solution, thereby improving the convergence speed.

[0038] Preferably, the control parameters of the torque PID controller in S4 are optimized by an improved language education algorithm, and the specific steps are as follows:

[0039] step1. Initialize the parameters of the improved language education algorithm, including the population size $N$, the maximum number of iterations $T$, the problem dimension $m$, the upper limit of the search space , and the lower limit of the search space ;

[0040] step2. Encode the control parameters $K_p$, $K_i$, and $K_d$ of the torque PID controller as the solutions in the search space of the improved language education algorithm. As the algorithm iterates, the updated positions of the population individuals reflect the corresponding control parameters of the torque PID controller;

[0041] step3. The algorithm iteratively searches for the optimal solution and updates the positions of the population individuals;

[0042] Step 4: Calculate the fitness value of each individual in the population and record the position of the optimal population individual corresponding to the current minimum fitness value.

[0043] Step 5: Determine whether the current number of iterations has reached the maximum number of iterations. If so, output the position of the population individual corresponding to the minimum fitness value and parse it as the three optimal control parameters Kp, Ki, and Kd of the torque PID controller. Otherwise, return to execute Step 3.

[0044] Preferably, in Step 2, the control parameters Kp, Ki, and Kd of the torque PID controller are encoded as the solutions in the search space of the improved language education algorithm. As the algorithm iterates, the position of the population individual is updated, which means the solution in the search space of the algorithm is updated, that is, the control parameters of the torque PID controller are updated. The encoding vector is:

[0045] ;

[0046] In the formula, x is the encoding vector, that is, the solution in the search space of the improved language education algorithm, and Kp, Ki, and Kd are the proportional parameter, integral parameter, and differential parameter of the torque PID controller, respectively.

[0047] Preferably, the fitness function model used to calculate the fitness value in Step 4 is constructed based on the principle of minimizing the error energy. Taking the deviation between the target assist steering torque and the actual assist steering torque as the core variable, it measures the matching degree between the system output and the reference target during the entire control process. By squaring and accumulating the error over time, it strengthens the double punishment for the persistence and amplitude of the deviation, making the time period with large errors occupy a higher weight in the overall evaluation.

[0048] Preferably, the mathematical model of the output torque of the assist motor in S5 is designed by considering three key factors: the output signal of the torque PID controller, the load on the motor, and the system response delay. First, taking the control signal as the basic adjustment amount, and establishing a proportional relationship with the actual output torque through the motor gain coefficient . Subsequently, the load influence coefficient is introduced to dynamically adjust the effective output of the control signal at different load levels, so that when the motor load is close to the rated limit, the output torque will be correspondingly weakened, reflecting the system's inhibitory response to load changes. Finally, an exponential delay term is used to simulate the inertial characteristics of the motor, making the entire output have a more realistic dynamic response process.

[0049] By adopting the above technical solution, the beneficial effects of the present invention are as follows: Based on the traditional PID control method, the control parameters of the torque PID controller are optimized by introducing an improved language education algorithm, significantly enhancing the intelligence and self - adaptability of the control; specifically, by introducing a path - backtracking feedback mechanism, combining the historical path cumulative difference and the adaptive feedback factor, the algorithm can better adjust the position update of the population individuals during the exploration stage, avoiding premature convergence to the local optimal solution, thereby increasing the global search ability; and during the development stage, through the dynamic target guidance and gravitational effect optimization strategy, combining the hierarchical target position and the gravitational effect factor, the population individuals can dynamically adjust the search pace according to the path difference and the global optimal solution information, further improving the response accuracy and stability of the system; this control method can accurately calculate the required power steering torque according to the real - time steering angle data and vehicle dynamic parameters, and generate a control signal through the torque PID controller to dynamically adjust the output torque of the power steering motor, thereby achieving the precise control of vehicle automatic power steering. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flowchart of the steps of a control method for an automatic power steering system.

[0051] Figure 2 It is a flowchart of the specific steps for optimizing the control parameters of the torque PID controller by the improved language education algorithm.

[0052] Figure 3 It is a comparison chart of the fitness value changes during the optimization process of the existing algorithm and the algorithm of the present invention.

[0053] Figure 4 It is a process diagram of optimizing the Kp parameter value of the torque PID controller by the existing algorithm and the algorithm of the present invention.

[0054] Figure 5 It is a process diagram of optimizing the Ki parameter value of the torque PID controller by the existing algorithm and the algorithm of the present invention.

[0055] Figure 6 It is a process diagram of optimizing the Kd parameter value of the torque PID controller by the existing algorithm and the algorithm of the present invention.

[0056] Figure 7 It is a comparison chart of the control effects of optimizing the torque PID controller of the automatic power steering system by the existing method and the method of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0057] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0058] The present invention provides a technical solution: a control method for an electric power steering system, which specifically includes the following steps, as Figure 1 shown.

[0059] S1. Real-time collect the current steering angle data of the vehicle through a steering angle sensor.

[0060] S2. Calculate the target assist steering torque based on the steering angle data and the current dynamic parameters of the vehicle.

[0061] Specifically, the mathematical model for calculating the target assist steering torque in S2 is:

[0062] ;

[0063] ;

[0064] ;

[0065] ;

[0066] ;

[0067] In the formula, is the target assist steering torque, is the torque coefficient, is the current vehicle steering angle, is the vehicle speed related coefficient, is the current vehicle speed, is the original signal output by the steering angle sensor, is the signal processing function, is the maximum output assist torque of the system at the maximum steering angle , is the original vehicle speed signal, is the scale factor, is the vehicle mass, and n is time.

[0068] Specifically, the code for implementing the mathematical model of the target assist steering torque in MATLAB is:

[0069] M_max = 15; % Maximum output assist torque

[0070] theta_max = 30; % Maximum steering angle

[0071] alpha_vehicle = 0.1; % Proportional factor

[0072] m_vehicle = 1500; % Vehicle mass

[0073] % Read sensor data

[0074] data = readmatrix('sensor_data.csv'); % Data file, column 1 is steering angle, column 2 is vehicle speed

[0075] theta_vehicle_raw = data(:, 1); % Extract steering angle data

[0076] v_raw = data(:, 2); % Extract vehicle speed data

[0077] f_sensor_theta = @(y) y; % Process steering angle

[0078] f_sensor_speed = @(s) s; % Process vehicle speed

[0079] K_steering = M_max / theta_max; % Calculate torque coefficient

[0080] M_target = zeros(1, length(theta_vehicle_raw));

[0081] for i = 1:length(theta_vehicle_raw)

[0082] theta = f_sensor_theta(theta_vehicle_raw(i)); % Collect steering angle

[0083] v_speed = f_sensor_speed(v_raw(i)); % Collect vehicle speed

[0084] M_target(i) = K_steering * theta + (alpha_vehicle * m_vehicle * v_speed); % Calculate target power steering torque

[0085] end.

[0086] S3. The torque PID controller generates a corresponding control signal according to the error between the target assist steering torque and the actual assist steering torque.

[0087] Specifically, the torque PID controller generates a control signal with the following mathematical model:

[0088] ;

[0089] ;

[0090] where is the error between the target assist steering torque and the actual assist steering torque , Kp, Ki, and Kd are the parameters of the torque PID controller, b is the total running time of the system, is the torque error at the a-th moment.

[0091] S4. The control parameters of the torque PID controller are optimized by an improved language education algorithm; the specific implementation of the improved language education algorithm is as follows: D1. Use a path backtracking feedback mechanism to improve the position update mathematical model in the exploration stage of the algorithm by introducing the historical path cumulative difference and the adaptive feedback factor ; D2. Use a dynamic target guidance and gravitational effect optimization strategy to improve the position update mathematical model in the development stage of the algorithm by introducing the hierarchical target position and the gravitational effect factor .

[0092] Specifically, the mathematical models for introducing the historical path cumulative difference and the adaptive feedback factor in S4 are respectively:

[0093] ;

[0094] ;

[0095] where is the historical path cumulative difference, t is the current iteration number, T is the maximum iteration number, is the position of the i-th population individual in the j-th dimension at the t-th iteration, is the current optimal solution in the j-th dimension at the t-th iteration, is the adaptive feedback factor, is the current position of the i-th population individual in the j-th dimension, and m is the problem dimension;

[0096] The position update mathematical model in the exploration stage of the improved algorithm is:

[0097] ;

[0098] In the formula, is the new position of the i-th population individual in the j-th dimension during the algorithm exploration stage, r is a random value between 0 and 1, is the position of the selected teacher, I is a value randomly selected from the set {1, 2}, and the meanings of other parameters are the same as above.

[0099] Specifically, in the above S4, the hierarchical target position and the gravitational effect factor have the following mathematical models respectively:

[0100] ;

[0101] ;

[0102] In the formula, is the hierarchical target position of the i-th population individual in the j-th dimension at the t-th iteration, is the global optimal solution in the j-th dimension at the t-th iteration, is the current target position offset of the i-th population individual in the j-th dimension at the t-th iteration, is the gravitational effect factor, is the objective function value of the current population individual position, is the objective function value of the current optimal solution, and t is the current iteration number;

[0103] The mathematical model for position update in the exploitation stage of the improved algorithm is:

[0104] ;

[0105] In the formula, is the new position of the i-th population individual in the j-th dimension during the exploitation stage of the algorithm, is the current position of the i-th population individual in the j-th dimension, is the step size factor, with a value of 2, is the upper limit of the algorithm search space, is the lower limit of the algorithm search space, r is a random value between 0 and 1, t is the current iteration number, and the meanings of other parameters are the same as above.

[0106] Specifically, the control parameters of the torque PID controller in the above S4 are optimized by the improved language education algorithm. As Figure 2 shown, the specific steps are:

[0107] step1. Initialize the parameters of the improved language education algorithm, including the population size N, the maximum number of iterations T, the problem dimension m, and the upper limit of the search space , the lower limit of the search space ;

[0108] Step 2: Encode the control parameters Kp, Ki, and Kd of the torque PID controller as the solutions in the search space of the improved language education algorithm. As the algorithm iterates, the updated positions of the population individuals reflect the corresponding control parameters of the torque PID controller;

[0109] Step 3: The algorithm iteratively optimizes and updates the positions of the population individuals;

[0110] Step 4: Calculate the fitness value of each population individual and record the position of the optimal population individual corresponding to the current minimum fitness value;

[0111] Step 5: Determine whether the current iteration number reaches the maximum iteration number. If so, output the position of the population individual corresponding to the minimum fitness value and parse it as the three optimal control parameters Kp, Ki, and Kd of the torque PID controller. Otherwise, return to execute Step 3.

[0112] Specifically, in Step 2, the control parameters Kp, Ki, and Kd of the torque PID controller are encoded as the solutions in the search space of the improved language education algorithm. As the algorithm iterates, updating the positions of the population individuals updates the solutions in the search space of the algorithm, that is, updates the parameters of the torque PID controller. The encoding vector is:

[0113] ;

[0114] where x is the encoding vector, that is, the solution in the search space of the improved language education algorithm, and Kp, Ki, and Kd are the proportional parameter, integral parameter, and differential parameter of the torque PID controller, respectively.

[0115] Specifically, the fitness function used to calculate the fitness value in Step 4 is:

[0116] ;

[0117] where F is the fitness value.

[0118] S5: The control signal precisely adjusts the output torque of the assist motor to ensure a high degree of matching with the vehicle steering demand, thereby achieving precise control of the vehicle's electric power steering.

[0119] Specifically, the mathematical model of the output torque of the assist motor in S5 is:

[0120] ;

[0121] where is the gain coefficient of the motor, is the load influence coefficient, is the current motor load, is the maximum load of the motor, is the time constant of the motor.

[0122] Specifically, the code for implementing the mathematical model of the output torque of the assist motor in Matlab is as follows:

[0123] K_motor = 10; % Motor gain coefficient

[0124] alpha = 0.1; % Load influence coefficient

[0125] L_max = 100; % Maximum motor load

[0126] tau = 0.05; % Motor time constant

[0127] L0 = 10; % Current motor load

[0128] u = ILEOA_score;% Control signal, ILEOA_score is the output value of the PID control signal after mapping;

[0129] n_max = length(L); % Maximum time step

[0130] M_assist = zeros(1, n_max); % Initialize the output torque array

[0131] for n = 1:n_max

[0132] M_assist(n) = K_motor * u(n) * (1 - alpha * L0 / L_max) * exp(-tau *n); % Calculate the output torque of the assist motor

[0133] end.

[0134] Specifically, during the implementation process, the time-domain mathematical model is converted into an s-domain transfer function mathematical model for the Simulink simulation model:

[0135] ;

[0136] In the formula, is the transfer function, s is the s-domain time parameter, is set to 10, is set to 0.1, is set to 10, is set to 100, Set to 0.05; obtain the transfer function of the Simulink simulation model:

[0137] .

[0138] Furthermore, implement the mathematical model in the above embodiments in Matlab and convert it into a runnable code form, including: the position update mathematical model for iterative optimization at each stage of the basic language education algorithm and the improved language education algorithm, the target assist steering torque mathematical model, the output torque mathematical model of the assist motor, the PID controller mathematical model, the fitness function mathematical model, and the main program. The main program is used to implement the mapping between the basic language education algorithm and the improved language education algorithm and the PID controller parameters respectively, and map the fitness function to the objective function of the Simulink simulation model; set the initialization parameters of the algorithm, including the population size N = 30, the maximum number of iterations T = 30, the problem dimension m = 3, the upper limit of the algorithm search space =[0.5 0.5 0.5], the lower limit of the search space =[0 0 0]; run the main program to obtain Figures 3 - 7 the simulation result graph of.

[0139] Analysis Figure 3 It can be seen that the existing algorithm reaches the optimal fitness value of 0.412 at the 15th iteration, while the algorithm of the present invention reaches the optimal fitness value of 0.069 at the 12th iteration; as the number of iterations increases, the algorithm of the present invention quickly converges to a lower fitness value, while the existing algorithm converges relatively slowly, the process of the fitness value decreasing is relatively gentle, and it tends to be stable after a certain number of generations; the advantages of the algorithm of the present invention compared with the existing algorithm are reflected in the following aspects: First, the algorithm optimization accuracy is higher, with better stability and robustness; second, the rapid decrease of the fitness value means that the algorithm can find the optimal solution faster, which is crucial for optimizing the control parameters of the torque PID controller and can ensure that the electric power steering system performs stably and efficiently under various driving conditions.

[0140] According to Figures 4 - 6 it can be obtained that the optimal torque PID control parameters obtained by the optimization of the algorithm of the present invention are Kp = 0.163, Ki = 0.148, Kd = 0.126, and the optimal torque PID control parameters obtained by the optimization of the existing algorithm are Kp = 0.165, Ki = 0.149, Kd = 0.144; input the optimal control parameters into the torque PID controller to obtain the best control effect of the electric power steering system; as Figure 7As shown, the running time of the system Simulink simulation model is set to 500 milliseconds. The target input value of the torque PID controller of the starting electric power steering system is set to 3 units. After a steady-state operation of 300 milliseconds, the target input value changes to 2 units. It can be seen from the figure that the method of the present invention has better performance compared with the existing method, especially in terms of system response time and stability. The method of the present invention shows significant advantages; the curve of the existing method converges in the initial stage, but there is a long transition period, and the final steady-state error of the system is large, indicating that there are obvious overshoots and slower responses in the system; while the curve of the method of the present invention shows faster convergence, and has smaller overshoots throughout the process, and finally reaches a faster and stable steady state; this result means that the method of the present invention can significantly improve the dynamic response and control accuracy of the electric power steering system; specifically, the method of the present invention can more effectively optimize the proportional parameter, integral parameter and differential parameter of the torque PID controller, so that the system can quickly adapt and steer stably when facing complex driving conditions, which is of great significance for improving the steering control performance of the vehicle at high speeds and in complex environments.

Claims

1. A control method for an electric power steering system, characterized in that, The specific steps are as follows: S1. Real-time collect the current steering angle data of the vehicle through a steering angle sensor; S2. Calculate the target assisted steering torque based on the steering angle data and the current dynamic parameters of the vehicle; S3. The torque PID controller generates a corresponding control signal according to the error between the target assisted steering torque and the actual assisted steering torque; S4. The control parameters of the torque PID controller are optimized by an improved language education algorithm; the specific implementation of the improved language education algorithm is as follows: D1. Use a path backtracking feedback mechanism to improve the position update mathematical model in the exploration stage of the algorithm by introducing historical path cumulative differences and an adaptive feedback factor , and improve the position update mathematical model in the exploration stage of the algorithm D2. Use a dynamic target guidance and gravitational effect optimization strategy to improve the position update mathematical model in the algorithm development stage by introducing hierarchical target positions and gravitational effect factors , S5. The control signal precisely adjusts the output torque of the assist motor to ensure a high degree of match with the vehicle steering demand, thereby achieving precise control of the vehicle's automatic assisted steering.

2. The control method of an automatic power steering system according to claim 1, wherein The mathematical model for calculating the target assisted steering torque in S2 is: ; In the formula, is the target power steering torque, is the torque coefficient, is the current vehicle steering angle, is the vehicle speed correlation coefficient, is the current vehicle speed, and n is the time.

3. The control method of an automatic power steering system according to claim 2, wherein, Introduce the historical path cumulative difference in S4 and the adaptive feedback factor The specific method is as follows: D11. Historical path cumulative difference By calculating the absolute difference between the position of each iteration and the current optimal solution of the population, and establishing a clear measurement system for the total deviation of the historical trajectory in a linearly cumulative manner, the specific mathematical model is as follows: ; where \(t\) is the current iteration number, \(T\) is the maximum iteration number, is the position of the \(i\)-th individual in the \(j\)-th dimension at the \(t\)-th iteration, is the current optimal solution in the \(j\)-th dimension at the \(t\)-th iteration; D12, Adaptive feedback factor By calculating the cumulative difference between the position at the t-th iteration and the current position to represent the trajectory fluctuation amplitude, and then performing scale normalization with the product of the iteration number and the problem dimension, a normalized mean measure of trajectory fluctuation is constructed, and then embedded into a non-linear inverse proportional mapping function structure. The specific mathematical model is as follows: ; In the formula, is the current position of the i-th individual in the j-th dimension of the population, m is the problem dimension, and the meanings of other parameters are the same as above.

4. The control method of an automatic power steering system according to claim 3, characterized in that, Introduce the hierarchical target position in S4 and the gravitational effect factor The specific method is as follows: D21. Hierarchical target position Taking the global optimal solution as the basic reference point, using the total relative change in the positions of an individual over several consecutive past generations, and through the implementation of non-linear attenuation on the iterative scale, a composite time-domain position reference structure is constructed. The specific mathematical model is as follows: ; Wherein, is the hierarchical target position of the i-th individual in the t-th iteration of the population in the j-th dimension, is the global optimal solution in the j-th dimension of the t-th iteration, is the current target position offset of the i-th individual in the t-th iteration of the population in the j-th dimension, and t is the current number of iterations; D22, Gravitational effect factor Based on the absolute difference between the objective function value of the current individual position and the objective function value of the current optimal solution, an inverse proportion mapping is implemented after adding the constant 1, constituting a non-linear compression mapping function for fitness difference. The specific mathematical model is as follows: ; In the formula, is the objective function value of the current population individual position, is the objective function value of the current optimal solution.

5. The control method of an automatic power steering system according to claim 4, characterized in that, In S4, the control parameters of the torque PID controller are optimized by an improved language education algorithm. The specific steps are as follows: step1. Initialize the parameters of the improved language education algorithm, including the population size N, the maximum number of iterations T, the problem dimension m, the upper limit of the search space , and the lower limit of the search space ; step2. Encode the control parameters Kp, Ki, and Kd of the torque PID controller as the solutions in the search space of the improved language education algorithm. As the algorithm iterates, the updated population individual positions reflect the corresponding control parameters of the torque PID controller; step3. The algorithm performs iterative optimization to update the population individual positions; step4. Calculate the fitness value of each population individual and record the optimal population individual position corresponding to the current minimum fitness value; step5. Determine whether the current iteration number reaches the maximum iteration number. If so, output the population individual position corresponding to the minimum fitness value and parse it as the three optimal control parameters Kp, Ki, and Kd of the torque PID controller. Otherwise, return to execute Step3.

6. The control method of an automatic power steering system according to claim 5, wherein, The mathematical model for the output torque of the assist motor in S5 is: ; Wherein, is the actual output torque of the assist motor, is the gain coefficient of the motor, is the control signal output by the torque PID controller, is the load influence coefficient, is the current motor load, is the maximum load of the motor, is the time constant of the motor, and n is time.

Citation Information

Patent Citations

  • Electric power steering system and control method

    CN104828132A

  • Power-assisted steering motor parameter identification method and system and vehicle

    CN114996860A