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

📄 pmsmdtc.mdl

📁 对PMSM算法的直接转矩控制
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Name			  "section"
	  Position		  [380, 248, 410, 262]
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Te给定"
	  Position		  [80, 208, 110, 222]
	  Port			  "6"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [230, 150, 260, 180]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "DC Voltage"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Description		  "source block"
	  Ports			  [1, 1]
	  Position		  [741, 175, 779, 315]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  AncestorBlock		  "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
	  CopyFcn		  "powericon('psblfblk',bdroot,'goto','Copy');"
	  LoadFcn		  "powericon('psblfblk',bdroot,'goto','Load');"
	  TreatAsAtomicUnit	  off
	  MaskType		  "DC Voltage Source"
	  MaskDescription	  "Ideal DC voltage source. "
	  MaskHelp		  "web(psbhelp);"
	  MaskPromptString	  "Amplitude (V):|Measurements|Output type [1="
"PSB  0=simulink output]"
	  MaskStyleString	  "edit,popup(None|Voltage),edit"
	  MaskTunableValueString  "on,off,on"
	  MaskCallbackString	  "||"
	  MaskEnableString	  "on,on,on"
	  MaskVisibilityString	  "on,on,off"
	  MaskToolTipString	  "on,on,on"
	  MaskVarAliasString	  ",,"
	  MaskVariables		  "V=@1;mesure=@2;PSBOutputType=@3;"
	  MaskInitialization	  "\n\n"
	  MaskDisplay		  "plot(-10,-5,10,5,[10 1.25 1.25 1.25],[0 0 5"
" -5],[-10 -1.25 -1.25 -1.25],[0 0 -2 2],[6 4 5 5 5],[3 3 3 4 2])"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "310|Voltage|1"
	  System {
	    Name		    "DC Voltage"
	    Location		    [214, 82, 898, 721]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    328
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "in_1"
	      Position		      [15, 20, 35, 40]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [0, 113, 70, 147]
	      Value		      "complex(V,0)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [130, 20, 150, 40]
	      Value		      "310"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [5, 75, 40, 95]
	      Value		      "V"
	    }
	    Block {
	      BlockType		      Goto
	      Name		      "Goto"
	      Position		      [140, 89, 210, 111]
	      GotoTag		      "tp481453"
	      TagVisibility	      "global"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [100, 81, 105, 119]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "Terminator"
	      Position		      [75, 15, 100, 45]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_1"
	      Position		      [180, 20, 200, 40]
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Goto"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      DstBlock		      "Terminator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      DstBlock		      "out_1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 6]
	  Position		  [605, 48, 630, 182]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "6"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [275, 25, 305, 55]
	  Gain			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [779, 420, 811, 450]
	  Orientation		  "up"
	  ShowName		  off
	  LinkData {
	    BlockName		    "Constant"
	    DialogParameters {
	      Value		      "1"
	    }
	  }
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Lookup2D
	  Name			  "Look-Up\nTable (2-D)"
	  Position		  [440, 218, 470, 267]
	  RowIndex		  "[1:4]"
	  ColumnIndex		  "[1:6]"
	  OutputValues		  "[1 5 4 6 2 3;2 3 1 5 4 6;5 4 6 2 3 1;6 2 3 "
"1 5 4]"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [515, 230, 575, 260]
	  MATLABFcn		  "select"
	  OutputDimensions	  "6"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [80, 127, 105, 143]
	  NamePlacement		  "alternate"
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [80, 157, 105, 173]
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [150, 80, 180, 100]
	  Orientation		  "up"
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay"
	  Position		  [230, 25, 260, 55]
	  OnSwitchValue		  "0.005"
	  OffSwitchValue	  "-0.005"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay1"
	  Position		  [225, 200, 255, 230]
	  OnSwitchValue		  "0.01"
	  OffSwitchValue	  "-0.01"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [1]
	  Position		  [690, 69, 720, 101]
	  Location		  [5, 60, 1029, 741]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  YMin			  "0"
	  YMax			  "1"
	  SaveName		  "ScopeData5"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [690, 114, 720, 146]
	  Location		  [1, 56, 1025, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  SaveName		  "ScopeData6"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope2"
	  Ports			  [1]
	  Position		  [690, 164, 720, 196]
	  Location		  [1, 56, 1025, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData7"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [335, 119, 380, 191]
	  ShowName		  off
	  Inputs		  "|+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [150, 205, 170, 225]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [125, 125, 145, 145]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [155, 30, 175, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Universal Bridge"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [3, 3]
	  Position		  [830, 111, 910, 399]
	  AncestorBlock		  "powerlib2/Power\nElectronics/Universal Brid"
"ge"
	  CopyFcn		  "powericon('psblfblk',bdroot,'configurable b"
"ridge','Copy')"
	  LoadFcn		  "powericon('psblfblk',bdroot,'configurable b"
"ridge','Copy')"
	  TreatAsAtomicUnit	  off
	  MaskType		  "Universal Bridge"
	  MaskDescription	  "This block implement a bridge of selected p"
"ower electronics devices.  Series RC snubber circuits are connected in parall"
"el with each switch device.  For most applications the internal inductance sh"
"ould be set to zero."
	  MaskHelp		  "web(psbhelp);"
	  MaskPromptString	  "Number of bridge arms:|Port configuration|S"
"nubber resistance Rs (Ohms)|Snubber capacitance Cs (F)|Power Electronic devic"
"e|Ron (Ohms)|Lon (H)|Forward voltages  [ Device Vf(V) , Diode Vfd(V)]|Forward"
" voltage Vf (V)|[  Tf (s) , Tt (s)  ]|[  Tf (s) , Tt (s)  ]|Measurements|Outp"
"ut type [1=PSB  0=simulink output]"
	  MaskStyleString	  "popup(1|2|3),popup(ABC as input terminals|A"
"BC as output terminals),edit,edit,popup(Diodes|Thyristors|GTO / Diodes|MOSFET"
" / Diodes|IGBT / Diodes|Ideal Switches),edit,edit,edit,edit,edit,edit,popup(N"
"one|Device voltages|Device currents|UAB UBC UCA UDC voltages|All voltages and"
" currents),edit"
	  MaskTunableValueString  "off,off,off,off,off,off,off,off,off,off,off"
",off,off"
	  MaskCallbackString	  "powericon('psbcb6thy',gcb,'port configurati"
"on')|powericon('psbcb6thy',gcb,'port configuration')|||powericon('psbcb6thy',"
"gcb,'device configuration')||||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,off,off,off,off,off,on,of"
"f"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,,,,,"
	  MaskVariables		  "arms=@1;confi=@2;injcc=@3;cf=@4;device=@5;R"
"on=@6;Lon=@7;VFs=@8;Vf=@9;gtoparameters=@10;igbtparameters=@11;mesure=@12;PSB"
"OutputType=@13;"
	  MaskInitialization	  "powericon('psbcb6thy',gcb,'device configura"
"tion');\npowericon('psbcb6thy',gcb,'port configuration');\n"
	  MaskDisplay		  "plot(-100,-100,100,100,[0,0,30],[70,30,0],["
"0,0],[-10,-70])"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "3|ABC as output terminals|1e5|inf|Ideal Swi"
"tches|1e-3|0|[  0  0  ]|0|[ 10e-6 , 20e-6 ]|[ 1e-6 , 2e-6 ]|None|111"
	  System {
	    Name		    "Universal Bridge"
	    Location		    [214, 82, 1014, 721]
	    Open		    on
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "+"
	      Position		      [20, 25, 40, 45]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "-"
	      Position		      [20, 65, 40, 85]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "pulses"
	      Position		      [20, 105, 40, 125]
	      Port		      "3"
	      PortDimensions	      "2*arms"
	    }
	    Block {
	      BlockType		      Goto
	      Name		      "Goto"
	      Position		      [75, 105, 150, 125]
	      GotoTag		      "tp481446"
	      TagVisibility	      "global"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "c1"
	      Position		      [170, 30, 190, 50]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "c2"
	      Position		      [170, 75, 190, 95]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "c3"
	      Position		      [170, 120, 190, 140]
	    }
	    Block {
	      BlockType		      Ground
	      Name		      "o3"
	      Position		      [15, 220, 35, 240]
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "t1"
	      Position		      [75, 25, 95, 45]
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "t2"
	      Position		      [75, 65, 95, 85]
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "t3"
	      Position		      [90, 222, 155, 238]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "A"
	      Position		      [210, 30, 230, 50]
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "B"
	      Position		      [210, 75, 230, 95]
	      Port		      "2"
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "C"
	      Position		      [210, 120, 230, 140]
	      Port		      "3"
	    }
	    Line {
	      SrcBlock		      "o3"
	      SrcPort		      1
	      DstBlock		      "t3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "+"
	      SrcPort		      1
	      DstBlock		      "t1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "-"
	      SrcPort		      1
	      DstBlock		      "t2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "pulses"
	      SrcPort		      1
	      DstBlock		      "Goto"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "c1"
	      SrcPort		      1
	      DstBlock		      "A"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "c2"
	      SrcPort		      1
	      DstBlock		      "B"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "c3"
	      SrcPort		      1
	      DstBlock		      "C"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ua"
	  Position		  [1115, 153, 1145, 167]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ub"
	  Position		  [1115, 248, 1145, 262]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uc"
	  Position		  [1115, 343, 1145, 357]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sa"
	  Position		  [660, 58, 690, 72]
	  Port			  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sb"
	  Position		  [770, 98, 800, 112]
	  Port			  "5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Sc"
	  Position		  [795, 138, 825, 152]
	  Port			  "6"
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  3
	  DstBlock		  "Uc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  2
	  DstBlock		  "Ub"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  1
	  DstBlock		  "Ua"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DC Voltage"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Universal Bridge"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fi_beta"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1

⌨️ 快捷键说明

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