📄 d9.mdl
字号:
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
}
TimeRange "0.3"
YMin "0~-15~10~100~-1"
YMax "200~30~45~210~1"
SaveName "xlx2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [4]
Position [930, 513, 960, 627]
Location [5, 53, 1029, 743]
Open on
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.3"
YMin "-1.25~-0.75~0~0"
YMax "0.75~0.75~1.5~360"
SaveName "xlx3"
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [15, 255, 45, 285]
Time "0.15"
Before "100"
After "200"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [820, 578, 865, 622]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "beta"
Position [160, 313, 190, 327]
}
Block {
BlockType Inport
Name "alfa"
Position [160, 358, 190, 372]
Port "2"
}
Block {
BlockType Constant
Name "Constant2"
Position [390, 390, 420, 420]
Value "2*pi"
}
Block {
BlockType Constant
Name "Constant3"
Position [465, 385, 495, 415]
Value "360"
}
Block {
BlockType Constant
Name "Constant4"
Position [315, 265, 345, 295]
Value "180"
}
Block {
BlockType Constant
Name "Constant5"
Position [310, 160, 340, 190]
Value "360"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [270, 321, 275, 359]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [270, 225, 330, 255]
Expr "u(2)<0"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [265, 120, 325, 150]
Expr "u(2)>0 && u(1)<0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [220, 321, 225, 359]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [305, 322, 350, 358]
Inputs "*/"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [460, 322, 505, 358]
Inputs "*/"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [530, 332, 575, 368]
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [385, 232, 430, 268]
InputSameDT off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [380, 127, 425, 163]
InputSameDT off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [635, 302, 660, 358]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [385, 325, 415, 355]
Operator "atan"
}
Block {
BlockType Outport
Name "angle"
Position [685, 323, 715, 337]
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [0, -10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [10, 0; 0, -55]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [15, 0]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [60, 0; 0, 60]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant4"
SrcPort 1
Points [0, -20]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [20, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Demux"
DstPort 1
}
}
Branch {
Points [0, -205]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "beta"
SrcPort 1
Points [5, 0; 0, 10]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "alfa"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "angle"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Constant5"
SrcPort 1
Points [0, -20]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [175, 0; 0, 185]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 4]
Position [775, 181, 840, 299]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [235, 254, 965, 543]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Uaifa"
Position [130, 78, 160, 92]
}
Block {
BlockType Inport
Name "Ubeta"
Position [130, 123, 160, 137]
Port "2"
}
Block {
BlockType Inport
Name "Is_d"
Position [130, 198, 160, 212]
Port "3"
ShowAdditionalParam on
}
Block {
BlockType Inport
Name "Is_q"
Position [130, 243, 160, 257]
Port "4"
ShowAdditionalParam on
}
Block {
BlockType Abs
Name "Abs"
Position [490, 95, 520, 125]
}
Block {
BlockType Gain
Name "Gain"
Position [230, 170, 260, 200]
Gain "0.435"
}
Block {
BlockType Gain
Name "Gain1"
Position [230, 215, 260, 245]
Gain "0.435"
}
Block {
BlockType Gain
Name "Gain2"
Position [495, 180, 525, 210]
Gain "3/2"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [345, 70, 375, 100]
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [345, 115, 375, 145]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [415, 176, 430, 214]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [415, 226, 430, 259]
InputSameDT off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [440, 93, 470, 122]
Input "Real and imag"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [265, 75, 285, 95]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [295, 120, 315, 140]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [455, 185, 475, 205]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "fialfa"
Position [560, 28, 590, 42]
}
Block {
BlockType Outport
Name "fibeta"
Position [560, 63, 590, 77]
Port "2"
}
Block {
BlockType Outport
Name "fi"
Position [560, 103, 590, 117]
Port "3"
}
Block {
BlockType Outport
Name "Te"
Position [560, 188, 590, 202]
Port "4"
}
Line {
SrcBlock "Ubeta"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 150]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [15, 0]
Branch {
Points [10, 0; 0, 15]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "fialfa"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -