You are on page 1of 6

Available online at www.sciencedirect.

com

ScienceDirect
Procedia Engineering 149 (2016) 149 – 154

International Conference on Manufacturing Engineering and Materials, ICMEM 2016,


6-10 June 2016, Nový Smokovec, Slovakia

Predictive model to evaluation quality of the manufacturing process using


Matlab tools
Stella Hrehovaa*
a*
Technical university of Kosice , Faculty of Manufacturing Technologies with seat in Presov, Department of Mathematics, Informatics and Cybernetics, ,
Bayerova 1, 080 01 Presov, Slovak Republic

Abstract

Quality of production is very important part of successful company. Through the variability of production can be generated the products, which
not achieve requirements of quality. For company it means loss. Prediction of evaluation of the achievement level of quality of production
process is possible way how can be eliminated losses of the company.In the presented contribution is shown the possibility of using tools of
software product Matlab to create a predictive model for evaluating the quality of the production process. There are described the tools that
enable the creation an appropriate model. In this model were used the basic tools of statistical process control and their graphic representation
in the form of diagram.
© 2016
© 2016 The
The Authors.Published
Authors. PublishedbybyElsevier B.V.
Elsevier Ltd. This is an open access article under the CC BY-NC-ND license
Peer-review under responsibility of the organizing committee of ICMEM 2016
(http://creativecommons.org/licenses/by-nc-nd/4.0/).
Peer-review under responsibility of the organizing committee of ICMEM 2016
Keywords:qaulity, manufacturing, Matlab, model

1. Introduction

The manufacturing processes of productive forces effect on each other to create a product. Each product has a certain
dimension which is highly important for it. This means that if the size is out of the tolerance limits, the product is classified as
non-compliant, as a waste [1]. As a result, companies have losses and therefore they put increased emphasis on compliance with
these requirements.
The concepts of statistical process control (SPC) were initially developed by Dr. W. E. Shewhart, and were expanded upon
by Dr. W.E. Deming, who introduced SPC to Japanese industry after WWII. After early successful adoption by Japanese firms,
SPC has now been incorporated by organizations around the world as a primary tool to improve product quality by reducing
process variation.Dr. W.E. Shewhart recognized that there are two major causes of variation in a process: common causes and
special causes. Common causes of variation result from natural factors in the process and occur at random. Variation due to
common causes cannot be changed except through fundamental change in the process itself [2]. The variations mean that it is
impossible to produce two completely identical products.
A capable process is such a process where almost all the measurements fall inside the specification limits. This can be
represented by the plot below [3]:

* Hrehova Stella. Tel.: +421 55 6026426; fax:+421 51 7733453.


E-mail address: stella.hrehova@tuke.sk

1877-7058 © 2016 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license
(http://creativecommons.org/licenses/by-nc-nd/4.0/).
Peer-review under responsibility of the organizing committee of ICMEM 2016
doi:10.1016/j.proeng.2016.06.649
150 Stella Hrehova / Procedia Engineering 149 (2016) 149 – 154

Fig. 1.(a) Traditional process; (b) Capable process.

In order to avoid losses manufacturing companies began use the tools to monitor and improve the quality of the production
process. For one of the basic tools is statistical process control - SPC. Within connection graphical representation with numerical
values of indices is described achieved level of quality and so brings the necessary information.
Control charts typically display the limits that statistical variability can explain as normal. It graphical represents how a
process changes over time. This graph is based upon the Central Limit Theorem which tells us, in effect, that the samples will
follow a normal distribution regardless of the shape of the parent distribution.If the process is performing within considered
limits, it is said to be in control; if not, it is out of control. Data are plotted in time order. A control chart has a central line for the
average, an upper line for the upper control limit (UCL) and a lower line for the lower control limit (LCL) [4].

Fig. 2. Description of Shewhart graph

In practice, specification limits USL and LSL are usually established by engineers and are not a function of the capabilities of
the process. Control limits represent “what the process can do,” and specification limits represent “what we want the process to
do” [5]. By comparing current data to these lines, you can draw conclusions about whether the process variation is consistent (in
control) or is unpredictable (out of control, affected by special causes of variation). Points outside of these control limits can
indicate that the process is not operating as consistently as possible and some assignable cause has resulted in a change in the
process. Similarly, runs of points on one side of the average line should also be interpreted as a signal of some change in the
process. When such indicates exist, action should be taken to identify and eliminate them [6].
The disadvantage of traditional evaluation is that the evaluation is carried out after a process. The aim is therefore to find
ways to secure the pre-production process evaluation of the in-time. Then should be possible intervene to in the process in cases
of finding irregularities. With continuous monitoring and process analysis we can move to an appropriate “just-in-time” manner.
The paper assumes automatic data acquisition and use of MATLAB software options for visualization and measurement data.
At the beginning we can predict through visualization what will be the level of production quality, or even, if is necessary to
intervene in the event of adverse developments in the state.

Nomenclature

SPC statistical process control Cpk indicator of current capability of process


USL upper specification limit Cp process capability index
LSL lower specification limit K index of capability
x arithmetic mean of the measured values V standard deviation of process
UCL upper control limit
CL central line
LCL lower control limit
Stella Hrehova / Procedia Engineering 149 (2016) 149 – 154 151

2. The basic terms of quality control

In the presented paper will be evaluated the basic capability indices and will be used to chart of individual measurements.

2.1. The basic indices of quality evaluation

Process capability indices measure how much "natural variation" a process experiences relative to its specification limits and
allows different processes to be compared with respect to how well an organization controls them [7]. The paper considered the
following indices:

USL  LSL
CP (1)
6V

­USL  x x  LSL ½
C pk min® , ¾ (2)
¯ 3V 3V ¿

The index K indicates that if the required target process is not identical with the center of the tolerance range than it captures
the mean deviation from the desired value T, which is very important information [7].

2T  x
K (3)
USL  LSL

2.2. Evaluation of achieved level of quality

Requirements ofcapability of the process are most relating to the value of index Cpk which is relating to the position with
respect to the mean. The process is considered to be capable when value Cpk ≥ 1,33 [8].

Values of Cp are interpreted as follows:


x if Cp< 0,66, capability of the process is too bad (width USL - LSL < 4V),
x if Cp< 1, capability of the process is bad,
x if Cp≥1,33, capability of the process is good, achieved mean of value lies at a distance from 4σ tolerance limits,
x if Cp>1,66, capability of the process is very good,

x if Cpk< 0, the process is centered out of the tolerance limits,


x if Cpk = 0, the process is centered at one of the tolerance limit,
x if Cpk< 1, the process is not capable – process is not able to meet the required values,
x ifCpk≥ 1,6, capability of the process is good.

The values of the indices are valid, if the extent of used file for their calculation is at least 200. In the case of a smaller group
the values of indices must reach higher levels. For "6σ capability" is also required higher values of indices Cp! 2 (Cpk ≥ 1,5) [9].
There can be also applied the principles of fuzzy logic to evaluate the value of individual indices. For each interval of values
are assigned the correspondingwords.This allows evaluate the achievement level more clearly without having knowledge of the
respective numerical values [10].

2.3. Description of used control chart

Using historical data can be determined control limits to create a graphical interpretation of production process. Exceeding
them may indicate adverse impact that may result non-compliant product. The only statistical process control detection rule used
with modified control limits is when a single point is higher the upper specification limit or below the lower specification limit.
The difference between data point xi for m individual values are calculated as:

MR xi  xi 1 (4)

the arithmetic mean of these values is calculated as:

m
MR
MR ¦ m  1i (5)
i 2
152 Stella Hrehova / Procedia Engineering 149 (2016) 149 – 154

The upper control limit (UCL) and lower control limit (LCL) for the individual values are calculated by adding or subtracting
2.66 times the average moving range to the process average.

Upper control limit:

UCL x  2,66MR (6)

Central line

CL x (7)

Lower control limit

LCL x  2,66MR (8)

3. Short description of used tools of Matlab

Name MATLAB stands for MATrixLABoratory. MATLAB is a high-performance language for technical computing.
Furthermore, Matlab is a modern programming language environment: it has sophisticated datastructures, contains built-in
editing and debuggingtools, and supports object-orientedprogramming. These factors make Matlab an excellent tool for
evaluating and research. It has powerful built-inroutines that enable a very wide variety of computations. It also has easy to use
graphics commands that make the visualization of results immediately available.
A script fileis an external file that contains a sequence of Matlab statements. Script files have an extension .m and are often
called M-files. M-files can be scripts that simply execute a series of Matlab statements, or they can be functionsthat can accept
arguments and can produce one or more outputs. All variables created in a script file are added to the workspace.
Using the tools of scripts we are able to visualize of measured data. To gain progressively plotting of measurements values is
used command drawnow. The following figures show the progressive plotting values on the screen. There are shown the control
limits as well. They are calculated from analysed data and so we can observe whether the process is capable.The following figure
shows the progress of incoming data and displays them in a graphical window.

Fig. 3.Visualisation of measured data


Stella Hrehova / Procedia Engineering 149 (2016) 149 – 154 153

Besides the possibility visualization of data, Matlab offers the tools to create a program that would display the results of
indices and the overall graph in a separate window as well. The user will be prompted to enter only the upper specification limit
(USL)and lowerspecification limit (LSL) and also the signification of product to assign the output.
There was created the program mainrun, which is loaded from the basic environment in MATLAB. As part of this code it is
used xlsread command that loads the values from an Excel spreadsheet. Using the basic commands of Matlab such as uicontrol
and its style - edit and text with its corresponding characteristics were created the fields which allow writing the necessary input
data. Then will run the computation of required values of indices and they will be displayed in the resulting window.

Fig. 4. Results

The resulting window is saved as a separate image. Data that exceed the upper and lower control limit are entered into the
document where it is stored the serial number and the value. These files are shown in the following figure.

a) b)

