欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

two_pole_pwm.mdl

two pole voltage switched PWM voltage control circuit in matlab&simulink
MDL
第 1 页 / 共 5 页
字号:
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      BranchType	      "R"
      Resistance	      "10"
      Inductance	      "1e-2"
      SetiL0		      off
      InitialCurrent	      "0"
      Capacitance	      "1e-6"
      Setx0		      off
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator"
      Position		      [440, 192, 470, 223]
      ShowName		      off
      Operator		      "<"
      InputSameDT	      off
      LogicOutDataTypeMode    "boolean"
      OutDataTypeStr	      "boolean"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator1"
      Position		      [440, 137, 470, 168]
      ShowName		      off
      Operator		      ">"
      InputSameDT	      off
      LogicOutDataTypeMode    "boolean"
      OutDataTypeStr	      "boolean"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator2"
      Position		      [440, 92, 470, 123]
      ShowName		      off
      Operator		      ">"
      InputSameDT	      off
      LogicOutDataTypeMode    "boolean"
      OutDataTypeStr	      "boolean"
    }
    Block {
      BlockType		      RelationalOperator
      Name		      "Relational\nOperator3"
      Position		      [440, 47, 470, 78]
      ShowName		      off
      Operator		      "<"
      InputSameDT	      off
      LogicOutDataTypeMode    "boolean"
      OutDataTypeStr	      "boolean"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [340, 130, 370, 160]
      UpperLimit	      "1"
      LowerLimit	      "0"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation1"
      Position		      [340, 185, 370, 215]
      UpperLimit	      "0"
      LowerLimit	      "-1"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [505, 354, 535, 386]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [52, 86, 1380, 639]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"bobin akimi"
      }
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [265, 64, 295, 96]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [1061, 216, 1602, 641]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"bobin akimi"
      }
      YMin		      "-40"
      YMax		      "110"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Signal Builder"
      Tag		      "STV Subsys"
      Ports		      [0, 1]
      Position		      [65, 123, 140, 167]
      CopyFcn		      "sigbuilder_block('copy');"
      DeleteFcn		      "sigbuilder_block('delete');"
      LoadFcn		      "sigbuilder_block('load');"
      ModelCloseFcn	      "sigbuilder_block('modelClose');"
      PreSaveFcn	      "sigbuilder_block('preSave');"
      StartFcn		      "sigbuilder_block('start');"
      StopFcn		      "sigbuilder_block('stop');"
      NameChangeFcn	      "sigbuilder_block('namechange');"
      ClipboardFcn	      "sigbuilder_block('clipboard');"
      OpenFcn		      "sigbuilder_block('open',[2.25 143.25 550.5 399.75 ]);"
      CloseFcn		      "sigbuilder_block('close');"
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskType		      "Sigbuilder block"
      MaskDescription	      "Sigbuilder GUI"
      MaskInitialization      "if ~strcmp(get_param(bdroot(gcbh),'SimulationStatus'),'stopped') tuvar = sigbuilder_blo"
      "ck('maskInit'); end"
      MaskDisplay	      "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,80],[40,10],[50,50], [40,27,10],[65,72,56],[40"
      ",25,25,10],[28,28,43,43]);"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskPortRotate	      "default"
      MaskIconUnits	      "autoscale"
      MaskCapabilities	      "slmaskedcaps(gcbh)"
      System {
	Name			"Signal Builder"
	Location		[480, 85, 980, 386]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Tag			  "STV Demux"
	  Ports			  [1, 1]
	  Position		  [150, 58, 160, 642]
	  Outputs		  "1"
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "FromWs"
	  Tag			  "STV FromWs"
	  Position		  [30, 300, 115, 350]
	  VariableName		  "tuvar"
	  SampleTime		  "0"
	  ZeroCross		  on
	  SigBuilderData	  "DataTag0"
	  VnvData		  "DataTag1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Signal 3"
	  Tag			  "STV Outport"
	  Position		  [280, 30, 300, 40]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "FromWs"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Signal 3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [215, 135, 235, 155]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "V1"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [1113, 380, 1137, 405]
      BlockRotation	      270
      NamePlacement	      "alternate"
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "V3"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [1205, 518, 1230, 542]
      BlockMirror	      on
      NamePlacement	      "alternate"
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "anahtarlama frekansi"
      Position		      [60, 300, 100, 330]
      Value		      "10000"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Reference
      Name		      "powergui"
      Ports		      []
      Position		      [65, 25, 145, 70]
      ShowName		      off
      UserDataPersistent      on
      UserData		      "DataTag2"
      FontSize		      11
      SourceBlock	      "powerlib/powergui"
      SourceType	      "PSB option menu block"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimulationMode	      "Discrete"
      SampleTime	      "1e-6"
      frequency		      "60"
      SPID		      off
      DisableSnubberDevices   off
      DisableRonSwitches      off
      DisableVfSwitches	      off
      SwTol		      "0"
      Interpol		      off
      frequencyindice	      "0"
      echomessages	      off
      HookPort		      off
      DisplayEquations	      off
      FunctionMessages	      off
      EnableUseOfTLC	      off
      x0status		      "steady"
      RestoreLinks	      "warning"
      Frange		      "[0:2:500]"
      Ylog		      off
      Xlog		      on
      ShowGrid		      off
      save		      off
      variable		      "ZData"
      structure		      "V2X1"
      ZoomFFT		      on
      StartTime		      "0.06"
      cycles		      "4"
      DisplayStyle	      "3"
      fundamental	      "50"
      FreqAxis		      off
      MaxFrequency	      "1000"
      frequencyindicesteady   "1"
      RmsSteady		      "1"
      display		      off
      Ts		      "0"
      methode		      off
    }
    Block {
      BlockType		      Scope
      Name		      "yuk gerilimi "
      Ports		      [1]
      Position		      [1150, 334, 1180, 366]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [734, 107, 1275, 494]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"yuk gerilimi"
      }
      YMin		      "-200"
      YMax		      "260"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "yuk gerilimi ortalamasi"
      Ports		      [1]
      Position		      [1290, 189, 1320, 221]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [756, 107, 1297, 494]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"yuk gerilimi"
      }
      YMin		      "-200"
      YMax		      "260"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Diode2"
      SrcPort		      RConn1
      Points		      [0, -115]
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"GTO1"
	SrcPort			LConn1
	Points			[0, -40; -110, 0]
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-175, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "GTO2"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [-145, 0]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    Points		    [-170, 0]
	    DstBlock		    " 50 V"
	    DstPort		    RConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Diode"
	    SrcPort		    RConn1
	    Points		    [0, -95]
	  }
	}
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [1075, 480; 0, -45; 45, 0; 0, -15]
      DstBlock		      "V1"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_SRC"
	Points			[50, 0; 0, -180; 1, 0; 0, -255]
	DstBlock		"RL"
	DstPort			LConn1

⌨️ 快捷键说明

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