Beruflich Dokumente
Kultur Dokumente
Control Theory
Pengantar Teknik Elektro
Dr. Aris Triwiyatno, ST, MT
Error
Components
Target system: what is controlled
Controller: exercises control
Transducer: translates measured
outputs
Data
Reference input: objective
Control input: manipulated to affect output
Disturbance input: other factors that affect
the target system
Transduced output: result of manipulation
Given target system, transducer, Control theory finds controller that adjusts
control input to achieve given measured output in the presence of disturbances.
Actuator:
The entity
that
implements
the control
Mechanical
Device that
Changes pedal
angle
Embedded
System
Pedal
Error
that does Angle
cruise controlSetting
Speed
Speed
calculator
Feedback!
Random variation
Car
Distance
Travelled,
Time taken
Sensor:
the entity
Odometer,
that
Car clock
measures
the output
Desired
Response
time
Actuator:
The entity
that
implements
the control
Error
Controller:
Process in
Domain 0 that
periodically
changes
Cap value of
Guest
Domain
Smoothed
Response
time
CPU
Cap
Value
E.g.
Smoothing
filter
Xen hypervisor
scheduler
Feedback!
Random variation
Xen VM
(Guest Domain)
With applications
running
Response
Time (of
Applications)
Sensor:
the entity
E.g. a proxy that
Can measure that
Time taken
measures
the output
Components
Target system: what is controlled
Controller: exercises control
Transducer: translates measured
outputs
Data
Reference input: objective
Control input: manipulated to affect output
Disturbance input: other factors that affect
the target system
Transduced output: result of manipulation
Given target system, transducer, Control theory finds controller that adjusts
control input to achieve given measured output in the presence of disturbances.
Disturbance Rejection
Optimization
u(k)
e(k)
x(k)
y(k)
Feedback Control
Rather than use only some offline model, also take into account the
immediate measured effect of the value of your control variable
If car at S1, want to go to S2, S1 < S2 (positive error), pedal must be pushed
further down.
Feedback control
Since we want control to work in a timely manner
(not only in steady-state), relationship should be
time dependent
New value of y: y(k+1) will generally depend on
y(k) and u(k)
Speed of car at this instant, will depend on what speed
was at the beginning of previous interval, and the pedal
angle in the previous interval
Similarly, queuing delay at this intvl will depend on
queuing delay of previous instant, and CPU frequency
setting of previous interval
System Modeling
Need a model to capture this relationship over
time
Can be first order (depending on 1 previous value), or
higher order (more than 1 previous values).
First Order Linear model: y(k+1) = a y(k) + b u(k)
System Modeling
If first principles difficult: empirical model
Run controlled experiments on target
system, record values of y(k), u(k), run
regression models to find a and b.
How to do this correctly is a field called system
identification
Main issues:
Relationship may not be actually be linear
Number in System
Utilization
Non-linear relationships
Response Time
Operating point: ( N , K )
Operating range
Values of N,K for
which model applies.
Offset value
Difference from
operating point
y NN
u K K
Control Laws
Stability
Accuracy
Unstable System
Short settling
Small overshoot
Conclusion
Padala paper uses integral control law in
most places.
It uses empirical methods for generating
system model
Slides gave just enough required
background.
Control theory is a huge field with lots of
books (mainly used in EE, MECH, CHEM)
Read books/papers/if further interested