📄 rf_bp_1.mdl
字号:
outputFracLength "15"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Window\nFunction1"
Ports [1, 1]
Position [160, 107, 240, 163]
ShowName off
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "dspsigops/Window\nFunction"
SourceType "Window Function"
winmode "Apply window to input"
wintype "Hann"
sampmode "Continuous"
samptime "1"
N "64"
Rs "50"
beta "10"
winsamp "Periodic"
UserWindow "hamming"
OptParams off
UserParams "{'symmetric'}"
additionalParams off
allowOverrides on
dataType "double"
isSigned on
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "16"
prodOutputFracLength "15"
outputMode "Same as product output"
outputWordLength "16"
outputFracLength "15"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Constant
Name "unwrap"
Position [955, 245, 985, 275]
Value "unwrap_flag"
}
Block {
BlockType Outport
Name "TF Mag"
Position [1150, 68, 1180, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "TF Angle"
Position [1155, 193, 1185, 207]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Complex Range"
SrcPort 1
Points [20, 0; 0, 30]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Real Range"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Probe for a complex signal"
SrcPort 1
DstBlock "Rate Transition"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 75]
DstBlock "Switch1"
DstPort 3
}
Branch {
DstBlock "Phase Unwrap"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "TF Angle"
DstPort 1
}
Line {
SrcBlock "OUT"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Buffer1"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Probe for a complex signal"
DstPort 1
}
}
Line {
SrcBlock "IN"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Filter2"
DstPort 1
}
Line {
SrcBlock "FFT1"
SrcPort 1
DstBlock "Downsample2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Magnitude\nSquared"
SrcPort 1
DstBlock "Filter1"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
DstBlock "Downsample1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "TF Mag"
DstPort 1
}
Line {
SrcBlock "Window\nFunction"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "Window\nFunction1"
SrcPort 1
DstBlock "FFT1"
DstPort 1
}
Line {
SrcBlock "Filter1"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Filter2"
SrcPort 1
Points [30, 0; 0, -60]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Buffer"
SrcPort 1
Points [0, 0]
DstBlock "Window\nFunction"
DstPort 1
}
Line {
SrcBlock "Buffer1"
SrcPort 1
Points [-5, 0]
DstBlock "Window\nFunction1"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Math\nFunction1"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Complex to\nMagnitude-Angle"
DstPort 1
}
}
Line {
SrcBlock "Downsample1"
SrcPort 1
DstBlock "Variable\nSelector1"
DstPort 1
}
Line {
SrcBlock "Downsample2"
SrcPort 1
DstBlock "Variable\nSelector"
DstPort 1
}
Line {
SrcBlock "Variable\nSelector"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Variable\nSelector1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Magnitude\nSquared"
DstPort 1
}
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "Rate Transition"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [10, 0; 0, -75]
Branch {
DstBlock "Variable\nSelector"
DstPort 2
}
Branch {
Points [0, -80]
DstBlock "Variable\nSelector1"
DstPort 2
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "unwrap"
SrcPort 1
Points [45, 0; 0, -60]
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Phase Unwrap"
SrcPort 1
Points [25, 0; 0, 55]
DstBlock "Switch1"
DstPort 1
}
Annotation {
Name "Single Pole LPF for spectral averaging"
"."
Position [715, 29]
}
Annotation {
Name "Select alias free data."
Position [482, 207]
}
}
}
Block {
BlockType UniformRandomNumber
Name "Uniform Random\nNumber"
Position [135, 474, 165, 506]
SampleTime "1/(2.56*BW)"
}
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 "8"
Wlo "BW*pi"
Whi "80"
Rp "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 "8"
Wlo "BW*pi"
Whi "80"
Rp "2"
Rs "100"
}
Block {
BlockType Reference
Name "anti alias2"
Ports [1, 1]
Position [245, 237, 310, 293]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Lowpass"
N "8"
Wlo "BW*pi"
Whi "80"
Rp "2"
Rs "100"
}
Block {
BlockType Reference
Name "anti alias3"
Ports [1, 1]
Position [245, 347, 310, 403]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Lowpass"
N "8"
Wlo "BW*pi"
Whi "80"
Rp "2"
Rs "100"
}
Block {
BlockType Reference
Name "anti image"
Ports [1, 1]
Position [215, 462, 280, 518]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Elliptic"
filttype "Lowpass"
N "9"
Wlo "BW*pi"
Whi "80"
Rp "2"
Rs "100"
}
Block {
BlockType Product
Name "down convert"
Ports [2, 1]
Position [170, 41, 215, 74]
RndMeth "Floor"
}
Block {
BlockType Product
Name "down convert1"
Ports [2, 1]
Position [145, 151, 190, 184]
RndMeth "Floor"
}
Block {
BlockType Product
Name "down convert2"
Ports [2, 1]
Position [145, 246, 190, 279]
RndMeth "Floor"
}
Block {
BlockType Product
Name "down convert3"
Ports [2, 1]
Position [140, 356, 185, 389]
RndMeth "Floor"
}
Block {
BlockType ZeroOrderHold
Name "sampler "
Position [430, 101, 465, 139]
SampleTime "1/(1.28*BW)"
}
Block {
BlockType ZeroOrderHold
Name "sampler 1"
Position [430, 296, 465, 334]
SampleTime "1/(1.28*BW)"
}
Block {
BlockType Product
Name "up convert"
Ports [2, 1]
Position [360, 466, 405, 499]
RndMeth "Floor"
}
Block {
BlockType Outport
Name "Excitation"
Position [440, 478, 470, 492]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Mag"
Position [740, 178, 770, 192]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Phase"
Position [735, 238, 765, 252]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "anti image"
SrcPort 1
DstBlock "up convert"
DstPort 2
}
Line {
SrcBlock "down convert1"
SrcPort 1
DstBlock "anti alias1"
DstPort 1
}
Line {
SrcBlock "sampler 1"
SrcPort 1
Points [70, 0; 0, -70]
DstBlock "Transfer Function"
DstPort 2
}
Line {
SrcBlock "sampler "
SrcPort 1
Points [35, 0; 0, 65]
DstBlock "Transfer Function"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex2"
SrcPort 1
DstBlock "sampler "
DstPort 1
}
Line {
SrcBlock "anti alias1"
SrcPort 1
Points [15, 0; 0, -45]
DstBlock "Real-Imag to\nComplex2"
DstPort 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -