📄 tenbaset.mdl
字号:
}
}
Block {
BlockType Reference
Name "Information\nSequence"
Ports [0, 1]
Position [35, 143, 115, 187]
SourceBlock "commsource2/Binary Vector\nNoise Generator"
SourceType "Binary Vector Noise Generator"
n "1"
prob "0.5"
seed "12345"
Ts "1/10e6"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Scope
Name "Received\nBits"
Ports [1]
Position [635, 164, 665, 196]
Floating off
Location [41, 298, 971, 537]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-005"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Received\nSignal"
Ports [1]
Position [480, 49, 510, 81]
Floating off
Location [72, 462, 1005, 701]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-005"
YMin "-0.7"
YMax "0.7"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [1, 1]
Position [495, 150, 580, 210]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Receiver"
Location [184, 143, 844, 395]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Signal In"
Position [45, 83, 75, 97]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "Clock\nRecovery"
Ports [1, 2]
Position [180, 129, 255, 191]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Clock\nRecovery"
Location [262, 93, 693, 464]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [30, 163, 60, 177]
Port "1"
Interpolate on
}
Block {
BlockType Reference
Name "90"
Ports [1, 1]
Position [200, 128, 280, 172]
Orientation "left"
SourceBlock "commsource2/Voltage-Controlled\nOscilla"
"tor"
SourceType "Voltage-Controlled Oscillator"
Ac "1"
Fc "10e6"
Kc "1000000"
Ph "0"
}
Block {
BlockType Signum
Name "Clock\nShape"
Position [75, 330, 105, 360]
}
Block {
BlockType Signum
Name "Clock\nShape1"
Position [85, 15, 115, 45]
}
Block {
BlockType Gain
Name "Gain"
Position [95, 155, 125, 185]
Gain "3"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "In-phase"
Ports [1, 1]
Position [200, 193, 280, 237]
Orientation "left"
SourceBlock "commsource2/Voltage-Controlled\nOscilla"
"tor"
SourceType "Voltage-Controlled Oscillator"
Ac "1"
Fc "10e6"
Kc "1000000"
Ph "-pi/2"
}
Block {
BlockType Reference
Name "Loop\nFilter1"
Ports [1, 1]
Position [285, 27, 350, 83]
SourceBlock "dsparch3/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "2"
Wlo "5e6"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Loop\nFilter2"
Ports [1, 1]
Position [280, 277, 345, 333]
SourceBlock "dsparch3/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "2"
Wlo "5e6"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Product
Name "Prod"
Ports [2, 1]
Position [134, 75, 181, 125]
Orientation "up"
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Prod1"
Ports [2, 1]
Position [134, 235, 181, 290]
Orientation "down"
NamePlacement "alternate"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Prod2"
Ports [2, 1]
Position [325, 164, 390, 206]
Orientation "left"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "Received\nSignal"
Ports [1]
Position [235, 14, 265, 46]
Floating off
Location [72, 462, 1005, 701]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-005"
YMin "-0.7"
YMax "0.7"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Received\nSignal1"
Ports [1]
Position [395, 14, 425, 46]
Floating off
Location [72, 208, 1005, 447]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-005"
YMin "-0.7"
YMax "0.7"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Received\nSignal2"
Ports [1]
Position [370, 119, 400, 151]
Floating off
Location [75, 331, 1008, 570]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-005"
YMin "-0.7"
YMax "0.7"
SaveToWorkspace off
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Outport
Name "Phase1"
Position [150, 338, 180, 352]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Out1"
Position [150, 23, 180, 37]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "90"
SrcPort 1
Points [-25, 0]
Branch {
DstBlock "Prod"
DstPort 2
}
Branch {
Points [-110, 0; 0, -120]
DstBlock "Clock\nShape1"
DstPort 1
}
}
Line {
SrcBlock "In-phase"
SrcPort 1
Points [0, 0; -25, 0]
Branch {
DstBlock "Prod1"
DstPort 2
}
Branch {
Points [-110, 0]
DstBlock "Clock\nShape"
DstPort 1
}
}
Line {
SrcBlock "Prod2"
SrcPort 1
Points [0, 0; -10, 0]
Branch {
Points [-15, 0]
Branch {
DstBlock "90"
DstPort 1
}
Branch {
DstBlock "In-phase"
DstPort 1
}
}
Branch {
Points [0, -50]
DstBlock "Received\nSignal2"
DstPort 1
}
}
Line {
SrcBlock "Prod"
SrcPort 1
Points [0, -15; 45, 0]
Branch {
DstBlock "Loop\nFilter1"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Received\nSignal"
DstPort 1
}
}
Line {
SrcBlock "Prod1"
SrcPort 1
Points [0, 10]
DstBlock "Loop\nFilter2"
DstPort 1
}
Line {
SrcBlock "Loop\nFilter2"
SrcPort 1
Points [55, 0]
DstBlock "Prod2"
DstPort 2
}
Line {
SrcBlock "Loop\nFilter1"
SrcPort 1
Points [20, 0]
Branch {
Points [30, 0]
DstBlock "Prod2"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Received\nSignal1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Prod"
DstPort 1
}
Branch {
DstBlock "Prod1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -