📄 qpsksystem_sjsu.mdl
字号:
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
Points [0, 0; -10, 0]
Branch {
Points [0, 40; 90, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Switch"
DstPort 3
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "LOCK\nSIGNAL"
SrcPort 1
Points [-160, 0; 0, 35]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock " QPSK Phase\n Error Detector"
SrcPort 1
Points [0, 85]
DstBlock "Switch"
DstPort 1
}
Annotation {
Name "KICK IT IF NO LOCK"
Position [589, 364]
}
Annotation {
Name "Decision-directed QPSK\nphase recovery "
"loop\n\nRobert Morelos-Zaragoza\nSan Jose State University\nCopyright (c) 200"
"5"
Position [398, 425]
FontName "Arial"
FontSize 11
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "Eye Diagram\nQuadrature MF output"
Tag "EyeDiagram"
Ports [1]
Position [545, 34, 620, 86]
NamePlacement "alternate"
SourceBlock "commsink2/Discrete-Time\nEye Diagram\nScope"
SourceType "Discrete-Time Eye Diagram Scope"
ShowPortLabels on
sampPerSymb "4"
offsetEye "0"
symbPerTrace "2"
numTraces "100"
numNewFrames "10"
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid on
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
dispDiagram "In-phase Only"
FrameNumber off
FigPos "[4 19 363 316]"
figTitle "MF OUTPUT EYE DIAGRAM"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Eye Diagram\nQuadrature PLLs output"
Tag "EyeDiagram"
Ports [1]
Position [545, 94, 620, 146]
SourceBlock "commsink2/Discrete-Time\nEye Diagram\nScope"
SourceType "Discrete-Time Eye Diagram Scope"
ShowPortLabels on
sampPerSymb "4"
offsetEye "0"
symbPerTrace "2"
numTraces "100"
numNewFrames "10"
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid on
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
dispDiagram "In-phase Only"
FrameNumber off
FigPos "[371 21 362 315]"
figTitle "PLL's OUTPUT EYE DIAGRAM"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType SubSystem
Name "NDA timing\nrecovery loop"
Ports [2, 2]
Position [225, 216, 290, 269]
NamePlacement "alternate"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "NDA timing\nrecovery loop"
Location [27, 82, 822, 550]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "I in"
Position [30, 43, 60, 57]
FontName "Arial"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Q in"
Position [30, 83, 60, 97]
FontName "Arial"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ComplexToRealImag
Name " "
Ports [1, 2]
Position [660, 55, 710, 115]
Output "Real and imag"
}
Block {
BlockType RealImagToComplex
Name " "
Ports [2, 1]
Position [130, 32, 165, 108]
NamePlacement "alternate"
FontName "Arial"
Input "Real and imag"
SampleTime "Tr/4"
}
Block {
BlockType SubSystem
Name " "
Ports [1, 1, 1]
Position [243, 125, 287, 175]
Orientation "up"
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name " "
Location [253, 448, 571, 600]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [55, 48, 85, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [150, 70, 170, 90]
}
Block {
BlockType Outport
Name "Out"
Position [255, 48, 285, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name " Timing\n Error\n Detector "
Ports [1, 1]
Position [534, 195, 596, 245]
Orientation "down"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "eps"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name " Timing\n Error\n Detector "
Location [137, 169, 980, 609]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [20, 143, 50, 157]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [120, 133, 150, 162]
Output "Real and imag"
}
Block {
BlockType Reference
Name "Delay2"
Ports [1, 1]
Position [230, 25, 275, 65]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay3"
Ports [1, 1]
Position [335, 24, 380, 66]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay6"
Ports [1, 1]
Position [220, 245, 275, 285]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay7"
Ports [1, 1]
Position [315, 245, 370, 285]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "2"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [545, 77, 575, 108]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [540, 332, 570, 363]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Signum
Name "Sign"
Position [415, 70, 445, 100]
}
Block {
BlockType Signum
Name "Sign1"
Position [375, 325, 405, 355]
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [490, 122, 520, 153]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [485, 377, 515, 408]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [615, 210, 640, 245]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "eps"
Position [790, 223, 820, 237]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Delay3"
SrcPort 1
Points [90, 0]
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Delay7"
SrcPort 1
Points [95, 0]
DstBlock "Subtract1"
DstPort 1
}
Line {
SrcBlock "in"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [15, 0; 0, -95; 40, 0]
Branch {
DstBlock "Delay2"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Subtract"
DstPort 2
}
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [10, 0; 0, 110; 40, 0]
Branch {
DstBlock "Delay6"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Subtract1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "eps"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
Points [5, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, -115]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Subtract"
SrcPort 1
Points [5, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, 125]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Delay2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Delay3"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Sign"
DstPort 1
}
}
Line {
SrcBlock "Delay6"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Delay7"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Sign1"
DstPort 1
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -