⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wernset.m

📁 FISMAT accommodates different arithmetic operators, fuzzification and defuzzification algorithm, imp
💻 M
字号:
% WERNSET.M %% Script-File with the fuzzy set definition for the fuzzy controller% file WERN93.M% All sets for using the FUZZIFI() function (matrix set form)%% FSTB - Fuzzy Systems Toolbox for MATLAB% Copyright (c) 1993-1996 by Olaf Wolkenhauer% Control Systems Centre at UMIST% Manchester M60 1QD, UK%% 12-August 1993 Umin=;        % minimum controller outputUmax=;        % maximum controller outputkp=;          % proportional gainT=;           % sample periodTn=;          % integral timeTv=;          % derivative timeneg=1; null=2; pos=3;% P1...P4 are the characteristical points for a trapezium.% The set for e(k)%        P1         P2        P3        P4neg = [-inf    ; Umin/kp  ; Umin/kp ;   0     ];null= [Umin/kp ;   0      ;  0      ; Umax/kp ];pos = [  0     ; Umax/kp  ; Umax/kp ;  inf    ];eset=[neg,null,pos];% The set for sum(e(i))%         P1          P2          P3         P4neg = [-inf      ; Umin*Tn/T ; Umin*Tn/T ;   0       ];null= [Umin*Tn/T ;    0      ;    0      ; Umax*Tn/T ];pos = [   0      ; Umax*Tn/T ; Umax*Tn/T ;   inf     ];seset=[neg,null,pos];% The set for e(k)-e(k-1)%         P1          P2          P3         P4neg = [-inf      ; Umin*Tv/T ; Umin*Tv/T ;   0       ];null= [Umin*Tv/T ;    0      ;    0      ; Umax*Tv/T ];pos = [   0      ; Umax*Tv/T ; Umax*Tv/T ;   inf     ];deset=[neg,null,pos];% The set for the controller output u(k)%         P1         P2         P3        P4neg = [1.5*Umin ; 1.5*Umin ; Umin/2   ; Umin/2   ];null= [Umin/2   ; Umin/2   ; Umax/2   ; Umax/2   ];pos = [Umax/2   ; Umax/2   ; 1.5*Umax ; 1.5*Umax ];oset=[neg,null,pos];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -