Buletin Ilmiah Sarjana Teknik Elektro ISSN: 2685-9572
Internet of Things (IoT) Based Speed Monitoring System for Electric Cars
Rean Andhika Putra, Alfian Ma’arif
Department of Electrical Engineering, Universitas Ahmad Dahlan, Yogyakarta, Indonesia
ARTICLE INFORMATION | ABSTRACT | ||
Article History: Submitted 08 July 2024 Revised 10 August 2024 Accepted 10 August 2024 | The electric cars that have been made are also being competed at national events such as the FESC IIMS 2022 event in Jakarta and the Inter-College Electric Car Joint Training by the Ministry of Public Works and Public Housing (PUPR) in the context of the 2022 Road Day and the Indonesian Electric Car Contest (KMLI) at the Bandung State Polytechnic in Bandung until now. For the sustainability of electric cars, various research still needs to be carried out to achieve optimal electrical system design. Here, Ahmad Dahlan University's electric cars can operate at speeds above 30,000 rpm when monitored using a speedometer, but here there is no design for a long-distance speed monitoring system, therefore team colleagues who are in the paddock during the competition are not yet able to monitor the speed from inside the paddock. This system needs to be used during the race so that team mates in the paddock during the race can also monitor the speed of the Electric Car during the race when the race starts. This system is used using the Internet of Things (IoT) method because IoT can display speed data via a laptop and can implement a remote monitoring system. Therefore, in this final report, we will discuss how to design and implement a speed monitoring system for electric cars based on the Internet of Things (IoT). To get the best results and as expected, the design of this system refers to various sources. Where the input component is the detection from the Optocoupler Sensor after detecting the wheel speed, then the data is processed via Arduino using program initiation on the Arduino ide, after that the output will be generated on the I2C LCD and also the output will be displayed on IoT Things Speak because IoT itself, you have to use an internet signal, so here we add the sim800l component which is used to send Arduino data to Thingspeak via the sim800l internet intermediary. This tool was created with the aim of ensuring that the Al-Qorni UAD electric car continues to develop and has an advanced technological system. | ||
Keywords: KMLI; Electric-Vehicle; Arduino; Internet of Things | |||
Corresponding Author: Alfian Ma’arif, Department of Electrical Engineering, Universitas Ahmad Dahlan, Yogyakarta, Indonesia. Email: alfian_maarif@ieee.org | |||
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 | |||
Document Citation: R. A. Putra and A. Ma’arif, “Internet of Things (IoT) Based Speed Monitoring System for Electric Cars,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 6, no. 2, pp. 182-189, 2024, DOI: 10.12928/biste.v6i2.11317. |
Electric cars have been created and developed by many well-known car manufacturers outside Indonesia, and have been widely used by humans in everyday life. Electric cars can be combined with electronic components which have an important role in testing and in use and use [1]-[3]. The rise in popularity of electric cars has attracted the interest of world automotive companies and also universities to develop them [4][5]. The absence of ownership rights to electric cars has made several universities in Indonesia compete to develop them. Manufacturing of electric cars at Ahmad Dahlan University has started in 2019.
The implementers in making this electric car are students from the Faculty of Teacher Training and Education, Automotive Technology Vocational Education Study Program and the Faculty of Industrial Technology, Electrical Engineering Study Program, which started by taking part in a Comparative Study at the 2019 Indonesian Electric Car Contest at the Bandung State Polytechnic [6]-[9]. The support and role of the Academic Community of the Teacher Training and Education Faculty and the Faculty of Industrial Technology in making electric cars increased the enthusiasm of students to produce an electric car called ADEV 01 with the name Al-Qorni Team. The electric cars that have been made are also being competed at national events such as the FESC IIMS 2022 event in Jakarta and the Inter-College Electric Car Joint Training by the Ministry of Public Works and Public Housing (PUPR) in the context of the 2022 Road Day and the Indonesian Electric Car Contest (KMLI) at the Bandung State Polytechnic in Bandung until now.
For the sustainability of electric cars, various research still needs to be carried out to achieve optimal electrical system design [10]-[13]. Here, Ahmad Dahlan University's electric cars can operate at speeds above 30,000 rpm when monitored using a speedometer, but here there is no design for a long-distance speed monitoring system, therefore team colleagues who are in the paddock during the competition are not yet able to monitor the speed from inside the paddock [14]-[17]. This system needs to be used during the race so that team mates in the paddock during the race can also monitor the speed of the Electric Car during the race when the race starts. This system is used using the Internet of Things (IoT) method because IoT can display speed data via a laptop and can implement a remote monitoring system [18]-[20]. Therefore, in this final report, we will discuss how to design and implement a speed monitoring system for electric cars based on the Internet of Things (IoT). From the things explained above, the author chose the title SPEED MONITORING SYSTEM IN ELECTRIC CARS BASED ON Internet of Things (IoT).
The flowchart or flow diagram begins with How the system works, namely a 48 V battery is connected to a DC 12 V step down converter, after that a DC 12V converter is used to reduce the voltage from 48V to 12V. then the output from the 12V converter is connected again to the input of the DC to 5V converter, the DC to 5V converter is used to reduce the voltage from 12V to 5V. After that, we input the output from the converter + to 5V from the Arduino and we input the - to GND Arduino. And here I use an optocoupler sensor which is used to detect speed on the wheels of an electric car, + sensor enters 5V Arduino and sensor data enters pin 2 on Arduino then - sensor enters GND Arduino. If the sensor has detected the wheel speed, the results of the sensor output that have been processed by the Arduino will be displayed on the I2C LCD. after that here I use sim800l, which is used as a long distance internet intermediary which is used to produce speed output on IoT (Internet of Things) on Things Speak, so the sensor detects the speed of the wheels on the car, after that it is processed via Arduino and will be displayed on I2C, and also Arduino send speed data to sim800l as an internet intermediary and sim800l sends data to IoT after which speed data will be displayed graphically and digitally and also a speedometer via Things Speak. The flow diagram and block diagram of the Adev 01 Monalisa vehicle condition monitoring system can be seen in Figure 1 and Figure 2.
Figure 1. Flowchart
.
Figure 2. Blok Diagram
Hardware design continues by creating a wiring diagram of the components used. A wiring diagram is the process of connecting components using cables or PCB boards so that they can be connected from one component to another. All components must be connected to the Arduino UNO microcontroller. Specifications and wiring diagrams can be seen in Table 1 and Figure 3.
Tabel 1. Wiring diagram specifications
No | Arduino Uno | Speed Sensor | Sim800l | LCD I2C | Converter 5V |
1 | Pin 2 | D0 | - | - | - |
2 | Pin 6 | - | TX | - | |
3 | Pin 7 | - | RX | - | |
4 | A4 | - | - | SDA | |
5 | A5 | - | - | SCL | |
6 | GND | Negative | Negative | Negative | Negative |
7 | 5V | VCC | VCC | VCC | OUT 5V |
Figure 3. Wiring diagram
Sensor calibration is carried out to test the accuracy of the sensors used in the system. This is done to reduce errors that occur when the system is used. The calibration process is carried out using the help of an I2C LCD. Calibration is carried out by comparing the values read by the speed sensor with IoT and the speed sensor with I2C LCD. The data obtained is displayed in Table 2.
Speed sensor calibration produces good data with minimal differences. Calibration data collection was carried out for 10 data. With an interval of 15 seconds. This shows that the calibration carried out has been successful as desired. The data obtained from the calibration results are made in the form of a graph shown in Figure 4 and Figure 5.
Tabel 2. Speed sensor calibration results
No | Speed On IoT | Speed On 12C LCD | Data Difference |
1 | 815 | 815 | 0 |
2 | 900 | 900 | 0 |
3 | 1025 | 1025 | 0 |
4 | 1075 | 1075 | 0 |
5 | 1320 | 1320 | 0 |
6 | 1370 | 1370 | 0 |
7 | 1445 | 1445 | 0 |
8 | 1485 | 1485 | 0 |
9 | 1490 | 1490 | 0 |
10 | 2435 | 2435 | 0 |
Average | 1334.5 | 1334.5 | 0 |
Figure 4. sensor calibration data on Things Speak and LCD I2C | Figure 5. Graphics On Things Speak |
IoT calibration is carried out to test the accuracy of the sensors used in this method. This is done to reduce errors that occur when the system is used. The calibration process is carried out using the same Tachometer to detect wheel rotation. Calibration is carried out by comparing the values read by the sensor with the Tachometer. The results of testing the car in stationary conditions can be seen in Table 3.
Speed sensor calibration produces good data with minimal differences. Calibration data collection was carried out for 10 data. With an interval of 15 seconds. The average difference is not good, namely with an average difference of 99.09. This shows that the calibration carried out has been successful as desired. This shows that the calibration carried out is not according to what was desired. The data obtained from the test results are made in the form of a graph shown in Figure 6.
Tabel 3. Internet of Things Calibration
No | Speed Data On IoT and 12C | Speed On Tachometer | Data Difference |
1 | 815 | 8399 | 24.9 |
2 | 900 | 993.1 | 93.1 |
3 | 1025 | 1066.2 | 41.2 |
4 | 1075 | 1145.5 | 70.5 |
5 | 1320 | 1466.2 | 146.2 |
6 | 1370 | 1477.4 | 107.4 |
7 | 1445 | 1588 | 110.5 |
8 | 1485 | 1590 | 97 |
9 | 1490 | 1600.1 | 110.1 |
10 | 2435 | 2625 | 190 |
Average | 1334.5 | 1433.59 | 99.09 |
Figure 6. Internet of Things calibration graph
Testing the car in slow condition is carried out to see the response of the car when the car is running slowly. However, the car was running but in jackstand condition. The parameter observed is the speed of the car up to how many rpm, the speed will be displayed on IoT once every 15 seconds because on IoT, the speed of the car is also observed with a Tachometer which is used to compare the values between the results on IoT and the Tachometer. The results of testing the car in stationary conditions can be seen in Table 4.
Testing the speed data of the Adev 01 Monalisa electric car, the data generated on IoT produces good data by testing the car data when conditions are slow, carrying out 10 data. With an interval of 30 seconds. The average difference produced in the speed data on the speed data shows 97.53 rpm. This shows that the data testing carried out has been successful as desired. This shows that the data testing carried out has been successful as desired. The data obtained from the test results is made in graphic form which is displayed in Figure 7.
Tabel 4. Car data test results in low speed conditions
No | Speed on Tachometer | Speed on IoT and 12C LCD | Data Difference |
1 | 100 | 180 | 80 |
2 | 103.1 | 186.5 | 83.4 |
3 | 105 | 190 | 85 |
4 | 110 | 215 | 105 |
5 | 111.9 | 218.8 | 106.9 |
6 | 117 | 220 | 103 |
7 | 120.1 | 222.1 | 102 |
8 | 125.5 | 226.5 | 101 |
9 | 126 | 230.5 | 104.5 |
10 | 128.5 | 233 | 104.5 |
Average | 114.71 | 212.24 | 97.53 |
Figure 7. Graph of test data in low speed conditions
Testing the car at medium speed or 50% is carried out to see the response of the car when it is on 50% gas. The parameters observed are the current on the speed instrument on the IoT and 12C LCD. The parameter observed is the speed of the car up to how many rpm, the speed will be displayed on IoT once every 15 seconds because on IoT, the speed of the car is also observed with a Tachometer which is used to compare the values between the results on IoT and the Tachometer. The results of testing the car in stationary conditions can be seen in Table 5.
Testing the speed data of the Adev 01 Monalisa electric car, the data generated on IoT produces good data by testing the car data when conditions are slow, carrying out 10 data. With an interval of 30 seconds. The average difference produced in the speed data on the speed data shows 60.49 rpm. This shows that the data testing carried out has been successful as desired. The data obtained from the test results are made in graphic form which is displayed in Figure 8.
Tabel 5. Car data test results in 50% speed conditions
No | Speed On Tachometer | Speed On IoT and 12C LCD | Data Difference |
1 | 715 | 750 | 35 |
2 | 720.5 | 755 | 34.5 |
3 | 723.3 | 790 | 66.7 |
4 | 726 | 802 | 76 |
5 | 764.5 | 823.1 | 58.6 |
6 | 768 | 8412 | 73.2 |
7 | 770 | 852 | 82 |
8 | 781 | 871.9 | 90.9 |
9 | 815 | 880 | 65 |
10 | 900 | 923 | 23 |
Average | 768.33 | 828.82 | 60.49 |
Figure 8. Data test graph under 50% speed condition
Testing the car in high speed conditions was carried out to see the response of the car when it was on 100% gas. The parameters observed are the current on the speed instrument on the IoT and 12C LCD. The parameter observed is the speed of the car up to how many rpm, the speed will be displayed on IoT once every 15 seconds because on IoT, the speed of the car is also observed with a Tachometer which is used to compare the values between the results on IoT and the Tachometer. The results of testing the car in stationary conditions can be seen in Table 6.
Testing the speed data of the Adev 01 Monalisa electric car, the data generated on IoT produces good data by testing the car data when conditions are slow, carrying out 10 data. With an interval of 30 seconds. The average difference produced in the speed data on the speed data shows 97.53 rpm. This shows that the data testing carried out has been successful as desired. The data obtained from the test results is made in graphic form which is displayed in Figure 9.
Tabel 6. Car data test results in high speed conditions
No | Speed On Tachometer | Speed On IoT and 12C LCD | Data Difference |
1 | 1445 | 1540.5 | 80 |
2 | 1485 | 1582 | 83.4 |
3 | 1490 | 1600.1 | 85 |
4 | 2435 | 2625 | 105 |
5 | 2535 | 2755 | 106.9 |
6 | 2717.1 | 2871 | 103 |
7 | 2962 | 3115.1 | 102 |
8 | 3114 | 3261 | 101 |
9 | 3245 | 3350 | 104.5 |
10 | 3441.9 | 3542 | 104.5 |
Average | 2487 | 2624.17 | 97.53 |
Figure 9. Data test graph in High speed conditions
The reading tests that have been carried out produce quite varied responses, but are still within normal limits. This shows that the tests carried out have been successfully carried out well. The conclusion is that the prototype speed monitoring system for electric cars based on the Internet of Things can function well and can display some car speed data.
The Internet of Things-based speed monitoring system for electric cars implements real-time data display using the Arduino Uno microcontroller and IoT methods as data display devices. As a result, the tool created can display data accurately, with the display data being displayed at all times as long as the power supply receives power input. The speed monitoring system for electric cars based on the Internet of Things is designed and made cheaply with smart technology which can later be developed well and can be used to roduce good and precise displays.
Based on the research that has been carried out, several conclusions can be drawn, namely. The speed monitoring system in electric cars based on the Internet of Things (IoT) can function well and can display speed remotely. This tool displays data in real time using the Arduino Uno microcontroller and sim800l as a device to send Internet of Things data to Thing Speak remotely. As a result, the tool created can display speed data accurately with the display data being displayed every time as long as the power supply is receiving power input.
REFERENCES
Internet of Things (IoT) Based Speed Monitoring System for Electric Cars (Rean Andhika Putra)