📄 buck_pcm_simulink.mdl
字号:
}
}
Block {
BlockType SubSystem
Name "Gig"
Ports [1, 1]
Position [375, 15, 415, 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/(R+rP)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [145, 27, 205, 63]
Numerator "[(rC+R)*C 1]"
Denominator "[(R+rC)*C*L/(R+rP) (R*rC*C+rP*C*(R+rC)+L)/("
"R+rP) 1]"
}
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 [375, 315, 415, 375]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Gvd"
Location [555, 598, 940, 686]
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 "R*(Vg+VD+IL*rD-IL*rS-IL*rg)/(R+rP)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [190, 27, 250, 63]
Numerator "[rC*C 1]"
Denominator "[(R+rC)*C*L/(R+rP) (rC*C+rP*C*(R+rC)+L)/(R+"
"rP) 1]"
}
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 [375, 215, 415, 275]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Gvg"
Location [180, 415, 520, 503]
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*R/(R+rP)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [185, 27, 245, 63]
Numerator "[rC*C 1]"
Denominator "[(R+rC)*C*L/(R+rP) (rC*C+rP*C*(R+rC)+L)/(R+"
"rP) 1]"
}
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 [255, 470, 285, 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 [505, 95, 525, 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 [505, 285, 525, 305]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "V(t)"
Position [670, 288, 700, 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, 0; 0, -50]
Branch {
DstBlock "Gvd"
DstPort 1
}
Branch {
Points [0, -190]
DstBlock "Gid"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, 190]
DstBlock "Fv"
DstPort 1
}
Branch {
DstBlock "V(t)"
DstPort 1
}
}
Line {
SrcBlock "Vg(t)"
SrcPort 1
Points [0, 0; 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 "EA"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-70, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Fb"
SrcPort 1
DstBlock "EA"
DstPort 1
}
Line {
SrcBlock "V(t)1"
SrcPort 1
DstBlock "Fb"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -