Road feel simulation method and apparatus for steer-by-wire vehicle, storage medium, and electronic device
The method and apparatus in steer-by-wire systems use historical data and PID controllers to simulate road feel, addressing inaccuracies and improving safety by personalizing feedback based on driver habits.
Patent Information
- Application Number
- US19/377074
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-26
- Filing Date
- 2025-11-03
- Publication Date
- 2026-11-26
AI Technical Summary
Existing steer-by-wire systems lack efficient and accurate methods for simulating road feel, leading to unsatisfactory feedback that affects driver judgment and safety.
A method and apparatus that utilize historical driving style data to calculate a gain coefficient, perform closed-loop motor torque calculations via a PID controller, and apply high-frequency road feel compensation torque to simulate road feel, personalized for different drivers.
Accurately identifies driver habits and provides personalized road feel feedback, enhancing safety and handling experience by adapting to driver preferences.
Smart Images

Figure US20260374389A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application is a continuation of International Application No. PCT / CN2025 / 122702, filed on Sep. 19, 2025, which claims priority to Chinese Patent Application No. 202510678776.7, filed with the China National Intellectual Property Administration on May 26, 2025 and entitled “ROAD FEEL SIMULATION METHOD AND APPARATUS FOR STEER-BY-WIRE VEHICLE, STORAGE MEDIUM AND ELECTRONIC DEVICE”. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.BACKGROUNDTechnical Field
[0002] The present application relates to the field of vehicle technology and, in particular, to a road feel simulation method and apparatus for steer-by-wire vehicle, a storage medium and an electronic device.Description of Related Art
[0003] In related technologies, a steer-by-wire system is a type of system that transmits a steering command to a steering gear through an electrical signal to achieve steering control of a vehicle. This system eliminates a mechanical connection apparatus between a steering wheel and steering wheels, freeing itself from various limitations of a traditional steering system. On one hand, the steer-by-wire system reduces the complexity of a steering system, and on the other hand, it significantly improves the responsiveness of a system. Meanwhile, due to the removal of an intermediate shaft, there is no direct force feedback to a driver. In order to simulate the feel of the traditional steering system, a steering assist motor is required to simulate road feel.
[0004] In related technologies, road feel feedback primarily falls into two categories: one involves simulating based on a corresponding dynamical model or installing a corresponding sensor on a steering actuator of the steer-by-wire system to measure in real time to acquire the rack force, thereby feeding back authentic road feel; the other involves deriving road feel feedback torque based on experience and a simple linear dynamical model. Current road feel feedback faces problems such as difficult sensor installation, increased costs, inaccurate rack force estimation, and challenging model establishment, etc. These issues may lead to unsatisfactory road feel feedback, which in turn affects the driver's judgment of a road condition and the safety of vehicle operation.
[0005] To date, no efficient and accurate solutions have been found for these aforementioned issues in related technologies.SUMMARY
[0006] The present application provides a road feel simulation method and apparatus for a steer-by-wire vehicle, a storage medium and an electronic device to solve technical problems in related technologies.
[0007] In a first aspect, embodiments of the present application provide a road feel simulation method for a steer-by-wire vehicle, including: acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle; calculating a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel; acquiring theoretical road feel feedback hand torque of the vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient; performing a closed-loop calculation of motor torque via a PID controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the vehicle; and performing road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
[0008] Optionally, the calculating the gain coefficient of the driver according to the historical driving style data includes: identifying a driving habit type of the driver according to the historical driving style data; and calculating a gain coefficient of the driving habit type.
[0009] Optionally, the identifying the driving habit type of the driver according to the historical driving style data includes: performing a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format; selecting a target posterior probability that best matches the characteristic parameter from a pre-constructed posterior probability set, where the pre-constructed posterior probability set includes multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; and determining a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
[0010] Optionally, before selecting the target posterior probability that best matches the characteristic parameter from the pre-constructed posterior probability set, the method further includes: acquiring a plurality of sample data; randomly initializing model parameters of a Gaussian mixture model, where the number of Gaussian distributions of the Gaussian mixture model is the same as the number of driving habit types; executing following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculating, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; updating the model parameters of the Gaussian mixture model based on the probability set; extracting updated model parameters of the Gaussian mixture model; and outputting the posterior probability set after optimization of the Gaussian mixture model is completed.
[0011] Optionally, the calculating the gain coefficient of the driving habit type includes: acquiring the target posterior probability of the driving habit type; calculating the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk; where gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
[0012] Optionally, the acquiring the theoretical road feel feedback hand torque of the vehicle includes: acquiring a rack force signal and a vehicle speed of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; and searching for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed in a preset mapping table of the vehicle.
[0013] Optionally, the calculating the desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient includes: acquiring a compensation torque set of the vehicle, and superimposing the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; and multiplying the intermediate hand torque by the gain coefficient to obtain the desired hand torque.
[0014] Optionally, the acquiring the compensation torque set of the vehicle includes: collecting first compensation torque output from a return torque module of the vehicle, collecting second compensation torque output from a damping compensation module of the vehicle, and collecting third compensation torque output from a friction compensation module of the vehicle; and determining the first compensation torque, the second compensation torque, and the third compensation torque as the compensation torque set.
[0015] Optionally, the performing the closed-loop calculation of the motor torque via the PID controller according to the desired hand torque and the actual hand torque includes: calculating the motor torque Toutput(t) using a following formula:Toutput(t)=Kpe(t)+Ki∫0 te(t)dt+Kdde(t)dt+Tfeedforward,where t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of a steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.Optionally, the calculating the high-frequency road feel compensation torque of the vehicle includes: acquiring a rack force signal of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; performing high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; and determining the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the vehicle.
[0017] In a second aspect, embodiments of the present application provide a road feel simulation apparatus for a steer-by-wire vehicle, including: a collecting module, configured to acquire historical driving style data of the steer-by-wire vehicle and collect actual hand torque of a driver of the steer-by-wire vehicle; a first calculating module, configured to calculate a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel; a second calculating module, configured to acquire theoretical road feel feedback hand torque of the vehicle, calculate desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient; and a simulating module, including: a calculating unit, configured to perform a closed-loop calculation of motor torque via a PID controller according to the desired hand torque and the actual hand torque, and calculate high-frequency road feel compensation torque of the vehicle; and a simulating unit, configured to perform road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
[0018] Optionally, the first calculating module includes: an identifying unit, configured to identify a driving habit type of the driver according to the historical driving style data; and a calculating unit, configured to calculate a gain coefficient of the driving habit type.
[0019] Optionally, the identifying unit includes: a processing subunit, configured to perform a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format; a selecting subunit, configured to select a target posterior probability that best matches the characteristic parameter from a pre-constructed posterior probability set, where the pre-constructed posterior probability set includes multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; and a determining subunit, configured to determine a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
[0020] Optionally, the apparatus further includes: an acquiring module, configured to acquire a plurality of sample data before the first calculating module selects the target posterior probability that best matches the characteristic parameter from the pre-constructed posterior probability set; an initializing module, configured to randomly initialize model parameters of a Gaussian mixture model, where the number of Gaussian distributions of the Gaussian mixture model is the same as the number of driving habit types;
[0021] an iteration module, configured to execute following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculating, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; updating the model parameters of the Gaussian mixture model based on the probability set; extracting updated model parameters of the Gaussian mixture model; and an output module, configured to output the posterior probability set after optimization of the Gaussian mixture model is completed.
[0022] Optionally, the calculating unit includes: an acquiring subunit, configured to acquire the target posterior probability of the driving habit type; and a calculating subunit, configured to calculate the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk; where gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
[0023] Optionally, the second calculating module includes: a first acquiring unit, configured to acquire a rack force signal and a vehicle speed of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; and a searching unit, configured to search for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed in a preset mapping table of the vehicle.
[0024] Optionally, the second calculating module includes: a second acquiring unit, configured to acquire a compensation torque set of the vehicle, and superimpose the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; and a computing unit, configured to multiply the intermediate hand torque by the gain coefficient to obtain the desired hand torque.
[0025] Optionally, the second acquiring unit includes: a collecting subunit, configured to collect first compensation torque output from a return torque module of the vehicle, collect second compensation torque output from a damping compensation module of the vehicle, and collect third compensation torque output from a friction compensation module of the vehicle; and a determining subunit, configured to determine the first compensation torque, the second compensation torque, and the third compensation torque as the compensation torque set.
[0026] Optionally, the calculating unit includes: a calculating subunit, configured to calculate the motor torque Toutput(t) using a following formula:Toutput(t)=Kpe(t)+Ki∫0 te(t)dt+Kdde(t)dt+Tfeedforward,where t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of a steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.Optionally, the calculating unit includes: an acquiring subunit, configured to acquire a rack force signal of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; a filtering subunit, configured to perform high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; a determining subunit, configured to determine the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the vehicle.
[0028] In a third aspect, embodiments of the present application also provide a storage medium, where the storage medium includes a computer program stored thereon, when the computer program is running, the steps described above are executed.
[0029] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus; where the memory is configured to store a computer program, the processor is configured to execute the steps in the above method by running the program stored on the memory.
[0030] In a fourth aspect, the embodiments of the present application also provide a computer program product including instructions that, when running on a computer, cause the computer to perform the steps of the method described above.
[0031] Beneficial effects of the present application are:
[0032] 1. accurately identifying driver habits and providing personalized road feel feedback for different drivers;
[0033] 2. calculating the gain coefficient corresponding to the driving style in real-time by utilizing the posterior probability of the model algorithm, to achieve driver-friendly hand torque adjustment;
[0034] 3. using a Gaussian mixture model for clustering analysis and parameter optimization, which has good adaptability to noise and abnormal data, making the steer-by-wire system more stable in complex road conditions and extreme scenarios;
[0035] 4. supporting long-term optimization by using probability modeling to track and analyze changes in driver habits over a long term, facilitating system learning and adaptive adjustment.BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are provided to facilitate further understanding of the present application and form a part of the present application. Illustrative embodiments of the present application and their descriptions are intended to explain the present application and do not constitute undue limitations thereof. In the accompanying drawings:
[0037] FIG. 1 is a hardware structural block diagram of a vehicle of an embodiment of the present application.
[0038] FIG. 2 is a flowchart of a road feel simulation method for a steer-by-wire vehicle according to an embodiment of the present application.
[0039] FIGS. 3A-3B are schematic diagrams of identifying a driving habit type in an embodiment of the present application.
[0040] FIGS. 4A-4B are schematic diagrams of clustering analysis in an embodiment of the present application.
[0041] FIG. 5 is a mapping curve between rack force and theoretical road feel feedback hand torque under a certain vehicle speed and working condition in an embodiment of the present application.
[0042] FIGS. 6A-6B are schematic diagrams of calculating desired hand torque in an embodiment of the present application.
[0043] FIG. 7 is a schematic diagram of road feel simulation based on closed-loop control in an embodiment of the present application.
[0044] FIGS. 8A-8B are framework diagrams of a road feel simulation system in an embodiment of the present application.
[0045] FIG. 9 is a structural block diagram of a road feel simulation apparatus for a steer-by-wire vehicle according to an embodiment of the present application.DESCRIPTION OF THE EMBODIMENTS
[0046] To enable those skilled in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of them. Based on the embodiments of the present application, all other embodiments obtained by ordinary skilled persons in the art without creative labor should fall within the protection scope of the present application. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0047] It should be noted that the terms “first”, “second”, etc. in the specification and claims of the present application, as well as in the aforementioned accompanying drawings, are used to distinguish similar objects and are not necessarily intended to describe a specific order or sequence.
[0048] It should be understood that the data used in this way can be interchanged in appropriate circumstances, so that the embodiments described herein can be implemented in order other than those illustrated or described herein. In addition, the terms “including” and “comprising”, as well as any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, a method, a product, or a device including a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or device.Embodiment 1
[0049] The method embodiments provided in Embodiment 1 of the present application may be executed in a vehicle, a server, a processor, a controller, or a similar processing apparatus. Taking the operation on a vehicle as an example, FIG. 1 is a hardware structural block diagram of a vehicle of an embodiment of the present application. As shown in FIG. 1, the vehicle may include one or more (only one is shown in FIG. 1) processors 102 (a processor 102 may include but is not limited to a processing apparatus such as a microprocessor MCU (Microcontroller Unit), or a programmable logic device FPGA (Field-Programmable Gate Array), etc.) and a memory 104 for storing data. Optionally, the vehicle may further include a transmission device 106 for communication and input and output devices 108. Those of ordinary skill in the art can understand that the structure shown in FIG. 1 is merely illustrative and does not limit a structure of the vehicle described above. For example, the vehicle may include more or fewer components than shown in FIG. 1, or may have a configuration different from that shown in FIG. 1.
[0050] The memory 104 can be configured to store a vehicle program, such as a software program and a module of application software, such as a vehicle program corresponding to a road feel simulation method for a steer-by-wire vehicle of an embodiment of the present application. The processor 102 executes various functional applications and data processing by running the vehicle program stored in the memory 104, thereby implementing the above method. The memory 104 may include a high-speed random memory, and may also include a non-volatile memory such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, which may be connected to the vehicle via a network. Instances of the above network include but are not limited to an Internet, an enterprise intranet, a local area network, a mobile communication network and a combination thereof.
[0051] The transmission device 106 is configured to receive or transmit data via a network. A specific instance of the above network may include a wireless network provided by a vehicle communication provider. In an instance, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station to communicate with the Internet. In an instance, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is configured to communicate with the Internet wirelessly.
[0052] A road feel simulation method for a steer-by-wire vehicle is provided in the present embodiment. FIG. 2 is a flowchart of a road feel simulation method for a steer-by-wire vehicle according to an embodiment of the present application. As shown in FIG. 2, the process includes the following steps:
[0053] step S200: acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle;
[0054] the actual hand torque of the preset embodiment is real-time torque of hand force applied by the driver to a steering wheel when the driver of the steer-by-wire vehicle operates the steering wheel, which is collected by a steering wheel sensor.
[0055] Optionally, the historical driving style data is driving data reflecting a driving style of the driver, which is collected from the steer-by-wire vehicle before performing road feel simulation on current collected actual hand torque. The driving data includes a vehicle speed, the actual hand torque, and ideal road feel torque. And an ideal road feel torque difference between a maximum ideal road feel torque and a minimum ideal road feel torque within a historical period is calculated. The historical driving style data includes a historical average vehicle speed, a historical average actual hand torque, and the ideal road feel torque difference.
[0056] Step S201: calculating a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel;
[0057] different drivers have different requirements for road feel. Some drivers prefer clear road feel, while others do not. For example, drivers who prefer economical driving (focusing on driving power consumption or fuel economy) desire less clarity for road feel, drivers who prefer comfortable driving (focusing on driving comfort) desire moderate clarity for road feel, and drivers who prefer sporty driving (focusing on driving experience) desire greater clarity for road feel.
[0058] Road feel feedback in the preset embodiment is ideal road feel simulated by a motor. By providing different road feel feedback for different drivers, a road feel feedback control method for a steer-by-wire vehicle that self-adapts to a driver habit is designed.
[0059] Step S202: acquiring theoretical road feel feedback hand torque of the vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient.
[0060] Step S203: performing a closed-loop calculation of motor torque via a PID (Proportional-Integral-Derivative) controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the vehicle.
[0061] Step S204, performing road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque;
[0062] total torque obtained by adding the motor torque and the high-frequency road feel compensation torque is applied to a motor of the steering wheel of the steer-by-wire vehicle in a reverse direction, thereby achieving the road feel simulation.
[0063] By the above steps, acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle; calculating a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel; acquiring theoretical road feel feedback hand torque of the vehicle, calculating desired hand torque based on the theoretical road feel feedback hand torque and the gain coefficient; performing a closed-loop calculation of motor torque via a PID controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the vehicle; and performing road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque, different road feel feedback can be provided to different drivers, thereby adapting to the driver habit during the steer-by-wire vehicle controlling the road feel feedback. The technical problem of the inability of the steer-by-wire vehicle to transmit road feel according to the driver habit in related technologies is solved, thereby avoiding the driver losing the judgment on vehicle dynamics, reducing the driving safety risk, and improving the driving safety, handling experience, and system stability.
[0064] In one implementation of the present embodiment, the calculating the gain coefficient of the driver according to the historical driving style data includes: identifying a driving habit type of the driver according to the historical driving style data, where the driving habit type includes one of the following: economic, comfortable, sporty; and calculating a gain coefficient of the driving habit type.
[0065] In one example, the identifying the driving habit type of the driver according to the historical driving style data includes: performing a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format; selecting a target posterior probability that best matches the characteristic parameter from a pre-constructed posterior probability set, where the pre-constructed posterior probability set includes multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; determining a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
[0066] In one example, the calculating the gain coefficient of the driving habit type includes: acquiring the target posterior probability of the driving habit type; calculating the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk; where gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
[0067] When a driver habit identifying module identifies the driving habit type, a category with the highest probability is selected as the driving habit of a current driver by analyzing and identifying the driving habit of the current driver. FIGS. 3A-3B are schematic diagrams of identifying a driving habit type in an embodiment of the present application. The process includes:
[0068] performing a data preprocessing on collected driving data of a current driver to match a data distribution of a training model;
[0069] after the characteristic parameter is selected, calculating a posterior probability of the characteristic xcurrent of the current driver belonging to each type:P(z=k|xcurrent,θ)=πkN(xcurrent|μk,∑k)∑j=1KπjN(xcurrent|μj,∑j);πk is a mixing coefficient of the k-th type, and N(xcurrent|μk, Σk) is probability density of the K-th Gaussian distribution;according to the posterior probability, selecting the category z* with the highest posterior probability as a habit of the current driver for classification: z*=argMaxPk(z=k|xcurrent, θ);calculating the gain coefficient after performing weighted average of the driving habit type of the current driver with the posterior probability: G=P(z=k|xcurrent, θ)×gk;
[0072] where G is a calculated comprehensive gain coefficient of the current driver, gk is the gain reference coefficient corresponding to the k-th driving habit, and K (uppercase letter) is a total number of driving habits.
[0073] In the present embodiment, before selecting the target posterior probability that best matches the characteristic parameter from the pre-constructed posterior probability set, the method further includes: acquiring a plurality of sample data; randomly initializing model parameters of a Gaussian mixture model, where the number of Gaussian distributions of the Gaussian mixture model is the same as the number of driving habit types; executing following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculating, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; updating the model parameters of the Gaussian mixture model based on the probability set; extracting updated model parameters of the Gaussian mixture model; and outputting the posterior probability set after optimization of the Gaussian mixture model is completed.
[0074] Optionally, the updating the model parameters of the Gaussian mixture model based on the probability set includes: updating the mean μk of the Gaussian mixture model using a following formula:μk=∑ i=1N=γik⋆xi∑ i=1Nγik;updating the covariance matrix Σk of the Gaussian mixture model using a following formula:∑k=∑ i=1N=γik(xi-μk)(xi-μk)T∑ i=1Nγik;updating the mixture coefficient πk of the Gaussian mixture model using a following formula:πk=∑ i=1NγikN;where N is a total sample size of the sample data, γik is a probability that sample xi belongs to cluster k, γik*xi is a product of γik and a vector value of sample data of sample xi, and the model parameters include the mean μk, the covariance matrix Σk, the mixture coefficient πk, πk∈[0, 1], satisfying∑ k=1Kπk=1.FIGS. 4A-4B are schematic diagrams of clustering analysis in an embodiment of the present application. A clustering analysis module uses a Gaussian mixture model algorithm to perform clustering analysis on the collected road feel feedback torque, and divides the driver habits into three types: economic, comfortable, and sporty, denoted as z1, z2, and z3. Compared to a K-Means algorithm, the Gaussian mixture model algorithm has a more flexible cluster shape processing and provides a soft classification. The K-Means algorithm can only hard classify the driver into a certain driving style, ignoring the fuzziness of the style. However, the Gaussian mixture model algorithm achieves the soft classification through the posterior probability, which can quantify the possibility of the driver belonging to each style and facilitating personalized adjustment. Meanwhile, the Gaussian mixture model algorithm has stronger robustness and is suitable for processing complex data. The process of clustering analysis includes:firstly, performing a preprocessing on driving data collected from different drivers, removing missing values and outliers, and standardizing the driving data to ensure that different characteristics are of a same order of magnitude;selecting a difference between a maximum ideal road feel torque and a minimum ideal road feel torque as a characteristic parameter used in a clustering analysis formula;initializing the Gaussian mixture model, determining the number of Gaussian distributions K=3, and randomly initializing the parameters of each Gaussian distribution: the mean μk, the covariance matrix Σk, the mixture coefficient πk, πk∈[0, 1], satisfying∑ k=1Kπk=1;in the expectation step E (Expectation), calculating the posterior probability of which cluster k each sample xi belongs to:γik=πkN(xi❘μk,∑k)∑ j=1kπjN(xi❘μj,∑j);where γik is a probability that sample xi belongs to cluster k, N(xi|μk, Σk) is a probability density function of the k-th Gaussian distribution, which represents a probability density of a d-dimensional vector x appearing under a condition that the mean vector u and the covariance matrix Σk are given. x is an input sample to be evaluated, and d represents the dimension of the input sample;N(xi❘μk,∑k)=1(2π)d / 2<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>∑k<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>1 / 2exp(-12(x-μ)T∑k-1(x-μ));after acquiring the probability, updating the model parameters of the previous round in the maximization step M (Maximization), updating the meanμk=∑ i=1Nγik*xi∑ i=1Nγik, updating the covariance matrix∑k=∑ i=1Nγik(xi-μk)(xi-μk)T∑ i=1Nγik, updating the mixture coefficientπk=∑ i=1NγikN, N is the total sample size;repeating step E and step M until the log-likelihood function converges,log L(θ)=∑ i=1Nlog(∑ k=1KπkN(xi❘μk,∑k)),θ=μk,∑k,πk;according to the posterior probability γik, allocating each sample to a cluster with the highest posterior probability: zi=argMaxkγik.In one implementation of the present embodiment, the acquiring theoretical road feel feedback hand torque of the vehicle includes: acquiring a rack force signal and a vehicle speed of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to the steering wheel; searching for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed in a preset mapping table of the vehicle.Low pass filtering is applied to an original rack force Frack signal to eliminate high-frequency noise (such as motor vibration and road impact noise). A filtering transfer function isH(s)=1Ts+1,T is 0.001s, and a smooth rack force FFitRack is outputted after filtering. Based on a preset mapping curve between rack force and theoretical road feel feedback hand torque, FIG. 5 is a mapping curve between rack force and theoretical road feel feedback hand torque under a certain vehicle speed and working condition in an embodiment of the present application; bilinear interpolation is used to calculate theoretical road feedback hand torque corresponding to current rack force: Tdesired=LUT(FFitRack), where the mapping curve is generated based on experimental calibration data and exhibits a nonlinear characteristic—high gradient at low speed (enhanced road feel) and low gradient at high speed (suppressed disturbances).In one example, the calculating the desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient includes: acquiring a compensation torque set of the vehicle, and superimposing the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; multiplying the intermediate hand torque by the gain coefficient to obtain the desired hand torque.Optionally, the compensation torque includes: the compensation torque set Tcomp output by other functional modules (such as a return torque module, a damping compensation module, a friction compensation module, etc.).In the present embodiment, the acquiring the compensation torque set of the vehicle includes: collecting first compensation torque output from the return torque module of the vehicle, collecting second compensation torque output from the damping compensation module of the vehicle, and collecting third compensation torque output from the friction compensation module of the vehicle; and determining the first compensation torque, the second compensation torque, and the third compensation torque as the compensation torque set.FIGS. 6A-6B are schematic diagrams of calculating desired hand torque in an embodiment of the present application. In the road feel feedback control of the steer-by-wire system, the desired hand torque calculating module serves as a core algorithm unit and generates the desired hand torque that conforms to a current driving scene and driver characteristics by fusing multi-source torques and adjusting driver personalized gain. The execution process of the desired hand torque calculating module includes: inputting signals, where the signals include: rack force, which is rack axial force Frack calculated in real-time by the steering actuator (such as the steering motor) and represents force feedback of load on road transmitted to the steering wheel; compensation torque, which is the compensation torque set Tcomp output by other functional modules (such as the return torque module, the damping compensation module, the friction compensation module, etc.); a comprehensive gain coefficient, which is the personalized gain coefficient Gdriver output based on a driver style identifying module; taking the output compensation torque calculated by each functional module as input and then superimposing them with the theoretical road feel feedback hand torque to obtain the desired hand torque; multiplying the calculated comprehensive gain coefficient of the current driver by the desired hand torque and outputting the result.In one example, the performing the closed-loop calculation of the motor torque via the PID controller according to the desired hand torque and the actual hand torque includes: calculating the motor torque Toutput(t) using the following formula:Toutput(t)=Kpe(t)+Ki∫ 0te(t)dt+Kdde(t)dt+Tfeedforward,where t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of the steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.FIG. 7 is a schematic diagram of road feel simulation based on closed-loop control in an embodiment of the present application. A closed-loop control module obtains the closed-loop motor torque Toutput(t) by putting the desired hand torque and the real-time collected driver hand torque through a feedforward PID. Toutput(t) and the high-frequency road feel compensation torque Thf(t) calculated by the rack force are added together to obtain the final motor torque output to the motor.In one example, the calculating the high-frequency road feel compensation torque of the vehicle includes: acquiring a rack force signal of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to the steering wheel; performing high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; and determining the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the vehicle.The method for calculating the high-frequency road feel compensation torque is to perform high pass filtering (cut-off frequency of 50 Hz) on the rack force Frack signal, and extract the high-frequency road surface excitation component:Thf(t)=khf*ss+2πfcFrack(t);where fc is a cutoff frequency, and khf is a high-frequency gain coefficient.The calculated Toutput(t) and the high-frequency road feel compensation torque Thf(t) are added together to obtain the final road feel feedback torque to output to the motor, thereby achieving the road feel simulation.With the scheme of the present embodiment, based on the anti-windup strategy, when the error continues to exceed the limit, the integral term is frozen to avoid output saturation and improve dynamic response. Parameter adaptive mechanism is adopted: PID gain {Kp, Ki, Kd} is dynamically adjusted with the vehicle speed, where the proportional control is enhanced in a case of a low speed, and the differential damping is enhanced in a case of a high speed. A feedforward-feedback decoupling design is adopted: the feedforward term dominates the steady-state tracking, PID feedback suppresses disturbances, and the two complement each other in the frequency domain (feedforward compensates for the low frequency, feedback suppresses the high frequency). High-frequency compensation optimization is adopted: using phase lead correction to adjust the phase of Thf to ensure matching the motor response characteristics and avoid resonance. This module significantly improves the tracking accuracy and high-frequency detail restoration ability of road feel feedback through the feedforward-feedback collaborative control and the high-frequency dynamic compensation, and enhances the driver driving experience and the real-time execution and the accuracy of the calculation for dynamic feedback torque.The solution of the present embodiment provides a road feel simulation control method for a steer-by-wire vehicle system that self-adapts to a driver habit. FIGS. 8A-8B are framework diagrams of a road feel simulation system in an embodiment of the present application, including: a clustering analysis module, a driver habit identifying module, a desired hand torque calculating module, and a closed-loop controlling module. The clustering analysis module first collects driving data from different drivers at different speeds, performs clustering analysis on the collected data to obtain different driving habits, and then the driver habit identifying module identifies a current driver to obtain a driving habit of the current driver. The driving habit of the current driver is then input into the classification through clustering analysis to obtain a gain coefficient. The desired hand torque calculating module multiplies the hand torque output by the desired hand torque calculating module by this gain coefficient to obtain final desired hand torque. The closed-loop controlling module puts the desired hand torque and the real-time collected driver hand torque through a feedforward PID to obtain the closed-loop motor torque, and adds the closed-loop motor torque and the high-frequency road feel compensation torque obtained through the rack force to obtain the final motor torque output to the motor, which is transmitted to an HWA road feel simulation motor to complete the road feel simulation.The clustering analysis module offline collects the driving data from different drivers at different speeds, and takes the collected road feel feedback torque as the ideal road feel feedback torque for the driver at the current speed. Clustering analysis is performed on the collected driving data to classify driver habits into three types: economic, comfortable, and sporty.The driver habit identifying module identifies the driving data of the current driver and obtains the gain coefficient corresponding to the driving habit of the current driver.Based on the rack force signal obtained by estimating, and the target hand torque obtained using the vehicle speed lookup table, the desired hand torque calculating module converts the output of the return module, the damping module, and other modules into hand torque and then adds the hand torque and the target hand torque together, where the gain coefficient of the driver habit is incorporated into this step, to obtain the final desired hand torque.The closed-loop controlling module puts the desired hand torque and the real-time collected driver hand torque through a feedforward PID to obtain the closed-loop motor torque, and adds the closed-loop motor torque and the high-frequency road feel compensation torque obtained through the rack force together to obtain the final motor torque output to the motor, which is transmitted to an HWA road feel simulation motor to complete the road feel simulation.The present embodiment can also dynamically update the target posterior probability model according to the long-term behavior data of the driver, ensuring the accuracy and personalization of habit determination.By adopting the road feel simulation control method for a steer-by-wire system that self-adapts to a driver habit of the present embodiment, the problem that road feel transmission exists in traditional steering but is missing in steer-by-wire can be solved, avoiding the driver from losing judgment of vehicle dynamics, reducing driving safety risks, and improving driving safety, operation experience, and system stability.Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented through software and necessary general hardware platforms, or through hardware, but in many cases, the former is a better implementation. Based on this understanding, the technical solutions of the present application essentially or the part contributing to the prior arts can be embodied in the form of a software product, the computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disk, an optical disk) and includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present application.Embodiment 2The present embodiment also provides a road feel simulation apparatus for a steer-by-wire vehicle, and the apparatus is configured to implement the above embodiments and preferred implementations. The explanations already provided will not be repeated. As used below, the term “module” can refer to a combination of software and / or hardware that implements predetermined functions. Although the apparatus described in the following embodiment is preferably implemented in software, hardware or a combination of software and hardware implementation is also possible and envisioned.
[0105] FIG. 9 is a structural block diagram of a road feel simulation apparatus for a steer-by-wire vehicle according to an embodiment of the present application. As shown in FIG. 9, the apparatus includes:
[0106] a collecting module 91, configured to acquire historical driving style data of the steer-by-wire vehicle and collect actual hand torque of a driver of the steer-by-wire vehicle;
[0107] a first calculating module 92, configured to calculate a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel;
[0108] a second calculating module 93, configured to acquire theoretical road feel feedback hand torque of the vehicle, calculate desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient; and
[0109] a simulating module 94, including: a calculating unit, configured to perform a closed-loop calculation of motor torque via the PID controller according to the desired hand torque and the actual hand torque, and calculate high-frequency road feel compensation torque of the vehicle;
[0110] a simulating unit, configured to perform road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
[0111] Optionally, the first calculating module includes: an identifying unit, configured to identify a driving habit type of the driver according to the historical driving style data; a calculating unit, configured to calculate a gain coefficient of the driving habit type.
[0112] Optionally, the identifying unit includes: a processing subunit, configured to perform a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format; a selecting subunit, configured to select a target posterior probability that best matches the characteristic parameter from a pre-constructed posterior probability set, where the pre-constructed posterior probability set includes multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; a determining subunit, configured to determine a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
[0113] Optionally, the apparatus further includes: an acquiring module, configured to acquire a plurality of sample data before the first calculating module selects the target posterior probability that best matches the characteristic parameter from the pre-constructed posterior probability set;
[0114] an initializing module, configured to randomly initialize model parameters of a Gaussian mixture model, where the number of Gaussian distributions of the Gaussian mixture model is the same as the number of driving habit types;
[0115] an iteration module, configured to execute following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculating, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; updating the model parameters of the Gaussian mixture model based on the probability set; extracting updated model parameters of the Gaussian mixture model; and an output module, configured to output the posterior probability set after optimization of the Gaussian mixture model is completed.
[0116] Optionally, the calculating unit includes: an acquiring subunit, configured to acquire the target posterior probability of the driving habit type; a calculating subunit, configured to calculate the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk; where gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
[0117] Optionally, the second calculating module includes: a first acquiring unit, configured to acquire a rack force signal and a vehicle speed of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; a searching unit, configured to search for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed in a preset mapping table of the vehicle.
[0118] Optionally, the second calculating module includes: a second acquiring unit, configured to acquire a compensation torque set of the vehicle, and superimpose the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; a computing unit, configured to multiply the intermediate hand torque by the gain coefficient to obtain the desired hand torque.
[0119] Optionally, the second acquiring unit includes: a collecting subunit, configured to collect first compensation torque output from a return torque module of the vehicle, collect second compensation torque output from a damping compensation module of the vehicle, and collect third compensation torque output from a friction compensation module of the vehicle; a determining subunit, configured to determine the first compensation torque, the second compensation torque, and the third compensation torque as the compensation torque set.
[0120] Optionally, the calculating unit includes: a calculating subunit, configured to calculate the motor torque Toutput(t) using a following formula:Toutput(t)=Kpe(t)+Ki∫ 0te(t)dt+Kdde(t)dt+Tfeedforward,where t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×*{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of a steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.Optionally, the calculating unit includes: an acquiring subunit, configured to acquire a rack force signal of the vehicle in real-time, where the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; a filtering subunit, configured to perform high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; a determining subunit, configured to determine the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the vehicle.
[0122] It should be noted that the above modules can be implemented through software or hardware. For the latter, they can be implemented through the following methods, but not limited to: the above modules are all located in a same processor, or the above modules can be located in different processors in any combination.Embodiment 3
[0123] The embodiments of the present application also provide a storage medium, where a computer program is stored in the storage medium, where the computer program is configured to, when the computer program runs, execute the steps of any of the method embodiments described above.
[0124] Optionally, in the present embodiment, the storage medium described above can be configured to store a computer program for executing the following steps:
[0125] S1, acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle;
[0126] S2, calculating a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel;
[0127] S3, acquiring theoretical road feel feedback hand torque of the vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient;
[0128] S4, performing a closed-loop calculation of motor torque via a PID controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the vehicle; and
[0129] S5, performing road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
[0130] Optionally, in the present embodiment, the storage medium described above may include but is not limited to: a USB flash drive, a Read Only Memory (ROM), a Random Access Memory (RAM), a portable hard drive, a magnetic disk or an optical disk, and various other medium that can store computer programs.
[0131] The embodiments of the present application also provide an electronic device, including: a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the steps in the method embodiments described above.
[0132] Optionally, the electronic device may also include a transmission device and input and output devices, where the transmission device is connected to the processor described above, and the input and output devices are connected to the processor described above.
[0133] Optionally, in the present embodiment, the processor described above can be configured to execute the following steps through a computer program:
[0134] S1, acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle;
[0135] S2, calculating a gain coefficient of the driver according to the historical driving style data, where the gain coefficient is used to represent the driver's desired clarity degree for road feel;
[0136] S3, acquiring theoretical road feel feedback hand torque of the vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient;
[0137] S4, performing a closed-loop calculation of motor torque via a PID controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the vehicle; and
[0138] S5, performing road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
[0139] Optionally, a reference for specific examples in the present embodiment can be made to the examples described in the above embodiments and alternative embodiments, which will not be repeated here.
[0140] The apparatus embodiments described above are only illustrative, where the units described as separate components may or may not be physically separated, and the components illustrated as units may or may not be physical units, that is, they can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment.
[0141] Through the description of the above implementation, those skilled in the art can clearly understand that each implementation can be implemented through software and a general hardware platform, and of course, it can also be implemented through hardware. Based on this understanding, the technical solutions described above essentially or the part contributing to related technologies can be embodied in the form of software products, which can be stored in a computer-readable storage medium such as a ROM / RAM, a magnetic disk, an optical disk, etc., including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or parts of the embodiments.
[0142] It should be understood that the terms used in the text is only for the purpose of describing specific example implementations and is not intended to be limiting. Unless otherwise explicitly stated in the context, singular forms such as “a”, “an”, and “the” used in the text may also indicate the inclusion of plural forms. The terms “including”, “containing”, “comprising”, and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described in the text are not interpreted as requiring them to be executed in the specific order described or illustrated, unless the execution order is explicitly stated. It should also be understood that additional or alternative steps can be used.
[0143] The above description is only a specific implementation of the present application, which enables those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application will not be limited to the embodiments shown in this document, but will conform to the widest scope consistent with the principles and novel features applied in the text.
Claims
1. A road feel simulation method for a steer-by-wire vehicle, comprising:acquiring historical driving style data of the steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle;calculating a gain coefficient of the driver according to the historical driving style data, wherein the gain coefficient is used to represent the driver's desired clarity degree for road feel;acquiring theoretical road feel feedback hand torque of the steer-by-wire vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient;performing a closed-loop calculation of a motor torque via a Proportional-Integral-Derivative (PID) controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the steer-by-wire vehicle; andperforming road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
2. The road feel simulation method according to claim 1, wherein the acquiring the theoretical road feel feedback hand torque of the steer-by-wire vehicle comprises:acquiring a rack force signal and a vehicle speed of the steer-by-wire vehicle in real-time, wherein the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; andsearching for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed of the steer-by-wire vehicle in a preset mapping table of the steer-by-wire vehicle.
3. The road feel simulation method according to claim 1, wherein the calculating the desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient comprises:acquiring a compensation torque set of the steer-by-wire vehicle, and superimposing the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; andmultiplying the intermediate hand torque by the gain coefficient to obtain the desired hand torque.
4. The road feel simulation method according to claim 3, wherein the acquiring the compensation torque set of the steer-by-wire vehicle comprises:collecting first compensation torque output from a return torque module of the steer-by-wire vehicle, collecting second compensation torque output from a damping compensation module of the steer-by-wire vehicle, and collecting third compensation torque output from a friction compensation module of the steer-by-wire vehicle; anddetermining the first compensation torque, the second compensation torque, and the third compensation torque as the compensation torque set.
5. The road feel simulation method according to claim 1, wherein the performing the closed-loop calculation of the motor torque via the PID controller according to the desired hand torque and the actual hand torque comprises:calculating the motor torque Toutput (t) using a following formula:Toutput(t)=Kpe(t)+Ki∫ 0te(t)dt+Kdde(t)dt+Tfeedforward,wherein t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of a steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.
6. The road feel simulation method according to claim 1, wherein the calculating the high-frequency road feel compensation torque of the steer-by-wire vehicle comprises:acquiring a rack force signal of the steer-by-wire vehicle in real-time, wherein the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel;performing high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; anddetermining the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the steer-by-wire vehicle.
7. The road feel simulation method according to claim 1, wherein the calculating the gain coefficient of the driver according to the historical driving style data comprises:identifying a driving habit type of the driver according to the historical driving style data; andcalculating a gain coefficient of the driving habit type.
8. The road feel simulation method according to claim 7, wherein the identifying the driving habit type of the driver according to the historical driving style data comprises:performing a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format;selecting a target posterior probability that matches the characteristic parameter from a pre-constructed posterior probability set, wherein the pre-constructed posterior probability set comprises multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; anddetermining a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
9. The road feel simulation method according to claim 8, wherein before selecting the target posterior probability that matches the characteristic parameter from the pre-constructed posterior probability set, the method further comprises:acquiring a plurality of sample data;randomly initializing model parameters of a Gaussian mixture model, wherein a number of Gaussian distributions of the Gaussian mixture model is the same as a number of driving habit types;executing following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculating, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; updating the model parameters of the Gaussian mixture model based on the probability set; extracting updated model parameters of the Gaussian mixture model; andoutputting the posterior probability set after optimization of the Gaussian mixture model is completed.
10. The road feel simulation method according to claim 7, wherein the calculating the gain coefficient of the driving habit type comprises:acquiring a target posterior probability of the driving habit type;calculating the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk;wherein gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
11. A road feel simulation apparatus for a steer-by-wire vehicle, comprising: a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the computer program to cause the processor to:acquire historical driving style data of the steer-by-wire vehicle and collect actual hand torque of a driver of the steer-by-wire vehicle;calculate a gain coefficient of the driver according to the historical driving style data, wherein the gain coefficient is used to represent the driver's desired clarity degree for road feel;acquire theoretical road feel feedback hand torque of the steer-by-wire vehicle, calculate desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient; andperform a closed-loop calculation of a motor torque via a Proportional-Integral-Derivative (PID) controller according to the desired hand torque and the actual hand torque, and calculate high-frequency road feel compensation torque of the steer-by-wire vehicle; and perform road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
12. The road feel simulation apparatus according to claim 11, wherein the processor executes the computer program to cause the processor to:acquire a rack force signal and a vehicle speed of the steer-by-wire vehicle in real-time, wherein the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel; andsearch for the theoretical road feel feedback hand torque that matches the rack force signal and the vehicle speed of the steer-by-wire vehicle in a preset mapping table of the steer-by-wire vehicle.
13. The road feel simulation apparatus according to claim 11, wherein the processor executes the computer program to cause the processor to:collect first compensation torque output from a return torque module of the steer-by-wire vehicle, collect second compensation torque output from a damping compensation module of the steer-by-wire vehicle, and collect third compensation torque output from a friction compensation module of the steer-by-wire vehicle;determine the first compensation torque, the second compensation torque, and the third compensation torque as a compensation torque set;superimpose the compensation torque set and the theoretical road feel feedback hand torque to obtain intermediate hand torque; andmultiply the intermediate hand torque by the gain coefficient to obtain the desired hand torque.
14. The road feel simulation apparatus according to claim 11, wherein the processor executes the computer program to cause the processor to:calculate the motor torque Toutput(t) using a following formula:Toutput(t)=Kpe(t)+Ki∫ 0te(t)dt+Kdde(t)dt+Tfeedforward,wherein t is a closed-loop period, e(t)=Tdesired(t)−Tactual(t), Tdesired(t) represents the desired hand torque, Tactual(t) is the actual hand torque, Kp, Ki, and Kd are a proportional gain, an integral gain, and a derivative gain of the PID controller, respectively, Tfeedforward is a feedforward control term, and Tfeedforward=G×Tdesired(t)+a×{dot over (θ)}(t)+b×{umlaut over (θ)}(t)+c, G is the gain coefficient, {dot over (θ)}(t) is angular velocity of a steering wheel, {umlaut over (θ)}(t) is angular acceleration of the steering wheel, and a, b, and c are constants.
15. The road feel simulation apparatus according to claim 11, wherein the processor executes the computer program to cause the processor to:acquire a rack force signal of the steer-by-wire vehicle in real-time, wherein the rack force signal is used to represent force feedback of load on road transmitted to a steering wheel;perform high pass filtering on the rack force signal to extract a high-frequency road surface excitation component; anddetermine the high-frequency road surface excitation component as the high-frequency road feel compensation torque of the steer-by-wire vehicle.
16. The road feel simulation apparatus according to claim 11, wherein the processor executes the computer program to cause the processor to:identify a driving habit type of the driver according to the historical driving style data; andcalculate a gain coefficient of the driving habit type.
17. The road feel simulation apparatus according to claim 16, wherein the processor executes the computer program to cause the processor to:perform a preprocessing on the historical driving style data to obtain a characteristic parameter in a preset distribution format;select a target posterior probability that matches the characteristic parameter from a pre-constructed posterior probability set, wherein the pre-constructed posterior probability set comprises multiple posterior probabilities, and each posterior probability corresponds to one driving habit type; anddetermine a driving habit type corresponding to the target posterior probability as the driving habit type of the driver.
18. The road feel simulation The apparatus according to claim 17, wherein before selecting the target posterior probability that matches the characteristic parameter from the pre-constructed posterior probability set, the processor executes the computer program to cause the processor to:acquire a plurality of sample data;randomly initialize model parameters of a Gaussian mixture model, wherein a number of Gaussian distributions of the Gaussian mixture model is the same as a number of driving habit types;execute following steps iteratively until the model parameters of the Gaussian mixture model meet a preset condition: calculate, in the Gaussian mixture model, a posterior probability of each of the plurality of sample data belonging to each cluster, to obtain a probability set of all sample data; update the model parameters of the Gaussian mixture model based on the probability set; extract updated model parameters of the Gaussian mixture model; andoutput the posterior probability set after optimization of the Gaussian mixture model is completed.
19. The road feel simulation apparatus according to claim 16, wherein the processor executes the computer program to cause the processor to:acquire a target posterior probability of the driving habit type;calculate the gain coefficient G of the driving habit type using a following formula: G=P(z=k|xcurrent, θ)×gk;wherein gk is a gain reference coefficient corresponding to the driving habit type k of the driver, and P(z=k|xcurrent, θ) is the target posterior probability corresponding to the driving habit type k of the driver.
20. A non-transitory storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to: when the computer program is executed by a processor, cause the processor to execute steps of:acquiring historical driving style data of a steer-by-wire vehicle and collecting actual hand torque of a driver of the steer-by-wire vehicle;calculating a gain coefficient of the driver according to the historical driving style data, wherein the gain coefficient is used to represent the driver's desired clarity degree for road feel;acquiring theoretical road feel feedback hand torque of the steer-by-wire vehicle, calculating desired hand torque according to the theoretical road feel feedback hand torque and the gain coefficient;performing a closed-loop calculation of motor torque via a Proportional-Integral-Derivative (PID) controller according to the desired hand torque and the actual hand torque, and calculating high-frequency road feel compensation torque of the steer-by-wire vehicle; andperforming road feel simulation for the steer-by-wire vehicle after adding the motor torque and the high-frequency road feel compensation torque.
