📄 double_spwm.mdl
字号:
}
Line {
SrcBlock "Vabc"
SrcPort 1
DstBlock "Vmes"
DstPort 1
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "IdIq"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "PLL"
Ports [1, 3]
Position [295, 39, 365, 111]
DropShadow on
SourceBlock "powerlib_extras/Discrete \nControl "
"Blocks/Discrete\n3-phase PLL"
SourceType "Discrete 3-phase PLL"
ShowPortLabels on
Fmin "45"
Par_Init "[-45 60]"
ParK "[60 1400]"
Ts "Ts"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [715, 130, 745, 160]
ShowName off
UpperLimit "600"
LowerLimit "-600"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [715, 175, 745, 205]
ShowName off
UpperLimit "600"
LowerLimit "-600"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [185, 29, 215, 61]
Location [5, 47, 1029, 741]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-0.07"
YMax "0.08"
SaveName "ScopeData31"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [180, 194, 210, 226]
Location [5, 54, 1029, 748]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-7"
YMax "8"
SaveName "ScopeData42"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [565, 259, 595, 291]
Location [5, 54, 1029, 748]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "1.2"
YMax "1.2"
SaveName "ScopeData43"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [175, 239, 205, 271]
Location [5, 54, 1029, 748]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-1.375"
YMax "-1.05"
SaveName "ScopeData44"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 3]
Position [80, 100, 145, 180]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [157, 106, 552, 698]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vabc"
Position [30, 108, 60, 122]
Port "1"
IconDisplay "Port number"
PortDimensions "3"
LatchInput off
}
Block {
BlockType Inport
Name "Iabc "
Position [30, 348, 60, 362]
Port "2"
IconDisplay "Port number"
PortDimensions "3"
LatchInput off
}
Block {
BlockType Inport
Name "Vdc "
Position [25, 538, 55, 552]
Port "3"
IconDisplay "Port number"
PortDimensions "1"
LatchInput off
}
Block {
BlockType Reference
Name "2nd-Order\nFilter"
Ports [1, 1]
Position [170, 25, 225, 65]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 2000 0.2]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter1"
Ports [1, 1]
Position [170, 95, 225, 135]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 5000 0.1]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter2"
Ports [1, 1]
Position [170, 170, 225, 210]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 5000 0.1]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter3"
Ports [1, 1]
Position [170, 270, 225, 310]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 2000 0.2]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter4"
Ports [1, 1]
Position [170, 340, 225, 380]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 5000 0.1]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter5"
Ports [1, 1]
Position [170, 415, 225, 455]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 5000 0.1]"
}
Block {
BlockType Reference
Name "2nd-Order\nFilter6"
Ports [1, 1]
Position [165, 525, 220, 565]
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete \n2nd-Order\nFilter"
SourceType "Discrete 2nd-Order Filter"
ShowPortLabels on
FilterType "Lowpass"
Fo "750"
Zeta "0.707"
Ts "Ts"
Initialize off
Vac_Init "[0.8 -25 60]"
Vdc_Init "-0.4"
PlotResponse off
param1 "[1 5000 0.1]"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [105, 78, 110, 152]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [105, 323, 110, 397]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [285, 78, 290, 152]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [285, 323, 290, 397]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name " Vabc*"
Position [330, 108, 360, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Iabc*"
Position [330, 348, 360, 362]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name " Vdc*"
Position [340, 538, 370, 552]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [10, 0; 0, -5]
DstBlock "Iabc*"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "2nd-Order\nFilter4"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [40, 0]
DstBlock "2nd-Order\nFilter5"
DstPort 1
}
Line {
SrcBlock "2nd-Order\nFilter5"
SrcPort 1
Points [40, 0]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "2nd-Order\nFilter4"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "2nd-Order\nFilter3"
SrcPort 1
Points [40, 0]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [25, 0; 0, -45]
DstBlock "2nd-Order\nFilter3"
DstPort 1
}
Line {
SrcBlock "Iabc "
SrcPort 1
Points [20, 0; 0, 5]
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "2nd-Order\nFilter1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [40, 0]
DstBlock "2nd-Order\nFilter2"
DstPort 1
}
Line {
SrcBlock "2nd-Order\nFilter2"
SrcPort 1
Points [40, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "2nd-Order\nFilter1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "2nd-Order\nFilter6"
SrcPort 1
DstBlock " Vdc*"
DstPort 1
}
Line {
SrcBlock "Vdc "
SrcPort 1
DstBlock "2nd-Order\nFilter6"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock " Vabc*"
DstPort 1
}
Line {
SrcBlock "2nd-Order\nFilter"
SrcPort 1
Points [40, 0]
DstBlock "Mux"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -