Steering wheel torque determination method and device, computer equipment and readable storage medium
By obtaining the body pitch angle and the real-time angle rate of the steering wheel, the expected steering angle rate and basic torque are determined, the torque compensation value is predicted, and the target torque is dynamically adjusted, which solves the problem of difficulty in accurately determining the steering wheel torque and achieves the prediction of the expected EPS steering angle. Precise control improves the steering performance and robustness of the vehicle.
Patent Information
- Application Number
- CN202410960516.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-17
AI Technical Summary
In assisted driving vehicles, system parameters such as the steering wheel's moment of inertia, damping and stiffness are difficult to accurately estimate or measure, making it difficult to accurately determine the actual required torque of the steering wheel and affecting the precise control of the EPS desired turning angle.
By obtaining the body pitch angle, the real-time turning angle and turning rate of the steering wheel, the expected turning angle rate and basic torque of the steering wheel are determined, and based on the torque feedforward compensation mechanism, the torque compensation value is predicted, and the target torque of the steering wheel is dynamically adjusted to reduce vehicle dynamics. Steering errors caused by characteristic changes and external environmental interference achieve precise control of the desired turning angle.
This method effectively reduces the steering error, improves the control accuracy of the EPS desired turning angle, reduces the complexity of the control system, improves the control adaptability and robustness, and eliminates the need to repeatedly calibrate control parameters in different driving environments.
Smart Images

Figure CN118833288A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for determining steering wheel torque. Background Art
[0002] In the system of assisted driving vehicles, the driving controller plays a vital role. It achieves precise control of EPS (Electric Power Steering) by sending precise steering angle or torque steering control instructions. EPS, as the core component of the vehicle steering system, outputs torque signals to the electronic control unit in real time through the built-in torque sensor. The electronic control unit issues precise control instructions to the steering motor controller based on multi-dimensional information such as the received torque signal, the angle signal of the steering sensor, and the vehicle speed signal, thereby ensuring the accuracy and stability of the vehicle steering.
[0003] The design characteristics of the EPS controller result in significant differences in the gain effect of torque control at different vehicle speeds. Since system parameters such as the moment of inertia, damping and stiffness of the steering wheel are often difficult to accurately estimate or measure in actual applications, it is difficult to accurately determine the actual required torque of the steering wheel, which in turn affects the precise control of the desired steering angle of the EPS. Summary of the invention
[0004] Based on this, it is necessary to provide a more accurate steering wheel torque determination method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems.
[0005] In a first aspect, the present application provides a method for determining a steering wheel torque, comprising:
[0006] Obtain the vehicle body pitch angle, as well as the real-time steering angle, real-time steering angle rate and expected steering angle;
[0007] determining a desired steering angle rate and a basic torque of the steering wheel according to the real-time steering angle, the real-time steering angle rate and the desired steering angle;
[0008] predicting a torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate;
[0009] A target torque of the steering wheel is determined based on the torque compensation value and the basic torque, and the target torque is used to adjust the steering wheel to the desired turning angle.
[0010] In one embodiment, predicting the torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate includes:
[0011] Determine the target nonlinear regression model to be called, the nonlinear regression model is trained based on the vehicle body pitch angle, steering wheel angle and steering angle rate in different vehicle speed ranges at historical moments;
[0012] The vehicle body pitch angle, the expected turning angle and the expected turning angle rate are used as inputs, and the target nonlinear regression model is called to predict the torque compensation value of the steering wheel.
[0013] In one embodiment, determining the target nonlinear regression model to be called includes:
[0014] When the number of trained nonlinear regression models is one, determining the trained nonlinear regression model as the target nonlinear regression model to be called;
[0015] When there are multiple trained nonlinear regression models, the real-time speed of the vehicle is obtained, and based on the real-time speed, a target nonlinear regression model to be called is screened out from the multiple trained nonlinear regression models, and the nonlinear regression models correspond to the speed ranges one by one.
[0016] In one embodiment, the step of selecting a target nonlinear regression model to be called from a plurality of trained nonlinear regression models based on the real-time vehicle speed includes:
[0017] Compare the real-time vehicle speed with a plurality of preset vehicle speed intervals to determine a target vehicle speed interval in which the real-time vehicle speed is located;
[0018] A nonlinear regression model matching the target vehicle speed range is found from a plurality of trained nonlinear regression models, and the found nonlinear regression model is determined as the target nonlinear regression model to be called.
[0019] In one embodiment, determining the expected angular rate and basic torque of the steering wheel according to the real-time angular rate, the real-time angular rate and the expected angular rate comprises:
[0020] Determining a rotation angle deviation according to the real-time rotation angle and the expected rotation angle;
[0021] determining a desired steering angle rate of the steering wheel based on the steering angle deviation;
[0022] Determining a rotation angle rate deviation according to the expected rotation angle rate and the real-time rotation angle rate;
[0023] Based on the steering angle rate deviation, a base torque of the steering wheel is determined.
[0024] In one embodiment, determining the expected angular rate and basic torque of the steering wheel according to the real-time angular rate, the real-time angular rate and the expected angular rate comprises:
[0025] According to the real-time steering angle, the real-time steering angle rate and the expected steering angle, the expected steering angle rate and the basic torque of the steering wheel are determined through a preset PID (Proportional-Integral-Derivative) controller.
[0026] In one embodiment, the preset PID controller includes a position loop PID controller and a speed loop PID controller; and determining the expected angular rate and basic torque of the steering wheel according to the real-time angular angle, the real-time angular rate and the expected angular angle includes:
[0027] Taking the real-time rotation angle and the expected rotation angle as inputs of the position loop PID controller, obtaining an expected rotation angle rate of the steering wheel;
[0028] The desired angular rate and the real-time angular rate are used as inputs of the speed loop PID controller to obtain the basic torque of the steering wheel.
[0029] In one embodiment, obtaining the expected steering wheel angle includes:
[0030] Get the initial desired steering angle of the steering wheel;
[0031] Initialize the parameters of the fastest differential tracker;
[0032] The initial expected steering angle is used as the input of the initialized fastest differential tracker. The initialized fastest differential tracker updates the internal state variables through a preset fastest control function, the real-time steering angle and the real-time steering angle rate to obtain the optimized expected steering wheel angle.
[0033] In a second aspect, the present application further provides a steering wheel torque determination device, comprising:
[0034] A data acquisition module is used to acquire the vehicle body pitch angle, as well as the real-time steering angle, real-time steering angle rate and expected steering angle;
[0035] a basic torque determination module, configured to determine an expected angular rate and a basic torque of the steering wheel according to the real-time angular rate, the real-time angular rate and the expected angular rate;
[0036] A compensation torque prediction module, used for predicting a torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate;
[0037] The target torque determination module is configured to determine a target torque of the steering wheel based on the torque compensation value and the basic torque, wherein the target torque is used to adjust the steering wheel to the desired turning angle.
[0038] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in any one of the above-mentioned steering wheel torque determination method embodiments are implemented.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in any one of the above-mentioned steering wheel torque determination method embodiments are implemented.
[0040] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps in any one of the above-mentioned steering wheel torque determination method embodiments.
[0041] The above-mentioned steering wheel torque control method, device, computer equipment, computer-readable storage medium and computer program product fully consider the factors affecting steering performance such as vehicle body posture, angular rate and angle, and introduce a torque feedforward compensation mechanism suitable for different scenarios. On the one hand, the expected angular rate and basic torque of the steering wheel are determined by the real-time angle, real-time angular rate and expected angle of the vehicle. On the other hand, based on the torque feedforward compensation mechanism, the torque compensation value of the steering wheel is predicted according to the expected angular rate, vehicle body pitch angle and expected angle, and then torque compensation is performed based on the torque compensation value and the basic torque, that is, the target torque of the steering wheel is dynamically adjusted, which effectively reduces the steering error caused by factors such as changes in vehicle dynamic characteristics and external environmental interference, and realizes accurate control of the expected angle. In addition, the whole process does not need to repeatedly calibrate the control parameters under different driving environments, which reduces the complexity of the control system, improves the control adaptability and robustness, makes the predicted torque compensation value of the steering wheel more accurate, and further improves the control accuracy of the expected angle. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 is a schematic flow chart of a method for determining steering wheel torque in one embodiment;
[0044] Figure 2 is a schematic flow chart of a method for determining steering wheel torque in another embodiment;
[0045] Figure 3 is a schematic flow chart of a method for determining steering wheel torque in yet another embodiment;
[0046] Figure 4 A schematic diagram of a flow chart of a method for determining steering wheel torque in yet another embodiment;
[0047] Figure 5 A schematic diagram of a flow chart of steps for determining an expected steering wheel angular rate and a basic torque in one embodiment;
[0048] Figure 6 is a detailed flowchart of a method for determining steering wheel torque in another embodiment;
[0049] Figure 7 A schematic flow chart of a step of determining an expected steering wheel angular rate and a basic torque in yet another embodiment;
[0050] Figure 8 is a detailed flowchart of a method for determining steering wheel torque in another embodiment;
[0051] Fig. 9 is a structural block diagram of a device for determining steering wheel torque in one embodiment;
[0052] Fig.10 is a structural block diagram of a device for determining steering wheel torque in another embodiment;
[0053] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] In the application scenarios of assisted driving, EPS torque control mode is relatively common, especially in complex and changeable driving environments, where its control effect is directly related to the driving safety of the vehicle. The design characteristics of the EPS controller make its gain effect on torque control at different vehicle speeds significantly different. However, traditional EPS torque control methods, such as directly outputting EPS control torque based on information such as vehicle centering error, heading error, and reference line curvature, are simple and direct, but often fail to fully reflect the complex relationship of vehicle motion.
[0056] In order to make up for this deficiency, some people have proposed a control strategy that converts vehicle motion information into the front wheel motion angle, and then achieves accurate tracking of the front wheel angle through EPS torque control. However, most solutions use a simple single-loop PID control algorithm, and require tedious parameter calibration for different vehicle speed environments, which not only increases the complexity of the control system, but also reduces its adaptability and robustness. In addition, since system parameters such as the moment of inertia, damping and stiffness of the steering wheel are often difficult to accurately estimate or measure in actual applications, it is difficult to accurately determine the actual required torque of the steering wheel, which in turn affects the precise control of the desired EPS angle.
[0057] In order to solve the above problems, the present application provides a steering wheel torque determination method. Specifically, the factors affecting the steering performance such as the vehicle body posture, angular rate and angle are fully considered, and a torque feedforward compensation mechanism suitable for different scenarios is designed based on the vehicle body pitch angle, expected angular rate and expected angle. In practical applications, the vehicle body pitch angle, the real-time steering angle, the real-time angular rate and the expected steering angle of the steering wheel are obtained. On the one hand, the expected angular rate and the basic torque of the steering wheel are determined by the real-time steering angle, the real-time angular rate and the expected steering angle of the vehicle. On the other hand, based on the torque feedforward compensation mechanism, the torque compensation value of the steering wheel is predicted according to the expected angular rate, the vehicle body pitch angle and the expected steering angle, and then the torque compensation is performed based on the torque compensation value and the basic torque, that is, the target torque of the steering wheel is dynamically adjusted, which effectively reduces the steering error caused by factors such as changes in vehicle dynamic characteristics and external environmental interference, and realizes precise control of the expected steering angle of EPS. Moreover, the entire process does not require repeated calibration of control parameters under different driving environments, which reduces the complexity of the control system, improves control adaptability and robustness, makes the prediction of the steering wheel torque compensation value more accurate, and further improves the control accuracy of the EPS desired steering angle.
[0058] In one embodiment, Figure 1 As shown, a method for determining steering wheel torque is provided. This embodiment is illustrated by applying the method to a controller in a vehicle. It is understandable that the method can also be applied to a server, and can also be applied to a system including a vehicle and a server, and is implemented through the interaction between the vehicle and the server. In this embodiment, the method includes the following steps (hereinafter referred to as S) S200 to S800. Among them:
[0059] S200, obtaining the vehicle body pitch angle, and the real-time steering angle, real-time steering angle rate, and expected steering angle of the steering wheel.
[0060] The vehicle body pitch angle refers to the angle between the longitudinal axis of the vehicle and the horizontal plane. The real-time steering wheel angle refers to the angular offset of the steering wheel relative to its initial position at the current moment. The real-time angular rate refers to the angle of rotation of the steering wheel per unit time. The expected angle is the target steering wheel angle that the vehicle control system or the driver hopes to achieve. In the autonomous driving system, the expected angle is usually calculated by the lateral control module based on the planned path and surrounding environment information.
[0061] In practical applications, the acquisition and processing of the vehicle body pitch angle, real-time steering wheel angle, real-time angular rate, and expected angle data usually involve the collaborative work of multiple sensors and controllers. For example, the vehicle may be equipped with multiple sensors, including a steering angle sensor, an angular velocity sensor, an accelerometer, and a gyroscope. Among them, the steering angle sensor may be installed inside the steering column or the steering gear to detect the rotation angle of the steering wheel and provide the rotation angle of the steering wheel relative to the initial position. There may be multiple angular velocity sensors, which are installed at different positions of the vehicle, so as to accurately measure the angular velocity of the vehicle rotating around the vertical axis. The accelerometer and gyroscope may be installed at key positions of the chassis or body of the vehicle to measure the tilt angle of the vehicle, including the pitch angle (front and rear tilt) and the roll angle. In other embodiments, the pitch angle may also be obtained through an inertial measurement unit. The inertial measurement unit usually includes an accelerometer and a gyroscope, which can provide three-axis acceleration and angular velocity information, and the vehicle body pitch angle can be calculated through a fusion algorithm. The expected turning angle can be calculated by the lateral control module based on map data, road conditions, vehicle status and planned target path. It is understandable that in other embodiments, the expected turning angle can also be a manually preset value. In actual applications, all the data collected or measured by the above sensors will be transmitted to the electronic control unit (i.e., controller) in the EPS system, and the controller determines the size and direction of the electric power assistance based on the data collected by the sensors and other vehicle conditions (such as vehicle speed, road conditions, etc.), including determining the expected steering angle rate, basic torque and target torque of the steering wheel.
[0062] In other embodiments, the vehicle posture information may be provided by a global positioning system and an inertial navigation system, and the vehicle posture information includes a pitch angle.
[0063] S400: Determine an expected steering angle rate and a basic torque of the steering wheel according to the real-time steering angle, the real-time steering angle rate, and the expected steering angle.
[0064] The expected steering angle rate refers to the speed at which the steering wheel steering angle is expected to change. The basic torque, also known as the basic assist torque, refers to the torque that needs to be applied to the steering wheel in order to achieve the desired steering action without considering the compensating damping torque. The basic torque reflects the basic assist torque required based solely on the driver's steering input without the need for additional compensation. It is understandable that in an assisted driving scenario, the basic torque can be a value calculated by the EPS system controller based on parameters such as the real-time steering angle, real-time steering angle rate, and expected steering angle.
[0065] In practical applications, there are multiple feasible ways to determine the desired steering wheel angular rate and basic torque. For example, after obtaining the real-time steering angle, the real-time steering angle rate and the desired steering angle, the controller can first determine the desired steering wheel angular rate based on a feedback control strategy, and then determine the basic torque of the steering wheel based on the desired steering angle rate.
[0066] In other embodiments, the real-time steering angle, real-time steering angle rate and expected steering angle may be used as inputs to call an adaptive controller or a fuzzy logic controller to determine the expected steering angle rate and basic torque of the steering wheel. It is understandable that for the adaptive controller, if the vehicle operating conditions (such as tire grip, road conditions) change, the adaptive controller can adjust the control parameters in real time to maintain the best performance. If it is determined by a fuzzy logic controller, the expected steering angle rate and basic torque can be output by using the fuzzy logic principle and the membership of the input variables (such as steering angle, steering angle rate) through fuzzy rule reasoning.
[0067] S600: predict a steering wheel torque compensation value according to the vehicle body pitch angle, the expected turning angle, and the expected turning angle rate.
[0068] The torque compensation value of the steering wheel refers to the compensation value for the torque applied by the driver to the steering wheel in order to improve the steering feel, steering accuracy and responsiveness. The torque compensation value can be used to solve the "dead zone" problem inherent in the EPS system, and to dynamically provide better steering assistance according to the driving state of the vehicle under specific driving conditions (such as high-speed driving, changes in road conditions, changes in body posture, etc.). Among them, the dead zone in the EPS system refers to the system's inability to immediately respond to the driver's steering intention due to sensor resolution or control strategy when the steering wheel is turned slightly. In the case of a "dead zone", even if the driver has turned the steering wheel, the steering angle of the vehicle does not change immediately. At this time, the EPS system can automatically add a small torque compensation, so that the vehicle can quickly respond to steering commands and eliminate the dead zone phenomenon.
[0069] In practical applications, there are many ways to predict the torque compensation value of the steering wheel. For example, a vehicle dynamics model can be pre-built. In practical applications, the vehicle pitch angle, expected turning angle and expected turning angle rate are used as inputs of the vehicle dynamics model. The model is used to predict the vehicle response in the future, and the optimal torque compensation value is determined based on the predicted vehicle response results. In other embodiments, a neural network model for predicting the torque compensation value can be trained through a large amount of training data (historical driving data) to learn the mapping relationship between the vehicle pitch angle, expected turning angle and expected turning angle rate and the required torque compensation value, and then a trained torque compensation value prediction model is obtained. Subsequently, the vehicle pitch angle, expected turning angle and expected turning angle rate are input into the trained torque compensation value prediction model to obtain the torque compensation value.
[0070] S800: Determine a target torque of the steering wheel based on the torque compensation value and the basic torque, where the target torque is used to adjust the steering wheel to a desired turning angle.
[0071] The target torque can also be called the control torque, which refers to the torque actually output by the power-assisted motor to the steering wheel, which is used to adjust the steering wheel to the desired angle. In other words, the target torque is the result of the basic torque and the torque compensation value, which indicates the total power-assisted torque that the EPS system needs to apply to achieve the desired angle.
[0072] After the controller determines the torque compensation value and the basic torque, the basic torque and the torque compensation value can be synthesized, and the sum of the torque compensation value and the basic torque can be determined as the target torque of the steering wheel. Furthermore, the controller can use a closed-loop control strategy to adjust the output of the electric power steering motor based on the target torque, and the power steering motor outputs the target torque to assist the driver in turning the steering wheel and help the driver control the steering of the vehicle.
[0073] In the above steering wheel torque determination method, factors affecting steering performance such as vehicle posture, angular rate and angle are fully considered, and a torque feedforward compensation mechanism suitable for different scenarios is introduced. On the one hand, the expected angular rate and basic torque of the steering wheel are determined by the real-time angle, real-time angular rate and expected angle of the vehicle. On the other hand, based on the torque feedforward compensation mechanism, the torque compensation value of the steering wheel is predicted according to the expected angular rate, vehicle pitch angle and expected angle, and then torque compensation is performed based on the torque compensation value and the basic torque, that is, the target torque of the steering wheel is dynamically adjusted, which effectively reduces the steering error caused by factors such as changes in vehicle dynamic characteristics and external environmental interference, and realizes precise control of the expected angle of EPS. In addition, the whole process does not need to repeatedly calibrate the control parameters under different driving environments, which reduces the complexity of the control system, improves the control adaptability and robustness, makes the predicted torque compensation value of the steering wheel more accurate, and further improves the control accuracy of the expected angle of EPS.
[0074] In practical applications, the predicted value of the torque compensation value can be obtained by model prediction. In an exemplary embodiment, Figure 2 As shown, S600 includes S620 to S640. Among them:
[0075] S620, determining a target nonlinear regression model to be called.
[0076] S640, taking the vehicle body pitch angle, the expected turning angle and the expected turning angle rate as input, calling the target nonlinear regression model, and predicting the torque compensation value of the steering wheel.
[0077] The nonlinear regression model is trained based on the vehicle pitch angle, steering wheel angle and steering rate at different vehicle speed ranges in historical moments. The nonlinear regression model is a mathematical model used in statistics and machine learning to describe the nonlinear relationship between a dependent variable and one or more independent variables.
[0078] In this embodiment, the torque compensation value may be predicted by a nonlinear regression model (hereinafter referred to as the model). Since the steering performance is affected by multiple factors in different driving situations, a general nonlinear regression model or multiple nonlinear regression models may be trained for different driving conditions during the model training phase.
[0079] Specifically, the vehicle speed, vehicle pitch angle, steering wheel angle, steering angle rate, and torsion bar torque applied by the driver to the steering wheel under various driving conditions at historical moments can be collected to ensure that the data covers all possible vehicle speed ranges. Subsequently, the collected data is preprocessed, including but not limited to removing outliers and missing values, and standardizing the data. Afterwards, a training set is constructed based on the preprocessed data.
[0080] Next, the vehicle body pitch angle, steering wheel angle and angular rate are confirmed as input features, and a model suitable for fitting nonlinear relationships is selected, such as a neural network, support vector regression, Gaussian process regression or other nonlinear regression models. Next, a training data set is used to fit a model that can predict the torque compensation value of the steering wheel based on the vehicle body pitch angle, steering wheel angle and angular rate. Specifically, for a neural network, multiple network layers and multiple neurons can be used to capture the complex relationship between input features; for a support vector regression model, a suitable kernel function can be selected; for a Gaussian process regression model, a suitable covariance function can be selected.
[0081] In specific implementation, in order to obtain a more accurate torque compensation value so that the steering wheel can be accurately adjusted to the desired angle, the vehicle body pitch angle, desired angle and desired angle rate can be used as model inputs. After the controller determines the target nonlinear regression model, the target nonlinear regression model to be called can be obtained, and the real-time vehicle body pitch angle, desired angle and expected angle rate can be converted into a data format and range that conforms to the model input. Then, the converted vehicle body pitch angle, desired angle and expected angle rate are used as inputs to call the target nonlinear regression model. The target nonlinear regression model predicts the torque compensation value of the steering wheel in real time. Further, the controller can apply the torque compensation value to the EPS system. In this way, it is possible to respond to changes in driving conditions in a timely manner and optimize the steering performance of the vehicle. Furthermore, as more data is accumulated, the model can be further optimized and updated.
[0082] In this embodiment, the torque compensation value is predicted in real time by a nonlinear regression model, which can capture the complex relationship between the vehicle body pitch angle, the expected turning angle and the expected turning angle rate, provide a more accurate torque compensation value, and improve the driving experience.
[0083] like Figure 3 As shown, in one embodiment, S620 includes:
[0084] S622: When the number of trained nonlinear regression models is one, determine the trained nonlinear regression model as the target nonlinear regression model to be called.
[0085] S624, when there are multiple trained nonlinear regression models, obtain the real-time speed of the vehicle, and based on the real-time speed, select a target nonlinear regression model to be called from the multiple trained nonlinear regression models.
[0086] Since one or more nonlinear regression models can be trained in practical applications, the most suitable target nonlinear regression model can be selected according to the specific situation when selecting the model. Exemplarily, if there is only one model, no additional model selection or comparison process is required, and the deployed trained nonlinear regression model is directly determined as the target nonlinear regression model to be called. If there are multiple trained models, each model may be optimized for a specific input range, and the model most suitable for the current scene can be selected according to specific conditions, such as road type and driving conditions. For example, the current driving conditions can be determined based on the current vehicle pitch angle, expected turning angle, and expected turning angle rate, and then the nonlinear regression model suitable for the current driving conditions can be screened out from multiple trained nonlinear regression models, and then the screened nonlinear regression model is determined as the target nonlinear regression model to be called.
[0087] In this embodiment, the target nonlinear regression model to be called can be screened based on the vehicle speed. For example, the model switching can be based on preset rules, for example, at a specific vehicle speed, a certain type of model is preferentially selected, or when a specific driving mode is detected based on the vehicle speed, a specific target nonlinear regression model is switched to. The vehicle speed and driving conditions can also be monitored in real time, and a suitable model can be selected according to the rules.
[0088] In this embodiment, when there is only one trained nonlinear regression model, there is no need to perform model comparison. The selection of a single model ensures the consistency and predictability of the system and reduces the computational complexity. When there are multiple trained nonlinear regression models, the target nonlinear regression model to be called is selected based on the real-time vehicle speed, thereby improving the pertinence and accuracy of the model prediction.
[0089] It should be noted that there is not only one way to implement S624. Figure 4 As shown, in one embodiment, S624 includes: S6242, comparing the real-time vehicle speed with a plurality of preset vehicle speed intervals, determining the target vehicle speed interval in which the real-time vehicle speed is located, searching for a nonlinear regression model that matches the target vehicle speed interval from a plurality of trained nonlinear regression models, and determining the searched nonlinear regression model as the target nonlinear regression model.
[0090] In this embodiment, for each speed interval, a corresponding nonlinear regression model may be trained based on the training data in the speed interval. In the data collection stage, after collecting key information such as the torsion bar torque, steering wheel angle, steering wheel angle rate, vehicle speed and vehicle pitch angle (used to reflect the road slope) of the EPS at different vehicle speeds in the historical moment, the collected data may be classified and stored according to different vehicle speed intervals to construct a training set corresponding to the vehicle speed interval. For example, the speed interval is divided into a low speed interval (0-30km / h (kilometers / hour)), a medium speed interval (30-80km / h), and a high speed interval (80-150km / h). In the model training stage, based on each vehicle speed interval and the training set in the speed interval, a nonlinear polynomial regression model for the vehicle speed interval is trained. Taking the nonlinear regression model as a nonlinear polynomial regression model as an example, based on the training set, the nonlinear polynomial regression model can be trained using a supervised learning algorithm so that the model captures the complex nonlinear relationship between torque and parameters such as steering wheel angle, angle rate, vehicle speed and vehicle pitch angle. Among them, the nonlinear polynomial regression model can be expressed as:
[0091]
[0092] Among them, y represents the torque compensation value that the EPS system needs to provide , Represents the steering wheel angle of the EPS system , Represents the steering wheel angle rate of the EPS system , Represents the vehicle pitch angle , ~ is the parameter to be estimated, which is obtained by minimizing the sum of squares between the predicted value and the actual value. It can be understood that in the actual prediction process of the model, Corresponding to the expected steering wheel angle, Corresponding to the expected steering wheel turning rate Furthermore, by simplifying the above expression and dividing the model according to different speed ranges, the nonlinear polynomial regression model expression is obtained as follows:
[0093]
[0094] in, Represents vehicle speed.
[0095] By training the above nonlinear polynomial regression model, the torque compensation value required by the EPS system in the current scenario can be predicted based on the acquired desired steering wheel angle, expected turning angle rate, and vehicle body pitch angle in actual applications. Specifically, the real-time vehicle speed can be compared with a plurality of preset vehicle speed intervals to determine the target vehicle speed interval in which the real-time vehicle speed is located, and then, a nonlinear polynomial regression model corresponding to the target vehicle speed interval is selected from a plurality of nonlinear regression models corresponding to different vehicle speed intervals, and the selected nonlinear polynomial regression model is determined as the target nonlinear polynomial regression model. The acquired vehicle body pitch angle, the expected steering wheel angle, and the expected turning angle rate are processed into data that match the format of the model input, and the processed vehicle body pitch angle, the expected steering wheel angle, and the expected turning angle rate are input into the target nonlinear polynomial regression model, and the model predicts the torque compensation value of the steering wheel in real time.
[0096] In this embodiment, the dynamic characteristics of the vehicle in different speed ranges are fully considered, and different nonlinear regression models are trained for different speed ranges. It is possible to flexibly select a more appropriate model to predict the torque compensation value under different vehicle speeds, i.e., different driving conditions, and the torque compensation value obtained is also more accurate.
[0097] It is understandable that there are many ways to implement the basic torque of the steering wheel. Figure 5 As shown, in one embodiment, S400 includes:
[0098] S420: Determine a turning angle deviation according to the real-time turning angle and the expected turning angle.
[0099] S422: Determine a desired steering wheel turning rate based on the turning angle deviation.
[0100] S424, determining an angular rate deviation according to the expected angular rate and the real-time angular rate.
[0101] S426, determining a basic torque of the steering wheel based on the steering angle rate deviation.
[0102] In this embodiment, after obtaining the real-time steering angle and the expected steering angle, the controller can calculate the difference between the real-time steering angle and the expected steering angle to obtain the steering angle deviation. Afterwards, the controller parameters can be dynamically adjusted according to the current steering angle deviation through adaptive fuzzy logic or adaptive neural network to determine the expected steering angle rate that best suits the current driving conditions. Similarly, the steering angle rate deviation between the real-time steering angle rate and the expected steering angle rate is calculated, and based on the steering angle rate deviation, the basic torque of the steering wheel is calculated using an adaptive control method.
[0103] In other embodiments, the difference between the real-time steering angle and the expected steering angle may be calculated to obtain the steering angle deviation, and then, based on the vehicle dynamics model and the current steering angle deviation, the model predictive control algorithm is used to predict the steering angle response within a period of time in the future, thereby determining the optimal expected steering angle rate. Similarly, the steering angle rate deviation between the real-time steering angle rate and the expected steering angle rate is calculated, and based on the steering angle rate deviation, the MPC (Model Predictive Control) algorithm is used to calculate the basic torque of the steering wheel to minimize the future prediction error.
[0104] In this embodiment, a closed-loop control method is provided to provide continuous feedback, so that the controller can automatically adjust the vehicle steering according to different driving conditions and vehicle states, thereby improving the driver's experience.
[0105] like Figure 6 As shown, in some other exemplary embodiments, S400 includes: S440, determining the expected steering angle rate and basic torque of the steering wheel through a preset PID controller according to the real-time steering angle, the real-time steering angle rate and the expected steering angle.
[0106] The PID controller is a closed-loop control mechanism that calculates the deviation between the system output and the desired value (set point) and combines the three control actions of proportional, integral, and derivative to generate a control signal to adjust the output of the controlled system to approach and maintain it near the set point. The proportional term in the PID controller is used to respond to deviations immediately, the integral term is used to eliminate steady-state errors by accumulating past errors, and the derivative term is used to predict the rate of change of the error and reduce overshoot and oscillation by derivative errors. The three work together to quickly and accurately adjust the basic torque of the steering wheel. The output of the PID controller is It can be expressed as:
[0107]
[0108] in, is the output of the PID controller, is the error of the current system, that is, the difference between the set point and the actual output, is the system sampling time, is the error change of the current system ( ), is the proportional gain coefficient, is the integral gain coefficient, is the differential gain coefficient, adjust the gain coefficient , , The system can be controlled to track the effect.
[0109] Continuing from the previous embodiment, in order to obtain a more accurate basic torque of the steering wheel and adjust the steering wheel to the desired angle, a PID controller can be used to achieve a more accurate steering control. Specifically, the difference between the real-time angle and the desired angle can be calculated first to obtain the angle deviation. After that, the desired angle rate is calculated using the proportional term of the PID controller based on the current angle deviation. Subsequently, the real-time angle is compared with the calculated desired angle rate, and the difference between the two is calculated to obtain the angle rate deviation. Based on the angle rate deviation, the basic torque of the steering wheel is determined through the PID controller.
[0110] In this embodiment, the introduction of a PID controller can effectively improve the response speed and control accuracy of the system, thereby achieving more precise steering control.
[0111] like Figure 7 As shown, in one exemplary embodiment, S440 includes:
[0112] S442, using the real-time steering angle and the expected steering angle as inputs of the position loop PID controller to obtain an expected steering angle rate of the steering wheel.
[0113] S444: Using the expected angular rate and the real-time angular rate as inputs of a preset speed loop PID controller, a basic torque of the steering wheel is obtained.
[0114] In this embodiment, by introducing a cascade dual-loop controller, the ultimate accuracy of angle tracking is improved with the design principle of "the inner loop is the differential of the outer loop". Among them, the position loop PID controller, that is, the outer loop controller, focuses on tracking the target angle. The goal of the outer loop controller is to ensure that the vehicle can turn according to the desired angle while maintaining the smoothness and stability of the steering process. The speed loop PID controller is the inner loop controller. The inner loop controller is mainly responsible for the accurate tracking of the target angular rate. The main goal of the inner loop controller is to ensure that the EPS system can respond quickly and accurately to changes in the angular rate, thereby achieving stable tracking of the angular rate.
[0115] In specific implementation, the expected angle and the real-time angle can be used as the input of the position loop PID control. The position loop PID control determines the deviation between the expected angle and the real-time angle to obtain the angle deviation. Based on the angle deviation, the expected angle rate is calculated through the PID control algorithm, and the expected angle rate is used as the input of the speed loop PID controller. The speed loop PID controller obtains the angle rate deviation based on the input expected angle rate and the real-time angle rate, and then calculates the corresponding basic torque through the PID control algorithm. In this process, the position loop PID controller can accurately track the target angle by continuously adjusting the expected angle rate, thereby improving the vehicle's handling performance and driving safety. It should be noted that the controller can limit the output of the position loop PID controller according to the actual performance of the system response. is the maximum steering wheel angle rate of the system under maximum torque control:
[0116]
[0117] In this embodiment, by introducing a cascaded dual-loop PID controller, the outer loop controller can enable the vehicle to turn according to the desired turning angle while maintaining the smoothness and stability of the steering process. The inner loop controller helps to improve the steering responsiveness and handling stability of the vehicle. Compared with the traditional single-loop PID architecture, the entire process not only greatly improves the tracking effect, but also significantly enhances the robustness of the system.
[0118] It can be understood that after obtaining the desired turning angle, the desired turning angle can also be preprocessed by the fastest differential tracker to quickly track and extract the desired turning angle. In one exemplary embodiment, obtaining the desired turning angle of the steering wheel includes: obtaining the initial desired turning angle of the steering wheel, initializing the parameters of the fastest differential tracker, using the initial desired turning angle as the input of the initialized fastest differential tracker, and the initialized fastest differential tracker updates the internal state variables through the preset fastest control function, the real-time turning angle and the real-time turning angle rate to obtain the optimized desired turning angle of the steering wheel.
[0119] The Tracking Differentiator (TD, hereinafter referred to as TD tracker) is a special dynamic system model that can be used to quickly track and extract differentials of input signals. Specifically, the TD tracker can track and smooth the input signal based on a set of state equations and the fastest control synthesis function (such as the fhan function). The TD tracker specifically includes the following aspects of processing:
[0120] 1. State equation description: TD trackers are usually described by a set of state equations. For example, the state equation of linear TD can be expressed in the form of a second-order system, while nonlinear TD may use a more complex dynamic model.
[0121] 2. Fastest control synthesis function: In order to achieve the fastest tracking and differential extraction, the fastest control synthesis function (such as fhan function) is introduced in TD, which calculates the optimal control input based on the current state and target value.
[0122] 3. Parameter adjustment: The performance of TD can be optimized by adjusting its parameters (such as speed factor r, filter factor h, etc.). Among them, the speed factor r determines the tracking speed, and the filter factor h affects the ability to suppress noise. Its discrete expression is:
[0123]
[0124] in, is the steering wheel angle at step k; is the steering wheel angle rate at step k; The steering wheel angle for the next step; is the steering wheel angle rate for the next step; is the calculated optimal acceleration; is the desired steering angle; It is the speed factor. The larger the value, the faster the approach speed. However, the tracking effect cannot exceed the maximum tolerance of the system. is the integration step length.
[0125] Continuing from the previous embodiment, in order to reduce the influence of the step signal on the tracking effect, a TD tracker may be added at the front end of the system input so that the step signal has a smooth transition and the output is smoother.
[0126] For example, the parameters of the TD tracker, such as the speed factor r and the filter factor h, can be initialized according to the actual scenario and performance requirements. In each sampling period k, the TD tracker uses the current state (such as the angle and the angle rate) and the initial desired angle to update its internal state. Finally, the fhan function obtains the optimized desired angle based on the current state (angle and angle rate) and the desired angle, combined with the speed factor r and the filter factor h, and then inputs the optimized desired angle into the position loop PID controller to further improve the tracking of the target position and angle.
[0127] In this embodiment, by introducing the fastest differential tracker to optimize the initial expected turning angle, the step signal can be smoothly transitioned, the impact of sudden changes on the control system can be reduced, and the dynamic performance of the system can be improved.
[0128] In order to make a clearer description of the steering wheel torque determination method provided by the present application, the following is a specific embodiment and the attached Figure 8 To illustrate, this specific embodiment includes the following steps:
[0129] S100, obtaining the vehicle body pitch angle, and the real-time steering angle, real-time steering angle rate, and expected steering angle of the steering wheel.
[0130] In practical applications, a TD tracker is added to the front end of the system input. For example, the vehicle may be equipped with multiple sensors, including a steering angle sensor and an angular velocity sensor. Among them, the steering angle sensor can be installed inside the steering column or the steering gear to detect the rotation angle of the steering wheel and provide the rotation angle of the steering wheel relative to the initial position. There can be multiple angular velocity sensors, which are installed at different positions of the vehicle so as to accurately measure the angular velocity of the vehicle rotating around the vertical axis. The pitch angle is obtained through the inertial measurement unit. The inertial measurement unit usually includes an accelerometer and a gyroscope, which can provide three-axis acceleration and angular velocity information, and the vehicle body pitch angle can be calculated through a fusion algorithm. The lateral control module plans the ideal steering angle of the front path according to the preset path planning algorithm, that is, the initial expected angle, and sends the initial expected angle to the controller. The controller pre-processes the initial expected angle through the TD tracker to make the output smoother.
[0131] Specifically, the parameters of the TD tracker, such as the speed factor r and the filter factor h, can be initialized according to the actual scenario and performance requirements. In each sampling period k, the TD tracker uses the current state (such as the angle and the angle rate) and the initial expected angle to update its internal state. Finally, the fhan function obtains the optimized expected angle based on the current state (angle and angle rate) and the initial expected angle, combined with the speed factor r and the filter factor h, and then inputs the optimized expected angle into the position loop PID controller to further improve the tracking of the target position and angle.
[0132] S102, using the real-time steering angle and the expected steering angle as inputs of the position loop PID controller to obtain an expected steering angle rate of the steering wheel.
[0133] S104, taking the expected angular rate and the real-time angular rate as inputs of the speed loop PID controller, and obtaining the basic torque of the steering wheel.
[0134] Following the above steps, after obtaining the expected angle after the output, the expected angle and the real-time angle can be used as the input of the position loop PID control. The position loop PID control determines the deviation between the expected angle and the real-time angle to obtain the angle deviation. Based on the angle deviation, the expected angle rate is calculated through the PID control algorithm, and the expected angle rate is used as the input of the speed loop PID controller. The speed loop PID controller obtains the angle rate deviation based on the input expected angle rate and the real-time angle rate, and then calculates the corresponding basic torque through the PID control algorithm. In this process, the position loop PID controller can accurately track the target angle by continuously adjusting the expected angle rate, thereby improving the vehicle's handling performance and driving safety. It should be noted that the controller can limit the output of the position loop PID controller according to the actual performance of the system response. is the maximum steering wheel angle rate of the system under maximum torque control:
[0135]
[0136] S106, obtaining the real-time speed of the vehicle, comparing the real-time speed with a plurality of preset speed intervals, determining a target speed interval in which the real-time speed is located, finding a nonlinear regression model that matches the target speed interval from a plurality of trained nonlinear regression models, and determining the found nonlinear regression model as the target nonlinear regression model.
[0137] S108, taking the vehicle body pitch angle, the expected turning angle and the expected turning angle rate as input, calling the target nonlinear regression model, and predicting the torque compensation value of the steering wheel.
[0138] Specifically, for each speed range, a corresponding nonlinear regression model can be trained based on the training data in the speed range. In the data collection stage, after collecting key information such as the torsion bar torque, steering wheel angle, steering wheel angle rate, vehicle speed and vehicle pitch angle (used to reflect the road slope) of the EPS at different speeds in the historical moment, the speed range is divided into a low speed range (0-30km / h (kilometers / hour)), a medium speed range (30-80km / h), and a high speed range (80-150km / h). According to different speed ranges, the collected data is classified and stored to construct a training set corresponding to the speed range. In the model training stage, based on each speed range and the training set in the speed range, a nonlinear polynomial regression model for the speed range is trained. Taking the nonlinear regression model as a nonlinear polynomial regression model as an example, based on the training set, the nonlinear polynomial regression model can be trained using a supervised learning algorithm so that the model captures the complex nonlinear relationship between torque and parameters such as steering wheel angle, angle rate, vehicle speed and vehicle pitch angle. Among them, the nonlinear polynomial regression model can be expressed as:
[0139]
[0140] Among them, y represents the torque compensation value that the EPS system needs to provide , Steering wheel angle representing the EPS system , Represents the steering wheel angle rate of the EPS system , Represents the vehicle pitch angle , ~ is the parameter to be estimated, which is obtained by minimizing the sum of squares between the predicted value and the actual value. It can be understood that in the actual prediction process of the model, Corresponding to the expected steering wheel angle, Corresponding to the expected steering wheel turning rate Furthermore, by simplifying the above expression and dividing the model according to different speed ranges, the nonlinear polynomial regression model expression is obtained as follows:
[0141]
[0142] in, Represents vehicle speed.
[0143] By training the above nonlinear polynomial regression model, the torque compensation value required by the EPS system in the current scenario can be predicted based on the acquired desired steering wheel angle, expected turning angle rate, and vehicle body pitch angle in actual applications. Specifically, the real-time vehicle speed can be compared with a plurality of preset vehicle speed intervals to determine the target vehicle speed interval in which the real-time vehicle speed is located, and then, a nonlinear polynomial regression model corresponding to the target vehicle speed interval is selected from a plurality of nonlinear regression models corresponding to different vehicle speed intervals, and the selected nonlinear polynomial regression model is determined as the target nonlinear polynomial regression model. The acquired vehicle body pitch angle, the expected steering wheel angle, and the expected turning angle rate are processed into data that match the format of the model input, and the processed vehicle body pitch angle, the expected steering wheel angle, and the expected turning angle rate are input into the target nonlinear polynomial regression model, and the model predicts the torque compensation value of the steering wheel in real time.
[0144] S110 , determining a target torque of the steering wheel based on the torque compensation value and the basic torque, where the target torque is used to adjust the steering wheel to a desired turning angle.
[0145] After the controller determines the torque compensation value and the basic torque, the basic torque and the torque compensation value can be synthesized, and the sum of the torque compensation value and the basic torque can be determined as the target torque of the steering wheel. Furthermore, the controller can use a closed-loop control strategy to adjust the output of the electric power steering motor based on the target torque, and the power steering motor outputs the target torque to assist the driver in turning the steering wheel and help the driver control the steering of the vehicle.
[0146] The above steering wheel torque determination method fully considers factors that affect steering performance, such as vehicle posture, angular rate and angle, and introduces a torque feedforward compensation mechanism suitable for different scenarios. Based on the torque feedforward compensation mechanism, the torque compensation value of the steering wheel is predicted according to the expected angular rate, vehicle pitch angle and expected angle, and then torque compensation is performed based on the torque compensation value and the basic torque, that is, the target torque of the steering wheel is dynamically adjusted, which effectively reduces the steering error caused by factors such as changes in vehicle dynamic characteristics and external environmental interference, and realizes precise control of the expected EPS angle. In addition, the entire process does not require repeated calibration of control parameters under different driving environments, which reduces the complexity of the control system and improves the control adaptability and robustness.
[0147] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0148] Based on the same inventive concept, the embodiment of the present application further provides a steering wheel torque determination device for implementing the above-mentioned steering wheel torque determination method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more steering wheel torque determination device embodiments provided below can refer to the above-mentioned limitations on the steering wheel torque determination method, and will not be repeated here.
[0149] In an exemplary embodiment, Fig. 9 As shown, a steering wheel torque determination device 900 is provided, comprising: a data acquisition module 910, a basic torque determination module 920, a compensation torque prediction module 930 and a target torque determination module 940, wherein:
[0150] The data acquisition module 910 is used to acquire the vehicle body pitch angle, and the real-time steering angle, real-time steering angle rate and expected steering angle of the steering wheel.
[0151] The basic torque determination module 920 is used to determine the desired steering wheel angular rate and the basic torque according to the real-time steering angle, the real-time steering angle rate and the desired steering angle.
[0152] The compensation torque prediction module 930 is used to predict the torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate.
[0153] The target torque determination module 940 is used to determine a target torque of the steering wheel based on the torque compensation value and the basic torque, where the target torque is used to adjust the steering wheel to a desired turning angle.
[0154] The above-mentioned steering wheel torque control device fully considers factors affecting steering performance such as vehicle posture, angular rate and angle, and introduces a torque feedforward compensation mechanism suitable for different scenarios. On the one hand, the expected angular rate and basic torque of the steering wheel are determined by the real-time angle, real-time angular rate and expected angle of the vehicle. On the other hand, based on the torque feedforward compensation mechanism, the torque compensation value of the steering wheel is predicted according to the expected angular rate, vehicle pitch angle and expected angle, and then torque compensation is performed based on the torque compensation value and the basic torque, that is, the target torque of the steering wheel is dynamically adjusted, which effectively reduces the steering error caused by factors such as changes in vehicle dynamic characteristics and external environmental interference, and realizes precise control of the expected angle of EPS. In addition, the whole process does not need to repeatedly calibrate the control parameters under different driving environments, which reduces the complexity of the control system, improves the control adaptability and robustness, makes the predicted torque compensation value of the steering wheel more accurate, and further improves the control accuracy of the expected angle of EPS.
[0155] In one exemplary embodiment, the compensation torque prediction module 930 is also used to determine the target nonlinear regression model to be called, the nonlinear regression model is trained based on the vehicle pitch angle, steering wheel angle and steering angle rate in different vehicle speed ranges in historical moments, and the vehicle pitch angle, expected steering angle and expected steering angle rate are used as inputs to call the target nonlinear regression model to predict the steering wheel torque compensation value.
[0156] In one exemplary embodiment, the compensation torque prediction module 930 is also used to determine the trained nonlinear regression model as the target to be called when the number of trained nonlinear regression models is one, and to obtain the real-time vehicle speed when the number of trained nonlinear regression models is multiple, and to screen out the target nonlinear regression model to be called from the multiple trained nonlinear regression models based on the real-time vehicle speed, and the nonlinear regression model corresponds to the vehicle speed range one by one.
[0157] In one exemplary embodiment, the compensation torque prediction module 930 is also used to compare the real-time vehicle speed with a plurality of preset vehicle speed intervals, determine the target vehicle speed interval in which the real-time vehicle speed is located, and find out a nonlinear regression model that matches the target vehicle speed interval from a plurality of trained nonlinear regression models, and determine the found nonlinear regression model as the target nonlinear regression model to be called.
[0158] In one exemplary embodiment, the basic torque determination module 920 is further used to determine the angle deviation based on the real-time angle and the expected angle, determine the expected angle rate of the steering wheel based on the angle deviation, determine the angle rate deviation based on the expected angle rate and the real-time angle rate, and determine the basic torque of the steering wheel based on the angle rate deviation.
[0159] In one exemplary embodiment, the basic torque determination module 920 is further used to determine the desired steering wheel angular rate and basic torque through a preset PID controller according to the real-time steering angle, the real-time steering angle rate and the desired steering angle.
[0160] In one exemplary embodiment, the preset PID controller includes a position loop PID controller and a speed loop PID controller; the basic torque determination module 920 is also used to obtain the expected angular rate of the steering wheel using the real-time angular rate and the expected angular rate as inputs to the position loop PID controller, and to obtain the basic torque of the steering wheel using the expected angular rate and the real-time angular rate as inputs to the preset speed loop PID controller.
[0161] like Fig.10 As shown, in one exemplary embodiment, the device also includes a signal preprocessing module 902, which is used to obtain the initial expected steering wheel angle, initialize the parameters of the fastest differential tracker, and use the initial expected steering angle as the input of the initialized fastest differential tracker. The initialized fastest differential tracker updates the internal state variables through a preset fastest control function, a real-time steering angle, and a real-time steering angle rate to obtain an optimized expected steering wheel angle.
[0162] Each module in the above steering wheel torque determination device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0163] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and may include but not be limited to a vehicle, a ship, or other transportation vehicles. The internal structure diagram thereof may be as follows: Fig.11As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a steering wheel torque determination method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0164] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0165] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in any one of the above-mentioned steering wheel torque determination method embodiments are implemented.
[0166] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in any one of the above-mentioned steering wheel torque determination method embodiments are implemented.
[0167] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps in any one of the above steering wheel torque determination method embodiments.
[0168] It should be noted that the data involved in this application (including but not limited to data used for analysis such as expected turning angle, vehicle speed and turning rate, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0169] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0170] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0171] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining steering wheel torque, characterized in that: The method comprises: Obtain the vehicle body pitch angle, as well as the real-time steering angle, real-time steering angle rate and expected steering angle; determining a desired steering angle rate and a basic torque of the steering wheel according to the real-time steering angle, the real-time steering angle rate and the desired steering angle; predicting a torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate; A target torque of the steering wheel is determined based on the torque compensation value and the basic torque, and the target torque is used to adjust the steering wheel to the desired turning angle.
2. The method according to claim 1, characterized in that The step of predicting the torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate comprises: Determine the target nonlinear regression model to be called, the nonlinear regression model is trained based on the vehicle body pitch angle, steering wheel angle and steering angle rate in different vehicle speed ranges at historical moments; The vehicle body pitch angle, the expected turning angle and the expected turning angle rate are used as inputs, and the target nonlinear regression model is called to predict the torque compensation value of the steering wheel.
3. The method according to claim 2, characterized in that The step of determining the target nonlinear regression model to be called includes: When the number of trained nonlinear regression models is one, determining the trained nonlinear regression model as the target nonlinear regression model to be called; When there are multiple trained nonlinear regression models, the real-time speed of the vehicle is obtained, and based on the real-time speed, a target nonlinear regression model to be called is screened out from the multiple trained nonlinear regression models, and the nonlinear regression models correspond to the speed ranges one by one.
4. The method according to claim 3, characterized in that The method of selecting a target nonlinear regression model to be called from a plurality of trained nonlinear regression models based on the real-time vehicle speed includes: Compare the real-time vehicle speed with a plurality of preset vehicle speed intervals to determine a target vehicle speed interval in which the real-time vehicle speed is located; A nonlinear regression model matching the target vehicle speed range is found from a plurality of trained nonlinear regression models, and the found nonlinear regression model is determined as the target nonlinear regression model to be called.
5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the desired steering angle rate and the basic torque of the steering wheel according to the real-time steering angle, the real-time steering angle rate and the desired steering angle comprises: Determining a rotation angle deviation according to the real-time rotation angle and the expected rotation angle; determining a desired steering angle rate of the steering wheel based on the steering angle deviation; Determining a rotation angle rate deviation according to the expected rotation angle rate and the real-time rotation angle rate; Based on the steering angle rate deviation, a base torque of the steering wheel is determined.
6. The method according to any one of claims 1 to 4, characterized in that: The step of determining the desired steering angle rate and the basic torque of the steering wheel according to the real-time steering angle, the real-time steering angle rate and the desired steering angle comprises: According to the real-time steering angle, the real-time steering angle rate and the expected steering angle, an expected steering angle rate and a basic torque of the steering wheel are determined through a preset PID controller.
7. The method according to claim 6, characterized in that The preset PID controller includes a position loop PID controller and a speed loop PID controller; the desired angular velocity and basic torque of the steering wheel are determined by the preset PID controller according to the real-time angular velocity, the real-time angular velocity and the desired angular velocity, including: Taking the real-time rotation angle and the expected rotation angle as inputs of the position loop PID controller, obtaining an expected rotation angle rate of the steering wheel; The desired angular rate and the real-time angular rate are used as inputs of the speed loop PID controller to obtain the basic torque of the steering wheel.
8. The method according to claim 7, characterized in that Get the desired steering wheel angle, including: Get the initial desired steering angle of the steering wheel; Initialize the parameters of the fastest differential tracker; The initial expected steering angle is used as the input of the initialized fastest differential tracker. The initialized fastest differential tracker updates the internal state variables through a preset fastest control function, the real-time steering angle and the real-time steering angle rate to obtain the optimized expected steering wheel angle.
9. A device for determining steering wheel torque, characterized in that: The device comprises: A data acquisition module is used to acquire the vehicle body pitch angle, as well as the real-time steering angle, real-time steering angle rate and expected steering angle; a basic torque determination module, configured to determine an expected angular rate and a basic torque of the steering wheel according to the real-time angular rate, the real-time angular rate and the expected angular rate; A compensation torque prediction module, used for predicting a torque compensation value of the steering wheel according to the vehicle body pitch angle, the expected turning angle and the expected turning angle rate; The target torque determination module is configured to determine a target torque of the steering wheel based on the torque compensation value and the basic torque, wherein the target torque is used to adjust the steering wheel to the desired turning angle.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Electric power steering torque compensation
CN112166068A
Vehicle control method, device, equipment and medium
CN115257730A
Steering torque compensation control method and control device
CN115520270A
Compensation torque determination method and device and electronic equipment
CN116279767A
Electric power steering device
JP2012045990A
Cited By
Adjusting method and device for control hand feeling softness of steering wheel and storage medium
CN120573169A
Torque control method and device applied to motor, storage medium and vehicle
CN120863362A
Feedback control system and steering gear box for final steering control of an autonomous vehicle
US12485958B2
Motor control in an electric power steering
US12698028B2
Motor control in an electric power steering
US20240059348A1
