📄 shiliang.mdl
字号:
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "685"
YMax "735"
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 [142, 116, 861, 382]
Open off
ModelBrowserVisibility on
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 [280, 50, 310, 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 [295, 177, 345, 213]
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 [205, 182, 215, 213]
Orientation "left"
NamePlacement "alternate"
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [355, 45, 415, 85]
Orientation "left"
NamePlacement "alternate"
Denominator "[Lr/Rr 1]"
}
Block {
BlockType Outport
Name "fr"
Position [165, 75, 195, 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 [10, 0]
DstBlock "im"
DstPort 1
}
Branch {
Points [-30, 0; 0, 5]
DstBlock "Transfer Fcn"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; -15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [30, 0]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 30]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [-25, 0]
Branch {
Points [-20, 0]
DstBlock "it"
DstPort 1
}
Branch {
Points [-5, 0; 0, 120; -95, 0]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-45, 0; 0, -5]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, -5; -10, 0]
Branch {
Points [0, -45; 595, 0; 0, -115]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "0m"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-65, 0]
DstBlock "fr"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "In4"
SrcPort 1
Points [0, -10]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Universal Bridge\n3 arms"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [610, 101, 670, 179]
BackgroundColor "lightBlue"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "10000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-4"
Lon "0"
VFs "[ 1 1 ]"
Vf ".8"
gtoparameters "[ 10e-6 , 20e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Vdc = 400 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [540, 135, 560, 170]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "400"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Constant
Name "cilian "
Position [65, 135, 95, 165]
Value "0.96"
}
Block {
BlockType SubSystem
Name "dianliutiaojie"
Ports [2, 1]
Position [470, 151, 535, 209]
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskType "Regulateur de courant a hysteresis"
MaskPromptString "Hysteresis band (A)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "h=@1;"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10"
System {
Name "dianliutiaojie"
Location [227, 450, 691, 644]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc*"
Position [25, 128, 55, 142]
}
Block {
BlockType Inport
Name "Iabc"
Position [25, 33, 55, 47]
Port "2"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [260, 44, 280, 66]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [345, 44, 365, 66]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [345, 94, 365, 116]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [345, 144, 365, 166]
ShowName off
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [250, 94, 270, 116]
ShowName off
DataType "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [250, 144, 270, 166]
ShowName off
DataType "boolean"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [85, 20, 90, 60]
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [85, 115, 90, 155]
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [295, 45, 325, 65]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [290, 95, 320, 115]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [290, 145, 320, 165]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [400, 15, 405, 170]
ShowName off
Inputs "6"
}
Block {
BlockType Relay
Name "Relay"
Position [200, 17, 220, 43]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay1"
Position [200, 67, 220, 93]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay2"
Position [200, 117, 220, 143]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 19, 180, 41]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [160, 69, 180, 91]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [160, 119, 180, 141]
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Pulses"
Position [425, 88, 455, 102]
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Demux1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -