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

📄 svm.mdl

📁 matlab simulink建立的模型SVPWM模型 以后大家可以直接使用
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      Freq		      "50"
	      Phase		      "0"
	      Ts		      "50e-6"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [565, 235, 625, 265]
	      Expr		      "2/3*(u(1)-0.5*u(2)-0.5*u(3))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [565, 285, 625, 315]
	      Expr		      "2/3*(-0.866*u(2)+0.866*u(3))"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [3, 1]
	      Position		      [250, 196, 255, 234]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope1"
	      Ports		      [1]
	      Position		      [360, 154, 390, 186]
	      Location		      [5, 54, 1029, 737]
	      Open		      off
	      NumInputPorts	      "1"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      YMin		      "-1000"
	      YMax		      "4500"
	      SaveName		      "ScopeData19"
	      DataFormat	      "StructureWithTime"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope5"
	      Ports		      [1]
	      Position		      [490, 169, 520, 201]
	      Location		      [5, 54, 1029, 737]
	      Open		      off
	      NumInputPorts	      "1"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      YMin		      "-1500"
	      YMax		      "1500"
	      SaveName		      "ScopeData18"
	      DataFormat	      "StructureWithTime"
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator"
	      Position		      [305, 310, 325, 330]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator1"
	      Position		      [305, 280, 325, 300]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "dq0_to_abc\nTransformation"
	      Ports		      [2, 1]
	      Position		      [350, 219, 415, 281]
	      SourceBlock	      "powerlib_extras/Measurements/dq0_to_abc"
"\nTransformation"
	      SourceType	      "dq0 to abc Transformation"
	      ShowPortLabels	      "on"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Ualfa"
	      Position		      [710, 243, 740, 257]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Ubeta"
	      Position		      [710, 293, 740, 307]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Discrete\nVirtual PLL"
	      SrcPort		      2
	      Points		      [15, 0; 0, -40]
	      DstBlock		      "dq0_to_abc\nTransformation"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [20, 0; 0, -25]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [30, 0; 0, 20; 25, 0]
	      Branch {
		DstBlock		"dq0_to_abc\nTransformation"
		DstPort			1
	      }
	      Branch {
		Points			[0, -65]
		DstBlock		"Scope1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "dq0_to_abc\nTransformation"
	      SrcPort		      1
	      Points		      [-10, 0; 30, 0]
	      Branch {
		Points			[35, 0]
		Branch {
		  DstBlock		  "Fcn1"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 50]
		  DstBlock		  "Fcn2"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, -65]
		DstBlock		"Scope5"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      DstBlock		      "Ualfa"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      DstBlock		      "Ubeta"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Ud"
	      SrcPort		      1
	      Points		      [20, 0; 0, 30]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Uq"
	      SrcPort		      1
	      Points		      [10, 0; 0, 10]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Discrete\nVirtual PLL"
	      SrcPort		      3
	      DstBlock		      "Terminator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Discrete\nVirtual PLL"
	      SrcPort		      1
	      DstBlock		      "Terminator1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "产生PWM"
	  Ports			  [3, 6]
	  Position		  [825, 41, 900, 209]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "产生PWM"
	    Location		    [2, 82, 1014, 721]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm1"
	      Position		      [25, 143, 55, 157]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm2"
	      Position		      [25, 228, 55, 242]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm3"
	      Position		      [25, 323, 55, 337]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [425, 450, 455, 480]
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Dat"
	      Position		      [355, 146, 395, 184]
	      OutDataTypeMode	      "double"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Dat1"
	      Position		      [355, 229, 395, 271]
	      OutDataTypeMode	      "double"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Dat2"
	      Position		      [355, 324, 395, 366]
	      OutDataTypeMode	      "double"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [495, 120, 525, 150]
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [500, 270, 530, 300]
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [500, 395, 530, 425]
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [280, 135, 310, 195]
	      Operator		      ">"
	      InputSameDT	      off
	      LogicOutDataTypeMode    "Boolean"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator1"
	      Position		      [280, 220, 310, 280]
	      Operator		      ">"
	      InputSameDT	      off
	      LogicOutDataTypeMode    "Boolean"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator2"
	      Position		      [280, 315, 310, 375]
	      Operator		      ">"
	      InputSameDT	      off
	      LogicOutDataTypeMode    "Boolean"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Repeating\nSequence"
	      Ports		      [0, 1]
	      Position		      [35, 45, 65, 75]
	      SourceBlock	      "simulink/Sources/Repeating\nSequence"
	      SourceType	      "Repeating table"
	      ShowPortLabels	      on
	      rep_seq_t		      "[0 0.5*0.0001 0.0001]"
	      rep_seq_y		      "[0 0.6*0.0001 0]"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope"
	      Ports		      [3]
	      Position		      [190, 99, 220, 131]
	      Location		      [5, 54, 1029, 737]
	      Open		      off
	      NumInputPorts	      "3"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
		axes2			"%<SignalLabel>"
		axes3			"%<SignalLabel>"
	      }
	      YMin		      "-4.06576e-020~-5~-5"
	      YMax		      "0.001~5~5"
	      SaveName		      "ScopeData17"
	      DataFormat	      "StructureWithTime"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope1"
	      Ports		      [1]
	      Position		      [285, 44, 315, 76]
	      Location		      [5, 54, 1029, 737]
	      Open		      off
	      NumInputPorts	      "1"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      YMin		      "-4.06576e-020"
	      YMax		      "0.001"
	      SaveName		      "ScopeData4"
	      DataFormat	      "StructureWithTime"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [550, 125, 570, 145]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [580, 275, 600, 295]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum5"
	      Ports		      [2, 1]
	      Position		      [610, 400, 630, 420]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM1"
	      Position		      [735, 83, 765, 97]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM2"
	      Position		      [655, 128, 685, 142]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM3"
	      Position		      [740, 243, 770, 257]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM4"
	      Position		      [660, 278, 690, 292]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM5"
	      Position		      [740, 338, 770, 352]
	      Port		      "5"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PWM6"
	      Position		      [665, 403, 695, 417]
	      Port		      "6"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Tcm1"
	      SrcPort		      1
	      Points		      [65, 0]
	      Branch {
		Points			[0, -45]
		DstBlock		"Scope"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Relational\nOperator"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Tcm2"
	      SrcPort		      1
	      Points		      [80, 0]
	      Branch {
		DstBlock		"Relational\nOperator1"
		DstPort			1
	      }
	      Branch {
		Points			[0, -120]
		DstBlock		"Scope"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Tcm3"
	      SrcPort		      1
	      Points		      [95, 0]
	      Branch {
		DstBlock		"Relational\nOperator2"
		DstPort			1
	      }
	      Branch {
		Points			[0, -205]
		DstBlock		"Scope"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Repeating\nSequence"
	      SrcPort		      1
	      Points		      [175, 0]
	      Branch {
		Points			[0, 120]
		Branch {
		  Points		  [0, 85]
		  Branch {
		    Points		    [0, 95]
		    DstBlock		    "Relational\nOperator2"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "Relational\nO

⌨️ 快捷键说明

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