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

📄 dtcverygood.mdl

📁 一个直接转矩控制的仿真程序。可以用来了解直接转矩控制。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  Labels		  [0, 0]
		  SrcBlock		  "Demux"
		  SrcPort		  16
		  DstBlock		  "Bus\nCreator4"
		  DstPort		  7
		}
		Line {
		  Name			  "Stator voltage vs_q (V)"
		  Labels		  [0, 0]
		  SrcBlock		  "Demux"
		  SrcPort		  17
		  DstBlock		  "Bus\nCreator4"
		  DstPort		  8
		}
		Line {
		  Name			  "Stator voltage vs_d (V)"
		  Labels		  [0, 0]
		  SrcBlock		  "Demux"
		  SrcPort		  18
		  DstBlock		  "Bus\nCreator4"
		  DstPort		  9
		}
		Line {
		  Name			  "Mechanical"
		  Labels		  [0, 0]
		  SrcBlock		  "Bus\nCreator3"
		  SrcPort		  1
		  Points		  [95, 0; 0, -95]
		  DstBlock		  "Bus\nCreator1"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Source"
	      Ports		      [2, 3]
	      Position		      [110, 163, 180, 277]
	      BackgroundColor	      "lightBlue"
	      NamePlacement	      "alternate"
	      AncestorBlock	      "powerlib_models/Continuous/asynchronous"
"_machine"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Source"
		Location		[151, 136, 839, 495]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "v"
		  Position		  [20, 33, 50, 47]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Inport
		  Name			  "thr,wr"
		  Position		  [25, 158, 55, 172]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [475, 184, 500, 216]
		  Gain			  "[ib2*ones(5,1);phib2;phib2;Vb2;Vb2;"
"ib2*ones(5,1);phib2;phib2;Vb2;Vb2]"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Mutual fluxes"
		  Ports			  [2, 1]
		  Position		  [230, 126, 365, 199]
		  Orientation		  "left"
		  NamePlacement		  "alternate"
		  FontSize		  11
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "Mutual fluxes"
		    Location		    [307, 430, 683, 620]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "phiqr,phidr"
		    Position		    [25, 63, 55, 77]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "phiqs,phids"
		    Position		    [25, 123, 55, 137]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr"
		    Position		    [80, 51, 115, 89]
		    ShowName		    off
		    Gain		    "1/Llr"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr1"
		    Position		    [225, 36, 260, 74]
		    ShowName		    off
		    Gain		    "Laq"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr2"
		    Position		    [225, 121, 260, 159]
		    ShowName		    off
		    Gain		    "Lad"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Lls"
		    Position		    [80, 111, 115, 149]
		    ShowName		    off
		    Gain		    "1/Lls"
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux1"
		    Ports		    [1, 2]
		    Position		    [145, 44, 150, 91]
		    BackgroundColor	    "black"
		    ShowName		    off
		    Outputs		    "2"
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux2"
		    Ports		    [1, 2]
		    Position		    [145, 104, 150, 151]
		    BackgroundColor	    "black"
		    ShowName		    off
		    Outputs		    "2"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux3"
		    Ports		    [2, 1]
		    Position		    [285, 14, 290, 181]
		    ShowName		    off
		    Inputs		    "2"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum"
		    Ports		    [2, 1]
		    Position		    [170, 45, 190, 65]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "|++"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [185, 130, 205, 150]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "++|"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "phimq,phimd"
		    Position		    [315, 93, 345, 107]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "Mux3"
		    SrcPort		    1
		    DstBlock		    "phimq,phimd"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "1\\Llr2"
		    SrcPort		    1
		    DstBlock		    "Mux3"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "1\\Llr1"
		    SrcPort		    1
		    DstBlock		    "Mux3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux1"
		    SrcPort		    2
		    Points		    [40, 0]
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux2"
		    SrcPort		    2
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Demux2"
		    SrcPort		    1
		    Points		    [25, 0]
		    DstBlock		    "Sum"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "1\\Lls"
		    SrcPort		    1
		    DstBlock		    "Demux2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum"
		    SrcPort		    1
		    DstBlock		    "1\\Llr1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux1"
		    SrcPort		    1
		    DstBlock		    "Sum"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "1\\Llr"
		    SrcPort		    1
		    DstBlock		    "Demux1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "phiqr,phidr"
		    SrcPort		    1
		    DstBlock		    "1\\Llr"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "phiqs,phids"
		    SrcPort		    1
		    DstBlock		    "1\\Lls"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "1\\Llr2"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux3"
		  Ports			  [8, 1]
		  Position		  [440, 140, 445, 255]
		  ShowName		  off
		  Inputs		  "[3,2,2,2,3,2,2,2]"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product1"
		  Ports			  [1, 1]
		  Position		  [520, 284, 545, 306]
		  ShowName		  off
		  Inputs		  "1"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product2"
		  Ports			  [1, 1]
		  Position		  [520, 314, 545, 336]
		  ShowName		  off
		  Inputs		  "1"
		  RndMeth		  "Floor"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Rotor"
		  Ports			  [3, 2]
		  Position		  [230, 27, 365, 103]
		  ShowName		  off
		  FontSize		  11
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  MaskDisplay		  "disp('Rotor')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  off
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "Rotor"
		    Location		    [297, 107, 877, 445]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "vqr,vdr"
		    Position		    [20, 28, 50, 42]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "w-wr"
		    Position		    [20, 78, 50, 92]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "phimq,phimd"
		    Position		    [20, 178, 50, 192]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr"
		    Position		    [195, 159, 235, 191]
		    ShowName		    off
		    Gain		    "1/Llr"
		    Port {
		    PortNumber		    1
		    Name		    "iqr"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		    ShowSigGenPortName	    on
		    }
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr1"
		    Position		    [265, 134, 300, 166]
		    ShowName		    off
		    Gain		    "Rr"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr2"
		    Position		    [150, 259, 190, 291]
		    ShowName		    off
		    Gain		    "1/Llr"
		    Port {
		    PortNumber		    1
		    Name		    "idr"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		    ShowSigGenPortName	    on
		    }
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "1\\Llr3"
		    Position		    [215, 259, 255, 291]
		    ShowName		    off
		    Gain		    "Rr"
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux"
		    Ports		    [1, 2]
		    Position		    [75, 16, 80, 54]
		    BackgroundColor	    "black"
		    ShowName		    off
		    Outputs		    "2"
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux1"
		    Ports		    [1, 2]
		    Position		    [90, 166, 95, 204]
		    BackgroundColor	    "black"
		    ShowName		    off
		    Outputs		    "2"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux2"
		    Ports		    [2, 1]
		    Position		    [310, 163, 315, 207]
		    ShowName		    off
		    Inputs		    "2"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux3"
		    Ports		    [2, 1]
		    Position		    [480, 243, 485, 287]
		    ShowName		    off
		    Inputs		    "2"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [255, 63, 275, 92]
		    ShowName		    off
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product1"
		    Ports		    [2, 1]
		    Position		    [145, 93, 165, 122]
		    Orientation		    "left"
		    ShowName		    off
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [3, 1]
		    Position		    [310, 260, 340, 290]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "++-||"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum2"
		    Ports		    [3, 1]
		    Position		    [300, 65, 330, 95]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "+--"
		    }
		    Block {
		    BlockType

⌨️ 快捷键说明

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