📄 qpsksystem_sjsu.mdl
字号:
Block {
BlockType Signum
Name "Sign1"
Position [245, 185, 275, 215]
SampleTime "Tr"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [385, 70, 405, 90]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Outport
Name "error"
Position [460, 73, 490, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sign"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "I"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Sign"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Q"
SrcPort 1
Points [10, 0]
Branch {
Points [115, 0]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "Sign1"
DstPort 1
}
}
Line {
SrcBlock "Sign1"
SrcPort 1
Points [35, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "error"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [245, 35, 280, 115]
NamePlacement "alternate"
FontName "Arial"
Output "Real and imag"
}
Block {
BlockType Constant
Name "Constant"
Position [240, 335, 270, 365]
Orientation "left"
FontName "Arial"
Value "6.28"
SampleTime "Tr"
}
Block {
BlockType Constant
Name "LOCK\nSIGNAL"
Position [655, 250, 685, 280]
Orientation "left"
NamePlacement "alternate"
FontName "Arial"
SampleTime "Tr"
}
Block {
BlockType SubSystem
Name "Loop Filter\nQSPK"
Ports [1, 1]
Position [310, 275, 375, 325]
Orientation "left"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Loop Filter\nQSPK"
Location [281, 193, 855, 466]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [30, 78, 60, 92]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant"
Position [158, 20, 202, 45]
Orientation "down"
NamePlacement "alternate"
Value "0.015"
SampleTime "Tr"
}
Block {
BlockType Constant
Name "Constant1"
Position [66, 225, 134, 250]
Orientation "up"
NamePlacement "alternate"
Value "0.015/32"
SampleTime "Tr"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [215, 62, 245, 93]
RndMeth "Floor"
SampleTime "Tr"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [115, 180, 150, 215]
NamePlacement "alternate"
RndMeth "Floor"
SampleTime "Tr"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [365, 70, 385, 90]
ShowName off
IconShape "round"
Inputs "|-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [290, 70, 310, 90]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [180, 190, 200, 210]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [420, 60, 455, 100]
SampleTime "Tr"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [235, 180, 275, 220]
NamePlacement "alternate"
SampleTime "Tr"
}
Block {
BlockType Outport
Name "Out"
Position [520, 73, 550, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out"
DstPort 1
}
Branch {
Points [0, 55; -105, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 105]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [0, 50; -110, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Name "NCO"
Position [429, 151]
FontSize 18
}
}
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [180, 292, 210, 323]
Orientation "left"
FontName "Arial"
Operator "mod"
OutputSignalType "real"
SampleTime "Tr"
}
Block {
BlockType Scope
Name "Phase\nerror"
Ports [1]
Position [50, 294, 80, 326]
Orientation "left"
FontName "Arial"
Location [739, 324, 1140, 532]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "800"
YMin "0"
YMax "7"
DataFormat "StructureWithTime"
MaxDataPoints "550"
Decimation "15"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [185, 57, 215, 88]
FontName "Arial"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [127, 150, 203, 180]
Orientation "up"
FontName "Arial"
Input "Real and imag"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [610, 300, 630, 320]
Orientation "left"
ShowName off
FontName "Arial"
IconShape "round"
Inputs "|-+"
}
Block {
BlockType Switch
Name "Switch"
Position [440, 285, 470, 315]
Orientation "left"
FontName "Arial"
}
Block {
BlockType Outport
Name "I out"
Position [655, 48, 685, 62]
FontName "Arial"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Q out"
Position [655, 88, 685, 102]
FontName "Arial"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
Points [0, -65]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [230, 0]
Branch {
DstBlock "I out"
DstPort 1
}
Branch {
DstBlock " QPSK Phase\n Error Detector"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [260, 0]
Branch {
DstBlock "Q out"
DstPort 1
}
Branch {
DstBlock " QPSK Phase\n Error Detector"
DstPort 2
}
}
Line {
SrcBlock "Loop Filter\nQSPK"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -35]
DstBlock "Math\nFunction"
DstPort 2
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [0, 0; -10, 0]
Branch {
Points [0, -40]
Branch {
DstBlock " "
DstPort 1
}
Branch {
DstBlock " "
DstPort 1
}
}
Branch {
DstBlock "Phase\nerror"
DstPort 1
}
}
Line {
SrcBlock "I in"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "Q in"
SrcPort 1
DstBlock " "
DstPort 2
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Loop Filter\nQSPK"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -