You are on page 1of 6

Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)

Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

Manuscript received November 10, 2020; revised March 3, 2021; accepted April 21, 2021; date of publication April 28, 2021
Digital Object Identifier (DOI): 10.1109/IJEEEMI.v1.i1.1
This work is an open-access article and licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)

Comparative Analysis of Water and Oil Media


on Temperature Stability in PID Control-Based
Digital Thermometer Calibrator
Mohchammad Sofyan1, Andjar Pudji2, and Syaifudin.3
1, 2, 3
Jurusan Teknik Elektromedis Politeknik Kesehatan Kementrian Kesehatan Surabaya
Jalan Pucang Jajar Timur Nomor 10, Surabaya, 60245, Indonesia

E-mail: #sofyanmochammad17@gmail.com, andjar.pudji@gmail.com, nyong74@yahoo.com

ABSTRACT A digital thermometer is a measuring instrument needed to perform temperature


measurement actions, and must be calibrated regularly according to standard measurement methods. The
purpose of developing this tool is to add PID control to the calibration media where the PID control aims to
regulate the stability of the temperature setting to be achieved. This is achieved by studying and evaluating
the effect of temperature stability on the heater and temperature sensor LM35DZ. This study uses the
Arduino Nano system for data processing and controlling the PID system and the LM35DZ temperature
sensor on the heater which is regulated by the 2 Channel SSR module using the PID system then the
temperature generated by the heater will be read by the LM35DZ and displayed on the LCD. In this study,
the measurement of the digital thermometer calibrator was successfully carried out by comparing 3 digital
thermometers with different brands, namely Omron 343F, Omron 245 and ThermoOne. The error value in
oil media is 3-4% and in water media 2-4% with time stability values in water media for 3-3.3 minutes and
on oil media for 1-2 hours. This comparison of calibration media is expected to help in temperature
measurement with better and more effective results.

INDEX TERMS Thermometer, PID, Temperature, LM35DZ, Heater.

I. INTRODUCTION thermometers, and six-bellani thermometers. The


thermometer has a time period and accuracy value to be
declared suitable for use [5]. To get optimal measurement
Currently, many digital thermometer calibrators based on results, the thermometer really needs to be calibrated [6].
infrared or temperature sensors have been made [1], [2]. There are several media that can be used in the process of
However, the design of this thermometer calibrator only uses calibrating a thermometer [7]. Calibration is an activity to
water or dry media in the form of Dry Block / Dry Well determine the conventional truth of the value of measuring
Calibrator with temperature variations of -350C to 1650C. instruments and measuring materials by comparing them to
Making a thermometer calibrator by comparing the use of traceable measuring standards to national and international
water and palm oil as a medium is important to know the standards for units of measure and/or international and
collegial properties and concentration of the solution so that certified reference materials. [8].
digital thermometer calibration can be carried out effectively In 1997, Andrew C. Germanow et al.,
and accurately. Temperature is a measure of the degree of designed a thermometer calibrator where
cold or heat of an object to determine the amount of the tip of the thermometer is clamped with
temperature a measuring instrument is needed, namely a a thermostat heating medium, when the hot
thermometer [3], [4]. Examples of thermometers used, such temperature is reached the tool will turn off
as room thermometers, laboratory thermometers, clinical automatically, the drawback of this

VOL. 3, NO. 4, November 2021 1


Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)
Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

research is that there is no display of digital thermometer calibrator using water


temperature achievement on the tool media based on PID control and on / off to
making it difficult to compare. the results assist in routinely checking the body's
of temperature measurements on calibrated digital thermometer according to standards
tools and thermometers [9]. In 2014 Min before or after use at certain intervals. The
Zhang et al., designed a measurement design of this calibrator consists of a heater
system to reduce temperature fluctuations circuit with water media and an LM35
in thermostats for thermocouple calibration temperature sensor circuit. This study
by applying heat conduction theory shows the design of a digital thermometer
periodically. The purpose of this research is calibrator using water media with the
to obtain a liquid environment and obtain a smallest correction value using PID
controlled constant temperature for control, namely 0.1%[13]. Avilia et al. also
thermocouple calibration measurements. made a design of a PID control-based body
The experimental results show that the thermometer calibrator by evaluating the
temperature stability in this measurement temperature stability of the calibrator media
system is superior to that of the traditional currently used to respond to the relatively
multipoint thermocouple system, which can long time to achieve a stable temperature.
be calibrated simultaneously and the This study uses the Arduino system as data
acquisition and control of data is automatic, processing, using the PID system as a
the drawback of this research is that the temperature controller on the Peltier
instrument is only used for thermocouple element, the DS18B20 sensor as a
calibration and has not been developed for temperature sensor and LCD as a display.
thermometer calibration [10]. In 2015, The measurement according to the
Hohmann, M., Marin, S., Schalles, M., et Calibration Working Method has a
al. made a calibrator Dry Block Calibrator correction value of 0.07% and the
with increased internal temperature thermometer can be calibrated when the
homogeneity in the field was developed for temperature stabilizes after 2 minutes. It
the range from room temperature to 6000C can be concluded that the PID control is
to overcome the main problem of suitable to be used as a temperature
conventional Dry Block Calibrator which is stability control on the thermometer
an axial temperature gradient which is calibrator [14]. However, in this study there
divided into three parts which has a heat was no other media as a comparison.
flux sensor between the parts and the Based on the description of the literature
calibration results are strongly influenced study above, there are several things that
by geometry and testing of the thermal need to be resolved through a study,
properties of the thermometer with an including: 1) Use of calibrator media which
internal reference to control the absolute will affect the time to achieve temperature
value of the temperature [2]. In this design, regulation 2) PID control for temperature
only dry media is used. In 2019, Handayani stability. Therefore, in this study, a
designed a body temperature thermometer comparison analysis of water and oil media
calibration media with an Arduino-based will be carried out on a digital thermometer
DS18B20 sensor. In the design of the tool, calibrator based on PID control with the
it only uses a dry heater so that the error aim of comparing the calibration media,
value on the display of the tool against the which is expected to assist in checking and
comparison thermometer is high [11]. getting better and more effective results.
Ardelina, et al. also made an Arduino- The use of this design is more effective
based Dryblock digital thermometer because it has advantages in terms of 1)
calibrator using a dry heater and an LM35 Knowing the effect of the properties of
temperature sensor so that the error value each calibration medium on the time of
on the display of the device was set to high achieving a stable temperature according to
[12]. According to the author, the spread of the temperature setting 2) Knowing the
heater heat through the air is less than effectiveness of PID control for
optimal due to loose air particles that affect temperature stability.
heat propagation. In 2020, Ardelina et al. This article consists of 5 parts, part II
developed his research by designing a contains the methods and developments

VOL. 3, NO. 4, November 2021 1


Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)
Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

that will be carried out, Part III, is the C. The Flowchart


results obtained in this study, Part IV is a The workings of the flow chart Figure 2 above when the tool
discussion of the findings, and Part V is a is turned on the program will initialize the LCD and the PID
conclusion. control starts running according to the temperature setting
driver. When the heater driver has reached the set
II. MATERIALS AND METHOD temperature, the Analog voltage from the temperature sensor
reading is converted into a digital voltage and processed on
the Arduino ADC to be converted into binary numbers so
A. Experimental Setup that it can be displayed in the form of numbers on the LCD
This research uses three Thermometer brands Omron 343F, according to the measured temperature.
Omron 245, and ThermoOne. Measurements in the
Begin
temperature setting range of 370C – 410C. Data were
collected 5 times repeatedly on oil and water media.
LCD Initialization

1) Materials and Tools


Temperature Setting
In this study, the design of the tool uses the LM35DZ sensor
as a temperature sensor, and uses a heater as a heater in water
and oil media. Arduino Nano Microcontroller IC is used to ADC Reading

convert analog signals to digital and control system tools.


Temperature
Conversion
2) Trial
No
In this study, after the design of the tool was completed, the
temperature response was tested using the PID control Temperature
system. Data collection was carried out at a temperature = setting
setting of 370C – 410C then compared the temperature
measurements on 3 Omron 343F, Omron 245, and
ThermoOne brand thermometers. The time for reaching the LCD Display
setting and stable temperature on oil and water media was Temprature
measured using a stopwatch.
END
B. DIAGRAM BLOCK
When the power supply switch is turned on, the entire circuit Figure 2. The Flowchart
will be active. Users can choose the temperature setting in
the temperature range of 370C – 410C. In this system, there D. CIRCUIT
are two chambers for water and oil media equipped with an
LM35DZ temperature sensor. The LM35DZ temperature 1) Driver Heater
sensor will change the voltage according to the measured The Heater Driver circuit consists of an SSR (Solid State
temperature, and will process the ADC data on the Arduino Relay) Module and a heater. SSR is an electromechanical
Nano. The digital data is then displayed on a 16x2 character switch that is semi-conductor with an output circuit that
LCD. When the setting temperature has not been reached, the adopts thyristir and high-power transistors to connect and
heater driver remains on and vice versa when the temperature disconnect the load current. The SSR module used in this
has been reached, the heater driver will turn off. The working circuit is a 2 Channel SSR Module using a 5VDC voltage
system of the tool as shown in Figure 1. which can be used to control 240VAC to activate the heater
as shown in Figure 3.

LCD
Setting Arduino
Character
Temperature Nano
16x2

Temperature
Sensors Driver Heater Heater
LM35DZ

Figure 1. Diagram Blok System

VOL. 3, NO. 4, November 2021 1


Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)
Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

Figure 3. Driver Heater Circuit if (set_value_up == LOW){


delay(200);
2) Temperature Sensor setpoint_suhu += 0.5;
The design of the tool uses the LM35DZ Sensor as a }
temperature sensor whose output voltage is directly if (set_value_down == LOW){
proportional to the temperature in degrees Celsius. The delay(200);
temperature sensor circuit as shown in Figure 4 consists of an setpoint_suhu -= 0.5;
LM35DZ and a resistor. if (setpoint_suhu < 37){
setpoint_suhu = 41;
}
if (setpoint_suhu > 41){
setpoint_suhu = 37;

2) Listing Program PID


The listing program for PID functions for temperature
control in water and oil media is shown in Listing Program 2.
Program listing 2. PID program
Figure 4. Temperature Sensor Circuit if (menu == 1){
PID_eror_1 = setpoint_suhu1 - suhu_1;
III. RESULT PID_eror_2 = setpoint_suhu2 - suhu_2;
if (suhu_1 <= setpoint_suhu){
This device uses Arduino Nano microcontroller for data PID_P_1 = 0.01 * KP_1 * PID_eror_1;
processing, LM35DZ Sensor module, Heater Driver PID_I_1 = 0.01 * PID_I_1 + (KI_1 * PID_eror_1);
consisting of SSR and Heater. The LM35DZ sensor is used timePrev_1 = Time_1;
to display time data as X axis on a graph. While on the Y Time_1 = millis();
axis shows the temperature of the sensor readings. This can elapsedTime_1 = (Time_1 - timePrev_1) / 1000;
be seen in Figure 5. PID_D_1 = 0.01 * KD_1 * ((PID_eror_1 -
previous_eror_1)/elapsedTime_1);
PID_1 = PID_P_1 + PID_I_1 + PID_D_1;
if (PID_1 < 0){
PID_1 = 0;
} if (PID_1 > 255) {
PID_1 = 255; }
if (suhu_2 <= setpoint_suhu){
PID_P_2 = 0.01 * KP_2 * PID_eror_2;
PID_I_2 = 0.01 * PID_I_2 + (KI_2 * PID_eror_2);
timePrev_2 = Time_2;
Time_2 = millis();
Figure 5. Digital Thermometer Calibrator Device Design elapsedTime_2 = (Time_2 - timePrev_2) / 1000;
PID_D_2 = 0.01 * KD_2 * ((PID_eror_2 -
A.  Digital Thermometer Calibrator Device Design previous_eror_2)/elapsedTime_2);
Figure 5 shows the components used in the module design. PID_2 = PID_P_2 + PID_I_2 + PID_D_2;
The analog part consists of the Heater Driver and the if(PID_2 < 0){
LM35DZ Sensor. The digital part consists of the Arduino PID_2 = 0;
Nano microcontroller which is the main board of the ECG } if(PID_2 > 255){
PID_2 = 255;
module and a LCD16x2 character.
}
B. Result Digital Thermometer Calibrator Device
Program C. RESULT MEASUREMENT
In this paper, the program is divided into two parts, namely
for programming Temperature Settings and PID. 1) Temperature Measurement in Oil and Water Media
PID data that has been processed from Arduino can be
1) Listing Program Setting Suhu displayed on the telemetry viewer. The data displayed is a
Listing temperature setting program as in Listing Program 1. graph of stability and the time the temperature setting is
Program listing 1. Temperature Setting Program reached on oil (t_temperature 1) and water (t_temperature 2)
media. Figure 6 shows the results of the comparison of

VOL. 3, NO. 4, November 2021 1


Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)
Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

temperature measurements at the 370C temperature setting on 343F


the oil medium, adjusting the temperature setting with the T1 T2 T1 T2 T1 T2 T1 T2
sampling rate to 47500, which is for 75 minutes. While the 37 2% 4% 2% 4% 4% 5% 4% 2%
38 3% 4% 3% 4% 4% 4% 3% 5%
water medium is still stable according to the temperature
39 3% 4% 3% 4% 2% 4% 4% 4%
setting of 370C. 40 4% 4% 4% 4% 4% 2% 4% 4%
41 3% 2% 3% 2% 2% 4% 3% 3%

1) Measurement of Stable Temperature


