📄 svc.mdl
字号:
Position [290, 13, 320, 42]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [75, 18, 105, 47]
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [370, 160, 415, 255]
Location [5, 53, 805, 575]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-200~-200"
YMax "250~250"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Outport
Name "A "
Position [525, 28, 555, 42]
}
Block {
BlockType Outport
Name "B "
Position [525, 68, 555, 82]
Port "2"
}
Block {
BlockType Outport
Name "C "
Position [525, 108, 555, 122]
Port "3"
}
Line {
SrcBlock "B"
SrcPort 1
DstBlock " 2"
DstPort 2
}
Line {
SrcBlock "C"
SrcPort 1
Points [80, 0; 0, -25]
DstBlock " 2"
DstPort 3
}
Line {
SrcBlock " 2"
SrcPort 2
DstBlock "B "
DstPort 1
}
Line {
SrcBlock " 2"
SrcPort 3
Points [165, 0; 0, 25]
DstBlock "C "
DstPort 1
}
Line {
SrcBlock " 2"
SrcPort 1
Points [35, 0]
DstBlock "Current Measurement"
DstPort 1
}
Line {
SrcBlock "A"
SrcPort 1
DstBlock "Current Measurement2"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
DstBlock "A "
DstPort 1
}
Line {
SrcBlock "Current Measurement2"
SrcPort 1
Points [20, 0; 0, 160]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Current Measurement2"
SrcPort 2
Points [30, 0; 0, 20]
DstBlock " 2"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [25, 0; 0, 210]
DstBlock "Scope"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "PWM \nIGBT Inverter"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [340, 307, 405, 383]
BackgroundColor "lightBlue"
DropShadow on
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "5000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0.0 0.0 ]"
Vf ".8"
gtoparameters "[ 1e-6 ,1e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType SubSystem
Name "PWM_pulse"
Ports [3, 1]
Position [565, 201, 665, 269]
TreatAsAtomicUnit off
System {
Name "PWM_pulse"
Location [2, 74, 790, 555]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "a*"
Position [80, 128, 110, 142]
}
Block {
BlockType Inport
Name "b*"
Position [80, 208, 110, 222]
Port "2"
}
Block {
BlockType Inport
Name "c*"
Position [80, 288, 110, 302]
Port "3"
}
Block {
BlockType Switch
Name "1"
Position [560, 25, 590, 55]
InputSameDT off
}
Block {
BlockType Switch
Name "2"
Position [560, 225, 590, 255]
InputSameDT off
}
Block {
BlockType Switch
Name "3"
Position [560, 385, 590, 415]
InputSameDT off
}
Block {
BlockType Switch
Name "4"
Position [560, 170, 590, 200]
InputSameDT off
}
Block {
BlockType Switch
Name "5"
Position [560, 325, 590, 355]
InputSameDT off
}
Block {
BlockType Switch
Name "6"
Position [560, 80, 590, 110]
InputSameDT off
}
Block {
BlockType Scope
Name "7"
Ports [6]
Position [695, 53, 730, 152]
Location [5, 53, 805, 575]
Open off
NumInputPorts "6"
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 "-2~-2~-2~-2~-2~-2"
YMax "2~2~2~2~2~2"
DataFormat "StructureWithTime"
}
Block {
BlockType BusCreator
Name "Bus\nCreator"
Ports [6, 1]
Position [640, 58, 645, 397]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "Constant"
Position [340, 15, 370, 45]
}
Block {
BlockType Constant
Name "Constant1"
Position [340, 395, 370, 425]
Value "0"
}
Block {
BlockType Relay
Name "Relay"
Position [340, 120, 370, 150]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay1"
Position [340, 200, 370, 230]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay2"
Position [340, 280, 370, 310]
OffOutputValue "-1"
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [80, 375, 110, 405]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
rep_seq_t "[-0.0005 0 0.0005]"
rep_seq_y "[10 -10 10]"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 125, 195, 145]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [215, 205, 235, 225]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [260, 285, 280, 305]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "PWM_pulse"
Position [725, 223, 755, 237]
}
Line {
SrcBlock "a*"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "b*"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "c*"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Repeating\nSequence1"
SrcPort 1
Points [70, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 0; 40, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [45, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "1"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
DstBlock "6"
DstPort 3
}
Branch {
Points [0, 90]
Branch {
DstBlock "4"
DstPort 3
}
Branch {
Points [0, 35]
Branch {
DstBlock "2"
DstPort 1
}
Branch {
Points [0, 120]
Branch {
DstBlock "5"
DstPort 3
}
Branch {
Points [0, 40]
DstBlock "3"
DstPort 1
}
}
}
}
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "3"
DstPort 3
}
Branch {
Points [0, -80]
Branch {
Points [0, 0]
DstBlock "5"
DstPort 1
}
Branch {
Points [0, -80]
Branch {
Points [0, -75]
Branch {
Points [0, -90]
Branch {
Points [0, -35]
DstBlock "1"
DstPort 3
}
Branch {
DstBlock "6"
DstPort 1
}
}
Branch {
DstBlock "4"
DstPort 1
}
}
Branch {
DstBlock "2"
DstPort 3
}
}
}
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [75, 0]
Branch {
Points [0, 50]
DstBlock "4"
DstPort 2
}
Branch {
Points [0, -95]
DstBlock "1"
DstPort 2
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [75, 0; 0, 25]
Branch {
DstBlock "2"
DstPort 2
}
Branch {
Points [0, 100]
DstBlock "5"
DstPort 2
}
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [100, 0]
Branch {
Points [0, 105]
DstBlock "3"
DstPort 2
}
Branch {
Points [0, -200]
DstBlock "6"
DstPort 2
}
}
Line {
SrcBlock "Bus\nCreator"
SrcPort 1
DstBlock "PWM_pulse"
DstPort 1
}
Line {
SrcBlock "1"
SrcPort 1
Points [15, 0; 0, 25]
Branch {
Points [0, 25]
DstBlock "Bus\nCreator"
DstPort 1
}
Branch {
DstBlock "7"
DstPort 1
}
}
Line {
SrcBlock "6"
SrcPort 1
Points [15, 0; 0, 45]
Branch {
Points [0, 225]
DstBlock "Bus\nCreator"
DstPort 6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -