The present invention relates to a method and a system for adaptive compensation of dry friction. It finds applications in the field of mechatronics and allows obtaining a better follow-up of setpoint instructions in mobile mechanical systems controlled by effector elements.
In the field of control of mechanical systems, whether they are servomechanisms or robotized systems, the dry friction in said systems very often constitutes a source of difficulty for the engineer in charge of conceiving feedback control laws.
Indeed, this friction has an intrinsically non-linear behaviour (hard non-linearity), prejudicial to the quality of follow-up of a position, speed, acceleration, effort setpoint instruction, both for translational and rotational motions. This friction may also generate limit cycles (oscillatory phenomena of the position of a mechanical system controlled by a constant setpoint instruction) or produce a “stick and slip” phenomenon, commonly called “grabbing”, causing the mechanical system to move jerkily.
The explication of the origin of such friction pertains to the tribology field. It results from the accumulation of a very high number of phenomena occurring at the microscopic or even atomic scale. Unfortunately, the microscopic approach is not very useful for the automation expert, due to the complexity of the physical phenomena involved that make its exploitation inconceivable for the building of control laws.
In a feedback control loop, the dry friction is hence commonly modelled by a disturbing force (or torque), whose sign is in first approximation opposed to the speed thereof: it is talked about Coulomb friction. To that is added a so-called Stribeck effect: after immobilization, the actuator must overcome a force (torque) called “Stiction” force/torque, whose module is higher than that required to maintain the motion, one the latter is effective.
In the field of automation, the dry friction compensation technics exist since the beginning of the 1940's. One of the first methods intended to attenuate the grabbing phenomenon consisted in additively introducing into the actuator control signal a sinusoidal signal of relatively high frequency with respect to the bandwidth of the feedback control. This technic is called “dither”.
Since the 60's have progressively appeared macroscopic models intended to describe this friction from the phenomenological point of view, with the mathematical tool. These more or less complicated models, describing more or less finely the behaviour of mechanical systems, are called Tustin, Karnopp, Dahl, Slimane-Sorine, LuGre models . . . . The elaboration of such macro-models is still today a subject of research.
In parallel with the development of the friction models, compensation control laws based on said models have progressively appeared, consisting in particular in estimating and compensating the friction torque in real time as a function of the measured speed of the mechanical system: an application of this approach has been made in particular based on the LuGre model by H. Olson, K. J. Aström et al. in the article: “Friction models and friction compensation”, European journal of control, 1998.
To be effective, such friction compensation control laws must be based on accurately parameterized models. Now, the characteristics of the friction of the mechanical system are liable to evolve over time, as a function for example of the temperature, of the lubrication of the parts in contact, of the wear, etc. . . . .
The above-described models have in common to depend only on the speed of the mobile mechanical system. Some of them, too basic, are not simulatable as such (as for example the Coulomb model), and cause high-frequency switches leading to the freezing of the simulation tool. Other ones describe the friction phenomenon far finely, as for example the LuGre model, but the number of parameters constituting it is relatively high (6 parameters for the LuGre model) and the identification of these parameters is a task that may be long to implement, especially in an industrial context in which, in particular, the respect of the time limits is an important criterion.
In 2009, a new dry friction model has been published by Philippe de Larminat in the book “Automatique appliquée, 2nde édition”, Hermès edition. This model, contrary to the preceding ones, has been elaborated starting from the observation that the friction effort is function not only of the speed but also of the force (or torque) delivered by the actuator. This model is, as emphasized by the author, one of the simplest models that has never been developed. It describes the Coulombian effect as well as the Stribeck effect. Moreover, this model has the advantage to have a restricted number of parameters: two parameters for the Coulombian effect and a third one for the Stribeck effect.
Associated with this model, a compensation control law has been proposed in the same book, which also has a simplicity that is very interesting for an implementation in real time in an industrial framework. This control law takes only into account the mass or the inertia of the controlled mobile mechanical system, a minor time constant and a variable representative of the Coulomb module. Nevertheless, to be efficient, this compensation control law presupposes a precise knowledge of the Coulomb module of the friction. Failing that, the control law “overcompensate” or “undercompensate” for the friction and the beneficial effects on the feedback controls of the mechanical system are very reduced. Hence, this dry friction compensation control law, efficient as it is, really risks to have an ephemeral efficiency, because it will become inoperative when the physical parameters of the friction will have evolved over time.
Hence, it is herein proposed to add an adaptive structure to the compensation control law presented in the above-mentioned book of Ph. de Larminat and that is what the present invention proposes.
It is known in this field an article by M. Itthise Nilkhamhang, “Adaptive Friction Compensation using the GMS Model with Polynomial Stribeck function”, which proposes to linearize a GMS model.
In the following, the mass is mentioned for the mobile controlled mechanical system, but it is to be understood in the context of the invention as being actually a mass or an inertia according to the case. Likewise, a force is mentioned for the motion control signal, but it is to be understood in the context of the invention as being actually a force or a torque according to the case. Likewise, the position, the speed and the acceleration may be of linear or angular types according to the case. Indeed, the motion can be linear and/or angular, and more generally be any motion.
Hence, the invention relates to a dry friction compensation method for a mechanical system of an apparatus including 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 mass or inertia having to move according to the instructions of a setpoint signal Cr chosen among one or several of the position (linear or angular according to the case) Xr, the speed (linear or angular according to the case) Vr and the acceleration (linear or angular according to the case), the motion of the mechanical system being characterized by a motion signal Y chosen among one or several of the position X, the speed V and the acceleration (linear or angular according to the case), in which:
said dry friction compensation control law being based on the following friction model:
where V is the speed of the mobile mass or inertial subjected to the friction and T is a minor time constant,
In various embodiments of the invention, the following means, which can be used alone or according to any technically possible combination, are used:
ϕ(t)=sgn(γr(t)·τ+V(t))
The invention also relates to a device for implementing the method of the invention and that includes a calculator and at least one motion measurement sensor producing a mass or inertia motion measurement signal and, further, means for real time calculation in the calculator and according to the adaptive dry friction compensation control law to produce the control signal U.
The invention also relates to an apparatus including:
The present invention, without being limited thereby, will now be exemplified by the following description of embodiments and implementation modes in relation with:
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.
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.
It is a particularly simple model, which can concern both translational and rotational motions.
Let's consider the following types of data:
M: Mass or inertia of the mobile mechanical system,
S: Coulombian friction module
U: Driving force corresponding to a effort/force or torque control, not to be mixed
up with Ur (acceleration setpoint) that will be introduced later,
P: Disturbing force or torque due to the dry friction,
V: Speed of the system measured by a sensor,
X: Position of the system measured by a sensor,
According to the fundamental relation of the dynamics, we have:
where {dot over (v)} is an acceleration.
The friction model proposed by Ph. de Larminat is the following:
where V is the speed of the mobile mass or inertia subjected to the friction.
In equation (2), τ is a minor time constant, for example of a few milliseconds.
By combining (1) and (2), we obtain:
The block diagram corresponding to the model (3) of Ph. de Larminat is shown in
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:
Moreover, a more complete model has been developed by the same author for taking into account the Stribeck effect.
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·(Ur+Kc1(Xr−X)+Kc2(Vr−V)) (5)
where
Xr: Position setpoint by a reference coming from a trajectory generator, for this position control law,
Vr: Speed setpoint by a reference coming from a trajectory generator,
Ur: Acceleration setpoint by a reference coming from a trajectory generator,
KC1 and KC2 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.
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·(Ur+Kc1(Xr−X)+Kc2(Vr−V))+C+W(Yr,V) (6)
The friction compensation in the above-mentioned book is made by adding in equation (6) a term:
S·sgn(V+γr·τ) (7)
with:
γr=Ur+Kc1(Xr−X)+Kc2(Vr−V) (8)
sgn( ) being the function sign.
Finally, the friction compensation law proposed by Ph. de Larminat is written:
U=M·γr+C+W(Yr,V)+S·sgn(V+γr·τ) (9)
The block diagram corresponding to this friction compensation law (9) of Ph. de Larminat is shown in
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.
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.
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.
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 Yr by Y is obtained, i.e.:
Y(t)=Yr(t)∀t (10)
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).
Let's define the variation in the setpoint ε(t) between the output of an ideal model of the closed loop Ym(t) and the output of the real closed loop Y(t) (including the system subjected to the dry frictions), subjected to the same setpoint Yr(t):
ε(t)=Yr(t)−Y(t) (11)
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:
Other minimization criteria based on ε(t) may also be used.
More generally, ε(t) may be defined as a calculated variation between an output Ym of an ideal model of the desired closed loop and an output—also called feedback signal/signals —, in particular by measurement, Y of the mobile mechanical system, both subjected to the setpoint Yr, i.e.:
ε(t)=Ym−Y (12)
Equation (11) corresponds to a particular case in which the ideal model of the closed loop corresponds to a unit gain.
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.
The adaptive law consists, from ε(t), in determining Ŝ, estimate of the Coulomb module S and in injecting this estimate into equation (9).
The schematic representation of the principle of the adaptive dry friction compensation control law is given in
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)}=γr (13)
Generally, the estimation of S is not perfect, and the estimate variation is defined:
{tilde over (S)}=Ŝ−S (14)
From the moment that the estimation Ŝ(t) of S(t) is imperfect, it is obtained by combining equations (9), (3) and (14):
But, as S·sgn(γr τ+V) compensates for
it is deduced therefrom:
M·{dot over (V)}=γr+{tilde over (S)}·sgn(γr·τ+V) (16)
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.
Let's call d this “additive disturbance”:
d(t)={tilde over (S)}·sgn(γr·τ+V) (17)
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 Yr (t), respectively. In particular, this law may include an observer of the load disturbance.
Hence, in the most general way, the control U(t) may be expressed as:
U(t)=T(s)·Yr(t)−F(s)·Y(t) (18)
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·(s2+Kc2·s+Kc1)
F(s)=M·(Kc2·s+Kc1)
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):
The transfer function between the “additive disturbance” d(t) and the closed-loop output Y(t) is written:
The transfer function of the ideal model of the closed loop (see equation 12), corresponds by definition to the transfer between Yr(t) and Y(t):
In this case, the error between the output of the ideal model Ym(t) and the closed-loop output of the system Y(t), by combination of equations 12, 20, 21, is written:
d(t) being expressed according to the expression (17).
In this equation (17), it is noted that d(t) is affine in S.
This leads in proposing as a law of estimation of S, the following law:
{dot over ({circumflex over (S)})}=λ·Φ(t)·ε(t) (23)
with:
λ a strictly positive scalar, which is by definition the gain of adaptation,
ϕ=sgn(γr(t)·τ+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.
The application of equation (23) of estimation of S to the adaptive dry friction compensation control law of
In the left part of
On the top of
Towards the bottom of
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
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.
This convergence condition is potentially penalizing, so we have interest in releasing it by substituting ϕf(t) to ϕ(t) in the following equation (24):
The law of estimation of S is then written:
{dot over ({circumflex over (S)})}=λ·ϕf(t)·ε(t) (25)
The application of equation (25) of estimation of S to the adaptive dry friction compensation control law of
The adaptive dry friction compensation control law represented as blocks in
Calculation algorithms may be implemented, in particular in real time, based on the adaptive dry friction compensation control laws shown in
It can be shown that the algorithms based on these
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.
In this latter case, the adaptation gain may, for example, be expressed according to equation (26):
{dot over (λ)}(t)=−(1−μ)·F−1(t)+Φ2(t) (26)
Or equation (27):
{dot over (λ)}(t)=−(1−μ)·F−1(t)+ϕf2(t) (27)
In equations (26) and (27), the coefficient μ is the forgetting factor mentioned hereinabove, with: 0<μ<1.
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.
The control signal of a PID corrector may be expressed as follows:
with:
Kp: proportional coefficient,
KL: integral coefficient,
Kd: derivative coefficient,
σ: filtering time constant of the derivative action.
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).
If referring to the scheme of
In these conditions, γr(t) is written:
Hence, the adaptive dry friction compensation control structure is deduced immediately and the PID adaptive friction compensation control law represented as blocks in
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.
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.
It can be noted that the control law of this
in the law. It is well understood that, in an alternative embodiment, this block
can be omitted to obtain a control law that is likened to that of
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 γr.
As indicated hereinabove, there exists a great number of PID corrector forms. Whatever said form is, the signal γr corresponds to the control part with no load disturbance compensation.
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:
where F(s) is the above-mentioned retroaction or “feedback” part.
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 γr from the position control signal produced by the PID corrector in its entirety: UPID(t). By combining (28) and (29), we find the relation:
The transfer function of equation (30) is that of a high-pass filter whose gain is 1 when s→∞.
More generally, the signal γr may be calculated from the position control signal UPID 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.
By way of example, it has been shown in
may be omitted.
The shown adaptive control laws may also be implemented with a speed feedback.
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
Indeed, the transfer function G(s) of equation (19) is then simply written:
The transfer function F(s) is then also simplified.
The setpoint signal Yr disappears, as well as the measurement signal Y. Remain the setpoint signals Vr and possibly Ur. The feedback signal measured is herein V. Moreover, the output of the ideal model of the closed loop is a speed signal Vm and the signal ε(t) is calculated by making the difference between V Vm. Finally, an estimator of V becomes useless due to the fact that this feedback value is necessarily measured.
Hence, the control law schematized in
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∞. In any case, it is necessary to calculate the signal γr that corresponds to the control with no load disturbance.
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.
Number | Date | Country | Kind |
---|---|---|---|
14 61133 | Nov 2014 | FR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/FR2015/053116 | 11/18/2015 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2016/079425 | 5/26/2016 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8622864 | Fauteux | Jan 2014 | B2 |
8719212 | Khoukhi | May 2014 | B2 |
Entry |
---|
Itthisek Nilkhamhang, et al., Adaptive friction compensation using the GMS model with polynomial stribeck function, 2006 IEEE International Conference on Control Applications, Oct. 4-6, 2006, pp. 1085-1090, Munich, DE. |
Number | Date | Country | |
---|---|---|---|
20170322523 A1 | Nov 2017 | US |