Top Banner
Introductory concepts for control engineeering José Ruiz Ascencio
26

Introductory concepts for control engineeering

Jan 26, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introductory concepts for control engineeering

Introductory concepts forcontrol engineeering

José Ruiz Ascencio

Page 2: Introductory concepts for control engineeering

Vocabulary

• Input u(t)

• Plant H(s), G(s), dy/dt + a*y = u

• Output y(t)

• State x(t)

• Feedback

• Controller

• Setpoint, reference, command

Page 3: Introductory concepts for control engineeering

Subproblems of control

Main problems are

• Modelling and Controlling

But there are

• Stability

• Simulation

• Estimation

• Identification

• Simplification/Order reduction

• Control goalsGD

Page 4: Introductory concepts for control engineeering

Benefits of feedback

• A system with feedback will be robust:• Behavior will depend less on the plant and more on the feedback and the

controller

• Feedback can be used to give the system a reference model• Specified dynamics, different from those of the plant

• E.g. making it behave like a second order system, when the plant isactually of higher order

• Linear, when the plant is not.

• CONTINUE w-GD-28

Page 5: Introductory concepts for control engineeering

Recap

• Modelling• First principles by means of ODE’s, physics.

• Identification• Transient (e.g step) response.• Frequency response

• Simulation (3-step) of an ODE in Simulink (or other)

• Experimental• Requires collecting data, plus some theory

• Today• Data driven modelling through the state evolution function

ⅆ𝑦

ⅆ𝑡+ 𝑎𝑦 = 𝑢

Page 6: Introductory concepts for control engineeering

Simulink simulations of PID control

Page 7: Introductory concepts for control engineeering

Example1: Open loop plant, no load

Page 8: Introductory concepts for control engineeering

Example1: Open loop w/gain, when load appears

Page 9: Introductory concepts for control engineeering

Signal traces• Yellow Setpoint

• Pink Output

• Blue Load

• Red Error

• Green Control (plant input)

Page 10: Introductory concepts for control engineeering

Example1: Bang-bang control

Page 11: Introductory concepts for control engineeering

Example1: Proportional control, various Kp values

Page 12: Introductory concepts for control engineeering

Example1: Proportional control, Kp = 60, 120

Page 13: Introductory concepts for control engineeering

Example1: From P to PD control. Dampened with Kd?

Page 14: Introductory concepts for control engineeering

Example1: PD Control, Kp = 120, Kd = 12, 24

This “anticipation” effect is nota good idea, and the overshootis worse…

Page 15: Introductory concepts for control engineeering

Example1: PID control

Page 16: Introductory concepts for control engineeering

Long-tem control behaviour, Proportional (Green) vs Integral (Red) components

Page 17: Introductory concepts for control engineeering

Data driven modelling and control• Since all the signals that appear are functions of time,

• e.g. u(t), y(t), x(t), we will drop the (t), excepto where necessary to make a point.

• Let’s (=*equating objects of different nature)

•y[t1, t2] =* y(t), t ϵ [t1, t2]• For a deterministic and causal system

•y[t1, t2] = F{x(t1), y[t1, t2] }•y(t1) = f(x(t1), u(t1))

Page 18: Introductory concepts for control engineeering

Data driven modelling and control• The state evolution function

•x(t2) = φ[x(t1), u[t1, t2) ] for a time invariant system

•x(t + T) = φ[x(t), u[t, t+T) ] sampled uniformly at T.

• Key simplification: admit only staircase inputs:

•u[t1, t2) =* u(t1)• That is the way computers work, so it is not a limitation.

Page 19: Introductory concepts for control engineeering

Approximation of state evolution function

• We use Nomura’s algorithm, but backpropagation neural network or ANFIS (neurofuzzy algorithm) or any Arbitrary Function Approximator in N dimensions will give the same result.

• Although Nomura’s algorithm is slower, this implementation is very goodfor teaching purposes.

H. Nomura, I. Hayashi, N. Wakami,A learning method of fuzzy inference rules by descent method, IEEE International Conference on Fuzzy Systems. San Diego, CA, USA, 8-12 March 1992.

Page 20: Introductory concepts for control engineeering

Data acquisition

• Inputs are “staircased” (sampled with zero-order hold)

• Outputs are sampled synchronously for acquisition

• Antecedents are delayed to correspond with consequents

Page 21: Introductory concepts for control engineeering
Page 22: Introductory concepts for control engineeering

First-order data samples of system

t u(t) x(t) x(t + T)

Page 23: Introductory concepts for control engineeering

First-order samples and tuned surface: Input is not rich enough

Page 24: Introductory concepts for control engineeering

Samples are more dispersed, will give better tunng. They are notconfined to the plane, which means order is greater than one.

Page 25: Introductory concepts for control engineeering

Test fuzzy model with a different input, no random component (forclarity), compare against original system.

Page 26: Introductory concepts for control engineeering

Modelling via approximation of the stateevolution function• The first-order fuzzy model approximates the plant reasonably well,

even though:

• The system order is (approximately) two (plus a small delay).

• Tha samples are not well distributed

• When we tune a second or greater -order model, it is imposible to plot the surface, so we have to trust the tuning error as an indicator.