PAR nr 4/2017

Page 1

PAR P O M I A RY • A U T O M AT Y K A • R O B O T Y K A

4/2017 ISSN 1427-9126 Indeks 339512

Cena 25,00 zł w tym 5% VAT

Technical Sciences Quarterly | Measurements Automation Robotics

W numerze:

3 5 15

Od Redakcji Wojciech Lisowski, Piotr Kohut

Positions

The problem of state constraints in designing the discrete time sliding mode controller

23

33

! " " #

Low-cost air levitation laboratory stand using MATLAB/Simulink and Arduino ! " #

41

PorĂłwnanie metod estymacji stanu systemĂłw dynamicznych

$ Informacje dla Autorów – 81 | Informacje dla Autorów – 89 | Komitet Automatyki i Robotyki PAN – 93 | 95 | ! " 96 | # $ % & % ' ' & 100 | Kalendarium – 103 | " % ( ) * & %' % + % ' % 104


Rada Naukowa

Rok 21 (2017) Nr 4(226) ISSN 1427-9126, Indeks 339512

Redaktor naczelny

& . 0 * ' ! = >J & . 1 Y Z & [ \C 8 ]

% &' " *

& . 2 ' 3 # G G & ^ _

$ %& # '

& . 4 . 5 D ? Y Z & = \: 8 ]

+' . ! *

$ &() # * +' * % &' / 8 : . ; % &' ! & +' . ! * ; < . = > ; 8# % &' ? ; . % &' " * ; @

#) + # * , '

6 74 4 Y Z & \D ] & . ) 8 ' #

G = J G= / & . . 8 , 4 * D Y ! Z \Y ] & . 7 9. 8 # * / + C " #

& . 0. 2 1 , G & \ . ] & . 0 # 1 Y Z \C 8 ]

Druk " : A ? B C%' ' ' D EFF . '

& . ' * 1 ) #

/ G + 8 /

Wydawca

. 1

Y Z & \: 8 ]

G = H J G= = ' MFM FMOQTE /

Kontakt B 8 O . = B @ = ' MFM FMOQTE / ' MM TUQ FV QE X% '% '% '%

& . $ ' ) 1 #

/ G ` & . 0 * ' " ' # / " _ & .

. " 4 # 4 G & C \B 8 ] & . , 9 #, # a Z Z b D Y Z \Y ] & . ' * ' # / G + " _ / + C . " _ / & . 0 ' : # Y Z \! ]

Pomiary Automatyka Robotyka 8 % O @ O VllU ' VT # 8 # ' = % 8_ H% % % O@ 8 @ . '

& . ,

f Y Z \/ ] & . ; # # / G + 8 . % # =? ; G & =%% C ? . : @g \D ]

! O = B @ 8 H @ ="? g : . C GDm p BDG YC \G q MFVE$ Uv MQ] + H@ @ + % % =BG=D?=' 8 D C/ % @ 8 T % \% ' VMQQ]' _ 8_ # 8 8 D #% @ % % @ H O = B @ '

& . ' <

= #

/ ? . ^ _

/ 8_ % _ \ & 8 _] 8 8 % % ' Y #% + % 8# =B mG:G?= ; 8# _ % '

& . * 2. # a! Z b D Y Z \Y ]

& . 9 >4 C Z = & C \C 8 ] & . 8 ' ' 2 , = G G & = B @ / & . ; * , ;) #

B G? Y Z @ \= ]


= B @ GCCD VQMUOlVME B' MV D Q<MFVU

3

Od Redakcji

5

Wojciech Lisowski, Piotr Kohut A Low-Cost Vision System in Determination of a Robot End-Effector’s Positions Niskokosztowy system wizyjny do wyznaczenia pozycji chwytaka robota

15

23 33 41 49

The problem of state constraints in designing the discrete time sliding mode controller . . Diagnostics of analog systems using Artificial Neural Networks m . J . neuronowych

Low-cost air levitation laboratory stand using MATLAB/Simulink and Arduino D @ + @ 8 8 % 8 = % % . =? = <C ! " # PorĂłwnanie metod estymacji stanu systemĂłw dynamicznych % & & C q Z " . ' /

pomiaru energii gazu ziemnego C & . % % & O & . energy measurement

59

" . ' / C /' " @

Z & Y & ? % m @ @ €

67

g D _. B & ! ! & " .J !"# $ %& w cyklu adaptacyjnym EDM =D q= & . & & % . m % Z . & . C

75

B * ! ' ( ) – projekt, realizacja, badania eksploatacyjne Z & & @ € % % . ; % 8 €%

1


C GC ?B ^ G

83

/ B * m Electronically aided violin practice Y % . 8_ # . %

89

Informacje dla Autorรณw

93

Organizacje i stowarzyszenia Komitet Automatyki i Robotyki PAN

95

Awans naukowy * + ' ' . $0 (0 1

96

Wspomnienia ) % *

100 Q'F ย G + Q'F Proces rekrutacyjny w nowej perspektywie 103

Kalendarium

104 _+ Robotyzacja procesรณw produkcyjnych

M

P

O

M

I

A

R

Y

โ ข

A

U

T

O

M

A

T

Y

K

A

โ ข

R

O

B

O

T

Y

K

A

N R 4 /201 7


m B m=! G

8 # J 8 kwartalnika naukowo-technicznego Pomiary = B @ ' m 8_ % @ 8 % % 8 8 . _ % ' ? % + * _$ % . . . % % J 8 J wyznaczanie pozycji chwytaka robota za % _ 8 . . @J ' ? J J 8 _ ' % 8 8 %# . + 8 & % 8 8 . % . . % . 8_ . # . % ' % 8_ @ 8 + 8_ % 8_ % ' ! 8 . J . ' # J % 8 % % # . . ' / . 8 # % % @ + ! = B @ =D ; 8 . 8# # % _ . 8_ 8 @ 8 ' / % J + # & " . . J @ _ % 8 . % VllU ' ; % @ B D 8' / %J % & * # MM % … MFVU ' _ . ' m . 8 _ \ ] 8 % 8 % % 8 % . † # % ' 8# + J % J 8 _ * 8_ . @ ' ‡ 8 '

Redaktor naczelny kwartalnika Pomiary Automatyka Robotyka % &' @' +' " *

3


4

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 5–13, DOI: 10.14313/PAR_226/5

/ ( 0 6 " " 7 8 9 ; 0;< = Wojciech Lisowski, Piotr Kohut />? # ! 7 @ * A 7 B ; * * 8 9 / % B $& $&0&CD E F

Abstract: Vision systems are commonly used in robotics. The most often, they are applied as sensory systems, but they can also be used for experimental determination of a manipulator end-effector’s pose. In this paper, application of an exemplary low-cost vision system for position measurement was tested. The considered vision system was composed of a pair of CMOS cameras. The applied experiment procedure consisted in recording of a set of pictures captured after consequent approaches of a robot end-effector (grasping a cube with markers on it) to the command pose repeatedly from the same direction. Processing of the pictures led to determination of position of the markers. Analysis of position measurement precision contained: determination of spatial distribution of consequently captured positions, assessment of quality of the captured pictures according to a set of 4 indicators, and comparison of measurement techniques employing the considered vision system and a professional measurement system (for this purpose the experiment was repeated with use of a laser tracker and a local estimate of the unidirectional positioning repeatability RP was determined). The reported investigation indicated that low-cost stereovision systems might be successfully applied for a robotic manipulator position measurement with accuracy of approximately 0.1 mm, which is often satisfactory in the engineering practice. Surprisingly, analysis of the achieved experimental results led to reasonable estimation of the RP value (approx. 0.02 mm according to the robot’s manufacturer). 8 X " * 9 ! " " " 7 0 < * 9

1. Introduction Satisfactory precision of industrial manipulating robots is a condition for achieving the expected quality of the robots’ operation. Parameters that characterize robot precision are defined by the standard [7]. Assessment of the robotic manipulators’ precision bases on their end-effector pose measurement. That is why the appropriate pose measurement system is necessary to make the assessment possible. Currently, two types of such the measurement systems are used in engineering practice [1]. These are either laser trackers or vision systems. Originally, the laser trackers performed only the incremental measurement based on application of an interferometer and leading to determination of variation of the distance between

# & *: X ' ( ) * % % # ) ' +$%&+%,&+- % &.%&$%,&+- % ! "" # $%&

the sensor and the end-effector. Later, the indirect distance determination method basing on measurement of the ‘time of flight’ of the light beam or on analysis of phase of a set of the single-frequency components of the reflected light beam traveling between the sensor and the end-effector, there and back, were introduced. In case of the vision systems a set of linear cameras, of pre-calibrated mutual locations, proved to be the most effective in this kind of measurements. The accuracy of the considered measurement varies between 0.01 mm and 0.05 mm per 1 m of the distance between the measuring device and the robot end effector. The precision of the measurement is limited mainly by tolerances of manufacturing and assembly of mechanical parts of the measuring devices, as well as by the achievable time of buildup of the response signal of optical sensors used in case of the measurement carried out during motion of a manipulator. The measurement of the end-effector pose is directly used by robots’ manufacturers in manufacturing quality control procedures. The robots’ users the most often carry out the measurement of position to determine the positioning repeatability [7] of the robot or to perform the external calibration of the robots [1]. The positioning repeatability is the most important precision type parameter of the manipulating robots. The external calibration is conducted with respect to the Cartesian reference coordinate frame and it aims at improvement of the manipulating robots’ positioning accuracy. It should be noted that the advanced pose measurement services as well as a purchase of the position measuring devi-

5


= O q C m & B @ O f ÂŽ

ces generally are costly. For many robot owners, the use a low cost measuring system can be a reasonable alternative. In such the case application of the stereovision system might be considered [13]. Additionally, more and more often, the autocalibration (or on-line calibration) techniques are used to improve positioning accuracy of robots and/or enable cooperation of multiple positioning devices [4]. It requires continuous presence of a position measurement system in a robotic cell, what indicates applications of low cost measuring systems. Vast applicability of vision systems in mechatronic systems and own experience in that matter [8, 9] as well as the above mentioned reasons have motivated the authors to carry out their own investigation on applicability of a low-cost stereovision system to an end-effector position measurement.

Fig. 1. The overview of the test stand Rys. 1. Widok stanowiska badawczego

Y. 9

The aim of the reported research was to estimate the precision of determination of position of an end-effector of a manipulating robot with use of an exemplary low-cost stereovision system. The main obstacle to accomplish that aim was that the authors had no possibility to use a positioning system of sufficiently high accuracy (about 0.001 mm) to verify directly, by the concurrent measurement, the measurement precision achieved by the tested system. That was why it was decided to assess precision of the position measurement in an indirect way, basing on recording of a set of pictures captured after consequent approaches of a robot end-effector (grasping a cube with markers on it) to the command pose repeatedly from the same direction. It should be noted that positions recorded in the above described procedure were appropriate for local estimation of the unidirectional positioning repeatability [7] understood as a measure of dispersion of the attained poses in a series of repeated approaches to the command position from the same direction. The assumed experimental data analysis procedure consisted of: − preliminary analysis of spatial distribution of measured positions, − analysis of precision of position measurement based on properties of the captured pictures, − analysis of precision of position measurement basing on determination of the local estimate of RP and its comparison with the value specified for the tested robot type by its manufacturer. The additional measurement was carried out for the purpose of comparison of functionality of a low cost measurement system and of a professional one. For data recorded with use of a laser tracker the RP value was estimated as well.

Fig. 2. The specification of the set-up of the test stand Rys. 2. Schemat stanowiska badawczego

Fig. 3. External camera parameters determined as a result of relative camera orientation procedure Rys. 3. Zewnętrzne parametry kamery otrzymane w wyniku procedury kalibracji „względnej orientacji kamery�

3. Procedure of testing The following assumptions concerning the procedure of testing were made: − measurement in 3 non-collinear measuring points − for each measuring point 3 partial tests conducted – approaches from the 3 mutually perpendicular directions − 30 repetitions for each approach direction and all the measuring points − position measurement executed after completing the approach – in stand-still − for each approach 2 pictures taken to lower the odds of insufficient picture quality for analysis

6

P

O

M

I

A

R

Y

•

A

U

T

O

M

− 30 pictures taken with the aim of the assessment of quality of the measurement for the first approach to every measuring point. The examination was carried out by means of the developed stereo-vision system composed of two DSLR Canon cameras equipped with Canon lenses, a lighting system and TEMA Automotive motion analysis software (Fig. 1) [14]. TEMA Automotive is a professional motion analysis software used for crash and sled tests, measurements of deformations, airbag volume etc. Using the TEMA Automotive program, photo/ A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ 8 !

4. Results of testing

Fig. 4. Quadrant symmetry adjustment Rys. 4. Ustawienia modułu śledzenia „quadrant symmetry�

video material can be analyzed to obtain the trajectories, velocities and accelerations of analyzed markers. The software is equipped with broad set of tools to track markers and advanced post-processing tools. The developed vision system was calibrated (internally and externally) in compliance with procedures of TEMA software [14]. After system calibration, the next step of the software usage is composed of image sequences reading, image markers tracking employing “quadrant symmetry� method and resulting objects trajectories analysis using TEMA post-processing tools. The overview of the used test stand is presented in Fig. 1. The test stand was composed of the following elements: − a Mitsubishi RV2AJ robot, − 2 digital SLR cameras: Canon EOS 5D Mark II, 21.1 Megapixel, equipped with Canon EF 24–70 mm f/2.8L II USM lenses, − 2 halogen lamp (500 W each), − an analyzed object: a cube with stuck markers. Figure 2 presents the mutual position and orientation of the components of the test stand. In order to make the processing of the captured pictures possible it was necessary to start with determination of selected internal and external camera parameters estimation [6, 15]. Estimation of the internal camera’s parameters with lenses’ distortion was carried out by means of a flat calibration plate with square patterns [16]. External camera calibration was performed using relative camera orientation procedure implemented in TEMA software [14]. An example result of external camera parameters’ estimation is depicted in Fig. 3. An important measure of the quality of the resulting external camera solution is indicated by parallax error, which in this case amounted to a very low value (0.00537 mm). After calibration, the actual measurement consisting in capturing the images started. The next step of the data processing consisted in tracking the points indicated by the markers on the captured images. It was executed employing the quadrant symmetry tracker method [14]. Example of the tracer setting is shown in Fig. 4. The 3D positions of markers detected on the captured pictures were determined with use of the TEMA software package.

The experiment consisting in acquisition of series of pictures of the robot end-effector grasping the cube with markers was carried out in the course of the Bachelor thesis activity [10]. Geometrical data (3D positons of markers) obtained in the result of picture analysis were the base for analysis of the achieved experimental results. In order to assess the properties of the recorded experimental data the analysis of spatial distribution of the positions recorded during the experiment was carried out. The exemplary locations of the identified positions for the measurement point No. 2 (approach in z direction) are presented in Fig. 5.A. The total (for all measuring points and approach directions) dispersion of positions of the measuring points corresponding to the consequent pictures taken during the first approach (denoted by ‘+’ on the picture) was 36%–98% of the dispersion of positions (denoted by ‘o’) corresponding to the consequent 30 approaches to the command position. Figure 5.B. presents the exemplary sequence of estimates of the command position evaluated basing on the consequent pictures taken after the first approach to the command position

A

B

Fig. 5. Distribution of recorded positions (point 2, approach direction z): A. (+) 30 pictures taken during the 1st approach, (o) the first picture for each of the 30 approaches, B. consequent positions corresponding to 30 pictures of the 1st approach joined with a straight line segments Rys. 5. Rozkład przestrzenny zarejestrowanych połoşeń (punkt nr 2, kierunek zblişenia z) na podstawie: A. (+) 30 zdjęć wykonanych kolejno w trakcie pierwszego dojścia, (o) pierwszego zdjęcia dla 30 dojść do pozycji zadanej, B. kolejne połoşenia odpowiadające 30 zdjęciom wykonanym kolejno w trakcie pierwszego dojścia połączone odcinkami linii prostej

7


= O q C m & B @ O f ÂŽ A

A

B

B

Fig. 6. Normal probability plot of: A. measured positions, B. measurement noise, (point 2, approach direction z) Rys. 6. Wykresy normalności rozkładu prawdopodobieństwa A. pozycje zarejestrowane, B. szum pomiarowy (punkt nr 2, kierunek zblişenia z)

Fig. 7. Histogram of: A. measured positions, B. measurement noise, (point 2, approach direction z) Rys. 7. Histogram: A. zarejestrowanych połoşeń, B. Szumu pomiarowego (punkt nr 2, kierunek zblişenia z)

(consequent positions are connected by a straight line segments forming a broken line). Qualitative assessment of a shape of the broken line from the Fig. 5.B led the authors to the conclusion that the dispersion of the consequent estimates of the positions is considerably irregular, what suggested the random type of the distribution of the considered estimates of the command position. The analysis showed that the dispersion of the estimates related to the measurement noise was less than dispersion of the estimates of the measured position, but they were of the same order of magnitude of 0.01 mm. The dispersion characterizes the tested measurement system spatial resolution. In Fig. 6, the result of assessment of randomness of the positions recorded during the conducted experiments is presented. The normal probability plots, which based on quantiles, were used [12] for the assessment. Qualitative analysis of the above pictures let the authors to the conclusion that the normal plot showed in Fig. 6.A confirmed that, apart from 2 outliers, the other measuring points fitted well the random distribution. Figure 6.B showed that the distribution of the measurement noise was random but it differed a bit more from the normal distribution than distribution of the measured positions. Figure 7 presents histograms approximating probability density functions of the sets of measuring positions and positions corresponding to measurement noise. Classification into 9 bins was used.

The histogram showed in Fig. 7.A qualitatively well corresponds to the normal probability distribution when the mentioned 2 outliers are disregarded. The similarity of the histogram presented in Fig. 7.B to the normal distribution function is smaller, but the presented data may correspond to some random distribution as well. Basing on the above assessment the authors stated that the spatial distribution of the positions recorded during the experiment as well as the spatial distribution of the measurement errors was of random type close to the normal distribution.

8

P

O

M

I

A

R

Y

•

A

U

T

O

M

Z. &

precision The properties of the experimental data recorded with use of the low cost stereovision system were analyzed with the aim of characterization of the achieved position measurement precision. The analysis scope covered the following indicators: − spatial resolution Rs, − measurement resolution (including subpixel) Rm, − average measurement noise Nma, − theoretical TEMA measurement accuracy Ta. The actual experiment was preceded by estimation of position measurement precision of the considered stereovision system. A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ 8 !

Initially, the a priori spatial resolution and the measurement resolution were estimated basing on the stereovision system settings [2]. The following settings were assumed for the analysis (see Fig. 2): − baseline 1319 mm, − focal length 69 mm, − distance between the camera and the analyzed object: 1200 mm, − subpixel measurement capability Mp = 0.1 pixel (the system’s measurement resolution capability in a fraction of a pixel), − field of view (FOV) 589 mm Ă— 393 mm, − image resolution Ri 5616 Ă— 3744 pixels. The estimates of the first 2 indicators were obtained with use of the following formulas: Rs =

FOV Ri

of position with accuracy of 0.1 mm being one order of magnitude greater.

[.

&

&

9 For estimation of positioning repeatability RP the following formulas were applied [7]. The coordinates of the measuring points were denoted by xi, yi and zi, i = 1, ‌, n (n = 30). First, the position of the centre of the cluster of recorded positions was determined:

(1)

Rm = Rsâ‹…Mp

(2)

The obtained values of Rs and Rm are listed in tab. 1. (4) Tab. 1. Estimates of precision of the measurement of position Tab. 1. Estymaty precyzji pomiaru połoşenia

Next, the distances of each of the attained positions from the centre of the cluster were estimated:

Spatial resolution Rs [mm/px]

Subpixel measurement resolution Rm [mm]

plane (y-z)

0.12

0.012

plane (x-z)

0.11

0.011

li =

(x i

− x )2 + (y i − y )2 + (z i − z )2

The average distance from the centre of the cluster was calculated as: l =

Next, the third indicator, the measurement noise Nma, was estimated. Standard deviations were calculated for 30 images acquired by the stereo system. The supposed sources of the noise were: − fluctuation of illumination, − cameras’ CMOS sensor artifacts, − errors of the sub-pixel “quadrant symmetryâ€? tracking algorithm [14]. The assessment based on distribution of the position determined for consequent 30 pictures taken for the 1st approach to each target position. The average measurement noise Nma related to the applied vision system was calculated as an average of the standard deviation of the recorded coordinates of the measured positions, and it amounted to Nma = 0.009 mm. Basing on the values of: − the quadrant tracker uncertainty Tqtu = 0.1 mm, − the cameras orientation angle: ÇŠ = °, an estimate of the last indicator, the theoretical TEMA measurement accuracy Ta, was evaluated with use of the formula below [14]: Ta =

1.5Tqtu sin Îą

Mp

(5)

(3)

The obtained value of the theoretical precision Ta was 0.015Â mm. The carried out partial analyses showed that the resolution of the considered position measurement was approximately equal to 0.015 mm. That indicated that the considered measurement system could be recommended to measurement

1 n

n

∑ li

(6)

i =1

The estimate of the standard deviation of the distance li was determined according to the following formula:

∑ (l j − l ) n

Sl =

i =1

2

n −1

(7)

Finally, an estimate of the positioning repeatability was calculated as: (8)

The RP values were estimated for data acquired during 2 separate experiments with use of either the low-cost vision system or the laser tracker.

[.\.

9

, , 4 Figure 8 presents exemplary measuring data – positions recorded during 30 consequent approaches to the point No. 2 along z direction. The detected points are grouped in a regularly shaped cluster, slightly elongated along y axis. The clusters determined for the remaining points, as well as directions of approach, proved to be qualitatively similar.

9


= O q C m & B @ O f ÂŽ

A

Tab. 2. Estimated values of the unidirectional positioning repeatability RP [mm] based on the stereovision system measurement Tab. 2. Wyestymowane wartości jednokierunkowej powtarzalności pozycjonowania RP [mm] wyznaczone na podstawie pomiaru systemem stereowizyjnym

C

Fig. 8. Positions recorded during the conducted experiment determination for point No. 2 in z direction (o – measured positions, * – indicates the centre position, radius of the circle is equal to RP) Rys. 8. Połoşenia zarejestrowane w czasie przeprowadzonego eksperymentu w punkcie nr 2 w kierunku z (o – pozycja zmierzona, * – wskazuje pozycję środkową, promień okręgu odpowiada wartości RP)

The estimated values of RP for all used measuring points and approach directions are presented in tab. 2. In Fig. 8 the radius of the presented circle corresponds to RP. The value of RP proved to be visibly greater that the maximum distance of the measured point from the centre of the cluster. All the measured points were located within the sphere of the centre being the centre of the cluster and the radius equal to the estimated RP value. The estimated values of RP listed in tab. 2 were compared to the value corresponding to the tested robot type. The listed P

O

M

I

A

R

Y

•

A

U

T

O

M

x

y

z

Point No. 1

0.016

0.020

0.028

Point No. 2

0.023

0.018

0.018

Point No. 3

0.017

0.023

0.014

determined estimates of the RP values vary in the range of 0.014–0.028 mm which contains a value of RP = 0.02 mm (the greatest repeatability error in the whole workspace) reported by the robot’s manufacturer. The repeatability depends on position of the end effector in the workspace, so the presence of variation of the RP estimates was in accordance with the engineering practice. Surprisingly, despite the recommended accuracy of measurement of the considered vision system equal to 0.1 mm, the estimation of the RP value was considerably good (mean: 0.02 mm, median: 0.018 mm, and variation 50% of the mean). The upper bound of the range was greater than the manufacturer’s estimate of RP, what might be a result of insufficient accuracy of the used vision system, imperfection of the applied experimental procedure, as well as of wear of the manipulator’s mechanisms. The values of RP estimated basing on the conducted experiment results and the RP estimate provided by the robot manufacturer were of the same order of magnitude and considerably close. Next, the analysis of distribution of the attained positions in space was enhanced. Figure 9 presents 3 sets of 3 spheres. Centres of these spheres are the centre positions calculated for positions recorded during multiple approaches to the command position from each of the 3 perpendicular directions. Radii of the spheres correspond to the RP estimates obtained for each approach direction. In case of the point No. 1 the spheres are closer to each other than in the case of the points No. 2 and 3 where the spheres corresponding to approach in x and z directions are most distant one from the other. The fourth picture presents the actual distribution of attained poses for the 2nd measuring point. The middle cluster (positions denoted by circles) possessed an outlier on the top. This outlier considerably increased RP represented by the corresponding sphere’s radius. The dependence of the attained end-effector’s position on the approach direction is common in practice. The measure of dependence of the attained end-effector position on the approach direction is assessed according to [7] by the multi-directional pose accuracy variation vAP, which is the maximum distance between the sphere centers’ pairs. The estimated values of vAP are listed in tab. 3. There was no reference value of vAP found for the tested robot. The estimated values of vAP are approximately 2 times greater than the reference RP value, what seems to be a reasonable result.

B

10

Approach directions

Tab. 3. Multi-directional positioning accuracy variation vAP [mm] Tab. 3. Wielokierunkowa zmienność dokładności pozycjonowania vAP [mm]

A

T

Y

Point No. 1

Point No. 2

Point No. 3

0.038

0.046

0.052

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ 8 !

A

B

C

D

Fig. 9. Distribution of the attained end-effector’s positions in terms of the approach direction for measuring points (A.) No. 1, (B.) No. 2, (C.) No. 3, and (D.) No. 2 Rys. 9. Rozkład przestrzenny osiągniętych pozycji chwytaka/narzędzia w zaleşności o kierunku zblişania do punktów pomiarowych (A.) nr 1, (B.) nr 2, (C.) nr 3 i (D.) nr 2

[.Y.

9

, , # The carried out measurement was repeated with use of the laser tracker (Leica AT 401), and RP was estimated once more. The same robot program (command poses and sequences of approaches) and RP value estimation procedure were used. The achieved estimates of RP are listed in tab. 4. The values of RP listed in tab. 4 were of the same order of magnitude but approximately 50% greater than that evaluated basing on measurement made with use of the low-cost stereovision system. The value of RP was overestimated (mean: 0.03 mm, median: 0.031 mm, and variation 80% of the mean). Despite the reported quantitative differences the considered RP estimates are of the order of magnitude of the reference value of RP. The laser tracker, which, depending on type and installed software option, is approximately 3̽10 times more expensive than the developed vision system, is considerably easier to be applied in conditions present in a robotic cell. It is also much more efficient due to automated calibration and

Tab. 4. Estimated values of the unidirectional positioning repeatability RP [mm] basing on the laser tracker measurement Tab. 4. Wyestymowane wartości jednokierunkowej powtarzalności pozycjonowania RP [mm] wyznaczone na podstawie pomiaru trakerem laserowym

Approach directions

x

y

z

Point No. 1

0.026

0.031

0.016

Point No. 2

0.025

0.032

0.035

Point No. 3

0.030

0.034

0.040

position estimation procedures. Additionally, the tracker provides possibility of measurement during motion with tracking of the object, what is not available for the low-cost vision system.

11


= O q C m & B @ O f ÂŽ

Regarding the achieved reasonable estimation of RP = 0.02 mm with the measurement system of approximately 0.1 mm accuracy, the authors suppose that it was a result of the random measurement noise and of the random dispersion of the positions measured during the consequent approaches to the command pose. In the procedure of determination of RP the estimates of parameters (mean and standard deviation) of random distribution of the measured positions were used, not the actual distances between the recorded positions, what could cause that the value of RP corresponding to the resolution of the measuring system was effectively estimated.

of the experimental procedure, and if it would improve effectiveness of the considered system when compared with more sophisticated and costly measurement systems.

].

References

In the paper, the authors focused on application of the exemplary low-cost vision system to determination of the manipulator end-effector’s position. The carried out analysis comprised: − assessment of properties of spatial distribution of the measurement results, − theoretical calculation based assessment of position measurement error, − the experimental data based determination of the tested manipulator end-effector’s local estimates of positioning repeatability RP and multidirectional positioning accuracy vAP. The theoretical analysis led to determination of the resolution of the measurement system of order of magnitude of 0.01 mm. The obtained results indicated that the tested measurement system could be recommended to position measurement with the demanded accuracy of 0.1 mm. Surprisingly, the experimental analysis led to estimation of RP value, which was very close to the robot manufacturer’s reference value (0.02 mm). The main benefit of use of the considered low-cost system is obviously the cost saving. Additionally, the open structure of the system’s hardware and software makes possibility of easy introduction of required modifications. The main drawback of the considered system is the testing complexity and time-consuming preparation of measurement as well as of experimental data analysis. One of the most time-consuming steps is the calibration of cameras, though there are reported the trials to speed-up this procedure by automation [5]. The measurement in various, distant parts of a robot workspace requires manual rearrangement of the measurement set-up, what is also time consuming. On the other hand it is possible to assemble the cameras to the dedicated fixture. This would provide no need of repeating calibration after redirecting the vision system to another object. Some steps of the procedure are considerably operator dependent (e.g. selection of parameters of processing) who must have sufficient knowledge to make the proper choice. Additional disadvantages like necessity of placement of markers on the tested structure (e.g. a manipulator), which during removal may damage the surface of the structure or may leave stains of glue after removal should be also considered. Taking into account the mentioned above benefits and disadvantages, the considered low-cost vision system is recommended rather for occasional application by experienced users or for auto calibration, than for standard services or usage as a portable measuring system. Regarding the future investigation, the authors think that it would be interesting to assess how much determination of orientation together with position would influence complexity

1.

12

P

O

M

I

A

R

Y

•

A

U

T

O

M

# The research reported in this paper has been financed from the state budget for science. The authors wish to acknowledge Wojciech Kusak and Dawid Gurgul for participation in the reported experiments. The authors wish to thank RCC NOVA for possibility of use the company’s laser tracker in the course of the conducted research.

2. 3. 4.

5.

6. 7. 8.

9.

10.

11. 12. 13.

14. 15.

16.

A

T

Abderrahim M., Khamis A., Garrido S., Moreno L., Accuracy and calibration issues of industrial manipulators, in Industrial robotics: programming, simulation and application, Ed. Low K.-H., plV pro literatur Verlag Robert Mayer-Scholz, 2007, 131–146, DOI: 10.5772/4895. Batchelor B.G. Ed., Machine Vision Handbook, Springer-Verlag 2012. Cyganek B., Siebert J.P., An Introduction to 3D Computer Vision Techniques and Algorithms, 2009. Du G. Zhang P., Online robot calibration based on vision measurement, “Robotics and Computer-Integrated Manufacturingâ€?, Vol. 29, Issue 6, 2013, 484–492, DOI: 10.1016/j. rcim.2013.05.003. Garbacz P., Mizak W., A novel approach for automation of stereo camera calibration process, „Pomiary Automatyka Robotykaâ€?, Vol. 17, No. 2/2013, 234–238. Hartley R., Zisserman A., Multiple View Geometry in Computer Vision, Cambridge Univ. Press, 2004. ISO 9283:1998 Manipulating industrial robots – Performance criteria and related test methods. Kohut P., Metody wizyjne w robotyce (cz. 2), Vision methods in robotics, (part II), „PrzeglÄ…d Spawalnictwaâ€?, Stowarzyszenie InĹźynierĂłw i TechnikĂłw MechanikĂłw Polskich, R. 81, Nr 1, 2009, 31–38. Kohut P., Mechatronics systems supported by vision techniques, “Solid State Phenomenaâ€?, Vol. 196, 2013, 62–73, DOI: 10.4028/www.scientific.net/SSP.196.62. Kusak W., Testing of positioning repeatability of a manipulator (in Polish), Bachelor thesis, WIMIR AGH-UST, Krakow, Poland 2014. Ma Y., Soatto S., Kostecka J., Sastry S., An invitation to 3D Vision, Springer-Verlag, New York 2004. Mendenhall W., Scheaffer E.L., Wackerly D.D., Mathematical statistics with applications, Duxbury Press 1986. Svaco M., Sekoranja B., Suligoj F., Jerbic B., Calibration of an industrial robot using stereo vision system, 24th DAAAM International Symposium on Intelligent Manufacturing and Automation, 2013, 459–463. TEMA user’s guide, Image Systems AB, 2011. Trucco E., Verri A., Introductory Techniques for 3D Computer Vision, Prentice-Hall, Upper Saddle River, New Jersey, 1998. Zhang Z., A flexible new technique for camera calibration, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol.22, Issue 11, 2000, 1330–1334, 10.1109/34.888718.

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ 8 !

I " 9 Streszczenie: Systemy wizyjne są powszechnie stosowane w robotyce. Najczęściej pełnią rolę układów sensorycznych, chociaş mogą być teş uşyte do pomiaru pozycji chwytaka/narzędzia robota. W artykule przestawiono przykład zastosowania niskokosztowego systemu wizyjnego do pomiaru połoşenia chwytaka. Wykorzystany system wizyjny składał się z pary aparatów z matrycą CMOS. Przeprowadzony eksperyment polegał na rejestracji serii statycznych obrazów po dojściu chwytaka robota (przenoszącego sześcian wzorcowy z zestawem markerów) do pozycji zadanej, powtarzalnie z tego samego kierunku. Analiza precyzji wyznaczania pozycji sześcianu wzorcowego obejmowała: wyznaczenie rozkładu przestrzennego kolejnych pozycji sześcianu, oceny jakości zarejestrowanych obrazów za pomocą 4 kryteriów oraz porównania techniki pomiarowej wykorzystującej rozwaşany układ wizyjny i profesjonalny system pomiarowy (w tym celu powtórzono pomiar z wykorzystaniem trakera laserowego i lokalnie wyestymowano jednokierunkową powtarzalność pozycjonowania – RP). Analiza wyników przeprowadzonych badań pokazała, şe niskokosztowy system stereowizyjny moşe być pomyślnie zastosowany do pomiaru połoşenia chwytaka robota z dokładnością około 0,1 mm. Taka dokładność jest często wystarczająca w warunkach przemysłowych. Dodatkowo, wyniki pomiaru pozwoliły dobrze oszacować powtarzalność pozycjonowania robota RP, która dla typu wykorzystanego robota wynosi 0,02 m. & X 9 " " " G H

Wojciech Lisowski

Piotr Kohut

) * % %

) * % %

B 7 B ; * * / " 8 9 B % +DJ- />? # ! 7 @ 0 * % ? 7 " 7 7 " 770 9 * "0 " * K " ! 0 * 7 ! 9 " %

? ! * / " 8 9 7 " A 7 B ; * * 8 9 />? # ! 7 @ 0 * ,&&,% I

" 7 8 9 B 0 % ? 7 7 " ! " " 7 " * * $ " " L %

13


NR 3/2015

14

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 15–22, DOI: 10.14313/PAR_226/15

@ 9 " 7 * * " * " - & & " - & . / NF ' ; ; % 7 * +JG,, D&0D,O NF P

& %&) In this paper we study the problem of state constraints in discrete time sliding mode control. We present a sufficient condition for the strategy that drives the representative point monotonically to the sliding hyperplane in finite time. The advantage of this strategy is that disturbances do not have to fulfill the matching conditions. Our approach is based on the so-called reaching law technique. 8 X ! 9 " * " " " *

1. Introduction In recent years, sliding mode control has become a popular regulation technique as a result of its computational efficiency and robustness guarantee [1–13]. In the first place this method was analyzed on continuous systems [14, 15]. Further, discrete time systems [16–18] were considered due to their wide application in practice. In order to apply the sliding mode control technique we start with choosing parameters of the sliding hyperplane. These parameters determine the eigenvalues of the closed-loop system matrix, which is connected with the system dynamics. The main goal is to control the system in such a way that the representative point will reach that predefined hyperplane and remain in its certain neighborhood. The control signal is usually computed using one of two well-known methods. In the first one the control law, which guarantees the stable sliding motion is introduced. The other one involves the so-called reaching law technique. In this approach the control signal is computed in order to satisfy a predefined evolution of the sliding variable. Originally, the reaching law method was introduced for continuous time systems [19], and then developed for discrete time ones [20]. Recently, a large number of new reaching laws were presented [21–30]. The sliding mode control can be divided in two phases: the reaching phase and the sliding phase. The first one refers to the evolution of the representative point from the initial position to the predefined sliding hyperplane. The second one is connected with the motion of the state point along the sliding manifold to the destination point. During the control process external disturbances may interfere with the behavior of the representative point and cause large values of state variables

# & *: X B M +$)*" % " # ) ' +D%&D%,&+- % ,-%++%,&+- % ! "" # $%&

or oscillations. In the sliding phase, the impact of disturbances implicates the quasi-sliding mode i.e. the representative point cannot move precisely along the sliding hyperplane, but it can stay in a certain neighborhood of that hyperplane. In this paper we define the quasi-sliding mode [24, 31, 32], i.e. we do not require crossing the sliding hyperplane in each consecutive step. The issue of limiting state variables is an important problem in the sliding mode control due to its frequent occurrence in practice [33–40]. Usually, during the sliding mode controller design, the problem of constraining the state variables is omitted in favor of limiting the control signal. Our work focuses on finding the best strategy for limiting all of the state variables. In particular, we can select the state variables that are crucial to our system and constrain only these ones. This paper is an extension of the article [41] and is organized as follows. Section 2 presents the sliding mode controller design based on the reaching law technique. Moreover, the state constraints problem is analyzed. The sufficient condition for the monotonic, finite time convergence to the sliding hyperplane is introduced in Section 3. Section 4 deals with the selection of the convergence rate of the representative point to the sliding hyperplane. In Section 5 the sufficient condition is extended to the form, which is easier to apply. A simulation example is presented in Section 6. Section 7 comprises the conclusions of this paper.

2. Sliding mode controller design Let us consider the discrete time system affected by unknown, bounded external disturbances. Its dynamics is described by the following state equation x (k + 1) = Ax (k) + bu (k) + d (k),

(1)

where x(k) = [x1(k), ‌, xn(k)]T is the state vector, A is the state matrix of the dimension n Ă— n, b is the input distribution vector of dimension n Ă— 1, u(k) is a scalar control signal, d(k) = [d1(k), ‌, dn(k)]T is the external disturbance vector and max |di(k)| = Di for any i ∈ {1, ‌, n}. Let us observe, that our

15


The problem of state constraints in designing the discrete time sliding mode controller

system does not have to fulfill the matching conditions, i.e. the external disturbance vector affects the whole system dynamics and not only the control signal. We design the discrete time sliding mode controller in order to obtain finite time, monotonic convergence of the representative point to the sliding hyperplane s (k) = cT x (k) = 0,

Further in this paper we will modify the parameter K in order to include the influence of external disturbances.

Y.\. The purpose of this paper is to limit each state variable xi (k), i ∈ {1, ‌, n} for any k ∈ Ôł. We want to immunize our system to external disturbances. Therefore, we alter the parameter K. Let us assume that the absolute value of the state variable xi(0) is limited by ri for any i ∈ {1, ‌, n}. We will calculate the parameter K so that if the absolute value of the state variable xi(k) is limited by ri, then the absolute value of the state variable xi(k + 1) is also limited by ri, i.e.

(2)

where cT = [c1, ‌, cn–1, 1]. Vector c is selected in such a way that cTb z 0. The quasi-sliding mode is defined likewise in [31, 32]. This definition says that crossing the sliding hyperplane is not required in each consecutive step. We select the following reaching law in order to compute the control signal

s (k + 1) = s (k) – Ksgn [s (k)] + cTd (k),

–ri d xi(k + 1) d ri.

We assume that Di < ½ ri for any i ∈ {1, ‌, n}. From (1) and (5) we get

(3)

where K is a positive, real number and the function sgn(x) is given as follows ⎧− 1, for x < 0 ⎪⎪ sgn(x ) = ⎨ 0, for x = 0 ⎪ ⎪⎊ 1, for x > 0

(10)

x(k + 1) = Ax(k) – b(cT b)–1 cTAx(k)+ + b(cT b)–1cTx(k) – b(cT b)–1K sgn[cT x(k)]+ d(k).

Let us define the matrix G as follows

(4)

G = A + b(cT b)–1 (–cTA + cT) From (1), (2) and (3) we can compute the following control signal

xi(k + 1) = ei {Gx(k) – K(cT b)–1 b sgn[cT x(k)] + d(k)}. (13)

In order to obtain finite time convergence to the sliding hyperplane, we require that

We want to calculate the largest time-varying K which guarantees the fulfillment of (10). Using (13) and the substitution gi = eiG we get

(6)

is fulfilled during the reaching phase, where Ν is a real, positive constant. Analyzing signs of s (k), s (k + 1) and using (3) we can rewrite (6) in the following form K – cT d (k) sgn [s (k)] ≼ Ν.

gi x(k) – ri + di(k) d K(cT b)–1 ei b sgn[cT x(k)] d gi x(k) + + ri + di(k). (14)

(7)

The value of di(k) is unknown, therefore we have to require that the following conditions are satisfied

Let us denote the biggest influence on the sliding variable caused by external disturbances by

Dmax = |c1|D1 + ‌ + |cn–1|Dn–1 + Dn.

gi x(k) – ri + Di d K(cT b)–1 ei b sgn[cT x(k)] d gi x(k) + ri – Di.

Let us observe, that when ei b = 0 for i ∈ {1, ‌, n}, then K has no influence on the behavior of the i-th state variable and (15) is true if – ri + Di d gi x(k) d ri – Di.

K – Dmax ≼ Ν.

P

O

M

I

A

(15)

(8)

Hence, in order to fulfill (7) we require

16

(12)

and the vector ei (dim ei = 1 Ă— n) as the versor of the i-th axis of a Cartesian coordinate system, i.e. the i-th element of the vector ei is equal to one, while remaining elements of this vector are equal to zero. Then we can write the state equation for the i-th variable

(5)

|s (k)| – |s (k + 1)| ≼ Ν,

(11)

(16)

(9)

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


Consider the case when ei b z 0. Using (15) and analyzing the sign of the expression (cT b)–1 ei bsgn[cT x(k)] we obtain that for each i ∈ {1, ‌, n} the largest possible K (denoted by Ki) is given by the equation Ki = cT b(ei b)–1 sgn[cT x(k)] gi x(k) + + | cT b(ei b)–1 |(ri – Di).

(17)

We can observe that Ki is a function of k. Therefore, from now on, we will write Ki(k) instead of Ki in order to emphasize that it is a time-varying coefficient. From (17) we conclude that in order to calculate (5) it is necessary to know only the maximum absolute value of external disturbances and the current state. Therefore, the measurement of external disturbances is not needed.

Proof. One can observe that if

gi x(k) = sgn[cTb(eib)–1] sgn[cTx(k)] (|gi1|r1 + ‌ + |gin|rn), (22) then (17) has the following form

Ki(k)= |cT b(ei b)–1| [ri – Di + (|gi1|r1 + ‌ + |gin|rn)].

(23)

Otherwise, if

gi x(k) = – sgn[cTb(eib)–1] sgn[cTx(k)] (|gi1|r1 + ‌ + |gin|rn), (24)

3. Sufficient condition then In this section we will formulate and prove two theorems which specify the sufficient condition for Ki(k) – Dmax t Îť for any i ∈ {1, ‌, n} and k ∈ Ôł âˆŞ {0}. Theorem 1. Denote by gij the expression in the i-th row and j-th column of the matrix G. In order to obtain Ki(k) – Dmax > 0 in each consecutive step it is sufficient that inequalities

Ki(k)= |cT b(ei b)–1 | [ri – Di – (|gi1|r1 + ‌ + |gin|rn)].

(25)

Noting that |gij|rj > 0 for any j ∈ {1, ‌, n} we conclude that ri – Di + (|gi1|r1 + ‌ + |gin|rn) > ri – Di – (|gi1|r1 + ‌ + |gin|rn).(26)

(18) Using (26) one can observe that if |gi x(k)| d |gi1|r1 + ‌ + |gin|rn, then are satisfied for any i ∈ {1, ‌, n}. Ki(k) = | cT b(ei b)–1 | [ri – Di – (|gi1|r1 + ‌ + |gin|rn)]. (27)

Proof. From (17) we observe that if

gi x (k ) < ri − Di −

Dmax

c b (ei b )−1 T

,

(19)

It can be seen from (27) that Ki(k) – Dmax t | cT b(ei b)–1| [ri – Di – (|gi1|r1 + ‌ + |gin|rn)] – Dmax. (28)

then Ki(k) – Dmax > 0. Hence, our goal is to satisfy inequalities (19) for any i ∈ {1, ‌, n}. Let us derive the greatest possible value of the left-hand side of (19)

Furthermore, multiplying (18) by |cT b(ei b)–1| we obtain |cT b(ei b)–1 | [ri – Di – (|gi1|r1 + ‌ + |gin|rn)] – Dmax > 0. (29)

(20) Using (19) and (20) we obtain that if (18) is true, then Ki(k) – Dmax > 0. This ends the proof. Ĺś In order to prove the finite time convergence of the representative point to the sliding hyperplane we will determine the parameter Îťi such that Ki(k) – Dmax t Îťi > 0. Theorem 2. Assume that (18) is satisfied. Then Ki(k) – Dmax t Îťi > 0 in each consecutive step. Parameter Îťi = | cT b(ei b)–1 | [ri – Di – (|gi1|r1 + ‌ + |gin|rn)] – Dmax (21) for i ∈ {1, ‌, n}.

Hence, the representative point arrives to the neighborhood of the sliding hyperplane in finite time and the parameter Îťi is of the form (21). This ends the proof. Ĺś

^. 1 _ 4 , 4 In this section we will formulate a theorem, which states that choosing a smaller value of K(k) does not affect the fulfillment of the state constraints. Theorem 3. Assume that Ki(k) > Dmax, i ∈ {1, ‌, n} is defined by (17). Then for any K(k) ∈ (Dmax; Ki(k)] the limit condition is fulfilled for the i-th state variable.

17


The problem of state constraints in designing the discrete time sliding mode controller

From (35) and inequalities Ki – Dmax > λi for any i ∈ {1, …, n} we conclude that K(k) – Dmax ≥ λ = min{λ1, …, λn}. Therefore, the finite time convergence to the sliding hyperplane, without violating the state constraints is obtained.

Proof. Let us define the parameter Kε(k) as follows Kε(k) = cTb(eib)–1 sgn[cTx(k)] gix(k) + |cTb(eib)–1|(ri – Di – ε). (30) For any K(k) ∈ (Dmax; Ki(k)] there exists ε t 0 such that Kε(k) = K(k). Note that Kε(k) < Ki(k). From (13) and (30) we have x(k + 1) = Gx(k) – (eib)–1 bgix (k) + + d(k) – sgn(cTb) sgn [cT x(k)] |(eib)–1 |b(ri – Di – e). (31)

Z. 7 & 4 , condition In this section we will weaken the sufficient condition presented in this paper. Let us observe that it is possible that

Multiplying both sides of (31) by ei we obtain and Ki – Dmax > 0. xi(k + 1) = – sgn(cTb) sgn[cTx(k)] sgn(eib)(ri – Di – ε) + di(k). (32) We can rewrite (17) in the following form Therefore, using the equation Di = max |di(k)| we conclude that

Ki = sgn[cT b(eib)–1 cT x(k)gix(k)] | cTb(eib)–1| ⋅ |gix(k)| +

xi(k + 1) ∈ [ – sgn(cTb) sgn[cTx(k)] sgn(eib)(ri – Di – ε) – Di – sgn(cTb) sgn[cTx(k)] sgn(eib)(ri – Di – ε) + Di]. (33)

+|cTb(eib)–1|(ri – Di). Hence, if sgn[cTb(eib)–1 cTx(k)gix(k)] = 1, then

One can observe that – sgn(cTb) sgn[cTx(k)] sgn(eib) can only be equal to –1, 0 or 1. Furthermore, the maximum value of ε has to be smaller or equal to 2ri – 2Di. Hence, – ri + ε d xi(k + 1) d ri – ε.

(36)

Ki – Dmax t | cTb(ei b)–1 | (ri – Di) – Dmax > 0.

(37)

Denote by X i+ and X i− subsets of the state space in which

(34)

Therefore, the constraint of the state variable xi is satisfied. This ends the proof. Ŷ

sgn[cTb(eib)–1 cTx(k)gix(k)] = 1,

(38)

sgn[cTb(eib)–1 cTx(k)gix(k)] = –1

(39)

Our goal is to satisfy all of the state constraints and select the largest value of K(k). Hence, respectively, and K(k) = min{K1(k), …, Kn(k)}.

(35)

Fig. 1. First state variable Rys. 1. Pierwsza zmienna stanu

18

P

O

Fig. 2. Second state variable Rys. 2. Druga zmienna stanu

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


|xi| d ri

(40)

for the i-th state variable. X i− is the only set in which Ki – Dmax may take a negative value. Theorem 4. In order to obtain Ki – Dmax ≼ Îť > 0 and |xi| d ri it is sufficient that inequalities

(41)

and

max gi x ≤ ri − Di + x ∈X i+

Dmax

(42)

c b (eib )−1 T

Proving the fact that Ki – Dmax ≼ Îť > 0 is similar to the proof of the Theorem 2. We have to guarantee that the minimal possible convergence rate, that satisfies the i-th state constraint which is equal to cT b(eib)–1 sgn[cT x(k)] gix(k) – | cT b(eib)–1|(ri – Di). (44) has to be lower or equal to Dmax. Otherwise, the selected K(k) does not have to satisfy at least one of the state constraints, even if it would drive the representative point monotonically to the sliding hyperplane in finite time. If x ∈ X i− , then (44) is negative, so we can only consider our condition in the set X i+ . Therefore, we want to satisfy inequalities |cT b(eib)–1| (gix(k) – ri + Di) d Dmax

are satisfied for any i ∈ {1, ‌, n}. Proof. Let x ∈ X i− , i.e. sgn[cT b(eib)–1 cT x(k)gix] = –1. Hence, (36) is of the form

(45)

for any i ∈ {1, ‌, n}. We can rewrite (45) in the form of (42), which ends the proof.

[.

_ & Ki = – | cT b(eib)–1|⋅|gix| + | cT b(eib)–1|(ri – Di).

(43) Consider the system given by (1), where

Therefore, if (46) max x ∈X − g i x < ri − Di − i

Dmax

c b (eib )−1 T

,

then Ki – Dmax > 0 for any i ∈ {1, ‌, n}. Moreover, if x = 0 then Ki = | cT b(eib)–1|(ri – Di). Using (41) one can observe that in this case Ki – Dmax > 0. If x ∉ X i−, then Ki >|cT b(eib)–1|(ri – Di). From previous considerations Ki – Dmax > 0 for any i ∈ {1, ‌, n}.

Fig. 3. State trajectory Rys. 3. Trajektoria stanu

In order to apply the strategy that allows us to constrain both state variables at level r1 = 50 and r2 = 5, we start from calculating the matrix

⎥0.9909 0.0909⎤ G=⎢ ⎼. ⎢⎣0.0909 0.0909⎼⎌

(47)

Fig. 4. Sliding variable Rys. 4. Zmienna ślizgowa

19


The problem of state constraints in designing the discrete time sliding mode controller

3. Bartoszewicz A., Patton R. (eds.), Sliding mode control, Special issue: “International Journal of Adaptive Control and Signal Processingâ€?, Vol. 21, 2007, 635–822. 4. Basin M., Fridman L., Shi P. (eds.), Optimal sliding mode algorithms for dynamic systems, Special issue: “Journal of the Franklin Instituteâ€?, Vol. 349, 2012, 1317–1616. 5. Gao W. (ed.), Variable structure control, Special issue: “IEEE Transactions on Industrial Electronicsâ€?, Vol. 40, 1993, 1–165. 6. Kaynak O., Computationally intelligent methodologies and sliding – mode control, Special issue: “IEEE Transactions on Industrial Electronicsâ€?, Vol. 48, 2001, 2–151. 7. Kaynak O., Bartoszewicz A., Utkin V.I. (eds.), Sliding mode control in industrial applications, Special issue: “IEEE Transactions on Industrial Electronicsâ€?, Vol. 56, 2009, 3271–3274. 8. Misawa E., Utkin V.I. (eds.), Variable structure systems, Special issue: Transactions of ASME – “Journal of Dynamic Systems, Measurement, and Controlâ€?, Vol. 122, 2000, 585–819. 9. Shtessel Y., Fridman L., Zinober A. (eds.), Advances in higher order sliding mode control, Special issue: “International Journal of Robust and Nonlinear Controlâ€?, Vol. 18, 2008, 381–585. 10. Shtessel Y., Spurgeon S., Fridman L., Advances in sliding mode observation and estimation, Special issue: “International Journal of Systems Scienceâ€?, Vol. 38, 2007, 845–942. 11. Utkin V.I. (ed.), Sliding mode control, Special issue: “International Journal of Controlâ€?, Vol. 57, 1993, 1003–1259. 12. Yu X. (ed.), Adaptive learning and control using sliding modes, Special issue: “Applied Mathematics and Computer Scienceâ€?, Vol. 8, 1998, 5–197. 13. Yu X., Wang B., Li X., Computer-controlled variable structure systems: the state of the art, “IEEE Transactions of Industrial Informaticsâ€?, Vol. 8, 2012, 197–205, DOI: 10.1109/TII.2011.2178249. 14. Emelyanov S.V., Variable structure control systems, Nauka, Moscow 1967. 15. Utkin V.I., Variable structure systems with sliding modes, “IEEE Transactions on Automatic Controlâ€?, Vol. 22, 1977, 212–222, DOI: 10.1109/TAC.1977.1101446. 16. Furuta K., Sliding mode control of a discrete system, “Systems & Control Lettersâ€?, Vol. 14, 1990, 145–152, DOI: 10.1016/0167-6911(90)90030-X. 17. Milosavljevi ÄŒ., General conditions for the existence of a quasisliding mode on the switching hyperplane in discrete variable structure systems, “Automation and Remote Controlâ€?, Vol. 46, 1985, 307–314. 18. Utkin V.I., Drakunov S.V., On discrete-time sliding mode control, IFAC Conference on Nonlinear Control, 1989, 484– 489. 19. Gao W., Hung J.C., Variable structure control of nonlinear systems: A new approach, “IEEE Transactions on Industrial Electronicsâ€?, Vol. 40, Iss. 1, 1993, 45–55, DOI: 10.1109/41.184820. 20. Gao W., Wang Y., Homaifa A., Discrete-time variable structure control systems, “IEEE Transactions on Industrial Electronicsâ€?, Vol. 42, Iss. 2, 1995, 117–122, DOI: 10.1109/41.370376. 21. Bartoszewicz A., LatosiĹ„ski P., Discrete time sliding mode control with reduced switching – a new reaching law approach, “International Journal of Robust and Nonlinear Controlâ€?, Vol. 26, Iss. 1, 2016, 47–68, DOI: 10.1002/rnc.3291.

We select the initial point at the intersection of lines that describe the upper limits of the state constraints, i.e. x(0) = [50 5]T. External disturbances are d1(k) = sin (k ⋅ 40 rad) and d2(k) = sin (k ⋅ 30 rad). One can observe, that in this example the matching conditions are not satisfied. In this example we modified the reaching law (3) to the form s(k + 1) = s(k) – min{K(k), |s(k)|} sgn[s(k)] + cTd(k).

(48)

Let us observe, that in the special case if external disturbances are equal to zero, then the representative point is driven precisely on the sliding hyperplane. After calculations we obtain that (41) and (42) are true. Moreover,

max gi x > ri − Di − x ∈X i+

Dmax

(49)

.

c b (eib )−1 T

Hence, we conclude that in our example (18) is not satisfied, which shows that in this paper the previous sufficient condition was weakened. From Fig. 1 one can observe that the first state variable is always smaller than 50. In addition, after a certain period of time it reaches the neighborhood of its demand value and remains in it. The evolution of the second state variable is shown in Fig. 2. Starting from its initial value 5 it decreases, but is always greater than its minimal admissible value equal to –5. Further, the second state variable increases to its demand value. Figure 3 presents the trajectory of both state variables. In our example r2 – D2 = 4. Therefore, the control strategy causes that the second state variable may take a value from the interval [–4, 4], without the influence of external disturbances. Hence, in the presence of perturbations (D2 = 1), the second state variable in the worst case will reach the value –5. From Fig. 4 we can observe that the monotonic convergence to the sliding hyperplane in finite time is obtained. The representative point is not driven precisely on the sliding hyperplane, due to the occurrence of disturbances. During the sliding phase the sliding variable may take a value from the interval [–Dmax, Dmax].

]. In this paper the issue of limiting the state variables in discrete time sliding mode control influenced by perturbations was analyzed. In our system external disturbances did not have to fulfill the matching conditions, which is beneficial from the practical point of view. Sufficient condition for the fastest, monotonic convergence of the representative point to the sliding hyperplane in finite time was introduced. A simulation example was presented in order to illustrate theoretical considerations. In the future we are going to improve our approach by involving the impact of the initial conditions and modify constant state constraints to the function form.

References 1. Bartolini G., Ferrara A., Spurgeon S. (eds.), New trends in sliding mode control, Special issue: “International Journal of Robust Nonlinear Control�, Vol. 7, 1997, 297–427. 2. Bartoszewicz A., Kaynak O., Utkin V.I. (eds.), Sliding mode control in industrial applications, Special section: “IEEE Transactions on Industrial Electronics�, Vol. 55, 2008, 3805–4103.

20

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


22. Bartoszewicz A., LatosiĹ„ski P., Reaching law for DSMC systems with relative degree 2 switching variable, “International Journal of Controlâ€?, Vol. 90, Iss. 8, 2017, 1626–1638, DOI: 10.1080/00207179.2016.1216606. 23. Bartoszewicz A., LeĹ›niewski P., Reaching law approach to the sliding mode control of periodic review inventory systems, “IEEE Transactions on Automation Science and Engineeringâ€?, Vol. 11, Iss. 3, 2014, 810–817, DOI: 10.1109/TASE.2014.2314690. 24. Bartoszewicz A., LeĹ›niewski P., Reaching law-based sliding mode congestion control for communication networks, “IET Control Theory & Applicationsâ€?, Vol. 8, Iss. 17, 2014, 1914–1920, DOI: 10.1049/iet-cta.2014.0503. 25. Bartoszewicz A., LeĹ›niewski P., New switching and nonswitching type reaching laws for SMC of discrete time systems, “IEEE Transactions on Control System Technologyâ€?, Vol. 24, Iss. 2. 2016, 670–677, DOI: 10.1109/TCST.2015.2440175. 26. Chakrabarty S., Bandyopadhyay B., A generalized reaching law for discrete sliding mode control, “Automaticaâ€?, Vol. 52, 2015, 83–86, DOI: 10.1016/j.automatica.2014.10.124. 27. Chakrabarty S., Bandyopadhyay B., A generalized reaching law with different convergence rates, “Automaticaâ€?, Vol. 63, 2016, 34–37. 28. Chakrabarty S., Bartoszewicz A., Improved robustness and performance of discrete time sliding mode control systems, “ISA Transactionsâ€?, Vol. 65, 2016, 143–149, DOI: 10.1016/j.isatra.2016.08.006. 29. Golo G., Milosavljevi ÄŒ., Robust discrete-time chattering free sliding mode control, “Systems & Control Lettersâ€?, Vol. 41, Iss. 1, 2000, 19–28, DOI: 10.1016/S0167-6911(00)00033-5. 30. Niu Y., Ho D.W.C., Wang Z., Improved sliding mode control for discrete-time systems via reaching law, “IET Control Theory & Applicationsâ€?, Vol. 4, Iss. 11, 2010, 2245–2251, DOI: 10.1049/iet-cta.2009.0296. 31. Bartolini G., Ferrara A., Utkin V.I., Adaptive sliding mode control in discrete-time systems, “Automaticaâ€?, Vol. 31, Iss. 5, 1995, 769–773, DOI: 10.1016/0005-1098(94)00154-B. 32. Bartoszewicz A., Discrete-time quasi-sliding-mode control strategies, “IEEE Transactions on Industrial Electronicsâ€?, Vol. 45, Iss. 4, 1998, 633–637, DOI: 10.1109/41.704892.

33. Bartoszewicz A., Time-varying sliding modes for second order systems, Proc. IEE Proceedings –Control Theory and Applications, Vol. 143, Iss. 5, 1996, 455–462, DOI: 10.1049/ip-cta:19960535. 34. Bartoszewicz A., Design of a nonlinear time-varying switching line for second order systems, 37th IEEE Conference on Decision and Control, Tampa, USA, 1998, 2404–2408, DOI: 10.1109/CDC.1998.757765. 35. Bartoszewicz A., Nowacka A., Shifted switching plane design for the third-order system subject to velocity, acceleration and input signal constraints, International Journal of Adaptive Control and Signal Processing, Vol. 21, 2007, 779–794. 36. Bartoszewicz A., Nowacka A., VSC of the third order system with state and input signal constraints, European Control Conference, Kos, Greece, 2007, 3203–3210. 37. Bartoszewicz A., Nowacka-Leverton A., ITAE optimal sliding modes for third order systems with input signal and state constraints, “IEEE Transactions on Automation Controlâ€?, Vol. 55, Iss. 8, 2010, 1928–1932, DOI: 10.1109/TAC.2010.2049688. 38. Corradini M.L., Orlando G., Linear unstable plants with saturating actuators: Robust stabilization by a time varying sliding surface, “Automaticaâ€?, Vol. 43, Iss. 1, 2007, 88–94, DOI: 10.1016/j.automatica.2006.07.018. 39. Nowacka-Leverton A., Bartoszewicz A., ITAE optimal transient performance in SMC of third order systems with state and input constraints, IEEE Conference on Decision Control, Shanghai, China, 2009, 6720–6725, DOI: 10.1109/CDC.2009.5400109. 40. Nowacka-Leverton A., Pazderski D., MichaĹ‚ek M., Bartoszewicz A., Experimental results in sliding mode control of hoisting crane subject to state constraints, SIBIRCON, Irkuck, Russia, 2010, 842-847, DOI: 10.1109/SIBIRCON.2010.5555016. 41. Pietrala M., JaskuĹ‚a M., LeĹ›niewski P., Bartoszewicz A., Sliding Mode Control of Discrete Time Dynamical Systems with State Constraints, Trends in Advanced Intelligent Control, Optimization and Automation, Proc. KKA 2017 – The 19th Polish Control Conference, KrakĂłw, Poland, 2017, 4–13, DOI: 10.1007/978-3-319-60699-6_2.

R* " " * " 0& % ) W artykule przeanalizowany został problem ograniczenia zmiennych stanu w dyskretnym sterowaniu ślizgowym. Do zaprojektowania regulatora zastosowano regułę osiągania ruchu ślizgowego. Zaprezentowano warunek dostateczny na monotoniczną zbieşność stanu obiektu do płaszczyzny ślizgowej w skończonym czasie. Zaletą przedstawionej metody jest to, şe zakłócenia nie muszą spełniać warunków dopasowania. & X " * * * " * Q* * *

21


The problem of state constraints in designing the discrete time sliding mode controller

- S%

& & " - S%

+$)*" % "

" % )*" % "

B M ! B% % * " " 7 " NF P # ! 7 @ * NF P ,&+C% * % % * " 9 " # ! % ? " 0 0 " * " %

B ! B% % * " " 7 " NF P # ! 7 @ * NF P ,&+C% * % % * " 9 NF P # ! 7 @ * % ? " 0 0 " 0 * " %

& . / - 1 % ) % % ( ! B% % * ,&+, % % * ,&+. 9 " 9 7 " NF P # ! 7 @ * NF P % * * NF P # ! 7 @ 0 * % ? " 0 " ! 9 " 0 " %

22

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 23–32, DOI: 10.14313/PAR_226/23

* 7 * " * / T I I Piotr Bilski ' ' ; @ U 7 " % I +CG+D V>" ; X &&0..C '

Abstract: The paper presents the diagnostic applications of artificial neural networks (ANN). Aims and problems present in the contemporary diagnostics are introduced. The structure of the artificial intelligence-based system is presented and discussed in detail. Various approaches to design the on-line fault detection and location system using artificial intelligence approaches are introduced. The generic architecture of the ANN and its variations are presented. Next, their diagnostic applications, advantages and drawbacks are discussed. Application of RBF ANN-based diagnostic module to detect and identify faults of the 5th order lowpass filter is presented. Finally, usability and limitations of the ANN-based diagnostic system are provided. 8 X T * T 7 * " *

1. Introduction Diagnostics of analog systems is currently a wide domain with numerous applications, closely related to the types of analyzed objects. With the increasing number of such systems (including mechanical and electronic elements), the set of usable approaches also increases. Contrary to the digital object, its analog counterpart is characterized by the continuous transmission and processing of information. Therefore the system may also be in the infinite number of states, generating continuous signals. This makes the diagnostics of analog systems especially difficult. The most popular approaches used in the domain belong to Artificial Intelligence (AI). Their advantages include the autonomous operation (without the input of the human operator), high accuracy with generalization abilities and (in most cases) the ability to update knowledge through the additional learning procedure. Disadvantages include the dependency of the acquired diagnostic knowledge on the available data (use cases) presented during the training of the diagnostic module. Sometimes explanation of the reasoning process (i.e. how the premises were used to draw conclusions) is required. The most popular diagnostic methods, exploited in practice, are Artificial Neural Networks (ANN) [1, 2]. This paper presents the taxonomy, structural and operational details of ANN used for the diagnostic purposes. The structure of the paper is as follows. Section 2 presents diagnostic principles important from the AI-application point of view. In Section 3

# & *: X S 9 ) % % % # ) ' +,%&J%,&+- % &C%+&%,&+- % ! "" # $%&

the generic diagnostic architecture is introduced with the focus on internal modules. Section 4 covers the ANN work regime from the diagnostic point of view. In Section 5 the main architectures of ANN with their applications are presented. Section 6 presents diagnostics of the 5th order lowpass filter using the RBF ANN-based classifier. In Section 7 summary and future prospects of the discussed ANN are provided.

2. Aims of the diagnostics Diagnostics is aimed at determining the actual state of the analyzed System Under Test – SUT, based on the observations of the measured signals y(t) being responses to the known excitation x(t). Similarly to the medical and veterinary diagnostics, in technical sciences non-invasive approaches are preferred, where the information about the system’s behavior is available only through the input and output (accessible and partially accessible) nodes (with the maximum set of nodes being hidden, i.e. inaccessible). Therefore the diagnostic system is expected to establish relations (in the form of the unknown function f()) between the observable features of output signals and configuration of parameters p defining the SUT’s work regime [1]. The latter can be based on the human expert’s experience or the mathematical description of the system. Alternatively, simulations of the SUT model may provide the information about how it works and how changes in parameters influence behavior of the whole object. Such heuristic models are currently an important source of knowledge about the operating system, used to create data sets for AI-based classifiers. y(t) = f[x(t), p, t]

(1)

As analog systems are widely exploited and belong to the multiple technical domains, it is difficult to propose one universal diagnostic solution for all of them. Criteria determining usage of specific approaches include, among others, the ability to apply excitation signals to the SUT input (impossible in closed

23


m . & . . = A D D loop systems, such as DC motor or industrial installation), character of measured responses (occupation of the frequency band or physical nature – acoustic, electrical, etc. – of the generated signal), or work regime, allowing (or not) for dismantling the system for repairs. In Figure 1 the example of the electronic lowpass 5th order filter is presented. It contains 9 nodes, which, depending on the designer’s choice may be made accessible or not. The excitation is put to the node No. 1, while from the output node (No. 9) responses are measured. Ten elements (resistances and capacitances) determine the frequency characteristics (Fig. 2), therefore their values should be identified during the diagnostic procedure. Nominal values for the 10 kHz cutoff frequency of all elements, are as follows: R1 = R2 = R3 = R4 = R5 = 1 k , C1 = 16 nF, C2 = 19 nF, C3 = 13 nF, C4 = 51 nF and C5 = 49 nF.

− fault location is the process of determining, which parameter is beyond the tolerance margins and therefore the source of the fault. The aim is to determine the discrete number – the identifier of the parameter responsible for the incorrect behavior of the SUT. In the process diagnostics the term “fault isolation” is used. It is important during monitoring of large installations or machines that must operate constantly and can be turned off for repairs only for a short amount of time. − fault identification is aimed at determining, what is the deviation of the faulty parameter from the designed value. This is the most detailed information especially useful in the diagnostics of systems, which cannot be easily opened and disassembled. It allows for compensating the parameter responsible for the fault with the additional signal (which is done in the feedback loops). − fault prediction – based on the current measurement information obtained from the SUT, it is sometimes required to determine, how will the SUT behave in the nearest future. This aim requires determining trends and considering time and dynamics of changes. It is then used in large installations, such as power plants, but can also be applied to predict the life cycle of complex systems and devices.

Fig. 1. Scheme of the 5-th order lowpass filter Rys. 1. Schemat filtru dolnoprzepustowego 5. rzędu

According to (1), it is assumed that responses measured at accessible nodes are enough to determine the SUT state, which is not always true, as will be discussed later. From response signals characteristic features, which bear information about faults (further called symptoms) are extracted (see Fig. 3). Their form depends on the analyzed domain. For instance, in the time domain these can be positions of extreme values of the signal and the time instances of zero crossings. In the frequency domain spectral components at specific frequencies are used. Depending on the expected diagnostic accuracy and application of the diagnostic process, the following detailed aims are exploited:

Fig. 3. Extraction of symptoms from the response of the electronic filter from Fig. 1 Rys. 3. Ilustracja pozyskiwania symptomów z odpowiedzi filtru elektronicznego z Rys. 1

All these aims refer to the nominal (compliant to the design specifications) and actual states of the SUT. In the system operating correctly both should be considered the same state. Determining whether the SUT is in the nominal state or distinguishing between various faulty states is usually difficult because of two factors: − existence of the noise related to the operation of the SUT and the surrounding environment. The noise influences the measurement accuracy, degrading the fault detection and identification. In most cases, the noise is eliminated from the measured signals by de-noising. − tolerances in the values of SUT parameters. They influence behavior of the system leading to changes in the symptoms’ values, which may be misleading for the diagnostic system. Tolerances are the problem in the real systems (contrary to the computer models), as all constituent elements of the SUT are produced with the finite accuracy. Therefore each produced device or system is slightly different. It may be considered faulty if responses are beyond the predefined margins. Both phenomena impose application of the diagnostic module operating in the uncertainty conditions (see Section 3). Reaching diagnostic aims is also impeded by Ambiguity Groups (AG),

Fig. 2. Frequency characteristics of the 5-th order lowpass filter from Fig. 1 Rys. 2. Charakterystyka częstotliwościowa filtru dolnoprzepustowego 5. rzędu z Rys. 1

− fault detection, i.e. determining if the analyzed SUT is working correctly or not. This is the main aim in all production processes, where the newly created object must be checked if it meets the design requirements and can be sold. If the SUT is considered faulty, it is disposed of. In the case of on-line diagnostics of constantly working objects (such as motors, servomechanisms) or continuous processes, fault detection is the first step to the more detailed analysis.

24

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Piotr Bilski which are subsets of SUT parameters hardly distinguishable from each other [2]. Elimination of AG is done by increasing the number of accessible nodes or introducing additional symptoms, which allow for separating various faults. The types of diagnosed faults are distinguished into parametric and catastrophic ones. The former refer to changes in the SUT parameters that do not modify its topology. Such faults are related with deviations slowly progressing in the SUT because of changing environmental conditions and wearing out its constituent elements. They can be used for determining the actual state of the system after the specified time of operation (to verify if it still meets the designer’s assumptions). Such faults are more difficult to detect and identify especially because it is not easy to determine when the SUT goes out of the nominal state (while the process of changes is continuous). Identification and localization of parametric faults assumes the changes in the parameter are measurable based on output signals and their values proportional to the values of symptoms. Sometimes it does not hold, when the SUT’s behavior has low sensitivity to the particular parameter. On the other hand, catastrophic faults (such as the short circuit in the electronic filter) change structure of the SUT, therefore abruptly influence its behavior. Such faults are easier to detect and identify. Most diagnostic approaches (not only AI-based) exploit the SUT model simulation to confront it against the actual system. Two methods are used here: Simulation Before Test (SBT) and Simulation After Test (SAT) [3]. The first one relies on the extensive exploitation of the model to find dependencies between its internal structure and observable behavior. This is the widely used methodology for all data-driven methods, including the ones using AI. The SAT paradigm uses the SUT model in parallel with the actual system measurement. The residual information is the difference between the simulated and measured symptoms. This scheme is more challenging, as it introduces time limitations for making the decision. The on-line simulation is used in the monitoring systems of large and complex objects, such as nuclear power plants [4, 5]. In this case, ANN are attractive, as they are fast and provide the acceptable accuracy. The ANN presented in this paper are in most cases (with exceptions presented in Section 4) used in the SBT methodology.

3. Diagnostic architecture The general scheme of the diagnostic system is presented in Fig. 4, usually implemented as the combination of software and hardware modules. We assumed here the ability to select excitation signals, adjusted to the specific SUT, which is not always possible (for instance, in electrical machines, or industrial installations). The most important part is the diagnostic algorithm, although its efficiency depends on the set of symptoms used for distinguishing between faults. The symptoms belong to one of the following domains: time (like the duration of the impulse), frequency (values of harmonic components) or mixed (like wavelet coefficients). Based on the set of symptoms s = {s1, …, sm} and knowledge about dependencies between them and values of parameters p = {p1, …, pk}, the diagnostic decision can be made. The source of knowledge may be human- or machine learning – originated. In both cases, the automated diagnostic system is treated as the expert system (Fig. 5), able to perform deductive process on the vector of actual data extracted from the monitored SUT. The automated knowledge extraction from the learning data set allows for creating the knowledge base. It is then used to make decision about the state of the SUT based on the vector of actual symptoms sa. The additional explanation mechanism may be present to describe the deductive process to the human operator. It is used to check if the diagnostic system operates correctly. If needed, changes can be made to the reasoning

mechanism. Implementation of the diagnostic system depends on the exploited AI algorithm. Despite multiple differences between the particular approaches, their advantages include the adaptation to the available data, autonomous operation and, in most cases, ability to extract knowledge from the training data sets. In each category there is usually at least one method tackling data measured in the uncertainty conditions.

y(t)

SUT

response signals

x(t) EXCITATION SIGNALS

DIAGNOSTIC ALGORITHM

s

DAQ AND FEATURES EXTRACTION

decision

Fig. 4. Generic diagnostic architecture Rys. 4. Ogólna architektura diagnostyczna

The diagnostic procedure is implemented in off-line or on-line conditions. In the former, the SUT may be disconnected from the operating environment and then thoroughly tested. Regarding the moment of collecting knowledge by the diagnostic module, this operation uses the SBT scheme. In the on-line case (when the diagnosed system must be monitored during its normal operation), the SAT approach is applied. AI is widely used in the diagnostics. Among multiple approaches the most popular are presented in Fig. 6. This taxonomy distinguishes the form of knowledge used during the reasoning process. The rule-based approaches exploit IF THEN structures, combining premises (i.e. conditions that must be met if the rule is to be activated or fired) with conclusions (in this case the diagnostic decision). This gives the legible form of the diagnostic process, which is true for Decision Trees (DT) or Rules Inference (RI) modules. Fuzzy Logic (FL) [6] is the most sophisticated method, operating in the uncertainty conditions, but is devoid of the machine learning algorithm. Therefore knowledge must be provided to the system by human or the additional method. Rough Sets (RS) operate on the similar principle as FL, but require the preceding discretization of symptoms’ continuous values. Numerical approaches mainly cover the Artificial Neural Networks (ANN) and their versions (as will be presented in Sections 4 and 5). Statistical approaches are based on the Bayes theorem and allow for making decision based on the established a priori knowledge and observed a posteriori data. The simplest algorithm is the Naïve Bayes Classifier (NBC), although Bayesian Networks (BN), used mainly in the analysis of industrial systems [7] and Hidden Markov Models (HMM) [8] are applied as well. Finally, distance-based approaches make decision about the fault of the SUT by calculating the distance between the symptoms’ vectors forming the dictionary (data set L containing n labeled vectors of m symptoms – see (2)) and the actual set of measured symptoms sa. Expert System SUT

y(t)

sa SIGNAL CONDITIONING

REASONING MECHANISM

KNOWLEDGE BASE

EXPLANATION MECHANISM

decision

Fig. 5. Architecture of the AI-based diagnostic system Rys. 5. Architektura systemu diagnostycznego wykorzystującego sztuczną inteligencję

25


m . & . . = A D D

− Classification – the aim here is to determine (based on the values of selected symptoms) the discrete state of the SUT (represented by the category being usually the integer number). The binary classification (“0” or “1” category) is performed only to detect the fault, without the detailed analysis of its source. In the case of catastrophic faults, the multi-class categorization can be performed to determine the faulty element. In the case of parametric faults, the classification requires determining at least the identifier of the faulty element (for the location) and (in the case of the fault identification) its deviation degree from the nominal value. This is more complicated, requiring division of the continuous range of each parameter’s changes into a number of intervals. In the most general configuration, each parameter or element is represented by two codes, determining its value being greater or lesser than the nominal one. To increase the diagnostic resolution, more discrete values to identify may be introduced, such as “much lesser than”, “lesser than”, “greater than” or “much greater than” the nominal value. This way fault codes, usable during the machine learning, can be prepared. For the purpose of AI methods, these values are used to create categories in the data sets (the last column in L (2)). − Regression – the aim is to determine the actual values of the SUT parameters based on the values of symptoms. The operation consists in mapping the vector of features into one or more real-valued parameters. The additional issue regarding the classification task in diagnostics is that multiple parameters may be the source of the fault. This requires application of specific algorithms able to point out multiple fault codes simultaneously. To achieve that in the ANN-based diagnostic system, the specific coding scheme must be used (see below). Majority of ANN are one-directional networks, where vector of symptoms enters the ANN-based diagnostic system (see Fig. 7). Its neurons are usually organized into layers, between which signals are transmitted, starting from inputs (where no actual calculation is performed), through a number of hidden layers, concluding with the output layer. This way the ANN can be seen as the “black box”, because the direct relation between the set of symptoms provided to the input of the network and the diagnostic information, produced by the output layer is not known. Most ANN configurations presented in Fig. 6 are used to perform classification and regression, although prediction is also tried. The number of neurons in hidden layers is the parameter of the network, optimized depending on the data provided during the training. Although there are algorithms of adjusting the number of layers and their neurons in the process, the typical

The most popular method here is the k Nearest Neighbor (kNN) classifier. Among all these methods ANN are the most popular because of their easy implementation (multiple software libraries exist for virtually all programming languages). They will be presented in detail.

(2)

4. Characteristics of ANN All ANN are structures containing neurons (or computational units) strongly interconnected with each other. They are able to perform complex computations using simple mathematical operations, such as multiplication and addition. Each neuron is represented by the activation function, producing the output value o depending on l input values qi [9]. (3)

Activation functions are usually continuous (with exception of Heavyside and signum functions). The simplest one is the linear function, where the output o is just the result of multiplying the matrix W and the input vector q (4). The sigmoidal functions produce continuous values, respectively, between 0 and 1, and –1 and 1. Another popular version is the Gaussian function, used in RBF networks.

(4)

Knowledge obtained during the ANN training has the form of the weights’ matrices W (4), representing connections between particular neurons. Values of weights are optimized during the training to adjust the ANN structure to the solved problem. According to (4), the ANN signal processing consists in the matrix multiplication, which makes such a system computationally efficient fast and feasible to the on-line diagnostics. Because of the ability to learn and fast on-line operation, ANN are widely used in two main problems, which are also present in the diagnostics:

Rule-based

Numerical

DT

Distance-based NBC

ANN

kNN

BN HMM

RI FL RS Fig. 6. Taxonomy of AI methods for the diagnostics of analog systems Rys. 6. Klasyfikacja metod sztucznej inteligencji w diagnostyce systemów analogowych

26

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Piotr Bilski

hidden layers inputs

outputs

s1

d1

sa …

SUT

output layer

sm Bias

dk

Fig. 7. Structure of the ANN-based diagnostic module Rys. 7. Struktura modułu diagnostycznego wykorzystującego sztuczne sieci neuronowe

approach for the design of the optimal diagnostic system is to perform training on the same data set multiple times, for different number of neurons and layers. The type of applied hidden neurons (sigmoidal, Gaussian, etc.) depends on the particular architecture. The number of neurons in the output layer is adjusted to the solved task. In the regression, the number of neurons is the number of predicted parameters. The linear activation function is used here. In the classification task (fault detection, location and identification) the situation is more complex. The sole fault detection is the binary classification problem, therefore the single sigmoidal neuron is enough to do the job. In the multi-class problem (fault identification and location), there is the need to use multiple binary-valued neurons, which values form binary combinations attributed to the particular fault code. Various coding schemes are used, among which the most popular are One versus All (where each neuron represents the separate category) and Minimum Output Coding (where the combination of outputs forms the identifier). The former is simple and potentially allows for detecting multiple faults. The latter uses the minimum number of neurons. To minimize the probability of classification error, at the expense of additional neurons, the Error Correcting Output Coding may be used [1]. Another aspect of the ANN application in diagnostics is the training mode (see Fig. 8). Most structures are applied in the supervised learning, where the data analyzed to extract knowledge is labeled, i.e. the relation between the set of symptoms and the specific SUT state is known and written into the set, of the form like (2). In some cases such an information is not known and the aim of learning is to determine the relations within data.

Supervised learning RBF

Unsupervised learning SOM

MLP SVM FNN HNN RNN Fig. 8. Taxonomy of the ANN used in diagnostics Rys. 8. Klasyfikacja sztucznych sieci neuronowych wykorzystywanych w diagnostyce

The most popular is supervised learning, where each example in the training set is labeled, i.e. the category of each vector of symptoms is known. In the diagnostics of industrial processes the relation between symptoms and the fault is rarely known, which makes this type of learning not applicable. In the unsupervised learning no labels of examples are given, so the task for the network is to find dependencies in data (in the form of clusters of similar vectors of symptoms). The base for the process is the set L (2) without the last column. This way fault categories may be created during the training and next used to determine the state of the actual SUT.

5. Diagnostic applications of ANN This section introduces the particular ANN configurations and their diagnostic applications. Each network type is presented, its advantages and drawbacks discussed in detail. All abbreviations refer to the taxonomy of Fig. 8. − Multilayered Perceptrons (MLP) – these are the oldest and the best established networks, used to solve various problems in biological, environmental and technical domains. These are the most general architectures, with potentially multiple hidden layers. The widely used efficient training method of MLP includes the Levenberg-Marquardt algorithm. The MLP were mainly used in fault detection and fault location tasks [10]. They were also implemented in hardware, such as digital signal processor or FPGA [11]. Their typical diagnostic applications include the fault detection in industrial processes, where the failures of particular elements of the system (such as the actuator or the sensors) are monitored [12]. Other applications include classification of faults in the automotive engine [13] based on the vibration signals. Obtained results show the MLP is comparable to the Kalman Filter, often used as the SAT approach in the on-line diagnostics. In [14] the MLP was used to detect catastrophic faults in the measurement instruments being the part of the more complex system. The number of hidden layers in the applied networks is no greater than two. − Radial Basis Function (RBF) networks – are mainly used in the parameter identification (i.e. regression task) [15], although the classification was tried as well [16]. The RBF architecture contains the single layer with Gaussian activation function and the linear functions in the output layer. RBFs are considered as equally accurate to MLP with the simpler training algorithms. On the other hand, training requires larger data sets, which can be suppressed, using, for instance, correlation method [17]. − Support Vector Machines (SVM) – because analysis of actual SUTs considers uncertainty conditions, methods able to tackle this problem were introduced. The most popular is the

27


m . & . . = A D D

advanced type of ANN, which, through the quadratic programming, positions the hyperplane separating vectors of symptoms belonging to different categories so that the error is minimal, SVM are widely used for both fault identification and regression tasks. The structure of the single SVM, processing m symptoms and producing one output value is presented in Fig. 9. The key operation is the transformation from the original space of features into the optimal one, where various SUT states are easier distinguishable. This is done using the parameterized kernel function K (equivalent of the activation function in the traditional networks). The most popular kernels are linear, polynomial and RBF, although many other can be used [18]. In the case of classification, coding schemes are the same as for other networks. The SVM provide optimal classification and regression results when environmental noise or tolerances of elements are employed. Their disadvantages include a long and complex optimization process, involving selection of the most suitable kernel and its parameters. Applications of SVM are wide, starting from the analysis of analog circuits [19], through the electrical machines [20], up to industrial installations [21]. During the SVM-based diagnostic system the most important problem is selection of the best values of kernel parameters. Among many approaches tried there are genetic algorithm or simulated annealing [22]. − Fuzzy Neural Networks (FNN) – this is another structure, allowing for operation in the uncertainty conditions. This network is a combination of FL inference system with the training algorithm typical for the ANN. This way five layers are created, each responsible for a single operation in the FL module. The structure of the typical FNN is in Fig. 10.

w1

K(s1,sj)

s

The network operates by activating fuzzy rules, which are used to produce output values. Applications of FNN are similar to SVM, where the diagnosed objects are automotive or electrical motors [23], as well as industrial installations [24]. − Self-Organizing Maps (SOM) – this is the most popular unsupervised learning network, which is trained to create categories (forming groups of similar vectors of symptoms) representing SUT states. The network is one-layered (see Fig. 11), where all neurons are positioned on the plane. During the machine learning, the neurons with weights the most similar to the currently presented vector of symptoms (in the sense of selected distance, such as Euclidean) are trained to react even stronger to these vectors. In the end of training, the neurons reacting to any sets of symptoms are treated as the centers of clusters and represent categories. SOM can be used for the fault identification, but also detect ambiguity groups [25]. Recently, such networks were used in the hierarchical diagnostics system as the introductory classifier [26]. − Recurrent Neural Networks (RNN) – these networks are used in the model-based diagnostics. In their structure the feedback loops are present. Templates representing various SUT states are first inserted into the weight matrix and in the process of switching states the network ends up in the steady state. This way the final diagnostic decision is made. Such networks are used as the SAT approaches to diagnose industrial processes (elements of sugar factory [27]). Other architectures include the application of structures similar to MLP, but with the feedback loops inserted. Such networks are used to solve similar problems as more traditional approaches, like the analysis of induction motor [28] or power electronics elements [29]. − Hierarchical Neural Network (HMM) – this is the more complex structure [30] exploiting ANN architectures presented above. Usually multiple networks are used here, trained on various data sets and for different purposes. For instance, one top-level network is trained to detect faults, while networks at the lower level are responsible for isolating specific faults. In such architectures the ANN is often combined with other approaches, responsible for the detailed fault identification. For example, logical inference mechanism was used in the second stage of the power transmission system diagnostic module [31]. Such approaches allow for identifying multiple faults in large scale systems.

+

K(s2,sj)

d=sgn(g(s))

wm

K(sm,sj)

Fig. 9. Structure of the binary SVM classifier Rys. 9. Struktura binarnego klasyfikatora SVM

hidden layers

output layers

1(s1)

s1

1(s1)

d1

1(s1)

j(si)

si

j(si)

dl

j(si)

K(sm)

sm

K(sm) K(sm)

Fig. 10. Hybrid structure of the FNN Rys. 10. Struktura hybrydowa rozmytej sieci neuronowej

28

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Piotr Bilski

s1 …

di

sm

Fig. 11. Structure of the Self-Organizing Map Rys. 11. Struktura mapy samoorganizującej się

The important issue is the correct selection of symptoms extracted from measured signals. Their set depends on the particular SUT and domain of analysis (for instance, in the acoustic analysis, cepstral components of the recorded sound are often used). If collected values are not enough to make all faults distinguishable, the additional method can be introduced to preprocess the data, such as transforming it into the new feature space, where the task would be easier. Although SVM have this feature inherent, in other architectures, such as MLP or RBF the external method is added, like Principal Component Analysis (PCA) or Independent Component Analysis (ICA) [32]. To maximize the accuracy of the diagnostic system, the optimization procedure is often employed. Its task may be to adjust the neurons and weights between them to the training data as the alternative to the traditional learning algorithms [16]. Also, the discrete optimization method can be used to adjust the ANN structure (number of neurons in hidden layers), while the continuous optimization is used to set parameters of the activation functions or kernels, which is done before each training process.

6. Experimental example This section presents the numerical example of the diagnostic system presented in Fig. 7, based on the supervised learning RBF network (i.e. containing the single hidden layer with Gaussian activation function neurons). Contrary to its usual application (i.e. the regression), here this network was used for the classification. This is the part of work presented in [17]. The model of the lowpass filter from Fig. 1 was simulated in the Simulink environment, allowing for producing examples for sets L and T. The diagnostic procedure is performed in the off-line mode (after isolating the SUT from the operating environment). Simulations consisted in putting the excitation sinusoid (1 V amplitude and 9 kHz frequency) to the node No. 1 and recording responses on the output node (No. 9), and all other made accessible during the circuit design. Note that during the model simulation there is the full freedom of selecting the set of available nodes. In the real world the consequences of this operation are additional pins in the casing of the integrated circuit, making the design more complex and expensive. To create the single example (set of symptoms) from the simulation, the selected SUT parameter was first changed to represent the single parametric fault. Values of other parameters maintained nominal. To incorporate the influence of tolerances

c=-i2

c=-i1

on actual elements, each parameter was changed randomly (with the normal distribution) to have deviations within 10 percent of the original value. The range of parameter changes was 80% of the nominal values, leading to examples representing the SUT behavior for values smaller and larger than the nominal one. The SUT was analyzed in the time domain, therefore from each output sinusoid, the first three extreme values and zero crossings with their time instants were acquired (as in Fig. 4). This way at each node nine features are collected. Depending on the number of accessible nodes, the cardinality of the set of symptoms varied from 9 (only the output node) to 54 (nodes 2, 4, 5, 7, 8, 9 made accessible). All examples were supplemented with fault codes, i.e. discrete values representing the source of the fault and its intensity. The code [1] consists of the number of the faulty element (subsequent resistances were assigned numbers from 1 to 5, while capacitances – from 6 to 10). The deviation from the nominal value is represented by one of four integers: –2, –1, 1 and 2, standing for “much smaller than”, “smaller than”, “larger than” and “much larger than” the nominal state. This way the code –21 means that the second resistor has the value smaller than the nominal value, while 72 is for the second capacitor with the value much larger than the nominal one. The fault-free state (when all SUT parameters are within tolerance margins, i.e. different than nominal values at no more than 10%) is represented by the code 0. The thresholds separating subsequent deviation levels of the parameter pi were set at 50% and 10% of the nominal value pni, as in Fig. 12. This gives 41 fault codes to distinguish for the ANN-based classifier. Each SUT element was deviated the same number of times, which led to the sets with size of 70 and 180 examples, depending on the number of simulations (7 or 18 for each parameter). Examples for the testing set were acquired the same way, but for different values of parameters. This allows for testing the generalization capabilities of the diagnostic system. Two sizes of data sets were prepared. In the first case, 7 examples were acquired for each parameter, leading to set size of 70 examples. In the latter case, 18 parameter values were simulated, leading to 180 examples in the set. In the presented experiments both sets will be referred to as L1 and L2 (while the testing sets are labeled as T1 and T2, respectively). The diagnostic accuracy in the presented case is defined as the relative number of correctly classified examples from the set T:

(5)

The presented experiments were aimed at establishing the following goals (especially important for the architecture of the RBF network): − Determining the influence of the training set size on the fault identification accuracy. − Comparing various output layer coding schemes on the identification accuracy. − Selecting the optimal set of accessible nodes ensuring the acceptable diagnostic accuracy. Three coding schemes in the output layer were used for experiments: One versus All, Minimum Output Coding and One versus One, determining the number of neurons in the output layer o.

c=i1

c=0

c=i2 pi

pni - pni·0.5

pni -p ni·0.1 pni

pni +p ni·0.1

pni + pni·0.5

Fig. 12. Assignment of the fault code regarding the deviation of the parameter from the nominal value Rys. 12. Przydział kodu uszkodzenia na podstawie odchylenia wartości parametru od nominalnej

29


m . & . . = A D D In the first case 41 categories had to be distinguished (one neuron for each fault category), the second one required 6 neurons (as they are able to encode up to 64 categories), while the OvO scheme required to train 820 networks, each with the single output responsible for distinguishing between two categories. Parameters of networks during their training included the optimal number of hidden neurons k, width of the Gaussian function s and target error e during the training. The RBF network was implemented using the MATLAB Neural Networks toolbox. Table 1 presents the accuracy of the diagnostic module for the larger set T2 (with 180 examples) using three coding schemes. The experiments were conducted on six available nodes, i.e. 2, 4, 5, 7, 8 and 9. The OvO coding is the most effective, despite its most complex structure, requiring multiple (though relatively simple) networks. On the other hand, their hidden layers contain the smallest number of neurons (the average is 8). The latter was determined by repeating the training procedure for the increasing number of neurons. After initial increase of the diagnostic accuracy, the further addition of neurons does not improve the network performance. Therefore the minimum number ensuring the maximum accuracy should be selected. This method requires repeating the training-testing scheme many times and therefore is time-consuming. Alternative approaches consist in optimizing the number of neurons using sensitivity approaches [33]. The training error e in all cases should be close to zero, ensuring the proper adjustment to available data.

Fig. 13. Diagnostic accuracy of the RBF ANN-based classifier depending on the training data set size Rys. 13. Dokładność diagnostyki klasyfikatora wykorzystującego sieć RBF w zależności od rozmiaru zbioru danych

neurons in the hidden layer k are given as well. Addition of nodes closer to the output of the circuit increases the accuracy until no significant improvement can be obtained. This leads to the set of nodes important from the diagnostic point of view, while all others don’t have to be accessible. Note that similar analysis must be performed for every circuit separately. For larger circuits, automated node selection methods are proposed [35]. Table 2. Diagnostic accuracy of the RBF ANN-based classifier (OvA coding) depending on the set of accessible nodes Tabela 2. Dokładność diagnostyki klasyfikatora wykorzystującego sieć RBF (schemat kodowania OvA), w zależności od zbioru węzłów dostępnych

Table 1. Diagnostic accuracy for various RBF network coding schemes Tabela 1. Dokładność diagnostyki dla różnych schematów kodowania w sieci typu RBF

Analyzed nodes

s

k

acc [%]

Coding scheme

s

k

o

e

acc [%]

5

0.3

68

39.55

OvA

0.5

82

41

0.0

81.11

8

0.1

136

51.22

OvO

0.6

8

820

0.0

83.33

9

0.1

161

38.99

MOC

0.3

95

6

0.02

80.56

9,5

0.3

78

60.66

9, 5, 8

0.2

100

76.66

9, 5, 8, 7

0.2

92

77.33

9, 5, 8, 7, 4

0.5

104

77.33

9, 5, 8, 7, 4, 2

0.5

104

81.11

In Figure 13 dependency between the diagnostic accuracy and the size of the training set is presented. As RBF networks are susceptible to the amount of training data, it is important to determine, what is the minimal amount of information required to extract significant diagnostic knowledge. Results in Table 2 show accuracy of the optimal networks, trained on the available sets. The set L1 clearly contains not enough data that would allow for the proper generalization. Only larger sets can be used to obtain the acceptable accuracy. Note that it is unknown, which examples ensure the proper accuracy, therefore the size of the set is of the secondary importance. To determine this parameter, the additional analysis of examples must be performed (for example, exploiting the informativeness criterion [34]). Table 2 presents the analysis of the diagnostic accuracy depending on the set of accessible nodes for the OvA coding. Initially, only responses at the node No. 9 are recorded (which is the typical for the real system). It is only sufficient to detect the fault but not enough to determine changes in all parameters. To achieve this goal, more nodes have to be added to the analysis. Because they are located in the filter one after another, experiments consisted in adding data from them in the specified order. The greatest increase in the information about faults is expected to be obtained after adding nodes in the middle and closer to the output. Therefore the following sequence was proposed: 9, 5, 8, 7, 4. For the comparison purposes, results for the analysis of selected single internal nodes were added to illustrate the amount of information obtained from subsequent parts of the circuit. Optimal values of the RBF width s and the number of

30

P

O

M

I

A

R

Y

A

U

T

O

M

The presented experiments show usefulness of the RBF network as the parametric fault classifier. Its accuracy depends on the quality of the available data, which depends on: − the number of examples, representing behavior of the SUT for different values of parameters, − the number of accessible nodes (determining its testability), − domains of analysis (selected according to the SUT work regime). Although the optimization process, i.e. adjustment of the network structure to the available data is time consuming and complex, it is performed in the SBT mode, therefore its duration is of secondary importance. The actual classification procedure is fast even for the most complex OvO scheme. To have idea of the proper network structure prior to the training, the data set processing (such as the correlation analysis) should first be performed. Also, comparison between different variants of the ANN-based diagnostic modules should be made. Currently, there are multiple alternative configurations usable for the diagnostic task, such as the RBF network, MLP or SVM. Selection of the best network may depend on the analyzed case. A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Piotr Bilski

]. Multiple applications of the neural networks to the diagnostic domain are related to their wide software and hardware implementations and versatility, making them usable in most contemporary problems. Diagnostics of analog systems often uses various architectures, depending on the particular aim, and specific conditions (like separability of faults based on the available set of symptoms). Although knowledge stored in the ANN structure is illegible for the human expert, ANN are a handy tool, which (after sometimes time consuming optimization) provide high accuracy. The duration of operation is short enough to make them usable in the on-line mode. Future implementations and development of ANN should cover simplification of architectures with the increase of the generalization ability. Such effects as tolerance of elements or environmental noise require more sophisticated approaches, like RNN or SVM. Hierarchical approaches, although seemingly more complex, may include simple structures of classification/regression machines. This leads to the overall simple and fast diagnostic module. Also, combination of ANN with other AI-based methods should be investigated. Such solutions may be required to solve problems still existing in the domain, such as isolation of multiple faults at the same time [36] or accurate diagnostics of complex systems [1, 37].

References 1.

Bilski P., Artificial intelligence methods in the diagnostics of analog systems, Oficyna Wydawnicza Politechniki Warszawskiej, Warszawa 2013. 2. Stenbakken G.N., Souders T.M., Stewart G.W., Ambiguity groups and testability, IEEE Trans. Instr. and Meas., Vol. 38, Iss. 5, 1989, 941–947. 3. Grzechca D., Golonek T., Rutkowski J., Analog Fault AC Dictionary Creation – The Fuzzy Set Approach, Proc. ISCAS 2006, 5744–5747. 4. Santhosh P.M., Kumar M., Thangamani I., Mukhopadhyay D., Verma V., Rao V.V.S.S., Vaze K.K., Ghosh A.K., Neural network based diagnostic system for accident management in nuclear power plants, Proc. 2nd International Conference on Reliability, Safety and Hazard (ICRESH), Mumbai, India, 14–16 Dec. 2010, DOI: 10.1109/ICRESH.2010.5779613. 5. Kim K., Bartlett E.B., Nuclear power plant fault diagnosis using neural networks with error estimation by series association, IEEE Trans. on Nuclear Science, 1996, Vol. 43, No. 4, 2373–2388, DOI: 10.1109/23.531786. 6. Kulkarni M., Abou S.C., Stachowicz M., Fault Detection in Hydraulic System Using Fuzzy Logic, Proc. World Congress on Engineering and Computer Science (WCECS) 2009, Oct. 20–22, San Francisco, USA. 7. Garza Castanon L.E., Nieto Gonzalez J.P., Garza Castanon M.A., Morales-Menendez R., Fault Diagnosis of Industrial Systems with Bayesian Networks and Neural Networks, “LNCS�, MICAI 2008: Advances in Artificial Intelligence, Oct. 27–31, Mexico, 2008, 998–1008. 8. Marwala T., Mahola U., Nelwamondo F.V., Hidden Markov Models and Gaussian Mixture Models for Bearing Fault Detection Using Fractals, Proc. International Joint Conference on Neural Networks, July 16–21, 2006, Vancouver, Canada, 3237–3242. 9. Engelbrecht A.P., Computational Intelligence: An Introduction, John Wiley & Sons, 2007. 10. Khomfoi S., Tolbert L.M., Fault diagnosis system for a multilevel inverter using a neural network, Proc. 31st Annual Conference of IEEE Industrial Electronics Society, Raleigh, NC, USA, 6–10 Nov., 2005.

11. Sahin S., Becerikli Y., Yazici S., Neural Network Implementation in Hardware Using FPGAs, “LNCSâ€?, 4234, ICONIP 2006, Part III, 2006, 1105–1112. 12. Maki Y. Loparo K.A., A Neural-Network Approach to Fault Detection and Diagnosis in Industrial Processes, “IEEE Trans. Control Systems Techn.â€?, Vol. 5, No. 6, Nov 1997, 529–541. 13. Ahmed R.M., El Sayed M.A., Gadsden S.A., Habibi S.R., Fault Detection of an Engine Using a Neural Network Trained by the Smooth Variable Structure Filter, Proc. IEEE Int. Conf. Control Applications (CCA), Denver, CO, USA. September 28–30, 2011, 1190–1196. 14. Bernieri A., Betta G., Pietrosanto A., Sanson C., A Neural Network Approach to Instrument Fault Detection and Isolation, “IEEE Trans. Instr. Meas.â€?, Vol. 44, No. 3, 1995, 747–750. 15. Yang M.-S., Yang J.-H., On Parameter Estimation of Control Chart Patterns Using RBF Neural Network, 4th IEEE Conference on Industrial Electronics and Applications, ICIEA, 25–27 May 2009, Xi’an, China, 1498–1502. 16. Cui L., Wang C., Yang B., Application of RBF Neural Network Improved by PSO Algorithm in Fault Diagnosis, “Journal of Theoretical and Applied Information Technologyâ€?, Vol. 46, No. 1, 2012, 268–273. 17. PoĹ‚ok B., Bilski P., Optimization of the neural RBF classifier for the diagnostics of electronic circuit, 15th IMEKO TC10 Workshop, 6–7 July, 2017, Budapest, Hungary, 121–126. 18. Drewnik M., Pasternak-Winiarski Z., SVM Kernel Configuration and Optimization for the Handwritten Digit Recognition, Proc. CISIM 2017, 16–18 June 2017, BiaĹ‚ystok, Poland, 87–98. 19. B. Long M. Li, H. Wang, S. Tian, Diagnostics of Analog Circuits Based on LS-SVM Using Time-Domain Features, “Circuits, Systems, and Signal Processingâ€?, Dec. 2013, Vol. 32, No. 6, 2683–2706. 20. Kurek J., Osowski S., Support vector machine for fault diagnosis of the broken rotor bars of squirrel-cage induction motor, “Neural Computing and Applicationsâ€?, Vol. 19, Iss. 4, 2010, 557–564, DOI: 10.1007/s00521-009-0316-5 21. DeĂĄk K., Kocsis I., VĂĄmosi A., Keviczki Z., Failure Diagnostics with SVM in Machine Maintenance Engineering, “Annals of the Oradea Universityâ€?, No. 1, 2014, 19–24. 22. Bilski P., Automated selection of kernel parameters in diagnostics of analog systems, “PrzeglÄ…d Elektrotechnicznyâ€?, No. 5, 2011, 9-13. 23. Dong M., Cheang T., Chan S., On-Line Fast Motor Fault Diagnostics Based on Fuzzy Neural Networks, “Tsinghua Science and Technologyâ€?, Vol. 14, No. 2, 2009, 225–233. 24. Calado J.M.F., Sa da Costa J.M.G., A Hierarchical Fuzzy Neural Network Approach for Multiple Fault Diagnosis, UKACC International Conference on CONTROL ‘98, 1–4 September 1998, 1498–1503. 25. Bilski P., Ambiguity groups detection in analog systems diagnostics using Self-Organizing Maps, Proc. IMEKO TC10 Workshop, June 27–28 2016, Milan, Italy, 294–299. 26. Bilski P., Unsupervised learning-based hierarchical diagnostics of analog circuits, 15th IMEKO TC10 Workshop, 6-7 July, 2017, Budapest, Hungary, 99–104. 27. Mirea L., Ron J. Patto, Recurrent Wavelet Neural Networks Applied to Fault Diagnosis, 16th Mediterranean Conference on Control and Automation Congress Centre, Ajaccio, France June 25–27, 2008, 1774–1779. 28. Xuhong W., Yigang H., Diagonal Recurrent Neural Network Based On-line Stator Winding Turn Fault Detection for Induction Motors, Proc. Eighth International Conference on Electrical Machines and Systems, 27–29 Sept. 2005, Nanjing, China, 2266–2269.

31


m . & . . = A D D

29. Xu X., Chen R., Recurrent Neural Network Based On-line Fault Diagnosis Approach for Power Electronic Devices, Third International Conference on Natural Computation (ICNC 2007). 30. Patan K., Obuchowicz A., Korbicz J., Cascade network of dynamic neurons in fault detection systems, European Control Conference (ECC), 1999, 4232–4237. 31. Huang Y.-C., Yani H.-T., Huang C.-L., A New Intelligent Hierarchical Fault Diagnosis System, IEEE Transactions on Power Systems, Vol. 12, No. 1, 1997, 349–356. 32. Dai H., He J., A Novel Fault Diagnosis Method for Rolling Element Bearings Using Kernel Independent Component Analysis and Genetic Algorithm Optimized RBF Network, “Research Journal of Applied Sciences, Engineering and Technology�, Vol. 6, No. 5, 2013, 895–899.

33. LeCun Y., Denker J., Solla S., Optimal brain damage, Advances in NIPS2, Morgan Kaufman, San Mateo, 1900, 598–605. 34. Bilski P., Mazurek P., Wagner J., Application of k Nearest Neighbors Approach to the Fall Detection of Elderly People Using Depth-Based Sensors, Proc. IDAACS 2015 Conference, 24–26 Sept. 2015, Warsaw, Poland, 733–739. 35. Bilski A., Wojciechowski J., Automatic parametric fault detection in complex analog systems based on a method of minimum node selection, “Int. J. Appl. Math. Comput. Sci.â€?, Vol. 26, No. 3, 2016, 655–668, DOI: 10.1515/amcs-2016-0045. 36. Korbicz J., KoĹ›cielny J.M., Kowalczuk Z., Cholewa W., Fault Diagnosis. Models. Artificial Intelligence. Applications, Springer Verlag, 2004. 37. BartyĹ› M., Chosen Issues of Fault Isolation. Theory, Practice and Applications, PWN, Warszawa 2014.

* "F * " Streszczenie: W artykule przedstawiono zastosowania sztucznych sieci neuronowych w diagnostyce systemĂłw analogowych. Opisano gĹ‚Ăłwne cele diagnostyki oraz problemy spotykane obecnie podczas detekcji i lokalizacji uszkodzeĹ„. Wprowadzono ogĂłlnÄ… strukturÄ™ systemu diagnostycznego opartego na metodach sztucznej inteligencji. Przedstawiono róşne metody inteligentne, ktĂłre mogÄ… zostać zastosowane w systemie dziaĹ‚ajÄ…cym w trybie on-line. NastÄ™pnie omĂłwiono ogĂłlnÄ… architekturÄ™ sztucznej sieci neuronowej oraz jej cechy szczegĂłlnie istotne z punktu widzenia detekcji i lokalizacji uszkodzeĹ„. Specyficzne architektury sieci wraz z ich zastosowaniami diagnostycznymi przedstawiono w szczegółach. Na przykĹ‚adzie filtru dolnoprzepustowego 5. rzÄ™du przedstawiono dziaĹ‚anie metody diagnostycznej wykorzystujÄ…cej sieć neuronowÄ… typu RBF. OmĂłwiono moĹźliwoĹ›ci i ograniczenia stosowalnoĹ›ci sztucznych sieci neuronowych jako narzÄ™dzia diagnostycznego. & X * * "F *

Piotr Bilski, PhD, DSc 9 ) % % % ? 9 +D-- R % ? * 7 " ' # ! 7 @ * U 7 8 0 9 * B * ,&&+ V X * ,&&. V X * ,&+O "0 % / 0 7 U 7 8 0 B " @ 0 * ' # ! 7 @ * % ? 7 * 7 * " * 7 ! " 7 7 * " * " ! " % ? " "9 7 U;;; UB;ER @ +& R( /8 ! 7 0 B " U;;; @ U " B 0 " ;K " / % ? 7 0 + 9 C$ V+D 7 " M 8 X .- 7 0 - 9 %

32

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 33–39, DOI: 10.14313/PAR_226/33

( 0 ! 9 * B/@(/SG " / 2 " 3 % - 4 " # @ * ' ; E " F % * $- -&0$+$

& %&) In this paper, low cost air levitation project is presented as a teaching tool for control engineering. Air levitation control system is built as a classroom demonstration device and laboratory stand. The laboratory stand provides a new plant to control for students of control engineering. It is comprised of Arduino Mega 2560, plexiglass, metal elements and 3D printed parts. 8 X 0 9 * * ! 0 " " "

1. Introduction Student access to laboratory experiments is critical in education because engineering is a practical discipline. Universities give huge financial support in providing traditional laboratory stands for physics, mathematics, robotics and other fields of science. Advanced learning technologies have emerged to enhance learning, support new inventions and improve interest in engineering studies. Laboratories are a common part of engineering education, therefore more and more universities began to build more low-cost laboratory stands. Research shows that hands-on laboratory experiments help students understand and apply course material [1, 2]. A classroom demonstration device is always very helpful in teaching engineering courses particularly for control engineering and robotics. With the rise in popularity of using low-cost hardware there are new alternatives to teach control engineering in practice. Some affordable laboratory devices for engineering education have already been developed [3–11], such as the Mobile Studio IOBoard used in introductory circuits courses [6]. One of the devices which are able to teach a wide range of algorithms used in control engineering are levitation laboratory stands. Levitation project systems have long been used in control system laboratories [12–14]. Levitation is a process in which an object is suspended against gravity by a physical force. Many methods can be used as the levitating medium, including magnetic repulsion, viscous liquids, sound waves and air currents. Interesting example of levitation is based on air flow. Air levitation uses an air stream provided by a fan to obtain the levitating force on a ping-pong ball. This phenomenon stems from Bernoulli principle [15]. Controlling the ping-pong ball is a challenging task and it requires a control

# & *: X ; % )*" % " # ) ' &.%++%,&+- % +,%+,%,&+- % ! "" # $%&

system. The air levitation control system is considered as an interesting and impressive device for educational purpose. These projects are appropriate for lab stations, but they require custom construction of the stand and dissipate considerable power. This kind of projects are good teaching tools and help to teach control theory. In addition, the system is simple and small that is very convenient to be carried from class to class. Moreover, it requires a little space and little amount of power. This kind of laboratory stand can be an environment for implementing a variety of controllers, for instance: proportional-integral-derivative controller, hybrid controller, predictive controller, fuzzy logic controller and others which are used for nonlinear systems. In this paper, portable and affordable laboratory stand is designed to support the accompanying curriculum for the introductory controls course in control engineering at the Faculty of Electrical Engineering at West Pomeranian University of Technology in Szczecin. In particular, a description of the air levitation laboratory stand is presented and some example with identification, optimization and proportional-integral-derivative controller. The objective is to design low-cost stand with educational functionality. The laboratory stand uses new technology tools: Arduino Mega 2560 and MATLAB/Simulink. This stand increases the accessibility of the controls laboratory experience for students, can result in improvement of the level of teaching and is a good teaching tool for general engineering students. The stand design consists of Arduino Mega 2560, an axial box fan usually used for cooling electrical equipment, sonar sensor and the various circuits to drive the motor, to measure speed, and perform identification. The objective of this system is to enable endto-end student implementation of a variety of control systems. This includes implementation of sophisticated system identification, design of control algorithms, and experimental verification. One of the primary objectives in designing the air levitation lab stand was to ensure that it could be easily adopted by any student, regardless of how they want to learn. A primary objective of the air levitation stand is to provide students with a testbed on which they can develop and empirically verify control algorithms.

33


Low-cost air levitation laboratory stand using MATLAB/Simulink and Arduino

Fig. 1. Scheme of air levitation laboratory stand Rys. 1. Schemat stanowiska laboratoryjnego do realizacji zadania lewitacji powietrznej

Fig. 2. An assembled air levitation system. The controller senses the position of the object with ultrasonic sensor and drives the current in the fan to maintain levitation Rys. 2. Zbudowane stanowisko laboratoryjne do lewitacji powietrznej. Sterownik wyznacza połoşenie obiektu za pomocą czujnika ultradźwiękowego i wypracowuje sygnał sterujący do wentylatora, tak aby obiekt lewitował w powietrzu

Y. 9, ,

The air levitation laboratory stand presented in this paper has a minimalist design in order to be cheap and easy to replicate, rebuild and repair. The system has been built using the following components presented in fig.1: 1) an ultrasonic sensor, 2) a plexiglass tube, 3) a ping-pong ball, 4) a wooden plate with a hole 5) a 3D printed cylinder, 6) plexiglass plates, 7) a fan, 8) a control unit and 9) threaded rods. Figure 2 shows an assembled air levitation system. In order to achieve an air stream capable of levitating a ping pong ball, a fan with high air volume and static pressure was required. Several fan styles were considered for this project including a centrifugal and a axial fan. The final source of air is an DC axial fan with radius of 4.5 cm. It is inserted into a hole in a horizontal sheet of plexiglass, blowing upwards. 3D printed element in the shape of roller and cone (black element in the bottom of the pipe) is to concentrate the air flow directly from the fan in the bottom. The fan is controlled by Pulse-Width Modulation (PWM) signal. The Low-Voltage H-Bridge Driver DRV883x can supply up to 1.8 A of output current. It operates on a motor power supply voltage from 0 V to 11 V. Once the fan is chosen, a proper outlet port and connector is needed. In particular, the system is designed with Arduino self-designed shield. The main controller of the system is Arduino Mega 2560. To measure the distance of the ping-pong ball from the device, both sonar and infrared sensors were tested. Tested Infra-Red (IR) Sharp distance sensors. have inadequate detection ranges for the ball levitation task, with a deadband of about 10–20 cm for measurement up to 100 cm, while sonar offered detection at distances from 2 cm to 200 cm with a ranging accuracy that can reach up to 3 mm. Other components of the system are plexiglass, metal bars, leds, buttons and metal holder for sensor, which provides stable position over the pipe to allow air flow.

34

P

O

M

I

A

R

Y

•

A

U

T

O

M

Diagram of the air levitation system is shown in fig. 3. In this system, the position of the levitated object is measured by a ultrasonic sensor. The output voltage of the motor drives the input of a low-cost motor drive, which produces a pulsewidth modulated signal for fan control. This PWM signal controls air flow in the pipe.

{. The dynamic equation for air levitation system is obtained on the basis of the Newton’s second law of motion. The aerodynamic lift has been studied in [16–18]. Air levitation is system

Fig. 3. Diagram of air levitation system. The position of the levitated object is sensed by the ultrasonic sensor: HC-SR04. The output voltage of the sensor drives the input of the fan. The controller produces a PWM signal to the fan which controls the air flow Rys. 3. Schemat systemu lewitacji powietrznej. Pozycja obiektu lewitującego jest mierzona przez czujnik ultradźwiękowy: HC-SR04. Napięcie wyjściowe czujnika wpływa na wartość sygnału sterującego wentylatorem. Sterownik wytwarza sygnał PWM dla wentylatora, który z kolei steruje przepływem powietrza

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


consists of a ping-pong ball of mass m, which is placed underneath the fan at distance x in plexiglass. The current flowing into the fan will generate air flow force to attract the ball bearing. The net force between the air flow force and gravitational force will induce an up or down motion of the ball bearing. The ultrasonic sensor measures the distance between the bottom of the pipe and the ball. In this way, sensor provides the information about position of the ball. The system’s dynamic equations can be obtained as:

results for the designed control system. Due to the complexity of the system, linear model is obtained. Determining the response of a system at an operating point is a critical step in system and controller design. To find a linear model of the designed system, linearization of air levitation is calculated. The operating point has the following values: x0 = 45 cm (3) u0 = 230

(1) where: Fw – air flow force (function), w – speed of the fan, t – delay associated with the moment of inertia of a fan, c – fan coefficient (shape, number of blades and radius), m – mass of the ball, g – gravitational acceleration, x – distance between ultrasonic sensor and ball. The air levitation system is an unstable nonlinear system. The air flow force is a function of three parameters: speed of the fan, fan coefficient (shapes, blades and radius) and delay associated with the moment of inertia. As control systems are concerned, this system is with one input and one output (SISO). The input signal is the air flow force generated by fan and output is the distance between the sensor and the top of the ball. The system dynamic equations are nonlinear. This is due to nonlinear description of the air stream, which subjects to the Bernoulli’s equation [19]. This equation makes an interesting prediction about the relationship between the pressure and the speed of a moving ideal fluid: (2) where: p1, p2 – static pressure of air at the cross section (pressure energy), r – density of the flowing air, h1, h2 – distance between ultrasonic sensor and ball, v1, v2 – mean velocity of fluid flow at the cross section The air levitation works on Bernoulli principle: the faster air moves, the lower static pressure is, and the higher is dynamic pressure. In the experiments, one side of the ping balls is in contact with a low pressure (due to the airflow) which creates a pressure gradient, the other side of the ball is in contact with a higher pressure which results in the ball being pushed towards the region of low pressure. Placing ball in the tube allow to achieve higher heights but the Bernoulli principle still works. This is because the tube accumulates the air increasing the speed around the ball and allow the ball to go higher. As air is blown out from the fan, air flow at high speed and this creates a region of low pressure across the top of the pipe. The still air around the ball is at a higher pressure and pushes on the ball and causes it to stay in the air.

where u0 is a PWM output signal, which ranges from 0 to 255 and represents the value of the PWM duty cycle. The point (3) is chosen because it provides stable behavior of the system: the ball is able to float slightly in the center of the pipe for a few seconds. In fact, operating points with a strongly nonlinear character are not suitable for linearization. Next, an offset in model output and model input have to be included:

(4)

Input-output data from real-time experiment is used to apply least-squares method to the process of identification. First, the input signal in fig. 4 is generated. In the next step of identification process, having input and output data from the same experiment allows conducting model identification. However, before that, the proper model structure is selected. For discrete-time model estimation, transfer function with one pole and without zeros is chosen. This model is selected by an empirical method – it shows relatively good fit to the process at the smallest possible order of the model. Nonetheless, higher-order models has been also tested. In this way, the discrete-time transfer function is obtained in the following form:

(5)

The identification provides percent fit to estimation data equals 77.32%. The model identified around the operating point is linear and has a sample time of 0.2 s. Figure 5 depicts data collected directly from the designed real-time system and the response of the calculated model described by (5).

^. _& _ & In this section the results of the real-time research are presented. The objective of the experiment is to levitate a ping pong ball in a transparent tube. An aerodynamic force is produced by an axial fan and applied to a ping pong ball in a plexiglass tube. The ball position in the tube is measured with a distance sensor. A proportional-integral-derivative controller (PID) is designed in Simulink and implemented on Arduino Mega 2560. System identification and optimization techniques are used to control this nonlinear system. The main purpose of this section is to show the identification and the optimization

Fig. 4. Input signal for the identification experiment Rys. 4. Zadany sygnał wejściowy na potrzeby eksperymentu identyfikacyjnego

35


Low-cost air levitation laboratory stand using MATLAB/Simulink and Arduino There is a input signal for verification in fig. 6. and results are presented in fig. 7. It can be seen, that the obtained model has similar output signal as the real-time system. Thus, the calculated model is correct and can be used in the next task: optimization. In order to tune parameters of PID controller, the optimization model is needed. First, the optimization task is explained. In fig. 8 the optimization model is presented where k1, k2, k3 are all non-negative coefficients for the proportional, integral, and derivative terms. This is an example of model for students which can be used as an introduction to control systems and optimization. In the optimization model, the error is presented as following equation:

It is important to highlight that, verification of new model is necessary to fulfill the identification task. It examines the behavior of the model with a different input signal. This step is crucial because it shows the estimation error, decides the correctness of the model and its usefulness.

e~ = x~ref − x~

(6)

where ~ xref is the set point and is an actual reading from the sensor and ~ x is the process value (current position of the ball). By tuning the three parameters of the model, a PID controller can deal with specific process requirements. Consider, the problem of finding the optimal values of the parameters of a dynamic system in fig. 8. In the case of air levitation system cost function can be defined by the following relations: Fig. 5. Model output and plant output – identification Rys. 5. Sygnał wyjściowy modelu i obiektu rzeczywistego – identyfikacja

[

]

J = ∑ x~ref (k ) − x~ (k ) 2 k

(7)

The optimization problem can be defined in the following form: (8) where optimization variables and constraints are dependent on the controller structure: k = [k1, k2, k3], k1 t 0, k2 t 0, k3 t 0

(9)

Tuning of the control system is based on the genetic algorithm optimization with default parameters: population size: 50, initial population range: [–10; 10] and crossover fraction: 0.8. In the result of optimization process, the PID coefficients have following values: Fig. 6. Input signal for the verification of the evaluated model in the process of identification Rys. 6. Sygnał wejściowy do weryfikacji wyznaczonego modelu w procesie identyfikacji

k1 = 5.6, k2 = 0.0004, k3 = 0.0025 (10) The primary software package is MATLAB and Simulink. A useful set of MATLAB/Simulink and Arduino Support

Fig. 7. Model output and plant output – verification Rys. 7. Sygnał wyjściowy modelu i obiektu rzeczywistego – weryfikacja

Fig. 8. Model used for the optimization problem described by (8) Rys. 8. Model zastosowany do problemu optymalizacji opisanego zależnością (8)

36

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


for Simulink package tools provides communications blocks. These libraries are very helpful in setting up built in functions. There are also several predefined functions in MATLAB and Simulink that make it easier for students to develop code. Students can manually tune a PID controller in simulation

Fig. 9. Control loop of air levitation control in Simulink Rys. 9. Pętla sterowania obiektem lewitacji powietrznej w programie Simulink

Fig. 10. Reference value of height and real-time air levitation system response Rys. 10. Wartość referencyjna wysokości i odpowiedź systemu lewitacji w czasie rzeczywistym

before verifying its performance in real time system. All of the models are run in Simulink’s external mode or are deployed to hardware via USB connection and work standalone. External mode allows the data to be viewed while the simulation is running. When the Simulink model is run in External mode, data can collected and viewed as the code runs via scopes or other sinks provided in Simulink. The models were built and tested in MATLAB Release 2014b. An S-function builder block is used to generate the signal from ultrasonic sensor. Communication blocks from Arduino Support package for Simulink are used for manual interface and fan control. The real-time closed loop control system is presented in fig. 9. The designed control system uses PID to keep the ball in the reference position. To observe the performance on a physical air levitation stand, the obtained coefficients (10) are used. The reference value and output of the air levitation real-time system are shown in fig. 10. It can be seen in fig. 10 that, values from the sonar sensor are with some noise. Despite of this, the ping-pong ball reaches the reference position with small oscillations. The input signal of the air levitation system is presented in fig. 11. Output of the PID controller is limited: from 212 to 255 because for this values of speed, ping-pong ball is able to achieve different positions. The value of 229.5 corresponds to position in which the ball is in the center of the tube.

Z. An intuitive interface and easy programming environment in Simulink is proper for control engineer who do not have an advanced knowledge in programming but in control theory. This low-cost air suspension stand provides students with a plant for implementing control algorithms. Moreover, the ultrasonic sensor and a PC fan is an inexpensive and adequate solution to make the laboratory stand replicable and mobile. The total cost of the laboratory stand provided to the students is under $80. Meeting these goal made it possible to let the students deeper their knowledge about control systems using real-time hardware and software. These components enabled students to work providing all the capabilities of a traditional laboratory. The results of the work can be seen in the video [20]. The great success of this stand has trigger improvements in other laboratories. In addition, there are also plans to use the designed laboratory stand as low-cost platform for research.

References

Fig. 11. Input signal of real-time air levitation system Rys. 11. Sygnał wejściowy systemu lewitacji w czasie rzeczywistym

1. Ma J., Nickerson J.V., Hands-on, simulated, and remote laboratories: A comparative literature review, “ACM Computing Surveysâ€?, Vol. 38, No. 3, 2006, DOI: 10.1145/1132960.1132961. 2. Feisel L.D., Rosa A.J., The role of the laboratory in undergraduate engineering education. Journal of Engineering Education, Vol. 94, Iss. 1, 2005, 121–130, DOI: 10.1002/j.2168-9830.2005.tb00833.x. 3. Wojtulewicz A., Chaber P., Ĺ awryĹ„czuk M., Multiple-input multiple-output laboratory stand for process control education. [in:] 21st International Conference on Methods and Models in Automation and Robotics (MMAR), 2016, 466–471. 4. Artigas J.I., BarragĂĄn L.A., Llorente S., Marco A., LucĂ­a O., Low-Cost Magnetic Levitation System for Electronics Learning, 4th IEEE International Conference on E-Learning in Industrial Electronics, 2010, 55–60, DOI: 10.1109/ICELIE.2010.5669845.

37


Low-cost air levitation laboratory stand using MATLAB/Simulink and Arduino

13. Lundberg K.H.; Lilienkamp K.A.; Marsden G., Low-cost magnetic levitation project kits. “IEEE Control Systemsâ€?, Vol. 24, Iss. 5, 2004, 65–69, DOI: 10.1109/MCS.2004.1337863. 14. Glehn G., Appunn R., Hameyer K., A small scale magnetically levitated train for project-based laboratory education. “Archives of Electrical Engineeringâ€?, Vol. 64, Nr 4, 2015, 617–628, DOI: 10.1515/aee-2015-0046. 15. Waltham C., Bendall S., Kotlicki A., Bernoulli levitation. “American Journal of Physicsâ€?, Vol. 71, No. 2, 2003, 176179, DOI: 10.1119/1.1524162. 16. Timmerman P., van der Weelea J.P., On the rise and fall of a ball with linear or quadratic drag. “American Journal of Physicsâ€?, Vol. 67, Iss. 6, 1999, 538–546, DOI: 10.1119/1.19320. 17. Jernigan S.R., Fahmy Y., Buckner G.D., Implementing a Remote Laboratory Experience Into a Joint Engineering Degree Program: Aerodynamic Levitation of a Beach Ball. “IEEE Transactions on Educationâ€?, Vol. 52, Iss. 2, 2009, 205–213, DOI: 10.1109/TE.2008.924217. 18. EscaĂąo J.M., Ortega M.G., Rubio F.R., Position control of a pneumatic levitation system. Proceedings of the 10th IEEE International Conference on Emerging Technologies and Factory Automation, Catania, Italy, 19–22 September 2006, DOI: 10.1109/ETFA.2005.1612568. 19. Qin R., Duan C., The principle and applications of Bernoulli equation. Journal of Physics: Conference Series (Vol. 916, No. 1, p. 012038), 2017, IOP Publishing, DOI: 10.1088/1742-6596/916/1/012038. 20. ChoĹ‚odowicz E., Air levitation of ping-pong PID and inverse model control in MATLAB/Simulink, [on-line] https://www.youtube.com/watch?v=-ym_oQwLcf0, available 1.09.2017.

5. Knapkiewicz P., Melnyk M., Teslyuk V., Dziuban J., Lobur M., Szermer M., Mechatronic laboratory stand. [in:] XII International Conference on Perspective Technologies and Methods in MEMS Design (MEMSTECH), 2016, 31–33, DOI: 10.1109/MEMSTECH.2016.7507514. 6. Millard D., Chouikha M., Berry F., Improving student intuition via Rensselaer’s new mobile studio pedagogy. [in:] Proceedings of the 114th Annual ASEE Conference and Exposition, Honolulu, HI, 2007. 7. Czyba R., Niezabitowski M., Sikora S., Construction of laboratory stand and regulation in ABS car system. [in:] 17th International Carpathian Control Conference (ICCC), 2016 140–145, DOI: 10.1109/CarpathianCC.2016.7501082. 8. Reck R.M., Sreenivas R.S., Developing an Affordable and Portable Control Systems Laboratory Kit with a Raspberry Pi. “Electronics�, 5(3), 2016, 36, DOI: 10.3390/electronics5030036. 9. Aktan B., Bohus C.A., Crowl L.A., Shor M.H., Distance learning applied to control engineering laboratories. IEEE Transactions on Education, Vol. 39, Iss. 3, 1996, 320–326, DOI: 10.1109/13.538754. 10. Dixon W.E., Dawson D.M., Costic B.T., Queiroz M.S.D., A MATLAB-based control systems laboratory experience for undergraduate students: Toward standardization and shared resources. “IEEE Transactions on Education�, Vol. 45, Iss. 3, 2002, 218–226, DOI: 10.1109/TE.2002.1024613. 11. Gunasekaran M., Potluri R., Low-Cost Undergraduate Control Systems Experiments Using Microcontroller-Based Control of a DC Motor. “IEEE Transactions on Education�, Vol. 55, Iss. 4, 2012, 508–516, DOI: 10.1109/TE.2012.2192441. 12. Lilienkamp K.A., Low-cost magnetic levitation project kits for teaching feedback system design. Proceedings of the 2004 American Control Conference, IEEE, Vol. 2, 1308– 1313, 2004.

I 9 Y 9 " / * " B/@(/SG " 0& % ) W pracy przedstawiono projekt stanowiska laboratoryjnego do lewitacji powietrznej. Obiekt zostaĹ‚ zaprojektowany oraz zbudowany dla celĂłw edukacyjnych oraz naukowych w dziedzinie szeroko pojÄ™tej automatyki oraz teorii sterowania. Ukazane w pracy stanowisko wykorzystuje nowoczesne narzÄ™dzia inĹźynierskie: Arduino Mega 2560 oraz MATLAB/Simulink. Celem tego projektu jest umoĹźliwienie studentom wdraĹźania róşnych systemĂłw sterowania. ObejmujÄ™ to implementacjÄ™ identyfikacji systemu, opracowanie algorytmĂłw sterowania oraz przeprowadzenie weryfikacji eksperymentalnej. & X 9 Y 9 Y

38

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


2 " 3 %

4 - 1- 10%

% )*" % "

) % %

A 7 ; ; * 0 * ' " # ! 7 @ * % ' 7 B 7 7 7 Z [U [U6 % ' 7 B 7 ? * ; ,&+CG,&+. ,&+.G,&+-% 8 " * " 7 " " %

/ 7 " 7 B " ' " 0 # ! 7 @ * % @ 7 " 0 0 " " " 0! * " 0 " " 9 " %

39


NR 3/2015

40

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 41–47, DOI: 10.14313/PAR_226/41

F " " "F " Jacek Michalski1, Piotr Kozierski2, 1- 7& % 1 +

' ; U / " 8 9 U Y U 7 " % $ .&0D.C ' U 7 " U / " 8 9 % $ .&0D.C

,

Streszczenie: W pracy poruszono problem estymacji stanu dla ukĹ‚adĂłw dynamicznych oraz przedstawiono wybrane jego rozwiÄ…zania. Zaproponowano cztery metody estymacji: rozszerzony filtr Kalmana, bezĹ›ladowy filtr Kalmana, filtr czÄ…steczkowy oraz filtr Kalmana, stosowany dla obiektĂłw liniowych. Metody te zastosowano dla trzech obiektĂłw nieliniowych oraz dla dwĂłch obiektĂłw liniowych (systemy jedno- i wielowymiarowe). Wszystkie obiekty zostaĹ‚y opisane za pomocÄ… rĂłwnaĹ„ stanu. Przedstawiono takĹźe trzy róşne wskaĹşniki jakoĹ›ci, reprezentujÄ…ce bĹ‚Ä™dy wzglÄ™dne oraz bezwzglÄ™dne, a takĹźe porĂłwnano ich dziaĹ‚anie dla róşnego typu obiektĂłw. W wyniku przeprowadzonych symulacji stwierdzono, Ĺźe najlepszÄ… jakość estymacji zapewnia filtr czÄ…steczkowy, ale jednoczeĹ›nie ta metoda jest najwolniejsza. ) # ' X " " T E " T E " 9 T E " T Q P

1. Wprowadzenie Estymacja stanu jest to bardzo waşna dziedzina nauki, szczególnie przy analizie systemów dynamicznych w środowisku, gdzie oddziałują takşe czynniki stochastyczne. Metody estymacji mają szerokie zastosowania w nauce i technice, np. do analizy sieci elektroenergetycznej [1, 2], w napędzie elektrycznym [3] czy teş do analizy lotów robotów latających [4, 5]. Estymacja stanu jest stosowana w praktycznych rozwiązaniach od ponad 50 lat. W 1960 r. Schweppe opublikował trzy artykuły [6–8], w których uzasadniał potrzebę zastosowania estymacji stanu sieci elektroenergetycznej, a takşe zaproponował konkretne rozwiązanie – metodę waşonych najmniejszych kwadratów WLS (ang. Weighted Least Squares). Jest to jednak metoda estymacji statycznej, która znacznie ustępuje metodom dynamicznym. W 1960 r. Rudolf Kalman zaproponował algorytm do estymacji stanu obiektów dynamicznych [9], który stał się powszechnie wykorzystywanym standardem, podobnie jak jego algorytm przeznaczony do obiektów nieliniowych – rozszerzony filtr Kalmana EKF (ang. Extented Kalman Filter). W 1993 r. Gordon, Salmond i Smith zaproponowali inny algorytm estymacji dynamicznej, tj. filtr cząsteczkowy PF (ang. Particle Filter) [10]. Cały czas tworzone są nowe metody estymacji dynamicznej, głównie będące modyfikacjami tych juş istnieją-

# & *: X M B % ) % # ) ' ,J%&J%,&+- % +.%+&%,&+- %

! "" # $%&

cych, jak na przykĹ‚ad zmieszana metoda czÄ…steczkowego filtru Kalmana MKPF (ang. Mixed Kalman Particle Filter) [11]. W artykule autorzy omĂłwili podstawowe metody estymacji dynamicznej, tj. trzy filtry Kalmana (liniowy, rozszerzony oraz bezĹ›ladowy) oraz filtr czÄ…steczkowy. PorĂłwnano te metody wykorzystujÄ…c trzy wskaĹşniki jakoĹ›ci, a takĹźe pod wzglÄ™dem szybkoĹ›ci obliczeĹ„. W drugim rozdziale sformuĹ‚owano rozwiÄ…zywany problem, w trzecim rozdziale przedstawiono zastosowane metody estymacji oraz ich algorytmy. W czwartym i piÄ…tym pokazano odpowiednio modele uĹźytych obiektĂłw i wykorzystane wskaĹşniki jakoĹ›ci. RozdziaĹ‚ szĂłsty zawiera wyniki symulacji z uĹźyciem róşnych metod oraz obiektĂłw. Wnioski i uwagi koĹ„cowe zawarte sÄ… w rozdziale siĂłdmym.

Y. ) & Rozwaşany jest układ dany równaniami stanu:

(

)

⎧⎪x (k +1) = f x (k ) , u (k ) ; k + v (k ) ⎨ (k ) ⎪⎊y = h x (k ) + n (k )

( )

(1)

gdzie: x(k) – wektor stanu w k-tej chwili prĂłbkowania, u(k) – wektor wejść, y(k) – wektor wyjść (pomiarĂłw), v(k) – wektor szumĂłw wewnÄ™trznych, n(k) – wektor szumĂłw pomiarowych, f(¡) i h(¡) to wektory funkcji nieliniowych, odpowiednio: przejĹ›cia oraz wyjĹ›cia. Postawionym w artykule zadaniem jest odtworzenie wartoĹ›ci zmiennych stanu na podstawie dostÄ™pnych pomiarowo wyjść i znanych wejść ukĹ‚adu.

{. *

{.\. | 8 Filtr Kalmana KF (ang. Kalman Filter) stosuje siÄ™ do obiektĂłw danych rĂłwnaniem róşnicowym liniowym. ZarĂłwno w KF, jak i caĹ‚ej reszcie omawianych filtrĂłw Kalmana, wejĹ›cia i wyj-

41


PorĂłwnanie metod estymacji stanu systemĂłw dynamicznych

{.{. } '~ 8

ścia układów muszą być dostępne pomiarowo. Naleşy równieş załoşyć, şe zakłócenia oddziałujące na stan układu oraz szumy pomiarowe mają rozkład normalny o znanych wariancjach i zerowych wartościach oczekiwanych. Wektory szumów wewnętrznych i pomiarowych muszą być wzajemnie niezaleşne. W filtrze Kalmana obiekt jest dany równaniami stanu w postaci liniowej:

⎧⎪x (k +1) = Ax (k ) + Bu (k ) + v (k ) ⎨ (k ) ⎪⎊y = Cx (k ) + n (k )

Oprócz dwóch podstawowych kroków zawartych w EKF, UKF zawiera takşe wybór punktów sigma oraz bezśladową transformację (ang. unscented transformation). Załoşenia odnośnie szumów są takie, jak w dwóch poprzednich metodach. Algorytm UKF dla modelu (1) przedstawia się następująco: stan początkowy – wektor wartości losowych o znanych wartościach oczekiwanych:

(2)

[

P

[

]

= I −K C P

)(

)

{(

Xˆ (k −1|k −1) = xˆj(k −1|k −1),W j

)

| j = 0, ..., 2N x

}

(13)

(3)

xˆ(k |k ) = xˆ(k |k −1) + K (k ) y (k ) − Cxˆ(k |k −1) (k )

(

]

wybĂłr punktĂłw Sigma:

(14)

(4)

⎛ ⎞ Nx xˆi(k − 1|k − 1) = xˆ(k − 1|k − 1) + ⎜ P (k − 1|k − 1) âŽ&#x; , ⎜ 1 − W0 âŽ&#x; âŽ? ⎠i

i = 1, ..., N x (15)

(5)

⎛ ⎞ Nx xˆi(k+−N1x|k −1) = xˆ(k −1|k −1) − ⎜ P (k −1|k −1) âŽ&#x; , ⎜ 1 − W0 âŽ&#x; âŽ? ⎠i

i = 1, ..., N x (16)

− etap filtracji (rĂłwnania aktualizacji pomiarĂłw):

(k |k )

Ο (0|0 ) = E xˆ(0|0 )

T P (0|0 ) = E ⎥ xˆ(0|0 ) − Îź (0|0 ) xˆ(0|0 ) − Îź (0|0 ) ⎤ ⎢⎣ ⎼⎌

gdzie: AN x Ă—N x – macierz stanu, BN x Ă—N u – macierz wejść, C N v Ă—N x – macierz wyjść, Nx – wymiar przestrzeni stanu, Nu – liczba wejść, Ny – liczba wyjść ukĹ‚adu. Algorytm filtru Kalmana skĹ‚ada siÄ™ z dwĂłch etapĂłw: − etap predykcji (rĂłwnania aktualizacji czasu):

xˆ(k |k −1) = Axˆ(k −1|k −1) + Bu (k −1)

[

xˆ(0|0 ) :

]

(6) gdzie:

(k |k −1)

⎛ ⎞ Nx ⎜ P (k −1|k −1) âŽ&#x; ⎜ 1 − W0 âŽ&#x; âŽ? ⎠i

(7)

gdzie: Q – macierz kowariancji szumów przetwarzania (diagonalna), R – macierz kowariancji szumów pomiarowych (diagonalna), K(k) – wzmocnienie Kalmana, P(k|k) – macierz kowariancji, I – macierz jednostkowa o wymiarach Nx × Nx.

– i-ta kolumna macierzy pierwiastkĂłw kwadratowych z wyraĹźenia Nx P (k −1|k −1) , 1 − W0

{.Y. ' ' ' 8 Ta metoda (a takĹźe wszystkie nastÄ™pne) przeznaczona jest do wykorzystania w obiektach nieliniowych (1). ZaĹ‚oĹźenia odnoĹ›nie szumĂłw sÄ… takie same jak dla KF. Algorytm takĹźe skĹ‚ada siÄ™ z dwĂłch etapĂłw: − etap predykcji (rĂłwnania aktualizacji czasu):

(

xˆ(k |k −1) = f xˆ(k −1|k −1), u (k −1) ; k

)

Wj =

(9)

(

[H

P (k |k −1)H (k ) + R

(k )

T

[

(

xˆ(k |k ) = xˆ(k |k −1) + K (k ) y (k ) − h xˆ(k |k −1)

]

−1

)

xˆj(k |k −1) = f xˆj(k −1|k −1) , u (k −1) ; k ,

etap filtracji (rĂłwnania aktualizacji pomiarĂłw): T

j = 1, ... , 2N x

(17)

− etap prognozowania modelu (aktualizacji czasu):

T

K (k ) = P (k |k −1)H (k )

1 − W0 , 2N x

(8)

P (k |k −1) = F (k −1)P (k −1|k −1)F (k −1) + Q −

odpowiadająca za i-tą zmienną stanu. Wagi muszą spełniać warunek:

P (k |k − 1) =

(10)

xˆ(k |k −1) =

2N x

∑W j xˆj(k |k −1)

(18)

j =0

∑W j (xˆj(k |k −1) − xˆ(k |k −1) ) (xˆj(k |k −1) − xˆ(k |k −1) ) 2n

T

+ Q (19)

j =0

)]

(11)

(20)

(12)

(21)

gdzie: F (k−1) – macierz jakobianowa obliczana jako F (k −1) = ∇fk −1 (k −1|k −1 ), H(k) – macierz jakobianowa obliczana jako

(22)

[

]

P (k |k ) = I − K (k )H (k ) P (k |k −1)

xˆ

H (k ) = ∇hk

42

xˆ(k |k −1 ).

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


! " #

^. } #

− krok estymacji pomiarĂłw: (23)

(

xˆ(k |k ) = xˆ(k |k −1) + K (k ) y (k ) − yˆ(k |k −1)

P (k |k ) = P (k |k −1) − K (k )Py~(k |k −1)K (k )

)

(24)

T

(25)

{.^. | ': '# Ta metoda róşni siÄ™ od poprzednich tym, Ĺźe szumy wewnÄ™trzne oraz pomiarowe nie muszÄ… mieć rozkĹ‚adu Gaussa. Zasada dziaĹ‚ania filtru czÄ…steczkowego opiera siÄ™ na dziaĹ‚aniu rekursywnego filtru Bayesa:

(

)

p x (k ) | Y (k ) =

(

) (

p y (k ) | x (k ) ⋅ p x (k ) | Y (k −1) p y (k ) | Y (k −1)

(

)

)

(26)

gdzie: Y(k) – zbiór pomiarów wyjścia z k chwil początkowych, – funkcja gęstości prawdopodobieństwa PDF (ang. Probability Density Function) a posteriori, – wiarygodność (ang. likelihood), – PDF a priori, – współczynnik normujący (ang. evidence). W algorytmie filtru cząsteczkowego PDF jest reprezentowana przez zestaw cząsteczek. Kaşda cząsteczka jest złoşona z wartości xi (wektor zmiennych stanu) oraz wagi qi (im większa jest waga cząsteczki, tym większe prawdopodobieństwo, şe cząsteczka przyjmuje prawdziwa wartość wektora stanu). Stąd i-ta cząstka moşe zostać zapisana jako {xi, qi}. Gdy liczba cząsteczek Np jest wystarczająco duşa, PDF a posteriori moşna zapisać jako:

Pierwsze dwa obiekty nie majÄ… sygnaĹ‚Ăłw wejĹ›ciowych, zatem sÄ… autonomiczne, a ich zmiana stanu spowodowana jest szumem wewnÄ™trznym. Ob1 jest wykorzystywany bardzo czÄ™sto do badania filtrĂłw czÄ…steczkowych. ZostaĹ‚ wykorzystany m.in. w [10, 13], a w publikacji [15] autor napisaĹ‚, Ĺźe obiekt ten pierwotnie zostaĹ‚ zaproponowany przez Netto, Gimeno i Mendes w 1978 r. Ob2 róşni siÄ™ od Ob1 funkcjÄ… pomiarowÄ…, ktĂłra w tym obiekcie jest liniowa. Uproszczona zostaĹ‚a teĹź postać funkcji przejĹ›cia przez usuniÄ™cie funkcji trygonometrycznej. Systemy wielowymiarowe – nieliniowy Ob3 oraz liniowy Ob4 – zostaĹ‚y zaproponowane w [16]. Nie sÄ… to obiekty autonomiczne, majÄ… bowiem sygnaĹ‚y wejĹ›ciowe losowane z rĂłwnomiernych PDF. Ob5 jest to zdyskretyzowany z okresem prĂłbkowania Tp = 1 ms model silnika prÄ…du staĹ‚ego [17]. Parametry obiektu to: R = 4,5 :, L = 79 mH, k = 1,36 Vs, J = 0,024 kg¡m2, b = 0,005 kg¡m2/s. Zmienne stanu to odpowiednio prÄ…d twornika i prÄ™dkość kÄ…towa waĹ‚u. Na wyjĹ›cie wyprowadzono prÄ™dkość kÄ…towÄ…, a wejĹ›ciem sterujÄ…cym byĹ‚o napiÄ™cie na zaciskach. System symulowano w zamkniÄ™tej pÄ™tli sprzęşenia zwrotnego, wraz z regulatorem PI, zdyskretyzowanym z takim samym okresem Tp. Jako wartość zadanÄ… podano 100 rad/s. (Ob1)

v(k) ~ N(0; 10), n(k) ~ N(0; 1), x(0) = 0,1 (Ob2)

(27)

gdzie: d(¡) – delta Diraca. v(k) ~ N(0; 10), n(k) ~ N(0; 1), Algorytm dziaĹ‚ania PF przedstawia siÄ™ nastÄ™pujÄ…co: 1. Inicjalizacja. Wylosowanie wartoĹ›ci poczÄ…tkowych x i,(0) z rozkĹ‚adu gÄ™stoĹ›ci prawdopodobieĹ„stwa p(x(0)), ustawienie numeru iteracji k := 1. 2. Prognoza. Wylosowanie Np nowych czÄ…steczek z modelu przejĹ›cia xi,(k) ~ p(x(k)|xi,(k−1)). 3. Aktualizacja. Obliczenie wagi kaĹźdej z nowych czÄ…steczek na podstawie modelu pomiarowego qi,(k) = p(y(k)|xi,(k)). RozkĹ‚ad p(y(k)|xi,(k)) jest zaleĹźny od rodzaju zmiennej losowej, czyli moĹźna napisać, Ĺźe p(y(k)|xi,(k)) = p(n(k)). 4. Normalizacja. Skalowanie wag w taki sposĂłb, by ich suma byĹ‚a rĂłwna 1. 5. Resampling (powtĂłrne losowanie). Ponowne losowanie Np nowych czÄ…steczek, ale tylko spoĹ›rĂłd tych juĹź istniejÄ…cych. PrawdopodobieĹ„stwo wylosowania danej czÄ…steczki jest rĂłwne jej znormalizowanej wadze (wykorzystano resampling systematyczny – patrz [12]). 6. Koniec iteracji. Obliczenie estymaty dla kroku k, uaktualnienie numeru iteracji k := k+1, przejĹ›cie do kroku 2. WiÄ™cej informacji na temat dziaĹ‚ania PF moĹźna znaleźć w pracach [13, 14].

x(0) = 0,1 (Ob3)

v 1(k/)2 / 3 ~ N(0; 0,1), n1(k/)2 ~ N(0; 0,1), u 1(k/)2 / 3 ~ U [–1; 1], x(0) = [0,1 0,1 0,1]T

43


PorĂłwnanie metod estymacji stanu systemĂłw dynamicznych

(Ob4)

3

3

3

3

3

3

3

gdzie: k – numer kroku symulacji, M – liczba krokĂłw symulacji, i – numer zmiennej stanu (lub wyjĹ›cia – w Ξz), Nx – liczba zmiennych stanu, Ny – liczba wyjść ukĹ‚adu. Wartość yˆi(k ) to wartość wyjĹ›cia obliczona na podstawie estymowanej wartoĹ›ci wektora stanu xˆi(k ), a wartoĹ›ci z plusem oznaczajÄ… wartoĹ›ci prawdziwe.

v 1(k/)2 / 3 ~ N(0; 0,1), n1(k/)2 ~ N(0; 0,1), u 1(k/)2 / 3 ~ U [–1; 1] x(0) = [0 0 0]T

− (Ob5)

v 1(k/)2 ~ N(0; 0,01), n (k ) ~ N(0; 1) w(k) = 100

Rys. 1. Porównanie wskaźników jakości dla Ob1 Fig. 1. Comparison of quality indices for Ob1

x(0) = [0 0]T gdzie: U[a, b] – rozkĹ‚ad rĂłwnomierny z przedziaĹ‚u <a, b>, N(m, Ďƒ2) – rozkĹ‚ad normalny o wartoĹ›ci oczekiwanej m i wariancji Ďƒ2, w(k) – sygnaĹ‚ zadany.

Z. ; # # * # ~

Wskaźnik (30) reprezentuje błąd bezwzględny, natomiast (31) oraz (32) to błędy względne. Pochodzą one z pozycji [11, 18, 19].

(28) Rys. 2. Porównanie wskaźników jakości dla Ob2 Fig. 2. Comparison of quality indices for Ob2

RMSE i = MSE i

aRMSE =

βi =

Ξi =

44

1 Nx

Nx

∑ RMSE i

xˆi(k ) − x i+ (k ) , x i+ (k )

M

yˆ(k ) − y + (k )

1 M

k =1

1 M

∑ y i(k ) − y i+ (k ) ,

k =1

i

P

β =

Ξz =

i

O

M

(30)

i =1

∑

M

(29)

I

A

R

Nx

1 Nx

∑ βi

1 Ny

∑ Ξi

Y

(31)

i =1

Ny

(32)

Rys. 3. Porównanie wskaźników jakości dla Ob3; wskaźnik aRMSE został powiększony 10 razy Fig. 3. Comparison of quality indices for Ob3; aRMSE indicator has been increased 10 times

i =1

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


! " #

Tabela 2. Zestawienie czasów obliczeń dla wszystkich metod i obiektów (czas 1000 powtórzeń) Table 2. The calculation times for all methods and objects (time of 1000 repetitions)

Rys. 4. Porównanie wskaźników jakości dla Ob4; wskaźnik aRMSE został powiększony 10 razy Fig. 4. Comparison of quality indices for Ob4; aRMSE indicator has been increased 10 times

Obiekt

EKF (KF)

UKF

PF

Ob1

9,6 s

59,2 s

642,4 s

Ob2

9,4 s

58,6 s

147,2 s

Ob3

71,0 s

115,4 s

1640,1 s

Ob4

57,9 s

154,0 s

4601,4 s

Ob5

35,6 s

127,8 s

3579,4 s

6. Wyniki przeprowadzonych symulacji ZostaĹ‚y przeprowadzone symulacje o dĹ‚ugoĹ›ci M = 1000 krokĂłw. Symulacje dla kaĹźdego filtru i obiektu zostaĹ‚y powtĂłrzone 1000 razy, za kaĹźdym razem dla innego, losowo wygenerowanego przebiegu sygnaĹ‚Ăłw. Podane wskaĹşniki jakoĹ›ci obliczono jako wartoĹ›ci Ĺ›rednie, a wyniki podano wraz z odchyleniem standardowym wartoĹ›ci Ĺ›redniej na podstawie twierdzenia, Ĺźe wariancja wartoĹ›ci Ĺ›redniej jest m razy mniejsza od wariancji m-elementowej prĂłby [20]. W PF dla Ob2 liczba czÄ…steczek wynosiĹ‚a Np = 100, natomiast dla wszystkich pozostaĹ‚ych przypadkĂłw Np = 500. WskaĹşniki jakoĹ›ci dla kaĹźdego z obiektĂłw i róşnych metod zostaĹ‚y przedstawione na rysunkach 1–4, kaĹźdy dla kolejnego obiektu. Naniesiono rĂłwnieĹź 95% przedziaĹ‚ ufnoĹ›ci, czyli odchylenie o 2 w kaĹźdÄ… stronÄ™.

Rys. 5. PorĂłwnanie wskaĹşnikĂłw jakoĹ›ci dla Ob5; wskaĹşnik aRMSE zostaĹ‚ powiÄ™kszony 10 razy, β – 100 razy Fig. 5. Comparison of quality indices for Ob5; aRMSE indicator has been increased 10 times, β – 100 times

Tabela 1. Zestawienie wartości wskaźników jakości z zakresem 95% prawdopodobieństwa Table 1. The values of quality indicators with the 95% probability range Obiekt

Ob1

Ob2

Ob3

Metoda

EKF

UKF

PF

aRMSE

16,0822 Âą0,0506

6,2825 Âą0,0066

4,7100 Âą0,0178

b

5,8264 Âą1,1100

3,5953 Âą0,8606

1,2634 Âą0,1044

xz

22,1054 Âą3,5220

29,1577 Âą2,3966

12,5996 Âą2,0674

aRMSE

10,5043 Âą0,1050

10,0117 Âą0,0956

5,2705 Âą0,0308

b

2,5132 Âą0,5122

2,0963 Âą0,1640

1,9678 Âą0,8432

xz

4,4690 Âą0,6716

5,7627 Âą2,2584

1,7058 Âą0,1852

aRMSE

0,3421 Âą4,1020 10−4

0,3729 Âą3,6876 ¡ 10−4

0,3013 Âą3,0648 10−4

b

6,4033 Âą1,9786

8,8330 Âą1,1628

4,1604 Âą0,3228

xz

6,5105 Âą2,6078

9,1185 Âą1,3480

5,3449 Âą1,4752

Metoda

KF

aRMSE Ob4

UKF

0,2436 Âą2,2094 10

−4

PF

0,2829 Âą2,9470 10

−4

0,2448 Âą11,3208 10−5

b

4,1329 Âą1,3202

4,1252 Âą0,8986

4,0455 Âą1,0426

xz

5,7933 Âą2,0694

9,5940 Âą2,9182

5,3920 Âą0,7014

Metoda

KF

UKF

PF

aRMSE

0,9548 Âą1,3340 10−3

0,7233 Âą1,1470 10−3

0,55342 Âą6,7472 10−4

b

0,1019 Âą0,0124

0,0395 Âą0,0118

0,0285 Âą0,0025

xz

1,1524 Âą0,0419

1,9168 Âą0,2235

4,5748 Âą0,5813

Ob5

45


Porównanie metod estymacji stanu systemów dynamicznych

]. ; #

Analizując wyniki, dla poszczególnych obiektów najlepiej posłużyć się wskaźnikiem aRMSE, ponieważ daje on najstabilniejsze wyniki, z najmniejszymi odchyleniami. Z wartości aRMSE można odczytać, że najlepsze efekty estymacji dla obiektów nieliniowych Ob1–3 daje filtr cząsteczkowy, dla którego w większości przypadków wskaźniki jakości były najmniejsze. Najlepszą jakość estymacji uzyskuje się tu jednak kosztem największych, spośród ww. filtrów, nakładów obliczeniowych. Dwie odmiany filtru Kalmana dawały podobne efekty, z tym że częściej UKF okazywało się minimalnie lepsze (ale to także jest okupione dłuższym czasem obliczeń). Dla obiektu liniowego Ob4 we wszystkich metodach estymacji aRMSE dawało podobne wartości. Dla takich obiektów metody estymacji mają zbliżone właściwości i optymalne jest stosowanie metody KF, ponieważ jest ona najszybsza. Dla układu zamkniętego z regulatorem i obiektem Ob5 w torze głównym metoda KF daje zauważalnie gorsze wyniki od UKF i PF. Pozostałe dwa wskaźniki, dane wzorami (31) i (32), reprezentują błędy względne. W badanych obiektach natomiast, zarówno zmienne stanu, jak i pomiary, miały wartości bardzo małe, czasem zbliżone do zera. Gdy wartość taka znalazła się w mianowniku, powodowało to gwałtowny wzrost wartości wskaźnika przy stosunkowo niewielkiej wartości reprezentowanej przez błąd bezwzględny aRMSE. Wyniki tych wskaźników dla 1000 powtórzeń dawały podobne wyniki jak aRMSE, jednak odchylenia standardowe mają tu dużo większe wartości. Dla pojedynczych symulacji zdarzały się przypadki, gdzie wskaźniki te nie odzwierciedlały prawdziwych rezultatów. Z tego powodu autorzy w przyszłości planują przestać korzystać z tych wskaźników, bądź też trochę je zmodyfikować. W tabeli 2 zamieszczono czasy obliczeń dla 1000 powtórzeń działania algorytmów. Najszybciej działała metoda EKF (dla Ob4, Ob5 metoda KF), ponieważ sprowadza się ona jedynie do obliczeń macierzowych. Nieco dłuższe czasy obliczeń obserwowano w przypadku UKF, ze względu na dodatkowy etap wyboru punktów Sigma oraz bezśladową transformację. Największych nakładów obliczeniowych wymagał filtr cząsteczkowy ze względu na wybór dość dużej liczby cząsteczek. Gdyby te liczbę zmniejszyć, czas obliczeń mógłby być podobny do czasu UKF, ale kosztem pogorszenia jakości estymacji. W przypadku każdej z metod zwiększenie długości wektora stanu powodowało znaczne wydłużenie czasu obliczeń.

5. Marantos P., Koveos Y., Kyriakopoulos K.J., UAV State Estimation using Adaptive Complementary Filters, “IEEE Transactions on Control Systems Technology”, Vol. 24, No. 4, 2016, 1214–1226. 6. Schweppe F.C., Wildes J., Power System Static-State Estimation, Part I: Exact Model, “IEEE Transactions on Power Apparatus and Systems”, Vol. 89, No. 1, 1970, 120–125. 7. Schweppe F.C., Rom D.B., Power System Static-State Estimation, Part II: Approximate Model, “IEEE Transactions on Power Apparatus and Systems”, Vol. 89, No. 1, 1970, 125–130, DOI: 10.1109/TPAS.1970.292679. 8. Schweppe F.C., Power System Static-State Estimation, Part III: Implementation, “IEEE Transactions on Power Apparatus and Systems”, Vol. 89, No. 1, 1970, 130–135. 9. Kalman R.E., A New Approach to Linear Filtering and Prediction Problems, “Journal of Basic Engineering”, Vol. 82, No. 35, 1960, 35–45, DOI: 10.1155/1.3662552. 10. Gordon N.J., Salmond D.J., Smith A.F.M., Novel Approach to Nonlinear/non-Gaussian Bayesian State Estimation, “IEE Proceedings-F”, Vol. 140, No. 2, 1993, 107–113, DOI: 10.1049/ip-f-2.1993.0015. 11. Chen H., Liu X., She C., Yao C., Power System Dynamic State Estimation Based on a New Particle Filter, “Procedia Environmental Sciences”, Vol. 11, Part B, 2011, 655–661, DOI: 10.1016/j.proenv.2011.12.102. 12. Kozierski P., Lis M., Ziętkiewicz J., Resampling in Particle Filtering – Comparison, “Studia z Automatyki i Informatyki”, Vol. 38, 2013, 35–64. 13. Arulampalam S., Maskell S., Gordon N., Clapp T., A Tutorial on Particle Filters for On-line Non-linear/ Non-Gaussian Bayesian Tracking, “IEEE Transactions on Signal Processing”, Vol. 50, No. 2, 2002, 174–188. DOI: 10.1109/78.978374. 14. Doucet A., Johansen A.M., A Tutorial on Particle Filtering and Smoothing: Fifteen years later, Handbook of Nonlinear Filtering 2009/12, 656–704. 15. Kitagawa G., Monte Carlo Filter and Smoother for Non-Gaussian Nonlinear State Space Models, “Journal of computational and graphical statistics”, Vol. 5, No. 1, 1996, 1–25. 16. Yadaiah N., Sowmoya G., Neural Network Based State Estimation of Dynamical Systems, International Joint Conference on Neural Networks (IJCNN ’06), 2006, 1042–1049, DOI: 10.1109/IJCNN.2006.246803. 17. Moseler O., Isermann R., Application of model-based fault detection to a brushless DC motor, “IEEE Transactions on industrial electronics”, Vol. 47, No. 5, 2000, 1015–1020. 18. Valverde G., Terzija V., Unscented Kalman Filter for Power System Dynamic State Estimation, “IET Generation, Transmission & Distribution”, Vol. 5, Iss. 1, 2011, 29–37, DOI: 10.1049/iet-gtd.2010.0210. 19. Kozierski P., Lis M., Horla D., Wrong Transition and Measurement Models in Power System State Estimation, “Archives of Electrical Engineering”, Vol. 65, No. 3, 2016, 559–574. DOI: 10.1515/aee-2016-0040. 20. Florek A., Mazurkiewicz P., Sygnały i systemy dynamiczne, wyd. 2, Poznań 2015, ISBN: 978-83-7775360-6.

} 1. Abur A., Exposito A.G., Power System State Estimation: Theory and Implementation, Marcel Dekker, Inc., 2004, 17–49, DOI: 10.1201/9780203913673.ch2. 2. Udupa H.N., Minal M., Mishra M.T., Node Level ANN Technique for Real Time Power System State Estimation, “International Journal of Scientific & Engineering Research”, Vol. 5, No. 1, 2004, 1500–1505. 3. Zawirski K., Deskur J., Kaczmarek T., Automatyka napędu elektrycznego, Wydawnictwo Politechniki Poznańskiej, Poznań 2012. 4. Weiss S., Achtelik M.W., Lyen S., Achtelik M.C., Kneip L., Chli M., Siegwart R., Monocular Vision for Long-term Micro Aerial Vehicle State Estimation: A Compendium, “Journal of Field Robotics”, Vol. 30, No. 5, 2013, 803–831.

46

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


! " #

" 7 " " 7 " " Abstract: In this paper the problem of state estimation of dynamical systems has been discussed and selected solutions have been presented. Four methods of state estimation have been proposed: Extended Kalman Filter, Unscented Kalman Filter, Particle Filter and Kalman Filter for a linear system. These methods have been applied to three nonlinear objects and to two linear objects (one- and multivariable systems). All plants have been described using state equations. Three quality indices has been used, which present relative and absolute errors. They were compared for different objects. As a result of the simulation, it was found that the best estimation quality is provided by the particle filter, but this method is also the slowest. KeywordsX " " " E " A ;K E " A # E " A A L

Jacek Michalski

! & 8

% ) %

% )*" % "

* F U % 9 " Q " 9 F V 0 X " " " 7 E " 7 Q 0 * F Y Q * %

0 % > F 9 0 " 9 F V " " 7 Q * 9 H * X 0 " Q* V " " X%

7& % % ) % % /9 ' ; * % ' ,&+O % 0 % M 0 Q * 9 " Q0 " " 0 " % ' *F " " 0 Q Y F 0 Y 7 Q 9 F 9 " " " " %

47


NR 3/2015

48

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 49–57, DOI: 10.14313/PAR_226/49

S " * " " " " " * * " * Orest Serediuk, Vitaliy Malisevych U 0A I # @ I 7 > #

Zygmunt L. Warsza " U / " " F U/ / % M " ,&, &,0OJ. '

Streszczenie: Przedstawiono termoanemometrycznÄ… metodÄ™ bezpoĹ›redniego pomiaru wartoĹ›ci energetycznej przepĹ‚ywajÄ…cego gazu ziemnego. Jest ona oparta na zastosowaniu dwu przetwornikĂłw: termoanemometrycznego i róşnicy ciĹ›nieĹ„. Opisano konstrukcjÄ™ i dziaĹ‚anie laboratoryjnego stanowiska przeznaczonego do badania tej metody. Na podstawie wynikĂłw badaĹ„ doĹ›wiadczalnych wyznaczono charakterystykÄ™ kalibracyjnÄ… przetwornika termoanemometrycznego i zaleĹźność jego sygnaĹ‚u wyjĹ›ciowego od zmian wartoĹ›ci energetycznej gazu naturalnego dla zakresu wartoĹ›ci opaĹ‚owej (7759–8538) kcal/m3 i przepĹ‚ywĂłw do 0,6 m3/h. Przeprowadzono analizÄ™ skĹ‚adowych niepewnoĹ›ci pomiarĂłw typu B tÄ… metodÄ… i oszacowano jej niepewność standardowÄ…. Jest to przykĹ‚ad metody poĹ›redniej, ktĂłra polega na pomiarze innego parametru gazu, zaleĹźnego od zmian jego skĹ‚adu, gdy parametr wĹ‚aĹ›ciwy jest trudny do okreĹ›lenia, lub nie moĹźna go zbadać bezpoĹ›rednio. Taka metoda moĹźe znaleźć wiele innych zastosowaĹ„. ) # ' X * " H * " * * " " " 9 H " F

1. Wprowadzenie Rozwój energooszczędnych technologii spowodował konieczność wprowadzenia jednolitego systemu rozliczania dostaw gazu ziemnego z uwzględnieniem jego kaloryczności. Na Ukrainie system ten opiera się na normie ukraińskiej [1] opublikowanej w 2011 r. Reguluje ona sposób i procedurę obliczania płatnościach handlowych za energię pobieranego gazu. Jest ona zharmonizowana z normami europejskimi [2], [3], podobnie jak obowiązujące w Polsce rozporządzenie Ministra Gospodarki [4]. Z tego powodu na Ukrainie wprowadzona juş została norma międzypaństwowa dotycząca funkcjonowania stacji pomiarowych gazu ziemnego [3]. Planuje się wyposaşyć te stacje w środki do pomiaru wartości opałowej (ciepła spalania) i energii przepływającego gazu ziemnego. Pełne wdroşenie obowiązujących przepisów jest jednak utrud-

# & *: X *" (% ' ) % # ) ' ,.%&D%,&+- % &,%++%,&+- % ! "" # $%&

nione, w tym gĹ‚Ăłwnie wskutek braku Ĺ›rodkĂłw technicznych o prostej konstrukcji sĹ‚uşących w praktyce do wyznaczania na bieşąco energetycznej wartoĹ›ci gazu ziemnego u duĹźych odbiorcĂłw i dla wyodrÄ™bnionych części sieci dystrybucji gazu. Jest to szczegĂłlnie istotne, gdy gaz pochodzi z kilku róşnych ĹşrĂłdeĹ‚ i jego skĹ‚ad szybko zmienia siÄ™. UrzÄ…dzenia pomiarowe stosowane u odbiorcĂłw na Ukrainie, jako parametr obrotu handlowego mierzÄ… objÄ™tość gazu ziemnego, ktĂłrÄ… sprowadza siÄ™ do warunkĂłw znormalizowanych (293,15 K i 101,325 kPa). W Polsce dominuje gaz pochodzÄ…cy z jednego ĹşrĂłdĹ‚a. Jego skĹ‚ad i wartość energetyczna zmieniajÄ… siÄ™ niewiele i sÄ… dość powolne. Dlatego teĹź rozliczenia z konsumentami prowadzi siÄ™ wedĹ‚ug energii gazu, stosujÄ…c metodÄ™ obliczeniowÄ… [4], na podstawie pomiarĂłw objÄ™toĹ›ci z okresowÄ… korekcjÄ… na ciepĹ‚o spalania. Dane o skĹ‚adzie gazu dla danej części sieci dystrybucji gazu uzyskuje siÄ™ za pomocÄ… analizy chromatograficznej. Analiza, rozwĂłj sposobĂłw i udoskonalenie urzÄ…dzeĹ„ umoĹźliwiajÄ…cych tanie i proste w obsĹ‚udze bezpoĹ›rednie monitorowanie wartoĹ›ci energetycznej gazu ziemnego wymaga prowadzenia badaĹ„. MoĹźe ono stworzyć nowe sposoby bardziej racjonalnego wykorzystywania zasobĂłw energetycznych gazu i zapewnić wyĹźszÄ… efektywność ekonomicznÄ… przedsiÄ™biorstw gospodarczych, gdyĹź poprawi siÄ™ rzetelność i dokĹ‚adność pomiarĂłw zuĹźycia energii gazu i odbiorcy uzyskajÄ… moĹźliwość porĂłwnywania jej z energiÄ… innych noĹ›nikĂłw.

49


. 8 % . . .

Y. ; ~€ ' '

Stosuje siÄ™ rĂłwnieĹź przepĹ‚ywowy kalorymetr gazowy Lab Q1 [13], [21]. SĹ‚uĹźy on zarĂłwno do wyznaczania gĂłrnego ciepĹ‚a spalania gazu, jak teĹź do pomiaru gÄ™stoĹ›ci gazu w warunkach normalnych oraz zawartoĹ›ci dwutlenku wÄ™gla w skĹ‚adzie gazu. W przyrzÄ…dzie tym wartość opaĹ‚owÄ… uzyskuje siÄ™ przez pomiar zaleĹźnoĹ›ci miÄ™dzy absorpcjÄ… promieniowania podczerwonego i przewodnictwem cieplnym analizowanej prĂłbki gazu. GĹ‚Ăłwne zalety tego kalorymetru to: brak otwartego ognia przy pomiarze, szybka ciÄ…gĹ‚a analiza gazĂłw, niskie koszty instalacji i obsĹ‚ugi. BĹ‚Ä…d graniczny pomiaru gĂłrnego ciepĹ‚a spalania nie przekracza 0,4%. WadÄ… jest tu konieczność wykorzystywania metanu do automatycznej kalibracji. Do bezpoĹ›redniego pomiaru objÄ™toĹ›ciowego dolnego ciepĹ‚a spalania gazĂłw palnych przeznaczony jest teĹź kalorymetr gazowy typu SAB [13], [21]. PrzyrzÄ…d ten mierzy metodÄ… kalorymetrycznÄ… przez porĂłwnanie czasu spalania jednostkowej objÄ™toĹ›ci badanego gazu i gazu uĹźywanego do kalibracji. Gaz dostarcza siÄ™ do spalania w taki sposĂłb, Ĺźeby byĹ‚a staĹ‚a moc wydzielajÄ…ca siÄ™ w komĂłrce pomiarowej bloku termicznego w wyniku reakcji chemicznej utleniania gazu palnego. Dopuszczalny bĹ‚Ä…d wzglÄ™dnego kalorymetru nie przekracza Âą0,45%. WadÄ… urzÄ…dzenia jest dość dĹ‚ugi cykl pracy (ok. 4 godzin) i nieciÄ…gĹ‚ość dziaĹ‚ania wskutek porcjowania badanego gazu. Rozliczania kosztĂłw gazu ziemnego wedĹ‚ug wartoĹ›ci jego energii jeszcze nie realizuje siÄ™ na Ukrainie w peĹ‚ni, tak jak w Polsce, gdyĹź brak kosztownej aparatury do jej pomiarĂłw, ale ten system rozliczeĹ„ juĹź teĹź rozpoczÄ™to wprowadzać. Dwu z autorĂłw przedstawiĹ‚o podstawy teoretyczne i zaproponowaĹ‚o oryginalnÄ… metodÄ™ [14] do ciÄ…gĹ‚ego monitorowania energetycznej wartoĹ›ci gazu ziemnego. Wykorzystuje ona skorelowanie zmian jego parametrĂłw termofizycznych i ciepĹ‚a spalania wraz ze zmianÄ… skĹ‚adu gazu. W rozwiÄ…zaniach konstrukcyjnych przyrzÄ…dĂłw do realizacji tej metody trzeba uĹźyć dwĂłch rodzajĂłw czujnikĂłw: do pomiaru przepĹ‚ywu i do pomiaru ciepĹ‚a spalania [15]. Jako pierwszy z nich moĹźna na przykĹ‚ad wykorzystać przetwornik róşnicy ciĹ›nienia (rys. 1) lub przetwornik naporowy [17, 21]. Natomiast ciepĹ‚o spalania gazu ziemnego wyznacza siÄ™ poĹ›rednio przez pomiar współczynnika przewodzenia ciepĹ‚a za pomocÄ… przetwornika termoanemometrycznego. Ta metoda, po jej wdroĹźeniu, umoĹźliwi bezpoĹ›redni pomiar energii gazu i poszerzy zbiĂłr Ĺ›rodkĂłw pomiarowych stosowanych do monitorowania wartoĹ›ci energetycznej gazu ziemnego. W niniejszej pracy podaje siÄ™ podstawy teoretyczne oraz opisuje siÄ™ badania podstawowych parametrĂłw metrologicznych metody termoanemometrycznej z punktu widzenia jej przydatnoĹ›ci do budowy systemĂłw pomiarowo-informatycznych przeznaczonych do zliczania na bieşąco wartoĹ›ci energii dostarczanego gazu ziemnego.

Energia wydzielajÄ…ca siÄ™ w procesie spalania w powietrzu okreĹ›lonej objÄ™toĹ›ci (lub masy) gazu ziemnego jest jednÄ… z najwaĹźniejszych jego cech jakoĹ›ciowych. Charakteryzuje siÄ™ jÄ… przez tzw. gĂłrnÄ… i dolnÄ… (po uwzglÄ™dnieniu poboru części z ciepĹ‚a spalania na kondensacjÄ™ wody) wartoĹ›ci opaĹ‚owe. Z doĹ›wiadczeĹ„, na ktĂłrych bazuje norma europejska [2] i wzorowane na niej normy krajowe, w tym ukraiĹ„ska [1], wynika, Ĺźe w pomiarach dystrybucji gazu ziemnego naleĹźy mierzyć energiÄ™ zawartÄ… w jego objÄ™toĹ›ci lub masie, wyraĹźanÄ… w MJ lub kWh. MiarÄ… tej energii jest wartość ciepĹ‚a spalania gazu ziemnego na jednostkÄ™ jego objÄ™toĹ›ci lub masy, wyraĹźana w MJ/m3 lub MJ/kg. W rozliczeniach i transporcie gazu ziemnego stosuje siÄ™ pojÄ™cie jego wartoĹ›ci energetycznej. Jest to energia gazu przepĹ‚ywajÄ…cego na jednostkÄ™ czasu. Mierzy siÄ™ jÄ… w MJ/s lub w kcal/s – jednostce spoza systemu SI stosowanej jeszcze w praktyce. CaĹ‚kowanie tej wielkoĹ›ci w dziedzinie czasu daje iloĹ›ciowÄ… wartość energii mierzonego gazu ziemnego. Oblicza siÄ™ jÄ… jako iloczyn zmierzonej objÄ™toĹ›ci (lub masy) gazu i jego wartoĹ›ci opaĹ‚owej, czyli ciepĹ‚a spalania w okreĹ›lonych warunkach. WedĹ‚ug norm [1, 2], wartość energii e dla strumienia gazu, ktĂłry przepĹ‚ynÄ…Ĺ‚ przez poprzeczny przekrĂłj pomiarowy rurociÄ…gu, wyznacza siÄ™ ze wzoru e = q H

(1)

gdzie: q – objÄ™tość gazu w m3; H – ciepĹ‚o spalania (wartość opaĹ‚owa) gazu ziemnego w J/m3. Tylko nieliczne publikacje z ostatnich kilku lat [5–12] dotyczÄ…ce pomiarĂłw przepĹ‚ywu gazu ziemnego, w tym polskie [11, 12], omawiajÄ… rozliczanie zuĹźycia z uwzglÄ™dnieniem jego energii. Jest to teĹź tematyka badaĹ„ naukowych podjÄ™tych w Ivano-Frankivskim Uniwersytecie Technicznym na Ukrainie [13, 14]. Najbardziej rozpowszechniona jest metoda obliczeniowa [11, 13] wyznaczania ciepĹ‚a spalania gazu ziemnego, ktĂłra wykorzystuje dane o skĹ‚adzie gazu uzyskane za pomocÄ… analizy chromatograficznej. OddziaĹ‚y nadzoru sieci gazowej sÄ… wyposaĹźone w odpowiednie do tego zadania chromatografy. MonitorujÄ… one okresowo jakość gazu ziemnego i dokonujÄ… oceny jej zgodnoĹ›ci z obowiÄ…zujÄ…cymi przepisami i normami. Chromatografy wystÄ™pujÄ… teĹź w zestawie wyposaĹźenia pomiarowego stacji [3] realizujÄ…cych dystrybucjÄ™ gazu metodÄ… zmiennej róşnicy ciĹ›nieĹ„. Na przykĹ‚ad w stacji pomiarowej gazu „Grebenikiâ€? na Ukrainie, do analizy in-line jakoĹ›ci gazu ziemnego stosuje siÄ™ automatyczne przepĹ‚ywowe chromatografy gazowe ENCAL firmy INSTROMET. JednakĹźe takÄ… metodÄ™ oznaczania ciepĹ‚a spalania gazu ziemnego moĹźna stosować tylko w duĹźych punktach pomiaru gazu wyposaĹźonych w drogi sprzÄ™t. Nie nadaje siÄ™ ona do bezpoĹ›rednich pomiarĂłw. Gdy gaz pochodzi z kilku róşnych ĹşrĂłdeĹ‚, to jego skĹ‚ad u duĹźych odbiorcĂłw przemysĹ‚owych oraz dla wyodrÄ™bnionej części sieci gazowej dla domowych i innych drobnych konsumentĂłw zmienia siÄ™ dość czÄ™sto. Obecnie w przemyĹ›le ukraiĹ„skim, do pomiarĂłw wartoĹ›ci opaĹ‚owej gazu ziemnego stosuje siÄ™ systemy pomiarowe z seryjnie produkowanymi kalorymetrami do ciÄ…gĹ‚ego automatycznego pomiaru. SkĹ‚adajÄ… siÄ™ one z jednostki gĹ‚Ăłwnej, jednostki sterujÄ…cej, rejestratora i zasilacza i mierzÄ… ciepĹ‚a spalania okreĹ›lonej objÄ™toĹ›ci róşnych gazĂłw palnych. Parametry tych kalorymetrĂłw sÄ… opisane w pracy [14]. Obok szeregu zalet, takich jak maĹ‚e gabaryty, brak specjalnych wymagaĹ„ dla instalacji, szeroki zakres temperatury 5–50 °C, szybki czas pomiaru 20–30 s i bĹ‚Ä…d pomiaru wartoĹ›ci ciepĹ‚a spalania gazu nieprzekraczajÄ…cy Âą0,5%, wystÄ™puje ograniczenie – praca tylko przy niskim ciĹ›nieniu gazu roboczego, tj. do 20 kPa.

50

P

O

M

I

A

R

Y

•

A

U

T

O

M

{. 6& # & ' & ' , = Do przeprowadzenia badaĹ„ doĹ›wiadczalnych wykorzystano stanowisko laboratoryjne z produkowanym seryjnie przetwornikiem termoanemometrycznym [16]. DziaĹ‚anie stanowiska omĂłwi siÄ™ w oparciu o jego schemat funkcjonalny podany na rys. 2, a wyglÄ…d zasadniczej części stanowiska przedstawiono na rys. 3. Stanowisko to zawiera: krĂłciec wlotowy 1 (rys. 2), zbiornik cylindryczny 2 ze skroplonÄ… mieszaninÄ… propan-butan, ĹşrĂłdĹ‚o dopĹ‚ywu powietrza 3, zawory ustalajÄ…ce przepĹ‚yw 4, 6, 12, reduktor ciĹ›nienia 5, nagrzewacz przepĹ‚ywowy gazu roboczego 7, sekcjÄ™ 10 do pomiarĂłw termo-anemometrycznych ze zwęşkÄ… 8 i pierwotnym przetwornikiem 9 ciĹ›nienia p, temperatury T i róşnicy ciĹ›nienia Δp na termoanemometrycznym przetworniku tu zastosowanym, wzorcowy licznik objÄ™toĹ›ci gazu robo-

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


C q Z " . ' /

Rys. 1. PrzykĹ‚ad rozwiÄ…zania technicznego systemu do pomiaru zawartoĹ›ci energii gazu za pomocÄ… przepĹ‚ywomierza róşnicy ciĹ›nienieĹ„: 1 – rurociÄ…g; 2 – medium robocze – badany gaz; 3 – kryza pomiarowa; 4 – kanaĹ‚ obejĹ›ciowy; 5, 6 – zawory odcinajÄ…ce; 7 – czujnik termoanemometryczny; 8, 9 – przetworniki ciĹ›nienia i temperatury gazu przepĹ‚ywajÄ…cego; 10 – przetwornik ciĹ›nienia róşnicowego na kryzie pomiarowej; 11, 12 – ukĹ‚ady standaryzujÄ…ce sygnaĹ‚y wyjĹ›ciowe z pomiarowych przetwornikĂłw temperatury; 13 – komputer PC Fig. 1. Example of technical solution of the measurement system for determination of the gas energy content based on differential pressure flow meter: 1 – pipeline; 2 – working medium – gas tested; 3 – measuring flange; 4 – bypass channel; 5, 6 – shutoff valves; 7 – thermo-anemometer; 8, 9 – pressure and temperature of flow gas transducers; 10 – differential pressure transducer on the measuring cone; 11, 12 – systems of conditioning output signals of temperature sensors; 13 – PC

Rys. 2. Schemat stanowiska laboratoryjnego do pomiaru wartości energetycznej gazu ziemnego Fig. 2. Diagram of a laboratory stand for measuring the energy value of natural gas

czego 11, krĂłciec wylotowy 13 i komputer 14. Dane o ciĹ›nieniu p i temperaturze T gazu roboczego, spadku ciĹ›nienia Δp na zwęşce oraz wartoĹ›ci U sygnaĹ‚u wyjĹ›ciowego z przetwornika termoanemometrycznego doprowadzane sÄ… do komputera PC. W badaniach eksperymentalnych na stanowisku laboratoryjnym uzyskiwano maksymalny przepĹ‚yw 2,45 m3/h przy ciĹ›nieniu do 2,5 kPa. Ponadto konstrukcja stanowiska umoĹźliwiaĹ‚a badanie wartoĹ›ci energetycznej róşnych rodzajĂłw gazu roboczego. Elementy 4, 6, 12 sĹ‚uşące do ustawiania natęşenia przepĹ‚ywu i reduktor ciĹ›nienia 5 pozwalajÄ… podczas badaĹ„ tworzyć róşne wydatki gazu i róşne jego ciĹ›nienie. Badania moĹźna byĹ‚o przeprowadzać dla trzech rodzajĂłw pĹ‚ynĂłw roboczych, tj. gazu ziemnego, propanu-butanu i jego mieszaniny z powietrzem o zadanym skĹ‚adzie oraz dla strumieni tych pĹ‚ynĂłw o róşnej wartoĹ›ci energii. ĹšrĂłdĹ‚em gazu ziemnego moĹźe być sieć domowa, do ktĂłrej doĹ‚Ä…cza siÄ™ stanowisko laboratoryjne przez krĂłciec wlotowy 1. WĂłwczas gaz ziemny, przez zawĂłr nastawczy 4 dopĹ‚ywa do sekcji pomiarowej 10, a stanowisko pracuje pod niskim ciĹ›nieniem do 2,5 kPa.

Podczas pracy na stanowisku z gazem propan-butan, jego skroplonÄ… postać ze zbiornika 2, podaje siÄ™ przez reduktor 5 regulujÄ…cy ciĹ›nienie juĹź w stanie gazowym do przewodu sekcji pomiarowej stanowiska. Pojemnik 2 moĹźna teĹź zastosować jako ĹşrĂłdĹ‚o spręşonego gazu ziemnego. UmoĹźliwia to zwiÄ™kszenie ciĹ›nienia i szybkoĹ›ci przepĹ‚ywu gazu roboczego i w konsekwencji wzrasta zakres pomiarowy jego wartoĹ›ci energetycznej. NaleĹźy wtedy stosować termoanemometryczny przetwornik o odpowiednio dopuszczalnej wartoĹ›ci ciĹ›nienia roboczego. MoĹźliwe jest teĹź uĹźycie powietrza jako gazu roboczego. Doprowadza siÄ™ je z dmuchawy i moĹźna tworzyć mieszaniny z gazem ziemnym o róşnych wartoĹ›ciach energii. WĂłwczas do utworzenia pĹ‚ynu roboczego stosuje siÄ™ rĂłwnoczeĹ›nie dwa lub trzy spoĹ›rĂłd wystÄ™pujÄ…cych tu ĹşrĂłdeĹ‚ gazu. Wydatki poszczegĂłlnych skĹ‚adnikĂłw ustawia siÄ™ odpowiednio stopniem otwarcia zaworĂłw regulacyjnych 4, 5, 6. W trakcie pracy stanowiska, wzorcowym miernikiem objÄ™toĹ›ci gazu roboczego byĹ‚ wykalibrowany indywidualnie licznik 11, zaĹ› natęşenie przepĹ‚ywu gazu w sekcji pomiarowej wyznaczano za pomocÄ… miernika czasu – blok 14.

51


. 8 % . . .

Rys. 3. Widok ogólny stanowiska laboratoryjnego do badań przydatności metody termoanemometrycznej w kontroli wartości energetycznej gazu ziemnego Fig. 3. General view of a laboratory bench for testing the suitability of the thermo-anemometric method in controlling the natural gas energy value

Badania wymagaĹ‚y wstÄ™pnej kalibracji przetwornika termoanemometrycznego dla róşnych cech jakoĹ›ciowych gazu ziemnego. Zastosowano gaz ziemny o trzech róşnych wartoĹ›ciach opaĹ‚owych. ĹšrĂłdĹ‚em gazu w badaniach byĹ‚y oddzielne zbiorniki uĹźyte do odbioru jego prĂłbek o skĹ‚adzie okreĹ›lonym przez analizÄ™ chromatograficznÄ… (tabela 1). Zbiorniki ze spręşonym gazem ziemnym o znanej wartoĹ›ci ciepĹ‚a spalania podĹ‚Ä…czano naprzemiennie do otworu wlotowego 1 stanowiska laboratoryjnego, (rys. 3) oraz przez reduktor 2 do toru pomiarowego. W torze tym byĹ‚ umieszczony czujnik temperatury 6, przetwornik termoanemometryczny 8, licznik gazu 9 (gazomierz miechowy wielkoĹ›ci G 1,6 indywidualnie wykalibrowany). Wymagane wartoĹ›ci prÄ™dkoĹ›ci przepĹ‚ywu i ciĹ›nienia strumienia medium roboczego w stanowisku laboratoryjnym zadawano nastawami zaworĂłw 2 i 10. Wylot 11 podĹ‚Ä…czono do instalacji utylizujÄ…cej uĹźyty gaz naturalny z palnikiem gazowym na jej wyjĹ›ciu. Do pomiaru temperatury doprowadzanego gazu sĹ‚uĹźyĹ‚ miernik cyfrowy 5 z czujnikiem 6. Do pomiaru ciĹ›nienia w torze pomiarowym zamontowano czujnik 7 tak, aby poprzedzaĹ‚ on pierwotny przetwornik przepĹ‚ywu gazu 8. SygnaĹ‚ wyjĹ›ciowy (napiÄ™cie) z termoanemometrycznego przetwornika mierzono za pomocÄ… oscyloskopu cyfrowego 12. SĹ‚uĹźyĹ‚ on jednoczeĹ›nie do kontroli stabilnoĹ›ci tego sygnaĹ‚u i uĹ›redniania za czas pomiaru.

Tabela 1. Wyniki analizy chromatograficznej składu próbek gazu uşytych w badaniach eksperymentalnych Table 1. Results of chromatographic analysis of the composition of gas samples used in experiments Wyniki analizy gazu, % objętości

Fizykochemiczne składniki gazu

PrĂłbka 1

PrĂłbka 2

PrĂłbka 3

metan (C1)

97,0410

96,6670

92,7140

etan (C2)

0,0980

1,7900

3,4980

propanu (C3)

0,0050

0,5510

1,4610

izo-butan (is4)

0,0010

0,0860

0,2530

n-butan (NC4)

0,0000

0,0890

0,4500

neo-pentan (neoS4)

0,0000

0,0010

0,0020

izo-pentan (i C5)

0,0010

0,0160

0,1360

n-pentan (NS5)

0,0000

0,0110

0,1160

heksan+wyĹźsze (C6+wyĹźsze)

0,0000

0,0110

0,1520

tlen (O2)

0,0220

0,0040

0,0060

azot (N2)

2,6820

0,6750

0,6290

ditlenek węgla (CO2)

0,1490

0,0990

0,5830

względna gęstość, kg/m3

0,5678

0,5761

0,6142

chromatograficzna gęstość kg/m3

0,6842

0,6943

0,7402

7759

8145

8538

kcal/m3

Dolne ciepło spalania (w warunkach normalnych)

32,4854

34,1015

35,7469

Rys. 4. ZaleĹźność sygnaĹ‚u wyjĹ›ciowego zestawu do pomiaru wartoĹ›ci energetycznej gazu ziemnego od natęşenia przepĹ‚ywu przy róşnym cieple spalania i nadciĹ›nieniu 0,1 kPa Fig. 4. Relation of the output signal of the set for the measurement of the natural gas energy value from flow rate at various heat fluxes and overpressure of 0.1 kPa

MJ/m3 liczba Wobbego (wyĹźsza) cal/m3

52

P

O

M

11433

I

A

11902

R

Y

•

A

12062

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


C q Z " . ' /

Widoczne na rys. 2 króćce 3, 4 słuşą do doprowadzania dodatkowego medium roboczego do instalacji laboratoryjnej. Na rysunku 4 przedstawiono sygnał wyjściowy przetwornika termoanemometrycznego w postaci wartości napięcia U. Uzyskano je dla trzech kompozycji składu gazu ziemnego, o wartości opałowej (cieple spalania) 7759 kcal/m3, 8138 kcal/m3 i 8538 kcal/m3. Otrzymane wykresy (rys. 4) wykazują, şe wartość energii gazu jest funkcją dwu jego parametrów (przepływu objętościowego lub masowego i ciepła spalania). Jest to zaleşność nieliniowa. Wyniki badań eksperymentalnych i analiza metrologiczna potwierdzają moşliwość budowy układu pomiarowego z przetwornikiem termoanemometrycznym do bezpośredniego zliczania wartości energetycznej przepływającego gazu ziemnego.

Przy okreĹ›leniu wartoĹ›ci energii gazu e na podstawie algorytmu (1) zwykle nie dysponuje siÄ™ zbiorami wartoĹ›ci pomiarĂłw wielokrotnie powtarzanych w róşnych warunkach. Nie ma wiÄ™c moĹźliwoĹ›ci obliczenia oceny statystycznej dla przetwarzania wynikĂłw wielu pomiarĂłw rzeczywistych. MoĹźna natomiast dokonać heurystycznej analizy skĹ‚adowych niepewnoĹ›ci typu B w oparciu o wiedzÄ™ juĹź posiadanÄ… oraz zdobytÄ… doĹ›wiadczalnie na stanowisku badawczym. MiÄ™dzy przypadkowymi zmianami wartoĹ›ci parametrĂłw qS i HS nie wystÄ™puje korelacja i dla standardowej niepewnoĹ›ci uB(e) otrzyma siÄ™ nastÄ™pujÄ…cÄ… zaleĹźność: 2

⎛ ∂e ⎞ ⎛ ∂e ⎞ u B (e) = ⎜⎜ u B (q S ) âŽ&#x;âŽ&#x; + ⎜⎜ u B (H S ) âŽ&#x;âŽ&#x; ∂ q ∂ H S âŽ? S ⎠âŽ? âŽ

^. ' #) ~ Podstawę budowy metrologicznego modelu pomiarów stanowi zaleşność (1). Przyjmuje się teş, şe wg przyblişenia [14, 18], wartość opałowa gazu ziemnego HS, w warunkach standardowych i przy zastosowaniu przetwornika termoanemometrycznego, jest związana z jego współczynnikiem wymiany ciepła następującą funkcją liniową [J/m3],

(2)

gdzie: aS – współczynnik przenikania ciepĹ‚a przetwornika hot-wire w warunkach standardowych gazu o parametrach TS = 293,15 K, pS = 101 325 Pa, w W/(m2¡K).

w ktĂłrej:

(3)

gdzie: IW – prąd przepływający przez drut przetwornika; RW – rezystancja elektryczna przetwornika hot-wire; lW, dW – długość i średnica gorącego drutu przetwornika; k – współczynnik temperaturowy RW; T, TS – temperatury gazu w warunkach roboczych i standardowych. Związek współczynnika wymiany ciepła aS w warunkach standardowych, z współczynnikiem a w warunkach pracy opisuje się wyraşeniem KaS [21]. Bierze ono pod uwagę zmianę przekazywania ciepła przez przetwornik warunkach roboczych w zaleşności od ciśnienia, temperatury i prędkości przepływu gazu. Drugim parametrem wykorzystywanym do określenia wartości energii gazu ziemnego jest natęşenie przepływu gazu qS w rurociągu. Przy uşyciu gazomierza oblicza się je ze wzoru:

(5)

∂e ∂e i – współczynniki wpĹ‚ywu niepewnoĹ›ci ∂q S ∂H S

parametrów qS i HS. Niepewność standardową uB(HS) oblicza się ze wzoru:

2

⎞ ⎛ ∂H u B (H S ) = u B′ (H S )2 + ⎜ S â‹… u B (Îą )âŽ&#x; + u B (KÎą S )2 ⎠âŽ? âˆ‚Îą

gdzie: ZaleĹźność współczynnika aS od dolnej wartoĹ›ci opaĹ‚owej dla róşnych wariantĂłw kompozycji skĹ‚adu gazu ma bĹ‚Ä…d aproksymacji Âą0,24% [20]. WartoĹ›ci współczynnika a anemometru w warunkach roboczych moĹźna wyznaczyć metodÄ… poĹ›redniÄ…. Oblicza siÄ™ go ze wzoru (3)

2

∂H S âˆ‚Îą

(6)

– współczynnik wagi dla składowej niepewności

u B (ι ) ; u′B (H S ) = 48 530,95 J/m – standardowa niepewność

aproksymacji funkcjÄ… (2) ciepĹ‚a spalania gazu ziemnego [21]; ∂H S â‹… u B (Îą ) – standardowa niepewność wyznaczenia wspĂłĹ‚âˆ‚Îą

czynnika przenikania ciepła czujnika termo-anemometrycznego hot-wire; uB(KaS) = 2,828 – standardowa niepewność przeliczenia współczynnika a do warunków standardowych wymiany ciepła [21]. Przy wyznaczaniu współczynnika a w oparciu o algorytm (3) i braku korelacji między przypadkowymi zmianami wartości poszczególnych parametrów, z zasady propagacji wariancji otrzymuje się następujące wyraşenie dla niepewności uB(a): 2

uB (Îą ) =

2

2

⎛ âˆ‚Îą ⎞ ⎛ âˆ‚Îą ⎞ ⎛ âˆ‚Îą ⎞ ⎜ âŽ&#x; ⎜ âŽ&#x; ⎜ âŽ&#x; ⎜ ∂I uB (IW )âŽ&#x; + ⎜ ∂R uB (RW ) âŽ&#x; + ⎜ ∂d uB (d W )âŽ&#x; + âŽ? W ⎠âŽ? W ⎠âŽ? W ⎠2

2 ⎛ âˆ‚Îą ⎞ ⎛ âˆ‚Îą ⎞ + ⎜⎜ uB (l W )âŽ&#x;âŽ&#x; + ⎜ uB (T )âŽ&#x; ⎠âŽ? ∂l W ⎠âŽ? ∂T

(7) gdzie:

âˆ‚Îą âˆ‚Îą âˆ‚Îą âˆ‚Îą âˆ‚Îą , , , , – współczynniki wagi ∂I W ∂R W ∂d W ∂l W ∂T

wpływu parametrów IW, RW, dW, lW, T; uB(IW), uB(RW), uB(dW), uB(lW), uB(T) – odpowiednio ich niepewności standardowe. (4)

gdzie: qS – objętościowe natęşenie przepływu gazu w warunkach normalnych; V – objętość gazu, która przepłynęła w czasie t, mierzona przez gazomierz; KqS – współczynnik przeliczenia wartości strumienia gazu z warunków roboczych do standardowych.

We wzorze (7) nie wystÄ™pujÄ… niepewnoĹ›ci standardowe uB(r), uB(k), uB(TC) i uB(Ď€), gdyĹź moĹźna zaĹ‚oĹźyć, Ĺźe rezystywność elektryczna r materiaĹ‚u drutu (platyna), współczynnik temperaturowy k tej rezystancji i temperatura T warunkĂłw standardowych majÄ… staĹ‚e wartoĹ›ci, tj.: r = 11 10–8 Ί m, k = 3,9 10–3 K–1, TC = 293,15 K, podawane w podrÄ™cznej literaturze technicznej.

53


. 8 % . . .

Szczegółowy model metrologiczny, przyjęty w tej pracy do oszacowania niepewności typu B dla pomiarów wartości energetycznej gazu ziemnego rozpatrywaną metodą z przetwornikiem termoanemometrycznym typu hot-wire przedstawiono na rysunku 5.

energetycznej gazu. W tabeli 2 dla rozpatrywanego przykĹ‚adu podano postacie wzorĂłw uĹźytych do obliczania i otrzymane wartoĹ›ci ocen skĹ‚adowych niepewnoĹ›ci standardowej uB(a) oraz ich współczynniki. Dla przyjÄ™tych tu danych współczynnik przenikania ciepĹ‚a a = 2312,9592 W/(m2â‹…K). Po podstawieniu wartoĹ›ci skĹ‚adowych jego niepewnoĹ›ci do wzoru (7), uzyskano standardowÄ… niepewność uB(Îą) = 6,809 W/(m2â‹…K) i z wzoru (6) niepewność standardowÄ… uB(HS) = 9,899¡105 J/m3. Tabela 2. SkĹ‚adowe i współczynniki wagi dla standardowej niepewnoĹ›ci współczynnika wymiany ciepĹ‚a Îą anemometru uĹźytego w pomiarach energii gazu ziemnego Table 2. Components and their weight coefficients of the standard uncertainty of the heat transfer coefficient Îą for an anemometer used in the measurement of natural gas energy Parametr

WzĂłr

IW δ (IW )

uB(IW) Rys. 5. Model składowych niepewności w pomiarach wartości energii gazu ziemnego Fig. 5. Model of uncertainty components in measurement of the natural gas energy

54

P

O

M

I

A

R

Y

•

A

U

T

O

M

3,3¡10–4 A

100 â‹… 3

RW δ (RW )

uB(RW)

0,003 Ί

100 â‹… 3

Δ(T )

uB(T)

Praca ta jest pierwszym wstÄ™pnym etapem rozpoznania metrologicznych moĹźliwoĹ›ci metody pomiaru wartoĹ›ci energetycznej gazu ziemnego z wykorzystaniem termoanemometrycznych przetwornikĂłw typu hot-wire. OcenÄ™ wartoĹ›ci liczbowych niepewnoĹ›ci standardowej tej metody dokona siÄ™ na przykĹ‚adzie. Aby wyznaczyć standardowÄ… niepewność uB(a) naleĹźy najpierw oszacować iloĹ›ciowo wszystkie skĹ‚adniki niepewnoĹ›ci ze wzoru (7), ktĂłre mogÄ… wystÄ…pić w praktyce. Dla przykĹ‚adu przyjÄ™to nastÄ™pujÄ…ce nominalne wartoĹ›ci parametrĂłw oraz temperaturÄ™ pracy przetwornika i gazu, np.: IW = 0,2 A, RW = 1,8195 Ί, dW = 30â‹…10-6 m, lW = 0,01 m, T = 303,15 K. Niepewność pomiaru prÄ…du elektrycznego IW, temperatury T gazu, oporu elektrycznego RW, Ĺ›rednicy dW i dĹ‚ugość drutu lW okreĹ›la siÄ™ na podstawie danych metrologicznych uĹźytego oprzyrzÄ…dowania. W eksperymentalnym stanowisku (rys. 3) prÄ…d mierzono amperomierzem o bĹ‚Ä™dzie granicznym (klasie) δ(IW) = ¹0,5%, rezystancjÄ™ elektrycznÄ… – omomierzem o bĹ‚Ä™dzie granicznym δ(RW) = ¹0,5%. ĹšrednicÄ™ drutu oblicza siÄ™ na podstawie pomiaru mostkiem jego rezystancji z bezwzglÄ™dnym bĹ‚Ä™dem granicznym Δ(dW) = ¹1 â‹… 10–8 m. AktywnÄ… dĹ‚ugość drutu czujnika termo-anemometrycznego mierzono mikroskopem z bĹ‚Ä™dem Δ(lW) = ¹1â‹…10–5 m, a temperaturÄ™ gazu – termometrem z bĹ‚Ä™dem Δ(T) = Âą0,15 K. Oceny standardowych niepewnoĹ›ci uB(IW), uB(RW), uB(T) dla pomiarĂłw prÄ…du I, rezystancji RW i temperatury gazu T wyznacza siÄ™ z wartoĹ›ci bĹ‚Ä™dĂłw granicznych (klasy) przyrzÄ…dĂłw i zaĹ‚oĹźeniu rĂłwnomiernego rozkĹ‚adu bĹ‚Ä™dĂłw (lub z niepewnoĹ›ci rozszerzonych i rozkĹ‚adu normalnego). Standardowe niepewnoĹ›ci typu B uB(dW) i uB(lW) dla Ĺ›rednicy dw i dĹ‚ugoĹ›ci drutu lw szacuje siÄ™ przy zaĹ‚oĹźeniu trĂłjkÄ…tnego rozkĹ‚adu wynikĂłw, ktĂłry wystÄ™puje zwykle w pomiarach wymiarĂłw liniowych obiektĂłw cylindrycznych. IloĹ›ciowe okreĹ›lenie współczynnikĂłw wpĹ‚ywu wielkoĹ›ci wystÄ™pujÄ…cych we wzorze (7) na niepewność parametru badanego Îą otrzymano przy uĹźyciu pakietu standardowego oprogramowania Mathcad do obliczania pochodnych czÄ…stkowych. Ze wzglÄ™du na dość skomplikowane postacie nie podano w tabeli 2 zaleĹźnoĹ›ci matematycznych, a tylko ich oceny iloĹ›ciowe dla powyĹźej zaĹ‚oĹźonych warunkĂłw pracy przy pomiarze wartoĹ›ci

Wartość

0,05 K

3

Δ(dW )

uB(dW)

4,08¡10–7 m

6

Δ(lW )

uB(lW)

4,08¡10–6 m

6

δV â‹…V

uB(V)

9,584¡10–5 m3

100 ⋅ 3 Δ(τ )

uB(Ď„)

0,058 s

3

*

23 129,0 W/(m2KA)

*

–10 143,0 W/(m2KΊ)

*

–1,462¡109 W/(m3K)

*

1,462¡106 W/(m3K)

*

69,278 W/(m2K2)

* WzorĂłw o duĹźym rozmiarze tu nie podawano. Pochodne czÄ…stkowe obliczono za pomocÄ… programu Mathcad.

Po zróşniczkowaniu wyraĹźenia (4) otrzyma siÄ™ wzĂłr dla niepewnoĹ›ci standardowej objÄ™toĹ›ciowego przepĹ‚ywu gazu:

(8)

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


C q Z " . ' /

gdzie:

,

,

– parametry wpływu niepewności

standardowych uB(V), uB(KqS), uB(t) parametrów V, KqS, t na niepewność uB(qS) przepływu qS. Niepewność standardową pomiaru gazomierzem objętości gazu oblicza się ze wzoru:

u B (V ) =

δV â‹… V 100 â‹… 3

(9)

gdzie: V – zmierzona objÄ™tość gazu; dV – dopuszczalny wzglÄ™dny bĹ‚Ä…d pomiarowy gazomierza w warunkach pracy. Zastosowany na stanowisku laboratoryjnym gazomierz miechowy miaĹ‚ bĹ‚Ä…d dV = Âą2%. Niepewność objÄ™toĹ›ci gazu zadawanej w badaniach V = 8,3¡10–3 m3, uB(V) = 9,584¡10–5 m3. DokĹ‚adność uĹźytego cyfrowego chronometru wynosiĹ‚a Δ(t) = ¹0,1 s. StÄ…d wartość standardowej niepewnoĹ›ci pomiaru czasu uB(t): u B (Ď„ ) =

Δ(τ ) 3

= 0,058 s

(10)

Niepewność standardowa przeliczenia współczynnika KqS przepĹ‚ywu gazu do warunkĂłw standardowych wynosi uB(KqS) = 3,5¡10–3 [18]. W stosunku do jej wartoĹ›ci maksymalnej (zbliĹźonej do jednoĹ›ci), wynosi to 0,35%. Dla obliczonych wartoĹ›ci liczbowych niepewnoĹ›ci skĹ‚adowych ze wzoru (8) otrzymano niepewność standardowÄ… natęşenia przepĹ‚ywu uB(qS) = 1,903 10–6 m3/s. Po podstawieniu obliczonych ocen niepewnoĹ›ci standardowych uB(qS) i uB(HS) do (5), oraz uwzglÄ™dniajÄ…c, Ĺźe

uzyskano niepewność standardowÄ… wartoĹ›ci energetycznej gazu ziemnego uB(e) = 173,58 J/h. Dla przyjÄ™tych w przykĹ‚adzie Ĺ›rednich wartoĹ›ci parametrĂłw =1,627¡10–4 m3/h, = 34,08 106 J/m3, z wzoru (1) otrzymuje siÄ™ wartość energetycznÄ… gazu = 5,543 103 J/h. WzglÄ™dna standardowa niepewność pomiaru energii wynosi WzglÄ™dna niepewność rozszerzona kPδUE bÄ™dzie zaleĹźeć od współczynnika rozszerzenia kP dla wypadkowego rozkĹ‚adu bĹ‚Ä™dĂłw. Dla prawdopodobieĹ„stwa P = 0,95 i rozkĹ‚adu normalnego współczynnik rozszerzenia wynosi 2. Oszacowania standardowych niepewnoĹ›ci parametrĂłw i niepewnoĹ›ci pomiaru energii gazu ziemnego dla przykĹ‚adowo przyjÄ™tych danych zestawiono w tabeli 3.

Z. 9 #

Przedstawiono zasady budowy i funkcjonowanie stanowiska laboratoryjnego do badań eksperymentalnych dokładności

Tabela 3. Wartości parametrów i ich niepewności standardowe dla przykładowych danych układu do zliczania energii przepływającego gazu Table 3. Parameter values and their standard uncertainties for given as example data of the system to counting the energy of flowing gas

Parametr

WzĂłr

Wartość

a

(3)

2312,96 W/(m2â‹…K)

uB(Îą)

(7)

6,81 W/(m2â‹…K)

H

(2)

34,08¡106 J/m3

uB(HS)

(6)

9, 9¡105 J/m3

q

(4)

1,627¡10–4 m3/h

uB(qS)

(8)

1,9¡10–6 m3/s

e

(1)

5,543¡103 J/h

uB(e)

(5)

173,6 J/h

δ UE

u B (e) â‹… 100 e

3,13 %

metody termoanemometrycznej hot-wire przy jej zastosowaniu w pomiarach energii gazu ziemnego. Rezultatem wykonanych badaĹ„ sÄ… charakterystyki kalibracyjne ukĹ‚adu pomiarowego do realizacji pomiaru wartoĹ›ci energetycznej gazu ziemnego przy uĹźyciu tej metody (rys 4). PrzedstawiajÄ… one zaleĹźność sygnaĹ‚u wyjĹ›ciowego ukĹ‚adu przetwornika hot-wire od zmian wartoĹ›ci energetycznej gazu ziemnego o trzech wartoĹ›ciach opaĹ‚owych w zakresie (7759 – 8538) kcal/m3 i przepĹ‚ywach objÄ™toĹ›ciowych do 0,6 m3/h. W szczegĂłlnoĹ›ci zrealizowano podane poniĹźej zadania. − OkreĹ›lono zasadÄ™ funkcjonowania i specyfikÄ™ stanowiska laboratoryjnego do badaĹ„ termoanemometrycznej metody pomiaru wartoĹ›ci energetycznej przepĹ‚ywajÄ…cego gazu. − Na podstawie wynikĂłw badaĹ„ uzyskano parametry do kalibracji przyrzÄ…du wykorzystujÄ…cego metodÄ™ termoanemometrycznÄ… do pomiaru i zliczania wartoĹ›ci energetycznej gazu ziemnego. − Ustalono eksperymentalnie zaleĹźność wyjĹ›ciowego sygnaĹ‚u przetwornika od wartoĹ›ci energetycznej gazu naturalnego dla zakresu wartoĹ›ci opaĹ‚owej (7759–8538) kcal/m3 i natęşeĹ„ przepĹ‚ywu do 0,6 m3/h. − Zaproponowano nowe rozwiÄ…zanie urzÄ…dzenia do realizacji monitorowania wartoĹ›ci energetycznej gazu ziemnego metodÄ… termoanemometrycznÄ… z wykorzystaniem przetwornika przepĹ‚ywu gazu z czujnikiem róşnicy ciĹ›nieĹ„. − Przeprowadzono szczegółowÄ… analizÄ™ metrologicznÄ… wartoĹ›ci skĹ‚adowych niepewnoĹ›ci typu B modelowanego na stanowisku ukĹ‚adu pomiarowego do bezpoĹ›redniego pomiaru energii gazu ziemnego i otrzymano wzglÄ™dnÄ… niepewność standardowÄ… 3,13%. Badania doĹ›wiadczalne, analiza metrologiczna uzyskanych wynikĂłw i symulacje [19, 20] potwierdzajÄ… poprawność wstÄ™pnych zaĹ‚oĹźeĹ„ teoretycznych [14] o moĹźliwoĹ›ci zastosowania proponowanego rozwiÄ…zania przetwornika termoanemometrycznego

55


. 8 % . . .

w pomiarach dostarczanej energii gazu ziemnego. Przy wykorzystaniu przetwornikĂłw hot-wire rysuje siÄ™ moĹźliwość realizacji prostych przyrzÄ…dĂłw do bezpoĹ›redniego monitorowania wartoĹ›ci energetycznej gazu ziemnego. Zastosowanie w praktyce tej koncepcji wymaga jeszcze dalszych badaĹ„ róşnych rozwiÄ…zaĹ„ konstrukcyjnych i doskonalenia ukĹ‚adu pomiarowego. Trudno obecnie przewidzieć, czy przetworniki oparte na metodzie termoanemometrycznej bÄ™dÄ… mogĹ‚y zastÄ…pić ktĂłryĹ› z dotychczasowych rodzajĂłw aparatury stosowanej do pomiarĂłw ciepĹ‚a spalania gazu jako podstawy rozliczeĹ„ energii dostarczonego gazu. JednakĹźe mogÄ… je uzupeĹ‚nić, np. gdy technologia u odbiorcy przemysĹ‚owego wymaga monitorowania i szybkiej sygnalizacji zmian wartoĹ›ci tego ciepĹ‚a w dostarczanym gazie. W pracy badano oryginalnÄ… metodÄ™ polegajÄ…cÄ… na wyznaczaniu zmian wartoĹ›ci niedostÄ™pnego w danych warunkach lub trudno mierzalnego parametru mieszaniny (ciepĹ‚o spalania gazu ziemnego) na podstawie pomiaru Ĺ‚atwiej mierzalnego jej parametru (przewodnoĹ›ci cieplnej). Parametry te nie sÄ… powiÄ…zane ze sobÄ… bezpoĹ›redniÄ… zaleĹźnoĹ›ciÄ… przyczynowo-skutkowÄ…, ale znane sÄ… ich zaleĹźnoĹ›ci od skĹ‚adu mieszaniny. Metoda taka jest w peĹ‚ni wiarygodna tylko dla badania parametrĂłw róşnych mieszanin dwuskĹ‚adnikowych. MoĹźliwość jej zastosowania i niepewność pomiaru przy wiÄ™kszej liczbie skĹ‚adnikĂłw wymaga modelowania i badaĹ„ statystycznych. OmĂłwione w tej pracy badania i modelowanie zmian parametrĂłw gazu ziemnego przy dopuszczalnych zmianach jego skĹ‚adu [20] powinny zainteresować nie tylko osoby zajmujÄ…ce siÄ™ pomiarami gazĂłw palnych, ale i innych czytelnikĂłw.

10. Rupnik K., Kutin J., Bajsić I., A method for gas identification in thermal dispersion mass flow meters. “StrojniĹĄki vestnik – Journal of Mechanical Engineeringâ€?, Vol. 60, No. 9, 2014, 607–616, DOI: 10.5545/sv-jme.2014.1889. 11. RosĹ‚onek G., Uwarunkowania wdroĹźenia rozliczeĹ„ paliw gazowych w jednostkach energii w krajowym systemie gazowniczym. Konferencja FORGAZ 2014: Techniki i technologie dla gazownictwa – pomiary, badania, eksploatacja, „Prace naukowe Instytutu Nafty i Gazuâ€?, Nr 194, 2014, 139–143. 12. RosĹ‚onek G., Kierunki rozwoju standardĂłw technicznych IGG w obszarze analityki paliw gazowych metodÄ… chromatografii gazowej, „Nafta-Gazâ€?, R. 72, Nr 6, 2016, 431–435, DOI: 10.18668/NG.2016.06.06. 13. Chekhovskyi S., Serediuk O., Romaniv V., Malisevych V., Calculation of natural gas adjusted for its energy parameters. Konferencja FORGAZ 2014: Techniki i technologie dla gazownictwa – pomiary, badania, eksploatacja, „Prace naukowe Instytutu Nafty i Gazuâ€?, Nr 194, 2014, 191–200. 14. Serediuk O.E., Malisevych V.V., Theoretical basis of using of head flowmeter to determine the energy value of natural gas. “Metrolohiya ta pryladyâ€?. No. 5, 2014, 38–47 (in Ukrainian: Teoretychni zasady zastosuvannya napirnoho vytratomira dlya vyznachennya enerhetychnoyi tsinnosti pryrodnoho hazu). 15. Serediuk O.E., Malisevych V.V., Partial flowmeter (in Ukrainian: Partsial’nyy vytratomir). Patent 99887 C2 Ukraine, IPC (2012.01) G 01 F 1/00 No. a201114278; declared 02.12.11; published 10.10.12, Bulletin No. 19. 16. D6F-V03A1 MEMS Flow Rate Sensor. www.omron.com. 17. Malisevych V.V., Serediuk O.E., Serediuk D.O., Metrological model of a pressure flow meter in controlling the energy value of natural gas. “Ukrayins’kyy metrolohichnyy zhurnalâ€?, No. 1, 2015, 58–63 (in Ukrainian: Metrolohichna model’ napirnoho vytratomira pry kontroli enerhetychnoyi tsinnosti pryrodnoho hazu). 18. Serediuk O.E., Malisevych V.V., Serediuk D.O., Malisevych N.M., The metrological model of measuring of natural gas energy with the using of the variable pressure-drop flow meters. “Systemy obrobky informatsiyiâ€?, No. 6(143), 2016, 139–142, (in Russian: Metrologicheskaya model’ izmereniya energeticheskoy tsennosti prirodnogo gaza s ispol’zovaniyem raskhodomerov peremennogo perepada davleniya). 19. Serediuk O., Malisevich V.V., Warsza Z.L., Metrological parameters of the natural gas flow rate standard based on the variable pressure drop flowmeter. (Conference no ID 228), Proceedings of a meeting held 11–13 September 2013, Cracow, Poland. Measurement and Quality Control. IMEKO TC14 Int. Symposium. 11th 2013. (ISMQC 2013), Currant Associates, Inc (Aug. 2014) USA 251–254, ISBN: 9781632668172. 20. Seredyuk O., Malisevych V., Warsza Z.L., Symulacja zwiÄ…zku wĹ‚aĹ›ciwoĹ›ci cieplnych i energii gazu ziemnego w pomiarach jego przepĹ‚ywu. „PrzemysĹ‚ Chemicznyâ€?, T. 96, Nr 10, 2017, 2065–2069, DOI: 10.15199/62.2017.10.6. 21. Serediuk O., Malisevych V., Warsza Z.L., Metoda termoanemometryczna pomiaru wartoĹ›ci energetycznej gazu ziemnego. „PrzemysĹ‚ Chemicznyâ€?, T. 96, Nr 11, 2017, 2243–2246. DOI: 10.15199/62.2017.11.5.

} 1. 2. 3. 4.

5.

6.

7.

8.

9.

56

DSTU ISO 15112:2009 Norma ukraiĹ„ska: Pryrodny haz. Vyznachennya enerhiyi: [waĹźna od 2011-01-01]. ISO 15112:2007 Natural Gas – Energy determination. EN 1776:2015 Gas infrastructure. Gas measuring systems. Functional requirements. RozporzÄ…dzenie Ministra Gospodarki z dn. 28. 06. 2013 r. w sprawie szczegółowych zasad ksztaĹ‚towania i kalkulacji taryf oraz rozliczeĹ„ w obrocie paliwami gazowymi. Boguta A.: Application of the LabVIEW environment in testing automotive thermoanemometric flow meters. Econtechmod. An international quarterly journal. 2017, vol. 06, no. 1, 123–131. Cebula A., Experimental and numerical investigation of thermal flow meter. “Archives of thermodynamicsâ€?, Vol. 36, Iss. 3, 2015, 149–160, DOI: 10.1515/aoter-2015-0027. Khamshah N. Abdalla A.N., et all, Temperature compensation of hot wire mass air flow sensor by using fuzzy temperature compensation scheme. “Scientific Research and Essaysâ€?. Vol. 8(4), 2013, 178–188, DOI: 10.5897/SRE11.2211. Khamshah N. Abdalla A.N., et all, Issues and temperature compensation techniques for hot wire thermal flow sensor: A review. “International Journal of the Physical Sciencesâ€?, Vol. 6(14), 2011, 3270–3278, DOI: 10.5897/IJPS11.630. Khamshah N., Abdalla A.N., Badaruddin M., Temperature compensation of a thermal flow sensor by using temperature compensation network. Proceedings of National Conference on Postgraduate Research (NCON-PGR) 2009, 1st Oct. 2009, Malaysia, 10–17.

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


C q Z " . ' /

7 " * 7 " 0 " " " 7 * * " " Abstract: The thermo-anemometric method of direct measurement of the energy value of the flowing natural gas is presented. It is based on two transducers: thermo-anemometric (hot-wire) and differential pressure. The design and operation of the laboratory stand for testing this method has been described. Based on the experimental results, the calibration characteristics of the thermoanemometric transducer and the dependence of its output on the calorific value of the natural gas for the range of (7759–8538) kcal/m3 and flows to 0.6 m3/h were determined. An analysis of uncertainty components of B-type measurements was carried out using this method and its standard uncertainty was assessed. This is an example of an indirect method for examining changes of the tested parameter dependent on the composition of the gas if its direct measurements are difficult or impossible to perform. Instead, another parameter is measured, which depends in a known manner on the composition of the gas as a mixture. Such method can find many other different applications. KeywordsX * * ! "9 V T ! X * * " " " 0 " " 9 " "

& % Orest E. Serediuk

kandydat nauk techn. ; & " ' ; " < %

R\ ) %

7 ! ) *% %

# 0 +DD& % 0 V 9 X ,&&D % 0 7 ]B 0 7 F ^ U! 0A ! " I " # 0 @ " I 7 > VUAI@#I>X # % 9 7 % @ " _ 9 Q 9 " 9 * " * " * " F * " * % / ,&& 9 " $& F , F %

' ,&&J % U! 0 0A ! " @ " # 0 I 7 > VUAI@#I>X " Y 7 0 ] Q " 9 0 Q ^% ,&+$ % 0 % E 9 _ Q * 0 * F " F * 9 " * * 0 " % / +D 9 0 %

% ! & . % +D$.)*" % " /9 ' ; * ' +DCD 0 +D.- +D-&% _ U ; +DCJZ+D.$ +DDOZ+DDC ' +D.&Z-& ` +D-&Z+D-J V * ' @ 8 " X R * _ R / 0 " U B 0 * > ' +D-JZ+DJ, / " " F U " " +DJ$Z+DD,% B ; I +DD,Z+DDC 8 " +DJ$Z,&&,% R9 * F " " U 0 / " " F U/ % / ,C& 9 . " * 7 9 ++ F 0 " , F % * @ B * * % /8 / " B * # %

57


NR 3/2015

58

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 59–65, DOI: 10.14313/PAR_226/59

' " F " " Q " " " Zygmunt L. Warsza " U / " " F U/ / % M " ,&, &,0OJ. '

Serhii W. Zabolotnii I @ # ! #

Streszczenie: Omówiono w skrócie rodzaje estymatorów parametrów menzurandu wyznaczanych z próbek danych pomiarowych pobranych z populacji o rozkładzie trapezowym. Zaproponowano uşycie metody maksymalizacji wielomianu stochastycznego o symbolu PMM jako niekonwencjonalnego sposobu wyznaczania estymatorów wartości i odchylenia standardowego menzurandu dla próbek o rozkładach niegaussowskich. Na przykładach próbek z symetrycznego rozkładu trapezowego Trap oszacowano niepewność standardową dla wartości średniej, środka rozpięcia i estymatora menzurandu obliczonego metodą wielomianową PMM z uşyciem kumulantów, które wyznaczono z danych próbki za pośrednictwem momentów centralnych. Metodą symulacji Monte Carlo (MC) dokonano analizy porównawczej ocen wariancji obliczanej klasycznie ze wzorów rozkładu, wg Przewodnika GUM [1], dla środka rozpięcia i metodą PPM. W funkcji liczby danych próbki i stosunku podstaw trapezu określono granice najefektywniejszego obszaru dla kaşdej z metod. ) # ' X " " " " " " "

1. Wprowadzenie Podczas prowadzenia pomiarów, zarówno w obiekcie badanym, jak i w przyrządzie lub systemie pomiarowym i otoczeniu występują zjawiska losowe. Oddziaływają one na wielkość mierzoną i na sygnały pomiarowe. Wskutek tego pojawia się składowa losowa w sygnale wyjściowym wielkości mierzonej, a ogólniej – w sygnałach mierzonych parametrów multimenzurandu. Sygnał pomiarowy jest bądź ciągły w czasie i następnie podlega próbkowaniu, zwykle regularnemu, bądź teş pomiary są wielokrotnie powtarzane, w tym automatycznie. W obu przypadkach otrzymuje się próbkę danych pomiarowych o losowym rozrzucie wartości. Wynik pomiaru podlega szacowaniu, zwykle według zaleceń międzynarodowego Przewodnika GUM (Guide for the uncertainty in measurement) [1]. Dane próbki pomiarowej oczyszcza się z błędów systematycznych i oblicza

# & *: X *" (% ' ) % # ) ' ,.%&D%,&+- % +O%++%,&+- % ! "" # $%&

się estymator wartości menzurandu wraz z oceną jego dokładności w postaci przedziału niepewności o wymaganym prawdopodobieństwie. Według Przewodnika GUM wynik pomiarów wyznacza się w postaci

X = X ÂąU

(1)

gdzie: X – wartość średnia, U = k P u = k P u A2 + u B2 – niepewność rozszerzona, kP – współczynnik rozszerzenia dla przedziału o prawdopodobieństwie P, u – niepewność standardowa i jej składowe: uA – obliczana z pomiarowych danych metodą statystyczną i uB – szacowana na podstawie wiedzy o niezidentyfikowanych błędach, które mogą wystąpić w danym eksperymencie pomiarowym. W praktyce pomiarowej niepewność typu A (uA) liczy się tak, jak dla próbek z populacji o rozkładzie normalnym, tj. opisanym funkcją Gaussa, Przewodnik GUM [1] nie wskazuje, jak ją liczyć dla próbek danych z rozkładów innych niş normalny. Do wyznaczenia niepewności rozszerzonej U próbki o wymaganym prawdopodobieństwie określa się wartości współczynników kP. Dla danych z populacji o rozkładzie normalnym i duşej liczbie n stosuje się współczynniki k0,95 = 1,96 i k0,975 = 3. Ostatnio zaproponowano udoskonaloną wersję Przewodnika GUM 2 [2], opartą na podejściu Bayesa, w której zaleca się, aby po eliminacji znanych błędów systematycznych, niepewność rozszerzoną U wyznaczać jako

59


/ 8 % % J % _ 8

U = kPu = kP

n −1 2 u A + u B2 n −3

bolem Trap. RozkĹ‚ad ten wystÄ™puje dość czÄ™sto w cyfrowych systemach pomiarowych i jest splotem dwu rozkĹ‚adĂłw rĂłwnomiernych. DĹ‚ugoĹ›ci podstaw trapezu sÄ… sumÄ… i róşnicÄ… rozstÄ™pĂłw V1, V2, czyli szerokoĹ›ci tych rozkĹ‚adĂłw.

(2)

gdzie: n t 4 – liczebność próbki. Współczynnik a º (n–1)/(n–3) w (2) przy wariancji u A2 wzrasta ze zmniejszaniem się liczby n danych próbki (rys. 1). Wynika to z rozkładu Studenta.

p(x)

-B -A

C

A

0

B

x

Rys. 2. Rozkład trapezowy Trap o podstawach 2a = (–A, A), 2b = (–B, B) Fig. 2. PDF of trapeze Trap distribution: 2a = (–A, A), 2b = (–B, B)

Charakterystycznym parametrem okreĹ›lajÄ…cym ksztaĹ‚t takiego trapezu jest stosunek dĹ‚ugoĹ›ci jego podstaw b Âş a/b. Przypadkami kraĹ„cowymi rodziny rozkĹ‚adĂłw Trap sÄ…: − rozkĹ‚ad trĂłjkÄ…tny (b = 0) – dla splecionych jednakowych rozkĹ‚adĂłw rĂłwnomiernych, − rozkĹ‚ad rĂłwnomierny (b = 1), gdy szerokość jednego z tych rozkĹ‚adĂłw jest pomijalnie maĹ‚a. Odchylenia standardowe splatanych rozkĹ‚adĂłw rĂłwnomiernych wynoszÄ… u1 = V1/2√3 i u2 = lu1, (gdzie 0 d l d 1). Standardowa niepewność typu A tworzonego przez nie rozkĹ‚adu trapezowego Trap wynika z sumy ich wariancji i wynosi

Rys. 1. Zaleşność współczynnika ι od liczebności próbki n Fig. 1. Coefficient ι as function of the number n of sample elements

Taki przebieg współczynnika a jak na rys. 1 dotyczy prĂłbek z populacji o rozkĹ‚adzie normalnym. WzĂłr (2) obowiÄ…zuje dla prĂłbek o liczbie elementĂłw n • 4 [3]. W komitecie JCGM d/s przewodnikĂłw metrologicznych zdania o stosowaniu tego wzoru sÄ… podzielone i jeszcze nie rekomenduje siÄ™ go w przewodnikach dla praktyki metrologicznej. Wyznaczana wg Przewodnika GUM ocena niepewnoĹ›ci menzurandu, nie jest wystarczajÄ…co efektywna dla prĂłbek pomiarowych modelowanych rozkĹ‚adami niegaussowskimi. Do modelowania rozrzutu danych pomiarowych, w tym rĂłwnieĹź, gdy wynika on ze zmian wartoĹ›ci menzurandu w obiekcie mierzonym, poza rozkĹ‚adem normalnym, stosuje siÄ™ teĹź inne rozkĹ‚ady. W pracy [2], dla współczynnika kp rozszerzenia niepewnoĹ›ci standardowej jako wartoĹ›ci Ĺ›redniej populacji o rozkĹ‚adzie symetrycznym jednomodalnym oraz o rozkĹ‚adzie dowolnym niesymetrycznym proponuje siÄ™ nastÄ™pujÄ…ce wzory przybliĹźone kP ≤

2 3⋅ 1− p

kP ≤

u = u 21 + u 22 = u 1 1 + Ν2 Współczynniki l i b są powiązane zaleşnością

Îť=

1−p

Do obliczania niepewności rozszerzonej dla wartości średniej X rozkładu Trap Botsiura i Zakharov [12], podają następujący współczynnik rozszerzenia (7)

Obliczona z danych pomiarowych wartość średnia jest najbardziej efektywnym estymatorem menzurandu, tj. o najmniejszym odchyleniu standardowym (SD) tylko dla próbek danych pobranych z rozkładu normalnego (funkcja Gaussa). Dla innych rozkładów są inne lepsze estymatory. Standardowe odchylenie SV/2 środka rozstępu qV/2 = 0,5(xmax– xmin) próbki pobranej z równomiernego rozkładu o n elementach wg [4, 5] wynosi (8)

Odchylenie standardowe SV/2 jest mniejsze niş S [X ] średniej. Środek rozpięcia jest więc estymatorem lepszym dla próbek z rozkładu równomiernego. Oba te odchylenia i ich względne niepewności standardowe maleją wraz ze wzrostem liczebności n próbki. Natomiast S [X ] jest bardziej dokładne od SV/2. Sprawdzono to metodą Monte Carlo [6]. Metodą symulacyjną Monte Carlo (MC) zbadano teş odchylenia standardowe wartości średniej X , środka rozstępu qV/2 oraz

Symetryczny rozkład trapezowy o bokach liniowych (rys. 2), oznaczany jest w Suplemencie 1 do Przewodnika GUM symO

M

I

A

R

Y

(6)

(3)

Y. ' '#) ' & '

P

(5)

Według p. 4.3.9 w GUM [1] środek qV/2 = 0,5(b+ – b–) dla populacji o rozkładzie Trap ma wariancję

Z wzorów (3) dla p = 0,95 otrzymuje się bardzo duşe wartości kp = 2,98 i kp = 4,47, gdy dla rozkładu normalnego jest kp = 1,96. Ponadto w praktyce, obok przypadków, gdy znany jest rodzaj rozkładu populacji, z której pochodzą dane pomiarowe, występują sytuacje, gdy jest on a priori nieznany. Jednoznaczna jego identyfikacja jest moşliwa tylko dla próbek o bardzo duşej liczbie danych n. Trzeba więc dla rozkładów niegaussowskich stosować metody alternatywne, które wykorzystują więcej informacji zawartych w próbce niş dwa pierwsze jej momenty. Ponişej, na przykładzie próbek z symetrycznego rozkładu trapezowego Trap analizowane będą wyniki, jakie moşna uzyskać stosując podaną przez Y. Kunczenkę [13] metodę maksymalizacji wielomianu o symbolu PMM (ang. Polynomial Maksymization Method). W metodzie tej stosuje się, jako prostszy, opis wzorów za pomocą kumulantów. Wyznacza się je pośrednio z momentów centralnych obliczonych z danych próbki. Zastosowanie metody PMM do szacowania niepewności menzurandu dla próbek z niegaussowskich rozkładów symetrycznych opisali autorzy w [14].

60

1− β 1+ β

u 2 (x i ) = b 2 (1 + β 2 ) 6

1

(4)

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


" . / C /' " @

mediany Xmed jako jednoelementowych estymatorĂłw wartoĹ›ci menzurandu dla prĂłbek danych pomiarowych z populacji o symetrycznych rozkĹ‚adach trapezowych: Trap – o bokach liniowych i CTrap – o bokach krzywoliniowych wklÄ™sĹ‚ych [7–11]. Wyznaczono je jako funkcje stosunku dĹ‚ugoĹ›ci podstaw trapezu β ∈ [0; 1] i liczby danych n prĂłbki. Dla zmiennej losowej o rozkĹ‚adzie Trap podano je na rys 3. Odchylenie standardowe mediany w caĹ‚ym zakresie b jest wiÄ™ksze od pozostaĹ‚ych estymatorĂłw i nie podano go na wykresie. Odchylenie standardowe Ĺ›redniej S [X ] najmniejsze jest tylko w przedziale 0 < b < 0,35. Dla wiÄ™kszych b, tj. w przedziale 0,35 < b d 1, mniejsze od niego jest odchylenie S[qV/2] Ĺ›rodka rozstÄ™pu.

wartości parametru q jest rozwiązanie układu równań stochastycznych r

∑ hi (θ )[ιˆi i =1

− Îą i (θ )]

=0

(9)

θ =θˆ

gdzie: r – rząd wielomianu uşytego do szacowania parametrów, ιi(q) i ιˆi =

1 n

n

∑ xvi

– teoretyczne i początkowe momenty

v =1

i-tego rzędu próbki. Współczynniki hi(q) (dla i = 1 s) wyznacza się przez rozwiązanie układu liniowych równań algebraicznych rzędu s podanych dla warunków minimalizacji wariancji poszukiwanej estymaty wartości parametru u [13], a mianowicie: s

d

∑ hi (θ ) Fi ,j (θ ) = dθ Îą j (θ ) ,

j = 1, s ,

(10)

i =1

Rys. 3. Odchylenia standardowe: – Ĺ›redniej i – Ĺ›rodka – estymatora dwuelementowego rozstÄ™pu oraz prĂłbek o n = 400 danych z rozkĹ‚adu Trap(a, b) w funkcji stosunku podstaw trapezu β of Fig. 3. Standard deviations: of mean, S[qV/2] of mid range and for the n = 400 data samples from two-element estimator linear trapeze PDF Trap(a, b) as function of a trapeze bases ratio β

Dla próbek z rozkładu Trap [6, 8] wykazano teş, şe odchylenie SD estymatora dwuelementowego Xˆ = 0,5 X + qV 2 jest jeszcze mniejsze, co najmniej o 20% w całym zakresie b (rys. 3). Syntezę tych badań i porównanie estymatorów kilku innych rozkładów podano teş w monografii [15].

(

)

{. 1 ' ) & PoniĹźej symbolem θˆ oznacza siÄ™ ocenÄ™ wartoĹ›ci menzurandu wyznaczanÄ… z prĂłbki rozproszonych danych pomiarowych metodÄ… PMM. Wartość tÄ™ estymuje siÄ™ przez statystycznÄ… analizÄ™ wektora x = {x 1 , x 2 , ..., x n } . ZakĹ‚ada siÄ™, Ĺźe dane losowe xi sÄ… niezaleĹźne, o wartoĹ›ciach opisanych modelem Ξ = θ + Ξ 0 . W modelu tym Ξ 0 jest wycentrowanÄ… zmiennÄ… losowÄ…. Jako przykĹ‚ad rozpatrzy siÄ™ prĂłbki o róşnej liczbie danych n z populacji o rozkĹ‚adzie Trap, tj. w postaci symetrycznego trapezu o liniowych bokach, szerokoĹ›ci dolnej podstawy 2b i stosunku dĹ‚ugoĹ›ci podstaw b. Przez prĂłby statystyczne dokonywane metodÄ… MC co najmniej M = 104 razy, naleĹźy zbadać estymatory parametrĂłw prĂłbki wyznaczone metodÄ… maksymalizacji wielomianu PMM, ich dokĹ‚adność i zbieĹźność rozkĹ‚adu empirycznego do funkcji Gaussa, w zaleĹźnoĹ›ci od liczby danych n prĂłbki. Ponadto naleĹźy porĂłwnać te oceny z ocenami niepewnoĹ›ci wartoĹ›ci Ĺ›redniej i Ĺ›rodka rozpiÄ™cia jako estymatorĂłw menzurandu.

^. ; ' ' ( : PMM ^.\. 9 ' 911 W pracy, do wyznaczenia niepewności próbki z rozkładu Trap zastosuje się podaną przez Y. Kunchenkę metodę maksymalizacji wielomianu PMM [13]. Oszacowaniem poszukiwanej

gdzie Fi , j (θ ) = Îą i + j (θ ) − Îą i (θ ) Îą j (θ ) . W [13] wykazano, Ĺźe estymatory θˆ bÄ™dÄ…ce rozwiÄ…zaniami ukĹ‚adu rĂłwnaĹ„ (9) sÄ… zgodne i asymptotycznie nieobciÄ…Ĺźone.

^.Y. ' , , '#) , ' , 911 Oszacowanie wartości składowej stałej metodą PMM w przypadku szczególnym, tj. przy stopniu wielomianu s = 1, jest równowaşne oszacowaniu średniej arytmetycznej dla dowolnego rozkładu zmiennej losowej [10]. W pracy tej wykazano równieş, şe przy symetrii rozkładu otrzymuje się dla nieparzystych kumulantów k wartości współczynników równe zeru, zaś dla wielomianów stopnia s = 2 estymaty sprowadzają się do estymat liniowych. W pracy [14] wykazano, şe przy uşyciu wielomianów stopnia s = 3 znalezienie estymat parametrów wg algorytmu PMM dla rozkładów symetrycznych wymaga rozwiązania równania stochastycznego trzeciego stopnia o postaci:

aθ 3 + bθ 2 + cθ + d

θ =θˆ

=0,

(11)

gdzie: a = g4, b = −3Îł 4ιˆ1 , , ; kumulanty: k1 = m1, k2 = m2, k3 = m3,

,

i ich współczynniki:

.

We wzorze (11) statystyki , i = 1, 3, podobnie jak i we wzorze (8), są momentami początkowymi próbki, zaś k2, g4 i g6 – to kolejno: kumulant rzędu 2. i współczynniki kumulantów rzędów 4. i 6. zmiennej losowej x0. Wartości kumulantów rozkładu normalnego powyşej drugiego rzędu są równe zeru. Równanie stochastyczne (11) rozwiązuje się analitycznie stosując wzory Cardana [14]. Prostsze obliczeniowo jest rozwiązanie oparte na wykorzystaniu numerycznych iteracyjnych metod rozwiązywania równań nieliniowych. Jako pierwsze przyblişenie moşna posłuşyć się estymacją średniej arytmetycznej (oszacowanie pierwszego momentu początkowego). Wraz ze wzrostem liczby elementów próbki wartość statystyki q zblişa do rzeczywistej wartości esty-

61


/ 8 % % J % _ 8

mowanego parametru. Zwykle wystarcza tylko jedna iteracja. StosujÄ…c metodÄ™ Newtona-Raphsona, otrzyma siÄ™ przybliĹźone rozwiÄ…zanie rĂłwnania trzeciego stopnia (11) w postaci

θˆ ≈ ιˆ1 −

aιˆ1 3 + bιˆ1 2 + cιˆ1 + d . 3aιˆ1 2 + 2bιˆ1 + c

Wiarygodność wyników symulacji algorytmami estymacji statystycznej zaleşy od dwu czynników: wielkości próbki, czyli liczby n elementów wektora x i od liczby M statystycznych eksperymentów wykonanych w jednakowych warunkach początkowych (stała wartość b trapezu). Obliczenia wartości estymat metodą wielomianową PMM nie wymagają informacji o rodzaju rozkładu. Korzysta się z wartości trzech parametrów modelu: k2, g4 i g6. W badaniach opisanych w pracy [14] wartości tych parametrów modelu obliczono z analitycznych wyraşeń wiąşących parametry rozkładu gęstości prawdopodobieństwa (pdf), tj. momenty początkowe, odpowiednie kumulanty i współczynniki kumulantów. Jednak w praktyce, gdy informacje na temat rozkładu pdf i/lub wartości ich parametrów nie jest znana a priori, moşna zastosować podejście adaptacyjne wykorzystując w danym badaniu oszacowania a posteriori. Uzyskuje się je z zaleşności asymptotycznych dla populacji

(12)

Otrzymywany metodÄ… PMM estymator θˆ wartoĹ›ci menzurandu, podobnie jak inne estymatory dla rozkĹ‚adĂłw trapezowych [7–11], bÄ™dzie niewiele róşnić siÄ™ od wartoĹ›ci Ĺ›redniej prĂłbki. Zwykle mieĹ›ci siÄ™ on przedziale Âą S X jej niepewnoĹ›ci standardowej.

[ ]

^.{. #) ~€ , ) 911 '#) ( ' ,

Estymator wariancji Ďƒ θ2 Ĺ›redniej arytmetycznej (identyczny jak dla metody PMM przy s = 1) nie zaleĹźy od wartoĹ›ci oszacowania parametru q. OkreĹ›la go wariancja drugiego rzÄ™du prĂłbki m2 (rĂłwna jej kumulantowi k2) podzielona przez liczbÄ… jej danych n, tj.

Ďƒ (2θ )1 =

Îş2

,

(13)

n

Οˆi =

κ2 ⎥

⎤ Îł 42 ⎢1 − ⎼ n ⎣⎢ 6 + 9Îł 4 + Îł 6 ⎌⎼

Ďƒ (θ ) 1 2

g (θ ) 3

Z. ' ( Implementacja modelowania statystycznego została wykonana za pomocą pakietu oprogramowania w środowisku MATLAB. Wykorzystuje się tu metodę Monte-Carlo (MC) opartą na wielokrotnie powtarzanych testach o losowo zmienianych danych. Umoşliwiła ona przeprowadzenie analizy dokładności proponowanych algorytmów statystycznej estymacji wielomianowej i zbadanie właściwości probabilistycznych uzyskanych oszacowań. Jako kryteria do porównywania skuteczności zastosowano wyznaczane eksperymentalne stosunki wariancji

ĎƒË† (2θ )3 ĎƒË† (2θ )1

, qˆ(θ ) 3 =

ĎƒË†(2θ ) 3 ĎƒË†(2θ )V / 2

,

P

O

M

I

A

R

Y

•

(16)

A

U

T

O

M

qˆ(θ ) 3 = ĎƒË†(2θ )3 / ĎƒË†(2θ )V / 2

n 20

50

200

20

50

200

b =1

0,3

0,56

0,36

0,32

2,15

3,51

10,4

b = 0,75

0,36

0,61

0,45

0,38

1,53

1,29

1,04

b = 0,5

0,55

0,78

0,63

0,57

1,02

0,85

0,74

b = 0,25

0,76

0,97

0,86

0,79

0,9

0,77

0,71

b=0

0,84

1,03

0,95

0,87

0,84

0,76

0,69

Współczynniki ilorazu dwu wariancji gˆ(θ )3 , qˆ(θ ) 3 uzyskano doĹ›wiadczalne z M = 104 prĂłb wykonanych dla róşnych wartoĹ›ci parametru b. Analiza danych otrzymanych metodÄ… Monte Carlo wykazuje duşą korelacjÄ™ miÄ™dzy obliczeniami analitycznymi i wynikami modelowania statystycznego. Wraz ze wzrostem liczby danych n w prĂłbce x, zmniejsza siÄ™ róşnica miÄ™dzy teoretycznymi wartoĹ›ciami (dla populacji) współczynnikĂłw stosunku wariancji g (θ )3 i wartoĹ›ciami eksperymentalnymi gˆ(θ )3 wyznaczanymi z prĂłbki. Na przykĹ‚ad dla n = 50 róşnica ta nie przekracza 20%, a przy n = 200 spada juĹź poniĹźej 10%. Zmiany stosunku gˆ(θ ) 3 g (θ )3 w funkcji liczby elementĂłw prĂłbki n dla kilku wartoĹ›ci współczynnika b podaje rys. 4. Analiza wynikĂłw symulacji statystycznej MC z tabeli 1 potwierdza teĹź, Ĺźe efektywność zastosowania danej statystyki do oszacowania niepewnoĹ›ci parametrĂłw rozkĹ‚adu istotnie zaleĹźy od przyjÄ™tego modelu opisujÄ…cego losowy rozrzut pomiarĂłw i od liczebnoĹ›ci n prĂłbki.

gdzie ĎƒË† (2θ )V / 2 , ĎƒË† (2θ )1 , ĎƒË† (2θ ) 3 – uĹ›rednione dla M prĂłb MC wartoĹ›ci estymatorĂłw wariancji parametrĂłw q. SÄ… one obliczane dla statystyk Ĺ›rodka rozpiÄ™cia qV/2, Ĺ›redniej arytmetycznej X i dla estymatora metody PMM o stopniu wielomianu r = 3.

62

Rezultaty modelowania

gˆ(θ )3 = ĎƒË† (2θ )3 / ĎƒË† (2θ )1

(15)

WartoĹ›ci g (θ )3 naleşą do przedziaĹ‚u (0; 1]. Zaleşą one tylko od wĹ‚aĹ›ciwoĹ›ci rozkĹ‚adu prawdopodobieĹ„stwa okreĹ›lonych przez współczynniki kumulantĂłw g4 i g6.

gˆ(θ )3 =

(18)

v =1

Teoret.

Îł 42 6 + 9Îł 4 + Îł 6

=1−

n

∑ (x v − x )i

Tabela 1. Współczynniki stosunku wariancji estymat Table 1. The coefficients of the variance ratio of estimates

(14)

b

Ďƒ (2θ ) 3

1 n

Tabela 1 przedstawia wyniki badań otrzymanych z symulacji Monte Carlo.

Z (11) i (12) otrzymuje się współczynnik stosunku wariancji:

g (θ )3 =

(17)

gdzie Οˆ i – moment centralny i-tego rzędu próbki

Ze wzoru opisujÄ…cego wielkość uzyskanej informacji o badanym parametrze, w pracach [13, 14] otrzymano wyraĹźenie analityczne dla asymptoty wariancji Ďƒ (2Îą )3 przy n → ∞, oszacowanej metodÄ… PMM jako

Ďƒ (2θ )3 =

,

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


" . / C /' " @

a)

Rys. 4. Stosunek wartości współczynników wariancji próbek o n danych obliczonych w symulacji MC oraz dla populacji Trap Fig. 4. Ratio of the variance coefficients calculated for n- element samples in MC simulation and theoretical of population Trap

Z wyników wielu powtórzonych obliczeń metodą MC próbek o n = 15–200 danych otrzymano rysunki 5a, b. Rysunek 5a przedstawia dla wartości parametrów n i b granice obszarów największej efektywności trzech estymatorów menzurandu: parametru q wg metody wielomianowej PMM, średniej arytmetycznej X i środka rozstępu qV/2. Otrzymano je przy porównywaniu według kryterium minimalnej wariancji. Dla próbek z rozkładu Trap występuje tu podana [7, 8, 15] granica obszaru 1t b> 0,35 o mniejszej wartości SD dla środka rozpięcia niş średniej arytmetycznej. Na rysunku 5b podano teş estymator dwuelementowy . W całym zakresie stosunku podstaw b jest on bardziej efektywny niş estymatory jednoelementowe (rys. 3). a)

b)

Rys. 6. Empiryczne rozkłady estymat parametru SD: a) wykres probabilistyczny (Q-Q wykres) przyblişenia do funkcji Gaussa; b) wykres typu Box-plot (dla przedziału ufności 99%) Fig. 6. The empirical distribution of estimates of the SD parameter: a) the probabilistic graph (Q-Q plot) of Gaussian approximation; b) a plot of the type Box-plot (99% confidence interval)

Przykłady wyników modelowania podano w postaci wykresów na rysunkach 6 a, b. Rysunki te zawierają oceny parametru q = 0 dla rozkładu Trap przy b = 0,5 i l = 6. Przedstawiono je jako rozkłady otrzymanych eksperymentalnie ocen liczbowych dla wartości menzurandu wg metody PMM3 (r = 3) oraz dla środka rozpięcia i średniej arytmetycznej. Otrzymano je dla M = 104 prób metodą MC dla próbek o n = 50 danych. Hipotezę o gaussowskim rozkładzie estymat metody PMM sprawdzono takşe za pomocą wbudowanego w oprogramowanie MATLAB testu Lillieforsa. Opiera się na statystyce Kołmogorowa-Smirnowa. Wyniki tych badań przedstawiono w tabeli 2. b)

Tabela 2. Wyniki kontroli hipotez o gaussowości estymat rozkładu empirycznego wyznaczonych metodą PMM 3 (s = 3) Table 2. Results of testing hypotheses of Gaussianity of the empirical distribution estimates, found by PMM3 method (for s = 3)

Wyniki testu Lillieforsa LSTAT b

P

CV n 20

50

200

20

50

200

b =1

0,029

0,021

0,008

0,001

0,001

0,12

b = 0.75

0,028

0,016

0,007

0,001

0,002

0,18

0,014

0,007

0,005

0,002

0,18

0,5

b = 0.25

0,01

0,008

0,005

0,006

0,19

0,5

b= 0

0,008

0,007

0,005

0,18

0,21

0,5

b = 0.5 Rys. 5 a, b. Obszary efektywności metod znajdowania estymat standardowego odchylenia rozkładu trapezowego Fig. 5 a, b. Areas of effectiveness of methods for finding estimates of the trapezoidal distribution standard deviation

0,009

63


/ 8 % % J % _ 8

5.

Jest to zestaw parametrĂłw wyjĹ›ciowych testu: CV – krytyczna wartość statystyki testu; LSTAT – wybrana wartość statystyki testowej; P – poziom istotnoĹ›ci. JeĹ›li LSTST < CV to przy zadanym poziomie istotnoĹ›ci a0 = 0,05 hipotezy zerowej (Gaussa) nie odrzuca siÄ™. WaĹźnym rezultatem modelowania statystycznego jest teĹź potwierdzenie tezy, Ĺźe rozkĹ‚ad estymat parametrĂłw wielomianu optymalizowanego metoda PMM dÄ…Ĺźy asymptotycznie (przy n → ∞) do rozkĹ‚adu Gaussa. MoĹźna to zastosować do wyznaczania niepewnoĹ›ci rozszerzonej.

6.

7.

8.

[. ; # # = 9. We wprowadzeniu dokonano przeglÄ…du estymatorĂłw sĹ‚uşących do oceny wyniku pomiaru menzurandu dla prĂłbek z rozkĹ‚adu rĂłwnomiernego i rozkĹ‚adu trapezowego Trap jako splotu dwu rozkĹ‚adĂłw rĂłwnomiernych. NastÄ™pnie omĂłwiono zastosowanie do tego celu niekonwencjonalnej Metody Maksymalizacji Wielomianu o akronimie PMM. Metoda ta, zwana w skrĂłcie wielomianowÄ…, opiera siÄ™ na pierwszych kilku kumulantach wyznaczanych poĹ›rednio z momentĂłw centralnych prĂłbki. Za pomocÄ… symulacji metodÄ… Monte Carlo zbadano wyniki uzyskiwane przy stosowaniu metody PMM do oceny estymatorĂłw parametrĂłw menzurandu w sytuacji, gdy rozkĹ‚ad populacji, z ktĂłrej pochodzi prĂłbka, nie jest znany a priori, a liczba danych pomiarowych jest za maĹ‚a do jednoznacznej jego identyfikacji. Jako przykĹ‚ad wykonano badania symulacyjne dla wielomianu rzÄ™du 2. i prĂłbek danych pobranych z kilku rozkĹ‚adĂłw rodziny trapezĂłw liniowych Trap. Ĺ Ä…czna analiza uzyskanych wynikĂłw wykazuje, Ĺźe dla okreĹ›lonych wartoĹ›ci parametrĂłw opisujÄ…cych wĹ‚aĹ›ciwoĹ›ci probabilistyczne rozkĹ‚adu Trap (w caĹ‚ym zakresie 0 d b d 1 stosunku dĹ‚ugoĹ›ci podstaw trapezu), estymaty odchylenia standardowego SD obliczone metodÄ… Monte Carlo dla metody wielomianowej PMM3 sÄ… bardziej efektywne (majÄ… mniejszÄ… wariancjÄ™) w porĂłwnaniu do estymat SD obliczonych dla Ĺ›redniej arytmetycznej i Ĺ›rodka rozstÄ™pu. WzglÄ™dne zmniejszenie siÄ™ wariancji estymat, jak i stopieĹ„ normalizacji ich rozkĹ‚adu w duĹźej mierze zaleĹźy od liczby n danych prĂłbki. Na przykĹ‚ad dla prĂłbek o liczbie elementĂłw n > 50, z populacji TRAP o stosunku dĹ‚ugoĹ›ci podstaw trapezu b Â” 0,7, metodÄ… PMM otrzymuje siÄ™ bardziej efektywnÄ… wartość menzurandu, tj. o mniejszej wariancji niĹź Ĺ›rednia wg Przewodnika GUM i Ĺ›rodek rozpiÄ™cia – patrz granice obszaru na rys 2. OmĂłwione badania pozwalajÄ… sformuĹ‚ować wniosek, iĹź metodÄ™ wielomianowÄ… PMM moĹźna wykorzystywać z powodzeniem do oszacowania przedziaĹ‚u niepewnoĹ›ci standardowej uA oraz niepewnoĹ›ci rozszerzonej U menzurandu dla prĂłbek danych z rodziny rozkĹ‚adĂłw trapezowych Trap.

10.

11.

12.

13.

14.

15.

Novitski P.V., Zograf I.A., Ocenka pogreshnostiej rezultatov izmerenia. Energoatomizdat, Leningrad 1985. Kubisa S., Warsza Z.L., Ĺšrodek rozstÄ™pu jako estymator menzurandu dla prĂłbek z populacji o rozkĹ‚adzie rĂłwnomiernym i pĹ‚asko-normalnym. „Pomiary Automatyka Kontrolaâ€?, Vol. 60, No. 6, 2014, 398–401. Warsza Z.L., Galovska M., About the best measurand estimators of trapezoidal probability distributions. “PrzeglÄ…d Elektrotechniczny – Electrical Reviewâ€?, No. 5, 2009, 86–91. Warsza Z.L., Galovska M., The best measurand estimators of trapezoidal PDF. Proceedings of IMEKO World Congress â€?Fundamental and Applied Metrologyâ€?, September 2009, Lisbon Portugal, 2405–2410. Warsza Z.L., Dwuelementowe estymatory wartoĹ›ci menzurandu prĂłbek danych pomiarowych o trapezowych rozkĹ‚adach prawdopodobieĹ„stwa – przeglÄ…d prac, „Pomiary Automatyka Kontrolaâ€?, Vol. 57, No. 1, 2011, 105–108. Warsza Z.L., Wyznaczanie niepewnoĹ›ci prĂłbek pomiarowych o kilku niegaussowskich rozkĹ‚adach prawdopodobieĹ„stwa. Elektronika (Technika Sensorowa), Nr 9, 2012, 135–140. Warsza Z.L., Effective Measurand Estimators for Samples of Trapezoidal PDFs. “Journal of Automation, Mobile Robotics and Intelligent Systemsâ€?, Vol. 6, No. 1, 2012, 35–41. Botsiura O.A., Zakharov I.P., Peculiarities of evaluation of measurement uncertainty type A based on a Bayesian approach. “Sistemy Obrobotki Informacji (SOI)â€?, Kharkiv 2015, Vypusk 6 (131) 17–20 (in Russ.) Kunchenko Y., Polynomial Parameter Estimations of Close to Gaussian Random Variables. Shaker Verlag Aachen Germany, 2002. Zabolotnii S.W., Warsza Z.L., A polynomial estimation of measurand parameters for samples of non-Gaussian symmetrically distributed data. R. Szewczyk et all (ed.) Proceedings of Automation 2017 – Innovations in Automation, Robotics and Measurement Techniques. Advances in Intelligent Systems and Computing 550. Springer International Publishing AG 2017, 470–482. Warsza Z.L., Metody rozszerzenia analizy niepewnoĹ›ci pomiarĂłw. Monografie â–  Studia â–  Rozprawy. Oficyna Wydawnicza PIAP Warszawa 2016.

} 1.

2. 3.

4.

64

Evaluation of measurement data – Guide to the expression of uncertainty in measurement (GUM), BIPM, JCGM 100 (2008) + Supplement 1 – Propagation of distributions using a Monte Carlo method (2007). Bich W., Cox M., Michotte C., Towards a new GUM-an update. Metrologia 53 (2016) S149–S159 IOP publ. BIPM. Cox M., Shirono K., Informative Bayesian Type A uncertainty evaluation, especially applicable to a small number of observations. “Metrologiaâ€?, Vol. 54, No. 5, 642–652. Cramer H., Mathematical Methods of Statistics, Stockholm University 1946 [Metody matematyczne w statystyce. z ang. tĹ‚. W. Oktaba, PWN Warszawa 1958].

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


" . / C /' " @

;! 7 # 7 @ 9 B " 9 " B K " B Abstract: The types of measurand parameter estimators derived from samples of measured data taken from the symmetrical trapezoidal population Trap are briefly discussed. A non-standard approach to finding estimates of the non-Gaussian distributions parameters based on the unconventional method of maximizing the stochastic polynomial (PMM) and using a moment-cumulant description of random variables is proposed. By means of multiple statistical tests of Monte Carlo method, the properties of polynomial estimators are investigated and an analysis of their accuracy is made with compare to estimates of the distributions with arithmetic mean or the mid-range as their centers. As a function of the number of sample data and the basis of trapeze ratio, the boundaries of the areas where these methods are most effective are determined. The PPM method has been proposed to use for determining estimated values of the standard deviation and uncertainties of measurand when distribution of the random errors population is a priori unknown and first few cumulants have to be find from the sample data. KeywordsX " " ! 9 " " " K " "

% ! & . % +D$.)*" % " # ' ; 0 ' +DCD +D.- +D-&% _ U ; +DCJZ+D.$ +DDOZ+DDC ' +D.&Z-& ` +D-&Z+D-J V * ' @ 0 8 " X R * 0 _ R / " U B * > 0 ' +D-JZ+DJ, / " " F U " " +DJ$Z+DD,%

B ; I +DD,Z+DDC 8 " +DJ$Z,&&,% R9 * F " " U / 0 " " F U/ % / ,C& 9 . " * 7 0 9 ++ F " , F % * @ B * * % 0 /8 / " B * # %

Prof. Dr Tech. Sc., El. Eng. Serhii V. Zabolotnii % 9 ) % % # +D-$ % # % # ' @ "F U 7 " I * # @ 0 * * +DDC % 0 V X "F 7 " 0 " ,&&& % % V F Y 9 0 X ,&+C % Z ' 8 0 I * # @ * * _ 0 ,&&$ % ,&&$ % 7 I#@ ,&+C % / 9 F +&& 9 + " * T - F %

65


NR 3/2015

66

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 67–74, DOI: 10.14313/PAR_226/67

/ /IR6/ * " 9F ' " ; B = " > % (!- * 8 " - 8 & !+ />? / " >F 0? ' U Y B 8 9 / % B $& $&0&CD E F

0& % ) Czynniki oddziałujące na proces kształtowania EDM materiałów trudno obrabialnych powodują wzrost niedokładności wymiarowo-kształtowej, chropowatości powierzchni wyrobów, a takşe przyspieszone zuşycie narzędzia. W artykule przedstawiono analizę zaleşności odchyłek wykonawczych powierzchni, które powstają w cyklicznym procesie kształtowania EDM, i odchyłek narzędzia od wybranych czynników. W analizie zastosowano metodę Pareto ANOVA. Geometrię oceniano na podstawie odchyłek wymiaru i odchyłek geometrycznych elektrody oraz kształtowanej nią powierzchni wyrobu. Pomiary wykonano na współrzędnościowej maszynie pomiarowej w trybie kontroli po kaşdym cyklu obróbki pojedynczego elementu. Obróbkę zrealizowano w Zintegrowanym Systemie Wytwarzania (ZSW), pracującym w Centrum Obsługi Badań Naukowych i Dydaktyki WIMIR AGH. Przeanalizowano takşe wskaźniki WRR i MRR, charakteryzujące efektywność procesu i przydatność narzędzia. ) # ' X F * " '

\. ; %& Technologia EDM jest powszechnie wybieranym rodzajem obróbki materiałów trudno obrabialnych takich, jak stale wysokiej twardości, twarde stopy metali, diament, węgliki, twarde materiały przewodzące prąd elektryczny, kompozyty czy ceramika [1]. Kształtowanie części maszyn metodą klasycznego wgłębnego drąşenia elektroerozyjnego następuje w wyniku odwzorowania kształtu elektrody w przedmiocie obrabianym. W przemyśle maszynowym jakość wyrobów jest uwarunkowana zgodnością z wymaganiami ujętymi w specyfikacji [2]. Dokładność obróbki elektroerozyjnej ocenia się tak, jak w przypadkach innych metod wytwarzania, na podstawie odchyłek rzeczywistych cech geometrycznych obrabianych powierzchni od postaci nominalnej wyrobu, opisanej wymiarami, warunkami geometrycznymi (tolerancjami kształtu, połoşenia, bicia itp.) oraz parametrami mikrogeometrii powierzchni (chropowatości, falistości). Zjawiska towarzyszące obróbce elektroerozyjnej powodują nie tylko erozję przedmiotu, lecz takşe ubytek materiału narzę-

# & *: X ? I Q* Q*) * % % # ) ' ,C%&D%,&+- % ,-%+&%,&+- %

! "" # $%&

dzia oraz deformację jego postaci geometrycznej. Miarą zdolności elektrody do wytworzenia wyrobu w określonej klasie dokładności jest utrzymanie w określonych specyfikacją przedziałach wartości odchyłek wykonawczych. W artykule nie analizowano mikronierówności, jako aspektu jakości powierzchni po obróbce, który dość wyczerpująco został rozpoznany i omówiony w wielu pracach [3]. Wielkość odchyłek wykonawczych kształtowanych elementów zaleşy od wielkości i postaci zuşycia elektrody roboczej, a na to wpływa wiele czynników. Najwaşniejsze z nich to parametry procesu technologicznego (napięcie i natęşenie prądu elektrycznego, czas wyładowania), właściwości materiału elektrody i przedmiotu, właściwości dielektryka, szerokość szczeliny roboczej [4]. Monitorowanie, jako etap pozyskiwania w trakcie trwania procesu informacji o stanie narzędzia, realizowane jest obecnie na wiele sposobów [5]. Stosownym pod względem wydajności rozwiązaniem jest wyposaşanie systemów obróbki w zautomatyzowane systemy nadzorowania. Rolę takich systemów moşe przejąć współrzędnościowa maszyna pomiarowa, która wraz z zautomatyzowanym systemem załadunkowym i oprogramowaniem dokonuje cyklicznej inspekcji narzędzi roboczych i pozwala wykorzystać jej rezultaty do korekty parametrów procesu. Zautomatyzowana maszyna obróbcza i wymienione elementy, zintegrowane sieciowo, komunikują się między sobą na podstawie protokołów sieciowych. Opisana struktura jest podstawą Zrobotyzowanego Systemu Transportu Międzystanowiskowego Elastycznego Systemu Wytwarzania, pracującego w Centrum Obsługi Badań Naukowych i Dydaktyki IMIR AGH. W skład systemu wchodzą następujące urządzenia: eletrodrąşarka (ROBOFORM 350 Sp),

67


= =D q= . @J "C/ % 8 m

łek geometrycznych narzędzia i detalu. Przeanalizowane zostały równieş wskaźniki MRR i WRR w celu oceny efektywności procesu i zuşycia narzędzia.

Y. 9 2 , Eksperyment zaplanowano wedĹ‚ug ortogonalnej macierzy Taguchi’ego. Macierz planu doĹ›wiadczeĹ„ pozwala na wyznaczenie wartoĹ›ci czynnika analizowanego dla róşnych poziomĂłw zmiennoĹ›ci czynnikĂłw wejĹ›ciowych. W metodzie Taguchi’ego zakĹ‚ada siÄ™, Ĺźe dla zmiennych wyjĹ›ciowych procesu istniejÄ… wartoĹ›ci optymalne. Odchylenie od tych wartoĹ›ci powoduje powstanie tzw. „stratyâ€?, ktĂłrÄ… moĹźna modelować funkcjÄ… parabolicznÄ…. Algorytm metody opiera siÄ™ na wyznaczeniu współczynnikĂłw S/N (signal/noise – stosunek sygnaĹ‚u do szumu), ktĂłre charakteryzujÄ… zmienność badanego czynnika wyjĹ›ciowego spowodowanÄ… zakĹ‚Ăłceniami procesu. Róşnice współczynnika S/N na poszczegĂłlnych poziomach zmiennoĹ›ci danego czynnika umoĹźliwiajÄ… m.in. okreĹ›lenie odpornoĹ›ci na dziaĹ‚anie zakĹ‚Ăłcenia [8, 9]. Stosowane sÄ… cztery róşne sposoby wyznaczenia współczynnikĂłw S/N. JeĹ›li funkcja straty ma zostać zminimalizowana, czyli wartość docelowa funkcji jest rĂłwna zeru („smaller is betterâ€?), to współczynnik oblicza siÄ™ wedĹ‚ug wzoru (1).

Rys. 1. Schemat systemu Fig. 1. System diagram

system mocowania paletowego firmy 3R narzędzia i materiału (robot Work Master) oraz współrzędnościowa maszyna pomiarowa (Global Silver Performance) (rys. 1). Waşną cechą systemu, oprócz monitorowania stanu narzędzia i sterowania procesem, jest obsługa palet z obrabianymi wyrobami, składowanymi w wieloregałowym magazynie. Wytwarzanie elementów powtarzalnych (nie tylko partii wyrobów) jest bardziej wydajne dzięki moşliwości ustalania ich na jednej palecie, obsługiwanej przez robota, dzięki czemu minimalizuje się czasy pomocnicze. Celem przeprowadzonych badań rozpoznawczych [6] było przyjęcie sposobu prognozowania stanu wyrobu po kształtowaniu EDM, na podstawie wyników inspekcji geometrii narzędzia, podczas wykonywania powtarzalnych elementów powierzchni, tzw. kieszeni. Obróbka realizowana w ZSW na elektrodrąşarce firmy Aggie Charmilles przebiegała w jednym przejściu bez korekcji wymiarowej, z włączoną funkcją sterowania adaptacyjnego. W tej strategii obróbki stosowane są gotowe procedury, oparte na doświadczeniach firmy [7], uruchamiane z poziomu komputera panelowego. Jest to w praktyce produkcyjnej najczęściej stosowany, bo niewymagający i niezbyt czasochłonny tryb pracy. W celu predykcji zaburzeń odwzorowania wymiarowo-kształtowego elektrody skonfigurowano sieć neuronową i przeprowadzono proces jej uczenia przy wykorzystaniu danych eksperymentalnych. Artykuł jest wynikiem dalszych badań dokładności geometrycznej obróbki EDM i przedstawia analizę zaleşności odchyłek wykonawczych i odchyłek elektrody roboczej od wybranych czynników w cyklicznym procesie kształtowania wgłębień. Tradycyjnie okres trwałości narzędzia oceniany jest na podstawie osiągania maksymalnych (dopuszczalnych) wartości określonych wskaźników zuşycia elektrody. O przydatności narzędzia świadczy zdolność wytwarzania za jego pomocą wyrobów w załoşonej klasie dokładności, dlatego kryterium prawidłowego odwzorowania geometrii powinno przede wszystkim decydować o dopuszczeniu go do dalszej pracy. Na podstawie cyklicznych pomiarów elektrody powinna zostać wypracowana diagnoza o stanie narzędzia. W analizie zastosowano metodę Pareto ANOVA. Metoda ta jest uproszczonym wariantem analizy wariancji, niewymagającej spełnienia wielu załoşeń, stawianych w metodzie klasycznej. Geometrię oceniano na podstawie odchyłek wymiaru i odchy-

68

P

O

M

I

A

R

Y

•

A

U

T

O

M

,

(1)

gdzie: yij – wartość (zmierzona) i-tej zmiennej dla poziomu j, n – liczba pomiarów. Jeśli celowe jest zwiększenie tej funkcji, np. w przypadku usuwania materiału podczas obróbki ubytkowej („larger is better�), to współczynniki wyznacza się według wzoru (2).

.

(2)

Dalsze postÄ™powanie, zgodnie ze schematem Pareto ANOVA, pozwala wyodrÄ™bnić czynniki wejĹ›ciowe wpĹ‚ywajÄ…ce w sposĂłb znaczÄ…cy na wybrane wskaĹşniki procesu. Po obliczeniu wartoĹ›ci S/N czynnika wynikowego (zmiennej wyjĹ›ciowej) dla kaĹźdego czynnika wejĹ›ciowego wyznaczane sÄ… róşnice miÄ™dzy tymi wartoĹ›ciami. Stosowane sÄ… dwa sposoby scharakteryzowania zróşnicowania tych wartoĹ›ci. Przy stosowaniu analizy Pareto ANOVA bardziej odpowiedni wydaje siÄ™ wskaĹşnik oznaczany przez SSi – suma kwadratĂłw odchyleĹ„ wzglÄ™dem wartoĹ›ci Ĺ›redniej i-tego czynnika dla poziomu j, ze wzglÄ™du na analogiÄ™ do miar stosowanych przy wewnÄ…trzgrupowym szacowaniu wariancji w klasycznej metodzie ANOVA, tzn.:

,

, N = 9 – liczba eksperymentów.

gdzie: A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


g D _. B & ! ! & " .J

Zazwyczaj analizowanie róşnych zmiennych procesu wedĹ‚ug tej metody ma na celu wyznaczenie wartoĹ›ci optymalnych, dla ktĂłrych zakĹ‚Ăłcenia procesu sÄ… najmniejsze [10, 11]. W prezentowanej pracy analiza planu czynnikowego wykorzystana zostaĹ‚a do oceny stopnia oddziaĹ‚ywania rozwaĹźanych zmiennych wejĹ›ciowych na wybrane cechy geometryczne powierzchni, czyli zmierzenia siĹ‚y ich wpĹ‚ywu na zmiany geometrii. W podobny sposĂłb badane byĹ‚y cechy geometryczne narzÄ™dzia w celu rozpoznania perspektywy prognozowania na tej podstawie jakoĹ›ci powierzchni elementĂłw wykonywanych powtarzalnie.

{. ' # & W pierwszym etapie badań wytypowano parametry operacyjne procesu (czynniki zmiennych niezaleşnych). Na podstawie cytowanych wcześniej prac, a takşe w oparciu o wstępne doświadczenia [6], dokonano wyboru dwóch parametrów – czynników sterowalnych, które w największym stopniu mogą wpływać na jakość powierzchni. Czynnik oznaczony „Ra� oznacza zakładaną gładkość powierzchni. Parametr ten zadawany jest przed rozpoczęciem obróbki, wskutek czego w cyklu pracy adaptacyjnej zmiennej tej przyporządkowane zostają wartości spośród stopniowanych nastaw generatora elektrodrąşarki. Czynnik drugi „L_K� to liczba elementów wykonywanych jedną elektrodą, bez zmiany nastaw generatora. Wprowadzono trzy poziomy wartości czynników. Czynniki procesu i przyporządkowane im poziomy wartości przedstawiono w tabeli 1 i tabeli 2. Tabela 1. Zmienne niezaleşne wytypowane do badania Table 1. Input variables selected for experiments Zmienne wejściowe

OznaJednostki

Poziomy eksperymentu

czenie – symbol

Poziom 1

Poziom 2

Poziom 3

Chropowatość

[Îźm]

Ra

4

5,6

6.3

Liczba gniazd

[–]

L_K

1

2

4

Tabela 2. Parametry technologiczne procesu – nastawy generatora Table 2. EDM process parameters – generator settings Parametry technolo-

Poziomy czynnika Ra

OznaJednostki

giczne

czenie – symbol1

(1)

(2)

(3)

Amplituda natęşenia

[A]

P(A)

9

13

13

Amplituda napięcia

[V]

RF

25,5

25,5

25,5

Czas trwania impulsu

[Îźs]

A

50

100

100

Czas przerwy impulsu

[Îźs]

B

20

33

33

Tabela 3. Plan wg metody Taguchi’ego Table 3. Taguchi experiment plan Eksperyment

Ra

L_K

1

0

0

2

0

1

3

0

2

4

1

0

5

1

1

6

1

2

7

2

0

8

2

1

9

2

2

Załoşono, şe będą wykonywane proste wgłębienia o przekroju prostokątnym i wymiarach: 20 mm × 14 mm, w pełnym materiale (tzw. kieszenie). Drąşony kształt odzwierciedla geometrię elektrody. Głębokość drąşenia została ustalona dla wszystkich wgłębień jednakowa i miała wynosić 10 mm. Wgłębienia miały być powtarzalnie pozycjonowane na trzech elementach testowych. Połoşenie wgłębienia w odniesieniu do detalu, jak równieş kierunek osi wgłębienia, były określane w układzie współrzędnych przedmiotu. Materiałem obrabianym była stal narzędziowa, zahartowana do 56 HRC. Po przygotowaniu próbek opracowany został proces obróbki elektrodrąşenia wgłębnego. Do wykonania pełnego cyklu obróbki kolejno trzech kieszeni przeznaczono jedną elektrodę (rys. 2). Elektrody w kształcie prostopadłościanu wykonano z miedzi M1E. Powierzchnie czołowe i boczne były frezowane i dogładzane. Kaşda elektroda została zmierzona przed rozpoczęciem pracy i po wykonaniu kaşdego wgłębienia. Wyznaczane były wymiary oraz odchyłki kształtu powierzchni roboczych elektrody. Po zakończeniu obróbki zmierzone zostały wymiary wgłębień, ich odchyłki kształtu na powierzchni dna i powierzchniach bocznych, oraz dodatkowo chropowatość. Skontrolowano takşe dokładność pozycjonowania narzędzia względem powierzchni bazowych próbek. Pomiary wielkości geometrycznych były wykonywane na współrzędnościowej maszynie pomiarowej, wyposaşonej w stykową skanującą głowicę pomiarową. Wybrane cechy metrolo-

Rys. 2. Elektroda robocza Fig. 2. The working electrode

69


= =D q= . @J "C/ % 8 m

giczne maszyny i jej wyposaşenia zamieszczono w tabeli 4. Chropowatość zmierzono przenośnym profilometrem T1000E firmy Hommel Werke.

bokości (W_D) powierzchni kształtowanych, a takşe wskaźników WRR i MRR. Współczynniki S/N dla zmiennej MRR obliczono według wzoru (2), dla pozostałych zmiennych według wzoru (1). W wartościach współczynników S/N dla czytelności pominięto występujący w wzorze (1) i (2) współczynnik „(–10)�, co nie ma wpływu na wnioskowanie o sile oddziaływania czynników. Wskaźnik względnego zuşywania się elektrod roboczych WRR zdefiniowany jest za pomocą wzoru [12]:

^. ; #

W tablicy 5 zamieszczono wyniki pomiarów wybranych do analizy cech geometrycznych, tzn. wartości odchyłki płaskości (ER_P) powierzchni czołowej, odchyłki wymiaru długości elektrody roboczej (ER_D) oraz płaskości dna (W_P) i głę-

WRR = Tabela4. Charakterystyka przyrzÄ…dĂłw pomiarowych Table 4. CMM characteristics

gdzie: Ve – objętościowy ubytek elektrody w mm.

Współrzędnościowa Maszyna Pomiarowa Global Silver Performance

Objętościowa wydajność drąşenia MRR wyraşa się wzorem [12]:

MRR =

DEA – HEXAGON METROLOGY SA

Producent

Ve , t

gdzie: Vm – objÄ™tość wyerodowanego materiaĹ‚u w mm3, t – czas drÄ…Ĺźenia w minutach. ObjÄ™toĹ›ciowy ubytek elektrody i objÄ™tość wyerodowanego materiaĹ‚u byĹ‚a obliczona na podstawie róşnicy wymiarĂłw przed i po wykonaniu pojedynczego elementu (kieszeni).

Charakterystyka metrologiczna maszyny pomiarowej Zakres pomiarowy

500 mm Ă— 700 mm Ă— 500 mm

MPEE

1,5+L/333 Îźm

Rozdzielczość

1 Îźm

Oprogramowanie

PCDMIS – WILCOX INC.

Vm , t

Z. 9 Tabela 6 zawiera wyniki obliczeń charakteryzujące oddziaływanie czynników Ra i L_K. Oddziaływanie czynników definiuje się jako zmianę reakcji zmiennych wyjściowych przy zmianach poziomu czynnika. Jest to określane jako główny efekt, poniewaş odnosi się do podstawowych badanych czynników [13]. Miarą wielkości efektu jest średnia arytmetyczna współczynników S/N obliczonych dla wybranego poziomu wyodrębnionego czynnika [8]. Jeśli przy zmianach poziomu jednego czynnika zmiany czynnika wynikowego zaleşą od poziomu innego czynnika wejściowego, to między tymi czynnikami zachodzi interakcja. W ostatniej kolumnie tabeli 6 zamieszczono wykresy przedstawiające efekty główne czynników wejściowych. Wyniki analizy zestawione w tabeli 7 pokazują oszacowany procentowo wpływ kaşdego z rozwaşanych czynników oddzielnie i interakcję obydwu, na analizowane wskaźniki.

Konfiguracja głowicy Producent

TESA TECHNOLOGY

GĹ‚owica obrotowa zmotoryzowana

TESASTAR–SM

Producent

LEITZ–HEXAGON METROLOGY SA

Typ sondy skanujacej

LSP–X1

Rozdzielczość

0,1 Îźm

Tabela 5. Wyniki pomiarów elektrody, kieszeni i współczynników S/N wg planu ortogonalnego Taguchi’ego Table 5. The results of measurements of electrode, pockets and S/N ratios according to Taguchi’s orthogonal plan

70

WRR

ER_P

S/N

ER_D

S/N

[mm]

(smaller)

[mm]

(smaller)

1

0,020

–3,398

–0,176

–1,509

2

0,024

–3,240

–0,333

3

0,024

–3,240

4

0,039

5

MRR

S/N

W_P

S/N

W_D

S/N

(smaller)

[mm]

(smaller)

[mm]

(smaller)

0,2328

–1,266

0,023

–3,276

–0,146

–1,671

0,197

–1,411

–0,955

0,2076

–1,367

0,032

–2,989

–0,272

–1,131

0,171

–1,534

–0,492

–0,616

0,2134

–1,342

0,035

–2,912

–0,464

–0,667

0,278

–1,111

–2,818

–0,138

–1,720

0,4058

–0,783

0,051

–2,585

–0,062

–2,415

0,183

–1,475

0,061

–2,429

–0,260

–1,170

0,3587

–0,891

0,077

–2,227

–0,180

–1,489

0,354

–0,901

6

0,080

–2,194

–0,367

–0,871

0,3255

–0,975

0,100

–2,000

–0,298

–1,052

0,368

–0,868

7

0,039

–2,818

–0,120

–1,841

0,3529

–0,941

0,066

–2,361

–0,043

–2,733

0,127

–1,792

8

0,061

–2,429

–0,253

–1,193

0,3911

–0,815

0,097

–2,026

–0,164

–1,570

0,372

–0,859

9

0,080

–2,194

–0,372

–0,859

0,3498

–0,912

0,090

–2,092

–0,272

–1,130

0,326

–0,974

Eksp.

P

O

M

I

A

R

Y

•

[cm3/ min]

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

[cm3/ min]

S/N (larger)

N R 4 /201 7


g D _. B & ! ! & " .J

Tabela 6. WpÅ‚yw czynników Ra i L_K, oraz ich wspóÅ‚dziaÅ‚ania na parametry ER_P, W_P, ER_D, W_D, WRR, MRR Table 6. Effect of Ra and L_K factors, and their interaction on parameters ER_P, W_P, ER_D, W_D, WRR, MRR Czynniki

Ra

Zmienna

L_K

Ra&L_K

Efekt gÅ‚ówny czynnika L_K i Ra

ER_P

Poziom 1

–3,293

–3,011

–3,103

Poziom 2

–2,480

–2,699

–2,622

Poziom 3

–2,480

–2,699

–2,622

Max-Min

0,813

0,312

0,481

SS

0,441

0,073

0,157

Ranga

1

3

2

Zmienna

W_P

Poziom 1

–3,059

–2,741

–2,824

Poziom 2

–2,271

–2,414

–2,365

Poziom 3

–2,160

–2,335

–2,278

Max-Min

0,899

0,406

0,546

SS

0,4849

0,0927

0,1723

Ranga

1

3

2

Zmienna

ER_D

Poziom 1

–1,026

–1,690

–1,328

Poziom 2

–1,254

–1,106

–1,182

Poziom 3

–1,298

–0,782

–1,384

Max-Min

0,272

0,575

0,202

SS

0,043

0,203

0,055

Ranga

3

1

2

Zmienna

W_D

Poziom 1

–1,156

–2,273

–1,723

Poziom 2

–1,652

–1,396

–1,531

Poziom 3

–1,811

–0,950

–1,430

Max-Min

0,655

1,323

0,293

SS

0,233

0,907

0,094

Ranga

2

1

3

Zmienna

WRR

Poziom 1

–1,3247

–0,9967

–1,1396

Poziom 2

–0,8829

–1,0241

–0,9661

Poziom 3

–0,8895

–1,0763

–0,997

Max-Min

0,4418

0,0796

0,1735

SS

0,1263

0,0033

0,0171

Ranga

1

3

2

Zmienna

MRR

Poziom 1

–1,352

–1,559

–1,465

Poziom 2

–1,081

–1,098

–1,879

Poziom 3

–1,203

–0,984

–1,868

Max-Min

0,149

0,575

0,403

SS

0,034

0,1854

0,9329

Ranga

3

2

1

71


= =D q= . @J "C/ % 8 m

Tabela 7. Wpływ czynników wejściowych na geometrię elektrody Table 7. An impact of input factors on electrode geometry

Ra

L_K

Ra&L_K

Zmienne wyjściowe [%]

Šączny wpływ parametrów procesu (wyszczególnionych w tabeli 1), określonych w planie jako rodzaj „zespołowego� predyktora Ra, jest dominujący w przypadku powstawania odchyłek geometrycznych – w artykule reprezentowanych za pomocą odchyłki płaskości – i wyniósł ok. 65% dla elektrody i dla wyrobu, a takşe rzutuje w duşym stopniu na nierównomierność zuşywania elektrody (86%). Wielkość odchyłek wymiarowych zaleşy w większym stopniu niş odchyłki geometryczne od zakresu obróbki (liczba wykonanych elementów), osiągając dla wyrobu wartość 73,49%, podczas gdy udział czynnika Ra nie przekroczył 20%. Šączne oddziaływanie obydwu czynników jest natomiast znaczące w przypadku szybkości usuwania materiału. Zaobserwowano duşą zgodność wyników analizy odpowiadających sobie cech narzędzia i kształtowanych nim powierzchni. Wartości współczynników korelacji między zmiennymi (dla p < 0,05, p – poziom istotności), obliczone w pakiecie Statistica 13.1 (rys. 3), moşna uznać za szacunkowe, poniewaş opierają się na nikłych przesłankach z uwagi na małoliczne próby.

Korelacje (Taguchi_3) Oznaczone współczynniki korelacji są istotne z p < 0,050 N = 9 W_P

W_D

ER_P

0,94820

–0,03472

ER_D

–0,07966

0,98297

Rys. 3. Współczynniki korelacji między odchyłkami narzędzia i powierzchni Fig. 3. The correlation coefficients between electrode and surface deviations

ER_P

65,70

10,88

23,39

W_P

64,66

12,36

22,97

ER_D

18,28

67,48

14,29

W_D

18,91

73,49

7,59

WRR

86,06

2,25

11,65

MRR

2,95

16,08

80,96

[. ; #

Decyzja o dopuszczeniu elektrody roboczej do dalszej pracy powinna opierać się na ocenie stanu jej geometrii. Wyniki pomiarów elektrody podczas powtarzalnego kształtowania wyrobów dają obraz jej postępującego zuşycia, jednak mimo to moşe ona nadal dobrze odwzorowywać powierzchnię, jeśli wymagania są niewielkie. Waşną kwestią jest ustalenie, w którym cyklu stan narzędzia będzie wskazywał na konieczność wprowadzenia korekty procesu lub na konieczność regeneracji powierzchni roboczych, poniewaş narzędzie utraciło zdolność wytwarzania elementów w załoşonej dokładności. Pomocna w diagnostyce moşe okazać się prezentowana w artykule metoda oraz wnio-

72

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


g D _. B & ! ! & " .J

Wykres Pareto

ski z przeprowadzonych juş badań. Występowanie zaleşności między czynnikami wejściowymi a czynnikami wynikowymi jest immanentną cechą procesów, natomiast korzystnym rezultatem badań jest kwantytatywny charakter oceny tej relacji. Dzięki zastosowaniu współczynników sygnał/szum oraz analizy Pareto Anova otrzymano liczbowe oszacowanie oddziaływania poszczególnych czynników, a takşe moşliwość ich klasyfikacji na podstawie wagi oddziaływania na określony aspekt jakości geometrycznej wyrobu. Informacje te mogą zostać wykorzystane w dalszych pracach ukierunkowanych na stworzeniu odpowiedniej struktury sieci neuronowych lub ich zespołu. Zgromadzone wyniki pomiarów wybranych cech geometrycznych narzędzia i odpowiadających im cech powierzchni kształtowanej tym narzędziem wykazują istotną korelację, co pozwala zakładać moşliwość prognozowania jakości powierzchni uzyskanej w gotowych cyklach adaptacyjnych. Umoşliwi to wyznaczenie wartości cech geometrycznych wyrobu przy zadanych wartościach czynników, na podstawie cyklicznej inspekcji elektrody.

} 1.

2.

3.

4. 5.

6.

7. 8. 9.

10.

11.

12. 13.

Ruszaj A., Skoczypiec S., Tendencje rozwojowe wybranych niekonwencjonalnych procesĂłw wytwarzania, „Mechanikâ€?, R. 88, Nr 4CD, 2015, 1–8. PN-EN ISO 1101: 2012, Geometrical product specifications (GPS) – Geometrical tolerancing – Tolerances of form, orientation, location and run-out. ZagĂłrski K., Kudelski R., Skrzypkowski K., Kapusta M., DokĹ‚adność wymiarowo-ksztaĹ‚towa oraz warstwa wierzchnia elementĂłw wytwarzanych metodÄ… obrĂłbki EDM, „Logistykaâ€?, Nr 4 CD3, 2015, 9964–9972, ISSN 1231–5478. Jemielniak K., Automatyczna diagnostyka stanu narzÄ™dzia i procesu skrawania, OWPW 2002. Mazurkiewicz S., Czynniki wpĹ‚ywajÄ…ce na jakość wytwarzania technologiÄ… elektrodrÄ…Ĺźenia, TRANSCOMP – XIV International Conference Computer Systems Aided Science, Industry and Transport, 2013, Nr 6 CD, 2173– 2182. Nieciag H., Kudelski R., ZagĂłrski K., The electrode inspection in integrated manufacturing system, “PrzeglÄ…d Elektrotechnicznyâ€?, R. 92, Nr 11, 2016, 1–6, DOI: 10.15199/48.2016.11.01. Agie Charmilles Group, Dokumentacja techniczna ROBOFORM 350, 2004. KorzyĹ„ski M., Metodyka eksperymentu, WNT, Warszawa 2017. Unal R., Dean E., Taguchi approach to design optimization for quality and cost: an overview, Conference of the International Society of Parametric Analysts, 1991, 1–9. Tomadi S.H., Hassan M.A., Hamedon Z., Member IAENG, Daud R., Khalid A.G., Analysis of the Influence of EDM Parameters on Surface Quality, Material Removal Rate and Electrode Wear of Tungsten Carbide, International MultiConference of Engineers and Computer Scientists IMECS, 2009, 1808-1803. Alagarsamy S.V., Arockia Vincent Sagayaraj S., Raveendran P., Optimization of drilling process Parameters on Surface Roughness & Material Removal Rate by using Taguchi Method, “International Journal of Engineering Research and General Scienceâ€?, Vol. 4, Iss. 2, 2016, 290– 298, ISSN 2091–2730, Siwczyk M., ObrĂłbka elektroerozyjna. Podstawy technologiczne, KrakĂłw 2000. Greber T., Statystyczne Sterowanie Procesami – Doskonalenie JakoĹ›ci z Pakietem Statistica, Statsoft, KrakĂłw 2000.

73


= =D q= . @J "C/ % 8 m

/IR6/ 7 * " 7 7 " * ; B ! U * B 7 * " & %&) Factors influencing the process of EDM shaping of hard-to-machine materials result in increased dimensional inaccuracy, surface roughness, and accelerated tool wear. The article presents an analysis of the dependence of the real deviations of the surfaces of the machined parts that are manufactured in the cyclic process of machining EDM, as well as the deviations of the used tools, from selected factors. The analysis uses the Pareto ANOVA method. Geometry was evaluated on the basis of deviations of the tool and the corresponding deviations of the surface. Measurements were performed in the Integrated Manufacturing System working in the WIMIR AGH Scientific Research Center, on the coordinate measuring machine in inspection mode, after each machining cycle of a single element. The WRR and MRR indicators were also analyzed, characterizing the process efficiency and utility of the tool. KeywordsX L U * B 7 * "

= " > % (!

8 & !+

*) * % %

* ) * % %

/ E "F ' 0 ' U Y B 8 9 />? E * U 0 @ * ' E % Y ' U Y B 8 9 />? E % ' / 0 " ; U 7 " 0 ` Q > % U F Q Q " Q * " F " F %

' ,&&, % " / " >F 0? E 0 " Q0 F ,&+& % 9 " Q % R9 E 0 "F ' ' U Y 0 B 8 9 / 0 " >F 0? E % M * * F * 9 F9 9 %

* 8 " ) * % % # ,&&D % / 0 " >F 0? "% 0 E % R9 E "F ' 0 ' U Y B 0 8 9 />? E % ' 0 09 " * " " " I 0 " 9 F9 " 0 " " " % ' ,&+- % 9 Q Q Q " " " "%

74

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 75–81, DOI: 10.14313/PAR_226/75

I Y 7 * Z 9 % * % ? " # @ * ' ; E U Y "F * F ; % * $- -&0$+$

0& % ) Szafa ekspresyjna to waşna część organów piszczałkowych, umoşliwiająca zmianę głośności dźwięku generowanego przez instrument. W artykule opisano proces zastąpienia pneumatycznego systemu sterującego şaluzją szafy ekspresyjnej, układem napędu elektrycznego. Przedstawione zostały załoşenia projektowe, koncepcja układu sterowania, praktyczna realizacja prototypu urządzenia i ostatecznie jego wstępne badania. Opisywany system, po procesie optymalizacji pod kątem czynników krytycznych, zrealizowano z wykorzystaniem silnika krokowego z regulacją prądu opartą o modulację szerokości impulsów. Całością systemu (m.in. odczytywaniem pozycji pedału, pozycjonowaniem şaluzji, eliminacją drgań, obsługą sytuacji błędnych) steruje mikrokontroler 8-bitowy. Układ poddano ocenie zarówno pod kątem mierzalnych parametrów (głośność pracy, uzyskiwane przyspieszenia), jak i subiektywnych kryteriów podczas testów dokonanych przez organistów w Bazylice św. Jana Chrzciciela w Szczecinie, gdzie urządzenie zostało zainstalowane. ) # ' X 7 Y * " " F

1. Wprowadzenie Zmiana głośności tonu generowanego przez pojedynczą piszczałkę w tradycyjnych organach piszczałkowych wiąşe się z licznymi problemami. Najprostsze rozwiązanie polegające na zmianie wartości ciśnienia powietrza tłoczonego do piszczałki powoduje niedopuszczalną modyfikację szeregu innych, subiektywnych parametrów dźwięku, takich jak barwa i wysokość oraz szybkość narastania i opadania amplitudy. Szczegółowy opis tych zagadnień moşna znaleźć w [1, 8]. Aby umoşliwić granie utworów wymagających duşej dynamiki (lub w ujęciu subiektywnym – ekspresji), w organach stosuje się tzw. szafę ekspresyjną. Wynalazek ten w swojej pierwotnej formie zastosowany został po raz pierwszy przez hiszpańskiego konstruktora Jose Ehevarrię w XVI wieku [1]. Działanie tego prymitywnego urządzenia polegało na umieszczeniu piszczałki w skrzyni, której wieko mogło być otwierane i zamykane za pomocą dźwigni

# & *: X B 8 ",$JD,) % % # ) ' ,-%&D%,&+- % &.%++%,&+- % ! "" # $%&

noşnej. Powodowało to uzyskanie skokowej zmiany głośności. Konstrukcja szafy ekspresyjnej była przez następne stulecia udoskonalana (głównie przez brytyjskich, hiszpańskich, niemieckich i francuskich konstruktorów) i ostatecznie przybrała swoją współczesną formę [1, 8]. Zasada działania jest w dalszym ciągu dość prosta i polega na zamknięciu jednej z sekcji piszczałek organowych w drewnianej skrzyni (pomieszczeniu). W jej przedniej ścianie wykonany jest otwór, który moşna zamykać i otwierać za pomocą pedału (ang. swell pedal) znajdującego się przy manuale. Zamykanie i otwieranie otworu jest najczęściej uzyskiwane przez uşycie şaluzji (podobnej do şaluzji weneckiej). Ze względu na to, şe głośność piszczałek, które znajdują się w otwartej szafie ekspresyjnej jest mniejsza niş takich samych piszczałek znajdujących się na zewnątrz, to umieszcza się w niej tylko jedną sekcję. Pozostałe piszczałki mogą pracować z pełną głośnością. O ile sama konstrukcja szafy i şaluzji nie sprawia większych problemów technicznych, to dość skomplikowany jest układ napędu şaluzji. Szafa ekspresyjna często połoşona jest w znacznej odległości od manuału, a sama şaluzja, w zaleşności od wersji, ma masę kilkudziesięciu kilogramów. Zatem zastosowanie w pełni mechanicznego układu zapewniającego płynne otwieranie i zamykanie şaluzji jest kłopotliwe. W związku z tym w drugiej połowie XIX wieku, zaczęto stosować układy pneumatyczne, a następnie elektropneumatyczne. Postęp w dziedzinie elektrotechniki oraz elektroniki i automatyki w XX wieku, pozwolił na zastosowanie

75


D %# + 8 & % 8 8 . % ; % 8 8 @ % 8

wyłącznie elektrycznego układu napędowego, niewymagającego tłoczenia powietrza i zapewniającego lepsze parametry uşytkowe szafy ekspresyjnej [1]. Celem artykułu jest przedstawienie procesu projektowania, a następnie realizacji i testów prototypu układu napędowego z wykorzystaniem prostej, popularnej i taniej maszyny elektrycznej, jaką jest silnik krokowy. Jej sterowaniu poświęcona jest liczna literatura [2, 6].

nego otwarcia z pozycji zamkniętej to około 6 s. Okres ten był zdecydowanie za długi w przypadku konieczności zagrania fragmentu o szybkich i duşych zmianach głośności (tzw. crescendo lub diminuendo). Wymienione wyşej wady skłoniły do znalezienia nowego rozwiązania układu napędowego.

{. $ ) Â & * # ' ( # & * #) &%

Y. 6& Â '* ' # & * *

& ' :' #) &%

Podstawowe załoşenia projektowe nowego urządzenia były następujące: 1. Płynna regulacja połoşenia şaluzji w zakresie od całkowitego otwarcia do zamknięcia; 2. Czas potrzebny na pełne otwarcie şaluzji z pozycji całkowitego zamknięcia (i odwrotnie) nie przekracza 1 s; 3. Hałas generowany przez całość systemu nie zakłóca pracy organów (pojęcie subiektywne oparte o indywidualne odczucia organisty); 4. Duşa wytrzymałość systemu gwarantująca bezawaryjną pracę przez wiele lat. W razie wystąpienia uszkodzenia, moşliwa szybka i tania naprawa urządzenia.

Ĺťaluzja, dla ktĂłrej projektowano nowy ukĹ‚ad napÄ™dowy skĹ‚ada siÄ™ z dziewiÄ™ciu prostopadĹ‚oĹ›ciennych elementĂłw o wymiarach 1,46 m ´ 0,22 m ´ 0,04 m, wykonanych z pĹ‚yty wiĂłrowej. Dodatkowo krawÄ™dzie kaĹźdego elementu pokryte zostaĹ‚y materiaĹ‚em zwiÄ™kszajÄ…cym szczelność w stanie zamkniÄ™cia. Oszacowana masa Ĺźaluzji (nie byĹ‚o moĹźliwoĹ›ci dokĹ‚adnego zwaĹźenia) to okoĹ‚o 50 kg. Na rys. 1 zaprezentowano widok Ĺźaluzji z zewnÄ…trz szafy ekspresyjnej. W pierwotnym rozwiÄ…zaniu, dziaĹ‚ajÄ…cym przez kilkadziesiÄ…t lat, napÄ™d Ĺźaluzji szafy ekspresyjnej byĹ‚ oparty na ukĹ‚adzie elektro-pneumatycznym zawierajÄ…cym miech, nadmuchiwany za pomocÄ… pompy o napÄ™dzie elektrycznym, poruszajÄ…cy listwÄ… drewnianÄ… sprzÄ™gniÄ™tÄ… z ĹźaluzjÄ…. Ruch posuwisty listwy odbywaĹ‚ siÄ™ na odcinku 20 cm (od zamkniÄ™cia do peĹ‚nego otwarcia). Ten ukĹ‚ad napÄ™dowy miaĹ‚ dwie zasadnicze wady. Po pierwsze nie byĹ‚a moĹźliwa pĹ‚ynna regulacja poĹ‚oĹźenia Ĺźaluzji, a jedynie skokowa, pozwalajÄ…ca na ustawienie jej w piÄ™ciu dyskretnych pozycjach. UkĹ‚ad kontroli poĹ‚oĹźenia pedaĹ‚u skĹ‚adaĹ‚ siÄ™ z zestawu piÄ™ciu mechanicznych stykĂłw, zwierajÄ…cych siÄ™ i rozwierajÄ…cych w zaleĹźnoĹ›ci od poĹ‚oĹźenia pedaĹ‚u. Po drugie, napÄ™d nie zapewniaĹ‚ wystarczajÄ…cej prÄ™dkoĹ›ci ruchu Ĺźaluzji. Czas peĹ‚-

Rys. 2. Schemat blokowy systemu sterowania Fig. 2. Block diagram of the control system

PĹ‚ynna regulacja poĹ‚oĹźenia pedaĹ‚u wymagaĹ‚a zastosowania przetwornika analogowo-cyfrowego. SpeĹ‚nienie warunku 4. narzuciĹ‚o konieczność zminimalizowania liczby elementĂłw systemu i wykorzystania Ĺ‚atwo dostÄ™pnych i sprawdzonych podzespoĹ‚Ăłw. W zwiÄ…zku z tym zastosowano tani i bardzo popularny mikrokontroler AVR – ATmega8 z wbudowanym przetwornikiem analogowo-cyfrowym 10-bitowym. Rozpatrywano trzy potencjalne ĹşrĂłdĹ‚a napÄ™du: − silnik krokowy, − serwomechanizm, − silnik prÄ…du staĹ‚ego. Silnik prÄ…du staĹ‚ego pozwala uzyskać duĹźe prÄ™dkoĹ›ci obrotowe. Jego uĹźycie nie pozwala jednak na precyzyjne sterowanie przesuniÄ™ciem obiektu w otwartej pÄ™tli sprzęşenia zwrotnego, a dodatkowe czujniki poĹ‚oĹźenia komplikujÄ… caĹ‚ość ukĹ‚adu. Aby uzyskać wiÄ™kszÄ… trwaĹ‚ość naleĹźaĹ‚oby zamiast silnika komutatorowego zastosować silnik bezszczotkowy BLDC (ang. Brushless Direct-Current Motor), co rĂłwnieĹź wpĹ‚ynęłoby na komplikacjÄ™ ukĹ‚adu sterowania. Z kolei zastosowanie serwomechanizmu Ĺ‚Ä…czyĹ‚oby siÄ™ z koniecznoĹ›ciÄ… wykorzystania bardziej zĹ‚oĹźonego ukĹ‚adu mechanicznego przeniesienia napÄ™du. Jako optymalne rozwiÄ…zanie przyjÄ™to uĹźycie silnika krokowego umoĹźliwiajÄ…cego precyzyjne pozycjonowanie Ĺźaluzji w otwartej pÄ™tli sprzęşenia zwrotnego i wymagajÄ…cego jedynie prostego ukĹ‚adu sterowania [2]. OgĂłlnÄ… koncepcjÄ™ caĹ‚oĹ›ci systemu przedstawiono na rys. 2. Zasilacz zapewnia dwa poziomy napięć: 5 V do zasilania części

Rys. 1. Widok szafy ekspresyjnej Fig. 1. A view of the swell box

76

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


B *

mikroprocesorowej oraz 12 V dla układu wykonawczego. Pomiar pozycji pedału jest wykonywany za pomocą przetwornika A/C, mierzącego napięcie na potencjometrze, który jest mechanicznie połączony z pedałem. Układ regulacji prądu i podwójny mostek tranzystorowy typu H zasilający silnik krokowy zrealizowane są z wykorzystaniem dwóch układów scalonych (typu L297 i L298). Dodatkowym zabezpieczeniem i elementem zapewniającym wstępną kalibrację systemu po włączeniu zasilania jest wyłącznik krańcowy.

^. ‚#) # & : ' # Wybrany silnik krokowy, o symbolu SM 57/76-2008A, charakteryzuje siÄ™ momentem trzymajÄ…cym rĂłwnym 2 Nm. Wyprowadzone przewody umoĹźliwiajÄ… poĹ‚Ä…czenie unipolarne lub bipolarne, z szeregowÄ… lub rĂłwnolegĹ‚Ä… konfiguracjÄ… cewek. Przy zastosowanym poĹ‚Ä…czeniu szeregowym bipolarnym indukcyjność jednego uzwojenia wynosi 14,4 mH, a rezystancja 4,5 Ί. Nominalne napiÄ™cie cewki wynosi w takiej konfiguracji 6,3 V, a prÄ…d 1,4 A. Obracanie waĹ‚u silnika krokowego uzyskuje siÄ™ przez zaĹ‚Ä…czanie w odpowiedniej kolejnoĹ›ci jego cewek do napiÄ™cia staĹ‚ego, a wiÄ™c podawanie na uzwojenia pewnej sekwencji skokĂłw jednostkowych napiÄ™cia [2]. RĂłwnanie róşniczkowe zwyczajne opisujÄ…ce narastanie prÄ…du w cewce po podaniu skoku jednostkowego napiÄ™cia przedstawione jest wzorem (1) [3]. (1)

gdzie: E – wartość napięcia załączonego do cewki, i – prąd w cewce, R – rezystancja cewki, L – indukcyjność cewki. Rozwiązane analityczne równania (1) dane jest wzorem (2) i =

E R

R ⎛ − t⎞ ⎜1 − e L âŽ&#x; ⎜ âŽ&#x; âŽ? âŽ

(2)

Po podstawieniu podanych wcześniej wartości napięcia, indukcyjności i rezystancji, otrzymamy funkcję narastania prądu w cewce przedstawioną na rys. 3. Eksperymenty wykazały, şe aby osiągnąć wymagany moment obrotowy i w ten sposób zapewnić pewny i precyzyjny ruch şaluzji (bez gubienia kroków), prąd musi narosnąć do wartości około 1,0 A, co odpowiada czasowi 4,1 ms.

Rys. 3. Narastanie prÄ…du w uzwojeniu silnika Fig. 3. Current rising in the motor winding

Rys. 4. Przebiegi napięć i prądów przy sterowaniu PWM Fig. 4. Current and voltage waveforms in the PWM control

Zastosowany układ mechaniczny (listwa zębata i współpracująca z nią zębatka nałoşona na wał silnika) wymaga wykonania przez silnik 635 kroków, aby osiągnąć pełne otwarcie şaluzji z pozycji zamkniętej. Zatem ruch taki trwałby około 2,54 s (nie uwzględniając czasu rozładowania prądu uzwojenia i wytworzonego przezeń pola magnetycznego), co nie spełnia załoşenia nr 2. Aby osiągnąć większy moment obrotowy przy większej prędkości obrotowej zastosowano układ regulacji prądu w uzwojeniu z wykorzystaniem sygnału PWM (ang. Pulse Width Modulation – modulacja szerokości impulsów). W tym celu uşyto podwójnego mostka H opartego o układ L298 oraz współpracującego z nim układu L297, który zawiera w swojej strukturze generator sygnału PWM, dwa komparatory oraz układ generacji sekwencji sterującej silnikiem w trybie półkrokowym lub pełnokrokowym [7]. Wykorzystano jedynie tryb pełnokrokowy. Zrealizowanie układu regulacji prądu na zewnętrznych, dedykowanych układach pozwala z jednej strony zmniejszyć zapotrzebowanie na zasoby mikrokontrolera i dzięki temu wykorzystać prostszy i tańszy układ, a z drugiej – nie przeprowadzać zbytniej komplikacji systemu. Sygnały sterujące dla układu L297 pochodzą z mikrokontrolera. Uproszczone przebiegi napięcia podawanego na cewkę silnika i prądu płynącego przez uzwojenia przedstawiono na rys. 4. Napięcie ma wartość maksymalną równą 12 V. W związku z tym prąd w cewce narasta szybciej niş przy napięciu nominalnym, a wymaganą wartość osiąga juş po czasie 1,5 ms. Teoretyczny czas wykonania 635 kroków to około 0,95 s. Układ komparatorów, przerzutników, oraz generatora przebiegu prostokątnego, zawarty w układzie L297, dokonuje badania prądu uzwojeń i po przekroczeniu ustalonej wartości (Imax) powoduje wyłączenie napięcia i w konsekwencji rozpoczęcie zmniejszania się wartości prądu w cewce. Po pewnym czasie prąd osiąga wartość minimalną Imin, napięcie zostaje ponownie załączone, a prąd powtórnie zaczyna narastać. W ten sposób udaje się uzyskać większy moment obrotowy przy wyşszych prędkościach obrotowych, a jednocześnie stabilizować prąd uzwojenia, wykluczając

77


D %# + 8 & % 8 8 . % ; % 8 8 @ % 8

przekroczenie bezpiecznej wartoĹ›ci (co mogĹ‚oby mieć miejsce przy niskich prÄ™dkoĹ›ciach obrotowych, a szczegĂłlnie zerowej prÄ™dkoĹ›ci obrotowej i korzystaniu z tzw. momentu trzymajÄ…cego). Do pomiaru wartoĹ›ci prÄ…du sĹ‚uşą rezystory pomiarowe o wartoĹ›ci 0,5 Ί. W zwiÄ…zku z tym we wzorze (2), za R naleĹźy podstawić sumÄ™ rezystancji uzwojenia i rezystora pomiarowego. Wartość maksymalna prÄ…du wynosi 1,2 A.

gdzie n oznacza numer próbki. Dodatkowo zastosowano pętlę histerezy, aby wyeliminować pasoşytnicze drgania silnika wywołane np. zakłóceniami indukującymi się na przewodzie łączącym przetwornik A/C z potencjometrem lub nieumyślnym, lekkim przesuwaniem pedału podczas trzymania na nim nogi. Pętla histerezy powoduje, şe charakterystyka zastosowanego regulatora jest nieliniowa. Równanie (7) opisuje jego ostateczną wersję.

Z. ‚#) & ' *  '*

(7)

Ruch Ĺźaluzji ma postÄ™pować za ruchem pedaĹ‚u poruszanego przez organistÄ™. Potencjometr liniowy, suwakowy, o rezystancji 1 kΊ i zakresie przesuwu L = 10 cm, zostaĹ‚ sprzÄ™gniÄ™ty mechanicznie z pedaĹ‚em. Odczep potencjometru poĹ‚Ä…czony jest z wejĹ›ciem mikrokontrolera skonfigurowanym jako wejĹ›cie przetwornika analogowo-cyfrowego. KraĹ„cowe zaciski potencjometru podĹ‚Ä…czone zostaĹ‚y miÄ™dzy napiÄ™cie referencyjne a masÄ™ za poĹ›rednictwem rezystora o tak dobranej rezystancji, aby napiÄ™cie na potencjometrze wynosiĹ‚o dokĹ‚adnie 2,56 V, co odpowiada napiÄ™ciu referencyjnemu wytwarzanemu przez wewnÄ™trzny ukĹ‚ad mikrokontrolera. RozwiÄ…zanie to ma dodatkowÄ… zaletÄ™ polegajÄ…cÄ… na ograniczeniu prÄ…du, ktĂłry popĹ‚ynÄ…Ĺ‚by w przypadku zwarcia przewodĂłw doprowadzajÄ…cych napiÄ™cie do potencjometru, do wartoĹ›ci okoĹ‚o 1 mA. Dodatkowy kondensator blokujÄ…cy ogranicza zakĹ‚Ăłcenia, ktĂłre mogĹ‚yby indukować siÄ™ w przewodzie o znacznej dĹ‚ugoĹ›ci Ĺ‚Ä…czÄ…cym potencjometr z ukĹ‚adem. Przetwornik A/C zawarty w mikrokontrolerze, bÄ™dÄ…cy ukĹ‚adem opartym na metodzie sukcesywnej aproksymacji SAR (ang. successive approximation register), ma rozdzielczość 10 bitĂłw [4]. W opisywanym zastosowaniu zupeĹ‚nie wystarcza mniejsza rozdzielczość, ktĂłrÄ… eksperymentalnie dobrano na 7 bitĂłw. RĂłwnanie (3) przedstawia dostÄ™pnÄ… liczbÄ™ kombinacji N. Rozdzielczość ta pozwala uzyskać rozróşnianie przesuniÄ™cia suwaka o wartość danÄ… rĂłwnaniem (4). N = 27 = 128

Praktyczne dziaĹ‚anie regulatora opisanego rĂłwnaniem (7) jest nastÄ™pujÄ…ce. OdpowiedĹş jest niezerowa w dwĂłch przypadkach. Zawsze w przypadku, gdy wartość bezwzglÄ™dna z bieşącego uchybu regulacji (zmierzonego w chwili n) jest wiÄ™ksza od staĹ‚ej , ktĂłrej wartość ustalono doĹ›wiadczalnie rĂłwnÄ… 2. OdpowiedĹş jest niezerowa takĹźe wtedy, gdy wartość bezwzglÄ™dna uchybu regulacji jest wiÄ™ksza od zera i mniejsza od staĹ‚ej , ale jednoczeĹ›nie w poprzedniej, dyskretnej chwili n–1, wartość bezwzglÄ™dna uchybu regulacji byĹ‚a niezerowa. PoniewaĹź staĹ‚a k ma wartość 5, to niezerowa odpowiedĹş regulatora ma zawsze wartość –5 lub 5, co odpowiada wykonaniu piÄ™ciu krokĂłw w lewo lub w prawo. Obliczanie aktualniej pozycji, polegajÄ…ce na zliczaniu wykonanej liczby krokĂłw w danym kierunku wymaga zastosowania wstÄ™pnej kalibracji, czyli ustalenia pozycji „0â€? po kaĹźdym uruchomieniu systemu. SĹ‚uĹźy do tego wyĹ‚Ä…cznik kraĹ„cowy. Algorytm startowy jest nastÄ™pujÄ…cy. Po zaĹ‚Ä…czeniu zasilania, silnik krokowy rozpoczyna pracÄ™, zamykajÄ…c ĹźaluzjÄ™ z maĹ‚Ä… prÄ™dkoĹ›ciÄ… (co jest konieczne, aby nie uszkodzić wyĹ‚Ä…cznika kraĹ„cowego). CaĹ‚kowite zamkniÄ™cie, ustalone jako umowna pozycja „0â€?, powoduje zaĹ‚Ä…czenie wyĹ‚Ä…cznika kraĹ„cowego i automatyczne zapisanie w pamiÄ™ci RAM mikrokontrolera obecnej pozycji, jako rĂłwnej 0. Od tego momentu aktualna pozycja Ĺźaluzji jest obliczana na podstawie wykonanej liczby krokĂłw. Innym rozwiÄ…zaniem mogĹ‚oby być zastosowanie zapamiÄ™tywania aktualnej pozycji w pamiÄ™ci nieulotnej EEPROM, jednak prosta procedura kalibracyjna z wykorzystaniem mechanicznego wyĹ‚Ä…cznika wydaje siÄ™ być bardziej niezawodna. Dodatkowo, wyĹ‚Ä…cznik kraĹ„cowy umoĹźliwia obsĹ‚ugÄ™ sytuacji bĹ‚Ä™dnych, w przypadku, gdy z jakiĹ› przyczyn silnik zostanie przeciÄ…Ĺźony, a w zwiÄ…zku z tym zafaĹ‚szowane zostanie obliczenie aktualnej pozycji. W przypadku, gdy wyĹ‚Ä…cznik kraĹ„cowy jest zaĹ‚Ä…czony, a obliczona pozycja jest niezerowa, algorytm dokonuje jej korekty. W przypadku gdy obliczona pozycja jest rĂłwna zero, a wyĹ‚Ä…cznik kraĹ„cowy nie jest zaĹ‚Ä…czony nastÄ™puje automatyczne przesuniÄ™cie Ĺźaluzji do pozycji zamkniÄ™tej. Rozpoczynanie ruchu przez ĹźaluzjÄ™ wymaga pokonania jej bezwĹ‚adnoĹ›ci i w przypadku gdy silnik usiĹ‚uje rozpocząć pracÄ™ z peĹ‚nÄ… prÄ™dkoĹ›ciÄ… obrotowÄ…, skutkuje przekroczeniem dopuszczalnego momentu obciÄ…Ĺźenia i zgubieniem krokĂłw. Dodatkowym negatywnym zjawiskiem przy gwaĹ‚townym ruszaniu, jest generowanie znacznego haĹ‚asu. Aby ograniczyć powyĹźsze problemy, wprowadzono prosty algorytm regulacji prÄ™dkoĹ›ci obrotowej. Polega on na wprowadzeniu dodatkowej funkcji opóźniajÄ…cej odpowiadajÄ…cej za wydĹ‚uĹźenie czasu miÄ™dzy wykonaniem kolejnych krokĂłw przez silnik, ktĂłra przyjmuje niezerowe wartoĹ›ci w poczÄ…tkowej fazie ruchu. RĂłwnanie (8) opisuje dziaĹ‚anie tej funkcji.

(3)

(4)

UwzglÄ™dniajÄ…c przekĹ‚adniÄ™ otrzymujemy rozróşnienie skoku pedaĹ‚u o wartość 1,23 mm, co jest wartoĹ›ciÄ… odbieranÄ… przez czĹ‚owieka jako w zasadzie ciÄ…gĹ‚a zmiana przesuniÄ™cia. Ograniczenie rozdzielczoĹ›ci przetwornika ma dodatkowÄ… zaletÄ™ w postaci ograniczenia wpĹ‚ywu zewnÄ™trznych zakĹ‚ĂłceĹ„, a takĹźe umoĹźliwia uproszczenie obliczeĹ„, gdyĹź maksymalna liczba krokĂłw jest wielokrotnoĹ›ciÄ… liczby 127. Zastosowany algorytm dokonuje pomiaru poĹ‚oĹźenia pedaĹ‚u, obliczenia aktualnej pozycji Ĺźaluzji na podstawie liczby wykonanych krokĂłw w kierunku lewym lub prawym oraz przesuwania Ĺźaluzji w kierunku pozycji zadanej. Ma on postać dyskretnego regulatora o nieliniowej charakterystyce. Klasyczny regulator PID opisany jest rĂłwnaniem (5) [5]. Odpowiednio: u(t) – odpowiedĹş regulatora, k – wzmocnienie, e(t) – uchyb regulacji, Ti – okres caĹ‚kowania, Tp – okres róşniczkowania. (5)

m >γ ⎧⎪ 0, d (m ) = ⎨ ⎪⎊δ ⋅ m, m ≤ γ

Po usuniÄ™ciu czĹ‚onĂłw róşniczkujÄ…cego i caĹ‚kujÄ…cego i dyskretyzacji czasu otrzymamy rĂłwnanie (6). u(n) = k e(n)

78

P

O

M

I

A

gdzie: d(m) – wartość funkcji opóźniajÄ…cej, m – liczba (caĹ‚kowita) krokĂłw wykonanych od momentu ruszenia (m przyjmuje wartość zero w przypadku, gdy wartość funkcji u(n) we wzorze

(6)

R

Y

•

A

U

T

O

M

(8)

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


B *

(7) jest zerowa, co oznacza, Ĺźe Ĺźaluzja nie wykonuje ruchu), g – staĹ‚a dobrana eksperymentalnie ma wartość 20, d – współczynnik proporcjonalnoĹ›ci o wartoĹ›ci dobranej rĂłwnej 2. Wartość funkcji d(m) oznacza liczbÄ™ dodatkowych, pustych obiegĂłw pÄ™tli programu, zatem rzeczywisty czas opóźnienia, zaleĹźny jest od czÄ™stotliwoĹ›ci, z jakÄ… jest taktowany mikrokontroler (w przypadku zrealizowanego prototypu czÄ™stotliwość taktowania wynosi 8 MHz).

Prototyp urzÄ…dzenia wykonano z wykorzystaniem dwĂłch pĹ‚ytek drukowanych jednostronnych – jedna z ukĹ‚adem mikrokontrolera, druga z ukĹ‚adami odpowiadajÄ…cymi za kontrolÄ™ prÄ…du w uzwojeniach silnika. WyglÄ…d urzÄ…dzenia moĹźna zobaczyć na rys. 5, natomiast na rys. 6 przedstawiono prototyp w czasie testĂłw eksploatacyjnych, po poĹ‚Ä…czeniu z ĹźaluzjÄ…. Dostosowanie urzÄ…dzenia do pracy polegaĹ‚o gĹ‚Ăłwnie na doborze maksymalnej prÄ™dkoĹ›ci obrotowej oraz parametrĂłw funkcji opóźniajÄ…cej w taki sposĂłb, aby uzyskać moĹźliwie najkrĂłtszy czas otwierania i zamykania, wystarczajÄ…cy moment obrotowy silnika oraz najmniejszy haĹ‚as. Po optymalizacji pod kÄ…tem subiektywnych parametrĂłw uĹźytkowych ocenianych przez organmistrza i organistÄ™, dokonano pomiaru przyspieszeĹ„ wystÄ™pujÄ…cych w systemie. W tym celu na listwie napÄ™dowej wykonujÄ…cej ruch posuwisty, zainstalowano trzyosiowy akcelerometr analogowy, poĹ‚Ä…czony z kartÄ… akwizycji danych NI-PXI 4496. Zawiera ona przetworniki analogowo-cyfrowe o rozdzielczoĹ›ci 24 bitĂłw

i umoĹźliwia rejestracjÄ™ bardzo wolnozmiennych sygnaĹ‚Ăłw (od 0,5 Hz). Za pomocÄ… pedaĹ‚u, kilkukrotnie wykonywano caĹ‚kowite zamykanie i otwieranie Ĺźaluzji. Zarejestrowane z czÄ™stotliwoĹ›ciÄ… prĂłbkowania rĂłwnÄ… 20 kHz, wyniki z kanaĹ‚u odpowiadajÄ…cemu kierunkowi, w ktĂłrym wystÄ™puje ruch listwy, poddano obrĂłbce w programie MATLAB, polegajÄ…cej na filtracji dolnoprzepustowej filtrem Butterwortha 5. rzÄ™du, o czÄ™stotliwoĹ›ci granicznej rĂłwnej 10 Hz. Po uwzglÄ™dnieniu czuĹ‚oĹ›ci akcelerometru, wynoszÄ…cej 300 mV/g, na rys. 7 przedstawiono wykres zaleĹźnoĹ›ci przyspieszenia od czasu. WyraĹşnie moĹźna rozróşnić poszczegĂłlne fazy ruchu. RozpoczÄ™cie otwierania Ĺźaluzji nastÄ™puje w chwili t = 1,2 s, nastÄ™pnie po okoĹ‚o 1,4 s nastÄ™puje zatrzymanie. Proces ponownego zamykania rozpoczyna siÄ™ w chwili t = 3,8 s i trwa do chwili t = 5,1 s. Od tego momentu proces zamykania i otwierania siÄ™ powtarza. Jak Ĺ‚atwo zauwaĹźyć, przyspieszenie w momencie rozpoczynania ruchu jest znacznie mniejsze od przyspieszenia wystÄ™pujÄ…cego w momencie zatrzymania. Jest to skutkiem zastosowanej funkcji opóźniajÄ…cej, a takĹźe tego, Ĺźe zrezygnowano z dodatkowego algorytmu hamowania. Jak pokazaĹ‚y testy, natychmiastowe zatrzymanie Ĺźaluzji nie powoduje przekroczenia dopuszczalnego momentu obciÄ…Ĺźenia. Jest to wynikiem istnienia momentu trzymajÄ…cego w silniku krokowym. Kolejnym parametrem, ktĂłrego pomiaru dokonano, jest gĹ‚oĹ›ność pracy. Do rejestracji sygnaĹ‚u ponownie wykorzystano kartÄ™ akwizycji danych oraz mikrofon pomiarowy typu MK250-SV12L, jego czuĹ‚ość okreĹ›lona jest na 50 mV/Pa. CzÄ™stotliwość prĂłbkowania wynosiĹ‚a 44,1 kHz. Ruch Ĺźaluzji miaĹ‚ taki sam charakter, jak podczas pomiaru przyspieszeĹ„. Na rys. 8 przedstawiono zarejestrowany sygnaĹ‚, bez jakiejkolwiek obrĂłbki. Obliczona wartość Ĺ›rednia ciĹ›nienia aku-

Rys. 5. Ogólny wygląd systemu napędowego Fig. 5. General view of the electrical drive system

Rys. 7. Zaleşność przyspieszenia şaluzji od czasu Fig. 7. Acceleration of the shutter as a function of time

Rys. 6. System napędowy zainstalowany w szafie ekspresyjnej Fig. 6. Electrical drive system installed in the swell box

Rys. 8. Ciśnienie akustyczne w funkcji czasu podczas ruchu şaluzji Fig. 8. Sound pressure level as a function of time during the movement of shutter

[. 8 # * & & #) &% # * ~

79


D %# + 8 & % 8 8 . % ; % 8 8 @ % 8

Rys. 11. Widmo ciśnienia akustycznego w fazie hamowania Fig. 11. Spectrum of the sound pressure level in the phase of braking

Rys. 9. Widmo ciśnienia akustycznego w fazie ruszania Fig. 9. Spectrum of the sound pressure level in the phase of start the movement

przez część uşytkowników była oceniana jako wystarczająco niska, inni wskazywali na konieczność jej obnişenia. Przeprowadzone testy subiektywne, stwierdziły uşyteczność urządzenia w organach piszczałkowych. Zaprojektowany system napędowy został zainstalowany w Bazylice św. Jana Chrzciciela w Szczecinie, gdzie juş od kilku miesięcy jest eksploatowany i działa bezawaryjnie. Dłuşszy okres obserwacji pozwoli wyciągnąć pełniejsze wnioski co do bezawaryjności urządzenia. Duşą zaletą wykonanego napędu jest jego bardzo niska cena. Zrealizowany projekt wskazuje na moşliwość stosowania silnika krokowego takşe w systemach napędowych, gdzie zaleşy nam na duşej precyzji pozycjonowania bez uşycia zewnętrznych czujników, a jednocześnie nie są wymagane duşe prędkości obrotowe. Rys. 10. Widmo ciśnienia akustycznego w fazie ruchu jednostajnego Fig. 10. Spectrum of the sound pressure level in the phase of monotonous movement

9 ' %# Autor wyraşa podziękowanie Panu dr inş. Witoldowi Mickiewiczowi z Katedry Inşynierii Systemów, Sygnałów i Elektroniki na Wydziale Elektrycznym Zachodniopomorskiego Uniwersytetu Technologicznego w Szczecinie za merytoryczną i praktyczną pomoc przy realizacji projektu. Autor dziękuje Panu Waldemarowi Wasilewskiemu, organmistrzowi odpowiedzialnemu za proces remontu organów i inicjatorowi powstania nowego układu napędowego. Podziękowania składa takşe Panu tech. Adamowi Bellerowi z Katedry Inşynierii Systemów, Sygnałów i Elektroniki na Wydziale Elektrycznym Zachodniopomorskiego Uniwersytetu Technologicznego w Szczecinie za okazaną pomoc w pracach mechanicznych i elektrycznych.

stycznego wyniosĹ‚a 78 dB. Taki poziom moĹźe wydawać siÄ™ duĹźy, jednak naleĹźy zauwaĹźyć, Ĺźe pomiaru dokonano u wylotu szafy ekspresyjnej przy otwartych drzwiach. Przeprowadzono takĹźe analizÄ™ czÄ™stotliwoĹ›ciowÄ… danych. PoniewaĹź charakter sygnaĹ‚u jest zupeĹ‚nie róşny podczas przyspieszania, ruchu jednostajnego i hamowania, to wykonano odrÄ™bne analizy FFT dla kaĹźdego z wymienionych etapĂłw. Wyniki przedstawiono na rys. 9 (ruszanie), rys. 10 (ruch jednostajny) oraz rys. 11 (hamowanie). Jak moĹźna zauwaĹźyć, etap ruszania odpowiada za powstawanie znacznej iloĹ›ci skĹ‚adowych o niskich czÄ™stotliwoĹ›ciach, co jest logiczne, poniewaĹź rozpoczÄ™cie ruchu przez ĹźaluzjÄ™, mimo zastosowania funkcji opóźniajÄ…cej, ma zawsze charakter zbliĹźony do impulsowego i powoduje pobudzenie caĹ‚ej konstrukcji mechanicznej do drgaĹ„. Z kolei w fazie ruchu jednostajnego wyraĹşnie moĹźna wyróşnić dwie skĹ‚adowe: w okolicach 340 Hz i 1 kHz. SkĹ‚adowa 1 kHz jest widoczna zarĂłwno w fazie ruszania, jak i ruchu jednostajnego. Niestety czÄ™stotliwość ta leĹźy w zakresie wysokiej czuĹ‚oĹ›ci ucha ludzkiego, co jest niewÄ…tpliwie zjawiskiem negatywnym. W etapie zatrzymywania, ponownie wystÄ™puje znaczne zagÄ™szczenie skĹ‚adowych niskoczÄ™stotliwoĹ›ciowych, majÄ… one jednak niĹźszÄ… amplitudÄ™, nie pojawia siÄ™ teĹź skĹ‚adowa 1 kHz.

} 1. Bush D.E. (editor), Kassel R. (associate editor), The Organ: An Encyclopedia, New York, Routledge Taylor and Francis Group, 2006, ISBN-10: 0415941741. 2. Condit R. (Microchip Technology Inc.), Jones D.W. (University of Iowa), Stepping Motors Fundamentals, Microchip Technology Incorporated, 2004, AN907. 3. Lipiński W., Podstawy Teorii Obwodów Elektronicznych tom 1, Politechnika Szczecińska, Instytut Elektroniki i Informatyki, Szczecin, 1992. 4. ATmega8A DATASHEET COMPLETE, Atmel Corporation, San Jose, 2015. 5. Discrete PID Controller on tinyAVR and megaAVR devices, Application note, Atmel Corporation, San Jose, 2016. 6. Hopkins T., Stepper motor driving, Application note, STMicroelectronics, 2012, AN235. 7. The L297 stepper motor controller, Application note, STMicroelectronics, 2003, AN470. 8. Barnes W.H., The Contemporary American Organ, Alfred Music, 1995, ISBN-10: 0769242901.

7. Wnioski Zrealizowane urządzenie w większości spełnia postawione załoşenia. Uzyskany czas potrzebny na otwarcie şaluzji z pozycji zamkniętej wyniósł niecałe 1,4 s, przy załoşeniu 1,0 s. W większości przypadków(szczególnie przy utworach liturgicznych, które są grane najczęściej), wartość ta jest zupełnie wystarczająca. Podobnie wygląda kwestia głośności działania, która

80

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


B *

; ! 7 7 9 K * Z K & %&) Swell box is the important element of the pipe organs. It allows for regulation of volume of sound generated by the instrument. The paper describes process of replacing the pneumatic control system of swell boxes shutter by the new electrical drive. The project assumptions, concept of electronic control system, practical realization of the prototype device and finally the preliminary tests of the new electrical drive are presented. Described system, after the process of optimization in crucial criteria, was realized using the stepper motor with current control method based on Pulse Width Modulation. Most of processes in the system, inter alia, reading the current position of pedal, positioning the shutter, handling the incorrect situations, are controlled by 8-bit microcontroller. Circuit had subjected to an examination from the point view of measurable parameters (obtained accelerations and level of noise). Then, the practical tests in the Basilica of St. John the Baptist in Szczecin (where the system has been installed) were conducted by organist. KeywordsX 9 K ! " * 'B V ' B X

! % * % ? ",$JD,) % % /9 ' ; * " * # @ * * % @ Y " ,&+C % " * Y ,&+. % R9 0 E U Y "F * F ; ' ; " " 0 * # @ * * % Q F " 0 "F " " * " " 0 * F %

81


NR 3/2015

82

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


Pomiary Automatyka Robotyka, ISSN 1427-9126, R. 21, Nr 4/2017, 83–87, DOI: 10.14313/PAR_226/83

; ! & " % % - % * % ? " # @ * ' ; % * $- -&0$+$

1 % " # B ' I % a OJ -+0,+&

& %&) The project described in the paper rely on creating a small device mounted under violin strings between a fingerboard and a bridge to help beginning violinists in instrument practice on its first stages of music education. This device helps to identify mistakes of wrong intonation and wrong bowing. It notifies the mistakes to the violinist via acoustical signalisation. The working principle of the device, some technical details of its construction and first practical tests results are presented in the paper. The proposition of the development of the prototype device is described. 8 X ! * " "

1. Introduction Regular musical education in the music school is usually connected with playing an instrument. No matter what instrument, first steps in this field are connected with proper sound emission. Depending on the kind of instrument, the way of sound generation is different and a proper sound emission poses to the player specific challenge. As in many other aspects of our life, first steps in some new activity can influence further development very much, so gaining proper habits just from very beginning is very important. Best solution to this problem is playing the new instrument only under control of a master – music teacher. Of course it is not always possible. So we propose electronically aided instrument practice. In this paper we will look at the problems connected especially with playing violin. With some modification the described device can be used with all strings. The violin is a bowed string instrument held between a chin and shoulder. Its left side props left side of chin on chin-rest (placed at the left side of tailpiece, on the edge of violin) and usually a rib is used (putted on the back on lower bout of violin). The player’s left hand has to embrace neck of the violin between thumb and index finger without squeezing it on its bottom side in such a way that there is a clearance. The spine of violinist should be straight, shoulders situated naturally and legs in little straddle position. In this place we should say, that the playing position described above is not very natural for human body. Playing violin take place with a bow held in right hand or plucking the strings with right hand fingers (pizzicato). Left hand fingers press strings to the fingerboard in appropri-

# & *: X B 8 ",$JD,) % % # ) ' ,-%&D%,&+- % &.%++%,&+- % ! "" # $%&

ate places to shorten the string and the tune the instrument for various notes. Playing violin is a complicated process of the synchronous cooperation of human muscles, auditory system and mind [2]. Violinist has to concentrate on drawing a bow across strings correctly, having good stature, playing in tune and often on reading notes. Beginning violinist has problem with coordinating of all those actions in the same time. Most important things are proper bow drawing (right hand) and good intonation of notes (left hand). Bow should be drawn perpendicularly across the strings what is obtained by moves of the elbow and wrist when shoulder moves only up and down while changing the string. Wrong technique (which is however natural for human body) is to rigidify elbow trying to move bow mainly by moves of arm [1]. At the first stages of musical education all these components are not developed and need education. The main role in the process of education plays the master-teacher, who controls the pupil’s efforts, shows the ways of development and point out the mistakes [11]. Unfortunately learning violin (like other instruments) is not only spending time on classes with teacher but mainly on hours spent alone or with inexperienced parent on daily practice routines. And during this homework a very common situation is, that student can not realise that there is something wrong while practicing. The own practicing routines at home are dangerous especially for beginners in gaining wrong habits because of the lack of control from the master side. In these moments modern technology can help. We came up with an idea to create a small electronic appliance – Electronic Teacher – which can help in unassisted learning. During the exercises with Electronic Teacher the student may get information about committed mistakes and refine his technique of playing without a risk of remembering mistakes undetectable for her/him on that level of studying. The regular use of the new device can tellingly rev up a processes of learning music. In the paper the general idea of the device is presented. The device shall generate acoustical and visual signals providing information about the playing quality in two main aspects: bowing quality and intonation. These two aspects are analysed and signalled independently. The paper is aimed at presenting of new approach to getting these skills. The intonation con-

83


Electronically aided violin practice

{. } ƒ

trol is supported by giving the player reference tones and this approach is presented in the second part of the paper. The bowing supervision is based on the use of matrix of optoelectronic sensors. This idea will be described in the third part of the paper. The prototype of the device was presented to the student of Primary National Music School in Szczecin, Poland. Basing on these tests some improvements and modifications are introduced, what is presented in the fourth part. Finally, general concept of microcontroller based mobile system is presented.

Straight bowing, which is keeping the bow perpendicular to the string and parallel to the bridge of the violin while playing, is considered as a basic skill to learn by the novice violin player. Firstly let us look at the proper rules of bow moving. When the player is moving the bow on the string, the angle between them must be equal nearly to 90 degrees. Movement the bow left and right is acceptable if aforementioned angle remains still equal to 90 degrees. Angle between the surface of violin deck and the bow depends on the played string and can change during playing. The good skills in proper bow moving has a major consequences for the achievement of next mastery levels of violin playing. Initially, we were trying to use MEMS (Micro-Electro-Mechanical-System) sensors – 3-axis analog output accelerometers type ADXL335 [5] and 2-axis analog output gyroscopes type LPY550AL [6] placed on the bow, to follow the motion of it. The frequency analyse of acquired data proved that the motion of a bow had generated 3 main frequency component groups: very low frequency motion components, low frequency bow vibration components and middle frequency sound components. The motion components were difficult to acquire with sufficient accuracy to retrieve the bow 3D trajectory with simple hardware. The sensor placement directly to the bow was also inconvenient because of changing the bow mechanical balance. Thus, the dynamic detection of the bowing quality using cinematic sensors was very difficult and we decided to find another solution. We decided to follow the position of the bow in reference to the strings using a static matrix of optoelectronic sensors placed on the violin below the strings, what is shown in fig. 1. Parallel analysis of the signals obtained from the sensors gave us the information of the position of the bow. The dimensions of the sensor matrix (separation of the sensors in rows and columns) was elaborated taking into account the strings separation, the bow width and required angular resolution. In the first version we assumed that there are three quality levels which specify the correctness of the bow position: ‘cor-

Y. 7

&&

The proper intonation is the effect of control process in closed feedback loop consisting of the mechanical system of playing person, her/his auditory system and the brain regions responsible of the musical consciousness. At the first stages of musical education all these components are not developed and need education. A special interest have to be put during home practice routines. In the case of intonation control the widely used electronic instruments are called chromatic tuners. They usually show the intonation shift in cent scale (1 cent = 1/100 of semitone) on graphic indicator. This is, however, the main disadvantage because they may get the pupil the habit of visual control of intonation, but it should be exclusively by hearing sense. On the other hand, the young musician often doesn’t know, if the played notes have correct intonation, because he/ she is not familiar with sound phenomena that indicate the bad intonation. Assuming the student possesses a relative musical hearing, the intonation control could be more effective if the student will be able to constantly compare by ear the pitch of played notes with the acoustic pattern. In addition, depending on the progress, this pattern may be the note of the same nominal pitch as played at a given time or a note, which remains in a particular interval relationship (third, fifth, etc.) [1]. The above idea accomplishes the control intonation part of the presented system. The final hardware is going to based on standard microcontroller system equipped with analog to digital and digital to analog conversion and small display. The system will be complemented with front-end analog part allowing direct connection of microphone and earphone. The block diagram of the system is shown in fig. 7 and will be described later. The algorithm of the system operation was tested in the MATLAB environment and is as follows. The signal from the instrument is acquired by the microphone. After preamplification and denoising the signal is analysed in the frequency domain and the fundamental frequency of the note is estimated. The value of the instantaneous frequency is compared with the frequency database of the notes in equal temperament system. As the result of the comparison, the tone with nominal pitch is emitted. The player has the opportunity to correct the position of the finger on the string based on what she/he hears. Achieved are therefore two objectives: the student learns the correct position of the fingers on the strings and at the same time, develops the sense of hearing - learns to respond to the acoustic phenomena, which are characteristic for the correct and incorrect intonation. The created application can also visualise intonation deviations on the display screen, what may be needed in the beginning stage, but should be avoided as soon as possible. The application also provides the emission of pattern tones, which can stay in the relation of any interval to the played note. This can help to develop the auditory sensitivity to correct the intonation on the base of other intervals than an unison.

84

P

O

M

I

A

R

Y

•

A

U

T

O

M

Fig. 1. Presentation of positions of fiddlestick and matrix of sensors Rys. 1. Przedstawienie róşnych pozycji smyczka i poĹ‚oĹźenia matrycy czujnikĂłw

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ B * m' rect’ – angle deviation less than about 10 degrees, ‘little incorrect’ – angle deviation between about 10 and 20 degrees, ‘very incorrect’ – angle deviation more than about 20 degrees. In the figure 1. these levels are presented in the illustrative manner. The position of the bow is detected by a matrix of 9 (3 Ă— 3) transoptors (type KTIR0711S). Each of them includes an infrared electroluminescent diode and a photo-transistor. To power up the sensor and obtain the voltage output signal from it, very simple electronic circuit is needed [7]. Realized matrix of sensors is presented in the fig. 2.

(2) It is obvious that high accuracy was not necessary, although the number of possible combination drastically increase. In this way, manually creation of table of truth and control algorithm was impossible. Thus we introduced an extra stage of system learning. In this level, the person who had good playing skills (a teacher for example) was moving the bow properly. Simultaneously, the algorithm was creating a database of ‘correct’ positions. Next, the same person started to move the bow ‘little incorrect’. The database of this positions were created by system. The same operation was repeated for ‘very incorrect’ positions. Collected data were treated to eliminate ambiguities and were then used in the main algorithm to assess bowing quality.

^. |

& 4

Fig. 2. Realised matrix of sensors Rys. 2. Widok zrealizowanej matrycy czujnikĂłw

When there is no object above the sensor, the output voltage is near to positive supply voltage. When an object appears above the sensor, the output voltage will start to decrease. Collector current (and output voltage) is depended of the distance between object and sensor and its reflectance. During the first stage of the system development the output voltage was measured by National Instruments Data Acquisition Card (DAQ) type NI – USB 6251. Every sensor was connected to one Analog Input (AI) of the DAQ. Its resolution was 16 bit and maximum sampling frequency 1.25 MHz [8]. Discretised values of output voltage from all sensors were received by the DAQ and send to the MATLAB environment. We considered two possibilities of analysing collected data. First approach was easier and assumed that the information from sensor is restricted only to two levels. We introduced a threshold to classify only two states: ‘bow is present’ – 1, and ‘bow is absent’ – 0. Next, analysing the matrix pattern, we created a table of truth, which described which positions are ‘correct’, which are ‘little incorrect’ and which are ‘very incorrect’. The number of sensors is 9, thus the number of possible combinations is calculated in equation (1). N = 29 = 512

Described device has been tested in the laboratory. The prototype was created based on data acquisition card and a PC. In tests a schoolgirl of primary music school has participated. The primary purpose of the tests was to estimate the ease of operation and ergonomics of the new device. In order to improve the functionality of the intonation-support-part, the simple sinusoidal tones were replaced with the synthetic violins sounds. Such pattern significantly facilitate orientation in the pitch imperfections compared with a pure sine tone. This confirms the role of the higher harmonics contained in the signal in the process of tuning to the correct intonation. So pure sine tone generator was replaced with wavetable synthesis. The part of the device responsible for the bowing quality signalization also required corrections. Although the sensors

Fig. 3. Examples of data classified as ‘impossible’ position of fiddlestick Rys. 3. PrzykĹ‚ady danych zaklasyfikowanych jako ‘niemoĹźliwe’ poĹ‚oĹźenie smyczka

Fig. 4. Examples of data classified as ‘correct’ position of fiddlestick Rys. 4. PrzykĹ‚ady danych zaklasyfikowanych jako prawidĹ‚owe poĹ‚oĹźenie smyczka

(1)

It is obvious that not all combinations are possible. In the figures 3–6 the examples of data pattern classified as: ‘impossible’, ’correct’, ’little incorrect’ and ‘very incorrect’ are shown. Data is presented in matrix form of dimensions 3 Ă— 3 and every element could be only ‘1’ or ‘0’ (rows are parallel to violin strings, and columns parallel to the properly guided bow). Creation of table of truth and control algorithm was a result of theoretical assumptions and the diameters of bow and matrix of sensors. All conditions are fixed (constant). There was no the system learning stage in this approach. Second approach was to analyse the data more accurate. The analog output voltages from sensors varied from 0 V to 3 V during playing. The resolution of analog to digital converter (ADC) was 16 bits, thus it was possible to detect variable of output voltage given by equation (2).

Fig. 5. Examples of data classified as ‘little incorrect’ position of fiddlestick Rys. 5. PrzykĹ‚ady danych zaklasyfikowanych jako częściowo nieprawidĹ‚owe poĹ‚oĹźenie smyczka

Fig. 6. Examples of data classified as ‘very incorrect’ position of fiddlestick Rys. 6. PrzykĹ‚ady danych zaklasyfikowanych jako caĹ‚kowicie nieprawidĹ‚owe poĹ‚oĹźenie smyczka

85


Electronically aided violin practice were working in infrared range the impact of kind of light in the room on them was considerable. It was the reason to set properly value of threshold before start to use the device. It is possible to create an automatically self-calibration procedure. Another important question was selection the properly method to signal the position of bow. We had two options: visual or acoustic. As we know, hearing is heavily used by musician, thus our first approach was to present the information as graphical symbol in the display. Experiments with the musicians proved that the continuing need observation of display is very uncomfortable for them. It was the reason to try to use the acoustic signalization. The frequency and spectrum of signal were crucial. It had be completely different from sound generated by violin. After series of experiments, we decided to use simple sinusoidal signal of 800 Hz frequency. Signals from violin and system not interfered with each other. Algorithm written in MATLAB obtain detection of bow position every 0.5 second. This value was obtained after a series of experiments. After detection, the reaction of system is dependent of obtained position. If the position of bow is ‘correct’ none acoustic signal is generated. If the position is ‘little incorrect’ the slow intermittent beep is generated, and if the position is classified as ‘very incorrect’ the fast intermittent beep is generated. In this form the system is ready to build-in into a small, microcontroller based system with own source of sound.

Fig. 7. General concept of microcontroller based mobile system Rys. 7. OgĂłlna koncepcja mobilnego system mikroprocesorowego

operational amplifiers. Next, gained and filtered signal from microphone is converted to discrete-time domain by analog to digital converter (ADC 1). The sampling rate is set by the timer 2 (TIM 2). Samples are transferred to operational memory (RAM) by the Direct Memory Access module (DMA1) – channel 1 is used. Data processing algorithms (mainly 1024point FFT) are carried on collected samples by core with floating point unit (CPU+FPU). In the program memory (FLASH) the pattern table of tones is placed. This discrete values are transferred to digital to analog converter (DAC) via DMA 2 module with channel 4. DAC is timing by timer 4 (TIM 4) which set the sampling frequency. The small external power amplifier(Power Amp) is necessary to drive earphone. Data from matrix of sensors are obtain by sampling all 9 sensors by the 9 multiplexed inputs of the analog to digital converter 2 (ADC 2). Low sampling frequency is controlled by timer 3 (TIM 3). Role of DMA 2 module with channel 1 is to transfer data from ADC 2 to RAM memory. Core is responsible of data analyse. Signalisation of bad fiddlestick moving is realised by DAC, power amplifier and earphone.

Z. 4 & , & & & 4 Described experiments have been conducted on prototype system including: data acquisition card, matrix of sensors, external audio amplifier and PC class computer with MATLAB software. It is obvious that practical use of this system will be very uncomfortable. Therefore, we created a concept of microcontroller based, mobile device. Discussed solutions of bowing quality assessment and intonation control support, impose relative high requirements for used microprocessor system. System should simultaneously take data from matrix of sensors, acquire audio signals from microphone, process both streams of data, and communicate with musician. All of this operations must be in real-time executed. To reduce cost of device and decrease time of operations, almost system components should be included inside the microcontroller. As we can see, used microcontroller must have internal analog to digital (ADC) and digital to analog (DAC) converters, and high-performance core to data processing (e.g. Fast Fourier Transform (FFT) computing and learning algorithms have high computing cost [9,10]). All of this components are included in STM32F303 microcontroller, which we chose to release mobile system. It includes 4, 12-bit ADCs, 3 channels of 12-bit DAC and direct memory access module (DMA) [4]. Advanced RISC (Reduced Instruction Set Computing) Machine (ARM) architecture based core, cooperates with floating point unit (FPU) and radically increases the floating point calculations used in FFT. Reverse bit operation, useful in FFT calculation to divide samples in even and odds are hardware supported (RBIT instruction) by this core [3]. Another important aspect is present of programmable gain amplifiers (PGA) inside the microcontroller, which can cooperate with small condenser microphone (preamplifier and anti-aliasing filter). Use of DMA to transfer data form input to memory, and from memory to output without core activity is very favourable. Table of tones can be placed in flash memory (128 kB). If it will be not enough, table could be placed in external Secure Digital (SD) card. General concept of described system is presented in figure 7. Condenser microphone is connected to preamplifier antialiasing filter (Preamp Filter) based on internal microcontrollers

86

P

O

M

I

A

R

Y

•

A

U

T

O

M

[. This article presents the concept and the results of prototype tests of the electronic device meeting the role of the electronic teacher who helps the self-development of young violinist. The presented idea of intonation tuner and optoelectronic bowing qualifier seems to work very well and really helps violin beginners. During the design phase of the device we put special attention to the way of error signalization to the user. Chosen acoustic signalling guarantees the student full concentration only on sense of hearing, which is most important for every musician. In addition, it eliminates the need to use of any display, what makes the miniaturization of the device easier. Modern microprocessor technology allows to integrate the device into a small item that can be put on an upper violin deck under strings. Thus the balance of the bow is not impaired. To communicate with the user only lightweight earphone is needed.

1. van der Linden J., Schoonderwaldt E., Bird J., Johnson R., MusicJacket – combining motion capture and vibrotactile feedback to teach violin bowing. “IEEE Transactions on Instrumentation and Measurement�, Vol. 60, Iss. 1, 2011, 104–113, DOI: 10.1109/TIM.2010.2065770. 2. Schoonderwaldt E., Mechanics and acoustics of violin bowing: Freedom constraints and control in performance, KTHSchool Comput. Sci. Commun., 2009. A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


/ B * m' 3. PM0214, Programming manual, STM32F3, STM32F4 and STM32L4 Series CortexŽ-M4 programming manual 4. Cortex-M4 Technical Reference Manual 5. Analog Devices Inc., Small, Low Power, 3-Axis ¹3 g Accelerometer ADXL335, datasheet ,2009 6. STMicroelectronic, LPY550AL MEMS motion sensor: dual axis pitch and yaw ¹500°/s analog output gyroscope, datasheet ID15808, 2009 7. Knigbright, KTIR0711S - SUBMINIATURE, HIGH SENSITIVITY PHOTOINTERRUPTER, datasheet

8. National Instruments, NI 6251 Device Specifications, 2015 9. Lyons G.R., Understanding digital signal processing, third edition, Pearson Education, Inc.,2011 10. Rabiner L.R., Gold B., Theory and Application of Digital Signal Processing, Prentice Hall, 1975. 11. Galamian I., Sally T., Principles of violin playing and teaching, Courier Corp., 2013.

# " * Q * 0& % ) W artykule opisano projekt i realizację prototypu miniaturowego urządzenia umieszczanego pod strunami skrzypiec, pomagającego w nauce gry na tym instrumencie podczas pierwszych etapów edukacji muzycznej. Opisywane urządzenie pełni podwójną rolę: wykrywa i sygnalizuje błędne ruchy smyczka oraz pomaga skorygować niewłaściwą intonację. W artykule przedstawiono podstawowe zasady nauki gry na skrzypcach, które były podstawą opracowania konstrukcji urządzenia. Zaprezentowano takşe waşniejsze szczegóły konstrukcyjne układu oraz zaproponowano koncepcję rozwoju prototypu. & X Q " * " 9

! % * % ?

& " % %

",$JD,) % %

%" ) % %

/9 ' ; * " * # @ * * % @ Y " ,&+C % " * Y ,&+. % R9 0 E U Y "F * F ; ' ; " " 0 * # @ * * % Q F " 0 "F " " * " " 0 * F %

/9 ' ; 0 * V"* Y% +DDO Y% +DDDX ' U " * / " B V"* ,&&&X% / E U Y "F * F ; '; #@% 0 Q F Y P % R9 Q0 Y Q Q Q 9 F %

1 % % " )*" % " /9 B U "% @ 0 * * 6U ( " R*F Q * "% 7 0 * % R9 0 ' I " * # B 0 * %

87


NR 3/2015

88

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


= B @ GCCD VQMUOlVME B' MV D Q<MFVU

Informacje dla Autorów " ; . ! D C / + . Ml 8 MFVv ' % J @ % ; + † % 8_ . @ * % @ 8_ % @ 8 J A 8_ % 8_ @ # @ * % @ . % @ . 8 . % 8 \@ @ . A#]' m J # + % @ % % . A % @ % . _ 8 J + . @ % '

Wskazówki dla Autorów & ' *: , # ) # & # *

= . % @ 8 O Pomiary Automatyka Robotyka % % † #% 8_ & $ ; \ % 8_ TF J ] 8# % .

; # = <= J O A 8 \ 8 % @

% ]

; \ @8# V–F;MFF J ] 8# % .

; \–;T ] 8# % 8# . .

; # † ; 8# % \ @ 8' . ]

; % % % 8# % 8# .

; @ 8# % 8# .

; 8 <. A < 8# 8 @ % & ' % ' '8%. @ ' f ' vFF % ' VFFF % % . 8_ . A '

= % † @8# † J _ 8 8 F E . % % † @8# V . \QF FFF J % 8 @ vFFF M 8 J ] 8 ' T + . ' / % % J % 8_ # @8# † . 8 % # ' Nie drukujemy komunikatów! m _ @ † _ @ . A = J \ 8# ] @8# –FF;U–F J & . A ' B 8 . @ % J J 8# 8 8 . ' % @ 8_ % 8_ * _ % † '

' # 9 # * & ' * * ): ' # ) … ' ~ * & # , ' & ,… # ( & ' ') & !# * # * *' = % _ _ % † † ' = J % @ 8 _ % % . % . ' " J † % 8 8 8 8# @ _ † @ = % _ @ † % . % # … J ' 6 ~ & ' * (

' ( ' #

J . 8 8# ' % J8 % 8 8 ' 8_ 8 + _† 8_ % ; = J A 8# @ . A ' m % % 8 % % . % B J 8 & . % 8# ' / % % + % @ J % B 8_'

Kwartalnik naukowotechniczny Pomiary Automatyka Robotyka jest indeksowany w bazach BAZTECH, Google Scholar oraz INDEX COPERNICUS VU 6 ,&+._ -$ ,OX Y w bazie naukowych 9 Y " ARIANTA. Punktacja MNiSW 9 J V % +,,OX% Q Q R I " 9 9 w kwartalniku naukowotechnicznym Pomiary Automatyka Robotyka.

Tl


GD` B = m = =Y? B˜/

6~ ' ': * ~ * & , & ' ' *: , % & & # *

B 8 O . Pomiary Automatyka Robotyka + 8_ % # D C / + . _ _ # . = J . = <= J J % % % % 8# 8_ . $ 1. *% ' ' # Â wymieniowego Autora & ' & # * ; 8 % % J ' a. %b 8' % = J % @ 8 J@ J

% % @ 8 @ @ .J 8 ' 2. *% ' % & # * ' # , ( Â… # ( ) &) jej powstanie ; 8 $ ; % + @ 8_ % %

. # @ 8 %J @ 8 @ J < # 8_ % % % % @ 8

; % + #% 8 % % a. .b ' #% 8 8 J 8 @ _ % 8 %J 8 8 % # % % @ J . % % @ 8 —

lF

P

O

M

I

A

B 8 8 8 %

% _ #% _ _ + _ % % . @ 8 '

3. *% ( ) , ! =Â… # ( , # : & ' & # * ; % % A % @ 8 % 8 O@ @ % . 8 % & 8 Â… J J % #+ ' aA b ; 8 & 8 @ . 8 8 8 * % @ 8 & 8 @ % # A @ *'

$ & ' &()& % @ 8 J + & 8_ 8 & 8 @ @ 8 % & + % 8 ; + † . † ' " % < % _+ '

‚ &) przeniesienie praw *: # , ( ' ' :' ' * }† " _ % 8# % @ 8 #% 8 % 8_ % #' Y 8 % % % % 8 ' / % % . 8

. _ '

Redakcja kwartalnika Pomiary Automatyka Robotyka ) %

$ J % @ O = B @ % % J % _ # % m G %'$

Wojciech Lisowski, Piotr Kohut, A Low-Cost Vision System in Determination of a Robot End-Effector’s Positions, „Pomiary Automatyka Robotyka�, ISSN 1427-9126, R. 21, Nr 4/2017, 5–13, DOI: 10.14313/PAR_226/5.

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


czasopisma

pomiary

www sprawdzian

miara

POLSPAR

eksperyment

automatyka PIAP

seminarium

kalendarium

szkolenie

kwartalnik

federacja

nauka

publikacje

automatyka

stowarzyszenie

HORIZON 2020 _+ innowacje organizacja projekt konkurs

konferencje

relacja

POLSPAR

POLSA

publikacje

AutoCAD streszczenie

agencja kosmiczna

dr h.c.

innowacje

IFAC

ZPSA

% Â…

profesura

recenzje

relacja

szkolenie

doktorat

robotyka seminarium

sterowanie

Q

esa

szkolenie


92

P

O

M

I

A

R

Y

A

U

T

O

M

A

T

Y

K

A

R

O

B

O

T

Y

K

A

N R 4 /201 7


B:=DG"= G C? /=B"šC" DG=

Komitet Automatyki i Robotyki PAN 8 & & & & * & ' & ' & ( 7 ( C; > F % % % " ' > ' ' 7 - % % G % % - &+ " ( /H %' " % % & & 8 & &

PAN – misja i krótka historia Polska Akademia Nauk 8 % * _ 8_ _ 8_ _ +_ 8 % 8 . 8 % % 8_ # 8 8 @ . 8' = 8 8 % 8 % † J 8 % _ @ + 8 + % ' Y vF MFVF ' 8 = D \m 'Y' MFVU ' % ' VTEl]' m 8 8 = D % % G ! . D 8 Vl–V ' B 8 % * @ % _ 8_ 8 = Y 8# ? D . / . ' C 8 8 † % % † @ 8 . % % 8 8 . ' J + % † A @ * J % @ J 8 + 8 % * _ # . _ . 8 8 _ % 8 _ 8_ O _' = D %

_ =D vF % … Vl–V ' \m 'Y' Vl–V ' D –U % ' vlV]' _ @ % 8_ 8 VlEF ' % _ _ 8# _ % 8_ _ .J _ % # _ _ 8_ _ _ J ' / VllF ' = D 8 _ 8 8_ # % J % 8_ 8 _ J ' = D # _' ". C = & 8 8 % #† 8 $ ; / G D g C%

; / GG D . B

; / GGG D ^ D "

; / Gq D ?

; / q D '

8_ ! 8 = D J _ 8 _ % 8_ J+ % ' G @ _ % % .J ; A J @ J 8 .J ' =D J 8_ % + † @ .

% J @ J + + % 8 . 8 . % % _ @ @ 8 ' % . % _ # J % _ . + @ . " % ' Komitet Automatyki i Robotyki PAN / J MV J _ / Gq D ? Komitet Automatyki i Robotyki Polskiej Akademii Nauk' . _ 8 % % % % O@ $ ;

; % 8 J ; 8 ; @ * % 8 ; J % 8 8 ; 8 . 8 ; . % J J ; _ * J ; % J

; 8 % 8 * @ J ' ! = B @ 8 8 # J + % . % % 8 J@ % 8_ % # _ @ _ ' _ % . % % $ ; D C / + . B 8 _ ! 8# ' C % ? J

; 8 8_ % \D D ] @ *

8 % 8 . % \D * B 8 ]' ; % 8_ . %# @ _ ! 8 8 G . 8 C% 8 8 !GCVU = 8 @ % J . ' #) # Komitetu Automatyki i Robotyki PAN @ ! = B @ QM J J J _ @ % 8_ + % J =D % O@ . J % . 8 . % % ' ! 8 _ _ % 8_ % < @ % % +_ _ . . 8 ' . 8_ % _ % _ % ' _ ! = B @ =D 8 MFV–;MFVT 8 % &' @' +' J & ! @ ' %' =D \Y " .J ]' ` 8# #% % _ . % _$ % &' @' +' ! & ! \ * ] % &' @' +' = 8 ' %' =D \ >J ]' C % % ; % &' @' +' / \Y " .J ]' / #@ † 8 $ ; C 8 C J = ; % _ % &' \ ^ _ ]

; C 8 ! ; % _ % &' \ >J ]

; C 8 C J / % . m 8 ; % _ % &' D OC \ / ]

; C 8 B @ ; % _ % &' ! & ? * \ / ]

; C 8 C J G . ; % _ % &' ! \ B ]

; C 8 ? C ; % _ % &' ! \ ^ _ ]'

lv


B:=DG"= G C? /=B"šC" DG=

' ) ~€ & & ' # @ _

% # * . 8 ' ' International Federation of Automatic Control European Control Association Institute of Electrical and Electronics Engineers' m@ 8_ J8 %J % # 8 + 8_ _ . . 8 . ' ! % 8 8 Monografie Komitetu Automatyki i Robotyki PAN' m MV _ 8 % . 8 ' / @ . & 8 % % + Springer Verlag' ! 8 % % % #† # 8 8 ; Archives of Control Sciences, ACS \ ; % &' = 8 ^ ] J MFVE ' 8 8 @ B \G`$ F UF–]' % 8 8 J + International Journal of Applied Mathematics and Computer Science, AMCS \ + 8 % &' J & ! @ ] \G`$ V QMF \MFVE] –G`$ V –lU \MFVE]]' ! % % % 8 # @ . % @ A % & 8 ' D 8 & 8 ; Krajowa Konferencja Automatyki, KKA ; . 8 Vl–T ' ! & 8 8 .J % # \ & MFVU '] & % 8 J . % O@ % 8 J @ ' / # 8 !!= pGp 8 8 ! & 8 !!= MFVU \ = B @ D v<MFVE ' Tl]' / J & 8 %J . % @ . % 8 . % + † ' ' International Conference on Methods and Models in Automation and Robotics, MMAR, International Science and Technology Conference on Diagnostics of Processes and Systems, DPS + % 8 IFAC Fault Detection, Supervision and Safety for Technical Processes, SAFEPROCESS Intelligent Autonomous Vehicles, AIV'

* " * T Fault Diagnosis. Models, % & ' && ( & V,&&O % * 06 *X% S " " F 9 T # ; Q "% % " * " R ;8IU # C% * " 8 " * % / " * 9 * T * I I " R # % * " 9 % R +DD$ % " E " / " 8 9 /I " ,&&$Z,&+C 9 Q Q * " ,&+. % * Q "% R /I ,&&$Z,&+C 9 Q " E " 9 @ ,&+. % Q " E " / " U 7 " % R ,&+, % " E " % @ F " ,&+,Z,&+. 7 Q * 6U I @ % M F Q V+DD+ %X " " " * International Journal of Applied Mathematics and Computer Science (AMCS) F ,&&- % Y ] T T ^ V,&+. % Z UA_ + O,& UAC_ + CD-X% R ,&&$ % Y " ( 9 * @ I * >F % ' " " "% % " Y * V B "9 X " * F F VU;;;X " @ .%O% Fault Detection, Supervision and Safety for Technical Processes – SAFEPROCESS " 7 " VUA/ X% R ,&+$ % * " R*F " European Control Association% M * " Q " +&% " " UA/ Fault Detection, Supervision and Safety for Technical Processes – SAFEPROCESS, V,DZ$+ ,&+J % ' X% M Q " E " Q * ; ' F Advanced Control and Diagnosis, ACD% S 7 " Q " # / E / A 8 % S " " % *F FP # *F "% M " U "F U 7 " ' U 7 " ; / " % Posiada trzy ministerialne nagrody naukowe oraz " E Y E R R E Y * B E " ; I %

Uniwersytet Zielonogórski; Instytut Sterowania i Systemów Informatycznych Q E " / " 8 9 PAN w kadencji 2015–2018 Studia w zakresie automatyki i telemechaniki +D-C % E % Stopnie naukowe doktora i doktora habilitowa * " " +DJ& % +DJ. % " 9 % @ 7 +DD$ % U S " /I ' ,&&- % 9 /I% R +D-C % # *F " V *F X% 8 " 9 7 " % Prowadzi badania w obszarze diagnostyki tech " " * " " T " % M "% % F " " * T Esty ! " # " V+DD+ % 'IX QY $ # # ! !" sowania V+DDO % / " RT ' X% Y " * T 9 * F % B " * V,&&, % 'I@X F F " F "% 8

Redakcja kwartalnika Pomiary Automatyka Robotyka

lQ

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

O

B

O

T

Y

K

A

N R 4 /201 7


g= G G?= = ƒ =/=DC D=Y! /š

Metody aproksymacji i analizy systemów, *F " * " F * * % % & 4 & "% - 8 & . & % ' 1 " ? % " & & Metody aproksymacji i analizy systemów, ( & " #! (&+ # ! ! ( + # ' & & % ! % " " %' % % % %

_ % % % #% @ 8 . _. # % ' Metody aproksymacji i analizy " ! ( & " #! (&+ # ! ! ( + #' D % _. # # VM % . % #† % A A8 8 % D C/ & 8 # & 8 A % G _+ ' / # † % @ . % . . % 8 % ' Projektowanie ! " ! ! ( + # ! # ! ' 8 A J D . D % % 8 m OMFVv<Fl<m< C?U<FvlEF' / _. # $ V' Y _ . @ % 8 % J . # ' M' " @ % 8 + 8 % 8 J . # ' v' " % % # % 8

J . # % 8 % % 8 & 8 . Ž 8 8 8 ' Q' % % _ 8# % 8 % % 8 8 _ @ _' –' # & 8 8 8 . . # % 8 . _ @ + †'

E' % .J 8 A J . #

% % @ 8 8 A 8 . J :' U' C % 8# %J… @ _ % + 8_ % ' T' " % 8# › @ % 8 @ 8_ . . %J…

8 . ' % J % %

J . # 8 J + % @ O 8 ' _ 8 J %J # _ %J % A _ " CC= % 8 J aG . " # ; C ? œ ? b a " # ; ? œ ? b' @ % 8 J 8 @ . % % @ * + 8_ % % _ 8# # 8 + _ @ % . % # . _ 8# # %# 8 _ @ ' " # 8_ + † # @ % _ % #+ J MFFF;V– FFF D . _ DO D VFlFOM ; a/ 8 # † M$ / . _ 8 b' _ _ 8 @ * 8 % # @ %

M 9 " ' ; / " U 7 " ; / " >F 0? "% E V,&&. %X * ,&+& % 9 Q Odtwarzanie stanu systemów dyna " " " " !" F " " 9 7% ' B % * * F Q * " " U / " " F U/ ]B U ,&++^ Q Q 9 " F " 9 % ,J ,&+- % 9 * " 9 8 ' ; / " U 7 " U Y S " />? E % R9 " " " * Q " " " " " Q %

% ' @ # # 8 . . % % _' C 8 % _ 8 8 ' @ @ % 8 8_ #% _ @ @ 8_ '

B * E Pomiary Automatyka Robotyka

l–


1930–2017


+ ! ' I ! ' G & ' " G " E

*K (

ñʁɁnjƬʊɁʁ Ŏƞ˘ǔʊȦŘ˹ ÀʁˁǷŘǚʊǘǔ Ŏ ǷȦDŽŽɁǘǔȧ ̉ŘǚƬȧ ɡʁ˘˿ǖDŽǚǔʋȧ˿ ˹ǔŘƞɁȧɁʋƌƙ ̉Ƭ ʹʹ ɡŘ̇ƞ˘ǔƬʁȭǔǘŘ ʹ̋ɍʕ ʁƖ ˘ȧŘʁȦ ˹ ˹ǔƬǘˁ ƶʕ ǚŘǜ ˹˿Žǔǜȭ˿ ǔȭ̉˿ȭǔƬʁ ǔ ȭŘˁǘɁ˹ǔƬƋƙ ˹ʊɡɂȦǜ˹ɂʁƋŘ ˘ƬǷŘʁŘ ȭŘ ĶǔƬ̉˿ Ŏ˿ǷȧˁȭǜɁ˹ʊǘǔƬǖ ŎŘȧǘˁ °ʁɂǚƬ˹ʊǘǔƬǷɁ ˹ ĶŘʁʊ˘Ř˹ǔƬƙ ȭŘǖ˹ǔDŽǘʊ˘˿ ɡɁǚʊǘǔ ˘ƬǷŘʁȧǔʊǜʁ˘ ñʁɁnjƖ ƞʁ ǒŘŽƖ ǔȭ̉Ɩ Ŏƞ˘ǔʊȦŘ˹ ÀʁˁǷŘǚʊǘǔƖ

!" #$ $" % &' $ $# # # (

) ! * $

! ! + ,$

.. # ' / # ' 0 *1

'! ' $ 2

,$ ' ' 3 ! + , 4 $ ! ! 5 $ 36 # $7 ! $7

+ $' '# #" / # # $ 8 + ! '

$ ' $7 $ 9 $'# '! + $7 #" 2

3

: $# ; ' < & '$7 $7 !3 ) $7 + $' '# # '

$7 $ '! = $7 $ '! + $7 # > ! ! $ $ 2?

@ $ / 5 2

8 &' ' # $7 9 & A 3 '! . ' $ $7 5 & $ . ' $7 + $' '# #8 ;' ' ' ! $7 $ '! = $7 $ '!"

' ! $7 + $' '# # 5 & $

' $7 8 + $7 #"

$ # $7B ' 5 2*0 218 0 6 2*

$ $ # C D ' = & + ' 3 + $' '# '$7 ) $7 + $' '# #

# ' $ ' = ' , "

' ' 5 210 ?28 ?*

'

$7 + $' '# # & $ ' & ! '$7 & '$7" ' ! C ' = ' ,

;' # '$7 $ $7 ' '$7 + $7 $ # ' ' !

$ # ! ' ' $'C # E

' 5 ?20 ( 8

$ 5 ( 0 8 (*

"

3 '

$7 + $' '# # ' , 7 & =' ' C $7 $ '$7

'! * '$

+ $ &' ' C '$ # 5 0 (8" C '$ # 5 (0 *8 $7 (20 1 &' ! $ ' $7 + $' '# # + $7

#" 6 1

! '$7 1

'

3 $

+ $7 #

C ' F

' $7 + $' '# # 5 $# &' '# & # $' '! $ # '8 F $# $7 1 0 1(

0 $# " / 3 $7

'& ' G ' $7 + $' '# #

) 1(

,$

&' $ ! G ' ' : + $7 # + C $# ' . ' $# + ' 3 + $' '# '$7 ) '$ '$7 5 0 8

'$ ' '!

' $ $# H , + $' '# '$7" 3 '! 5 0 (8 $7

(?0 &' ! $# /$ $#

, $' '# '$7 5 & $ ! ! $7 8 ;'

! ! $ ' ! '$7 ' $7 ! $7 # & $# /$ ' ! $ 3

$7 $ '$7 $7 1 0 &' $ ! G ' E #

+ !' . ' I ! ' + ! 3

'$7

'$7 ;'

3 !" ?

$ !

$'# ! $ 9 $7 $

+ ! ' I ! ' G & ' " 3 '

!

! $ (

+ ! 2

# C ! 0 C

# $7 G ' E # ' ;'

3 $ ' '! ! 0 '$7 3$7 ! $7 ! & $ /$ ' '

&' ! * & $# " '! * ' 3 $ ! $7 '$7 ! $# & '$7 ! $7 !3

, $' '# '$7" ! $7 !3 '$7"

& ! '$7 & '$7 ! ! $7 !3 ;' ! & 3 ! 2

$ 3 ! $ $7" ! ! ! J

5 (

8 5 1

8 3 !

! " 5 ?

?

8

! & '! '! !

? $ , $'# '$7 -

(


WSPOMNIENIA

% % 8 % @ vF % % _ * % 8 ' @ %J # % J ' %

8_ . % * 8 . / + " . 8 " ! J . / ' J + . VlUM;VlUQ' " 8 # + 8 . 8_ VlUQ ' " . @ C G + J J \Vl–v;VllQ] VllF;Vll– % _ : J 8 ! 8 ' D . J ! J % " _ : J D 8 . 8 ? 8'

8 . % #† @ _ a+ @_ . J b ; MU % … . VV'V– # . J + @ 8 ' : % # . # J 8 # @ @ . ' D % . @ J @ # T % MFVU ' / @ + . % B # . + .J '

VlT– ' 8 . ? ? 8 C 8 \ VlTQ '] VllF ' # . C g B :GY ; : * ' VllE ' @ ! 8 = D ; C 8 ! 8 \ VllE '] + . ? g ? \ VlT– ' MFF–;MFVQ % " _ : J . ] ? D . / . \ MFF– ']' + %J + MFFQ ' % ! @ J " . J \ MFVF ' @ % ]' / MFFQ ' % –F % 8 % / 8 % #'

† . % # '

Redakcja kwartalnika Pomiary Automatyka Robotyka

4 / ! 1 #( & ( % ; V % Vl–V ' _ % † : J G \ @ G ] %

' m 8 v / 8 O @ @ / ' @ % & @ +' \%J… 8 % &'] C :#@ ; % &' +' G. ' C / 8 % % % ' B ._ % * 8 . 8 % ' m_@ . VF<T' J + @ @ . . % :G ' / % Vl–V ' 8 %' \% 8 A / % /` % @ / 8 ] % # . . % + #' / # + 8 #

†' 8 . 8 % a

% @ @ . % † _ . † � žb % #% . _† % % % # % / . C G + 8 ' / @ . B % ' D @ ' # + V % … Vl–V ' # % # / _' G / O! 8 . ' m @ % &' G. ; J8 . J & G ' 8# J M % … Vl–V ' @ 8 % &' / . . ' 8 8 % 8

8 +DC&% # ( % B * F 7 '% @ "

/ VlQl;Vl–V # * . " . . / ' @ † $ # % . . ? \+ %J… 8 . Y/ % &' C ' ? . ] . +' / ; 8_ % # J + \ .J C' D ] ? # @ 8 ? # . J ; . +' / ? * J @ 8 . ! 8 . 8 . \ !OQ] _ C G + 8 ' / @ . B ' C # # * @ @ \ J+ ] % a% % % 8b ; + 8_ % 8# J @ . #% . 8 + 8' % # J 8 ' ".

lT

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

% J ' & # % . . + ' # + % 8# † * 8 .J 8' # .J _ % &' ! / † % 8 . \%JÂ… 8 ] . +' . = ' Â&#x; @ # 8 8 : = \/ ]' % 8 . 8#† J 8 . +' ' = J † . 8_ † * \8 % + _ † # % † _ ; '] % @ # Â… J 8 8 .J C = . + % % † * + % † # @ & ž ' = @ % . $ ; # % ž ; = . ' ; = . . @ % @ @ @ 8 % & @ # % $ a= . ; † J  b = % * & % $ a% + = . ; % # † J  b G + % † # @ & ' Â&#x; .J 8 % % . ' +' ' = \ ]' # +_ % _ J J † % A . % 8 ' D + 8#† 8 . % J % . ' D 8 8#† ' > + J 8 + % JO

B

O

T

Y

K

A

N R 4 /201 7


= B @ B' MV D Q<MFVU

8 +DCO% UUU R B >" " ' B@ž _ M B M S S * " E B * B ' N / E

@ † . % ž a % 8 % 'b # %J… 8 + @ % ' J + 8 8#† † @ ' GG J @ @ @ † % 8 † J _ % # % _ GGG ' C% J % 8 8_ / O! \ % % 8 @ % ] 8@ 8 @ + _ % 8 8 # \ @ ]' / Vl–v ' 8 = : : J . @ . @ & 8 % % 8 V % … . + 8 % 8 / O? . ; 8 8 8 $ a _ % b a _ b am @ _ b' D % 8 J J @ . J ' " @ % ' g ? @ % $ ' ! : #@ +' % &' @ ' . / 8 + @ . +' / ? * J % 8 8 % 8 ' + . # % % † # / O? @ 8_ _ 8

J _ † + %J… 8 /' ? * ' D .J / O! % † # # % 8 _ . + @ # + % * J _ % @ 8 @ # 8 ' / C / 8 . / O! @ 8 @ % . % # % #

_ * % 8 O % ' ' ' % _ . % @ UE ' " . % / ' O! 8 # 8 # . # ._ % 8 † \% _ % ] J # 8 8 8 ' . 8 8 @ ' g ? @ %J J % @ ' '$ % &' ' / ? * ' ] ' . / % &' % &' @ . +' = C %J… 8 + ; ' g ' ' ! $ ; ! % ; % &'

; ! _ J 8 ; ' g ? @ ' ; ! . ; ' . /

/ ! _ J 8

" m @ J _ J \ ' ' / ? * ]' / 8 8 % .J % _ @ % % _ % 8 $ _ % \ % % 8 ; % &' ' ] _ \ %

% 8 ; ' ' / ] m @ _ \ % % 8 ; ' /' ? * ]' D % .J % 8 @ % GG J % / O? . . / O! 8 . / + J 8_ % 8_ % + . # . + ' 8 J TF J ' % _ ' Vl–v<–Q # J UM J % . 8_ . ' " / O! 8 . _ % # + ' ' $ m B J… ! & ! @ * = ! ! # / > * C & C . / ' V % … Vl–v @ 8 + GGG / ?' A % 8 † am @ b' D 8 8 % 8 … # J + ' ' / ?$ . ! J % 8 … # %J # . J 8 8 + + # J % ? ' % + 8_ 8 + . ! ! @ * \ . % _ % ] + % 8# ' ' % _ J8 #% 8_ \ ]$ a # .J 8 8 'b ! .J J @ # 8 8 8 _ % 8 † # & 8 @ '

8 +DCO% I 7 " z okazji 1 Maja; od lewej: "* Y% / 7% M B % ' @

@ 7 *" " 7 +DC+Z+DC. ,&+- % A * 7 " /

99


B" šC> Q'F ƒ GD‡šDG B Q'F

Proces rekrutacyjny w nowej perspektywie 3 & " %' ' & % %'( (% (%( & % %' ! %' ?% % & /% - (%( %'7 U$ " & & /% & +! H " ' " /% & % " ! / % "& 7 ' % % 3 & " %' % 7 + - ' ' % ' * +' & % " ! % - & & " ' % & /% % ' & & % ' & " ! %' ( % & ' " & % ' % + & % +

\ & ] % . % 8 8_ 8 % G B 8_ # %J % 8_ @_ Â… # % & _ + . # # % 8 ' ? _+ 8 @ + . . % # . . ' ? % _ % 8 % _ 8 . J 8 # % 8 A % 8_ ' m 8 + _+ . % % _ 8 . ._ % † % % 8 . % ' / / @ % % 8 J 8 @# _ 8 ' C 8 @_ Q'F 8 J . % 8 \ 8 % ] J8 @ + A % 8 @ 8 % % @ J ' " . + 8 % 8_ % 8 8_ # % + % 8 Q'F . ; % . . J _ * Q'F 8 8 % A % # 8 % A 8 8 % ' " + 8 8 % @ † + 8 + % \ & ] . # 8_ J + @ _ 8_ A ' Q'F . . % . + 8 @ 8 8 % 8  % @ % wania kandydatów do pracy.

Wiele osób szuka odpowiedzi na pytania, @ _% _ 8_ % ' @ . _ % 8 . _ % 8 ž ! % 8 8 . % 8 # a% b @ 8@ 8 8_ . ' JÂ… 8 % 8 # . G % % 8 : G 8 + 8_ % & '% ' @ % 8 8 # 8 @ + J _ % † 8 % & ' / 8 # % _ % † % # † ' a" % 8 A ¡ D % 8 . 8 . . 8 % 8 . . ; † % J % % 8_b J : ' " & 8 Q'F 8 @ % _ % 8 8_ . 8 A @ 8 8 % . 8 8 ' D # 8 -

] 7 " " Â&#x; I * " " * " * * " * Z " " H F " " Q%^ . . % #@ & 8 8_ . % % 8 % 8_ ' G . 8 & @ J 8 @ A 8_ % A _

VFF

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

' ' & € 5 ^.Š‹ m + @ † % a ! b 8_ .

O

B

O

T

Y

K

A

N R 4 /201 7


= B @ GCCD VQMUOlVME B' MV D Q<MFVU

8 8_ % ' ? @ † %J 8_ # 8 . % 8 ' " 8 8_ # % _ % _ gB † % 8# @ 8 † + @ A ' =@ A † J 8 % % J@ 8 †' 8 # 8 % 8 8_ # m . 8 gB ; J+ . ž _ # . gBž + % J+ gB \ .' ] % A † 8_ # . 8 † # % % % @ † _ 8_ % . . 8 % #@ 8 % 8 8 ' @ † + 8 + J J @ @ . @ † _ 8 † . _ % % _ Q'F' / † + % .J $ − m . % ; A 8 % 8 8 .

− m . % ; % 8 _ & 8 . %J _ % # % 8 _

− m . ? ; % 8 @ desktopowe w kluczowych obszarach, 8 # 8 @ . ; + J8 % @ A J

− m . Z % ; A 8 J@ ._ . † . 8 % 8_ % 8 % 8 % 8 8 ' _ # 8 % % % % % \= UOT<MFVU ' ME;vF]' " C @ % 8 % % 8_ † 8 @ i elastyczne reagowanie na potrzeby klien J ' " % a % 8_b %J . 8 % _ % 8 % 8 + % _ ' " . 8 % _ _ . 8 % _

. _ . 8 @ . + wania pracowników. = @ 8 + 8 ' ? % # † 8 @ Q'F % 8 ' =@ @ † %J # ppG % @ 8 J ' = 8_ . # J8 . 8 J _. # 8 # + 8

8# † @ % _ % ' % J ppG @ % J + † % . ; . # _ # % # _' / @ 8_ 8 J % † # 8 % 8 _ @# 8 % 8

% ; 8 + ' 8 8_ # 8 _' † # % % + 8' B 8 < & 8 8 8 % 8 8 @ 8 ' % % # A 8# J ' A 8 8 % 8_ J+ % J J 8_ .J & 8 8 J % 8_ 8 . % % 8 % ' B 8 % # 8 # % . % % 8 @ 8 8 % + %' % % 8 @ ' D % 8_ 8 % 8 8 @

@ 8 % 8 8 . ' C . . … J & 8 % 8 % ' ! 8 . + 8 @ 8_ ' # % % % 8 # J@ % . . % . 8 % % † % 8 @ A 8 . + ž

" ] Dyrektor Operacyjny w firmie Coders ;K F Q Q% >? ' V 9 9 "X% B ,&0 F Q 9 9 " +& Q 9 " ?8% Y * biznesu oraz kreowania innowacyjnej * " Q * Q% ' " QY * %

] F9 H " " Q " Y Q Q H Z Q 9 F Q " Y Q " " Q% ' P " * F Q F9 H 9 Y Q * * ž Q F Q " 9 Y Q " 9 " Q Q%^

VFV


B" šC> Q'F ƒ GD‡šDG B Q'F

% † @ % % † @ # ' ¢ A 8 % J . _ # @ ' ! 8 _ 8_ % % 8# Grywalizacja' ! 8 8 _ . 8 . % % % 8 . % 8_ @ + % 8 % %' % % 8 @ 8 . % % 8 8' + . 8 8 & + @ _ . ; @ # . ' : 8 8 8 8 + 8 J 8@ +szych lat.

% % J . % % J % 8 _ * 8 ' @ % 8_ 8 # J J + % _. † 8 . 8 @ 8_ A # # Q'F' 8 % + 8 + # 8' = % % ' m % % J # % @ 8 ' _ _ † A _ J @# _ % J@ 8_ + @# † %J J % @# % _ . #'

' G 8 % 8 % 8 † # & @ 8 . % % @ % @ . 8 . ' @# 8 . 8 % † .J % _ . . @# _ % † . 8#' ? % 8 + …† 8 _ @# † 8_ 8 @ '

( ' & ' € 8 ' # *: & 9 ' ) ^.Š " 8 . % % + 8 8 + @ % ' m . J @ J+ % 8 % J @ J # † % % 8 8 8 J 8 + # % . †' " 8 † 8# J @ † % # # # 8 % % ' † J 8 + % † % & % %J % ' = 8 + 8 + 8 @ + 8 8 † † 8# † % . ' / 8_ J+ # @ % 8 '

]/ 7 9 " [[U 9 Q F Q ;K 9 7 Q * " H F 7 Q H H V *% learn, unlearn ]'b 1 * ' '  ) * ‹ 2 8

/ . 8 8 8 % . % % J 8 @ 8_ 8 . + % J _ † + @ 8 8 % . % % 8 A + & 8 _ # % 8 %' % J % 8 A 8 8' D 8 + _ + . @ 8 @ . + % _' % * 8 @ # @ _ . + % 8 8 # ' # 8 8 q % % % 8 + ' = @ # % % % 8 % _. 8_ @_ A '

aC% J@ 8 # † % _ + _ # _ † * ; % _ # @ 8 % J _ # + _ _' / … % 8 # % . J 8_ % # % J@ 8 % † @ % % 8 + 8_ 8 8 % # 8 . . % — % _ J _ # @# % 8 + _ # @# 8 8_ % _'b m g' m Z ' ! % % 8 8#' MFVM ' QU % % * 8 % J ' − + % _ ' ! + † % + % 8 % _ 8 − _ . + % ' ? @ † J † † # − D + † % J @ # @ % 8_ # @ % % _ # † J . 8 Q'F @ . †' m 8 Q'F J % @ † % J 8 8 % 8 % J 8 % 8 † % @ ' C & # Q'F † 8 % J@ † % J ' J+ % J@ 8 † . # 8_

* ~ ' ‹ C #. % Crowdsourcing ; % % + A MFFE ' % f g Ž . a/ b' / J 8# %

8 % % . % * % % J A % % % % 8 J A 8 . % 8 % & . % \ .' % ] % #dzi Web. / † . % . + . % % % #@ J+ J @ . + J +

VFM

P

O

M

I

A

R

Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

'% ' * & ' ' :& :‹ B @ # _% _ J % 8 8 . 8_ 8 8 %' J % _. % 8 . ' = # % _ 8 % 8 . . a% *b ' m poszukiwany kandydat to taki, który poza % 8 8_ @ # 8 † % 8_ &# &

J % 8_ @# # 8 ' # J8 @ A _ @ † . @ 8 ' ^ J % & 8 † + . 8

@ † # 8 % ' a= & @ ppG @# _ J 8_ € @ % A_ % . † J % A_ # † † \ .'

]b' = Z ? ÂŁ ? & G/ VllU'

' P

O

B

O

T

Y

K

A

N R 4 /201 7


= B @ GCCD VQMUOlVME B' MV D Q<MFVU

Kalendarium wybranych imprez Nazwa konferencji

Data konferencji ? . *

8

XXII Konferencja Naukowo-Techniczna = 8 ; D % Automation 2018

21–23 / 03 / 2018 10 / 10 / 2017

/

pGGG G C A Conference Coordinate . ? Âœ ? ¦VT

11–13 / 04 / 2018 15 / 01 / 2018

O

3rd IFAC Conference on = Z % O Integral-Derivative Control PID 2018

9–11 / 05 / 2018 20 / 12 / 2017

Gandawa Belgia

www: %$<< '% VT' . '@

16th G`= <G C % G & @ in Manufacturing INCOM 2018

11–13 / 06 / 2018 31 / 11 / 2017

Bergamo /

www: %$<< ' MFVT' . mail: X MFVT' .

18th G`= <G C % C G A SYSID 2018

9–11 / 07 / 2018 8 / 12 / 2017

Sztokholm Szwecja

www: ' ' ' < MFVT mail: ' ÂœZ X ' '

15th International Conference G & = B @ ICINCO 2018

29–31 / 07 / 2018 13 / 03 / 2018

Porto Portugalia

www: %$<< ' ' . mail: ' X ' .

10th G`= C % ` m C % Z C & & ? SAFEPROCESS 2018

29–31 / 08 / 2018 6 / 11 / 2017

/

www: %$<< & % VT' ' . '% mail: & % VTX ' . '%

XXII IMEKO World . MFVT

3–7 / 09 / 2018 31 / 01 / 2018

& Wielka Brytania

www: %$<< ' MFVT' .<

V–' ! 8 ! & 8 B @

15–19 /10 /2018 15 / 04 / 2018

Polanica-Zdrój

www: %$<< Vv'% ' '% < mail: X% ' '%

VU G`= / % =%% & % = MFVT

15–19 /10 /2018 15 / 04 / 2018

@ . B 8

10th G`= C % G . = q G=q MFVl

3–5 / 06 / 2019 19 / 11/ 2018

: *

www: %$<< ' .'. '% < ZMFVl mail: ZMFVlX .'. '%

30 / 06 – 4 / 07 / 2019 15 / 01 / 2019

Kraków

www: %$<< ª MFVl' mail: . X ª MFVl'

12–17 / 07 /2020

Berlin Niemcy

www: %$<< ' & MFMF' .

15th IFToMM World . MFVl 21 G`= .

Informacje dodatkowe

www: %$<< '% %'% < mail: & 8 X% %'%

www: %$<< %'% < mail: %X %'%

www: %$<< MFVT' ' <

103


=D !CG«Â‡!G

Robotyzacja procesów produkcyjnych 8 ( Robotyzacja Procesów produkcyjnych ' & !( %'( *4 4F^8 ' %& > > & ( % % ' ' F % % ' ) '% % 8 %

@ pakowania i paletyzacji, przypisaniu szcze.J * % % % J + @ @ ; 8 . % + A. 8 8 ' / " ! " ! ( ! + ! & ! ( ; % _ 8 # 8 @ ' ? J + + 8 % @J @ 8 . % + ' / " ! #( " – tu % # @ . J @ J@ \% @ J@ ] % @ . % . ' / " ! " ; + % @ † . m`= \m . ` = @ ] + % _ @ † % @ . + ' $ ! 72 " ! " ! # " " ; . # % & 8 @ % . + _ @ J @ J ' †

% 8_ % %J _ * _ A '

Podobnie jak w przypadku tomu pierwszego (kwartalnik Pomiary Automatyka Robotyka, D v<MFVU ' VFQ] % _+ 8 8 _ % % 8_ 8_ _ . _ @ 8_ % J % 8 ' / % _ 8 8 _ _ 8 … J & 8 @ ' † \ % . ] 8 # % 8_ % J@ % #% @ 8 8_ . @ 8 % J % ' ? _+ % J ' " . # † + % _† % . + 8_ + % J % 8_ 8 ' + ! ! ; 8 + @ @ † A ' B % # % @ J J+ A % G = Z 8 % #†' J… 8 A 8# @ @ *' = % 8_ # @ % A 8_ 8 % 8_ % 8_ @ 8 ' 5 " ! " !" – to # J + % + † @ %' # % % # ' ? + & 8 % @ _ & J @ % 8_ # ' 2 # # " " ! " !" ; J @ 8 J # # ' ? % 8_ % @ \% + % # † J ] . % \ ' ' % + 8# % J @ #]' m + 8 % # 8 ' 6" " ! " !" ! !" " & – zrobotyzowane stanowiska spawalnicze, systemy % % @ % ' & ! " ! ( ! ! & " – + 8 % # % 8

104

P

O

M

I

A

R

' E " M Robotyzacja procesów produkcyjnych, ' 'I ,&+- U SI D-J0J$0&+0+DO,.0& % ,D&%

% % + @ J .# † @ 8 ' C .J J . J . 8 % 8_ J8 @ 8 ' / J J 8 % J J8 J % % J J @ % * ' / % + % . J .J % ' @ 8 8 J J @ _ + % 8 & % J + % J ; % . J @ J . J + J % 8 J @ + 8 8 % + 8 '

] * QY 8RSR@Â E/ F F9 przedstawia praktyczne aspekty wykorzystania najnowszych technologii automatyki i robotyki " %^ $" " 3 ! ! skach zrobotyzowanych ; % @ + . # J \ ] A J . @ % * J # % . 8_ @ % * ' 8" " (&0 !" ! 0 3 ; % _ % J # 8 ` 8 B @ G`B Y

•

A

U

T

O

M

A

T

Y

K

A

•

R

B * E

O

B

O

T

Y

K

A

N R 4 /201 7


młodzi z

innowacyjni a

Przemysłowy Instytut Automatyki i Pomiarów PIAP ogłasza

X Ogólnopolski Konkurs na

inżynierskie, magisterskie i doktorskie w dziedzinach Automatyka Robotyka Pomiary Zgłoszenie należy przesłać na adres konkurs@piap.pl do dnia 23 lutego 2018 r. Regulamin konkursu i formularz zgłoszeniowy są dostępne na stronie www.piap.pl Autorzy najlepszych prac otrzymają nagrody pieniężne lub wyróżnienia w kategorii prac doktorskich:

I nagroda 3500 zł

II nagroda 2500 zł

w kategorii prac magisterskich:

I nagroda 3000 zł

II nagroda 2000 zł

w kategorii prac inżynierskich:

I nagroda 2500 zł

II nagroda 1500 zł

Wyniki konkursu zostaną ogłoszone podczas Konferencji AUTOMATION w Warszawie, w dniu 21 marca 2018 r. Patronat Komitet Automatyki i Robotyki Polskiej Akademii Nauk Komitet Metrologii i Aparatury Naukowej Polskiej Akademii Nauk Polska Izba Gospodarcza Zaawansowanych Technologii Polskie Stowarzyszenie Pomiarów Automatyki i Robotyki POLSPAR

Patronat medialny Kwartalnik naukowy Pomiary Automatyka Robotyka Organizator konkursu

www.piap.pl

Informacji udzielają: Małgorzata Kaliczyńska: mkaliczynska@piap.pl, tel. 22 8740 146

Jolanta Górska-Szkaradek: jgorska-szkaradek@par.pl, tel. 22 8740 191 Bożena Kalinowska: bkalinowska@piap.pl, tel. 22 8740 015


49

! " #

59

Zygmunt L. Warsza, Serhii W. Zabolotnii

67

g D _. B & ! ! & " .J

75

B *

83

Porรณwnanie metod estymacji stanu systemรณw dynamicznych

; ' ' * & ~ & ( '#) '

& ' : # ' *

' 9 "6 , ' , ( # ' ) , $ ; # & * 1

" &% # ' ย '* ' # & * * , & ' ' )# , ย & * # ย ' * ย # & * / B * m

4 &


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.