📄 tppfc.mdl
字号:
SrcBlock "Integrator"
SrcPort 1
Points [55, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "in"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "ref\n"
SrcPort 1
Points [45, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "PI\n1"
Ports [2, 1]
Position [345, 270, 385, 330]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "PI\n1"
Location [107, 428, 707, 590]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ref\n"
Position [25, 93, 55, 107]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [305, 105, 335, 135]
IgnoreLimit off
}
Block {
BlockType Gain
Name "Ki"
Position [200, 105, 230, 135]
Gain "0.000305"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Kp"
Position [200, 25, 230, 55]
Gain "0.0189"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [455, 25, 485, 55]
UpperLimit "0.05"
LowerLimit "-0.05"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [385, 30, 405, 50]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [95, 30, 115, 50]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [545, 33, 575, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Kp"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Ki"
DstPort 1
}
}
Line {
SrcBlock "Kp"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Ki"
SrcPort 1
Points [0, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [55, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "in"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "ref\n"
SrcPort 1
Points [45, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "PI\n2"
Ports [2, 1]
Position [95, 185, 135, 245]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "PI\n2"
Location [2, 82, 1270, 977]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ref\n"
Position [25, 93, 55, 107]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [305, 105, 335, 135]
IgnoreLimit off
}
Block {
BlockType Gain
Name "Ki"
Position [200, 105, 230, 135]
Gain "0.00066"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Kp"
Position [200, 25, 230, 55]
Gain "0.00175"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [455, 25, 485, 55]
UpperLimit "7"
LowerLimit "2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [385, 30, 405, 50]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [95, 30, 115, 50]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [545, 33, 575, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Kp"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Ki"
DstPort 1
}
}
Line {
SrcBlock "Kp"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Ki"
SrcPort 1
Points [0, 0]
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [55, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "in"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "ref\n"
SrcPort 1
Points [45, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [225, 252, 255, 283]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [225, 327, 255, 358]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [545, 152, 585, 228]
Floating off
Location [5, 52, 1277, 985]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.02 "
YMin "0.0475~-20.75~-475"
YMax "0.0525~-20.45~-225"
SaveToWorkspace on
SaveName "svpwm_Vph5"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [3]
Position [180, 427, 220, 503]
Floating off
Location [5, 47, 1285, 765]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.024"
YMin "-250~225~-475"
YMax "250~475~-225"
SaveToWorkspace on
SaveName "svpwm_Vph6"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [3]
Position [680, 152, 720, 228]
Floating off
Location [5, 52, 1277, 985]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.02 "
YMin "-0.1795~-0.2204~-1"
YMax "-0.1787~-0.218~1"
SaveToWorkspace on
SaveName "svpwm_Vph3"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [3]
Position [540, 332, 580, 408]
Floating off
Location [1, 52, 1273, 985]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.02"
YMin "-250~225~-475"
YMax "250~475~-225"
SaveToWorkspace on
SaveName "svpwm_Vph7"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope5"
Ports [3]
Position [225, 142, 265, 218]
Floating off
Location [5, 48, 1285, 989]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "0.12"
YMin "1.6~225~-475"
YMax "3~475~-225"
SaveToWorkspace on
SaveName "svpwm_Vph8"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [620, 68, 650, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [630, 288, 660, 302]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PI\n2"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -