⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 am_sys5.mdl

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 MDL
字号:
Model {
  Name			  "am_sys5"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "999999"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "1e-3"
  AbsTol		  "1e-3"
  Refine		  "1"
  MaxStep		  "0.001"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  off
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Matrix"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  IntegerOverflowMsg	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  BooleanDataType	  off
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  Created		  "Wed Jan 05 22:27:45 2000"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Wed Jan 05 22:28:21 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:1>"
  ConfigurationManager	  "none"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "am_sys5"
    Location		    [40, 85, 556, 383]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      ZeroPole
      Name		      "Butterworth\nLP 滤波器"
      Position		      [335, 218, 395, 262]
      FontName		      "宋体"
      FontSize		      12
      Zeros		      "z"
      Poles		      "p"
      Gain		      "k"
      MaskType		      "buttap"
      MaskDescription	      "Analog Butterworth low pass filter.\n\n(Require"
"s Signal Processing Toolbox)"
      MaskHelp		      "Butterworth low pass filter using MATLAB's butt"
"er 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=fr"
"eqs(num,den,w); "
      MaskDisplay	      "plot(20*log10(w),20*log10(abs(h)))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "10|4"
    }
    Block {
      BlockType		      Product
      Name		      "乘法器"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [205, 74, 235, 96]
      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		      [205, 229, 235, 251]
      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		      [445, 70, 475, 100]
      FontName		      "宋体"
      FontSize		      12
      Floating		      off
      Location		      [82, 93, 413, 237]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "1.000000"
      YMin		      "-2"
      YMax		      "2"
      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		      [445, 225, 475, 255]
      FontName		      "宋体"
      FontSize		      12
      Floating		      off
      Location		      [248, 314, 579, 454]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "1.000000"
      YMin		      "-1"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Matrix"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "信号发生器\n频率(弧度/秒)"
      Position		      [70, 63, 115, 97]
      FontName		      "宋体"
      FontSize		      12
      WaveForm		      "sine"
      Amplitude		      "1.000000"
      Frequency		      "10.000000"
      Units		      "rad/sec"
    }
    Block {
      BlockType		      Sin
      Name		      "载波"
      Position		      [80, 130, 100, 150]
      FontName		      "宋体"
      FontSize		      12
      Amplitude		      "1"
      Frequency		      "100"
      Phase		      "0"
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Scope
      Name		      "载波与\n接收信号的乘积"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [445, 140, 475, 170]
      FontName		      "宋体"
      FontSize		      12
      Floating		      off
      Location		      [58, 249, 387, 411]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "1.000000"
      YMin		      "-2"
      YMax		      "2"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Matrix"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "信号发生器\n频率(弧度/秒)"
      SrcPort		      1
      DstBlock		      "乘法器"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Butterworth\nLP 滤波器"
      SrcPort		      1
      DstBlock		      "解调后信号波形"
      DstPort		      1
    }
    Line {
      SrcBlock		      "载波"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, -50]
	DstBlock		"乘法器"
	DstPort			2
      }
      Branch {
	Points			[0, 105]
	DstBlock		"乘法器1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "乘法器"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"调制后信号波形"
	DstPort			1
      }
      Branch {
	Points			[0, 125; -100, 0; 0, 25]
	DstBlock		"乘法器1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "乘法器1"
      SrcPort		      1
      Points		      [70, 0]
      Branch {
	DstBlock		"Butterworth\nLP 滤波器"
	DstPort			1
      }
      Branch {
	Points			[0, -85]
	DstBlock		"载波与\n接收信号的乘积"
	DstPort			1
      }
    }
    Annotation {
      Position		      [252, 142]
      VerticalAlignment	      "top"
      Text		      "传\n输\n信\n道"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [147, 252]
      VerticalAlignment	      "top"
      Text		      "接收端"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [337, 67]
      VerticalAlignment	      "top"
      Text		      "Y(t) = X(t)*cos(Wc*t+p)"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [167, 62]
      VerticalAlignment	      "top"
      Text		      "X(t)"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [92, 42]
      VerticalAlignment	      "top"
      Text		      "调制信号"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [72, 172]
      VerticalAlignment	      "top"
      Text		      "cos ( Wc * t + p )\nWc 载波角频率\np 载波初始相"
"位"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [262, 17]
      VerticalAlignment	      "top"
      Text		      "同步调制/解调 AM 系统 ( 双边带 DSB )—— 原理"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [287, 97]
      VerticalAlignment	      "top"
      Text		      "发送端"
      FontName		      "宋体"
      FontSize		      12
    }
    Annotation {
      Position		      [367, 92]
      VerticalAlignment	      "top"
      Text		      "已调 DSB 信号"
      FontName		      "宋体"
      FontSize		      12
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -