一、鼠笼式异步电机转子断条故障诊断简介

理论知识参考:鼠笼式异步电机的转子断条故障诊断与联合仿真建模

二、部分源代码

function varargout = motor_diag(varargin)
% MOTOR_DIAG MATLAB code for motor_diag.fig
%      MOTOR_DIAG, by itself, creates a new MOTOR_DIAG or raises the existing
%      singleton*.
%
%      H = MOTOR_DIAG returns the handle to a new MOTOR_DIAG or the handle to
%      the existing singleton*.
%
%      MOTOR_DIAG('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in MOTOR_DIAG.M with the given input arguments.
%
%      MOTOR_DIAG('Property','Value',...) creates a new MOTOR_DIAG or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before motor_diag_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to motor_diag_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help motor_diag% Last Modified by GUIDE v2.5 17-Nov-2020 17:22:27% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...'gui_Singleton',  gui_Singleton, ...'gui_OpeningFcn', @motor_diag_OpeningFcn, ...'gui_OutputFcn',  @motor_diag_OutputFcn, ...'gui_LayoutFcn',  [] , ...'gui_Callback',   []);
if nargin && ischar(varargin{1})gui_State.gui_Callback = str2func(varargin{1});
endif nargout[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
elsegui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT% --- Executes just before motor_diag is made visible.
function motor_diag_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to motor_diag (see VARARGIN)% Choose default command line output for motor_diag
handles.output = hObject;% Update handles structure
guidata(hObject, handles);
% UIWAIT makes motor_diag wait for user response (see UIRESUME)
% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.
function varargout = motor_diag_OutputFcn(hObject, eventdata, handles)
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Get default command line output from handles structure
varargout{1} = handles.output;% --- Executes on button press in readmatfile.
function readmatfile_Callback(hObject, eventdata, handles)
% hObject    handle to readmatfile (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
global size_x;global currentvalue;
[filename,filepath]=uigetfile({'.mat'},'读取数据','D:\zl工作文档\设备控制与故障诊断\电机诊断数据\1120实验数据\1120正常');load(strcat(filepath,filename));   %load current signal data;
currentvalue=data(:,3);         %extract current signal data from the original data;
[size_x,size_y]=size(currentvalue);
set(handles.data_length,'String',num2str(size_x));function input_f_Callback(hObject, eventdata, handles)
% hObject    handle to input_f (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of input_f as text
%        str2double(get(hObject,'String')) returns contents of input_f as a double
a=str2double(get(hObject,'String'));
if isempty(a)set(hObject,'String',0);
end
guidata(hObject,handles);% --- Executes during object creation, after setting all properties.
function input_f_CreateFcn(hObject, eventdata, handles)
% hObject    handle to input_f (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction actual_f_Callback(hObject, eventdata, handles)
% hObject    handle to actual_f (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of actual_f as text
%        str2double(get(hObject,'String')) returns contents of actual_f as a double
a=str2double(get(hObject,'String'));
if isempty(a)set(hObject,'String',0);
end
guidata(hObject,handles);% --- Executes during object creation, after setting all properties.
function actual_f_CreateFcn(hObject, eventdata, handles)
% hObject    handle to actual_f (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction s_Callback(hObject, eventdata, handles)
% hObject    handle to s (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of s as text
%        str2double(get(hObject,'String')) returns contents of s as a double% --- Executes during object creation, after setting all properties.
function s_CreateFcn(hObject, eventdata, handles)
% hObject    handle to s (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction chara_f1_Callback(hObject, eventdata, handles)
% hObject    handle to chara_f1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of chara_f1 as text
%        str2double(get(hObject,'String')) returns contents of chara_f1 as a double% --- Executes during object creation, after setting all properties.
function chara_f1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to chara_f1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction chara_f2_Callback(hObject, eventdata, handles)
% hObject    handle to chara_f2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of chara_f2 as text
%        str2double(get(hObject,'String')) returns contents of chara_f2 as a double% --- Executes during object creation, after setting all properties.
function chara_f2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to chara_f2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction chara_f2_value_Callback(hObject, eventdata, handles)
% hObject    handle to chara_f2_value (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of chara_f2_value as text
%        str2double(get(hObject,'String')) returns contents of chara_f2_value as a double

三、运行结果

四、备注

版本:2014a

【故障分析】基于matlab GUI鼠笼式异步电机转子断条故障诊断【含Matlab源码 1089期】相关推荐

  1. 【故障分析】鼠笼式异步电机转子断条故障诊断含Matlab源码

    1 简介 鼠笼式异步电机在驱动负载运行的过程中可能会发生故障,而故障的发生可能会导致电机无法正常工作甚至停机,从而给企业带来一定的经济损失.因此,很多学者着手研究了鼠笼式异步电机常见的故障特征,他们采 ...

  2. 【数字信号调制】基于matlab GUI PCM编码和QAM调制系统【含Matlab源码 2080期】

    ⛄一.PCM编码+QAM调制简介 1 PCM 数字信号是对连续变化的模拟信号进行抽样.量化和编码产生的,称为PCM(Pulse Code Modulation),即脉冲编码调制. 脉冲编码调制就是把一 ...

  3. 【车辆计数】基于matlab GUI背景差分法道路行驶多车辆检测【含Matlab源码 1911期】

    ⛄一.背景差分法和帧间差分法的车辆运动目标检测简介 1 引言 运动目标检测是从图像序列中检测运动目标.通过运动目标检测可以得到图像中的运动目标,获取图像中的运动信息.运动目标检测在医学辅助诊断.航天航 ...

  4. 【图像加密】基于matlab GUI正交拉丁方置乱+混沌图像加密解密【含Matlab源码 636期】

    ⛄一.正交拉丁方置乱及混沌系统简介 0 引言 随着通讯技术的飞速发展, 越来越多的领域需要传送数字图像信号, 因此信息的传送安全问题显得越来越重要.通常应用于数字图像通信的两种保护技术为:数字水印技术 ...

  5. 【图像加密】基于matlab GUI正交拉丁方置乱算法图像加解密【含Matlab源码 182期】

    ⛄一.正交拉丁方置乱简介 0 引言 随着通讯技术的飞速发展, 越来越多的领域需要传送数字图像信号, 因此信息的传送安全问题显得越来越重要.通常应用于数字图像通信的两种保护技术为:数字水印技术和图像加密 ...

  6. 【图像融合】基于matlab GUI高斯金字塔+拉普拉斯金字塔彩色图像融合【含Matlab源码 1506期】

    一.区域分割图像融合简介 图像的分解 对源图像进行融合时,首先对图像进行分解,利用拉普拉斯金字塔分解,先对图像进行高斯金字塔分解,然后再进行拉普拉斯金字塔分解. 1 高斯金字塔分解 记源图像为G0,G ...

  7. 【图像加密】基于matlab GUI Logistic混沌图像加密与解密【含Matlab源码 1216期】

    ⛄一.混沌图像加密与解密简介 混沌系统图像加密解密理论部分参考链接: 基于混沌系统的图像加密算法设计与应用 ⛄二.部分源代码 %加密程序 function b=jiami(a,s,h) [m1,n1] ...

  8. 基于java开发的健身器材电商管理系统.rar(含项目源码前后端项目)

    功能:健身器材信息管理.健身器材分类管理.公告管理.个人中心.订单管理.健身器材入库管理.健身器材出库管理.收获评价管理.系统管理等 前端页面展示 后端管理: 源码下载地址:>>>

  9. matlab svm 语音识别,【情感识别】基于matlab支持向量机(SVM)的语音情感识别【含Matlab源码 543期】...

    一.简介 支持向量机(Support Vector Machine)是Cortes和Vapnik于1995年首先提出的,它在解决小样本.非线性及高维模式识别中表现出许多特有的优势,并能够推广应用到函数 ...

  10. 【数字信号】基于matlab GUI多音双频(DTMF)拨号音频解码仿真系统【含Matlab源码 1084期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[数字信号]基于matlab GUI多音双频(DTMF)拨号音频解码仿真系统[含Matlab源码 1084期] 点击上面蓝色字体,直接付费 ...

最新文章

  1. 融资租赁基础干货知识大整理
  2. Flask Web 开发 错误页面自定义
  3. 初识Matlab遗传算法工具箱 ga
  4. 监控页面后退前进,浏览器文档加载事件之pageshow、pagehide
  5. 查询、新增、修改、删除方法
  6. Spring Boot(2) 配置文件
  7. The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory的解决方法...
  8. Web开发者必备的十大网站资源(转贴)
  9. python三种基本的数据类型有_python基本数据类型一
  10. 使用C++进行SVG开发
  11. python100天从新手到大师下载_GitHub - chenqiyi/Python-100-Days: Python - 100天从新手到大师...
  12. 大功率双伺服电机驱动板,包含原理图,PCB和原代码,基于STM32F4方案,支持霍尔,编码器,无感
  13. MacOS使用minicom工具配置华为交换机
  14. 芯片组:北桥芯片和南桥芯片
  15. linux7.0修复磁盘命令,RHEL7系统修复rm -rf /boot /etc/fstab
  16. Docker中修改Tomcat端口号
  17. 高中计算机公式,求高中数学公式大全,高二数学公式总结
  18. 为什么专业领域里外行领导能让墙倒屋塌?
  19. 程序员如何画好架构图?
  20. 各个国家的utf-8/unicode编码范围,印度语(天城文)utf-8编码范围

热门文章

  1. python之udp
  2. javascript中隐藏显示的样式表属性
  3. 《JavaScript权威指南》学习笔记 第三天 找个对象
  4. Android OpenGL ES(十二):三维坐标系及坐标变换初步 .
  5. 可遇不可求的Question之MYSQL获取自增ID的四种方法篇
  6. Docker网络基础---Docker跨主机容器访问通信
  7. Atitit mybatis spring整合。读取spring、yml、文件的mysql url 步骤,读取yml,文件,使用ongl定位到url pwd usr 读取mybatis模板配置,
  8. Atitit 提升开发效率总结 目录 1. declara dynamic Dsl化 fp script 1 1.1. 各种语法新特性 linq等 2 1.2. duck typing。 2
  9. atitit 课程表终生学习专业进修表从幼儿园到养老院 v2 r818.xlsx
  10. Atitit.ati  str  字符串增强api