📄 feed_fwd_2.mdl
字号:
Name "Power Amp"
Location [268, 180, 834, 350]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 58, 45, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Analog\nFilter Design"
Ports [1, 1]
Position [410, 37, 475, 93]
FontSize 10
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Bandpass"
N "10"
Wlo "2*pi*(Fc-BW/2)*1e6"
Whi "2*pi*(Fc+BW/2)*1e6"
Rp "2"
Rs "40"
}
Block {
BlockType Gain
Name "Gain1"
Position [65, 26, 180, 104]
Gain "10^(dbg/20)"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [315, 41, 370, 89]
NamePlacement "alternate"
DelayTime "Td*1e-9"
}
Block {
BlockType SubSystem
Name "non linear (real)"
Ports [1, 1]
Position [210, 43, 275, 87]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Alpha"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "alpha=@1;"
MaskInitialization "x=-3:0.05:3; y= (1/(alpha+eps))*tanh((alph"
"a+eps)*x) ;"
MaskDisplay "plot(x,y)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "alpha"
System {
Name "non linear (real)"
Location [398, 129, 976, 434]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 108, 45, 122]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant"
Position [175, 185, 240, 215]
Value "alpha"
}
Block {
BlockType Constant
Name "Constant1"
Position [175, 245, 240, 275]
Value "0"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [300, 207, 330, 238]
Operator ">"
}
Block {
BlockType Switch
Name "Switch"
Position [365, 110, 395, 140]
Threshold ".5"
}
Block {
BlockType SubSystem
Name "non linear "
Ports [1, 1, 1]
Position [205, 85, 305, 145]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "non linear "
Location [249, 490, 749, 622]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 58, 55, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [150, 15, 170, 35]
}
Block {
BlockType Gain
Name "Gain1"
Position [80, 25, 145, 105]
Gain "alpha+eps"
}
Block {
BlockType Gain
Name "Gain2"
Position [330, 29, 420, 101]
Gain "1/(alpha+eps)"
}
Block {
BlockType Trigonometry
Name "Hyperbolic Tangent"
Ports [1, 1]
Position [205, 32, 265, 98]
Operator "tanh"
}
Block {
BlockType Outport
Name "Out1"
Position [445, 58, 475, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Hyperbolic Tangent"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Hyperbolic Tangent"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [450, 118, 480, 132]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [80, 0]
Branch {
DstBlock "non linear "
DstPort 1
}
Branch {
Points [0, 50; 220, 0]
DstBlock "Switch"
DstPort 3
}
}
Line {
SrcBlock "non linear "
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0; 0, 15]
DstBlock "Relational\nOperator"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [20, 0; 0, -30]
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [5, 0; 0, -100]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, -55]
DstBlock "non linear "
DstPort enable
}
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [510, 58, 540, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "non linear (real)"
DstPort 1
}
Line {
SrcBlock "non linear (real)"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Analog\nFilter Design"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "RFPA sans distortion cancelation\n(dBm)"
Description "Spectrum Analyzer"
Ports [1]
Position [565, 220, 715, 290]
BackgroundColor "cyan"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Bandwidth|Center Freq"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "BW=@1;Fc=@2;"
MaskDisplay "fprintf('Spectrum Analyzer \\n Fc=%7.2f MHz \\n"
" BW=%7.2f MHz',Fc/1e6,BW/1e6)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "100e6|2140e6"
MaskTabNameString ","
System {
Name "RFPA sans distortion cancelation\n(dBm)"
Location [250, 664, 1082, 1042]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Input Signal"
Position [20, 102, 60, 118]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [510, 98, 540, 127]
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [25, 35, 55, 65]
ShowName off
SineType "Time based"
Amplitude "1/2"
Frequency "2*pi*(Fc)"
Phase "-pi/2"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [25, 160, 55, 190]
ShowName off
SineType "Time based"
Amplitude "1/2"
Frequency "2*pi*(Fc)"
SampleTime "0"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [615, 90, 650, 140]
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "256"
Overlap "64"
inpFftLenInherit off
FFTlength "128"
numAvg "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[6 348 320 186]"
AxisProperties on
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-60"
YMax "40"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "anti alias"
Ports [1, 1]
Position [250, 32, 315, 88]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Lowpass"
N "9"
Wlo "BW*pi"
Whi "80"
Rp "1.2"
Rs "100"
}
Block {
BlockType Reference
Name "anti alias1"
Ports [1, 1]
Position [250, 142, 315, 198]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Lowpass"
N "9"
Wlo "BW*pi"
Whi "80"
Rp "1.2"
Rs "100"
}
Block {
BlockType Product
Name "down convert"
Ports [2, 1]
Position [150, 41, 195, 74]
RndMeth "Floor"
}
Block {
BlockType Product
Name "down convert1"
Ports [2, 1]
Position [145, 151, 190, 184]
RndMeth "Floor"
}
Block {
BlockType ZeroOrderHold
Name "sampler (imag)"
Position [375, 151, 410, 189]
SampleTime "1/(1.28*BW)"
}
Block {
BlockType ZeroOrderHold
Name "sampler (real)"
Position [380, 41, 415, 79]
SampleTime "1/(1.28*BW)"
}
Line {
SrcBlock "Input Signal"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -45]
DstBlock "down convert"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "down convert1"
DstPort 1
}
}
Line {
SrcBlock "down convert"
SrcPort 1
DstBlock "anti alias"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -