You are on page 1of 12

Accepted Manuscript

Title: Fuel Level Measurement System Based on Absolute


Shaft Encoder

Author: Tuhin Subhra Sarkar Subir Das Badal Chakraborty


Himadri Sekhar Dutta

PII: S0924-4247(17)30471-5
DOI: http://dx.doi.org/doi:10.1016/j.sna.2017.03.028
Reference: SNA 10043

To appear in: Sensors and Actuators A

Received date: 16-7-2016


Revised date: 7-3-2017
Accepted date: 20-3-2017

Please cite this article as: T.S. Sarkar, S. Das, B. Chakraborty, H.S. Dutta, Fuel Level
Measurement System Based on Absolute Shaft Encoder, Sensors and Actuators: A
Physical (2017), http://dx.doi.org/10.1016/j.sna.2017.03.028

This is a PDF file of an unedited manuscript that has been accepted for publication.
As a service to our customers we are providing this early version of the manuscript.
The manuscript will undergo copyediting, typesetting, and review of the resulting proof
before it is published in its final form. Please note that during the production process
errors may be discovered which could affect the content, and all legal disclaimers that
apply to the journal pertain.
Highlights:

• Here, an absolute shaft encoder is designed by a single track gray color code.

• Only an optical trans-receiver is required to decode this code.

• It is sensed the float arm movement during the variation of fuel level in a tank.

• A signal processing circuit calibrates the encoder output with fuel level.

t
ip
• This prototype has merits of high accuracy, resolution and sensitivity.

cr
us
an
M
e d
pt
ce
Ac

Page 1 of 11
Fuel Level Measurement System Based on
Absolute Shaft Encoder
Tuhin Subhra Sarkar, Subir Das, Badal Chakraborty, Himadri Sekhar Dutta
displacement might be rotational or linear according to the

t
Abstract—In this paper a new type of absolute shaft encoder is mechanical arrangement of arm in a tank wall. Now, the float

ip
presented for the measurement of fuel level in a tank. This arm displacement can be sensed by several different ways,
measurement technique is based on the principle of sensing the including but not limited to inductive, magnetic, fiber optic
float arm displacement with respect to the fuel level. Here, the and optical encoder techniques.
mechanical displacement is detected by an absolute shaft encoder

cr
In the prior art of fuel level monitoring system, a Linear
and each position is represented by variant intensity of lights. Variable Differential Transformer (LVDT) [1] or a modified
Furthermore, the variation of light intensity is converted into
voltage level by using a Signal Processing Circuit (SPC) and
inductive transducer [2] is used as a sensor to detect the float
calibrated with measured fuel level. Experimentally, it is arm displacement. In these arts, a float arm is made with

us
observed that the developed prototype is able to measure the fuel ferromagnetic material and moved vertically through a
level up to the range of 30 cm within the accuracy of ±1%FSO. cylindrical type pick-up coils during the variation of fuel level
in a tank. Here, two identical coils are uniformly wounded
Keywords— Float, Absolute Encoder, Modulated Light around a hollow cylindrical rod. Thus, the rod itself acts as a
Intensity, Fuel Level Sensor, Signal Processing Circuit.

I. INTRODUCTION
an
guide to the float arm. Therefore, the excessive frictional force
between the rod and arm may cause insufficient displacement
of the float arm for very small change in fuel level. Also,
fabrication cost of this sensor is high and not immune to
electromagnetic interference. Besides, a strain gauge load cell
C ONTINUOUS measurement and monitoring of the fuel
M
level in a storage tank is an important subject. A sensor based method [3, 4] is free from any frictional force error.
and transducer are required to know what amount of fuel is Because it measures the fuel level by evaluating weight of the
available in a tank such as aircraft, public transport, service fuel filled tank and immune to magnetic interference. But it
station tank or any other large container. A fuel level sensor exhibits poor hysteresis and zero drift with the temperature
d

not only operates under very severe environmental conditions variation.


like heavily varying temperature and vibration. But also it In terms of safety is concerned the magnetic type
displacement sensor is very reliable for flammable liquids as
e

survives the fuel itself, including ethanol, methanol, corrosive


sulphur or fuel additives etc. that can impact on the reliability because of non electrical interface within it. Traditionally,
of the sensor. For sensing or providing information of fuel magnetostrictive [5] and Hall probe [6] sensors are used for
pt

level in such conditions, non intrusive analog devices are fuel level measurement. In this method, a float or float arm is
widely used today. It provides an electrical signal due to accomplished with a permanent magnet and sensors are able to
angular or linear displacement of a float arm with respect to detect the position of the float arm via change in magnetic
ce

the continuous change of fuel level in the storage tank. The field. But beside its popularity over safety, it has some
efficiency of such method depends on the accuracy and limitations such as critical specification for correct float
integrity of the instruments which are being used. One of the selection, less resistance against mechanical misalignment and
most common angular displacements sensing method used a especially float is inaccessible without shutdown the system.
Also, it is inapplicable at dirty environment and or a process
Ac

rotary potentiometer as a sensor, which is coupled with a float


arm. In this embodiment, the change of fuel level causes where magnetite may produce.
angular motion in the arm through a float and eventually it is Whereas optical type fuel level sensor has key advantages
represented as a change of resistance. Furthermore, it is over the prior art, including immunity against electromagnetic
converted into an electrical signal viz. voltage or current by or magnetic field, highly sensitive, independent to thermal
using suitable signal processing circuit. This arm movement or effects, more accurate and linear. Moreover, it provides good
safety over the flammable liquids as reported by E. Udd [7]
and K. T. V. Grattan and T. Sun[8]. As per the industrial
Tuhin Subhra Sarkar and Subir Das are with Department of Applied
Electronics and Instrumentation Engineering, Murshidabad College of requirements typically two types of optical sensors are mostly
Engineering and Technology, Berhampore 742102, West Bengal, India (e- used today, such as fiber optic and optical encoder. Using the
mail: subir.mcet@gmail.com; sarkar.tuhinsubhra@gmail.com). fiber-optic sensor, fuel level can be sensed by reflective light
Dr. Badal Chakraborty is with Faculty of Agricultural Engineering, Bidhan intensity modulation technique. Here, a float with a permanent
Chandra Krishi Viswavidyalaya, Mohanpur, Nadia, West Bengal, India (e-
mail: badal.chakraborti@gmail.com). magnet is placed at the outer surface of a tube and a magnet
Dr. Himadri Sekhar Dutta is with Department of Electronics and with a mirror is kept inside the same tube. Thus, during the
Communication Engineering, Kalyani Government Engineering College, variation of fuel level outside the tube, mirror can move
Kalyani, Nadia, West Bengal, India (e-mail: himadri.dutta@gmail.com). upward or downward by the magnetic linkage of float magnet.

Page 2 of 11
Now, a pair of fiber optic probe is placed at the top of the tube the float arm. Here, the encoder acts as a sensor and every
to transmit or receive the variant intensity of reflected light code of its represent distinct angular position. Unlike of binary
beams from the mirror, is reported by Robert J. Bardoorian code, this code carries distinct information of light intensity
[9]. This mechanism is suffered from mechanical which is decoded by a single photo-detector and output of the
misalignment of the float. Due to this drawback, a simple float detector is directly calibrated with the fuel level by a Signal
type light intensity modulation technique is described by Processing Circuit (SPC); acts as a transducer. The proposed
Sengupta et. al. [10]-[12] and H. Z.Yang et. al. [13]. All these preliminary study demonstrates a proof of concept of this
systems can measure the fuel level in the range of few µm to developed prototype. The introduction is followed by a
cm depending on the optical path guidance by a wall or lens. representation of the encoder design, constructional details,
But moisture, dust and liquid evaporation may produce experimental investigation, and a series of discussion topics
disturbance in the mirror reflection. Also, the sensitivity of based on the experimental results.

t
such systems will be degraded with the increase of measured

ip
level range. In [14]-[17], authors proposed an intrinsic and II. ENCODER DESIGN AND ANALYSIS OF THE PROPOSED
intrusive fiber-optic sensor for monitoring the discrete steps of METHOD
fuel level in a tank. These sensors [14]-[16] working principle In this work, an absolute shaft encoder is designed with a

cr
are based on the radiation losses in an optical fiber n bends. It single track code and contains 256 numbers of coded
occurs at the boundary surface between two different media, positional information. Unlike of binary code, this information
where the fiber-optic sensor is located. Whereas, article [17] is made by different gray color code. Here, a MATLAB
measured the hydrostatic pressure of liquid column at several

us
programming has been used to fabricate it. Using the
discrete steps; utilizing polymer fiber Bragg gratings. Those ‘meshgrid’ function of MATLAB an image has plotted with
systems are able to determine the fuel density and as well as 256 numbers of equally spaced cells along the horizontal axis.
the fuel level in a tank at discrete points. In addition it requires These cells are filled up by the different intense of gray color.
frequent maintenance. We know that 8-bit grayscale image has 256 numbers of gray
Besides the fiber optic sensor, optical encoder is employed
in numerous fuel level sensing mechanisms due to its high
linearity, low hysteresis and simplicity. Moreover, its
an
levels, where each color represented by a number, such as
value 0 and 255 denotes black and white color respectively.
Here, the first and last cell contains high (i.e. black) and low
sensitivity is independent to the fuel properties and level (i.e. White) intensity of gray color and intermediate cells
M
range. The sensitivity of such method depends only on the contain variant intensities of gray color. These gray levels are
resolution of encoded scale, which can be modified externally computed as follows
without hampering the existing hardware structure. Due to this
simplicity, it is physically reliable in this domain. W. Zhang
Highvalue
et. al. [18] described a process where a float arm displaced a graycolorvalue( gv) = ×k
N −1
d

linear encoded scale vertically through a light spectrum source


and receiver. Thus, different wavelength of light is received by 255
= ×k (1)
N −1
e

an optical spectrum analyzer (OSA) after passing through the


unmask slot of multi track binary coded scale. These binary
bits are identified by different wavelengths of light and Where, N is the total number of cells and k is the index of
pt

combination of those bits represents each fuel level position. the cells. To illustrate this phenomenon, different images have
Such practice is difficult to develop in portable devices and been plotted with different numbers of cells having equally
also it is an expensive one. In the other embodiments [19, 20], distributed gray color levels; as shown in Fig. 1. Hence, from
ce

float arm rotates an encoded scale during the variation of fuel Fig.1 (c), it is obvious that all possible gray colors (256
level by direct coupling or pulley mechanism with it. This numbers of gray levels) are sequentially placed into 256
encoded scale comprises with multiple track code [20] or numbers of separate cells. Hence an image is describing a
linear array of tiny photo-detector cells [19]. In multiple track linear change of colors from black to white. Now, if this image
Ac

code design, a plurality of transmitter and receiver has been is displaced under the source of visible wavelength of light,
used to decode the binary or gray code bits of each track. then 256 separate intensity of reflected light beams will
Combination of such bits represents the fuel level after received by a detector. It happens due to the different light
calibration with angular positions of the float arm. Instead of absorption factor of various gray color levels. Therefore, it is
track code, a circular scale has been designed by placing an obvious that the designed encoded scale can represent 256
array of photo-detector in one track and a single transmitter is numbers of linear or angular positions by different unique
placed parallel by maintaining an air gap with it. Thus, a light intensity levels. In this prototype, the scale has been
comparatively high amplitude output of one such detector affixed around a segment of the circumference edge of a
represents the angular position of encoding scale and as well plastic disc as shown in Fig.2. Here, the diameter of the disc is
as the fuel level in a tank. This system serves portability but 80mm and width of the edge is 20mm. Hence, to cover up the
decoding circuit counteracts on the simplicity of this design. one fourth segment of the disc edge by this developed scale;
In this paper, a novel absolute shaft encoder is presented to an image dimension should be set as 60mm X 20mm. This is
simplify the complexity in hardware and as well as in encoded done by changing the aspect ratio of this plot. Henceforth, this
scale design. It is composed with a single trans-receiver and a designed encoder is able to measure the smallest displacement
single track code. By using this absolute encoder, the fuel of 0.25mm because the total length of that image is sliced into
level in a tank is sensed by measuring the angular position of 256 numbers of different color coded cells.

Page 3 of 11
displacement by varying intensity of light and it is done by a
single photo-detector. Therefore, it may be stated that the
variation of fuel level is directly proportional to the measured
light intensity. Hence, to demonstrate the proof of this concept
a theoretical model is developed herein.
Let us assume, the emitted light intensity from an optical
source is denoted by I0 and reflected light intensity from the

(a)

t
ip
cr
(b)

us
an
Fig. 3 Geometrical representation of this proposed method; where dotted lines
depict changes of fuel level, float movement and shifting of encoded image
respectively. To visualize disc segment & pointing out angular rotation of disc
dotted arrows has been drawn.

surface of encoding plate is I. Then it can be expressed as


M
I = GI 0 (2)
(c)
Where, G is the light absorption factor of any cell. Also
Fig.1. Mapping of gray color code into different numbers of cells. (a) assume that the length of the encoding plate is L and placed on
Three cells contain three steps of gray colors value. (b) Five steps of gray the circumference edge of a disc. So, it can be represented as
color equally distributed into five cells. (c) Designed encoded plate having
d

π
256 numbers of gray colors into same numbers of cell. L= rθ g . (3)
180 °
e

Where, r is the radius of the disc and θg is the angle (in


degree) between two edges of the plate. Since the plate covers
pt

the one fourth segment of the disc, therefore the value of θg


will be 90°.
Now, assume that the fuel level is increased in a tank up to
the height of H and accordingly the encoder disc rotates in
ce

clockwise direction under the optical trans-receiver by the


angle of θh. Let, the encoded plate shifted with a length of L1
from its initial point of edge with respect to the vertical centre
axis. So, it can be determined as
Ac

π
L1 = rθ g 1 (4)
180 °
Fig. 2 Encoded disc cover with an angular scale to visualize & measure Where, θg1 is the angle (in degree) in between of centre axis
actual angular displacement of this disc due to movement of float with and the edge of L1 as shown in Fig.3. After the displacement
variation of fuel level.
of plate L1, optical trans-receiver detects distinct level of
Using this encoder a fuel level sensing method has been reflected light intensity in lieu of initial one due to the
analyzed by a graphical model as shown in Fig.3. A float arm presence of gradient gray color in some of the cells. Now the
is attached with this encoded disc through a center tapped rod, cell index may be expressed as
which is mounted to the wall of the tank. Thus, the float
k = 1 × (N − 1)
L
experienced a bouncy force during the variation of fuel level (5)
in a tank and associate arm will rotate the disc accordingly L
either in a clockwise or anticlockwise direction. By measuring Again put the value of L1 and L in (5) and we have
θg 1
the angular displacement of the disc and utilizing some k= × (N − 1) (6)
mathematical computation, the fuel level in a tank is θg
determined. Here, the encoded scale represents the

Page 4 of 11
To evaluate the change in light intensity level after III. EXPERIMENTAL SET-UP AND MEASURING
reflecting from that cell, a light absorption factor (G) of this PROCEDURE
cell is determined. It can be expressed as the ratio of its actual An experimental prototype has been used to evaluate the
gray color value and maximum possible value that it can hold. sensor performance of the proposed design, as shown in Fig.4.
So, The prototype is composed with a PVC tank (52cm X 54cm)
g having Inlet and outlet ports through which liquid can be
G= v (7)
255 introduced inside and sucked out easily as required from time
Since the range of gv is 0 to 255. Therefore, the value of G
may vary from 0 to 1. Hence, put the value of gv in (7) and we
have

t
k
G=

ip
(8)
N −1
Rewrite the (8) by replacing the value of k
θ g1
G=

cr
(9)
θg
Again put the value of absorption factor (G) in (2), we get
θ g1

us
I= I0 (10)
θg
Now, fuel level may express as H = R − h without (a)
considering the diameter of float. The parameter R defines the
length of float arm and h represents the length in between of
the fuel surface and centre of the disc; thus it can be rewritten
as h = R cosθ h
an
Therefore, H = R − R cos θ h
M
H
So, cosθ h = (1 − )
R
−1 H
Or, θ h = cos (1 − ) (11)
R
d

From Fig.3 it is obvious that the angle θg1 and θh are


symmetrical to each other. Hence, after rearranging (10) and
e

(11) we found that


 −1 H 
 cos (1 − R ) 
pt

I = I0 (12)
 θg 
 
All the parameters of the right hand side of (12) are constant (b)
ce

except the value of H. Hence, it is concluded that when the Fig.4 (a) Block diagram representation of the proposed system. (b) An
container will be empty (i.e. H = 0), optical detector will image has been taken at laboratory during testing and analysis of this
method also an enlarge view illustrated the inner structure of the covered
detects weakest intensity of reflected light (i.e. I = 0) and optical trans-receiver.
would be reached at strongest intensity point when the angular
Ac

position of the disc will achieve 90°. It will occur when the to time, a float (diameter 10 cm and made with PVC material),
height of fuel level will equal to the length of the float arm a float arm or shaft (length 30 cm and made with stainless
(i.e. H = R). Therefore, to measure the angular rotation of disc, steel), an encoded disc (material: plastic, diameter 8 cm and
an encoded plate should be placed over a quadrant segment of width 2 cm), an optical trans-receiver; made with an optical
the disc edge and each encoded gray color will represent a source (light emitting diode i.e. LED) and an optical detector
unique disc position. Where, each position will be identified (light dependent resistor i.e. LDR), a signal processing circuit,
by variant intensity of light and eventually it will be calibrated and a PC based 10 bit data logger (DAL) unit. The mechanical
with fuel level in a tank. Furthermore, in this model it is arrangement between the encoded disc and a float arm is
noticed that maximum measureable height of fuel level in a shown in Fig.5. This arrangement is mounted on a tank wall
tank depends only on the length (R) of the float arm. So, by a metal rod through which it can rotate in any direction
proper selection of the float arm length is very important for while the float will experience a buoyancy force by the
any desired range of fuel level measurement in various heights variation of fuel level in a tank. To ensure the effective contact
of tank. between the float and fuel surface, a spherical type float is
used in this setup. Besides, the float arm and disc are made
with fuel resistant material to protect this unit from any kind

Page 5 of 11
of fuel contamination. But the laminated encoded plate is not encoder i.e. LDR resistance is converted into voltage variation
fuel resistant. Although, it would not be blur by the fuel itself. in the range of 0 to 5 volts by a Signal Processing Circuit
Because, it cover the disc by a quadrant circumference edge (SPC). This is followed by different steps of conversion;
only and affixed in such a way that it will stay above the liquid firstly, a current to voltage converter circuit with constant
surface when fuel level reached to its maximum point. current source is used for getting voltage variation according
Moreover, the float diameter will impact on the experimental to the change of encoder output resistance and eventually this
setup and its size is kept larger than the disc diameter. Hence, voltage variation has been confined into 0 to 5 volt range by
fuel level can’t touch the disc at its maximum range. In zero and span adjustment circuit. Finally, the digitized data of
addition, a wall mounted optical trans-receiver module is these voltages have been accumulated into PC hard drive
placed over the encoded disc, where a LED emits light at using the DAL. By utilizing this data, a real time fuel level
constant intensity and a LDR sensed the different reflected monitoring software has been developed in visual basic 6.0

t
intensity. In this study, an encoded disc along with optical platform.

ip
trans-receiver module is described as an absolute shaft
encoder and it acts as a sensor. IV. RESULT AND DISCUSSION
Static characteristics of the sensor (encoder) and transducer

cr
(SPC) of the proposed methodology are described in three
steps. At each step, experimental observations are carried out
through gradual increase and decrease of fuel level in a tank

us
with a space of 5mm. To obtain the desired level repeatedly, a
standard linear scale and a manually operated valve are used at
the inlet and outlet port of this tank.
In the first step, static characteristic of the proposed encoder
is evaluated from three increasing and decreasing modes of
Fig.5. Mechanical arrangement in between of float and disc

Experimental observations are carried out by using


an
fuel level variation. In each mode the output resistance of the
encoder ( R LDR ) is measured using a digital ohmmeter at every
step of fuel level. This value has been graphically plotted
Kerosene oil only and allow it in a tank gradually up to the against fuel level, as shown in Fig. 6 (a). Here it is found that
M
maximum limit (30cm). This measuring range is adjusted as the output resistance of LDR is inversely proportional with the
per the length of float arm; already described in the fuel level. Hence, it is true that during this variation the LDR
concluding part of section II. Now gradually increasing of oil received linear variable reflected light intensity from the
level in the tank puts a vertically upward thrust on the float encoded cells. Therefore, it is concurred the mathematical
and thus, encoded disc rotate in counter clockwise direction as approximation as stated in (12) and (14) respectively. Also, a
d

because of the pivot like mechanical arrangement between comparison between experimental result and theoretical data
them. Consequently, the LDR follows the reflected light (determined using (14)) is shown in Table I.
e

intensity variation through different encoded gray color level


TABLE I
of the pattern and received maximum or minimum intense of COMPARISON BETWEEN EXPERIMENTAL RESULT AND THEORETICAL DATA
pt

reflected light while the tank is empty or oil (fuel) level OF LDR AT SOME SELECTED FUEL LEVEL
reached at maximum limit. An equation is used to calibrate
this LDR output with fuel level. FUEL LEVEL THEORETICAL VALUE EXPERIMENTAL VALUE
0 CM ∞ 5.12 KΩ
ce

