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

📄 c.mdl

📁 这是一个基于MATLAB的三相SPWM逆变电路
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "Multimeter"
      Ports		      [0, 1]
      Position		      [455, 71, 495, 109]
      SourceBlock	      "powerlib/Measurements/Multimeter"
      SourceType	      "MultimeterPSB"
      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"
      sel		      "[1 9 4]"
      L			      "10"
      Gain		      "[1 1 1]"
      yselected		      "{'Uag: Three-Phase Series RLC Load','Ibg: Three"
"-Phase Series RLC Load','Uab: Universal Bridge'};"
      PSBOutputType	      "1"
      PSBequivalent	      "0"
      AxesSetting	      "[0,0.1,-100,100]"
      Display		      "0"
      SavedBlockNames	      "-11"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [575, 51, 605, 154]
      Floating		      off
      Location		      [5, 47, 1029, 743]
      Open		      off
      NumInputPorts	      "4"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      YMin		      "-300~-2~-500~0"
      YMax		      "300~2~500~1.75"
      SaveToWorkspace	      on
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [0, 1]
      Position		      [340, 172, 375, 198]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskPromptString	      "m(0<m<1)|f(Hz)|fc(Hz)"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "m=@1;f=@2;fc=@3;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1|50|4500"
      MaskTabNameString	      ",,"
      System {
	Name			"Subsystem"
	Location		[2, 77, 1014, 728]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  " "
	  Position		  [285, 25, 315, 55]
	  Value			  "m"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "  "
	  Ports			  [1, 1]
	  Position		  [280, 80, 310, 110]
	}
	Block {
	  BlockType		  Gain
	  Name			  "   "
	  Position		  [155, 78, 225, 112]
	  Gain			  "2*pi*f"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "    "
	  Position		  [140, 168, 210, 202]
	  Gain			  "2*pi*f"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "     "
	  Position		  [140, 313, 210, 347]
	  Gain			  "2*pi*f"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "      "
	  Ports			  [2, 1]
	  Position		  [245, 177, 275, 208]
	  Inputs		  "+-"
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Constant
	  Name			  "       "
	  Position		  [150, 226, 220, 254]
	  Value			  "2*pi/3"
	}
	Block {
	  BlockType		  Constant
	  Name			  "         "
	  Position		  [150, 375, 220, 405]
	  Value			  "2*pi/3"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "          "
	  Ports			  [1, 1]
	  Position		  [310, 180, 340, 210]
	}
	Block {
	  BlockType		  Sum
	  Name			  "           "
	  Ports			  [2, 1]
	  Position		  [245, 322, 275, 353]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "             "
	  Ports			  [2, 1]
	  Position		  [385, 317, 415, 348]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "              "
	  Ports			  [1, 1]
	  Position		  [305, 325, 335, 355]
	}
	Block {
	  BlockType		  Reference
	  Name			  "                "
	  Ports			  [0, 1]
	  Position		  [390, 114, 425, 156]
	  SourceBlock		  "simulink/Sources/Repeating\nSequence"
	  SourceType		  "Repeating table"
	  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"
	  rep_seq_t		  "[0 1/fc/4 3/fc/4 1/fc]"
	  rep_seq_y		  "[0 -1 1 0]"
	}
	Block {
	  BlockType		  Product
	  Name			  "                 "
	  Ports			  [2, 1]
	  Position		  [385, 172, 415, 203]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "                   "
	  Ports			  [2, 1]
	  Position		  [370, 72, 400, 103]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "                    "
	  Position		  [475, 82, 505, 113]
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "                     "
	  Position		  [520, 85, 580, 115]
	  OutDataTypeMode	  "boolean"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "                      "
	  Position		  [475, 182, 505, 213]
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "                       "
	  Position		  [525, 185, 585, 215]
	  OutDataTypeMode	  "boolean"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "                        "
	  Position		  [525, 330, 585, 360]
	  OutDataTypeMode	  "boolean"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Logic
	  Name			  "                                           "
"                  "
	  Ports			  [1, 1]
	  Position		  [625, 349, 655, 381]
	  Operator		  "NOT"
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "                                           "
"                    "
	  Position		  [475, 327, 505, 358]
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Logic
	  Name			  "                                           "
"                                   "
	  Ports			  [1, 1]
	  Position		  [625, 204, 655, 236]
	  Operator		  "NOT"
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "                                           "
"                                       "
	  Position		  [735, 197, 780, 223]
	  OutDataTypeMode	  "double"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Logic
	  Name			  "                                           "
"                                                  "
	  Ports			  [1, 1]
	  Position		  [620, 104, 650, 136]
	  Operator		  "NOT"
	  AllPortsSameDT	  off
	  OutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [60, 85, 80, 105]
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [670, 91, 675, 129]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [670, 191, 675, 229]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1]
	  Position		  [715, 151, 720, 269]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [675, 336, 680, 374]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Outport
	  Name			  "PWM"
	  Position		  [805, 203, 835, 217]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "                                           "
"                  "
	  SrcPort		  1
	  DstBlock		  "Mux3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "                        "
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Mux3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "                                         "
"                    "
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "                                           "
"                                   "
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "                       "
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "                                         "
"                                     "
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "                                           "
"                    "
	  SrcPort		  1
	  DstBlock		  "                        "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "                      "
	  SrcPort		  1
	  DstBlock		  "                       "
	  DstPort		  1
	}

⌨️ 快捷键说明

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