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

📄 svpwmqd.mdl

📁 有关风机模拟的psm矢量控制内容
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    Block {
      BlockType		      Reference
      Name		      "Machines\nMeasurement\nDemux"
      Ports		      [1, 5]
      Position		      [705, 63, 750, 227]
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "powerlib/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      ShowPortLabels	      on
      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		      on
      pmsm3		      off
      pmsm4		      on
      pmsm5		      on
      pmsm6		      on
      lastType		      "1"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [355, 341, 360, 379]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [355, 386, 360, 424]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "Permanent Magnet\nSynchronous Machine"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [600, 96, 680, 189]
      SourceBlock	      "powerlib2/Machines/Permanent Magnet\nSynchronou"
"s Machine"
      SourceType	      "PM Synchronous Machine"
      ShowPortLabels	      on
      x1		      "2.8750"
      x2		      "[8.5e-3, 8.5e-3]"
      x3		      "0.175"
      x4		      "[ 0.8e-3, 0,  4 ]"
      PSBOutputType	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SVPWM"
      Ports		      [4, 3]
      Position		      [475, 93, 520, 167]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Tpwm"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "T=@1;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1e-3"
      System {
	Name			"SVPWM"
	Location		[111, 111, 797, 505]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Ualfa"
	  Position		  [200, 173, 230, 187]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ubeta"
	  Position		  [200, 198, 230, 212]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "T"
	  Position		  [200, 223, 230, 237]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Udc"
	  Position		  [200, 248, 230, 262]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Controlled Voltage Source"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Description		  "source block"
	  Ports			  [1, 2]
	  Position		  [305, 99, 345, 146]
	  SourceBlock		  "powerlib2/Electrical\nSources/Controlled Vo"
"ltage Source"
	  SourceType		  "Controlled Voltage Source"
	  ShowPortLabels	  on
	  initsrc		  on
	  srctyp		  "DC"
	  iv			  "0"
	  iph			  "0"
	  ifreq			  "0"
	  mesure		  "None"
	  PSBOutputType		  "11"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem6"
	  Ports			  [4, 1]
	  Position		  [295, 183, 345, 292]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem6"
	    Location		    [2, 78, 1022, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Ualfa"
	      Position		      [25, 58, 55, 72]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Ubeta"
	      Position		      [25, 88, 55, 102]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "T"
	      Position		      [25, 218, 55, 232]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Udc"
	      Position		      [25, 183, 55, 197]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [6, 1]
	      Position		      [690, 228, 700, 327]
	      ShowName		      off
	      Inputs		      "6"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope1"
	      Ports		      [1]
	      Position		      [310, 29, 340, 61]
	      BackgroundColor	      "green"
	      Location		      [387, 351, 1187, 726]
	      Open		      off
	      NumInputPorts	      "1"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      TimeRange		      "0.1"
	      YMin		      "1"
	      YMax		      "6"
	      SaveName		      "ScopeData2"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      off
	      MaxDataPoints	      "5000000"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope4"
	      Ports		      [6]
	      Position		      [670, 124, 710, 211]
	      BackgroundColor	      "green"
	      Location		      [585, 100, 1172, 657]
	      Open		      off
	      NumInputPorts	      "6"
	      ZoomMode		      "xonly"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
		axes2			"%<SignalLabel>"
		axes3			"%<SignalLabel>"
		axes4			"%<SignalLabel>"
		axes5			"%<SignalLabel>"
		axes6			"%<SignalLabel>"
	      }
	      TimeRange		      "0.1"
	      YMin		      "0~-5~-5~-5~-5~-5"
	      YMax		      "1~5~5~5~5~5"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Subsystem"
	      Ports		      [2, 1]
	      Position		      [130, 50, 170, 110]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Subsystem"
		Location		[50, 82, 554, 432]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Ualfa"
		  Position		  [25, 118, 55, 132]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Inport
		  Name			  "Ubeta"
		  Position		  [25, 148, 55, 162]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [160, 25, 190, 55]
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [155, 240, 185, 270]
		  Value			  "0"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn"
		  Position		  [140, 75, 200, 105]
		  Expr			  "   u(2)"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn1"
		  Position		  [140, 125, 200, 155]
		  Expr			  "(u(1)*sqrt(3)-u(2))/2"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn2"
		  Position		  [140, 175, 200, 205]
		  Expr			  "(-u(1)*sqrt(3)-u(2))/2"
		}
		Block {
		  BlockType		  Fcn
		  Name			  "Fcn3"
		  Position		  [360, 125, 420, 155]
		  Expr			  "4*u(3)+2*u(2)+u(1)"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [2, 1]
		  Position		  [95, 110, 100, 170]
		  ShowName		  off
		  Inputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux1"
		  Ports			  [3, 1]
		  Position		  [330, 95, 335, 185]
		  ShowName		  off
		  Inputs		  "3"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch"
		  Position		  [250, 75, 280, 105]
		  InputSameDT		  off
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch1"
		  Position		  [250, 125, 280, 155]
		  Criteria		  "u2 > Threshold"
		  InputSameDT		  off
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch2"
		  Position		  [250, 175, 280, 205]
		  Criteria		  "u2 > Threshold"
		  InputSameDT		  off
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Outport
		  Name			  "N"
		  Position		  [445, 133, 475, 147]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Ualfa"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Ubeta"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  Points		  [0, 0; 10, 0]
		  Branch {
		    Points		    [0, -50]
		    DstBlock		    "Fcn"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 50]
		    DstBlock		    "Fcn2"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "Fcn1"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Fcn"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "Switch"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn1"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "Switch1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Fcn2"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "Switch2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Constant"
		  SrcPort		  1
		  Points		  [20, 0; 0, 40]
		  Branch {
		    DstBlock		    "Switch"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 50]
		    Branch {
		    DstBlock		    "Switch1"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 50]
		    DstBlock		    "Switch2"
		    DstPort		    1
		    }
		  }
		}
		Line {
		  SrcBlock		  "Constant1"
		  SrcPort		  1
		  Points		  [40, 0; 0, -55]
		  Branch {
		    Points		    [0, -50]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Switch"
		    DstPort		    3
		    }
		    Branch {
		    DstBlock		    "Switch1"
		    DstPort		    3
		    }
		  }
		  Branch {
		    DstBlock		    "Switch2"
		    DstPort		    3
		  }
		}
		Line {
		  SrcBlock		  "Switch"
		  SrcPort		  1
		  Points		  [20, 0; 0, 20]
		  DstBlock		  "Mux1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Switch1"
		  SrcPort		  1
		  DstBlock		  "Mux1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Switch2"
		  SrcPort		  1
		  Points		  [15, 0; 0, -20]
		  DstBlock		  "Mux1"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Mux1"
		  SrcPort		  1
		  DstBlock		  "Fcn3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Fcn3"
		  SrcPort		  1
		  Points		  [0, 0]
		  DstBlock		  "N"
		  DstPort		  1
		}
	      }
	    }
	    Block {

⌨️ 快捷键说明

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