Professional Documents
Culture Documents
Spring Mass Identification
Spring Mass Identification
Spring Mass Identification
net/publication/44261470
CITATIONS READS
10 1,560
4 authors, including:
Hebertt Sira-Ramirez
Center for Research and Advanced Studies of the National Polytechnic Institute
550 PUBLICATIONS 15,912 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Hebertt Sira-Ramirez on 04 June 2014.
Abstract—In this paper we describe a procedure tional calculus. They were developed in [1]. A differential
for parameters identification using an algebraic iden- algebraic justification of this article follows similar lines
tification method for a continuous time constant lin- to those encountered in [2], [3], [4] and also [5]. Let us
ear system. We make a specific application in the recall that those techniques are not asymptotic.
determination of the parameters mass-spring-damper
system. The method is suitable for simultaneously Parameter estimation has been an important topic in sys-
identifying, both, the spring constant and the damp- tem identification literature. The traditional theory is
ing coefficient. It is found that the proposed method well developed, see [6] and [7]. The most well known
is computationally fast and robust with respect to
technique for parameter estimation is the recursive least
noises. The identification algorithm has been verified
square algorithm. This paper basically focuses on an on-
by simulation results. The estimations are carried out
on-line. line identification method, of continuous-time nature, on
a mechanical system. Our approach uses the model of the
Keywords: Algebraic Identification, System Identifi- system, that is known almost most of times, the advan-
cation, Mass-Spring-Damper System tages are that it does not need any statistical knowledge
of the noises corrupting the data; the estimation does not
require initial conditions or dependence between the sys-
1 INTRODUCTION tem input and output; and the algorithm is computed
on-line.
Parameter identification is used to obtain an accurate
model of a real system, and the completed model pro- We mention that the algebraic method has also been ap-
vides a suitable platform for further developments of de- plied in [8] in the area of signal processing applications,
sign, or control strategies investigation. On-line param- and in [9] in flexible robots estimation with good results.
eter identification schemes are actually used to estimate In this last work it is also demonstrated the algebraic
system parameters, monitor changes in parameters and method independence to the input signal design.
characteristics of the system and for diagnostic purposes
related to a variety of areas of technology. The identi- Finally, this estimation method can be applied in a wide
fication schemes can be used to update the value of the range of applications in which appears the mass-spring-
design parameters specified by manufacturers. damper model, such as vibration control [10] , impact
dynamics [11], estimation of contact parameters [12], con-
In this article, we use an on-line algebraic method, of trol in robotics [13] among others.
non-asymptotic nature for the estimation of the mass-
spring-damper system. We simultaneously estimate the This paper is structured as follows: in section 2, the
spring constant and the damping coefficient. The input mass-spring-damper model is introduced and the alge-
variables to the estimator are the force input to the sys- braic identification method is presented. After the iden-
tem and the displacement of the mass. The identifica- tification method is outlined, simulations results are pre-
tion method is based on elementary algebraic manipula- sented in order to confirm the accuracy of the parameters
tions. This method is based on the following mathemat- estimation. This is accomplished in sections 3. Finally,
ical tools: module theory, differential algebra and opera- section 4 is devoted to concluding remarks and sugges-
tions for future research.
∗ G. Mamani, J. Becedas and V. Feliu-Batlle are
with Universidad de Castilla La Mancha, ETSI Industri-
ales, Av. Camilo José Cela S/N., 13071 Ciudad Real, 2 MASS-SPRING-DAMPER MODEL
Spain. Jonathan.Becedas@uclm.es, glmamani@uclm.es,
Vicente.Feliu@uclm.es AND IDENTIFICATION PROCE-
† **H. Sira-Ramírez is with Cinvestav IPN, Av. IPN, No 2503,
DURE
nCol. San Pedro Zacatenco AP 14740, 07300 México, D.F., México.
hsira@cinvestav.mx
‡ This research was supported by the Junta de Comunidades de This section is devoted to explain the linear model of the
Castilla-La Mancha, Spain via Project PBI-05-057 and the Euro- mass-spring-damper system and the algebraic identifica-
pean Social Fund. tion method.
2.1 Mass-Spring-Damper model Next, to simplify the equation, we define the following
c k F
parameters: B = m ,K= m and f = m , and we obtain
Although vibrational phenomena are complex, some ba- the second order system
sic principles can be recognized in a very simple linear
model of a mass-spring-damper system. Such a system
.. .
contains a mass m [kg] , a spring with spring constant k x + B x + Kx = f (6)
[N/m] that serves to restore the mass to a neutral posi-
The mass-spring-damper transfer function is then written
tion, and a damping element which opposes the motion
as:
of the vibratory response with a force proportional to the
velocity of the system, the constant of proportionality
being the damping constant c [N s/m]. An ideal mass- x(s) 1
spring-damper system can be described with the follow- G(s) = = 2 (7)
f (s) (s + Bs + K)
ing formula:
In our parameter identification scheme we will compute,
in an algebraic form: B and K from linear identifiability.
Fs = −kx (1)
From these relation, and due to the fact that m is known,
we have
. dx
Fd = −cv = −cx = −c (2)
dt k = Km (8)
This system of equation is derived by the Newton ´s law c = Bm (9)
of motion which is
2.2 The Procedure of Algebraic Identifica-
X ..
2
d x tion
F = ma = mx = m (3)
dt2
Consider the second order system given in (6). c and k
where a is the acceleration [m/s2 ] of the mass and x [m] are unknown parameters and they are not linearly identi-
is the displacement of the mass relative to a fixed point of c
fiable. Nevertheless, the parameter m denoted by B and
reference.The above equation combine to form the equa- k
the parameter m denoted by K are linearly identifiable.
tion of motion, a second-order differential equation for
displacement x as a function of time t[sec]: We proceed to compute the unknown system parameters
B and K as follows:
.. .
mx + cx + kx = F (4) Taking Laplace transforms, of (6) yields,
Rearranging, we have
.
s2 x(s) − sx(0) − x(0) + B(sx(s) − x(0)) + Kx(s) = f (s)
(10)
.. c . k F Taking derivative with respect to the complex variable
x+ x+ x= (5)
m m m s,twice, we obtain independence of initial conditions.
Then (10) results in an expression free of the initial con-
.
An scheme of the system is depicted in Fig.1. ditions x(0) and x(0).
d2 £ 2 ¤ d2 £ ¤ d2
2
s x(s) + B 2 s2 x(s) = 2 [f (s) − Kx(s)] (11)
ds ds ds
d2 2 dx 2
2d x
[s x(s)] = 2x + 4s + s (12)
ds2 ds ds2
d2 dx d2 x
Figure 1: Mass-spring-damper system scheme. [sx(s)] = 2 + s (13)
ds2 ds ds2
Recall that multiplication by s in the operational do- The estimates of the parameters K and B can be readily
main corresponds to derivation in the time domain. To obtained by solving the following linear equation
avoid derivation, after replacing the expressions (12, 13,
in equation (11), we multiply both sides of the resulting
expression by s−2 . We obtain [−p21 (t)q1 (t) + p11 (t)q2 (t)]
K= (24)
p11 (t)p22 (t) − p12 (t)p21 (t)
dx d2 x d2 x
B(2s−2 + s−1 2 ) + Ks−2 2 =
ds ds ds [p22 (t)q1 (t) − p12 (t)q2 (t)]
d 2
f (s) B= (25)
s−2 − 2s−2 − 4s−1 (14) p11 (t)p22 (t) − p12 (t)p21 (t)
ds2
In the time domain, one obtains the first equation for the The time realization of the elements of matrixes P and
unknown parameters B and K. It is a linear equation of Q can be written in a State Space framework via time-
the form variant linear (unstable) filters in order to make the phys-
ical implementation of the estimator easier in the real
time platform:
Bp11 (t) − Kp12 (t) = −q1 (t) (15)
p11 (t) = x1 (26)
where p11 , p12 and q1 are . 3
Z (2) Z x1 = −t θm (t) + x2
.
p11 (t) = −2 tx + t2 x (16) x2 = 6t2 θm (t) + x3
.
Z (2) x3 = −6tθm (t)
p12 (t) = t2 x (17)
Z (2) Z
q1 (t) = (t2 f − 2x) + 4 tx − t2 x (18)
p12 (t) = y1 (27)
.
y1 = y2
Notation1 .
y2 = t3 V (t) + y3
The expression (14) is multiplied both sides by s−1 once .
y3 = −3t2 V (t)
more, leads to a second linear equation for the estimates
B, and K.
· ¸· ¸ ¸ ·
p11 (t) p12 (t) q1 (t) B p21 (t) = ξ1 (29)
= (20)
p21 (t) p22 (t) q2 (t) K .
R R R ξ1 = ξ2
p21 (t) = p11 (t), p22 (t) = p12 (t), q2 (t) = q1 (t) being, .
ξ2 = −t3 θm (t) + ξ3
.
ξ3 = 6t2 θm (t) + ξ4
Z (3) Z (2) .
p21 (t) = −2 tx + t2 x (21) ξ4 = −6tθm (t)
Z (3) where ξ2 = p11
p12 (t) = t2 x (22)
Z Z Z p22 (t) = ρ1 (30)
(3) (2) .
q2 (t) = (t2 f − 2x) + 4 tx − t2 x) (23) ρ1 = ρ2
.
ρ2 = ρ3
R (n)
1 φ(t) representing the iterated .
R R Rσ R ρ3 = t3 V (t) + ρ4
integral 0t 0σ1 ... 0 n−1 φ(σn )dσn ...dσ1 with ( φ(t) ) = .
R R
( (1) φ(t) ) = 0t φ(σ)dσ ρ4 = −3t2 V (t)
where ρ2 = p12 ideal estimation is obtained. On the other hand, the in-
put signals to the estimator are corrupted with a stochas-
q21 (t) = ψ1 (31) tic noise n(t) with zero mean and standard deviation 10−2
.
ψ1 = t3 θm (t) + ψ2 in the measure of the position. Fig.3 depicts the imple-
. mentation scheme of the estimator. Note that in estima-
ψ2 = −9t2 θm (t) + ψ3 tions without noise the input n(t) is zero. Independence
.
ψ3 = 18tθm (t) + ψ4 with respect an specific design of the input to the system
. is also demonstrated by using two different inputs to the
ψ4 = −6θm (t) system: step input and sinusoidal input.
where ψ2 = q11 .
4 0.4
Position (m)
Force (N)
2 0.2
4
0 0
0 1 2 3 4 5 0 1 2 3 4 5
Time (s) Time (s)
B,K
(a) (b)
2
B[Ns/(mkg)]
Figure 3: (a) Step input to the system. (b) Response of K[N/(mkg)]
the system to step input. 0
0 0.5 1 1.5 2
Tiempo (s)
4
Figure 6: Estimation of B and K with sinusoidal input.
B,K
2
B[Ns/(mkg)]
K[N/(mkg)]
0 0.4
0 0.2 0.4 0.6 0.8 1
Position (m)
Position (m)
0.2
Tiempo (s) 0.2 0
−0.2
0 −0.4
0 1 2 3 4 5 0 1 2 3 4 5
Figure 4: Estimation of B and K with step input. Time (s) Time (s)
(a) (b)
Fig.6. In this case, we have initialized the estimator to Figure 7: (a) Response of the system to step input and
value zero within 0.03 [s]. The estimates are obtained at noise in the measure of the mass position. (b) Response
time t = 0.06 [s] and the values are maintained until the of the system to sinusoidal input and error in the measure
end of the experiment (see Fig.6). of the mass position.
1
Position (m)
Force (N)
0.2
0 0
−0.2
−1 −0.4
0 1 2 3 4 5 0 1 2 3 4 5
Time (s) Time (s) 4
(a) (b)
B,K
The difference between the ideal case and this case in [4] Sira-Ramírez, H., Fliess, M., “On the discrete time
which noise in the measure appears is that the time in uncertain visual based control of planar manipula-
the estimation is different. Whereas in the estimations tor: An on-line algebraic identification approach",
without noise the values are obtained in 0.3 [s] after the Proc. 41 st IEEE Conf. Decision Control, 2002.
initialized zero value, the estimations with noise are car-
ried out in 1.4 [s] after such initialization. Nevertheless, [5] Fliess, M., Mboup, M., Mounier, H., Sira-Ramírez,
no error appears every estimation. Further, the different H. ,Questioning some paradigms of signal process-
input signals to the system do not affect the estimated ing via concrete example, Editorial Lagares, Mexico
values. City, 2003.
[6] Ljung, L., System Identification, Theory for users,
4 CONCLUSIONS 2nd ed. Prentice Hall PTR, 1999.
Parameter identification using an on-line, non asymp- [7] Bar-Shalom, Y. , Rong Li, X., Thiagalingam
totic, algebraic identification method for continuous-time Kirubarajan, Estimation with Applications to Track-
constant linear systems has been proposed for the esti- ing and Navigation, Theory, Algorithms and Soft-
mation of unknown parameters of a mass-spring-damper ware, John Wiley & Sons Inc, 2001.
model.
[8] Sira-Ramírez, H., Trapero, J., Feliu, V. , “Frequency
In this research, an algebraic technic in order to estimate identification in the noisy sum of two sinusoidal sig-
the physical values of the spring and damper of the sys- nal", 17th. International symposium on Mathemati-
tem is presented. This is based on a bunch of (unstable) cal Theory of Network and Systems, 2006.
filters that vary on time and which are combined with
classical low pass filters. The resultant expressions are [9] Becedas, J. , Trapero, J., Sira-Ra´mírez, H., Feliu,
obtained from derivative algebraic operations, including V.,“Fast identification method to control a flexible
the unknown constants elimination through derivations manipulator with parameters uncertainties”, IEEE
with respect the complex variable s. International Conference on Robotics and Automa-
tion, Rome, 2007.
The only input variables to the estimator are the input
[10] Yunfeng Li and Horowitz, R., “Active suspension vi-
force to the system and the displacement of the mass.
bration control with dual stage actuators inhard disk
Among the advantages of this approach we find:it is in-
drives”,Proceedings of the American Control Confer-
dependent of initial conditions; the methodology is also
ence, V4, pp. 2786 - 2791, 2001.
robust with respect to zero mean high frequency noises
as seen from digital computer based simulations; the es- [11] Rivin, Eugene, I., “Stiffnes and damping in Mechan-
timation is obtained in a very short period of time and ical Design”, Marcel Decker, New York, 1999.
good results are achieved; a direct estimation of the pa-
rameters is achieved without translation between discrete [12] Erickson, D., Weber, M., Sharf, I., “Contact Stiffness
and continuous time domains; and the approach does not and Damping Estimation for Robotic Systems”, The
need a specific design of the inputs needed to estimate the International Journal of Robotics Research, V22,
parameters of the plant because exact formulas are pro- N1,pp. 41-57, 2003.
posed. Therefore its implementation in regulated closed
[13] Faik, S., Witteman, H., “Modeling of Impact
loop systems is direct.
Dynamics: A Literature Survey”, International
ADAMS User Conference, 2001.
References
[14] Fliess, M., “Analyse non standard du bruit,” C.R.
[1] Fliess, M., Sira-Ramírez, H.,“An algebraic frame- Acad. Sci. Paris, Ser. I 342. 2006.
work for linear identification", ESAIM Contr. Optim
and Calc. of Variat., V9, pp. 151-168, 2003.
[2] Fliess, M., Sira-Ramírez, H., “On the non-calibrated
visual based control of planar manipulators: An on-
line algebraic identification approach", IEEE-SMC-
2002, V5, 2002.
[3] Sira-Ramírez, H., Fossas, E. , Fliess, M.,“Output
trajectory tracking in an uncertain double bridge
buck dc to dc power converter: An algebraic on-
line parameter identification approach", in Proc. 41
st IEEE Conf. Decision Control,V3, pp. 2462-2467,
2002.