Escolar Documentos
Profissional Documentos
Cultura Documentos
Motivation
Build a laser head on a rotating motor:
Signals, Systems, and Control Target: an arc with LED lights mounting at different angles
Objective: to track which LEDs are on by rotating to the
appropriate angle
Dr. Edmund Lam Components: some light-sensitive resistors, where R when there is
brighter light
Department of Electrical and Electronic Engineering
The University of Hong Kong
E. Lam (University of Hong Kong) ENGG1203 March, 2013 1 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 2 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
D Q
Also called a block diagram
clk
A system maps an input signal to an output signal
A signals and systems abstraction
3 Schematics Boolean expressions
Examples: Combinational logic system, computer system, . . .
y = a b + a b
E. Lam (University of Hong Kong) ENGG1203 March, 2013 5 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 6 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 7 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 8 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Conceptually, such discrete systems can be built by representing the z-transform and transfer function
numbers in binary and using lots and lots of combinational and
sequential logic gates They are equivalent representations, but differ in their use.
E. Lam (University of Hong Kong) ENGG1203 March, 2013 9 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 10 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#1: Signal Flow Graph Example #1: Signal Flow Graph Example
Example (B):
Example (A): (cont.)
input = {1, 0, 0, 0, . . .} output =?
5 +
4 input
output
3 p delay (1)
2
1 Assume: The system has no signal before the input.
sequence order 11=1
0 1 2 3 4 5
-1 0 0 + p (1) = p
0 0 + p (p) = p2
0 0 + p (p2 ) = p3
Observation: This output is a smoothed version of this input
0 0 + p (p3 ) = p4
Deduction: This discrete-time system achieves smoothing
Hence, output is {1, p, p2 , p3 , . . .}.
E. Lam (University of Hong Kong) ENGG1203 March, 2013 13 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 14 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#1: Signal Flow Graph Example #1: Signal Flow Graph Mini-conclusions
E. Lam (University of Hong Kong) ENGG1203 March, 2013 15 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 16 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
5
Conventions:
4
3 Signal: x[n] (square bracket)
2 Use x[n] for an input signal, y[n] for an output signal
1
Often n = 0, 1, . . . N 1 for a length-N signal. We may also have an
n
0 1 2 3 4 5 6 7 8 9 10
infinite length signal where n can be any nonnegative integers.
Assume x[n] = 0 outside this range.
Data present at regular time intervals = No input, no output. System is at rest.
Often due to sampling of a continuous signal
Some data are naturally discrete, e.g. daily stock price
For our purpose here, well just assume the input and output signals are
discrete without worrying how they come to be
E. Lam (University of Hong Kong) ENGG1203 March, 2013 17 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 18 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#2: Difference Equations: The Mathematics #2: Difference Equations and Flow Graphs
Exercise: Try plotting the following signals The flow graphs now operate on the entire signal (vector vs scalar)
x[n] k x[n]
1 x[n] = Cn , where n = 0, . . . , 99. 1 Multiplication (gain): k
1 = 0.99, C = 10 (k can be integer, fraction, negative number. . . )
2 = 1.00, C = 1
3 = 1.01, C = 0.1 x[n] x[n] x1 [n] x1 [n] + x2 [n]
( 2 Split/add (adder):
+
1 at n = 0 x[n] x2 [n]
2 x[n] =
0 otherwise.
This is the most important signal of all! It is called a delta function or a
(A signal becomes two identical copies)
unit impulse, denoted by [n]. (Two signals added together)
(
1 at n 0
3 x[n] = x[n] x[n d]
0 otherwise. 3 Delay: delay (d)
This is called the unit step function, sometimes denoted by u[n].
(A signal is delayed by d integer units)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 19 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 20 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
1 1
1 delay (1) delay (1)
x[n 1] 2 x[n 1] 2 2
delay (1) 1
2
Tedious to go through the flow graph for each point. Make use of
difference equations:
Example (B): 1 1
w[n] = x[n] + x[n 1]
2 2
x[n] y[n] = p y[n 1] + x[n] 1 1
+ y[n] = w[n] + w[n 1]
2 2
1 1 1 1
= x[n] + x[n 1] + x[n 1] + x[n 2]
4 4 4 4
p y[n 1] y[n 1] y[n] 1
p delay (1) = x[n] + 2x[n 1] + x[n 2] .
4
Effect: further smoothing
E. Lam (University of Hong Kong) ENGG1203 March, 2013 21 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 22 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Software implementation: e.g. y[n] = p y[n 1] + x[n] Real-time software implementation: e.g. y[n] = p y[n 1] + x[n]
E. Lam (University of Hong Kong) ENGG1203 March, 2013 23 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 24 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Example: Fibonacci sequence 1 Flow graphs and difference equations are equivalent
Sequence starts with F0 = 1, F1 = 1, and then Fn = Fn1 + Fn2 Can go from flow graphs to difference equations
Sequence goes like this: 1, 1, 2, 3, 5, 8, 13, 21, 34. . . Can go from difference equations to flow graphs
The story is absolutely unrealistic: A certain place starts with one 2 They correspond to different ways of implementation
(pair of) rabbit, and after two months the rabbit starts to give birth Flow graph is more hardware
to one (pair of) rabbit every month. All the offsprings behave Difference equation is more software
similarly, and they never die!
3 A general form of the difference equation:
But the sequence can indeed be observed in nature!
E. Lam (University of Hong Kong) ENGG1203 March, 2013 25 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 26 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 29 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 30 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
X W Y X W Y
1
+ 1
+ S1 S2
2 2
E. Lam (University of Hong Kong) ENGG1203 March, 2013 33 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 34 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
delay (3)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 35 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 36 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Once we understand the system, we can compute the specific output when we Example: Whats the output of the previous system with x[0] = 1,
are given a particular input. x[1] = 1, and x[n] = 0 otherwise?
System unchanged: Y = X + DX D2 X D3 X
Often, we are concerned with an impulse input, x[n] = [n], i.e., it is
X represents [n] + [n 1]
zero everywhere, except x[0] = 1.
Dk X represents [n k] + [n (k + 1)]
Example: Whats the output of the previous system with x[n] = [n]? Output is
Y = X + DX D2 X D3 X ;
y[n] = [n] + [n 1] + [n 1] + [n 2]
Dk X represents [n k]; therefore,
Output is y[n] = [n] + [n 1] [n 2] [n 3]. [n 2] + [n 3] [n 3] + [n 4]
You can try tracing the flow graph or the difference equation to see if you can
= [n] + 2[n 1] 2[n 3] [n 4]
arrive at the same result.
E. Lam (University of Hong Kong) ENGG1203 March, 2013 37 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 38 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#3: Operator Arithmetics for Feedback #3: Operator Arithmetics for Feedback
Operation notation provides a powerful tool to analyze feedback, If we can work on D algebraically, we can express Y in terms of X:
where output is looped back to the input.
!
Flow graph: 1
Y= X
1 pD
x[n] or X y[n] or Y
+
What does it mean by performing the delay operation in the
denominator?
p delay (1)
Ans: Use the relationship (1 pD)(1 + pD + p2 D2 + . . .) = 1. Therefore,
Operator equation: Y = pDY + X, or, (1 pD)Y = X Can you also come up with this formula from the flow graph?
E. Lam (University of Hong Kong) ENGG1203 March, 2013 39 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 40 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#3: Operator Arithmetics for Feedback #3: Operator Arithmetics for Feedback
The corresponding flow graph:
To refresh your memory
X Y
1 1 1 +
Lets say we want to calculate 1 + 2 + 4 + 8 + ...
1 1 1 p delay (1)
1 Let S = 1 + 2 + 4 + 8 + ...
+
2 Then 12 S = 1 1 1 1
2 + 4 + 8 + 16 + ... p2 delay (2) +
.. ..
E. Lam (University of Hong Kong) ENGG1203 March, 2013 41 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 42 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
#3: Operator Arithmetics for Feedback #3: Operator Arithmetics for Feedback
Stable only if |p| < 1:
3 3 3
If x[n] = [n], what is y[n]? 2 2 2
0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5
y[n] = [n] + p[n 1] + p2 [n 2] + . . .
p = 0.8 p = 1.0 p = 1.2
We had the same result when we studied the flow graph before! For 3 3 3
1 1 1
-2 -2 -2
-3 -3 -3
p = 0.8 p = 1.0 p = 1.2
E. Lam (University of Hong Kong) ENGG1203 March, 2013 43 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 44 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
We now have a good tool to analyze feedback systems. Two (related) questions:
The key to understanding the behavior of a feedback system: think
1 How to mathematically represent X that incorporates the whole
about what happens to the signal when it goes through a loop or a cycle signal?
2 How to mathematically represent the operations multiplication,
|p| < 1: signal weakens after the loop, so output decays
|p| = 1: signal magnitude remains the same after the loop, so output addition, and delay?
maintains
|p| > 1: signal is amplified after the loop, so output grows A brilliant way: X is a polynomial where the coefficients are the
various values of x[n].
We are most concerned with an input that is a unit impulse: its
called the impulse response convention to use negative power
Example: x[n] = {3, 4, 1, 1}
Feedback gives rise to a persistent response with only a transient input
The system has a similar behavior (in terms of decay pattern) as X(z) = (3) + (4)z1 + (1)z2 + (1)z3
long as the input is of a finite duration.
X is now a polynomial in terms of z
E. Lam (University of Hong Kong) ENGG1203 March, 2013 45 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 46 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 47 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 48 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
This is very similar to the operator notation D! You can think of z-transform X zd X
as a practical way of realizing the operations. 3 Delay: delay (d)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 49 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 50 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
1
X 2X Y = 12 X + 12 z1 X X Y = pz1 Y + X
1
2 + +
1 1
z1 X 2z X pz1 Y z1 Y Y
delay (1) 1 p delay (1)
2
1
We can write Y = 2 1 + z1 X.
1 pz1 Y = X
There are direct correspondences with:
Y= 1
(1 + D) X 1
2 Y= X
y[n] = 12 x[n] + x[n 1] 1 pz1
E. Lam (University of Hong Kong) ENGG1203 March, 2013 51 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 52 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
g2 delay (2)
1
Example (A): H = 2 1+ z1 .
11
1 0 0 + 34 (1) = 3
Example (B): H = . 4
1 pz1 0 0 + 34 ( 34 ) + ( 18 )(1) = 7
16
3 7 1 3 15
00+ 4 ( 16 ) + ( 8 )( 4 ) = 64
We call p the pole of the discrete-time system.
3 15 1 7 31
00+ 4 ( 64 ) + ( 8 )( 16 ) = 256
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 55 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 56 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
Remember that for a first-order feedback system with gain p, an The input x[n] = {1, 1, 1, . . .}. Following the flow graph, we know
impulse input (x[n] = [n]) gives an output y[n] = {0, 12 , 34 , . . .}. But can we derive a general formula?
1
X 2 (X + Y) Y = 12 (X + Y)z1
n 1 delay (1)
y[n] = p + 2
E. Lam (University of Hong Kong) ENGG1203 March, 2013 61 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 62 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
In time-domain, y[n] = 1 ( 21 )n .
E. Lam (University of Hong Kong) ENGG1203 March, 2013 63 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 64 / 96
Signals, Systems, and Control (Part #1) Signals, Systems, and Control (Part #1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 65 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 66 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
A possible configuration:
Problems:
Need to know initial angle
Need exact electrical and mechanical characteristics of the motor
Need to give very precise instruction to the voltage source to first
accelerate and then decelerate the motor
+
v This is called an open-loop system, which is generally not desirable.
E. Lam (University of Hong Kong) ENGG1203 March, 2013 67 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 68 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
K1 D K1 (D ) 1
D potentiometer comparator amplifier
gain = K1 K2 . This is our design parameter
K1
potentiometer Can disturb the antenna position the system will correct itself
No need to know initial angle, model the exact electrical and
A desired angle D mechanical characteristics of the motor, or give very precise
Potentiometer maps angle to voltage (K1 ) instruction to the voltage source to first accelerate and then
decelerate the motor
Comparator takes the difference
Amplifier magnifies the input signal (K2 ) This is called a closed-loop system, which is generally desirable!
E. Lam (University of Hong Kong) ENGG1203 March, 2013 69 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 70 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
desired actual +
driver car X + K(z) Y
position position
GY
What about drunk driving? G(z)
2 Air-conditioning: controlling the room temperature Negative gain is embedded in the + and symbols
desired actual
thermostat heating/cooling Y = K X GY
temperature temperature
Y K
What if you dont want to turn on and off the air-conditioning too H= =
frequently? X 1 + KG
E. Lam (University of Hong Kong) ENGG1203 March, 2013 71 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 72 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 73 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 74 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
K 1 R1 + R2
H= = G = z1
1 + KG G R2
1
K 1 1
12z
1
Resistor values are much more accurate than op amp gain this =
1 + KG 1 + 1 1
= (1 2z1 ) + z1 = 1 (2 )z1
z
new circuit has much more reliable gain 12z1
Tradeoff: the gain is much smaller, since we need K 1/G is our design parameter. Pick so that |2 | < 1.
This is the non-inverting amplifier we studied!
E. Lam (University of Hong Kong) ENGG1203 March, 2013 75 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 76 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
+ error input
reference + controller system output x[n]
+
+ 1
y[n]
12z1
measurement
sensor
Y 1 1+
controller = C(z), system/plant = P(z), sensor = G(z) = 12z = =
X 1+ (1 + ) 2z1 2
1 1+ z1
12z1
P(z) may be unstable
Design C and G such that the closed-loop system 2
Pole is = Bigger means a smaller pole
1+
CP e.g. x[n] = [n], then a smaller pole means y[n] 0 faster (output
H= is stable
1 + CPG is related to the pole raised to the power n)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 77 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 78 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 79 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 80 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
0.8
0.7 0.8
8 0.6
2 = 31, = 31 : 0.5
0.6
0.4
31 31 2 31 1 0.4
31 32 32 3 32 3 0.3
H= = = +
32 8z1 4z2 1 14 z1 18 z2 1 12 z1 1 + 14 z1
0.2 0.2
0.1
0 0
Therefore, if x[n] = [n], then
0 2 4 6 8 10 0 2 4 6 8 10
55 8
" n n #
= 9, =0 = 31, = 31
31 1 1
y[n] = 2 + poles at 34 , 34 poles at 12 , 14
96 2 4
Decay is determined by the larger of the two poles (magnitude < 1)
E. Lam (University of Hong Kong) ENGG1203 March, 2013 81 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 82 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
Set the input angle, and expect the output to follow
Input is D [n]. Output is [n]
Sensor senses current angle to feed back to the input
move by K2 K1 (D )
s [n] = [n]
K1 D K1 (D )
D potentiometer comparator amplifier Controller produces an angular velocity proportional to the difference
between desired angle and sensed data
K1
v[n] = K(D [n] s [n])
potentiometer
System turns the angle of the antenna from the previous angle to the
current angle (based on the previous angular velocity!)
Connect the specific problem to the general model
[n] = [n 1] + Tv[n 1]
+ error input
reference + controller system output
where T is the time between the discrete samples (fixed beforehand)
measurement
sensor Design question: How to choose K?
E. Lam (University of Hong Kong) ENGG1203 March, 2013 83 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 84 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
system
Equation: controller
[n] = [n 1] + KT(D [n 1] [n 1]) + v[n]
D [n] + K T + delay (1) [n]
Flow graph:
v[n] Within the system block, we have a feedback with positive loop! Hence,
+
D [n] + K T + delay (1) [n] transfer function within this block has minus in the denominator:
z1
T
1z1
s [n] Substituting this into the system block, we can apply the feedback
sensor equation again to get
z1
Make use of the mathematics of feedback control to find the transfer K T 1z1 (KT)z1
H= = =
function of the entire process D 1 + K T z 1
1
1 (1 KT)z1
1z
E. Lam (University of Hong Kong) ENGG1203 March, 2013 85 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 86 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
D [n] + v[n]
f
D [n] + + K T + delay (1) [n]
We can use this transfer function to understand the behavior of
delay (1)
the output with an impulse input.
s [n]
But what we want is a bit different: we want to understand the
behavior of the output with an input staying at a certain angle.
Let p = 1 KT. Overall transfer function:
Change to the following system! (1 p)z1 !
e 1 1 1
H= 1 1
= 1
D [n] + v[n] 1z 1 pz 1z 1 pz1
f
D [n] + + K T + delay (1) [n]
delay (1) f
Thus, if D [n] is an impulse input, output is a difference of two
geometrically decaying sequences, i.e.
s [n]
[n] = (1)n (p)n = 1 pn
E. Lam (University of Hong Kong) ENGG1203 March, 2013 87 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 88 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
What if sensor feeds back to the input with a delay, i.e.
s [n] = [n 1]
[n] = 1 pn
Adding delay tends to destabilize the system
Interpretations: Difficult to have an intuitive way to set K
Lets say a value of 1 means 30 . We give an impulse input, or
controller system
equivalently keep D [n] = 1, leads to [n] = 1 pn , which
approaches 1 when |p| < 1 and n .
+ v[n]
Best value of p: p = 0, i.e. KT = 1. D [n] + K T + delay (1) [n]
Note that lim p0 = 1. So, output is 1 only when n 1.
p0
Lets say we get a discrete sample every one second, i.e. T = 1s. If
we want to turn 30 (a value of 1 in our discrete model), then we delay (1)
should set K = 30 per second (to multiply the input). s [n]
E. Lam (University of Hong Kong) ENGG1203 March, 2013 89 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 90 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
1 1 Develop the transfer function
!
0.8 0.8 z1
Systems block unchanged: T
0.6 0.6
1 z1
0.4 0.4
Transfer function includes the delay in sensor
0.2 0.2
z1
0 0
K T 1z 1 (KT)z1
H=
0 5 10 15 20 0 5 10 15 20
= =
KT = 0.1 KT = 0.25 D 1 + K T z11 (z1 ) 1 z1 + (KT)z2
2 2 5 1z
4
E. Lam (University of Hong Kong) ENGG1203 March, 2013 91 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 92 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Antenna Orientation Problem
E. Lam (University of Hong Kong) ENGG1203 March, 2013 93 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 94 / 96
Signals, Systems, and Control (Part #2) Signals, Systems, and Control (Part #2)
Feedback Design: The Antenna Orientation Problem Feedback Design: The Light Tracker
We were motivated to study signals, systems, and control for the light
A postscript: We had some observations earlier that tracker problem:
Vdd Vdd
1
For 4 < (KT) < 1, the system oscillates but still converges RL
RL R
For (KT) = 1, the system oscillates (Hint: what is the magnitude of Vp
the poles?) +
RR RR motor R
For (KT) 1, the system is unstable!
Why? Youll find out if you continue with EEE! (a) (b) assume connection to motor was buffered
To give you a sneak preview, we have included a step-by-step example
in the homework. Very similar to the antenna orientation problem, except the target
angle is sensed from RL and RR rather than set beforehand. You now
know enough to build it in the lab!
E. Lam (University of Hong Kong) ENGG1203 March, 2013 95 / 96 E. Lam (University of Hong Kong) ENGG1203 March, 2013 96 / 96