Fig. 5. (a) Text file; (b) Results as animage.

The next tool to create the user interface to input data is GUI. Graphical user interface provides a set of tools for creating
graphical user interfaces (GUIs). These tools greatly simplify the process of programming GUIs and they are designed to make
building GUIs easier and faster. It provides the user with the ability to use a program without having to worry about commands
to run the actual program [11]. Design of output interface is shown in the following figure.
154 Stella Hrehova / Procedia Engineering 149 (2016) 149 – 154

Fig. 6.User interface through GUI

A method how is created the user interface is therefore dependent only on the knowledge and experience of creator. The
calculation is executed by pressing the button Run. This calculation is independent of the type of entry.

4. Conclusion

The proposed model uses basic tools of statistical process control in conjunction with the programming capabilities of Matlab
software. Using hardware features are monitored data written to the file, and then graphically presented. Graphic representation
is designed to assess the achieved quality of production of observed parameter. Based on the visualisation it is possible earlier
discover some deviations from the required level. Values that do not meet the monitored quality standards are written in a
separate text file and with them their time order. Along with the image of graphical interpretation, which interprets the observed
behaviour, gives the opportunity for further analysis or for determining remedies.
The potential benefits of the proposed model are the word expression of the values of the individual coefficients as well.
These are evaluated on the basis of knowledge gained by experts.

References

[1] Vagaska A.Statistical process Control in Technological Processes. Strojárstvo Extra. 2011,Vol. 15, No. 5, ISSN 1335-2938.
[2] Evans JR. Fundamentals of Statistical Process Control.[online]http://www.flexstudy.com/catalog/schpdf.cfm?coursenum=9561a.
[3] Mottonen M. at all.Manufacturing Process Capability and Specification LimitsThe Open Industrial and Manufacturing Engineering Journal; 2008, Volume 1,
29-36 [online] http://benthamopen.com/contents/pdf/TOIMEJ/TOIMEJ-1-29.pdf.
[4] Montgomery DC. Introduction to Statistical Quality Control, 4th ed., Wiley, New York; 2000.
[5] Leavengood S, Reeb, J. Performance ecellence int the wood products industry. Statistical Process Control. [online]
http://ir.library.oregonstate.edu/xmlui/bitstream/handle/1957/20085/em8733-e.pdf
[6] Terek M, Hrnciarova L. Statistical process control, IURA Edition, 2004, ISBN 80-89047-97-1
[7] Šulc B,Vítečková M. Theory and practice of desing of regulatory circuits, ČVUT; 2004, ISBN -01-03007-5.
[8] Nenadál J, Plura J.Modern quality management, Management press; 2008, ISBN 978-80-7261-186-7, 348-354.
[9] Benkova M. Quality Assurance Processe, Technical University of Košice; 2007. p.85.
[10] Hrehova S, Vagaska A. Application of Fuzzy Principles in Evaluating Quality of Manufacturing Process. In. WSEAS Transaction on Power Systems, Issue
2, Volume 7; 2012, ISSN 2224-350X.
[11] Houcque D. Introduction to Matlab for engineering students. [online] https://www.mccormick.northwestern.edu/docs/efirst/matlab.pdf.

You might also like