📄 bpsk.mdl
字号:
Points [0, 0; 10, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, -20; 215, 0; 0, 15]
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [55, 0; 0, 17]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [45, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [109, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
}
}
Block {
BlockType Lookup
Name "sin"
Position [650, 305, 700, 355]
Orientation "left"
NamePlacement "alternate"
InputValues "[-2*pi:2*pi]"
OutputValues "sin([-2*pi:2*pi])"
}
Block {
BlockType SubSystem
Name "timing"
Ports [1, 1]
Position [435, 55, 535, 95]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "timing"
Location [2, 86, 1014, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 103, 50, 117]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [455, 86, 500, 119]
InputSameDT off
}
Block {
BlockType Signum
Name "Sign"
Position [305, 95, 335, 125]
}
Block {
BlockType Signum
Name "Sign1"
Position [165, 180, 195, 210]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [390, 100, 410, 120]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [125, 90, 160, 130]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [220, 90, 255, 130]
SampleTime "-1"
}
Block {
BlockType Reference
Name "Voltage-Controlled\nOscillator"
Ports [1, 1]
Position [350, 263, 430, 307]
FontName "Arial"
SourceBlock "commcontsrc2/Voltage-Controlled\nOscillator"
SourceType "Voltage-Controlled Oscillator"
Ac "1"
Fc "4400"
Kc "1000"
Ph "0"
}
Block {
BlockType Outport
Name "clk"
Position [520, 278, 550, 292]
}
Line {
SrcBlock "In1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 85]
DstBlock "Sign1"
DstPort 1
}
Branch {
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -50; 250, 0; 0, 35]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Unit Delay1"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Sign"
DstPort 1
}
Line {
SrcBlock "Sign"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sign1"
SrcPort 1
Points [200, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Voltage-Controlled\nOscillator"
SrcPort 1
DstBlock "clk"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [35, 0; 0, 120; -315, 0; 0, 60]
DstBlock "Voltage-Controlled\nOscillator"
DstPort 1
}
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [90, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [50, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0]
Branch {
Points [5, 0]
DstBlock "phase_error_test"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Scope2"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [30, 0]
Branch {
Points [20, 0]
DstBlock "phase_error_test"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "sin"
SrcPort 1
Points [-50, 0; 0, -130]
Branch {
Points [0, -50]
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product2"
DstPort 2
}
}
Line {
SrcBlock "cos"
SrcPort 1
Points [-20, 0; 0, -170]
Branch {
Points [0, -150]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product3"
DstPort 2
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, 0; -20, 0]
Branch {
DstBlock "Modulo\nIntegrator1"
DstPort 1
}
Branch {
Points [0, 205]
DstBlock "Display"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "phase_error_test"
SrcPort 1
Points [60, 0]
Branch {
Points [70, 0; 0, -15]
DstBlock "Bipolar to\nUnipolar\nConverter"
DstPort 1
}
Branch {
Points [0, 190]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "phase_error_test"
SrcPort 2
Points [100, 0]
Branch {
Points [0, 0; 0, 185]
DstBlock "Scope1"
DstPort 2
}
Branch {
Points [35, 0; 0, 60]
DstBlock "Bipolar to\nUnipolar\nConverter1"
DstPort 1
}
}
Line {
SrcBlock "phase_error_test"
SrcPort 4
Points [35, 0; 0, 165; 100, 0; 0, 170]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Modulo\nIntegrator1"
SrcPort 1
Points [0, 0; -60, 0]
Branch {
Points [0, -60]
DstBlock "sin"
DstPort 1
}
Branch {
Points [0, 30]
Branch {
DstBlock "cos"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "Sample\nand Hold"
SrcPort 1
DstBlock "Quantizer1"
DstPort 1
}
Line {
SrcBlock "DQpsk signal"
SrcPort 1
DstBlock "down-converter"
DstPort 1
}
Line {
SrcBlock "DQpsk signal"
SrcPort 2
Points [20, 0; 0, -145; 1160, 0; 0, 45]
DstBlock "Scope4"
DstPort 1
}
Line {
SrcBlock "DQpsk signal"
SrcPort 3
Points [20, 0; 0, 90; 1250, 0]
DstBlock "Scope3"
DstPort 2
}
Line {
SrcBlock "Bipolar to\nUnipolar\nConverter"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Differential Decoder"
DstPort 1
}
Line {
SrcBlock "Bipolar to\nUnipolar\nConverter1"
SrcPort 1
Points [10, 0; 10, 0]
Branch {
DstBlock "Differential Decoder1"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "down-converter"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Sample\nand Hold"
DstPort 1
}
Line {
SrcBlock "down-converter"
SrcPort 2
Points [35, 0; 0, 55]
DstBlock "Sample\nand Hold1"
DstPort 1
}
Line {
SrcBlock "phase_error_test"
SrcPort 3
Points [90, 0; 0, 245]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, 55]
Branch {
Points [0, 70]
DstBlock "Scope"
DstPort 3
}
Branch {
Points [-55, 0]
DstBlock "Display1"
DstPort 1
}
}
}
Line {
SrcBlock "timing"
SrcPort 1
Points [-10, 0]
Branch {
DstBlock "Sample\nand Hold"
DstPort trigger
}
Branch {
Points [-45, 0; 0, 124]
DstBlock "Sample\nand Hold1"
DstPort trigger
}
}
Line {
SrcBlock "Differential Decoder"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Scope4"
DstPort 2
}
Line {
SrcBlock "Quantizer1"
SrcPort 1
Points [35, 0]
Branch {
Points [25, 0]
Branch {
Points [0, -50]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Branch {
Points [0, -60]
DstBlock "timing"
DstPort 1
}
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
DstBlock "Quantizer2"
DstPort 1
}
Line {
SrcBlock "Quantizer2"
SrcPort 1
Points [105, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Differential Decoder1"
SrcPort 1
DstBlock "Scope3"
DstPort 1
}
Annotation {
Position [405, 69]
}
Annotation {
Position [450, 234]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -