Road feeling control method and device

Optimizing PID control parameters through particle swarm algorithm, combined with torque sensor stiffness and steering resistance torque expression, solves the problem of lengthy PID parameter adjustment in the existing technology, achieving rapid optimization and better steering feel.

CN118722831APending Publication Date: 2024-10-01DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410365099.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, the determination of PID control parameters relies on the subjective feelings of the designer, resulting in a steering feel that is hard or soft, and the parameter adjustment cycle is lengthy, making it impossible to quickly achieve optimal performance.

Method used

The particle swarm algorithm is used to optimize the parameters of the PID controller. The driver's input torque expression is constructed through the angle setting strategy based on the stiffness of the torque sensor, the motor angle is calculated, and the parameters are optimized based on the road-sensing motor output torque and steering resistance torque expressions.

Benefits of technology

It realizes the rapid optimization of PID control parameters, gets rid of the dependence on technicians for debugging, greatly reduces the parameter adjustment cycle, and improves the consistency and efficiency of the steering feel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118722831A_ABST
    Figure CN118722831A_ABST
Patent Text Reader

Abstract

The invention discloses a road feeling control method and device, and the method comprises the steps: constructing a driver input torque expression through a rotation angle setting strategy based on the rigidity of a torque sensor; then obtaining driver input torque, and calculating a motor rotation angle according to the driver input torque expression; then, a road feeling motor output torque expression about the motor rotation angle and a steering resistance torque expression of a steering system are constructed; and finally, on the basis of a particle swarm algorithm, according to the road feeling motor output torque expression and the steering resistance torque expression, optimizing parameters of a PID (Proportion Integration Differentiation) controller. Therefore, the swarm intelligence algorithm is utilized to realize rapid optimization of the PID control parameters, the dependence on debugging of technicians is avoided, and the parameter adjustment period is greatly shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a road sense control method and device. Background Art

[0002] The steer-by-wire system eliminates the mechanical connection between the steering wheel and the steering actuator, and the road feel is generated by simulation. By establishing a steer-by-wire vehicle model, the target steering resistance torque is calculated using a dynamic method based on the principle of steering resistance torque generated during the steering process of a traditional steering system. The road feel motor is controlled by PID to simulate the steering resistance torque. Among them, the determination of PID control parameters is crucial. Most of the existing determination methods are obtained by designers through modification and adjustment based on multiple rounds of tests. The parameters are heavily dependent on the subjective feelings of the designers, and there is a tendency for the steering feel to be hard or soft, and the entire parameter adjustment cycle is lengthy. Summary of the invention

[0003] In view of the above problems, the present invention is proposed to provide a road sense control method and device, which utilizes a swarm intelligence algorithm to achieve rapid optimization of PID control parameters and get rid of the reliance on expert debugging.

[0004] According to a first aspect of the present invention, a road sense control method is provided, comprising:

[0005] The angle setting strategy based on the torque sensor stiffness is used to construct the driver input torque expression;

[0006] Obtaining a driver input torque, and calculating a motor rotation angle according to the driver input torque expression;

[0007] Constructing an expression for the output torque of the road-sensing motor and a steering resistance torque of the steering system with respect to the motor rotation angle;

[0008] Based on the particle swarm algorithm, the parameters of the PID controller are optimized according to the output torque expression of the road sensing motor and the steering resistance torque expression.

[0009] Optionally, the angle setting strategy of the torque sensor stiffness includes:

[0010] Set the torque sensor stiffness according to the following expression:

[0011]

[0012] Among them, r is a random number between [0,1], K s is the torque sensor stiffness, θ sw is the steering wheel angle, k2 is a constant.

[0013] Optionally, constructing the driver input torque expression includes:

[0014] The driver input torque expression is constructed according to the following expression:

[0015]

[0016] Among them, J sw is the steering wheel moment of inertia; B sw is the steering wheel damping; K s is the torque sensor stiffness; θ sw is the steering wheel angle; T f is the steering wheel friction torque; T sw is the driver input torque; θ m1 is the motor rotation angle; g1 is the road-sensing motor reduction ratio.

[0017] Optionally, constructing an expression for the output torque of the road sensing motor related to the motor rotation angle includes:

[0018] The output torque expression of the road sense motor about the motor angle is constructed by the following expression:

[0019]

[0020] Among them, T m1 is the output torque of the road sensing motor; J m1 B is the road sense motor rotation inertia; m1 is the road sense motor damping; θ m1 is the motor rotation angle; g1 is the road sense motor reduction ratio; θ sw is the steering wheel angle; Ks is the torque sensor stiffness.

[0021] Optionally, the steering resistance torque includes a return resistance torque and a friction resistance torque.

[0022] Optionally, the tire drag torque and the self-aligning resistance torque caused by wheel alignment are characterized as a linear relationship between the wheel deviation angle and the camber angle. The approximate linear expression of the self-aligning resistance torque is constructed through the following expression:

[0023]

[0024] Therefore, the return torque is:

[0025] Among them, M1 is the return resistance torque, M s is the self-aligning resistance torque caused by tire drag torque and wheel alignment, k is the lateral load proportional constant; f s is the lateral adhesion coefficient; P is the vertical load on the wheel; l1 is the maximum length of the wheel contact area, r is the wheel rolling radius; τ is the kingpin caster angle; α is the vehicle heading angle; β is the wheel turning angle; l ris the distance from the center of mass to the rotation axis; ξ is the kingpin camber angle; i is the steering system torque transmission ratio.

[0026] Optionally, construct the friction torque expression through the following expression:

[0027]

[0028] M=M1+T f ,

[0029] Among them, T f is the friction torque; τ s is the friction torque of the steering system, which is 2N·m; v is the vehicle speed.

[0030] According to a second aspect of the present invention, there is provided a road sense control device, comprising:

[0031] A first construction unit is used to construct a driver input torque expression based on a turning angle setting strategy of a torque sensor stiffness;

[0032] A calculation unit, used to obtain a driver input torque, and calculate a motor rotation angle according to the driver input torque expression;

[0033] A second construction unit is configured to construct an expression for the output torque of the road-sensing motor and a steering resistance torque of the steering system with respect to the motor rotation angle;

[0034] The optimization unit is used to optimize the parameters of the PID controller based on the particle swarm algorithm according to the output torque expression of the road sensing motor and the steering resistance torque expression.

[0035] Optionally, in the particle swarm algorithm, the population size is determined to be n, where n is the number of potential solutions; the maximum number of iterations T max ; Search space, i.e. parameter k p , K b , K d The upper and lower limits of

[0036] Let the three parameters k of the PID controller be p , K b , K d A combination of is a particle, and all particle positions are randomly initialized to obtain the set X:

[0037]

[0038] The position of the i-th particle is expressed as follows: i ={k pi K bi K di}

[0039] Initial global optimum GBest=minJ{x i}i=1, 2...n, represents the optimal solution of the i-th parameter at the current iteration number, that is, the number of parameters to be calculated; minJ is the optimization objective function;

[0040] Individual initial optimal That is, the value when the iteration number t = 0 is the individual optimal solution;

[0041] The particle position update strategy is as follows:

[0042]

[0043] in, Represents a set of PID controller parameters obtained at the t+1th iteration; i = 1, 2, 3...n; j = 1, 2, 3...n; represents the crossover coefficient of Levy flight; PD represents the full development reinforcement coefficient; DS represents the variation coefficient of Levy flight; e represents the perturbation parameter; PE represents the local search reinforcement coefficient; Levy(n) represents the standard Levy flight; ρ represents the warning threshold; r represents a random number, which takes -1 when the number of iterations is odd and takes 1 when the number of iterations is even; ε represents a random number between [-1,1]; rand is a random number between [0,1]; t is the number of iterations.

[0044] According to a third aspect of the present invention, a controller is provided. The controller includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the aforementioned road sense control method.

[0045] According to a fourth aspect of the present invention, a vehicle is provided, the vehicle comprising a vehicle body and a controller installed in the vehicle body, wherein the controller executes the aforementioned road sense control method.

[0046] The above one or more technical solutions in the embodiments of this specification have at least the following technical effects:

[0047] The embodiment of this specification provides a road sense control method and device, which constructs a driver input torque expression through an angle setting strategy based on the stiffness of the torque sensor; then obtains the driver input torque, and calculates the motor angle according to the driver input torque expression; then constructs a road sense motor output torque expression about the motor angle and a steering resistance torque expression of the steering system; finally, based on the particle swarm algorithm, optimizes the parameters of the PID controller according to the road sense motor output torque expression and the steering resistance torque expression. In this way, the swarm intelligence algorithm is used to achieve rapid optimization of PID control parameters, get rid of the dependence on technical personnel for debugging, and greatly reduce the parameter adjustment cycle.

[0048] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limiting of the present invention. Moreover, the same reference figures are used to represent the same parts throughout the accompanying drawings.

[0050] In the attached picture:

[0051] Figure 1 A flow chart of a road sense control method in an embodiment of the present invention is shown.

[0052] Figure 2 A schematic diagram showing the optimization of PID control parameters by a particle swarm algorithm in an embodiment of the present invention is shown.

[0053] Figure 3 A block diagram of a road sense control device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0055] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0057] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0058] The embodiment of the present invention provides a road sense control method, combining Figure 1 As shown in the flowchart, the road sense control method includes steps 101 to 104:

[0059] Step 101: constructing a driver input torque expression based on a turning angle setting strategy of the torque sensor stiffness;

[0060] The steer-by-wire system realizes the physical decoupling of the steering wheel and the steering gear. The steer-by-wire system mainly consists of a steering wheel assembly, a controller (ECU) and a steering actuator assembly. There is no mechanical connection between the steering wheel and the steering gear, and the steering function is realized by controlling the steering electromechanical through the wiring harness.

[0061] This embodiment first constructs a mathematical model of the steering wheel, specifically constructs an expression for the driver's input torque. The driver's input torque refers to the torque when the driver turns the steering wheel. When turning, the driver needs to apply force to the steering wheel to turn the steering wheel and control the vehicle to turn. Specifically, the driver's input torque expression is:

[0062]

[0063] Among them, J sw is the steering wheel moment of inertia; B sw is the steering wheel damping; K s is the torque sensor stiffness; θ sw is the steering wheel angle; T f is the steering wheel friction torque; T sw is the driver input torque; θ m1 is the motor rotation angle; g1 is the road-sensing motor reduction ratio.

[0064] It is not difficult to see that the driver input torque expression includes the torque sensor stiffness. It should be noted that in order to truly feedback the steering mechanism gear meshing clearance when the steering wheel angle is at zero position and the increase in stiffness caused by the steering mechanism limit during extreme steering, the torque sensor stiffness setting strategy is as follows:

[0065] Set the torque sensor stiffness according to the following expression:

[0066]

[0067] Among them, r is a random number between [0,1], K s is the torque sensor stiffness, θ sw is the steering wheel angle, k2 is a constant.

[0068] At -0.0872 ≤ θ sw When ≤0.0872, the steering wheel is in zero position, and the torque sensor stiffness is as shown in the expression. sw ≤-0.0872and 0.0872≤θ sw When ≤9.42, the gear is in full meshing, and the torque sensor stiffness is a constant k2. 2可以 It is obtained through experimental test. sw ≤-9.42and 9.42≤θ sw When the steering wheel is in the extreme steering area, the torque sensor stiffness is infinite.

[0069] Step 102: Obtain the driver input torque, and calculate the motor rotation angle according to the driver input torque expression;

[0070] In this embodiment, the driver input torque applied by the driver can be measured. Substituting the measured driver input torque into the driver input torque expression, the motor angle can be calculated. The motor angle can be used to construct the road sense motor output torque expression, and the motor angle is not easy to measure directly. The motor angle can be calculated through the driver input torque expression.

[0071] Step 103: constructing an expression for the output torque of the road-sensing motor and a steering resistance torque expression of the steering system with respect to the motor rotation angle;

[0072] In this embodiment, after the motor angle is calculated by the driver input torque expression, the road sense motor output torque can be constructed by the motor angle. The road sense motor is used to simulate the steering resistance torque and feed it back to the steering wheel so that the driver can feel the steering and control the steering wheel to turn.

[0073] During the steering process, the steering torque generated by the friction between the tire and the road can be calculated by the dynamic model, and this value is the output torque of the road sensing motor.

[0074] Optionally, an expression for the output torque of the road sensing motor related to the motor rotation angle is constructed by the following expression:

[0075]

[0076] Among them, T m1 is the output torque of the road sensing motor; Jm1 B is the road sense motor rotation inertia; m1 is the road sense motor damping; θ m1 is the motor rotation angle; g1 is the road sense motor reduction ratio; θ sw is the steering wheel angle; Ks is the torque sensor stiffness.

[0077] Optionally, in this embodiment, the steering resistance torque of the conventional steering system is mainly composed of the self-aligning resistance torque and the friction resistance torque of the steering system. However, the tire self-aligning resistance torque includes the self-aligning resistance torque caused by the tire trail and the self-aligning resistance torque caused by the tire alignment. The tire trail and the self-aligning resistance torque caused by the wheel alignment are characterized as a linear relationship between the wheel deviation angle and the camber angle. The approximate linear expression of the self-aligning resistance torque is constructed through the following expression:

[0078]

[0079] Therefore, M1 caused by the return resistance torque can be written as:

[0080]

[0081] Among them, M1 is the return resistance torque, M s is the self-aligning resistance torque caused by tire drag torque and wheel alignment, k is the lateral load proportional constant; f s is the lateral adhesion coefficient; P is the vertical load on the wheel; l1 is the maximum length of the wheel contact area, r is the wheel rolling radius; τ is the kingpin caster angle; α is the vehicle heading angle; β is the wheel turning angle; l r is the distance from the center of mass to the rotation axis; ξ is the kingpin camber angle; i is the steering system torque transmission ratio.

[0082] In this embodiment, the friction resistance torque expression can be:

[0083]

[0084] M=M1+T f ,

[0085] Among them, T f is the friction torque; τ s is the friction torque of the steering system, which is 2N·m; v is the vehicle speed.

[0086] The steering resistance torque M can be expressed as M = M1 + T f ,The steering resistance torque is the simulated target torque of the road sensing motor.

[0087] Step 104: Based on the particle swarm algorithm, the parameters of the PID controller are optimized according to the road sensing motor output torque expression and the steering resistance torque expression.

[0088] In addition, since there is a deceleration mechanism between the steering wheel and the road sense motor, a dynamic system is formed, which usually adopts PID control. However, the PID parameters are generally adjusted by designers based on multiple rounds of tests. The parameters are heavily dependent on the subjective feelings of designers, resulting in a hard or soft steering feel, and the entire parameter adjustment cycle is lengthy. In order to avoid human interference, the swarm intelligence algorithm is used to quickly optimize and obtain the optimal solution set.

[0089] In this embodiment, combined with Figure 2 As shown in the figure, the PID controller is based on the ideal torque r(t) (i.e., steering resistance torque M) and the actual feedback torque value c(t) (the output torque of the road sensor motor T m1 ), and obtain the deviation e(t)=r(t)-c(t).

[0090] The main problem with PID controllers is parameter setting. When adjusting PID parameters, most people rely on technicians’ experience and trial and error, which is not only time-consuming but also cannot guarantee the best performance. Figure 2 As shown, this embodiment uses a particle swarm optimization algorithm to optimize the PID controller. The particle swarm optimization algorithm (PSO) originates from the study of bird predation behavior. Compared with traditional optimization algorithms, it has faster calculation speed and stronger global search capability.

[0091] This embodiment uses the integral ITAE index of time multiplied by absolute error as the output performance index J, which is defined as:

[0092]

[0093] The optimization objective function is minJ, and the optimization algorithm steps are as follows:

[0094] Initialize algorithm parameters: n, m, ρ, ε.

[0095] 1. Determine the population size as n (the number of potential solutions); the maximum number of iterations T max ; Search space, i.e. parameter k p , K b , K d The upper and lower limits of .

[0096] 2. Let the three PID parameters k p , K b , K d A combination of is a particle, and the positions of all particles are randomly initialized to obtain the set X.

[0097]

[0098] The position of the i-th particle is expressed as follows: i={k pi K bi K di}

[0099] Initial global optimum GBest=minJ{x i}i=1, 2...n, represents the optimal solution of the i-th parameter at the current iteration number, that is, the number of parameters to be calculated.

[0100] Individual initial optimal That is, the value when the iteration number t=0 is the individual optimal solution.

[0101] 3. Update the position of each particle (parameter to be determined). The speed and position update strategy of the particle in the search space is as follows:

[0102]

[0103] Wherein, one x represents a PID parameter solution. This embodiment utilizes particle swarm intelligent algorithm optimization to replace the subjective debugging work of designers. Represents a set of PID parameters obtained at the t+1th iteration; i = 1, 2, 3...n; j = 1, 2, 3...n; represents the Levy flight crossover coefficient; PD represents the full development enhancement coefficient; DS represents the Levy flight variation coefficient; e represents the perturbation parameter; PE represents the local search enhancement coefficient.

[0104]

[0105]

[0106]

[0107]

[0108] Where Levy(n) is the standard Levy flight; ρ is the warning threshold, which can generally be set to 0.1; ε is a random number between [-1, 1]; Δ represents a very small number; r is a random number, which takes -1 when the number of iterations is odd and takes 1 when the number of iterations is even; rand is a random number between [0, 1]; mean(X t ) is the mean of the sum of all elements of X; UB ,j is the upper limit of the jth parameter; LB ,j is the lower limit of the jth parameter.

[0109] The optimization target is minJ. When J reaches the minimum or the number of iterations reaches the preset value, the PID parameters are determined.

[0110] In summary, the road sense control method provided in the embodiment of this specification constructs a driver input torque expression through an angle setting strategy based on the stiffness of the torque sensor; then obtains the driver input torque, and calculates the motor angle according to the driver input torque expression; then constructs a road sense motor output torque expression about the motor angle and a steering resistance torque expression of the steering system; finally, based on the particle swarm algorithm, the parameters of the PID controller are optimized according to the road sense motor output torque expression and the steering resistance torque expression. In this way, the swarm intelligence algorithm is used to realize the rapid optimization of PID control parameters, get rid of the dependence on technical personnel for debugging, and greatly reduce the parameter adjustment cycle.

[0111] Based on the same inventive concept, Figure 3 As shown, an embodiment of the present invention further provides a road sense control device, comprising:

[0112] A first construction unit is used to construct a driver input torque expression based on a turning angle setting strategy of a torque sensor stiffness;

[0113] A calculation unit, used to obtain a driver input torque, and calculate a motor rotation angle according to the driver input torque expression;

[0114] A second construction unit is configured to construct an expression for the output torque of the road-sensing motor and a steering resistance torque of the steering system with respect to the motor rotation angle;

[0115] The optimization unit is used to optimize the parameters of the PID controller based on the particle swarm algorithm according to the output torque expression of the road sensing motor and the steering resistance torque expression.

[0116] Optionally, the angle setting strategy of the torque sensor stiffness includes:

[0117] Set the torque sensor stiffness according to the following expression:

[0118]

[0119] Among them, r is a random number between [0,1], K s is the torque sensor stiffness, θ sw is the steering wheel angle, k2 is a constant.

[0120] Optionally, constructing the driver input torque expression includes:

[0121] The driver input torque expression is constructed according to the following expression:

[0122]

[0123] Among them, j swis the steering wheel moment of inertia; B sw is the steering wheel damping; K s is the torque sensor stiffness; θ sw is the steering wheel angle; T f is the steering wheel friction torque; T sw is the driver input torque; θ m1 is the motor rotation angle; g1 is the road-sensing motor reduction ratio.

[0124] Optionally, constructing an expression for the output torque of the road sensing motor related to the motor rotation angle includes:

[0125] The output torque expression of the road sense motor about the motor angle is constructed by the following expression:

[0126]

[0127] Among them, T m1 is the output torque of the road sensing motor; J m1 B is the road sense motor rotation inertia; m1 is the road sense motor damping; θ m1 is the motor rotation angle; g1 is the road sense motor reduction ratio; θ sw is the steering wheel angle.

[0128] Optionally, the steering resistance torque includes a return resistance torque and a friction resistance torque.

[0129] Optionally, the tire drag torque and the self-aligning resistance torque caused by wheel alignment are characterized as a linear relationship between the wheel deviation angle and the camber angle. The approximate linear expression of the self-aligning resistance torque is constructed through the following expression:

[0130]

[0131] Therefore, the return torque is:

[0132] Among them, M1 is the return resistance torque, M s is the self-aligning resistance torque caused by tire drag torque and wheel alignment, k is the lateral load proportional constant; f s is the lateral adhesion coefficient; P is the vertical load on the wheel; l1 is the maximum length of the wheel contact area, r is the wheel rolling radius; τ is the kingpin caster angle; α is the vehicle heading angle; β is the wheel turning angle; l r is the distance from the center of mass to the rotation axis; ξ is the kingpin camber angle; i is the steering system torque transmission ratio.

[0133] Optionally, construct the friction torque expression through the following expression:

[0134]

[0135] M=M1+T f ,

