Fuzzy Logic Temperature Control on Blood Warmer Equipped with Patient Temperature and Blood Temperature

  • Andika Wahyu Nur Hafizh Poltekkes Kemenkes Surabaya
  • Torib Hamzah Department of Electromedical Engineering, Poltekkes Kemenkes Surabaya, Surabaya, Indonesia
  • Syaifudin Syaifudin Department of Electromedical Engineering, Poltekkes Kemenkes Surabaya, Surabaya, Indonesia
Keywords: Body Temperature, Blood Transfusion, DS18B20 Sensor, MLX90614 Sensor, Optocoupler Sensor, Fuzzy Logic.


Body temperature in humans varies greatly depending on the location where the reading is taken. Normal core body temperature in humans is maintained by the hypothalamus and usually ranges from 36.5°C to 37.5°C. One of the causes of the failure of Too high or too low of a temperature during the blood transfusion procedure may cause blood to freeze or get damaged, both of which can be fatal to humans, therefore the purpose of this tool is to lower blood temperature admission to the patient can be achieved so that there is no temperature drop or temperature drop and so that the blood is not too hot because it can cause damage to red blood cells. This study uses the DS18B20 Sensor to control the heater with PID and Fuzzy controls, the MLX90614 Sensor to adjust the temperature according to the patient's body temperature and the Optocoupler Sensor as an indicator when fluids run out. Previous studies have not used the MLX90614 sensor to detect patient body temperature, have not used TFT Nextion and have not used Fuzzy controls. This Fuzzy control is used as a heater control which then the results are displayed on the Nextion TFT. The results of this study obtained the highest error value of 0.09 with an average error value of 0.04 and obtained the highest overshoot value of 0.8. From the results of the above study it can be concluded that by using the Fuzzy control the response time is slower with a larger overshoot. In the creation of this tool, the benefits that can be derived for the community are facilitating the monitoring of patient temperature and blood temperature during blood transfusions using the Blood Warmer device. The device is also equipped with sensors to detect patient and blood temperatures, and it comes with a Nextion TFT display. Therefore, this device is crucial in assisting the community in performing Blood Transfusions.


Download data is not yet available.


N. H. Wijaya, Z. Oktavihandani, K. Kunal, E. T. Helmy, and P. T. Nguyen, “Tympani thermometer design using passive infrared sensor,” J. Robot. Control, vol. 1, no. 1, pp. 27–30, 2020, doi: 10.18196/jrc.1106.

N. H. Wijaya, A. G. Alvian, A. Z. Arfianto, J. E. Poetro, and F. Waseel, “Data storage based heart and body temperature measurement device,” J. Robot. Control, vol. 1, no. 1, pp. 11–14, 2020, doi: 10.18196/jrc.1103.

M. Udin Harun Al Rasyid, S. Sukaridhoto, A. Sudarsono, A. N. Kaffah, and M. Udin Harun Al Rasyid, “Design and Implementation of Hypothermia Symptoms Early Detection with Smart Jacket Based on Wireless Body Area Network,” IEEE Access, vol. 8, no. September, pp. 155260–155274, 2020, doi: 10.1109/ACCESS.2020.3018793.

A. K. Duttaroy, “Role of gut microbiota and their metabolites on atherosclerosis, hypertension and human blood platelet function: A review,” Nutrients, vol. 13, no. 1, pp. 1–17, 2021, doi: 10.3390/nu13010144.

J. C. Mugisha, B. Munyazikwiye, and H. R. Karimi, “Design of temperature control system using conventional PID and Intelligent Fuzzy Logic controller,” iFUZZY 2015 - 2015 Int. Conf. Fuzzy Theory Its Appl. Conf. Dig., vol. 18–20, no. November, pp. 50–55, 2016, doi: 10.1109/iFUZZY.2015.7391893.

M. Coban and M. Fidan, “Fuzzy Logic Based Temperature Control,” 3rd Int. Symp. Multidiscip. Stud. Innov. Technol. ISMSIT 2019 - Proc., vol. 12, no. December, pp. 1–4, 2019, doi: 10.1109/ISMSIT.2019.8932906.

B. Dai, R. Chen, and R. C. Chen, “Temperature control with fuzzy neural network,” Proc. - 2017 IEEE 8th Int. Conf. Aware. Sci. Technol. iCAST 2017, vol. 2018-Janua, no. iCAST, pp. 452–455, 2017, doi: 10.1109/ICAwST.2017.8256499.

N. Elqeblawy, A. Mohammed, and H. A. Hefny, “a Proposedfuzzy Logic Approach for Conserving the Energy of Data Transmission in the Temperature Monitoring Systems of the Internet of Things,” Int. J. Comput. Networks Commun., vol. 14, no. 2, pp. 97–114, 2022, doi: 10.5121/ijcnc.2022.14206.

N. Kittiamornkul and K. Higuchi, “A DEVELOPMENT OF PORTABLE FLUID WARMER FOR SURGICAL,” Int. J. Appl. Biomed. Eng., vol. 11, no. 2, pp. 16–20, 2018.

F. C. S. Arisgraha, B. Trisnawan, and Supadi, “Optimizing the utilization of heat energy in blood transfusion warmer using closed system method,” AIP Conf. Proc., vol. 2314, no. December, 2020, doi: 10.1063/5.0034908.

S. P, S. D.N, and P. B, “Temperature Control using Fuzzy Logic,” Int. J. Instrum. Control Syst., vol. 4, no. 1, pp. 1–10, 2014, doi: 10.5121/ijics.2014.4101.

F. H. Purwanto, E. Utami, and E. Pramono, “Implementation and Optimization of Server Room Temperature and Humidity Control System using Fuzzy Logic Based on Microcontroller,” J. Phys. Conf. Ser., vol. 1140, no. 1, pp. 390–395, 2018, doi: 10.1088/1742-6596/1140/1/012050.

Y. Ghadi, E. Radwan, and K. S. Al-olimat, “Functions of fuzzy logic based controllers used in smart building,” Int. J. Electr. Comput. Eng., vol. 12, no. 3, June, pp. 3061–3071, 2022, doi: 10.11591/ijece.v12i3.pp3061-3071.

Q. Bu et al., “The effect of fuzzy PID temperature control on thermal behavior analysis and kinetics study of biomass microwave pyrolysis,” J. Anal. Appl. Pyrolysis, vol. 158, no. April, p. 105176, 2021, doi: 10.1016/j.jaap.2021.105176.


A. Vulpe, C. Lupu, and C. Mihai, “Research on infrared body temperature measurement - Virus spreading prevention,” Proc. 12th Int. Conf. Electron. Comput. Artif. Intell. ECAI 2020, vol. 2, no. February 2021, 2020, doi: 10.1109/ECAI50035.2020.9223195.

J. S. E. Chaglla, N. Celik, and W. Balachandran, “Measurement of core body temperature using graphene-inked infrared thermopile sensor,” Sensors (Switzerland), vol. 18, no. 10, pp. 1–8, 2018, doi: 10.3390/s18103315.

Yudistira Marsya Puvindra, Arief Marwanto, Eka Nuryanto Budisusila, and V. Abdullayev, “Enhancement Drip Dose Infusion Accuracy Based on Optocoupler and Microcontroller Sensor,” Int. J. Adv. Heal. Sci. Technol., vol. 2, no. 4, pp. 267–273, 2022, doi: 10.35882/ijahst.v2i4.135.

A. N. Fathoni, N. Hudallah, R. D. M. Putri, K. Khotimah, T. Rijanto, and M. Ma’Arif, “Design Automatic Dispenser for Blind People based on Arduino Mega using DS18B20 Temperature Sensor,” Proceeding - 2020 3rd Int. Conf. Vocat. Educ. Electr. Eng. Strength. Framew. Soc. 5.0 through Innov. Educ. Electr. Eng. Informatics Eng. ICVEE 2020, vol. 5, no. 4, 2020, doi: 10.1109/ICVEE50212.2020.9243254.

T. Hariono, A. Mahdalena, and H. Ashoumi, “Automatic Water Temperature Control System In Hydroponic Plants With Peltier Tec1 12706 And Temperature Sensors,” Multidiscip. - Int. Conf. 2021, vol. 18, no. December, 2021, pp. 438–445, 2021.

P. S. Mahardika and A. A. N. Gunawan, “Modeling of water temperature in evaporation pot with 7 Ds18b20 sensors based on Atmega328 microcontroller,” Linguist. Cult. Rev., vol. 6, no. 6, pp. 184–193, 2022, doi: 10.21744/lingcure.v6ns3.2123.

S. S. Nair, V. Sreedevi, and D. S. Nagesh, “Warming of blood and intravenous fluids using low-power infra-red light-emitting diodes,” J. Med. Eng. Technol., vol. 45, no. 8, pp. 614–626, 2021, doi: 10.1080/03091902.2021.1936675.

Y. Hendrawan, D. K. Anta, A. M. Ahmad, and S. Malin, “Development of Fuzzy Control Systems in Portable Cultivation Chambers to Improve the Quality of Oyster Mushrooms,” IOP Conf. Ser. Mater. Sci. Eng., vol. 546, no. March, p. 8, 2019, doi: 10.1088/1757-899X/546/3/032013.

Y. T. Kwak, J. Yang, and Y. You, “Conversion of Body Temperature from Skin Temperature using Neural Network for Smart Band,” 2019 7th Int. Conf. Robot Intell. Technol. Appl. RiTA 2019, vol. 1–3, no. November, 2019, pp. 67–71, 2019, doi: 10.1109/RITAPP.2019.8932736.

M. P. O. Pires, M. A. S. Peterlini, A. J. Ullman, A. C. Bulmer, C. M. Rickard, and M. L. G. Pedreira, “Effect of warming and infusion of red blood cell concentrates on markers of haemolysis: An ex vivo simulation study,” Aust. Crit. Care, vol. 34, no. 3, pp. 235–240, 2021, doi: 10.1016/j.aucc.2020.08.003.

How to Cite
A. W. N. Hafizh, T. Hamzah, and S. Syaifudin, “Fuzzy Logic Temperature Control on Blood Warmer Equipped with Patient Temperature and Blood Temperature”, Indones.J.electronic.electromed.med.inf, vol. 6, no. 1, pp. 16-24, Feb. 2024.
Research Article