computercontrolledsystems …polcz.itk.ppke.hu/files/targyak/ccs_2019/lec_01_2019.pdf ·...
TRANSCRIPT
Computer Controlled Systems(Introduction to systems and control theory)
Lecture 1
Gábor Szederkényi
Pázmány Péter Catholic UniversityFaculty of Information Technology and Bionics
e-mail: [email protected]
PPKE-ITK, 12 September, 2019
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 1 / 86
Outline
1 Administrative summary
2 Introduction
3 Brief history
4 Controlled systems in our everyday life and in nature
5 Further examples
6 Basics of signals and systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 2 / 86
Administrative summary, course information
please check the course homepage regularly (requirements, plannedschedule, slides, seminar materials, homeworks, further reading,midterm test and exam information, etc.)http://daedalus.itk.ppke.hu/?page_id=1105two official communication channels:1) course webpage2) Neptun system
2 midterm tests are planned during the semester + 1 supplementarytest4 homework exercise/problem sets are plannedrequired prior knowledge: linear algebra (lots of matrix calculations),math. analysis (basic tools, Laplace-trafo, linear diff. eqs.), basics ofprobability theory and stochastic processes
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 3 / 86
1 Administrative summary
2 Introduction
3 Brief history
4 Controlled systems in our everyday life and in nature
5 Further examples
6 Basics of signals and systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 4 / 86
Introductory example – 1Quantitative model of a simple DNA-repair mechanism(Karschau et al., Biophysical Journal, 2011)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 5 / 86
Introductory example – 2Reaction graph:
Kinetic equations:
x1(t) = k3x3(t)− k1x1(t)
x2(t) = k1x1(t)− k2x2x4(t)
x3(t) = k2x2(t)x4(t)− k3x3(t)
x4(t) = k3x3(t)− k2x2(t)x4(t),
variables:x1 - no. of undamaged guanine basesx2 - no. of damaged guanine basesx3 - no. of guanine bases being repairedx4 - no. of free repair enzyme molecules
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 6 / 86
Introductory example – 3
Intervention (to change the operation of the system):adding more repair enzymes
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 7 / 86
Simple RLC circuit – 1
R L
C
uR
uL
ube
uC
i
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 8 / 86
Simple RLC circuit – 2
Kirchhoff’s voltage law: −ube + uR + uL + uC = 0Ohm’s law: UR = R · iOperation of the linear capacitor and inductor:
uL = L · didt, i = C · dUC
dt
the so-called state equation :
di
dt= −R
L· i − 1
LuC +
1Lube
duCdt
=1C· i
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 9 / 86
Simple RLC circuit – 3
Parameters: R = 1 Ω, L = 10−1H, C = 10−1F .uC (0) = 1 V, i(0) = 1 A, ube(t) = 0 V
0 0.5 1 1.5−1
−0.5
0
0.5
1
1.5
idö [t]
i [A] u
c [V]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 10 / 86
Simple RLC circuit – 4
uC (0) = 1 V, i(0) = 1 A,ube(t) = 5 V
0 0.5 1 1.5−1
0
1
2
3
4
5
6
idö [s]
i [A] u
c [V]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 11 / 86
Simple RLC circuit – 5
Periodic input:
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5−1
−0.8
−0.6
−0.4
−0.2
0
0.2
0.4
0.6
0.8
1
idö [s]
ub
e [
V]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 12 / 86
Simple RLC circuit – 6
uC (0) = 1 V, i(0) = 1 A
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5−1.5
−1
−0.5
0
0.5
1
1.5
idö [s]
i [A] u
c [V]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 13 / 86
Notion of dynamical models/systems and theirapplication
Dynamical models:they are applied to describe [physical] quantities varying in spaceand/or in timethey describe the operation of natural or technological processesthey can be useful to simulate or predict the behaviour of a processmost often, mathematical models are used to describe dynamics (e.g.ordinary/partial differential equations)they can efficiently be solved by computers using various numericalmethodsthey are useful to analyse the effect of a given (control) input
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 14 / 86
What does control mean? - Example
Control or stabilize the velocity of vehicles (e.g. tempomat)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 15 / 86
What does control mean?
To control an object:to manipulateits behaviourin order to reach a goal.
Manipulation can happenthrough observing the behaviour (modeling), thenchoosing an appropriate control input considering thedesired behaviourthrough the feedback of the observed quantities(measurements) to the input of the system (this canalso be model-based)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 16 / 86
What does control mean? - Notions
System: What do we want to operate (what are the limits, what arethe inputs/outputs)?Control goal: What kind of behaviour do we want to achieve?System analysis: Does the problem seem soluble? What can weexpect?Sensors: Detection and monitoring of the the system’s behaviourActuators: Actual physical intervention (execution)Models: Mathematical description of the system’s operation (overtime/space)Control system: Approach to solve the problem (there can be manysolutions based on various principles)Hardware/software: Controller design and execution of controlalgorithms
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 17 / 86
The significance of systems and control theory
Dynamics : Description of varying quantities in space/timeDynamical systems and control systems are present everywhere inour lives: household appliances, vehicles, industrial equipment,communications systems, natural systems (physical, chemical,biological)Control becomes mission-critical: if it fails, the whole system maybecome unusableThe elements of system theory are (increasingly) utilized by classicalsciencesThe principles of control theory have been applied to seemingly distantareas, like economics , biology , drug discovery , etc.
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 18 / 86
The significance of systems and control theory
Systems and control theory is inherently interdisciplinary(construction of mathematical models and analysis; physicalcomponents: controlled system, sensors, actuators, communicationchannels, computers, software)Systems theory provides a good environment for the transfer oftechnology : in general, procedures developed in one area can beuseful in other areas, tooKnowledge and skills obtained in control theory provide a goodbackground for designing and testing complex (technological) systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 19 / 86
Dynamical models (systems) and biology
dynamics may be essential to understand the operation of importantbiochemical/biological processes (causes, effects, cross-reactions)biology is increasingly available to the traditional engineeringapproaches (on molecular, cellular and organic levels, too):quantitative modeling, systems theory, computational methods,abstract synthesis methodsconversely, biological discoveries might serve as a basis for new designmethodologiesa few areas where the dynamics and control have an important role:gene regulation; signal transmission; hormonal, immune andcardiovascular feedbacks; muscle and movement control; activesensing; visual functions; attention; population and disease dynamics
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 20 / 86
1 Administrative summary
2 Introduction
3 Brief history
4 Controlled systems in our everyday life and in nature
5 Further examples
6 Basics of signals and systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 21 / 86
Simple water clock
Before 1000 BC
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 22 / 86
Water clock with water flow rate control
3rd century B.C.
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 23 / 86
Flyball governor
James Watt, 1788
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 24 / 86
Birth of systems and control theory as a distinctdiscipline (approx. 1940-1957)
1940-45: Intensive military research (unfortunately); recognizingcommon principles and representations (radar systems, optimalshooting tables, air defense artillery positioning, autopilot systems,electronic amplifiers, industrial production of uranium etc.).Representation of system components using block diagramsAnalysis and solution of linear differential equations using Laplacetransformation, theory of complex functions and frequency domainanalysisThe results of the research in the military were quickly used in otherindustries as wellIndependent research and teaching of control theory began1957: The International Federation of Automatic Control (IFAC) wasfounded
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 25 / 86
The next stage of development (about 1957-1980)
Motivation: military and industrial application requirements,development of mathematics and computer sciencesSpace Race – space research competition (spacecraft Sputnik, 1957)The first computer-controlled oil refinery in 1959The use of digital computers for simulation and control systemsimplementationMathematical precision becomes more importantThe appearance of state-space model based methods
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 26 / 86
Modern and postmodern control theory (about1980-)
Birth of nonlinear systems and control theory based on differentialalgebraThe explosive development of numerical optimization methods +computing capacity becomes cheaperHandling model uncertainties (robust control)Model predictive control (MPC)“Soft computing” techniques: fuzzy logics, neural networks etc.Energy-based linear and nonlinear control (electrical, mechanical,thermodynamical foundations)Control of hybrid systemsTheory of positive systemsControl theory and its application to networked systems(“cyber-physical” system)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 27 / 86
1 Administrative summary
2 Introduction
3 Brief history
4 Controlled systems in our everyday life and in nature
5 Further examples
6 Basics of signals and systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 28 / 86
Controlled technological systems
thermostat + heating: temperaturedynamic speed limits on highways: the number of cars passingthrough during a time unit, exhaust emissionspower plants’ (thermal) power: required electric powermovement of robotic arms and mobile robots: follow prescribedtracks (guidance)aircraft landing/take off: height, speedair traffic control: time of landings/take-offs and their orderre-scheduling of timetables: to minimize all delaysoxygenation of wastewater treatment plants: speed ofbioreactionswashing machine: weight control, water amount controlABS, ESP systems in vehicles: torque, braking forceCPU clock speed, fan speed: temperature
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 29 / 86
Management of society and economics
laws (including their execution): social lifebanking systems: quantity of money in circulationmedia: reviews, public taste, agreed standards, overemphasizedand concealed informationsadvertisement: consumer habits
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 30 / 86
Control in nature
control of gene expression (transcription, translation)body temperature regulation of warm-blooded animalsblood glucose controlhormonal and neural control in organisms/living entitiesswarm of moving animals (birds, insects, fish): speedsynchronized flashing of light emitting insectsmovement, human walking
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 31 / 86
1 Administrative summary
2 Introduction
3 Brief history
4 Controlled systems in our everyday life and in nature
5 Further examples
6 Basics of signals and systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 32 / 86
Bioreactor–model
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 33 / 86
Bioreactor–model
dXdt
= µ(S)X − XFV
dSdt
= −µ(S)XY
+ (SF−S)FV
where µ(S) = µmaxS
K2S2+S+K1
X biomass concentration [ gl ] Y kin.par. 0.5 -S substrate concentration [ gl ] µmax kin.par. 1 [ 1
h ]F input flow rate [ lh ] K1 kin.par. 0.03 [ gl ]V volume 4 [l ] K2 kin.par 0.5 [ l
g ]
SF substrate feed concentration 10 [ gl ]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 34 / 86
Bioreactor–model
F = 0 lh
0 1 2 3 4 5 6 7 8 9 100
1
2
3
4
5
6
7
8
9
10
idö [h]
ko
nce
ntr
áció
[g
/l]
biomassza konc.szubsztrát konc.
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 35 / 86
Bioreactor–model
F = 0.8 lh
0 2 4 6 8 10 12 14 16 18 200
1
2
3
4
5
6
7
8
9
10
idö [h]
ko
nce
ntr
áció
[g
/l]
biomassza konc.szubsztrát konc.
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 36 / 86
Simple ecological system
dx
dt= k · x − a · x · y
dy
dt= −l · y + b · x · y
x – number of preys in a closed areay – the number of predators in a closed areak – the natural growth rate of preys in the absence of predatorsa – “meeting” rate of predators and preysl – natural mortality rate of predators in the absence of preysb – reproduction rate of predators for each consumed pray animalParameters:k = 2 1
montha = 0.1 1
pieces·monthl = 1 1
monthb = 0.01 1
pieces·monthSzederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 37 / 86
Simple ecological system
x(0) = 200, y(0) = 20
0 1 2 3 4 5 6 7 8 9 100
20
40
60
80
100
120
140
160
180
200
idö [hónap]
[db]
zsákmányállatok számaragadozók száma
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 38 / 86
Simple ecological system
x(0) = 200, y(0) = 80
0 1 2 3 4 5 6 7 8 9 100
100
200
300
400
500
600
700
idö [hónap]
[db]
zsákmányállatok számaragadozók száma
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 39 / 86
SIR disease spreading model
Healing/spreadingmechanism:
S : susceptible human individualsI : infected human individualsR : recovered human individualsN: number of populations = S/N, i = I/N, r = R/Nmathematical model:
dsdt
= −b · s(t) · i(t)
drdt
= k · i(t)
didt
= b · s(t) · i(t)− k · i(t)
b, k : constant parameters
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 40 / 86
SIR disease spreading model
N = 107, S(0) = 9999990, I (0) = 10, R(0) = 0, k = 1/3, b = 1/2
0 20 40 60 80 100 1200
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
t [days]
s/i/r
s (susceptible)
r (recovered)
i (infected)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 41 / 86
6 degree of freedom robotic arm
(doctoral work of Ferenc Lombai)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 42 / 86
6 degree of freedom robotic arm
Planning and execution of a throwing movement
(videos/6dof_dob_1.avi)(videos/6dof_dob_2.avi)(videos/6dof_dob_3.avi)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 43 / 86
Flexible robotic joint
Controlled flexor-extensor mechanism with 2 stepper motor(doctoral work of József Veres)
http://www.youtube.com/watch?v=qBMs_36gZMg
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 44 / 86
Simultaneous Localization & Mapping (SLAM)
Task: Active localization of a mobile robot (parallel movement andmapping)Students’ Scientific Conference assignment ofJános Rudan and Zoltán Tuza
(videos/SLAM_TDK.mpeg)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 45 / 86
Autonomous and cooperative vehicles
Steered car model – 1
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 46 / 86
Autonomous and cooperative vehicles
Steered car model – 2Configuration space: R2 × S1
Configuration: q = (x , y , θ)Parameters:S : signed longitudinal direction, speedφ: steering angleL: distance between front and rear axlesρ: turning radius for a fixed steering angle φThe dynamical model describes how x , y and θ change in time:
x = f1(x , y , θ, s, φ)
y = f2(x , y , θ, s, φ)
θ = f3(x , y , θ, s, φ)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 47 / 86
Autonomous and cooperative vehicles
Steered car model – 3The most simple control model:Manipulate input (simplistic assumptions): velocity (us), steering angle(uφ), namely u = (us , uφ)The equations:
x = us cos θ
y = us sin θ
θ =usL
tan uφ
More accurate (realistic) model using acceleration dynamics:
x = s cos θ
y = s sin θ
θ =usL
tan uφ
s = ut
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 48 / 86
Autonomous and cooperative vehicles
Following prescribed trajectories (guidance) (videos/car_track.avi)Chasing of moving objects, simulations: Gábor Faludi(videos/ref_car.avi)(flight) movement in formations (videos/formation.avi)Formation change (videos/chg_form.avi)Obstacle avoidance (videos/obstacle.avi)Task-based route planning in a factory: Balázs Csutak(videos/demo_extended.avi)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 49 / 86
Chernobyl disaster – control point of view
Chernobyl 1986: The worst nuclear-power-plant disaster in history
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 50 / 86
Chernobyl disaster – control point of view
1st of all: lots of critical safety rules were intentionally violatedmain input for controlling thermal power: position of absorbentcontrol rodsthermal power had to be significantly reduced for the experimentsuch NPPs were not designed for long time operation on low power(not enough knowledge/experience about this for the operators)Xenon-poisoning completely changed the state (and behaviour) ofthe reactorthe reactor’s response for control rod position change was totallydifferent than expected: controllability problemanalogue: a car reacts very differently for the same movements of thesteering wheel at different speeds
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 51 / 86
Power system application: primary circuit pressurecontrol
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 52 / 86
Primary circuit pressure control
Structure of pressurized water reactor unit
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 53 / 86
Primary circuit pressure control
YP10
ú ú
û
ù
ê ê
ë
é
s
kg m
ú ú û
ù
ê ê ë
é
s kg
m
. const M =
1 χ
4 χ
3 χ
2 χ
[ ] K T I ˚
[ ] K T ˚
pressurizer tank
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 54 / 86
Primary circuit pressure control
Modeling assumptions:two perfectly stirred balance volumes: water and the wall of the tankconstant mass in the two balance volumesconstant physico-chemical propertiesvapor-liquid equilibrium in the tank
Equations:water
dUdt
= cpmTI − cpmT + KW (TW − T ) + WHE · χ
wall of the tankdUW
dt= KW (T − TW )−Wloss
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 55 / 86
Primary circuit pressure control
Variables and parameters:T water temperature CTW wall temperature Ccp specific heat of water J
kgCU internal energy of water JUW internal energy of the wall Jm water inflow rate kg
sTI temperature of incoming water CM mass of water kgCpW heat capacity of the wall J
CWHE max. power of heaters Wχ portion of heaters turned on -KW heat transfer coefficient of the wall W
CWloss the system’s heat loss W
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 56 / 86
Primary circuit pressure control
Temperature of water inflow
0 5 10 15 20 25245
250
255
260
265
270
275
280
285
290
idö [h]
TI [
K]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 57 / 86
Primary circuit pressure control
Pressure without control
0 5 10 15 20 25121.5
122
122.5
123
123.5
124
124.5
125
125.5
126
idö [h]
nyo
má
s [
ba
r]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 58 / 86
Primary circuit pressure control
Pressure using a control system
0 5 10 15 20 25122.4
122.6
122.8
123
123.2
123.4
123.6
123.8
124
124.2
idö [h]
nyo
má
s [
ba
r]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 59 / 86
Primary circuit pressure control
Heating power applied by the the controller
0 5 10 15 20 250.3
0.4
0.5
0.6
0.7
0.8
0.9
1
idö [h]
bekapcsolt fütö
teste
k a
ránya
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 60 / 86
Primary circuit pressure control
Smaller transient: position of control rods
55 60 65 70−0.1
−0.08
−0.06
−0.04
−0.02
0
0.02
0.04
0.06
0.08
0.1
time [h]
contr
ol ro
d p
ositio
n [m
]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 61 / 86
Primary circuit pressure control
Thermal power of the reactor
55 60 65 701350
1360
1370
1380
1390
1400
1410
time [h]
Reacto
r th
erm
al pow
er
[MW
]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 62 / 86
Primary circuit pressure control
Temperature in the primary circuit
55 60 65 70279.6
279.7
279.8
279.9
280
280.1
280.2
280.3
time [h]
prim
ary
circuit tem
pera
ture
[oC
]
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 63 / 86
Primary circuit pressure control
primary circuit pressure with the old and the new controller
55 60 65 70122.2
122.4
122.6
122.8
123
123.2
123.4
123.6
123.8
time [h]
prim
ary
circuit p
ressure
[bar]
new controllerold controller
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 64 / 86
Non-conventional defibrillation
(S. Luther et al. Nature. 2011 Jul 13;475(7355):235-9)Foundation: a detailed 3D mathematical model of the heart
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 65 / 86
Vehicle safety
anti blocking system(ABS)traction control (TC)electronic stabilitycontrol (ESC)
There is a 4-times payback of the development costs with the avoidance ofaccidentsTypically, model-based controllers are used
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 66 / 86
Traffic control on highways
Australia (MonashFreeway), 2008model-based rampmetering controlproblem-freeimplementation
traffic jams disappearedthroughput increased by 4.7 and 8.4% in the morning and afternoonpeak period, resp.average speed increased by 24.5 and 58.6% in the morning andafternoon, resp.
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 67 / 86
Why do we study this course?
primary goal: basic knowledge in systems theoryability to observe, analyse and separate systems of the surroundingworldability to determine a system’s inputs, outputs, states
knowledge of basic system properties and their analysis (whatcan we expect?)what options of manipulation do we have in order to reach acertain control goal, and how expensive is it (time, energy)?establishing an interdisciplinary perspective (electrical,mechanical, chemical, biological, thermodynamic, ecological,economic systems)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 68 / 86
Topics
System classes, basic system propertiesInput/output and state space models of continuous time, lineartime invariant (CT-LTI) systemsBIBO stability and other stability criteria for CT-LTI systemsAsymptotic stability of CT-LTI systems, Lyapunov’s methodControllability and observability of CT-LTI systemsJoint controllability and observability, minimal realization, systemdecomposition
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 69 / 86
Topics
Control design: PI, PID and pole placement controllersOptimal (linear quadratic) regulatorState observer synthesisSampling, discrete time linear time invariant (DT-LTI) modelsControllability, observability, stability of DT-LTI systemsControl design for DT-LTI systems
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 70 / 86
Relations to other subjectsPreliminary studies
mathematics (linear algebra, calculus, probability theory, stochasticprocesses)
physics (determining physical models)
signal processing (transfer functions, filters, stability)
electrical networks/circuits theory (linear circuit models)
Further subjects
robotics (dynamical modeling, regulations and guidance)
nonlinear dynamical systems (simulation and stability)
optimization methods, functional analysis (optimal control design, linearsystem operators)
computational systems biology (differential equation models, molecularcontrol loops)
parameter estimation of dynamical systems (construction of dynamicalmodels based on measurements)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 71 / 86
Software-tools (possible choices)
CommercialMatlab/Simulink : numerical computations, simulationshttp://www.mathworks.comMathematica: symbolic and numerical computationshttp://www.wolfram.com/Maple: symbolic, numerical computations, simulationshttp://www.maplesoft.com/
FreeScilab/Xcos: numerical computations, simulationshttp://www.scilab.org/Sage: symbolic, numerical computationshttp://sagemath.org/
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 72 / 86
Signals – 1
Signal: A (physical) quantity, which depends on time, space or otherindependent variablesE.g. (in addition to the introductory examples)
x : R+0 7→ R, x(t) = e−t
y : N+0 7→ R, y [n] = e−n
X : C 7→ C, X (s) = 1s+1
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 73 / 86
Signals – 2
0 1 2 3 4 5 6 7 8 9 100
0.2
0.4
0.6
0.8
1
t
x(t
)
a)
0 1 2 3 4 5 6 7 8 9 100
0.2
0.4
0.6
0.8
1
n
y[n
]
b)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 74 / 86
Signals – 3
room temperature: T (x , y , z , t)(x , y , z : spatial coordinates, t: time)image of a color TV: I : R3 7→ R3
I (x , y , t) =
Ir (x , y , t)Ig (x , y , t)Ib(x , y , t),
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 75 / 86
Classification of signals
dimension of the independent variabledimension of the dependent variable (signal)real or complex valuedcontinuous vs discrete timebounded vs not boundedperiodic vs aperiodiceven vs odd
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 76 / 86
Signals with particular significance – 1
Dirac-δ or the unit impulse function∫ ∞−∞
f (t)δ(t)dt = f (0)
where f : R+0 7→ R is an arbitrary smooth (infinitely many times
continuously differentiable) function.consequence ∫ ∞
−∞1 · δ(t)dt = 1
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 77 / 86
Signals with particular significance – 1
The physical meaning of the unit impulse:current impulse ⇒ chargetemperature impulse ⇒ energyforce impulse ⇒ momentumpressure impulse ⇒ massdensity impulse: point masscharge impulse: point charge
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 78 / 86
Signals with particular significance – 1
Heaviside (unit step) function
η(t) =
∫ t
−∞δ(τ)dτ,
in other words:
η(t) =
0, if t < 01, if t ≥ 0
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 79 / 86
Basic operations on signals – 1
x(t) =
x1(t)...
xn(t)
, y(t) =
y1(t)...
yn(t)
addition:(x + y)(t) = x(t) + y(t), ∀t ∈ R+
0
multiplication by a scalar:(αx)(t) = αx(t) ∀t ∈ R+
0 , α ∈ Rscalar product:〈x , y〉ν(t) = 〈x(t), y(t)〉ν ∀t ∈ R+
0
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 80 / 86
Basic operation on signals – 2
time shifting:Tax(t) = x(t − a) ∀t ∈ R+
0 , a ∈ Rcausal time shifting:Tc
ax(t) = η(t − a)x(t − a) ∀t ∈ R+0 , a ∈ R
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 81 / 86
Convolution – 1
x , y : R+0 7→ R
(x ∗ y)(t) =
∫ t
0x(τ)y(t − τ)dτ, ∀t ≥ 0
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 82 / 86
Convolution – 2
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50
0.5
1
1.5
2
x(t
)
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50
0.5
1
y(t
)
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50
0.5
1
t
(x*y
)(t)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 83 / 86
Laplace transform
Domain (of interpretation):
Λ = f | f : R+0 7→ C, f is integrable on [0, a] ∀a > 0 and
∃Af ≥ 0, af ∈ R, such that |f (x)| ≤ Af eaf x ∀x ≥ 0
Definition:
Lf (s) =
∫ ∞0
f (t)e−stdt, f ∈ Λ, s ∈ C
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 84 / 86
The notion of a system
System: A physical or logical device that performs operations onsignals. (Processes input signals, and generates output signals.)
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 85 / 86
Summary
changing (physical) quantities: dynamical modelsmathematical representation: differential equationssystem: operator , input-output mappingsystems theory is interdisciplinary : describes and treats physical,biological, chemical, technological processes in a common frameworkcontrol is present everywhere and is often mission-criticalcontrol design and implementation requires knowledge frommathematics, physics, hardware, software and computer sciencecontrol principles can be found in purely natural systems as wellwhy to study: to be able to describe, understand and influence(control) dynamical processes
Szederkényi G. (PPKE-ITK) Computer Controlled Systems PPKE-ITK 86 / 86