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

📄 pwm_pfm_buck_1.mdl

📁 开关电源 PWM PFM仿真 SIMULINK
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      Position		      [895, 24, 925, 56]
      Floating		      off
      Location		      [174, 48, 1198, 742]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "1.605"
      YMax		      "1.60535"
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Mosfet"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [470, 125, 525, 165]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Power\nElectronics/Mosfet"
      SourceType	      "Mosfet"
      ShowPortLabels	      on
      Ron		      "0.001"
      Lon		      "1e-6"
      Rd		      ".001"
      Vfd		      "0"
      IC		      "0"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Parallel RLC Branch"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [804, 165, 856, 220]
      Orientation	      "down"
      NamePlacement	      "alternate"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      BranchType	      "R"
      Resistance	      "150"
      Inductance	      "[]"
      SetiL0		      off
      InitialCurrent	      "0"
      Capacitance	      "10e-6"
      Setx0		      on
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "R1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [776, 180, 804, 250]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      BranchType	      "R"
      Resistance	      "5e4"
      Inductance	      "[]"
      SetiL0		      off
      InitialCurrent	      "0"
      Capacitance	      "[]"
      Setx0		      off
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "R2"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [776, 290, 804, 360]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      BranchType	      "R"
      Resistance	      "1e5"
      Inductance	      "[]"
      SetiL0		      off
      InitialCurrent	      "0"
      Capacitance	      "[]"
      Setx0		      off
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [1080, 284, 1110, 316]
      Floating		      off
      Location		      [14, 50, 1038, 596]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.001"
      YMin		      "2.77556e-017"
      YMax		      "1"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [255, 29, 285, 61]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [14, 140, 1038, 418]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.001"
      YMin		      "2.77556e-017"
      YMax		      "1"
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Series RLC Branch"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [695, 146, 765, 174]
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      BranchType	      "RL"
      Resistance	      "0.1"
      Inductance	      "3.3e-6"
      SetiL0		      on
      InitialCurrent	      "0"
      Capacitance	      "[]"
      Setx0		      off
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Series RLC Branch1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [946, 155, 974, 225]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      BranchType	      "RC"
      Resistance	      "0.04"
      Inductance	      "3.3e-6"
      SetiL0		      on
      InitialCurrent	      "0"
      Capacitance	      "10e-6"
      Setx0		      on
      InitialVoltage	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [870, 130, 930, 160]
      VariableName	      "Iout"
      MaxDataPoints	      "inf"
      SampleTime	      "1e-7"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [1125, 125, 1185, 155]
      VariableName	      "Vout"
      MaxDataPoints	      "inf"
      SampleTime	      "1e-7"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [195, 85, 255, 115]
      VariableName	      "Vin"
      MaxDataPoints	      "inf"
      SampleTime	      "1e-7"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace3"
      Position		      [340, 60, 400, 90]
      VariableName	      "Iin"
      MaxDataPoints	      "inf"
      SampleTime	      "1e-7"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [1025, 188, 1050, 212]
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement1"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [970, 288, 995, 312]
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement2"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [150, 213, 175, 237]
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Vout"
      Ports		      [1]
      Position		      [1105, 184, 1135, 216]
      Floating		      off
      Location		      [174, 48, 1198, 742]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "1.81114"
      YMax		      "1.81114"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "powergui"
      Ports		      []
      Position		      [25, 20, 85, 44]
      AncestorBlock	      "powerlib/powergui"
      CopyFcn		      "powergui('Copy_Callback',gcb,0,[]);"
      DeleteFcn		      "powergui('Copy_Callback',gcb,1,[]);powergui('Cl"
"ose_Callback',gcb,[],[]);\n                                                  "
"                      "
      ModelCloseFcn	      "powergui('Close_Callback',gcb,[],[]);"
      PreSaveFcn	      "try                              \nclose(get_pa"
"ram(gcbh,'userdata'))\nend                              "
      NameChangeFcn	      "handles = get_param(gcb,'UserData');if ~isempty"
"(handles);delete(handles.powergui);end"
      OpenFcn		      "if (power_openblockproxy ('secondary'))\npowerg"
"ui(gcb,'PM')\nend;"
      FontSize		      11
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "PSB option menu block"
      MaskHelp		      "web(psbhelp)"
      MaskPromptString	      "General parameter: Simulation Mode |General par"
"ameter: Sample Time|General parameter: Echo  Messages|Initial electrical stat"
"es status|Impedance tool: Frequency Range|Impedance tool: Log impedance|Imped"
"ance tool: log Frequency|Impedance tool: grid|Impedance tool: Save Data To Wo"
"rkspace|Impedance tool: Variable Name|Structure Name (PSBFFTSCOPE)|ZoomFFT (P"
"SBFFTSCOPE)|Start Time (PSBFFTSCOPE)|Cycles (PSBFFTSCOPE)|Display style (PSBF"
"FTSCOPE)|Fundamental (PSBFFTSCOPE)|Frequency Axis (PSBFFTSCOPE)|Max Frequency"
" (PSBFFTSCOPE)|Frequency indice  (PSBLOADFLOW)|Frequency indice (STEADYSTATE)"
"|RMS display (STEADYSTATE)|Display Results|Sample time (s):  |General paramet"
"er: phasor frequency|Phasor simulation"
      MaskStyleString	      "popup(Continuous|Discrete|Phasor),edit,checkbox"
",popup(blocks|steady|zero),edit,checkbox,checkbox,checkbox,checkbox,edit,edit"
",checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit"
",checkbox"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||||||||||||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,,,,,,,,,,,,,,,,"
      MaskVariables	      "SimulationMode=@1;SampleTime=@2;echomessages=@3"
";x0status=@4;Frange=@5;Ylog=@6;Xlog=@7;ShowGrid=@8;save=@9;variable=&10;struc"
"ture=&11;ZoomFFT=@12;StartTime=@13;cycles=@14;DisplayStyle=&15;fundamental=@1"
"6;FreqAxis=@17;MaxFrequency=@18;frequencyindice=@19;frequencyindicesteady=@20"
";RmsSteady=@21;display=@22;Ts=@23;frequency=@24;methode=@25;"
      MaskInitialization      "powerlibroot = which('powersysdomain');\nPSBroo"
"t = powerlibroot(1:end-16);\n%\nswitch SimulationMode\n	case 1\n"
"		message=sprintf('Continuous');\n	case 2\n        messa"
"ge=sprintf('Discrete,\\nTs = %.4g s.',SampleTime);\n	case 3\n	"
"	message=sprintf('Phasors');\nend\nif strcmp(bdroot,'powerlib')\n  mes"
"sage='powergui';\nend\npower_initmask();"
      MaskDisplay	      "disp(message)"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "Continuous|0|off|blocks|[0:2:500]|off|on|off|of"
"f|ZData||on|0.0|1|1|60|off|1000|1|1|1|off|0|60|off"
      MaskTabNameString	      ",,,,,,,,,,,,,,,,,,,,,,,,"
      System {
	Name			"powergui"
	Location		[137, 405, 682, 583]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "EquivalentModel1"
	  Ports			  []
	  Position		  [15, 70, 143, 105]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskInitialization	  "SPS = get_param(gcbh,'UserData');\nif isemp"
"ty(SPS)\n    A=0;\n    B=0;\n    C=0;\n    D=0;\n    x0=0;\n    SwitchResista"
"nce=1;\n    SwitchType=1;\n    SwitchGateInitialValue=1;\n    OutputsToResetT"
"oZero=1;\nelse\n	A=SPS.A;\n    B=SPS.B;\n    C=SPS.C;\n    D=SPS.D;\n "
"   x0=SPS.x0;\n    SwitchResistance=SPS.SwitchResistance;\n    SwitchType=SPS"
".SwitchType;\n    SwitchGateInitialValue=SPS.SwitchGateInitialValue;\n    Out"
"putsToResetToZero=SPS.YSwitchCurrent;\nend"
	  MaskDisplay		  "color('blue')\ndisp('EQUIVALENT CIRCUIT')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "EquivalentModel1"
	    Location		    [279, 434, 958, 675]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      SubSystem
	      Name		      "Gates"
	      Ports		      [0, 1]
	      Position		      [15, 112, 80, 138]
	      FontName		      "Arial"
	      FontSize		      14
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskHideContents	      off
	      System {
		Name			"Gates"
		Location		[20, 127, 741, 886]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  From
		  Name			  "From1"
		  Position		  [15, 21, 85, 49]
		  GotoTag		  "tp072626"
		}
		Block {
		  BlockType		  From
		  Name			  "From2"
		  Position		  [15, 66, 85, 94]
		  GotoTag		  "tp340856"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [2, 1]
		  Position		  [325, 270, 330, 610]
		  ShowName		  off
		  Inputs		  "[1 1]"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Outport
		  Name			  "gates"
		  Position		  [390, 433, 420, 447]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "gates"
		  DstPort		  1

⌨️ 快捷键说明

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