📄 s3.mdl
字号:
}
Block {
BlockType Fcn
Name "Fcn4"
Position [565, 227, 655, 253]
Expr "-(u[1]-u[2])/xls"
}
Block {
BlockType Mux
Name "Mux"
Position [135, 86, 160, 189]
Inputs "4"
}
Block {
BlockType Mux
Name "Mux1"
Position [135, 220, 160, 300]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux2"
Position [130, 330, 155, 405]
Inputs "2"
}
Block {
BlockType Mux
Name "Mux3"
Position [520, 87, 545, 173]
Inputs "3"
}
Block {
BlockType Mux
Name "Mux4"
Position [520, 204, 540, 271]
Inputs "2"
}
Block {
BlockType Integrator
Name "psipkq2_"
Position [390, 247, 420, 273]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikq2o"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psipkq_"
Position [390, 357, 420, 383]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psikqo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "psiq_"
Position [390, 127, 420, 153]
ExternalReset none
InitialConditionSource internal
InitialCondition "Psiqo"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Outport
Name "Out_psiq"
Position [585, 45, 605, 65]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_-iq"
Position [830, 230, 850, 250]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_psimq"
Position [835, 120, 855, 140]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "psipkq2_"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 60; -320, 0; 0, -40]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [25, 0; 0, -130]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out_-iq"
DstPort 1
}
Line {
SrcBlock "Fcn3"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Out_psimq"
DstPort 1
}
Branch {
Points [10, 0; 0, -50; -675, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -205]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [10, 0; 0, 315; -700, 0; 0, -95]
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [10, 0; 0, 175; -295, 0; 0, -50]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "psipkq_"
SrcPort 1
Points [0, 0]
Branch {
Points [35, 0; 0, -210]
DstBlock "Mux3"
DstPort 3
}
Branch {
Points [35, 0; 0, 60; -350, 0; 0, -45]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "psiq_"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -85]
DstBlock "Out_psiq"
DstPort 1
}
Branch {
Points [45, 0; 0, 80]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [10, 0; 0, -40]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [10, 0; 0, 65; -320, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "psipkq_"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Fcn2"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "psipkq2_"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "psiq_"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "In_vqr"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In_wrpsid"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "qde2qdr"
Position [135, 229, 175, 301]
ShowPortLabels off
System {
Name "qde2qdr"
Location [103, 460, 628, 647]
Open off
ScreenColor white
Block {
BlockType Inport
Name "vqe"
Position [15, 35, 35, 55]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vde"
Position [15, 80, 35, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "delta "
Position [15, 124, 35, 146]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [75, 50, 105, 130]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "fcn"
Position [150, 52, 390, 78]
Expr "u[1]*cos(u[3]) - u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "fcn1"
Position [150, 97, 390, 123]
Expr "u[1]*sin(u[3]) + u[2]*cos(u[3])"
}
Block {
BlockType Outport
Name "vqr"
Position [445, 55, 465, 75]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "vdr"
Position [445, 100, 465, 120]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "vde"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "delta "
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 20]
DstBlock "fcn1"
DstPort 1
}
Branch {
Points [15, 0; 0, -25]
DstBlock "fcn"
DstPort 1
}
}
Line {
SrcBlock "fcn"
SrcPort 1
DstBlock "vqr"
DstPort 1
}
Line {
SrcBlock "vqe"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "fcn1"
SrcPort 1
DstBlock "vdr"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "qdr2qde"
Position [450, 369, 490, 421]
ShowPortLabels off
System {
Name "qdr2qde"
Location [115, 117, 638, 304]
Open off
ScreenColor white
Block {
BlockType Inport
Name "-iqr"
Position [15, 40, 35, 60]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "-idr"
Position [15, 80, 35, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "delta"
Position [15, 120, 35, 140]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Mux
Name "Mux"
Position [75, 27, 100, 153]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "fcn"
Position [155, 36, 360, 64]
Expr "u[1]*cos(u[3]) + u[2]*sin(u[3])"
}
Block {
BlockType Fcn
Name "fcn1"
Position [150, 116, 360, 144]
Expr "-u[1]*sin(u[3]) + u[2]*cos(u[3])"
}
Block {
BlockType Outport
Name "-iqe"
Position [420, 40, 440, 60]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "-ide"
Position [420, 120, 440, 140]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "delta"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "-idr"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [20, 0; 0, 40]
DstBlock "fcn1"
DstPort 1
}
Branch {
Points [20, 0; 0, -40]
DstBlock "fcn"
DstPort 1
}
}
Line {
SrcBlock "fcn"
SrcPort 1
DstBlock "-iqe"
DstPort 1
}
Line {
SrcBlock "-iqr"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "fcn1"
SrcPort 1
DstBlock "-ide"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "out_|Vt|"
Position [580, 30, 600, 50]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_|It|"
Position [640, 55, 660, 75]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_Pgen"
Position [580, 80, 600, 100]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_Qgen"
Position [640, 105, 660, 125]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_delta_gen"
Position [630, 180, 650, 200]
Port "5"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_Tem"
Position [625, 230, 645, 250]
Port "6"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_(wr-we)/wb"
Position [695, 255, 715, 275]
Port "7"
OutputWhenDisable
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -