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

📄 svpwm.mdl

📁 这是在simulink环境下搭的SVPWM控制整流器驱动电动机的模型。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    Location		    [2, 74, 1014, 722]
    Open		    on
    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		    "85"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Sum
      Name		      "Add"
      Ports		      [2, 1]
      Position		      [875, 97, 905, 128]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^-10"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector"
      Ports		      [1, 2]
      Position		      [650, 404, 660, 466]
      ShowName		      off
      OutputSignals	      "Rotor speed wm (rad/s),Electromagnetic torque Te (N*m)"
      Port {
	PortNumber		1
	Name			"<Rotor speed wm (rad/s)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"<Electromagnetic torque Te (N*m)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector1"
      Ports		      [1, 3]
      Position		      [650, 310, 655, 360]
      ShowName		      off
      OutputSignals	      "Stator current is_a (A),Stator current is_b (A),Stator current is_c (A)"
      Port {
	PortNumber		1
	Name			"<Stator current is_a (A)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"<Stator current is_b (A)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		3
	Name			"<Stator current is_c (A)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector2"
      Ports		      [1, 2]
      Position		      [655, 218, 660, 262]
      ShowName		      off
      OutputSignals	      "Stator voltage Vs_q (V),Stator voltage Vs_d (V)"
      Port {
	PortNumber		1
	Name			"<Stator voltage Vs_q (V)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"<Stator voltage Vs_d (V)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector3"
      Ports		      [1, 3]
      Position		      [650, 485, 655, 535]
      ShowName		      off
      OutputSignals	      "Hall effect signal h_a,Hall effect signal h_b,Hall effect signal h_c"
      Port {
	PortNumber		1
	Name			"<Hall effect signal h_a>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"<Hall effect signal h_b>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		3
	Name			"<Hall effect signal h_c>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector4"
      Ports		      [1, 1]
      Position		      [655, 153, 660, 197]
      ShowName		      off
      OutputSignals	      "Rotor angle thetam (rad)"
      Port {
	PortNumber		1
	Name			"<Rotor angle thetam (rad)>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "DC"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [255, 340, 275, 375]
      Orientation	      "up"
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib/Electrical\nSources/DC Voltage Source"
      SourceType	      "DC Voltage Source"
      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"
      Amplitude		      "310"
      Measurements	      "Voltage"
    }
    Block {
      BlockType		      Scope
      Name		      "Hall"
      Ports		      [3]
      Position		      [845, 488, 880, 532]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "3"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "-1~-1~-1"
      YMax		      "2~2~2"
      SaveName		      "ScopeData11"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc"
      Ports		      [3]
      Position		      [845, 314, 880, 356]
      Floating		      off
      Location		      [3, 51, 1027, 745]
      Open		      off
      NumInputPorts	      "3"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "-0.75~-2.75~-0.75"
      YMax		      "1.75~0.75~1.5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc1"
      Ports		      [1]
      Position		      [1090, 264, 1125, 306]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "-2.25"
      YMax		      "2"
      SaveName		      "ScopeData17"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc2"
      Ports		      [1]
      Position		      [1065, 94, 1100, 136]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "-850"
      YMax		      "-550"
      SaveName		      "ScopeData19"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc3"
      Ports		      [1]
      Position		      [375, 544, 410, 586]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "14.6"
      YMax		      "15.6"
      SaveName		      "ScopeData20"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc4"
      Ports		      [1]
      Position		      [175, 574, 210, 616]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "1000"
      YMax		      "1650"
      SaveName		      "ScopeData21"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc5"
      Ports		      [1]
      Position		      [430, 584, 465, 626]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "1000"
      YMax		      "1650"
      SaveName		      "ScopeData22"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc6"
      Ports		      [1]
      Position		      [380, 454, 415, 496]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "300"
      YMax		      "300"
      SaveName		      "ScopeData23"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "I abc7"
      Ports		      [1]
      Position		      [220, 214, 255, 256]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.1"
      YMin		      "-25"
      YMax		      "225"
      SaveName		      "ScopeData24"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [3, 1]
      Position		      [930, 266, 935, 304]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "PID"
      Ports		      [1, 1]
      Position		      [120, 117, 165, 163]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPID Controller"
      SourceType	      "Discrete PID Controller"
      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"
      Kp		      "8"
      Ki		      "0"
      Kd		      "0"
      TcD		      "0.5e-3"
      Par_Limits	      "[200 -120]"
      Init		      "0"
      Ts		      "10e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "PID1"
      Ports		      [1, 1]
      Position		      [280, 492, 325, 538]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPID Controller"
      SourceType	      "Discrete PID Controller"
      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"
      Kp		      "7"
      Ki		      "0"
      Kd		      "0"
      TcD		      "0.5e-3"
      Par_Limits	      "[200 -100]"
      Init		      "0"
      Ts		      "10e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "PID2"
      Ports		      [1, 1]
      Position		      [145, 492, 190, 538]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPID Controller"
      SourceType	      "Discrete PID Controller"
      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"
      Kp		      "1.2"
      Ki		      "1.2"
      Kd		      "0"
      TcD		      "0.5e-3"
      Par_Limits	      "[40 -30]"
      Init		      "0"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PWM generator"
      Ports		      [2, 1]
      Position		      [320, 87, 375, 198]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {

⌨️ 快捷键说明

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