Documente Academic
Documente Profesional
Documente Cultură
technology
ONLINE
To see the first four parts Process variable
of this Programming
Low pass
Methods series, see filter cutoff
www.controleng.com/
Setpoint
archives for the following
articles: PID gains (x 2^8)
Aug. 2007 - Statecharts
halp program powerful Notch filter frequency
systems
Jul. 2007 - Function
block diagrams Camera
Jun. 2007 - Textual
computation models Source: National Instruments and Control Engineering
Mar. 2007 - Ladder logic Many control engineers prefer to visualize their systems in a control block diagram rather than
strengths and weaknesses as a set of differential equations.
Software tools help engineers create simulations in control block form. Source: National Instruments
terms of the differential equations. Rather, they of the system, which are driven not only by their
prefer to think in terms of separate, interacting initial conditions but also by the input variables.
components connected together as part of a con-
x (t0)= x0
trol block diagram. In a control block diagram,
the output of a component block may depend on dx (t)= f (x(t),u(t),t)
dt
the physical state of the component block and/
y(t)= g(x(t),u(t),t)
or its inputs. In addition, it is often necessary to
have output signals from the plant that feed back Note that the outputs are described as a func-
to the controller input. tion of the state variables and input variables,
Although they appear different, control block with no dynamics added but the ones provided
diagrams are equivalent to the differential equa- by the states.
tion representation. In general, a dynamic system You can place system blocks in a series,
block in the control block diagram is represented which indicates that for consecutive blocks, the
by a single box with internal state variables and outputs of a former block become the inputs of
time-varying input and output variables. the later one. For example, consider the case of
The input and output variables are signals a torsional pendulum. The actuator is an electric
injected into and extracted from the dynamic motor that provides torque based on the elec-
system to account for interaction among the dif- tric current supplied to the motor. The electric
ferent components in the block diagram. The current is determined by drive electronics that
state variables define the dynamic characteristics communicate to the PID controller. The PID
controller input is the
difference between
the reference (instan-
taneous value of the
set point as it moves
on its trajectory) and
the plant-block out-
put measured by a
camera that deter-
mines the position of
the top disc.
A typical control
loop feature is feed-
back interaction,
which is the connec-
tion of outputs from
Simulation tools can later system blocks
provide graphic repre- to the inputs of for-
sentations of system mer system blocks.
activity. Source: National In our example, the
Instruments plant-block output
is an input for the PID controller. The MATRIXx suite, MathWorks Simulink Dynamic system block
computed simulation model accounts environment, and NI LabVIEW Con-
for feedback connections in a natural trol Design and Simulation Moduleare
fashion. available to describe a system using
u(t) System y(t)
control block diagrams and simulate the
x(t)
Simulation of a control block systems behavior.
diagram system Software that simulates a control
Several software toolsincluding NI block diagram generally runs the system
Source: National Instruments and Control Engineering
Weaknesses:
Incomplete programming system.
To represent functions that are not pro-
vided directly with the simulation suite,
you must combine the simulation system
with a general-purpose programming
language such as C or LabVIEW.
More time spent on analysis. To
break a system down into component
dynamic systems, you must conduct
some analysis.
With the simulation model of com-
putation, controls experts can develop
complicated control algorithms quickly
to test their interactions with simulated
plants and to deploy their control algo-
rithms to a variety of targets.