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

📄 pcm_dpcm.mdl

📁 基于matlab的脉冲编码仿真,pcm 模块仿真系统等
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [20, 115, 50, 145]
      SineType		      "Time based"
      Frequency		      "2*pi"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [405, 120, 425, 140]
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator1"
      Position		      [245, 245, 265, 265]
    }
    Block {
      BlockType		      SubSystem
      Name		      "performance"
      Ports		      [3]
      Position		      [460, 44, 520, 176]
      TreatAsAtomicUnit	      off
      System {
	Name			"performance"
	Location		[155, 213, 775, 513]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "signal"
	  Position		  [30, 138, 60, 152]
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "DPCM"
	  Position		  [105, 88, 135, 102]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "PCM"
	  Position		  [110, 198, 140, 212]
	  Port			  "3"
	}
	Block {
	  BlockType		  BusCreator
	  Name			  "Bus\nCreator"
	  Ports			  [2, 1]
	  Position		  [200, 16, 205, 54]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  BusCreator
	  Name			  "Bus\nCreator1"
	  Ports			  [2, 1]
	  Position		  [210, 231, 215, 269]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  BusCreator
	  Name			  "Bus\nCreator2"
	  Ports			  [2, 1]
	  Position		  [515, 126, 520, 164]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DPCM RMS"
	  Ports			  [1, 1]
	  Position		  [365, 77, 440, 113]
	  SourceBlock		  "dspstat3/RMS"
	  SourceType		  "RMS"
	  run			  "on"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Scope
	  Name			  "DPCM Scope"
	  Ports			  [1]
	  Position		  [270, 19, 300, 51]
	  Location		  [251, 427, 575, 666]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>DPCM信号解码后的波形与原信"
"号波形的比较"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PCM RMS"
	  Ports			  [1, 1]
	  Position		  [365, 167, 440, 203]
	  SourceBlock		  "dspstat3/RMS"
	  SourceType		  "RMS"
	  run			  "on"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Scope
	  Name			  "PCM Scope"
	  Ports			  [1]
	  Position		  [275, 234, 305, 266]
	  Location		  [333, 413, 657, 652]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>PCM信号解码后的波形与原信号"
"波形的比较"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Scope
	  Name			  "RMS Scope"
	  Ports			  [1]
	  Position		  [565, 129, 595, 161]
	  Location		  [682, 507, 1006, 746]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	  }
	  YMin			  "-1"
	  YMax			  "1"
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [265, 73, 290, 117]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [270, 157, 295, 213]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [150, 126, 185, 164]
	  SampleTime		  "sample/10"
	}
	Line {
	  SrcBlock		  "Bus\nCreator2"
	  SrcPort		  1
	  DstBlock		  "RMS Scope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "signal"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 115]
	    DstBlock		    "Bus\nCreator1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -120]
	    DstBlock		    "Bus\nCreator"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Zero-Order\nHold"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "DPCM"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Bus\nCreator"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Sum"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Bus\nCreator"
	  SrcPort		  1
	  DstBlock		  "DPCM Scope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bus\nCreator1"
	  SrcPort		  1
	  DstBlock		  "PCM Scope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PCM"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "Bus\nCreator1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "DPCM RMS"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "PCM RMS"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PCM RMS"
	  SrcPort		  1
	  Points		  [25, 0; 0, -30]
	  DstBlock		  "Bus\nCreator2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "DPCM RMS"
	  SrcPort		  1
	  Points		  [25, 0; 0, 40]
	  DstBlock		  "Bus\nCreator2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [30, 0; 0, 0]
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"DPCM\nEncoder"
	DstPort			1
      }
      Branch {
	Points			[0, 110]
	DstBlock		"PCM\n"
	DstPort			1
      }
      Branch {
	Points			[0, -65]
	DstBlock		"performance"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "PCM\n"
      SrcPort		      3
      DstBlock		      "Terminator1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "DPCM\nEncoder"
      SrcPort		      2
      Points		      [25, 0; 0, 30]
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PCM\n"
      SrcPort		      2
      Points		      [20, 0; 0, -55]
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      SrcBlock		      "DPCM\nEncoder"
      SrcPort		      1
      DstBlock		      "DPCM\nDecoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "DPCM\nDecoder"
      SrcPort		      1
      DstBlock		      "performance"
      DstPort		      2
    }
    Line {
      SrcBlock		      "DPCM\nDecoder"
      SrcPort		      2
      DstBlock		      "Terminator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PCM\n"
      SrcPort		      1
      DstBlock		      "Quantizer\nDecode"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Quantizer\nDecode"
      SrcPort		      1
      Points		      [20, 0; 0, -70]
      DstBlock		      "performance"
      DstPort		      3
    }
  }
}

⌨️ 快捷键说明

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