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

📄 dspsdadc4.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  BackgroundColor	  "black"
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag2"
	  SourceBlock		  "dspmlti4/FIR\nDecimation"
	  SourceType		  "FIR Decimation"
	  h			  "fir1(64, 0.125)"
	  D			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [390, 33, 420, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "FIR\nDecimation\nto 32 khz"
	  SrcPort		  1
	  DstBlock		  "FIR\nDecimation\nto 8kHz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FIR\nDecimation\nto128kHz"
	  SrcPort		  1
	  DstBlock		  "FIR\nDecimation\nto 32 khz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "FIR\nDecimation\nto128kHz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FIR\nDecimation\nto 8kHz"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [340, 115, 370, 145]
      Gain		      "0.5"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [235, 170, 265, 200]
      Orientation	      "left"
      Gain		      ".5"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [85, 115, 115, 145]
      Gain		      "0.5"
    }
    Block {
      BlockType		      Scope
      Name		      "Results"
      Ports		      [1]
      Position		      [705, 43, 735, 87]
      ShowName		      off
      Location		      [652, 477, 1019, 732]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.015"
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Sample\nat 512kHz1"
      Position		      [130, 114, 160, 146]
      SampleTime	      "1/512000"
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Sample\nat 8KHz"
      Position		      [230, 39, 265, 71]
      SampleTime	      "1/8000"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [15, 109, 60, 151]
      SineType		      "Time based"
      Amplitude		      ".5"
      Frequency		      "500*2*pi"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"Analog\nInput"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [680, 105, 715, 155]
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      off
      ScopeProperties	      off
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "512"
      Overlap		      "0"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[4 36 640 268]"
      AxisProperties	      on
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-80"
      YMax		      "20"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [180, 115, 210, 145]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [290, 115, 320, 145]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      Reference
      Name		      "delay 10 samples"
      Ports		      [1, 1]
      Position		      [325, 37, 370, 73]
      SourceBlock	      "dspobslib/Integer Delay"
      SourceType	      "Integer Delay"
      delay		      "10"
      ic		      "0"
      reset_popup	      "None"
      Port {
	PortNumber		1
	Name			"yellow=adc input"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      DiscreteFilter
      Name		      "integrator"
      Position		      [395, 110, 435, 150]
      Numerator		      "[ 0 1]"
      Denominator	      "[1 -1]"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      DiscreteFilter
      Name		      "integrator1"
      Position		      [225, 110, 265, 150]
      Numerator		      "[ 0 1]"
      Denominator	      "[1 -1]"
      SampleTime	      "-1"
    }
    Line {
      SrcBlock		      "Filter and Downsample"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Labels			[-1, 0]
	Points			[0, -55]
	DstBlock		"Bus\nCreator"
	DstPort			2
      }
      Branch {
	DstBlock		"Spectrum\nScope"
	DstPort			1
      }
    }
    Line {
      Name		      "Analog\nInput"
      Labels		      [1, 0]
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Gain2"
	DstPort			1
      }
      Branch {
	Points			[0, -75]
	DstBlock		"Sample\nat 8KHz"
	DstPort			1
      }
    }
    Line {
      Name		      "1-bit Error Signal"
      Labels		      [0, 0]
      SrcBlock		      "1-bit\nquantizer"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	DstBlock		"Filter and Downsample"
	DstPort			1
      }
      Branch {
	Points			[0, 55; -220, 0]
	Branch {
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Branch {
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "integrator1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bus\nCreator"
      SrcPort		      1
      DstBlock		      "Results"
      DstPort		      1
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Sample\nat 8KHz"
      SrcPort		      1
      DstBlock		      "delay 10 samples"
      DstPort		      1
    }
    Line {
      Name		      "yellow=adc input"
      Labels		      [0, 0]
      SrcBlock		      "delay 10 samples"
      SrcPort		      1
      DstBlock		      "Bus\nCreator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "integrator1"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "integrator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      Points		      [-35, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sample\nat 512kHz1"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "integrator"
      SrcPort		      1
      DstBlock		      "1-bit\nquantizer"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain2"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Sample\nat 512kHz1"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  3
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
",     0         0    #    $9)4D1E8TEN=&5R<      "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
",     0         0    #    $9)4D1E8TEN=&5R<      "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
",     0         0    #    $9)4D1E8TEN=&5R<      "
  }
}

⌨️ 快捷键说明

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