📄 cbldcm_4_1_ok.mdl
字号:
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk6"
Position [480, 24, 505, 46]
ShowName off
VariableName "Usn"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk7"
Position [560, 24, 610, 46]
ShowName off
VariableName "Usn_Integ"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk8"
Position [670, 109, 715, 131]
ShowName off
VariableName "ea_eb_ec"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Wk9"
Position [570, 509, 595, 531]
ShowName off
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Scope
Name "Ua_Ub_Uc"
Ports [3]
Position [365, 168, 400, 222]
Location [6, 60, 1030, 741]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "Ua"
axes2 "Ub"
axes3 "Uc"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "Ua_Ub_Uc"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Usg_Ung_Usn"
Ports [3]
Position [570, 68, 605, 132]
NamePlacement "alternate"
Location [6, 60, 1030, 741]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "Usg"
axes2 "Ung"
axes3 "Usn"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "Usg_Ung_Usn"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "ea_eb_ec"
Ports [3]
Position [680, 247, 715, 293]
Location [5, 60, 1285, 997]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "ea"
axes2 "eb"
axes3 "ec"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-22.5~-112.3~111.825"
YMax "7.5~-111.825~112.3"
SaveName "ea_eb_ec"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "ia_ib_ic"
Ports [3]
Position [680, 172, 715, 218]
Location [6, 70, 1030, 751]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "ia"
axes2 "ib"
axes3 "ic"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
YMin "-40~-40~-40"
YMax "40~40~40"
SaveName "ia_ib_ic"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "inventer1"
Ports [4, 4]
Position [150, 183, 215, 332]
TreatAsAtomicUnit off
System {
Name "inventer1"
Location [462, 138, 1006, 723]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia,ib,ic"
Position [505, 133, 535, 147]
Orientation "left"
ForegroundColor "magenta"
}
Block {
BlockType Inport
Name "Vcc"
Position [55, 33, 85, 47]
ForegroundColor "magenta"
Port "2"
}
Block {
BlockType Inport
Name "Gnd"
Position [55, 68, 85, 82]
ForegroundColor "magenta"
Port "3"
}
Block {
BlockType Inport
Name "PWM"
Position [115, 168, 145, 182]
Orientation "left"
ForegroundColor "magenta"
Port "4"
}
Block {
BlockType Reference
Name "CCSA1"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [410, 47, 440, 78]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/Controlled Cu"
"rrent Source"
SourceType "Controlled Current Source"
initsrc off
srctyp "AC"
ia "0"
iph "0"
freq "0"
mesure "Current"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "CCSA2"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [410, 124, 445, 151]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/Controlled Cu"
"rrent Source"
SourceType "Controlled Current Source"
initsrc off
srctyp "AC"
ia "0"
iph "0"
freq "0"
mesure "Current"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "CCSA3"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 2]
Position [415, 194, 445, 221]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/Controlled Cu"
"rrent Source"
SourceType "Controlled Current Source"
initsrc off
srctyp "AC"
ia "0"
iph "0"
freq "0"
mesure "Current"
PSBOutputType "11"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [465, 88, 470, 192]
Orientation "left"
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "R1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [275, 18, 335, 42]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "100000"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "R2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [275, 88, 335, 112]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "100000"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "R3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [275, 158, 335, 182]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "100000"
b "0"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [240, 20, 260, 40]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [350, 20, 370, 40]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [245, 90, 265, 110]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [350, 90, 370, 110]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector4"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [240, 160, 260, 180]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector5"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [355, 160, 375, 180]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector6"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [370, 160, 390, 180]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector7"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [370, 90, 390, 110]
Orientation "down"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Universal Bridge"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [130, 21, 195, 129]
SourceBlock "powerlib2/Power\nElectronics/Universal Brid"
"ge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1e5"
cf "1e-6"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0 0 ]"
Vf "0"
gtoparameters "[ 10e-6 , 20e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "All voltages and currents"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [250, 273, 280, 302]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [255, 343, 285, 372]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [255, 398, 285, 427]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType SubSystem
Name "Voltage Measurement3"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [405, 243, 435, 272]
AncestorBlock "powerlib2/Measurements/Voltage Measurement"
CopyFcn "powericon('psblcfmeas',gcb,1)"
LoadFcn "powericon('psblcfmeas',gcb)"
ModelCloseFcn "powericon('loadsavedata',gcs,'close')"
InitFcn "powericon('checksum',bdroot)"
TreatAsAtomicUnit off
MaskType "Voltage Measurement"
MaskDescription "Ideal voltage measurement."
MaskHelp "web(psbhelp);"
MaskPromptString "Phasor simulation|Output signal :|Output ty"
"pe [1=PSB 0=simulink output]|Equivalent circuit"
MaskStyleString "checkbox,popup(Complex|Real-Imag|Magnitude-"
"Angle|Magnitude),edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,off,on,on"
MaskVisibilityString "off,on,off,off"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "PhasorSimulation=@1;OutputType=@2;PSBOutput"
"Type=@3;PSBequivalent=@4;"
MaskInitialization "switch OutputType\ncase 1\n OutputSelect"
"ion = 1;\n NormalMode = 2;\n PhasorMode = 1;\ncase 2\n OutputSelecti"
"on =[2,3];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 3\n OutputS"
"election =[4,5];\n NormalMode = 3;\n PhasorMode = [1,2];\ncase 4\n O"
"utputSelection =[4];\n NormalMode = 2;\n PhasorMode = 1;\nend\n%\nif Ph"
"asorSimulation\n SelectionMode = PhasorMode;\nelse\n SelectionMode = No"
"rmalMode;\nend\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "off|Magnitude|0|1"
System {
Name "Voltage Measurement3"
Location
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -