📄 s5.mdl
字号:
DstPort 2
}
}
Line {
SrcBlock "vq"
SrcPort 1
DstBlock "q_cct"
DstPort 1
}
Line {
SrcBlock "prod1"
SrcPort 1
Points [-40, 0; 0, -50]
DstBlock "q_cct"
DstPort 2
}
Line {
SrcBlock "d_cct"
SrcPort 2
Points [0, 0]
Branch {
Points [45, 0; 0, 40]
DstBlock "id_gen"
DstPort 1
}
Branch {
Points [45, 0; 0, 20]
DstBlock "Rotor"
DstPort 4
}
}
Line {
SrcBlock "Rotor"
SrcPort 3
DstBlock "Tem"
DstPort 1
}
Line {
SrcBlock "Rotor"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Line {
SrcBlock "q_cct"
SrcPort 2
Points [0, 0]
Branch {
DstBlock "iq_gen"
DstPort 1
}
Branch {
Points [90, 0; 0, 150]
DstBlock "Rotor"
DstPort 1
}
}
Line {
SrcBlock "Tmech"
SrcPort 1
DstBlock "Rotor"
DstPort 5
}
Annotation {
Position [217, 52]
VerticalAlignment top
Text "psiq"
}
Annotation {
Position [212, 247]
VerticalAlignment top
Text "psid"
}
Annotation {
Position [212, 267]
VerticalAlignment top
Text "-id"
}
Annotation {
Position [217, 77]
VerticalAlignment top
Text "-iq"
}
}
}
Block {
BlockType SubSystem
Name "qdr2abc"
Position [542, 130, 618, 160]
Orientation up
ShowPortLabels off
System {
Name "qdr2abc"
Location [56, 346, 800, 637]
Open off
ScreenColor white
Block {
BlockType Inport
Name "-iq"
Position [60, 125, 80, 145]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "-id"
Position [60, 165, 80, 185]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "i0"
Position [60, 215, 80, 235]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "cos_thetar"
Position [60, 45, 80, 65]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "sin_thetar"
Position [60, 85, 80, 105]
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [125, 34, 155, 196]
Inputs "4"
}
Block {
BlockType Mux
Name "Mux1"
Position [375, 39, 405, 261]
Inputs "3"
}
Block {
BlockType Fcn
Name "qdr2ds"
Position [190, 140, 310, 160]
Expr "u[1]*u[4] - u[2]*u[3]"
}
Block {
BlockType Fcn
Name "qdr2qs"
Position [190, 64, 310, 86]
Expr "u[1]*u[3] + u[2]*u[4]"
}
Block {
BlockType Fcn
Name "qds2a"
Position [435, 69, 605, 91]
Expr "u[1] + u[3]"
}
Block {
BlockType Fcn
Name "qds2b"
Position [435, 139, 600, 161]
Expr "-u[1]/2 -sqrt(3)*u[2]/2 + u[3]"
}
Block {
BlockType Fcn
Name "qds2c"
Position [435, 209, 605, 231]
Expr "-u[1]/2 +sqrt(3)*u[2]/2 + u[3]"
}
Block {
BlockType Outport
Name "ia"
Position [645, 69, 670, 91]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ib"
Position [645, 139, 670, 161]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "ic"
Position [645, 208, 670, 232]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "qds2c"
SrcPort 1
DstBlock "ic"
DstPort 1
}
Line {
SrcBlock "qds2b"
SrcPort 1
DstBlock "ib"
DstPort 1
}
Line {
SrcBlock "qds2a"
SrcPort 1
DstBlock "ia"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0]
DstBlock "qds2c"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "qds2a"
DstPort 1
}
Branch {
DstBlock "qds2b"
DstPort 1
}
}
Line {
SrcBlock "i0"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "qdr2ds"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "qdr2qs"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [5, 0; 0, 35]
DstBlock "qdr2ds"
DstPort 1
}
Branch {
Points [5, 0; 0, -40]
DstBlock "qdr2qs"
DstPort 1
}
}
Line {
SrcBlock "-id"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "-iq"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "sin_thetar"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "cos_thetar"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Annotation {
Position [532, 27]
VerticalAlignment top
Text "qds2abc"
}
Annotation {
Position [257, 22]
VerticalAlignment top
Text "qdr2qds"
}
}
}
Block {
BlockType Scope
Name "sm1"
Position [245, 29, 265, 51]
Orientation left
Floating off
Location [30, 298, 751, 456]
Open on
Grid on
TickLabels on
ZoomMode on
TimeRange "1.5"
YMin "-4"
YMax "4"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "sm1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
Branch {
Points [0, -15]
DstBlock "Selector"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "Workspace"
DstPort 1
}
}
Line {
SrcBlock "Grd"
SrcPort 1
DstBlock "qdr2abc"
DstPort 3
}
Line {
SrcBlock "qdr2abc"
SrcPort 2
Points [0, -5]
DstBlock "T2"
DstPort 1
}
Line {
SrcBlock "qdr2abc"
SrcPort 3
Points [35, 0]
DstBlock "T1"
DstPort 1
}
Line {
SrcBlock "abc2qd0"
SrcPort 3
DstBlock "T"
DstPort 1
}
Line {
SrcBlock "VIPQ"
SrcPort 4
Points [0, -5; 15, 0]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "VIPQ"
SrcPort 3
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "VIPQ"
SrcPort 2
Points [0, -10; -15, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "qd_gen"
SrcPort 2
Points [30, 0; 0, -130; -35, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "qd_gen"
SrcPort 4
Points [40, 0]
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "qd_gen"
SrcPort 6
Points [85, 0]
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "qdr2abc"
SrcPort 1
Points [0, -20; 25, 0]
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "qd_gen"
SrcPort 5
Points [0, 0]
Branch {
Points [115, 0; 0, -125; -180, 0]
DstBlock "VIPQ"
DstPort 4
}
Branch {
Points [115, 0]
DstBlock "qdr2abc"
DstPort 2
}
}
Line {
SrcBlock "osc"
SrcPort 2
Points [0, 0]
Branch {
Points [0, -5; 15, 0; 0, 155; -395, 0]
DstBlock "abc2qd0"
DstPort 5
}
Branch {
DstBlock "qdr2abc"
DstPort 5
}
}
Line {
SrcBlock "osc"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -25; 45, 0; 0, 195; -420, 0; 0, -100]
DstBlock "abc2qd0"
DstPort 4
}
Branch {
DstBlock "qdr2abc"
DstPort 4
}
}
Line {
SrcBlock "qd_gen"
SrcPort 3
DstBlock "osc"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [-10, 0]
Branch {
Points [-20, 0; 0, 185]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [-20, 0; 0, 135]
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [-20, 0; 0, 90]
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Vm"
SrcPort 1
Points [-15, 0; 0, -10]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "omega*t"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [50, 0; 0, -55]
DstBlock "abc2qd0"
DstPort 3
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "abc2qd0"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "abc2qd0"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [0, 10]
Branch {
Points [0, -20]
DstBlock "omega*t"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "abc2qd0"
SrcPort 2
Points [0, 0]
Branch {
Points [65, 0]
DstBlock "VIPQ"
DstPort 3
}
Branch {
DstBlock "qd_gen"
DstPort 2
}
}
Line {
SrcBlock "VIPQ"
SrcPort 1
Points [0, -5; -30, 0]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Tmech"
SrcPort 1
DstBlock "qd_gen"
DstPort 4
}
Line {
SrcBlock "Ef"
SrcPort 1
DstBlock "qd_gen"
DstPort 3
}
Line {
SrcBlock "qd_gen"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -25; -125, 0]
Dst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -