📄 razavi_fig_1_1pb.mdl
字号:
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Memory
X0 "0"
InheritSampleTime off
LinearizeMemory off
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "razavi_fig_1_1PB"
Location [2, 82, 1022, 732]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1]
Position [100, 400, 130, 430]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Band-Limited White Noise."
ShowPortLabels on
Cov "[0.1]"
Ts "1/8000"
seed "[23341]"
VectorParams1D on
}
Block {
BlockType Reference
Name "C1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [585, 436, 640, 464]
NamePlacement "alternate"
AttributesFormatString "C = %<Capacitance> F"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "0"
Capacitance "1e-6"
Measurements "None"
}
Block {
BlockType Reference
Name "C2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [396, 375, 424, 430]
Orientation "up"
NamePlacement "alternate"
AttributesFormatString "C = %<Capacitance> F"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "0"
Capacitance "1e-6"
Measurements "None"
}
Block {
BlockType Reference
Name "C3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [396, 470, 424, 525]
Orientation "up"
NamePlacement "alternate"
AttributesFormatString "C = %<Capacitance> F"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "0"
Capacitance "1e-6"
Measurements "None"
}
Block {
BlockType Reference
Name "DC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [50, 235, 70, 270]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "12"
Measurements "None"
}
Block {
BlockType Reference
Name "Diode"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [315, 305, 370, 345]
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [399, 595, 421, 620]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "L1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [396, 190, 424, 260]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "L = %<Inductance> H"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "1e-9"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Mic"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [137, 355, 173, 400]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/Controlled Voltage"
" Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Multimeter"
Ports [0, 1]
Position [690, 71, 730, 109]
SourceBlock "powerlib/Measurements/Multimeter"
SourceType "MultimeterPSB"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
sel "1"
L "1"
Gain "1"
yselected "{'Ub: R5'};"
PSBOutputType "1"
PSBequivalent "0"
AxesSetting "[0,0.1,-100,100]"
Display "0"
SavedBlockNames "-11"
}
Block {
BlockType SubSystem
Name "Q2"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [770, 420, 810, 480]
BackgroundColor "red"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Current (A)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "I0=@1;"
MaskInitialization "k = 1.38e-23\nq = 1.6e-19\nT = 290"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1e-9"
System {
Name "Q2"
Location [2, 70, 1022, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Controlled Current Source"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [357, 40, 393, 85]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/Controlled Cur"
"rent Source"
SourceType "Controlled Current Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Fcn
Name "Fcn"
Position [230, 85, 290, 115]
ShowName off
AttributesFormatString "%<Expr>"
Expr "I0*(exp(q*u[1]/(k*T))-1)"
}
Block {
BlockType Memory
Name "Memory"
Position [320, 85, 350, 115]
BackgroundColor "red"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [155, 88, 180, 112]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType PMIOPort
Name "base"
Tag "PMCPort"
Position [40, 86, 70, 104]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "collector"
Tag "PMCPort"
Position [430, 16, 460, 34]
Orientation "left"
Port "2"
Side "Right"
}
Block {
BlockType PMIOPort
Name "emitter"
Tag "PMCPort"
Position [40, 151, 70, 169]
Port "3"
Side "Right"
}
Line {
LineType "Connection"
Points [110, 160; 275, 0; 0, -60]
DstBlock "Controlled Current Source"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "emitter"
SrcPort RConn1
Points [0, 0; 25, 0]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Voltage Measurement"
SrcPort LConn2
Points [-30, 0; 0, 55]
}
}
Line {
LineType "Connection"
SrcBlock "collector"
SrcPort RConn1
Points [0, 0]
DstBlock "Controlled Current Source"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "base"
SrcPort RConn1
Points [0, 0]
DstBlock "Voltage Measurement"
DstPort LConn1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Memory"
DstPort 1
}
Line {
SrcBlock "Memory"
SrcPort 1
DstBlock "Controlled Current Source"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Q3"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [465, 295, 505, 355]
BackgroundColor "red"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Current (A)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -