Rack position control method and device, storage medium and electronic device

By obtaining rack position information and adjusting control parameters, the problem of insufficient wheel angle control accuracy in the steering-by-wire system is solved and higher control accuracy is achieved.

CN118651297APending Publication Date: 2024-09-17YUXIN INTELLIGENT CHASSIS SYSTEM (HUBEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410850182.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The rack position control method in the prior art has the problem of poor wheel angle control accuracy.

Method used

By obtaining the rack position information, the expected rack position is determined according to the preset response relationship, and the rack position control parameters are adjusted according to the deviation between the current rack position and the expected rack position, and the target torque of the motor is calculated, and the target torque of the motor is calculated through downward steering control. The drive drives the rack to move, achieving dynamic compensation to improve control accuracy.

Benefits of technology

The accuracy of wheel angle control in the steering-by-wire system is improved, and the problem of insufficient accuracy in the rack position control method is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118651297A
    Figure CN118651297A
Patent Text Reader

Abstract

The embodiment of the invention provides a rack position control method and device, a storage medium and an electronic device.The method comprises the steps that rack position information corresponding to a steer-by-wire rack is obtained, and the rack position information comprises the current rack position of the steer-by-wire rack and the target rack position of the steer-by-wire rack; according to a preset response relationship, determining an expected rack position corresponding to the target rack position; under the condition that it is determined that the rack position control parameters of the steer-by-wire rack need to be adjusted according to the position deviation between the current rack position and the expected rack position, the current rack position control parameters of the steer-by-wire rack are adjusted, and target rack position control parameters are obtained; and the target torque of the motor is calculated based on the current rack position, the target rack position and the target rack position control parameters, and the motor is controlled by the lower steering controller to drive the steer-by-wire rack to move according to the target torque.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of autonomous driving, and more specifically, to a method and device for controlling a rack position, a storage medium, and an electronic device. Background Art

[0002] The steer-by-wire system eliminates the mechanical connection between the steering wheel and the steering actuator. The steer-by-wire system is divided into upper steering and lower steering. The upper steering and lower steering are connected by a wiring harness for data communication. The main function of the lower steering is to reflect the steering angle intention imposed by the driver on the upper steering steering wheel to the turning angle of the wheel. Therefore, the speed and accuracy of the wheel angle control of the lower steering are the main aspects affecting the performance of the steer-by-wire system.

[0003] The related technology generally converts the upper steering wheel angle into rack position information through a transmission ratio conversion relationship, and sends it to the lower steering controller for rack position control, without considering whether the rack position control effect can meet expectations.

[0004] It can be seen that the control method of the rack position in the related art has the problem of poor accuracy in wheel angle control. Summary of the invention

[0005] Embodiments of the present invention provide a rack position control method and device, a storage medium and an electronic device to at least solve the problem of poor accuracy of wheel angle control in the rack position control method in the related art.

[0006] According to one embodiment of the present invention, a method for controlling rack position is provided, which is applied to a steer-by-wire system of a vehicle, wherein the steer-by-wire system includes an upper steering wheel, a lower steering controller, a steer-by-wire rack, and a motor for controlling the position of the steer-by-wire rack, and comprises: obtaining rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is the actual rack position of the steer-by-wire rack, and the target rack position is the rack position determined according to the current angle of the upper steering wheel; and determining an expected rack position corresponding to the target rack position according to a preset response relationship. Position, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of the upper steering wheel and an expected rack position of the wire-controlled steering rack; when it is determined that the rack position control parameters of the wire-controlled steering rack need to be adjusted according to a position deviation between the current rack position and the expected rack position, the current rack position control parameters of the wire-controlled steering rack are adjusted to obtain target rack position control parameters; the target torque of the motor is calculated based on the current rack position, the target rack position and the target rack position control parameters, and the motor is controlled by the lower steering controller to drive the wire-controlled steering rack to move according to the target torque.

[0007] In an exemplary embodiment, determining the expected rack position corresponding to the target rack position according to a preset response relationship includes: inputting the target rack position into a preset transfer function to obtain the expected rack position output by the preset transfer function, wherein the preset response relationship is represented by a specified response curve, and the specified response curve is implemented by the preset transfer function, and the specified response curve is obtained by fitting a set of rack position pairs, wherein the set of rack position pairs includes a rack position determined according to the angle of the upper steering wheel and the corresponding rack position of the wire-controlled steering rack.

[0008] In an exemplary embodiment, after determining the expected rack position corresponding to the target rack position according to the preset response relationship, the method further includes: determining that the steering-by-wire rack is in a normal state when the absolute value of the position deviation between the current rack position and the expected rack position is less than a preset deviation value; determining that the steering-by-wire rack is in an overshoot state when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value and the current rack position exceeds the expected rack position, wherein the overshoot state belongs to a rack state in which the rack position control parameters of the steering-by-wire rack are to be adjusted; and determining that the steering-by-wire rack is in an undershoot state when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value and the current rack position does not reach the expected rack position.

[0009] In an exemplary embodiment, when it is determined that the rack position control parameters of the steering-by-wire rack need to be adjusted based on the position deviation between the current rack position and the expected rack position, the current rack position control parameters of the steering-by-wire rack are adjusted to obtain target rack position control parameters, including: when it is determined that the rack position control parameters of the steering-by-wire rack need to be adjusted based on the position deviation between the current rack position and the expected rack position, when the steering-by-wire rack is in an overshoot state, attenuating the current rack position control parameters to obtain the target rack position control parameters; when the steering-by-wire rack is in an undershoot state, enhancing the current rack position control parameters to obtain the target rack position control parameters.

[0010] In an exemplary embodiment, when the wire-controlled steering rack is in an overshoot state, the current rack position control parameter is attenuated to obtain the target rack position control parameter, including: when the wire-controlled steering rack is in an overshoot state for the first time, using the current speed of the vehicle to find a first corresponding relationship to obtain a first adjustment coefficient, wherein the first corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; subtracting the difference between the first adjustment coefficient and 1 to determine the second adjustment coefficient; multiplying the current rack position control parameter by the second adjustment coefficient The product is determined as the target rack position control parameter; when the wire-controlled steering rack is not in an overshoot state for the first time, the second corresponding relationship is found using the current speed of the vehicle to obtain a first correction coefficient, wherein the second corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the difference between the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack and the first correction coefficient is subtracted to obtain a third adjustment coefficient; the product of the current rack position control parameter and the third adjustment coefficient is determined as the target rack position control parameter.

[0011] In an exemplary embodiment, when the wire-controlled steering rack is in an under-adjustment state, the current rack position control parameter is enhanced to obtain the target rack position control parameter, including: when the wire-controlled steering rack is in an under-adjustment state for the first time, using the current speed of the vehicle to find a third corresponding relationship to obtain a fourth adjustment coefficient, wherein the third corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; adding 1 to the difference of the fourth adjustment coefficient to determine the fifth adjustment coefficient; multiplying the current rack position control parameter by the fifth adjustment coefficient The product is determined as the target rack position control parameter; when the wire-controlled steering rack is not in an under-adjusted state for the first time, the fourth corresponding relationship is found using the current speed of the vehicle to obtain a second correction coefficient, wherein the fourth corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack is added to the difference of the second correction coefficient to obtain a sixth adjustment coefficient; the product of the current rack position control parameter and the sixth adjustment coefficient is determined as the target rack position control parameter.

[0012] In an exemplary embodiment, after adjusting the current rack position control parameters of the wire-controlled steering rack to obtain the target rack position control parameters, the method further includes: starting a timer when the target rack position control parameters have taken effect, wherein the step of reacquiring the rack position information is not performed before the timer times out.

[0013] According to another embodiment of the present invention, there is provided a rack position control device, which is applied to a steer-by-wire system of a vehicle, wherein the steer-by-wire system includes an upper steering wheel, a lower steering controller, a steer-by-wire rack, and a motor for controlling the position of the steer-by-wire rack, including: an acquisition unit, for acquiring rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is the actual current rack position of the steer-by-wire rack, and the target rack position is the rack position determined according to the current angle of the upper steering wheel; and a first determination unit, for determining the rack position corresponding to the target rack position according to a preset response relationship. An expected rack position, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of the upper steering wheel and an expected rack position of the steering-by-wire rack; an adjustment unit for adjusting the current rack position control parameters of the steering-by-wire rack to obtain target rack position control parameters when the rack position control parameters of the steering-by-wire rack are to be adjusted according to a position deviation between the current rack position and the expected rack position; an execution unit for calculating a target torque of the motor based on the current rack position, the target rack position and the target rack position control parameters, and controlling the motor through the lower steering controller to drive the steering-by-wire rack to move according to the target torque.

[0014] In an exemplary embodiment, the first determination unit includes: an input module, which is used to input the target rack position into a preset transfer function to obtain the expected rack position output by the preset transfer function, wherein the preset response relationship is represented by a specified response curve, and the specified response curve is implemented by the preset transfer function, and the specified response curve is obtained by fitting a set of rack position pairs, and the set of rack position pairs includes a rack position determined according to the angle of the upper steering wheel and the corresponding rack position of the wire-controlled steering rack.

[0015] In an exemplary embodiment, the device further includes: a second determining unit for determining that the steering-by-wire rack is in a normal state when the absolute value of the position deviation between the current rack position and the expected rack position is less than a preset deviation value after the expected rack position corresponding to the target rack position is determined according to the preset response relationship; a third determining unit for determining that the steering-by-wire rack is in an overshoot state when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value and the current rack position exceeds the expected rack position, wherein the overshoot state belongs to a rack state for which the rack position control parameters of the steering-by-wire rack are to be adjusted; and a fourth determining unit for determining that the steering-by-wire rack is in an undershoot state when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value and the current rack position does not reach the expected rack position, wherein the undershoot state belongs to a rack state for which the rack position control parameters of the steering-by-wire rack are to be adjusted.

[0016] In an exemplary embodiment, the adjustment unit includes: a first processing module, which is used to attenuate the current rack position control parameter to obtain the target rack position control parameter when the control-by-wire rack is in an overshoot state, when determining that the rack position control parameter of the control-by-wire rack needs to be adjusted based on the position deviation between the current rack position and the expected rack position; and a second processing module, which is used to enhance the current rack position control parameter to obtain the target rack position control parameter when the control-by-wire rack is in an undershoot state.

[0017] In an exemplary embodiment, the first processing module includes: a first search submodule, which is used to use the current speed of the vehicle to search for a first corresponding relationship when the wire-controlled steering rack is in an overshoot state for the first time, and obtain a first adjustment coefficient, wherein the first corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a first determination submodule, which is used to determine the difference between 1 and the first adjustment coefficient as the second adjustment coefficient; a second determination submodule, which is used to determine the product of the current rack position control parameter and the second adjustment coefficient as the target rack position control parameter; and a second search submodule, which is used to determine the product of the current rack position control parameter and the second adjustment coefficient as the target rack position control parameter. A submodule, used to, when the wire-controlled steering rack is not in an overshoot state for the first time, use the current speed of the vehicle to find a second corresponding relationship to obtain a first correction coefficient, wherein the second corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a first execution submodule, used to subtract the difference between the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack and the first correction coefficient to obtain a third adjustment coefficient; a third determination submodule, used to determine the product of the current rack position control parameter and the third adjustment coefficient as the target rack position control parameter.

[0018] In an exemplary embodiment, the second processing module includes: a third search submodule, which is used to use the current speed of the vehicle to search for a third corresponding relationship when the wire-controlled steering rack is in an under-adjustment state for the first time, and obtain a fourth adjustment coefficient, wherein the third corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a fourth determination submodule, which is used to determine the difference between 1 and the fourth adjustment coefficient as the fifth adjustment coefficient; a fifth determination submodule, which is used to determine the product of the current rack position control parameter and the fifth adjustment coefficient as the target rack position control parameter; and a fourth search submodule, which is used to determine the product of the current rack position control parameter and the fifth adjustment coefficient as the target rack position control parameter. A submodule, used to, when the wire-controlled steering rack is not in an under-adjusted state for the first time, use the current speed of the vehicle to find a fourth corresponding relationship to obtain a second correction coefficient, wherein the fourth corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a second execution submodule, used to add the difference between the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack and the second correction coefficient to obtain a sixth adjustment coefficient; a sixth determination submodule, used to determine the product of the current rack position control parameter and the sixth adjustment coefficient as the target rack position control parameter.

[0019] In an exemplary embodiment, the device also includes: a starting unit, which is used to start a timer after adjusting the current rack position control parameters of the wire-controlled steering rack to obtain the target rack position control parameters, when the target rack position control parameters have taken effect, wherein the step of re-acquiring the rack position information is not performed before the timer times out.

[0020] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0021] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0022] According to yet another embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0023] Through the present invention, the rack position information is monitored and the rack position is dynamically compensated according to the monitoring result, that is, the rack position control parameters of the wire-controlled steering rack are dynamically adjusted to control the rack to move to the rack position determined according to the angle of the upper steering steering wheel. Therefore, the problem of poor accuracy of wheel angle control in the rack position control method in the related art can be solved, thereby achieving the effect of improving the accuracy of wheel angle control of the wire-controlled steering system. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a hardware structure diagram of a rack position control method according to an embodiment of the present invention;

[0025] Figure 2 is a flow chart of a method for controlling a rack position according to an embodiment of the present invention;

[0026] Figure 3 is a schematic diagram of a rack position monitoring and control system according to an embodiment of the present invention;

[0027] Figure 4 is a schematic diagram of a preset transfer function according to an embodiment of the present invention;

[0028] Figure 5 is a schematic diagram of monitoring the rack position control effect according to an embodiment of the present invention;

[0029] Figure 6 It is a schematic diagram of a process of dynamically adjusting rack position control parameters according to an embodiment of the present invention.

[0030] Figure 7 4 is a structural block diagram of a rack position control device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0033] The method embodiments provided in the embodiments of the present invention can be applied to a vehicle's steer-by-wire system, such as Figure 1 As shown, the steer-by-wire system includes an upper steering wheel, a lower steering controller, a steer-by-wire rack, and a motor for controlling the position of the steer-by-wire rack.

[0034] In this embodiment, a method for controlling the rack position of a steer-by-wire system for a vehicle is provided. Figure 2 is a flow chart of a method for controlling a rack position according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0035] Step S202, obtaining rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is the actual rack position of the steer-by-wire rack, and the target rack position is the rack position determined according to the current angle of the upper steering wheel;

[0036] The rack position control method of the present invention can be applied to the scenario of controlling the wheel angle in a wire-controlled steering system. The working principle of the wire-controlled steering system is that the driver performs steering operations through the steering wheel, the steering wheel angle sensor detects the steering intention and converts it into an electrical signal and sends it to the main controller. After the main controller analyzes and processes the signal, it sends a command to the steering execution motor, and the motor drives the wheel to achieve steering.

[0037] With the rise of high-level autonomous driving and driverless car technologies, the steering system is required to be independent of the driver's hand torque and completely rely on the control system to independently provide steering capabilities, and requires shorter response time and higher steering accuracy. Therefore, the Steer-By-Wire system was born.

[0038] The steer-by-wire system eliminates the mechanical connection between the steering wheel and the steering actuator. The steering system is divided into upper steering and lower steering. The upper steering and lower steering are connected by wire harnesses for data communication. The main function of the lower steering is to reflect the steering angle intention imposed by the driver on the upper steering wheel to the turning angle of the wheel. Therefore, the speed and accuracy of the wheel angle control of the lower steering are the main aspects affecting the performance of the steer-by-wire system.

[0039] The related technology generally converts the upper steering wheel angle into rack position information through a transmission ratio conversion relationship, and sends it to the lower steering controller for rack position control, without considering whether the rack position control effect can meet expectations.

[0040] In order to at least partially solve the above technical problems, in this embodiment, by real-time monitoring of the rack position control, when the monitoring threshold exceeds a reasonably set range, the monitoring result is provided to the rack control module for dynamic compensation control, and the dynamic compensation control includes dynamic attenuation compensation control when the rack position control is overshoot and dynamic enhancement compensation control when the rack position control is undershoot.

[0041] Optionally, in this embodiment, preprocessing is performed according to the target rack position sent by the upper steering controller; preprocessing is performed according to the current rack position sent by the lower steering controller; here, the target rack position is the rack position determined according to the current angle of the upper steering steering wheel, and the current rack position is the current actual rack position of the wire-controlled steering rack, and the current actual rack position can be measured by a sensor.

[0042] Target rack position preprocessing refers to filtering the target rack position. A first-order filter or a second-order filter can be used. After adjusting appropriate filtering parameters, the burrs and disturbances of the target rack position signal are filtered to make the control smoother.

[0043] The current rack position preprocessing refers to filtering the current rack position. A first-order filter or a second-order filter can be used, and after adjusting appropriate filtering parameters, the burrs and disturbances of the current rack position signal are filtered to make the control smoother.

[0044] Here, the acquired rack position information corresponding to the steer-by-wire rack may be the current rack position of the steer-by-wire rack and the target rack position of the steer-by-wire rack after preprocessing.

[0045] Step S204, determining an expected rack position corresponding to the target rack position according to a preset response relationship, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of an upper steering wheel and an actual rack position of the expected steer-by-wire rack;

[0046] Similar to the aforementioned embodiment, the rack position determined according to the angle of the upper steering wheel is the target rack position, and the preset response relationship can be used to indicate a curve of the actual rack position of the wire-controlled steering rack (i.e., the expected rack position) changing over time in the process of reaching the target rack position under the current vehicle operating state.

[0047] It is understandable that the change in the rack position in the wire-controlled steer system should not change suddenly from the current rack position to the target rack position. In this embodiment, the expected rack position is the rack position that changes dynamically with time during the process of adjusting the rack from the current rack position to the target rack position.

[0048] Step S206, when it is determined that the rack position control parameters of the steer-by-wire rack need to be adjusted based on the position deviation between the current rack position and the expected rack position, adjusting the current rack position control parameters of the steer-by-wire rack to obtain target rack position control parameters;

[0049] In this embodiment, the rack position control is monitored in real time, and the rack position control module is dynamically compensated according to the monitoring result; the system meets the requirements of various scene working conditions through the adaptive dynamic compensation coefficient adjustment function.

[0050] When it is determined that the rack position control parameters of the steer-by-wire rack need to be adjusted based on the position deviation between the current rack position and the expected rack position, the current rack position control parameters of the steer-by-wire rack are adjusted to obtain target rack position control parameters to dynamically compensate the rack position.

[0051] Rack position control parameters mainly refer to a series of parameters used to ensure the correct relationship between rack position and wheel angle in a steer-by-wire system. The role of these parameters is to ensure that the steering system can accurately control the steering angle of the wheel based on the driver's input.

[0052] Optionally, rack position control parameters include but are not limited to:

[0053] Accuracy of rack position sensor: The sensor needs to accurately measure the position change of the rack, and the accuracy directly affects the control accuracy of the wheel angle.

[0054] Sensitivity of torque sensor: The torque sensor is used to detect the torque applied by the driver to the steering wheel. A sensor with high sensitivity can capture the driver's steering intention more accurately.

[0055] Controller parameters: including the proportional (P), integral (I), and differential (D) parameters of the PID (Proportional-Integral-Derivative) controller, which determine the stability, response speed, and overshoot characteristics of the system.

[0056] Gear ratio: The gear ratio from rack to steering wheel is the proportional relationship between the change in rack position and the change in wheel angle, which affects the steering sensitivity of the vehicle.

[0057] Filter parameters of rack position: In signal processing, filter parameters are used to remove noise from sensor signals to ensure signal stability and reliability.

[0058] Step S208, calculating the target torque of the motor based on the current rack position, the target rack position and the target rack position control parameter, and controlling the motor to drive the steer-by-wire rack to move according to the target torque through the lower steering controller.

[0059] Optionally, in this embodiment, the real-time motor drive torque is calculated based on the preprocessed target rack position, the preprocessed actual rack position (ie, the current rack position), and the target rack position control parameters, and the motor drives the rack to move to the target position.

[0060] According to the target rack position after preprocessing, the current rack position and the target rack position control parameters, the motor target torque is calculated using a control algorithm, which includes but is not limited to a PID controller. When a proportional-integral-differential PID controller is used, the proportional coefficient, integral coefficient and differential coefficient can be adjusted.

[0061] Optionally, a schematic diagram of a rack position monitoring control system according to an embodiment of the present invention may be as follows: Figure 3 As shown, the following steps may be specifically included:

[0062] Step 301, input the target rack position into the upper steering target rack position preprocessing module to obtain the preprocessed target rack position;

[0063] Step 302, input the current rack position into the current rack position preprocessing module to obtain the current rack position after preprocessing;

[0064] Step 303, inputting the target rack position, the current rack position, and the vehicle speed into a rack position control effect monitoring module to obtain a rack position monitoring result, wherein the rack position monitoring result is used to indicate a position deviation between the current rack position and the expected rack position;

[0065] Step 304, input the vehicle speed and rack position monitoring results into the rack position control parameter dynamic adjustment module to obtain the rack position control parameters;

[0066] Step 305 , input the preprocessed target rack position, the preprocessed current rack position, and the rack position control parameters into a rack position control module to obtain the motor target torque.

[0067] Through the above steps, the rack position information corresponding to the wire-controlled steering rack is obtained, wherein the rack position information includes the current rack position of the wire-controlled steering rack and the target rack position of the wire-controlled steering rack, the current rack position is the current actual rack position of the wire-controlled steering rack, and the target rack position is the rack position determined according to the current angle of the upper steering wheel; according to the preset response relationship, the expected rack position corresponding to the target rack position is determined, wherein the preset response relationship is the corresponding relationship between the rack position determined according to the angle of the upper steering wheel and the expected actual rack position of the wire-controlled steering rack; at the root According to the position deviation between the current rack position and the expected rack position, when it is determined that the rack position control parameters of the wire-controlled steering rack need to be adjusted, the current rack position control parameters of the wire-controlled steering rack are adjusted to obtain target rack position control parameters; based on the current rack position, the target rack position and the target rack position control parameters, the target torque of the motor is calculated, and the motor is controlled by the lower steering controller to drive the wire-controlled steering rack to move according to the target torque, which solves the problem of poor accuracy of wheel angle control in the rack position control method in the related art and improves the accuracy of wheel angle control.

[0068] In an exemplary embodiment, determining an expected rack position corresponding to a target rack position according to a preset response relationship includes:

[0069] S11, inputting the target rack position into a preset transfer function to obtain an expected rack position output by the preset transfer function, wherein the preset response relationship is represented by a specified response curve, the specified response curve is implemented by the preset transfer function, and the specified response curve is obtained by fitting a set of rack position pairs, wherein the set of rack position pairs includes a rack position determined according to an angle of an upper steering wheel and a corresponding rack position of an actual steer-by-wire rack.

[0070] Combination Figure 4 , the current actual rack position and the target rack position (e.g. 10mm) are the two endpoint values ​​of the y-axis (rack position mm), and the preset transfer function corresponding to the two endpoint values ​​is the change curve of the expected rack position over time t (ms). That is, at time t, when the target rack position changes from 0mm to 10mm, the change of the expected rack position over time is output according to the preset transfer function.

[0071] According to the tracking performance and response performance of the actual rack position measured under different working conditions and different road sections during the development stage, a response curve is fitted and implemented through a transfer function. After preprocessing the target rack position, it is used as the input of the transfer function. The performance of the current rack control system is evaluated by comparing the relationship between the expected rack position output by the transfer function and the actual rack position measured by the sensor. The evaluation results include overshoot state (actual greater than expected), undershoot state (actual less than expected), and normal state. Transfer functions include second-order transfer function, third-order transfer function, fourth-order transfer function, etc.

[0072] Through this embodiment, the expected rack position is determined by a preset transfer function, which can improve the speed and accuracy of the wheel angle control of the wire steering system, and improve the scene adaptability and system robustness of the wire steering system.

[0073] In an exemplary embodiment, after determining the expected rack position corresponding to the target rack position according to the preset response relationship, the method further includes:

[0074] S21, when the absolute value of the position deviation between the current rack position and the expected rack position is less than a preset deviation value, determining that the steer-by-wire rack is in a normal state;

[0075] S22, when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value, and the current rack position exceeds the expected rack position, determining that the steer-by-wire rack is in an overshoot state, wherein the overshoot state is a rack state in which the rack position control parameters of the steer-by-wire rack are to be adjusted;

[0076] S23, when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to the preset deviation value, and the current rack position has not reached the expected rack position, it is determined that the wire-controlled steering rack is in an under-adjusted state, wherein the under-adjusted state is a rack state in which the rack position control parameters of the wire-controlled steering rack are to be adjusted.

[0077] Optionally, in this embodiment, the rack position control parameters are dynamically adjusted according to the evaluation results given by the rack position control effect monitoring module:

[0078] When the evaluation result is normal, the rack position control parameters are not adjusted;

[0079] When the evaluation result is an overshoot state or an undershoot state, the rack position control parameters are adjusted;

[0080] Specifically, the rack position control effect monitoring diagram can be as follows: Figure 5 As shown, the specific steps include:

[0081] Step 501, input the target rack position into the target rack position filter to obtain the filtered target rack position;

[0082] Step 502, inputting the vehicle speed into the transfer function parameter for processing to obtain the transfer function parameter;

[0083] Step 503, inputting the filtered target rack position and transfer function parameters into the transfer function simulation to obtain the expected rack position;

[0084] Step 504, input the expected rack position and the current rack position into the rack position tracking effect evaluation to obtain the rack position monitoring result.

[0085] In an exemplary embodiment, when it is determined that a rack position control parameter of a steer-by-wire rack is to be adjusted based on a position deviation between a current rack position and an expected rack position, adjusting the current rack position control parameter of the steer-by-wire rack to obtain a target rack position control parameter includes:

[0086] S31, when it is determined that the rack position control parameter of the steer-by-wire rack is to be adjusted according to the position deviation between the current rack position and the expected rack position, when the steer-by-wire rack is in an overshoot state, attenuating the current rack position control parameter to obtain a target rack position control parameter;

[0087] S32, when the steer-by-wire rack is in an under-adjustment state, enhancing the current rack position control parameters to obtain target rack position control parameters.

[0088] In this embodiment, when the evaluation result is an overshoot state, the rack position control parameter is attenuated; when the evaluation result is an undershoot state, the rack position control parameter is enhanced.

[0089] In a steer-by-wire system, if overshoot occurs, it may mean that the wheel angle exceeds the required angle when turning, which may cause the vehicle to oversteer and affect driving stability. If undershoot occurs, it may mean that the wheel angle fails to reach the required angle, causing the vehicle to understeer.

[0090] Attenuation can refer to taking steps to reduce oscillations or overshoot in a system. This can be achieved by adjusting the damping coefficient in the control system, for example, adding an appropriate differential term (D term) in a PID controller can provide faster response and reduce overshoot. In a steer-by-wire system, attenuation can help the system settle to the desired angle more quickly and reduce oscillations during the steering process. Enhancement can refer to taking steps to increase the response speed or gain of the system so that the system reaches the desired output more quickly. This may involve increasing the gain of the proportional term (P term) or the integral term (I term). In a steer-by-wire system, enhancement can increase the sensitivity of the steering and ensure that the system can respond quickly to the driver's steering commands.

[0091] In an exemplary embodiment, when the steer-by-wire rack is in an overshoot state, a current rack position control parameter is attenuated to obtain a target rack position control parameter, including:

[0092] S41, when the steer-by-wire rack is in an overshoot state for the first time, use the current speed of the vehicle to find a first corresponding relationship to obtain a first adjustment coefficient, wherein the first corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the steer-by-wire rack; subtract the difference between 1 and the first adjustment coefficient to determine the second adjustment coefficient; and multiply the current rack position control parameter by the second adjustment coefficient to determine the target rack position control parameter;

[0093] S42, when the wire-controlled steering rack is not in an overshoot state for the first time, the second corresponding relationship is searched using the current speed of the vehicle to obtain a first correction coefficient, wherein the second corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the difference between the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack and the first correction coefficient is subtracted to obtain a third adjustment coefficient; the product of the current rack position control parameter and the third adjustment coefficient is determined as the target rack position control parameter.

[0094] For example, in this embodiment, the first corresponding relationship is the corresponding relationship between the actual vehicle speed and the basic adjustment coefficient BaseCoeff (i.e., the first adjustment coefficient), and the second adjustment coefficient, i.e., the dynamic adjustment coefficient DynCoeff = (1-basic adjustment coefficient BaseCoeff). The second corresponding relationship is the corresponding relationship between the actual vehicle speed and the dynamic correction coefficient StepCoeff, and the third adjustment coefficient, i.e., the dynamic adjustment coefficient DynCoeff = (current dynamic adjustment coefficient DynCoeff-dynamic correction coefficient StepCoeff).

[0095] When the evaluation result is an overshoot state, the rack position control parameter is attenuated. The attenuation process refers to multiplying the rack position control parameter by the dynamic adjustment coefficient DynCoeff:

[0096] The calculation method of the dynamic adjustment coefficient DynCoeff is as follows:

[0097] If the rack position monitoring evaluation result becomes an overshoot state or an undershoot state for the first time, the basic adjustment coefficient BaseCoeff is obtained by looking up the one-dimensional table according to the actual vehicle speed, and the dynamic adjustment coefficient DynCoeff = (1-basic adjustment coefficient BaseCoeff);

[0098] If the rack position monitoring evaluation result is not the first time to be in an overshoot state or an undershoot state, the dynamic correction coefficient StepCoeff is obtained by looking up the one-dimensional table according to the actual vehicle speed, and the dynamic adjustment coefficient DynCoeff = (dynamic adjustment coefficient DynCoeff-dynamic correction coefficient StepCoeff).

[0099] In an exemplary embodiment, when the steer-by-wire rack is in an under-adjustment state, the current rack position control parameters are enhanced to obtain target rack position control parameters, including:

[0100] S51, when the steer-by-wire rack is in an under-adjustment state for the first time, use the current speed of the vehicle to find a third corresponding relationship to obtain a fourth adjustment coefficient, wherein the third corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the steer-by-wire rack; 1 plus the difference of the fourth adjustment coefficient is determined as a fifth adjustment coefficient; the product of the current rack position control parameter and the fifth adjustment coefficient is determined as a target rack position control parameter;

[0101] S52, when the wire-controlled steering rack is not in an under-adjusted state for the first time, the fourth corresponding relationship is searched using the current speed of the vehicle to obtain a second correction coefficient, wherein the fourth corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack is added to the difference between the second correction coefficient to obtain a sixth adjustment coefficient; the product of the current rack position control parameter and the sixth adjustment coefficient is determined as the target rack position control parameter.

[0102] Similar to the foregoing embodiment, the third corresponding relationship may be the same as the first corresponding relationship, and the fourth corresponding relationship may be the same as the second corresponding relationship.

[0103] When the evaluation result is an under-adjustment state, the rack position control parameter is enhanced. The enhancement process refers to multiplying the rack position control parameter by the dynamic adjustment coefficient DynCoeff:

[0104] The calculation method of the dynamic adjustment coefficient DynCoeff is as follows:

[0105] If the rack position monitoring evaluation result becomes an overshoot state or an undershoot state for the first time, the basic adjustment coefficient BaseCoeff (i.e., the second correction coefficient) is obtained by searching the one-dimensional table according to the actual vehicle speed, and the dynamic adjustment coefficient DynCoeff (i.e., the fifth adjustment coefficient) = (1 + basic adjustment coefficient BaseCoeff);

[0106] If the rack position monitoring evaluation result is not the first time that it is in an overshoot or undershoot state, the dynamic correction coefficient StepCoeff (i.e., the fourth adjustment coefficient) is obtained by looking up the one-dimensional table according to the actual vehicle speed, and the dynamic adjustment coefficient DynCoeff (i.e., the sixth adjustment coefficient) = (dynamic adjustment coefficient DynCoeff + dynamic correction coefficient StepCoeff).

[0107] In an exemplary embodiment, after adjusting the current rack position control parameters of the steer-by-wire rack to obtain the target rack position control parameters, the method further includes:

[0108] S61, when the target rack position control parameter has taken effect, starting a timer, wherein before the timer times out, the step of re-acquiring the rack position information is not performed.

[0109] Considering that when the current rack position control parameter adjustment is not completed, the acquired rack position information should still indicate that the rack position control parameters of the wire-controlled steering rack need to be adjusted. In order to avoid meaningless re-determination, a timer is introduced in this embodiment.

[0110] When the target rack position control parameters are in effect, starting the timer can ensure that the rack position of the steer-by-wire rack has been adjusted to the target rack position when the timer expires.

[0111] For example, in this embodiment, when the dynamic adjustment coefficient DynCoeff begins to take effect, the timer Timer is started to count down. When the countdown has not ended, the step of re-acquiring the rack position information is not executed. When the countdown is over, it is determined whether the rack position control parameters need to be adjusted, that is, whether the rack position monitoring evaluation result is an overshoot state or an undershoot state.

[0112] Through this embodiment, a timer is introduced to ensure that the current rack position control parameter adjustment is completed and the rack reaches the target rack position, thereby improving the reliability of the rack position adjustment result.

[0113] As an optional exemplary embodiment, the rack position control parameter dynamic adjustment flow chart can be as follows: Figure 6 As shown, the specific steps include:

[0114] Step 601, determine whether the countdown of the timer Timer is completed, if yes, execute step 602, otherwise end;

[0115] Step 602, determining whether the rack position monitoring evaluation result is an overshoot state or an undershoot state, if yes, executing step 603, otherwise ending;

[0116] Step 603, determining whether the rack position monitoring evaluation result is an overshoot state or an undershoot state for the first time, if yes, executing step 604, otherwise jumping to step 608;

[0117] Step 604, searching a one-dimensional table according to the actual vehicle speed to obtain a basic attenuation value BaseCoeff;

[0118] Step 605, determine if the rack position monitoring evaluation result is an overshoot state, if yes, execute step 606, otherwise jump to step 607;

[0119] Step 606, attenuation coefficient Coeff = (1-basic attenuation value BaseCoeff), jump to step 612;

[0120] Step 607, attenuation coefficient Coeff = (1 + basic attenuation value BaseCoeff), jump to step 612;

[0121] Step 608, searching a one-dimensional table according to the actual vehicle speed to obtain a dynamic correction coefficient StepCoeff;

[0122] Step 609, determine if the rack position monitoring evaluation result is an overshoot state, if yes, execute step 610, otherwise jump to step 611;

[0123] Step 610, attenuation coefficient Coeff=(attenuation coefficient Coeff-dynamic correction coefficient StepCoeff), jump to step 612;

[0124] Step 611, attenuation coefficient Coeff=(attenuation coefficient Coeff+dynamic correction coefficient StepCoeff), jump to step 612;

[0125] Step 612, performing upper and lower limit processing on the attenuation coefficient Coeff;

[0126] Step 613: the attenuation coefficient becomes effective and the timer Timer is started to count down.

[0127] Through the present invention, the system can meet the requirements of various scene working conditions through the adaptive dynamic compensation coefficient adjustment function.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0129] In this embodiment, a control device for the rack position is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0130] Figure 7 It is a structural block diagram of a rack position control device provided by an embodiment of the present invention, which is applied to a steer-by-wire system of a vehicle, wherein the steer-by-wire system includes an upper steering wheel, a lower steering controller, a steer-by-wire rack, and a motor for controlling the position of the steer-by-wire rack;

[0131] like Figure 7 As shown, the device comprises:

[0132] an acquisition unit 702, configured to acquire rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is the actual rack position of the steer-by-wire rack, and the target rack position is the rack position determined according to the current angle of the upper steering wheel;

[0133] A first determining unit 704 is used to determine an expected rack position corresponding to a target rack position according to a preset response relationship, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of an upper steering wheel and an actual rack position of the expected steer-by-wire rack;

[0134] An adjusting unit 706 is configured to adjust the current rack position control parameters of the steer-by-wire rack to obtain target rack position control parameters when it is determined that the rack position control parameters of the steer-by-wire rack need to be adjusted based on the position deviation between the current rack position and the expected rack position;

[0135] The execution unit 708 is used to calculate the target torque of the motor based on the current rack position, the target rack position and the target rack position control parameter, and control the motor through the lower steering controller to drive the wire-controlled steering rack to move according to the target torque.

[0136] It should be noted that the acquisition unit 702 in this embodiment can be used to execute the above step S202, the first determination unit 704 in this embodiment can be used to execute the above step S204, the adjustment unit 706 in this embodiment can be used to execute the above step S206, and the execution unit 708 in this embodiment can be used to execute the above step S208.

[0137] Through the embodiment of the present invention, rack position information corresponding to the wire-controlled steering rack is obtained, wherein the rack position information includes the current rack position of the wire-controlled steering rack and the target rack position of the wire-controlled steering rack, the current rack position is the current actual rack position of the wire-controlled steering rack, and the target rack position is the rack position determined according to the current angle of the upper steering steering wheel; according to a preset response relationship, an expected rack position corresponding to the target rack position is determined, wherein the preset response relationship is the correspondence between the rack position determined according to the angle of the upper steering steering wheel and the expected rack position where the wire-controlled steering rack is actually located; when it is determined that the rack position control parameters of the wire-controlled steering rack are to be adjusted according to the position deviation between the current rack position and the expected rack position, the current rack position control parameters of the wire-controlled steering rack are adjusted to obtain the target rack position control parameters; based on the current rack position, the target rack position and the target rack position control parameters, the target torque of the motor is calculated, and the motor is controlled by the lower steering controller to drive the wire-controlled steering rack to move according to the target torque. The invention solves the problem that the control method of the rack position in the related art has poor accuracy in controlling the wheel angle.

[0138] In an exemplary embodiment, the first determining unit includes:

[0139] An input module is used to input a target rack position into a preset transfer function to obtain an expected rack position output by the preset transfer function, wherein the preset response relationship is represented by a specified response curve, the specified response curve is implemented by the preset transfer function, and the specified response curve is obtained by fitting a set of rack position pairs, wherein the set of rack position pairs includes a rack position determined according to an angle of an upper steering wheel and a corresponding rack position where a wire-controlled steering rack is actually located.

[0140] In an exemplary embodiment, the above device further comprises:

[0141] a second determining unit, configured to determine that the steer-by-wire rack is in a normal state if an absolute value of a position deviation between a current rack position and the expected rack position is less than a preset deviation value after determining an expected rack position corresponding to the target rack position according to a preset response relationship;

[0142] a third determining unit, configured to determine that the steer-by-wire rack is in an overshoot state when an absolute value of a position deviation between a current rack position and an expected rack position is greater than or equal to a preset deviation value and the current rack position exceeds the expected rack position, wherein the overshoot state belongs to a rack state in which a rack position control parameter of the steer-by-wire rack is to be adjusted;

[0143] The fourth determination unit is used to determine that the wire-controlled steering rack is in an under-adjustment state when the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to a preset deviation value and the current rack position has not reached the expected rack position, wherein the under-adjustment state is a rack state in which the rack position control parameters of the wire-controlled steering rack need to be adjusted.

[0144] In an exemplary embodiment, the adjustment unit includes:

[0145] A first processing module is used for, when it is determined that the rack position control parameter of the steer-by-wire rack is to be adjusted according to the position deviation between the current rack position and the expected rack position, when the steer-by-wire rack is in an overshoot state, performing attenuation processing on the current rack position control parameter to obtain a target rack position control parameter;

[0146] The second processing module is used to enhance the current rack position control parameters when the steer-by-wire rack is in an under-adjustment state to obtain target rack position control parameters.

[0147] In an exemplary embodiment, the first processing module includes:

[0148] a first search submodule, configured to search a first corresponding relationship using a current speed of the vehicle to obtain a first adjustment coefficient when the steer-by-wire rack is in an overshoot state for the first time, wherein the first corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the steer-by-wire rack;

[0149] A first determination submodule, configured to determine a difference between 1 and the first adjustment coefficient as a second adjustment coefficient;

[0150] A second determination submodule, used to determine the product of the current rack position control parameter and the second adjustment coefficient as the target rack position control parameter;

[0151] a second search submodule, for searching a second corresponding relationship using a current speed of the vehicle to obtain a first correction coefficient when the steer-by-wire rack is not in an overshoot state for the first time, wherein the second corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the steer-by-wire rack;

[0152] A first execution submodule, configured to obtain a third adjustment coefficient by subtracting a difference between a current adjustment coefficient of a rack position control parameter of the steer-by-wire rack and a first correction coefficient;

[0153] The third determination submodule is used to determine the product of the current rack position control parameter and the third adjustment coefficient as the target rack position control parameter.

[0154] In an exemplary embodiment, the second processing module includes:

[0155] a third search submodule, configured to search a third corresponding relationship using the current speed of the vehicle to obtain a fourth adjustment coefficient when the wire-controlled steering rack is in an under-adjustment state for the first time, wherein the third corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack;

[0156] A fourth determination submodule, configured to determine a difference between 1 and the fourth adjustment coefficient as a fifth adjustment coefficient;

[0157] a fifth determination submodule, configured to determine the product of the current rack position control parameter and the fifth adjustment coefficient as the target rack position control parameter;

[0158] a fourth search submodule, configured to search a fourth corresponding relationship using the current speed of the vehicle to obtain a second correction coefficient when the steer-by-wire rack is not in the underadjustment state for the first time, wherein the fourth corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the steer-by-wire rack;

[0159] A second execution submodule, configured to add a difference between a current adjustment coefficient of a rack position control parameter of the steer-by-wire rack and a second correction coefficient to obtain a sixth adjustment coefficient;

[0160] The sixth determination submodule is used to determine the product of the current rack position control parameter and the sixth adjustment coefficient as the target rack position control parameter.

[0161] In an exemplary embodiment, the above device further comprises:

[0162] A starting unit is used to adjust the current rack position control parameters of the wire-controlled steering rack, and after obtaining the target rack position control parameters, start a timer when the target rack position control parameters have taken effect, wherein the step of re-acquiring the rack position information is not performed before the timer times out.

[0163] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0164] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0165] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0166] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0167] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0168] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0169] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0170] An embodiment of the present invention further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0171] An embodiment of the present invention also provides a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above-mentioned method embodiments.

[0172] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0173] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for controlling the position of a rack, characterized in that: A steer-by-wire system for a vehicle, the steer-by-wire system comprising an upper steering wheel, a lower steering controller, a steer-by-wire rack and a motor for controlling the position of the steer-by-wire rack, the method comprising: Acquiring rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is a current actual rack position of the steer-by-wire rack, and the target rack position is a rack position determined according to a current angle of the upper steering wheel; Determining an expected rack position corresponding to the target rack position according to a preset response relationship, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of the upper steering wheel and an expected rack position where the steer-by-wire rack is actually located; When it is determined that the rack position control parameters of the steer-by-wire rack need to be adjusted according to the position deviation between the current rack position and the expected rack position, adjusting the current rack position control parameters of the steer-by-wire rack to obtain target rack position control parameters; The target torque of the motor is calculated based on the current rack position, the target rack position and the target rack position control parameter, and the motor is controlled by the lower steering controller to drive the steer-by-wire rack to move according to the target torque.

2. The method according to claim 1, characterized in that The step of determining the expected rack position corresponding to the target rack position according to the preset response relationship includes: The target rack position is input into a preset transfer function to obtain the expected rack position output by the preset transfer function, wherein the preset response relationship is represented by a specified response curve, the specified response curve is implemented by the preset transfer function, and the specified response curve is obtained by fitting a set of rack position pairs, wherein the set of rack position pairs includes a rack position determined according to the angle of the upper steering wheel and a corresponding rack position where the wire-controlled steer rack is actually located.

3. The method according to claim 1, characterized in that After determining the expected rack position corresponding to the target rack position according to the preset response relationship, the method further includes: In the case where an absolute value of a position deviation between the current rack position and the expected rack position is less than a preset deviation value, determining that the steer-by-wire rack is in a normal state; When an absolute value of a position deviation between the current rack position and the expected rack position is greater than or equal to a preset deviation value, and the current rack position exceeds the expected rack position, determining that the steer-by-wire rack is in an overshoot state, wherein the overshoot state belongs to a rack state in which a rack position control parameter of the steer-by-wire rack is to be adjusted; When the absolute value of the position deviation between the current rack position and the expected rack position is greater than or equal to a preset deviation value, and the current rack position has not reached the expected rack position, it is determined that the wire-controlled steering rack is in an under-adjusted state, wherein the under-adjusted state belongs to a rack state in which the rack position control parameters of the wire-controlled steering rack are to be adjusted.

4. The method according to claim 1, characterized in that: The method of adjusting the current rack position control parameters of the steer-by-wire rack to obtain target rack position control parameters, when determining that the rack position control parameters of the steer-by-wire rack are to be adjusted according to the position deviation between the current rack position and the expected rack position, comprises: In a case where it is determined that the rack position control parameter of the steer-by-wire rack is to be adjusted according to the position deviation between the current rack position and the expected rack position, when the steer-by-wire rack is in an overshoot state, attenuating the current rack position control parameter to obtain the target rack position control parameter; When the steer-by-wire rack is in an under-adjusted state, the current rack position control parameters are enhanced to obtain the target rack position control parameters.

5. The method according to claim 4, characterized in that When the steer-by-wire rack is in an overshoot state, attenuating the current rack position control parameter to obtain the target rack position control parameter includes: When the wire-controlled steering rack is in an overshoot state for the first time, a first corresponding relationship is searched using the current speed of the vehicle to obtain a first adjustment coefficient, wherein the first corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a difference of 1 minus the first adjustment coefficient is determined as a second adjustment coefficient; a product of the current rack position control parameter and the second adjustment coefficient is determined as the target rack position control parameter; When the wire-controlled steering rack is not in an overshoot state for the first time, the second corresponding relationship is searched for using the current speed of the vehicle to obtain a first correction coefficient, wherein the second corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the difference between the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack and the first correction coefficient is subtracted to obtain a third adjustment coefficient; the product of the current rack position control parameter and the third adjustment coefficient is determined as the target rack position control parameter.

6. The method according to claim 4, characterized in that When the steer-by-wire rack is in an under-adjustment state, enhancing the current rack position control parameter to obtain the target rack position control parameter includes: When the wire-controlled steering rack is in an under-adjustment state for the first time, a third corresponding relationship is searched using the current speed of the vehicle to obtain a fourth adjustment coefficient, wherein the third corresponding relationship is a preset corresponding relationship between the vehicle speed and the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; a difference between 1 and the fourth adjustment coefficient is determined as a fifth adjustment coefficient; and a product of the current rack position control parameter and the fifth adjustment coefficient is determined as the target rack position control parameter; When the wire-controlled steering rack is not in an under-adjusted state for the first time, the fourth corresponding relationship is searched using the current speed of the vehicle to obtain a second correction coefficient, wherein the fourth corresponding relationship is a preset corresponding relationship between the vehicle speed and the correction coefficient corresponding to the adjustment coefficient of the rack position control parameter of the wire-controlled steering rack; the current adjustment coefficient of the rack position control parameter of the wire-controlled steering rack is added to the difference of the second correction coefficient to obtain a sixth adjustment coefficient; the product of the current rack position control parameter and the sixth adjustment coefficient is determined as the target rack position control parameter.

7. The method according to any one of claims 1 to 6, characterized in that After adjusting the current rack position control parameters of the steer-by-wire rack to obtain target rack position control parameters, the method further includes: When the target rack position control parameter has taken effect, a timer is started, wherein the step of reacquiring the rack position information is not performed before the timer times out.

8. A rack position control device, characterized in that: A steer-by-wire system for a vehicle, the steer-by-wire system comprising an upper steering wheel, a lower steering controller, a steer-by-wire rack, and a motor for controlling the position of the steer-by-wire rack, comprising: an acquisition unit, configured to acquire rack position information corresponding to the steer-by-wire rack, wherein the rack position information includes a current rack position of the steer-by-wire rack and a target rack position of the steer-by-wire rack, wherein the current rack position is a current actual rack position of the steer-by-wire rack, and the target rack position is a rack position determined according to a current angle of the upper steering wheel; a first determining unit, configured to determine an expected rack position corresponding to the target rack position according to a preset response relationship, wherein the preset response relationship is a correspondence between a rack position determined according to an angle of the upper steering wheel and an expected rack position where the steer-by-wire rack is actually located; an adjusting unit, configured to adjust the current rack position control parameter of the steer-by-wire rack to obtain a target rack position control parameter when it is determined that the rack position control parameter of the steer-by-wire rack needs to be adjusted according to the position deviation between the current rack position and the expected rack position; The execution unit is used to calculate the target torque of the motor based on the current rack position, the target rack position and the target rack position control parameter, and control the motor through the lower steering controller to drive the wire-controlled steering rack to move according to the target torque.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.