📄 xistor_2.mdl
字号:
BlockType Outport
Name "Excitation"
Position [300, 233, 330, 247]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Mag"
Position [475, 63, 505, 77]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Phase"
Position [480, 123, 510, 137]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "anti alias"
SrcPort 1
DstBlock "sampler"
DstPort 1
}
Line {
SrcBlock "Reference "
SrcPort 1
DstBlock "anti alias"
DstPort 1
}
Line {
SrcBlock "anti alias1"
SrcPort 1
DstBlock "sampler1"
DstPort 1
}
Line {
SrcBlock "Response"
SrcPort 1
DstBlock "anti alias1"
DstPort 1
}
Line {
SrcBlock "Uniform Random\nNumber"
SrcPort 1
DstBlock "anti alias2"
DstPort 1
}
Line {
SrcBlock "anti alias2"
SrcPort 1
DstBlock "Excitation"
DstPort 1
}
Line {
SrcBlock "sampler"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Transfer Function"
DstPort 1
}
Line {
SrcBlock "sampler1"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "Transfer Function"
DstPort 2
}
Line {
SrcBlock "Transfer Function"
SrcPort 1
DstBlock "Mag"
DstPort 1
}
Line {
SrcBlock "Transfer Function"
SrcPort 2
DstBlock "Phase"
DstPort 1
}
Annotation {
Name "Bandlimited Excitation"
Position [216, 199]
}
}
}
Block {
BlockType Reference
Name "CVS"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [260, 163, 305, 212]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled Voltage"
" Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
Initialize off
SourceType "AC"
Amplitude "100"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Collector Load"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [510, 220, 560, 260]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "100"
Inductance "inf"
Capacitance "1e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "Emitter Z "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [400, 255, 450, 295]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "47"
Inductance "inf"
Capacitance "5.6e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "Ground "
Ports [0, 0, 0, 0, 0, 1]
Position [410, 360, 440, 390]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground 1"
Ports [0, 0, 0, 0, 0, 1]
Position [245, 115, 275, 145]
Orientation "down"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Magnitude dB"
Ports [1]
Position [290, 330, 325, 380]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[15 321 372 236]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "2*Fs"
XLabel "Time"
YUnits "dB"
YMin "-10"
YMax "10"
YLabel "dB"
LineProperties off
LineColors "[1 0 0]|[1 0 0]"
ShowPortLabels off
}
Block {
BlockType Reference
Name "Phase in Degrees"
Ports [1]
Position [240, 365, 275, 415]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[16 37 372 236]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Frequency"
YUnits "Magnitude"
YMin "-200"
YMax "0"
YLabel "Phase in Degrees"
LineProperties off
LineColors "[1 0 0]"
ShowPortLabels off
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [35, 98, 80, 132]
PulseType "Time based"
Period "2.5e-8"
PulseWidth "50"
PhaseDelay ".5e-8"
Port {
PortNumber 1
Name "Step Input"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [710, 166, 740, 199]
Location [17, 615, 439, 838]
Open on
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "5e-008"
YMin "-1.5~-3"
YMax "1.5~3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Small Signal Transistor Model"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [335, 160, 400, 220]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Rbc|Cbc|Gm|Rbe|Cbe|Rbb"
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 "Rbc=@1;Cbc=@2;gm=@3;Rbe=@4;Cbe=@5;Rbb=@6;"
MaskDisplay "disp('transistor')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1e5|1.5e-12|0.5|1000|50e-12|100"
MaskTabNameString ",,,,,"
System {
Name "Small Signal Transistor Model"
Location [139, 198, 832, 655]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "127"
Block {
BlockType Gain
Name "-Gm"
Position [295, 80, 325, 110]
Gain "-gm"
}
Block {
BlockType Reference
Name "-Gm*Vbe"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [385, 84, 430, 131]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled Cur"
"rent Source"
SourceType "AC"
ShowPortLabels "on"
Initialize "off"
Amplitude "-0.025"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Rbb"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [75, 58, 135, 82]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "Rbb"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Rbc, Cbc"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [285, 14, 335, 56]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "Rbc"
Inductance "inf"
Capacitance "Cbc"
Measurements "None"
}
Block {
BlockType Reference
Name "Rbe, Cbe"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [140, 135, 190, 175]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "Rbe"
Inductance "inf"
Capacitance "Cbe"
Measurements "None"
}
Block {
BlockType Reference
Name "Vbe"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [225, 74, 265, 116]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels "on"
PhasorSimulation "off"
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "Base"
Position [15, 63, 45, 77]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "Collector"
Position [475, 145, 505, 160]
Orientation "up"
Port "2"
Side "Right"
}
Block {
BlockType PMIOPort
Name "Emitter"
Position [245, 265, 275, 280]
Orientation "up"
Port "3"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "Base"
SrcPort RConn1
DstBlock "Rbb"
DstPort LConn1
}
Line {
SrcBlock "-Gm"
SrcPort 1
DstBlock "-Gm*Vbe"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Rbb"
SrcPort RConn1
Po
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -