Vehicle and control method and control device thereof

By combining the coordinated control of PID and feedforward torque in the vehicle control system, the problems of steering wheel jitter and torque instability in intelligent driving scenarios are solved, and the stability and response capabilities of the vehicle under complex road conditions are improved.

CN118928527APending Publication Date: 2024-11-12HYCET EPS SYSTEM(JIANGSU) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411064493.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In intelligent driving scenarios, especially under interference conditions such as uneven road surfaces and crosswinds, the problems of steering wheel shaking and torque control are difficult to effectively respond to rapidly changing interference and load changes.

Method used

The proportion, integral and differential torque adjusted by PID are obtained based on the actual position and target position difference of the rack, and the feedforward torque is determined in combination with the rack force to form a closed-loop control system, through the synergistic effect of proportion, integral, differential and feedforward torque. , output target torque to control motor operation and ensure steering wheel stability.

Benefits of technology

It effectively solves the steering wheel shaking problem caused by road interference, improves the stability and responsiveness of vehicle control, and is suitable for complex and changeable driving conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118928527A_ABST
    Figure CN118928527A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle and a control method and device thereof, and the method comprises the steps: determining a position difference value between an actual position and a target position of a rack, obtaining a proportional torque, an integral torque and a differential torque during PID adjustment, and determining a feedforward torque of a PID controller based on a rack force corresponding to the actual position of the rack; determining an output torque of a PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque; determining a target output torque of the PID controller based on the output torque and the maximum torque limit value; and controlling motor operation based on the target output torque. According to the control method, the problem of steering wheel shaking caused by road surface interference can be solved, and the control stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the intelligent driving scenario, the host computer (referring to: intelligent driving controller) collects the vehicle's operating environment information through sensors such as high-definition cameras or lidars. After internal processing, it sends the target steering wheel angle to the EPS (Electric Power Steering System) controller, requesting EPS to control the steering wheel to reach the target angle so that the host computer can control the vehicle laterally.

[0003] The scheme currently adopted in the relevant technology is single PI (Proportional-Integral) control or dual PI control. The so-called single PI control is to output the target torque based on the PI control of the target angle of the steering wheel, that is, there are only P torque and I torque. The dual PI control is that the first PI control outputs the target angular velocity based on the target angle, and the second PI performs closed-loop control based on the target angular velocity to output the target torque, and there are also only P torque and I torque. Whether it is single PI or dual PI, different PI parameter settings are selected according to different vehicle speeds in order to achieve better control effects. For example, a larger proportional gain may be required for rapid response when driving at high speeds, while a smaller proportional gain may be required to avoid overreaction when driving at low speeds. However, the above method has limited responsiveness to rapidly changing interference or load changes, such as uneven road surfaces, crosswinds, etc., which can cause steering wheel vibrations, thereby causing problems such as unstable torque control. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a vehicle control method, which obtains the proportional torque, integral torque and differential torque during PID adjustment based on the position difference between the actual position of the rack and the target position, and determines the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack, determines the output torque of the PID controller based on the proportional torque, integral torque, differential torque and feedforward torque, determines the target output torque of the PID controller based on the output torque and the maximum torque limit, and controls the motor operation based on the target output torque, so as to solve the steering wheel shaking problem caused by road interference and improve control stability.

[0005] A second object of the present invention is to provide a vehicle.

[0006] A third object of the present invention is to provide a control device for a vehicle.

[0007] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention proposes a vehicle control method, the method comprising: obtaining the proportional torque, integral torque and differential torque during PID adjustment based on the position difference between the actual position of the rack and the target position, and determining the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack; determining the output torque of the PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque; determining the target output torque of the PID controller based on the output torque and the maximum torque limit; and controlling the operation of the motor based on the target output torque.

[0008] According to the vehicle control method of the embodiment of the present invention, the proportional torque, integral torque and differential torque during PID adjustment are obtained based on the position difference between the actual position of the rack and the target position, and the feedforward torque of the PID controller is determined based on the rack force corresponding to the actual position of the rack, the output torque of the PID controller is determined based on the proportional torque, integral torque, differential torque and feedforward torque, the target output torque of the PID controller is determined based on the output torque and the maximum torque limit, and the motor operation is controlled based on the target output torque. Therefore, the method can solve the steering wheel shaking problem caused by road interference and improve control stability.

[0009] In addition, the vehicle control method according to the above embodiment of the present invention may also have the following additional technical features:

[0010] According to an embodiment of the present invention, obtaining the proportional torque includes: determining a proportional gain coefficient based on the position difference; and determining the proportional torque based on the product of the position difference and the proportional gain coefficient.

[0011] According to one embodiment of the present invention, obtaining the integral torque includes: determining an integral gain coefficient based on the position difference; and when the difference is less than a preset difference, determining the integral torque based on the integral gain coefficient, the position difference and a sampling period.

[0012] According to one embodiment of the present invention, determining the integral torque based on the integral gain coefficient, the position difference and the sampling period includes: within the sampling start time to the sampling end time, accumulating and summing the results of the product of the position difference, the integral gain coefficient and the sampling period at each sampling moment to obtain the integral torque.

[0013] According to one embodiment of the present invention, in the process of determining the integral torque, the method further includes: when the absolute value of the target output torque is greater than the absolute value of the maximum torque limit, keeping the integral torque unchanged, wherein the maximum torque limit is determined based on the current vehicle speed.

[0014] According to an embodiment of the present invention, obtaining the differential torque includes: determining a differential gain coefficient based on the position difference; and determining the differential torque based on the differential gain coefficient, the position difference and a differential time.

[0015] According to one embodiment of the present invention, the differential torque is determined based on the differential gain coefficient, the position difference and the differential time, comprising: filtering the position difference based on the differential time to obtain a filtered position difference; and obtaining the differential torque based on the product of a ratio of a difference between the position difference and the filtered position difference and the differential time and the differential gain coefficient.

[0016] According to one embodiment of the present invention, determining the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack includes: determining the rack force based on the actual position and the current motor torque; and determining the feedforward torque based on the rack force.

[0017] According to one embodiment of the present invention, determining the output torque of the PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque includes: determining the output torque based on the sum of the proportional torque, the integral torque, the differential torque and the feedforward torque.

[0018] According to one embodiment of the present invention, determining the target output torque of the PID controller based on the output torque and the maximum torque limit includes: taking the smaller torque value between the absolute value of the output torque and the absolute value of the maximum torque limit as the target output torque, wherein the maximum torque limit is determined based on the current vehicle speed of the vehicle.

[0019] According to an embodiment of the present invention, the method further comprises: increasing / decreasing from a torque reference value to the target output torque at a preset change rate, wherein the torque reference value is zero.

[0020] According to an embodiment of the present invention, after controlling the operation of the motor based on the target output torque, the method further comprises: controlling the absolute value of the target output torque to decrease to zero within a set time.

[0021] According to one embodiment of the present invention, the method further includes: determining the difference between the set time and the product of the current moment and the sampling time; and determining the drop value of the target output torque based on the product of the ratio of the difference and the set time and the target output torque value.

[0022] To achieve the above-mentioned purpose, a vehicle is proposed in a second aspect of an embodiment of the present invention, comprising a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the above-mentioned vehicle control method is implemented.

[0023] The vehicle according to the embodiment of the present invention can solve the steering wheel shaking problem caused by road disturbance and improve control stability by executing the above-mentioned vehicle control method.

[0024] To achieve the above-mentioned purpose, an embodiment of the third aspect of the present invention proposes a vehicle control device, which includes: a first acquisition module, used to obtain the proportional torque, integral torque and differential torque during PID adjustment based on the position difference between the actual position of the rack and the target position; a second acquisition module, used to determine the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack; a first determination module, used to determine the output torque of the PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque; a second determination module, used to determine the target output torque of the PID controller based on the output torque and the maximum torque limit; a control module, used to control the motor operation based on the target output torque.

[0025] According to the vehicle control device of the embodiment of the present invention, the first acquisition module is used to obtain the proportional torque, integral torque and differential torque during PID regulation based on the position difference between the actual position of the rack and the target position, the second acquisition module is used to determine the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack, the first determination module is used to determine the output torque of the PID controller based on the proportional torque, integral torque, differential torque and feedforward torque, the second determination module is used to determine the target output torque of the PID controller based on the output torque and the maximum torque limit; the control module is used to control the motor operation based on the target output torque. Therefore, the device can solve the steering wheel shaking problem caused by road interference and improve control stability.

[0026] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention;

[0028] Figure 2 A flowchart of a vehicle control method according to a specific example of the present invention;

[0029] Figure 3 is a block diagram of a vehicle according to an embodiment of the present invention;

[0030] Figure 4 FIG. 4 is a block diagram of a control device for a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0032] The following describes a vehicle control method, a vehicle, and a vehicle control device according to embodiments of the present invention with reference to the accompanying drawings.

[0033] Figure 1 4 is a flow chart of a vehicle control method according to an embodiment of the present invention.

[0034] like Figure 1 As shown, the vehicle control method of the embodiment of the present invention may include the following steps:

[0035] S1, based on the position difference between the actual position of the rack and the target position, the proportional torque, integral torque and differential torque during PID adjustment are obtained, and the feedforward torque of the PID controller is determined based on the rack force corresponding to the actual position of the rack.

[0036] S2, determining the output torque of the PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque.

[0037] S3, determining a target output torque of the PID controller based on the output torque and the maximum torque limit.

[0038] S4, controlling the motor operation based on the target output torque.

[0039] Specifically, in the related art, only PI parameters matching the vehicle speed are used to adapt to driving conditions at different vehicle speeds. For example, according to the vehicle speed monitored in real time, a preset parameter lookup table is queried, and the table contains PI controller parameters corresponding to different vehicle speeds, so as to adapt to driving conditions at different vehicle speeds and improve the stability and responsiveness of the steering system. However, due to road disturbance (such as uneven road surface), the rack position may shift left and right, and the above method cannot completely solve the problem of rapidly changing interference, especially under complex and changeable road conditions. In addition, when the vehicle speed changes, factors such as friction between the wheel and the road surface and air resistance will change accordingly, resulting in changes in the dynamic load acting on the steering system, which will also cause problems such as unstable torque control. Therefore, in one embodiment of the present invention, by introducing the D (Derivative) term (differential control) on the basis of PI control, a PID controller is constructed as the core control strategy. The introduction of the D term can effectively solve the steering wheel shaking problem caused by road disturbance, and the PID parameters can be determined based on the difference between the target position and the actual position of the rack to improve the control stability. First, the actual position and target position of the rack can be obtained. For example, the actual position of the rack can be determined by EPS (Electric Power Steering). The EPS system usually includes components such as sensors, control units and actuators, and can automatically adjust the size of the steering assist according to the vehicle speed, steering angle and the driver's steering intention. For example, the current actual angle of the steering wheel can be determined according to the steering wheel angle sensor. After determining the actual angle of the steering wheel, the actual position of the rack can be determined according to the corresponding relationship table, that is, in the relationship table, the actual angle of the steering wheel and the actual position of the rack are in a one-to-one correspondence. After determining an actual angle of the steering wheel, the actual position of the rack can be determined according to the relationship table. The target position of the rack can be determined according to the host computer. For example, in the intelligent driving scenario, the host computer (intelligent driving controller) uses a variety of sensors to collect information about the vehicle's surrounding environment. These sensors include but are not limited to high-definition cameras, lidars, radars, ultrasonic sensors and GPS (Global Positioning System), etc. The data collected by different sensors are fused to obtain more comprehensive and accurate environmental information, which usually involves data synchronization, spatial alignment and information integration. Based on the vehicle's current position, speed, planned path and surrounding environment, the intelligent driving controller calculates the required steering wheel target angle to ensure that the vehicle travels along the planned path. After determining the steering wheel target angle, the target position of the rack can be determined based on the preset relationship.

[0040] After determining the actual position and target position of the rack, the proportional torque, integral torque and differential torque during PID regulation can be obtained according to the position difference between the actual position and the target position. For example, the proportional torque, integral torque and differential torque are determined by a preset corresponding relationship, for example, the relationship between the position difference and the proportional torque, integral torque and differential torque is predetermined, and after the position difference is determined, the proportional torque, integral torque and differential torque can be obtained by directly calling the corresponding relationship.

[0041] In addition, in order to reduce the adjustment time and quickly make the rack reach a stable state, the feedforward torque of the PID controller can be determined based on the rack force corresponding to the actual position of the rack. For example, the feedforward torque of the PID controller can be determined by a pre-set corresponding relationship. For example, the relationship between the actual position of the rack and the feedforward torque is pre-determined. After the actual position of the rack is determined, the feedforward torque of the PID controller can be obtained by directly calling the corresponding relationship. In other words, when the PID controller knows the load size of the rack in advance, the feedforward part of the PID controller can directly output the torque corresponding to the load, thereby quickly achieving the balance of the force of the controlled object. After the rack reaches force balance, the position of the rack may not reach the target position. In order to reach the target position, the PID controller continues to adjust the torque based on the position to overcome the inertia torque of the rack from the previous position to the current position. And because the inertia torque is independent of the road conditions and the value is very small, it is easier to adjust. Therefore, after determining the feedforward torque, the output torque of the PID controller can be determined according to the feedforward torque, proportional torque, integral torque and differential torque, such as by adding the feedforward torque, proportional torque, integral torque and differential torque as the output torque, thereby forming a closed-loop control system by combining feedforward torque control with feedback control, which can achieve better control effects.

[0042] After determining the output torque, in order to prevent the output torque from being too high and ensure that the output torque does not exceed the maximum load capacity of the motor, the target output torque of the PID controller can be determined based on the output torque and the maximum torque limit. For example, after comparing the output torque with the maximum torque limit, the smaller torque value is selected as the target output torque, and the motor operation is controlled by the target output torque, thereby extending the service life of the motor and achieving effective control of the output torque, solving the steering wheel jitter problem caused by road interference, improving control stability, and meeting the needs of various industrial and automotive applications.

[0043] According to one embodiment of the present invention, obtaining proportional torque includes: determining a proportional gain coefficient based on a position difference; and determining the proportional torque based on a product of the position difference and the proportional gain coefficient.

[0044] Specifically, when obtaining the proportional torque, the proportional gain coefficient can be determined first according to the position difference between the actual position of the rack and the target position, for example, through a pre-stored relational data table, in which multiple sets of position differences and proportional gain coefficients are stored, and one position difference can correspond to one proportional gain coefficient. After determining the position difference, the corresponding proportional gain coefficient can be determined according to the corresponding relationship. After determining the proportional gain coefficient, the proportional torque can be determined according to the product of the position difference and the proportional gain coefficient, such as the result of multiplying the position difference and the proportional gain coefficient can be converted into the proportional torque through a conversion function, wherein the conversion function can involve the parameters of the motor, such as the torque constant of the motor.

[0045] According to an embodiment of the present invention, obtaining the integral torque includes: determining an integral gain coefficient based on a position difference; and determining the integral torque based on the integral gain coefficient, the position difference and a sampling period when the difference is less than a preset difference. The preset difference may be determined according to actual conditions.

[0046] According to one embodiment of the present invention, the integral torque is determined based on the integral gain coefficient, the position difference and the sampling period, including: from the start time to the end time of sampling, the result obtained by multiplying the position difference, the integral gain coefficient and the sampling period at each sampling moment is accumulated and summed to obtain the integral torque.

[0047] Specifically, the integral torque can be determined as follows:

[0048]

[0049] Among them, Torq i is the integral torque, n is the index of the sampling time, t n is the start time of sampling, t m is the end time of sampling, err n is the position difference at sampling time n, is the integral gain coefficient at time n, T sample is the sampling period.

[0050] When obtaining the integral torque, the integral gain coefficient can be first determined based on the position difference between the actual position of the rack and the target position, for example, through a pre-stored relationship data table, in which multiple sets of position differences and integral gain coefficients are stored, and one position difference can correspond to one integral gain coefficient. After determining the position difference, the corresponding integral gain coefficient can be determined based on the corresponding relationship.

[0051] In one embodiment of the present invention, the integral term enabling logic is introduced as part of the anti-saturation strategy, that is, the integral term can be enabled at an appropriate time, rather than always enabling the integral term, which can effectively reduce the overshoot phenomenon. The overshoot phenomenon refers to the output exceeding the expected steady-state value after the system response reaches a steady state. In other words, if the integral gain is set too high, or the integral continues when the target output torque has been reached, the system output may exceed the target output torque, thereby causing overshoot. For example, when encountering external interference such as uneven road surface and crosswind, the steering wheel may be subjected to unexpected torque, which also causes overshoot.

[0052] Therefore, a preset difference can be set, such as 1mm (the preset difference will affect whether the control system can output stably after reaching the target output value. If the preset difference is set small, the position difference changes slightly, the integral term may be reset immediately, the current balance relationship is broken, and the control system needs to establish a balance relationship again; if the preset difference is set large, the integral term torque integration time is long, and the control system can easily reach a saturated state. Therefore, the size relationship between the difference and the preset difference can be judged. When the difference is less than the preset difference, the integral torque can be determined according to the integral gain coefficient, the position difference and the sampling period, that is, when the difference is small, the integral torque is determined, and when the difference is large, the integral torque is not calculated, thereby avoiding overshoot when calculating the torque.

[0053] When the integral torque is determined according to the integral gain coefficient, the position difference and the sampling period, the above formula (1) can be used, that is, the position difference at multiple moments and the integral gain coefficient at the corresponding moment are multiplied by the sampling period and then the final integral torque can be obtained. For example, when n=1 and m=2,

[0054] According to one embodiment of the present invention, in the process of determining the integral torque, the vehicle control method further includes: when the absolute value of the target output torque is greater than the absolute value of the maximum torque limit, keeping the integral torque unchanged, wherein the maximum torque limit is determined based on the current vehicle speed.

[0055] Specifically, in one embodiment of the present invention, when the integral item torque is enabled, that is, in the process of determining the integral torque, the integral torque can be accumulated in a positive or negative direction according to the direction of the position difference. Since the integral torque can be accumulated quickly, there is a possibility that the target output torque can quickly reach the maximum capacity of the system. Therefore, the integral suspension strategy can be used as part of the anti-saturation strategy. That is, the maximum torque limit can be determined according to the current speed of the vehicle, for example, the maximum torque limit can be determined by a preset corresponding relationship, for example, the relationship between the current speed of the vehicle and the maximum torque limit is predetermined, and after the current speed is determined, the maximum torque limit can be obtained by directly calling the corresponding relationship. After the maximum torque limit is determined, the absolute value of the target output torque can be compared with the absolute value of the maximum torque limit. When the absolute value of the target output torque is greater than the absolute value of the maximum torque limit, it means that if the accumulation and integration continue, the absolute value of the target output torque will be too large and exceed the absolute value of the maximum torque limit. Therefore, the integral torque can be kept unchanged and the integral torque is no longer accumulated.

[0056] According to one embodiment of the present invention, obtaining the differential torque includes: determining a differential gain coefficient based on a position difference; and determining the differential torque based on the differential gain coefficient, the position difference and a differential time.

[0057] According to one embodiment of the present invention, the differential torque is determined based on the differential gain coefficient, the position difference and the differential time, including: filtering the position difference based on the differential time to obtain a filtered position difference; and obtaining the differential torque based on the product of the ratio of the difference between the position difference and the filtered position difference and the differential time and the differential gain coefficient.

[0058] Specifically, the differential torque can be determined as follows:

[0059]

[0060] Among them, Torq d is the differential torque, err is the position difference, timer is the differential time, K d is the differential gain coefficient, filter(err) timer Indicates timer-based filtering of err, where filter(err) timer The algorithm is as follows:

[0061]

[0062] Among them, err0 is err n The initial value of filter(err n ) timer represents the filtering value at the nth moment, T s is the sampling time.

[0063] When obtaining the differential torque, the differential gain coefficient can be first determined according to the position difference between the actual position of the rack and the target position, for example, through a pre-stored relational data table, in which multiple sets of position differences and differential gain coefficients are stored, and one position difference can correspond to one differential gain coefficient. After determining the position difference, the corresponding differential gain coefficient can be determined according to the corresponding relationship. After determining the differential gain coefficient, the differential torque can be determined according to the differential gain coefficient, the position difference and the differential time.

[0064] For example, the differential torque Torq can be determined by the above formula (2) and formula (3): d , where the differential time timer is a calibration quantity. The sensitivity of the differential torque can be optimized by calibrating the differential time. It can be understood as follows: road disturbance will cause the rack position to shift left and right. The differential torque is calculated by detecting the acceleration change of the rack. The differential torque is used to eliminate the acceleration mutation of the rack, thereby eliminating the steering wheel shake, which can effectively solve the steering wheel shake problem caused by road disturbance. In other words, the introduction of item D can quickly detect small changes in the steering wheel angle, such as these changes may be caused by changes in the road slope. By quickly responding to these changes, the vehicle can remain stable even when the road conditions change.

[0065] According to one embodiment of the present invention, the feedforward torque of the PID controller is determined based on the rack force corresponding to the actual position of the rack, including: determining the rack force based on the actual position and the current motor torque; determining the feedforward torque based on the rack force.

[0066] Specifically, when the feedforward torque of the PID controller is determined according to the rack force corresponding to the actual position of the rack, for example, the torque output by the motor is measured by a torque sensor, and the rack force is determined according to the actual position and the current motor torque. The rack force can be calculated by the motor torque and the gear ratio, and the actual position of the rack will affect the force on the rack, and the rack force can be corrected according to the actual position. Thus, the feedforward torque can be determined according to the rack force, such as determining the feedforward torque through a pre-set corresponding relationship, for example, predetermining the relationship between the rack force and the feedforward torque, and after the rack force is determined, the feedforward torque can be obtained by directly calling the corresponding relationship.

[0067] According to an embodiment of the present invention, determining the output torque of the PID controller based on proportional torque, integral torque, differential torque and feedforward torque includes: determining the output torque based on the sum of proportional torque, integral torque, differential torque and feedforward torque.

[0068] Specifically, when determining the output torque of the PID controller based on the proportional torque, integral torque, differential torque and feedforward torque, the sum of the proportional torque, integral torque, differential torque and feedforward torque can be used as the output torque, that is, through the synergistic effect of each torque (combination of feedforward control and PID control), the motor output can be controlled more accurately and the stability can be improved. Especially in steering systems that require fast and accurate response, by adding the calculation method of the feedforward torque, there is no need to wait for the feedback control loop to detect an error before making adjustments, which helps to reduce the response delay of the motor control and reduce the adjustment time so that the steering wheel can quickly reach the desired movement or position.

[0069] According to one embodiment of the present invention, a target output torque of a PID controller is determined based on the output torque and a maximum torque limit, including: taking a smaller torque value between an absolute value of the output torque and an absolute value of the maximum torque limit as the target output torque, wherein the maximum torque limit is determined based on a current vehicle speed.

[0070] Specifically, when determining the target output torque of the PID controller based on the output torque and the maximum torque limit, the maximum torque limit can be determined first, that is, the motor usually has a physical maximum torque limit, and exceeding this limit may cause damage, failure or safety accidents to the motor. Therefore, it is necessary to ensure that the output torque does not exceed the maximum torque limit. In addition, motor damage caused by overload can be prevented, that is, long-term or frequent operation under conditions close to or exceeding the maximum torque limit may shorten the service life of the motor. Thus, the maximum torque limit can be determined based on the current speed of the vehicle, for example, the maximum torque limit can be determined through a pre-set corresponding relationship, for example, the relationship between the current speed of the vehicle and the maximum torque limit is pre-determined, and after the current speed is determined, the maximum torque limit can be obtained by directly calling the corresponding relationship.

[0071] After determining the maximum torque limit, it is judged against the output torque, and both the maximum torque limit and the output torque have positive and negative values. Therefore, the absolute value of the output torque and the absolute value of the maximum torque limit can be compared, and the smaller torque value can be selected as the target output torque. That is to say, when it is determined that the absolute value of the output torque is large, in order to ensure the safety of the motor, the maximum torque limit can be used as the target output torque. When the absolute value of the output torque is small, the absolute value of the output torque can be used as the target output torque to achieve precise control.

[0072] According to an embodiment of the present invention, the vehicle control method further includes: increasing / decreasing from the torque reference value to the target output torque according to a preset change rate, wherein the torque reference value is zero. The preset change rate may be determined according to actual conditions.

[0073] Specifically, in order to solve the problem of abrupt hand feeling caused by steering wheel turning at the moment of rack position control activation or exit, a hand feeling processing scheme is adopted in the embodiment of the present invention, and the torque after hand feeling processing is the final target output torque. That is, the target output torque starts from zero and rises or falls to the target output torque at a preset change rate. For example, if the target output torque is positive, it can rise from zero to the target output torque at a preset change rate. If the target output torque is negative, it can fall from zero to the target output torque at a preset change rate. Thus, a smooth transition to the target output torque can avoid torque mutations, provide smooth torque output, and thus improve the driver's hand feeling experience. If there is no proper hand feeling processing, the driver will feel abrupt torque changes, affecting driving comfort and driving experience.

[0074] According to an embodiment of the present invention, after controlling the motor to run based on the target output torque, the vehicle control method further includes: controlling the absolute value of the target output torque to decrease to zero within a set time, wherein the set time may be determined according to actual conditions.

[0075] According to one embodiment of the present invention, the vehicle control method further includes: determining the difference between the set time and the product of the current time and the sampling time; and determining the drop value of the target output torque based on the product of the ratio of the difference and the set time and the target output torque value.

[0076] Specifically, the reduction value of the target output torque can be determined by the following formula:

[0077]

[0078] in, is the target output torque value at time n, Torq pid_lim represents the target output torque value, Timer represents the set time, n represents the time, T s Indicates the sampling time.

[0079] After the motor is controlled to run according to the target output torque, the absolute value of the target output torque can be controlled to decrease rapidly to zero within a set time. For example, according to the above formula (4), it can be found that at time n*sampling time T s After the result reaches the set time Timer, the calculated target output torque value is zero. Therefore, by quickly and accurately reducing the target output torque to zero, the rack movement can be accurately stopped to avoid overshoot or position deviation.

[0080] Combine the following Figure 2 The control method of the present invention will be described.

[0081] As a specific example, the vehicle control method of the present invention may include the following steps:

[0082] S101, obtaining the position difference between the actual position of the rack and the target position, and proceeding to steps S102, S104, S106 and S109 respectively.

[0083] S102, determining a proportional gain coefficient based on the position difference.

[0084] S103, determining the proportional torque based on the product of the position difference and the proportional gain coefficient, and proceeding to step S111.

[0085] S104, determining the rack force based on the actual position and the current motor torque.

[0086] S105, determine the feedforward torque based on the rack force, and proceed to step S111.

[0087] S106, determining an integral gain coefficient based on the position difference.

[0088] S107, determine whether the difference is less than a preset difference. If yes, execute step S108; if not, execute step S106.

[0089] S108, determining the integral torque based on the integral gain coefficient, the position difference and the sampling period, and proceeding to step S111.

[0090] S109, determining a differential gain coefficient based on the position difference.

[0091] S110, determining the differential torque based on the differential gain coefficient, the position difference and the differential time, and proceeding to step S111.

[0092] S111 , determining the output torque based on the sum of the proportional torque, the integral torque, the differential torque and the feedforward torque.

[0093] S112, determining a maximum torque limit value based on the current vehicle speed.

[0094] S113: The smaller torque value between the absolute value of the output torque and the absolute value of the maximum torque limit is used as the target output torque.

[0095] S114, controlling the operation of the motor based on the target output torque.

[0096] In summary, according to the vehicle control method of the embodiment of the present invention, the proportional torque, integral torque and differential torque during PID adjustment are obtained based on the position difference between the actual position of the rack and the target position, and the feedforward torque of the PID controller is determined based on the rack force corresponding to the actual position of the rack, the output torque of the PID controller is determined based on the proportional torque, integral torque, differential torque and feedforward torque, the target output torque of the PID controller is determined based on the output torque and the maximum torque limit, and the motor operation is controlled based on the target output torque. Therefore, the method can solve the steering wheel shaking problem caused by road interference and improve control stability.

[0097] Corresponding to the above embodiment, the present invention also provides a vehicle.

[0098] like Figure 3 As shown, the vehicle 200 of the embodiment of the present invention may include: a memory 210, a processor 220, and a program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the program, the above-mentioned vehicle control method is implemented.

[0099] The vehicle according to the embodiment of the present invention can solve the steering wheel shaking problem caused by road disturbance and improve control stability by executing the above-mentioned vehicle control method.

[0100] Corresponding to the above embodiment, the present invention also proposes a vehicle control device.

[0101] like Figure 4 As shown, the vehicle control device 100 according to the embodiment of the present invention includes: a first acquisition module 110 , a second acquisition module 120 , a first determination module 130 , a second determination module 140 and a control module 150 .

[0102] Among them, the first acquisition module 110 is used to obtain the proportional torque, integral torque and differential torque during PID regulation based on the position difference between the actual position of the rack and the target position. The second acquisition module 120 is used to determine the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack. The first determination module 130 is used to determine the output torque of the PID controller based on the proportional torque, integral torque, differential torque and feedforward torque. The second determination module 140 is used to determine the target output torque of the PID controller based on the output torque and the maximum torque limit. The control module 150 is used to control the operation of the motor based on the target output torque

[0103] According to an embodiment of the present invention, the first acquisition module 110 acquires the proportional torque, specifically for: determining the proportional gain coefficient based on the position difference; determining the proportional torque based on the product of the position difference and the proportional gain coefficient.

[0104] According to an embodiment of the present invention, the first acquisition module 110 acquires the integral torque, specifically for: determining the integral gain coefficient based on the position difference; when the difference is less than a preset difference, determining the integral torque based on the integral gain coefficient, the position difference and the sampling period.

[0105] According to one embodiment of the present invention, the first acquisition module 110 determines the integral torque based on the integral gain coefficient, the position difference and the sampling period, including: from the start time to the end time of sampling, the result obtained by multiplying the position difference, the integral gain coefficient and the sampling period at each sampling moment is accumulated and summed to obtain the integral torque.

[0106] According to one embodiment of the present invention, in the process of determining the integral torque, the control module 150 is further used to: keep the integral torque unchanged when the absolute value of the target output torque is greater than the absolute value of the maximum torque limit, wherein the maximum torque limit is determined based on the current vehicle speed.

[0107] According to an embodiment of the present invention, the first acquisition module 110 acquires the differential torque, specifically for: determining a differential gain coefficient based on the position difference; determining the differential torque based on the differential gain coefficient, the position difference and the differential time.

[0108] According to one embodiment of the present invention, the first acquisition module 110 determines the differential torque based on the differential gain coefficient, the position difference and the differential time, and is specifically used to: filter the position difference based on the differential time to obtain a filtered position difference; obtain the differential torque based on the ratio of the difference between the position difference and the filtered position difference to the differential time and the product of the ratio and the differential gain coefficient.

[0109] According to one embodiment of the present invention, the second acquisition module 120 determines the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack, specifically for: determining the rack force based on the actual position and the current motor torque; determining the feedforward torque based on the rack force.

[0110] According to one embodiment of the present invention, the first determination module 130 determines the output torque of the PID controller based on proportional torque, integral torque, differential torque and feedforward torque, and is specifically used to determine the output torque based on the sum of proportional torque, integral torque, differential torque and feedforward torque.

[0111] According to one embodiment of the present invention, the second determination module 140 determines the target output torque of the PID controller based on the output torque and the maximum torque limit, and is specifically used to: use the smaller torque value between the absolute value of the output torque and the absolute value of the maximum torque limit as the target output torque, wherein the maximum torque limit is determined based on the current vehicle speed.

[0112] According to an embodiment of the present invention, the control module 150 is further configured to: increase / decrease the torque reference value to the target output torque according to a preset change rate, wherein the torque reference value is zero.

[0113] According to an embodiment of the present invention, the control module 150 is further configured to control the absolute value of the target output torque to decrease to zero within a set time after controlling the motor to operate based on the target output torque.

[0114] According to one embodiment of the present invention, the second determination module 140 is further used to: determine the difference between the set time and the product of the current time and the sampling time; and determine the drop value of the target output torque based on the product of the ratio of the difference and the set time and the target output torque value.

[0115] It should be noted that for details not disclosed in the vehicle control device of the embodiment of the present invention, please refer to the details disclosed in the vehicle control method of the embodiment of the present invention, and the details will not be repeated here.

[0116] According to the vehicle control device of the embodiment of the present invention, the first acquisition module is used to obtain the proportional torque, integral torque and differential torque during PID regulation based on the position difference between the actual position of the rack and the target position, the second acquisition module is used to determine the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack, the first determination module is used to determine the output torque of the PID controller based on the proportional torque, integral torque, differential torque and feedforward torque, the second determination module is used to determine the target output torque of the PID controller based on the output torque and the maximum torque limit; the control module is used to control the motor operation based on the target output torque. Therefore, the device can solve the steering wheel shaking problem caused by road interference and improve control stability.

[0117] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0118] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0119] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0120] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0121] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like 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 an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0122] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A vehicle control method, characterized in that: The method comprises: The proportional torque, the integral torque and the differential torque during PID regulation are obtained based on the position difference between the actual position of the rack and the target position, and the feedforward torque of the PID controller is determined based on the rack force corresponding to the actual position of the rack; determining an output torque of a PID controller based on the proportional torque, the integral torque, the differential torque, and the feedforward torque; determining a target output torque of a PID controller based on the output torque and a maximum torque limit; The operation of the motor is controlled based on the target output torque.

