Vehicle front wheel turning angle determination method, device, equipment, program and storage medium
By optimizing the exponential approach rate parameter and designing the ideal angular transmission ratio of the sliding mode controller based on the particle swarm optimization algorithm, the problems of vibration and slow response caused by improper parameter settings in the steer-by-wire system are solved, realizing fast and smooth control of the front wheel steering angle and improving the vehicle's steering stability and sensitivity.
Patent Information
- Application Number
- CN202410194613.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-02-21
AI Technical Summary
In existing steer-by-wire systems, improper setting of the exponential approach rate parameter of the sliding mode controller can lead to increased system jitter or slow response, making it impossible to quickly achieve the ideal control effect, affecting the accuracy of front wheel steering angle calculation, and posing a safety hazard.
Based on the vehicle's current state data and a linear two-degree-of-freedom model, the state-space equation and ideal angular transmission ratio are determined. The particle swarm optimization algorithm is used to optimize the exponential reaching rate parameter of the sliding mode controller. The ideal angular transmission ratio is designed by combining high and low vehicle speed thresholds, and unrealistic situations are avoided by segmenting the constraints.
This enables the sliding mode controller to approach the sliding surface more quickly and smoothly, ensuring the vehicle's steering characteristics at various speeds, improving vehicle stability and steering sensitivity, and avoiding problems such as system instability and slow response.
Smart Images

