Claim Missing Document
Check
Articles

Found 3 Documents
Search

On-device training of artificial intelligence models on microcontrollers Thai, Bao-Toan; Tran, Vy-Khang; Pham, Hai; Nguyen, Chi-Ngon; Nguyen, Van-Khanh
IAES International Journal of Artificial Intelligence (IJ-AI) Vol 13, No 3: September 2024
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.11591/ijai.v13.i3.pp2829-2839

Abstract

Numerous studies are currently training artificial intelligence (AI) models on tiny devices constrained by computing power and memory limitations by implementing model optimization algorithms. The question arises whether implementing traditional AI models directly on small devices like micro-controller units (MCUs) is feasible. In this study, a library has been developed to train and predict the artificial neural network (ANN) model on common MCUs. The evaluation results on the regression problem indicate that, despite the extensive training time, when combined with multitasking programming on multi-core MCUs, the training does not adversely affect the system's execution. This research contributes an additional solution that enables the direct construction of ANN models on MCU systems with limited resources.
Real-time anomaly detection in electric motor operation noise Nguyen, Van-Khanh; Thai, Bao-Toan; Tran, Vy-Khang; Pham, Hai; Nguyen, Chi-Ngon
IAES International Journal of Artificial Intelligence (IJ-AI) Vol 13, No 4: December 2024
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.11591/ijai.v13.i4.pp3814-3826

Abstract

Anomaly detection plays a very important role in many fields to identify abnormalities occurring in the system earlier. This study proposes a new abnormality detection solution for 3-phase electric motors based on their working noise. Normal and abnormal operating noise data sets for an electric motor were acquired in the laboratory. These datasets are converted into the corresponding two-dimensional gray spectrogram image sets. The normal set is used to train the autoencoder (AE) model to find the abnormality evaluation threshold. This threshold is validated again with anomalous data sets. The trained AE is then quantized to be installed on a system consisting of two duo-core microcontroller units (MCUs) for real-time testing. Free real-time operating system (FreeRTOS), a real-time operating system, is used to schedule tasks on the system. Experimental results show that the designed anomaly detector can accurately detect over 99% of abnormal events. The system can communicate with a supervisory control and data acquisition (SCADA) application running on the S7-1200 programmable logic controller (PLC) platform using the Modbus transmission control protocol (TCP) protocol. The SCADA application can continuously record evaluated results from the system and adjust abnormal thresholds for the system directly on the human-machine interface (HMI) screen.
Development of a soil electrical conductivity measurement system in paddy fields Ho, The-Anh; Bui, Van-Huu; Nguyen, Van-Khanh; Nguyen, Dinh-Tu; Nguyen, Chi-Ngon
International Journal of Advances in Applied Sciences Vol 13, No 2: June 2024
Publisher : Institute of Advanced Engineering and Science

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.11591/ijaas.v13.i2.pp389-400

Abstract

This study aims to develop a data collection system for measuring soil electrical conductivity (EC) in Paddy Fields using the Wenner measurement principle, with one electrode configuration based on the Veris 3100 measuring machine, and a second electrode configuration with fixed electrodes. The result is a system that measures soil EC using the fixed electrode configuration for more stable results compared to the coulter electrode configuration on the Veris 3100. This system comprises three main components: a 7-inch industrial touchscreen monitor used for real-time monitoring and storing collected data on external memory, a controller that provides reverse direct current (DC) power supply to the electrodes and measures voltage and current parameters on the electrodes, two mechanical configurations including six electrodes in contact with the soil. The system is developed to operate best after soil preparation and before seed sowing. The collected data is processed and compared to actual measurements using an artificial neural network (ANN), resulting in an R2=0.7449, equivalent to linear regression. The system has been successfully installed and operated on a handheld tractor and tested in Paddy Fields on the outskirts of Can Tho City, Vietnam.