{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T01:08:59Z","timestamp":1767834539346,"version":"3.49.0"},"reference-count":32,"publisher":"MDPI AG","issue":"17","license":[{"start":{"date-parts":[[2023,8,22]],"date-time":"2023-08-22T00:00:00Z","timestamp":1692662400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Research Funding of Wuhan Polytechnic University","award":["2023RZ036"],"award-info":[{"award-number":["2023RZ036"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The state of angle cocks determines the air connectivity of freight trains, and detecting their state is helpful to improve the safety of the running trains. Although the current research for fault detection of angle cocks has achieved high accuracy, it only focuses on the detection of the closed state and non-closed state and treats them as normal and abnormal states, respectively. Since the non-closed state includes the fully open state and the misalignment state, while the latter may lead to brake abnormally, it is very necessary to further detect the misalignment state from the non-closed state. In this paper, we propose a coarse-to-fine localization method to achieve this goal. Firstly, the localization result of an angle cock is obtained by using the YOLOv4 model. Following that, the SVM model combined with the HOG feature of the localization result of an angle cock is used to further obtain its handle localization result. After that, the HOG feature of the sub-image only containing the handle localization result continues to be used in the SVM model to detect whether the angle cock is in the non-closed state or not. When the angle cock is in the non-closed state, its handle curve is fitted by binarization and window search, and the tilt angle of the handle is calculated by the minimum bounding rectangle. Finally, the misalignment state is detected when the tilt angle of the handle is less than the threshold. The effectiveness and robustness of the proposed method are verified by extensive experiments, and the accuracy of misalignment state detection for angle cocks reaches 96.49%.<\/jats:p>","DOI":"10.3390\/s23177311","type":"journal-article","created":{"date-parts":[[2023,8,22]],"date-time":"2023-08-22T00:46:22Z","timestamp":1692665182000},"page":"7311","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Coarse-to-Fine Localization for Detecting Misalignment State of Angle Cocks"],"prefix":"10.3390","volume":"23","author":[{"given":"Hengda","family":"Lei","sequence":"first","affiliation":[{"name":"School of Electrical and Electronic Engineering, Wuhan Polytechnic University, Wuhan 430023, China"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-1848-0051","authenticated-orcid":false,"given":"Li","family":"Cao","sequence":"additional","affiliation":[{"name":"School of Electrical and Electronic Engineering, Wuhan Polytechnic University, Wuhan 430023, China"}]},{"given":"Xiuhua","family":"Li","sequence":"additional","affiliation":[{"name":"Wuhan Huamu Information Technology Co., Ltd., Wuhan 430070, China"}]}],"member":"1968","published-online":{"date-parts":[[2023,8,22]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"9082","DOI":"10.1109\/TII.2022.3224989","article-title":"Visual Fault Detection of Multi-scale Key Components in Freight Trains","volume":"19","author":"Zhang","year":"2022","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"7423","DOI":"10.1109\/TII.2021.3056554","article-title":"A Unified Light Framework for Real-Time Fault Detection of Freight Train Images","volume":"17","author":"Zhang","year":"2021","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Din, N., Zhang, L., and Yang, Y. (2023). Automated Battery Making Fault Classification Using Over-Sampled Image Data CNN Features. Sensors, 23.","DOI":"10.3390\/s23041927"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"105466","DOI":"10.1016\/j.engfailanal.2021.105446","article-title":"A hierarchical method based on improved deep forest and case-based reasoning for railway turnout fault diagnosis","volume":"127","author":"Zhang","year":"2021","journal-title":"Eng. Fail. Anal."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"109742","DOI":"10.1016\/j.measurement.2021.109742","article-title":"An optimized railway fastener detection method based on modified Faster R-CNN","volume":"182","author":"Bai","year":"2021","journal-title":"Measurement"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"330","DOI":"10.1016\/j.isatra.2020.07.011","article-title":"Bidirectional deep recurrent neural networks for process fault classification","volume":"106","author":"Chadha","year":"2020","journal-title":"ISA Trans."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"5274","DOI":"10.1109\/TIM.2019.2955799","article-title":"Real-Time Vision-Based System of Fault Detection for Freight Trains","volume":"69","author":"Zhang","year":"2020","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"794","DOI":"10.1177\/0954409713495532","article-title":"Automated visual inspection of angle cocks during train operation","volume":"228","author":"Zhou","year":"2013","journal-title":"J. Rail Rapid Transit"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"109330","DOI":"10.1016\/j.measurement.2021.109330","article-title":"Deep learning through LSTM classification and regression for transmission line fault detection, diagnosis and location in large-scale multi-machine power systems","volume":"177","author":"Belagoune","year":"2021","journal-title":"Measurement"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"106907","DOI":"10.1016\/j.asoc.2020.106907","article-title":"Fault diagnosis based on deep learning for current-carrying ring of catenary system in sustainable railway transportation","volume":"100","author":"Chen","year":"2021","journal-title":"Appl. Soft Comput. J."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1209","DOI":"10.1016\/j.aej.2020.10.044","article-title":"Fault diagnosis on the bearing of traction motor in high-speed trains based on deep learning","volume":"60","author":"Zou","year":"2021","journal-title":"Alex. Eng. J."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"4827","DOI":"10.1109\/TII.2020.3021688","article-title":"Construction of a hierarchical feature enhancement network and its application in fault recognition","volume":"17","author":"Chen","year":"2020","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"130","DOI":"10.1049\/iet-its.2015.0026","article-title":"Vision-based fault inspection of small mechanical components for train safety","volume":"10","author":"Liu","year":"2016","journal-title":"IET Intell. Transp. Syst."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"2","DOI":"10.1109\/TIM.2015.2479101","article-title":"Automated Visual Inspection System for Bogie Block Key Under Complex Freight Train Environment","volume":"65","author":"Liu","year":"2016","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1213","DOI":"10.1177\/0954409715588119","article-title":"Online inspection system for the automatic detection of bolt defects on a freight train","volume":"230","author":"Li","year":"2016","journal-title":"J. Rail Rapid Transit"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1629","DOI":"10.1177\/0954409715619603","article-title":"Automated status inspection of fastening bolts on freight trains using a machine vision approach","volume":"230","author":"Liu","year":"2016","journal-title":"J. Rail Rapid Transit"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1016\/j.autcon.2016.06.008","article-title":"Vision-based detection of loosened bolts using the Hough transform and support vector machines","volume":"71","author":"Cha","year":"2016","journal-title":"Autom. Constr."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"471","DOI":"10.1177\/0954409716674983","article-title":"An automatic online inspection system for a coupler yoke for freight trains","volume":"232","author":"Zheng","year":"2018","journal-title":"J. Rail Rapid Transit"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1016\/j.neucom.2016.10.018","article-title":"Automatic multi-fault recognition in TFDS based on convolutional neural network","volume":"222","author":"Sun","year":"2017","journal-title":"Neurocomputing"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1789","DOI":"10.1007\/s13042-021-01274-z","article-title":"Fault detection of railway freight cars mechanical components based on multi-feature fusion convolutional neural network","volume":"12","author":"Tao","year":"2021","journal-title":"Int. J. Mach. Learn. Cybern."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1781","DOI":"10.1007\/s13042-021-01488-1","article-title":"Fault detection of train mechanical parts using multi-mode aggregation feature enhanced convolution neural network","volume":"13","author":"Tao","year":"2022","journal-title":"Int. J. Mach. Learn. Cybern."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Zhou, M., Wang, J., and Li, B. (2022). ARG-Mask RCNN: An Infrared Insulator Fault-Detection Network Based on Improved Mask RCNN. Sensors, 22.","DOI":"10.3390\/s22134720"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Zheng, Q., Ma, J., Liu, M., Liu, Y., Li, Y., and Shi, G. (2022). Lightweight Hot-Spot Fault Detection Model of Photovoltaic Panels in UAV. Sensors, 22.","DOI":"10.3390\/s22124617"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1500","DOI":"10.1177\/0954409717734397","article-title":"Automated visual inspection of multipattern train components using gradient information and feature fusion under the illumination-variant condition","volume":"232","author":"Guo","year":"2018","journal-title":"J. Rail Rapid Transit"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"550","DOI":"10.1049\/iet-its.2016.0338","article-title":"Automated visual inspection of target parts for train safety based on deep learning","volume":"12","author":"Zhou","year":"2018","journal-title":"IET Intell. Transp. Syst."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"63","DOI":"10.1016\/j.hspr.2022.11.001","article-title":"Rail fastener detection of heavy railway based on deep learning","volume":"1","author":"Cao","year":"2022","journal-title":"High Speed Railw."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Iglesias, A., Anaya, M., Martinsanz, G., and Pastor-Lopez, I. (2021). On Combining Convolutional Autoencoders and Support Vector Machines for Fault Detection in Industrial Textures. Sensors, 21.","DOI":"10.3390\/s21103339"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"2547","DOI":"10.3390\/s21072547","article-title":"Multi-Sensor Fault Detection, Identification, Isolation and Health Forecasting for Autonomous Vehicles","volume":"21","author":"Saeid","year":"2021","journal-title":"Sensors"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"6248","DOI":"10.1109\/TIE.2020.2994868","article-title":"Fault Diagnosis of an Autonomous Vehicle with an Improved SVM Algorithm Subject to Unbalanced Dataset","volume":"68","author":"Shi","year":"2021","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1066","DOI":"10.1109\/TNNLS.2020.3039675","article-title":"Multitask Attention Network for Lane Detection and Fitting","volume":"33","author":"Wang","year":"2022","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"41","DOI":"10.1109\/TVT.2019.2949603","article-title":"Robust Lane Detection from Continuous Driving Scenes Using Deep Neural Networks","volume":"69","author":"Zou","year":"2020","journal-title":"IEEE Trans. Veh. Technol."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"107623","DOI":"10.1016\/j.patcog.2020.107623","article-title":"A review of lane detection methods based on deep learning","volume":"111","author":"Tang","year":"2021","journal-title":"Pattern Recognit."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/17\/7311\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:39:06Z","timestamp":1760128746000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/17\/7311"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,22]]},"references-count":32,"journal-issue":{"issue":"17","published-online":{"date-parts":[[2023,9]]}},"alternative-id":["s23177311"],"URL":"https:\/\/doi.org\/10.3390\/s23177311","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,8,22]]}}}