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

📄 vcimd_pi.mdl

📁 Fuzzy Precompensated Control
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      Name		      "Gain2"
      Position		      [234, 225, 256, 245]
      Orientation	      "up"
      BackgroundColor	      "gray"
      ShowName		      off
      Gain		      "10"
    }
    Block {
      BlockType		      Reference
      Name		      "IGBT Inverter"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [3, 3]
      Position		      [155, 53, 210, 137]
      BackgroundColor	      "red"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Power\nElectronics/Universal Bridge"
      SourceType	      "Universal Bridge"
      arms		      "3"
      confi		      "ABC as output terminals"
      injcc		      "1000"
      cf		      "inf"
      device		      "IGBT / Diodes"
      Ron		      "1e-3"
      Lon		      "0"
      VFs		      "[  0.8  0.8  ]"
      Vf		      ".8"
      gtoparameters	      "[ 1e-6 , 1e-6 ]"
      igbtparameters	      "[ 1e-6 , 2e-6 ]"
      mesure		      "None"
      PSBOutputType	      "111"
    }
    Block {
      BlockType		      Reference
      Name		      "Induction Motor\n1 HP / 420 V"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [435, 52, 510, 168]
      BackgroundColor	      "magenta"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
      SourceType	      "Asynchronous Machine"
      rotType		      "Squirrel-cage"
      ctrl		      "Stationary"
      x1		      "[ 1*746, 420, 50 ]"
      x2		      "[ 11.124 33.36e-3 ]"
      x3		      "[ 8.9838  33.36e-3 ]"
      x4		      "490.45e-3"
      x5		      "[0.0018  0 1 ]"
      x6		      "[ 1, 0 ,  0 , 0 , 0 , 0 , 0 , 0 ]"
      PSBOutputType	      "1110"
      iounits		      "1"
      LoadFlowParameters      "0"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [65, 284, 80, 356]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [660, 381, 665, 419]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [645, 161, 650, 199]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "P/2"
      Position		      [605, 335, 635, 365]
      Orientation	      "down"
      BackgroundColor	      "gray"
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [710, 20, 760, 165]
      BackgroundColor	      "green"
      NamePlacement	      "alternate"
      ShowName		      off
      Location		      [5, 60, 805, 573]
      Open		      off
      NumInputPorts	      "4"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"Reference Currents"
	axes2			"Actual Currents"
	axes3			"Speed"
	axes4			"Torque"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      TimeRange		      "3.6             "
      YMin		      "-1~-1.5~249.985~-0.075"
      YMax		      "1~1.5~250.01~0.1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "20"
      SampleTime	      "5e-6"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [375, 19, 405, 51]
      BackgroundColor	      "green"
      ShowName		      off
      Location		      [5, 60, 805, 573]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1200"
      YMax		      "1200"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Speed_controller"
      Ports		      [2, 1]
      Position		      [163, 545, 272, 590]
      Orientation	      "up"
      BackgroundColor	      "lightBlue"
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "PI controller"
      MaskDescription	      "Proportional-Integral Speed Controller"
      MaskPromptString	      "Proportional gain (Kp)|Integral gain (Ki)|Torqu"
"e limit (N.m)|Sampling  period(sec)"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "Kp=@1;Ki=@2;Tlim=@3;Ts=@4;"
      MaskDisplay	      "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.6|0.006|5.04|100e-6"
      System {
	Name			"Speed_controller"
	Location		[2, 82, 790, 554]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "w*"
	  Position		  [115, 118, 145, 132]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Inport
	  Name			  "w"
	  Position		  [115, 173, 145, 187]
	  BackgroundColor	  "yellow"
	  Port			  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [245, 260, 275, 290]
	  BackgroundColor	  "gray"
	  Gain			  "Ki"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [360, 170, 390, 200]
	  BackgroundColor	  "gray"
	  Gain			  "Kp"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation1"
	  Position		  [575, 239, 615, 281]
	  BackgroundColor	  "lightBlue"
	  ShowName		  off
	  UpperLimit		  "5"
	  LowerLimit		  "-5"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [170, 99, 180, 206]
	  BackgroundColor	  "gray"
	  ShowName		  off
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [300, 129, 310, 236]
	  BackgroundColor	  "gray"
	  ShowName		  off
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [525, 204, 535, 311]
	  BackgroundColor	  "gray"
	  ShowName		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [435, 139, 455, 321]
	  BackgroundColor	  "gray"
	  ShowName		  off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [240, 190, 275, 230]
	  BackgroundColor	  "gray"
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay1"
	  Position		  [565, 325, 605, 365]
	  Orientation		  "left"
	  BackgroundColor	  "gray"
	  NamePlacement		  "alternate"
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te*"
	  Position		  [695, 253, 725, 267]
	  BackgroundColor	  "orange"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "w*"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Sum2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 55]
	    Branch {
	      DstBlock		      "Unit Delay"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65]
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  DstBlock		  "Saturation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation1"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Te*"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 85]
	    DstBlock		    "Unit Delay1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay1"
	  SrcPort		  1
	  Points		  [-70, 0; 0, -60]
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1"
      Ports		      [2, 3]
      Position		      [159, 480, 281, 520]
      Orientation	      "up"
      BackgroundColor	      "cyan"
      ShowName		      off
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem1"
	Location		[105, 182, 718, 630]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "T"
	  Position		  [20, 143, 50, 157]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Inport
	  Name			  "imr\n"
	  Position		  [15, 43, 45, 57]
	  BackgroundColor	  "yellow"
	  Port			  "2"
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [240, 75, 270, 105]
	  BackgroundColor	  "lightBlue"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [320, 170, 415, 200]
	  BackgroundColor	  "lightBlue"
	  Expr			  "u[1]/(u[2]*u[3])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [395, 285, 490, 315]
	  BackgroundColor	  "lightBlue"
	  Expr			  "u[1]/(u[2]*u[3])"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [260, 132, 275, 238]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [3, 1]
	  Position		  [350, 247, 365, 353]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [280, 35, 310, 65]
	  BackgroundColor	  "gray"
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Tr"
	  Position		  [150, 73, 210, 107]
	  BackgroundColor	  "gray"
	  Gain			  "0.0583"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Tr1"
	  Position		  [205, 285, 260, 315]
	  BackgroundColor	  "gray"
	  Value			  "0.0583"
	}
	Block {
	  BlockType		  Constant
	  Name			  "k"
	  Position		  [175, 170, 220, 200]
	  BackgroundColor	  "gray"
	  Value			  "0.6448"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ids"
	  Position		  [520, 43, 550, 57]
	  BackgroundColor	  "orange"
	}
	Block {
	  BlockType		  Outport
	  Name			  "iqs"
	  Position		  [520, 178, 550, 192]
	  BackgroundColor	  "orange"
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "w2"
	  Position		  [520, 293, 550, 307]
	  BackgroundColor	  "orange"
	  Port			  "3"
	}
	Line {
	  SrcBlock		  "imr\n"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    DstBlock		    "Sum"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      Points		      [0, 130]
	      Branch {
		DstBlock		"Mux"
		DstPort			3
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"Mux1"
		DstPort			3
	      }
	    }
	    Branch {
	      DstBlock		      "Tr"
	      DstPort		      1
	    }
	  }
	}

⌨️ 快捷键说明

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