Docsity

Controllo di Sistemi Dinamici: Prima Lezione sulle Sistemi in Evoluzione, Dispense di Controlli Automatici

Anteprima parziale del testo

Scarica Controllo di Sistemi Dinamici: Prima Lezione sulle Sistemi in Evoluzione e più Dispense in PDF di Controlli Automatici solo su Docsity!

Automatic Control

Lecture 1: Dynamic systems

Dynamic systems - General definition

A dynamic system can be (roughly) defined as a set of interacting

objects which evolve over time.

Examples:

  • vehicles
  • mechanical systems
  • electrical circuits
  • aircrafts
  • stock market
  • animal population
  • atmosphere
  • planet systems
  • and so on...
  • The functions which represent the time evolution of the variables

are called signals.

  • In other words, a signal is a function of time that represents the behavior of

the corresponding variable.

0 5 10 15 20 25 30 35 40

0

1

t

T(t)

0 5 10 15 20 25 30 35 40

0

20

t

(t)

0 5 10 15 20 25 30 35 40

0

1

t

(t)

Dynamic systems - Variables and signals

  • The time evolution of a dynamic system is described by quantities

called variables.

system

Dynamic systems - Fundamental Variables

  • Fundamental variables:
    • Input 𝑢 𝑡 : variables which influence the time evolution of the system (causes).
    • Output 𝑦 𝑡 : measured.
  • Input types:
    • Command inputs: their behavior can be chosen by the human user.
    • Disturbances: their behavior is independent on the human user; they

cannot be chosen.

Internal signals

  • According to the 2

nd

principle of dynamics (Newton’s law):

J ( t )=− K sin ( t )−( t )+ T ( t )

where 𝐽 = 𝑚𝑙

2

: moment of inertia

𝐾 = 𝑔𝑚𝑙 : elastic constant

𝛽 : friction coefficient.

Dynamic systems - A classical example: pendulum

  • The time evolution of the system is described by differential equations.
  • The behavior of the system (more precisely, of its variables) can be

predicted by integration of the differential equations.

  • Integration can be performed
    • analytically (when possible) or
    • numerically (always possible).
  • The derivative is the limit of the difference quotient:

ሶ

𝜃 𝑡 = lim

𝜏→ 0

𝜃 𝑡+𝜏 −𝜃 𝑡

𝜏

≅

𝜃 𝑡+𝜏 −𝜃 𝑡

𝜏

ሷ

𝜃 𝑡 ≅

ሶ

𝜃 𝑡+𝜏 −

ሶ

𝜃 𝑡

𝜏

=

𝜃 𝑡+2𝜏 − 2 𝜃 𝑡+𝜏 +𝜃 𝑡

𝜏

2

  • Forward Euler discretization method:
    • Time discretized as 𝑡 = 𝑘𝜏, 𝑘 = 0 , 1 , 2 , …, where 𝜏 is the sampling time.
  • For notation simplicity, 𝜃 𝑘 = 𝜃 𝜏𝑘 , 𝜃 𝜏(𝑘 + 1 ) = 𝜃 𝑘 + 1 , …

Dynamic systems - A classical example: pendulum

J  ( t )=− K sin ( t )−( t )+ T ( t )

  • Pendulum equation:
  • Discretized pendulum equation:

where

𝜃 𝑘 + 2 = 𝑎

1

𝜃 𝑘 + 1 +𝑎

2

𝜃 𝑘 +𝑎

3

sin 𝜃 𝑘 + 𝑏𝑇 𝑘

𝑎

1

= 2 −

𝜏𝛽

𝐽

, 𝑎

2

=

𝜏𝛽

𝐽

− 1 , 𝑎

3

= −

𝜏

2

𝐾

𝐽

, 𝑏 =

𝜏

2

𝐽

.

Dynamic systems - A classical example: pendulum

  ( )

( ) sin ( ) ( ) T t

J

t

J

t

J

K

t =− −  +

 

  • Pendulum equation:
  • Numerical integration using Simulink:

T(t)

(t)

(t)

1 /J

− /J

−K /J

(t )

Dynamic systems - A classical example: pendulum

Damped pendulum (𝛽 > 0 ), non-null initial conditions, free evolution (𝑇 𝑡 = 0 ).

Non-damped pendulum (𝛽 = 0 ), non-null initial conditions, free evolution (𝑇 𝑡 = 0 ).

M

u(t)

v(t)

M

u(t)

K

x(t)

m

2

m

1

u(t)

1

K

2

z

1

(t)

K

12

z

2

(t)

Dynamic systems – Examples of mechanical systems

Masses, linear and torsional springs (it. molle ), dampers (it. smorzatori , imaginary elements

representing dissipation of energy due to various drag and friction forces).

x(t)

Coulomb friction (attrito di Coulomb)

Dynamic systems – Examples of mechanical systems

  • The quarter-car model is commonly used to describe the vehicle vertical

dynamics.

z

1

( t)

z

2

( t)

M

2

M

1

K

s

K

w

r( t)

β

Tyre (modelled as a spring)

Wheel (“unsprung mass”)

¼ of the car (“sprung mass”)

Suspension system

Dynamic systems – Examples of electrical systems

L

R

u ( t )

i ( t )

C

C

R

1

u ( t )

v ( t )

L

R

2

R

C

u(t)

i(t)

V(t)

R

L

u(t)

i(t)

Capacitors (condesatori), resistors, inductors, ideal generators (constant voltage or current)

Dynamic systems – Example: simplified model of atmosphere - a chaotic system

  • Lorenz system (don’t confuse this

physicist Lorenz with a person who found

Lorenz transform in relativity theory).

  • Typical example of Chaotic system:

x,y,z : atmospheric characteristics related to

pressure, temperature and air speed.

Lorenz attractor

  • Low predictability
  • High sensitivity to initial conditions
  • Unstable solutions

Dynamic systems: two control principles

r ( t ) y ( t )

controller

d ( t )

y ( t ) r ( t )

controller

d ( t )

Feed-forward (open-loop) control

Feedback control

system

system

Disadvantage: the system and its inputs usually have to be known.

Sensors are needed to monitor the system’s state continuously.

Analysis is much more complicated: u in fact depends not only on time.

u ( t )

u ( t )

measurement

Automotive examples of control systems

Electronic Stability Program

Anti-lock Braking System

Prevents the vehicle’s skidding

(sideways sliding) during quick turns

and other critical manoeuvres.

Prevents the wheels’ locking

during braking by reducing

pressure in the brakes.