Faculty of Engineering

Permanent URI for this communityhttps://rda.sliit.lk/handle/123456789/4203

Browse

Search Results

Now showing 1 - 9 of 9
  • Thumbnail Image
    PublicationOpen Access
    Efficient Hotspot Detection in Solar Panels via Computer Vision and Machine Learning
    (Multidisciplinary Digital Publishing Institute (MDPI), 2025-07-15) Fernando, N; Seneviratne, L; Weerasinghe, N; Rathnayake, N; Hoshino, Y
    Solar power generation is rapidly emerging within renewable energy due to its cost-effectiveness and ease of deployment. However, improper inspection and maintenance lead to significant damage from unnoticed solar hotspots. Even with inspections, factors like shadows, dust, and shading cause localized heat, mimicking hotspot behavior. This study emphasizes interpretability and efficiency, identifying key predictive features through feature-level and What-if Analysis. It evaluates model training and inference times to assess effectiveness in resource-limited environments, aiming to balance accuracy, generalization, and efficiency. Using Unmanned Aerial Vehicle (UAV)-acquired thermal images from five datasets, the study compares five Machine Learning (ML) models and five Deep Learning (DL) models. Explainable AI (XAI) techniques guide the analysis, with a particular focus on MPEG (Moving Picture Experts Group)-7 features for hotspot discrimination, supported by statistical validation. Medium Gaussian SVM achieved the best trade-off, with 99.3% accuracy and 18 s inference time. Feature analysis revealed blue chrominance as a strong early indicator of hotspot detection. Statistical validation across datasets confirmed the discriminative strength of MPEG-7 features. This study revisits the assumption that DL models are inherently superior, presenting an interpretable alternative for hotspot detection; highlighting the potential impact of domain mismatch. Model-level insight shows that both absolute and relative temperature variations are important in solar panel inspections. The relative decrease in “blueness” provides a crucial early indication of faults, especially in low-contrast thermal images where distinguishing normal warm areas from actual hotspot is difficult. Feature-level insight highlights how subtle changes in color composition, particularly reductions in blue components, serve as early indicators of developing anomalies.
  • Thumbnail Image
    PublicationOpen Access
    Sensitivity Analysis of Parameters Affecting Wetland Water Levels: A Study of Flood Detention Basin, Colombo, Sri Lanka
    (MDPI, 2023-04-02) Herath, M; Jayathilaka, T; Azamathulla, H.M; Mandala, V; Rathnayake, N; Rathnayake, U
    Wetlands play a vital role in ecosystems. They help in flood accumulation, water purification, groundwater recharge, shoreline stabilization, provision of habitats for flora and fauna, and facilitation of recreation activities. Although wetlands are hot spots of biodiversity, they are one of the most endangered ecosystems on the Earth. This is not only due to anthropogenic activities but also due to changing climate. Many studies can be found in the literature to understand the water levels of wetlands with respect to the climate; however, there is a lack of identification of the major meteorological parameters affecting the water levels, which are much localized. Therefore, this study, for the first time in Sri Lanka, was carried out to understand the most important parameters affecting the water depth of the Colombo flood detention basin. The temporal behavior of water level fluctuations was tested among various combinations of hydro-meteorological parameters with the help of Artificial Neural Networks (ANN). As expected, rainfall was found to be the most impacting parameter; however, apart from that, some interesting combinations of meteorological parameters were found as the second layer of impacting parameters. The rainfall–nighttime relative humidity, rainfall–evaporation, daytime relative humidity–evaporation, and rainfall–nighttime relative humidity–evaporation combinations were highly impactful toward the water level fluctuations. The findings of this study help to sustainably manage the available wetlands in Colombo, Sri Lanka. In addition, the study emphasizes the importance of high-resolution on-site data availability for higher prediction accuracy.
  • Thumbnail Image
    PublicationOpen Access
    Projected Water Levels and Identified Future Floods: A Comparative Analysis for Mahaweli River, Sri Lanka
    (IEEE, 2023-01) Rathnayake, N; Rathnayake, U; Chathuranika, I; Dang, T. L; Hoshino, Y
    The Rainfall-Runoff (R-R) relationship is essential to the hydrological cycle. Sophisticated hydrological models can accurately investigate R-R relationships; however, they require many data. Therefore, machine learning and soft computing techniques have taken the attention in the environment of limited hydrological, meteorological, and geological data. The accuracy of such models depends on the various parameters, including the quality of inputs and outputs and the used algorithms. However, identifying a perfect algorithm is still challenging. This study develops a fuzzy logic-based algorithm called Cascaded-ANFIS to accurately predict runoff based on rainfall. The model was compared against three regression algorithms: Long Short-Term Memory, Grated Recurrent Unit, and Recurrent Neural Networks. These algorithms have been selected due to their outstanding performances in similar studies. The models were tested on the Mahaweli River, the longest in Sri Lanka. The results showcase that the Cascaded-ANFIS-based model outperforms the other algorithms. The correlation coefficient of each algorithm’s predictions was 0.9330, 0.9120, 0.9133, 0.8915, 0.6811, 0.6811, and 0.6734 for the Cascaded-ANFIS, LSTM, GRU, RNN, Linear, Ridge, and Lasso regression models respectively. Hence, this study concludes that the proposed algorithm is 21% more accurate than the second-best LSTM algorithm. In addition, Shared Socio-economic Pathways (SSP2-4.5 and SSP5-8.5 scenarios) were used to generate future rainfalls, forecast the near-future and mid-future water levels, and identify potential flood events. The future forecasting results indicate a decrease in flood events and magnitudes in both SSP2-4.5 and SSP5-8.5 scenarios. Furthermore, the SSP5-8.5 scenario shows drought weather from May to August yearly. The results of this study can effectively be used to manage and control water resources and mitigate flood damages.
  • Thumbnail Image
    PublicationEmbargo
    Performance Comparison of Sea Fish Species Classification using Hybrid and Supervised Machine Learning Algorithms
    (IEEE, 2022-10-04) Nalmi, R; Rathnayake, N; Mampitiya, L.I
    In the domain of autonomous underwater vehicles, the classification of objects underwater is critical. The hazy effect of the medium causes this obstacle, and these effects are directed by the dissolved particles that lead to the reflecting and scattering of light during the formation process of the image. This paper mainly focuses on exploring the best possible image classifier for the underwater images of the different fish species. The classifications were carried out by different hybrid and supervised machine learning algorithms such as Support Vector Machine (SVM), Random Forest (RF), Neural Networks (NN), Logistic Regression (LR), Decision Tree (DT), and Naive Bayes (NB). This study compares the algorithms’ accuracy and time and analyzes crucial features to decide the most optimal algorithm. Furthermore, the results of this paper depict that using dimension reduction methods such as PCA and LDA increases the accuracy of some algorithms. Random Forest was able to outperforms with a higher accuracy of 99.89% with the proposed feature extraction methods.
  • Thumbnail Image
    PublicationOpen Access
    Brain Activity Associated with the Planning Process during the Long-Time Learning of the Tower of Hanoi (ToH) Task: A Pilot Study
    (MDPI, 2022-10-28) Mitani, K; Rathnayake, N; Rathnayake, U; Linh Dang, T; Hoshino, Y
    Planning and decision-making are critical managerial functions involving the brain’s executive functions. However, little is known about the effect of cerebral activity during long-time learning while planning and decision-making. This study investigated the impact of planning and decision-making processes in long-time learning, focusing on a cerebral activity before and after learning. The methodology of this study involves the Tower of Hanoi (ToH) to investigate executive functions related to the learning process. Generally, ToH is used to measure baseline performance, learning rate, offline learning (following overnight retention), and transfer. However, this study performs experiments on long-time learning effects for ToH solving. The participants were involved in learning the task over seven weeks. Learning progress was evaluated based on improvement in performance and correlations with the learning curve. All participants showed a significant improvement in planning and decision-making over seven weeks of time duration. Brain activation results from fMRI showed a statistically significant decrease in the activation degree in the dorsolateral prefrontal cortex, parietal lobe, inferior frontal gyrus, and premotor cortex between before and after learning. Our pilot study showed that updating information and shifting issue rules were found in the frontal lobe. Through monitoring performance, we can describe the effect of long-time learning initiated at the frontal lobe and then convert it to a task execution function by analyzing the frontal lobe maps. This process can be observed by comparing the learning curve and the fMRI maps. It was also clear that the degree of activation tends to decrease with the number of tasks, such as through the mid-phase and the end-phase of training. The elucidation of this structure is closely related to decision-making in human behavior, where brain dynamics differ between “thinking and behavior” during complex thinking in the early stages of training and instantaneous “thinking and behavior” after sufficient training. Since this is related to human learning, elucidating these mechanisms will allow the construction of a brain function map model that can be used universally for all training tasks.
  • Thumbnail Image
    PublicationEmbargo
    An Efficient Ocular Disease Recognition System Implementation using GLCM and LBP based Multilayer Perception Algorithm
    (IEEE, 2022-08-03) Rathnayake, N; Mampitiya, L. I
    This research study is focused on the classification of ocular diseases by referring to a well-known dataset. The data is divided into seven classes: diabetes, glaucoma, cataract, normal, hypertension, age-related macular degeneration, pathological myopia, and other diseases/abnormalities. A Neural Network is used for the classification of diseases. In addition, the GLCM and LBP feature extracting methods have been used to carry out the feature extraction for the fundus images. This study compares five different ocular disease recognizing techniques. Moreover, the proposed model was evaluated regarding precision, recall, and accuracy. The proposed solution outperformed existing state-of-the-art algorithms, achieving 99.58% accuracy.
  • Thumbnail Image
    PublicationEmbargo
    Classification of Human Emotions using Ensemble Classifier by Analysing EEG Signals
    (IEEE, 2021-04-13) Mampitiya, L. I; Nalmi, R; Rathnayake, N
    This study is based on EEG brain wave classification of a well-known dataset called the EEG Brainwave Dataset. The dataset combines three classes such as positive, negative, and neutral. The classification is performed using an ensemble classifier that combines RF, KNN, DT, SVM, NB, and LR. The meta classifier is LR, while the other five algorithms work as the base classifiers. Furthermore, PCA is used as the dimension reduction method to increase the accuracy of the final output. The results are evaluated under 11 different parameters. Moreover, the accuracy of this study is compared with the seven other EEG emotion classification methods. The proposing method attained 99.25% of accuracy, outperforming the other state-of-the-art algorithms.
  • Thumbnail Image
    PublicationOpen Access
    An Efficient Automatic Fruit-360 Image Identification and Recognition Using a Novel Modified Cascaded-ANFIS Algorithm
    (MDPI, 2022-06-10) Rathnayake, N; Rathnayake, U; Dang, T. L; Hoshino, Y
    Automated fruit identification is always challenging due to its complex nature. Usually, the fruit types and sub-types are location-dependent; thus, manual fruit categorization is also still a challenging problem. Literature showcases several recent studies incorporating the Convolutional Neural Network-based algorithms (VGG16, Inception V3, MobileNet, and ResNet18) to classify the Fruit-360 dataset. However, none of them are comprehensive and have not been utilized for the total 131 fruit classes. In addition, the computational efficiency was not the best in these models. A novel, robust but comprehensive study is presented here in identifying and predicting the whole Fruit-360 dataset, including 131 fruit classes with 90,483 sample images. An algorithm based on the Cascaded Adaptive Network-based Fuzzy Inference System (Cascaded-ANFIS) was effectively utilized to achieve the research gap. Color Structure, Region Shape, Edge Histogram, Column Layout, Gray-Level Co-Occurrence Matrix, Scale-Invariant Feature Transform, Speeded Up Robust Features, Histogram of Oriented Gradients, and Oriented FAST and rotated BRIEF features are used in this study as the features descriptors in identifying fruit images. The algorithm was validated using two methods: iterations and confusion matrix. The results showcase that the proposed method gives a relative accuracy of 98.36%. The Fruit-360 dataset is unbalanced; therefore, the weighted precision, recall, and FScore were calculated as 0.9843, 0.9841, and 0.9840, respectively. In addition, the developed system was tested and compared against the literature-found state-of-the-art algorithms for the purpose. Comparison studies present the acceptability of the newly developed algorithm handling the whole Fruit-360 dataset and achieving high computational efficiency.
  • Thumbnail Image
    PublicationOpen Access
    Cascaded Adaptive Network-Based Fuzzy Inference System for Hydropower Forecasting
    (MDPI, 2022-04-10) Rathnayake, N; Rathnayake, U; Dang, T. L; Hoshino, Y
    Hydropower stands as a crucial source of power in the current world, and there is a vast range of benefits of forecasting power generation for the future. This paper focuses on the significance of climate change on the future representation of the Samanalawewa Reservoir Hydropower Project using an architecture of the Cascaded ANFIS algorithm. Moreover, we assess the capacity of the novel Cascaded ANFIS algorithm for handling regression problems and compare the results with the state-of-art regression models. The inputs to this system were the rainfall data of selected weather stations inside the catchment. The future rainfalls were generated using Global Climate Models at RCP4.5 and RCP8.5 and corrected for their biases. The Cascaded ANFIS algorithm was selected to handle this regression problem by comparing the best algorithm among the state-of-the-art regression models, such as RNN, LSTM, and GRU. The Cascaded ANFIS could forecast the power generation with a minimum error of 1.01, whereas the second-best algorithm, GRU, scored a 6.5 error rate. The predictions were carried out for the near-future and mid-future and compared against the previous work. The results clearly show the algorithm can predict power generation's variation with rainfall with a slight error rate. This research can be utilized in numerous areas for hydropower development.