Intelligent scheduling of knitting workshops is the key to realizing knitting intelligent manufacturing. In view of the uncertainty of the workshop environment, it is difficult for existing scheduling algorithms to flexibly adjust scheduling strategies. This paper proposes a scheduling algorithm architecture based on deep reinforcement learning (DRL). First, the scheduling problem of knitting intelligent workshops is represented by a disjunctive graph, and a mathematical model is established. Then, a multi-proximal strategy (multi-PPO) optimization training algorithm is designed to obtain the optimal strategy, and the job selection strategy and machine selection strategy are trained at the same time. Finally, a knitting intelligent workshop scheduling experimental platform is built, and the algorithm proposed in this paper is compared with common heuristic rules and metaheuristic algorithms for experimental testing. The results show that the algorithm proposed in this paper is superior to heuristic rules in solving the knitting workshop scheduling problem, and can achieve the accuracy of the metaheuristic algorithm. In addition, the response speed of the algorithm in this paper is excellent, which meets the production scheduling needs of knitting intelligent workshops and has a good guiding significance for promoting knitting intelligent manufacturing.
Despite the enormous amounts of waste textiles produced by the world’s textile industry’s explosive growth, resource utilization rates are still poor. Cotton/polyester blended waste fabrics make up a sizable share, and sorting them precisely is essential to increasing recycling value and promoting the circular economy in the textile industry. Traditional mechanical and human sorting techniques are ineffective and inaccurate; current spectral analysis algorithms mainly concentrate on quantitative composition prediction and are insufficiently capable of differentiating between waste fabrics with comparable content gradients. To address these challenges, this paper proposes an improved 1DCNN model (Dual-1DCNN-Residual-SE) integrated with Near-Infrared (NIR) hyperspectral imaging technology. This model takes raw spectral data and Savitzky-Golay (SG) smoothing data as dual-channel inputs, introducing residual connections to capture subtle spectral differences between similar fabric categories, and employs SE attention mechanisms to adaptively enhance key features. Comparative experiments with four traditional algorithms—KNN, RF, SVM, and PLS—demonstrate that the proposed model achieves a classification accuracy of 95.94%, surpassing the best traditional algorithm SVM (88.12%) by 7.82%. Ablation experiments confirm each enhanced module’s efficacy. This study achieves high-precision classification of cotton/polyester blended waste fabrics, providing technical support for intelligent sorting of industrial waste fabrics.
To mitigate the challenges of false positives and undetected small-scale defects in fabric inspection, this study proposes an advanced fabric defect detection system that leverages an optimized YOLOv9 algorithm. First, redundant computations are reduced by introducing DualConv to replace standard convolution. Second, the LSKA attention mechanism is incorporated to increase the weight of important features, thereby enhancing the accuracy of small target detection and improving the generalization ability. Additionally, the focal modulation network is employed to replace the fast spatial pyramid module, mitigating the loss of detailed information caused by the feature pooling operation. Furthermore, the conventional feature pyramid network is replaced with bidirectional feature pyramid network, which is utilized for efficient feature fusion, thereby enhancing multiscale feature representation and improving detection accuracy. Finally, the bounding box loss function is optimized by introducing the shape-IoU loss function, which facilitates more rapid model convergence and significantly improves detection accuracy. Experiments conducted on a fabric defect dataset demonstrate that the proposed algorithm yields a 6.7% increase in mAP@0.5 and a 14.7% improvement in mAP@0.5–0.95, while simultaneously reducing the model’s total parameters by 17.8% and computational FLOPs by 14.4%, compared with those of the original algorithm. The improved YOLOv9 model significantly enhances the precision and accuracy of defect detection while maintaining inference speed (55.8 FPS) that meets industrial requirements.
High-value recycling of waste textiles requires accurate fiber-composition identification, yet similar blends often exhibit overlapping near-infrared absorption bands and substantial within-class variation. Using 291 waste-textile swatches, this study develops ConvPatchTST, a convolution-enhanced Patch Transformer that integrates Raw and SNV (SG) spectra as complementary input channels. Overlapping convolutional patch embedding captures local continuous absorption features, while a Transformer encoder models cross-band dependencies. Spectral bands spanning 958.5–1646.6 nm were selected for model training and analysis. Under a single fabric-swatch-grouped internal train-validation split with pixel-level evaluation, ConvPatchTST achieves an accuracy of 0.966 and a macro F1 of 0.970, outperforming several baseline models. The Raw + SNV (SG) representation also surpasses single-channel, three-channel, and alternative dual-channel inputs. Pairwise analysis identifies statistically discriminative and highly attributed intervals for four similar material pairs. For polyester/polysp, the intervals near 1369.0–1379.6 nm show clear statistical-model agreement. These results indicate that complementary spectral representations and convolution-enhanced Patch modeling support accurate classification and provide band-level clues for interpreting model decisions. Generalization to external samples, batches, and instruments requires further validation.