模糊控制算法c程序28577.docVIP

  • 7
  • 0
  • 约4.36千字
  • 约 6页
  • 2017-08-27 发布于江苏
  • 举报
#include stdio.h #includemath.h #define PMAX??? 100??? #define PMIN??? -100?? #define DMAX??? 100???? #define DMIN??? -100?????????? #define FMAX??? 100?????? /*语言值的满幅值*/ int PFF[4]={0,12,24,48}; /*输入量D语言值特征点*/ int DFF[4]={0,16,32,64}; /*输出量U语言值特征点*/ int UFF[7]={0,15,30,45,60,75,90}; /*采用了调整因子的规则表,大误差时偏重误差,小误差时偏重误差变化*/ /*a0=0.3,a1=0.55,a2=0.74,a3=0.89?? */?? int rule[7][7]={ //误差变化率 -3,-2,-1, 0, 1, 2, 3???? // 误差???? ????? {-6,-6,-6,-5,-5,-5,-4,},?? //?? -3?? ????? {-5,-4,-4,-3,-2,-2,-1,},?? //?? -2 ????? {-4,-3,-2,-1, 0, 1, 2,},?? //?? -1 ????? {-4,-3,-1, 0, 1, 3, 4,},?? //???

文档评论(0)

1亿VIP精品文档

相关文档