?? comparison_amp.mdl
字號:
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Physical\nOutputs"
Ports [1]
Position [890, 275, 925, 325]
DialogController "dspdialog.SpectrumScope"
DialogControllerArgs "DataTag2"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer off
BufferSize "128"
Overlap "64"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend on
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[506 205 496 211]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-131.600810004824"
YMax "51.0081898868428"
YLabel "Magnitude, dB"
LineProperties off
LineColors "[0 0 0]|[1 0 0]|[0 1 0]"
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Pin-Pout Non-linear"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [470, 356, 560, 404]
SourceBlock "rfamplifiers1/General Amplifier"
SourceType "General Amplifier"
PhysicalDomain "rfsystemsdomain"
SubClassName "general-amplifier"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
RFDATA "read(rfdata.data, 'default.amp')"
InterpMethod "Cubic"
IP3Type "OIP3"
IIP3 "Inf"
OIP3 "Inf"
NF "0"
DisplayData off
PlotFreq "Derived from Input Port parameters"
PlotFreqNoSim "Extracted from RFDATA object"
Freq "[1.0e9:1.0e8:3e9]"
AllPlotType "X-Y plane"
NetworkData "S21"
PowerData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
PowerFormat "dBm"
PhaseFormat "Angle (degrees)"
NoneFormat "None"
}
Block {
BlockType Reference
Name "S-param Linear"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [470, 201, 560, 249]
SourceBlock "rfamplifiers1/General Amplifier"
SourceType "General Amplifier"
PhysicalDomain "rfsystemsdomain"
SubClassName "general-amplifier"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__newl0"
RConnTagsString "__newr0"
RFDATA "read(rfdata.data, 'default.s2p')"
InterpMethod "Cubic"
IP3Type "OIP3"
IIP3 "inf"
OIP3 "inf"
NF "0"
DisplayData off
PlotFreq "Derived from Input Port parameters"
PlotFreqNoSim "Extracted from RFDATA object"
Freq "[1.0e9:1.0e8:3e9]"
AllPlotType "X-Y plane"
NetworkData "S21"
PowerData "S11"
SmithData "S11"
PolarData "S11"
ComplexFormat "Magnitude (decibels)"
DBFormat "Magnitude (decibels)"
PowerFormat "dBm"
PhaseFormat "Angle (degrees)"
NoneFormat "None"
}
Block {
BlockType Reference
Name "Slider Gain"
Ports [1, 1]
Position [165, 129, 220, 171]
BackgroundColor "[0.125490, 0.560784, 1.000000]"
SourceBlock "simulink/Math\nOperations/Slider\nGain"
SourceType "Slider Gain"
ShowPortLabels on
low "1"
gain "1"
high "10"
}
Block {
BlockType SubSystem
Name "aSubsystem"
Ports []
Position [411, 15, 606, 163]
BackgroundColor "[1.000000, 1.000000, 0.549020]"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "aSubsystem"
Location [463, 581, 676, 663]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "aSubsystem1"
Ports []
Position [334, 185, 682, 423]
BackgroundColor "[1.000000, 1.000000, 0.549020]"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "aSubsystem1"
Location [463, 581, 676, 663]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Line {
Name "Pre-amplified"
SrcBlock "Baseband Equivalent\nMulti-Tone Signal"
SrcPort 1
DstBlock "Slider Gain"
DstPort 1
}
Line {
Name "Math Non-linear"
Labels [1, 1]
SrcBlock "Amplifier \nHyperbolic Tangent"
SrcPort 1
Points [165, 0; 0, -20]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Mathematical\nOutputs"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Input Port1"
SrcPort RConn1
DstBlock "S-param Linear"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "S-param Linear"
SrcPort RConn1
DstBlock "Output Port1"
DstPort LConn1
}
Line {
Name "S-param Linear"
Labels [2, 0]
SrcBlock "Output Port1"
SrcPort 1
Points [90, 0; 0, 60]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
Name "Math Linear"
Labels [1, 0]
SrcBlock "Amplifier Linear"
SrcPort 1
Points [165, 0; 0, 25]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Input Port2"
SrcPort RConn1
DstBlock "OIP3 Non-linear"
DstPort LConn1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
DstBlock "Physical\nOutputs"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Input Port3"
SrcPort RConn1
DstBlock "Pin-Pout Non-linear"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Pin-Pout Non-linear"
SrcPort RConn1
DstBlock "Output Port3"
DstPort LConn1
}
Line {
Name "Pin-Pout Non-linear"
Labels [2, 1]
SrcBlock "Output Port3"
SrcPort 1
Points [90, 0; 0, -65]
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
Line {
LineType "Connection"
SrcBlock "OIP3 Non-linear"
SrcPort RConn1
DstBlock "Output Port2"
DstPort LConn1
}
Line {
Name "OIP3 Non-linear"
Labels [-1, 0]
SrcBlock "Output Port2"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Slider Gain"
SrcPort 1
Points [50, 0]
Branch {
Points [0, -45]
Branch {
Points [0, -60]
DstBlock "Amplifier Linear"
DstPort 1
}
Branch {
Points [0, 5]
DstBlock "Amplifier \nHyperbolic Tangent"
DstPort 1
}
}
Branch {
Points [0, 75]
Branch {
DstBlock "Input Port1"
DstPort 1
}
Branch {
Points [0, 75]
Branch {
Points [0, 80]
DstBlock "Input Port3"
DstPort 1
}
Branch {
DstBlock "Input Port2"
DstPort 1
}
}
}
}
Annotation {
Name "Comparison of Amplifiers:\nLinear vs Nonlinear"
Position [128, 65]
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "3 RF Physical Amplifiers\nCenter frequency: 2.1"
"GHz"
Position [518, 442]
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
FontWeight "bold"
FontAngle "italic"
}
Annotation {
Name "2 RF Mathematical Amplifiers\n"
Position [508, 182]
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
FontWeight "bold"
FontAngle "italic"
}
Annotation {
Name "The baseband equivalent\n two-tone frequencies:"
"\n-30MHz and 20MHz"
Position [78, 234]
UseDisplayTextAsClickCallback off
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag1
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"- 0 0 #0 $UA=')I>%-U;5!R;V0 "
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -