PID cotrol position motor
2016-08-23
1 0 0
no vote
Other
Earn points
clc;clear;close all
t=0:0.01:10;
dt=0.01;
%motor parameter
A = 0.1;
B=0.008;
Km = 0.5;
Ke=0.5;
R = 0.5;
L = 0.02;
range=90;
a = newfis('FuzzPid');
% The membership function range of e - e is ERROR - INPUT
a = addvar(a,'input','e',[-90,90]);
% Add membership functi
t=0:0.01:10;
dt=0.01;
%motor parameter
A = 0.1;
B=0.008;
Km = 0.5;
Ke=0.5;
R = 0.5;
L = 0.02;
range=90;
a = newfis('FuzzPid');
% The membership function range of e - e is ERROR - INPUT
a = addvar(a,'input','e',[-90,90]);
% Add membership functi
matlab
pid
控制
电机
位置
Related Source Codes
GMSK Linear Receiver
0
0
no vote
NSGA-II algorithm
0
0
no vote
NSGA-III multi-objective optimization algorithm
0
0
no vote
Compressed sensing example
0
0
no vote
CFAR detector example
0
0
no vote
No comment