📄 timing_recovery_1.mdl
字号:
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "I/Q"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [80, 90, 100, 110]
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope2"
Tag "ScatterPlot"
Ports [1]
Position [140, 29, 215, 81]
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
ShowPortLabels "on"
SystemSampleTime "-1"
FunctionWithSeparateData "off"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
sampPerSymb "1"
offsetEye "0"
numTraces "31"
numNewFrames "7"
LineMarkers "."
LineColors "b"
fading "off"
render "on"
AxisGrid "on"
xMin "-2"
xMax "2"
yMin "-2"
yMax "2"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart "on"
FrameNumber "off"
FigPos "[576 669 292 292]"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Line {
SrcBlock "I/Q"
SrcPort 1
DstBlock "Discrete-Time\nScatter Plot\nScope2"
DstPort 1
}
Annotation {
Name "You can add demodulator, FEC, etc. in this "
"enabled subsystem."
Position [180, 150]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "Farrow Variable Delay"
Ports [2, 1]
Position [285, 244, 365, 311]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Farrow Variable Delay"
Location [65, 502, 571, 805]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Xin"
Position [25, 93, 55, 107]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Mu"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Filter State"
Ports [1, 1]
Position [135, 70, 210, 130]
BackgroundColor "green"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Filter State"
Location [65, 78, 684, 313]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 163, 50, 177]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [125, 150, 180, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail "off"
dif_ic_for_ch "off"
dif_ic_for_dly "off"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [235, 150, 290, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail "off"
dif_ic_for_ch "off"
dif_ic_for_dly "off"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay2"
Ports [1, 1]
Position [355, 150, 410, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail "off"
dif_ic_for_ch "off"
dif_ic_for_dly "off"
ic "0"
reset_popup "None"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [485, 48, 490, 132]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [525, 83, 555, 97]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0; 15, 0]
Branch {
DstBlock "Delay"
DstPort 1
}
Branch {
Points [0, -110]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [-5, 0; 25, 0]
Branch {
Points [0, -90]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 0]
DstBlock "Delay1"
DstPort 1
}
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -70]
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Delay2"
DstPort 1
}
}
Line {
SrcBlock "Delay2"
SrcPort 1
Points [30, 0; 0, -50]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "MADS"
Ports [2, 1]
Position [270, 74, 360, 176]
BackgroundColor "green"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "MADS"
Location [164, 172, 889, 404]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 138, 60, 152]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "mu"
Position [30, 33, 60, 47]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [195, 109, 200, 176]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Gain
Name "Filter coefficients"
Position [95, 126, 160, 164]
Gain "[b3;b2;b1;b0] % filter coefficients "
Multiplication "Matrix(K*u)"
}
Block {
BlockType Product
Name "P1"
Ports [2, 1]
Position [295, 74, 320, 101]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "P2"
Ports [2, 1]
Position [405, 69, 430, 96]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "P3"
Ports [2, 1]
Position [510, 64, 535, 91]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [345, 80, 365, 100]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [450, 75, 470, 95]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [560, 70, 580, 90]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Yout"
Position [640, 73, 670, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "P3"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "P2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Filter coefficients"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Filter coefficients"
DstPort 1
}
Line {
SrcBlock "mu"
SrcPort 1
Points [0, 0; 195, 0]
Branch {
Points [125, 0]
Branch {
Points [100, 0; 0, 30]
DstBlock "P3"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "P2"
DstPort 1
}
}
Branch {
Points [0, 40]
DstBlock "P1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [55, 0; 0, -25]
DstBlock "P1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "P2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "P3"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [150, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "P1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [255, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [365, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -