📄 fangzhen.mdl
字号:
Ports [1, 6]
Position [525, 3, 535, 82]
BackgroundColor "black"
ShowName off
Outputs "6"
}
Block {
BlockType Fcn
Name "Fcn"
Position [560, 360, 620, 390]
Orientation "left"
NamePlacement "alternate"
Expr "2*34.7e-3*u(1)*u(2)/0.8e-3"
}
Block {
BlockType Gain
Name "Gain"
Position [475, 480, 505, 510]
Orientation "left"
NamePlacement "alternate"
Gain "30/(pi*2)"
}
Block {
BlockType Reference
Name "IGBT Inverter"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [615, 127, 680, 193]
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0.8 0.8 ]"
Vf ".8"
gtoparameters "[ 1e-6 , 1e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Induction Motor\n"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [715, 127, 790, 213]
NamePlacement "alternate"
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Stationary"
x1 "[ 3*746, 460, 50 ]"
x2 "[0.087 0.8e-3]"
x3 "[0.228 0.8e-3]"
x4 "34.7e-3"
x5 "[0.089 0.1 2 ]"
x6 "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
PSBOutputType "1110"
iounits "1"
LoadFlowParameters "0"
}
Block {
BlockType Constant
Name "Load_torque "
Position [640, 213, 670, 237]
NamePlacement "alternate"
Value "3"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn2"
Position [365, 160, 425, 190]
MATLABFcn "sqrt(2/3)*[cos(u(3)),-sin(u(3));cos(u(3)-(2*pi)"
"/3),-sin(u(3)-(2*pi)/3);cos(u(3)+(2*pi)/3),-sin(u(3)+(2*pi)/3)]*[u(1),u(2)]'"
OutputDimensions "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [675, 345, 680, 385]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [335, 144, 345, 226]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [655, 529, 685, 561]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-160"
YMax "-60"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [930, 91, 960, 124]
Location [5, 53, 1029, 741]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-5~-5"
YMax "5~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope10"
Ports [1]
Position [630, 289, 660, 321]
Location [5, 53, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-1"
YMax "1"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [6]
Position [610, 17, 645, 83]
Location [5, 53, 1029, 741]
Open off
NumInputPorts "6"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
axes5 ""
axes6 ""
}
YMin "0~0~0~0~0~0"
YMax "1~1~1~1~1~1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [385, 204, 415, 236]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-205"
YMax "-155"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [950, 194, 980, 226]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-125"
YMax "-82.5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [330, 59, 360, 91]
Location [1, 49, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "267.66"
YMax "267.66"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [380, 289, 410, 321]
Location [5, 53, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "207"
YMax "225"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [460, 79, 490, 111]
Location [5, 53, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-300"
YMax "300"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [935, 469, 965, 501]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-125"
YMax "-82.5"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [245, 219, 275, 251]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "40"
YMax "40"
SaveName "ScopeData9"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 4]
Position [750, 300, 790, 460]
Orientation "left"
TreatAsAtomicUnit off
MaskType "以定子三相电流和转速作为输入的磁通模型"
MaskPromptString "Lr|Rr|Lm"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Lr=@1;Rr=@2;Lm=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.8e-3|0.228|34.7e-3"
System {
Name "Subsystem"
Location [144, 355, 863, 621]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [655, 53, 685, 67]
Orientation "left"
}
Block {
BlockType Inport
Name "In2"
Position [655, 73, 685, 87]
Orientation "left"
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [655, 93, 685, 107]
Orientation "left"
Port "3"
}
Block {
BlockType Inport
Name "In4"
Position [250, 208, 280, 222]
Orientation "left"
Port "4"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [490, 49, 495, 91]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "2"
}
Block {
BlockType Gain
Name "Gain"
Position [300, 50, 330, 80]
Orientation "left"
NamePlacement "alternate"
Gain "Lm"
}
Block {
BlockType Gain
Name "Gain1"
Position [350, 120, 380, 150]
Orientation "down"
NamePlacement "alternate"
Gain "Lr/Rr"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [110, 189, 140, 221]
Orientation "left"
NamePlacement "alternate"
InitialCondition "0.001"
UpperSaturationLimit "5"
LowerSaturationLimit "-5"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn2"
Position [535, 55, 595, 85]
Orientation "left"
NamePlacement "alternate"
MATLABFcn "(sqrt(2/3))*[cos(u(1)),cos(u(1)-2*pi/3),cos"
"(u(1)+2*pi/3);sin(u(1)),sin(u(1)-2*pi/3),sin(u(1)+2*pi/3)]*[u(2),u(3),u(4)]'"
OutputDimensions "2"
Output1D off
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [620, 28, 630, 112]
Orientation "left"
NamePlacement "alternate"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [280, 175, 330, 210]
Orientation "left"
NamePlacement "alternate"
Inputs "*/"
InputSameDT off
}
Block {
BlockType Saturate
Name "Saturation"
Position [155, 190, 185, 220]
Orientation "left"
NamePlacement "alternate"
UpperLimit "1500"
LowerLimit "-1500"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [200, 182, 210, 213]
Orientation "left"
NamePlacement "alternate"
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [375, 45, 435, 85]
Orientation "left"
NamePlacement "alternate"
Denominator "[Lr/Rr 1]"
}
Block {
BlockType Outport
Name "fr"
Position [185, 75, 215, 85]
Orientation "left"
NamePlacement "alternate"
}
Block {
BlockType Outport
Name "it"
Position [395, 120, 425, 130]
Orientation "left"
NamePlacement "alternate"
Port "2"
}
Block {
BlockType Outport
Name "im"
Position [440, 40, 470, 50]
Orientation "left"
NamePlacement "alternate"
Port "3"
}
Block {
BlockType Outport
Name "0m"
Position [20, 200, 50, 210]
Orientation "left"
NamePlacement "alternate"
Port "4"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "MATLAB Fcn2"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [-10, 0]
Branch {
Points [-30, 0; 0, 5]
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "im"
DstPort 1
}
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -