📄 buck_boost_pcm_simulink_closeloop.mdl
字号:
}
}
Block {
BlockType SubSystem
Name "Gig"
Ports [1, 1]
Position [440, 15, 480, 75]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Gig"
Location [586, 519, 866, 607]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [80, 30, 110, 60]
Gain "D"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [145, 27, 205, 63]
Numerator "[C*(rC+R) 1]"
Denominator "[C*L*(R+rC) (R+rC)*C*rp+L+D2*D2*R*C*rC rp+D"
"2*D2*R]"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 38, 255, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Gvd"
Ports [1, 1]
Position [440, 315, 480, 375]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Gvd"
Location [411, 475, 796, 563]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [80, 30, 110, 60]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [190, 27, 250, 63]
Numerator "[IL*L*rC*R*C IL*R*(rC*rp*C+L)-D2*Vp*rC*R*C "
"rp*IL*R-D2*Vp*R]"
Denominator "[C*L*(R+rC) L+C*rp*(R+rC)+rC*R*C*D2*D2 rp+D"
"2*D2*R]"
}
Block {
BlockType Outport
Name "Out1"
Position [330, 38, 360, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Gvg"
Ports [1, 1]
Position [440, 215, 480, 275]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Gvg"
Location [413, 393, 753, 481]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [110, 30, 140, 60]
Gain "-D*D2*R"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [185, 27, 245, 63]
Numerator "[C*rC 1]"
Denominator "[C*L*(R+rC) (R+rC)*rp*C+L+D2*D2*R*C*rC rp+D"
"2*D2*R]"
}
Block {
BlockType Outport
Name "Out1"
Position [285, 38, 315, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [320, 470, 350, 500]
Orientation "up"
ShowName off
IconShape "round"
Inputs "|-+--"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [570, 95, 590, 115]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [570, 285, 590, 305]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [735, 288, 765, 302]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gvg"
SrcPort 1
Points [70, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gvd"
SrcPort 1
Points [95, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Gig"
SrcPort 1
Points [70, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Fv"
SrcPort 1
DstBlock "Sum"
DstPort 4
}
Line {
SrcBlock "Fi"
SrcPort 1
Points [-24, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [60, 0; 0, 440]
DstBlock "Fi"
DstPort 1
}
Line {
SrcBlock "Fg"
SrcPort 1
Points [0, 1]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Fm"
DstPort 1
}
Line {
SrcBlock "Fm"
SrcPort 1
Points [0, -50]
Branch {
DstBlock "Gvd"
DstPort 1
}
Branch {
Points [0, -190]
DstBlock "Gid"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 190]
DstBlock "Fv"
DstPort 1
}
Branch {
Points [55, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 275]
DstBlock "Fb"
DstPort 1
}
}
}
Line {
SrcBlock "Fb"
SrcPort 1
Points [0, 45]
DstBlock "EA"
DstPort 1
}
Line {
SrcBlock "EA"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Fg"
DstPort 1
}
Branch {
Points [0, -260]
Branch {
DstBlock "Gvg"
DstPort 1
}
Branch {
Points [0, -200]
DstBlock "Gig"
DstPort 1
}
}
}
Line {
SrcBlock "Gid"
SrcPort 1
Points [95, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-105, 0]
DstBlock "Sum"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -