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

📄 vsb.mdl

📁 VSB调制模型
💻 MDL
字号:
Model {
  Name			  "vsb"
  Version		  2.09
  SimParamPage		  Solver
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  PaperOrientation	  landscape
  PaperType		  usletter
  PaperUnits		  inches
  StartTime		  "0.0"
  StopTime		  "0.005"
  Solver		  ode45
  RelTol		  "1e-3"
  AbsTol		  "1e-6"
  Refine		  "1"
  MaxStep		  "auto"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  RefineOutputTimes
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  warning
  MinStepSizeMsg	  warning
  UnconnectedInputMsg	  warning
  UnconnectedOutputMsg	  warning
  UnconnectedLineMsg	  warning
  ConsistencyChecking	  off
  ZeroCross		  on
  SimulationMode	  normal
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_vc.tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  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		    "vsb"
    Location		    [46, 59, 681, 341]
    Open		    on
    ScreenColor		    white
    Block {
      BlockType		      Reference
      Name		      " LPF1"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [165, 75, 215, 125]
      SourceBlock	      "dspddes/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      Butterworth
      filttype		      Lowpass
      N			      "3"
      Wlo		      "2*pi*34000"
      Whi		      "0"
      Rp		      "3"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      " LPF2"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [345, 80, 395, 130]
      SourceBlock	      "dspddes/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      Butterworth
      filttype		      Lowpass
      N			      "3"
      Wlo		      "2*pi*20000"
      Whi		      "0"
      Rp		      "3"
      Rs		      "40"
    }
    Block {
      BlockType		      Sin
      Name		      "Carrier"
      Position		      [15, 115, 45, 145]
      Amplitude		      "2"
      Frequency		      "2*pi*32000"
      Phase		      "pi/2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "FFT Scope1"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [90, 188, 125, 232]
      Orientation	      left
      SourceBlock	      "dspsnks/Buffered\nFFT Scope"
      SourceType	      "Buffered FFT Scope"
      radsPop		      Hertz
      frange		      Half
      ampl_scale	      Magnitude
      bufsize		      "128"
      olap		      "64"
      fftlength		      "256"
      ylabel		      "Magnitude"
      figpos		      "get(0,'DefaultFigurePosition')"
      ts		      "0.00001"
    }
    Block {
      BlockType		      Reference
      Name		      "FFT Scope2"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [270, 143, 305, 187]
      SourceBlock	      "dspsnks/Buffered\nFFT Scope"
      SourceType	      "Buffered FFT Scope"
      radsPop		      Hertz
      frange		      Half
      ampl_scale	      Magnitude
      bufsize		      "128"
      olap		      "64"
      fftlength		      "256"
      ylabel		      "Magnitude"
      figpos		      "get(0,'DefaultFigurePosition')"
      ts		      "0.00001"
    }
    Block {
      BlockType		      Reference
      Name		      "FFT Scope3"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [375, 13, 410, 57]
      SourceBlock	      "dspsnks/Buffered\nFFT Scope"
      SourceType	      "Buffered FFT Scope"
      radsPop		      Hertz
      frange		      Half
      ampl_scale	      Magnitude
      bufsize		      "128"
      olap		      "64"
      fftlength		      "256"
      ylabel		      "Magnitude"
      figpos		      "get(0,'DefaultFigurePosition')"
      ts		      "0.00001"
    }
    Block {
      BlockType		      Sin
      Name		      "Local Carrier"
      Position		      [15, 50, 45, 80]
      Amplitude		      "2"
      Frequency		      "2*pi*32000"
      Phase		      "pi/2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [425, 83, 460, 172]
      ShowName		      off
      Inputs		      "2"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [90, 122, 120, 153]
      FontSize		      12
      ShowName		      off
      Inputs		      "2"
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [295, 87, 325, 118]
      FontSize		      12
      ShowName		      off
      Inputs		      "2"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [280, 215, 310, 245]
      Floating		      off
      Location		      [6, 359, 414, 562]
      Open		      on
      Grid		      on
      TickLabels	      on
      ZoomMode		      xonly
      TimeRange		      "0.005"
      YMin		      "-3"
      YMax		      "3"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [485, 115, 515, 145]
      Floating		      off
      Location		      [387, 361, 795, 564]
      Open		      on
      Grid		      on
      TickLabels	      on
      ZoomMode		      xonly
      TimeRange		      "0.005"
      YMin		      "-3"
      YMax		      "3"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Source"
      Position		      [20, 200, 50, 230]
      ForegroundColor	      blue
      WaveForm		      sine
      Amplitude		      "1"
      Frequency		      "2*pi*4000"
      Units		      rad/sec
    }
    Line {
      Labels		      [1, 0]
      SrcBlock		      "Source"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 55; 340, 0]
	DstBlock		"Mux3"
	DstPort			2
      }
      Branch {
	Points			[0, -70]
	DstBlock		"Product"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      " LPF2"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Scope2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Local Carrier"
      SrcPort		      1
      Points		      [230, 0]
      DstBlock		      "Product3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product3"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[0, -70]
	DstBlock		"FFT Scope3"
	DstPort			1
      }
      Branch {
	DstBlock		" LPF2"
	DstPort			1
      }
    }
    Line {
      Labels		      [1, 0]
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"FFT Scope1"
	DstPort			1
      }
      Branch {
	Points			[0, -40]
	DstBlock		" LPF1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Carrier"
      SrcPort		      1
      DstBlock		      "Product"
      DstPort		      1
    }
    Line {
      Labels		      [1, 0]
      SrcBlock		      " LPF1"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Points			[0, 65]
	Branch {
	  Points		  [0, 65]
	  DstBlock		  "Scope1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "FFT Scope2"
	  DstPort		  1
	}
      }
      Branch {
	Points			[35, 0]
	DstBlock		"Product3"
	DstPort			2
      }
    }
  }
}

⌨️ 快捷键说明

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