[0136] Among them, T f is the friction torque; τ s is the friction torque of the steering system, which is 2N·m; v is the vehicle speed.

[0137] Optionally, the optimization unit is also used to:

[0138] In the particle swarm algorithm, the population size is determined to be n, where n is the number of potential solutions; the maximum number of iterations T max ; Search space, i.e. parameter k p , K b , K d The upper and lower limits of

[0139] Let the three parameters k of the PID controller be p , K b , K d A combination of is a particle, and all particle positions are randomly initialized to obtain the set X:

[0140]

[0141] The position of the i-th particle is expressed as follows: i ={k pi K bi K di}

[0142] Initial global optimum GBest=minJ{x i}i=1, 2...n, represents the optimal solution of the i-th parameter at the current iteration number, that is, the number of parameters to be solved;

[0143] Individual initial optimal That is, the value when the iteration number t = 0 is the individual optimal solution;

[0144] The particle position update strategy is as follows:

[0145]

[0146] in, Represents a set of PID controller parameters obtained at the t+1th iteration; i = 1, 2, 3...n; j = 1, 2, 3...n; represents the crossover coefficient of Levy flight; PD represents the full development reinforcement coefficient; DS represents the variation coefficient of Levy flight; e represents the perturbation parameter; PE represents the local search reinforcement coefficient; Levy(n) represents the standard Levy flight; ρ represents the warning threshold; r represents a random number, which takes -1 when the number of iterations is odd and takes 1 when the number of iterations is even; ε represents a random number between [-1,1]; rand is a random number between [0,1]; t is the number of iterations.

[0147] In summary, the road sense control device provided in the embodiment of this specification constructs a driver input torque expression through an angle setting strategy based on the stiffness of the torque sensor; then obtains the driver input torque, and calculates the motor angle according to the driver input torque expression; then constructs a road sense motor output torque expression about the motor angle and a steering resistance torque expression of the steering system; finally, based on the particle swarm algorithm, the parameters of the PID controller are optimized according to the road sense motor output torque expression and the steering resistance torque expression. In this way, the swarm intelligence algorithm is used to realize the rapid optimization of PID control parameters, get rid of the dependence on technical personnel for debugging, and greatly reduce the parameter adjustment cycle.

[0148] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the road sense control device described above can refer to the corresponding process in the aforementioned road sense control method, and will not be elaborated here.

[0149] According to a third aspect of the present invention, a controller is provided, which includes a road sense control device, a memory, a processor and a communication unit. The memory stores machine-readable instructions executable by the processor. When the controller is running, the processor and the memory communicate through a bus, the processor executes the machine-readable instructions, and executes the road sense control method.

[0150] The memory, processor and communication unit are electrically connected to each other directly or indirectly to achieve signal transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The road sense control device includes at least one software function module that can be stored in the memory in the form of software or firmware. The processor is used to execute the executable module stored in the memory.

[0151] Among them, the memory can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.

[0152] In some embodiments, the processor is used to perform one or more functions described in this embodiment. In some embodiments, the processor may include one or more processing cores (eg, a single-core processor (S) or a multi-core processor (S)).

[0153] In this embodiment, the memory is used to store the program, and the processor is used to execute the program after receiving the execution instruction. The process definition method disclosed in any implementation of this embodiment can be applied to the processor, or implemented by the processor.

[0154] The communication unit is used to establish a communication connection between the controller and other devices through the network, and to send and receive data through the network.

