📄 s3.mdl
字号:
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "ics"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [15, 0; 0, 55]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [15, 0; 0, -55]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "ibs"
DstPort 1
}
Line {
SrcBlock "i0s"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "iqs"
SrcPort 1
Points [10, 0; 0, 15]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ids"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Integrator
Name "thetar"
Position [765, 248, 795, 282]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "vag"
Position [410, 155, 430, 175]
Gain "500*Zb"
}
Block {
BlockType Gain
Name "vbg"
Position [410, 205, 430, 225]
Gain "500*Zb"
}
Block {
BlockType Gain
Name "vcg"
Position [410, 255, 430, 275]
Gain "500*Zb"
}
Block {
BlockType Gain
Name "wb"
Position [705, 252, 735, 278]
Gain "wb"
}
Block {
BlockType SubSystem
Name "wref in pu"
Position [85, 122, 120, 138]
Orientation left
ShowPortLabels on
MaskType "Repeating table"
MaskDescription "Repeating table."
MaskHelp "Repeats cycle given in table. Time values "
"should be monotonically increasing."
MaskPromptString "Time values:|Output values:"
MaskStyleString "edit,edit"
MaskVariables "rep_seq_t=@1;rep_seq_y=@2;"
MaskInitialization "period = max(rep_seq_t);\n"
MaskDisplay "plot([rep_seq_t,rep_seq_t+period,rep_seq_t+2*per"
"iod,rep_seq_t(1)+3*period],[rep_seq_y,rep_seq_y,"
"rep_seq_y,rep_seq_y(1)])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "time_wref|speed_wref"
System {
Name "wref in pu"
Location [382, 166, 692, 322]
Open off
ScreenColor white
Block {
BlockType Clock
Name "Clock"
Position [45, 60, 65, 80]
DeleteFcn "simclock BlockIsBeingDestroyed"
PostSaveFcn "simclock Save"
Location [30, 40, 110, 80]
}
Block {
BlockType Fcn
Name "Fcn1"
Position [110, 60, 150, 80]
Expr "rem(u[1],period)"
}
Block {
BlockType Lookup
Name "Look-Up Table"
Position [210, 58, 250, 82]
InputValues "rep_seq_t"
OutputValues "rep_seq_y"
}
Block {
BlockType Outport
Name "out_1"
Position [285, 60, 305, 80]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Look-Up Table"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "Look-Up Table"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Line {
SrcBlock "wref in pu"
SrcPort 1
Points [0, 0]
Branch {
Points [-40, 0; 0, -25; 210, 0]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [-40, 0; 0, 45]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Tmech"
SrcPort 1
Points [35, 0]
DstBlock "induction machine\nin stationary qd0"
DstPort 4
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -25]
DstBlock "Selector"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "To Workspace"
DstPort 1
}
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Torque\nController"
DstPort 1
}
Line {
SrcBlock "Torque\nController"
SrcPort 1
DstBlock "Field_Orient"
DstPort 1
}
Line {
SrcBlock "vag"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, -40; -25, 0]
DstBlock "Mux"
DstPort 4
}
Branch {
Points [10, 0; 0, 25]
DstBlock "abc2qds"
DstPort 1
}
}
Line {
SrcBlock "vcg"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "abc2qds"
DstPort 3
}
Line {
SrcBlock "vbg"
SrcPort 1
DstBlock "abc2qds"
DstPort 2
}
Line {
SrcBlock "Field\nWeakening"
SrcPort 1
Points [10, 0; 0, -70]
DstBlock "Field_Orient"
DstPort 2
}
Line {
SrcBlock "Rotor flux \nmagnitude"
SrcPort 1
Points [5, 0; 0, -285; -165, 0]
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 4
Points [10, 0; 0, -140; -50, 0]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "qde2abc"
SrcPort 2
DstBlock "Sa1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [20, 0]
DstBlock "Rotor flux \nmagnitude"
DstPort 1
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 7
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 6
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Sa2"
SrcPort 1
DstBlock "vcg"
DstPort 1
}
Line {
SrcBlock "Sa"
SrcPort 1
DstBlock "vag"
DstPort 1
}
Line {
SrcBlock "Sa1"
SrcPort 1
DstBlock "vbg"
DstPort 1
}
Line {
SrcBlock "2/P"
SrcPort 1
Points [0, 0]
Branch {
Points [-270, 0; 0, -265; 310, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
Points [-250, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [-225, 0; 0, -85]
DstBlock "Field\nWeakening"
DstPort 1
}
}
Line {
SrcBlock "wb"
SrcPort 1
Points [0, 0]
Branch {
Points [10, 0; 0, 110]
DstBlock "2/P"
DstPort 1
}
Branch {
DstBlock "thetar"
DstPort 1
}
}
Line {
SrcBlock "thetar"
SrcPort 1
Points [0, 80; -640, 0; 0, -90]
DstBlock "Field_Orient"
DstPort 3
}
Line {
SrcBlock "qds2abc"
SrcPort 3
Points [0, 0]
Branch {
Points [20, 0; 0, -105; -425, 0; 0, 140]
DstBlock "Sa2"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 3
}
}
Line {
SrcBlock "qds2abc"
SrcPort 2
Points [0, 0]
Branch {
Points [5, 0; 0, -70; -405, 0; 0, 75]
DstBlock "Sa1"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "qds2abc"
SrcPort 1
Points [0, 0]
Branch {
Points [0, -35; -240, 0]
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, -35; -395, 0; 0, 10]
DstBlock "Sa"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "qde2abc"
SrcPort 3
Points [5, 0; 0, 20]
DstBlock "Sa2"
DstPort 2
}
Line {
SrcBlock "qde2abc"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Sa"
DstPort 2
}
Line {
SrcBlock "Field_Orient"
SrcPort 4
DstBlock "qde2abc"
DstPort 4
}
Line {
SrcBlock "Field_Orient"
SrcPort 3
DstBlock "qde2abc"
DstPort 3
}
Line {
SrcBlock "Field_Orient"
SrcPort 2
DstBlock "qde2abc"
DstPort 2
}
Line {
SrcBlock "Field_Orient"
SrcPort 1
DstBlock "qde2abc"
DstPort 1
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 5
DstBlock "wb"
DstPort 1
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 3
DstBlock "qds2abc"
DstPort 3
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 2
DstBlock "qds2abc"
DstPort 2
}
Line {
SrcBlock "induction machine\nin stationary qd0"
SrcPort 1
DstBlock "qds2abc"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 2
DstBlock "induction machine\nin stationary qd0"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0; 0, 155; -365, 0; 0, -95]
DstBlock "abc2qds"
DstPort 4
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 1
DstBlock "induction machine\nin stationary qd0"
DstPort 1
}
Line {
SrcBlock "abc2qds"
SrcPort 3
DstBlock "induction machine\nin stationary qd0"
DstPort 3
}
Annotation {
Position [107, 7]
VerticalAlignment top
Text "Current regulated pwm\nfield-oriented controlled"
"\ninduction motor drive"
}
Annotation {
Position [162, 167]
VerticalAlignment top
Text "Tem*"
}
Annotation {
Position [247, 217]
VerticalAlignment top
Text "cos_rho"
}
Annotation {
Position [242, 167]
VerticalAlignment top
Text "iqs^e*"
}
Annotation {
Position [57, 117]
VerticalAlignment top
Text "wref"
}
Annotation {
Position [162, 362]
VerticalAlignment top
Text "wrm"
}
Annotation {
Position [207, 329]
VerticalAlignment top
Text "thetar_"
}
Annotation {
Position [242, 193]
VerticalAlignment top
Text "ids^e*"
}
Annotation {
Position [782, 212]
VerticalAlignment top
Text "ics"
}
Annotation {
Position [782, 192]
VerticalAlignment top
Text "ibs"
}
Annotation {
Position [782, 172]
VerticalAlignment top
Text "ias"
}
Annotation {
Position [547, 182]
VerticalAlignment top
Text "vqs"
}
Annotation {
Position [547, 217]
VerticalAlignment top
Text "vds"
}
Annotation {
Position [657, 167]
VerticalAlignment top
Text "iqs"
}
Annotation {
Position [657, 192]
VerticalAlignment top
Text "ids"
}
Annotation {
Position [657, 229]
VerticalAlignment
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -