📄 earth_lms.mdl
字号:
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [80, 27, 125, 63]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "102"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [175, 27, 220, 63]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "10"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Integer Delay2"
Ports [1, 1]
Position [275, 27, 320, 63]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "7"
ic "0"
reset_popup "None"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [230, 110, 260, 140]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [335, 110, 365, 140]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Outport
Name "Out1"
Position [390, 118, 420, 132]
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Integer Delay2"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Integer Delay2"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Filter\nTaps"
Ports [1]
Position [450, 182, 495, 238]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties off
Domain "User-defined"
HorizSpan "1"
DisplayProperties on
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[66 155 329 270]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-0.366633184295514"
YMax "1.9547242265583"
YLabel "Filter Coefficients"
LineProperties off
LineDisables "on"
LineStyles ":"
LineMarkers "o"
LineColors "[0 0 1]"
}
Block {
BlockType Reference
Name "Flip"
Ports [1, 1]
Position [375, 190, 410, 230]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Reference
Name "Freq\nResponse"
Ports [1]
Position [370, 251, 415, 309]
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer off
BufferSize "128"
Overlap "64"
inpFftLenInherit on
FFTlength "256"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[404 155 378 270]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-22.0083017310268"
YMax "0.110967847938801"
YLabel "Magnitude, dB"
LineProperties off
LineDisables "on"
LineStyles "-"
LineColors "[0 0 1]"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [105, 157, 150, 193]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "100"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "LMS\nAdaptive Filter"
Ports [2, 2]
Position [195, 157, 305, 228]
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "30"
mu ".65"
ic "0.0"
leakage "1.0"
normalized on
Adapt off
RstPort "None"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [475, 18, 515, 92]
Location [888, 535, 1212, 880]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "1"
YMin "-3~-3~-0.075"
YMax "3~3~0.075"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [320, 65, 350, 95]
ShowName off
IconShape "round"
Inputs "|+-"
}
Line {
SrcBlock "Chirp"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Dummy Earth"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Integer Delay"
DstPort 1
}
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
DstBlock "LMS\nAdaptive Filter"
DstPort 1
}
Line {
SrcBlock "Dummy Earth"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "LMS\nAdaptive Filter"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -65]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [110, 0; 0, -120]
DstBlock "Scope"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 45; 145, 0; 0, 220; -355, 0; 0, -135]
DstBlock "LMS\nAdaptive Filter"
DstPort 2
}
Branch {
DstBlock "Scope"
DstPort 3
}
}
Line {
SrcBlock "Flip"
SrcPort 1
DstBlock "Filter\nTaps"
DstPort 1
}
Line {
SrcBlock "LMS\nAdaptive Filter"
SrcPort 2
Points [25, 0]
Branch {
DstBlock "Flip"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Freq\nResponse"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -