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]);br
3 仿真结果
4 参考文献
[1]易挺, 梁楚华, 朱圆圆. 滚动轴承故障诊断的matlab倒频谱分析[J]. 轴承技术, 2009(3):5.