Method and system for adaptive compensation of dry friction
10591876 ยท 2020-03-17
Assignee
Inventors
Cpc classification
G05B13/042
PHYSICS
G05B19/19
PHYSICS
G06F17/14
PHYSICS
International classification
Abstract
A dry friction compensation method for at least one mass or inertia M mobile under the effect of at least one effector element controlled by a force or torque control signal U, the motion of the mass or inertia being characterized by a motion signal Y chosen among one or several of the position X, the speed V and the acceleration, the method includes: defining an ideal model of the closed loop; defining a dry friction compensation control law; the dry friction compensation control law being based on the following friction model:
Claims
1. A dry friction compensation method for a mechanical system of an apparatus that includes a mass or inertia M that is mobile under effect of an effector element controlled by a force or torque control signal U, the mass or inertia M having to move according to instructions of a setpoint signal C.sub.r chosen among at least one of a position X.sub.r, a speed V.sub.r, and an acceleration, a motion of the mass or inertia being characterized by a motion measurement signal Y chosen among at least one of the position X, the speed V, and the acceleration, the method comprising: defining an ideal model of a closed loop, by receiving as an input the setpoint signal C.sub.r, and producing as an output an ideal motion signal Ym relating to the motion of the mass or inertia according to an ideal model of the mechanical system; and defining a dry friction compensation control law, by receiving as an input the setpoint signal C.sub.r and producing as an output the control signal U for the effector element that puts the mass or inertia in motion and whose motion is measured by a motion measurement sensor, said sensor producing a motion measurement signal Y, the dry friction compensation control law being adaptive as a function of a parameter of a dry friction value S, said dry friction compensation control law being based on the following friction model:
2. The method according to claim 1, wherein the estimation of the dry friction value is calculated from:
{dot over ({circumflex over (S)})}=.Math..sub.f(t).Math.(t) with: being a strictly positive scalar corresponding to the adaptation gain of the adaptive compensation control law, and
(t)=sgn(.sub.r(t).Math.+V(t)) where V(t) is a speed motion measurement signal, is a minor time constant, and .sub.r is an acceleration piloting signal.
3. The method according to claim 2, wherein the adaptation gain is variable.
4. The method according to claim 2, wherein a state-feedback control law is implemented and the acceleration piloting signal is calculated by
.sub.r=U.sub.r+K.sub.C1(Y.sub.rY)+K.sub.C2(V.sub.rV) with X.sub.r, V.sub.r being setpoint signals, X, V being motion measurement signals, and K.sub.C1 and K.sub.C2 being state-feedback gains.
5. The method according to claim 2, wherein a PID corrector, of proportional-integral-derivative functions, is implemented, and wherein the proportional-integral-derivative functions of the PID are added to produce the acceleration control signal .sub.r.
6. The method according to claim 2, wherein a PID corrector, of proportional-integral-derivative functions, is implemented, and wherein the PID produces, by combination of the proportional-integral-derivative functions, an intermediate control signal U.sub.PID, said intermediate control signal U.sub.PID used in the adaptive dry friction compensation control law to produce the acceleration control signal .sub.r after passage through a high-pass filter.
7. The method according to claim 2, wherein an RST or LQG, H.sub. corrector is implemented.
8. The method according to claim 1, wherein a speed-feedback control is implemented, and wherein, in the motion measurement signals, the speed is chosen among: a speed of the mass or inertia measured by a sensor, a speed of the mass or inertia calculated from the position of the mass or inertia by derivative calculation, and a speed {circumflex over (V)} of the mass or inertia by estimated calculation by means of a state observer.
9. The method according to claim 1, wherein a position-feedback control is implemented, and wherein, in the motion measurement signals, the position X is chosen among: a position of the mass or inertia measured by a sensor, and a position of the mass or inertia calculated from a measurement of a motion signal other than the position of the mass or inertia.
10. The method according to claim 1, wherein the estimation of the dry friction value is calculated from:
{dot over ({circumflex over (S)})}=.Math.(t).Math.(t), with: being a strictly positive scalar corresponding to the adaptation gain of the adaptive compensation control law, and
F(s)=M.Math.(K.sub.c2.Math.s+K.sub.c1)
(t)=sgn(.sub.r(t).Math.+V(t)) where V(t) is a speed motion measurement signal, is a minor time constant, and .sub.r is an acceleration piloting signal.
11. The method according to claim 10, wherein the adaptation gain is variable.
12. The method according to claim 10, wherein a state-feedback control law is implemented and the acceleration piloting signal is calculated by
.sub.r=U.sub.r+K.sub.c1(Y.sub.r=Y)+K.sub.c2(V.sub.rV) with X.sub.r, V.sub.r being setpoint signals, X, V being motion measurement signals, and K.sub.C1 and K.sub.C2 being state-feedback gains.
13. The method according to claim 10, wherein a PID corrector, of proportional-integral-derivative functions, is implemented, and wherein the proportional-integral-derivative functions of the PID are added to produce the acceleration control signal .sub.r.
14. The method according to claim 10, wherein a PID corrector, of proportional-integral-derivative functions, is implemented, and wherein the PID produces, by combination of the proportional-integral-derivative functions, an intermediate control signal U.sub.PID, said intermediate control signal U.sub.PID used in the adaptive dry friction compensation control law to produce the acceleration control signal .sub.r after passage through a high-pass filter.
15. The method according to claim 10, wherein an RST or LQG, H.sub. corrector is implemented.
16. A device, comprising: a calculator; a motion measurement sensor configured to produce a mass or inertia motion measurement signal Y corresponding to a motion of a mass or inertia M that is mobile under effect of an effector element and moving according to instructions of a setpoint signal C.sub.r chosen among at least one of a position X.sub.r, a speed V.sub.r, and an acceleration, said motion measurement signal Y corresponding to at least one of the position X, the speed V, and the acceleration of the mass or inertia; and means for real time calculation in the calculator according to an adaptive dry friction compensation control law to produce a control signal U for the effector element, the calculator and means for real time calculation being configured to define the dry friction compensation control law by receiving the setpoint signal C.sub.r as input and producing as an output the control signal U for the effector element that puts the mass or inertia in motion and whose motion is measured by the motion measurement sensor to produce the motion measurement signal Y, the dry friction compensation control law being adaptive as a function of a parameter of dry friction value S, said dry friction compensation control law being based on the following friction model:
17. An apparatus, comprising: a mechanical system including at least one mass or inertia M that is mobile under the effect of an effector element controlled by a control signal U, the mass or inertia having to move according to the instructions of a setpoint signal C.sub.r chosen among at least one of a position X.sub.r, a speed V.sub.r, and an acceleration; a motion measurement sensor that measures a motion of the mass or inertia and produces a motion measurement signal Y corresponding to at least one of the position X, the speed V and the acceleration of the mass or inertia; and a calculator, including means for adaptive compensation calculation according to an adaptive dry friction compensation control law to produce the control signal U, the calculator and means for adaptive compensation calculation configured to define the dry friction compensation control law by receiving the setpoint signal C.sub.r as input and producing as an output the control signal U for the effector element that puts the mass or inertia in motion and whose motion is measured by the motion measurement sensor to produce the motion measurement signal Y, the dry friction compensation control law being adaptive as a function of a parameter of dry friction value S, said dry friction compensation control law being based on the following friction model:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention, without being limited thereby, will now be exemplified by the following description of embodiments and implementation modes in relation with:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(12) The detailed description of the invention will first begin by a presentation of the model of Ph. de Larminat before passing to an exemplary embodiment of the invention in which the compensation control law is made adaptive for the model in question.
(13) The model presented hereinafter is that of a mass or inertia subjected to a force by an actuator, for example a mobile element operated by an electrical motor and in contact with a wall, this contact causing dry frictions.
(14) It is a particularly simple model, which can concern both translational and rotational motions.
(15) Let's consider the following types of data:
(16) M: Mass or inertia of the mobile mechanical system,
(17) S: Coulombian friction module
(18) U: Driving force corresponding to a effort/force or torque control, not to be mixed
(19) up with U.sub.r (acceleration setpoint) that will be introduced later,
(20) P: Disturbing force or torque due to the dry friction,
(21) V: Speed of the system measured by a sensor,
(22) X: Position of the system measured by a sensor,
(23) According to the fundamental relation of the dynamics, we have:
(24)
(25) where {dot over (v)} is an acceleration.
(26) The friction model proposed by Ph. de Larminat is the following:
(27)
(28) where V is the speed of the mobile mass or inertia subjected to the friction.
(29) In equation (2), is a minor time constant, for example of a few milliseconds.
(30) By combining (1) and (2), we obtain:
(31)
(32) The block diagram corresponding to the model (3) of Ph. de Larminat is shown in
(33) To this raw model may be added various elements, for example a load disturbance C or also various feedbacks depending on X and/or V (return forces, viscous friction, non linearities . . . ) noted W, so that the equation becomes:
(34)
(35) Moreover, a more complete model has been developed by the same author for taking into account the Stribeck effect.
(36) The dry friction compensation law developed in the same book, which is not adaptive, is based on a state-feedback control of the type:
U=M.Math.(U.sub.r+K.sub.c1(X.sub.rX)+K.sub.c2(V.sub.rV))(5)
where
X.sub.r: Position setpoint by a reference coming from a trajectory generator, for this position control law,
V.sub.r: Speed setpoint by a reference coming from a trajectory generator,
U.sub.r: Acceleration setpoint by a reference coming from a trajectory generator,
K.sub.C1 and K.sub.C2 are state-feedback gains,
X: a position signal of the mass or inertia subjected to friction,
V: a speed signal of the mass or inertia subjected to friction.
The speed and position signals of the mass or inertia that are motion measurement signals may come from sensors or be calculated: the speed V that is a motion measurement signal can be estimated from X if no speed sensor provides this information.
(37) To the raw state-feedback control law of equation (5), it is possible to add a compensation for the load disturbances C and other feedbacks W so that we have:
U=M.Math.(U.sub.r+K.sub.c1(X.sub.rX)+K.sub.c2(V.sub.rV))+C+W(Y.sub.r,V)(6)
(38) The friction compensation in the above-mentioned book is made by adding in equation (6) a term:
S.Math.sgn(V+.sub.r.Math.)(7)
with:
.sub.r=U.sub.r+K.sub.c1(X.sub.rX)+K.sub.c2(V.sub.rV)(8)
(39) sgn( ) being the function sign.
(40) Finally, the friction compensation law proposed by Ph. de Larminat is written:
U=M.Math..sub.r+C+W(Y.sub.r,V)+S.Math.sgn(V+.sub.r.Math.)(9)
(41) The block diagram corresponding to this friction compensation law (9) of Ph. de Larminat is shown in
(42) The friction compensation law in equation (9) has the drawback not to be adaptive and it has therefore a limited industrial interest, because the variations of the friction parameters are significant over the life of a product.
(43) We will now explain the method of the invention that allows, by making the compensation law (9) adaptive, obtaining a better operation of the machines including controlled mobile parts undergoing friction. The invention hence allows obtaining an adaptive friction compensation control law based on a non-adaptive dry friction compensation law (9) such as that of Ph. de Larminat.
(44) This adaptive compensation control law estimates S (Coulombian friction Module) in real time, the estimate being denoted g, so as to inject this parameter into the compensation law.
(45) If the control law (5) is applied to the system described by equation (1), with the hypothesis P=0, a perfect follow-up of the setpoint instruction Y.sub.r by Y is obtained, i.e.:
Y(t)=Y.sub.r(t)t(10)
(46) In the presence of dry friction, i.e. (t)0, equation (10) is no longer verified, if there is not the compensation device described by equations (7) and (9).
(47) Let's define the variation in the setpoint (t) between the output of an ideal model of the closed loop Y.sub.m(t) and the output of the real closed loop Y(t) (including the system subjected to the dry frictions), subjected to the same setpoint Y.sub.r(t):
(t)=Y.sub.r(t)Y(t)(11)
(48) The adaptive control law that we propose to develop has for objective to minimize a criterion relating to (t). For example, the minimization may relate: .sup.2(t) at each instant of time, .sup.2(t)dt.
(49) Other minimization criteria based on (t) may also be used.
(50) More generally, (t) may be defined as a calculated variation between an output Y.sub.m of an ideal model of the desired closed loop and an outputalso called feedback signal/signals , in particular by measurement, Y of the mobile mechanical system, both subjected to the setpoint Y.sub.r, i.e.:
(t)=Y.sub.mY(12)
(51) Equation (11) corresponds to a particular case in which the ideal model of the closed loop corresponds to a unit gain.
(52) It is to be understood that the variation may be calculated between any kind of outputs of the same type of the ideal model and of the mechanical system, and not only of the position X type. Hence, the variation may be calculated by difference between outputs of the speed type.
(53) The adaptive law consists, from (t), in determining , estimate of the Coulomb module S and in injecting this estimate into equation (9).
(54) The schematic representation of the principle of the adaptive dry friction compensation control law is given in
(55) The non-adaptive control law according to equation (9) proposed by Ph. de Larminat provides a perfect compensation for the friction model of equation (3), provided that the estimate (t) of S(t) is exact. In this case, we have simply:
{dot over (V)}=.sub.r(13)
(56) Generally, the estimation of S is not perfect, and the estimate variation is defined:
{tilde over (S)}=S(14)
(57) From the moment that the estimation (t) of S(t) is imperfect, it is obtained by combining equations (9), (3) and (14):
(58)
(59) But, as S.Math.sgn(.sub.r +V) compensates for
(60)
it is deduced therefrom:
M.Math.{dot over (V)}=.sub.r+{tilde over (S)}.Math.sgn(.sub.r.Math.+V)(16)
(61) The second term of the right part of equation (16) may be considered as an additive disturbance at the input of the system acting in the closed loop.
(62) Let's call d this additive disturbance:
d(t)={tilde over (S)}.Math.sgn(.sub.r.Math.+V)(17)
(63) Moreover, when only the linear part of the control law, i.e. equation (6), is considered, it can be seen that this law can be decomposed into an anticipating action or feedforward part T(s) and a retroaction or feedback part F(s), a law that can be expressed by means of the Laplace variable s and having for variables setpoint and measurement inputs Y(t) and Y.sub.r (t), respectively. In particular, this law may include an observer of the load disturbance.
(64) Hence, in the most general way, the control U(t) may be expressed as:
U(t)=T(s).Math.Y.sub.r(t)F(s).Math.Y(t)(18)
(65) If considering the control law of equation (9) restricted to its linear components, and also with omitting the term of load disturbance C, we have:
T(s)=M.Math.(s.sup.2+K.sub.c2.Math.s+K.sub.c1)
F(s)=M.Math.(K.sub.c2.Math.s+K.sub.c1)
(66) And the transfer between U(t) and Y(t) may also be modelled by a very simple transfer function, by a double integrator, G(s):
(67)
(68) The transfer function between the additive disturbance d(t) and the closed-loop output Y(t) is written:
(69)
(70) The transfer function of the ideal model of the closed loop (see equation 12), corresponds by definition to the transfer between Y.sub.r(t) and Y(t):
(71)
(72) In this case, the error between the output of the ideal model Y.sub.m(t) and the closed-loop output of the system Y(t), by combination of equations 12, 20, 21, is written:
(73)
(74) d(t) being expressed according to the expression (17).
(75) In this equation (17), it is noted that d(t) is affine in S.
(76) This leads in proposing as a law of estimation of S, the following law:
{dot over ({circumflex over (S)})}=.Math.(t).Math.(t)(23)
(77) with:
(78) a strictly positive scalar, which is by definition the gain of adaptation,
(79) =sgn(.sub.r(t).Math.+V(t)) if the speed V(t) is measured, otherwise an estimate {circumflex over (V)}(t) of V(t) is used instead of V(t), and which is calculated for example by means of a state observer.
(80) The application of equation (23) of estimation of S to the adaptive dry friction compensation control law of
(81) In the left part of
(82) On the top of
(83) Towards the bottom of
(84) The study of the convergence of the law (23) may be made using the passivity theory. It is shown in particular that a sufficient condition of convergence is that the transfer function
(85)
is positive real, that is to say that the Nyquist locus of said transfer function must be integrally comprised in the right half-plane of the complex plane.
(86) This convergence condition is potentially penalizing, so we have interest in releasing it by substituting .sub.f(t) to (t) in the following equation (24):
(87)
(88) The law of estimation of S is then written:
{dot over ({circumflex over (S)})}=.Math..sub.f(t).Math.(t)(25)
(89) The application of equation (25) of estimation of S to the adaptive dry friction compensation control law of
(90) The adaptive dry friction compensation control law represented as blocks in
(91) Calculation algorithms may be implemented, in particular in real time, based on the adaptive dry friction compensation control laws shown in
(92) It can be shown that the algorithms based on these
(93) It is possible to complexify the preceding adaptive compensation control laws by making the adaptation gain variable, in order to minimize for example the sum of squares of (t), or the sum of squares of (t) weighted by a forgetting factor.
(94) In this latter case, the adaptation gain may, for example, be expressed according to equation (26):
{dot over ()}(t)=(1).Math.F.sup.1(t)+.sup.2(t)(26)
Or equation (27):
{dot over ()}(t)=(1).Math.F.sup.1(t)+.sub.f.sup.2(t)(27)
(95) In equations (26) and (27), the coefficient is the forgetting factor mentioned hereinabove, with: 0<<1.
(96) In the feedback control field, the PID (proportional-integral-derivative) correctors are by far the most commonly used. Therefore, it is desirable to be able to have an adaptive friction compensation control law of this type. A law of the type will now be described, still on the friction model of Ph. de Larminat.
(97) The control signal of a PID corrector may be expressed as follows:
(98)
(99) with:
(100) K.sub.p: proportional coefficient,
(101) K.sub.L: integral coefficient,
(102) K.sub.d: derivative coefficient,
(103) : filtering time constant of the derivative action.
(104) It is to be noted that this representation is not unique, and that there exists a great number of possibilities of implementation of a PID, in particular parallel, series, series-parallel, nevertheless a compensation law based on the structure (28) will be described hereinafter without this description be limitative, because any implementation of a PID corrector may be substituted to (28).
(105) If referring to the scheme of
(106) In these conditions, .sub.r(t) is written:
(107)
(108) Hence, the adaptive dry friction compensation control structure is deduced immediately and the PID adaptive friction compensation control law represented as blocks in
(109) In order to obtain an estimation of the speed {circumflex over (V)} from information of position X obtained by a position sensor, a speed estimator filter is implemented in the obtained control law.
(110) Incidentally, in other implementations, the speed estimator filter may be a high-pass filter or a state observer, and may further have as additional input the control signal U.
(111) It can be noted that the control law of this
(112)
in the law. It is well understood that, in an alternative embodiment, this block
(113)
can be omitted to obtain a control law that is likened to that of
(114) In this PID control law structure, it is also possible to add anticipating action or feedforward blocks to the position, speed and/or acceleration setpoint(s), to form the signal .sub.r.
(115) As indicated hereinabove, there exists a great number of PID corrector forms. Whatever said form is, the signal .sub.r corresponds to the control part with no load disturbance compensation.
(116) Incidentally, it may be noted by comparison with equation (18) that, in the case of the PID control law implemented as (28), we also have:
(117)
where F(s) is the above-mentioned retroaction or feedback part.
(118) In some cases, it is not possible to have access to the internal signals of the PID corrector, in particular when the PID is a product of the market included in a specific electronic casing, so that it may be necessary to calculate the signal .sub.r from the position control signal produced by the PID corrector in its entirety: U.sub.PID(t). By combining (28) and (29), we find the relation:
(119)
(120) The transfer function of equation (30) is that of a high-pass filter whose gain is 1 when s.fwdarw..
(121) More generally, the signal .sub.r may be calculated from the position control signal U.sub.PID by a high-pass filtering that does not necessarily obey to that of equation (30). Here also, the PID corrector may be implemented under various forms with or without anticipating actions (feedforward) blocks.
(122) By way of example, it has been shown in
(123)
may be omitted.
(124) The shown adaptive control laws may also be implemented with a speed feedback.
(125) In a speed-feedback structure, i.e. in which the signal to be processed by the closed loop, is the speed V(t), la structure of the adaptive friction compensation control laws described in relation with
(126) Indeed, the transfer function G(s) of equation (19) is then simply written:
(127)
(128) The transfer function F(s) is then also simplified.
(129) The setpoint signal Y.sub.r disappears, as well as the measurement signal Y. Remain the setpoint signals V.sub.r and possibly U.sub.r. The feedback signal measured is herein V. Moreover, the output of the ideal model of the closed loop is a speed signal V.sub.m and the signal (t) is calculated by making the difference between V V.sub.m. Finally, an estimator of V becomes useless due to the fact that this feedback value is necessarily measured.
(130) Hence, the control law schematized in
(131) The adaptive friction compensation control law that has been presented up to now has been so for a base corrector of the state-feedback type, and, in an alternative embodiment, with a PID corrector. In other embodiments, it is possible to use this compensation law with other correction structures, for example RST, LQG, H.sub.. In any case, it is necessary to calculate the signal .sub.r that corresponds to the control with no load disturbance.
(132) It may also be contemplated to extend this compensation law to an acceleration-feedback control, provided however that information about the speed of the system is known. Indeed, if the system has only one acceleration sensor and no speed sensor, said speed is not observable within the meaning defined by Kalman.