Kualitas air, khususnya parameter ph, merupakan salah satu faktor kunci yang menentukan keberhasilan dalam budidaya ikan nila (oreochromis niloticus). nilai ph yang terlalu rendah atau tinggi dapat menyebabkan stres, menghambat pertumbuhan, bahkan meningkatkan risiko kematian pada ikan. kontrol ph secara manual dinilai kurang efisien, terutama dalam skala budidaya kecil hingga menengah. oleh karena itu, penelitian ini mengusulkan perancangan sistem kontrol ph air secara otomatis menggunakan metode logika fuzzy sugeno berbasis mikrokontroler esp32. sistem ini menggunakan sensor ph untuk membaca kondisi air secara real-time, kemudian mengolah data tersebut ke dalam tiga kategori linguistik, yaitu asam (ph ≤ 6,5), netral (ph 6,0 – 8,0), dan basa (ph ≥ 7,5). fungsi keanggotaan dirancang secara hybrid, yakni fungsi trapesium untuk kategori asam dan basa, serta fungsi segitiga untuk kategori netral guna mendapatkan respons yang lebih halus namun tetap adaptif. output dari sistem fuzzy berupa nilai pulse width modulation (pwm) dengan semesta pembicaraan 210 hingga 255 untuk mengendalikan pompa larutan basa (naoh) dan larutan asam (hcl). pompa akan mati (berhenti beroperasi) pada nilai pwm 210 ketika kondisi air telah mencapai rentang target stabil (ph 6,5–7,5). sebaliknya, pompa akan bekerja menyesuaikan tingkat penyimpangan ph air; pompa beroperasi melambat pada rentang pwm 211–254 saat ph mulai mendekati target guna mencegah lonjakan (overshoot), dan bekerja dengan kecepatan penuh pada pwm 255 ketika ph air berada > 7,5. hasil pengujian menunjukkan bahwa sensor ph memiliki tingkat akurasi yang memadai dengan rata-rata galat sebesar 0,3215%, serta nilai mean squared error (mse) sebesar 0,0095 dan root mean squared error (rmse) sebesar 0,0308. secara keseluruhan, sistem kontrol yang dirancang mampu menjaga kestabilan ph air kolam secara otomatis, efisien, dan aman bagi kelangsungan hidup ikan nila.
Electronic Theses and Dissertation
Universitas Syiah Kuala
SKRIPSI
SISTEM KONTROL PH AIR PADA BUDIDAYA IKAN NILARNMENGGUNAKAN METODE LOGIKA FUZZY. Banda Aceh Fakultas Teknik,2026
Baca Juga : SISTEM KENDALI NUTRISI DAN PENYIRAMAN SELADA AEROPONIK MENGGUNAKAN FUZZY LOGIC (Cut Arifa Ulwan, 2025)
Abstract
Water quality, particularly the pH parameter, is one of the key factors determining success in tilapia (Oreochromis niloticus) aquaculture. pH levels that are too low or too high can cause stress, inhibit growth, and increase the risk of mortality in fish. Manual pH control is considered inefficient, especially in smallto-medium-scale aquaculture. Therefore, this study proposes the design of an automatic water pH control system using the Sugeno fuzzy logic method based on an ESP32 microcontroller. This system utilizes a pH sensor to monitor water conditions in real-time, then processes the data into three linguistic categories: Acidic (pH ≤ 6.5), Neutral (pH 6.0 – 8.0), and Basic (pH ≥ 7.5). The membership functions are designed using a hybrid approach: trapezoidal functions for the Acidic and Basic categories, and triangular functions for the Neutral category to achieve a smoother yet adaptive response. The output of the fuzzy system is a Pulse Width Modulation (PWM) value with a universe of discourse of 210 to 255 to control the alkaline solution (NaOH) and acidic solution (HCl) pumps. The pumps turn off (stop operating) at a PWM value of 210 when the water condition has reached the stable target range (pH 6.5 – 7.5). Conversely, the pumps operate proportionally based on the level of pH deviation; decelerating within the PWM range of 211–254 as the pH approaches the target to prevent overshoot, and operates at maximum speed at PWM 255 when the pH value is > 7.5. Test results show that the pH sensor has an adequate level of accuracy with an average error of 0.3215%, a Mean Squared Error (MSE) of 0.0095, and a Root Mean Squared Error (RMSE) of 0.0308. Overall, the designed control system is capable of maintaining pond water pH stability automatically, efficiently, and safely for the survival of tilapia.
Baca Juga : ANALISIS DAN RANCANGAN SISTEM FUZZY DALAM PENGKLASIFIKASIAN TINGKAT KEMISKINAN DI PROVINSI ACEH (NUZUL FAZMI, 2019)