2. The vehicle control method according to claim 1, characterized in that: Get proportional torque, including: determining a proportional gain coefficient based on the position difference; The proportional torque is determined based on a product of the position difference and the proportional gain coefficient.

3. The vehicle control method according to claim 1, characterized in that: Get integral torque, including: determining an integral gain coefficient based on the position difference; When the difference is less than a preset difference, the integral torque is determined based on the integral gain coefficient, the position difference and a sampling period.

4. The vehicle control method according to claim 3, characterized in that: The step of determining the integral torque based on the integral gain coefficient, the position difference and a sampling period comprises: During the period from the start time of sampling to the end time of sampling, the product of the position difference, the integral gain coefficient and the sampling period at each sampling moment is accumulated and summed to obtain the integral torque.

5. The vehicle control method according to claim 3 or 4, characterized in that: In the process of determining the integrated torque, the method further includes: When the absolute value of the target output torque is greater than the absolute value of the maximum torque limit, the integrated torque is kept unchanged, wherein the maximum torque limit is determined based on the current vehicle speed.

6. The vehicle control method according to claim 1, characterized in that: Get the differential torque, including: determining a differential gain coefficient based on the position difference; The derivative torque is determined based on the derivative gain coefficient, the position difference, and a derivative time.

7. The vehicle control method according to claim 6, characterized in that: The step of determining the differential torque based on the differential gain coefficient, the position difference and the differential time comprises: Filtering the position difference based on the differential time to obtain a filtered position difference; The differential torque is obtained based on the product of the ratio of the difference between the position difference and the filtered position difference to the differential time and the differential gain coefficient.

