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

📄 svpwm1.mdl

📁 MATLAB的SVPWM仿真,为新算法,方便使用TI公司DSP同志使用,可用于异步电机控制,算法正确无误.
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "svpwm1"
    Location		    [2, 70, 1006, 702]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [80, 185, 100, 205]
      Decimation	      "10"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [145, 55, 175, 85]
      ShowName		      off
      Value		      "0.6*2/3"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn"
      Position		      [320, 80, 380, 110]
      ShowName		      off
      Expr		      "sqrt(3)*u(3)*u(1)/u(2)"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn1"
      Position		      [135, 180, 195, 210]
      ShowName		      off
      Expr		      "u(1)*2*pi*50"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn10"
      Position		      [770, 555, 830, 585]
      ShowName		      off
      Expr		      "rem(u(1),1/1000)"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn2"
      Position		      [485, 95, 545, 125]
      ShowName		      off
      Expr		      "u(1)*sin(pi*u(3)/3-u(2))"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn3"
      Position		      [490, 185, 550, 215]
      ShowName		      off
      Expr		      "u(1)*sin(u(2)-(u(3)-1)*pi/3)"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn4"
      Position		      [805, 150, 865, 180]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1]+u[2]+u[3])+(u[4]==2)*(u[1]+u[2]"
"+u[3])+(u[4]==3)*(u[1]+u[3])+(u[4]==4)*(u[1])+(u[4]==5)*(u[1])+(u[4]==6)*(u[1"
"]+u[2])"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn5"
      Position		      [805, 205, 865, 235]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1])+(u[4]==2)*(u[1]+u[2])+(u[4]==3"
")*(u[1]+u[2]+u[3])+(u[4]==4)*(u[1]+u[2]+u[3])+(u[4]==5)*(u[1]+u[3])+(u[4]==6)"
"*(u[1])"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn6"
      Position		      [800, 265, 860, 295]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1]+u[3])+(u[4]==2)*(u[1])+(u[4]==3"
")*(u[1])+(u[4]==4)*(u[1]+u[2])+(u[4]==5)*(u[1]+u[2]+u[3])+(u[4]==6)*(u[1]+u[2"
"]+u[3])"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn7"
      Position		      [960, 145, 1020, 175]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1])+(u[4]==2)*(u[1])+(u[4]==3)*(u["
"1]+u[2])+(u[4]==4)*(u[1]+u[2]+u[3])+(u[4]==5)*(u[1]+u[2]+u[3])+(u[4]==6)*(u[1"
"]+u[3])"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn8"
      Position		      [955, 205, 1015, 235]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1]+u[2]+u[3])+(u[4]==2)*(u[1]+u[3]"
")+(u[4]==3)*(u[1])+(u[4]==4)*(u[1])+(u[4]==5)*(u[1]+u[2])+(u[4]==6)*(u[1]+u[2"
"]+u[3])"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn9"
      Position		      [955, 265, 1015, 295]
      ShowName		      off
      Expr		      "(u[4]==1)*(u[1]+u[2])+(u[4]==2)*(u[1]+u[2]+u[3]"
")+(u[4]==3)*(u[1]+u[2]+u[3])+(u[4]==4)*(u[1]+u[3])+(u[4]==5)*(u[1])+(u[4]==6)"
"*(u[1])"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [675, 125, 705, 155]
      ShowName		      off
      Gain		      "0.5"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [555, 630, 585, 660]
      ShowName		      off
      Gain		      "1/2"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [560, 685, 590, 715]
      ShowName		      off
      Gain		      "-1/2"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn"
      Position		      [230, 180, 290, 210]
      ShowName		      off
      MATLABFcn		      "mod(u,2*pi)"
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn1"
      Position		      [315, 180, 375, 210]
      ShowName		      off
      MATLABFcn		      "1+fix(u/(pi/3+1.e-30))"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [280, 76, 285, 114]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [3, 1]
      Position		      [415, 70, 420, 230]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [4, 1]
      Position		      [750, 140, 755, 300]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [3, 1]
      Position		      [1120, 150, 1125, 310]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [3, 1]
      Position		      [970, 320, 975, 480]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux5"
      Ports		      [2, 1]
      Position		      [1095, 66, 1100, 119]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [225, 57, 255, 88]
      ShowName		      off
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [425, 259, 455, 291]
      ShowName		      off
      Location		      [1, 43, 1025, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [740, 34, 770, 66]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [325, 264, 355, 296]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [245, 259, 275, 291]
      ShowName		      off
      Location		      [229, 139, 698, 521]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [1010, 384, 1040, 416]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [1150, 214, 1180, 246]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [1150, 69, 1180, 101]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [1155, 519, 1185, 551]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [1155, 574, 1185, 606]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [1155, 624, 1185, 656]
      ShowName		      off
      Location		      [5, 47, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract"
      Ports		      [3, 1]
      Position		      [625, 102, 645, 178]
      ShowName		      off
      Inputs		      "+--"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract1"
      Ports		      [2, 1]
      Position		      [910, 508, 930, 537]
      ShowName		      off
      Inputs		      "-+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract2"
      Ports		      [2, 1]
      Position		      [910, 563, 930, 592]
      ShowName		      off
      Inputs		      "-+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract3"
      Ports		      [2, 1]
      Position		      [910, 613, 930, 642]
      ShowName		      off
      Inputs		      "-+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract4"
      Ports		      [2, 1]
      Position		      [1090, 517, 1105, 548]
      ShowName		      off
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract5"
      Ports		      [2, 1]
      Position		      [1090, 572, 1105, 603]
      ShowName		      off
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract6"
      Ports		      [2, 1]
      Position		      [1090, 622, 1105, 653]
      ShowName		      off
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Switch
      Name		      "Switch"
      Position		      [1010, 510, 1040, 540]
      ShowName		      off
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Switch
      Name		      "Switch1"
      Position		      [1010, 565, 1040, 595]
      ShowName		      off
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Switch
      Name		      "Switch2"
      Position		      [1010, 615, 1040, 645]
      ShowName		      off
      InputSameDT	      off
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Constant
      Name		      "Tz"
      Position		      [145, 105, 195, 135]
      Value		      "1/1000"
    }
    Block {
      BlockType		      Constant
      Name		      "Tz "
      Position		      [500, 47, 555, 73]
      Value		      "1/1000"
    }
    Block {
      BlockType		      Constant
      Name		      "VDC"
      Position		      [30, 75, 60, 105]
      Value		      "310"
    }
    Block {
      BlockType		      Outport
      Name		      "S2"
      Position		      [895, 158, 925, 172]
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
    }
    Block {
      BlockType		      Outport
      Name		      "S4"
      Position		      [895, 213, 925, 227]
      Port		      "2"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
    }
    Block {
      BlockType		      Outport
      Name		      "S6"
      Position		      [895, 273, 925, 287]
      Port		      "3"
      IconDisplay	      "Port number"
      BusOutputAsStruct	      off
    }
    Block {
      BlockType		      Outport
      Name		      "S5"
      Position		      [1045, 153, 1075, 167]

⌨️ 快捷键说明

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