[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the controller described above can refer to the corresponding process in the aforementioned method, and will not be elaborated here.

[0156] According to a fourth aspect of the present invention, a vehicle is provided, comprising a vehicle body and a controller installed in the vehicle body, wherein the controller is used to implement the aforementioned road sense control method.

[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the controller of the vehicle described above can refer to the corresponding process in the aforementioned method, and will not be elaborated here.

[0158] The above are only various embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A road feel control method, characterized in that: include: The angle setting strategy based on the torque sensor stiffness is used to construct the driver input torque expression; Obtaining a driver input torque, and calculating a motor rotation angle according to the driver input torque expression; Constructing an expression for the output torque of the road-sensing motor and a steering resistance torque of the steering system with respect to the motor rotation angle; Based on the particle swarm algorithm, the parameters of the PID controller are optimized according to the output torque expression of the road sensing motor and the steering resistance torque expression.

2. The method according to claim 1, characterized in that The torque sensor stiffness angle setting strategy includes: Set the torque sensor stiffness according to the following expression: Among them, r is a random number between [0,1], K s is the torque sensor stiffness, θ sw is the steering wheel angle, k2 is a constant.

3. The method according to claim 1, characterized in that The constructing of the driver input torque expression comprises: The driver input torque expression is constructed according to the following expression: Among them, J sw is the steering wheel moment of inertia; B sw is the steering wheel damping; K s is the torque sensor stiffness; θ sw is the steering wheel angle; T f is the steering wheel friction torque; T sw is the driver input torque; θ m1 is the motor rotation angle; g1 is the road-sensing motor reduction ratio.

4. The method according to claim 1, characterized in that: The constructing of the road sense motor output torque expression related to the motor rotation angle includes: The output torque expression of the road sense motor about the motor angle is constructed by the following expression: Among them, T m1 is the output torque of the road sensing motor; J m1 B is the road sense motor rotation inertia; m1 is the road sense motor damping; θ m1 is the motor rotation angle; g1 is the road sense motor reduction ratio; θ sw is the steering wheel angle; Ks is the torque sensor stiffness.

5. The method according to claim 1, characterized in that The steering resistance torque includes a return resistance torque and a friction resistance torque.

6. The method according to claim 5, characterized in that The tire drag torque and the self-aligning resistance torque caused by wheel alignment are characterized as a linear relationship between the wheel deviation angle and the camber angle. The approximate linear expression of the self-aligning resistance torque is constructed through the following expression: Therefore, the return torque is: Among them, M1 is the return resistance torque, M s is the self-aligning resistance torque caused by tire drag torque and wheel alignment, k is the lateral load proportional constant; f s is the lateral adhesion coefficient; P is the vertical load on the wheel; l1 is the maximum length of the wheel contact area, r is the wheel rolling radius; τ is the kingpin caster angle; α is the vehicle heading angle; β is the wheel turning angle; l r is the distance from the center of mass to the rotation axis; ξ is the kingpin camber angle; i is the steering system torque transmission ratio.

7. The method according to claim 5, characterized in that The friction torque expression is constructed by the following expression: M=M1+T f, Among them, T f is the friction torque; τ s is the friction torque of the steering system, which is 2N·m; v is the vehicle speed.

8. A road sense control device, characterized in that: include: A first construction unit is used to construct a driver input torque expression based on a turning angle setting strategy of a torque sensor stiffness; A calculation unit, used to obtain a driver input torque, and calculate a motor rotation angle according to the driver input torque expression; A second construction unit is configured to construct an expression for the output torque of the road-sensing motor and a steering resistance torque of the steering system with respect to the motor rotation angle; The optimization unit is used to optimize the parameters of the PID controller based on the particle swarm algorithm according to the output torque expression of the road sensing motor and the steering resistance torque expression.

9. The device according to claim 8, characterized in that In the particle swarm algorithm, the population size is determined to be n, where n is the number of potential solutions; the maximum number of iterations T max ; Search space, i.e. parameter k p , K b , K d The upper and lower limits of Let the three parameters k of the PID controller be p , K b , K d A combination of is a particle, and all particle positions are randomly initialized to obtain the set X: The position of the i-th particle is expressed as follows: i ={k pi K bi K di } Initial global optimum GBest=minJ{x i }, i = 1, 2...n, represents the optimal solution of the i-th parameter at the current iteration number, that is, the number of parameters to be calculated; minJ represents the optimization objective function; Individual initial optimal That is, the value when the iteration number t = 0 is the individual optimal solution; The particle position update strategy is as follows: in, Represents a set of PID controller parameters obtained at the t+1th iteration; i = 1, 2, 3...n; j = 1, 2, 3...n; represents the crossover coefficient of Levy flight; PD represents the full development reinforcement coefficient; DS represents the variation coefficient of Levy flight; e represents the perturbation parameter; PE represents the local search reinforcement coefficient; Levy(n) represents the standard Levy flight; ρ represents the warning threshold; r represents a random number, which takes -1 when the number of iterations is odd and takes 1 when the number of iterations is even; ε represents a random number between [-1,1]; rand is a random number between [0,1]; t is the number of iterations.

10. A vehicle, characterized in that: The vehicle includes a vehicle body and a controller installed in the vehicle body, wherein the controller executes the road sense control method described in any one of claims 1-7.