4 CM 4.51 KΩ 4.45 KΩ
RDark
RLDR = (13) 8 CM 3.15 KΩ 3.76 KΩ
Ib 15 CM 2.24 KΩ 2.65 KΩ
20 CM 1.91 KΩ 1.83 KΩ
Where, R LDR is the output resistance of LDR, I is the reflected 25 CM 1.67 KΩ 1.13 KΩ
Ac

light intensity and b is the material constant of LDR. Here, the 30 CM 1.50 KΩ 0.20 KΩ
material constant is assumed as unity and RDark is the output
resistance of LDR when it gets minimum intensity of light. At It is apparent from the Table I that while the tank is empty
the beginning of measurement RDark was evaluated by or full, the LDR exhibits high or low resistance accordingly,
but it is not high or low enough as a theoretical approximation
keeping the optical trans-receiver over the 0th position of the
demonstrate. Also, some other points exhibit same inaccuracy.
cell (gray value of this cell is ‘0’ i.e. black). Rearranging (13)
Because, at those points LDR received unexpected low and
by the value of I as found in (12) and we have
high intensity of diffused or reflected lights from the surface
encoded plate. It occurred due to the non-linear distribution of
RDarkθg
RLDR = b
gray color over the plate. In theoretical analysis, optical source
 −1 H  (14) intensity was considered as 100 Lux and LDR dark resistance
cos (1 − R ) I 0  (RDark) is 150KΩ, which was evaluated by keeping it into dark
 
places where light intensity is less than 1 Lux. Consequently,
Therefore, it is obvious from (14) that the output resistance it can be stated that an experimental result follows the
of LDR is inversely proportional to the fuel level when the theoretical value at this peer points. Since, we observed a
other parameters remain constant. Thereafter, output of the linear change of LDR resistance within the range of 0-30cm,

Page 6 of 11
so the sensitivity of the proposed sensor didn’t vary In the second step the static characteristic curve of the
throughout the measuring range and it is determined as signal processing circuit (SPC) is determined. The output
15.2Ω/mm. In addition, the percentage deviation from ideal voltage of SPC is measured using 4(1/2) digital multimeter at
linearity is calculated between measured and best-fit straight each step (5mm) of fuel level and plotted in Fig. 7 (a) after
line data. Subsequently, a percentage deviation curve of the repeatedly measured the voltage of three increasing and
encoder output is drawn in Fig.6 (b) against all steps of fuel decreasing modes of fuel level within the specified limits. The
level. A standard deviation curve is also drawn using this data respective percentage deviation curve from ideal linearity is
as shown in Fig.6 (c). Furthermore, the output resistance of drawn in Fig.7 (b). Here, ideal linearity is obtained from the
encoder is converted into bounded voltage limits (0 to 5volts) data range of 0 to 5 volts with respect to the fuel level of 0-
using SPC. 30cm by using the best-fit straight line method. Besides, the
maximum non-linearity error (0.16%FSO) was observed at

t
25cm of fuel level. Also, by using this data a standard

ip
6
Fuel level Increase 1
Fuel level Decrease 1
5 Fuel level Increase 2
Fuel level Decrease 2 6
LDR Resistance (Kilo Ohm)

Fuel level Increase 3 Fuel level Increased 1


4

cr
Fuel level Decrease 3 Fuel level Decreased 1
Best-fit straight line 5 Fuel level Increased 2
Fuel level Decreased 2
3 Fuel level Increased 3
4 Fuel level Decreased 3

SPC Output (Volt)


Best-fit straight line
2

us
3

1
2

0
1

0 5 10 15 20

Fuel Level (cm)

(a)
25 30 35

an 0

0 5 10 15 20

Fuel Level (cm)


25 30 35

(a)
M
2

1.5

1
1.0

0.5
% Deviation

0
d
% Deviation

0.0

-1
e

-0.5
Increase 1
Decrease 1 -1.0 Increase 1
-2 Increase 2
pt

Decrease 1
Decrease 2 Increase 1
Increase 3 -1.5 Decrease 2
Decrease 3 Increase 1
-3 Decrease 3
0 5 10 15 20 25 30 35 -2.0
0 5 10 15 20 25 30 35
ce

Fuel Level (cm)


Fuel Level (cm)
(b) (b)
0.030
0.030
Ac

0.025
0.025
Standard Deviation

0.020
Standard Deviation

0.020

0.015
0.015

0.010

0.010
0.005

0.005
0.000
0 5 10 15 20 25 30 35
0.000
Fuel Level (cm) 0 5 10 15 20 25 30 35
(c) Fuel Level (cm)
Fig.6. Static characteristic graph of proposed encoder. (a) Encoder (c)
response curve. (b) Percentage deviation of Encoder linearity. (c)
Standard deviation curve of Encoder output for six repeated
measurements. Fig.7. Static characteristic graph of Signal Processing Circuit (SPC). (a)
SPC output characteristic curve. (b) Percentage deviation of SPC output
linearity. (c) Standard deviation curve of SPC output for six repeated
measurements.

Page 7 of 11
deviation curve of SPC is plotted in Fig.7 (c). to the width of a cell hence, the resolution of the proposed
Since, at the ideal condition LDR is able to detect minimum absolute encoder is 0.25mm. Furthermore, measurement error
light intensity of 1 Lux. Hence due to the diffused light has been recorded in Fig. 8(b) against the true and observed
intensity of approximately 15 lux (while tank is empty), it value of fuel level in the tank and found the accuracy of ±1%
exhibits too much low resistance rather than the dark FSO (full scale output). In order to compare the performance
resistance. Thus, maximum output voltage of SPC unit has of proposed system with respect to the others, quantitative
been calibrated by considering this level of resistance in lieu information has been placed in Table II.
of theoretical dark resistance. Whereas, the minimum output It is obvious from Table II that the proposed system exhibits
voltage is calibrated as per the minimum resistance of LDR; similar accuracy likewise the commercial sensor. But its
while it is received maximum intensity of light (≈ 110 Lux). resolution is too good rather than the others. Also its non-
Thus, from Fig.7 (a), it is obvious that the output voltage of linearity error is very low and sensitivity is very promising as