Figure CN117901880B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and relates to, but is not limited to, a method, apparatus, device, program, and storage medium for determining the front wheel steering angle of a vehicle. Background Technology
[0002] Steer-by-wire (SBW) is a key technology for achieving autonomous driving. It replaces the traditional mechanical steering system with an intelligent control system, allowing for more precise and flexible vehicle control based on the driving environment and driver needs. In related technologies, to ensure vehicle stability during steering, strategies such as constant yaw rate gain or constant lateral acceleration gain are used to calculate the ideal angular transmission ratio at different vehicle speeds. Then, based on the ideal transmission ratio, the front wheel steering angle is further determined. A sliding mode controller is used for further control in determining the front wheel steering angle. However, due to parameter settings issues related to the exponential approach rate of the sliding mode controller, unreasonable parameter settings may lead to increased system vibration on the sliding surface, even causing system instability, or the system may react too slowly when approaching the sliding surface, failing to quickly achieve the ideal control effect. This results in inaccurate calculations of the front wheel steering angle, failing to meet actual requirements, and even posing a danger during driving. Summary of the Invention
[0003] In view of this, embodiments of this application provide at least one method, apparatus, device, program, and storage medium for determining the front wheel steering angle of a vehicle.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] On one hand, embodiments of this application provide a method for determining the front wheel steering angle of a vehicle. The method includes: acquiring current state data of the vehicle; the current state data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration, and tire lateral stiffness; determining the state-space equation of the vehicle with respect to yaw rate and lateral velocity based on a linear two-degree-of-freedom model and the current state data, and determining the ideal angular transmission ratio of the vehicle; determining a sliding mode controller for the vehicle based on the state-space equation; using the relevant parameters of the exponential reaching rate in the sliding mode controller as particles in a particle swarm optimization algorithm to determine the optimal parameter solution of the relevant parameters; and substituting the optimal parameter solution and the ideal angular transmission ratio into the sliding mode controller to determine the front wheel steering angle of the vehicle.
[0006] On the other hand, embodiments of this application provide a device for determining the front wheel steering angle of a vehicle. The device includes: an acquisition module for acquiring current state data of the vehicle; the current state data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration, and tire lateral stiffness; a first determination module for determining the state space equation of the vehicle with respect to yaw rate and lateral velocity based on a linear two-degree-of-freedom model and the current state data, and determining the ideal angular transmission ratio of the vehicle; a second determination module for determining the sliding mode controller of the vehicle based on the state space equation; a third determination module for determining the optimal parameter solution of the relevant parameters by using the exponential reaching rate parameters in the sliding mode controller as particles in a particle swarm optimization algorithm; and a fourth determination module for substituting the optimal parameter solution and the ideal angular transmission ratio into the sliding mode controller to determine the front wheel steering angle of the vehicle.
[0007] In another aspect, embodiments of this application provide a computer device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the program to implement some or all of the steps in the above-described method.
[0008] In another aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the above-described method.
[0009] In another aspect, embodiments of this application provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement some or all of the steps described above.
[0010] In this embodiment, based on the vehicle's current state data and a linear two-degree-of-freedom model, the state-space equations of the vehicle regarding yaw rate and lateral velocity, and the vehicle's ideal angular transmission ratio are determined. Then, based on the state-space equations, the vehicle's sliding mode controller is determined. Furthermore, the relevant parameters of the exponential approach rate in the sliding mode controller are used as particles in a particle swarm optimization algorithm to determine the optimal parameter solution. Finally, a sliding mode controller based on the optimal parameter solution is determined, thereby achieving faster and smoother sliding mode control when approaching the sliding surface, and ensuring good performance even when approaching the origin.
[0011] Furthermore, in determining the ideal angular transmission ratio in this application, firstly, the ideal angular transmission ratio at different vehicle speeds is determined based on the constant steering gain; then, high and low vehicle speed thresholds are designed to set fixed ideal angular transmission ratios for the vehicle's operating conditions at high and low speeds. Finally, the determined ideal angular transmission ratio is determined by segmented limitation to avoid the vehicle having a transmission ratio that does not conform to reality, thereby causing the steering to be insensitive or the vehicle's stability to deteriorate, and further improving the vehicle's steering characteristics at various vehicle speeds.
[0012] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this disclosure. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:
[0014] Figure 1 A schematic diagram illustrating the implementation process of a method for determining the front wheel steering angle of a vehicle, provided in an embodiment of this application;
[0015] Figure 2A A schematic diagram of the implementation process of an ideal angular transmission ratio for a vehicle provided in this application embodiment. Figure 1 ;
[0016] Figure 2B A schematic diagram of the process for realizing an ideal angular transmission ratio for a vehicle, provided as an embodiment of this application;
[0017] Figure 2C A schematic diagram of the implementation process of an ideal angular transmission ratio for a vehicle provided in this application embodiment. Figure 3 ;
[0018] Figure 3 A schematic diagram illustrating the implementation process of a sliding mode controller for a vehicle provided in this application embodiment;
[0019] Figure 4 A schematic diagram illustrating the implementation process of determining the optimal parameter solution for the exponential reaching rate in a sliding mode controller based on the particle swarm optimization algorithm, as provided in this application embodiment;
[0020] Figure 5 The overall technical solution of a method for determining the front wheel steering angle of a vehicle provided in the embodiments of this application;
[0021] Figure 6A schematic diagram of the composition structure of a device for determining the front wheel steering angle of a vehicle provided in an embodiment of this application;
[0022] Figure 7 This is a schematic diagram of the hardware entity of a computer device provided in an embodiment of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0025] It should be noted that the terms "first, second, and third" used in the embodiments of this application are merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, and third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0026] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of this application pertain. It should also be understood that terms such as those defined in general dictionaries should be understood to have a meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0027] SBW: It can obtain the relationship between the target input of the autonomous driving turning command and the changes of the car's steering wheels without restraint. It can control the relationship between the steering mechanism and driving needs, thus adjusting the vehicle and directly controlling the precise control of the autonomous driving path and direction.
[0028] Yaw rate: This refers to the speed at which a car moves laterally when turning, usually expressed in radians per second. It is one of the important indicators for measuring a car's stability and handling during cornering. The magnitude of the yaw rate depends on several factors, including the vehicle's center of gravity height, suspension stiffness, and tire friction coefficient. Generally speaking, the greater the yaw rate, the easier it is for the vehicle to lose control when cornering, requiring higher driving skills and reaction speed to control it.
[0029] Lateral acceleration: This describes the acceleration of an object moving along a curved path, and its direction is perpendicular to the direction of the object's lateral motion. When a car is driving through a curve, it will undergo curved motion, and at this time, the vehicle will experience lateral acceleration. It is one of the key factors that keeps the car in the curve.
[0030] Lateral stiffness: refers to the tire's response speed to lateral forces when a vehicle is cornering. In other words, when a vehicle enters a curve, the tire generates lateral forces on its contact surface with the ground, and lateral stiffness describes the tire's rigidity when generating these lateral forces. The greater the lateral stiffness, the greater the lateral force generated by the tire during cornering; conversely, the smaller the lateral stiffness, the smaller the response to lateral forces.
[0031] SBW is one of the key technologies for realizing autonomous driving. It replaces the traditional mechanical steering system with an intelligent control system, allowing the vehicle to be controlled more precisely and flexibly according to the driving environment and the driver's needs.
[0032] In related technologies, to ensure vehicle stability during steering, a strategy of constant yaw rate gain or constant lateral acceleration gain is used to calculate the ideal angular transmission ratio at different vehicle speeds. Then, based on the ideal transmission ratio, the front wheel steering angle of the vehicle is further determined. In determining the front wheel steering angle, a sliding mode controller is also used for further control.
[0033] The sliding mode control algorithm uses an exponential approach rate to control the system to approach the sliding surface. The exponential approach rate is mainly divided into two parts. The first part is the constant velocity approach rate, which makes the system approach the sliding surface at a certain speed. The second part is the variable velocity approach rate, which makes the approach speed of the system gradually decrease as the error decreases when approaching the sliding surface.
[0034] The exponential reaching rate is adjusted for the exponential reaching rate of these two parts (constant velocity reaching rate and variable velocity reaching rate). Inappropriate parameter adjustment may lead to a decrease in system performance or even system instability. Therefore, parameter adjustment is an important part of sliding mode controller design.
[0035] In exponential reaching rate, the parameter of the exponential reaching rate needs to be selected based on system characteristics and performance requirements. If the parameter of the exponential reaching rate is set too small, it may cause increased jitter of the system on the sliding surface, or even lead to system instability. If the parameter of the exponential reaching rate is set too large, it may cause the system to react too slowly when approaching the sliding surface, and fail to quickly achieve the ideal control effect.
[0036] However, due to the parameter setting problem of the sliding mode controller using the exponential approach rate, the calculation results of the front wheel steering angle of the steer-by-wire system may be inaccurate and fail to meet the actual requirements, and may even cause danger during driving.
[0037] This application provides a method for determining the steering angle of a vehicle's front wheels, such as... Figure 1 As shown, the method may include steps S101 to S105:
[0038] Step S101: Obtain the current state data of the vehicle; the current state data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration, and tire lateral stiffness;
[0039] Here, vehicle-mounted sensors, onboard computer (Electronic Control Unit, ECU), and vehicle network can be used to obtain real-time status data such as vehicle speed, yaw rate, and lateral acceleration. Tire lateral stiffness and other information can be estimated using the tire magic model or Dugoff tire model.
[0040] Step S102: Based on the linear two-degree-of-freedom model and the current state data, determine the state-space equations of the vehicle with respect to yaw rate and lateral velocity, and determine the ideal angular transmission ratio of the vehicle;
[0041] Here, the ideal gear ratio refers to a steering angle ratio that ensures a constant steering gain for the vehicle. The steering gain here refers to the yaw rate gain and the lateral acceleration gain. In some embodiments, the ideal gear ratio can be determined based on a constant yaw rate gain, a constant lateral acceleration gain, or a weighted average of the ideal gear ratios corresponding to the constant yaw rate gain and the constant lateral acceleration gain, respectively.
[0042] For the linear two-degree-of-freedom model, see formula (1):
[0043]
[0044] Where m represents the vehicle mass, k1 represents the lateral stiffness of the front tires, k2 represents the lateral stiffness of the rear tires, and v x v represents the longitudinal velocity of the vehicle. y Let δ represent the lateral velocity of the vehicle, 'a' represent the distance from the front axle to the center of gravity, 'b' represent the distance from the rear axle to the center of gravity, and δ represent the lateral velocity of the vehicle. c 'r' represents the front wheel steering angle, and 'r' represents the yaw rate.
[0045] Substituting the current state data obtained in step S101 into formula (1), the state-space equations of the vehicle regarding yaw rate and lateral velocity are obtained, as shown in formula (2):
[0046]
[0047] Where, X = [v y ,r d ], U = δ c I Z I represents the moment of inertia of the entire vehicle about the Z-axis, and I represents the angular transmission ratio.
[0048] make By decomposing the relationship between yaw rate and front wheel steering angle at different vehicle speeds, and considering the road adhesion limit constraint, the ideal yaw rate is:
[0049]
[0050] Where g represents the acceleration due to gravity, taken as 9.8 m / s², and r... m Let r represent the yaw rate calculated at different vehicle speeds. d The value represents the desired yaw rate, and μ represents the road surface adhesion coefficient.
[0051] Step S103: Based on the state-space equation, determine the sliding mode controller of the vehicle; wherein, the sliding mode control quantity of the sliding mode controller is the front wheel steering angle of the vehicle;
[0052] Here, sliding mode control (SMC) is a special type of nonlinear control method that utilizes the discontinuities of the control system to achieve precise control. Essentially, sliding mode control is a branch of variable structure control. Its core idea is to introduce a sliding mode into the system, allowing the system state to slide along this mode and remain stable on the sliding surface. SMC consists of two main phases: the phase where the system moves from any initial state to the sliding surface; and the phase where the system reaches the sliding surface and gradually stabilizes.
[0053] To design and implement sliding mode control, the sliding surface and the control law need to be designed separately. The design of the sliding surface typically involves defining a sliding surface formed by a linear combination of one or more state variables. This sliding surface should possess good robustness and adaptability to meet the required control performance. The control law is responsible for designing a control strategy based on the definition of the sliding surface, allowing the system state to slide along the sliding surface. The sliding mode controller is used to maintain this sliding state of the system. The controller can be a continuous-time controller or a discrete-time controller; the specific controller type depends on the characteristics of the controlled system and the application requirements.
[0054] The advantages of sliding mode control lie in its strong robustness and fast response, which makes it perform well in the face of system parameter uncertainties, external disturbances, and measurement noise. Furthermore, compared with some other complex control methods, sliding mode control is relatively simple, easy to implement, and easy to apply.
[0055] Step S104: Use the relevant parameters of the exponential reaching rate in the sliding mode controller as particles in the particle swarm optimization algorithm to determine the optimal parameter solution of the relevant parameters;
[0056] Here, Particle Swarm Optimization (PSO) is a type of swarm intelligence algorithm designed by simulating the foraging behavior of bird flocks. Assuming there is only one food source in the area (i.e., the optimal solution in optimization problems), the birds' task is to find this food source. Throughout the search process, the birds share information with each other, letting other birds know their location. Through this cooperation, they determine whether they have found the optimal solution and simultaneously transmit this information to the entire flock. Ultimately, the entire flock gathers around the food source, meaning the optimal solution has been found, or the problem has converged.
[0057] Particle Swarm Optimization (PSO) simulates birds in a flock by designing massless particles. These particles have only two attributes: velocity and position. Velocity represents the speed of movement, and position represents the direction of movement. Each particle individually searches for the optimal solution in the search space and records it as its current individual extreme value. This individual extreme value is shared with all other particles in the swarm. The optimal individual extreme value is then used as the current global optimal solution for the entire swarm. All particles in the swarm adjust their velocity and position based on their individual extreme values and the shared global optimal solution. The core idea of PSO is relatively simple, mainly consisting of: 1. Initializing the particle swarm; 2. Evaluating particles, i.e., calculating their fitness values; 3. Finding individual extreme values; 4. Finding the global optimal solution; 5. Modifying the velocity and position of the particles.
[0058] Step S105: Substitute the optimal parameter solution and the ideal angular transmission ratio into the sliding mode controller to determine the front wheel steering angle of the vehicle.
[0059] Here, the optimal solution of the relevant parameters of the exponential approach rate determined in step S104 and the ideal transmission ratio determined in step S102 are substituted into the sliding mode controller in step S103, which uses the front wheel steering angle of the vehicle as the sliding mode control quantity, thereby determining the front wheel steering angle of the vehicle.
[0060] In this embodiment, based on the vehicle's current state data and a linear two-degree-of-freedom model, the state-space equations of the vehicle regarding yaw rate and lateral velocity, and the vehicle's ideal angular transmission ratio are determined. Then, based on the state-space equations, the vehicle's sliding mode controller is determined. Furthermore, the relevant parameters of the exponential approach rate in the sliding mode controller are used as particles in a particle swarm optimization algorithm to determine the optimal parameter solution. Finally, a sliding mode controller based on the optimal parameter solution is determined, thereby achieving faster and smoother sliding mode control when approaching the sliding surface, and ensuring good performance even when approaching the origin.
[0061] Furthermore, in determining the ideal angular transmission ratio in this application, firstly, the ideal angular transmission ratio at different vehicle speeds is determined based on the constant steering gain; then, high and low vehicle speed thresholds are designed to set fixed ideal angular transmission ratios for the vehicle's operating conditions at high and low speeds. Finally, the determined ideal angular transmission ratio is determined by segmented limitation to avoid the vehicle having a transmission ratio that does not conform to reality, thereby causing the steering to be insensitive or the vehicle's stability to deteriorate, and further improving the vehicle's steering characteristics at various vehicle speeds.
[0062] In some embodiments, step S102 above determines the ideal angular transmission ratio of the vehicle based on a linear two-degree-of-freedom model and the current state data, such as... Figure 2A As shown, steps S201 to S204 may be included:
[0063] Step S201: Based on the linear two-degree-of-freedom model and the current state data, determine the yaw rate gain of the vehicle;
[0064] Here, the yaw rate gain is given by formula (4):
[0065]
[0066] Among them, K ω / δ Where yaw rate is the gain, K represents the vehicle's stability factor, L represents the wheelbase, and I1 represents the first ideal angular transmission ratio.
[0067] Step S202: Under the condition that the yaw rate gain is constant, determine the first ideal angular transmission ratio of the vehicle;
[0068] Assuming that the yaw rate gain is constant under any fixed steering wheel angle and vehicle speed, the first ideal angular transmission ratio can be obtained based on formula (4):
[0069]
[0070] Step S203: Based on the upper critical speed and lower critical speed of the vehicle, determine the ideal angular transmission ratio corresponding to the upper critical speed and the ideal angular transmission ratio corresponding to the lower critical speed of the vehicle, respectively.
[0071] Here, when the vehicle is traveling at low speeds, if the gear ratio is too small, the steering will become overly sensitive, and even slight driver errors may result in a large response from the vehicle. Conversely, if the gear ratio is too large, the steering will be too sluggish, which is detrimental to the vehicle's reaction speed and accuracy when performing maneuvers such as lane changes and obstacle avoidance. Therefore, the gear ratio curve should have appropriate upper and lower bounds to ensure that the vehicle can safely and accurately complete steering operations at different speeds.
[0072] In some embodiments, the upper limit is set to I. max =f I (v x1 ), lower limit I min =f I (v x2 ), where v x1 v is the upper critical speed. x2 This is the lower critical speed.
[0073] Step S204: Determine the ideal angular transmission ratio of the vehicle based on the first ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
[0074] Here, after limiting the vehicle's up and down speeds, and assuming a constant yaw rate gain for the intermediate speed, the first ideal angular transmission ratio of the vehicle is determined. The final ideal angular transmission ratio of the vehicle is then obtained as follows:
[0075]
[0076] In some embodiments, step S102 above determines the ideal angular transmission ratio of the vehicle based on a linear two-degree-of-freedom model and the current state data, such as... Figure 2B As shown, steps S211 to S214 may be included:
[0077] Step S211: Based on the linear two-degree-of-freedom model and the current state data, determine the lateral acceleration gain of the vehicle;
[0078] Here, the lateral acceleration gain is given by formula (7):
[0079]
[0080] Here, a y I represents lateral acceleration, and I2 represents the second ideal angular transmission ratio.
[0081] Step S212: Under the condition that the lateral acceleration gain is constant, determine the second ideal angular transmission ratio of the vehicle;
[0082] The first ideal angular transmission ratio is determined under the condition that the yaw rate gain is constant, and the second ideal angular transmission ratio is determined under the condition that the lateral acceleration gain is constant.
[0083] Assuming that the lateral acceleration gain is constant under any fixed steering wheel angle and vehicle speed, the second ideal angular transmission ratio can be obtained based on formula (7):
[0084]
[0085] Step S213: Based on the upper critical speed and lower critical speed of the vehicle, determine the ideal angular transmission ratio corresponding to the upper critical speed and the ideal angular transmission ratio corresponding to the lower critical speed of the vehicle, respectively.
[0086] Step S214: Determine the ideal angular transmission ratio of the vehicle based on the second ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
[0087] Here, after limiting the vehicle's up and down speeds, and assuming a constant lateral acceleration gain for the intermediate speed, the second ideal angular transmission ratio of the vehicle is determined. The final ideal angular transmission ratio of the vehicle is then obtained as follows:
[0088]
[0089] In some embodiments, step S102 above determines the ideal angular transmission ratio of the vehicle based on a linear two-degree-of-freedom model and the current state data, such as... Figure 2C As shown, steps S221 to S226 may be included:
[0090] Step S221: Based on the linear two-degree-of-freedom model and the current state data, determine the yaw rate gain and lateral acceleration gain of the vehicle, respectively;
[0091] Step S222: Under the condition that the yaw rate gain is constant, determine the first ideal angular transmission ratio of the vehicle;
[0092] Step S223: Under the condition that the lateral acceleration gain is constant, determine the second ideal angular transmission ratio of the vehicle;
[0093] Step S224: Perform a weighted calculation on the first ideal angular transmission ratio and the second ideal angular transmission ratio to determine the third ideal angular transmission ratio of the vehicle;
[0094] Here, the third ideal angle transmission ratio is given by formula (10):
[0095] I3 = w1I1 + w2 * I2 (10);
[0096] Here, w1 and w2 represent weighted parameters, and w1 + w2 = 1.
[0097] Step S225: Based on the upper critical speed and lower critical speed of the vehicle, determine the ideal angular transmission ratio corresponding to the upper critical speed and the ideal angular transmission ratio corresponding to the lower critical speed of the vehicle, respectively.
[0098] Step S226: Determine the ideal angular transmission ratio of the vehicle based on the third ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
[0099] Here, after limiting the speed of the vehicle going up and down, the intermediate speed is calculated by weighting the second ideal angular transmission ratio determined based on the constant lateral acceleration gain and the first ideal angular transmission ratio determined based on the constant yaw rate gain, and then obtaining the third ideal angular transmission ratio through formula (10). The final ideal angular transmission ratio of the vehicle is then obtained as follows:
[0100]
[0101] In some embodiments, step S103 above determines the sliding mode controller of the vehicle based on the state-space equation; wherein the sliding mode control quantity of the sliding mode controller is the front wheel steering angle of the vehicle, such as... Figure 3 As shown, steps S301 to S303 may be included:
[0102] Step S301: Based on the state-space equation, determine the control error of the sliding mode controller;
[0103] Here, the control error of the sliding mode controller is given by formula (12):
[0104]
[0105] Step S302: Using the control error as the input to the sliding mode controller, determine the sliding surface;
[0106] Here, the sliding surface is described in formula (13):
[0107]
[0108] Where s represents the sliding surface and c represents the sliding surface adjustment parameter.
[0109] Step S303: Based on the sliding surface, the state-space equation, and the selected sliding control exponent approach rate function, determine the sliding controller of the vehicle; wherein, the sliding control quantity output by the sliding controller is the front wheel steering angle of the vehicle;
[0110] Here, the sliding mode control exponential approach rate function is given by formula (14):
[0111]
[0112] Where ε and p represent parameters related to the exponential rate of convergence, and sgn is the sign function.
[0113] Combining equations (12) and (13), and differentiating with respect to the sliding surface, we obtain:
[0114]
[0115] Combine equations (7) and (8), and then use the r obtained from equation (2) d Substituting, we get:
[0116]
[0117] In some embodiments, step S104 above involves using the relevant parameters of the exponential reaching rate in the sliding mode controller as particles in a particle swarm optimization algorithm to determine the optimal parameter solution for the relevant parameters, such as... Figure 4 As shown, steps S401 to S406 may be included:
[0118] Step S401: Determine the relevant parameters of the exponential reaching rate in the sliding mode controller as the particle population of the particle swarm optimization algorithm;
[0119] Here, the relevant parameters of the exponential approach rate in the sliding mode controller can be based on ε, p and c in formula (16), and a three-dimensional particle swarm can be determined based on ε, p and c.
[0120] Step S402: Initialize the velocity, position, and individual historical best position of each particle;
[0121] Here, there are n particles, and the initial state of the i-th particle is set as follows:
[0122] X i =(x i1 ,x i2 ,...,x in ) represents the initial position of particle i;
[0123] V i =(v i1 ,v i2 ,...,v inLet be the initial velocity of particle i;
[0124] P i =(p i1 ,p i2 ,...,p in ) represents the historical best position of particle i;
[0125] Step S403: Based on the fitness function, using the first iteration particle and the number of particle groups as input data, determine the fitness of the first iteration particle;
[0126] Here, the fitness function is:
[0127]
[0128] Where J is the transition parameter for calculating the fitness function.
[0129] Furthermore, the formula for J is:
[0130]
[0131] Where e is the fitness calculation factor, which is generally related to the individual historical best and the global historical best.
[0132] Step S404: Based on the fitness of the first iteration particle and the updated position of the first iteration particle, update the individual historical best position and the global historical best position;
[0133] Step S405: Determine whether the preset termination condition is met;
[0134] Here, the termination condition can be the number of iterations, the fitness value reaching a certain value, or the fitness change rate decreasing to a certain value. The specific handling should be done by those skilled in the art based on the actual situation, and no specific restrictions are imposed here.
[0135] Step S406: If the termination condition is met, determine the value of the relevant parameter of the last exponential convergence rate as the optimal parameter solution of the relevant parameter.
[0136] In some embodiments, step S404 above, which updates the individual historical best position and the global historical best position based on the fitness of the first iterated particle and the updated position of the first iterated particle, may include steps S4041 to S4044:
[0137] Step S4041: Based on the particle velocity update formula, using the velocity of the first iterated particle, the position of the first iterated particle, the global historical best position, and the individual historical best position as input data, determine the updated velocity of the first iterated particle;
[0138] Here, the speed update during the optimization process of the particle swarm optimization algorithm is described in Equation (19):
[0139] v ij (t+1)=ω(t)v ij (t)+αr 1j (t)(p ij (t)-x ij (t))+βr 2j (t)(p gj (t)-x ij (t)) (19);
[0140] Where j represents the j-th dimension of the particle, i represents particle i, t represents the t-th generation, α and β represent acceleration constants, typically taking values between 0 and 2, and r 1j~ U(0,1) and r 2j~ U(0, 1) are two independent random numbers, and w(t) represents the inertia weight, with the corresponding expression as follows:
[0141]
[0142] Among them, G max This is the maximum cutoff number.
[0143] The inertia weight w(t) is a function of the number of iterations. To reduce the probability of a particle escaping the search space during evolution, v is limited. ij ∈[-v max ,v max If the search space of the problem is limited to [-x] max ,x max Within this range, the speed v can be set. max =λ·x max , λ∈[0.1, 1.0].
[0144] Step S4042: Determine the updated position of the first iterative particle as the sum of the position of the first iterative particle and the updated velocity of the first iterative particle;
[0145] Here, the position update formula during the particle swarm optimization algorithm is (21):
[0146] x ij (t+1)=x ij (t)+v ij (t+1) (21);
[0147] Step S4043: If the fitness of the first iterative particle is higher than the fitness corresponding to the individual's historical best position, the position of the first iterative particle is determined as the individual's historical best position.
[0148] Here, if the fitness of the first iteration particle is less than the fitness corresponding to the individual's historical best position, the individual's historical best position remains unchanged.
[0149] Step S4044: If the fitness of the first iterative particle is higher than the fitness corresponding to the global historical best position, the position of the first iterative particle is determined as the global historical best position.
[0150] Here, if the fitness of the first iteration particle is less than the fitness corresponding to the global historical best position, the global historical best position remains unchanged.
[0151] In some embodiments, based on step S405 above, the implementation when it is determined that the preset termination condition has not been met may include steps S4051 to S4055:
[0152] Step S4051: Based on the fitness function, using the second iteration particle and the number of particles in the swarm as input data, determine the fitness of the second iteration particle; the second iteration particle is the next iteration of the first iteration particle;
[0153] Step S4052: If the fitness of the second iteration particle is higher than the fitness corresponding to the individual's historical best position, the position of the second iteration particle is determined as the individual's historical best position;
[0154] Step S4053: If the fitness of the second iteration particle is higher than the fitness corresponding to the global historical best position, the position of the second iteration particle is determined as the global historical best position;
[0155] Step S4054: Based on the particle velocity update formula, using the velocity of the second iteration particle, the position of the second iteration particle, the global historical best position, and the individual historical best position as input data, determine the updated velocity of the second iteration particle; the velocity of the second iteration particle is the updated velocity of the first iteration particle; the position of the second iteration particle is the updated position of the first iteration particle;
[0156] Step S4055: Determine the updated position of the second iterative particle based on the position of the second iterative particle and the updated velocity of the second iterative particle.
[0157] The method for determining the front wheel steering angle of the vehicle described above will be specifically described below with reference to a specific embodiment. This embodiment determines the vehicle's sliding mode controller, and then uses the relevant parameters of the exponential rate of convergence in the sliding mode controller as variables of the particle swarm optimization algorithm to determine the optimal parameter solution of the relevant parameters of the exponential rate of convergence, thereby determining the front wheel steering angle of the vehicle. It is worth noting that this specific embodiment is only for better illustration of this application and does not constitute an improper limitation of this application.
[0158] This application provides an overall technical solution for a method of determining the front wheel steering angle of a vehicle, such as... Figure 5 As shown, the method may include steps S500 to S505:
[0159] Step S501: Obtain information such as vehicle speed, tire stiffness, and yaw rate through vehicle sensors;
[0160] Step S502: Import the vehicle state information and vehicle structure information obtained in the above steps into the vehicle linear two-degree-of-freedom model to calculate the vehicle's yaw rate and lateral velocity.
[0161] Here, the data obtained in step S501 is imported into the linear two-degree-of-freedom model to obtain the state-space equations of the vehicle regarding yaw rate and lateral velocity. The linear two-degree-of-freedom model is shown in Equation (1), and the state-space equations regarding yaw rate and lateral velocity are shown in Equation (2).
[0162] Step S503: Initialize the particle swarm optimization algorithm parameters such as particle position and velocity;
[0163] Here, the control error of the vehicle is first determined, and then the sliding surface is determined with the control error as input. Finally, based on the sliding surface, the state space equations about the yaw rate and lateral velocity, and the control error, the sliding mode controller of the vehicle is determined. The sliding mode control quantity of the sliding mode controller is the front wheel steering angle of the vehicle. The sliding mode controller of the vehicle is shown in formula (16).
[0164] As can be seen from formula (16), by adjusting the relevant parameters (ε, p and c) of the exponential approach rate, the system can be kept near the sliding surface to ensure the existence of the sliding state. At the same time, the robustness and chattering of the system can be kept in balance. In order to ensure that the parameter values of ε, p and c meet the requirements, the particle swarm optimization algorithm is used to determine the optimal parameter solution, thereby reducing the occurrence of chattering in the system.
[0165] Furthermore, ε, p, and c are combined into a three-dimensional particle, and the optimal parameter values are solved using the particle swarm optimization algorithm. When using the particle swarm optimization algorithm to solve for the optimal solution, the particle swarm optimization algorithm needs to be initialized first, and parameters such as the size, initial position, and initial velocity of the particle swarm need to be set. After initializing the particle swarm, the velocity and position of the particles need to be updated during the optimization process of the particle swarm optimization algorithm. The methods for updating the velocity and position of the particles are shown in Equation (19) and Equation (21).
[0166] Step S504: Set the convergence rate correlation coefficient of the sliding mode controller as the optimization variable of the particle swarm optimization algorithm, and perform optimization calculation by setting the objective function to obtain the optimal coefficient;
[0167] Here, the fitness of each particle in the current iteration is calculated using the set objective function. For each particle, the calculated fitness is compared with the fitness corresponding to its individual historical best position. If the calculated fitness value is greater than the fitness corresponding to its individual historical best position, then the current fitness is determined as the individual historical best fitness. For each particle, the calculated fitness is compared with the fitness corresponding to the global historical best position. If the calculated fitness value is greater than the fitness corresponding to the global historical best position, then the current fitness is determined as the global historical best fitness.
[0168] Based on the set termination condition, if the termination condition is not met, the next round of iteration calculation is performed to update the position and velocity of each particle. The termination condition can be set by the number of iterations, the fitness value reaching a certain value, or the fitness change rate decreasing to a certain value, etc.
[0169] After the set termination condition is met, the optimal parameter solutions for ε, p, and c can be obtained, thus constructing a sliding mode controller using the optimal parameter values. Table 1 below shows the fitness and corresponding optimized parameter values generated under different iterations:
[0170] Table 1. Applicability values and corresponding optimization parameter values generated under different iterations.
[0171]
[0172]
[0173] Step S505: Determine the ideal angular transmission ratio at different vehicle speeds based on the constant yaw rate gain strategy;
[0174] Here, with the constant yaw rate gain determined as constant, the ideal angular transmission ratio at different vehicle speeds is determined, see formula (5).
[0175] Step S506: Limit the ideal angular transmission ratio and determine the maximum and minimum values of the ideal angular transmission ratio;
[0176] Considering that if the angular transmission ratio is too small, the steering will be too sensitive, and even a small misoperation by the driver will result in a large vehicle response, while if it is too large, the steering will be too sluggish, which is not conducive to lane changing and obstacle avoidance. Therefore, the transmission ratio curve should have appropriate upper and lower limits.
[0177] Step S507: Determine the target ideal angle transmission ratio;
[0178] Here, the target ideal angular transmission ratio determined based on the constant yaw rate gain is given by formula (6).
[0179] Step S508: Substitute the target ideal angular transmission ratio into the sliding mode controller based on the optimization coefficient to determine the front wheel steering angle.
[0180] Here, the optimal solutions for the relevant parameters of the sliding mode control exponential approach rate obtained by the particle swarm optimization algorithm are set as ε0, p0, and c0. Then, the final output of the sliding mode controller, i.e., the front wheel steering angle, is:
[0181]
[0182] Where I represents
[0183] Regarding the aforementioned implementation process, this application embodiment utilizes a particle swarm optimization algorithm to optimize the exponential reaching rate parameters of the sliding mode controller when determining the front wheel steering. ε, p, and c in the sliding mode controller's control variables are used as optimization parameters, and corresponding particle swarm optimization parameters and fitness functions are set to optimize the controller's reaching rate. This results in faster and smoother sliding mode control reaching the origin, while maintaining good performance even when approaching the origin. Furthermore, this application employs a strategy of constant yaw rate gain or constant lateral acceleration gain to calculate the ideal angular transmission ratio. A segmented constraint approach is used to design high and low speed thresholds, setting fixed angular transmission ratios for high and low speed conditions. This avoids transmission ratios that do not conform to reality, preventing insensitive steering or decreased vehicle stability. This further improves the vehicle's steering characteristics at various speeds, making steering more sensitive at low speeds and more stable at high speeds.
[0184] Based on the foregoing embodiments, this application provides a device for determining the front wheel steering angle of a vehicle. The device includes various modules and units included in each module, which can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0185] This application provides a schematic diagram of the composition of a device for determining the front wheel steering angle of a vehicle, as shown in the embodiment. Figure 6 As shown, the device 600 includes:
[0186] The acquisition module 601 is used to acquire the current status data of the vehicle; the current status data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration and tire lateral stiffness;
[0187] The first determining module 602 is used to determine the state-space equations of the vehicle with respect to yaw rate and lateral velocity based on the linear two-degree-of-freedom model and the current state data, and to determine the ideal angular transmission ratio of the vehicle.
[0188] The second determining module 603 is used to determine the sliding mode controller of the vehicle based on the state space equation;
[0189] The third determining module 604 is used to determine the optimal parameter solution of the relevant parameters by taking the relevant parameters of the exponential approach rate in the sliding mode controller as particles of the particle swarm optimization algorithm.
[0190] The fourth determining module 605 is used to substitute the optimal parameter solution and the ideal angular transmission ratio into the sliding mode controller to determine the front wheel steering angle of the vehicle.
[0191] In some embodiments, the third determining module includes: a first determining unit, configured to determine the relevant parameters of the exponential convergence rate in the sliding mode controller as the particle swarm optimization algorithm; an initialization unit, configured to initialize the velocity, position, and individual historical best position of each particle; a second determining unit, configured to determine the fitness of the first iteration particle based on the fitness function, using the first iteration particle and the number of particles in the swarm as input data; an updating unit, configured to update the individual historical best position and the global historical best position based on the fitness of the first iteration particle and the updated position of the first iteration particle; a third determining unit, configured to determine whether a preset termination condition is met; and a fourth determining unit, configured to determine the value of the relevant parameters of the last exponential convergence rate as the optimal parameter solution of the relevant parameters if the termination condition is met.
[0192] In some embodiments, the updating unit includes: a first determining subunit, configured to determine the updated velocity of the first iterative particle based on a particle velocity update formula, using the velocity of the first iterative particle, the position of the first iterative particle, the global historical best position, and the individual historical best position as input data; a second determining subunit, configured to determine the updated position of the first iterative particle as the sum of the position of the first iterative particle and the updated velocity of the first iterative particle; a third determining subunit, configured to determine the position of the first iterative particle as the individual historical best position when the fitness of the first iterative particle is higher than the fitness corresponding to the individual historical best position; and a fourth determining subunit, configured to determine the position of the first iterative particle as the global historical best position when the fitness of the first iterative particle is higher than the fitness corresponding to the global historical best position.
[0193] In some embodiments, the third determining unit includes: a fifth determining subunit, configured to determine the fitness of the second iterative particle based on a fitness function, using the second iterative particle and the number of particles in the swarm as input data; the second iterative particle is the next iteration of the first iterative particle; a sixth determining subunit, configured to determine the position of the second iterative particle as the individual's historical best position when the fitness of the second iterative particle is higher than the fitness corresponding to the individual's historical best position; a seventh determining subunit, configured to determine the position of the second iterative particle as the global historical best position when the fitness of the second iterative particle is higher than the fitness corresponding to the global historical best position; an eighth determining subunit, configured to determine the updated velocity of the second iterative particle based on a particle velocity update formula, using the velocity of the second iterative particle, the position of the second iterative particle, the global historical best position, and the individual's historical best position as input data; the velocity of the second iterative particle is the updated velocity of the first iterative particle; the position of the second iterative particle is the updated position of the first iterative particle; and a ninth determining subunit, configured to determine the updated position of the second iterative particle based on the position of the second iterative particle and the updated velocity of the second iterative particle.
[0194] In some embodiments, the second determining module includes: a fifth determining unit, configured to determine the control error of the sliding mode controller based on the state-space equation; a sixth determining unit, configured to determine the sliding surface using the control error as input to the sliding mode controller; and a seventh determining unit, configured to determine the sliding mode controller of the vehicle based on the sliding surface, the state-space equation, and a selected sliding mode control exponential approach rate function. In some embodiments, the first determining module includes: an eighth determining unit, configured to determine the yaw rate gain of the vehicle based on the linear two-degree-of-freedom model and the current state data; a ninth determining unit, configured to determine the first ideal angular transmission ratio of the vehicle when the yaw rate gain is constant; a tenth determining unit, configured to determine the ideal angular transmission ratio corresponding to the upper critical speed and the ideal angular transmission ratio corresponding to the lower critical speed of the vehicle, respectively, based on the upper critical speed and the lower critical speed of the vehicle; and an eleventh determining unit, configured to determine the ideal angular transmission ratio of the vehicle based on the first ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical speed, and the ideal angular transmission ratio corresponding to the lower critical speed.
[0195] In some embodiments, the first determining module further includes: a twelfth determining unit, configured to determine the lateral acceleration gain of the vehicle based on the linear two-degree-of-freedom model and the current state data; a thirteenth determining unit, configured to determine the second ideal angular transmission ratio of the vehicle when the lateral acceleration gain is constant; and a fourteenth determining unit, configured to determine the ideal angular transmission ratio of the vehicle based on the second ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
[0196] In some embodiments, the first determining module further includes:
[0197] The fifteenth determining unit is used to perform a weighted calculation on the first ideal angular transmission ratio and the second ideal angular transmission ratio to determine the third ideal angular transmission ratio of the vehicle; the sixteenth determining unit is used to determine the ideal angular transmission ratio of the vehicle based on the third ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
[0198] The descriptions of the apparatus embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. In some embodiments, the functions or modules included in the apparatus provided in this disclosure can be used to perform the methods described in the method embodiments above. For technical details not disclosed in the apparatus embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0199] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0200] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.
[0201] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.
[0202] This application provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.
[0203] This application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in the above-described method.
[0204] The computer program product can be implemented in hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied in a computer storage medium; in other embodiments, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0205] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0206] This application provides a computer device, such as... Figure 7 As shown, the hardware entities of the computer device 700 include: a processor 701, a communication interface 702, and a memory 703. The processor 701 typically controls the overall operation of the computer device 700. The communication interface 702 enables the computer device to communicate with other terminals or servers via a network. The memory 703 is configured to store instructions and applications executable by the processor 701, and can also cache data to be processed or already processed by the processor 701 and various modules in the computer device 700 (e.g., image data, audio data, voice communication data, and video communication data). It can be implemented using flash memory or random access memory (RAM). Data transfer between the processor 701, the communication interface 702, and the memory 703 can be performed via a bus 704.
[0207] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0208] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0209] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0210] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0211] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0212] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0213] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.
[0214] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A method for determining the steering angle of a vehicle's front wheels, characterized in that, The method includes: Obtain the vehicle's current status data; the current status data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration, and tire lateral stiffness; Based on the linear two-degree-of-freedom model and the current state data, the state-space equations of the vehicle with respect to yaw rate and lateral velocity are determined, as well as the ideal angular transmission ratio of the vehicle is determined. Based on the state-space equation, a sliding mode controller for the vehicle is determined; wherein, the sliding mode control quantity of the sliding mode controller is the front wheel steering angle of the vehicle; The relevant parameters of the exponential approach rate in the sliding mode controller are determined as the particle swarm in the particle swarm optimization algorithm. Initialize the velocity, position, and individual best historical position of each particle; Based on the fitness function, the fitness of the first iteration particle is determined using the first iteration particle and the number of particles in the swarm as input data. Based on the fitness of the first iteration particle and the updated position of the first iteration particle, update the individual historical best position and the global historical best position. Determine whether the preset termination conditions are met; If the termination condition is met, the value of the relevant parameter of the last exponential convergence rate is determined as the optimal parameter solution of the relevant parameter. The optimal parameter solution and the ideal angular transmission ratio are substituted into the sliding mode controller to determine the front wheel steering angle of the vehicle.
2. The method based on claim 1, characterized in that, Based on the state-space equations, the sliding mode controller of the vehicle is determined, including: Based on the state-space equations, the control error of the sliding mode controller is determined; The control error is used as the input to the sliding mode controller to determine the sliding surface; The sliding mode controller for the vehicle is determined based on the sliding surface, the state-space equation, and the selected sliding mode control exponent convergence function.
3. The method based on claim 1 or 2, characterized in that, Based on the linear two-degree-of-freedom model and the current state data, the ideal angular transmission ratio of the vehicle is determined, including: Based on the linear two-degree-of-freedom model and the current state data, the yaw rate gain of the vehicle is determined; Under the condition that the yaw rate gain is constant, determine the first ideal angular transmission ratio of the vehicle; Based on the upper critical speed and lower critical speed of the vehicle, the ideal angular transmission ratio corresponding to the upper critical speed and the ideal angular transmission ratio corresponding to the lower critical speed of the vehicle are determined respectively. The ideal angular transmission ratio of the vehicle is determined based on the first ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
4. The method based on claim 3, characterized in that, Determining the ideal angular transmission ratio of the vehicle based on a linear two-degree-of-freedom model and the current state data further includes: Based on the linear two-degree-of-freedom model and the current state data, the lateral acceleration gain of the vehicle is determined; Determine the second ideal angular transmission ratio of the vehicle while keeping the lateral acceleration gain constant; The ideal angular transmission ratio of the vehicle is determined based on the second ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
5. The method according to claim 4, characterized in that, Determining the ideal angular transmission ratio of the vehicle based on a linear two-degree-of-freedom model and the current state data further includes: The first ideal angular transmission ratio and the second ideal angular transmission ratio are weighted and calculated to determine the third ideal angular transmission ratio of the vehicle; The ideal angular transmission ratio of the vehicle is determined based on the third ideal angular transmission ratio, the ideal angular transmission ratio corresponding to the upper critical vehicle speed, and the ideal angular transmission ratio corresponding to the lower critical vehicle speed.
6. A device for determining the steering angle of a vehicle's front wheels, characterized in that, The device includes: The acquisition module is used to acquire the current status data of the vehicle; the current status data includes at least one or more of the following: driving speed, yaw rate, lateral acceleration, and tire lateral stiffness; The first determining module is used to determine the state-space equations of the vehicle with respect to yaw rate and lateral velocity based on the linear two-degree-of-freedom model and the current state data, and to determine the ideal angular transmission ratio of the vehicle. The second determining module is used to determine the sliding mode controller of the vehicle based on the state space equation; The third determining module is used to determine the relevant parameters of the exponential convergence rate in the sliding mode controller as the particle swarm optimization algorithm; initialize the velocity, position, and individual historical best position of each particle; determine the fitness of the first iteration particle based on the fitness function, using the first iteration particle and the number of particles in the swarm as input data; update the individual historical best position and the global historical best position based on the fitness of the first iteration particle and the updated position of the first iteration particle; determine whether a preset termination condition is met; and if the termination condition is met, determine the value of the relevant parameters of the last exponential convergence rate as the optimal parameter solution of the relevant parameters. The fourth determining module is used to substitute the optimal parameter solution and the ideal angular transmission ratio into the sliding mode controller to determine the front wheel steering angle of the vehicle.
7. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method described in any one of claims 1 to 5.
Citation Information
Patent Citations
Steer-by-wire system structure and control parameter integrated optimization method
CN115392135A
