📄 osc_1.mdl
字号:
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "osc_1"
Location [147, 91, 1174, 673]
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 "C1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [316, 385, 344, 440]
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 "0.1e-6"
Measurements "None"
}
Block {
BlockType Reference
Name "C2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [476, 340, 504, 395]
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 "330e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "C3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [476, 435, 504, 490]
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 "1"
Inductance "0"
Capacitance "4700e-12"
Measurements "None"
}
Block {
BlockType Reference
Name "CVS1"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [57, 325, 93, 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 Constant
Name "Constant1"
Position [15, 390, 45, 420]
Value "12"
}
Block {
BlockType SubSystem
Name "Ebbers-Moll "
Ports [0, 0, 0, 0, 0, 1, 2]
Position [530, 255, 595, 315]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Beta|IEs|ICs|Rbc|Cbc|Rbe|Cbe|Rbb"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "Beta=@1;IEs=@2;ICs=@3;Rbc=@4;Cbc=@5;Rbe=@6;Cbe="
"@7;Rbb=@8;"
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-9;|1e-9;|1e5|1.5e-12|inf|50e-12|100"
MaskTabNameString ",,,,,,,"
System {
Name "Ebbers-Moll "
Location [165, 165, 989, 792]
Open on
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 [565, 221, 610, 274]
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, 305, 330, 360]
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"
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"
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
Points [0, 0; 40, 0]
}
}
}
}
Block {
BlockType Reference
Name "Cbe"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [170, 320, 220, 360]
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 "inf"
Inductance "inf"
Capacitance "Cbe"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Collector Base"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [390, 379, 440, 421]
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 "ICs"
System {
Name "Collector Base"
Location [170, 109, 789, 354]
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 {
LineType "Connection"
SrcBlock "ik1"
SrcPort RConn1
Points [0, 0; 40, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "cathode\n"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Vf\n"
SrcPort LConn2
Points [-15, 0; 0, 55; 335, 0; 0, -45]
}
}
Line {
LineType "Connection"
Points [125, 105; 0, 50; 240, 0; 0, -15]
DstBlock "ik1"
DstPort LConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "Anode"
DstPort RConn1
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Vf\n"
SrcPort LConn1
Points [10, 0; -40, 0]
}
}
Line {
SrcBlock "Diode Equation"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -60]
DstBlock "Idiode"
DstPort 1
}
Branch {
DstBlock "ik1"
DstPort 1
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -