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

📄 pwm_inverter.mdl

📁 开关电源中pwm用matlab中的simulink表示的仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  }
	  Branch {
	    DstBlock		    "3 kvar"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "2 mH "
	  SrcPort		  2
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "B "
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "3 kvar"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "2 mH "
	  SrcPort		  3
	  Points		  [45, 0]
	  Branch {
	    Points		    [25, 0; 0, 25]
	    DstBlock		    "C "
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "3 kvar"
	    DstPort		    3
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Machines\nMeasurement\nDemux"
      Ports		      [1, 4]
      Position		      [840, 618, 900, 692]
      FontSize		      10
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Permanent magnet synchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      off
      sm2		      on
      sm3		      off
      sm4		      off
      sm5		      off
      sm6		      on
      sm7		      off
      sm8		      on
      sm9		      off
      sm10		      off
      sm11		      off
      sm115		      off
      sm12		      off
      sm13		      off
      sm14		      off
      asm1		      on
      asm2		      on
      asm3		      on
      asm4		      on
      asm5		      on
      asm6		      on
      asm7		      on
      asm8		      on
      asm9		      on
      asm10		      on
      asm11		      on
      pmsm1		      on
      pmsm2		      off
      pmsm3		      on
      pmsm4		      on
      pmsm5		      off
      pmsm6		      on
      lastType		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Measure1"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [3, 5]
      Position		      [600, 624, 640, 696]
      AncestorBlock	      "powerlib2/Measurements/Three-Phase\nV-I Measure"
"ment"
      CopyFcn		      "  powericon('psbloadfunction',gcbh,'3-Phase VI "
"Measurement','VerifyPhasor');   "
      LoadFcn		      "powericon('psbloadfunction',gcbh,'3-Phase VI Me"
"asurement','');"
      InitFcn		      "powericon('checksum',bdroot)"
      CloseFcn		      "%3phaseVImeasurement"
      TreatAsAtomicUnit	      off
      MaskType		      "3-Phase VI Measurement"
      MaskDescription	      "This block is used to measure three-phase volta"
"ges and currents in a circuit. When connected in series with a three-phase el"
"ement, it return the three phase-to-ground voltages and line currents.\n\nThe"
" block can output the voltages and currents in per unit values or in volts an"
"d amperes. Check the appropriate boxes if you want to output the voltages and"
" currents  in pu"
      MaskHelp		      "web(psbhelp)"
      MaskPromptString	      "Voltage measurement|Use a label |Signal label  "
"(use a From block to collect signal)|Voltage  in pu|Base voltage (Vrms phase-"
"phase) :|Current measurement|Use a label|Signal label  (use a From block to c"
"ollect signal)|Currents in pu|Base power ( VA 3 phase)|Output signal :|Phasor"
" simulation|Equivalent circuit|PSBOutputType"
      MaskStyleString	      "popup(no|phase-to-ground|phase-to-phase),checkb"
"ox,edit,checkbox,edit,popup(no|yes),checkbox,edit,checkbox,edit,popup(Complex"
"|Real-Imag|Magnitude-Angle|Magnitude),checkbox,edit,edit"
      MaskTunableValueString  "off,off,off,on,on,off,off,off,on,on,on,on,on,on"
      MaskCallbackString      "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',2);|powericon('psbcallbacks',gcb,'Three-phase measurements',2);||pow"
"ericon('psbcallbacks',gcb,'Three-phase measurements',2);||powericon('psbcallb"
"acks',gcb,'Three-phase measurements',2);|powericon('psbcallbacks',gcb,'Three-"
"phase measurements',2);||powericon('psbcallbacks',gcb,'Three-phase measuremen"
"ts',4);|||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,off,on,off,on"
      MaskVisibilityString    "on,on,off,on,on,on,on,off,on,off,on,off,off,off"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,,,,,"
      MaskVariables	      "VChoice=@1;ualv=@2;labelV=&3;Vpu=@4;Vbase=@5;IC"
"hoice=@6;ualc=@7;labelC=&8;Ppu=@9;Pbase=@10;OutputType=@11;PhasorSimulation=@"
"12;PSBequivalent=@13;PSBOutputType=&14;"
      MaskInitialization      "powericon('psbcallbacks',gcb,'Three-phase measu"
"rements',4);\nif  Vpu\n    xKv=1/(Vbase/sqrt(3)*sqrt(2));\nelse\n    xKv=1;\n"
"end\nif  Ppu\n    xKi=1/(Pbase/Vbase/sqrt(3)*sqrt(2));\nelse\n    xKi=1;\nend"
"\nswitch OutputType\ncase 1\n    OutputSelection  = [1:6];\n    PhasorModeV ="
" [1:3];\n    NormalModeV = [7:9];\n    PhasorModeI = [4:6];\n    NormalModeI "
"= [10:12];\n    Kv = xKv;\n    Ki = xKi;\ncase 2\n    OutputSelection = [7,13"
",8,14,9,15,10,16,11,17,12,18];\n    PhasorModeV = [1:6];\n    NormalModeV = ["
"13:15];\n    PhasorModeI = [7:12];\n    NormalModeI = [16:18];\n    Kv = xKv;"
"\n    Ki = xKi;\ncase 3\n    OutputSelection = [13,19,14,20,15,21,16,22,17,23"
",18,24];\n    PhasorModeV = [1:6];\n    NormalModeV = [13:15];\n    PhasorMod"
"eI = [7:12];\n    NormalModeI = [16:18];\n    Kv = [xKv 1 xKv 1 xKv 1];\n    "
"Ki = [xKi 1 xKi 1 xKi 1];\ncase 4\n    OutputSelection  = [19:24];\n    Phaso"
"rModeV = [1:3];\n    NormalModeV = [7:9];\n    PhasorModeI = [4:6];\n    Norm"
"alModeI = [10:12];\n    Kv = xKv;\n    Ki = xKi;\nend\nif PhasorSimulation\n "
"   SelectionModeV = PhasorModeV;\n    SelectionModeI = PhasorModeI;\nelse\n  "
"  SelectionModeV = NormalModeV;\n    SelectionModeI = NormalModeI;\n    Kv = "
"xKv;\n    Ki = xKi;\nend"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "phase-to-ground|off|V1|on|380|yes|off|I1|off|1e"
"3|Magnitude|off|0|11100"
      Port {
	PortNumber		5
	Name			"Iabc"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Measure1"
	Location		[357, 382, 1063, 777]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "A"
	  Position		  [15, 23, 45, 37]
	}
	Block {
	  BlockType		  Inport
	  Name			  "B"
	  Position		  [15, 83, 45, 97]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "C"
	  Position		  [15, 138, 45, 152]
	  Port			  "3"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [155, 15, 175, 35]
	  Value			  "NaN"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [160, 60, 180, 80]
	  Value			  "NaN"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [150, 120, 170, 140]
	  NamePlacement		  "alternate"
	  Value			  "NaN"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ia"
	  Ports			  [0, 1]
	  Position		  [55, 279, 90, 301]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ia"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ia"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp010260"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ib"
	  Ports			  [0, 1]
	  Position		  [15, 304, 50, 326]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ib"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ib"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp010262"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ic"
	  Ports			  [0, 1]
	  Position		  [55, 329, 90, 351]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Ic"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Ic"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp010264"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Ki"
	  Position		  [490, 301, 520, 339]
	  ShowName		  off
	  Gain			  "Ki"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kv"
	  Position		  [490, 243, 525, 287]
	  ShowName		  off
	  Gain			  "Kv"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [6, 1]
	  Position		  [145, 208, 150, 347]
	  ShowName		  off
	  Inputs		  "6"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [365, 265, 370, 325]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Phasor Measurements"
	  Ports			  [1, 1, 1]
	  Position		  [200, 267, 325, 293]
	  BackgroundColor	  "green"
	  SourceBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Phasor Measurements"
	  SourceType		  "SubSystem"
	  ShowPortLabels	  on
	  Permissions		  "ReadWrite"
	  TreatAsAtomicUnit	  on
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  SimViewingDevice	  off
	  DataTypeOverride	  "UseLocalSettings"
	  MinMaxOverflowLogging	  "UseLocalSettings"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector I"
	  Ports			  [1, 1]
	  Position		  [430, 300, 470, 340]
	  Elements		  "SelectionModeI"
	  InputPortWidth	  "length(OutputSelection)+6"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector V"
	  Ports			  [1, 1]
	  Position		  [430, 246, 470, 284]
	  NamePlacement		  "alternate"
	  Elements		  "SelectionModeV"
	  InputPortWidth	  "length(OutputSelection)+6"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Simulation method"
	  Position		  [205, 220, 315, 240]
	  Orientation		  "down"
	  BackgroundColor	  "magenta"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "PhasorSimulation"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [80, 15, 105, 45]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [75, 75, 100, 105]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator2"
	  Position		  [70, 130, 95, 160]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vb"
	  Ports			  [0, 1]
	  Position		  [50, 229, 85, 251]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Vb"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Vb"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 29, 100, 61]
	      NamePlacement	      "alternate"
	      GotoTag		      "tp010257"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [125, 38, 155, 52]
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vc"
	  Ports			  [0, 1]
	  Position		  [15, 254, 50, 276]
	  AncestorBlock		  "powerlib2/Measurements/Three-Phase\nV-I Mea"
"surement/Vc"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Vc"
	    Location		    [153, 397, 333, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"

⌨️ 快捷键说明

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