Fabric quality prediction technology based on K-nearest neighbor algorithm improved particle swarm optimization-back propagation algorithm

被引:0
|
作者
Sun, Changmin [1 ]
Dai, Ning [1 ]
Shen, Chunya [2 ]
Xu, Kaixin [1 ]
Chen, Wei [3 ]
Hu, Xudong [1 ]
Yuan, Yanhong [1 ]
Chen, Zuhong [2 ]
机构
[1] Key Laboratory of Modern Textile Machinery & Technology of Zhejiang Province, Zhejiang Sci-Tech University, Zhejiang, Hangzhou,310018, China
[2] Zhejiang Kangli Automation Technology Co., Ltd., Zhejiang, Shaoxing,312500, China
[3] Zhejiang Tianheng Information Technology Co., Ltd., Zhejiang, Shaoxing,312500, China
来源
关键词
Defects - Efficiency - Errors - Forecasting - Inspection - Iterative methods - Learning algorithms - Mean square error - Motion compensation - Nearest neighbor search - Neural networks - Particle swarm optimization (PSO) - Pattern recognition - Textile industry - Textiles;
D O I
10.13475/j.fzxb.20230307001
中图分类号
学科分类号
摘要
Objective The confirmation of fabric quality in the textile industry is usually to put the woven fabric into the inspection equipment for inspection. When the fabric defects are found in the inspection process, the repair will be carried out and so increases the production time, thereby reducing the workshop efficiency. In order to improve the efficiency of the workshop, by collecting the real-time data of the weaving workshop, the fabric quality prediction model is established to predict the fabric quality and reduce the fabric production time.Method Aiming at the problem of large difference in fabric quality and long time of conventional fabric inspection, a fabric quality grade prediction method based on K - nearest neighbor algorithm (KNN) improved PSO-BP algorithm was proposed by combining KNN and particle swarm optimization (PSO) improved error back propagation (BP) neural network algorithm. Firstly, the fabric quality prediction model is analyzed, and the fabric defects and fabric quality grades are divided. Secondly, 14 factors affecting the fabric quality are selected as the model input, and then the KNN algorithm is adopted to classify the original sample set. Finally, the classified data is brought into the fabric quality prediction model. The fabric quality prediction model is to use the particle swarm optimization algorithm to obtain the position and speed of the optimal solution through iterative update, and take this as the initial weight and threshold into the neural network structure for training to obtain the model. By predicting the fabric quality grade, the fabric quality is improved.Results 16,186 fabric production data collected over a 3 - month period from a textile factory in Lanxi, Zhejiang Province were adopted to establish a fabric quality prediction model. Firstly, the original data set was adopted to compare and analyze PSO - BP and BP algorithms with different training target errors. According to results of KNN-PSO-BP netural network model, PSO-BP algorithm showed higher accuracy and higher training speed than BP algorithm, and PSO-BP neural network model demonstrated an accuracy of 96% with the training target error 0.000 1. The KNN algorithm was adopted to divide the original sample set into five categories. The mean square error, accuracy and training time of the neural network model were calculated when the training target error is 0. 000 1. The accuracy of the KNN-PSO-BP neural network model was 98. 054%.Conclusion This research demonstrated that KNN-PSO-BP algorithm has higher accuracy than PSO-BP algorithm and BP algorithm. The training time of fabric quality grade prediction is only 4. 8 s, and the accuracy rate is 98.054%. The algorithm greatly shortens the detection time while ensuring the accuracy of fabric quality prediction, improves the production efficiency of weaving, and provides a certain basis for subsequent research on the location and size of fabric defects. © 2024 China Textile Engineering Society. All rights reserved.
引用
收藏
页码:72 / 77
相关论文
共 50 条
  • [31] Improvement of k-nearest neighbor algorithm based on double filtering
    Ma, Chun Jie
    Ding, Zheng Sheng
    2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, : 1567 - 1570
  • [32] Heart Disease Prediction Using Weighted K-Nearest Neighbor Algorithm
    Khalidou Abdoulaye Barry
    Youness Manzali
    Mohamed Lamrini
    Flouchi Rachid
    Mohamed Elfar
    Operations Research Forum, 5 (3)
  • [33] An Algorithm of Incremental Bayesian Classifier Based on K-Nearest Neighbor
    Wang, Dong
    Xiong, Shi-huan
    MEMS, NANO AND SMART SYSTEMS, PTS 1-6, 2012, 403-408 : 1455 - 1459
  • [34] Gravity-Matching Algorithm Based on K-Nearest Neighbor
    Gao, Shuaipeng
    Cai, Tijing
    Fang, Ke
    SENSORS, 2022, 22 (12)
  • [35] Research on Active Defence Technology with Virus Based on K-Nearest Neighbor Algorithm of Kernel
    Yu, Xuedou
    2009 INTERNATIONAL CONFERENCE ON ENVIRONMENTAL SCIENCE AND INFORMATION APPLICATION TECHNOLOGY,VOL I, PROCEEDINGS, 2009, : 685 - 688
  • [36] Fault Analysis and Prediction of Transmission Line Based on Fuzzy K-Nearest Neighbor Algorithm
    Zhang, Yue
    Chen, Jianxia
    Fang, Qin
    Ye, Zhiwei
    2016 12TH INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (ICNC-FSKD), 2016, : 894 - 899
  • [37] An efficient method for nonlinear inelastic truss optimization based on improved k-nearest neighbor comparison and Rao algorithm
    Truong, Viet-Hung
    Pham, Hoang-Anh
    Tangaramvong, Sawekchai
    STRUCTURES, 2025, 71
  • [38] A quality control method based on k-nearest neighbor algorithm for missing and problematic datasets
    Lu, Youmin
    Journal of Computational and Theoretical Nanoscience, 2015, 12 (11) : 4263 - 4266
  • [39] Prediction of protein phenotype based on protein interaction network by coupling genetic algorithm and K-nearest neighbor algorithm
    Li, Zhanchao
    Chen, Lili
    Lai, Yanhua
    Xie, Yun
    Dai, Zong
    Zou, Xiaoyong
    ANALYTICAL METHODS, 2014, 6 (14) : 5281 - 5289
  • [40] Improved Handwritten Digit Recognition using Quantum K-Nearest Neighbor Algorithm
    Wang, Yuxiang
    Wang, Ruijin
    Li, Dongfen
    Adu-Gyamfi, Daniel
    Tian, Kaibin
    Zhu, Yixin
    INTERNATIONAL JOURNAL OF THEORETICAL PHYSICS, 2019, 58 (07) : 2331 - 2340