HPCElab
HPCElab
PNEUMATIC
CONTROL EQUIPMENTS
Editura UTPRESS
Cluj-Napoca, 2015
ISBN 978-606-737-031-7
Acknowledgements
Contents iii
List of Figures iv
Nomenclature iv
2 PNEUMATIC AMPLIFIERS 9
2.1 Laboratory Objectives: . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Theoretical Considerations: . . . . . . . . . . . . . . . . . . . . . 9
2.2.1 Pneumatic amplifier type nozzle-flapper . . . . . . . . . . 9
2.2.2 Pneumatic Power Amplifier . . . . . . . . . . . . . . . . . 12
2.3 Laboratory work . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.1 Static characteristics of nozzle-flapper amplifier . . . . . . 14
2.3.2 Static characteristics of power amplifier . . . . . . . . . . . 14
iii
CONTENTS
iv
CONTENTS
v
CONTENTS
vi
List of Figures
1.1 Diaphragm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Diagram of the practical flow. . . . . . . . . . . . . . . . . . . . . 4
1.3 The diagram as a flow measuring element . . . . . . . . . . . . . . 5
1.4 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
vii
LIST OF FIGURES
viii
LIST OF FIGURES
ix
Chapter 1
NONLINEAR PNEUMATIC
RESISTANCES
The utilization of diaphragms as
a measuring element of fluid flow
where p = p1 p2 is the pressure drop between the input and the output of the
resistance; Rp is the value of the pneumatic resistance, and Q represents the fluid
flow through the resistance. The relation 1.1 is valid only for linear pneumatic
resistances for the electric-pneumatic analogy.
1
For the nonlinear field:
Q = f (p) (1.2)
linear pressure drop losses along the resistance are negligible in regard to
local ones (input and output).
2
debit flow through the resistance is computed with the following relation:
Qg = S2 2 y2 (1.3)
where
where is the adiabatic index. Taking into account that the adiabatic transfor-
mation is characterized by:
x1
2 p2
= (1.5)
1 p1
and the section S2 is expressed as a function of S0 :
S2 = Cd S0 (1.6)
p2
The ratio p1
is replaced with and it is called relaxation coefficient. The
x
maximum debit flow is obtain from dQ 2
x1
d
G
= 0 for cr = x+1
(critical relaxation
coefficient, which is in case of air has the value 0.528; p1 is the upstream pressure,
p2 is the downstream pressure). Considering the flow through the resistance as a
function of , we can define the following regimes (see figure 1.2):
3
a) > cr - subcritical regime, the calculation is done with the equation from
1.7;
In the following cases: b) and c) the debit flow through the resistance is equal
to the maximum debit flow which can be obtained with equation 1.7, in which
is replaced with cr .
a) flow measurements: air, methane gas, steam (even for liquids, but using
another equations), when no right flow measuring devices are available;
4
b) the connection of flowmeters that use a differential pressure signal at the
input, as those with floaters.
In this laboratory you will have to make air flow measurement using the
scheme in figure 1.3:
Notations:
D diaphragm.
1. diaphragm;
5
Figure 1.4: Schematics
2. gripping device;
3. pipe;
4. measuring room;
5. fixating bolt.
V
Qvm = [l/sec]
t1
6
1.3.2 Computed flow
The measurements are either repeated or done in parallel: at the opening of
the valve p = 2 bar and from the liqued column manometer p{2bar} [mmH2 O]
is read. When the pressure p reaches 1 bar p{1bar} [mmH2 O] is read. The
gravimetric flow is computed using equation 1.7, where:
p{2bar} + p{1bar}
p = [mmH2 O];
2
2+1
p1 = = 1.5 [bar]
2
p2 = p1 p [bar];
Other data:
Cd = 0.632897;
d0 = 11.565 mm;
= 1.4 (air);
R = 2927cm/o K;
g = 9.81 m/s2 ;
Hints:
during the measurements try to avoid high pressures setup (more than 3
bars);
make sure that you use the right volume information for the compressor;
you can even make the two measurements in parallel, if you work in a team;
7
make sure that you compute the right way the pressure for the diaphragm;
Note: Compare and explain the possible differences between the obtained
two flow values.
8
Chapter 2
PNEUMATIC AMPLIFIERS
9
R2 has a fixed part R20 (jet or nozzle) and a variable part R200 (h = corresponding
to the distance between the jet and the pallet).
We can determine a connection between the output signal pe and the input
signal h (or ) by looking at figure 2.2. By modifying the distance h will lead to
a modification of the flow section of resistance R200 (and also R2 ), of type lateral
surface of a cylinder (S200 = d2 h).
The circuit from figure 2.2 (left) shows a pneumatic first order circuit: if the
gas flow through the resistances is laminar and we work with small signal varia-
tions on the static characteristics (linear zones) around some operating points, we
can apply the electro-pneumatic analogy and build the equivalent electric scheme
10
shown in figure 2.2 (right). The equation which characterizes the delay circuit is:
V 1 dpe 1
+ p2 = pa (2.1)
RT 1 + 2 dt 1 + 2
relation 2.1 is for patm
= 0, as reference pressure.
With the equation:
V 1
= ; k = (2.2)
R T (1 + 2 ) 1 + 2
we obtain:
dpe
+ p2 = k pa (2.3)
dt
where is the time constant of the circuit (V is the volume of the room; R is the
air constant; T is the absolute temperature, 1 and 2 are the flow coefficients for
the R1 and R2 resistances, with 2 variable), k is a division coefficient of pressure
pa with regards to the ratio of the resistances R1 and R2 . Constructively, the
connecting chamber of volume V is very small, therefore is negligible and the
amplifiers equation becomes:
pe = K pa
On the basis of the equivalent scheme from figure 2.2 (right), the operating equa-
tion is simplified, considering that in a stationary operation Qc = 0 (the chamber
works on a closed enclosure):
Qa = Q = 2
pa
Qa = R1 +R2 +R2
pa = pa R1 Qa (2.4)
pe = pa R1 R1p+Ra
2
11
source (minus the pressure drop on R1 ).
As the pallet moves farther from the jet, the resistance R2 decreases and with
it the pressure pe also decreases. At a distance h d2 /4, the resistance R2
R20 , R200
= 0 and in the jet the residue pressure is greater than the atmospheric
pressure (there exists a pressure drop on R10 ). Practically, a linear zone AB on
the static characteristic of the nozzle-flapper amplifier can be determined, the
optimal operating point will be determined.
12
Figure 2.4: Constructive principle and functional of the power pneumatic ampli-
fier
following formula:
R2
pe = pa
R1 + R2
which means that pe can take any value between the extreme values: 0 bar
(R2 = 0), or pa (R1 = 0).
From the static characteristic we can find the pressure amplifying coefficient:
pe
kp = (2.5)
pi
13
2.3 Laboratory work
2.3.1 Static characteristics of nozzle-flapper amplifier
The static characteristic pe = f (pi ) of the power amplifier ELA 140 is created
from the measurements obtained from the setup in figure 2.5, where:
A - Power amplifier;
For the measurements, we increase pi to 0.3 bar (pe = 0) and then decrease it
in small steps until it has reached 0 bar (we have to take into consideration the
negative slope of the characteristic).
Draw the graphics and calculate the pressure amplification for the linear area
of hte static characteristic (see equation 2.5).
14
Figure 2.6: Experimental setup for the combination of the nozzle-flapper amplifier
with the pneumatic power amplifier.
15
Chapter 3
16
ELA 104 AS, with mount on pneumatic actuators made in Romania, after
Gulde license.
The main blocks of the electro-pneumatic converter ELA 104 are presented
in Figure 3.1 .
where:
2 Polarized electromagnet;
17
The converter is supplied by a pressure of 1.4 bar. Through the fixed resistance
R0 (7), the instrumental air gets to the nozzle valve amplifier (3). Depending on
the distance h, we will have a variable pressure in the chamber (b) of the
pneumatic amplifier, and also at the exit toward the servomechanism (actuator).
The reinforcement (4), through which the distance h between nozzle and wall is
modified, is in balance under the action of the magnetic force (constant magnetic
field of the permanent magnet built in the polarized relay) and the reaction force
of the spring (5). When supplying the coil of the polarized electromagnetic relay
with a continuous signal 210 mA (420 mA) we will get an electromagnetic
force which modifies the previous equilibrium and also the distance h.
The equipment works on the principle of time compensation. The functional
block scheme from which we can deduce the transfer function is presented in
Figure 3.2 combined with Figure 3.3.
In Figure 3.2 and 3.3 K1 is the amplification factor of the nozzle flapper
amplifier (3); K2 is the amplification factor of the power amplifier (1); Ke is the
equivalent elasticity constant; Sbr is the effective surface of the reaction spring;
Km is the constant of the electromagnet (linearized characteristic). We get the
following transfer function:
1 k k
2
p(s) ae ke
H(s) = = km c (3.1)
ic (s) 1 + k1 k 2 dSb
ae ke
18
Figure 3.3: Functional block scheme
k1 k2
and considering 1 << a2 ke
, we have:
km c
H(s) = (3.2)
Sb d
while km and Sb are constant (the spring works in the linear zone and Sb is
constant), relation (2) represents a proportionality constant (kp ) and leads to the
static characteristic from figure 3.4 (with tg = kp ).
19
3.3 Laboratory activity
The scheme from figure 3.5 based on the diagram 3.1 will be realized where:
The connections with the terminal box can be made in series (Figure 3.6.a)
for an input of 210 mA d.c., or parallel (Figure 3.6.b) for an input of 420 mA
d.c..
The table 3.1 will be filled after the following operations are finished:
series input Ic [mA] 2 4 6 8 10
output p [bar]
parallel input Ic [mA] 4 8 12 16 20
output p [bar]
The zero adjustment (point p=0.2 bar for ic =2(4) mA) will be made from the
spring (5), with the help of which the distance h is modified, without acting
on the input signal. (Figure 3.7)
20
Figure 3.6: Connections of the terminal box
Figure 3.7: On the right the zero adjustment, on the left the field adjustment.
The field adjustment and also the slope of the static characteristic, is made
based on the relationship: kp = tg (), acting on the distance d (the reaction
spring can be moved left-right), as we see in figure 3.7 left side.
21
Chapter 4
22
The pneumatic actuators with membrane transform the potential energy of
the pressurized air into mechanical energy represented by a linear movement of
an execution element. This element further manipulates the process variables,
hence the controlling the process. The supply pressure of the pneumatic actu-
ators coming from pneumatic regulators (0.2 1 bar), or electronic regulators,
case when an electro-pneumatic converter is necessary. Structurally, a pneumatic
actuator is composed of (see Figure 4.2):
1. a pneumatic actuator;
2. pneumatic amplifiers;
3. a position transducer;
4. sensing element;
5. executive element.
From these elements, the power amplifier, the sensing element and the position
transducer from the positioner. In order to study the behavior of the actuator in
the control system, Xm should be represented as a function of the control signal,
xc (for the pneumatic actuator with membrane, Xc is a pressure).
The schematic representation of a pneumatic actuator with membrane and
spring is represented in Figure 4.3. The most important component is the pneu-
matic actuator (SP) with membrane, composed of: chamber (1), elastic mem-
brane (2), rigidity washer (3), spring (4) and shaft (5). By the way that the
pressurized air acts on one side or on both sides of the elastic membrane, we can
distinguish between proportional or integral execution elements. SP is connected
23
Figure 4.3: Pneumatic actuator without positioner
to the executive element (OE) through the shaft. The behavior of the actuator in
dynamic operation is described by a nonlinear differential equation, which links
the command signal xc (pressure or flow) to the displacement Xm (linear move-
ment). If the command pressure (pc ) will rise, the pressure in chamber (1) will
also rise, and a volume variation will appear in the chamber as in the following
relation:
V = V0 + k1 p
where:
On the other hand, the air flow equation from chamber (1) is:
dG
Q= = (pc p)
dt
From the above two expression, based ont he general gas law (pv = GRT ) and
dG V
dp
dt
= RT dt
:
V0 + k1 p dp
+ p = pc (4.1)
RT dt
24
In general, the term k1 p is ignored and the above formula will be the equation
of a first order delay element:
V0 dp
T T
dt
+p = pc ,
Vo
or (with T = RT
) : (4.2)
dp
T dt
+p = pc
We can see from equation 4.2 that in order to decrease the time constant T,
must be increased, or equivalent the section of the air flow nozzles. For this power
amplifiers that deliver high flow quantities are used when the output pressure is
equal to the input one.
Under pressure p, the OE makes a linear motion (Xm ). The equation that de-
scribes the motion of the mobile elements is:
ma = Sef (p p0 ) kXm Ff
, or : (4.3)
d2 XM
m dt2
+ k Xm + F f = Sef (p p0 )
where:
From equation 4.3 we can note the natural oscillation frequency fn of the valve:
r
1 k
fn = (4.4)
2 m
This frequency should be a minimum of 15-30 Hz, for the valve to have no
continuous oscillation, which implies a small m and a big k.
The damping factor from equation 4.3 is:
r
b 1
=
2 km
dXm
where b is the friction coefficient in regard to the speed: Ff = b dt
. The
25
damping factor should not be too small, which implies k m should not be too
big. In steady state operation:
k X = Sef p
and it is linear if k and Sef are constant throughout the whole section of the valve
shaft. The errors, due to variations of these characteristics, in elements of high
quality are 12% of the total course of the valve. From equation 4.2 and 4.3 we
get:
2 3
1 d Xm V0 d Xm dXm
pc = Sef
m + KXm + Ff + Sef RT m +K
dt2 dt3 dt
| {z } | {z } (4.5)
p dp
dt
mV d3 Xm d2 Xm V0 k dXm
Sef pc = RT
dt3
+m dt2
+ RT
dt
+ kXm + Ff
In this equation we considered that the friction forces dont depend on the pres-
sure (Ff = ct). (This is not valid in the case of a valve with double acting
elements, where the forces that act in opposite senses cancel each other out).
In practice, in equation 4.4, not only Ff but also k varies with the pressure.
This will be graphically determined from the membranes static characteristic.
If we change the variation direction for pc , we can see a hysteresis for the
characteristic Xm = f (pc ) (Figure 4.4).
To reduce the hysteresis effect and the time constant of the actuator we use
positioning devices (Figure 4.5), which are in fact pneumatic power amplifiers
with a feed-back signal coming from the shaft of the executive element.
Figure 4.5 actually consists of a control system, where the command measure
is pressure p from the output of the amplifier A and the execution signal is Sef p
(the membrane). The spring (6) and shaft X, of the valve are, in this system,
the tuned process P. The shaft (1) and the spring (2) represent the measuring
element. The bellow (3), through its free surface, realizes the comparison between
the input signal (Fc = Sb pc ) and the output of the system (Fc = kx, through
the spring), the error is sent as an input signal to amplifier A. The movement of
the flapper/pallet (4) in front of the nozzle (5) is proportional to the error.
In such a control system we will get an output measure x, which tends to be
26
Figure 4.4: Characteristics of a pneumatic actuator without positioner
high amplification factor on the air circuit, therefore we can also work when
static friction forces or higher disturbances are present.
b) The static characteristics for ELT-114 actuator with membrane and position
should be plotted
27
Figure 4.5: Pneumatic actuator with positioner
28
Chapter 5
STUDY OF THE
DIFFERENTIAL PNEUMATIC
PRESSURE TRANSDUCERS
29
5.2.1 AT 30 PLT 370 Pneumatic transducer
The PLT 30 is composed of two distinct parts: the detector (AT 30) and the
adapter (PLT 370). We can obtain other constructive versions by using another
type of detector.
A detector transforms the measured physical quantity (differential pressure)
into a proportional angular movement which is 8 at the maximum value the
measured quantity.
The AT 30 detector (see figure 5.1) is composed of two pressure chambers,
in which two elastic bellows, (1) and (2) are connected with a rigid rod (3).
Displacing both bellows as a result of applied differential pressure is transmitted
to a lever (10) which transforms the levers linear displacement in an angular
displacement of axis (4) of maximum 8 .
Figure 5.1: AT 30 detector where the internal part transforms the translation
motion into angular one.
30
a pneumatic amplifier fed with air at a pressure of 1.4 bar, which is capable
of reacting to the variation of the distance h of the nozzle-flapper and by
sending an output pneumatic signal of range (0.2 1 bar), proportional
with the angular displacement of the detectors axis.
fields of measure:
31
special: derive from the normal ones by reducing one or both measur-
ing limits (minimum range = 40% in normal field);
response time the time duration while the output signal to reach 63%, when
a step input signal is applied: around 5 seconds.
32
Figure 5.3: The FE-3DM converter
33
Figure 5.4: Experimental assembly
34
Chapter 6
35
Figure 6.1: Festo pneumatic stand
tion. This application allows the creation of new projects/programs, the editing
of existing programs, editing of the predefined position list, compiling project-
s/programs, uploading and downloading the programs in/from the controllers
memory. The programs for the SPC200 are realized in G code, a programing
language that is used for programing numeric command tool machines.
36
(a) Project window (b) The list of predefined positions
3. Fill the Title and Description fields from the newly opened window;
For editing a new program you need the hardware characteristics of the axes
and controller. The hardware characteristics are obtained by following the next
steps:
37
Figure 6.4: The translation axes characteristics
3. Open the Hardware function from the Online > Upload menu.
The characteristics of the translation axes of the stand are presented in figure
6.4.
Note:The lower software end position should be 32 and the upper should be
400 for the X axis.
A program for the SPC200 controller is valid only if every line has a regis-
tration number. The registration number is assigned manually or automatically.
The controller allows the loading of a minimum of 100 programs with a number
of code lines that shouldnt exceed 2000. A program can contain maximum 1000
code lines. Numbering the code lines is made starting from 0 (N000) up to 999
(N999), every code line having a unique registration number. For automatically
numbering the lines, the Start numbering function from the Edit menu will
be called.
38
6.4 Commands for the SPC200 controller
SyntaxG00:
G00 [ G90 | G91 ] [ X|Y]< p o s i t i o n >
where
<p o s i t i o n >: [40 390] f o r X a x i s and [40 190] f o r Y a x i s
or <p o s i t i o n >: X@n Y@n ( where n i s th e p o s i t i o n symbol from
t he p o s i t i o n s l i s t )
Description: positions the final effector in the coordinates defined by < position >,
with maximum speed, absolutely or relatively to the current position (G90 or
G91)
Example:
N000 G00 G91 X100 the gripper is positioned at 100 mm in the positive di-
rection on the X axis with maximum speed
Note: if none of the G90 and G91 options is used, the positioning will be abso-
lute.
Syntax G01:
G01 [ G90 | G911 ] [ X|Y]< p o s i t i o n > F<X| Y><speed>
where
<p o s i t i o n >: [40 390] f o r X a x i s and [40 190] f o r Y a x i s
or <p o s i t i o n >: X@n Y@n ( where n i s th e p o s i t i o n symbol
from th e p o s i t i o n s l i s t )
<speed >: r e p r e s e n t s t h e p e r c e n t a g e o f t he maximum speed
[ 0 . . 9 9 ] where (0=100% ,.. ,99=99%)
Description: positions the final effector in the coordinates defined by < position >,
with the speed defined by < speed >, absolute or relative to the current position
(G90 or G91)
Example:
Note: if not using one of the G90 and G91 options, the positioning will be ab-
solute.
Syntax G04:
39
N000 G01 X100 FX20 Y150 FY30 the gripper is moved at position 100
mm on the X axis with 20% of the max-
imum speed and on at 150 mm on the
Y axis with 30% of the maximum speed
G04 <time>
where
<time >: s t a t i o n a r y time ( time 10ms)
Description: stops the running of the system for < time > 10ms;
Example:
Syntax G08:
G08 [X|Y] <a c c e l e r a t i o n >
where
<a c c e l e r a t i o n >: r e p r e s e n t s t h e p e r c e n t a g e o f th e maximum a c c e l e
Description: sets the acceleration on the X and/or the Y axis for approaching
a point;
Example:
Syntax G09:
G09 [X|Y] <a c c e l e r a t i o n >
where
<a c c e l e r a t i o n >: r e p r e s e n t s t h e p e r c e n t a g e o f th e maximum a c c e l e
[ 0 . . 9 9 ] where (0=100% ,.. ,99=99%)
Description: sets the breaking acceleration of the X and/or Y axis;
Example:
G90 Syntax:
40
N000 G09 X50 The throttle brake is set to 50 % of the maximum,
N001 G01 X80 FX50 before reaching the given position 80 mm on the X axis.
N000 G00 G90 X200 The griper is positioned at 200 mm on the X axis with
respect to the origin of the reference frame
Syntax G91:
G91 [X|Y]< p o s i t i o n >
where
<p o s i t i o n >: [40 390] f o r X a x i s and [40 190] f o r Y a x i s
or <p o s i t i o n >: X@n Y@n ( where n i s th e p o s i t i o n symbol
from th e p o s i t i o n s l i s t )
Description: positions the final effector with relative coordinates from the cur-
rent position defined by < position >, with respect or negative direction;
Example:
N000 G00 G91 X200 The griper is positioned at 200 mm on the X axis with
respect to the current position,
N001 G00 G91 X-100 the gripper is moved with 100 mm backward on the X
axis in regard to the last position.
Syntax M00:
M00
Description: stops the execution of a program.
Example:
41
N000 G01 X100 FX50 The griper is positioned at 100 mm on the X axis with
respect to the origin
N001 M00 of the reference frame with maximum speed, the pro-
gram stops
Syntax M02:
M02
Description: stops the execution of a sub-program.
Example:
N000 G01 X100 FX50 The griper is positioned at 100 mm on the X axis with
respect to the origin
N001 M02 of the reference frame with maximum speed, the sub-
program stops
Syntax M30:
M30
Description: repeats a program.
Example:
N000 G01 X100 FX50 The griper is positioned at 100 mm on the X axis with
respect to the origin
N001 M03 of the reference frame with maximum speed, repeats the
execution of a program
Syntax L:
L<n>
where
<n>: t he number o f t h e program from th e
c o n t r o l l e r s memory ;
Description: launches a sub-program.
Example:
Syntax #SQ:
42
N000 G01 X100 FX50 The griper is positioned at 100 mm on the X axis with
respect to the origin
N001 L1 of the reference frame with maximum speed, launches
the sub-program number 1.
#SQ<n . n>
where
<n . n>: e x i t p o r t ( from 0 . 0 0 t o 1 3 . 1 5 ) ;
Description: sets the bit of an exit port.
Example:
Syntax #RQ:
#RQ<n . n>
where
<n . n>: e x i t p o r t ( from 0 . 0 0 t o 1 3 . 1 5 ) ;
Description: resets the bit of an exit port.
Example:
Syntax E05:
E < r e g i s t r a t i o n number>
Description: executes an unconditioned jump to the < registrationnumber >
line of the program.
Example:
N010 G00 G91 X10 The gripper is moved 10 mm forward with regard the
current position;
N012 E05 030 the program jumps to line 030 without any conditions;
the gripper is positioned at 100 mm with regard the
origin of the reference frame
N030 G00 G90 X100
Syntax #T:
43
#T<I |Q><n . n><r e g i s t r a t i o n number>
where
I : input port ;
Q: output p o r t ;
<n . n>: t h e number o f t h e p o r t ( from 0 . 0 t o 1 3 . 1 5 ) ;
Description: tests the value of a port (input or output). If the value is logical
1 it jumps to < registration number > line. If the value is logical 0 it
executes the next line.
Example:
Syntax #TN:
#TN<I |Q><n . n><r e g i s t r a t i o n number>
where
I : input port ;
Q: output p o r t ;
<n . n>: t he number o f t h e p o r t ( from 0 . 0 t o 1 3 . 1 5 ) ;
Description: tests the value of a port (input or putput). If the value is logical
0, it jumps to < registration number > line. If the value is logical 1 it
executes the next line.
Example:
Syntax #LR:
#LR<R e g i s t e r >=<value >
where
44
<R e g i s t e r >: t h e number o f t h e r e g i s t e r ( between 0 and 9 9 ) ;
<value >: an i n t e g e r v a l u e between 32768 and 3 2 7 6 7 .
Description: saves an integer value < value > in the register < Register >.
Example:
Syntax #AR:
#AR<R e g i s t e r >=<value >
where
<R e g i s t e r >: t h e number o f t h e r e g i s t e r ( between 0 and 9 9 ) ;
<value >: an i n t e g e r v a l u e between 32768 and 3 2 7 6 7 .
Description: increments the value saved in the < Register > register with the
integer value < value >.
Example:
Syntax #TR:
#TR<R e g i s t e r >=<value > < r e g i s t r a t i o n number>
where
<R e g i s t e r >: t h e number o f t h e r e g i s t e r ( between 0 and 9 9 ) ;
<value >: an i n t e g e r v a l u e between 32768 and 3 2 7 6 7 .
Description: tests the value saved in the < Register > register. If the value is
equal with < value >,it jumps to the < registration number > line. If not, it
executes the next line.
Example:
45
N009 #LR0=0 Saves the value 0 to the register at adders 0,
N010 L1 executes the sub-program 1
N011 #AR0=1 increments the value in the register 0 by 1
N012 #TR0=4 14 if the value is 4 than jumps to line 012
N013 E010 else jumps to line 010
N014 G01 X100 FX20
result of the compilation in a window. In case there are compilation errors, these
will be displayed with the lines of the program in which they appear.
The steps for saving a project in the controllers memory are the following:
Save all the programs within the project;
Before launching any program, the station must be powered following the given
steps below:
Generate 6 [bar] pressure in the compressor.
Open very slowly the red safety valve placed on the station, rotating
clockwise till it is in a horizontal position. After the valve is opened, the Y
axis moves in its maximum position.
46
6.6 Proposed exercises
1. Create a project that contains the program from figure 6.5.
Identify the code sequences used for opening and closing the gripper.
X axis position [mm] Y axis position [mm] X axis speed [m/s] Y axis speed [m/s]
1 120 80 0.30 0.50
2 120 130 0.30 2.0
3 330 130 1.0 2.0
4 330 60 1.0 1.0
the processed parts are of two types and the processing is done alternatively
at every 20 seconds;
47
the pallets for the two types of parts have the coordinates (x, y) = (70, 60)
and (x, y) = (100, 60);
the stopping acceleration in the closing and opening points of the gripper
cannot exceed 0.5 m/s2 on the Y axis;
the project has to contain a main program which counts the processed parts
and two sub-programs called from the main program (one for each pallet);
the points in which the final effector will pass (including the loading/un-
loading points of the parts) have to be defined and taken from the positions
list (figure 6.2b).
48
Chapter 7
SIMULATION OF
HYDRAULIC CIRCUITS
USING SIMHYDRAULICS
TOOL FROM MATLAB
49
Figure 7.1: The physical systems simulation product family.
Fluid transportation
Irrigation systems
50
Distributed parameter systems
51
Figure 7.4: Conversion block properties
52
Figure 7.5: SimHydraulics library structure.
Two interconnected conservation points should have the same physical char-
acteristic.
Physical connections can be spited, but the physical measures that pass
through that certain section will be divided according to that certain sys-
tems structure (e.g. Ohms Law, the sum of currents etc.).
53
Signals between Simscape and Simulink blocks can be interconnected but
we have to use a conversion block (PS-Simulink or Simulink-PS).
Custom Hydraulic Fluid blocks: allows specifying the systems fluid param-
eters: viscosity, temperature, density, percentage of air in the fluid etc.
54
7.3.4 SimHydraulics - Creating a simple model
Next, the steps required to create a simple model ins SimHydraulics as the one
from figure 7.7 is shown below. The figure illustrates a hydraulic cylinder which
is controlled by a distributor. The cylinder acts on a mass tied to a spring and
considers a viscous friction force.
The power part of the scheme is composed of an engine, a hydraulic pump and
a blowdown valve. The pump is considered powerful enough to keep a constant
pressure at the valve. Therefore, the diagram will present an idealized pump. In
order to create the Simulink model the next steps are to be followed:
3. From Simscape > Foundation Library > Hydraulic > Hydraulic Sensors
and Sources an Ideal Hydraulic Pressure Source block is chosen and placed
in the new model.
55
5. Choose for the valve from Simscape > SimHydraulics > Valves Library a
3-Way Directional Valve which can be found in the Directional Valves sub
library and a 2-Position Valve Actuator from Valve Actuators.
(a) The source, valve, actuator and (b) Mechanical elements connected to
cylinder the hydraulic system
7. For modeling the mechanical load, the Mass, Translational Spring, Transla-
tional Damper and Mecanical Translational Reference blocs from Simscape
> Foundation Library > Mechanical > Translational Elements library will
be selected. These elements will be connected such as in figure 7.8b.
8. For visualizing the characteristics, sources and scopes will be added from
Simulink. For interconnections, Simulink-PS and PS-Simulink conversion
blocks are needed. Every Simscape model needs a Solver Configuration
block. Beside this block, a Hydraulic Fluid block will be added in order
to specify the fluids parameters. The links will be done according to figure
7.9.
56
Figure 7.9: Input-output for the system and configuration blocks
In order to modify the initial parameters of the system, follow the next
steps:
2. For selecting the fluid from the system we will use the Hydraulic Fluid block.
Skydrol 5 is chosen with the Relative amount of trapped air parameter at
0.002 and 40 for the temperature.
3. For specifying the ideal pump input value, the value of the constant is
changed to 10e5 and the measurement unit for the constants conversion
block will be set to Pa.
4. Taking into account that for the valve actuator, the Nominal Signal Value
parameter, is preset to 24, the sinus block amplitude is set to a value grater
then 50% of the valves preset value (e.g. 20).
5. The cylinder and valve parameters are set according to figure 7.10.
6. The mass blocks value is set to 4.5 kg, the damping coefficient to 250
N/m and the elasticity coefficient of the spring to 6e3 N/m with the initial
57
Figure 7.10: Cylinder and valve parameters
deformation of 0.02 m.
For the cylinder position: why does the cylinder return to the initial posi-
tion?
Change the sinusoidal input signal amplitude to 50. What happens with
the cylinder and valve signal?
Change the springs elasticity constant to 12e3 N/m. What happens with
the cylinders position compared to the previous case? Explain.
58
7.3.5 Modeling and simulation of a hydro-mechanical sys-
tem with SimHydraulics
The purpose of this chapter is to give an example of a more complex system such
as a forklift. The problem of modeling the hydraulic system will be treated while
the mechanical model is supposed to be already built.
The system configuration shown in figure 7.11 is capable of driving the mechanical
system of an excavator.
Cylinder: default;
59
Distributor: default;
Mass: 1 kg;
For this, open the Wheel Loader Closed Loop model and simulate the system.
Figure 7.12: The connection scheme for the closed loop mechanical system
Question: Why does the excavator move downwards for the first time? Study
the mechanical part of the system. Observe the inputs-outputs of the system.
In this part, the systems are interconnected. Copy the hydraulic system and the
already build mechanical system in a new model. The parameters of the hydraulic
system are changed according to figure 7.13:
60
Figure 7.13: Parameters for cylinder and distributor
7.4 FluidSIM
In the last part of the laboratory, the most important functions of FluidSim from
FESTO will be presented. The presented hydraulic circuits should be build and
simulated.
61
Figure 7.14: Connecting the hydraulic actuator system to the mechanical system
On the left side of the main window can be found the the components
bibliography, which has hydraulic and electric components, in order to create
complete circuits. On the upper menu can be found the options for circuit creation
and simulation.
62
Figure 7.15: Festo FluidSim main window.
63
One way Flow Control valve;
In order to chose the type of the valve (3/n Way valve) double click on the
item to open the configuration window (see figure 7.17).
Set the opening level to 50% for the One way Flow Control valve.
7.4.4 Exercise
1. Build the hydraulic circuits on the same sheet as show on figure 7.18, where
the cylinder on the right side is a Double Acting Cylinder. The circuit on the
left side is the same as built in the previous sections.
Simulate the new model and discuss the behavior of the two configurations.
2. Build the hydraulic circuits on the same sheet as show on figure 7.19.
Simulate the new model and discuss the behavior of the two configurations.
64
Figure 7.18: Circuit configuration for Double Acting Cylinder, on the right and
Single Acting Cylinder with reaction spring on the left.
3. Build the hydraulic circuit where the vales opening level is set to 50%,
as show on figure 7.19.
Simulate the new model and discuss the behavior of the two configurations.
3.1 The one way flow control valves opening level should be set to 70%.
Simulate and discuss the behavior of the circuit.
3.2 A return spring should be placed on the right of the 3/n Way valve.
Simulate and discuss the behavior of the circuit.
3.3 In this case, on the left side of the 3/n Way valve should be only the
65
Figure 7.20: Circuit configurations nr. 3.
return spring and on the right side should be only the manual actuation. Simulate
and discuss the behavior of the circuit.
66
Chapter 8
CONTROL OF
ELECTRO-PNEUMATIC
SYSTEMS USING LLWIN 3.0
67
Figure 8.1: Sorting electro-pneumatic systems
maintained.
2. Open the New project window (see figure 8.3) from which the Empty
Project template will be chosen.
4. Define the location where the project will be saved on hard drive.
The program can be written as functional blocks and subprograms (see figure
8.2) with, the subprograms being also functional blocks.
68
Figure 8.2: User interface of LLWIN 3.0
3. In the Output box choose the output from controller to which the block
will be linked;
69
Figure 8.3: The New Project window
4. In the Type box choose the type of the output block: engine, electromagnet,
or lamp;
5. In the right-side of the Output window we can find the buttons correspond-
ing to the actions that can be linked to the respective output block.
3. In the Input box choose the input of the controller to which the block will
be linked;
4. In the Type box choose the type of the output block: pushbutton, reed
contact, or photo-transistor.
6. E17E26 outputs can be used for buttons on the terminal (described later);
70
7. Outputs E31E38 and E41E48 are used to memorize the engine rotation:
counterclockwise, clockwise (see figure 8.4c).
(a) Output box (b) Input box (c) Other types of in-
put blocks
2. From Toolbox (see figure 8.2), drag the edge symbol, drop it in the logic
diagram area;
3. In the Edge window, Input box (see figure 8.5a) choose the input, to which
this block should be associated and on the right-side choose if the block
should be active at a transition from 0 >1 or from 1 >0. Corresponding
to the selected type a block will appear like the ones in figure 8.5b
2. From Toolbox window (see figure 8.2) drag the position symbol, drop it
in the logic diagram area;
71
(a) The edge window (b) Edge blocks active at
a transition 0 >1 and
1 >0
3. In the Position window, in the Input box (see figure 8.6a) choose the cor-
responding input. In the Result box insert values from/to which it should
count the impulses, depending on the chosen counting direction;
5. In figure 8.6b, the fields represents (from left to right): input, counter
variable, value from/to which it will count ascending/descending.
72
8.2.6 Start block
Every logic diagram that describes a control program begins with this block (see
figure 8.7a). If an application needs other diagrams, then each will start with
this block.
73
(a) Reset block and con- (b) Emergency break
figuration window block and configuration
window
Parameters and switches can be activated, or changed in edit state using the
right click.
74
Figure 8.9: Terminal block
75
window define the name of the variable or of the input that will be displayed. It
si also possible to display another variable while the program runs by selecting
the block and insert its name.
8.2.13 Variable 1
Can increment/decrements a value of a variable. In the configuration window (see
figure 8.10c)one can insert the variable name and select the desired operation: +1
for incrementing and -1 for decrementing.
76
8.2.16 Beep block
Sends a sound through the speaker. The duration and frequency of the emitted
sound can be changed from the configuration window (see figure 8.12a);
Sounds cannot generated in the download mode.
77
(a) Sub in and out block (b) Subprogram creation (c) Subprogram design
block
78
(a) Subprogram block (b) Subprogram block
with assigned input and connected to input and to
output ports. output ports
79
controller. was presented
All the instructions from the software LLWin for a pneumatic sorting machine
programming were described and the developed program offered a general view
on the control of an electro-pneumatic process with a microcontroller.
80
References
Gh. Lazea. Hydraulic and pneumatic control equipments. 1982. laboratory tutor.
User Manual. Software LLWin 3.06, art. no. 30407, printed in germany edition.
81