LabVIEW_Integrated_with_Python_Machine_Learning_for_DC_Motor_Drive
LabVIEW_Integrated_with_Python_Machine_Learning_for_DC_Motor_Drive
&
+,-. = / ∑07=&( 234526,7 − 9:;<734,7 )
' (3)
0
(a) (b)
(a)
(c) (d)
Fig. 4 The X-PWM(%), Y-RPM graph plotted by LabVIEW
shows the relationship between the PWM(%) and the RPM
values read back from the encoder : (a) 25GA371 DC Motor
without load, (b) 25GA371 DC Motor with load, (c) GA25370 DC
Motor without load, (d) GA25370 DC Motor with load
(b)
Polynomial Degree
System Condition
1 2 3 4
Authorized licensed use limited to: Rajamangala Univ of Technology Thanyaburi provided by UniNet. Downloaded on March 03,2025 at 01:45:02 UTC from IEEE Xplore. Restrictions apply.
361
TABLE II. RMSE CALCULATION BETWEEN DESIRE RPM VS. ACTUAL RPM B. Machine Learning DC Motor Drive Comparing with
25GA371 NO LOAD Conventional PID Control
TABLE IV. RMSE CALCULATION BETWEEN DESIRE RPM VS. ACTUAL RPM
GA25-370 NO LOAD
Authorized licensed use limited to: Rajamangala Univ of Technology Thanyaburi provided by UniNet. Downloaded on March 03,2025 at 01:45:02 UTC from IEEE Xplore. Restrictions apply.
362
Science, Electric Engineering and Computer (MEC), Jilin, China, 2011,
V. CONCLUSION pp. 1143-1146, doi: 10.1109/MEC.2011.6025669.
[10] A. Navada, A. N. Ansari, S. Patil and B. A. Sonkamble, "Overview of
This study successfully demonstrated the combination use of decision tree algorithms in machine learning," 2011 IEEE
of LabVIEW and Python to enhance the capabilities of DC Control and System Graduate Research Colloquium, Shah Alam,
motor drive control. Using the Scikit-learn Python package, we Malaysia, 2011, pp. 37-42, doi: 10.1109/ICSGRC.2011.5991826.
employed polynomial regression as a machine learning [11] J. J. Hopfield, "Artificial neural networks," in IEEE Circuits and
technique [23] to predict the PWM (Pulse Width Modulation) Devices Magazine, vol. 4, no. 5, pp. 3-10, Sept. 1988, doi:
10.1109/101.8118.
percentage command required to achieve the desired speed
[12] J. Oyelade et al., "Data Clustering: Algorithms and Its
(RPM) of a DC motor. This approach was compared with Applications," 2019 19th International Conference on Computational
conventional PID control, which typically has higher overshoot Science and Its Applications (ICCSA), St. Petersburg, Russia, 2019, pp.
and requires more time to reach the target RPM value. The 71-81, doi: 10.1109/ICCSA.2019.000-1.
conventional method also involves complex fine-tuning of P, I, [13] D. Kinaneva, G. Hristov, P. Kyuchukov, G. Georgiev, P. Zahariev and
R. Daskalov, "Machine Learning Algorithms for Regression Analysis
and D values to reduce overshoot and quickly reach the RPM and Predictions of Numerical Data," 2021 3rd International Congress
set point. The machine learning concept introduced in this on Human-Computer Interaction, Optimization and Robotic
paper addresses these issues. The smooth interface between Applications (HORA), Ankara, Turkey, 2021, pp. 1-6, doi:
LabVIEW and Python enabled rapid data transmission and 10.1109/HORA52670.2021.9461298.
model training, signifying a significant advancement in control [14] H. Li and S. Yamamoto, "Polynomial regression based model-free
predictive control for nonlinear systems," 2016 55th Annual
system design. Polynomial regression yielded positive results Conference of the Society of Instrument and Control Engineers of
in predicting the PWM % value. The accuracy of the model was Japan (SICE), Tsukuba, Japan, 2016, pp. 578-582, doi:
evaluated by comparing the observed and predicted values, 10.1109/SICE.2016.7749264.
utilizing the Root Mean Square Error (RMSE). The attained [15] C. -p. Hwang, M. -S. Chen, C. -M. Shih, H. -Y. Chen and W. K. Liu,
RMSE is within 19 serves as a benchmark for assessing the "Apply Scikit-Learn in Python to Analyze Driver Behavior Based on
OBD Data," 2018 32nd International Conference on Advanced
predictive capabilities of our integrated system. This study Information Networking and Applications Workshops (WAINA),
establishes a solid foundation for the partnership between Krakow, Poland, 2018, pp. 636-639, doi:
LabVIEW and Python in the realm of machine learning-driven 10.1109/WAINA.2018.00159.
control systems. [16] C. Shang and Z. Li, "Research on the Change Rule of the Proportion of
the Added Value of Circulation Industry in GDP -- Based on nonlinear
ACKNOWLEDGMENT regression model and logarithmic model," 2020 Management Science
Informatization and Economic Innovation Development Conference
Rajamangala University of Technology Thanyaburi (MSIEID), Guangzhou, China, 2020, pp. 534-537, doi:
provided tremendous help by offering research facilities for 10.1109/MSIEID52046.2020.00108.
this study. We would like to express our profound [17] T. Bakibayev and A. Kulzhanova, "Common Movement Prediction
appreciation to all the individuals and entities who made using Polynomial Regression," 2018 IEEE 12th International
contributions to this research. Conference on Application of InformaT. Bakibayev and A.
Kulzhanova, "Common Movement Prediction using Polynomial
Regression," 2018 IEEE 12th International Conference on Application
of Information and Communication Technologies (AICT), Almaty,
REFERENCES Kazakhstan, 2018, pp. 1-4, doi: 10.1109/ICAICT.2018.8747047.
[1] R. Jamal and L. Wenzel, "The applicability of the visual programming [18] H. F. Weber, "Pulse-Width Modulation DC Motor Control," in IEEE
language LabVIEW to large real-world applications," Proceedings of Transactions on Industrial Electronics and Control Instrumentation,
Symposium on Visual Languages, Darmstadt, Germany, 1995, pp. 99- vol. IECI-12, no. 1, pp. 24-28, March 1965, doi:
106, doi: 10.1109/VL.1995.520791. 10.1109/TIECI.1965.229545.
[2] F. Dubosson, S. Bromuri and M. Schumacher, "A Python Framework [19] Z. Xu and Y. Kang, "PWM speed DC motor drive power design," 2016
for Exhaustive Machine Learning Algorithms and Features 31st Youth Academic Annual Conference of Chinese Association of
Evaluations," 2016 IEEE 30th International Conference on Advanced Automation (YAC), Wuhan, China, 2016, pp. 419-423, doi:
Information Networking and Applications (AINA), Crans-Montana, 10.1109/YAC.2016.7804930.
Switzerland, 2016, pp. 987-993, doi: 10.1109/AINA.2016.160.
[20] N. Sri Sai et al., "Efficient design of 8×8×8 LED Cube with Low
[3] H. Yu, "Application of in DC Motor Control Method in Intelligent Power consumption using Arduino UNO," 2020 11th International
Vehicles and Robots," 2022 IEEE 5th International Conference on Conference on Computing, Communication and Networking
Automation, Electronics and Electrical Engineering (AUTEEE), Technologies (ICCCNT), Kharagpur, India, 2020, pp. 1-6, doi:
Shenyang, China, 2022, pp. 1018-1021, doi: 10.1109/ICCCNT49239.2020.9225332.
10.1109/AUTEEE56487.2022.9994475.
[21] C. Reyes, T. Hilaire, S. Paul and C. F. Mecklenbräuker, "Evaluation of
[4] M. Kaur, A. Kumar Shukla and S. Kaur, "An Introduction to Machine the root mean square error performance of the PAST-Consensus
Learning in a Nutshell," 2021 10th International Conference on algorithm," 2010 International ITG Workshop on Smart Antennas
System Modeling & Advancement in Research Trends (SMART), (WSA), Bremen, Germany, 2010, pp. 156-160, doi:
MORADABAD, India, 2021, pp. 17-22, doi: 10.1109/WSA.2010.5456452.
10.1109/SMART52563.2021.9676315.
[22] N. Shabbir, R. Amadiahangar, H. A. Raja, L. Kütt and A. Rosin,
[5] S. Angra and S. Ahuja, "Machine learning and its applications: A "Residential Load Forecasting Using Recurrent Neural Networks,"
review," 2017 International Conference on Big Data Analytics and 2020 IEEE 14th International Conference on Compatibility, Power
Computational Intelligence (ICBDAC), Chirala, Andhra Pradesh, Electronics and Power Engineering (CPE-POWERENG), Setubal,
India, 2017, pp. 57-60, doi: 10.1109/ICBDACI.2017.8070809. Portugal, 2020, pp. 478-481, doi: 10.1109/CPE-
[6] P. P. Shinde and S. Shah, "A Review of Machine Learning and Deep POWERENG48600.2020.9161565.
Learning Applications," 2018 Fourth International Conference on [23] K. A. Ismail and M. A. Abd El Ghany, "High Performance Machine
Computing Communication Control and Automation (ICCUBEA), Learning Models for Functional Verification of Hardware Designs,"
Pune, India, 2018, pp. 1-6, doi: 10.1109/ICCUBEA.2018.8697857. 2021 3rd Novel Intelligent and Leading Emerging Sciences Conference
[7] Abhishek, A. Dhankar and N. Gupta, "A Systematic Review of (NILES), Giza, Egypt, 2021, pp. 15-18, doi:
10.1109/NILES53778.2021.9600502.
Techniques, Tools and Applications of Machine Learning," 2021
Third International Conference on Intelligent Communication [24] M. A. Taut, G. Chindris and D. Pitică, "PID Algorithm used for DC
Technologies and Virtual Mobile Networks (ICICV), Tirunelveli, Motor Control," 2018 IEEE 24th International Symposium for Design
India, 2021, pp. 764-768, doi: 10.1109/ICICV50876.2021.9388637. and Technology in Electronic Packaging (SIITME), Iasi, Romania,
[8] M. Usama et al., "Unsupervised Machine Learning for Networking: 2018, pp. 365-372, doi: 10.1109/SIITME.2018.8599230.
Techniques, Applications and Research Challenges," in IEEE Access,
vol. 7, pp. 65579-65615, 2019, doi: 10.1109/ACCESS.2019.2916648.
[9] W. Qiang and Z. Zhongli, "Reinforcement learning model, algorithms
and its application," 2011 International Conference on Mechatronic
Authorized licensed use limited to: Rajamangala Univ of Technology Thanyaburi provided by UniNet. Downloaded on March 03,2025 at 01:45:02 UTC from IEEE Xplore. Restrictions apply.
363