?? ch5example1.mdl
字號:
Position [285, 97, 350, 153]
FontSize 10
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "2"
Wlo "2*pi*(1e6-6e3)"
Whi "2*pi*(1e6+6e3)"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design1"
Ports [1, 1]
Position [285, 187, 350, 243]
FontSize 10
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "4"
Wlo "2*pi*(1e6-6e3)"
Whi "2*pi*(1e6+6e3)"
Rp "2"
Rs "40"
Port {
PortNumber 1
Name "純噪聲"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Analog\nFilter Design2"
Ports [1, 1]
Position [285, 12, 350, 68]
FontSize 10
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "4"
Wlo "2*pi*(1e6-6e3)"
Whi "2*pi*(1e6+6e3)"
Rp "2"
Rs "40"
Port {
PortNumber 1
Name "純信號"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Constant
Name "Constant"
Position [40, 165, 70, 195]
}
Block {
BlockType Display
Name "Display檢測輸出信噪比"
Ports [1]
Position [385, 302, 475, 328]
FontSize 10
Decimation "1"
}
Block {
BlockType Fcn
Name "Fcn"
Position [305, 300, 360, 330]
Expr "u(1)-u(2)"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [430, 186, 435, 224]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [160, 106, 205, 139]
InputSameDT off
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [175, 170, 205, 200]
Variance "3.4945"
SampleTime "6.23e-8"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [425, 101, 455, 134]
Location [54, 471, 378, 710]
Open on
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.005"
YMin "-1.5~-2"
YMax "1.5~2"
DataFormat "StructureWithTime"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator"
Position [40, 100, 70, 130]
Amplitude "0.3"
Frequency "1000"
}
Block {
BlockType SignalGenerator
Name "Signal\nGenerator1"
Position [40, 225, 70, 255]
Frequency "1000e3"
Port {
PortNumber 1
Name "載波"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [95, 105, 115, 125]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [235, 115, 255, 135]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Reference
Name "Variance"
Ports [1, 1]
Position [160, 298, 220, 332]
FontSize 10
SourceBlock "dspstat3/Variance"
SourceType "Variance"
run on
reset_popup "None"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [105, 296, 140, 334]
SampleTime "6.23e-8"
}
Block {
BlockType Reference
Name "dB Conversion"
Ports [1, 1]
Position [240, 296, 280, 334]
SourceBlock "dspmathops/dB Conversion"
SourceType "dB Conversion"
dBtype "dB"
intype "Power"
R "1"
fuzz on
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Variance"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
Name "載波"
Labels [0, 0]
SrcBlock "Signal\nGenerator1"
SrcPort 1
Points [70, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Analog\nFilter Design2"
DstPort 1
}
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
Points [25, 0; 10, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Analog\nFilter Design1"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Analog\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Variance"
SrcPort 1
DstBlock "dB Conversion"
DstPort 1
}
Line {
SrcBlock "dB Conversion"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
Name "純噪聲"
Labels [0, 0]
SrcBlock "Analog\nFilter Design1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
Name "純信號"
Labels [2, 0]
SrcBlock "Analog\nFilter Design2"
SrcPort 1
Points [30, 0; 0, 70; 10, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Display檢測輸出信噪比"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0; 0, 80; -370, 0]
DstBlock "Zero-Order\nHold"
DstPort 1
}
Annotation {
Name "中波調幅廣播傳輸系統仿真模型\n文件名:ch5exampl"
"e1.mdl"
Position [103, 47]
DropShadow on
FontName "Arial"
FontSize 12
}
Annotation {
Name "AWGN"
Position [247, 106]
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -