📄 ebbers_moll_3.mdl
字号:
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
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 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 SignalGenerator
WaveForm "sine"
TimeSource "Use simulation time"
Amplitude "1"
Frequency "1"
Units "Hertz"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
}
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 "ebbers_moll_3"
Location [16, 102, 1163, 726]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Scope
Name "Amp Output"
Ports [1]
Position [1070, 349, 1100, 381]
Location [36, 525, 452, 756]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "1e-006"
YMin "-1.86228"
YMax "1.74251"
DataFormat "StructureWithTime"
MaxDataPoints "50000"
}
Block {
BlockType Reference
Name "CVS1"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [142, 325, 178, 370]
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 "CVS2"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [177, 455, 213, 500]
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 "CVS3"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [332, 255, 368, 300]
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 "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [289, 480, 311, 505]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground2"
Ports [0, 0, 0, 0, 0, 1]
Position [349, 365, 371, 390]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground3"
Ports [0, 0, 0, 0, 0, 1]
Position [674, 460, 696, 485]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType SubSystem
Name "NPN1"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [845, 390, 910, 450]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Beta|IEs|ICs|Ro|Cbc|Cbe|Rbb"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "Beta=@1;IEs=@2;ICs=@3;Ro=@4;Cbc=@5;Cbe=@6;Rbb=@"
"7;"
MaskInitialization "k = 1.38e-23;\nq = 1.6e-19;\nT = 290;\nVt = k*T"
"/q; \n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100|1e-10;|1e-10;|1e5|5e-12|50e-12|100"
MaskTabNameString ",,,,,,"
System {
Name "NPN1"
Location [161, 173, 993, 832]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Gain
Name "AlphaF"
Position [415, 211, 470, 259]
Gain "(Beta-1)/Beta"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "AlphaF*If"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [590, 222, 635, 278]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled Cur"
"rent Source"
SourceType "Controlled Current Source"
ShowPortLabels on
Initialize off
SourceType "AC"
Amplitude "-0.025"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Gain
Name "AlphaR"
Position [405, 295, 455, 345]
Orientation "left"
Gain "(IEs/ICs)*(Beta-1)/Beta"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "AlphaR*Ir"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [285, 307, 330, 363]
Orientation "left"
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled Cur"
"rent Source"
SourceType "Controlled Current Source"
ShowPortLabels on
Initialize off
SourceType "AC"
Amplitude "-0.025"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Base Emitter Junction"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [285, 224, 335, 266]
AncestorBlock "simcircuits_library_1/diode"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Saturation Current"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Is=@1;"
MaskDisplay "plot(-140,-140,150,140,2*[30,30,59,30,30,0]"
"-75,(2*[71,50,72,92,71,71]-92),2*[59,59]-75,(2*[50,93]-92),[116,59]-16,(2*[71"
",71]-90));"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "IEs"
Port {
PortNumber 1
Name "If"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "Base Emitter Junction"
Location [168, 113, 791, 374]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Fcn
Name "Diode Equation"
Position [245, 95, 305, 125]
Expr "Is* (exp(u /.025) -1 ); % ideal diod"
"e equation @ room temp"
}
Block {
BlockType Reference
Name "Vf\n"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [170, 98, 195, 122]
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measureme"
"nt"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "ik1"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [380, 97, 420, 153]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/Controlled"
" Current Source"
SourceType "Controlled Current Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "Anode"
Tag "PMCPort"
Position [70, 96, 100, 114]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "cathode\n"
Tag "PMCPort"
Position [520, 116, 550, 134]
Orientation "left"
Port "2"
Side "Right"
}
Block {
BlockType Outport
Name "Idiode"
Position [515, 43, 545, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Vf\n"
SrcPort 1
DstBlock "Diode Equation"
DstPort 1
}
Line {
SrcBlock "Diode Equation"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "ik1"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Idiode"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "Vf\n"
SrcPort LConn1
Points [10, 0; -40, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Anode"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 50; 240, 0]
DstBlock "ik1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Vf\n"
SrcPort LConn2
Points [-15, 0; 0, 55; 335, 0; 0, -45]
Branch {
ConnectType "DEST_SRC"
DstBlock "cathode\n"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "ik1"
SrcPort RConn1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -