fdma.mdl
来自「此内容是对多址技术即cdma,fdma,tdma技术的原理详细介绍」· MDL 代码 · 共 964 行 · 第 1/2 页
MDL
964 行
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design5"
Ports [1, 1]
Position [575, 259, 630, 301]
ShowName off
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "8"
Wlo "2*pi*77"
Whi "2*pi*83"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "DSB AM\nDemodulator\nPassband"
Ports [1, 1]
Position [655, 127, 730, 173]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nDemodulator\nPassband"
SourceType "DSB AM Demodulator Passband"
Offset "1"
Fc "40"
Ph "0"
num "[0.0001 0.0006 0.0016 0.0021 0.0016 0.0006 0.00"
"01]"
den "[1.0000 -4.0616 7.0995 -6.7850 3.7230 -1.1087 0"
".1397]"
ts "0.002"
}
Block {
BlockType Reference
Name "DSB AM\nDemodulator\nPassband1"
Ports [1, 1]
Position [655, 192, 730, 238]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nDemodulator\nPassband"
SourceType "DSB AM Demodulator Passband"
Offset "1"
Fc "60"
Ph "0"
num "[0.0001 0.0006 0.0016 0.0021 0.0016 0.0006 0.00"
"01]"
den "[1.0000 -4.0616 7.0995 -6.7850 3.7230 -1.1087 0"
".1397]"
ts "0.002"
}
Block {
BlockType Reference
Name "DSB AM\nDemodulator\nPassband2"
Ports [1, 1]
Position [655, 257, 730, 303]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nDemodulator\nPassband"
SourceType "DSB AM Demodulator Passband"
Offset "1"
Fc "80"
Ph "0"
num "[0.0001 0.0006 0.0016 0.0021 0.0016 0.0006 0.00"
"01]"
den "[1.0000 -4.0616 7.0995 -6.7850 3.7230 -1.1087 0"
".1397]"
ts "0.002"
}
Block {
BlockType Reference
Name "DSB AM\nModulator\nPassband"
Ports [1, 1]
Position [160, 197, 235, 243]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nModulator\nPassband"
SourceType "DSB AM Modulator Passband"
Offset "1"
Fc "60"
Ph "0"
}
Block {
BlockType Reference
Name "DSB AM\nModulator\nPassband1"
Ports [1, 1]
Position [160, 272, 235, 318]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nModulator\nPassband"
SourceType "DSB AM Modulator Passband"
Offset "1"
Fc "80"
Ph "0"
}
Block {
BlockType Reference
Name "DSB AM\nModulator\nPassband2"
Ports [1, 1]
Position [160, 132, 235, 178]
ShowName off
SourceBlock "commanapbnd2/DSB AM\nModulator\nPassband"
SourceType "DSB AM Modulator Passband"
Offset "1"
Fc "40"
Ph "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [775, 121, 780, 159]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [775, 186, 780, 224]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [780, 271, 785, 309]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [825, 124, 855, 156]
Location [123, 125, 920, 675]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "4"
YMin "-4.5"
YMax "2.5"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [830, 189, 860, 221]
Location [103, 116, 935, 684]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "4"
YMin "-1.5"
YMax "1.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [830, 274, 860, 306]
Location [204, 396, 851, 816]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "4"
YMin "-1.5"
YMax "1.5"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [455, 274, 485, 306]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "4"
YMin "-3"
YMax "3"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Position [65, 140, 95, 170]
ShowName off
Frequency "4"
Units "rad/sec"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator1"
Position [65, 205, 95, 235]
ShowName off
WaveForm "square"
Frequency "4"
Units "rad/sec"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator2"
Position [65, 280, 95, 310]
ShowName off
WaveForm "sawtooth"
Frequency "3"
Units "rad/sec"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [490, 130, 525, 180]
ShowName off
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "512"
inpFftLenInherit on
FFTlength "1024"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr off
XIncr "4e-3"
XLabel "Samples"
YUnits "dB"
YMin "-45"
YMax "25"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [380, 182, 400, 253]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [435, 136, 470, 174]
ShowName off
SampleTime "4e-3"
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "DSB AM\nModulator\nPassband2"
DstPort 1
}
Branch {
Points [0, -40; 635, 0]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Signal\nGenerator1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "DSB AM\nModulator\nPassband"
DstPort 1
}
Branch {
Points [0, 145; 630, 0; 0, -170]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Signal\nGenerator2"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
DstBlock "DSB AM\nModulator\nPassband1"
DstPort 1
}
Branch {
Points [0, 35; 625, 0]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "DSB AM\nModulator\nPassband1"
SrcPort 1
DstBlock "Analog\nFilter Design2"
DstPort 1
}
Line {
SrcBlock "DSB AM\nModulator\nPassband"
SrcPort 1
DstBlock "Analog\nFilter Design"
DstPort 1
}
Line {
SrcBlock "DSB AM\nModulator\nPassband2"
SrcPort 1
DstBlock "Analog\nFilter Design1"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Analog\nFilter Design2"
SrcPort 1
Points [15, 0; 0, -60]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Analog\nFilter Design1"
SrcPort 1
Points [15, 0; 0, 50]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, -5; 10, 0]
Branch {
DstBlock "AWGN\nChannel"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Zero-Order\nHold"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Analog\nFilter Design4"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Analog\nFilter Design5"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Analog\nFilter Design3"
DstPort 1
}
}
Line {
SrcBlock "Analog\nFilter Design3"
SrcPort 1
DstBlock "DSB AM\nDemodulator\nPassband"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design4"
SrcPort 1
DstBlock "DSB AM\nDemodulator\nPassband1"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design5"
SrcPort 1
DstBlock "DSB AM\nDemodulator\nPassband2"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Spectrum\nScope"
DstPort 1
}
Line {
SrcBlock "DSB AM\nDemodulator\nPassband"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "DSB AM\nDemodulator\nPassband1"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "DSB AM\nDemodulator\nPassband2"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?