control engineeering Jos Ruiz Ascencio Vocabulary Input u(t) - - PowerPoint PPT Presentation

control engineeering
SMART_READER_LITE
LIVE PREVIEW

control engineeering Jos Ruiz Ascencio Vocabulary Input u(t) - - PowerPoint PPT Presentation

Introductory concepts for control engineeering Jos Ruiz Ascencio 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 Subproblems


slide-1
SLIDE 1

Introductory concepts for control engineeering

José Ruiz Ascencio

slide-2
SLIDE 2

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
slide-3
SLIDE 3

Subproblems of control

Main problems are

  • Modelling and Controlling

But there are

  • Stability
  • Simulation
  • Estimation
  • Identification
  • Simplification/Order reduction
  • Control goals GD

slide-4
SLIDE 4

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 is

actually of higher order

  • Linear, when the plant is not.
  • CONTINUE w-GD-28
slide-5
SLIDE 5

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

ⅆ𝑧 ⅆ𝑢 + 𝑏𝑧 = 𝑣

slide-6
SLIDE 6

Simulink simulations of PID control

slide-7
SLIDE 7

Example1: Open loop plant, no load

slide-8
SLIDE 8

Example1: Open loop w/gain, when load appears

slide-9
SLIDE 9

Signal traces

  • Yellow

Setpoint

  • Pink Output
  • Blue Load
  • Red Error
  • Green Control (plant input)
slide-10
SLIDE 10

Example1: Bang-bang control

slide-11
SLIDE 11

Example1: Proportional control, various Kp values

slide-12
SLIDE 12

Example1: Proportional control, Kp = 60, 120

slide-13
SLIDE 13

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

slide-14
SLIDE 14

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

This “anticipation” effect is not a good idea, and the overshoot is worse…

slide-15
SLIDE 15

Example1: PID control

slide-16
SLIDE 16

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

slide-17
SLIDE 17

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))
slide-18
SLIDE 18

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.
slide-19
SLIDE 19

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 good

for 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.

slide-20
SLIDE 20

Data acquisition

  • Inputs are “staircased” (sampled with zero-order hold)
  • Outputs are sampled synchronously for acquisition
  • Antecedents are delayed to correspond with consequents
slide-21
SLIDE 21
slide-22
SLIDE 22

First-order data samples of system

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

slide-23
SLIDE 23

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

slide-24
SLIDE 24

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

slide-25
SLIDE 25

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

slide-26
SLIDE 26

Modelling via approximation of the state evolution 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.