Next Article in Journal
A Generalized Pyramid Matching Kernel for Human Action Recognition in Realistic Videos
Previous Article in Journal
Robust Finger Vein ROI Localization Based on Flexible Segmentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Alignment of the Measurement Scale Mark during Immersion Hydrometer Calibration Using an Image Processing System

1
National Metrology Center (CENAM), km 4.5 Carretera a los Cues, Mpio. El Marques, Queretaro 76241, Mexico
2
Informatics Faculty, Autonomous University of Querétaro, Avenida de las Ciencias s/n, Juriquilla, Queretaro, Qro. C.P. 76230, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2013, 13(11), 14367-14397; https://doi.org/10.3390/s131114367
Submission received: 30 August 2013 / Revised: 12 October 2013 / Accepted: 14 October 2013 / Published: 24 October 2013
(This article belongs to the Section Physical Sensors)

Abstract

: The present work presents an improved method to align the measurement scale mark in an immersion hydrometer calibration system of CENAM, the National Metrology Institute (NMI) of Mexico, The proposed method uses a vision system to align the scale mark of the hydrometer to the surface of the liquid where it is immersed by implementing image processing algorithms. This approach reduces the variability in the apparent mass determination during the hydrostatic weighing in the calibration process, therefore decreasing the relative uncertainty of calibration.

1. Introduction

Hydrometers are widely used instruments in industry to measure the density of liquids. Depending on the application, the hydrometer may change its name, i.e., alcoholmeter to measure the percent of alcohol in breweries [13]; Brix hydrometer [4], to measure the percent of sugar in sugar cane solutions; lactometers, to determine the fat content from milk density [5] and API hydrometers or thermo-hygrometers [6], but in the end, no matter in which units the hydrometer is graduated, it measures the density of a liquid [7]. These instruments are generally manufactured in glass, having two main parts: the body, sometimes with a bulb and a hydrometer stem. The body has a cylindrical shape with a load in the bottom; the hydrometer stem is a thin hollow tube attached to the upper portion of the body. A paper with a graduated scale is fixed inside the hydrometer stem. The hydrometer floats vertically on the liquid where it is immersed by means of the Archimedes' principle; the density of the liquid is the reading of the scale mark at the surface level of the liquid.

Cuckow's method is used for the calibration of hydrometers [8]. It consists in obtaining the mass of the hydrometer both in air and when it is submerged to a desired point of its scale mark, in a liquid of known density (hydrostatic weighing).

One of the difficulties in calibration by Cuckow's method, when the hydrometer is immersed in the liquid of known density, is how to align the desired scale mark of the hydrometer with the liquid surface because of the meniscus formed around the hydrometer stem caused by the surface tension of the liquid. This alignment depends on the skill of the metrologist, giving rise to human errors that have a direct impact in the best estimate and in the uncertainty of the calibration result. Previous work has been done in order to minimize this source of error by means of semi-automated [9] or automated [10,11] systems based on image processing acquisition.

A methodology based on a vision system and image processing algorithm developed at CENAM is proposed to improve both the alignment of the desired scale mark at the same level of the surface liquid, and the resolution of the hydrometer during its calibration. Experimental results show the improvement to the calibration of hydrometers with the vision system alignment method vs. the traditional alignment method, i.e., with the naked eye or with a magnifying glass. Also, key and supplementary international comparisons have been carried out to validate the methodology proposed in this work.

2. Hydrometer Calibration System

The system that has been developed in CENAM for hydrometers calibration, includes a thermostatic bath with an external temperature controller, a glass vessel to contain the reference liquid, a platinum resistance thermometer to measure the temperature of the liquid, an hygro-thermometer, a barometer to obtain the density of air, and a set of mass standards and a weighing instrument (balance) capable to perform hydrostatic weightings, as can be seen on Figure 1.

Usually, hydrometers are calibrated at three or four graduation marks of the scale and for each of them the correction Cρn can be calculated as Cρn = ρxρn, where ρx is the density of the liquid in which the hydrometer would freely float at the scale mark ρn [12]. Hence, the measurand in hydrometers calibration is the correction Cρn [13].

The mathematical model employed in hydrometer calibration (Cuckow's Method) to obtain ρx is:

ρ x = ( ρ L [ 1 + α ( t L t 0 ) ] ρ a 1 [ 1 + α ( t a t 0 ) ] ) · [ m a + π D γ x g m a m L + π D γ L g ] + ρ a 1 [ 1 + α ( t a t 0 ) ] ε d
with:
m a = m p 1 ( 1 ρ a 1 ρ p 1 ) + Δ m 1 ε d ( bal )
m L = m p 2 ( 1 ρ a 2 ρ p 2 ) + Δ m 2 + C g ε d ( bal )
C g = m p 2 g g h Δ h
where:
ρxdensity of the hydrometer at selected scale mark x.
ρLdensity of reference liquid.
ρa1density of air during mass determination of hydrometer in air (ma).
mamass of the hydrometer in air.
mLapparent mass of hydrometer immersed in the liquid up to scale mark x.
gacceleration due to local gravity.
πPi value = 3.14159265.
Ddiameter of the hydrometer stem at the selected scale mark x.
γxsurface tension coefficient of the liquid where hydrometer is used.
γLsurface tension coefficient of reference liquid.
αthermal expansion coefficient of hydrometer (usually glass).
tLtemperature of reference liquid.
t0nominal temperature value of hydrometer's scale.
εderror due to hydrometer's resolution.
mp1mass standard used during mass determination of hydrometer in air.
mp2mass standard used during apparent mass determination of hydrometer immersed in liquid.
ρp1density of mass standard used during mass determination of hydrometer in air.
ρp2density of mass standard used during apparent mass determination of hydrometer immersed in liquid.
ρa2density of air during apparent mass determination of hydrometer in liquid (mL).
Δm1mass difference during weighings in air.
Δm2mass difference during weighings in liquid.
Cggravity correction due to difference in centre of mass.
εd(bal)error due to resolution of the balance.
∂g/∂hvertical gravity gradient.

To obtain the mass both in air and in liquid of the hydrometer, the simple substitution method is used; the mass ma for weightings in air, and apparent mass mL, when the hydrometer is immersed in the liquid, are compared against mass standards using the balance as a comparator. The alignment of the desired point of scale mark at the horizontal level of the reference liquid is a difficult task, because the meniscus formed around the hydrometer stem due to the surface tension of the liquid hides the scale mark. The operator performs manually this alignment using a magnifying lens and reading the scale mark below the surface of the liquid, introducing human errors depending on the operator's skill, sight and experience. The contribution to the uncertainty due to repeatability in the apparent mass determination in the liquid Δm2 is highly significant.

2.1. The Vision System

In order to reduce this human error, the vision system which is shown in Figure 2 was adapted to the actual hydrostatic weighing system consisting of a high resolution (1,300 H × 1,030 V pixels) PULNIX TM-1320-15CL monochromatic CCD camera (Pulnix Imaging Products, Sunnyvale, CA, USA), a lens array, an 8-bits NI-PCI-1428 frame grabber camera link (National Instruments, Austin, TX, USA) and a light source. Also, a glass sinker controlled by a stepper motor was installed to adjust the level of the reference liquid. The level of the liquid will rise (or fall) when the sinker is immersed (or emerged) in the liquid. The motorized-sinker is used for the finest adjustment of the scale mark to the surface of the liquid.

By using the vision system, it is possible to acquire images of the scale mark of the hydrometer at the level of the liquid; the frame grabber converts the images from an analog signal to digital format for future image processing. The camera is located at an angle θ below the horizontal level of the liquid, as can be seen on the scheme presented on Figure 3, so the target mark L can be seen. The mark of the scale below the target mark A is reflected on the surface of the liquid, so there is a virtual image of marks A and A'. The alignment of L at the surface level is accomplished when the distance in pixels between A and L and that between L and A' is the same at the image plane. However, due to the position of the camera, corrections of these two distances should be made [9]. The marks L, A and A' on the hydrometer scale will be presented later, in the alignment using image processing section.

In order to obtain the relation K between the distances from A to L (d1) and form L to A' (d2) a pin-hole camera model approach has been employed as shown in Figure 3. The relation between d1 and d2 is as follows:

d 2 d 1 = K

K is obtained by means of the following equation:

K = 1 ( sin β ) · x 1 2 + y 1 2 x 1 · sin α 1
with:
β = 180 ° α θ
α = arctan ( y 2 x T )
θ = arctan ( y 1 x 1 )
x 1 = x T y 2 y 1 + 1

The known values that can be measured are the horizontal distance from the hydrometer stem to the camera (xT), the vertical distance (y1) between two consecutive marks of the hydrometer (usually the mark to be aligned and the mark below immersed in the liquid), and the vertical distance from the liquid surface to the camera (y2).

2.2. Image Processing Algorithm

The step by step procedure of the image processing algorithm developed to perform the alignment of the hydrometer's calibration scale mark at the surface level of the reference liquid is shown in Figure 4.

Once the image I1(x,y) is obtained, a pre-processing procedure is performed by normalizing the gray levels from integer values of 0–255 to double floating point values in the range of 0–1, and inverting the normalized image (negative image) by applying the following equation:

I 2 ( x , y ) = 1 I 1 ( x , y )

From I2(x,y) the region of interest (ROI), which includes the calibration mark, the mark below the reference mark and its reflection on the surface of the liquid, is selected. Afterwards, a procedure to detect the three marks is applied to a column vector of the ROI, which includes a noise reduction subroutine, where information of pixel position against gray level is relevant. A plot of the data obtained after this procedure shows that each scale mark can be approximate to a second order equation by ordinary least square fitting. The pixel position at maximum gray level for each mark is obtained: p1 for the pixel position of the mark below the calibration mark, p2 for the pixel position of the calibration mark, and p3 for the virtual image (the reflection) of the mark below the reference mark. Then, the distance d1 and d2 are calculated using the values p1, p2 and p3 as follows:

d 1 = | p 1 p 2 |
d 2 = | p 3 p 2 |
with d1 and d2 the K relation is calculated. If the calculated K value is not equal to the expected K value, the motorized sinker is used to adjust the liquid level so the value of d2 changes until the K value is obtained, due to the fact that d1 remains equal.

3. Experimental Section

The majority of primary metrology laboratories around the world use the Cuckow method to calibrate the immersion hydrometer, due to the fact that its main advantage is the use of only a standard liquid of known density to calibrate the equipment for any measurement interval.

The procedure described in previous section proposed that an alignment mark in the hydrometer scale can be calibrated utilizing digital image processing, which considers that the criterion values Kcalc and Kmeas are equal within a confidence interval.

In case that the alignment doesn't occur, it is necessary to immerse or emerge the hydrometer shaft as required in the reference liquid. This occurs by the use of a “sinker” made of a material which does not react chemically with the reference liquid, because if this occurs its density value could change. To avoid the, the material chosen to fabricate the “sinker” was solid borosilicate. The sinker's dimensions are 172.75 mm long and 177.0 mm in diameter. In addition, the sinker has an eyelet so it can be hung. Figure 5 shows a photograph of the sinker.

3.1. Adjustment in the Liquid Level Using a Motorized Sinker

The sinker of Figure 5 is utilized to vary the liquid level by immersion. This solid is held by the grommet with a nylon thread which is wound on the pulley of a stepper motor whose movement is manually controlled using a keypad. To control the stepper motor movement, an open loop controller was implemented in the electronic circuit as shown in the block diagram of Figure 6.

The stepper motor is a brushless synchronous electric motor with the ability to divide a full rotation into a large number of steps. Each step represents a small discrete angular movement. The advantage of this motor is that it can be used for position control without feedback. For controlling movement of the stepper motor a PIC16F84A microcontroller (Microchip Technology, Inc., Chandler, AZ, USA) was selected. This microcontroller satisfies the needs for this application. The microcontroller has two ports that can be configured as either inputs or outputs. For this application five pins of port A were configured as an input and the eight pins of port B were configured as an output.

Both ports handle incoming and outgoing digital Transistor-Transistor Logic (TTL) signals. To send digital signals from the microcontroller, we designed an electronic circuit, which can receive digital signals produced by a keypad (hardware) or by sending digital signals from an acquisition card data (DAQ) installed in a personal computer (PC).

Signals from the keypad are sent to the port A of the microcontroller, which are processed by the algorithm programmed into its memory and making decisions to enable or disable the output signals through the pins of port B.

The output signals of the microcontroller are sent to an L297 integrated circuit (STMicroelectronics, Geneva, Switzerland) which works as a driver or interpreter between microcontroller and the power to move the stepper motor. The L297 has the ability to “translate” the digital input signals in the correct sequence of pulses required to be sent to the power amplifier (L298 and L6210 integrated circuits, STMicroelectronics) to properly energize the motor windings and get their movement.

The L297 circuit has as an additional function of cutting the dual PWM circuit which serves to regulate the current flowing through the motor windings.

The circuit L297 is connected to a L298 integrated circuit, which internally has a dual H-bridge transistors designed for higher voltage and current values of electrical current through their TTL digital inputs, it can handle inductive loads such as solenoids, relays, DC motors and stepper motors. The emitters of the transistors of the lower H-bridge are connected together and the respective output terminal is used for connecting an external resistor to sense the current flowing through the coil (RS1 and RS2). It uses a separate power supply for making that the circuit logic works at a lower DC voltage. It also has two pins to enable operation of each of the H-bridges. So the motor windings are discharged rapidly during the transition from one sequence to the next to energize, it uses a Schottky fast recovery diode array type capable of maintain peak currents up to 2 A, the diode array is encapsulated in the integrated circuit L6210. Figure 7 shows the connection diagram of integrated circuits L297, L298 and L6210 to the motor windings. The stepper motor used to move the sinker is an Applied Motion brand HT17-075 (Applied Motion Products, Watsonville, CA, USA) model with a resolution of 1.8° per step.

To carry out the rise and fall of the shaft of the hydrometer immersed in reference liquid, the borosilicate sinker is also immersed in the liquid. The upper end of the sinker is attached through its eyelet with hemp yarn which is wound on a pulley fixed to the shaft of the stepper motor. The motor, when rotated clockwise (CW), causes the sinker go down and soak in the liquid causing the liquid level rise due to the volume of liquid displaced by the sinker gradual immersion, the resulting effect is also the shaft becomes immersed into the liquid. Conversely, when the motor rotates counterclockwise (CCW), the sinker rises and reference fluid emerges causing the fluid level down and making the hydrometer shaft also remove reference fluid.

3.2. Experimentation

For the hydrometer calibration, once the mass in the air is measured and the points of the scale to be calibrated are selected, the hydrometer is immersed in the reference liquid. Previously, the fluid temperature is set and control referenced to the same temperature specified in the hydrometer scale. For the immersion in the liquid, the hydrometer is held in the highest part of the shaft, which is fixed to a device that serves as a mechanical suspension whose length can be adjusted manually, then, it can be hanged beneath the weighing pan of the balance. During of immersion of the hydrometer in the reference liquid, it should be avoided getting wet the stem above the first calibration point, which is the lowest point in the scale. It must be left two hours for thermal stabilization before starting the measurements.

After the thermal stabilization period, adjustment in the suspension height must be carried out to manually locate by sight the point of the hydrometer scale at the same level of the liquid. From here, a vision system operates, which is adjusted by zooming and focus to see on the images three interest marks labeled as A, L and A'.

Later, a program acquires an image from the vision system, select the region of interest (ROI) covering the three marks of the hydrometer. Then a column vector is selected at the center of the ROI to detect the marks, and a least squares fitting is performed to fit a parabola of the marks; by doing this, the maximum points of the parabolas select the maximum can be used to measure the distances among them, to get the Kmeas value and compare it with the Kcalc value. In case that these values are not equal, the keypad is used to move the sinker immerse in the liquid on the adequate direction to adjust the liquid level, achieving that the d2 distance change in respect to the position of mark A' (reflection of the mark A of the liquid surface).

To demonstrate the difference in the alignment process using the traditional method against the method with the vision system and the impact it has on the calibration uncertainty, a calibration was conducted with two hydrometers with different metrological characteristics, the first one is a high accuracy hydrometer and the second one is a medium accuracy hydrometer. Both hydrometers are commonly used in the industry for determining the density of liquids and are presented in Figure 8.

Both hydrometers were calibrated at the midpoint of the scale, using two methodologies: the traditional calibration method (visual alignment), and calibration by the vision system method (semi-automatic alignment) [10,12].

Traditional calibration. The first calibration was done with the old method, i.e., using a magnifying glass and left to the judgment of metrologist to mark the location of the scale to calibrate the reference surface of the liquid. This procedure is carried out as can be observed on Figure 9.

Calibration with the Vision System. The second calibration was performed using the vision system and image processing algorithm explained in previous sections and it can be observed on Figure 10.

During the traditional calibration method, images of the hydrometer immersed in reference liquid were taken with the vision system, and once the metrologist considered it under assessment, the calibration mark was aligned to the level of the liquid surface. These images are analyzed using the same algorithm to determine the distances between the marks of interest and get Kmeas factor value. Tables 1 and 2 show the characteristics of the hydrometers that were calibrated using both methods:

For both high and medium accuracy hydrometers the calibration using the vision system the Kcalc was determined with the approximation of the system presented in Figure 3, measuring the distances xT, y1 and y2, and using Equations (6, 7, 8, 9, 10). The results are presented in Tables 3 and 4.

The Kcalc values have an associated uncertainty of 0.03 with a coverage factor of k = 2. This value is estimated applying the Guide to the expression of Uncertainty in Measurement (GUM) [14] to the mathematical models of Equations (610) in the pinhole model approach.

3.3. Results

In Section 2 was explained that the measurand in hydrometers calibration is the correction in the mark of its scale, Cρn. Cuckow's method requires two measurements of the hydrometer; the first is the mass determination in air ma, and the second is the mass determination in the liquid mL when the hydrometer is immersed in the reference liquid until the calibration point of its scale.

The results of the measurements made to both hydrometers consider the next parameters: determination of the air mass ma, determination of the liquid mass mL, correction of the calibration scale point Cρn, its uncertainty u(Cρn ), and finally the alignment using the proposed image processing algorithm.

The vision system and image processing algorithm developed in this work are used to align the mark on the hydrometer scale at the reference liquid surface during the determination of the mass in the liquid mL.

For calibration of each hydrometer, six AB weighing cycles scheme were performed using the calibrated set of weights and the weighing instrument (balance) as mass comparator to determine the mass in air ma and the mass when the hydrometer is immersed in the liquid reference mL. A represents the mass value of the calibrated weights, and B represents the sample, that is, the hydrometer. The measurements for the determination of the mass in the air for both hydrometers are presented in Table 5.

As in the determination of the mass in air, the mass when the hydrometer is immersed in the reference liquid mL is obtained by comparison against standard weights performing six AB weighing cycles. Table 6 presents the measurements performed with the balance to get the mL value and its standard deviation σmL for the high accuracy hydrometer (d = 0.1 kg/m3). On the left side of Table 5, the values obtained with the traditional alignment method are shown, and on the right side, the values obtained with the vision system are shown.

For the hydrometer of medium accuracy (d = 0.5 kg/m3) the measurements and results of mL and σmL using both traditional and vision system alignment methods are shown in Table 7.

From the measurement it can be seen that for the case of the high-accuracy hydrometer, the standard deviation obtained with the traditional alignment method is approximately 15 times the standard deviation obtained with the alignment method of the vision system and image processing algorithm; in the case of the medium accuracy hydrometer is about 71 times greater.

On Table 8 the results of calibration of the high accuracy hydrometer are presented (d = 0.1 kg/m3) at the point ρn = 805 kg/m3, the values were obtained with both the traditional and the vision system alignment methods.

Table 9 show the results of the calibration with both traditional and vision system alignment methods for the calibration point ρn = 1,025 kg/m3 from the medium accuracy hydrometer (d = 0.5 kg/m3).

3.3.1. Uncertainty Budget

As was explained in Section 2, the measurand in the calibration of hydrometers is the correction Cρn that must be applied to the selected calibration point ρn of the hydrometer scale. This correction is obtained using Equation (14):

C ρ n = ρ x ρ n
where ρx is the liquid density where the hydrometer freely float immersed at the mark ρn, also, the ρx value is obtained by calibration using the Cuckow's method given by Equation (15):
ρ x = ( ρ L [ 1 + α ( t L t 0 ) ] ρ a 1 [ 1 + α ( t a t 0 ) ] ) · [ m a + π D γ x g m a m L + π D γ L g ] + ρ a 1 [ 1 + α ( t a t 0 ) ] ε d

Applying the GUM method [12] (see Equation (18)), the uncertainty of the correction of the hydrometer immersed at the scale mark ρn is:

u ( C ρ n ) = u 2 ( ρ x ) + u 2 ( ρ n )

Due to the fact that ρn is a constant value (that is a nominal value from the scale point of the hydrometer under calibration, a constant value has no uncertainty) then the correction uncertainty is reduced to:

u ( C ρ n ) = u ( ρ x )

According to the GUM and applying the uncertainty propagation law to the mathematical model of Equation (15), the correction uncertainty is:

u ( C ρ n ) = u ( ρ x ) = i = 1 n [ ρ x ρ x i u ( x i ) ] 2
where:
  • ρ x x i is the sensitivity coefficient of the input quantity xi

  • u (xi) is the uncertainty of the input quantity xi

  • The input quantities xi for ρx are shown in Figure 11.

It can be observed from Figure 11 that the input values depend on other secondary variables like the reference liquid density ρL, depends on the thermal expansion coefficient of the liquid αL and of the temperature of the liquid tL. Also in Figure 11, the main variables are distinguished with circles and blue font and the secondary variables in circles and black font. Secondary variables are described as:

αL:Thermal expansion coefficient of the reference fluid (pentadecane).
mpa:Mass of the standards used to determine the air mass in the hydrometer, ma.
σma:Standard deviation of the measurements to get the mass in the air.
ρmpa:Density of mass standards used to determine ma
Dmpa:Drift of mass standards used to determine ma
mpL:Mass of the standards used to obtain the mass in the hydrometer's liquid, mL
ρmpL:Mass standards density used in determine mL
DmpL:Drift of mass standards used to determine mL
p:Air barometic pressure during the calibration
h.r.:Air relative humidity during the calibration

The uncertainty contributions εd and σmL are distinguished in green font in Figure 11, those contributions corresponds to the scale division error or hydrometer resolution and also to the standard deviation in the measurements to obtain the mass of the hydrometer immersed in the liquid until the calibration point of the stem ρn. These contributions are reduced significantly by using the vision system and the calibration mark alignment algorithm introduced in this work. Table 10 shows the uncertainty budget calibration with the traditional alignment method, and Table 11 shows the uncertainty budget calibration using the vision system method together with the image processing algorithm. Both calibrations were applied to the high accuracy hydrometer (d = 0.1 kg/m3).

The same procedure was applied for the medium accuracy hydrometer (d = 0.5 kg/m3). Results for the uncertainty budget calibration with the traditional alignment method are shown in Table 12. The uncertainty budget calibration using the vision system method together with the image processing algorithm is shown in Table 13.

Considering the uncertainty budgets shown in Tables 10, 11, 12 and 13, it can be observed that during the calibration of both hydrometers by the traditional method, the alignment “by eye” of the metrologist, at the scale mark of the hydrometer under calibration at the level of the liquid's surface, could not allow us to obtain a better hydrometer resolution, therefore the hydrometer resolution is equal to its scale division. The contribution of the uncertainty by the error due to the resolution εd is in this case the dominant uncertainty contribution. It follows that if the hydrometer has a larger scale division (which results in a less accurate hydrometer), then the dominant uncertainty of the hydrometer calibration will be limited by its scale division, as long as the alignment process is done “by eye”.

Putting aside the contribution due to the resolution εd, other dominant sources of uncertainty in the hydrometer calibration with the traditional alignment method are the standard deviation of mass determination in the liquid σmL, the reference liquid surface tension γL and the density of the reference liquid ρL.

On the other hand, using the vision system and an image processing algorithm to align the mark on the scale to the liquid level, the uncertainty due to the resolution could decrease, because the vision system provides images of the hydrometer immersed in the liquid of such amplitude that divides the scale significantly by about 10 times or more the hydrometer scale division. In this case, resolution was considered as one tenth of the hydrometer scale division. A smaller value has no impact on the combined uncertainty. Also, the contribution due to the standard deviation of the measurements to obtain the mass in the liquid is reduced significantly because the alignment process is repeatable and reproducible, obtaining values of σmL less than 1 mg while the traditional method (by eye), σmL could take values until 10 mg.

3.4. Alignment Using Image Processing

The image processing algorithm to obtain the alignment of the mark in the calibration scale is presented step by step.

Step 1. Image acquisition with the vision system

Here, the image is 1,026 × 1,288 pixels, whose values are between 0 and 255 (grayscale).

Step 2. Image normalization

Considering the image in previous step, the image is normalized to take double precision floating point format values between 0 and 1 for the grayscale, as can be seen on Figure 12.

Step 3. Negative image

In this step the negative of the normalized image is obtained, in this way, the scale marks, originally black, are displayed in white. This is to approximate a concave downward parabola. Mathematically, a gray level 0 in the original picture, which represents the black color becomes 1 (white on the inverted image) and vice versa. Each original gray level becomes its complement in the negative. The negative image is shown in Figure 13.

Step 4. Search the region of interest ROI

In this section, we look for the three marks of scale hydrometer immersed in the liquid; these marks are easy to find by locating the ellipse that is adjacent to the hydrometer shaft (this ellipse is the base of the meniscus that the liquid form around the hydrometer shaft), as can be seen on Figure 14.

Step 5. Column vector selection

Here, a column vector is selected. This vector contains the information of the three interest marks, L-A-L'. This vector represents the profile or the gray level of the column vector selected and is shown on Figure 15. The profile which includes the interest marks is plotted on Figure 16.

Step 6. Mark detection

Step 6.1. Column vector filtering

In this process, the column vector is filtered to eliminate noise and leave the information of the three marks only; this is done by applying an appropriate threshold level to get the column vector without noise (generally 0.5 or 0.6). After applying the vector filtering, the profile which includes only the interest marks is shown on Figure 17.

Step 6.2. Mark separation and least square adjustment of each mark

Here, each mark is isolated from the filtered column vector to apply the least square adjustment and fit to a second order polynomial, y = a0 + a1x +a2x2. After the least square adjustment and fitting, the maximum and minimum values of each parabola are determined. In Figure 18, the blue line represents the information of the mark and the least square fitting can be observed on the red line, the second order polynomial equation and the maximum point of each parabola are calculated:

Mark adjustment by using a least square fitting, where y = 0.337528 + 0.065020x − 0.003851x2; xmax = 8.4423; ymax = 0.6120.

The same procedure is applied to marks 2 and 3. For the second mark, the calculated values are given by; y=0.340576+0.055549x − 0.002146x2; xmax=12.9452; ymax=0.7001

For the third mark, the calculated values are given by y = 0.343213 + 0.061910x − 0.002943x2; xmax = 10.5190; ymax = 0.6688.

Step 7. Distances d1 and d2 measurement (in pixels)

Once the parabolas and its maximum values are obtained, the distance d1 is measured (this distance is equal to the distance from the mark A to the mark L), and the distance d2 (distance from mark A to mark L'). The distances are considered from the maximum points of the parabolas which were obtained from the gray levels of the filtered column vector. The distances d1 and d2 are shown on Figure 19.

Step 8. Kmeas determination

Kmeas = d2/d1 = (121.50/126.57) = 0.959 9

Step 9. Kcalc and Kmeas values comparison

Kcalc = 0.96 ± 0.03 (k = 2) (k = 2 represents a confidence level of approximately 95.45% in the uncertainty level from the best estimated Kcalc value) and Kmeas = 0.96, therefore, it can be stated that mark A (corresponding to the mark under calibration, ρn) is aligned to the same level than the liquid surface, because Kmeas is inside the confidence interval Kcalc.

Several tests with its corresponding alignments were carried out, and the summary of the Kmeas values are shown by applying the traditional alignment method and the vision system method.

The Kmeas values for each alignment method are compared with the Kcalc values obtained with the pinhole model approach, for both the high accuracy hydrometer (d = 0.1 kg/m3) as well as the medium accuracy hydrometer (d = 0.5 kg/m3) shown in Tables 1 and 2.

Figures 20 and 21 correspond to the 0.1 kg/m3 hydrometer and Figures 22 and 23 correspond to the 0.5 kg/m3 hydrometer. Uncertainty bars of Kcalc are equivalent to a 0.03 value with a coverage factor of k = 2 for a normal probability distribution.

4. Results and Discussion

From Tables 5 and 6, the values of standard deviation in the determination of the mass in the liquid σmL were 0.12 mg by using the vision system for the alignment of the mark, which in comparison with the traditional alignment system, in the case of the high accuracy hydrometer is 15 times lower, and for the medium accuracy hydrometer is 72 times lower. In the uncertainty budgets the percentage contribution due to this component was reduced from 2.4% to 0.04% in the case of the high accuracy hydrometer calibration (see Tables 10 and 11), and from 21.28% to 0.08% in the case of the medium accuracy hydrometer (see Tables 12 and 13). From the above, it is concluded that the methodology developed in this work to align the mark on the scale calibration of immersion hydrometers at the same level of the surface of the liquid of known density using the vision system and the digital image processing algorithm was able to improve the measurement system, reducing by more than one order the standard uncertainty due to the repeatability of the mass determination in the liquid, mL.

Moreover, the contribution to the uncertainty due to the resolution of the immersion hydrometer was also reduced significantly, since the conventional alignment method and the resolution of the hydrometer is limited to the division of its scale, so the standard uncertainty error due to the resolution εd is equal to d 12, by considering a uniform probability distribution. The hydrometer scale division can be divided into ten units or more, since the amplification of the marks of hydrometer that is achieved with the vision system significantly distinguishes a better resolution compared to the scale division of the hydrometer.

For the case of hydrometers calibrated in this work, the contribution to the standard uncertainty due to the resolution of high accuracy hydrometer, whose scale division is 0.1 kg/m3, was reduced from 73.32% to a 2.93% (see Tables 10 and 11), while for medium accuracy hydrometer with a scale division equal to 0.5 kg/m3, this contribution was reduced from 72.70% to a 10.76% (see Tables 12 and 13).

In the calibration method of alignment by the vision system, the resolution was taken as one tenth of the hydrometer scale division. A smaller value has no significant impact to the combined uncertainty of calibration which could have many effects in the uncertainty budget [1519].

Since 2004 the automation or semi-automation of hydrometer calibration has been implemented in other national metrology institutes (NMIs), some of them based on image processing techniques [911]. The methodology exposed in this work is based on the approach of Lorefice and Malengo [9] however the vision system exposed in this work has a better spatial resolution, for example, the CCD camera of [9] is 604 H × 576 V pixels whereas CENAM CCD camera is 1,300 H × 1,030 V pixels. Digital images acquired with CENAM vision system allowed us to reduce the resolution of the hydrometer scale division from d to d/10 or better during the calibration, reducing considerably the uncertainty contribution due to the resolution of hydrometer, this point is not addressed in [911]. Moreover, the image processing algorithm for the detection of marks, the perspective errors, and the criteria for the alignment of the scale mark under calibration at the level of the surface liquid are different to the approaches of [911]; for example, Lee et al. [10] performed a binary threshold on the acquired image of the hydrometer stem and the alignment criteria is to locate the scale mark under calibration in line with the major axis of an ellipse that represents the meniscus formed around the stem in the acquired image. Another remarkable difference is the mechanical system employed to align the hydrometer scale mark to the liquid surface: the CENAM system uses a small motorized sinker allowing a well-controlled and soft adjustment of the level of the liquid without turbulence when the sinker is immersed. Other systems perform the adjustment of the mark by moving the whole system: thermostatic bath, the liquid container and CCD camera.

In metrology, it is mandatory to validate either a new measurement method or a modification with an already validated method [20,21]. In order to validate the methodology proposed in this work based on the aligning mark immersion hydrometer scale under calibration with the vision system and the algorithm of digital image processing [22], two international comparisons in the calibration immersion of hydrometers were carried out.

The first international comparison, identified as SIM.M.D-K4 “Comparison on the calibration of density hydrometers”, is a key comparison among national metrology institutes that are members of the Inter-American Metrology System (SIM). In this comparison, CENAM was the pilot laboratory. Other participant countries were: Jamaica, Panama, Chile, Bolivia, Peru, Ecuador, Brazil, Argentina, Costa Rica, Uruguay, Colombia, United States of America and Canada [21]. The second international comparison, identified as SIM.M.D-S1. “Comparison of the calibration of hydrometers for liquid density determination (bilateral CENAM-INRIM) Supplementary Inter-American Metrology System Comparison (SIM)”, was a bilateral comparison between CENAM-Mexico and Istituto Nazionale di Metrología di Ricerca Metrologica (INRIM)-Italy [23], and was organized to see the degree of equivalence on the hydrometer calibration between both countries. In both international comparisons, CENAM obtained satisfactory results.

Finally, the methodology proposed in this work for the alignment of the calibration scale mark with the vision system and the image processing technique helps to reduce the relative combined uncertainty calibration of hydrometers from 10−4 to 10−5.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. ISO-4805 Laboratory Glassware—Thermo-Alcoholometers and Alcohol-Thermohydrometers; International Organization for Standardization: Geneva, Switzerland, 1982.
  2. ISO-4801 Glass Alcoholometers and Alcohol Hydrometers not Incorporating a Thermometer; International Organization for Standardization: Geneva, Switzerland, 1979.
  3. OIML R44 Alcoholometers and Alcohol Hydrometers and Thermometers for Use in Alcoholometry; Organisation Internationale de Métrologie Légale: Paris, France, 1985.
  4. IS-7324 Indian Standard Specification for Brix Hydrometers; Bureau of Indian Standards: New Delhi, India, 1983.
  5. ISO-2449 Milk and Liquid Milk Products–Density Hydrometers for Use in Products with a Surface Tension of Approximately 45 mN/m; International Organization for Standardization: Geneva, Switzerland, 1974.
  6. ISO-3993 Liquefied Petroleum Gas and Light Hydrocarbons–Determination of Density or Relative Density–Preasure Hydrometer Method; International Organization for Standardization: Geneva, Switzerland, 1984.
  7. Gupta, S.V. Practical density measurement and hydrometry. Meas. Sci. Technol. 2003, 14, 153. [Google Scholar] [CrossRef]
  8. Cuckow, F.W. A new method of high accuracy for the calibration of reference standard hydrometers. J. Soc. Chem. Ind. 1949, 68, 44–49. [Google Scholar]
  9. Lorefice, S.; Malengo, A. An image processing approach to calibration of hydrometers. Metrologia 2004, 41, L7–L10. [Google Scholar]
  10. Lee, Y.J.; Chang, K.H.; Chon, J.C.; Oh, C.Y. Automatic alignment method for calibration of hydrometers. Metrologia 2004, 41. [Google Scholar] [CrossRef]
  11. Aguilera, J.; Wright, J. D.; Bean, Vern E. Hydrometer calibration by hydrostatic weighing with automated liquid surface positioning. Meas. Sci. Technol. 2008. [Google Scholar] [CrossRef]
  12. Lorefice, S.; Malengo, A. Calibration of hydrometers. Meas. Sci. Technol. 2006, 17, 2560. [Google Scholar]
  13. BIPM, IEC, IFCC, ILAC, ISO, IUPAC, IUPAP and OIML JCGM 200: 2012 International Vocabulary of Metrology–Basic and General Concepts and Associated Terms (VIM); Bureau International des Poids et Mesures: Sèvres Cedex France, 2012.
  14. BIPM, IEC, IFCC, ILAC, ISO, IUPAC, IUPAP and OIML JCGM-100: 2008 Evaluation of Measurement Data–Guide to the Expression of Uncertainty in Measurement; Bureau International des Poids et Mesures: Sèvres Cedex France, 2008.
  15. Valcu, A. Calibration of nonautomatic weighing instruments. Measurements 2007, 1, 2. [Google Scholar]
  16. Tasic, T.; Grottker, U. An overview of guidance documents for software in metrological applications. Comput. Stand. Interf. 2006, 28, 256–269. [Google Scholar]
  17. Heinonen, M.; Sampo, S. The effect of density gradients on hydrometers. Measur. Sci. Technol. 2003, 14. [Google Scholar] [CrossRef]
  18. Peña, L.M.; Becerra, L.O. Evaluation of the Uncertainty due to Instability of the Measurement Standards Involved in a Measurement Process. Proceedings of National Conference of Standards Laboratories International Workshop and Symposium, San Antonio, TX, USA, July 26 2009.
  19. Picard, A.; Davis, R.S.; Gläser, M.; Fujii, K. Revised formula for the density of moist air (CIPM-2007). Metrologia 2008, 45. [Google Scholar] [CrossRef]
  20. Lorefice, S.; Heinonen, M.; Madec, T. Bilateral comparisons of hydrometer calibrations between the IMGC-LNE and the IMGC-MIKES. Metrologia 2000, 37. [Google Scholar] [CrossRef]
  21. Becerra, L.O. Final report of comparison of the calibrations of hydrometers for liquid density determination between SIM laboratories: SIM.M.D-K4. Metrologia 2009, 46, 1–51. [Google Scholar]
  22. Peña, L.M.; Pedraza, J.C.; Becerra, L.O.; Galvan, C.A. A New Image Processing System for Hydrometers Calibration Developed at CENAM. Proceedings of the 20th TC3, 3er TC16 and 1st TC22 International Conference, Cultivating Metrological Knowledge (IMEKO), Mérida, Yucatran, México, 27 November 2007.
  23. Becerra, L.O.; Lorefice, S. Report of the bilateral comparison of the calibrations of hydrometers for liquid density determination between CENAM–Mexico and INRIM–Italy: SIM.M.D-S1. Metrologia 2009, 46. [Google Scholar] [CrossRef]
Figure 1. Hydrometer Calibration System: (a) thermostatic bath; (b) external cooler; (c) external temperature controller; (d) glass vessel containing the reference liquid; (e) thermometer for measuring the liquid temperature; (f) barometer; (g) thermo-hygrometer; (h) weighing instrument (balance); (i) mass standards.
Figure 1. Hydrometer Calibration System: (a) thermostatic bath; (b) external cooler; (c) external temperature controller; (d) glass vessel containing the reference liquid; (e) thermometer for measuring the liquid temperature; (f) barometer; (g) thermo-hygrometer; (h) weighing instrument (balance); (i) mass standards.
Sensors 13 14367f1 1024
Figure 2. Vision system adapted to the hydrometers calibration: (a) camera; (b) lens array; (c) frame grabber installed in the PC; (d) light source; (e) motorized-sinker; (f) image displayed in the monitor of the scale marks of the hydrometer immersed in liquid.
Figure 2. Vision system adapted to the hydrometers calibration: (a) camera; (b) lens array; (c) frame grabber installed in the PC; (d) light source; (e) motorized-sinker; (f) image displayed in the monitor of the scale marks of the hydrometer immersed in liquid.
Sensors 13 14367f2 1024
Figure 3. Scheme based on the pin-hole camera model approach to obtain the relation between d1 and d2 (K value).
Figure 3. Scheme based on the pin-hole camera model approach to obtain the relation between d1 and d2 (K value).
Sensors 13 14367f3 1024
Figure 4. Image processing algorithm flowchart.
Figure 4. Image processing algorithm flowchart.
Sensors 13 14367f4 1024
Figure 5. Sinker tied to a stepper motor.
Figure 5. Sinker tied to a stepper motor.
Sensors 13 14367f5 1024
Figure 6. Open loop controller of the stepper motor.
Figure 6. Open loop controller of the stepper motor.
Sensors 13 14367f6 1024
Figure 7. Connection diagram between the L297, L298 and the stepper motor windings.
Figure 7. Connection diagram between the L297, L298 and the stepper motor windings.
Sensors 13 14367f7 1024
Figure 8. Hydrometers used in the experimentation.
Figure 8. Hydrometers used in the experimentation.
Sensors 13 14367f8 1024
Figure 9. Traditional hydrometer calibration process.
Figure 9. Traditional hydrometer calibration process.
Sensors 13 14367f9 1024
Figure 10. Calibration using the vision system.
Figure 10. Calibration using the vision system.
Sensors 13 14367f10 1024
Figure 11. Tree diagram of the uncertainty contributions in the calibration of immersion hydrometers by Cuckow's method.
Figure 11. Tree diagram of the uncertainty contributions in the calibration of immersion hydrometers by Cuckow's method.
Sensors 13 14367f11 1024
Figure 12. Acquisition and normalization of the image taken with the vision system.
Figure 12. Acquisition and normalization of the image taken with the vision system.
Sensors 13 14367f12 1024
Figure 13. Negative image.
Figure 13. Negative image.
Sensors 13 14367f13 1024
Figure 14. Region of interest (R.O.I.)
Figure 14. Region of interest (R.O.I.)
Sensors 13 14367f14 1024
Figure 15. Column vector that contains the three interest marks L-A-L'.
Figure 15. Column vector that contains the three interest marks L-A-L'.
Sensors 13 14367f15 1024
Figure 16. Column vector profile that contains the interest marks.
Figure 16. Column vector profile that contains the interest marks.
Sensors 13 14367f16 1024
Figure 17. Filtered column vector profile with a 0.6 threshold.
Figure 17. Filtered column vector profile with a 0.6 threshold.
Sensors 13 14367f17 1024
Figure 18. Mark adjustment by using a least square fitting, where y = 0.337528 + 0.065020x − 0.003851x2; xmax = 8.4423; ymax = 0.6120.
Figure 18. Mark adjustment by using a least square fitting, where y = 0.337528 + 0.065020x − 0.003851x2; xmax = 8.4423; ymax = 0.6120.
Sensors 13 14367f18 1024
Figure 19. Distance measurement d1 and d2, and Kmeas estimation. d2 = 121.50 pixels; d1 = 126.57 pixels; Kmeas = d2/d1 = 0.96.
Figure 19. Distance measurement d1 and d2, and Kmeas estimation. d2 = 121.50 pixels; d1 = 126.57 pixels; Kmeas = d2/d1 = 0.96.
Sensors 13 14367f19 1024
Figure 20. Kmeas values. High accuracy hydrometer. Traditional alignment.
Figure 20. Kmeas values. High accuracy hydrometer. Traditional alignment.
Sensors 13 14367f20 1024
Figure 21. Kmeas values. High accuracy hydrometer. Vision system alignment.
Figure 21. Kmeas values. High accuracy hydrometer. Vision system alignment.
Sensors 13 14367f21 1024
Figure 22. Kmeas values. Medium accuracy hydrometer. Traditional alignment.
Figure 22. Kmeas values. Medium accuracy hydrometer. Traditional alignment.
Sensors 13 14367f22 1024
Figure 23. Kmeas values. Medium accuracy hydrometer. Vision system alignment.
Figure 23. Kmeas values. Medium accuracy hydrometer. Vision system alignment.
Sensors 13 14367f23 1024
Table 1. Characteristics of the high accuracy immersion hydrometer.
Table 1. Characteristics of the high accuracy immersion hydrometer.
ParameterValue
Company:Steevenson Reevs, LTD.
Serial number:06/801004
Measurement interval:800 kg/m3 a 810 kg/m3
Scale division (d):0.1 kg/m3
Calibration point (ρn):805 kg/m3
Surface tension of the liquid which is normally used (γx):25 mN/m
Diameter of the shaft (D):4.60 mm
Reference temperature (tref):20 °C
Sensors 13 14367t1
Table 2. Characteristics of the medium accuracy immersion hydrometer.
Table 2. Characteristics of the medium accuracy immersion hydrometer.
ParameterValue
Company:Ertco–USA
Serial number:08482
Measurement interval:1,000 kg/m3 a 1,050 kg/m3
Scale division (d):0.5 kg/m3
Calibration point (ρn):1025 kg/m3
Surface tension of the liquid which is normally used (γx):72 mN/m
Diameter of the shaft (D):5.25 mm
Reference temperature (tref):20 °C
Sensors 13 14367t2
Table 3. Kcalc for the high accuracy hydrometer.
Table 3. Kcalc for the high accuracy hydrometer.
ParameterValue
Distance between the marks in the hydrometer scale (y1):1.2 mm
Vertical distance from the liquid's surface to the camera (y2):18 mm
Horizontal from the hydrometer to the camera (xT):315 mm
Calculated K value (Kcalc):0.94
Table 4. Kcalc for the medium accuracy hydrometer.
Table 4. Kcalc for the medium accuracy hydrometer.
ParameterValue
Distance between the marks in the hydrometer scale (y1):1.3 mm
Vertical distance from the liquid's surface to the camera (y2):37 mm
Horizontal from the hydrometer to the camera (xT):315 mm
Calculated K value (Kcalc):0.97
Table 5. Mass in air of the calibrated hydrometers. The ma value includes the air pressure corrections and calibration standards. It includes the standard deviation σma of the ma measurements.
Table 5. Mass in air of the calibrated hydrometers. The ma value includes the air pressure corrections and calibration standards. It includes the standard deviation σma of the ma measurements.
Hydrometer 06/801004 (High Accuracy)Hydrometer 08482 (Medium Accuracy)


Mass in the AirMass in the Air
B HydrometerA StandardB HydrometerA Standard
l1110.6582g110.0000gl161.8539g110.0000g
l2110.6569g110.0001gl261.8547g110.0001g
l3110.6572g110.0003gl361.8542g110.0003g
l4110.6582g110.0001gl461.8539g110.0001g
l5110.6569g110.0002gl561.8547g110.0002g
l6110.6572g110.0001gl661.8542g110.0001g
ma110.644400g110644.00mgma61.84661g110644.00mg
σ ma0.00065g0.65mgσ ma0.00036g0.65mg
Table 6. Mass in the liquid of the high accuracy hydrometer. The mL values include the air pressure corrections and the calibrated standards. It includes the standard deviation σmL of the mL measurements.
Table 6. Mass in the liquid of the high accuracy hydrometer. The mL values include the air pressure corrections and the calibrated standards. It includes the standard deviation σmL of the mL measurements.
Hydrometer 06/801004 (High Accuracy)Hydrometer 08482 (Medium Accuracy)


Traditional Method Mass in the Liquid at Point 805 kg/m3Method Using the Vision System Mass in the Liquid at Point 805 kg/m3
B HydrometerA StandardB HydrometerA Standard
l15.0147g5.0001gl15.0149g5.0001g
l25.0138g5.0000gl25.0148g4.9999g
l35.0116g5.0001gl35.0150g5.0000g
l45.0150g5.0003gl45.0150g4.9999g
l55.0126g5.0002gl55.0149g4.9999g
l65.0164g5.0003gl65.0149g5.0000g
mL5.01324g5013.24mgmL5.01434g5014.34mg
σ mL0.00168g1.68mgσ mL0.00011g0.11mg
Table 7. Mass in the liquid of the medium accuracy hydrometer. The mL values include the air pressure corrections and the calibrated standards. It includes the standard deviation σmL of the mL measurements.
Table 7. Mass in the liquid of the medium accuracy hydrometer. The mL values include the air pressure corrections and the calibrated standards. It includes the standard deviation σmL of the mL measurements.
Hydrometer 08482 (Medium Accuracy)Hydrometer 08482 (Medium Accuracy)


Traditional Method Mass in the Liquid at Point 1,025 kg/m3Method Using the Vision System Mass in the Liquid at Point 1,025 kg/m3
B HydrometerA StandardB HydrometerA Standard
l115.4332g15.0001gl115.4367g15.0003g
l215.4425g15.0000gl215.4368g15.0002g
l315.4317g15.0001gl315.4367g15.0004g
l415.4268g15.0001gl415.4366g15.0003g
l515.4219g15.0002gl515.4367g15.0003g
l615.4440g15.0003gl615.4368g15.0004g
mL15.43122g15431.22mgmL15. 43459g15434.59mg
σ mL0.00868g8.68mgσ mL0.00012g0.12mg
Table 8. Calibration results of the high accuracy hydrometer.
Table 8. Calibration results of the high accuracy hydrometer.
MethodNominal Value ρnDensity ρxCorrection CρnUnc. (k=2) U (Cρn)
Traditional805805.034 kg/m30.034 kg/m30.067 kg/m3
Vision System805805.041 kg/m30.041 kg/m30.034 kg/m3

Hydrometer 06/801004.

Table 9. Calibration results of the medium accuracy hydrometer.
Table 9. Calibration results of the medium accuracy hydrometer.
MethodNominal Value ρnDensity ρxCorrection CρnUnc. (k=2) U (Cρn)
Traditional10251024.947 kg/m3−0.053 kg/m30.339 kg/m3
Vision System10251025.024 kg/m30.024 kg/m30.088 kg/m3

Hydrometer 08482.

Table 10. Uncertainty budget − Traditional method − d = 0.1 kg/m3.
Table 10. Uncertainty budget − Traditional method − d = 0.1 kg/m3.
Uncertainty budget−Traditional Method

CiStd. Unc.Contrib. (kg/m3)Variance (kg2/m3)%
δρx/δρL=1.0474122131.06E–020.01111.240E–0410.91
δρx/δρa1=−0.047412447
δρx/δma=−344.8652533
δρx/δmL=7609.201784
δρx/δtL=0.0079702730.010.00016.353E–090.00
δρx/δta=1.92822E–050.20.00001.487E–110.00
δρx/δγL=−11.731507821.05E–03−0.01231.517E–0413.35
δρx/δd=10.028867513−0.02898.33E–0473.32
δma/δmp1=0.9998792723.35E–080.00001.334E–100.00
δma/δρa1=−0.000013960.000770230.00001.334E–090.00
δma/δρp1=1.69E–0979.310.00002.125E–090.00
δma/δΔm1=12.64155E–07−0.00018.299E–090.00
δma/δd=−12.88675E–080.00009.911E–110.00
δmL/δmp2=0.9998792724.50E–080.00031.172E–070.01
δmL/δρa2=−0.0000006210.0007621570.00002.006E–090.00
δmL/δρp2=7.309775E–1180.520.00002.006E–090.00
δmL/δΔm2=16.86254E–070.00522.727E–052.40
δmL/δd=−12.88675E–08−0.00024.825E–080.00
δmliq/δCg=1
δCg/δΔh=−1.57757E–090.010.00001.441E–140.00
Unc. (k=2)0.067 kg/m3
Table 11. Uncertainty budget − Vision System method − d = 0.1 kg/m3.
Table 11. Uncertainty budget − Vision System method − d = 0.1 kg/m3.
Uncertainty budget-Vision System

CiStd. Unc.Contrib. (kg/m3)Variance (kg2/m3)%
δρx/δρL=1.0474231261.06E–020.01111.240E–0443.60
δρx/δρa1=−0.047412335
δρx/δma=−344.9478424
δρx/δmL=7609.353397
δρx/δtL=0.0079703560.010.00016.353E–090.00
δρx/δta=1.92823E−050.20.00001.487E–110.00
δρx/δγL=−11.731741571.05E–03−0.01231.517E–0453.36
δρx/δd=10.0028867510.00298.333E062.93
δma/δmp1=0.9998792723.35E–080.00001.335E–100.00
δma/δρa1=−0.000013960.000770230.00001.334E–090.00
δma/δρp1=1.69E−0979.310.00002.126E–090.00
δma/δΔm1=12.64155E–07−0.00018.303E–090.00
δma/δd=−12.88675E–080.00009.916E–110.00
δmL/δmp2=0.9998792724.50E–080.00031.172E–070.04
δmL/δρa2=−0.0000006210.0007624810.00001.298E–110.00
δmL/δρp2=7.30987E–1180.520.00002.006E–090.00
δmL/δΔm2=14.40959E080.00031.126E–070.04
δmL/δd=−12.88675E–08−0.00024.825E–080.02
δmliq/δCg=1
δCg/δΔh=−1.57757E–090.010.00001.441E–140.00
Unc. (k = 2)0.034 kg/m3
Table 12. Uncertainty budget − Traditional method − d = 0.5 kg/m3.
Table 12. Uncertainty budget − Traditional method − d = 0.5 kg/m3.
Uncertainty budget-Traditional Method

CiStd. Unc.Contrib. (kg/m3)Variance (kg2/m3)%
δρx/δρL=1.3338752131.06E–020.01422.011E–040.70
δρx/δρa1=−0.333877216
δρx/δma=−5523.532137
δρx/δmL=22039.93249
δρx/δtL=0.010150110.010.00011.030E–080.00
δρx/δta=2.19729E–050.20.00001.931E–110.00
δρx/δγL=−37.165763541.05E–03−0.03901.523E–035.31
δρx/δd=−10.144337567−0.14432.083E–0272.70
δma/δmp1=0.999879473.35E–08−0.00023.423E–080.00
δma/δρa1=−0.0000078580.00077029−0.00036.614E–080.00
δma/δρp1=9.47E–1078.90−0.00041.704E–070.00
δma/δΔm1=11.47573E–07−0.00086.644E–070.00
δma/δd=−12.88675E–080.00022.542E–080.00
δmL/δmp2=0.9998808254.50E–080.00109.843E–070.04
δmL/δρa2=−0.0000018810.0007697580.00001.018E–090.00
δmL/δρp2=2.24168E–1079.740.00041.552E–070.00
δmL/δΔm2=13.54287E–060.07816.097E–0321.28
δmL/δd=−12.88675E–08−0.00064.048E–070.00
δmliq/δCg=1
δCg/δΔh=−4.73272E–090.010.00001.088E–120.00
Unc. (k=2)0.339 kg/m3
Table 13. Uncertainty budget – Vision System method – d = 0.5 kg/m3.
Table 13. Uncertainty budget – Vision System method – d = 0.5 kg/m3.
Uncertainty budget-Vision System

CiStd. Unc.Contrib. (kg/m3)Variance (kg2/m3)%
δρx/δρL=1.3339768711.06E–020.01422.011E–0410.38
δρx/δρa1=−0.333978901
δρx/δma=−5525.645555
δρx/δmL=22043.33278
δρx/δtL=0.0101508840.010.00011.030E–080.00
δρx/δta=2.19739E–050.20.00001.931E–110.00
δρx/δγL=−37.171497421.05E–03−0.03901.523E–0378.66
δρx/δd=−10.014433757−0.01442.083E–0410.76
δma/δmp1=0.999879473.35E–08−0.00023.426E–080.00
δma/δρa1=−0.0000078580.00077029−0.00036.618E–080.00
δma/δρp1=9.47E–1078.90−0.00041.705E–070.01
δma/δΔm1=11.47573E–07−0.00086.649E–070.03
δma/δd=−12.88675E–080.00022.544E–080.00
δmL/δmp2=0.9998808194.50E–080.00109.837E–070.05
δmL/δρa2=−0.0000018810.0007697420.00001.019E–090.00
δmL/δρp2=2.2418E–1079.740.00041.553E–070.01
δmL/δΔm2=15.47723E–080.00121.458E–060.08
δmL/δd=−12.88675E–08−0.00064.049E–070.00
δmliq/δCg=1
δCg/δΔh=−4.73272E–090.010.00001.088E–120.00
Unc. (k=2)0.088 kg/m3

Share and Cite

MDPI and ACS Style

Peña-Perez, L.M.; Pedraza-Ortega, J.C.; Ramos-Arreguin, J.M.; Tovar-Arriaga, S.; Aceves-Fernandez, M.A.; Becerra, L.O.; Gorrostieta-Hurtado, E.; Vargas-Soto, J.E. Alignment of the Measurement Scale Mark during Immersion Hydrometer Calibration Using an Image Processing System. Sensors 2013, 13, 14367-14397. https://doi.org/10.3390/s131114367

AMA Style

Peña-Perez LM, Pedraza-Ortega JC, Ramos-Arreguin JM, Tovar-Arriaga S, Aceves-Fernandez MA, Becerra LO, Gorrostieta-Hurtado E, Vargas-Soto JE. Alignment of the Measurement Scale Mark during Immersion Hydrometer Calibration Using an Image Processing System. Sensors. 2013; 13(11):14367-14397. https://doi.org/10.3390/s131114367

Chicago/Turabian Style

Peña-Perez, Luis Manuel, Jesus Carlos Pedraza-Ortega, Juan Manuel Ramos-Arreguin, Saul Tovar-Arriaga, Marco Antonio Aceves-Fernandez, Luis Omar Becerra, Efren Gorrostieta-Hurtado, and Jose Emilio Vargas-Soto. 2013. "Alignment of the Measurement Scale Mark during Immersion Hydrometer Calibration Using an Image Processing System" Sensors 13, no. 11: 14367-14397. https://doi.org/10.3390/s131114367

Article Metrics

Back to TopTop