📄 sigma2nd_d.mdl
字号:
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch11"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [125, 430, 165, 470]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch12"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [120, 600, 160, 640]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch2"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [235, 175, 275, 215]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch3"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [595, 295, 635, 335]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch4"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [235, 260, 275, 300]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch5"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [450, 175, 490, 215]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch6"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [450, 260, 490, 300]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch7"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [125, 135, 165, 175]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch8"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [120, 305, 160, 345]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch9"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [235, 470, 275, 510]
Orientation "up"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal S"
"witch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "Ron"
Lon "1e-9"
IC "1"
Rs "0"
Cs "0"
Measurements off
}
Block {
BlockType SubSystem
Name "Invert"
Ports [1, 1]
Position [120, 26, 170, 64]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Invert"
Location [438, 173, 818, 383]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 98, 45, 112]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [75, 91, 130, 119]
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion1"
Position [230, 91, 285, 119]
OutDataTypeMode "double"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [175, 90, 205, 120]
NamePlacement "alternate"
Operator "NOT"
AllPortsSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [310, 97, 340, 113]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Data Type Conversion1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type Conversion1"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "R1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [452, 365, 488, 395]
Orientation "up"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1e9"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "R2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [522, 365, 558, 395]
Orientation "up"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1e9"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType SubSystem
Name "opamp"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [710, 157, 765, 213]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "break freq 2 in Hz|break freq 1 in "
"Hz|Av (voltage gain)|Min Output|Max Output|slew rate (v/s)"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "f2=@1;f1=@2;Av=@3;v_min=@4;v_max=@5"
";slew_rate=@6;"
MaskDisplay "plot([0 1 0 0] , [1 0 -1 1 ]); text"
"(0.15,0.4,'+'); text(0.15,-0.4,'-');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Fb1|Fb2|Avol|-Vs|Vs|Slew"
MaskTabNameString ",,,,,"
System {
Name "opamp"
Location [301, 469, 1213, 815]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Controlled Voltage Source"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [620, 56, 660, 109]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Cont"
"rolled Voltage Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType RateLimiter
Name "Rate Limiter"
Position [370, 30, 475, 90]
RisingSlewLimit "slew_rate"
FallingSlewLimit "-slew_rate"
}
Block {
BlockType Saturate
Name "Saturation"
Position [495, 33, 575, 87]
UpperLimit "v_max"
LowerLimit "v_min"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [150, 34, 225, 86]
ShowName off
Numerator "sqrt(Av)"
Denominator "[1/(2*pi*f1),1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [255, 33, 335, 87]
ShowName off
Numerator "sqrt(Av)"
Denominator "[1/(2*pi*f2),1]"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [80, 48, 105, 72]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Mea"
"surement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "inp"
Position [20, 28, 50, 42]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "inn"
Position [20, 98, 50, 112]
Port "2"
Side "Left"
}
Block {
BlockType PMIOPort
Name "outn"
Position [705, 118, 735, 132]
Orientation "left"
Port "3"
Side "Right"
}
Block {
BlockType PMIOPort
Name "outp"
Position [705, 73, 735, 87]
Orientation "left"
Port "4"
Side "Right"
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Rate Limiter"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "outn"
SrcPort RConn1
Points [-85, 0]
DstBlock "Controlled Voltage Source"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "inn"
SrcPort RConn1
Points [0, 0]
DstBlock "Voltage Measurement"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "outp"
SrcPort RConn1
Points [0, 0]
DstBlock "Controlled Voltage Source"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "inp"
SrcPort RConn1
Points [
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -