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

📄 tiaosu_5.mdl

📁 利用matlab/simulink 编写的直流调速程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SourceType		  "InnerPowersysBlock"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  PortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "iA"
	  Tag			  "PoWeRsYsTeMmEaSuReMeNt"
	  Ports			  [0, 1, 0, 0, 0, 1, 1]
	  Position		  [125, 23, 150, 47]
	  AncestorBlock		  "powerlib/Measurements/Current Measurement"
	  CopyFcn		  "powericon('psbloadfunction',gcbh,'Measureme"
"nt Block','VerifyPhasor');"
	  LoadFcn		  "powericon('psbloadfunction',gcbh,'Measureme"
"nt Block','');"
	  PreSaveFcn		  "powericon('psbloadfunction',gcbh,'ModelClos"
"eFcn','');"
	  InitFcn		  "powericon('psbloadfunction',gcbh,'InitFcnOf"
"SPSBlocks','Measurement Block');"
	  CloseFcn		  "powericon('psbloadfunction',gcbh,'CloseFcn'"
",'');"
	  TreatAsAtomicUnit	  off
	  MaskType		  "Current Measurement"
	  MaskDescription	  "Ideal current measurement."
	  MaskHelp		  "web(psbhelp);"
	  MaskPromptString	  "Phasor simulation|Output signal :|Equivalen"
"t circuit"
	  MaskStyleString	  "checkbox,popup(Complex|Real-Imag|Magnitude-"
"Angle|Magnitude),edit"
	  MaskTunableValueString  "on,on,on"
	  MaskCallbackString	  "||"
	  MaskEnableString	  "off,off,off"
	  MaskVisibilityString	  "off,on,off"
	  MaskToolTipString	  "on,on,on"
	  MaskVarAliasString	  ",,"
	  MaskVariables		  "PhasorSimulation=@1;OutputType=@2;PSBequiva"
"lent=@3;"
	  MaskInitialization	  "switch OutputType\ncase 1\n    OutputSelect"
"ion = 1;\n    NormalMode = 2;\n    PhasorMode = 1;\ncase 2\n    OutputSelecti"
"on =[2,3];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 3\n    OutputS"
"election =[4,5];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 4\n    O"
"utputSelection =[4];\n    NormalMode = 2;\n    PhasorMode = 1;\nend\n%\nif Ph"
"asorSimulation\n    SelectionMode = PhasorMode;\nelse\n    SelectionMode = No"
"rmalMode;\nend"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "off|Magnitude|1"
	  System {
	    Name		    "iA"
	    Location		    [120, 486, 572, 695]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      PMComponent
	      Name		      "CurrentMeasurement"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [70, 19, 135, 51]
	      PhysicalDomain	      "powersysdomain"
	      PortType		      "p1"
	      LConnTagsString	      "a"
	      RConnTagsString	      "__new0"
	      MaskType		      "InnerPowersysBlock"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [265, 121, 270, 179]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Phasor Measurements"
	      Ports		      [1, 1, 1]
	      Position		      [135, 123, 240, 147]
	      BackgroundColor	      "green"
	      TreatAsAtomicUnit	      on
	      System {
		Name			"Phasor Measurements"
		Location		[255, 525, 861, 796]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "measure"
		  Position		  [70, 28, 100, 42]
		}
		Block {
		  BlockType		  EnablePort
		  Name			  "Enable"
		  Ports			  []
		  Position		  [20, 15, 40, 35]
		}
		Block {
		  BlockType		  Gain
		  Name			  "180/pi"
		  Position		  [225, 105, 245, 125]
		  Gain			  "180/pi"
		}
		Block {
		  BlockType		  ComplexToMagnitudeAngle
		  Name			  "Complex to\nMagnitude-Angle"
		  Ports			  [1, 2]
		  Position		  [140, 85, 195, 125]
		  ShowName		  off
		  Output		  "Magnitude and angle"
		}
		Block {
		  BlockType		  ComplexToRealImag
		  Name			  "Complex to\nReal-Imag"
		  Ports			  [1, 2]
		  Position		  [140, 45, 195, 85]
		  ShowName		  off
		  Output		  "Real and imag"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux2"
		  Ports			  [5, 1]
		  Position		  [275, 23, 280, 127]
		  ShowName		  off
		  Inputs		  "5"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [315, 51, 350, 99]
		  Elements		  "OutputSelection"
		  InputPortWidth	  "5"
		}
		Block {
		  BlockType		  Outport
		  Name			  "options"
		  Position		  [380, 68, 410, 82]
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Mux2"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "measure"
		  SrcPort		  1
		  Points		  [0, 0; 5, 0]
		  Branch {
		    Points		    [0, 30]
		    Branch {
		    Points		    [0, 40]
		    DstBlock		    "Complex to\nMagnitude-Angle"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "Complex to\nReal-Imag"
		    DstPort		    1
		    }
		  }
		  Branch {
		    DstBlock		    "Mux2"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Complex to\nReal-Imag"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Complex to\nReal-Imag"
		  SrcPort		  2
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Complex to\nMagnitude-Angle"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "Complex to\nMagnitude-Angle"
		  SrcPort		  2
		  DstBlock		  "180/pi"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "180/pi"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  5
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "options"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [295, 128, 360, 172]
	      Elements		      "SelectionMode"
	      InputPortWidth	      "length(OutputSelection)+1"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Simulation method"
	      Position		      [130, 85, 240, 105]
	      Orientation	      "down"
	      BackgroundColor	      "magenta"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Value		      "PhasorSimulation"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "source"
	      Ports		      [0, 1]
	      Position		      [20, 124, 90, 146]
	      TreatAsAtomicUnit	      off
	      MaskInitialization      "pss=powericon('loadsavedata','tiaosu_5'"
",'load');if isempty(pss),A=0;B=0;C=0;D=0;x0=0;Rswitch=0;TypeSwitch=0;Ts=0;YSw"
"itchCurrent=-1;else,A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rsw"
"itch;TypeSwitch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;end"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"source"
		Location		[442, 172, 1084, 578]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  SubSystem
		  Name			  "GTO-IGBT Bridge"
		  Ports			  [1, 3]
		  Position		  [335, 279, 390, 311]
		  Orientation		  "left"
		  TreatAsAtomicUnit	  off
		  System {
		    Name		    "GTO-IGBT Bridge"
		    Location		    [148, 105, 915, 763]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In"
		    Position		    [17, 130, 43, 150]
		    Orientation		    "down"
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux V"
		    Ports		    [1, 1]
		    Position		    [95, 141, 100, 419]
		    BackgroundColor	    "black"
		    Outputs		    "1"
		    }
		    Block {
		    BlockType		    From
		    Name		    "From1"
		    Position		    [50, 30, 215, 60]
		    GotoTag		    "tp552843"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "MuxItail"
		    Ports		    [1, 1]
		    Position		    [580, 141, 585, 419]
		    Inputs		    "1"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "MuxStatus"
		    Ports		    [1, 1]
		    Position		    [465, 141, 470, 419]
		    Inputs		    "1"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "MuxVf"
		    Ports		    [1, 1]
		    Position		    [685, 141, 690, 419]
		    Inputs		    "1"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [19, 185, 41, 225]
		    Orientation		    "down"
		    Elements		    "[9 10]"
		    InputPortWidth	    "12"
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "model1"
		    Ports		    [2, 3]
		    Position		    [250, 30, 315, 60]
		    BackgroundColor	    "lightBlue"
		    DropShadow		    on
		    SourceBlock		    "powerlib_models/Continuous/GTO-IG"
"BT Bridge"
		    SourceType		    "GTO & IGBT Bridge Logic"
		    nb_arm		    "1"
		    Tf			    "1e-006"
		    Tt			    "2e-006"
		    Cs			    "Inf"
		    VFs			    "[0 0]"
		    Rsw			    "0.001"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "iTail"
		    Position		    [610, 268, 635, 292]
		    InitialOutput	    "0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Status"
		    Position		    [500, 268, 525, 292]
		    Port		    "2"
		    InitialOutput	    "0"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Vf"
		    Position		    [720, 268, 745, 292]
		    Port		    "3"
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "Selector"
		    SrcPort		    1
		    Points		    [0, 50]
		    DstBlock		    "Demux V"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "MuxVf"
		    SrcPort		    1
		    DstBlock		    "Vf"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "MuxItail"
		    SrcPort		    1
		    DstBlock		    "iTail"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "MuxStatus"
		    SrcPort		    1
		    DstBlock		    "Status"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "model1"
		    SrcPort		    1
		    DstBlock		    "MuxItail"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux V"
		    SrcPort		    1
		    DstBlock		    "model1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "model1"
		    SrcPort		    2
		    DstBlock		    "MuxStatus"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "model1"
		    SrcPort		    3
		    DstBlock		    "MuxVf"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "From1"
		    SrcPort		    1
		    DstBlock		    "model1"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  Mux
		  Name			  "MasterMux"
		  Ports			  [2, 1]
		  Position		  [315, 106, 340, 144]
		  NamePlacement		  "alternate"
		  Inputs		  "[-1 10]"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [3, 1]
		  Position		  [140, 67, 170, 163]
		  Inputs		  "[8 2 5]"
		}
		Block {
		  BlockType		  Mux
		  Name			  "MuxSwitch"
		  Ports			  [2, 1]
		  Position		  [235, 128, 265, 217]
		  Inputs		  "2"
		}
		Block {
		  BlockType		  Mux
		  Name			  "MuxVf"
		  Ports			  [2, 1]
		  Position		  [265, 258, 295, 347]
		  Orientation		  "left"
		  Inputs		  "2"
		}
		Block {
		  BlockType		  Selector
		  Name			  "SelectorVf"
		  Ports			  [1, 1]
		  Position		  [225, 287, 245, 313]
		  Orientation		  "left"
		  InputPortWidth	  "10"
		}
		Block {
		  BlockType		  "S-Function"
		  Name			  "State-Space"
		  Ports			  [1, 1]
		  Position		  [375, 103, 455, 147]
		  FunctionName		  "sfun_psbcontc"
		  Parameters		  "A,B,C,D,x0,Rswitch,YSwitchCurrent"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  Terminator
		  Name			  "T"
		  Position		  [195, 335, 215, 355]
		  Orientation		  "down"

⌨️ 快捷键说明

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