Karna Ugh Maps Approach To Understanding Control

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/343602158

Karnaugh Maps Approach to Understanding Control Implementation behind


Digital Pneumatics

Article · December 2019

CITATIONS READS

0 10,337

2 authors:

Adriano A. Santos António Ferreira da Silva


Polytechnic Institute of Porto Polytechnic Institute of Porto
40 PUBLICATIONS   73 CITATIONS    29 PUBLICATIONS   48 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Fault Tolerance in Distributed IEC 61499 Systems View project

All content following this page was uploaded by Adriano A. Santos on 12 August 2020.

The user has requested enhancement of the downloaded file.


Karnaugh Maps Approach
to Understanding Control
Implementation behind Digital
Pneumatics
1.ª Parte
Research Center of Mechanical Engineering (CIDEM), School of Engineering

ABSTRACT In pneumatics, the translational and rotational movements


Industrial processes need to be changed quickly so that differ- are obtained by the alternating introduction of air in the actua-
Polytechnic of Porto, (ISEP) Porto, Portugal {ads, afs}@isep.ipp.pt

ent products can be produced. The response to these changes tor chambers. In order to control this distribution, directional
requires a reconstruction of the pneumatic control according to control valve are used which alternately direct the airflow to
the new requests, that is, reconstruction of the control machine. the chambers of the actuators, also ensuring the escape of the
To solve this problem, we present an alternative way to develop air from the opposing chamber. Then, the control of these di-
Adriano A. Santos, António F. da Silva

dual control for double-path sequence using Karnaugh Maps. rectional movements has as objective the execution of the se-
In practice, we propose an approach to developing pneumatic quences of movements, be they combinational or sequential
control system in complex cases when there are two variants cycles. Therefore, to build a pneumatic circuit control system,
artigo científico

of the control sequence. The equations obtained by Karnaugh we have three possible approaches [1]:
Maps (KM) simplified the elaboration of the command of the • First: control performed using an intuitive methodology where
circuit, be it electro or pneumatic control, guaranteeing not only the designer tries to combine pneumatic signals to solve the
the realization of the two sequences combined, but as well as problem. Highly complex methodology for the implementa-
minimizing the command variables needed for a digital circuit. tion of the control for combinatory or sequential cycles.
A practical example to understand the implementation of the • Second: control performed using Cascade methodology.
4

control will be presented. The equations required to control the This methodology is used to solve any potential problem
circuit will be also used in a programmable logic controller (PLC) of the control for combinatory or sequential cycles. Electric
robótica

that will control the circuit. This is an easy methodology to un- control is a complex task.
derstand and implementing control digital pneumatics. • Third: control performed using KM’s methodology. This
Keywords: digital pneumatic control; industrial automation; methodology is also used to solve any potential problem of
Karnaugh Maps; ON/OFF control; pneumatic sequential circuits the control for combinatory or sequential cycles and for the
drawing of the electric control.

I. INTRODUCTION Other methodologies of control may be used to solving auto-


Compressed air is one of the oldest sources of energy. Its distribu- mation control problems of which we can highlight: the Quick-
tion and use, under different working pressures, has become wide- stepper FSS-12 Pneumatic/mechanical controlling sequences
spread and is currently an element that is present in all productive that, receiving information from sensors, and gives orders to
and service sectors. The controlled use of this energy source was ensure correct sequencing. This receives limit switch control sig-
called pneumatic (Pneuma), a Greek term meaning blow or breath. nals to make the transition to the next phase of the sequence
Numbers are the applications that use compressed air as [8], or by a Programmable Step Sequencer Control and/or air
an energy source. Operations such as drilling, tapping, etc., are logical control. In this paper, we will devote our attention to the
perfectly fit in mechanization and process automation, replacing implementation of the control of complex sequential cycles,
the human force, as a work producer, by a constant and uniform based on set of optimized logical equations, obtained by the
external force capable to maintaining high productive rhythms. KM that enables the control of an electro or pneumatic circuit.
In this sense, the use of the pneumatic, as a source of energy, will This methodology is an application of the digital control (ON/
be next to the mechanics, electricity or electronics and hydraulics. OFF) to the control of pneumatic circuits and it will guarantee
This integration will require a more comprehensive knowledge not only the control of the desired cycle, but that the equations
of the technologies to be applied in any process of automation of command are minimized [2].
not only from the point of view of the transmission of energy but In previous work [2][3][4], the authors presented a few set
robótica 117, 4.o Trimestre de 2019

also the control. Therefore, pneumatic control can be performed of generic rules for the construction of KM’s, flow signal plot-
pneumatically (use of pneumatics as power source and control), ting sequence and for logical equation minimization and your
electrically (pneumatic as power source and electricity as control, applicability to the control of complex electro or pneumatic cir-
relay technology), electronically (pneumatics as power source cuits. References [2] and [4] presented also the transcription of
and electronics as control, e.g., PLC) or combined with the hy- the equations to Ladder Diagram language (electro-pneumatic
draulics acting as power source and control and vice versa. control based on Programmable Logic Controller, PLC). In this
work, authors present a new approach to solve complex se- way to representing movements of the cylinder can be made us-
quential cycle of pneumatic circuit with double-path and the ing a displacement diagram (step diagram), i.e., a sequential or
associated points to the divergence and convergence to keep temporal diagram of movements or both. A sequential diagram
the synchronization of all the movements. Control is also imple- represents sequential movements of cylinder and temporal dia-
ment in a programmable logic controller. gram represents temporal path of the cylinders as show in Fig. 2.
Section 2 gives a brief description of control techniques
for pneumatic circuits. The rules to representing pneumatics
circuits and conventionally representation for the movements,
orders and limit switch. A description of the Cascade and KM’s
methodology is also presented. A case study is presented, to
show the advantages in relation to the manipulation of KM’s,
involving a complex double-path pneumatic circuit control is
given in Section 3. Section 4 presents pneumatics implementa-
tion and the conversion of the equations obtained by the KM’s
into control signals based on electrical contacts and a PLC elec- Figure 2. Step diagram for the sequence A+\ B+ \A- \B- [1].
tro-pneumatic implementation. Section 5 concludes the paper.
A. Pneumatic Cascade Method
Pneumatic Cascade Method is used to solve complex pneu-
II. PNEUMATIC CONTROL TECHNIQUES matics sequential cycles that require the use of memory’s. The
A set of directional control valve assembly and a cylinder per- control of the power parts (cylinders) is made according to the
form control pneumatic. This combination of these two ele- state of the information present and the knowledge of the past
ments is the basis of the control system and as such, the most actions (obtained by combinations of primary and secondary
important combination of a pneumatic system. To this set of variables or memory’s). Memory’s are connected in cascaded to

artigo científico
elements will be added many more that will be used as a guar- form the pressure group control allowing that, at each instant,
antee that the distribution of compressed air will be performed only one of the groups will be active, i.e., under pressure, see
at the exact moment. Fig. 3. To application these methods, it unnecessary to analyses
Conventionally the indication of the actuators name is made the speed or course of stakeholder’s cylinders because it is irrel-
by capital letters and limit switch, position of the actuators, by evant to the materialization of the command sequence.
lowercase letters. So, we can represent, in a sequence, by A+ the
forward movement and by A- the backward movement of a cyl-

5
inder called A. The associated directional control valve, to con-

robótica
trol cylinder, will have the same name (A) and the forward order
of the cylinder correspond to state A+ and the backward order
to state A-. At the ends of the cylinder positioning we will call a0
to the return distributor valve and a1 to the advanced distributor
valve, to which the states 0 and 1, respectively. Figure 1 shows
a simplified representation of a pneumatic circuit. It should be
noted that this representation, was made to understanding the
association of the variables used, is not in accordance with the
most recent conventions that recommend the use of numbers Figure 3. Cascade control pressure group (four groups).
[9] or letters associated with numbers [10][9], instead of letters.
Pressure groups are obtained by dividing the sequence into sev-
eral consecutive groups of motions so that, in the same group,
the motions of any one cylinder are not repeated, i.e., without
repetition of letters in the group. So, the sequence presented in
Fig. 2 is divide in two group: A+ B+ | A- B-, group 1 and group 2.

B. Pneumatic and Electro-pneumatic Karnaugh Maps


Karnaugh Maps are, normally, used to simplify and minimize
Boolean functions [5]. Industrially KM’s can be used to develop
control for sequential pneumatic or electro-pneumatic circuit.
Let us consider now the sequence A+ B+ B- A-, sequence in “L”
Figure 1. Simplified representation of a pneumatic circuit. (double-crossing point), with two cylinder independents and
double effect. So, the correspondence between the states of
Then, the description of a sequential movement of cylinders actives variables, limit switch, and the orders to give, control of
should be represented in a simple and comprehensible way that the directional control valve (see Fig. 1), give as the initial con-
translates the operation cycle of the cylinders. So, the representa- figuration of the KM’s, 2n cells (n is the number of cylinders) [2].
tion of the movements of the advances and return of two cylin- Initial order is giving in the upper left corner of the maps and the
ders (A and B) could be made as follows: A+\ B+\ A-\ B-. Another remaining orders are mapped according to the path plotting of
the sequence [2][6]. Karnaugh Maps for this sequence (cycle in to the more complex movement only because part of the se-
L) is presented in Fig. 4. quence is overlap. However, in order to make the overlap of
movements more understandable, we choose representing
the movements in a separate step-diagram. Figure 6 shows the
displacement diagram for this two sequence. Black path repre-
sents the overlap movements, green and red paths represents
the remaining sequence path. Note that although with different
trajectories, part of the green and red paths is also an overlap.

Figure 4. Karnaugh Maps for two cylinders (A and B) with one memory.

III. KARNAUGH MAPS FOR COMPLEX SEQUENTIAL CYCLE


The scheme shown in Fig. 5 represents a drilling machine used Figure 6. Displacement diagram of the double-path sequence (S1 and S2).
in the production of the configurations shown in the figure.
Three of the cylinders produce oblong holes (cylinders B and D The KM’s is drawn considering, first, the sequence with the larg-
in simultaneously, followed by the C) while the fourth (cylinder est number of cylinders to control (A, B, C and D). On the other
A) is used to perform the longitudinal drilling in top of the part. hand, and considering the initial movements of the cylinders,
artigo científico

initial map will present the configuration shown in Fig. 7. So, the
initial movement of the sequence will be performed in the upper
left corner of the map. Sequence is drawing inside the map by as-
sociating the corresponding orders. Maps grows according to the
impossibility of performing any of the movements (occupied cell
of arrival) through its horizontal/vertical unfolding, as defined in
6

[2]. Black path represents the overlap movements, green and red
paths represents the remaining sequence path. Cell a1b1c0d1 is the
robótica

split cell of the movements (dark yellow, Fig. 7). S1 and S2 defines
the direction of the sequence, right or left (green or red path).

Figure 5. Drilling machine [7].

Due to the manufacturing needs, the system has been prepared


to work in two distinct modes, push-button S1 and S2. In the
first mode (S1) all cylinders work while in the operating mode
S2 cylinder C is suppress, maintaining the sequence of the re-
maining movements. From these conditions, it follows that the
sequence has a common path diverging and/or converging at
specific points. Table 1 shows the sequences of push-button S1
mode and S2 mode. Figure 7. Karnaugh map for a complex double-path logical circuit (S1 and S2).

Table I. Sequence of Movement for S1 and S2 Mode. To obtain the equations it is necessary to isolate each of the se-
quences and each of the orders. Then, from the analysis of the ini-
tial order (upper left corner), it is verified that this will be executed
whenever one of the buttons S1 or S2 is pressed, common path
of the sequence. However, other considerations will have to be
considered since, as this cell is the initial cell of the two sequences,
we must ensure that all movements are completed. On the other
hand, the active variable or actives variables will have to be pre-
Representing movements of a sequence is made by an alge- sent in the equation of motion associated with the A1 order. In
braic form, more usual form, or by a displacement diagram. In this case, the active variable for sequence S1 is c0 (previous move-
presented case, we have two sequence, although we have two ment) and b0d0 for sequence S2. So, the forward control equation
different paths, normally, the representation must be confined of cylinder A (order A1, see Fig. 7) will be given by:
A1 = (S1 + S2) . c0 . b0 . d0 (1) of the sequence (S1) to be performed since it follows a path that
will be independent of the sequence S2. In some situations, it
This control function is part of the result of the minimization of will be necessary to maintain the information of the sequence
the logical equations obtained from KM, establishing a relation since there may be overlapping orders and, as such, it will be
between sensors (limit switch), memory’s and cylinders orders. necessary to distinguish the different paths.
The remaining control equations are obtained by following For the sequence S2 the equations are obtain following
the same approach for the order A1. Therefore, to the sequence plotting sequence in the new abstraction for KM, Fig. 10.
S1 we have:

A0 = c1 (2)

B1 = a1
(3)
B0 = a0

C1 = b1 . d1 . S1
(4)
C0 = b0 . d0

D1 = a1
(5)
D0 = a0

S1 = c1 (6) Figure 10. Karnaugh map for sequence S2.

artigo científico
Control equation for C1, in the split cell (Fig. 8), is obtain by the The equation for the order A1 is the same obtain in the sequence
previous movements (active variables b1 and d1) and the memo- S1 (1) but, the return of this cylinder depends not only one of
rized signal of push-button S1, see (4). the active variables but also the memory S2 associated to the di-
vergence cell. So, in this case, the actives variables for the order
A0 in the sequence S2 are b1 and d1 (previous movements). So,
the return control equation of cylinder A, working in sequence

7
S2, (order A0, see Fig. 10) will be given by:

robótica
A0 = b1 . d1 . S2 (7)

Cylinder B and D have also de same equations. Cylinder C do not


work in S2 and the turn off memory, S2 is made by the active’s
variables a0, b1 and d1, after the return of the cylinder A. So, the
equation for deactivating memory S2 is:

S2 = a0 . b1 . b1 (8)

Figure 8. Karnaugh map for sequence S1. The junction of these two paths results in a set of equations that
usually is translate into a sequence of repetition of movements
Implementation of this electrical memory (signal for sequence and, as such, conditioned to the pressed button S1 or S2. The
S1) is presented in Fig. 9. final set of logical equations is:

A1 = (S1 + S2) . c0 . b0 . d0
(9)
A0 = c1 + b1 . d1 . S2

B1 = a1

(10)
B0 = a0 + a0

C1 = b1 . d1 . S1
Figure 9. Memory for the push-button S1. (11)
C0 = b0 . d0

Note that, the limit switch c1 is a closed contact since its place-
D1 = a1
ment in memory must be in the negative form. So, after order C1 (12)
D0 = a0 + a0
(advance of cylinder C) the memory is not necessary, the activa-
tion of c1 turn off memory S1, and the sequence performs path
S1 = c1
S1. From this point, it is not necessary to maintain the reference (13)
S2 = a0 . b1 . b1
Karnaugh Maps Approach
to Understanding Control
Implementation behind Digital
Pneumatics
2.ª Parte
Research Center of Mechanical Engineering (CIDEM), School of Engineering

IV. IMPLEMENTING CONTROL FROM KARNAUGH MAPS component (except cables and connections) according to the
At this point, the control of the study case is presented in the form code shown in Fig. 11.
Polytechnic of Porto, (ISEP) Porto, Portugal {ads, afs}@isep.ipp.pt

of electrical pneumatic control (relay technology), a pure pneu-


matic control and an electro pneumatic control made in Ladder
Logical diagram under a programmable logical controller.
Adriano A. Santos, António F. da Silva

C. Electro pneumatic control, relay technology Figure 11. Designation code for components to EN 81346-2:2009-10.
Implementing electro-pneumatic circuits it is based in two
fundamental parts, the power part (pneumatic action made Where system designation, define by a number or letter, can be
artigo científico

by the actuators, ‑MM) and an electromechanical part which is omitted if the entire circuit consists of a single system (in the
controlled by electrical signals (directional control valve, ‑QM), case is P, Pneumatics) and medium code, is a letter followed by
solenoid coils (‑MB), and electrical part composed by electrical the circuit number (number, absolutely necessary, followed by a
signal of the limit switch (‑BG) of the actuators also contacts and full stop), followed directly by the component number (number).
relays (‑KF). This signal, in a binary or digital form, control the Therefore, an identifier and a number assign each component
evolution of the sequence in function of signals coming from in the circuit diagram. So, within a circuit, components with the
8

the process as well as the past and present states. Then, the same identifier are numbered consecutively from bottom to top
minimized equations obtained from the KM’s will be summa- and left to right. Figure 12 shows electric scheme, using the new
robótica

rized as a set of input and outputs signals associate with more code [10][9], implementation of logical equations obtained and,
than one movement of a cylinder over the different cycles, so as well, the memory associated to push-buttons (-SF1 and -SF2).
these final equations are combined to a sum of products. Elec-
tric scheme of this complex double-path sequence consist of a D. Pneumatic control
set of a serial, parallel or memory components resulting from Implementing pure pneumatic circuits it is based also in the
the transcription, to a contact diagram, of the logical equations power part (pneumatic action) and a mechanical part, which
obtained from the KM’s. is controlled by pneumatic signals (actuation of the directional
It is important now to present, in summary, the newer control valve). The great difference it is at the level of the con-
convention used to identifying the components in the electro- trol since the logical combinations are realized with pneumatic
pneumatic circuit diagrams. So, according to the standard EN valves in detriment of the electrical contacts or of a control by
81346-2:2009-10 [10], pneumatic part, the standard define each a programmable logical controller (PLC). Note however, that
robótica 117, 4.o Trimestre de 2019

Figure 12. Electro-pneumatic control system for complex duble-path sequence (S1 and S2), components identified as per EN 81346-2:2009-10.
the memory is performed with a pneumatic valve 5/2, will al- more dynamic and capable to responding more effectively to the
ways maintain, by default, a signal corresponding to sequence needs of changing the production chain. In this context, start-up
1 (pneumatic signal S1) or sequence 2 (pneumatic signal S2). and process change times become a factor of competitiveness
These signals will always be present along each of the paths as with an impact on production and, consequently, on final gains.
can be deduced from the scheme shown in Fig. 13. Purely pneumatic-based automation systems are static systems
for which simply changing a movement of a pneumatic cylinder
results in the physical alteration of the entire control, i.e., a lengthy
process of reconstruction of all the control system.
In order to minimize start-up times, we present a methodol-
ogy for defining the control system based on Karnaugh Maps
adapted to industrial, pneumatic or electro-pneumatic circuits,
used in a combinatorial or sequential cycle. The use of this
methodology allows solving a high complexity control problem
as well as the possibility of combining more than one sequence
of movements in a single command. The command from logic
Figure 13. Memory implementation in a pure pneumatic system. equations obtained by the KM’s ensure not only the realization
of this double-path sequence, but also the minimization of the
E. PLC control command variables required to control digital circuits.
Implementing electro-pneumatic control systems is also based It was also your intended to show that the control base on
in two fundamental parts; the power part (control and actuation the equations obtained are easily converted into electrical com-
of the cylinders) and the electrical part (digital logic control by a mands. Its transformation into Ladder Diagram language is also
PLC). Program control was made in Ladder Logic, using a S7‑200 easy to apply, opening a wide range of possibilities for industrial
PLC from SIEMENS. As we can see in Fig. 14, the implementation use, simulation of processes as well, as teaching and learning of

artigo científico
in Ladder Diagram language is a pure translation of the logi- the control of pneumatic and electro-pneumatic systems.
cal equations obtained by the KM’s (translation to Ladder of the
electrical scheme of Fig. 12).
ACKNOWLEDGMENT
We acknowledge the financial support of CIDEM, R&D unit fund-
ed by the FCT – Portuguese Foundation for the Development

9
of Science and Technology, Ministry of Science, Technology and
Higher Education, under the Project UID/EMS/0615/2016.

robótica
REFERENCES
[1] Santos, A.A. and Silva, A.F., Automação Pneumática, 3rd ed., Publindústria, Por-
tugal, 2014, pp. 185-243.
[2] Santos, A.A. and da Silva, A.F., Methodology for manipulation of Karnaugh maps
designing for pneumatic sequential logic circuits, in International Journal of Me-
chatronics and Automation, Vol. 6, No. 1, pp.46–54, 2017.
[3] Silva, A.F. and Santos, A.A., Teaching control pneumatic and electro-pneumatic
circuits – a new method, in International Congress on Education, Innovation
and Learning Technologies (ICEILT2015), September 2015, Granada, Spain.
[4] Santos, A.A. and Silva, A.F., Electro pneumatic control versus grafcet, in Inter-
national Congress on Education, Innovation and Learning Technologies
(ICEILT2015), September 2015, Granada, Spain.
[5] Karnaugh, M., The map method for synthesis of combinational logic circuits, in
Transactions of the American Institute of Electrical Engineers, Vol. 72, N.o 1,
pp.593–599, 1953.
[6] Sim, S-K. and Chua, P.S.K., Symbolic pattern manipulation of Karnaugh-Veitch
maps for pneumatic circuits, in Artificial Intelligence in Engineering, Vol. 10,
N.o 1, pp.71–83, 1996.
[7] Werner, D. and Kurt, S., Reduction des coûts par la pneumatique, 1st ed., Vogel-
-Buchverlag, 1989, pp. 238.
[8] Quickstepper FSS – FESTO (2018). [Acessed 27 mar. 19]. [One line] https://
www.festo.com/net/SupportPortal/Files/12208/PSI_810_1_en.pdf.
[9] ISO 1219-2:2012. Fluid power systems and components – Graphical symbols and
Figure 14. Digital control of an electro-pneumatic system.
circuit diagrams – Part 2: Circuit diagrams. International Organization for Stan-
dardization, 2012.
[10] IEC 81346-2:2009. Industrial systems, installations and equipment and industrial
V. CONCLUSIONS products – Structuring principles and reference designations – Part 2: Classifica-
The global market imposes ever-shorter productive times for tion of objects and codes for classes. International Organization for Standardi-
the industrial sector. Therefore, changing systems will have to be zation, 2009.

View publication stats

You might also like