Setiowati, Enggar Setiowati (2026) Pengembangan Sistem Motor Valve Dengan Komunikasi UART dan SPI. Diploma thesis, Institut Teknologi Sepuluh Nopember.
|
Text
2042221099_Undergraduate_Thesis.pdf - Accepted Version Restricted to Repository staff only Download (4MB) | Request a copy |
Abstract
Pengembangan sistem kendali motor valve berbasis mikrokontroler menjadi salah satu solusi yang berpotensi mendukung otomasi industri. Namun, sistem kendali yang umum digunakan masih mengandalkan sinyal analog atau pengoperasian manual sehingga membatasi fleksibilitas, efisiensi, dan presisi pengendalian. Penelitian ini bertujuan mengembangkan sistem kendali motor valve berbasis mikrokontroler menggunakan protokol komunikasi serial Universal Asynchronous Receiver Transmitter (UART) dan Serial Peripheral Interface (SPI) yang diintegrasikan dengan Arduino Uno R3, ESP32-WROOM-32, dan LabVIEW. Sistem menggunakan motor stepper NEMA17 dengan driver TMC2209 sebagai aktuator globe valve tipe quick-opening, sedangkan optical rotary encoder digunakan sebagai sensor umpan balik posisi valve. Kinerja sistem dievaluasi melalui pengujian respons transien (settling time), kondisi aktual bukaan valve, serta performa kontrol valve berdasarkan parameter flowrate dan pressure drop.Hasil pengujian menunjukkan bahwa komunikasi UART menghasilkan waktu respons sebesar 3,898 – 4,846 detik, sedangkan komunikasi SPI sebesar 4,99 – 5,65 detik. Selain itu, komunikasi UART menghasilkan kondisi aktual bukaan valve yang sedikit lebih mendekati nilai input dibandingkan SPI. Pada pengujian performa kontrol valve, kedua protokol menghasilkan flowrate yang relatif sama pada bukaan valve 75%–100%, dengan selisih hanya 0,02 – 0,12 L/min, sedangkan komunikasi UART menghasilkan pressure drop yang sedikit lebih rendah dengan selisih rata-rata sekitar 1,43 psia dibandingkan SPI. Berdasarkan hasil tersebut, komunikasi UART menunjukkan keunggulan pada aspek kecepatan respons dan akurasi bukaan valve, namun secara keseluruhan kedua protokol tetap mampu mengendalikan motor valve dengan baik dan menghasilkan karakteristik aliran fluida yang konsisten dengan teori karakteristik control valve, sehingga baik UART maupun SPI layak diterapkan pada sistem kendali motor valve berbasis komunikasi serial digital sesuai kebutuhan aplikasi, yaitu UART untuk sistem yang mengutamakan kecepatan respons dan kesederhanaan wiring, atau SPI untuk sistem yang memerlukan komunikasi banyak perangkat (multi-slave) dalam satu jalur kontrol.
=================================================================================================================================
The development of a microcontroller-based valve motor control system is a promising solution for supporting industrial automation. However, commonly used control systems still rely on analog signals or manual operation, which limits flexibility, efficiency, and control precision. This research aims to develop a microcontroller-based valve motor control system using the Universal Asynchronous Receiver-Transmitter (UART) and Serial Peripheral Interface (SPI) serial communication protocols, integrated with an Arduino Uno R3, ESP32-WROOM-32, and LabVIEW. The system uses a NEMA17 stepper motor with a TMC2209 driver as the actuator for a quick-opening type globe valve, while an optical rotary encoder serves as the valve position feedback sensor. System performance was evaluated through transient response testing based on settling time, actual valve opening conditions, and valve control performance using flow rate and pressure drop parameters. The test results show that UART communication produced a response time of 3.898–4.846 seconds, while SPI communication produced a response time of 4.99–5.65 seconds. In addition, UART communication resulted in actual valve opening conditions that were slightly closer to the input values compared with SPI. In the valve control performance test, both protocols produced relatively similar flow rates at valve openings of 75%–100%, with a difference of only 0.02–0.12 L/min, while UART communication produced a slightly lower pressure drop, with an average difference of approximately 1.43 psia compared with SPI. Based on these results, UART communication demonstrated advantages in terms of response speed and valve opening accuracy. However, overall, both protocols were able to control the valve motor effectively and produced fluid flow characteristics consistent with control valve characteristic theory. Therefore, both UART and SPI are suitable for implementation in serial digital communication-based valve motor control systems, depending on application requirements. UART is preferable for systems prioritizing response speed and simpler wiring, whereas SPI is more suitable for systems requiring communication with multiple devices (multi-slave) through a single control line.
| Item Type: | Thesis (Diploma) |
|---|---|
| Uncontrolled Keywords: | KMotor Valve, UART, SPI, Komunikasi Serial Digital, Optical Rotary Encoder, digital serial communication, optical rotary encoder Keywords: motor valve, UART, SPI, digital serial communication, optical rotary encoder. |
| Subjects: | T Technology > TJ Mechanical engineering and machinery > TJ223.A25 Actuators. |
| Divisions: | Faculty of Vocational > Instrumentation Engineering |
| Depositing User: | Enggar Setiowati |
| Date Deposited: | 26 Aug 2026 00:45 |
| Last Modified: | 26 Aug 2026 00:45 |
| URI: | http://repository.its.ac.id/id/eprint/144384 |
Actions (login required)
![]() |
View Item |
