The present invention relates to methods and systems for controlling a steering system, and more particularly to average friction learning and average friction change estimation in an electric power steering system.
In Electric Power-assisted Steering (EPS) systems, system friction is an important characteristic which can significantly affect the EPS performance and steering feel. During system calibration, the system friction is carefully addressed in order to achieve premium steering feel. However, the system friction is not constant over the EPS system lifespan, and there are many factors affecting the system friction. Some of these factors have a long term impact on the system friction, such as gear wear and grease degradation. Some other factors can affect the system friction level in a relatively rapid way, such as temperature.
A hysteresis loop is commonly used in describing the characteristics of a steering system. In an electric power-assisted steering system, many EPS tuning and compensation values are related to a hysteresis loop. Depending on the variables in the hysteresis loop, some EPS system characteristics can be derived directly from the hysteresis loop. For example, from a hysteresis loop formed by a total steering torque in a column coordinate versus a hand wheel angle, total EPS friction can be approximated as half of the hysteresis height at a given hand wheel angle.
EPS hysteresis loops are traditionally obtained offline during calibration, and all EPS calibration values related to the hysteresis loops are then derived and programmed in persistent memory, such as erasable programmable read only memory (EPROM) or flash memory. However, the EPS system characteristics will change due to environmental changes. At different life stages of an EPS system, a set of calibration parameters which was optimized for the original EPS system will not necessarily continue to give optimal performance.
Efforts have been made to compensate for the system friction, such as hysteresis compensation and temperature compensation functions. For hysteresis compensation, a vehicle speed-dependent curve is used to generate a certain amount of compensation torque to obtain desired steering feel, and this speed-dependent curve is calibrated during system calibration for a given vehicle model for the system friction level at that time. During the life of the EPS system, as the friction changes, the then-to-be-the-best speed dependent hysteresis compensation curve becomes sub-optimal, and an adjustment of the hysteresis compensation curve is desired.
A system and methods are provided for real-time compensation for average friction changes. In one embodiment, a learning function is configured to determine a plurality of piecewise linear function coefficients based on measured data for an electric power-assisted steering (EPS) system. The measured data include a vehicle speed. The learning function is further configured to model a hysteresis loop of the EPS system using a piecewise linear function based on the plurality of piecewise linear function coefficients to determine an average friction. An average friction change compensator is configured to adjust friction-based EPS system compensation based on the average friction for a plurality of vehicle speed intervals of the vehicle speed.
In another embodiment, a method determines a plurality of piecewise linear function coefficients based on measured data for an EPS system. The measured data include a vehicle speed. A hysteresis loop of the EPS system is modeled using two piecewise linear functions based on the plurality of piecewise linear function coefficients to determine an average friction. Friction-based EPS system compensation is adjusted based on the average friction for a plurality of vehicle speed intervals of the vehicle speed.
In a further embodiment, a method includes initializing a friction compensation system based on determining that the friction compensation system is in a resetting mode. A baseline friction for an EPS system is learned based on determining that the friction compensation system is in a calibration mode. Friction compensation is dynamically adjusted to account for changes from the learned baseline friction based on determining that the friction compensation system is in a running mode.
These and other advantages and features will become more apparent from the following description taken in conjunction with the drawings.
The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
Referring now to the Figures, where the invention will be described with reference to specific embodiments, without limiting the same, the Figures collectively depict systems and processes for real-time compensation for average friction changes. In exemplary embodiments, real-time compensation for average friction changes is provided. A learning-based hysteresis modeling approach with piecewise linear functions can be used for an average friction change identification and compensation process. Embodiments can be implemented in a system including a microprocessor and memory devices, where the various functions described herein may be distributed between various hardware and/or software components. The microprocessor and memory devices can be incorporated within an embedded control system, such as an electronic power steering module, which can further include communication interfaces, and analog and digital I/O interfaces for acquiring sensor signals and driving one or more actuators.
In exemplary embodiments, in order to provide compensation due to changes in the physical system characteristics, such changes are identified online and in a real-time manner. A generic piecewise linear function model is described herein to approximate any curve, and a learning algorithm is described by which the piecewise linear function coefficients can be obtained iteratively based on measured data. This modeling approach with piecewise linear functions and learning is then applied to model the hysteresis loop between the total column torque versus hand wheel angle to identify the EPS overall system friction level.
Referring now to
As shown in
A control module 40 receives the one or more sensor signals input from sensors 31, 32, 33, and may receive other inputs, such as a vehicle speed signal 34 and a lateral acceleration signal 36. The control module 40 generates a compensated command signal to control the steering actuator motor 19 of the steering system 12 based on one or more of the inputs and further based on the steering control systems and methods of the present disclosure with friction-based EPS system compensation.
The control module 40 includes a learning module 102, a filter module 104, an average friction change compensator 106, and a mode control module 108. The learning module 102 receives a hand wheel angle 110, a hand wheel velocity 112, a hand wheel torque 114, a motor torque 116, lateral acceleration 118, vehicle speed 120, learning constraints 122, and speed ranges and hand wheel segments 124. The speed ranges and hand wheel segments 124 define a plurality of vehicle speed intervals and hand wheel angle segments across a broader vehicle speed range and hand wheel angle range of interest. The learning module 102 includes a learning function that generates and updates piecewise linear function coefficients 126. The learning module 102 also generates an average friction 128 and learning status 130. The filter module 104 operates on the average friction 128 and learning status 130 according to filter configuration 132. The average friction change compensator 106 receives filtered input from the filter module 104 and updates a friction-based EPS system compensation 136 based on the learning status 130 and compensator configuration 134.
Based on mode 138, the mode control module 108 can modify operation of the learning module 102, filter module 104, and average friction change compensator 106, which are collectively referred to as friction compensation system 140. The friction compensation system 140 can support fast and slow learning of fast and slow frictions as further described herein. In exemplary embodiments, there are three defined working values for the mode 138 to control the friction compensation system 140: calibration mode, running mode, and resetting mode. In calibration mode, baseline (normal) friction is learned and saved in memory (e.g., EPROM, flash, etc.), and compensation is forced to zero. In running mode, the current friction is compared with the baseline friction, and compensation is made accordingly. In resetting mode, the friction compensation system 140 is reset to an initial state.
The baseline friction may be learned after other EPS system calibration variables have been calibrated, in particular the calibration variables related to EPS system friction level such as a hysteresis compensation table, and the desired steering feel has been obtained. The following steps can be followed to obtain the baseline friction:
In exemplary embodiments, learning by the learning module 102 is performed based on one or more piecewise linear functions. In a Cartesian coordinate system, for a given non-repeated set of points (Xi,Yi) where i=0, 1, . . . , N and X0<X1< . . . <XN, a piecewise linear function 300 can be formed by connecting these points consecutively as shown in
Collectively, a piecewise linear function ypl(x) can be written as
The piecewise linear function ypl(x) can be written as a weighted linear combination of a set of functions given in φ. The weight of each element in φ is the y coordinate of the corresponding node point.
An arbitrary curve 400 on the interval [Xs,Xe] can be approximated using the piecewise linear function formulated above as depicted in
Finding weights, i.e. θ, can be solved as an optimization problem. For a set of measured data points (xi, yi) where i=1, . . . , M, the corresponding set (φi,yi) of the same size can be derived immediately. With the estimated parameter {circumflex over (θ)}=[Ŷ0,Ŷ1, . . . , ŶN]T, a piecewise linear function can be written as ŷ(x)=φT{circumflex over (θ)}, where ŷ(x) is the estimated output.
Finding the estimated parameter {circumflex over (θ)}=[Ŷ0, Ŷ1, . . . , ŶN]T can be solved as an optimization problem such that the resulting estimated parameter gives the minimal estimation error for a given sample set in terms of a chosen criterion. Though different optimization criteria exist, among them, the most commonly used is mean square error given as:
where M is the number of sample points. The optimization can be formulated as finding the parameters vector {circumflex over (θ)} to minimize the mean squared error as:
Parameter optimization can be solved using multiple algorithms. In a real-time application, optimization algorithms may include a recursive least square algorithm (RLS) and a least mean square algorithm (LMS), which are recursive and can be implemented in a real-time system.
Following the recursive least square algorithm (RLS) approach, the recursive least square algorithm is given as:
where k=1, 2, . . . w/initial conditions such that
{circumflex over (θ)}(0): an arbitary N+1 column vector
P(0): a (N+1)×(N+1) positive definite matrix
αε(0,1]: forgetting factor
με(0,1]: learning rate gain
The forgetting factor α and the learning rate gain μ can be used to tune the learning rate. A larger α value corresponds to a slower learning rate, which is proper for a slow changing process, while a smaller α value corresponds to a fast learning rate, which can track a fast changing process but is more sensitive to input measurement noise. A larger learning rate gain μ results in a faster learning. These two control parameters can be tuned for the target application.
When α is less than 1, the covariance matrix P will increase exponentially, and has a “blow up” problem. When α equals to 1, the covariance matrix P will get smaller after some iteration, and make the gain dramatically smaller. In this case {circumflex over (θ)}(k) may stop varying. For both cases, the issue can be solved by resetting the covariance matrix P after about 10-20 iterations. Though the initial values of {circumflex over (θ)} and P can be any N+1 column vector and (N+1)×(N+1) positive definite matrix, they are normally initialized as a N+1 zero vector, and an (N+1)×(N+1) identity matrix, i.e.,
In this particular application to the estimation of the piecewise linear function coefficients, the calculation of RLS procedure can be optimized considering that in the vector φ only two elements are nonzero at maximum for a given x, e.g., for xε[Xi-1,Xi), only i-th and (i+1)-th elements of φ are possibly nonzero, and all other elements are always zeros. This property can be used to reduce the load of the calculation which involves φ.
Alternatively, the least mean square (LMS) algorithm can be applied in the estimation of the piecewise linear function coefficients. The parameter {circumflex over (θ)} can be recursively found by:
{circumflex over (θ)}(k)={circumflex over (θ)}(k−1)+η(y(k)−φT(k){circumflex over (θ)}(k−1))φ(k).
{circumflex over (θ)}(0): an arbitary N+1 column vector
η: a learning gain
In the approach, the learning gain η is the only tuning parameter to control the convergence rate of learning. If η is chosen as a very small value, the learning convergence rate is very slow. A larger value of η leads to a faster learning convergence rate but it becomes less stable. The largest value of η is limited by the inverse of the largest eigenvalue λmax of the correlation matrix R where R(k)=φ(k)φT(k). The system becomes unstable if η is greater than or equal to 2/λmax. Compared with the RLS algorithm, the LMS algorithm is simpler and more efficient in terms of calculation, and also takes less computer memory in the real-time implementation, but in general, it converges slower than the RLS algorithm.
Due to the system overall friction in the EPS system, a hysteresis loop can be observed from a plot of the total column torque versus the hand wheel angle or a plot of the total column torque versus the vehicle lateral acceleration, and the system total friction can be approximated as a half of the hysteresis magnitude from both hysteresis loops. The system friction can be derived from modeling the hysteresis loop of total column torque versus hand wheel angle. The process, as described in greater detail herein, can be readily applied to model the hysteresis of the total column torque versus the lateral acceleration as well as any other hysteresis loops.
In exemplary embodiments, since at different vehicle speeds the hysteresis of the total column torque versus the hand wheel angle exhibits different shapes and sizes, it is necessary to divide the interested vehicle speed range into Nspd smaller vehicle speed intervals (also referred to as vehicle speed ranges) such that in each vehicle speed interval, the hysteresis loop is more consistent.
For a hysteresis loop corresponding to the k-th vehicle speed interval, increasing and decreasing portions of the hysteresis loop can be approximated using two piecewise linear functions, parameterized by θVehSpd,kInc and θVehSpd,kDec, respectively, with the application of the piecewise linear function and learning algorithms previously described, the coefficients θVehSpd,kInc and θVehSpd,kDec of these two piecewise linear functions can be obtained via learning based on the measured hand wheel angle and total column torque.
In order to minimize the variances caused by some unknown or uncontrolled factors, multiple constraints are adopted such that the recursive learning only happens when all of these constraints are satisfied in exemplary embodiments.
The example flow diagram in
The interested vehicle speed range is divided into Nspd vehicle speed intervals defined as (vVehSpd,ilb,vVehSpd,iub) where i=1, . . . , Nspd. The interested hand wheel angle range is segmented into N segments by (N+1) points, i.e. θ0hw, θ1hw, . . . , θNhw on a hand wheel angle axis. Vehicle speed intervals and hand wheel angle segments can be configured according to the speed ranges and hand wheel segments 124 of
At the beginning of each sampling cycle, all relevant inputs are acquired, and inputted into the FIFO buffer 602. All learning conditions are checked by examining the buffer data. When all conditions are satisfied, the middle elements in the FIFO buffer 602 for the vehicle speed vVehSpd, the hand wheel angle θhw, and the total column torque τTot are selected for the following learning procedure. The vehicle speed vVehSpd is first compared with vehicle speed interval lower and upper boundaries to identify which vehicle speed interval should be used at blocks 606-608. Then based on the hand wheel velocity direction or hand wheel angle monotonicity, it can be determined whether the learning should occur for the hand wheel angle increasing direction or hand wheel angle decreasing direction of the hysteresis loop. At the end, the learning process as previously described is applied, and the piecewise linear function coefficients θVehSpd,kInc or θVehSpd,kDec are updated based on the estimation errors.
The average friction of each vehicle speed interval is taken as half of the corresponding hysteresis loop size. Here, a weighted-average approach is used to calculate the average friction from the learned hysteresis loop. For the k-th vehicle speed, the increasing and decreasing portions of the hysteresis loop are approximated by two piecewise linear functions with the coefficient set by θVehSpd,kInc and θVehSpd,kDec, respectively. The weighted average friction is given by the equation below.
where NVehSpd,kInc,i and NVehSpd,kDec,i are the counters in the increasing and decreasing directions of the i-th hand wheel segment of the k-th vehicle speed interval, respectively. The average friction for all NSpd vehicle speeds can be put in vector form as: [favgSpd,1 favgSpd,2 . . . favgSpd,N
The average frictions [favgSpd,1 favgSpd,2 . . . favgSpd,N
The fast friction filter 702 can receive numerator coefficients 708 and denominator coefficients 710 from the filter configuration 132 of
For safety reasons, the fast and slow frictions 711 and 715 are limited by brackets which are determined by the ending fast and slow friction of the previous ignition cycle and the allowable friction changes over ignition cycle. As the shown in
The details of the limit blocks 716 and 718 of
Returning to
The output of low pass filter 910 is a single value average friction change 921 for the current vehicle speed. The lookup table 922 is used to tune the compensation level for a given average friction change. In the example system, compensation is added to a hysteresis compensation module—hysteresis compensation table 924 of the friction-based EPS system compensation 136. For integration purposes, an 8-element vector 923 is populated in this example with the output of the lookup table 922, which is the same dimension as the hysteresis compensation module compensation table 924. This vector is added to Y-values of the hysteresis compensation module—hysteresis compensation table 924. In this way, the Y-values of the hysteresis compensation module—hysteresis compensation table 924 are shifted up or down by the amount of compensation provided for the average friction change.
While the invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the invention is not limited to such disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. Additionally, while various embodiments of the invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the invention is not to be seen as limited by the foregoing description.
This patent application claims priority to U.S. Provisional Patent Application Ser. No. 61/654,136, filed Jun. 1, 2012 which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
7239104 | Heilig et al. | Jul 2007 | B2 |
20100256870 | Klein | Oct 2010 | A1 |
20120191301 | Benyo et al. | Jul 2012 | A1 |
Entry |
---|
Shetty, Kiran Kumar, “A novel algorithm for uplink interference suppression using smart antennas in mobile communications,” Masters thesis, Department of Electrical and Computer Engineering, Florida State University. pp. 54-65. Feb. 2004. |
Asada, Harry, 2.160 Identification, Estimation, and Learning, Spring 2006. [Lecture Notes 2 and 3] (Massachusetts Institute of Technology: MIT OpenCourseWare), http://ocw.mit.edu (Accessed Jan. 15, 2013), 13 pages. |
J. Principe, et al., “Neural and Adaptive Systems: Fundamentals through Simulations,” Wiley 2000, 4 pages. |
Number | Date | Country | |
---|---|---|---|
20130325263 A1 | Dec 2013 | US |
Number | Date | Country | |
---|---|---|---|
61654136 | Jun 2012 | US |