t
SPC unit is inversely proportional with fuel level in the tank the prior art [10]-[17]. Since, its sensing part is completely

ip
and the slope of the curve determines the sensitivity of isolated from the measuring fluid hence it is suitable for the
160mV/cm. In order to observe the repeatability of the SPC flammable liquids. Whereas, the sensor like proposed encoder
unit, the output voltage deviation between each modes of is enclosed by housing so its sensitivity is fully independent to

cr
operation has been drawn in Fig. 8(a) and found the value of moisture, dust etc. In addition, the positional information is
±0.04cm. encoded as color image instead of multiple track code [15]-
[17], hence its fabrication cost is low. Also, the use of optical
type sensing equipment inside the fuel tank makes this

us
0.06
instrument safe for the flammable liquids and it is immune to
Difference of LDR Output (Kohm)

0.04 electromagnetic interference.


In this design the float and arm material should be selected
0.02
according to the fuel properties by which it cannot conduct
0.00

-0.02
an
any chemical reaction. In this preliminary work only one type
of fuel has been considered during experiments, but this
methodology is also applicable for any other fuel, where the
effect of different buoyancy force can be optimized by
Trail 1 vs Trail 2
M
-0.04
Trail 2 vs Trail 3 properly calibration of SPC unit. Whereas, in laboratory setup
Trail 3 vs Trail 4

-0.06
Trail 4 vs Trail 1 light source intensity is assumed as constant, but practically it
0 5 10 15 20 25 30 35 may varies with the power fluctuation or other undesirable
Fuel Level (cm) conditions. This caused can be resolved by implementing a
(a) self-referencing technique in SPC and improving the trans-
d

receiver module. Also, proposed system will not be affected


1.5 by small amplitude of the liquid surface ripple and tilt caused
e

by the vibration. During the experiment, a ripple occurred in


1.0
fuel surface, when the fuel enters into the tank through an inlet
Measurement Error (%FSO)

port. In order to optimize the error in level monitoring due to


pt

0.5

this ripple, a software based approach has been considered.


0.0 Here, the uneven change in voltage level within a least
significant time instant is not considered in GUI programming.
ce

-0.5
It is possible for fluid level measurement because this process
-1.0 response time is too slow. Moreover, if this scenario occurred
Measured SPC Output
for a long time, then it computed moving average data of level
-1.5
0 5 10 15 20 25 30
and displays the value with an indicator that implies very high
Ac

Fuel Level (cm)


ripple present in the liquid surface. However, it is not suitable
(b) for high amplitude liquid sloshing environment like: airborne
Fig.8. (a) Error curves between several repeated measurements data. (b) application. The proposed method is able to measure the level
Measurement error. in the range of a few mm to cm and the selected range is
suitable for real world application like a vehicle fuel storage
In the final step, the output of SPC is connected with a 10- tank, underground fuel tank etc.
bit ADC for digitization of this analog voltage; which is built
on DAL board itself. Since the resolution of 10-bit ADC is V. CONCLUSION
4.89mV/bit (i.e. 5V/1024) so the resolution of the proposed An optical type float operated fuel level measurement
system is evaluated as 0.03 cm/bit. Afterwards, getting the system generally detects the float arm displacement by
digitize data into PC hard drive using RS232 port; a GUI temporal changes of light intensity. Often it is suffered for
based calibration program determined the tank fuel level. This poor linearity, sensitivity and accuracy. To improve these
software is able to display the minimum variation of fuel level drawbacks an absolute shaft encoder based fuel level sensing
of 0.3mm which is equal to the disc angular displacement of method have been demonstrated and discussed. In contrast of
0.25mm (obtained using (4)). Since the displacement is equal traditional multi track binary coded absolute encoding

Page 8 of 11
TABLE II
COMPARISON OF STATIC CHARACTERISTIC BETWEEN THE PROPOSED AND AVAILABLE FUEL LEVEL SENSOR
Sensor type Range Accuracy Resolution Sensitivity Non-Linearity Error Repeatability Cost
(FSO)
Float Based Inductive
25 cm ±1.5% FSO
Sensor[2]
Load cell based sensor[3] ±2%
Magnetostrictive Fuel
±0.18% 0.084%FSO 0.1536%
Sensor[5]
Float based fiber optic
Research Paper

35 cm 231mV/cm
sensor[10]
Float based fiber optic
19 cm 154 mV/cm 0.3%FSO

t
sensor[11]
Float based fiber optic

ip
950µm 7.3mV/µm
sensor[12]
4.8mm 1.45mV/mm
Fiber optic sensor[13]
25 mm 1.3mV/mm
0.5V/discrete

cr
Fiber optic sensor[14] 4% FSO
point
Polymer fiber Bragg grating
75 cm 2 mm
sensor[17]

us
Model:LLS-20160 ±1% ±1 mm
Commercial Sensor

Capacitive type
20cm ±1% $50
[Model:FST700-204]
Resistive type
5mm $12
[Model:JK-CLFS-P1]
Resistive type
[Model:S3-E250]
Magneto strictive type
[Model:KDFS]
25cm

30cm ±0.5%
21mm

1mm
an $38
Proposed
Sensor

M
Optical sensor 35cm ±1% 0.25mm 160mV/cm 0.16%FSO ±0.04cm $5

structures, the proposed encoder is composed with a single and accuracy in high temperature zone. Besides, the
track code and requires only a single trans-receiver to decode undesirable error like light intensity variation caused by power
d

the encoded position in terms of an analog signal. This fluctuation can be corrected as well by implementing a self-
encoded structure provides a hassle free coding design and reference technique. Since, its inaccuracy is exists for the
e

fabrication. Also it requires a simple SPC for calibration the image printing error hence it can be improved by precise
analog signal with the fuel level. This technique exhibits good manufacturing. These all are the future scope of work of this
pt

linearity, sensitivity and resolution in laboratory conditions as preliminary study.


presented in the experimental results.
It may be mentioned here that as per the standardization of ACKNOWLEDGEMENT
industrial requirements, the widely accepted fuel level sensor
ce

can measure the level up to few ‘cm’ like capacitive and The authors are thankful to Bidhan Chandra Krishi Viswa
resistive type fuel level sensor. They provide linear output Vidyalaya, Kalyani Government Engineering College and
voltage within the accuracy of ±1% for the range of 25cm. But Murshidabad College of Engineering and Technology for
compared to the available commercial products the proposed providing the facilities to carry out this research work.
Ac

prototype is able to measure the fuel level in the range of 0-


30cm with the same accuracy. Also, the output linearity is not
affected by the magnetite zone. Moreover, its design is very
simple, easy to install and cost is low compared to the other REFERENCES
commercially available fuel level sensor. This laboratory [1] U. K. Mohammad, S. Umar, “Sensitivity determination of Linear
prototype cost is estimated at $5 only, but the average standard Variable Differential Transducer (LVDT) in fluid level detection
sensor cost is approximately $50. technique” International Journal of Modern Engineering Science, Vol.
In order to proof the concept, a prototype is designed, 2, pp. 73-81, 2013.
[2] S. Marick, S. K. Bera, S. C. Bera, “A float type liquid level measuring
developed and tested in laboratory conditions. Here, the system using modified inductive transducer” Sensors & Transducers,
measured length of prototype can be expanded by modifying Vol. 182, no. 11, pp. 111-118, 2014.
its float arm's length and as well as the encoded disc diameter. [3] D. Gupta, B. Singh, K. Panwar, “A prototyping model for fuel level
But its resolution may degrade with large disc diameter. This detector and optimizer” African Journal of Basic & Applied Sciences,
Vol. 4, no. 6, pp. 226-229, 2012; doi: 10.5829/idosi.ajbas.2012.4.6.1121.
problem can be solved by introducing an index track code [4] S. Mohanasundaram, P. Manikandan, R. Monisha, "Design and
along with the main coded track. However, the use of photo- implementation of load cell based fuel level measurement,"
diode detector instead of LDR may produce better sensitivity International Conference on Computer Communication and Informatics,
vol.3, no.5, pp. 1-6, Jan.2014; doi: 10.1109/ICCCI.2014.6921837.

Page 9 of 11
[5] Mei Yuan, Dongya Sun, Ke Sun, Jinghui Wu, Znaoyang Wang, Lei Shi,
"Key Technology of Magnetostrictive Fuel Sensor," IEEE International
Conference on Industrial Informatics, vol.16, no.18, pp.1000-1005,
Aug. 2006; doi: 10.1109/INDIN.2006.275734.
[6] Boyd M. Nichols, David Myers, Benjamin P. Koestler, Christopher J.
Meyer, “Accurate fluid level measurement device,” U.S.Patent
2014/0096603, Apr 10, 2014.
[7] E. Udd, “An overview of fiber-optic sensors,” Rev. Sci. Instrum, vol. 66,
no. 8, pp. 4015–4030, 1995.
[8] K. T. V. Grattan and T. Sun, “Fiber-optic sensing technology: An
overview,” Sensors Actuat. A physics, vol. 82, nos. 1–3, pp. 40–61,
2000.
[9] Robert J. Bardoorian, “Fiber optic liquid level sensor,” U.S.Patent 4 836

t
632, Jun 6, 1989.
[10] D. Sengupta ; M. Sai Shankar ; P. Saidi Reddy ; R. L. N. Sai Prasad ; K.

ip
S.Kamineni, "An encapsulated fiber optic fuel level sensor", in Proc.
SPIE 8001, International Conference on Applications of Optics and
Photonics, 80013Y (July 26, 2011); doi:10.1117/12.892011.
[11] D. Sengupta, M. Sai Shankar, K. Srimannarayana and R. L. N Sai

cr
Prasad," Fiber optic liquid level sensor using multimode fused coupler"
in Proc. SPIE 8769, International Conference on Optics in Precision
Engineering and Nanotechnology (icOPEN2013), 87692A (June 22,
2013); doi:10.1117/12.2021239.

us
[12] D. Sengupta, M. Sai shankar, P. Saidi reddy, R. L. N. Sai prasad, K. S.
Narayana, P. Kishore, “Micro-change in liquid level sensing by
extrinsic fiber optic sensor,” optoelectronics and advanced materials –
rapid communications Vol. 5, No. 5, pp. 491 – 494, May 2011.
[13] Z. H. Yang, W. S. Harun, H. Arof and H. Ahmad, “Environment-
independent liquid level sensing based on fiber-optic displacement

