Professional Documents
Culture Documents
Organic Computing
Chapter 5: Control of technical Systems
S. Mostaghim, H. Schmeck
OC 5.2
Overview
This chapter focuses on the basics of control of technical systems: Basics of control engineering Adaptive controllers Uncertainties in design Robustness Reliability
S. Mostaghim, H. Schmeck
OC 5.3
Basics
The main goal of control systems is to improve the behavior of the system A Process:
Input
Process
Output
If we have an exact knowledge of the process (controlled variable behavior), we can use a Feedforward Control. Disturbance Input Control System Process Output
The control system does not observe the output of the process it is controlling.
S. Mostaghim, H. Schmeck
Feedforward is being used to maintain some desired state of the system. Everything is predefined The control system responds to a known disturbance.
OC 5.4
Feedforward
Example: The task is to control the system such that the shafts rotate with equal speeds in spite of different possible friction levels (disturbances).
S. Mostaghim, H. Schmeck
OC 5.5
Feedforward
A desired speed should be achieved. The torque to accelerate the mass to a desired speed can be easily computed if we assume a frictionless system.
Disturbance
Control System
Process
S. Mostaghim, H. Schmeck
Speed reference
Speed
OC 5.6
Control System
Process
Speed
S. Mostaghim, H. Schmeck
OC 5.7
Feedback
Feedback Control: In every feedback loop, information about the result of a transformation or an action is sent back to the input of the system in the form of input data. Input Control System
Disturbance
Process
Output
Opinion
Feedback
S. Mostaghim, H. Schmeck
OC 5.8
Start
Output
Explosion
Blocking
S. Mostaghim, H. Schmeck
OC 5.9
Output
Start
Goal
Start
S. Mostaghim, H. Schmeck
OC 5.10
OC 5.11
Adaptive Control
Adaptive Controllers: In Adaptive Control, the controller parameters are variable and there is a mechanism to adjust them online based on the signals in the system. Example: A robot carrying an unknown load (a load of uncertain mass properties). There are two ways to construct the adaptive controllers: 1- Model-reference adaptive control 2- Self-tuning method
S. Mostaghim, H. Schmeck
OC 5.12
Adaptive Control
Model-reference adaptive control: requires a reference model for the controller in order to compute the error of the systems output and the adaptation law sets the parameters of the controller so that the error is minimized. Reference model
Disturbance
Ref.
Control System
Process
error
S. Mostaghim, H. Schmeck
OC 5.13
Adaptive Control
Self-tuning adaptive control: Based on the input and output of the process, the estimator estimates parameters of the controller.
Disturbance
Ref.
Control System
Process
The selected Parameters must be robust with respect to the changes caused by the disturbance.
S. Mostaghim, H. Schmeck
Estimator
OC 5.14
Robustness
Searching for robust solutions: In many real world applications the adaptation is not possible: 1- the environment changes too quickly 2- the environment cannot be monitored closely enough 3- the changes happen after the commitment to a particular solution has been made. In such cases, one must search for solutions that perform well in all possible future scenarios.
S. Mostaghim, H. Schmeck
The property of being insensitive to the slight changes of the environment or noise in the decision variables is called Robustness.
OC 5.15
Robustness
Example: A change affects the quality of the solution on the thin peak much more that the solution on the plateau.
f(x)
S. Mostaghim, H. Schmeck
OC 5.16
S. Mostaghim, H. Schmeck
OC 5.17
OC 5.18
S. Mostaghim, H. Schmeck
OC 5.19
Definitions of Robustness
Possible definitions for a Robust Solution assuming a certain range of uncertainties: 1- Maximize the minimum possible outcome: This is appropriate for problems like when: - an investment strategy is sought that in no possible way leads to bankruptcy. - flight control strategies must not crash the airplane.
2- Trade-off between quality and variance: If the focus is on small variance, one might explicitly look at the trade-off between quality and variance.
S. Mostaghim, H. Schmeck
OC 5.20
f(x)
Robustness
x
3- Maximize the expected performance: The expected performance (effective quality) can be calculated as follows:
Probability density function of disturbance Because f is not known in a closed form, feff cannot be easily computed. But it can be estimated by methods like Monte Carlo integration. Monte Carlo Integration: Sampling over a number of realization of . Each sample corresponds to one fitness evaluation.
S. Mostaghim, H. Schmeck
OC 5.21
Sampling methods
Integral Approximation: For a given point x0 the integral can be estimated by evaluating a set of n samples xi = x0+ in the neighborhood of x0:
1 feff (x0 ) = n f(x0 + ) i=1 n
S. Mostaghim, H. Schmeck
OC 5.22
Sampling Methods
1- Random Method Random Method: Samples points at random
2- Antithetic Antithetic: produces pairs of disturbances which lead to negatively correlated estimation. For uniformly distributed disturbances, the first vector is selected at random (), the second is then chosen as -.
S. Mostaghim, H. Schmeck
OC 5.23
Sampling Methods
3- Stratified Stratified: Divides the space of possible disturbances into possible equal properties. Draws one disturbance from every region.
4- Latin Hypercube Latin Hypercube: In order to draw k samples, every dimension is divided into k parts. k samples are chosen such that each quantile in each dimension is covered by exactly one sample.
S. Mostaghim, H. Schmeck
OC 5.24
S. Mostaghim, H. Schmeck
OC 5.25
Reliability
Example : x2 Feasible region Reliable solution A
x1
OC 5.26
P (g j ( x, d ) 0 ) R j
j = 1,2, K , J
Where gj denotes the jth constraint (e.g. the distance from some infeasible region). x and d are the vectors of uncertain and deterministic design parameters. The quantity Rj is the required reliability (within [0, 1] ) for satisfying the jth constraint. A computational method is required to estimate the probability.
S. Mostaghim, H. Schmeck
OC 5.27
P (g j ( x, d ) 0) R j
r N
j = 1,2,K , J
OC 5.28
This is a simple method and works well when the desired reliability R is not very close to one. A major drawback is that the sample size N needed for finding r must be large enough, such that at least one infeasible case is present in the sample Computationally expensive Biased Monte-Carlo simulation can be used to solve this.
S. Mostaghim, H. Schmeck
OC 5.29
S. Mostaghim, H. Schmeck
OC 5.30
S. Mostaghim, H. Schmeck
OC 5.31
MPC
Input Process output
measured output
Reference trajectory
predicted output
S. Mostaghim, H. Schmeck
OC 5.32
MPC
model
Disturbance desired output (reference)
Predictive controller
Input
Process
output
Procedure in predictive controller: 1. Sample the output of the process. 2. Check for necessary updates of the model due to deviations between observed and previously predicted behavior. 3. Use the model of the process to predict its future behavior over a prediction horizon, when the control action is applied for a control horizon. 4. Calculate the optimal control sequence (Input to the process) that minimizes the error between Input, output and reference. 5. Apply the input to the process and repeat the procedure for the next sampling time.
S. Mostaghim, H. Schmeck
OC 5.33
MPC
model
Disturbance desired output (reference)
Predictive controller
Input
Process
output
MPC is a particularly attractive option, if the system behavior over time is not adequately modeled by one linear model, but may be approximated with a certain accuracy by a sequence of linear models M1, M2, , Mi,
Without using prediction, it would not be feasible to detect online whether it is necessary to transform model Mi into model Mi+1.
S. Mostaghim, H. Schmeck
OC 5.34
Distributed control
A distributed control system (DCS) refers to a control system, in which the controller elements are not centralized but are distributed throughout the system. Central Control
Dist.
Control Dist.
Distributed Control
Dist. Process
Control
Process
Control
Process
S. Mostaghim, H. Schmeck
In each subsystem, local control inputs are computed using the measurements and reduced-order models. the sub-system is controlled by one or more controllers. The entire system may be networked for communication and monitoring.
OC 5.35
Distributed control
In large-scale applications, it is useful (or sometimes necessary) to have distributed or decentralized control schemes, as the global measurement of the system parameters is not possible. The main challenge in distributed control is to achieve some degree of coordination among the controllers. In distributed control, we have the same problems of emergent phenomena as outlined for self-organizing systems. Distributed control systems (DCSs) are used in many industrial applications to monitor and control distributed systems, like: Electrical power grids Traffic signals Sensor networks Economic systems Large scale distributed telescopes (in astronomy)
S. Mostaghim, H. Schmeck
OC 5.36
distributed
O C SuOC O C SuOC O C
O C SuOC SuOC
SuOC
O C SuOC
O C SuOC O C SuOC
SuOC
SuOC
O C SuOC
SuOC O C SuOC
S. Mostaghim, H. Schmeck
O C
O C
O C
OC 5.37
Summary
In this chapter we had a very brief view on different aspects of control engineering: Basics in control In dynamic environments, adaptive controllers can adjust the controller parameters to achieve desirable controller model and parameters. An essential task of control engineering is to guarantee robust and reliable system behavior. Model-predictive controllers incorporate a prediction of the future system behavior and support the stepwise linear (or simplified) control of highly complex systems. Distributed control is an essential aspect dealing with large scale applications, but has to cope with the problems of emergence. All these issues can be used effectively in OC systems. So far, control engineering does not provide adequate answers to the key problems addressed in OC systems related to controlled self-organization. Next: As learning plays an important role in organic computing, the next chapter surveys different machine learning methods.
S. Mostaghim, H. Schmeck