Beruflich Dokumente
Kultur Dokumente
Overview
Using block diagrams to describe system model equations How block diagrams are used in practice LabVIEW implementation quick demo Feedback control concepts NOTE: Some of these slides were/are covered in lecture, others are for information only.
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
dt p = Fd Fb + mg
F;
p mV
p = mV = K dV 2 gVs + mg
V
Forces:
Kd 2 V = V g+g m s
1 g D 3 6
You can choose p (momentum) or V (velocity) as your state variable. Here we choose velocity.
V = V 2 +
= g (1 s )
x =V
= K d m = CD As 2m
NOTE: The ANALOG diagram shown here is a model that is now implemented in many commercial block diagram simulation languages. This is a computational diagram that embodies the mathematical model. This is also a form used in feedback control diagram descriptions.
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
+ b
a b
In general, systems operate on inputs to give outputs. u y g (i) Here, y = g (u ) In linear systems, the signal variables are assumed to be s-domain forms, while if nonlinear it is assumed these are strictly time domain functions (and Laplace transform does not apply). For linear,
Branching point
Y ( s ) = G ( s )U ( s )
U (s)
G ( s)
Y (s)
Sum mg +
Integrate
Fd
K Gain
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory
From H.S. Baeck, Practical Servomechanism Design, McGraw-Hill, 1968.
Dark Past
The figure to the left (courtesy of a simulation group at Boeing that developed EASY5) illustrates the complexity required in analog integration, particularly for very complex systems. The patch panels were difficult to manage, and could have intermittent/unreliable connections.
EASY5 allows you to integrate models built in different waysthey did this early! (c. 1980s?)
Matlab/Simulink
Basic linear Nonlinear Logical The Matlab/Simulink environment provides a way to implement block diagram models directly for analysis and simulation. These are just some of the basic elements available. Example: basic feedback diagram
Sources
Controllers
These types of operators are common in most block diagram simulation environments (EASY5, Simulink, LV Simulation. etc.)
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
Example: Pushrod-lifter
Block Diagram
NOTE: Most block diagram simulation programs include a STATE-SPACE element that can be used if you have those equations.
+ Y
E = R Y
Does the governor in this toy control the mouse speed in a feedback sense?
D. Macaulay (CD-ROM)
Open-Loop Control
The output is not compared with the reference (desired) signal/input Susceptible to large errors due to:
Disturbances Variation in the system parameters
Examples
Timed processes (e.g., toasters, most dryers, etc.) In vehicle systems, many traction/braking systems and steering systems are clearly open-loop
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
Closed-Loop Control
We try to represent control systems using block diagram descriptions. This is the standard form.
Disturbance Reference Signal + Error Signal + Controller + Plant Output
Feedback Signal
Sensor
Plant any physical system to be controlled Controller can generate inputs to the plant to achieve a desired objective Sensor means by which plant output is transformed to feedback information
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
Transfer functions
Linear feedback controls make use of transfer functions. Note that SISO feedback does NOT have to be formed by linear elements only. You can have nonlinear elements (later). The transfer function of a linear, time-invariant, differential equation system is defined as the ratio of the Laplace transform of the output to the Laplace transform of the input under the assumption that the initial conditions are zero.
G ( s) = L[output] L[input] zero initial conditions + bm 1s + bm + an 1s + an
Y ( s ) bo s m + b1s m 1 + = = U ( s ) ao s n + a1s n 1 +
1 2 ms + bs + k
F (t )
x (t )
Implement in LV simulation
Fo
Step function turns on at Ton
Ton
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory
t
Department of Mechanical Engineering The University of Texas at Austin
Disadvantages:
Can lead to oscillation or instability
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory
ud um +
plant
+ -
u
G p (s)
Gc ( s )
ys
H (s)
measurement
In ME 344 and ME 364L you learn how to analyze control systems, using block diagram algebra to derive expressions for the closed-loop response in the form,
y=
Gp 1 + Gc G p H
ud +
Gc G p 1 + Gc G p H
Example:
Closed-Loop Speed Control of a Gas Engine Td Engine Dynamics
Throttle controller
R( s) +
-
K1 Tt + 1s + 1
G1 ( s )
Te
K2 2s +1
G2 ( s )
C (s)
Speed
Note, sometimes the values are easy to measure and form basis of this simplified model.
H (s)
1 ms +1
measurement
C G1G2 = R 1 + G1G2 H
K1 = ? K 2 = 0.2
U ( s)
Most industrial controllers (well over 90 to 95%) you will run across will be of a PID type.
ME 244L Prof. Raul G. Longoria Dynamic Systems and Controls Laboratory Department of Mechanical Engineering The University of Texas at Austin
Proportional Control
E (s)
Gc ( s )
U ( s)
Control
u = Kp e U (s) = K p E (s)
Plant model
Gc ( s ) = K p = constant
X 1 = F ms 2 + bs + k
K p G p 1 Kp Xc GH = = = X R 1 + GH 1 + K p G p 1 ms 2 + bs + k + K p
stiffness
Closed-loop
Integral control:
TI
edt U ( s ) =
TI s
E ( s)
Integral control reduces or eliminates steady-state error, but has reduced stability. Derivative control: u = K DTD
de U ( s ) = K DTD sE ( s ) dt
Summary
Reviewed block diagram descriptions of system models and control systems Described examples of how these methods are used in industry/military applications A quick demonstration of the LabVIEW Simulation Module environment