Professional Documents
Culture Documents
Yolanda Vidal
LaCàN, Departament de Matemàtica Aplicada III, Escola Universitària d’Enginyeria Tècnica Industrial de Barcelona,
Universitat Politècnica de Catalunya, Comte d’Urgell, 187, 08036 Barcelona, Spain.
yolanda.vidal@upc.edu
Abstract: This paper presents an alternative solution to the problem of frequency estimation. An analysis of the stability
and a dynamic estimation are obtained for a dynamic system using the Lyapunov theory. The robustness of
the proposed method is tested numerically.
θ∗ x2 = −ṡ, (4)
x˙2 = s. (5)
So, θ∗ x˙2 = −s̈, which is equivalent to Figure 2: Block diagram of the proposed frequency estima-
tor.
θ∗ s = −s̈, (6)
corresponding to a linear oscillator with the oscilla-
tion frequency: θ∗ = w2 . Now, the objective is to find (ii) x2 is bounded. As y converges to zero then by (2)
a dynamic system for θ such that a combination of y we have that x2 converges to − θṡ∗ as t → ∞. So x2
and θ gives a stable equilibrium point (in the sense of converges to a periodic motion. This is verified in
Lyapunov theory). To fulfill this objective, consider the numerical simulations.
the following Lyapunov function: The main difficulty with system (2)-(3) is the time
1 2 1 1
ṡ
2 derivative of s: differentiation is undesirable due to
V = y + (θ − θ ) + ∗ 2
x2 − − ∗ . (7) noise amplification. However, to avoid this diffi-
2 2ρ 2 θ culty, we can use the following stable approximation
Here, ρ is a positive constant. The last term in (7) (Spong and Vidyasagar, 1989):
captures the convergence of x2 to a periodic motion, p
as expected. Then, the derivative of V along the tra- w= s∼= ṡ
βp + 1
jectory of system (2)-(3) is,
1
∗
θ x2 + ṡ
s̈
where p is the Laplace operator and β is a small pos-
V̇ = yẏ + (θ − θ )θ̇ +
∗
ẋ2 − − ∗ itive number. Therefore, our frequency estimator is
ρ θ∗ θ
,
given by:
and using the equation (6), yields
ẏ = w − θ(y − x2), (10)
1
V̇ = yṡ − θy(y − x2) + (θ − θ∗ )θ̇. x˙2 = s − y, (11)
ρ
θ̇ = ρy(y − x2), (12)
Defining θ̃ = θ − θ∗ , and using (4), p
w= s. (13)
1
V̇ = −yθ∗ x2 − θy(y − x2) + θ̃θ̇ βp + 1
ρ
A block diagram of the frequency estimator (10)-(13)
1
= θ̃yx2 − θy2 + θ̃θ̇ is given in Figure 2.
ρ Remark: In practical computations the derivative
1 approximation (13) can be rewritten as a differential
= θ̃yx2 − θ̃y2 + θ̃y2 − θy2 + θ̃θ̇
ρ equation for the state variable w as
θ̇ βẇ + w = ṡ,
= θ̃ − y(y − x2) − θ∗ y2 . (8)
ρ
which finally gives
Finally, defining
1
θ̇ = ρy(y − x2), (9) ẇ = (−w + ṡ).
β
the equation (8) transforms to
V̇ = −θ∗ y2 .
3 NUMERICAL EXPERIMENTS
Thus, V̇ is negative semi-definite. Also, the equations
above imply that y, θ, ẏ, θ̇ ∈ L∞ and y ∈ L2 . Invoking In this section we present numerical experiments
the Barbalat’s lemma we can ensure that V̇ → 0 as for the system (10)-(13). The simulation results are
t → ∞. Therefore, we can conclude that y converges shown in Figure 3 for the case where
to zero as time passes. Note that this implies that:
s(t) = sin (2t), ρ = 10, and β = 0.001.
(i) θ is an estimation of θ∗ . The convergence of y to
zero after a period of time implies, using (9), that As expected, the frequency estimator gives θ∗ = ω2 ≈
θ̇ converges to 0 as time passes. So θ converges to 4 and the variable x2 is periodic. To test the robust-
a constant value θ∗ (as y converges to zero). ness of the estimator we use the following corrupted
1 1
0.5 0.5
y(t)
y(t)
0 0
−0.5 −0.5
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
time time
0.5
0.4
0.2
x (t)
x (t)
0 0
2
2
−0.2
−0.4
−0.5
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
time time
5 5
4 4
3 3
θ(t)
θ(t)
2 2
1 1
0 0
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
time time
2
4
1
2
w(t)
w(t)
0
0
−1
−2
−2
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
time time
Figure 3: Numerical experiments for the unperturbed case. Figure 4: Numerical experiments for the perturbed case.
2
signal (see Figure 5), which is based on the signal in 1
(Bobtsov, 2008) without the un-biasing term:
s(t)