8. The vehicle control method according to claim 1, characterized in that: Determining the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack includes: determining a rack force based on the actual position and the current motor torque; The feed-forward torque is determined based on the rack force.

9. The vehicle control method according to claim 1, characterized in that: The determining the output torque of the PID controller based on the proportional torque, the integral torque, the differential torque and the feedforward torque comprises: The output torque is determined based on a sum of the proportional torque, the integral torque, the derivative torque, and the feed-forward torque.

10. The vehicle control method according to claim 1, characterized in that: The determining the target output torque of the PID controller based on the output torque and the maximum torque limit value comprises: A smaller torque value between an absolute value of the output torque and an absolute value of the maximum torque limit is used as the target output torque, wherein the maximum torque limit is determined based on a current vehicle speed of the vehicle.

11. The vehicle control method according to claim 1, characterized in that: The method further comprises: The torque reference value increases / decreases to the target output torque according to a preset change rate, wherein the torque reference value is zero.

12. The vehicle control method according to claim 1, characterized in that: After controlling the operation of the motor based on the target output torque, the method further includes: Within a set time, the absolute value of the target output torque is controlled to decrease to zero.

13. The vehicle control method according to claim 12, characterized in that: The method further comprises: Determine the difference between the set time and the product of the current time and the sampling time; The reduction value of the target output torque is determined according to a product of a ratio of the difference and the set time and the target output torque value.

14. A vehicle, characterized in that: include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, a vehicle control method according to any one of claims 1 to 13 is implemented.

15. A vehicle control device, characterized in that: The device comprises: A first acquisition module is used to acquire proportional torque, integral torque and differential torque during PID regulation based on a position difference between an actual position of the rack and a target position; A second acquisition module is used to determine the feedforward torque of the PID controller based on the rack force corresponding to the actual position of the rack; A first determination module, configured to determine an output torque of a PID controller based on the proportional torque, the integral torque, the differential torque, and the feedforward torque; a second determination module, configured to determine a target output torque of the PID controller based on the output torque and a maximum torque limit; A control module is used to control the operation of the motor based on the target output torque.

Citation Information

Cited By

  • Vehicle control method and device, vehicle and storage medium

    CN119283959A