📄 hbasetx.mdl
字号:
YMin "-0.045"
YMax "0.04"
SaveToWorkspace off
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "Feedback\nFilter"
Ports [3, 2]
Position [370, 251, 455, 309]
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "16"
mu "0.5"
ic "0"
leakage "1.0"
normalized on
Adapt on
}
Block {
BlockType Reference
Name "Feedforward\nFilter"
Ports [3, 2]
Position [320, 116, 405, 174]
LinkData {
BlockName "LMS\nCoefficient Update/Normalization"
"/Normalization"
DialogParameters {
Inputs "1"
}
}
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "12"
mu "0.7"
ic "[0 0 0 0 0 -1 3 0 0 0 0 0]'"
leakage "1"
normalized off
Adapt on
}
Block {
BlockType Gain
Name "Gain"
Position [255, 195, 285, 225]
Orientation "down"
NamePlacement "alternate"
Gain "-1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [295, 242, 340, 278]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold1"
Ports [1, 1, 0, 1]
Position [490, 165, 540, 205]
NamePlacement "alternate"
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold2"
Ports [1, 1, 0, 1]
Position [490, 275, 540, 315]
NamePlacement "alternate"
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [650, 279, 680, 311]
Floating off
Location [413, 562, 841, 755]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "8.000000000000001e-009"
YMin "-0.1"
YMax "0.3"
SaveToWorkspace off
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "ScopeDT17"
Ports [1]
Position [645, 169, 675, 201]
Floating off
Location [43, 514, 471, 707]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "8.000000000000001e-009"
YMin "-2"
YMax "3.5"
SaveToWorkspace off
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType RelationalOperator
Name "Signal\nDetect"
Position [230, 282, 260, 313]
Operator ">"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [720, 125, 740, 145]
ShowName off
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [780, 60, 815, 85]
Orientation "up"
NamePlacement "alternate"
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "Threshold"
Position [140, 330, 170, 360]
Value "1"
VectorParams1D on
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [565, 161, 615, 209]
SourceBlock "dspbuff2/Unbuffer"
SourceType "Unbuffer"
ic "0"
num_chans "1"
}
Block {
BlockType Reference
Name "Unbuffer2"
Ports [1, 1]
Position [565, 271, 615, 319]
SourceBlock "dspbuff2/Unbuffer"
SourceType "Unbuffer"
ic "0"
num_chans "1"
}
Block {
BlockType Outport
Name "Out"
Position [770, 130, 800, 144]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Feedforward\nFilter"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
DstBlock "ScopeDT17"
DstPort 1
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "Feedforward\nFilter"
SrcPort 2
Points [25, 0; 0, 25]
DstBlock "Sample\nand Hold1"
DstPort 1
}
Line {
SrcBlock "Coefficient\nClock"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -130]
DstBlock "Sample\nand Hold1"
DstPort trigger
}
Branch {
Points [40, 0]
DstBlock "Sample\nand Hold2"
DstPort trigger
}
}
Line {
SrcBlock "Unbuffer2"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Sample\nand Hold2"
SrcPort 1
DstBlock "Unbuffer2"
DstPort 1
}
Line {
SrcBlock "Feedback\nFilter"
SrcPort 2
DstBlock "Sample\nand Hold2"
DstPort 1
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
DstBlock "Feedback\nFilter"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -35]
DstBlock "Sum2"
DstPort 1
}
Branch {
DstBlock "Out"
DstPort 1
}
}
Line {
SrcBlock "Feedback\nFilter"
SrcPort 1
Points [235, 0; 0, -125]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 0, -25]
Branch {
Points [15, 0]
DstBlock "Error"
DstPort 1
}
Branch {
Points [-530, 0; 0, 115]
Branch {
Points [35, 0]
DstBlock "Feedforward\nFilter"
DstPort 2
}
Branch {
Points [0, 35]
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 50]
DstBlock "Feedback\nFilter"
DstPort 2
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Averager"
DstPort 1
}
Line {
SrcBlock "Averager"
SrcPort 1
DstBlock "Signal\nDetect"
DstPort 1
}
Line {
SrcBlock "Threshold"
SrcPort 1
Points [40, 0]
DstBlock "Signal\nDetect"
DstPort 2
}
Line {
SrcBlock "Signal\nDetect"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [50, 0]
DstBlock "Feedback\nFilter"
DstPort 3
}
Branch {
Points [0, -135]
DstBlock "Feedforward\nFilter"
DstPort 3
}
}
Line {
SrcBlock "Decision"
SrcPort 1
Points [0, 0; 95, 0]
Branch {
Points [540, 0; 0, -130]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
}
Line {
SrcBlock "Signal"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [240, 0]
DstBlock "Feedforward\nFilter"
DstPort 1
}
Branch {
Points [0, 165]
DstBlock "Abs"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "MLT-3\nDecoder"
Ports [1, 1]
Position [295, 25, 375, 85]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "MLT-3\nDecoder"
Location [295, 220, 618, 323]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [35, 52, 65, 68]
Port "1"
Interpolate on
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [205, 37, 235, 68]
Operator "~="
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [125, 40, 160, 80]
FontSize 10
X0 "0"
SampleTime "1/125e6"
}
Block {
BlockType Outport
Name "Out"
Position [275, 50, 305, 64]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "In"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -35; 75, 0; 0, 20]
DstBlock "Relational\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [420, 48, 450, 62]
NamePlacement "alternate"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "3-Level\nDecision"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -45; -190, 0; 0, 30]
DstBlock "Adaptive\nEqualizer"
DstPort 1
}
Branch {
DstBlock "MLT-3\nDecoder"
DstPort 1
}
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Adaptive\nEqualizer"
DstPort 2
}
Line {
SrcBlock "Adaptive\nEqualizer"
SrcPort 1
DstBlock "3-Level\nDecision"
DstPort 1
}
Line {
SrcBlock "MLT-3\nDecoder"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [150, 89, 180, 121]
Floating off
Location [24, 372, 348, 611]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-007"
YMin "0"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [335, 94, 365, 126]
Floating off
Location [76, 63, 1019, 302]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "5e-008"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [615, 29, 645, 61]
Floating off
Location [29, 462, 883, 701]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-007"
YMin "-4"
YMax "4"
SaveToWorkspace off
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Transmitter"
Ports [1, 1]
Position [180, 15, 260, 75]
ShowPortLabels on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -