📄 dsf.mdl
字号:
Ports [0, 1]
Position [25, 43, 105, 87]
FontName "Arial"
FontSize 10
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
P "0.5"
seed "61"
Ts "1/100"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Reference
Name "Bipolar to\nUnipolar\nConverter"
Ports [1, 1]
Position [430, 56, 495, 94]
FontSize 10
SourceBlock "commutil2/Bipolar to\nUnipolar\nConverter"
SourceType "Bipolar to Unipolar Converter"
M "2"
polarity "Positive"
}
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [25, 118, 105, 162]
FontSize 10
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[1 0 0 0 0 1 1]"
ini_sta "[0 0 0 0 0 1]"
shift "0"
Ts "1/2000"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType Product
Name "Product\n扩频"
Ports [2, 1]
Position [345, 56, 390, 89]
InputSameDT off
}
Block {
BlockType Reference
Name "Rate Transition"
Ports [1, 1]
Position [130, 44, 185, 86]
FontSize 10
SourceBlock "simulink/Signal\nAttributes/Rate Transition"
SourceType "Rate_Transition"
DataIntegrity on
DeterministicTransfer on
TransitionType "Slow to fast"
InitCond "0"
}
Block {
BlockType Reference
Name "Rate Transition1"
Ports [1, 1]
Position [635, 139, 690, 181]
FontSize 10
SourceBlock "simulink/Signal\nAttributes/Rate Transition"
SourceType "Rate_Transition"
DataIntegrity on
DeterministicTransfer on
TransitionType "Slow to fast"
InitCond "0"
}
Block {
BlockType Reference
Name "Rate Transition2"
Ports [1, 1]
Position [635, 54, 690, 96]
FontSize 10
SourceBlock "simulink/Signal\nAttributes/Rate Transition"
SourceType "Rate_Transition"
DataIntegrity on
DeterministicTransfer on
TransitionType "Slow to fast"
InitCond "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [540, 186, 585, 244]
Location [87, 493, 739, 668]
Open off
NumInputPorts "3"
TickLabels "off"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
}
TimeRange "0.1"
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [770, 50, 805, 100]
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "500"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[232 258 560 420]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-48.9282442585022"
YMax "23.2359531120033"
YLabel "Magnitude, dB"
LineProperties off
LineMarkers "|None"
LineColors "|[1 0 0]"
}
Block {
BlockType Reference
Name "Spectrum\nScope1"
Ports [1]
Position [770, 135, 805, 185]
FontSize 10
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "500"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[232 258 560 420]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Samples"
YUnits "dB"
YMin "-48.9282442585022"
YMax "23.2359531120033"
YLabel "Magnitude, dB"
LineProperties off
LineMarkers "|None"
LineColors "|[1 0 0]"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [205, 47, 280, 83]
FontSize 10
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Positive"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter1"
Ports [1, 1]
Position [130, 122, 190, 158]
FontSize 10
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Positive"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [710, 55, 745, 95]
FontSize 10
SampleTime "1/8000"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [710, 140, 745, 180]
FontSize 10
SampleTime "1/8000"
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
DstBlock "Rate Transition"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter1"
DstPort 1
}
Line {
SrcBlock "Product\n扩频"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Bipolar to\nUnipolar\nConverter"
DstPort 1
}
Branch {
Points [0, 160]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Rate Transition"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "Spectrum\nScope"
DstPort 1
}
Line {
SrcBlock "Rate Transition2"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "Product\n扩频"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
DstBlock "Rate Transition1"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Bipolar to\nUnipolar\nConverter"
SrcPort 1
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter1"
SrcPort 1
Points [0, 0; 115, 0]
Branch {
Points [0, -60]
DstBlock "Product\n扩频"
DstPort 2
}
Branch {
Points [0, 75]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "BPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Rate Transition2"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Spectrum\nScope1"
DstPort 1
}
Line {
SrcBlock "Rate Transition1"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Annotation {
Name "直接扩频发射机仿真系统模型\n文件名:ch7example2"
"5.mdl"
Position [111, 228]
DropShadow on
FontName "Arial"
FontSize 12
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -