RANCANG BANGUN ALAT PENGUBAH RPM DARI PULSA ENCODER KE TEGANGAN

Bambang Supriyo, Sihono Sihono, Kusno Utomo, Bangun Krishna

Abstract


Abstrak 

Encoder adalah perangkat elektronik yang digunakan untuk mendeteksi jumlah putaran poros encoder yang direpresentasikan dalam bentuk pulsa. Setiap encoder memiliki jumlah pulsa per putaran (PPR) tertentu sesuai spesifikasinya. Berdasarkan PPR ini, jumlah putaran poros dapat dihitung. Pada penelitian ini, Arduino Uno diprogram untuk mengubah jumlah pulsa yang dihasilkan encoder menjadi kecepatan putarannya (RPM). RPM yang diatur pada kisaran 0 – 5000 diubah menjadi tegangan sebesar 0 – 5 Volt. Karena Arduino Uno tidak memiliki pin output analog, maka proses konversi RPM ke tegangan dilakukan menggunakan modul Digital to Analog Converter (DAC) 12-bit MCP4725. Proses ini menghasilkan grafik RPM fungsi tegangan. Berdasarkan grafik ini persamaan matematis yang mewakili proses konversi dari tegangan ke RPM dapat ditentukan. Hasilnya menunjukkan bahwa rata-rata persentase error antara RPM nyata dari mikrokontroler dengan RPM dihitung dari persamaan grafik adalah sekitar 0.83% 

Abstract 

An encoder is an electronic device used to detect the number of revolutions of its shaft which is represented in the form of pulses. Each encoder has a specific number of pulses per revolution (PPR). Based on this PPR, the number of revolutions of the shaft can be calculated. In this research, the Arduino Uno is programmed to convert the number of pulses produced by the encoder into its rotational speed (RPM). The RPM, which is set within the range of 0 – 5000, is then converted into its respective voltage of 0 – 5 Volts. Since the Arduino Uno does not have an analog output pin, the process of converting from RPM to voltage is carried out using the 12-bit MCP4725 Digital to Analog Converter (DAC) module. This process results in a graph of RPM as a function of voltage. Based on this graph the mathematical equation representing the conversion from voltage to RPM can be determined. The results show that the average percentage error between the real RPM obtained from the microcontroller and the calculated RPM from the graph equation is about 0.83 %. 


Keywords


encoder, arduino, pulsa, RPM, DAC

Full Text:

PDF

References


Akbar,I., Ismail, N., and Rachmilda, T. D. (2021) ‘Rancang Bangun PendeteksiPosisi Sudut dan Kecepatan Sesaat Dengan Menggunakan Rotary Encoder KY-040’, SENTER, pp. 287–293, Jan. 2021.

Algburi, R.N.A., and Gao, H. (2019) "Health Assessment and Fault Detection System for an Industrial Robot Using the Rotary Encoder

Signal". Energies 2019, 12, 2816. https://doi.org/10.3390/en12142816

Feng, T.; Chen, W.; Qiu, J.; Hao, S. (2021). "A New Kind of Absolute Magnetic Encoder". Sensors 2021, 21, 3095. https://doi.org/10.3390/ s21093095

Jia, H.-K., Yu, L.-D., Zhao, H.-N., Jiang, Y.-Z. A. (2019). "New Method of Angle Measurement Error Analysis of Rotary Encoders". Appl. Sci. 2019, 9, 3415. https://doi.org/10.3390/app9163415.

Lee, K., Choi, J., and Bang, Y. (2016). "Shaft position measurement using dual absolute encoders". Sensors and Actuators A: Physical, 238, 276–281. doi:10.1016/j.sna.2015.12.027

Lee, S. H., & Chia, K. S. (2017) "Navigating an Auto Guided Vehicle using Rotary Encoders and Proportional Controller". International Journal of Integrated Engineering, 9(2). Retrieved from https://penerbit.uthm.edu.my/ojs/index.php/ijie/article/view/1690

Ma’arif, A., Rahmat Setiawan, N., and Suci Rahayu, E. (2021) ’Embedded Control System of DC Motor Using Microcontroller Arduino and PID

Algorithm’. IT Journal Research and Development, 6(1), 30 - 42. https://doi.org/10.25299/itjrd.2021.vol6(1).6125

Oguntosin, V., and Akindele, A. (2019). "Design of a joint angle measurement system for the rotary joint of a robotic

arm using an Incremental Rotary Encoder". J. Phys.: Conf.

Ser. 1299 012108

Pang, Da-Chen, and Yi-Wei Lai. (2017). "Rapid Prototyping of a Micromotor with an Optical Rotary Encoder". Micromachines 8, no. 6: 174. https://doi.org/10.3390/mi8060174

Peerzada, P., Larik, W. H., and Mahar, A. A. (2021). "DC Motor Speed Control Through Arduino and L298N Motor Driver Using PID Controller". International Journal of Electrical Engineering &Amp; Emerging Technology, 4(2), 21–24. Retrieved from http://www.ijeeet.com/index.php/ijeeet/article/view/94

Riyadi, S.(2018). "Control Strategy for Switched Reluctance Motor With Rotary Encoder Based Rotor Position Detection". Advances in Electrical and Electronic Engineering, North America, 16, sep. 2018. Available at: . Date accessed: 02 Mar. 2023.

Rudnicki, Tomasz. (2019). "Measurement of the PMSM Shaft Position with An Absolute Encoder’. Electronics 8, no. 11: 1229. https://doi.org/10.3390/electronics8111229

Taufiqqurohman, M., and Sari, N. F. (2018). "Odometry Method and Rotary Encoder for Wheeled Soccer Robot". IOP Conf. Ser.: Mater. Sci. Eng. 407 012103

Top A, Gökbulut M. (2023) "A novel period–based method for the measurement direct current motor velocity using low-resolver encoder". Transactions of the Institute of Measurement and Control. 2023;45(4):711-722. doi:10.1177/01423312221122602

Zhao, M., and Lin, J.(2018) ‘Health Assessment of Rotating Machinery Using a Rotary Encoder‘. IEEE Transactions on Industrial Electronics, vol. 65, no. 3, pp. 2548-2556, March 2018, doi: 10.1109/TIE.2017.2739689.




DOI: http://dx.doi.org/10.32497/orbith.v20i2.5771

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License. View My Stats