Achievement Time According to
Temperature Settings

The length of time for achieving a stable temperature at a


temperature setting of 370C - 410C was measured using a
stopwatch and is shown in Table 4. Table 4 shows the
variation in the length of time for achieving a stable
temperature measured on oil (T1) medium of about 1 - 1.3
hours and water (T2) with length of time 3 - 3.3 minutes. The
Figure 6. Temperature Measurement Chart on Telemetry Viewer time to achieve a stable temperature in oil media is longer
than in water media.
1) Measurement Error Value
The measurement data collection for the device function test Table 4. Stable Temperature Reach Time
was carried out 5 times and repeated up to 3 times according Time
to the BPFK calibration standard. Tables 1, 2, and 3 show the Setting
T1 T2
error values for each measurement according to the Temp.
(hours) (minute)
temperature setting from 370C - 410C on the LCD display 37 1.2 3.3
and the Omron 343F, Omron 245, and ThermoOne calibrated 38 2 3
thermometers. The highest error value in the measurement is 39 1.2 3.3
5% of the TermoOne thermometer reading with oil media is 40 1 3
shown in Table 3 and the lowest is 2% on LCD, Omron 41 1.3 3.3
343F, Omron 245, and ThermoOne thermometers on water
and oil media in Tables 1, 2, and 3. IV. DISCUSSION
When the author's module was tested according to the
Table 1. Measurement Error Value 1 BPFK calibration measurement procedure and compared
Error 1 using three calibrated digital thermometers, namely the
Setting Omron Omron 343f, Omron 245, and Thermo One brands and the
LCD Omron 245 ThermoOne
Temp. 343F results of the error value when measuring on water media
T1 T2 T1 T2 T1 T2 T1 T2 were less than ±2% and on oil media, namely ± 5%. The
37 3% 4% 3% 4% 4% 4% 4% 4% average time for achieving a stable temperature on oil media
38 3% 4% 3% 4% 4% 4% 3% 4% with a certain temperature setting is 1.3 hours and on water
39 3% 4% 3% 4% 3% 4% 4% 4% media 3.2 minutes. Error values can occur due to several
40 4% 4% 4% 4% 4% 2% 4% 4% things such as differences in the properties of substances in
41 3% 4% 3% 4% 3% 4% 3% 4% oil and water media so that there are differences in the heat
propagation process from the heater and the length of time
Table 2. Measurement Error Value 2 for achieving a stable temperature according to the
Error 2 temperature setting. The mechanical design that the author
Setting Omron made for this research is to use a heater with the same power
Temp.
LCD Omron 245 ThermoOne
343F to heat water and oil media. The size of the chamber
T1 T2 T1 T2 T1 T2 T1 T2 (container) in the design of the tool for water and oil media is
37 4% 4% 4% 4% 4% 4% 4% 2% the same. The characteristics of the sensor to measure the
38 4% 4% 4% 4% 4% 4% 3% 5% temperature in water and oil media are using LM35DZ and
39 3% 4% 3% 4% 2% 4% 4% 4% each is controlled using a PID system. The use of oil as a
40 3% 4% 3% 4% 2% 2% 4% 4% calibration medium takes a longer time to reach a stable
41 3% 2% 3% 2% 4% 4% 3% 3%
temperature compared to water media.
Table 3. Measurement Error Value 3 The performance of this tool has been compared with the
Setting Error 2 design of a digital thermometer calibrator using water media
Temp. LCD Omron Omron 245 ThermoOne based on PID and On/Off control by Ardelina Ramadhani et

VOL. 3, NO. 4, November 2021 1


Indonesian Journal of Electronics, Electromedical Engineering, and Medical Informatics (IJEEEMI)
Multidisciplinary : Rapid Review : Open Access Journal eISSN: 2656-8632

al, which only uses one calibration medium, namely water Kesehatan.” p. 2015, 2015.
and has not measured the time for achieving a stable [6] B. P. Monitors et al., Inspection and
temperature according to the temperature setting using the Preventive Maintenance, vol. 1, no.
PID system [13]. The use of water and oil as calibration 610. pp. 1–362.
media in this study is expected to assist in measuring [7] M. L. Heilig, “Clinical
temperature or as a thermometer calibrator and get better Thermometer,” 3,208,283, 1965.
and more effective results. [8] V. nur Yunita, R. Maulana, S.
Rahayu, and I. sari Ratu, “Kalibrasi,”
V. CONCLUSION
J. Kalbirasi, 2015.
Based on this research, the conclusions obtained are: [9] A. C. Germanow, “Thermometer
a. The design of the Digital Thermometer Calibrator,” JUSTIA Patetns, 1995.
Calibrator tool by adding a PID control https://patents.justia.com/patent/5678
to evaluate the temperature stability of 923.
the calibration media on the [10] M. Zhang, F. Liang, Y. Xie, R.
performance of the heater and the Huang, H. Yuan, and J. Lu,
LM35DZ temperature sensor can be “Measurement system of reducing
made and works well. temperature fluctuation of thermostat
b. After measuring, the use of water media bath for calibrating thermocouple,”
meets the calibration requirements IFIP Adv. Inf. Commun. Technol.,
according to BPFK provisions with the vol. 452, pp. 603–609, 2015, doi:
resulting error value of less than ±2% 10.1007/978-3-319-19620-6_67.
and the resulting error value of ±5% in [11] Handayani, “Perancangan Media
oil media. Kalibrasi Termometer Suhu Badan
c. Choosing the right calibration media Dengan Sensor DS18B20 Berbasis
can make it easier to calibrate digital Arduino,” pp. 161–166, 2019.
thermometers and increase the [12] A. Ramadhani and E. D.
effectiveness of calibration activities. Setioningsih, “Design Dryblock In
Digital Thermometer Calibrator
REFERENCES Based on Arduino,” vol. 2, no. 1, pp.
1–5, 2020, doi:
[1] H. Okan, B. Karaböce, E. Çetin, and 10.35882/ijeeemi.v2i1.4.
M. Özdingi, “K ı z ı l Ötesi Kulak [13] A. Ramadhani, S. Lutfhiyah, and A.
Termometrelerinin ( IRET ’ lerin ) Pudji, “Perancangan Kalibrator
Kalibrasyonu Calibration of Infrared Termometer Digital Menggunakan
Ear Thermometers ( IRETs ),” pp. 0– Media Air Berdasarkan Kontrol Pid
3, 2018. Dan On / Off,” pp. 1–5, 2020.
[2] M. Hohmann, S. Marin, M. Schalles, [14] A. K. Bintari, “Evaluasi Kestabilan
G. Krapf, and T. Fröhlich, “Dry Suhu Pada Rancang Bangun
Block Calibrator Using Heat Flux Kalibrator Termometer Badan
Sensors and an Adiabatic Shield,” Berbasis Kontrol Pid,” Digilib.Uin-
Int. J. Thermophys., 2015, doi: Suka.Ac.Id, vol. 1974080120, pp. 1–
10.1007/s10765-015-1943-y. 6, 2020.
[3] I. Wahyuni and L. Fitria,
“Pemanfaatan Media Pembelajaran
untuk Materi Suhu Dan Kalor,” no.
666, pp. 1–44, 2018.
[4] D. T. Nusi, V. R. Danes, and M. E.
W. Moningka, “Pengukuran
Menggunakan Termometer Air
Raksa Dan Termometer Digital Pada
Penderita Demam,” J. e-Biomedik,
vol. 1, pp. 190–196, 2012.
[5] Menteri Kesehatan Republik
Indonesia, “Peraturan Menteri
Kesehatan Republik Indonesia
Nomor 54 Tahun 2015 Tentang
Pengujian Dan Kalibrasi Alat

VOL. 3, NO. 4, November 2021 1

You might also like