Lecture 3 - Signal and System Modelling
Lecture 3 - Signal and System Modelling
Lecture 3 - Signal and System Modelling
u(t )
1, t 0
0, t 0
𝑠𝑔𝑛 𝑡 = −1 + 2𝑢(𝑡)
u[n ] 1, n 0
0, n 0
x[n]
n
3 2 1 0 1 2 3 4
n, n 0
r[n] or r[n] nu[n]
0, n 0
x[n]
n
3 2 1 0 1 2 3 4
[ n]
1, n 0
0, n 0
It is defined by:
(t ) 0 for t 0
and
(t )dt 1
(t) a(t)
Figure 1.41 (p. 46)
Discrete-time form of impulse.
KVL Eq.:
d
RC v(t ) v(t ) 0 (1.32)
dt
RC = Time constant
v(t ) V0 e t /( RC ) (1.33)
Discrete-time case:
◆ Continuous-time case:
x(t ) A cos(t ) (1.35)
where
periodicity
x(t T ) A cos( (t T ) )
2
T A cos(t T )
A cos(t 2 )
A cos(t )
x (t )
Circuit Eq.:
d2
LC 2 v(t ) v(t ) 0 (1.36)
dt
1
0 (1.38)
LC Natural angular frequency of
oscillation of the circuit
◆ Discrete-time case :
N 2 m or
2 m
radians/cycle, integer m, N (1.41)
N
(a)Both x1[n] and x2[n] are periodic. Find their common fundamental
period.
(b)Express the composite sinusoidal signal
2 m 2 m 2m
5 radians/cycle N
5 5
This can be only for m = 5, 10, 15, …, which results in N = 2, 4, 6, …
1
A 2
sin / 6 Accordingly, we may express y[n] as
y[n] 2cos 5 n
6
e j cos j sin
Complex exponential signal: Be j t
B Ae j Ae j e j t
Ae j ( t )
x(t ) A cos(t ) A cos( t ) jA sin( t )
x(t ) A sin(t )
A sin(t ) Im{Be jt }
2. Discrete-time case:
Block diagram
representation of a
system.
The PID based control application block diagram for the control of a
single link of the robotic arm
1
y[n] ( x[n] x[n 1] x[n 2])
3
Formulate the operator H for this system; then, develop a block diagram
representation for it.
1
H (1 S S 2 )
3
(a): cascade form; (b): parallel form.
1
y[n] x[n] x[n 1] x[n 2]
3
1
y[n] x[n] x[n 1] x[n 2]
3
x[n] x[n 1] x[n 2]
1
3 The moving-average system
is stable.
1
M x M x M x
3
Mx
y[n] r n x[n]
where r > 1. Show that this system is unstable.
1 t
Ex.: Inductor i(t ) v( )d Memory !
L
1
Ex.: Resistor i(t ) v(t ) Memoryless !
R
1
y[n] ( x[n] x[n 1] x[n 2]) Moving Average system. Memory or Memoryless?
3
y[n] x 2[n] This system. Memory or Memoryless?
• A system is said to be causal if its present value of the output signal depends
only on the present or past values of the input signal.
• A system is said to be noncausal if its output signal depends on one or more
future values of the input signal.
Ex.: Moving-average system
1
y[n] ( x[n] x[n 1] x[n 2]) Causal !
3
Ex.: Moving-average system
1
y[n] ( x[n 1] x[n] x[n 1]) Noncausal !
3
A causal system must be capable of operating in real time.
1. Continuous-time system:
The notion of system invertibility.
The second operator H inv is the
inverse of the first operator H.
Hence, the input x(t) is passed
through the cascade correction of
x(t) = input; y(t) = output
H and H inv completely unchanged.
H = first system operator;
H inv = second system operator
y (t ) x(t t0 ) S t0 x(t )
where the operator S t0 represents a time shift of t0 seconds. Find the inverse of this system.
Sol.
1. Inverse operator S t 0:
S t0 { y(t )} S t0 {S t0 {x(t )}} S t0 S t0 {x(t )}
2. Invertibility condition:
S t0 S t0 I S t0 Time shift of t0
y(t ) x2 (t )
is not invertible.
Sol.
Since the distinct inputs x(t) and x(t) produce the same output y(t).
Accordingly, the square-law system is not invertible.
The notion of time invariance. (a) Time-shift operator St0 preceding operator
H. (b) Time-shift operator St0 following operator H. These two situations are
equivalent, provided that H is time invariant.
2. Let y1(t t0) = the original output of the inductor, shifted by t0 seconds:
1 t t0
L
y1 (t t 0 ) x1 ( )d (B)
A system is said to be linear in terms of the system input (excitation) x(t) and
the system output (response) y(t) if it satisfies the following two properties of
superposition and homogeneity:
1. Superposition:
x (t ) x1 (t ) y (t ) y1 (t ) x(t ) x1 (t ) x2 (t )
x ( t ) x2 ( t ) y ( t ) y2 ( t ) y (t ) y1 (t ) y2 (t )
2. Homogeneity: a = constant
x(t ) y (t ) ax(t ) ay (t ) factor
3. Output: N
y (t ) H {x(t )} H { ai xi (t )}
i 1
N
Superposition and
y (t ) ai yi (t ) homogeneity
i 1
where
yi (t ) H {xi (t )}, i 1, 2, ..., N .
4. Commutation and Linearity:
N
y (t ) H { ai xi (t )}
i 1
N N
ai H {xi (t )} ai yi (t )
i 1 i 1
Solution
N
1. Input: x[n] ai xi [n]
i 1
N N N
y[n] n ai xi [n] ai nxi [n] ai yi [n] where yi [n] nxi [n]
i 1 i 1 i 1
Linear system!
Solution:
N
1. Input: x(t ) ai xi (t )
i 1
2. Output:
N N N N
y(t ) ai xi (t ) a j x j (t 1) ai a j xi (t ) x j (t 1)
i 1 j 1 i 1 j 1
y(t ) i 1 ai yi (t )
N
Here we cannot Nonlinear system!
write
7 Noise
School of Mechatronic Engineering
55
Universiti Malaysia Perlis (UniMAP)
Noise
Definition:
Categories of noises: