📄 twostageapproach.mdl
字号:
OutScaling "2^0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Pade approximation\nof 1 cycle delay"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "In"
SrcPort 1
Points [25, 0; 15, 0]
Branch {
Points [0, 60]
DstBlock "Pade approximation\nof 1 cycle delay"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
Name "Mean value"
Labels [0, 0]
SrcBlock "Integrator"
SrcPort 1
Points [10, 0; 0, 40]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [30, 0; 0, -55; -55, 0]
DstBlock "Mean"
DstPort 1
}
Annotation {
Name "|\n|\n|\n|\n|\n|\n|\n"
Position [412, 55]
}
Annotation {
Name "__________________________________________________________________"
Position [211, 84]
}
Annotation {
Name "* In"
Position [372, 42]
}
Annotation {
Name "Out = "
Position [247, 42]
}
Annotation {
Name "Implements the following expression\n(using the Pade fonction):"
Position [120, 47]
}
Annotation {
Name "T * s"
Position [312, 61]
}
Annotation {
Name "__________"
Position [312, 36]
}
Annotation {
Name "1 - exp(-T*s)"
Position [312, 21]
}
}
}
Block {
BlockType Reference
Name "Mosfet"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [825, 83, 880, 127]
Orientation "left"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Mosfet"
SourceType "Mosfet"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Ron "0.1"
Lon "0"
Rd "0.01"
Vfd "0"
IC "0"
Rs "1e5"
Cs "inf "
Measurements on
}
Block {
BlockType Reference
Name "Mosfet1"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [1043, 315, 1087, 370]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Mosfet"
SourceType "Mosfet"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Ron "0.1"
Lon "0"
Rd "0.01"
Vfd "0"
IC "0"
Rs "1e5"
Cs "inf "
Measurements on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [85, 466, 90, 504]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [525, 887, 555, 918]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [365, 1037, 395, 1068]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [1675, 17, 1705, 48]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [1360, 1017, 1390, 1048]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [910, 877, 940, 908]
InputSameDT off
LogicOutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [745, 1502, 775, 1533]
Operator "<="
InputSameDT off
LogicOutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [1645, 722, 1675, 753]
InputSameDT off
LogicOutDataTypeMode "boolean"
OutDataTypeStr "boolean"
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [825, 955, 855, 985]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
rep_seq_t "[0 1/37000/4 3/37000/4 1/37000]"
rep_seq_y "[0 1 -1 0]"
}
Block {
BlockType Reference
Name "Repeating\nSequence1"
Ports [0, 1]
Position [1600, 795, 1630, 825]
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
rep_seq_t "[0 1/37000/4 3/37000/4 1/37000]"
rep_seq_y "[0 1 -1 0]"
}
Block {
BlockType Saturate
Name "Saturation"
Position [1410, 1075, 1440, 1105]
UpperLimit "1e6"
LowerLimit "1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [455, 1110, 485, 1140]
Orientation "up"
UpperLimit "1e6"
LowerLimit "1"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [1585, 519, 1615, 551]
Floating off
Location [1, 52, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "1"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [775, 769, 805, 801]
Floating off
Location [1, 52, 1025, 737]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-0.38~0.45~0.075"
YMax "-0.34~0.9~0.55"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope10"
Ports [3]
Position [510, 769, 540, 801]
Floating off
Location [6, 52, 1030, 737]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-7.5~0.005~-1"
YMax "40~0.055~1"
SaveName "ScopeData10"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope11"
Ports [1]
Position [680, 18, 710, 52]
Orientation "left"
NamePlacement "alternate"
Floating off
Location [5, 56, 1021, 733]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "30"
YMax "210"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope12"
Ports [1]
Position [1735, 29, 1765, 61]
Floating off
Location [6, 52, 1030, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "680"
YMax "790"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope13"
Ports [1]
Position [365, 714, 395, 746]
Floating off
Location [5, 52, 1029, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0"
YMax "3000"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope14"
Ports [1]
Position [1630, 54, 1660, 86]
Floating off
Location [5, 52, 1029, 737]
Open off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -