[go: up one dir, main page]

CN117628005A - A fusion signal hydraulic motor fault diagnosis method and system - Google Patents

A fusion signal hydraulic motor fault diagnosis method and system Download PDF

Info

Publication number
CN117628005A
CN117628005A CN202311646319.7A CN202311646319A CN117628005A CN 117628005 A CN117628005 A CN 117628005A CN 202311646319 A CN202311646319 A CN 202311646319A CN 117628005 A CN117628005 A CN 117628005A
Authority
CN
China
Prior art keywords
signal
hydraulic motor
fault diagnosis
fusion
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311646319.7A
Other languages
Chinese (zh)
Inventor
郭勇
郭蒙宪
彭延峰
郭理宏
杨来铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan University of Science and Technology
Original Assignee
Hunan University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan University of Science and Technology filed Critical Hunan University of Science and Technology
Priority to CN202311646319.7A priority Critical patent/CN117628005A/en
Publication of CN117628005A publication Critical patent/CN117628005A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F15FLUID-PRESSURE ACTUATORS; HYDRAULICS OR PNEUMATICS IN GENERAL
    • F15BSYSTEMS ACTING BY MEANS OF FLUIDS IN GENERAL; FLUID-PRESSURE ACTUATORS, e.g. SERVOMOTORS; DETAILS OF FLUID-PRESSURE SYSTEMS, NOT OTHERWISE PROVIDED FOR
    • F15B19/00Testing; Calibrating; Fault detection or monitoring; Simulation or modelling of fluid-pressure systems or apparatus not otherwise provided for
    • F15B19/005Fault detection or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F15FLUID-PRESSURE ACTUATORS; HYDRAULICS OR PNEUMATICS IN GENERAL
    • F15BSYSTEMS ACTING BY MEANS OF FLUIDS IN GENERAL; FLUID-PRESSURE ACTUATORS, e.g. SERVOMOTORS; DETAILS OF FLUID-PRESSURE SYSTEMS, NOT OTHERWISE PROVIDED FOR
    • F15B21/00Common features of fluid actuator systems; Fluid-pressure actuator systems or details thereof, not covered by any other group of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention belongs to the technical field of fault diagnosis of a fusion signal hydraulic motor, and discloses a fault diagnosis method of the fusion signal hydraulic motor. According to the method for diagnosing the faults of the hydraulic motor with the fusion signal, 10 characteristic values such as root mean square, standard deviation and the like with the largest influence factors in the sound and vibration signals are selected by collecting the vibration and the sound signals of the hydraulic motor, and the fusion characteristic vector with higher and more obvious fault information content is constructed by adopting a similar label splicing method. And a fault diagnosis model of the plunger abrasion of the hydraulic motor is constructed by combining the fusion feature vector and the LightGBM algorithm, so that the rapid and accurate identification of the plunger abrasion of the hydraulic motor with 3 degrees is realized. Finally, the hydraulic motor plunger abrasion recognition results between different algorithms and different signals are compared and analyzed, and the superiority of the method is verified.

Description

一种融合信号液压马达故障诊断方法及系统A fusion signal hydraulic motor fault diagnosis method and system

技术领域Technical Field

本发明属于融合信号液压马达故障诊断技术领域,尤其涉及一种融合信号液压马达故障诊断方法。The invention belongs to the technical field of fusion signal hydraulic motor fault diagnosis, and in particular relates to a fusion signal hydraulic motor fault diagnosis method.

背景技术Background Art

液压舵机是航空航天、潜艇和船舶等领域常用的机械设备,对转向和维持稳定性有着至关重要的作用。液压马达作为舵机液压系统的执行元件,其工作性能决定着整个舵机系统的安全稳定的运行,因此,采用简单有效的故障诊断方法对液压系统的正常运行有着重要意义。传统的液压马达故障诊断方法对经验知识的依赖性较强,并且存在故障特征提取困难的问题。有研究者通过采集液压马达运行时的振动信号或声音信号,结合机器学习进行故障诊断。振动信号具有较高的信噪比和灵敏度,声音传感器可非接触采集,且声音信号具有更高的带宽,采集的频率范围更广,常用于故障诊断方法中。Zhu和Jiang等对液压柱塞泵的振动信号进行监测,并利用小波变换对振动信号进行分解重构提取时域和频域等故障特征,结合卷积神经网络实现了对液压柱塞泵不同故障的分类。Wang和Liu利用经验模态分解获得振动信号的模态函数分量,进而计算时频矩阵的熵,最后利用随机森林对离心泵进行了故障诊断。加速度传感器的灵敏度是固定值,对早期的故障识别不够精确,且振动信号具有强烈的非线性和非平稳性,对传感器采集信号产生了较大的影响。声音传感器具有无损安装和非接触式测量的优点,且灵敏度更高,被多数学者应用于故障诊断的数据采集中。Tang等对基于音频信号分析的机械故障诊断进行了综述,分析了使用音频信号所具有的优点,并总结了基于音频信号故障诊断的发展前景。Mian等通过采集不同故障状态下轴承的声音信号并提取信号的音质特征,最后利用支持向量机算法实现了轴承故障诊断。声音信号中包含了很多环境中的干扰噪音,要提高声音信号的信噪比就需要进行分解降噪处理。分解的层数较少难以达到去噪效果,分解层数较多会减少信号中的有用信息,影响诊断准确率。Hydraulic steering gear is a commonly used mechanical equipment in aerospace, submarines and ships, and plays a vital role in steering and maintaining stability. As the actuator of the steering gear hydraulic system, the working performance of the hydraulic motor determines the safe and stable operation of the entire steering gear system. Therefore, the use of simple and effective fault diagnosis methods is of great significance to the normal operation of the hydraulic system. Traditional hydraulic motor fault diagnosis methods rely heavily on empirical knowledge and have the problem of difficulty in extracting fault features. Some researchers have collected vibration signals or sound signals during the operation of hydraulic motors and combined them with machine learning for fault diagnosis. Vibration signals have a high signal-to-noise ratio and sensitivity, sound sensors can be collected non-contact, and sound signals have a higher bandwidth and a wider frequency range, which are often used in fault diagnosis methods. Zhu and Jiang et al. monitored the vibration signals of hydraulic piston pumps, and used wavelet transform to decompose and reconstruct the vibration signals to extract fault features such as time domain and frequency domain, and combined with convolutional neural networks to realize the classification of different faults of hydraulic piston pumps. Wang and Liu used empirical mode decomposition to obtain the modal function components of the vibration signal, and then calculated the entropy of the time-frequency matrix. Finally, they used random forests to diagnose the faults of centrifugal pumps. The sensitivity of the acceleration sensor is a fixed value, which is not accurate enough for early fault identification. The vibration signal has strong nonlinearity and non-stationarity, which has a great impact on the sensor acquisition signal. The sound sensor has the advantages of non-destructive installation and non-contact measurement, and has higher sensitivity. It is used by most scholars in data acquisition for fault diagnosis. Tang et al. reviewed mechanical fault diagnosis based on audio signal analysis, analyzed the advantages of using audio signals, and summarized the development prospects of fault diagnosis based on audio signals. Mian et al. collected the sound signals of bearings under different fault states and extracted the sound quality characteristics of the signals. Finally, they realized bearing fault diagnosis using the support vector machine algorithm. The sound signal contains a lot of interference noise in the environment. To improve the signal-to-noise ratio of the sound signal, it is necessary to perform decomposition and noise reduction processing. It is difficult to achieve denoising effect with a small number of decomposition layers. A large number of decomposition layers will reduce the useful information in the signal and affect the accuracy of diagnosis.

由于液压系统的故障存在不确定性和隐秘性的特点,对故障点的分析较复杂,仅通过单一的信号源或故障特征难以准确识别液压系统存在的故障。为了保证内曲线径向柱塞式液压马达的稳定运行,及时准确的实现故障监测,有学者提出基于多源传感器融合特征的故障诊断方法,并取得了较为理想的效果。Li等为检测有杆泵系统的故障类型,提出了一种基于指示图的傅里叶描述子和图形特征的多特征融合故障诊断模型,增强了特征的鲁棒性,并验证了多输入特征融合模型比单输入特征模型的诊断准确率更高。Tang等利用液压柱塞泵的振动信号、压力信号和声音信号,结合卷积神经网络(CNN)提出了一种自适应学习率的液压柱塞泵故障诊断方法。通过连续小波变换将三种原始信号转换成二维时频图像,并利用CNN模型识别出了不同的故障类型。Karabacak等[9]为降低蜗杆齿轮箱的磨损和故障风险,通过对正常和故障转子的振动、声音和热图像数据进行处理,利用人工神经网络(ANN)和支持向量机(SVM)对时域、频域和热图像特征进行奇异、对偶或三重形式的提取,实现了对蜗杆齿轮箱的磨损故障诊断。Long等提出了一种基于AdaBoost的多传感器信息驱动电机故障诊断方法。利用希尔伯特变换和傅里叶变换提取所采集电机的电流、磁和振动信号的频域特征,并利用AdaBoost模型进行训练和诊断。这种故障诊断方法具有较高的鲁棒性和泛化能力。通过上述文献分析可知,利用多信号融合显然比单一信号具有更高的诊断识别准确率,但是对原始信号的处理较复杂,而且结合神经网络和AdaBoost算法等传统机器学习的故障诊断方法,内存占用较大且运算时间长,故障识别率不高。Due to the uncertainty and hidden nature of hydraulic system failures, the analysis of fault points is complex, and it is difficult to accurately identify hydraulic system failures using only a single signal source or fault feature. In order to ensure the stable operation of the inner curve radial piston hydraulic motor and realize timely and accurate fault monitoring, some scholars have proposed a fault diagnosis method based on multi-source sensor fusion features, and achieved relatively ideal results. Li et al. proposed a multi-feature fusion fault diagnosis model based on the Fourier descriptor and graphic features of the indicator graph to detect the fault type of the rod pump system, which enhanced the robustness of the features and verified that the multi-input feature fusion model has a higher diagnostic accuracy than the single-input feature model. Tang et al. used the vibration signal, pressure signal and sound signal of the hydraulic piston pump and combined it with the convolutional neural network (CNN) to propose a hydraulic piston pump fault diagnosis method with an adaptive learning rate. The three original signals were converted into two-dimensional time-frequency images by continuous wavelet transform, and different fault types were identified using the CNN model. In order to reduce the wear and failure risk of worm gearboxes, Karabacak et al. [9] processed the vibration, sound and thermal image data of normal and faulty rotors, and used artificial neural networks (ANN) and support vector machines (SVM) to extract singular, dual or triple forms of time domain, frequency domain and thermal image features, thus realizing wear fault diagnosis of worm gearboxes. Long et al. proposed a multi-sensor information-driven motor fault diagnosis method based on AdaBoost. The frequency domain features of the collected motor current, magnetic and vibration signals were extracted using Hilbert transform and Fourier transform, and the AdaBoost model was used for training and diagnosis. This fault diagnosis method has high robustness and generalization ability. Through the analysis of the above literature, it can be seen that the use of multi-signal fusion obviously has a higher diagnostic recognition accuracy than a single signal, but the processing of the original signal is more complicated, and the fault diagnosis method combined with traditional machine learning such as neural network and AdaBoost algorithm has a large memory usage and a long operation time, and the fault recognition rate is not high.

传统的GBDT和AdaBoost等机器学习算法是对Boosting算法的实现,存在鲁棒性较差和诊断效率低的缺点。XGBoost和LightGBM算法是基于GBDT算法的提升,梯度提升树算法解决了传统算法训练时间长、故障识别率低的问题,是目前使用最广泛的故障诊断方法。Xiang和Wang等分别利用快速傅里叶换和支持向量机算法对原始数据进行处理,进而结合XGBoost模型对特征重要度排序和诊断,提高了对滚动轴承故障诊断的准确率。Wu和Zhang等为提高风力发电机故障诊断的准确性和可靠性,建立了XGBoost故障识别模型,并将诊断结果与支持向量机和Adaboost算法进行了对比,结果表明XGBoost算法具有更高的分类准确率。上述学者的研究表明XGBoost算法比传统机器学习算法具有更高的故障诊断准确率,并且广泛应用于各类机械设备的故障诊断中。但是XGBoost算法遍历数据的方式限制了运算的速度,降低了故障诊断的效率。而LightGBM算法能够在保证准确率的情况下提升数据运算的效率,并被广泛应用于齿轮箱、滚动轴承和液压马达的故障诊断中。Tang等针对传统机器学习算法在风力发电机齿轮箱故障诊断中效率和精度低的问题,研究了LightGBM算法在风电齿轮箱故障诊断中的应用。进一步证实了LightGBM算法比传统算法的检测精度更高,并且具有更低的误报率和漏检率。Guo等将小波降噪算法和LightGBM模型结合对液压马达基座螺栓松动故障进行了诊断,并和传统机器学习算法进行对比,结果显示LightGBM算法具有更高的诊断效率。Xu等为解决传统的基于深度学习算法的故障诊断模型训练时间长、诊断效率低等问题,提出了一种卷积神经网络和LightGBM相结合的滚动轴承故障诊断方法。并通过构造数据集验证了LightGBM模型的诊断效率和准确率优于其他模型。Traditional machine learning algorithms such as GBDT and AdaBoost are implementations of Boosting algorithms, which have the disadvantages of poor robustness and low diagnostic efficiency. XGBoost and LightGBM algorithms are based on the improvement of GBDT algorithm. The gradient boosting tree algorithm solves the problems of long training time and low fault recognition rate of traditional algorithms, and is currently the most widely used fault diagnosis method. Xiang and Wang et al. used fast Fourier transform and support vector machine algorithms to process the original data, respectively, and then combined the XGBoost model to sort and diagnose the feature importance, thereby improving the accuracy of rolling bearing fault diagnosis. Wu and Zhang et al. established an XGBoost fault recognition model to improve the accuracy and reliability of wind turbine fault diagnosis, and compared the diagnosis results with support vector machine and Adaboost algorithms. The results showed that the XGBoost algorithm has a higher classification accuracy. The research of the above scholars shows that the XGBoost algorithm has a higher fault diagnosis accuracy than the traditional machine learning algorithm, and is widely used in the fault diagnosis of various mechanical equipment. However, the way the XGBoost algorithm traverses data limits the speed of calculation and reduces the efficiency of fault diagnosis. The LightGBM algorithm can improve the efficiency of data calculation while ensuring accuracy, and is widely used in fault diagnosis of gearboxes, rolling bearings and hydraulic motors. Tang et al. studied the application of the LightGBM algorithm in wind turbine gearbox fault diagnosis in response to the low efficiency and accuracy of traditional machine learning algorithms in wind turbine gearbox fault diagnosis. It was further confirmed that the LightGBM algorithm has higher detection accuracy than traditional algorithms and has lower false alarm rate and missed detection rate. Guo et al. combined the wavelet denoising algorithm with the LightGBM model to diagnose the loosening fault of the hydraulic motor base bolt and compared it with the traditional machine learning algorithm. The results showed that the LightGBM algorithm has higher diagnostic efficiency. In order to solve the problems of long training time and low diagnostic efficiency of traditional fault diagnosis models based on deep learning algorithms, Xu et al. proposed a rolling bearing fault diagnosis method combining convolutional neural network and LightGBM. And by constructing a data set, it was verified that the diagnostic efficiency and accuracy of the LightGBM model are better than other models.

从上述文献可知,振动传感器的灵敏度是固定值,对早期的故障识别不够精确,且振动信号具有强烈的非线性和非平稳性,对传感器采集信号产生了较大的影响。声音信号中包含了很多环境中的干扰噪音,要提高声音信号的信噪比就需要进行分解降噪处理。分解的层数较少难以达到去噪效果,分解层数较多会减少信号中的有用信息,影响诊断准确率。采用单信号进行故障诊断识别率不高,而采用信号融合方法可将两种传感器的优点结合起来,利用不同传感器对故障敏感频段以提高故障识别率。对于现有的多源传感器融合的方法,有文献证实了比单信号特征模型具有更高的诊断效果。但对于原始数据的转换和特征的提取较为麻烦,而且多是基于传统的GBDT和AdaBoost算法进行的故障识别,这种方法故障诊断模型训练时间长、诊断效率低。From the above literature, we can know that the sensitivity of vibration sensor is a fixed value, which is not accurate enough for early fault identification. In addition, vibration signal has strong nonlinearity and non-stationarity, which has a great impact on the sensor acquisition signal. Sound signal contains a lot of interference noise in the environment. To improve the signal-to-noise ratio of sound signal, decomposition and noise reduction processing is required. It is difficult to achieve denoising effect with fewer decomposition layers, and more decomposition layers will reduce the useful information in the signal and affect the diagnosis accuracy. The fault diagnosis recognition rate of single signal is not high, while the signal fusion method can combine the advantages of the two sensors and use the fault-sensitive frequency bands of different sensors to improve the fault recognition rate. For the existing multi-source sensor fusion method, some literatures have confirmed that it has a higher diagnostic effect than the single signal feature model. However, it is more troublesome to convert the original data and extract the features, and most of them are based on the traditional GBDT and AdaBoost algorithms for fault identification. This method takes a long time to train the fault diagnosis model and has low diagnostic efficiency.

通过上述分析,现有技术存在的问题及缺陷为:Through the above analysis, the problems and defects of the prior art are as follows:

仅通过单一的信号源或故障特征识别液压马达的故障,受制于液压马达系统故障存在的不确定性和隐秘性特点,故障识别结果准确性差;The fault of hydraulic motor is identified only through a single signal source or fault feature. Due to the uncertainty and hidden nature of the fault in hydraulic motor system, the fault identification result is inaccurate.

采用单一信号源结合GBDT和AdaBoost等机器学习算法开展液压马达故障识别,诊断过程鲁棒性和效率均较低。A single signal source combined with machine learning algorithms such as GBDT and AdaBoost is used to carry out hydraulic motor fault identification, but the robustness and efficiency of the diagnosis process are low.

发明内容Summary of the invention

针对现有技术存在的问题,本发明提供了一种融合信号液压马达故障诊断方法。In view of the problems existing in the prior art, the present invention provides a fusion signal hydraulic motor fault diagnosis method.

本发明是这样实现的,一种融合信号液压马达故障诊断方法包括:The present invention is implemented in this way: a fusion signal hydraulic motor fault diagnosis method comprises:

步骤一,通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号;Step 1: simulate the piston failure by using the inner curve radial piston hydraulic motor test bench, and collect the vibration signal and sound signal of the motor when the piston is normal and three different degrees of wear;

步骤二,利用小波软阈值算法进行降噪处理,并依据数据相关性提取时域和频域特征值进行特征融合;Step 2: Use the wavelet soft threshold algorithm to perform noise reduction, and extract the time domain and frequency domain eigenvalues for feature fusion based on data correlation;

步骤三,构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断;Step 3: Build a LightGBM motor plunger fault diagnosis model and divide the fused features into a data set containing normal and three types of fault signal labels for training and diagnosis;

步骤四,通过不同算法之间和不同信号之间的对比验证了该方法的优越性。Step 4: The superiority of this method is verified by comparing different algorithms and different signals.

进一步,所述通过内曲线径向柱塞式液压马达试验台模拟柱塞故障方法如下:Further, the method for simulating plunger failure by using the inner curve radial plunger hydraulic motor test bench is as follows:

内曲线径向柱塞液压马达其结构主要由定子、转子、输出轴、柱塞和滚珠组成;定子曲线由6个均匀分布的作用弧段组成,10个柱塞等间距分布于转子周围;当马达工作时,高压油通过配油轴进入到转子高压腔,产生较大的压力推动柱塞沿轴径向向外伸出,使滚珠与内曲线导轨接触产生相互作用力,其中切向分力带动转子连续旋转而输出扭矩;同时将处于低压区柱塞腔内的液压油通过配油轴低压油口排出,通过不断地通入高压油排出低压油来实现马达连续工作;The structure of the inner curve radial piston hydraulic motor is mainly composed of a stator, a rotor, an output shaft, a plunger and a ball. The stator curve consists of 6 evenly distributed action arcs, and 10 plungers are evenly spaced around the rotor. When the motor is working, high-pressure oil enters the rotor high-pressure chamber through the oil distribution shaft, generating a large pressure to push the plunger outward along the shaft radial direction, so that the ball contacts the inner curve guide rail to generate an interaction force, in which the tangential component drives the rotor to rotate continuously and output torque. At the same time, the hydraulic oil in the plunger chamber in the low-pressure area is discharged through the low-pressure oil port of the oil distribution shaft, and the motor is continuously operated by continuously introducing high-pressure oil and discharging low-pressure oil.

定子和转子之间的振动主要是由柱塞组件引起的,由柱塞马达结构图可知,有2个柱塞是处于同一个位置,典型的振动频率主要为:The vibration between the stator and the rotor is mainly caused by the plunger assembly. From the plunger motor structure diagram, we can see that there are two plungers in the same position. The typical vibration frequency is mainly:

式中,n为液压马达的转速,p为内曲线的个数,q为柱塞的个数;对于其中一个柱塞的频率可表示为Where n is the speed of the hydraulic motor, p is the number of inner curves, and q is the number of plungers. The frequency of one of the plungers can be expressed as

进一步,所述依据数据相关性提取时域和频域特征值进行特征融合方法如下:Furthermore, the method for extracting time domain and frequency domain eigenvalues based on data correlation to perform feature fusion is as follows:

(1)特征选取(1) Feature selection

经过去噪后的信号在Python中进行数据相关性可视化处理,依据特征重要度从振动信号和声音信号数据中共选取了均值、均方根、峰值指标、标准差、波形指标、脉冲指标等6种时域特征和幅值谱均值、幅值谱标准差、频率重心、谱幅值偏斜度、频率标准差、频率偏斜度等6种频域特征;The denoised signals were visualized in Python for data correlation. Six time-domain features, including mean, root mean square, peak index, standard deviation, waveform index, and pulse index, and six frequency-domain features, including amplitude spectrum mean, amplitude spectrum standard deviation, frequency center of gravity, spectrum amplitude skewness, frequency standard deviation, and frequency skewness, were selected from the vibration signal and sound signal data according to feature importance.

(2)模型评估方法(2) Model evaluation method

混淆矩阵是评价模型性能的常用指标,它能反映预测结果和真实情况之间的关系,模型评估中常选用accuracy、precision、recall和f1-score等4种指标进行评价;The confusion matrix is a commonly used indicator for evaluating model performance. It can reflect the relationship between the predicted results and the actual situation. Four indicators, including accuracy, precision, recall and f1-score, are often used for model evaluation.

各评价指标表达式为:The expressions of each evaluation index are:

PR曲线ROC曲线是用于评估分类器性能的技术和工具,它可以计算预测结果的准确性和可靠性;在PR曲线中,是将recall和precision绘制在同一条曲线上;ROC曲线通过将分类器的真正率(TPR)和假正率(FPR)绘制在一条曲线上,可直观地比较分类器的性能;TPR和FPR可表示为:PR curve ROC curve is a technique and tool for evaluating the performance of a classifier. It can calculate the accuracy and reliability of the prediction results. In the PR curve, recall and precision are plotted on the same curve. The ROC curve can visually compare the performance of the classifier by plotting the true positive rate (TPR) and false positive rate (FPR) of the classifier on a curve. TPR and FPR can be expressed as:

(3)诊断方法流程(3) Diagnostic method flow

试验台搭建与信号采集:搭建内曲线径向故障诊断试验台,对柱塞进行三种不同深度磨损,利用振动加速度传感器和PCB声音传感器采集不同故障时马达的振动和声音信号;Test bench construction and signal collection: Build an inner curve radial fault diagnosis test bench, wear the plunger at three different depths, and use vibration acceleration sensors and PCB sound sensors to collect vibration and sound signals of the motor when there are different faults;

信号去噪与特征提取:分别对振动信号和声音信号利用小波算法进行去噪,并利用数学方法提取时域和频域特征;Signal denoising and feature extraction: The vibration signal and sound signal are denoised using wavelet algorithm, and time domain and frequency domain features are extracted using mathematical methods;

信号特征融合:采用特征融合方法将振动信号和声音信号的特征值进行融合;Signal feature fusion: The feature fusion method is used to fuse the feature values of the vibration signal and the sound signal;

模型训练与故障诊断:将振动信号数据、声音信号数据和融合信号特征数据集分别划分为训练集和测试集,输入到故障诊断模型中进行训练和诊断,并设置最大深度防止出现过拟合。Model training and fault diagnosis: The vibration signal data, sound signal data, and fusion signal feature data sets are divided into training sets and test sets, respectively, and input into the fault diagnosis model for training and diagnosis, and the maximum depth is set to prevent overfitting.

进一步,所述采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号方法如下:Furthermore, the method for collecting the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear is as follows:

1)实验方法;1) Experimental methods;

2)数据处理;2) Data processing;

3)特征选取。3) Feature selection.

进一步,所述实验方法:Further, the experimental method:

本发明搭建了内曲线径向柱塞式液压马达故障诊断实验平台,模拟柱塞结构不同磨损深度的故障类型,该试验台由故障模拟系统和数据采集系统组成:The present invention builds an internal curve radial piston hydraulic motor fault diagnosis experimental platform to simulate the fault types of different wear depths of the piston structure. The test bench consists of a fault simulation system and a data acquisition system:

柱塞故障模拟试验台,利用内曲线径向柱塞式液压马达模拟故障,PCB声音传感器安装在液压马达外侧25cm处,振动加速度传感器以磁吸的方式安装在液压马达的后端盖上,X轴与马达的径向相同,转速传感器安装在液压马达轴向外侧4mm处;The plunger fault simulation test bench uses an inner curve radial plunger hydraulic motor to simulate the fault. The PCB sound sensor is installed 25cm outside the hydraulic motor. The vibration acceleration sensor is magnetically installed on the rear end cover of the hydraulic motor. The X-axis is the same as the radial direction of the motor. The speed sensor is installed 4mm outside the axial direction of the hydraulic motor.

数据采集系统,PC端通过以太网连接数据采集卡接收和储存数据;转速显示仪可以实时显示液压马达的转速,保证每次实验的转速相同,排除无关因素的干扰,提高实验结果的准确性;实验时通过伺服控制系统控制液压油源供给稳定的流量,保证液压马达转速稳定在300r/min;设置数据采集系统的采样频率为2000Hz,采集柱塞正常和三种不同程度磨损故障时的振动和声音信号,每组实验数据采集6分钟。Data acquisition system, PC end connects to data acquisition card via Ethernet to receive and store data; the speed display can display the speed of the hydraulic motor in real time to ensure that the speed is the same for each experiment, eliminate the interference of irrelevant factors, and improve the accuracy of the experimental results; during the experiment, the servo control system controls the hydraulic oil source to supply a stable flow rate to ensure that the speed of the hydraulic motor is stable at 300r/min; the sampling frequency of the data acquisition system is set to 2000Hz, and the vibration and sound signals of the plunger are collected when it is normal and when there are three different degrees of wear failures. Each set of experimental data is collected for 6 minutes.

进一步,所述数据处理方法:Furthermore, the data processing method:

通过振动传感器和声音传感器获取的实验数据通常包含有噪声信号的干扰,尤其声音传感器的检测频率低,对环境中的声音较为敏感;因此,依据柱塞磨损故障信号的特点,选用小波软阈值算法对振动和声音信号进行分解与重构,以达到对原始信号的去噪效果;软阈值函数可表示为:The experimental data obtained by vibration sensors and sound sensors usually contain interference from noise signals. In particular, the detection frequency of sound sensors is low and they are more sensitive to the sounds in the environment. Therefore, according to the characteristics of plunger wear fault signals, the wavelet soft threshold algorithm is used to decompose and reconstruct the vibration and sound signals to achieve the denoising effect of the original signals. The soft threshold function can be expressed as:

通过小波软阈值去噪后的信号为时域信号,为更好的观察信号的特点和提取频域特征,选择快速傅里叶变换(FFT)将信号变换为频域表示,其傅里叶变换及其逆变换公式分别为:The signal after wavelet soft threshold denoising is a time domain signal. In order to better observe the characteristics of the signal and extract the frequency domain features, the fast Fourier transform (FFT) is selected to transform the signal into a frequency domain representation. The Fourier transform and its inverse transform formulas are:

通过频域对比可以看出,经过小波软阈值去噪后信号中的毛刺减少,从而反应了信号的清洁度得到了提高,达到了去噪效果;本发明采用内曲线径向柱塞式液压马达,柱塞数量为10,壳体内曲线为6,实验转速为300r/min;从图6的对比中可以看出,振动传感器对液压马达转速的半倍频较为敏感,声音传感器对液压马达转速的一倍和二倍频率较为敏感,且对单个柱塞的频率响应效果更好;考虑到振动传感器和声音传感器对柱塞故障具有不同的响应频率,本发明结合振动和声音信号各自的优点,对两种信号的特征值进行融合,以此提高对液压马达柱塞故障的诊断精确度。Through frequency domain comparison, it can be seen that the burrs in the signal are reduced after wavelet soft threshold denoising, which reflects that the cleanliness of the signal has been improved and the denoising effect has been achieved; the present invention adopts an inner curve radial piston hydraulic motor, the number of pistons is 10, the inner curve of the shell is 6, and the experimental speed is 300r/min; from the comparison of Figure 6, it can be seen that the vibration sensor is more sensitive to the half frequency of the hydraulic motor speed, and the sound sensor is more sensitive to the one and two times the frequency of the hydraulic motor speed, and the frequency response effect of a single plunger is better; considering that the vibration sensor and the sound sensor have different response frequencies to plunger faults, the present invention combines the respective advantages of vibration and sound signals, and fuses the characteristic values of the two signals to improve the diagnostic accuracy of hydraulic motor plunger faults.

进一步,所述特征选取方法:Furthermore, the feature selection method:

利用内曲线径向柱塞液压马达实验台模拟柱塞故障,采集柱塞不同状态下的振动和声音信号;采集频率设置为2000Hz,每组数据采集6分钟,每组数据共720000个采样点,依次选取4000个采样点生成一个样本,共有180个样本,训练集和测试集的样本数量分别为80%和20%;The inner curve radial piston hydraulic motor test bench was used to simulate the piston failure and collect the vibration and sound signals of the piston in different states. The acquisition frequency was set to 2000Hz, and each set of data was collected for 6 minutes. Each set of data had 720,000 sampling points. 4000 sampling points were selected in turn to generate a sample, with a total of 180 samples. The number of samples in the training set and the test set were 80% and 20% respectively.

时域和频域特征是反应液压马达运行状态的常用指标;利用振动和声音传感器采集柱塞正常和不同磨损时的信号,经过小波软阈值去噪后,采用数学方法分别提取每组数据的时域和频域特征值各11类;生成振动信号和声音信号特征值数据集,并进行数据集相关性分析:Time domain and frequency domain characteristics are commonly used indicators to reflect the operating status of hydraulic motors. Vibration and sound sensors are used to collect signals of normal and different wear of the plunger. After wavelet soft threshold denoising, mathematical methods are used to extract 11 categories of time domain and frequency domain eigenvalues of each group of data. Vibration signal and sound signal eigenvalue data sets are generated, and correlation analysis of the data sets is performed:

数据相关性热力图反应了数据之间的关联信息,图中正相关和负相关数值越大越能反应液压马达运行状态信息;依据热力图选取了均方根值、方根幅值、标准差、峰值指标、波形指标、谱幅值均值、谱幅值标准差、谱幅值偏斜度、谱幅值峭度、频率偏斜度等10类振动信号特征值;选取了均方根值、方根幅值、峰值、标准差、峰值指标、脉冲指标、谱幅值均值、谱幅值标准差、频率重心、频率标准差等10类声音信号特征值;最后将每组正常和故障特征值按照对应的数据标签进行横向融合,不改变样本数量,只增加了数据集长度。The data correlation heat map reflects the correlation information between the data. The larger the positive correlation and negative correlation values in the figure, the more it can reflect the operating status information of the hydraulic motor; based on the heat map, 10 types of vibration signal characteristic values are selected, including root mean square value, root square amplitude, standard deviation, peak index, waveform index, spectrum amplitude mean, spectrum amplitude standard deviation, spectrum amplitude skewness, spectrum amplitude kurtosis, and frequency skewness; 10 types of sound signal characteristic values are selected, including root mean square value, root square amplitude, peak value, standard deviation, peak index, pulse index, spectrum amplitude mean, spectrum amplitude standard deviation, frequency center of gravity, and frequency standard deviation; finally, each group of normal and fault characteristic values are horizontally fused according to the corresponding data labels, without changing the number of samples, only increasing the length of the data set.

进一步,所述将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断方法:Furthermore, the fusion features are divided into a data set containing normal and three types of fault signal labels for training and diagnosis:

(1)数据预分类与可视化;(1) Data pre-classification and visualization;

(2)模型评估。(2) Model evaluation.

进一步,所述数据预分类与可视化方法:Furthermore, the data pre-classification and visualization method:

为了预先观察融合信号数据相对于振动和声音信号的分类效果,利用T-SNE算法将数据进行可视化处理;从图中可以看出,振动信号的分类具有一定的聚集性,但聚集点太多,没有将同类别的样本聚集在一起;对声音信号的分类离散性较强,不同类型的数据点融合在了一起,分类效果较差;对于融合信号的分类可以看出,不同类型的数据点几乎完全分开,样本之间的交叉点少,分类效果更好。In order to observe the classification effect of the fused signal data relative to the vibration and sound signals in advance, the T-SNE algorithm is used to visualize the data. It can be seen from the figure that the classification of vibration signals has a certain degree of clustering, but there are too many clustering points, and samples of the same category are not clustered together. The classification of sound signals is more discrete, and different types of data points are fused together, and the classification effect is poor. For the classification of fused signals, it can be seen that different types of data points are almost completely separated, there are fewer intersections between samples, and the classification effect is better.

进一步,所述模型评估方法:Further, the model evaluation method:

AdaBoost算法是在Boosting算法的基础上的改进,具有较高的有效性和实用性;GBDT算法是一种梯度提升迭代决策树算法,XGBoost和LightGBM算法是基于GBDT的改进,也是最受欢迎的决策树提升算法,具有更高的学习效率;本发明通过对比四种算法分别对融合信号、振动信号和声音信号的分类精确度,来验证LightGBM算法的高效性和对融合信号数据的分类效果;The AdaBoost algorithm is an improvement on the Boosting algorithm, and has high effectiveness and practicality; the GBDT algorithm is a gradient boosting iterative decision tree algorithm, and the XGBoost and LightGBM algorithms are improvements based on GBDT, and are also the most popular decision tree boosting algorithms, with higher learning efficiency; the present invention verifies the efficiency of the LightGBM algorithm and the classification effect of the fusion signal data by comparing the classification accuracy of the four algorithms for the fusion signal, vibration signal and sound signal respectively;

不同模型的诊断结果,传统的AdaBoost算法分效果较差,对三种数据集的诊断精确度都低于其他三种算法10%以上;GBDT、XGBoost和LightGBM算法对三种数据集的分类效果相差不大,但LightGBM算法的诊断精确度要高0.17%-0.33%,并且三种算法对融合数据集的诊断结果精确度更高,AdaBoost算法的训练时间最短,但是它的诊断精确度较低;GBDT、XGBoost和LightGBM算法诊断精确度相差不多,但LightGBM比GBDT和XGBoost算法的训练时间分别缩短了6倍和3倍,因此,LightGBM算法具有更高的诊断精确度和更高的效率;The diagnostic results of different models show that the traditional AdaBoost algorithm has poor classification effect, and its diagnostic accuracy for the three data sets is more than 10% lower than that of the other three algorithms; the classification effects of GBDT, XGBoost and LightGBM algorithms on the three data sets are not much different, but the diagnostic accuracy of the LightGBM algorithm is 0.17%-0.33% higher, and the diagnostic results of the three algorithms for the fusion data set are more accurate. The training time of the AdaBoost algorithm is the shortest, but its diagnostic accuracy is lower; the diagnostic accuracy of the GBDT, XGBoost and LightGBM algorithms is similar, but the training time of LightGBM is 6 times and 3 times shorter than that of GBDT and XGBoost algorithms, respectively. Therefore, the LightGBM algorithm has higher diagnostic accuracy and higher efficiency;

利用小波软阈值算法对振动信号和声音信号进行去噪处理,提取特征值依据数据标签对应融合,生成融合信号数据集,每种数据集包含正常和三种故障类型,但不改变样本数量;LightGBM模型对融合信号、振动信号和声音信号的故障诊断结果,并引入accuracy、precision、recall和f1-score作为分类性能的评价指标;利用LightGBM模型对三种数据集进行训练和诊断,通过对比可以看出对融合数据集的诊断精确度比振动和声音信号分别提高4.86%和14.59%;对融合数据集precision、recall和f1-score的诊断结果也都比振动和声音数据集提高了4.5%-13.25%不等;The vibration signal and sound signal are denoised using the wavelet soft threshold algorithm, and the eigenvalues are extracted and fused according to the corresponding data labels to generate a fused signal data set. Each data set contains normal and three fault types, but the number of samples does not change. The LightGBM model is used to diagnose the faults of the fused signal, vibration signal and sound signal, and introduces accuracy, precision, recall and f1-score as evaluation indicators of classification performance. The LightGBM model is used to train and diagnose the three data sets. By comparison, it can be seen that the diagnostic accuracy of the fused data set is 4.86% and 14.59% higher than that of the vibration and sound signals respectively. The diagnostic results of the precision, recall and f1-score of the fused data set are also 4.5%-13.25% higher than those of the vibration and sound data sets.

ROC和PR曲线是用于评估机器学习算法对一个给定数据集的分类性能,每个数据集都包含固定数目的正样本和负样本,曲线下的面积越大说明机器学习算法对数据集的分类性能越好;FPR是指实际为负样本被预测为正样本的概率,TPR是指实际为正样本被预测为负样本的概率;Precision是指被预测为正的样本占正样本的比例,Recall是指正样本中被预测为正样本的比例;基于LightGBM算法对振动、声音和融合信号数据集的分类效果,LightGBM算法对声音数据集的分类效果最差,对融合数据集的分类效果远高于振动和声音数据集。ROC and PR curves are used to evaluate the classification performance of machine learning algorithms for a given data set. Each data set contains a fixed number of positive samples and negative samples. The larger the area under the curve, the better the classification performance of the machine learning algorithm for the data set. FPR refers to the probability that a sample that is actually a negative sample is predicted to be a positive sample, and TPR refers to the probability that a sample that is actually a positive sample is predicted to be a negative sample. Precision refers to the proportion of samples predicted to be positive to positive samples, and Recall refers to the proportion of samples predicted to be positive to positive samples. Based on the classification effect of the LightGBM algorithm on vibration, sound, and fusion signal data sets, the LightGBM algorithm has the worst classification effect on the sound data set, and the classification effect on the fusion data set is much higher than that of the vibration and sound data sets.

本发明的另一目的在于提供一种融合信号液压马达故障诊断系统,包括:Another object of the present invention is to provide a fusion signal hydraulic motor fault diagnosis system, comprising:

故障模拟组件:包括一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常状态和不同程度的磨损故障,并采集相应的振动和声音信号;Fault simulation component: including an inner curve radial piston hydraulic motor test bench, which is used to simulate the normal state and different degrees of wear faults of the piston, and collect the corresponding vibration and sound signals;

信号处理组件模块:利用小波软阈值算法对采集到的信号进行降噪处理,提高信号质量以供后续分析;Signal processing component module: Use the wavelet soft threshold algorithm to reduce the noise of the collected signal and improve the signal quality for subsequent analysis;

特征提取与融合模块:基于数据相关性分析,从处理后的时域和频域信号中提取特征值,并进行特征融合,形成用于故障诊断的综合特征集;Feature extraction and fusion module: Based on data correlation analysis, feature values are extracted from the processed time domain and frequency domain signals, and feature fusion is performed to form a comprehensive feature set for fault diagnosis;

故障诊断模型模块:构建一个基于LightGBM算法的马达柱塞故障诊断模型,使用包含正常及三种故障信号标签的融合特征数据集进行模型训练和诊断;Fault diagnosis model module: Build a motor plunger fault diagnosis model based on the LightGBM algorithm, and use a fusion feature dataset containing normal and three fault signal labels for model training and diagnosis;

性能验证组件模块:包含用于评估和验证诊断模型性能的工具,如混淆矩阵、PR曲线和ROC曲线,以及进行不同算法和信号类型的对比分析,验证所提方法的有效性和优越性。Performance Verification Component Module: Contains tools for evaluating and verifying the performance of diagnostic models, such as confusion matrix, PR curve, and ROC curve, as well as comparative analysis of different algorithms and signal types to verify the effectiveness and superiority of the proposed method.

进一步,包括一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常和不同程度的磨损故障,同时配备振动和声音信号采集装置,用于采集马达在各种状态下的相应信号。Furthermore, it includes an inner curve radial piston hydraulic motor test bench for simulating normal and different degrees of wear failure of the piston, and is equipped with a vibration and sound signal collection device for collecting corresponding signals of the motor in various states.

进一步,包括一个信号处理模块,利用小波软阈值算法对采集的振动和声音信号进行降噪处理,提高信号质量以便于更准确地进行故障诊断。Furthermore, a signal processing module is included, which uses a wavelet soft threshold algorithm to perform noise reduction processing on the collected vibration and sound signals, thereby improving the signal quality so as to facilitate more accurate fault diagnosis.

进一步,包括一个特征提取和融合模块,用于基于数据相关性分析,从降噪后的振动和声音信号中提取时域和频域特征值,并进行特征融合,形成用于故障诊断的综合特征集。Furthermore, a feature extraction and fusion module is included for extracting time domain and frequency domain feature values from the vibration and sound signals after noise reduction based on data correlation analysis, and performing feature fusion to form a comprehensive feature set for fault diagnosis.

进一步,包括一个基于LightGBM算法的马达柱塞故障诊断模型构建模块,用于训练和诊断包含正常和三种故障信号标签的融合特征数据集,从而实现对液压马达柱塞故障的精确诊断。Furthermore, a motor plunger fault diagnosis model building module based on the LightGBM algorithm is included to train and diagnose a fused feature dataset containing normal and three types of fault signal labels, thereby achieving accurate diagnosis of hydraulic motor plunger faults.

进一步,包括一个模型评估与验证模块,利用混淆矩阵、PR曲线和ROC曲线等评估工具,对诊断模型的性能进行评估和验证,包括准确性、精确度、召回率和f1-score等指标的计算,以及通过不同算法和信号类型的对比分析,验证诊断方法的优越性。Furthermore, it includes a model evaluation and validation module, which uses evaluation tools such as confusion matrix, PR curve and ROC curve to evaluate and validate the performance of the diagnostic model, including the calculation of indicators such as accuracy, precision, recall and f1-score, as well as comparative analysis of different algorithms and signal types to verify the superiority of the diagnostic method.

结合上述的技术方案和解决的技术问题,本发明所要保护的技术方案所具备的优点及积极效果为:In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:

第一、本发明提供的一种融合信号液压马达故障诊断方法。通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号,利用小波软阈值算法进行降噪处理,并依据数据相关性和特征重要度进行特征选择,提取时域和频域特征值进行特征融合。构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断,最后通过不同算法之间和不同信号之间的对比验证了该方法的优越性。本发明提出的融合特征的故障诊断方法,解决了使用单一传感器采集数据诊断精确度不高的问题,使用两种不同的信号进行诊断,可将不同传感器的故障信息结合,增加故障特征以提高故障识别率。采用LightGBM建立故障诊断模型,在保证分类精度的前提下,既减少了运行内存占用又提高了模型训练时间,极大提高了故障诊断效率。First, a fusion signal hydraulic motor fault diagnosis method provided by the present invention. The plunger fault is simulated by an inner curve radial piston hydraulic motor test bench, and the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear are collected. The wavelet soft threshold algorithm is used for noise reduction processing, and feature selection is performed based on data correlation and feature importance. The time domain and frequency domain eigenvalues are extracted for feature fusion. A LightGBM motor plunger fault diagnosis model is constructed, and the fusion features are divided into a data set containing normal and three fault signal labels for training and diagnosis. Finally, the superiority of this method is verified by comparing different algorithms and different signals. The fusion feature fault diagnosis method proposed in the present invention solves the problem of low diagnostic accuracy when using a single sensor to collect data. By using two different signals for diagnosis, the fault information of different sensors can be combined, and the fault features can be increased to improve the fault recognition rate. The fault diagnosis model is established using LightGBM. Under the premise of ensuring classification accuracy, it not only reduces the running memory usage but also increases the model training time, greatly improving the fault diagnosis efficiency.

结果显示:LightGBM算法比AdaBoost、GBDT和XGBoost算法诊断精确度提升了0.17%-0.33%;LightGBM模型下对融合信号的诊断比振动和声音信号的诊断精确度分别提高了4.86%和14.59%。The results show that the diagnostic accuracy of the LightGBM algorithm is 0.17%-0.33% higher than that of the AdaBoost, GBDT and XGBoost algorithms; the diagnostic accuracy of the fusion signal under the LightGBM model is 4.86% and 14.59% higher than that of the vibration and sound signals, respectively.

第二,本发明提供的一种融合信号液压马达故障诊断方法。通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号,利用小波软阈值算法进行降噪处理,并依据数据相关性和特征重要度进行特征选择,提取时域和频域特征值进行特征融合。构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断,最后通过不同算法之间和不同信号之间的对比验证了该方法的优越性。本发明提出的融合特征的故障诊断方法,解决了使用单一传感器采集数据诊断精确度不高的问题,使用两种不同的信号进行诊断,可将不同传感器的故障信息结合,增加故障特征以提高故障识别率。采用LightGBM建立故障诊断模型,在保证分类精度的前提下,既减少了运行内存占用又提高了模型训练时间,极大提高了故障诊断效率。Second, the present invention provides a fusion signal hydraulic motor fault diagnosis method. The plunger fault is simulated by an inner curve radial piston hydraulic motor test bench, and the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear are collected. The wavelet soft threshold algorithm is used for noise reduction processing, and feature selection is performed based on data correlation and feature importance. The time domain and frequency domain eigenvalues are extracted for feature fusion. A LightGBM motor plunger fault diagnosis model is constructed, and the fusion features are divided into a data set containing normal and three fault signal labels for training and diagnosis. Finally, the superiority of this method is verified by comparing different algorithms and different signals. The fusion feature fault diagnosis method proposed in the present invention solves the problem of low diagnostic accuracy when using a single sensor to collect data. By using two different signals for diagnosis, the fault information of different sensors can be combined, and the fault features can be increased to improve the fault recognition rate. The fault diagnosis model is established using LightGBM. Under the premise of ensuring classification accuracy, it not only reduces the running memory usage but also increases the model training time, greatly improving the fault diagnosis efficiency.

结果显示:LightGBM算法比AdaBoost、GBDT和XGBoost算法诊断精确度提升了0.17%-0.33%;LightGBM模型下对融合信号的诊断比振动和声音信号的诊断精确度分别提高了4.86%和14.59%。The results show that the diagnostic accuracy of the LightGBM algorithm is 0.17%-0.33% higher than that of the AdaBoost, GBDT and XGBoost algorithms; the diagnostic accuracy of the fusion signal under the LightGBM model is 4.86% and 14.59% higher than that of the vibration and sound signals, respectively.

第三,本发明的技术方案转化后的预期收益和商业价值为:a)受制于液压马达系统故障的不确定性和隐秘性特点,仅通过单一的信号源或故障特征难以准确识别液压马达存在的故障。融合信号故障诊断方法结合了声音和振动传感器各自的优点,包含的故障信息量更多,特征提取和融合更简单、诊断结果更可靠;b)选取声音和振动信号中影响因素最大的均方根、标准差等10个特征值,采用同类标签拼接进行特征融合形成新的特征向量,样本向量故障信息含量更高、更明显;c)利用融合样本向量结合LightGBM算法模型,能够进行多线程并行计算,节省了计算机内存的占用,并极大的降低了诊断时间,提高了对柱塞马达的故障识别性能。Third, the expected benefits and commercial value of the technical solution of the present invention after transformation are as follows: a) Due to the uncertainty and hidden nature of hydraulic motor system failures, it is difficult to accurately identify hydraulic motor failures only through a single signal source or fault feature. The fusion signal fault diagnosis method combines the advantages of sound and vibration sensors, contains more fault information, and makes feature extraction and fusion simpler, and the diagnosis results more reliable; b) 10 eigenvalues such as the root mean square and standard deviation with the largest influencing factors in sound and vibration signals are selected, and feature fusion is performed using similar labels to form a new feature vector. The sample vector has higher and more obvious fault information content; c) The fusion sample vector is combined with the LightGBM algorithm model to perform multi-threaded parallel computing, saving computer memory usage, greatly reducing diagnosis time, and improving the fault identification performance of the plunger motor.

本发明的技术方案填补了国内外业内技术空白:a)本发明提供了一种基于LightGBM算法识别声音-振动融合信号特征的内曲线柱塞式液压马达柱塞磨损故障的诊断方法,为柱塞式液压马达的故障诊断开辟了一条可行的技术路线;b)基于机器学习的故障诊断方法被广泛应用于轴承和齿轮等旋转机械中,但是对于柱塞马达尤其是内曲线径向柱塞式液压马达的诊断,在现有国内外的文献中未见有应用。The technical solution of the present invention fills the technical gaps in the industry at home and abroad: a) The present invention provides a method for diagnosing plunger wear faults of inner-curve plunger hydraulic motors based on the LightGBM algorithm to identify sound-vibration fusion signal characteristics, opening up a feasible technical route for fault diagnosis of plunger hydraulic motors; b) Fault diagnosis methods based on machine learning are widely used in rotating machinery such as bearings and gears, but there is no application in the diagnosis of plunger motors, especially inner-curve radial plunger hydraulic motors, in existing domestic and foreign literature.

第四,本发明提供的融合信号液压马达故障诊断方法的显著技术进步可以概括如下:Fourth, the significant technical progress of the fusion signal hydraulic motor fault diagnosis method provided by the present invention can be summarized as follows:

1.故障模拟与实验数据的精准获取1. Accurate acquisition of fault simulation and experimental data

故障模拟的真实性:通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,可以精准地模拟实际工作中出现的故障情况,从而获得更接近真实情况的试验数据。Authenticity of fault simulation: By simulating plunger faults through the inner curve radial piston hydraulic motor test bench, the fault conditions that occur in actual work can be accurately simulated, thereby obtaining test data that is closer to the actual situation.

多维度数据采集:采集振动信号和声音信号,结合两种不同的信号类型,提高了故障诊断的准确性和可靠性。Multi-dimensional data collection: Collect vibration signals and sound signals, and combine two different signal types to improve the accuracy and reliability of fault diagnosis.

2.高效的信号处理和特征融合2. Efficient signal processing and feature fusion

去噪算法的应用:使用小波软阈值算法进行降噪处理,有效去除信号中的噪声,提高了信号的质量。Application of denoising algorithm: Use wavelet soft threshold algorithm for noise reduction processing to effectively remove noise in the signal and improve the quality of the signal.

特征融合的创新:利用时域和频域特征值进行特征融合,增强了模型的诊断能力,确保了故障诊断的全面性和深度。Innovation in feature fusion: Using time domain and frequency domain eigenvalues for feature fusion enhances the diagnostic capability of the model and ensures the comprehensiveness and depth of fault diagnosis.

3.利用先进的机器学习模型3. Leverage advanced machine learning models

LightGBM模型的应用:构建基于LightGBM的马达柱塞故障诊断模型,该模型具有高效率和高精度的特点,适用于处理大规模数据。Application of LightGBM model: Build a motor plunger fault diagnosis model based on LightGBM, which has the characteristics of high efficiency and high precision and is suitable for processing large-scale data.

模型训练与诊断的优化:将融合特征划分为包含正常和3种故障信号标签的数据集进行训练,提高了模型的泛化能力和诊断准确率。Optimization of model training and diagnosis: The fusion features are divided into a data set containing normal and three types of fault signal labels for training, which improves the generalization ability and diagnostic accuracy of the model.

4.系统性能的全面验证4. Comprehensive verification of system performance

综合算法比较:通过不同算法之间的对比,验证了所提方法的优越性,确保了方法的先进性和有效性。Comprehensive algorithm comparison: By comparing different algorithms, the superiority of the proposed method is verified, ensuring the advancement and effectiveness of the method.

信号类型的综合分析:不同信号之间的对比分析进一步验证了特征融合在提高诊断准确性方面的重要性。Comprehensive analysis of signal types: Comparative analysis between different signals further verified the importance of feature fusion in improving diagnostic accuracy.

本发明提供的融合信号液压马达故障诊断方法的显著技术进步主要体现在提高故障诊断的准确性、可靠性和效率方面,通过综合利用多种信号、先进的信号处理方法和机器学习模型,显著提升了液压马达故障诊断的性能。The significant technical progress of the fusion signal hydraulic motor fault diagnosis method provided by the present invention is mainly reflected in improving the accuracy, reliability and efficiency of fault diagnosis. By comprehensively utilizing multiple signals, advanced signal processing methods and machine learning models, the performance of hydraulic motor fault diagnosis is significantly improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明实施例提供的融合信号液压马达故障诊断方法流程图。FIG1 is a flow chart of a fusion signal hydraulic motor fault diagnosis method provided in an embodiment of the present invention.

图2是本发明实施例提供的内曲线径向柱塞马达结构图。FIG. 2 is a structural diagram of an inner-curve radial piston motor provided in an embodiment of the present invention.

图3是本发明实施例提供的LightGBM算法原理图。FIG3 is a schematic diagram of the LightGBM algorithm provided in an embodiment of the present invention.

图4是本发明实施例提供的方法流程图。FIG. 4 is a flow chart of a method provided by an embodiment of the present invention.

图5是本发明实施例提供的实验设备图。FIG. 5 is a diagram of an experimental device provided in an embodiment of the present invention.

图6是本发明实施例提供的柱塞磨损程度图。FIG. 6 is a diagram showing the degree of wear of the plunger provided in an embodiment of the present invention.

图7是本发明实施例提供的信号去噪效果对比图。FIG. 7 is a comparison diagram of signal denoising effects provided by an embodiment of the present invention.

图8是本发明实施例提供的数据相关性热力图。FIG8 is a data correlation heat map provided by an embodiment of the present invention.

图9是本发明实施例提供的T-SNE聚类图。(a)振动信号(b)声音信号(c)融合信号。Fig. 9 is a T-SNE clustering diagram provided by an embodiment of the present invention. (a) vibration signal (b) sound signal (c) fusion signal.

图10是本发明实施例提供的混淆矩阵图。(a)振动信号(b)声音信号(c)融合信号。Fig. 10 is a confusion matrix diagram provided by an embodiment of the present invention. (a) vibration signal (b) sound signal (c) fusion signal.

图11是本发明实施例提供的不同模型诊断结果图。FIG. 11 is a diagram of diagnosis results of different models provided by an embodiment of the present invention.

图12是本发明实施例提供的不同模型训练时长图。FIG12 is a diagram of training durations for different models provided in an embodiment of the present invention.

图13是本发明实施例提供的LightGBM预测准确率图。FIG13 is a diagram of the LightGBM prediction accuracy provided by an embodiment of the present invention.

图14是本发明实施例提供的基于LightGBM算法对振动、声音和融合信号数据集的分类效果图。(a)ROC曲线;(b)PR曲线。FIG14 is a diagram showing the classification effect of the vibration, sound and fusion signal data sets based on the LightGBM algorithm provided by an embodiment of the present invention. (a) ROC curve; (b) PR curve.

图2中:1、滚珠;2、柱塞;3、转子;4、输出轴;5、定子。In Figure 2: 1, ball; 2, plunger; 3, rotor; 4, output shaft; 5, stator.

具体实施方式DETAILED DESCRIPTION

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

基于本发明提供的融合信号液压马达故障诊断方法,以下是两个具体的实施例及其实现方案:Based on the fusion signal hydraulic motor fault diagnosis method provided by the present invention, the following are two specific embodiments and their implementation schemes:

实施例1:轻微磨损故障的诊断Example 1: Diagnosis of minor wear faults

1)故障模拟:在内曲线径向柱塞式液压马达试验台上,模拟轻微磨损的柱塞故障。1) Fault simulation: On the inner curve radial piston hydraulic motor test bench, simulate the plunger fault with slight wear.

2)数据采集:使用振动加速度传感器和PCB声音传感器,采集正常状态下以及轻微磨损状态下的振动信号和声音信号。2) Data collection: Use vibration acceleration sensors and PCB sound sensors to collect vibration signals and sound signals under normal conditions and slight wear conditions.

3)信号处理:利用小波软阈值算法对收集到的信号进行降噪处理,随后从时域和频域提取特征值。3) Signal processing: The collected signal is denoised using the wavelet soft threshold algorithm, and then the eigenvalues are extracted from the time domain and frequency domain.

4)特征融合与模型构建:融合时域和频域特征值,构建基于LightGBM的马达柱塞故障诊断模型。4) Feature fusion and model construction: Fusion of time domain and frequency domain feature values to build a motor plunger fault diagnosis model based on LightGBM.

5)模型训练与诊断:使用包含正常和轻微磨损信号标签的数据集对模型进行训练和诊断。5) Model training and diagnosis: The model is trained and diagnosed using a dataset containing labels of normal and minor wear signals.

6)性能评估:通过混淆矩阵和PR曲线ROC曲线评估模型的准确性和可靠性。6) Performance evaluation: The accuracy and reliability of the model are evaluated through confusion matrix and PR curve ROC curve.

实施例2:重度磨损故障的诊断Example 2: Diagnosis of severe wear fault

1)故障模拟:在相同的试验台上模拟重度磨损的柱塞故障。1) Fault simulation: Severely worn plunger failure is simulated on the same test bench.

2)数据采集:同样采集正常状态和重度磨损状态下的振动和声音信号。2) Data collection: Vibration and sound signals under normal and severe wear conditions are also collected.

3)信号处理:对信号进行相同的降噪处理,并提取相应的时域和频域特征值。3) Signal processing: Perform the same noise reduction processing on the signal and extract the corresponding time domain and frequency domain eigenvalues.

4)特征融合与模型优化:融合提取的特征,优化LightGBM模型以适应重度磨损的故障特征。4) Feature fusion and model optimization: Fuse the extracted features and optimize the LightGBM model to adapt to the fault characteristics of heavy wear.

5)模型训练与诊断:对模型进行训练,使用包含重度磨损信号标签的数据集进行诊断。5) Model training and diagnosis: The model is trained and diagnosed using a dataset containing labels of heavy wear signals.

6)性能验证:利用模型评估指标对模型进行性能验证,确保在重度磨损情况下同样保持高准确性。6) Performance verification: Model evaluation indicators are used to verify the performance of the model to ensure high accuracy even under severe wear conditions.

本发明提供的两个实施例显示了如何针对不同程度的磨损故障(轻微和重度)应用融合信号液压马达故障诊断方法,提供了实际操作流程和步骤,确保了故障诊断的高精度和有效性。The two embodiments provided by the present invention show how to apply the fusion signal hydraulic motor fault diagnosis method for different degrees of wear faults (minor and severe), provide practical operation processes and steps, and ensure high accuracy and effectiveness of fault diagnosis.

如图1所示,本发明提供一种融合信号液压马达故障诊断方法包括以下步骤:As shown in FIG1 , the present invention provides a fusion signal hydraulic motor fault diagnosis method comprising the following steps:

S101,通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号;S101, simulate the piston failure through the inner curve radial piston hydraulic motor test bench, and collect the vibration and sound signals of the motor when the piston is normal and has three different degrees of wear;

S102,利用小波软阈值算法进行降噪处理,并依据数据相关性提取时域和频域特征值进行特征融合;S102, using a wavelet soft threshold algorithm to perform noise reduction processing, and extracting time domain and frequency domain feature values for feature fusion based on data correlation;

S103,构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断;S103, build the LightGBM motor plunger fault diagnosis model, divide the fusion features into a data set containing normal and three types of fault signal labels for training and diagnosis;

S104,通过不同算法之间和不同信号之间的对比验证了该方法的优越性。S104, the superiority of this method is verified by comparing different algorithms and different signals.

本发明提供的通过内曲线径向柱塞式液压马达试验台模拟柱塞故障方法如下:The method for simulating plunger failure by using an inner curve radial plunger hydraulic motor test bench provided by the present invention is as follows:

内曲线径向柱塞液压马达工作原理如图2所示,其结构主要由定子、转子、输出轴、柱塞和滚珠组成;定子曲线由6个均匀分布的作用弧段组成,10个柱塞等间距分布于转子周围;当马达工作时,高压油通过配油轴进入到转子高压腔,产生较大的压力推动柱塞沿轴径向向外伸出,使滚珠与内曲线导轨接触产生相互作用力,其中切向分力带动转子连续旋转而输出扭矩;同时将处于低压区柱塞腔内的液压油通过配油轴低压油口排出,通过不断地通入高压油排出低压油来实现马达连续工作;The working principle of the inner curve radial piston hydraulic motor is shown in Figure 2. Its structure mainly consists of a stator, a rotor, an output shaft, a plunger and a ball. The stator curve consists of 6 evenly distributed action arcs, and 10 plungers are evenly spaced around the rotor. When the motor is working, high-pressure oil enters the rotor high-pressure chamber through the oil distribution shaft, generating a large pressure to push the plunger outward along the shaft radially, so that the ball contacts the inner curve guide rail to generate an interaction force, in which the tangential component drives the rotor to rotate continuously and output torque. At the same time, the hydraulic oil in the plunger chamber in the low-pressure area is discharged through the low-pressure oil port of the oil distribution shaft, and the motor is continuously operated by continuously introducing high-pressure oil and discharging low-pressure oil.

定子和转子之间的振动主要是由柱塞组件引起的,由柱塞马达结构图可知,有2个柱塞是处于同一个位置,典型的振动频率主要为:The vibration between the stator and the rotor is mainly caused by the plunger assembly. From the plunger motor structure diagram, we can see that there are two plungers in the same position. The typical vibration frequency is mainly:

式中,n为液压马达的转速,p为内曲线的个数,q为柱塞的个数;对于其中一个柱塞的频率可表示为Where n is the speed of the hydraulic motor, p is the number of inner curves, and q is the number of plungers. The frequency of one of the plungers can be expressed as

LightGBM算法原理LightGBM Algorithm Principle

XGBoost和LightGBM算法都是在GBDT算法基础上的改进;GBDT和XGBoost模型均采用Level-wise的生长策略;通过一次遍历数据,可以同时对同一层的叶子进行分裂,减少过拟合,更容易针对多个线程进行优化;但是这种方式需要对数据进行层层遍历,会产生许多不必要的搜索或分裂,从而消耗更多的运行内存,增加了运算时间并降低了效率;LightGBM模型则融合了直方图算法,其原理是对特征的原始数据划分为k个离散的特征,构造出k个箱子用于统计特征,在搜索时无需遍历数据,只需要遍历k个箱子就能找到最佳分裂点,极大的缩短了运算时间;LightGBM模型的分裂方式采用了Leaf-wise的生长策略;这种方式是在当前叶子中搜索出信息增益最大的叶子,在相同的分裂次数下,Leaf-wise的生长策略比Level-wise生长策略的误差更低,运行内存占用更少,提高了算法的精度和效率;LightGBM模型的缺点是容易出现过拟合现象,因此,在模型训练时加入了最大深度参数进行限制;Both XGBoost and LightGBM algorithms are improvements based on the GBDT algorithm. Both GBDT and XGBoost models use the Level-wise growth strategy. By traversing the data once, the leaves of the same layer can be split at the same time, reducing overfitting and making it easier to optimize for multiple threads. However, this method requires traversing the data layer by layer, which will generate many unnecessary searches or splits, thereby consuming more running memory, increasing the computing time and reducing efficiency. The LightGBM model integrates the histogram algorithm, which is based on the principle of dividing the original data of the feature into k discrete features and constructing k boxes for statistical features. When searching, there is no need to traverse the data, only k boxes need to be traversed to find the best split point, which greatly shortens the computing time. The splitting method of the LightGBM model adopts the Leaf-wise growth strategy. This method searches for the leaf with the largest information gain in the current leaf. Under the same number of splits, the Leaf-wise growth strategy has lower error than the Level-wise growth strategy, occupies less running memory, and improves the accuracy and efficiency of the algorithm. The disadvantage of the LightGBM model is that it is prone to overfitting. Therefore, a maximum depth parameter is added to limit it during model training.

LightGBM模型还融合了梯度的单边采样(Gradient-based One-Side Sampling,GOSS)和互斥特征捆绑(Exclusive Feature Bundling,EFB)两种算法,其原理如图3所示;GOSS是利用梯度信息对样本进行抽样,梯度大的样本对信息增益的影响较大;采样时保留梯度大的样本,梯度小的样本进行随机采样,既不损失模型准确性又能够减少内存占用和训练时间,极大的提高了模型的诊断效率;数据中的特征空间往往是互斥的,EFB算法是从降低特征维度的角度出发,将多个互斥特征捆绑在一起,减少了特征数量,提高了模型的运行速度。The LightGBM model also integrates two algorithms: Gradient-based One-Side Sampling (GOSS) and Exclusive Feature Bundling (EFB), the principle of which is shown in Figure 3. GOSS uses gradient information to sample samples, and samples with large gradients have a greater impact on information gain. When sampling, samples with large gradients are retained, and samples with small gradients are randomly sampled, which does not lose model accuracy but can reduce memory usage and training time, greatly improving the diagnostic efficiency of the model. The feature space in the data is often mutually exclusive. The EFB algorithm bundles multiple mutually exclusive features together from the perspective of reducing feature dimensions, reducing the number of features and improving the running speed of the model.

本发明提供的依据数据相关性提取时域和频域特征值进行特征融合方法如下:The method for extracting time domain and frequency domain eigenvalues and performing feature fusion based on data correlation provided by the present invention is as follows:

(1)特征选取(1) Feature selection

经过去噪后的信号在Python中进行数据相关性可视化处理,依据特征重要度从振动信号和声音信号数据中共选取了均值、均方根、峰值指标、标准差、波形指标、脉冲指标等6种时域特征和幅值谱均值、幅值谱标准差、频率重心、谱幅值偏斜度、频率标准差、频率偏斜度等6种频域特征;这些特征最能反映内曲线柱塞马达的工作状态,能够及时的反映马达的故障信息,时域和频域特征数学公式如表1所示:The denoised signal is visualized in Python for data correlation. Six time domain features, including mean, root mean square, peak index, standard deviation, waveform index, and pulse index, and six frequency domain features, including amplitude spectrum mean, amplitude spectrum standard deviation, frequency center of gravity, spectrum amplitude skewness, frequency standard deviation, and frequency skewness, are selected from the vibration signal and sound signal data according to the feature importance. These features can best reflect the working status of the inner curve plunger motor and can timely reflect the fault information of the motor. The mathematical formulas of time domain and frequency domain features are shown in Table 1:

表1时域与频域统计特征Table 1 Statistical characteristics of time domain and frequency domain

表中,x(n)(n=1,2,…,N)表示原始信号,N表示数据点的个数;s(k)(k=1,2,...,M)表示信号频谱幅值,M表示谱线的个数;f(k)表示第k条谱线频率的幅值;In the table, x(n) (n=1, 2, ..., N) represents the original signal, N represents the number of data points; s(k) (k=1, 2, ..., M) represents the signal spectrum amplitude, M represents the number of spectrum lines; f(k) represents the amplitude of the frequency of the kth spectrum line;

(2)模型评估方法(2) Model evaluation method

混淆矩阵是评价模型性能的常用指标,如表2所示,它能反映预测结果和真实情况之间的关系,模型评估中常选用accuracy、precision、recall和f1-score等4种指标进行评价;The confusion matrix is a common indicator for evaluating model performance, as shown in Table 2. It can reflect the relationship between the predicted results and the actual situation. Four indicators, including accuracy, precision, recall and f1-score, are often used for model evaluation.

表2混淆矩阵Table 2 Confusion matrix

各评价指标表达式为:The expressions of each evaluation index are:

PR曲线ROC曲线是用于评估分类器性能的技术和工具,它可以计算预测结果的准确性和可靠性;在PR曲线中,是将recall和precision绘制在同一条曲线上;ROC曲线通过将分类器的真正率(TPR)和假正率(FPR)绘制在一条曲线上,可直观地比较分类器的性能;TPR和FPR可表示为:PR curve ROC curve is a technique and tool for evaluating the performance of a classifier. It can calculate the accuracy and reliability of the prediction results. In the PR curve, recall and precision are plotted on the same curve. The ROC curve can visually compare the performance of the classifier by plotting the true positive rate (TPR) and false positive rate (FPR) of the classifier on a curve. TPR and FPR can be expressed as:

(3)诊断方法流程(3) Diagnostic method flow

试验台搭建与信号采集:搭建内曲线径向故障诊断试验台,对柱塞进行三种不同深度磨损,利用振动加速度传感器和PCB声音传感器采集不同故障时马达的振动和声音信号;Test bench construction and signal collection: Build an inner curve radial fault diagnosis test bench, wear the plunger at three different depths, and use vibration acceleration sensors and PCB sound sensors to collect vibration and sound signals of the motor when there are different faults;

信号去噪与特征提取:分别对振动信号和声音信号利用小波算法进行去噪,并利用数学方法提取时域和频域特征;Signal denoising and feature extraction: The vibration signal and sound signal are denoised using wavelet algorithm, and time domain and frequency domain features are extracted using mathematical methods;

信号特征融合:采用特征融合方法将振动信号和声音信号的特征值进行融合;Signal feature fusion: The feature fusion method is used to fuse the feature values of the vibration signal and the sound signal;

模型训练与故障诊断:将振动信号数据、声音信号数据和融合信号特征数据集分别划分为训练集和测试集,输入到故障诊断模型中进行训练和诊断,并设置最大深度防止出现过拟合。Model training and fault diagnosis: The vibration signal data, sound signal data and fusion signal feature data set are divided into training sets and test sets respectively, and input into the fault diagnosis model for training and diagnosis, and the maximum depth is set to prevent overfitting.

诊断方法流程如图4所示.The diagnostic method flow is shown in Figure 4.

本发明提供的采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号方法如下:The method provided by the present invention for collecting the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear is as follows:

1)实验方法;1) Experimental methods;

2)数据处理;2) Data processing;

3)特征选取。3) Feature selection.

本发明提供的实验方法:The experimental method provided by the present invention is:

本发明搭建了内曲线径向柱塞式液压马达故障诊断实验平台,模拟柱塞结构不同磨损深度的故障类型,该试验台由故障模拟系统和数据采集系统组成,实验设备和传感器安装位置如图5所示:The present invention builds an internal curve radial piston hydraulic motor fault diagnosis experimental platform to simulate the fault types of different wear depths of the piston structure. The test bench consists of a fault simulation system and a data acquisition system. The experimental equipment and sensor installation positions are shown in Figure 5:

柱塞故障模拟试验台如图5(a)所示,利用内曲线径向柱塞式液压马达模拟故障,PCB声音传感器安装在液压马达外侧25cm处,振动加速度传感器以磁吸的方式安装在液压马达的后端盖上,X轴与马达的径向相同,转速传感器安装在液压马达轴向外侧4mm处;The plunger fault simulation test bench is shown in Figure 5(a). An inner curve radial plunger hydraulic motor is used to simulate the fault. The PCB sound sensor is installed 25 cm outside the hydraulic motor. The vibration acceleration sensor is magnetically installed on the rear end cover of the hydraulic motor. The X-axis is the same as the radial direction of the motor. The speed sensor is installed 4 mm outside the axial direction of the hydraulic motor.

数据采集系统如图5(b)所示,PC端通过以太网连接数据采集卡接收和储存数据;转速显示仪可以实时显示液压马达的转速,保证每次实验的转速相同,排除无关因素的干扰,提高实验结果的准确性;实验时通过伺服控制系统控制液压油源供给稳定的流量,保证液压马达转速稳定在300r/min;设置数据采集系统的采样频率为2000Hz,采集柱塞正常和三种不同程度磨损故障时的振动和声音信号,每组实验数据采集6分钟;各实验设备型号及参数如表3所示:The data acquisition system is shown in Figure 5(b). The PC is connected to the data acquisition card via Ethernet to receive and store data. The speed display can display the speed of the hydraulic motor in real time to ensure that the speed of each experiment is the same, eliminate the interference of irrelevant factors, and improve the accuracy of the experimental results. During the experiment, the servo control system controls the hydraulic oil source to supply a stable flow rate to ensure that the speed of the hydraulic motor is stable at 300r/min. The sampling frequency of the data acquisition system is set to 2000Hz, and the vibration and sound signals of the plunger are collected when it is normal and when there are three different degrees of wear failures. Each set of experimental data is collected for 6 minutes. The models and parameters of each experimental equipment are shown in Table 3:

表3实验设备型号及其参数Table 3 Experimental equipment models and parameters

设备名称Device Name 型号model 参数parameter 振动传感器Vibration Sensor 1C3021C302 频率范围:20Hz-12KHz Frequency range: 20Hz- 12KHz 声音传感器Sound Sensor PCB378B02PCB378B02 频率范围:3.75Hz-20KHz Frequency range: 3.75Hz- 20KHz 柱塞液压马达Piston hydraulic motor 1001-0.11001-0.1 最高转速:360r/minMaximum speed: 360r/min 数据采集卡Data Acquisition Card FK2012FK2012 16通道16 channels 转速传感器Speed sensor ZSM12-CS-01ZSM12-CS-01 输出电流:50mA Output current: 50 mA 转速显示器Speed display WR5135-FR-NWR5135-FR-N 测量范围:0.2Hz-100KHzMeasuring range: 0.2Hz-100KHz

为了使实验效果更好,采用横向磨损方式沿柱塞轴线方向制造故障;按照磨损的深度,将柱塞故障分为轻度磨损、中度磨损和深度磨损,具体的磨损效果如图6所示。In order to achieve better experimental results, the fault is created along the axis of the plunger by using the transverse wear method. According to the wear depth, the plunger fault is divided into light wear, moderate wear and deep wear. The specific wear effect is shown in Figure 6.

本发明提供的数据处理方法:The data processing method provided by the present invention:

通过振动传感器和声音传感器获取的实验数据通常包含有噪声信号的干扰,尤其声音传感器的检测频率低,对环境中的声音较为敏感;因此,依据柱塞磨损故障信号的特点,选用小波软阈值算法对振动和声音信号进行分解与重构,以达到对原始信号的去噪效果;软阈值函数可表示为:The experimental data obtained by vibration sensors and sound sensors usually contain interference from noise signals. In particular, the detection frequency of sound sensors is low and they are more sensitive to the sounds in the environment. Therefore, according to the characteristics of plunger wear fault signals, the wavelet soft threshold algorithm is used to decompose and reconstruct the vibration and sound signals to achieve the denoising effect of the original signals. The soft threshold function can be expressed as:

通过小波软阈值去噪后的信号为时域信号,为更好的观察信号的特点和提取频域特征,选择快速傅里叶变换(FFT)将信号变换为频域表示,其傅里叶变换及其逆变换公式分别为:The signal after wavelet soft threshold denoising is a time domain signal. In order to better observe the characteristics of the signal and extract the frequency domain features, the fast Fourier transform (FFT) is selected to transform the signal into a frequency domain representation. The Fourier transform and its inverse transform formulas are:

图7分别为振动信号和声音信号的去噪效果对比图;通过频域对比可以看出,经过小波软阈值去噪后信号中的毛刺减少,从而反应了信号的清洁度得到了提高,达到了去噪效果;本发明采用内曲线径向柱塞式液压马达,柱塞数量为10,壳体内曲线为6,实验转速为300r/min;从图7的对比中可以看出,振动传感器对液压马达转速的半倍频较为敏感,声音传感器对液压马达转速的一倍和二倍频率较为敏感,且对单个柱塞的频率响应效果更好;考虑到振动传感器和声音传感器对柱塞故障具有不同的响应频率,本发明结合振动和声音信号各自的优点,对两种信号的特征值进行融合,以此提高对液压马达柱塞故障的诊断精确度。FIG7 is a comparison diagram of the denoising effects of vibration signals and sound signals, respectively. It can be seen from the frequency domain comparison that the burrs in the signal are reduced after wavelet soft threshold denoising, which reflects that the cleanliness of the signal has been improved and the denoising effect has been achieved. The present invention adopts an inner curve radial piston hydraulic motor with 10 pistons, 6 inner curves of the housing, and an experimental rotation speed of 300 r/min. It can be seen from the comparison in FIG7 that the vibration sensor is more sensitive to the half frequency of the hydraulic motor rotation speed, and the sound sensor is more sensitive to the one and two frequencies of the hydraulic motor rotation speed, and has a better frequency response effect to a single plunger. Taking into account that the vibration sensor and the sound sensor have different response frequencies to plunger failures, the present invention combines the respective advantages of vibration and sound signals and fuses the characteristic values of the two signals to improve the diagnostic accuracy of hydraulic motor plunger failures.

本发明提供的特征选取方法:The feature selection method provided by the present invention:

利用内曲线径向柱塞液压马达实验台模拟柱塞故障,采集柱塞不同状态下的振动和声音信号;采集频率设置为2000Hz,每组数据采集6分钟,每组数据共720000个采样点,依次选取4000个采样点生成一个样本,共有180个样本,训练集和测试集的样本数量分别为80%和20%;柱塞类型与样本数量如表4所示:The inner curve radial piston hydraulic motor test bench is used to simulate the piston failure and collect the vibration and sound signals of the piston in different states; the acquisition frequency is set to 2000Hz, each set of data is collected for 6 minutes, each set of data has a total of 720000 sampling points, 4000 sampling points are selected in turn to generate a sample, a total of 180 samples, the number of samples in the training set and the test set are 80% and 20% respectively; the piston type and the number of samples are shown in Table 4:

表4数据集信息Table 4 Dataset information

状态state 训练集/测试集Training set/test set 标签Label 正常normal 144/36144/36 00 故障AFault A 144/36144/36 11 故障BFault B 144/36144/36 22 故障CFault C 144/36144/36 33

时域和频域特征是反应液压马达运行状态的常用指标;利用振动和声音传感器采集柱塞正常和不同磨损时的信号,经过小波软阈值去噪后,采用数学方法分别提取每组数据的时域和频域特征值各11类;生成振动信号和声音信号特征值数据集,并进行数据集相关性分析;数据集之间的信息相关性热力图如图8所示:Time domain and frequency domain characteristics are commonly used indicators to reflect the operating status of hydraulic motors. Vibration and sound sensors are used to collect signals of plungers in normal and different wear states. After wavelet soft threshold denoising, mathematical methods are used to extract 11 categories of time domain and frequency domain eigenvalues of each group of data. Vibration signal and sound signal eigenvalue data sets are generated, and data set correlation analysis is performed. The information correlation heat map between data sets is shown in Figure 8:

图8的数据相关性热力图反应了数据之间的关联信息,图中正相关和负相关数值越大越能反应液压马达运行状态信息;依据热力图选取了均方根值、方根幅值、标准差、峰值指标、波形指标、谱幅值均值、谱幅值标准差、谱幅值偏斜度、谱幅值峭度、频率偏斜度等10类振动信号特征值;选取了均方根值、方根幅值、峰值、标准差、峰值指标、脉冲指标、谱幅值均值、谱幅值标准差、频率重心、频率标准差等10类声音信号特征值;最后将每组正常和故障特征值按照对应的数据标签进行横向拼接,形成新的特征向量,不改变样本数量;The data correlation heat map in Figure 8 reflects the correlation information between the data. The larger the positive correlation and negative correlation values in the figure, the more they can reflect the operating status information of the hydraulic motor; based on the heat map, 10 types of vibration signal feature values are selected, including root mean square value, root square amplitude, standard deviation, peak index, waveform index, spectrum amplitude mean, spectrum amplitude standard deviation, spectrum amplitude skewness, spectrum amplitude kurtosis, and frequency skewness; 10 types of sound signal feature values are selected, including root mean square value, root square amplitude, peak value, standard deviation, peak index, pulse index, spectrum amplitude mean, spectrum amplitude standard deviation, frequency center of gravity, and frequency standard deviation; finally, each group of normal and fault feature values are horizontally spliced according to the corresponding data labels to form a new feature vector without changing the number of samples;

本发明提供的将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断方法:The present invention provides a method for training and diagnosing by dividing the fusion features into a data set containing normal and three types of fault signal labels:

(1)数据预分类与可视化;(1) Data pre-classification and visualization;

(2)模型评估。(2) Model evaluation.

本发明提供的数据预分类与可视化方法:The data pre-classification and visualization method provided by the present invention:

为了预先观察融合信号数据相对于振动和声音信号的分类效果,利用T-SNE算法将数据进行可视化处理,T-SNE聚类图如图9所示;从图中可以看出,振动信号的分类具有一定的聚集性,但聚集点太多,没有将同类别的样本聚集在一起;对声音信号的分类离散性较强,不同类型的数据点融合在了一起,分类效果较差;对于融合信号的分类可以看出,不同类型的数据点几乎完全分开,样本之间的交叉点少,分类效果更好;In order to observe the classification effect of the fused signal data relative to the vibration and sound signals in advance, the T-SNE algorithm is used to visualize the data. The T-SNE cluster diagram is shown in Figure 9. It can be seen from the figure that the classification of vibration signals has a certain degree of clustering, but there are too many clustering points, and samples of the same category are not clustered together; the classification of sound signals is highly discrete, and different types of data points are fused together, and the classification effect is poor; for the classification of fused signals, it can be seen that different types of data points are almost completely separated, there are fewer intersections between samples, and the classification effect is better;

图10为振动信号、声音信号和融合信号数据集的四分类混淆矩阵,用于可视化三种数据集的分类效果;测试集中标签为0-3的样本数分别为28、32、44和40;从图10(a)的振动信号混淆矩阵可以看出,实际为正常预测为故障的有3个,三种故障之间分类错误的有9个;从图10(b)的声音信号混淆矩阵可以看出,实际为正常的样本全部预测正确,但三种故障之间分类错误的有23个;从图10(c)的融合信号混淆矩阵可以看出,实际为正常的样本全部预测正确,三种故障之间只有故障B和故障C之间分类错误5个;融合信号数据集的分类正确率远远高于振动信号和声音信号的分类正确率。Figure 10 is the four-classification confusion matrix of the vibration signal, sound signal and fusion signal data sets, which is used to visualize the classification effects of the three data sets; the number of samples with labels 0-3 in the test set are 28, 32, 44 and 40 respectively; from the vibration signal confusion matrix in Figure 10(a), it can be seen that there are 3 samples predicted as faults when they are actually normal, and 9 samples are misclassified among the three faults; from the sound signal confusion matrix in Figure 10(b), it can be seen that all the samples that are actually normal are predicted correctly, but there are 23 samples that are misclassified among the three faults; from the fusion signal confusion matrix in Figure 10(c), it can be seen that all the samples that are actually normal are predicted correctly, and there are only 5 samples that are misclassified between fault B and fault C among the three faults; the classification accuracy of the fusion signal data set is much higher than that of the vibration signal and sound signal.

本发明提供的模型评估方法:The model evaluation method provided by the present invention:

AdaBoost算法是在Boosting算法的基础上的改进,具有较高的有效性和实用性;GBDT算法是一种梯度提升迭代决策树算法,XGBoost和LightGBM算法是基于GBDT的改进,也是最受欢迎的决策树提升算法,具有更高的学习效率;本发明通过对比四种算法分别对融合信号、振动信号和声音信号的分类精确度,来验证LightGBM算法的高效性和对融合信号数据的分类效果;The AdaBoost algorithm is an improvement on the Boosting algorithm, and has high effectiveness and practicality; the GBDT algorithm is a gradient boosting iterative decision tree algorithm, and the XGBoost and LightGBM algorithms are improvements based on GBDT, and are also the most popular decision tree boosting algorithms, with higher learning efficiency; the present invention verifies the efficiency of the LightGBM algorithm and the classification effect of the fusion signal data by comparing the classification accuracy of the four algorithms for the fusion signal, vibration signal and sound signal respectively;

不同模型的诊断结果如图11所示,传统的AdaBoost算法分效果较差,对三种数据集的诊断精确度都低于其他三种算法10%以上;GBDT、XGBoost和LightGBM算法对三种数据集的分类效果相差不大,但LightGBM算法的诊断精确度要高0.17%-0.33%,并且三种算法对融合数据集的诊断结果精确度更高;结合图12的不同模型训练时长可知,AdaBoost算法的训练时间最短,但是它的诊断精确度较低;GBDT、XGBoost和LightGBM算法诊断精确度相差不多,但LightGBM比GBDT和XGBoost算法的训练时间分别缩短了6倍和3倍,因此,LightGBM算法具有更高的诊断精确度和更高的效率;The diagnosis results of different models are shown in Figure 11. The traditional AdaBoost algorithm has poor classification effect, and its diagnostic accuracy for the three data sets is more than 10% lower than that of the other three algorithms. The classification effects of GBDT, XGBoost and LightGBM algorithms on the three data sets are not much different, but the diagnostic accuracy of the LightGBM algorithm is 0.17%-0.33% higher, and the diagnostic results of the three algorithms for the fusion data set are more accurate. Combined with the training time of different models in Figure 12, it can be seen that the training time of the AdaBoost algorithm is the shortest, but its diagnostic accuracy is low. The diagnostic accuracy of the GBDT, XGBoost and LightGBM algorithms is similar, but the training time of LightGBM is 6 times and 3 times shorter than that of the GBDT and XGBoost algorithms, respectively. Therefore, the LightGBM algorithm has higher diagnostic accuracy and higher efficiency.

利用小波软阈值算法对振动信号和声音信号进行去噪处理,提取特征值依据数据标签对应融合,生成融合信号数据集,每种数据集包含正常和三种故障类型,但不改变样本数量;图13为LightGBM模型对融合信号、振动信号和声音信号的故障诊断结果,并引入accuracy、precision、recall和f1-score作为分类性能的评价指标;利用LightGBM模型对三种数据集进行训练和诊断,通过对比可以看出对融合数据集的诊断精确度比振动和声音信号分别提高4.86%和14.59%;对融合数据集precision、recall和f1-score的诊断结果也都比振动和声音数据集提高了4.5%-13.25%不等;The vibration signal and sound signal are denoised using the wavelet soft threshold algorithm, and the eigenvalues are extracted and fused according to the corresponding data labels to generate a fused signal data set. Each data set contains normal and three fault types, but the number of samples does not change; Figure 13 shows the fault diagnosis results of the LightGBM model for the fused signal, vibration signal and sound signal, and introduces accuracy, precision, recall and f1-score as evaluation indicators of classification performance; the LightGBM model is used to train and diagnose the three data sets. By comparison, it can be seen that the diagnostic accuracy of the fused data set is 4.86% and 14.59% higher than that of the vibration and sound signals respectively; the diagnostic results of the precision, recall and f1-score of the fused data set are also 4.5%-13.25% higher than those of the vibration and sound data sets;

ROC和PR曲线是用于评估机器学习算法对一个给定数据集的分类性能,每个数据集都包含固定数目的正样本和负样本,曲线下的面积越大说明机器学习算法对数据集的分类性能越好;FPR是指实际为负样本被预测为正样本的概率,TPR是指实际为正样本被预测为负样本的概率;Precision是指被预测为正的样本占正样本的比例,Recall是指正样本中被预测为正样本的比例;基于LightGBM算法对振动、声音和融合信号数据集的分类效果如图14所示;从图中可知,LightGBM算法对声音数据集的分类效果最差,对融合数据集的分类效果远高于振动和声音数据集。ROC and PR curves are used to evaluate the classification performance of machine learning algorithms for a given data set. Each data set contains a fixed number of positive samples and negative samples. The larger the area under the curve, the better the classification performance of the machine learning algorithm for the data set. FPR refers to the probability that a negative sample is predicted to be a positive sample, and TPR refers to the probability that a positive sample is predicted to be a negative sample. Precision refers to the proportion of samples predicted to be positive to positive samples, and Recall refers to the proportion of samples predicted to be positive to positive samples. The classification effect of the vibration, sound and fusion signal data sets based on the LightGBM algorithm is shown in Figure 14. As can be seen from the figure, the classification effect of the LightGBM algorithm on the sound data set is the worst, and the classification effect on the fusion data set is much higher than that of the vibration and sound data sets.

本发明提供的一种融合信号液压马达故障诊断方法。通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号,利用小波软阈值算法进行降噪处理,并依据数据相关性和特征重要度进行特征选择,提取时域和频域特征值进行特征融合。构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断,最后通过不同算法之间和不同信号之间的对比验证了该方法的优越性。本发明提出的融合特征的故障诊断方法,解决了使用单一传感器采集数据诊断精确度不高的问题,使用两种不同的信号进行诊断,可将不同传感器的故障信息结合,增加故障特征以提高故障识别率。采用LightGBM建立故障诊断模型,在保证分类精度的前提下,既减少了运行内存占用又提高了模型训练时间,极大提高了故障诊断效率。The present invention provides a fusion signal hydraulic motor fault diagnosis method. The plunger fault is simulated by an inner curve radial piston hydraulic motor test bench, and the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear are collected. The wavelet soft threshold algorithm is used for noise reduction processing, and feature selection is performed based on data correlation and feature importance. The time domain and frequency domain eigenvalues are extracted for feature fusion. A LightGBM motor plunger fault diagnosis model is constructed, and the fusion features are divided into a data set containing normal and three fault signal labels for training and diagnosis. Finally, the superiority of this method is verified by comparing different algorithms and different signals. The fusion feature fault diagnosis method proposed in the present invention solves the problem of low diagnostic accuracy when using a single sensor to collect data. By using two different signals for diagnosis, the fault information of different sensors can be combined, and the fault features can be increased to improve the fault recognition rate. The fault diagnosis model is established using LightGBM. Under the premise of ensuring classification accuracy, it not only reduces the running memory usage but also increases the model training time, greatly improving the fault diagnosis efficiency.

本发明提供的融合信号液压马达故障诊断系统,包括一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常和不同程度的磨损故障,同时配备振动和声音信号采集装置,用于采集马达在各种状态下的相应信号。包括一个信号处理模块,利用小波软阈值算法对采集的振动和声音信号进行降噪处理,提高信号质量以便于更准确地进行故障诊断。包括一个特征提取和融合模块,用于基于数据相关性分析,从降噪后的振动和声音信号中提取时域和频域特征值,并进行特征融合,形成用于故障诊断的综合特征集。包括一个基于LightGBM算法的马达柱塞故障诊断模型构建模块,用于训练和诊断包含正常和三种故障信号标签的融合特征数据集,从而实现对液压马达柱塞故障的精确诊断。包括一个模型评估与验证模块,利用混淆矩阵、PR曲线和ROC曲线等评估工具,对诊断模型的性能进行评估和验证,包括准确性、精确度、召回率和f1-score等指标的计算,以及通过不同算法和信号类型的对比分析,验证诊断方法的优越性。The fusion signal hydraulic motor fault diagnosis system provided by the present invention includes an inner curve radial piston hydraulic motor test bench for simulating normal and different degrees of wear faults of the piston, and is equipped with a vibration and sound signal acquisition device for acquiring the corresponding signals of the motor in various states. It includes a signal processing module, which uses a wavelet soft threshold algorithm to perform noise reduction processing on the collected vibration and sound signals to improve the signal quality for more accurate fault diagnosis. It includes a feature extraction and fusion module, which is used to extract time domain and frequency domain feature values from the noise-reduced vibration and sound signals based on data correlation analysis, and perform feature fusion to form a comprehensive feature set for fault diagnosis. It includes a motor plunger fault diagnosis model construction module based on the LightGBM algorithm, which is used to train and diagnose a fused feature data set containing normal and three fault signal labels, thereby realizing accurate diagnosis of hydraulic motor plunger faults. It includes a model evaluation and verification module, which uses evaluation tools such as confusion matrix, PR curve and ROC curve to evaluate and verify the performance of the diagnostic model, including the calculation of indicators such as accuracy, precision, recall rate and f1-score, as well as comparative analysis of different algorithms and signal types to verify the superiority of the diagnostic method.

本发明提供的融合信号液压马达故障诊断系统的连接关系和工作原理如下:The connection relationship and working principle of the fusion signal hydraulic motor fault diagnosis system provided by the present invention are as follows:

1)故障模拟组件:这个组件包含一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常状态和不同程度的磨损故障。它同时会采集马达在各种状态下的相应振动和声音信号。1) Fault simulation component: This component includes an inner curve radial piston hydraulic motor test bench, which is used to simulate the normal state and different degrees of wear failure of the piston. It also collects the corresponding vibration and sound signals of the motor in various states.

2)信号处理组件模块:这个模块接收来自故障模拟组件的振动和声音信号。然后,它利用小波软阈值算法对这些信号进行降噪处理,以提高信号质量,使之更适于后续的故障诊断。2) Signal Processing Component Module: This module receives the vibration and sound signals from the fault simulation component. It then uses the wavelet soft threshold algorithm to perform noise reduction on these signals to improve the signal quality and make it more suitable for subsequent fault diagnosis.

3)特征提取与融合模块:这个模块从信号处理组件模块接收处理后的信号。基于数据相关性分析,从处理后的时域和频域信号中提取特征值,并进行特征融合,形成用于故障诊断的综合特征集。3) Feature extraction and fusion module: This module receives the processed signals from the signal processing component module. Based on data correlation analysis, it extracts feature values from the processed time domain and frequency domain signals and performs feature fusion to form a comprehensive feature set for fault diagnosis.

4)故障诊断模型模块:这个模块接收来自特征提取与融合模块的综合特征集。然后,它构建一个基于LightGBM算法的马达柱塞故障诊断模型,使用包含正常及三种故障信号标签的融合特征数据集进行模型训练和诊断。4) Fault diagnosis model module: This module receives the comprehensive feature set from the feature extraction and fusion module. Then, it builds a motor plunger fault diagnosis model based on the LightGBM algorithm, using the fused feature dataset containing normal and three fault signal labels for model training and diagnosis.

5)性能验证组件模块:这个模块用于评估和验证诊断模型的性能。它使用混淆矩阵、PR曲线和ROC曲线等工具,对诊断模型的准确性、精确度、召回率和f1-score指标进行计算。此外,它还通过不同算法和信号类型的对比分析,从而验证诊断方法的优越性。5) Performance Verification Component Module: This module is used to evaluate and verify the performance of the diagnostic model. It uses tools such as confusion matrix, PR curve and ROC curve to calculate the accuracy, precision, recall and f1-score indicators of the diagnostic model. In addition, it also verifies the superiority of the diagnostic method through comparative analysis of different algorithms and signal types.

整个系统的工作流程如下:首先,故障模拟组件模拟并采集液压马达的振动和声音信号。然后,信号处理组件模块对这些信号进行降噪处理。接着,特征提取与融合模块从处理后的信号中提取并融合特征。之后,故障诊断模型模块使用这些特征训练和诊断模型。最后,性能验证组件模块评估和验证诊断模型的性能,并验证诊断方法的优越性。应当注意,本发明的实施方式可以通过硬件、软件或者软件和硬件的结合来实现。硬件部分可以利用专用逻辑来实现;软件部分可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域的普通技术人员可以理解上述的设备和方法可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本发明的设备及其模块可以由诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用由各种类型的处理器执行的软件实现,也可以由上述硬件电路和软件的结合例如固件来实现。The workflow of the whole system is as follows: First, the fault simulation component simulates and collects the vibration and sound signals of the hydraulic motor. Then, the signal processing component module performs noise reduction processing on these signals. Next, the feature extraction and fusion module extracts and fuses features from the processed signals. After that, the fault diagnosis model module uses these features to train and diagnose the model. Finally, the performance verification component module evaluates and verifies the performance of the diagnosis model and verifies the superiority of the diagnosis method. It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person skilled in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and/or contained in a processor control code, for example, such codes are provided on a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., and can also be implemented by software executed by various types of processors, or by a combination of the above hardware circuits and software, such as firmware.

为了解决利用单信号数据诊断故障精确度低,提高内曲线径向柱塞式液压马达柱塞磨损故障的诊断效率,保证液压系统的稳定运行,提出了一种基于LightGBM识别振动和声音信号融合特征的液压马达柱塞磨损故障诊断方法;通过采集故障诊断试验台柱塞正常和三种不同程度磨损时马达的振动信号和声音信号,依据数据相关性和特征重要度进行特征选择,提取时域和频域特征值进行特征融合;构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断,最后通过不同算法之间和不同数据集之间的对比验证了该方法的优越性;具体结论如下:In order to solve the problem of low accuracy in fault diagnosis using single signal data, improve the diagnostic efficiency of inner curve radial piston hydraulic motor plunger wear fault, and ensure the stable operation of the hydraulic system, a hydraulic motor plunger wear fault diagnosis method based on LightGBM to identify the fusion features of vibration and sound signals is proposed; by collecting the vibration signals and sound signals of the motor when the plunger of the fault diagnosis test bench is normal and three different degrees of wear, feature selection is performed based on data correlation and feature importance, and time domain and frequency domain eigenvalues are extracted for feature fusion; a LightGBM motor plunger fault diagnosis model is constructed, and the fused features are divided into a data set containing normal and three fault signal labels for training and diagnosis. Finally, the superiority of this method is verified by comparing different algorithms and different data sets; the specific conclusions are as follows:

搭建内曲线径向柱塞式液压马达柱塞故障试验台,采集马达正常运转时柱塞正常和三种不同程度磨损状态下的振动信号和声音信号;Build an inner curve radial piston hydraulic motor plunger fault test bench to collect the vibration and sound signals of the plunger when the motor is running normally and in three different degrees of wear state;

利用小波算法对两种信号进行降噪处理,并提取信号的时域和频域特征值进行同类别数据融合,生成融合数据集;The wavelet algorithm is used to reduce the noise of the two signals, and the time domain and frequency domain eigenvalues of the signals are extracted to fuse the same category data to generate a fused data set;

搭建了LightGBM故障诊断模型,并与AdaBoost、GBDT和XGBoost模型进行对比,结果显示LightGBM模型的故障诊断精确度高出了0.17%-0.33%,并且训练时间缩短了3-5倍,验证了LightGBM模型具有更高的诊断效率;A LightGBM fault diagnosis model was built and compared with the AdaBoost, GBDT, and XGBoost models. The results showed that the fault diagnosis accuracy of the LightGBM model was 0.17%-0.33% higher, and the training time was shortened by 3-5 times, which verified that the LightGBM model has higher diagnostic efficiency.

通过对比显示,LightGBM模型对融合信号数据集的诊断精确度比振动信号和声音信号分别提高4.86%和14.59%,precision、recall和f1-score等评价指标也都比振动和声音数据集提高了4.5%-13.25%;The comparison shows that the diagnostic accuracy of the LightGBM model for the fusion signal dataset is 4.86% and 14.59% higher than that of the vibration signal and sound signal, respectively. The evaluation indicators such as precision, recall and f1-score are also 4.5%-13.25% higher than those of the vibration and sound datasets.

通过ROC和PR曲线分析可知,运用LightGBM算法对融合数据集的分类效果比振动和声音数据的效果更好;Through ROC and PR curve analysis, it can be seen that the classification effect of the LightGBM algorithm on the fusion data set is better than that on the vibration and sound data;

本发明所提方法在柱塞式液压马达故障诊断中取得了预期的效果,但还存在一些不足之处,未来的研究还应该考虑以下问题:1)声音信号采集时,声音传感器直接暴露与环境中,可采取添加隔音罩的方式以降低环境噪音的干扰;2)实验中每组信号采集了6分钟,数据点不多,可增加样本个数以提高故障诊断精确度。The method proposed in the present invention has achieved the expected effect in the fault diagnosis of plunger hydraulic motors, but there are still some shortcomings. Future research should also consider the following issues: 1) When collecting sound signals, the sound sensor is directly exposed to the environment, and a soundproof cover can be added to reduce the interference of environmental noise; 2) In the experiment, each group of signals was collected for 6 minutes, and there were not many data points. The number of samples can be increased to improve the accuracy of fault diagnosis.

本发明提供的一种融合信号液压马达故障诊断方法。通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集柱塞正常和三种不同程度磨损时马达的振动信号和声音信号,利用小波软阈值算法进行降噪处理,并依据数据相关性和特征重要度进行特征选择,提取时域和频域特征值进行特征融合。构建LightGBM马达柱塞故障诊断模型,将融合特征划分为包含正常和3种故障信号标签的数据集进行训练和诊断,最后通过不同算法之间和不同信号之间的对比验证了该方法的优越性。本发明提出的融合特征的故障诊断方法,解决了使用单一传感器采集数据诊断精确度不高的问题,使用两种不同的信号进行诊断,可将不同传感器的故障信息结合,增加故障特征以提高故障识别率。采用LightGBM建立故障诊断模型,在保证分类精度的前提下,既减少了运行内存占用又提高了模型训练时间,极大提高了故障诊断效率。The present invention provides a fusion signal hydraulic motor fault diagnosis method. The plunger fault is simulated by an inner curve radial piston hydraulic motor test bench, and the vibration signal and sound signal of the motor when the plunger is normal and three different degrees of wear are collected. The wavelet soft threshold algorithm is used for noise reduction processing, and feature selection is performed based on data correlation and feature importance. The time domain and frequency domain eigenvalues are extracted for feature fusion. A LightGBM motor plunger fault diagnosis model is constructed, and the fusion features are divided into a data set containing normal and three fault signal labels for training and diagnosis. Finally, the superiority of this method is verified by comparing different algorithms and different signals. The fusion feature fault diagnosis method proposed in the present invention solves the problem of low diagnostic accuracy when using a single sensor to collect data. By using two different signals for diagnosis, the fault information of different sensors can be combined, and the fault features can be increased to improve the fault recognition rate. The fault diagnosis model is established using LightGBM. Under the premise of ensuring classification accuracy, it not only reduces the running memory usage but also increases the model training time, greatly improving the fault diagnosis efficiency.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,都应涵盖在本发明的保护范围之内。The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims (7)

1.一种融合信号液压马达故障诊断方法,其特征在于,首先,通过内曲线径向柱塞式液压马达试验台模拟柱塞故障,采集在正常状态及不同磨损程度下马达的振动和声音信号;其次,利用小波软阈值算法对这些信号进行降噪处理,再基于数据相关性分析,从时域和频域中提取特征值,并进行特征融合;接着,构建基于LightGBM的马达柱塞故障诊断模型,并使用包含正常及三种故障信号标签的数据集进行模型训练和诊断;最后,通过不同算法和不同信号类型的对比分析,验证了该方法的有效性和优越性。1. A fusion signal hydraulic motor fault diagnosis method, which is characterized by: first, simulating a plunger fault through an inner curve radial plunger hydraulic motor test bench, and collecting the vibration and sound signals of the motor under normal conditions and different degrees of wear. ; Secondly, the wavelet soft threshold algorithm is used to denoise these signals, and then based on data correlation analysis, feature values are extracted from the time domain and frequency domain, and feature fusion is performed; then, a motor plunger fault diagnosis based on LightGBM is constructed model, and use a data set containing normal and three fault signal labels for model training and diagnosis; finally, through comparative analysis of different algorithms and different signal types, the effectiveness and superiority of the method are verified. 2.如权利要求1所述的融合信号液压马达故障诊断方法,其特征在于,包含一个内曲线径向柱塞式液压马达试验台用于模拟柱塞故障,包括正常状态和不同程度磨损状态,采集相关的振动和声音信号,为后续的故障诊断提供原始数据。2. The fusion signal hydraulic motor fault diagnosis method according to claim 1, characterized in that it includes an inner curve radial plunger hydraulic motor test bench for simulating plunger faults, including normal conditions and different degrees of wear conditions, Collect relevant vibration and sound signals to provide original data for subsequent fault diagnosis. 3.如权利要求1所述的融合信号液压马达故障诊断方法,其特征在于,采集到的振动和声音信号通过小波软阈值算法进行降噪处理,有效去除信号中的噪声干扰。3. The fusion signal hydraulic motor fault diagnosis method according to claim 1, characterized in that the collected vibration and sound signals are subjected to noise reduction processing through a wavelet soft threshold algorithm to effectively remove noise interference in the signal. 4.如权利要求1所述的融合信号液压马达故障诊断方法,其特征在于,基于数据相关性分析,从处理后的振动和声音信号中提取时域和频域特征值,对这些特征值进行融合,形成一个综合特征集,以便用于更准确的故障诊断。4. The fusion signal hydraulic motor fault diagnosis method as claimed in claim 1, characterized in that, based on data correlation analysis, time domain and frequency domain eigenvalues are extracted from the processed vibration and sound signals, and these eigenvalues are Fusion to form a comprehensive feature set for more accurate fault diagnosis. 5.如权利要求3所述的融合信号液压马达故障诊断方法,其特征在于,构建一个基于LightGBM算法的马达柱塞故障诊断模型,使用包含正常及三种故障信号标签的数据集进行模型训练和诊断,并通过不同算法和不同信号类型的对比分析,验证该方法的有效性和优越性。5. The fusion signal hydraulic motor fault diagnosis method as claimed in claim 3, characterized in that a motor plunger fault diagnosis model based on the LightGBM algorithm is constructed, and a data set containing normal and three fault signal labels is used for model training and diagnosis, and through comparative analysis of different algorithms and different signal types, the effectiveness and superiority of the method are verified. 6.一种基于权利要求1所述方法的融合信号液压马达故障诊断系统,其特征在于,包括:6. A fusion signal hydraulic motor fault diagnosis system based on the method of claim 1, characterized in that it includes: 故障模拟组件:包括一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常状态和不同程度的磨损故障,并采集相应的振动和声音信号;Fault simulation component: includes an inner curve radial piston hydraulic motor test bench, which is used to simulate the normal state of the plunger and different degrees of wear failures, and collect corresponding vibration and sound signals; 信号处理组件模块:利用小波软阈值算法对采集到的信号进行降噪处理,提高信号质量以供后续分析;Signal processing component module: Use wavelet soft threshold algorithm to perform noise reduction processing on the collected signals to improve signal quality for subsequent analysis; 特征提取与融合模块:基于数据相关性分析,从处理后的时域和频域信号中提取特征值,并进行特征融合,形成用于故障诊断的综合特征集;Feature extraction and fusion module: Based on data correlation analysis, feature values are extracted from the processed time domain and frequency domain signals, and feature fusion is performed to form a comprehensive feature set for fault diagnosis; 故障诊断模型模块:构建一个基于LightGBM算法的马达柱塞故障诊断模型,使用包含正常及三种故障信号标签的融合特征数据集进行模型训练和诊断;Fault diagnosis model module: Construct a motor plunger fault diagnosis model based on the LightGBM algorithm, and use a fusion feature data set containing normal and three fault signal labels for model training and diagnosis; 性能验证组件模块:包含用于评估和验证诊断模型性能的工具,包括混淆矩阵、PR曲线和ROC曲线,以及进行不同算法和信号类型的对比分析,验证所提方法的有效性和优越性。Performance verification component module: Contains tools for evaluating and verifying the performance of diagnostic models, including confusion matrices, PR curves and ROC curves, as well as comparative analysis of different algorithms and signal types to verify the effectiveness and superiority of the proposed method. 7.一种基于权利要求1所述方法的融合信号液压马达故障诊断系统,其特征在于,包括:7. A fusion signal hydraulic motor fault diagnosis system based on the method of claim 1, characterized in that it includes: 一个内曲线径向柱塞式液压马达试验台,用于模拟柱塞的正常和不同程度的磨损故障,同时配备振动和声音信号采集装置,用于采集马达在各种状态下的相应信号;An inner curve radial piston hydraulic motor test bench is used to simulate normal and varying degrees of wear failure of the plunger. It is also equipped with a vibration and sound signal acquisition device to collect the corresponding signals of the motor in various states; 一个信号处理模块,利用小波软阈值算法对采集的振动和声音信号进行降噪处理,提高信号质量以便于更准确地进行故障诊断;A signal processing module uses wavelet soft threshold algorithm to perform noise reduction processing on the collected vibration and sound signals to improve signal quality for more accurate fault diagnosis; 一个特征提取和融合模块,用于基于数据相关性分析,从降噪后的振动和声音信号中提取时域和频域特征值,并进行特征融合,形成用于故障诊断的综合特征集;A feature extraction and fusion module for extracting time domain and frequency domain feature values from denoised vibration and sound signals based on data correlation analysis, and performing feature fusion to form a comprehensive feature set for fault diagnosis; 一个基于LightGBM算法的马达柱塞故障诊断模型构建模块,用于训练和诊断包含正常和三种故障信号标签的融合特征数据集,从而实现对液压马达柱塞故障的精确诊断;A motor plunger fault diagnosis model building module based on the LightGBM algorithm, used to train and diagnose a fused feature data set containing normal and three fault signal labels, thereby achieving accurate diagnosis of hydraulic motor plunger faults; 一个模型评估与验证模块,利用混淆矩阵、PR曲线和ROC曲线评估工具,对诊断模型的性能进行评估和验证,包括准确性、精确度、召回率和f-score指标的计算,以及通过不同算法和信号类型的对比分析,验证诊断方法的优越性。A model evaluation and verification module that uses confusion matrix, PR curve and ROC curve evaluation tools to evaluate and verify the performance of the diagnostic model, including the calculation of accuracy, precision, recall and f-score indicators, as well as through different algorithms Comparative analysis with signal types to verify the superiority of the diagnostic method.
CN202311646319.7A 2023-12-04 2023-12-04 A fusion signal hydraulic motor fault diagnosis method and system Pending CN117628005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311646319.7A CN117628005A (en) 2023-12-04 2023-12-04 A fusion signal hydraulic motor fault diagnosis method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311646319.7A CN117628005A (en) 2023-12-04 2023-12-04 A fusion signal hydraulic motor fault diagnosis method and system

Publications (1)

Publication Number Publication Date
CN117628005A true CN117628005A (en) 2024-03-01

Family

ID=90033552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311646319.7A Pending CN117628005A (en) 2023-12-04 2023-12-04 A fusion signal hydraulic motor fault diagnosis method and system

Country Status (1)

Country Link
CN (1) CN117628005A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117972616A (en) * 2024-03-28 2024-05-03 江西江投能源技术研究有限公司 Pumped storage generator set safety state monitoring and diagnosing method and system
CN118407909A (en) * 2024-07-01 2024-07-30 江苏恒源液压有限公司 Method and system for troubleshooting full life cycle of plunger pump
CN118408743B (en) * 2024-07-04 2024-10-01 山东轴研精密轴承有限公司 Bearing fault detection system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413494A (en) * 2019-06-19 2019-11-05 浙江工业大学 A LightGBM Fault Diagnosis Method Based on Improved Bayesian Optimization
KR20210082621A (en) * 2019-12-26 2021-07-06 주식회사 모트롤 DEVICE and mETHOD for detecting fault of Reduction device
CN114359663A (en) * 2021-12-27 2022-04-15 江苏大学 An intelligent fault diagnosis method for hydraulic plunger pump based on pressure signal
CN115730255A (en) * 2022-09-27 2023-03-03 江苏迪普勒信息科技有限公司 Motor fault diagnosis and analysis method based on transfer learning and multi-source information fusion
CN115758083A (en) * 2022-11-10 2023-03-07 华能南京金陵发电有限公司 A Fault Diagnosis Method for Motor Bearings Based on Fusion of Time Domain and Time-Frequency Domain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413494A (en) * 2019-06-19 2019-11-05 浙江工业大学 A LightGBM Fault Diagnosis Method Based on Improved Bayesian Optimization
KR20210082621A (en) * 2019-12-26 2021-07-06 주식회사 모트롤 DEVICE and mETHOD for detecting fault of Reduction device
CN114359663A (en) * 2021-12-27 2022-04-15 江苏大学 An intelligent fault diagnosis method for hydraulic plunger pump based on pressure signal
CN115730255A (en) * 2022-09-27 2023-03-03 江苏迪普勒信息科技有限公司 Motor fault diagnosis and analysis method based on transfer learning and multi-source information fusion
CN115758083A (en) * 2022-11-10 2023-03-07 华能南京金陵发电有限公司 A Fault Diagnosis Method for Motor Bearings Based on Fusion of Time Domain and Time-Frequency Domain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117972616A (en) * 2024-03-28 2024-05-03 江西江投能源技术研究有限公司 Pumped storage generator set safety state monitoring and diagnosing method and system
CN118407909A (en) * 2024-07-01 2024-07-30 江苏恒源液压有限公司 Method and system for troubleshooting full life cycle of plunger pump
CN118408743B (en) * 2024-07-04 2024-10-01 山东轴研精密轴承有限公司 Bearing fault detection system and method

Similar Documents

Publication Publication Date Title
Udmale et al. Application of spectral kurtosis and improved extreme learning machine for bearing fault classification
Attoui et al. Novel predictive features using a wrapper model for rolling bearing fault diagnosis based on vibration signal analysis
Deng et al. MgNet: A fault diagnosis approach for multi-bearing system based on auxiliary bearing and multi-granularity information fusion
CN112257530B (en) Rolling bearing fault diagnosis method based on blind signal separation and support vector machine
Yang et al. Bearing fault automatic classification based on deep learning
CN117628005A (en) A fusion signal hydraulic motor fault diagnosis method and system
CN112067916A (en) Intelligent fault diagnosis method for time series data based on deep learning
CN113378725B (en) Multi-scale-channel attention network-based tool fault diagnosis method, equipment and storage medium
Saini et al. Predictive Monitoring of Incipient Faults in Rotating Machinery: A Systematic Review from Data Acquisition to Artificial Intelligence.
CN114048787A (en) Method and system for intelligently diagnosing bearing fault in real time based on Attention CNN model
Shi et al. Sound-aided fault feature extraction method for rolling bearings based on stochastic resonance and time-domain index fusion
Mubaraali et al. Intelligent fault diagnosis in microprocessor systems for vibration analysis in roller bearings in whirlpool turbine generators real time processor applications
Enshaei et al. Icphm’23 benchmark vibration dataset applicable in machine learning for systems’ health monitoring
CN113639985B (en) Mechanical fault diagnosis and state monitoring method based on optimized fault characteristic frequency spectrum
CN113369993B (en) Method for monitoring tool wear state under small sample
CN118518359B (en) A bearing fault diagnosis method based on dual domain adaptive neural network
CN118364362B (en) Fault diagnosis method based on constant Q transformation and migration learning
CN113807431A (en) An intelligent spindle state assessment method and system based on multi-source information fusion
Yue et al. Mel frequency mapping for intelligent diagnosis of rolling element bearings across different working conditions
CN116610941B (en) Method, system, equipment and medium for diagnosing composite fault of bearing of rapid kurtosis graph
Zhang et al. CNN4GCDD: A one-dimensional convolutional neural network-based model for gear crack depth diagnosis
Guo et al. Research on radial rotor plunger wear fault monitoring method by fused sound vibration signal features
Li et al. Tool fault diagnosis based on improved multiscale network and feature fusion
Ignjatovska et al. Time-domain analysis of vibration signals of rotating machinery with defects under varying load conditions
Zabin et al. Industrial Fault Diagnosis using Hilbert Transform and Texture Features

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination