【故障诊断分析】滚动轴承故障诊断系统含Matlab源码

1 简介

基于matlab对信号强大的处理功能,对检测到的滚动轴承振动信号进行时域,频域,倒频谱分析,比较其优点,充分显示了倒频谱技术在判断轴承故障的直观性,简化性,从而提高了滚动轴承故障判断的准确率.

2 部分代码

%pinyu.m文件uiheight=0.05;uiweith=0.12;uilow=0.08;uileft=0.85;dif=0.08;h=figure('color',[0.8,0.9,0.8],'Position',[250,100,800,500],'Resize','on',...    'Name','频域分析','NumberTitle','off',...    'MenuBar','none','tag','pinyufig','units','points');uicontrol(h,'style','Pushbutton','Position',[uileft uilow uiweith uiheight],...    'Units','normalized','Horizontal','left','fontsize',12,...    'String','返回','call','close(h)');uicontrol(h,'style','Text','Position',...    [uileft uilow+2*dif+13*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','采样频率','tag','cypldata','backgroundcolor',[0.8,0.9,0.8]);uicontrol(h,'style','edit','Position',...    [uileft uilow+2*dif+13*uiheight-uiheight 0.7*uiweith uiheight],...    'Units','normalized','Horizontal','center','tag','cypled','fontsize',10,'String',10000);uicontrol(h,'style','Text','Position',...    [uileft+0.7*uiweith uilow+2*dif+13*uiheight-uiheight 0.3*uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','Hz','tag','dwdata','backgroundcolor',[0.8,0.9,0.8]);uicontrol(h,'style','Pushbutton','position',...    [uileft uilow+2*dif+10*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','幅值谱','call','fzp');uicontrol(h,'style','Pushbutton','position',...    [uileft uilow+2*dif+8*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','能量谱','call','nlp');uicontrol(h,'style','Pushbutton','position',...    [uileft uilow+2*dif+6*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','倒频谱','call','dpp');uicontrol(h,'style','Pushbutton','position',...    [uileft uilow+2*dif+4*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','功率谱','call','glp');uicontrol(h,'style','Text','Position',...    [uileft uilow+2*dif+3*uiheight uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','计算方法','tag','ffdata','backgroundcolor',[0.8,0.9,0.8]);v=uicontrol(h,'style','popup','Position',...    [uileft uilow+2*dif+3*uiheight-uiheight uiweith uiheight],...      'Units','normalized','Horizontal','left',...    'String','周期图法|分段平均周期图法|加窗平均周期图法|多窗口法|最大熵法|多信号分类法','tag','jsff');uicontrol(h,'style','Pushbutton','Position',[uileft uilow+dif uiweith uiheight],...    'Units','normalized','Horizontal','left','fontsize',12,...    'String','打印','call','printf');uicontrol(h,'style','Text','Position',...    [uileft-10*dif uilow-0.5*dif uiweith+dif uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','显示频率段下限','tag','xxdata','backgroundcolor',[0.8,0.9,0.8]);uicontrol(h,'style','edit','Position',...    [uileft-7.8*dif uilow-0.5*dif 0.7*uiweith uiheight],...    'Units','normalized','Horizontal','center','tag','xxed','fontsize',10,'String',0);uicontrol(h,'style','Text','Position',...    [uileft-7.8*dif+0.7*uiweith uilow-0.5*dif 0.3*uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','Hz','tag','dwdata','backgroundcolor',[0.8,0.9,0.8]);uicontrol(h,'style','Text','Position',...    [uileft-6*dif uilow-0.5*dif uiweith+dif uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','显示频率段上限','tag','sxdata','backgroundcolor',[0.8,0.9,0.8]);uicontrol(h,'style','edit','Position',...    [uileft-3.8*dif uilow-0.5*dif 0.7*uiweith uiheight],...    'Units','normalized','Horizontal','center','tag','sxed','fontsize',10,'String',5000);uicontrol(h,'style','Text','Position',...    [uileft-3.8*dif+0.7*uiweith uilow-0.5*dif 0.3*uiweith uiheight],...    'Units','normalized','Horizontal','center','fontsize',12,...    'String','Hz','tag','dwdata','backgroundcolor',[0.8,0.9,0.8]);

3 仿真结果

【故障诊断分析】滚动轴承故障诊断系统含Matlab源码_第1张图片

【故障诊断分析】滚动轴承故障诊断系统含Matlab源码_第2张图片

4 参考文献

[1]易挺, 梁楚华, 朱圆圆. 滚动轴承故障诊断的matlab倒频谱分析[J]. 轴承技术, 2009(3):5.

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。

你可能感兴趣的:(信号处理,matlab)