DECISION-TREE SUPERVISORY CONTROL OF FUEL TRANSFER AND HEATING FOR A TUGBOAT DAILY SERVICE TANK: PROTOTYPE DESIGN AND VALIDATION
DOI:
https://doi.org/10.35314/nbzkr004Keywords:
Decision tree, Information gain, Daily service tank, Variable frequency drive, Fuel transfer controlAbstract
On the tugboat TB. BMJ 09, fuel is still transferred manually from the main tank to the daily service tank, which exposes the ship to overflow, delayed refuelling and crew error, and the tank has no temperature supervision. This study designs and validates a prototype in which an ESP32 microcontroller applies a decision-tree rule base to two ultrasonic level sensors and a type-K thermocouple, and commands a variable frequency drive (VFD) pump and two heaters. The tree was induced from 42 labelled operating states with six combined output classes. Information gain favoured fuel level (1.299 bits) over temperature (0.994 bits), whereas the gain ratio of C4.5 favoured temperature (0.866 versus 0.820), which was adopted as the root because it isolates an all-off safety branch above the 50 °C set point. The implemented controller reproduced the expected action in all 18 test states: full pump speed below 15 cm, reduced speed from 15 to 27 cm, stop at 27 cm (90% fill), and heater switching at 50 °C. Without the rule base, the pump kept running above 27 cm and the heater stayed on up to 57 °C. The approach offers transparent, verifiable supervisory logic for small-ship fuel systems.






