第48卷第1期2024年1月doi:10.11832/j.issn.1000-4858.2024.01.006基于小波包分析和优化KNN的电动开度阀故障检测方法唐炜,陈远,程鲲鹏(1.江苏科技大学机械工程学院,江苏镇江212100;2.江苏远望仪器有限公司技术部,江苏泰州225508)摘要:针对以微控制器MCU为控制核心的电动开度阀控制系统难以集成高效且计算量小的故障检测子系统的问题,基于小波包变换和优化K近邻(K-NearestNeighbor,KNN)算法提出了一种电动开度阀故障检测方法。对阀门振动信号进行小波包变换,计算小波包节点的能量值与其重构信号的时域特征参数。根据Pearson系数筛选出两种与能量强相关的故障特征参数:峰峰值与均方根,并将两者作为KNN算法的样本评价指标;通过对评价指标进行加权优化了KNN算法的距离计算公式,分别在MATLAB和实验样机中进行故障检测测试,对应最高分类准确率分别为92.5%与86.7%。结果表明:实验测试与仿真分析具有较好的一致性,该故障检测方法的优势在于计算量小、故障识别率较高,并能有效地应用于以MCU为核心的电动开度阀控制系统。关键词:电动开度阀;小波包分析;优化KNN;故障检测中图分类号:TH137;TP277文献标志码:B文章编号:1000-4858(2024)01-0046-10FaultDetectionMethodforElectricOpeningValvesBasedonWaveletPacketAnalysisandOptimizedKNNTANGWeil,CHENYuan',CHENGKun-peng?(1.SchoolofMechanicalEngineering,JiangsuUniversityofScienceandTechnology,Zhenjiang,Jiangsu212100;2.TechnologyDepartment,JiangsuYuanwangInstrumentCo.,Ltd.,Taizhou,Jiangsu225508)Abstract:Toaddresstheissueofdifficultintegrationofahighlyefficientandlow-computational-faultdetectionsubsystemintoanelectricopeningvalvecontrolsystemwithamicrocontrollerunit(MCU)asitscontrolcore,thispaperproposeafaultdetectionmethodforelectricopeningvalvesbasedonwaveletpackettransformandoptimizedK-NearestNeighbor(KNN)algorithm.Thewaveletpackettransformisappliedtothevalvevibrationsignal,andtheenergyvaluesofthewaveletnodesarecalculatedtogetherwiththetimedomaincharacteristicsofthereconstructedsignal.BasedonthePearsoncoefficients,twofaultcharacteristicsparameterswithstrongenergycorrelation:peak-to-peakvalueandrootmeansquare,andbothareusedassampleevaluationindicatorsfortheKNNalgorithm;thedistancecalculationformula...