Научная статья на тему 'Методика определения количества измерений при нормировании случайной погрешности информационно-измерительной системы с элементами искусственного интеллекта'

Методика определения количества измерений при нормировании случайной погрешности информационно-измерительной системы с элементами искусственного интеллекта Текст научной статьи по специальности «Электротехника, электронная техника, информационные технологии»

CC BY
35
16
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
ПРОГРАММНО-КОНФИГУРИРУЕМАЯ СЕТЬ / ИМИТАЦИОННОЕ МОДЕЛИРОВАНИЕ / ДИСКРЕТНО-СОБЫТИЙНАЯ СПЕЦИФИКАЦИЯ СИСТЕМЫ / GONIOMETRIC SYSTEM / БОЛЬШИЕ ДАННЫЕ / ARTIFICIAL INTELLIGENCE / RANDOM COMPONENT OF THE MEASUREMENT ERROR / MATHEMATICAL STATISTICS / MATHEMATICAL ANALYSIS / PROBABILITY THEORY

Аннотация научной статьи по электротехнике, электронной технике, информационным технологиям, автор научной работы — Cherepanska I., Bezvesilna O., Sazonov A., Nechai S., Khylchenko T.

Предложен стратифицированный подход к имитационному моделированию программно-конфигурируемых сетей. Предложены имитационные модели сети, активных и пассивных компонентов контроллера, коммутатора, хоста и коммуникационных каналов. Пригодность подхода к целевому использованию подтверждена путем сопоставления полученных результатов имитационного моделирования с результатами эмулирования сети в среде Mininet

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

The procedure for determining the number of measurements in the normalization of random error of an informationmeasuring system with elements of artificial intelligence

Features of estimation and normalization of random components of the errors occurring in measurements with the help of goniometric systems were considered. A general procedure has been formulated that makes it possible to soundly determine the necessary and sufficient number of measurement repetitions to ensure accuracy and reliability of the obtained results. The procedure is based on application of mathematical apparatus of the probability theory, mathematical analysis and statistics, as well as the assumption that random errors obey the normal law of distribution of random quantities. Operatioability of the proposed procedure and effectiveness of its use have been experimentally confirmed. In particular, when comparing the obtained results with those in a similar work [7], the time taken to carry out measurements decreased by 1.3 times. That is, the effect of applying the proposed procedure is greater than the measurement costs while a high accuracy of 0.01² and reliability of0.95 are maintained. The obtained results indicate the possibility of further extensive laboratory and industrial applications

Текст научной работы на тему «Методика определения количества измерений при нормировании случайной погрешности информационно-измерительной системы с элементами искусственного интеллекта»

Розглянуто особливостi процесу оцш-ки та нормування випадковог складовог похибки вимiрювання готометричног сис-теми з елементами штучного ттелекту. Сформовано загальну методику нормування випадковог складовог похибки вимiрю-вання, яка дозволить обгрунтовано визна-чати необхгдну та достатню кшьтсть повторiв вимiрювань для досягнення зада-ног точностi. Використання даног методики дозволяе зменшити трудом^т^сть i тривал^ть проведення експерименту та забезпечуе досягнення заданог точнос-тi вимiрювання. Запропоновано страте-гю реалiзацiг методики, яка складаеться з чотирьох основних етатв

Ключовi слова: штучний ттелект, гот-ометрична система, випадкова складова похибки вимiрювання, математична статистика, математичний аналiз, теорiя ймовiрностi

Рассмотрены особенности процесса оценки и нормировки случайной составляющей погрешности измерения гониометрической системы с элементами искусственного интеллекта. Сформулирована общая методика нормировки случайной составляющей погрешности измерения, которая позволит обоснованно рассчитывать необходимое и достаточное количество повторов измерений для достижения заданой точности. Использование данной методики позволяет уменьшить трудоемкость и длительность проведения эксперимента и обеспечивает достижение заданной точности измерения. Предложена стратегия реализации данной методики, которая состоит из четырех основных этапов Ключевые слова: искусственный интеллект, гониометрическая система, случайная составляющая погрешности измерения, математическая статистика, математический анализ, теория вероятности

-□ □-

UDC 681.2.08

|öOI: 10.15587/1729-4061.2017.109957|

THE PROCEDURE FOR DETERMINING THE NUMBER OF MEASUREMENTS IN THE NORMALIZATION OF RANDOM ERROR OF AN INFORMATION-MEASURING SYSTEM WITH ELEMENTS OF ARTIFICIAL INTELLIGENCE

I. Cherepanska

PhD, Associate Professor* E-mail: cherepanskairina@gmail.com O. Bezvesilna Doctor of Technical Sciences, Professor** E-mail: bezvesilna@gmail.com A. Sazonov PhD*

E-mail: artyomsazonov@ztu.edu.ua S. Nechai

PhD, Associate Professor** E-mail: prilad@ukr.net T. Khylchenko

Postgraduate student* E-mail:xvulunka@i.ua *Department of automation and computer-integrated technologies named after prof. B. B. Samotokin Zhytomyr State Technological University Chudnivska str., 103, Zhytomyr, Ukraine, 10005 **Department of Instrumentation National Technical University of Ukraine «Igor Sikorsky Kyiv Polytechnic Institute» Peremohy ave., 37, Kyiv, Ukraine, 03057

1. Introduction

Intensive progress in the automation of in-process measurements and the corresponding measuring means and systems determines stricter requirements to the efficiency of their operation. Accuracy is one of the efficiency-related indicators of functioning of the automated in-process measurement systems. Accuracy can be achieved, first, by improving proper technical means and, second, by improvement of measurement methods, computational algorithms and other procedures. The latter allows the desired accuracy

to be ensured in less costly but not less effective ways. In particular, it concerns determination and normalization of measurement errors including those appearing in an automated goniometric system with elements of artificial intelligence proposed in [1].

Method-related, instrumental and human errors are the sources of measurement errors of all measurement means and systems including so-called intelligent measurement systems (IMS) and the proposed automated goniometric system with elements of artificial intelligence [2] among them. These errors manifest themselves in the measurement results

©

as systematic and random components of the measurement errors [3]. Variation of these errors in time is a nonstationary random process. Normalization of such errors can be realized by using the probability theory and the mathematical statistics based on the results of multiple measurements. The procedure for processing results of multiple measurements is known as one possessing a long-standing practice of application, well-grounded and maximally formalized. However, the main problem of conducting multiple measurements is the number of measurements proper. In normalization of the measurement error, in particular its random component based on the results of multiple measurements, two errors appear: the first one is insufficient number of measurements that prevents achievement of high accuracy and the second one is excess of measurements which leads to a rise in the costs of measurement and lengthening of its conduction which is unacceptable for economic reasons (Fig. 1).

Fig. 1. Dependence of the number of measurements, accuracy and the experiment cost

Obviously, it is necessary to know clearly how to determine the required number of measurements which will ensure desired accuracy and consistency of the measurement results while the time that will be spent can be considered optimal from an economic point of view. Such necessary and sufficient number of measurements can be considered optimal from this point of view.

In view of the above, it is relevant to formulate a procedure for determining optimal number of measurements in normalization of random components of the measurement errors which will enable to:

- determine the necessary number of multiple measurements that will be sufficient to achieve the desired accuracy;

- follow the economic and management principles: rationality and economic expediency at which the expected effect of the improved accuracy will be greater than the cost of carrying out measurements;

- find some compromise between the accuracy grade-up, the measurement costs and the measurement time.

_2. Literature review and problem statement_

In well-known metrological works [4-10], the issue of determining quantity of measurements when evaluating the random error component is reduced to one corollary: the greater the number of measurements, the higher accuracy. For example, papers [4, 5] based on analysis of the methods for recording random and systematic errors in estimation of accuracy and metrological reliability of measuring devices using the results of multiple observations

hold that higher accuracy and metrological reliability will be ensured by multiple measurements. However, they do not specify the number of measurements to be performed and how this number can be determined. Estimation of random components of the measurement errors occurring in goniometric systems was made in [6, 7] on the basis of multiple measurements. The issue of determining the number of measurements sufficient to achieve desired accuracy was not solved. Repeated measurements were performed with various numbers of observations in works [8, 9] studying goniometric systems used in the medical practice. As a result of the studies, it was claimed that the random error degree will decrease with the increase in the number of clinical studies and the rise of experimenter's skill level [10]. The issue of substantiation of the number of measurements remained unsolved.

Answers to the question how to determine the sample size when processing results of multiple observations can be found in the problems of mathematical statistics and economic-mathematical planning. For example, methods of mathematical statistics in clinical laboratory studies were used in [11] to determine necessary number of patients for diagnostic researches, confirming therapeutic effects of drugs and epidemiological studies, etc., The same methods have also been used in [12] as the basis for determining necessary number of experts for expertise of investment projects. It is obvious that after its corresponding adaptation and refinement, the mentioned practice can be used as a basis for solving metrological problems related to evaluation and normalization of random components of the measurement errors in complex information-measuring systems (IMS) with elements of artificial intelligence [1].

Thus, the necessity of this study is brought about by the lack of clear instructions and methods for determining necessary and sufficient number of multiple measurements to achieve desired accuracy in normalization of random components of the errors occurring in intellectual IMS, compliance with the abovementioned principles of rationality and economic feasibility as well as establishing a compromise between the achieved accuracy and the measurement time and costs.

_3. The aim and objectives of the study_

The study objective was to define features of the procedure for estimation and normalization of the random components of the measurement errors occurring in a goniometric system and formulate a general procedure for determining optimal number of measurements (i. e. necessary and sufficient quantity of measurements to ensure desired accuracy and reliability of the measurement results).

To achieve this goal, the following tasks were solved:

- determine stages and sequence of calculation of the necessary and sufficient number of measurements for estimation and normalization of random components of the goniometric system measurement errors;

- determine and substantiate necessary and sufficient number of multiple measurements that can be considered optimal in the accepted concept to estimate and normalize random components of the goniometric system measurement errors with a specified accuracy and reliability of the measurement results using mathematical statistics, the probability theory and mathematical analysis.

4. The materials and procedure used in determining optimal number of measurements

The proposed information-measuring system (IMS) is a complex intellectual measuring system organized as a set of various technical means with heterogeneous properties (Fig. 2). The IMS was developed on the basis of the gonio-metrical system, the first commercial instrument developed by Arsenal PA (Kyiv, Ukraine) in cooperation with the Instrumentation Department at Sikorsky Kyiv Polytechnical Institute (KPI). A distinctive feature of the IMS proposed by the authors (Fig. 2) is the application of an artificial neural network (ANN) as the basic element [1].

The structure of IMS with ANN can be represented as a certain multilevel set of various technical means with heterogeneous properties. The lower level of the IMS (level 0) is the level of formation of the input measurement signal Ojn. This level is organized in a form of a precision angle measurement (PAM) subsystem with a high-precision laser goniometer as the basic element. The next level 1 is designed for pre-processing of the input analog signal afn coming from the PAM and converting it into a digital signal aD. This level is represented by a subsystem of signal preparing (SSP). Processing of the digital signal aD from the SSP and its representation in a form convenient for visualization followed by on-line computer processing is carried out at the level 2 with the help of a subsystem of signal processing and displaying (SSPD) with ANN.

midality of prisms, refractive index of optical compositions with online processing of the measurement data. Besides that, the IMS with ANN can be used in flexible manufacturing systems when streamlining production environment for automated determination of angular positions of the manufactured objects in machine building and instrument engineering.

On the basis of the studies in [1], we can assert that all types of errors which are defined by the generally accepted classification are inherent to the IMS with ANN. In particular, the measurement error has systematic and random components. Their change in time is a non-stationary random process. Random errors feature impossibility of their exclusion from the measurement results by introducing appropriate corrections. However random errors can be significantly reduced by increasing number of observations.

Therefore, estimation and reduction of the measurement errors, in particular their random components occurring in the IMS with ANN can only be accomplished by increasing number of measurement repetitions with verification of accuracy of the obtained experimental data. Obviously, along with improvement of accuracy, increase in the number of experimental studies leads to a growth of labor and time expenditures. In most cases, the latter is an essential component of the total cost of designing, manufacture and operation of automated measurement systems and means. Therefore, in estimation and normalization of the random errors occurring in the IMS with ANN it is necessary to substantiate determination of the necessary number of measurement repetitions. This task is of special importance for long-term and high-value studies.

An appropriate general procedure should be based on determination of the optimum (necessary and sufficient) number of measurements to achieve the specified high accuracy and reliability of the measurement results taking into account time and cost expenditures (Fig. 1). In this case, a multicriteria problem arises. The main property of multicriteria problems is the set of possible solutions characterized by a corresponding target function F which must express quantitative relationship between the desired result and the costs to achieve it [14]. In this case, the problem is to determine the optimal number of measurements K at which it is possible to achieve the highest accuracy e^max and consistency of the results a^max. The economic costs E depending on the measurement tine T can be considered the smallest E = f (T = f (K)) ^ min in the context of the problem being solved. The formal statement of the problem can be represented as follows:

F (K):

Fig. 2. Block diagram of IMS with ANN: object of measurement (1), sample stage (2), rotary staging device (3), ring laser (4), rotary activator (5), autocollimator (6)

K =

(t2. £(X-Xi)2/(n-l)/i

^ opt;

e ^ max;

a = (20(t)) ^max; E = f (T = f (K)) ^min,

(l)

In automated mode, the IMS with ANN enables contact-less high-precision measurements of plane angles and pyra-

where K is the number of measurements optimal in the accepted sense; n is sample size; X is arithmetic mean of the measurement results; Xi is result of multiple measurements; s is accuracy of the measurement results; a is consistency; E is measurement costs;

T is the measurement time at which the highest accuracy e^-max and consistency of the results a^-max are achieved at time expenditures t^min:

E :

e ^ max; a ^ max; t ^ min.

(2)

I

Description of the measurement principles

The above indicates multi-staging of the mentioned process and requires formulation of a common procedure the strategy of which can be implemented in the following sequence:

I. The experiment objective is formulated.

II. The studied IMS is analyzed and the error model is pre-formed.

III. An optimal number of experiment repetitions is determined with the use of approaches of mathematical statistics and the probability theory.

IV. An experiment is conducted and its results are processed, evaluated and interpreted.

The above enables formulation of a multistage optimization procedure of planning the experiment for estimating random component of the measurement error occurred in the IMS with ANN.

Stage I: formulation of the experiment objective. At this stage, the objective of conducting experiment is formulated as one consisting in conduction of multiple measurements for evaluation and normalization of the random component of the measurement error.

Stage II: analysis of the studied IMS and formation of a preliminary measurement error model. At this stage, analysis of the studied IMS is made with a preliminary formation of the model of the measurement error.

Stage III: definition of the optimal number of multiple measurements. At this stage, the necessary and sufficient number of repetitions of experiments (measurements) is calculated. Methods of mathematical statistics and the probability theory are used to ensure high accuracy and reliability of the obtained results with minimal resource costs.

Stage IV: carrying out repeated measurements and processing of experimental data. At this stage, the experiment is conducted, root-mean-square deviation is found, presence of gross errors in the measurement result is checked and interpretation of the results and correction of the error model are performed if necessary.

The generalized sequence of solving problems using the proposed procedure is presented in Fig. 3.

At each stage of the proposed procedure, a number of tasks are expected to be solved. In this case, the results obtained at each of the preceding stages are the source data for the next stage. Thus, at the Stage 1 of the proposed methodology, the task is formulated and the objective of multiple measurements is set forth. The task consists in determining optimal

(i. e. necessary and sufficient) number of measuring repetitions to achieve maximum precision at the specified reliability and as a consequence, minimization of costs by shortening the measurement time.

At Stage II, analysis of the operation principle of the studied IMS and the preliminary formation of the measurement error model are made.

Task II.1. Analysis of the operating principle of the measurement system. Simplified representation of the measurement principle of the IMS with ANN is as follows. The measured object 1 (Fig. 1), for example, a prism taken to measure its angles is mounted on a sample stage 2 rotating at a constant speed with the help of the rotary device 3. During rotation of the sample stage 2 with prism 1, electrical impulses from each of its faces are formed at the output of the autocollimator 6, calculated by the counters in the SSP and transmitted to the computer of the SSPD of the IMS with ANN.

Source data:

- description of technical means of the measurement system; - accuracy of primary measuring elements; - study reliability; - necessary measurement accuracy;

£

I

Stage I

Formulation of the experiment objective

Stage //Analysis of the measurement system. Formation of the error model

Task ILL Analysis of the principle of operation of the studied measurement system

n r"

Determination of interrelations

between the system elements

Task II.2. Preshaping of a measurement error model

Synthesis of a mathematical model for calculation of the measurand value

Synthesis of a

mathematical

model

of error -JJ

T

Stage III Determining optimal number of multiple measurements

TaskIII.1. Determination of an optimal number (K) of measurement repetitions

Carruing out a small n-th number of measurements with random results

Checking the law of distribution of random quantities of the measurement results

Calculation of arithmetical mean (AM)

Calculation of RM S deviation of AM from mathematical expectation

u

Calculation of root-mean-square (RMS) deviation of random measurement results from AM

Calculation of randon deviations of the random calculation results from AM

Determination of Laplace function argument depending on reliability using reference tables

Determination of the measurement accuracy

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Calculation of an optimal number of measurements

Stage IV Carrying out multiple measurements and processing of experimental data

Task IV. 1. Carrying out multiple measurements and determination of random errors

Carrying out the K-th number Calculation of Calculation of random

of multiple measurements arithmetical deviations of the random results of

with random results - mean multiple measurements from AM

Task IV.2. Defining parameters of the law of distribution of random quantities

Calculation of the confidence interval of the random results of multiple measurements

I

1

Calculation of RMS deviation of random results of the multiple measurements from AM

Task IV.3. Defining and exclusion of gross errors

Checking for presence of doubtful values not entering the confidence

interval in the set of random results of multiple measurements

Checking for presence of a gross error in doubtful values and exclusion of the results with a gross error from the set of the random results of multiple measurements

Task IV.4. Defining parameters of the law of distribution of random quantities (mathematical expectation and RMS deviation of the random quantity (error))

Representation of the measurement result and normalization of the acceptable limiting error

Calculation of

a confidence

interval of the

measurement

result

Calculation of RMS deviation of AM, i.e. deviation of the actual value of the measured angle from the mathematical expectation which is the true value of the measurand

The result: Actual value of the measurand, permissible error limits, reliability

Fig. 3. Procedure for determining optimal number of measurements to estimate random component of the error

In one full revolution of the rotary device 3, a set of numbers are obtained:

N={N | i = 1, n };

ti+i

N = Ni_2 + J fGout (t)dt,

(3)

where i is the ordinal number of the digit corresponding to the ordinal number of the prism face; n is the number of the prism faces; ti is the time of arrival of the autocollimator impulses from the i-th prism face, t1,t2,t3,...,tn+1 is the time of arrival of the autocollimator impulses from the 1st, 2nd, 3rd, n+1 prism face respectively; fGout is frequency of the signal a n from the PAM, that is, the frequency of the signal from the goniometer.

Thus,

N1 = £ Lt (t) dt, N2 = £ fmt (t) dt,

N3 = N1 + f1 fmt (t) dt, N4 = N2 + fs fu (t) dt,

"h t4

N„-1 = Nn-3 + £ Lt (t)dt, Nn = Nn_2 + Jttn+' Lt (t)dt.

The value of the measured i-th angle ^ is computed by the formula:

,= 2n n-hInL = 2rcN

Nn-i + Nn Ni-1 = 0 at i = 1,

N

(4)

where i is ordinal number of the measured angle.

Task II.2. Preliminary formation of a measurement error model. Similar to [8], the model of the measurement error of the IMS with ANN can be anticipatorily represented by the expression:

J * K (t )raLG (t ) cos a(t ) + K-1(t) fo (t ) dt + Nq1

Jt1 raLG (t)cos a(t)

K(t)raLG (t)cosa(t) + K-1(t) + fo (t ) dt + Nq2

Jti ra LG (t )cos a(t )

where t1, t^, t2n are the moments of the measurement start, rotation by the measured angle j and angle 2n, respectively, fixed by the autocollimator; K(t) is the scale factor of the laser goniometer; raLG is angular speed of rotation of the rotary device which influences the laser goniometer; a(t) is the angle between the axis of rotation of the rotary device and the goniometer sensitivity axis; K-1 (t), f0 (t) are nonlinearity and zero drift of the output characteristic of the goniometer, respectively; Nq1, Nq2 are noise and discreteness of quantization of the laser goniometer signal; A^cal is the error of calculations; ^ is actual value of the measured angle.

Obviously, estimation of the error A^ by expression (5) is more generally a rather complicated mathematical task. Therefore, when solving practical problems, one can use the expression:

where ^ is the measured angle value determined by expression (4), is the true value of the angle.

It should be noted that it is practically impossible to determine the true value of the angle. Therefore, instead of the true the value actual value is used in practice. It is so close to the true value that it is used instead of it for particular purposes.

At the Stage III, determination of the necessary and sufficient number of repetitions of experiments (measurements) or the so-called sample size using the methods of mathematical statistics and the probability theory is made.

Task III.1. Determination of the necessary and sufficient quantity (K) of the experiment (measurement) repetitions

As it often takes place in practice when studying errors, an interval of possible values is taken with an assumption that any value within this interval is equally probable, that is, the random quantity is distributed evenly within the accepted interval. This statement does not meet current requirements as to the study of accuracy of the measurement made by the IMS with ANN since it was adopted to simplify and facilitate theoretical studies. Obviously, accuracy in estimating errors of the IMS with ANN depends primarily on the number of tests, i.e. the sample size (K) [15, 16]. However, the too large statistical sample size K leads to an unjustified increment in the measurement costs and increase in the time of its conduction which is unacceptable for economic reasons. In its turn, the sample size K depends on the interrelation between the volumes of the universal set of the studied quantity and the sample on the one hand and the accuracy s and reliability a with which it is necessary to make probabilistic analysis of magnitude of the random measurement error component occurring in the IMS with ANN on the other hand. In machine building and instrument engineering practice, reliability a is usually taken at a level of 0.95 or 0.99 [15, 16].

The sample size K at various correlations of sizes of the universal set and the sample itself including the case of analysis of the measurement errors in the IMS with ANN by the simulation method can be determined with the help of the calculation formulas found in literature [15, 16]. In particular, the sample size can be obtained by the following formula [15, 16]:

-A«L, (5)

4-2 „2

K = (7)

where t is argument of the Laplace function which is found in reference tables [10] depending on reliability a = 20(t); a is RMS deviation of a small (not more than ten values) sample; s is accuracy of the statistical sample.

According to the aforesaid, a necessary and sufficient number of measurements required to determine random component of the measurement error occurred in the IMS with ANN is determined by the following sequence of steps.

Step 1. A relatively small number (n) of measurements is carried out. The size of a small sample should not exceed 10 values.

Fig. 4 gives an example of graphical representation of distribution of random quantities of a comparatively small sample at n=10 when measuring plane angles of a 24-faceted prism with the help of the IMS with ANN.

Step 2. Check of the law of distribution of random quan-(6) tities of a relatively small sample and parameters of the dis-

tribution law: mathematical expectation m and root-mean-square deviation o of the random quantity (error).

Fig. 4. Graphical representation of distribution of random quantities of a relatively small sample size n=10 in measuring flat angles of the 24-faceted prism with the help of the IMS with ANN

Since the components of the measurement errors occurring in the IMS with ANN are random quantities, it is impossible to predict the distribution law in advance. However, many scientists and researchers believe that the errors are subject to the normal distribution law [15, 16] for which a function of the probability distribution density takes the form:

fx ( x ) = -

1

(x-m)

(8)

where ^ is mathematical expectation of a random quantity (error); o is the root-mean-square deviation of the random quantity (error).

Step 3. According to the reference tables [15], the Laplace function argument t is found depending on reliability. Moreover, in accordance with the recommendations given in the literature [15], reliability a can be taken equal to 0.95.

Step 4. Accuracy of the statistical sample e is set.

Step 5. The necessary and sufficient number of measurements is calculated by expression (7).

Multiple measurements and processing of experimental data are performed at Stage IV.

Task IV.1. Conduction of multiple measurements and defining random errors

Multiple measurements (in this case, K=37) are carried out. The quantity K was determined at Stage III of the proposed procedure which makes it possible to form a statistical sample as to the measurement error occurred in the IMS with ANN. It is obvious that the results obtained at each measurement repetition will differ from the true value by the error magnitude. For convenience of perceiving the results obtained and their subsequent use and analysis in estimation of the random component of the measurement error, a graphical representation of distribution of the random quantities of the resulting sample having size K=37 is presented in Fig. 5.

Fig. 5. Graphical representation of distribution of random quantities at multiple (K=37) measurement of flat angles of a 24-faceted prism with the help of the IMS with ANN

The total error is calculated by expression (6) as the difference between the measured and the true values. Taking into account that it is practically impossible to determine the true value, the actual value is used instead of it. It is calculated as arithmetical mean of the results obtained in multiple measurements. Let us take for an example the value obtained in measuring flat angles of a 24-faceted prism using the IMS with ANN:

_ S **

= X = -.

K

(9)

where §ca is the actual value of the angle; X is arithmetical mean of the results of multiple measurements; Xk is the k-th result of multiple measurements; K is the sample size (number of measurements), K=37.

Further probabilistic analysis of the resulting sample is made when solving the next task.

Task IV.2. Defining parameters of the law of distribution of random quantities (mathematical expectation m and root-mean-square deviation a of a random quantity (error))

In order to determine error of the measurement made with the help of IMS with ANN, statistical studies were carried out and parameters of the law of probability distribution (mathematical expectation and root-mean-square deviation) determined using the obtained sample.

The task is solved in the following sequence of steps.

Step 1. Statistical studies consist in a statistical analysis of the sample by determining maximum and minimum values of the measured angle taking into account errors.

Step 2. Determination of parameters of the distribution laws:

- the mathematical expectation ^ is the true value of the measured angle and can be determined for the number of measurements K®¥, therefore, an assumption is made that X .

- the root-mean-square deviation a of a random quantity from the actual value of the measured angle:

o =

SA *

K -1

(10)

where Ak is the random deviation of the k-th result Xk of multiple measurements from the arithmetic mean X,

A * = X - X* ;

K is the number of measurements (sample size), K=37.

- root-mean-square deviation aca of the actual value of the measured angle from the true value, that is, the arithmetical mean deviation from the mathematical expectation:

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

o„„ =

VF

(11)

where K is the number of measurements (sample size), K=37.

Task IV.2. Definition and elimination of gross errors. Gross errors or blunders significantly exceed the error expected in the given conditions and distort the measurement result and therefore must be excluded from the sample. Gross errors may arise from the experimenter's mistakes, sudden

2

and unexpected changes in the measurement conditions and so on.

To determine and then exclude gross errors, mathematical methods are used in the following sequence of steps.

Step 1. Confidence interval AX of the results obtained in multiple measurements Xk is calculated:

Ax = X ± KL-(j,

(12)

where X is the arithmetical mean of the results of multiple measurements or the actual value of the measured angle determined by expression (9); Aca is the confidence interval determined by expression (14); a is the reliability at which probabilistic analysis of the magnitude of the random component of the measurement error was made. According to the recommendations of literary sources [10, 11] for machine building and instrument engineering, reliability is taken equal to 0.95.

where X is the arithmetical mean of the results obtaiued in multiple measurements calculated by expression (9); KL is the value of Laplace function

5. The resulting stages of the procedure for determining optimal number of measurements

P (14 < kl H^K ^4.

which is found from the reference tables depending on reliability a which according to the recommendations given in the literature [8] can be taken equal to 0.95.

Step 2. Cheching for the presence of questionable values X'k. that do not enter the confidence interval AX . calculated by expression (12) in the set of the results Xk obtained in multiple measurements.

Step 3. Checking for presence of a gross error in questionable values X'k. In absence of a gross error in the questionable value X'k. the following condition is fulfilled:

x-x;<Ac ,

A = kg ■(j,

(13)

where Kg is the coefficient for defining limits of gross errors Ag. KG is found from tables depending on reliability a and the sample size K; a is the root-mean-square deviation of the random quantity from the actual value of the measured angle determined by expression (10).

The values X'k for which condition (13) is not met contain a gross error and are deleted from the sample. Further. actual value of the measured angle as well as a and aca are refined by expressions (9)-(11), respectively.

Task IV.2. Presentation of the measurement result and normalization of the maximum permissible error

This task is solved in the following sequence of steps. Step 1. Calculation of the confidence interval Aca of the actual value of the measured angle:

A =±K ■ (j ,

ca ca aa?

where K„ is the Student's coefficient

(14)

P {| t| < ts } = 2 j/ (t, n)dt,

which is found in reference tables depending on reliability a and sample size K.

aca is the root-mean-square deviation of the actual value of the measured angle from its true value determined by the expression (11).

Step 2. The result of measurement with the normalized value of the maximum permissible random error is represented as:

The results obtained in measuring one of the angles of a 24-faceted prism at the third tage of the proposed procedure are given in Table 1. For the given example, the necessary and sufficient number of measurements is 37. Such number of measurements makes it possible to assess the random component of the error occurring in measuring plane angle of a 24-faceted prism with the help of the IMS with ANN at an accuracy of 0.01" and reliability of 0.95.

Таble 1

Results of determination of the necessary and sufficient number of measurements for estimation of the random component of the error occurred in measurement of a plane angle of a 24-faceted prism using the IMS with ANN

Order number Measured angle values, ^ A2

Degrees Minutes Seconds Seconds Seconds

1 164 59 59.66 0.091 0.0081

2 164 59 59.75 0.001 0

3 164 59 59.84 -0.089 0.0081

4 164 59 59.74 0.011 0.0001

5 164 59 59,84 -0.089 0.0081

6 164 59 59.67 0.081 0,0064

7 164 59 59.73 0.021 0.0004

8 164 59 59.61 0.141 0.0196

9 164 59 59.86 -0,109 0.0121

10 164 59 59.81 -0.059 0.0036

Arithmetical mean (actual angle value) yca 59.751 S=0 S=0.086

RMS deviation of the measured values of the plane angle from arithmetical mean (actual angle value) (j Ê a2 1=1 n -1 n = (ÛÔ) 0.098

RMS deviation of the actual angle value from the true value (of the mathematical expectation) aca = -^1n = (1; 10) \/n 1 0.031

Reliability a [15] 0.95 Argument of Laplace function t [15. p. 13. Table 3] 1.97

Accuracy of the statistical sample e 0.01 Necessary number of experiments by expression (8) 37

) = A = (X ± Aca); a=0.95,

(15)

The results of multiple measurement with the help of the IMS with ANN of one of the angles of a 24-faceted prism with the necessary and sufficient quantity of measurements K=37 determined according to the proposed procedure are presented in Table 2.

Table 2

Results of multiple measurements of the plane angle values of a 24-faceted prism with the help of the IMS with ANN for

the specified number of experiments K=37

Order number Measured angle values, 9* Ak=fca-fk Ak

Degrees Minutes Seconds Seconds Seconds

1 164 59 59.66 -0.2557 0.06538

2 164 59 59.75 -0.3457 0.11951

3 164 59 59.84 -0.4357 0.18983

4 164 59 59.74 -0.3357 0.11269

5 164 59 59.84 -0.4357 0.18983

6 164 59 59.67 -0.2657 0.0706

7 164 59 59.73 -0.3257 0.10608

8 164 59 59.61 -0.2057 0.04231

9 164 59 59.86 -0.4557 0.20766

10 164 59 59.81 -0.4057 0.16459

11 164 59 59.28 0.1243 0.01545

12 164 59 59.08 0.3243 0.10517

13 164 59 59.11 0.2943 0.08661

14 164 59 59.16 0.2443 0.05968

15 164 59 59.18 0.2243 0.05031

16 164 59 59.11 0.2943 0.08661

17 164 59 59.37 0.0343 0.00118

18 164 59 59.33 0.0743 0.00552

19 164 59 59.37 0.0343 0.00118

20 164 59 59.37 0.0343 0.00118

21 164 59 59.42 -0.0157 0.00025

22 164 59 59.43 -0.0257 0.00066

23 164 59 59.36 0.0443 0.00196

24 164 59 59.35 0.0543 0.00295

25 164 59 5934 0.0643 0.00413

26 164 59 59.27 0.1343 0.01804

27 164 59 59.36 0.0443 0.00196

28 164 59 59.05 0.3543 0.12553

29 164 59 59.18 0.2243 0.05031

30 164 59 59.18 0.2243 0.05031

31 164 59 59.43 -0.0257 0.00066

32 164 59 59.23 0.1743 0.03038

33 164 59 59.28 0.1243 0.01545

34 164 59 59.36 0.0443 0.00196

35 164 59 59.32 0.0843 0.00711

36 164 59 59.18 0.2243 0.05031

37 164 59 59.35 0.0543 0.00295

Arithmetical mean (actual angle value) 59.404 S=0 S-2.046

RMS deviation of the measured values of the plane angle from arithmetical mean (actual angle value) 6 0=i k L A? 1=1 K -1 K = (ÎT37) 0.238

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Confidence interval A^ of random results of multiple measurements of the angle values 9k A^ = §ca ± KL o, where KL - value of Laplace function, Kl=2.0 ±KL • ö = (±0.476) A^ = 59.8803 A^ = 58.9283

RMS deviation of the actual angle from the true value (mathematical expectation) 0 " =^K\K = 0.039

Confidence interval Aca of the measurement result Aca = ±Kca 0ca, where Kca - Students's coefficient, Kca=2.02 ±Kca • öca=(±0.07878)

Reliability a [15] 0.95 Measurement result 164° 59' 59.40"±0.08"

Accuracy of the statistical sample e 0.01

6. Discussion of the results obtained in measuring values of a plane angle of a 24-faceted prism with the help of the IMS with ANN using the proposed procedure

Estimation of the random component of the error occurring in measurement of a flat angle of a 24-faceted prism with the help of the IMS with ANN was made on the basis of multiple measurements. The number of measurements K was pre-determined according to the proposed procedure and amounted to 37 measurements. The result was as follows: 9=164° 59' (59.40±0.08)" at a specified accuracy of the statistical sample of 0,01" and reliability of 0,95. The measurement time for K=37 was approximately 6 hours.

To estimate effectiveness of the proposed procedure, the results of a similar study in [7] can be used. As indicated in [7], measurement of the plane angle of the 24-faceted prism was carried out in 50 repetitions for 8 hours. For the number of measurement repetitions N=50, accuracy was around 0.014".

Obviously, the number K 37 of measurements of a plane angle of the 24-faceted prism determined by the proposed procedure was approximately 1.4 times less compared with the number of measurements N=50 carried out in a similar work [7] while accuracy remained approximately the same (0.01" for K=37 and 0.014" for N=50).

Reduction of the measurement repetition number can give approximately 1.3 times shorter total measurement time with no loss of accuracy and, accordingly, reduce the measurement costs, say at the expense of energy savings, etc.

However, the main assumption when applying the proposed procedure should be that random errors are subject to the normal law of distribution of random quantities. Indeed, the results of multiple measurements are mostly reduced to

the normal distribution law although there are other laws, such as gamma distribution, Weibull distribution, etc. which may occur in practice but are not considered in the proposed procedure. The study of the effect of these laws on accuracy in estimation of the random component of the measurement error can be used in searching for lines and prospects of further studies.

7. Conclusions

1. A procedure for determining number of measurements in normalization of random components of the measurement errors has been developed. It enables calculation of the necessary number of measurements that will be sufficient to ensure desired accuracy and reliability of the measurement results.

2. Operationability of the proposed procedure was experimentally confirmed. In particular, when the results, that is the calculated number of measurements according to the proposed procedure, were compared with those obtained in the known work [7], it has been found out that the same accuracy of the measurement results can be ensured by a smaller number of measurements. This reduces the measurement costs. For example, the measurement time was reduced by approximately 1.3 times without loss of accuracy.

It was established that the effect of improving accuracy through application of the proposed procedure will be greater than the measurement expenses. For example, comparison of the results of experimental studies with a similar work [7] indicates the possibility of reaching high accuracy of 0.01" and reliability of 0.95 in a relatively shorter time (the measurement time was reduced by about 2 hours which is 1.3 times less than in the similar work).

References

1. Cherepanska, I. Artificial Neural Network as a Basic Element of the Automated Goniometrie System [Text] / I. Cherepanska, E. Bezvesilna, A. Sazonov // Advances in Intelligent Systems and Computing. - 2016. - P. 43-51. doi: 10.1007/978-3-319-48923-0_6

2. Cherepanska, I. Yu. Do pytannia pidvyshchennia tochnosti kutovykh vymiriuvan honiometrychnymy systemamy [Text] / I. Yu. Cherepanska, O. M. Bezvesilna, A. Yu. Sazonov // Visnyk Zhytomyrskoho derzhavnoho tekhnolohichnoho universytetu. Seriya: Tekhnichni nauky. - 2016. - Issue 1 (76). - P. 92-99.

3. Ivashchenko, E. M. Rezul'taty issledovaniya pogreshnosti goniometricheskoy sistemy [Text] / E. A. Barinova, E. M. Ivashchenko, P. A. Pavlov // Izvestiya SPbGETU «LETI». - 2010. - Issue 5. - P. 98-103.

4. Efremov, L. V. Problemy ucheta sluchaynyh i sistematicheskih pogreshnostey v pryamyh mnogokratnyh izmereniyah [Text] / L. V. Efremov // Mir izmereniy. - 2012. - Issue 10. - P. 52-57.

5. Gvozdev, V. D. Izmereniya odnokratnye i mnogokratnye: kriteriy nichtozhnoy pogreshnosti [Text] / V. D. Gvozdev // Zakonoda-tel'naya i prikladnaya metrologiya. - 2012. - Issue 2.

6. Pavlov, P. A. Metod umen'sheniya sluchaynoy pogreshnosti lazernogo dinamicheskogo goniometra [Text] / P. A. Pavlov // Izmeri-tel'naya tekhnika. - 2008. - Issue 7. - P. 25-28.

7. Bezvesilna, O. M. Avtomatyzovanyi pretsyziynyi prystriy dlia vymiriuvannia kutiv [Text]: monohrafiia / O. M. Bezvesilna. -Zhytomyr: ZhDTU, 2010. - 258 p.

8. Akizuki, K. The effect of proficiency level on measurement error of range of motion [Text] / K. Akizuki, K. Yamaguchi, Y. Morita, Y. Ohashi // Journal of Physical Therapy Science. - 2016. -Vol. 28, Issue 9. - P. 2644-2651. doi: 10.1589/jpts.28.2644

9. Nussbaumer, S. Validity and test-retest reliability of manual goniometers for measuring passive hip range of motion in femoroacetab-ular impingement patients [Text] / S. Nussbaumer, M. Leunig, J. F. Glatthorn, S. Stauffacher, H. Gerber, N. A. Maffiuletti // BMC Musculoskeletal Disorders. - 2010. - Vol. 11, Issue 1. doi: 10.1186/1471-2474-11-194

10. Pavlov, P. A. A method of reducing the random error of a dynamic laser goniometer [Text] / P. A. Pavlov // Measurement Techniques. - 2008. - Vol. 51, Issue 7. - P. 734-739. doi: 10.1007/s11018-008-9109-y

11. Koychubekov, B. K. Opredelenie razmera vyborki pri planirovanii nauchnogo issledovaniya [Text] / B. K. Koychubekov, M. A. Sorokina, K. E. Mhitaryan // Mezhdunarodnyy zhurnal prikladnyh i fundamental'nyh issledovaniy. - 2014. - Issue 4. - P. 71-74.

12. Rusupov, V. L. Metody opredeleniya kolichestva ekspertov [Text] / V. L. Rusupov // Vestnik IrGTU. - 2015. - Issue 3 (98). -P. 286-292.

13. Shevchuk, V. P. Metrologiya intellektual'nyh izmeritel'nyh sistem [Text]: monografiya / V. P. Shevchuk, V. I. Kaplya, A. P. Zhelto-nogov, D. N. Lyasin. - Volgograd, 2005. - 210 p.

14. Cherepanska, I. Yu. Planuvannia, modeliuvannia ta veryfikatsiya protsesiv u hnuchkykh vyrobnychykh systemakh. Praktykum [Text] / I. Yu. Cherepanska, V. A. Kyryllovych, A. Yu. Sazonov, B. B. Samotokin. - Zhytomyr: ZhDTU, 2015. - 285 p.

15. Kolker, Ya. D. Matematicheskiy analiz tochnosti mekhanicheskoy obrabotki detaley [Text] / Ya. D. Kolker. - Kyiv: Tekhnika, 1976. - 200 p.

16. Tomashevs'kiy, V. M. Modelyuvannya sistem [Text] / V. M. Tomashevs'kiy. - Kyiv: Vidavnicha grupa BHV, 2005. - 352 p.

Запропоновано стратифшований пiдхiд до iмiтацiйного моделювання програмно-конф^ гурованих мереж. Запропоновано iмiтацiйнi моделi мережi, активних i пасивних компо-нентiв - контролера, комутатора, хоста та комушкацшних каналiв. Придаттсть тдхо-ду до щльового використання тдтверджено шляхом ствставлення одержаних результа-тiв iмiтацiйного моделювання iз результатами емуляци мережi у середовищ^ Мтт^

Ключовi слова: програмно-конфиурована мережа, iмiтацiйне моделювання, дискрет-

но-подшна специфшащя системи, велик дат □-□

Предложен стратифицированный подход к имитационному моделированию программно-конфигурируемых сетей. Предложены имитационные модели сети, активных и пассивных компонентов - контроллера, коммутатора, хоста и коммуникационных каналов. Пригодность подхода к целевому использованию подтверждена путем сопоставления полученных результатов имитационного моделирования с результатами эмулирования сети в среде Мтт^

Ключевые слова: программно-конфигурируемая сеть, имитационное моделирование, дискретно-событийная спецификация системы, большие данные

UDC 004.75 : 004.94

|DOI: 10.15587/1729-4061.2017.110142|

DEVELOPMENT OF STRATIFIED APPROACH TO SOFTWARE DEFINED NETWORKS SIMULATION

V. Shkarupylo

PhD, Associate Professor* E-mail: shkarupylo.vadym@gmail.com S. Skrupsky PhD, Associate Professor* E-mail: sskrupsky@gmail.com A. Oli i ny k PhD, Associate Professor** E-mail: olejnikaa@gmail.com T. Kolpakova PhD, Senior Lecturer** E-mail: t.o.kolpakova@gmail.com *Department of Computer Systems and Networks*** **Department of Software Tools*** ***Zaporizhzhya National Technical University Zhukovskoho str., 64, Zaporizhzhya, Ukraine, 69063

1. Introduction

Nowadays the current state of global networking is on a verge of its drastic refinement. The questions of networks management convenience, control, monitoring, reconfiguring and scaling are topical here. The answer can be in modern approaches and concepts usage. Possible solution can be found in Software Defined Networking (SDN) principles following. There are some of them: differentiation between control and data planes, lightweight switches utilization, "controller" concept adoption - to coordinate switches in a centralized manner [1].

The SDN abbreviation will also be associated with Software Defined Network itself.

One of the main goals of SDN technology adoption is to foster the existing opportunities to effectively utilize available network resources in order to operatively meet the ad-

hoc requirements of certain business-process (processes). To do that properly, the significant work yet has to be done. A plethora of different approaches and techniques have already been proposed to date though, e. g., to divert important traffic on a backup path to prevent packets loss and reduce jitter [2]. Appropriate solutions can be generalized as follows: it can be painful to get on with, the majority of solutions are aimed at emulation. This is not always acceptable in terms of corresponding time costs.

The development and deployment of systems on a basis of SDN principles is a non-trivial task, because of technology novelty and complexity. The validation of resulting solutions can be conducted by way of simulation or by way of testing. The simulation herein is a significantly less resource-intensive process, especially in the context of iterative development [3]. That's why the creation of an approach to such systems simulation is a topical task.

©

i Надоели баннеры? Вы всегда можете отключить рекламу.