4.1 - Analysis Based On Transfer Function
4.1 - Analysis Based On Transfer Function
5. Plot the root locus of any LTI system and use it for analysis and
design purpose
6. Plot the Bode diagram of any LTI system and use it for analysis and
design purpose
Introduction
• In the structure of the figure, we have sampled signals that have the
following advantages: 1. easy modulated, 2. easy to code, 3. easy to
transmit and to regenerate.
• The second structure is more often used in practice and therefore,
it is the one that we will use in the rest of the course.
• The bandwidth is also used for the choice of the sampling period.
• The Shannon theorem is used for the choice of the sampling
period.
A signal 𝑦 𝑡 which contains no frequency components greater than 𝑓ℎ
1
is uniquely reconstructed by a set of sampled from 𝑦 𝑡 spaced by 2𝑓 .
ℎ
1
𝑇=
𝑓
𝑤 = 2𝜋𝑓
• Which implies
2𝜋
𝑤=
𝑇
Example
10
𝐺 𝑠 =
𝑠+1 𝑠+2 𝑠+5
2𝜋
𝑇= = 0.021𝑠
150
• From the other side, the constant times of the system are
respectively 𝜏1 = 1𝑠, 𝜏2 = 0.5𝑠 and 𝜏3 = 0.2𝑠.
• This implies that fast dynamics in the system has a time constant
equal to 0.2s.
0.2
𝑇=
𝑎
• zero-order-hold (ZOH)
• The number of bits of the used microcontroller to process this
signal has a significant effect on the quantization and therefore on
the result.
𝑦 𝑘𝑇 = 𝑦 ∗ 𝑡 𝛿 𝑡 − 𝑘𝑇
𝑘=0
• For the continuous-time systems,
• For sampled systems we will use the same approach since their
dynamics are equivalent and the transformation used for the
analysis and design called the Z-transform is obtained from the
Laplace transform.
• Let 𝑓 ∗ 𝑡 be a sampled signal, such as:
∞
ℒ 𝑓∗ 𝑡 = 𝐹 ∗ 𝑠 = න 𝑓 ∗ 𝑡 𝑒 −𝑠𝑡 𝑑𝑡
0
1 ∀𝑡 ≥ 0
𝑓 𝑡 =ቊ
0 otherwise
∞ ∞ ∞
න 𝑓 ∗ 𝑡 𝑒 −𝑠𝑡 𝑑𝑡 = 𝑓 𝑘𝑇 𝑒 −𝑠𝑘𝑇 = 𝑓 𝑘𝑇 𝑒 𝑠𝑇 −𝑘 =𝐹 𝑠
0 𝑘=0 𝑘=0
𝐹 𝑧 = 𝑓 𝑘𝑇 𝑧 −𝑘
𝑘=0
• Linearity
• Shift property
• Back-shift property
Exercise
1 𝑤ℎ𝑒𝑛 𝑘 = 0
𝑓 𝑘 =ቊ
0 otherwise
1 𝑤ℎ𝑒𝑛 𝑘 ≥ 0
𝑓 𝑘 =ቊ
0 otherwise
𝑎 𝑘 𝑤ℎ𝑒𝑛 𝑘 = 0
𝑓 𝑘 =ቊ
0 otherwise
• Z-transform
• polynomial division
• residues method
• The inverse Z -transform consists of finding the expression of f (k)
that corresponds to a given function F(z).
• The idea behind this method is firstly write the expression of the
function in term of z−1, then perform the expansion into partial
fraction as usually done for the continuous-time case.
• Let us consider the following function F(z)
• To answer this question, let us first of all divide the numerator and
the denominator simultaneously by 2𝑧 2 . This gives:
• Finally, we obtain:
• let us continue the same expression for F(z) as for the previous
example.
1
• Let 𝑀−1 be the inverse transform, such as 𝑠 = ln 𝑧. Usually, 𝑠 =
𝑇
2𝜋
𝜎 ± 𝑗𝜔 and 𝑇 = is the sampling period. Using these relations we
𝜔𝑠
get:
• Let us assume that 𝜎 = 0, i.e. all the roots are on the imaginary
𝜔𝑠
axis in the s-plane, and let us change ω from 0 to . The
2
• we get
• Finally we get:
• Now if we compare the two transfer functions (in the s-domain and
in the z-domain), we conclude that the expression in z-domain is
obtained from the one in the s-domain by using the following
transformation:
• Second numerical integration method: The approximation of the
integral is taken equal to the one of the area shown in the Figure.
0.3𝑧
𝐹 𝑧 =
𝑧 − 1 𝑧 − 0.7
• in the z-domain, the system will be stable if all the poles are inside
this unit circle.
𝑌 𝑧 𝐶 𝑧 𝐺 𝑧
𝐹 𝑧 = =
𝑅 𝑧 1+𝐶 𝑧 𝐺 𝑧
• Among these criterions we quote the one of Jury and the one of
Raible.
• Let 𝑧 = 𝑒 𝑠𝑇 with 𝑠 = 𝜎 ± 𝑗𝜔. Therefore,
• As for the continuous case, the root locus for the discrete system
is described by the characteristic equation that we write in the
following form:
1 + 𝐾𝐺 𝑧 = 0
𝑧 − 𝑛1 𝑧 − 𝑛2 … 𝑧 − 𝑛𝑚
𝐺 𝑧 =
𝑧 − 𝑧1 𝑧 − 𝑧2 … 𝑧 − 𝑧𝑚
• with 𝑧1 , 𝑧2 ,···, 𝑧𝑛 are the poles and 𝑛1 , 𝑛2 ,···, 𝑛𝑚 are the zeros of
the open loop transfer function.
• From the characteristic equation, we get the following conditions:
1 ς𝑚
𝑖=1 𝑧 − 𝑛𝑖
=
𝐾 ς𝑛𝑖=1 𝑧 − 𝑧𝑖
𝑚 𝑚
1 ς𝑚
𝑖=1 𝑧0 − 𝑛𝑖
=
𝐾𝑧𝑜 ς𝑛𝑖=1 𝑧0 − 𝑧𝑖
𝑚 𝑚
arg 𝑧0 − 𝑛𝑖 − arg 𝑧0 − 𝑧𝑖 = 𝜃0
𝑖=1 𝑖=1
2. the root locus is symmetric with respect to the real axis. This is
due to the fact that the roots of the characteristic equation are
either real or complex. And if there is a complex root, we have
automatically its conjugate.
3. The loci originate from the poles of the open loop transfer
function and terminate on the zeros of the this transfer function.
4. the number of asymptotes is equal to the difference between the
number of poles, n, and the number of zeros, m, of the open
loop transfer function.
1.9909 1−0.05𝑤
Bode diagram of 1+𝑤
Diseño Mecatrónico
Transfer function Approaches
MCTG1013