📄 spacevec3.mdl
字号:
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "dq"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "dq2ab "
Ports [2, 1]
Position [230, 502, 375, 593]
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskDisplay "disp('[ cos(phi) -sin(phi)]\\n[sin(phi) cos"
"(phi)]')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "dq2ab "
Location [177, 467, 527, 679]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "90"
Block {
BlockType Inport
Name "dq"
Position [20, 77, 50, 93]
}
Block {
BlockType Inport
Name "phi"
Position [20, 112, 50, 128]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [150, 18, 280, 62]
ShowName off
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [150, 186, 285, 224]
ShowName off
Expr "u(1)*sin(u(3))+u(2)*cos(u(3))"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [125, 12, 130, 63]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [125, 177, 130, 228]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [320, 106, 325, 139]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "ab"
Position [350, 118, 380, 132]
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "ab"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [15, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "phi"
SrcPort 1
Points [125, 0]
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "dq"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "fA"
Position [45, 240, 75, 270]
BackgroundColor "yellow"
DropShadow on
NamePlacement "alternate"
FontWeight "bold"
Value "30"
}
Block {
BlockType Display
Name "fABC"
Ports [1]
Position [240, 112, 330, 178]
ForegroundColor "red"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Display
Name "fABC1"
Ports [1]
Position [825, 517, 915, 583]
ForegroundColor "red"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Constant
Name "fB"
Position [45, 290, 75, 320]
BackgroundColor "yellow"
DropShadow on
Value "20"
}
Block {
BlockType Display
Name "fab"
Ports [1]
Position [520, 136, 605, 184]
ForegroundColor "blue"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Display
Name "fab1"
Ports [1]
Position [485, 476, 570, 524]
ForegroundColor "blue"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Display
Name "fdq"
Ports [1]
Position [825, 132, 915, 178]
ForegroundColor "magenta"
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Constant
Name "phi"
Position [45, 445, 75, 475]
BackgroundColor "yellow"
DropShadow on
Value "pi/2"
}
Block {
BlockType Display
Name "power"
Ports [1]
Position [355, 387, 440, 423]
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Display
Name "power1"
Ports [1]
Position [695, 392, 780, 428]
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType Display
Name "power2"
Ports [1]
Position [980, 382, 1065, 418]
NamePlacement "alternate"
Decimation "1"
}
Block {
BlockType SubSystem
Name "space vector"
Ports []
Position [632, 30, 700, 96]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,spacefig"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Space\\nVectors')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
Location [81, 508, 528, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Outport
Name "fA1"
Position [210, 193, 240, 207]
}
Block {
BlockType Outport
Name "fa"
Position [520, 198, 550, 212]
Port "2"
}
Block {
BlockType Outport
Name "fd"
Position [820, 193, 850, 207]
Port "3"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [-10, 0; 35, 0]
Branch {
Points [0, 110]
Branch {
Points [0, 30]
DstBlock "Dot Product"
DstPort 2
}
Branch {
DstBlock "Dot Product"
DstPort 1
}
}
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -80]
Branch {
Points [0, -55]
DstBlock "fABC"
DstPort 1
}
Branch {
DstBlock "fA1"
DstPort 1
}
}
}
Line {
SrcBlock "ABC2ab"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 115]
Branch {
Points [0, 30]
DstBlock "Dot Product1"
DstPort 2
}
Branch {
DstBlock "Dot Product1"
DstPort 1
}
}
Branch {
Points [0, -75]
Branch {
Points [0, -45]
DstBlock "fab"
DstPort 1
}
Branch {
DstBlock "fa"
DstPort 1
}
}
Branch {
DstBlock "ab2dq"
DstPort 1
}
}
Line {
SrcBlock "ab2dq"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Goto"
DstPort 1
}
Branch {
Points [0, -105]
Branch {
Points [0, -45]
DstBlock "fdq"
DstPort 1
}
Branch {
DstBlock "fd"
DstPort 1
}
}
Branch {
Points [0, 80]
Branch {
Points [0, 30]
DstBlock "Dot Product2"
DstPort 2
}
Branch {
DstBlock "Dot Product2"
DstPort 1
}
}
}
Line {
SrcBlock "Dot Product"
SrcPort 1
DstBlock "power"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Gain1"
SrcPort 1
DstBlock "power1"
DstPort 1
}
Line {
SrcBlock "dq2ab "
SrcPort 1
Points [75, 0]
Branch {
DstBlock "ab2ABC"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "fab1"
DstPort 1
}
}
Line {
SrcBlock "ab2ABC"
SrcPort 1
DstBlock "fABC1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "ABC2ab"
DstPort 1
}
Line {
SrcBlock "fA"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "fB"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, -25]
DstBlock "Mux"
DstPort 2
}
}
Line {
Name "fC"
Labels [1, 0]
SrcBlock "Sum"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "dq2ab "
DstPort 1
}
Line {
SrcBlock "phi"
SrcPort 1
Points [35, 0]
Branch {
Points [360, 0; 0, -130]
DstBlock "ab2dq"
DstPort 2
}
Branch {
Points [0, 110]
DstBlock "dq2ab "
DstPort 2
}
}
Line {
Labels [0, 0]
SrcBlock "Dot Product2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Gain2"
SrcPort 1
DstBlock "power2"
DstPort 1
}
Annotation {
Name "DEFINITION OF SPACE VECTORS"
Position [310, 55]
ForegroundColor "darkGreen"
FontSize 16
FontWeight "bold"
}
Annotation {
Name "fA+fB+fC=0"
Position [115, 214]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "INPUTS"
Position [59, 381]
ForegroundColor "red"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -