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

📄 c8shebb.mdl

📁 控制系统计算机辅助设计——MATLAB语言与应用(源代码)
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Name		      "Scope"
      Ports		      [1]
      Position		      [520, 73, 550, 107]
      FontName		      "Times New Roman"
      FontSize		      14
      Location		      [605, 78, 962, 348]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1.4"
      YMin		      "0"
      YMax		      "3"
      SaveToWorkspace	      on
      SaveName		      "yy"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [335, 163, 365, 197]
      FontName		      "Times New Roman"
      FontSize		      14
      Location		      [605, 78, 962, 348]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1.4"
      YMin		      "0.24"
      YMax		      "0.38"
      SaveToWorkspace	      on
      SaveName		      "yy1"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Single Neuron\nPID Controller"
      Ports		      [1, 2]
      Position		      [175, 86, 270, 139]
      AncestorBlock	      "pidblock/Neural-net based\nPID Controllers/Sing"
"le Neuron\nPID Controller"
      FontName		      "Times New Roman"
      FontSize		      14
      TreatAsAtomicUnit	      off
      MaskPromptString	      "Learning rate eta_P|Learning rate eta_I|Learnin"
"g rate eta_D|Sampling period T|Actuator Limit|Learning Algorithm"
      MaskStyleString	      "edit,edit,edit,edit,edit,popup(Non-supervised H"
"ebb Learning|Supervised Delta Learning|Supervised Hebb Learning|Improved Hebb"
" Learning)"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,"
      MaskVariables	      "deltaP=@1;deltaI=@2;deltaD=@3;T=@4;U_m=@5;kAlg="
"@6;"
      MaskInitialization      "deltaK=[deltaP; deltaI; deltaD];"
      MaskDisplay	      "disp('Single Neuron\\n PID Controller')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.4|0.35|0.4|0.001|10|Improved Hebb Learning"
      System {
	Name			"Single Neuron\nPID Controller"
	Location		[239, 394, 933, 679]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"portrait"
	PaperPositionMode	"auto"
	PaperType		"a4letter"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "e(k)"
	  Position		  [15, 43, 45, 57]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 2]
	  Position		  [380, 56, 385, 94]
	  BackgroundColor	  "black"
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  Outputs		  "[1,3]"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [4, 1]
	  Position		  [240, 42, 245, 103]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [270, 54, 355, 96]
	  FontName		  "Times New Roman"
	  FontSize		  14
	  FunctionName		  "c8mhebb"
	  Parameters		  "deltaK"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [420, 43, 465, 87]
	  FontName		  "Times New Roman"
	  FontSize		  14
	  UpperLimit		  "U_m"
	  LowerLimit		  "-U_m"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [80, 74, 105, 116]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  SampleTime		  "T"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay1"
	  Position		  [150, 73, 175, 117]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  SampleTime		  "T"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay2"
	  Position		  [315, 141, 340, 179]
	  Orientation		  "left"
	  FontName		  "Times New Roman"
	  FontSize		  14
	  SampleTime		  "T"
	}
	Block {
	  BlockType		  Outport
	  Name			  "u(k)"
	  Position		  [530, 58, 560, 72]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	}
	Block {
	  BlockType		  Outport
	  Name			  "PID parameters"
	  Position		  [530, 133, 560, 147]
	  ShowName		  off
	  FontName		  "Times New Roman"
	  FontSize		  14
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [15, 0; 0, 55]
	  DstBlock		  "PID parameters"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay2"
	  SrcPort		  1
	  Points		  [-90, 0; 0, -65]
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  Points		  [0, 0; 25, 0]
	  Branch {
	    DstBlock		    "u(k)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Unit Delay2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay1"
	  SrcPort		  1
	  Points		  [25, 0; 0, -15]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -30]
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Unit Delay1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "e(k)"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Unit Delay"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Annotation {
	  Position		  [196, 188]
	  FontName		  "Times New Roman"
	  FontSize		  14
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [135, 105, 155, 125]
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      14
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Line {
      SrcBlock		      "Single Neuron\nPID Controller"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Discrete\nTransfer Fcn"
	DstPort			1
      }
      Branch {
	Points			[0, -45; 165, 0; 0, 35]
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Single Neuron\nPID Controller"
      SrcPort		      2
      Points		      [30, 0; 0, 55]
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Discrete\nTransfer Fcn"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 115; -310, 0]
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	DstBlock		"Mux"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "Single Neuron\nPID Controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multi-step\nsignal generator"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[0, -75; 345, 0; 0, 40]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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