Professional Documents
Culture Documents
Discrete-time Control
Also known as Digital- or Numerical Control Corrections take place at particular instances in time.
Controllers output stays constant between these instances.
Hybrid Control
A blend of both control systems (and strategies).
Chapter 1
ME 534
Chapter 1
ME 534
Millitary y applications pp
Advanced weapons systems Radar systems
Robotics
Mobile robots Industrial I d t i l robots b t
Automations systems
Factory y automation
Aerospace applications
Aircraft control / guidance Satellites Rocket / missile guidance
Personal Computing
Hard H d di disk kd drives i CD-RW drives
Chapter 1
ME 534
Control Computer
b(t) Sensor
Chapter 1
Inverting g Amplifier p
A number of different functions can be implemented by employing op-amps with various passive circuit elements.
8 7 6
No connection +V Output
Analog controllers are frequently implemented via operational amplifiers (or simply op-amps).
One can implement almost any desired function.
Integrator:
ZA = R ZB = 1/(Cs)
5 Offset null
E o (s) 1 1 = E i (s) RC s
Eo ( s ) Z ( s) = Gi ( s ) = B Ei ( s ) Z A ( s)
where ZA, ZB refer to the generalized impedances [] of the components. Note that the bipolar voltage supply (+V, -V) of the circuit is customarily NOT shown for the sake of simplicity. simplicity
Chapter 1
Differentiator:
ZA = 1/(Cs) ZB = R
Chapter 1
ME 534
Differential e e a Amplifier p e
_ Rn
+ +
eo = ei
+
R1 e1 RL
en
eo
Low-pass Filter:
Differential amplifier p is used to amplify small signals buried in much larger signals. R2 resistances (along with R1s) must be equalized to reduce the effect of common mode voltage on p ( (vo) ). the output
ME 534 11
eo =
i =1
Rf Ri
ei
Eo ( s ) 1 = Ei ( s ) ( RC ) s + 1
vo =
Chapter 1
R2 R1
( v 2 v1 ) = k e
Chapter 1
ME 534
10
Voltage g Limiter
Output of op-amps cannot exceed a certain voltage level Vsat:
o Vsatt is a few volts (usually 2 Volts) lower than the supply voltage (Vs). )
Kd r(t) + _
P-control I-control
d dt
One can built a voltage limiter using this important property. To accomplish that, two cascaded op-amp circuits are designed:
o o The first one ( (Amplifier) Amplifier ) is to amplify ei such that the output at this stage will saturate at the some desired level. The following circuit (Attenuator) , which has a reciprocal of the amplifiers gain, reverts the amplified voltage back. As an illustration, assume that we would like to limit ei such that -5 [V] ei 5 [V] Let Vs = 15 [V] and Vsat = 13 [V]. In this case, the gain of the amplifier is calculated as Vsatt/ei,max =13/5 = 2 2.6 6 i Hence, we choose R1 = 10 k and R2 = 26 k.
Ki
dt
Transfer Function:
Kp b(t)
2 ( s + 1)( 2 s + 1) M (s) K d s + K p s + Ki = = Ki 1 E ( s) s s E ( s) = R( s) B( s)
Circuit Parameters:
1 = R1C1 2 = R2C2
Ki =
Chapter 1 ME 534
R4 R1 R3C2
13
Chapter 1
ME 534
12
Control Parameters:
Kp = Ki =
R3 R4 1 R1C1
K d = R2C2
Chapter 1
ME 534
14
Chapter 1
ME 534
15
Comparison p
Analog Control Digital Control
Control computations (such as dt, d/dt, All computations are performed in , , , etc.) are continuous in time. distinct time intervals. Op-amps are used as computing elements. H d i d Not Hardwired N t suitable it bl f for reconfiguration. Very sensitive to measurement- and process noise. p for simple p control systems y Inexpensive but can be quite costly for complex systems.
Chapter 1
Ps, DSPs, Cs, PLCs are commonly utilized. Fl ibl / easily Flexible il programmed. d Somewhat sensitive to signal conversion errors, quantization noise, and round-off / truncation errors. Hardware is inexpensive p but control software development tools can be expensive.
ME 534
16
Chapter 1
ME 534
17
Type yp 1: Continuous-time
f(t) f*(t)
Time: t [0, [0 +) The signal ranges between a lower bound (fmin) and an upper bound (fmax): f [fmin, fmax ] By definition, f(t) = 0 when t < 0.
Chapter 1 ME 534 18
Time: t {0, T, 2T, ... , kT, ...} g ranges g between a lower bound (fmin) The signal and an upper bound (fmax): f [fmin, fmax ]
Chapter 1 ME 534 19
f =
~*
3 f f
f = [ f min , f max ]
2T 3T
Time: t {0, T, 2T, ... , kT, ...} The Th range of f the th function f ti becomes b
f * {nf , (n 1)f , , 0, f , 2f , , mf }
Chapter 1 ME 534 20 Chapter 1 ME 534
Since the transitions of the function at T, 2T, 3T, ... are extremely fast, the function values predominantly reside at the quantized levels.
21
Properties p ( (Contd) )
All q quantites in discrete-time domain could be expressed as
X(t = kT) X(k) where k {0, 1, 2, ...} k is called time index.
Control algorithm is essentially an algeabric expression (difference equation) which depends on not only the history of error but also that of the manipulation):
e(kT) +
t Error
Difference Equation
m(kT)
t Manipulation
Output Interface
~ m(t)
t
Command
Control Algorithm
Control Element
Plant
Clock ~ b(kT)
Measurement t
b(t)
t
Sensor
Analog Domain
Sampler Analog-to-Digital (A/D) Converter Latch Digital-to-Analog Digital to Analog (D/A) Converter
Control elements:
M Motor t Driver Di + El Electric ti M Motor t Servo-valve + Hydraulic Cylinder / Motor Power Converter + Electric Heater
Chapter 1 ME 534 24 Chapter 1 ME 534 25
I) ) Sampler p
f(t) Type 1 f(t) t
0 T 3T
Sampler
f*(t) t
Samples a continuous continuous-time time signal at sampling instances. Converts effectively an analog signal (Type 1) into a discrete-time one (Type 2).
Chapter 1 ME 534 26
It converts a voltage level into a corresponding (binary) number representation at a particular instant of time.
Chapter 1 ME 534 27