Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN

The fuel system serves as the core component of marine diesel engines, and timely and effective fault diagnosis is the prerequisite for the safe navigation of ships. To address the challenge of current data-driven fault-diagnosis-based methods, which have difficulty in feature extraction and low acc...

Full description

Saved in:
Bibliographic Details
Main Authors: Shankai Li, Liang Qi, Jiayu Shi, Han Xiao, Bin Da, Runkang Tang, Danfeng Zuo
Format: Article
Language:English
Published: MDPI AG 2024-12-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/25/1/6
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1841549026027110400
author Shankai Li
Liang Qi
Jiayu Shi
Han Xiao
Bin Da
Runkang Tang
Danfeng Zuo
author_facet Shankai Li
Liang Qi
Jiayu Shi
Han Xiao
Bin Da
Runkang Tang
Danfeng Zuo
author_sort Shankai Li
collection DOAJ
description The fuel system serves as the core component of marine diesel engines, and timely and effective fault diagnosis is the prerequisite for the safe navigation of ships. To address the challenge of current data-driven fault-diagnosis-based methods, which have difficulty in feature extraction and low accuracy under small samples, this paper proposes a fault diagnosis method based on digital twin (DT), Siamese Vision Transformer (SViT), and K-Nearest Neighbor (KNN). Firstly, a diesel engine DT model is constructed by integrating the mathematical, mechanism, and three-dimensional physical models of the Medium-speed diesel engines of 6L21/31 Marine, completing the mapping from physical entity to virtual entity. Fault simulation calculations are performed using the DT model to obtain different types of fault data. Then, a feature extraction network combining Siamese networks with Vision Transformer (ViT) is proposed for the simulated samples. An improved KNN classifier based on the attention mechanism is added to the network to enhance the classification efficiency of the model. Meanwhile, a Weighted-Similarity loss function is designed using similarity labels and penalty coefficients, enhancing the model’s ability to discriminate between similar sample pairs. Finally, the proposed method is validated using a simulation dataset. Experimental results indicate that the proposed method achieves average accuracies of 97.22%, 98.21%, and 99.13% for training sets with 10, 20, and 30 samples per class, respectively, which can accurately classify the fault of marine fuel systems under small samples and has promising potential for applications.
format Article
id doaj-art-d0c9252610b14df88d8017002354fd68
institution Kabale University
issn 1424-8220
language English
publishDate 2024-12-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj-art-d0c9252610b14df88d8017002354fd682025-01-10T13:20:30ZengMDPI AGSensors1424-82202024-12-01251610.3390/s25010006Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNNShankai Li0Liang Qi1Jiayu Shi2Han Xiao3Bin Da4Runkang Tang5Danfeng Zuo6School of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaSchool of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, ChinaThe fuel system serves as the core component of marine diesel engines, and timely and effective fault diagnosis is the prerequisite for the safe navigation of ships. To address the challenge of current data-driven fault-diagnosis-based methods, which have difficulty in feature extraction and low accuracy under small samples, this paper proposes a fault diagnosis method based on digital twin (DT), Siamese Vision Transformer (SViT), and K-Nearest Neighbor (KNN). Firstly, a diesel engine DT model is constructed by integrating the mathematical, mechanism, and three-dimensional physical models of the Medium-speed diesel engines of 6L21/31 Marine, completing the mapping from physical entity to virtual entity. Fault simulation calculations are performed using the DT model to obtain different types of fault data. Then, a feature extraction network combining Siamese networks with Vision Transformer (ViT) is proposed for the simulated samples. An improved KNN classifier based on the attention mechanism is added to the network to enhance the classification efficiency of the model. Meanwhile, a Weighted-Similarity loss function is designed using similarity labels and penalty coefficients, enhancing the model’s ability to discriminate between similar sample pairs. Finally, the proposed method is validated using a simulation dataset. Experimental results indicate that the proposed method achieves average accuracies of 97.22%, 98.21%, and 99.13% for training sets with 10, 20, and 30 samples per class, respectively, which can accurately classify the fault of marine fuel systems under small samples and has promising potential for applications.https://www.mdpi.com/1424-8220/25/1/6marine fuel systemfew-shot fault diagnosisSiamese networktransformerKNN
spellingShingle Shankai Li
Liang Qi
Jiayu Shi
Han Xiao
Bin Da
Runkang Tang
Danfeng Zuo
Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
Sensors
marine fuel system
few-shot fault diagnosis
Siamese network
transformer
KNN
title Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
title_full Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
title_fullStr Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
title_full_unstemmed Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
title_short Study on Few-Shot Fault Diagnosis Method for Marine Fuel Systems Based on DT-SViT-KNN
title_sort study on few shot fault diagnosis method for marine fuel systems based on dt svit knn
topic marine fuel system
few-shot fault diagnosis
Siamese network
transformer
KNN
url https://www.mdpi.com/1424-8220/25/1/6
work_keys_str_mv AT shankaili studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT liangqi studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT jiayushi studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT hanxiao studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT binda studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT runkangtang studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn
AT danfengzuo studyonfewshotfaultdiagnosismethodformarinefuelsystemsbasedondtsvitknn