[14]
sensors,” Microw. Opt. Technol. Lett., Vol. 53, pp. 2451–2453, 2011.
D. S. Montero, P. C. Lallana, C. Vazaquez “A polymer optical fiber
level sensor: Application to paramotoring and powered paragliding”
Sensors, Vol. 12, pp. 6186-6197, 2012; doi:10.3390/s120506186.
an
[15] Yulong Hou, Wenyi Liu, Huixin Zhang, Shan Su, Jia Liu, Yanjun
M
Zhang, Jun Liu, and Jijun Xiong “Liquid Level Sensor Based on
CMFTIR Effect in Polymer Optical Fiber” Photonic Sensors, Vol. 6,
No. 4,pp. 312–317, 2016.
[16] Paulo Antunes, João Dias, Tiago Paixão, Esequiel Mesquita c, Humberto
Varum c, Paulo André, “Liquid level gauge based in plastic optical
fiber” Measurement, vol. 66, pp. 238-243, 2015.
d

[17] Carlos A. F. Marques, Gang-Ding Peng and David J. Webb, ‘‘Highly


sensitive liquid level monitoring system utilizing polymer fiber Bragg
gratings’’ Optics Express, Vol. 23, No. 5, pp. 6058-6072, 2015;
e

DOI:10.1364/OE.23.006058.
[18] W. Zhang, K. Sugden, S. Grice and I. Bennion, “Liquid level sensing by
use of digital formatted optical spectrum spreading technique,” Journal
pt

of the European Optical Society - Rapid Publications, Vol. 4, pp. 09022


-09022-4,May, 2009.
[19] Robert A. Roth and Steven Alkman, “Light sensing contactless fuel
level sensor,” U.S.Patent 7 677 098, Mar 16, 2010.
ce

[20] Mark Margolin and Malcolm Hodge, “Fiber optic flammable liquid
measuring system,” U.S. Patent 7 216 537, May 15, 2007.
[21] Alan S. Morris, “Instrument Types and Performance Characteristics,” in
Measurement & Instrumentation Principles, 3rd ed. New Delhi, India:
Butterworth Heinemann, 2001, pp. 16-20.
Ac

Page 10 of 11
BIOGRAPHIES OF ALL AUTHORS

Tuhin Subhra Sarkar was born in West Bengal India in 1981. He received Bachelor’s degree in electronics &
instrumentation engineering from University of Kalyani, West Bengal, India in 2004 and M.Tech degree in computer
science and engineering from University of Kalyani, West Bengal, India in 2006.
He is currently an Assistant Professor in Applied Electronics & Instrumentation Engineering at Murshidabad College of
Engineering & Technology, Berhampore, West Bengal, India. He has been a visiting Lecturer in Sheikhpara A. R. M.
Polytechnic, West Bengal, India between 2006 and 2007. His research interests include the design of sensors and
transducers, VLSI, network security and image processing. He has authored or coauthored nearly 6 research papers in the

t
areas of the sensors and transducers, network security and VLSI.

ip
Subir Das was born in West Bengal, India in 1984. He received Bachelor’s degree in electronics & instrumentation
engineering from West Bengal University of Technology, West Bengal, India in 2006 and M.Tech degree in

cr
instrumentation & control engineering from University of Calcutta, West Bengal, India in 2010.
He is currently an Assistant Professor in Applied Electronics & Instrumentation Engineering at Murshidabad College of
Engineering & Technology, Berhampore, West Bengal, India. He worked with Danieli Automation, West Bengal, India,
Core-Technologies, West Bengal, India and Stesalit India Ltd. West Bengal, India between 2006 and 2008. His research

us
interests include the design of sensors and transducers, robotics automation, industrial automation and image processing.
He has authored or coauthored more than 8 research papers in the areas of the sensors and transducers, and design of
electronics measuring systems.

an
Badal Chakraborty received his Bachelor’s degree in Electrical Engineering from National Institute of Technology;
Agartala, India in 1998.He obtained his Master degree in Instrumentation and Control Engineering and Ph.D. (Tech) in
Instrumentation and Measurement from University of Calcutta in 2000 and 2009 respectively. He completed his Post
Doctoral work on Biomedical Engineering from Indian Institute of Science; Bangalore, India in 2010.He was working
M
as a faculty member in Murshidabad College of Engineering and Technology from 2000 to 2005. He is currently faculty
member of Department of Post Harvest Engineering, Bidhan Chandra Krishi Viswavidayalaya, India. His research
interest includes Sensors, Measurement, Biomedical Instrumentation and Application of electronics in agricultural
fields. Dr.Chakraborty published more than 30 research papers in international and national journals. He is reviewer of
so many international journals.
e d

Himadri Sekhar Dutta received his B.Tech degree in Electronics and Communication Engineering from Kalyani
Government Enginerring Colle, Kalyani, India in 2001, M.Tech. degree in Optics and Opto-Electronics from
pt

University of Calcutta,Kolkata, India in 2003 and Ph. D. in Technology from Institute of Radio Physics and
Electronics, Kolkata, India in 2012 respectively. He is presently working as Assistant Professor at ECE Department of
Kalyani Government Engineering College, Kalyani. He is an executive committee member of IEEE Photonics Society
and IEEE Gold Affinity Group and actively participate in different activities conducted by IEEE. His research areas
ce

include Opto-electronic Devices, Medical Image Processing, and Embedded Systems. He has published more than
twenty five research papers in various journals and conferences and also reviewed several papers for journals and
international conferences.
Ac

Page 11 of 11

You might also like