📄 am_sys.mdl
字号:
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1|0.1"
}
Block {
BlockType Product
Name "乘法器"
Ports [2, 1, 0, 0, 0]
Position [125, 88, 155, 112]
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Sum
Name "加法器"
Ports [2, 1, 0, 0, 0]
Position [185, 95, 205, 115]
FontName "宋体"
FontSize 12
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "解调信号波形"
Ports [1, 0, 0, 0, 0]
Position [450, 270, 480, 300]
FontName "宋体"
FontSize 12
Floating off
Location [309, 300, 640, 453]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-0.500000"
YMax "0.500000"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "信号波形"
Ports [1, 0, 0, 0, 0]
Position [450, 30, 480, 60]
FontName "宋体"
FontSize 12
Floating off
Location [0, 139, 331, 300]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-3.000000"
YMax "3.000000"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SignalGenerator
Name "信号发生器"
Position [25, 78, 70, 112]
FontName "宋体"
FontSize 12
WaveForm "sine"
Amplitude "1.000000"
Frequency "30.000000"
Units "rad/sec"
}
Block {
BlockType Scope
Name "已调幅信号波形"
Ports [1, 0, 0, 0, 0]
Position [450, 90, 480, 120]
FontName "宋体"
FontSize 12
Floating off
Location [0, 301, 329, 449]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-3.000000"
YMax "3.000000"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
Name "载波\ncos(Wc*t)"
Position [55, 145, 75, 165]
FontName "宋体"
FontSize 12
Amplitude "1"
Frequency "F*2*pi"
Phase "0"
SampleTime "-1"
MaskType "载波"
MaskDescription "载波"
MaskPromptString "载波频率(Hz):"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskInitialization "F=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "50"
}
Block {
BlockType Gain
Name "直流偏置\nA"
Position [135, 145, 155, 165]
FontName "宋体"
FontSize 12
Gain "2"
SaturateOnIntegerOverflow on
}
Line {
SrcBlock "包络解调"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Butterworth\n低通滤波器"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "包络检波后波形"
DstPort 1
}
}
Line {
SrcBlock "乘法器"
SrcPort 1
DstBlock "加法器"
DstPort 1
}
Line {
SrcBlock "载波\ncos(Wc*t)"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -50]
DstBlock "乘法器"
DstPort 2
}
Branch {
DstBlock "直流偏置\nA"
DstPort 1
}
}
Line {
SrcBlock "直流偏置\nA"
SrcPort 1
Points [10, 0]
DstBlock "加法器"
DstPort 2
}
Line {
SrcBlock "加法器"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "已调幅信号波形"
DstPort 1
}
Branch {
Points [0, 130; -160, 0; 0, 50]
DstBlock "Diode"
DstPort 1
}
}
Line {
SrcBlock "Diode"
SrcPort 1
DstBlock "包络解调"
DstPort 1
}
Line {
SrcBlock "信号发生器"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "乘法器"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "信号波形"
DstPort 1
}
}
Line {
SrcBlock "Butterworth\n低通滤波器"
SrcPort 1
DstBlock "解调信号波形"
DstPort 1
}
Annotation {
Position [227, 17]
VerticalAlignment "top"
Text "非同步调制/解调系统中的调制器——幅度调制"
FontName "宋体"
FontSize 12
}
Annotation {
Position [67, 292]
VerticalAlignment "top"
Text "信号接收"
FontName "宋体"
FontSize 12
}
Annotation {
Position [142, 242]
VerticalAlignment "top"
Text "信号传输"
FontName "宋体"
FontSize 12
}
Annotation {
Position [207, 217]
VerticalAlignment "top"
Text "通信信道"
FontName "宋体"
FontSize 12
}
Annotation {
Position [267, 142]
VerticalAlignment "top"
Text "信号发送"
FontName "宋体"
FontSize 12
}
Annotation {
Position [267, 117]
VerticalAlignment "top"
Text "已调信号"
FontName "宋体"
FontSize 12
}
Annotation {
Position [312, 87]
VerticalAlignment "top"
Text "Y(t) = (A+X(t))*cos(Wc*t)"
FontName "宋体"
FontSize 12
}
Annotation {
Position [87, 77]
VerticalAlignment "top"
Text "X(t)"
FontName "宋体"
FontSize 12
}
Annotation {
Position [47, 57]
VerticalAlignment "top"
Text "调制信号"
FontName "宋体"
FontSize 12
}
Annotation {
Position [222, 342]
VerticalAlignment "top"
Text "峰值包络检波器"
FontName "宋体"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "同步调制/解调系统\n(单边带 SSB)\n之滤波法1"
Ports [0, 0, 0, 0, 0]
Position [355, 500, 435, 551]
DropShadow on
FontName "宋体"
FontSize 12
ShowPortLabels off
MaskDisplay "disp('AM\\nSystem - 3')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "同步调制/解调系统\n(单边带 SSB)\n之滤波法1"
Location [31, 84, 571, 464]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType StateSpace
Name "Butterworth\nBP 滤波器 1"
Position [290, 84, 350, 126]
ForegroundColor "green"
FontName "宋体"
FontSize 12
A "at"
B "bt"
C "ct"
D "dt"
X0 "0"
MaskType "buttap,lp2bp"
MaskDescription "Analog Butterworth band pass filter.\n\n(Re"
"quires Signal Processing Toolbox)"
MaskHelp "Butterworth band pass filter using MATLAB's"
" butter and lp2bp command."
MaskPromptString "Center frequency (rad/sec)|Bandwidth (rad/s"
"ec):|Order"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "[at,bt,ct,dt,w,mag]=filtm('buttap','lp2bp',"
"@1,@2,50,@3);"
MaskDisplay "plot(w,mag)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "110|5|4"
}
Block {
BlockType StateSpace
Name "Butterworth\nBP 滤波器 2"
Position [290, 154, 350, 196]
ForegroundColor "green"
FontName "宋体"
FontSize 12
A "at"
B "bt"
C "ct"
D "dt"
X0 "0"
MaskType "buttap,lp2bp"
MaskDescription "Analog Butterworth band pass filter.\n\n(Re"
"quires Signal Processing Toolbox)"
MaskHelp "Butterworth band pass filter using MATLAB's"
" butter and lp2bp command."
MaskPromptString "Center frequency (rad/sec)|Bandwidth (rad/s"
"ec):|Order"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskInitialization "[at,bt,ct,dt,w,mag]=filtm('buttap','lp2bp',"
"@1,@2,50,@3);"
MaskDisplay "plot(w,mag)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "90|5|4"
}
Block {
BlockType ZeroPole
Name "Butterworth\nLP 滤波器"
Position [310, 288, 370, 332]
FontName "宋体"
FontSize 12
Zeros "z"
Poles "p"
Gain "k"
MaskType "buttap"
MaskDescription "Analog Butterworth low pass filter.\n\n(Req"
"uires Signal Processing Toolbox)"
MaskHelp "Butterworth low pass filter using MATLAB's "
"butter command."
MaskPromptString "Cutoff frequency (rad/sec)|Order"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskInitialization "[z,p,k]=buttap(@2); z=@1*z; p=@1*p; k=real("
"prod(-p)); [num,den]=zp2tf(z,p,k); w=logspace(log10(@1/10),log10(10*@1),20); "
"h=freqs(num,den,w); "
MaskDisplay "plot(20*log10(w),20*log10(abs(h)))"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "15|4"
}
Block {
BlockType Product
Name "乘法器"
Ports [2, 1, 0, 0, 0]
Position [165, 94, 195, 116]
ForegroundColor "green"
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Product
Name "乘法器1"
Ports [2, 1, 0, 0, 0]
Position [225, 299, 255, 321]
FontName "宋体"
FontSize 12
Inputs "2"
SaturateOnIntegerOverflow on
MaskType "乘法器"
MaskDescription "乘法器"
MaskDisplay "plot([0 1],[1 0],[0 1],[0 1]);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Scope
Name "解调信号"
Ports [1, 0, 0, 0, 0]
Position [430, 295, 460, 325]
FontName "宋体"
FontSize 12
Floating off
Location [121, 143, 452, 457]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-1.000000"
YMax "1.000000"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "上边带信号"
Ports [1, 0, 0, 0, 0]
Position [430, 90, 460, 120]
ForegroundColor "green"
FontName "宋体"
FontSize 12
Floating off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -