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

📄 bpsk.mdl

📁 采用simulink搭建的BPSK调制解调模块
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Sum2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "Unit Delay1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay1"
	  SrcPort		  1
	  Points		  [30, 0; 0, 50; -145, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Unit Delay"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [15, 0; 0, 35; -100, 0]
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [10, 0; 0, -25; -145, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [800, 85, 820, 105]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [760, 135, 780, 155]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
    }
    Block {
      BlockType		      Lookup
      Name		      "cos"
      Position		      [650, 395, 700, 445]
      Orientation	      "left"
      NamePlacement	      "alternate"
      InputValues	      "[-2*pi:2*pi]"
      OutputValues	      "cos([-2*pi:2*pi])"
    }
    Block {
      BlockType		      SubSystem
      Name		      "down-converter"
      Ports		      [1, 2]
      Position		      [210, 149, 310, 191]
      TreatAsAtomicUnit	      off
      System {
	Name			"down-converter"
	Location		[2, 86, 1014, 720]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in"
	  Position		  [80, 288, 110, 302]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nFilter Design1"
	  Ports			  [1, 1]
	  Position		  [355, 197, 420, 253]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Bessel"
	  filttype		  "Lowpass"
	  N			  "8"
	  Wlo			  "7500"
	  Whi			  "7500"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nFilter Design2"
	  Ports			  [1, 1]
	  Position		  [355, 337, 420, 393]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Bessel"
	  filttype		  "Lowpass"
	  N			  "8"
	  Wlo			  "7500"
	  Whi			  "7500"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [2, 1]
	  Position		  [255, 206, 300, 239]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product5"
	  Ports			  [2, 1]
	  Position		  [255, 346, 300, 379]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave"
	  Position		  [150, 200, 180, 230]
	  SineType		  "Time based"
	  Frequency		  "7020"
	  Phase			  "pi/2"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave1"
	  Position		  [150, 355, 180, 385]
	  SineType		  "Time based"
	  Frequency		  "7020"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_i"
	  Position		  [470, 218, 500, 232]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out_q"
	  Position		  [470, 358, 500, 372]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  Points		  [110, 0]
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Product4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Product5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sine Wave"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "Product5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product5"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design1"
	  SrcPort		  1
	  DstBlock		  "Out_i"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design2"
	  SrcPort		  1
	  DstBlock		  "Out_q"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "phase_error_test"
      Ports		      [2, 4]
      Position		      [850, 110, 950, 165]
      TreatAsAtomicUnit	      off
      System {
	Name			"phase_error_test"
	Location		[-30, 319, 982, 953]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [190, 328, 220, 342]
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [190, 393, 220, 407]
	  Port			  "2"
	}
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1]
	  Position		  [685, 455, 775, 485]
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [490, 200, 520, 230]
	  Gain			  "-2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [500, 326, 545, 359]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [500, 391, 545, 424]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [4, 1]
	  Position		  [390, 58, 435, 92]
	  Inputs		  "4"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [4, 1]
	  Position		  [390, 128, 435, 162]
	  Inputs		  "4"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [4, 1]
	  Position		  [390, 198, 435, 232]
	  Inputs		  "4"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign"
	  Position		  [390, 320, 420, 350]
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign1"
	  Position		  [390, 385, 420, 415]
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [595, 335, 615, 355]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [560, 140, 580, 160]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [665, 283, 695, 297]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [670, 388, 700, 402]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out3"
	  Position		  [665, 338, 695, 352]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out4"
	  Position		  [625, 143, 655, 157]
	  Port			  "4"
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Out3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "Display"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [55, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    Points		    [0, 120; 210, 0; 0, -40]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -245]
	    Branch {
	      Points		      [0, -10]
	      Branch {
		Points			[0, -10]
		Branch {
		  Points		  [0, -10]
		  DstBlock		  "Product2"
		  DstPort		  1
		}
		Branch {
		  DstBlock		  "Product2"
		  DstPort		  2
		}
	      }
	      Branch {
		DstBlock		"Product2"
		DstPort			3
	      }
	    }
	    Branch {
	      Points		      [0, 0]
	      DstBlock		      "Product2"
	      DstPort		      4
	    }
	  }
	  Branch {
	    DstBlock		    "Sign"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  Points		  [0, 0; 55, 0]
	  Branch {
	    Points		    [0, -35]
	    Branch {
	      Points		      [150, 0; 0, -15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -135]
	      Branch {
		Points			[0, -10]
		Branch {
		  Points		  [0, -10]
		  Branch {
		    Points		    [0, -10]
		    Branch {
		    Points		    [0, -40]
		    Branch {
		    Points		    [0, -10]
		    Branch {
		    Points		    [0, -10]
		    Branch {
		    Points		    [0, -10]
		    DstBlock		    "Product3"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "Product3"
		    DstPort		    2
		    }
		    }
		    Branch {
		    DstBlock		    "Product3"
		    DstPort		    3
		    }
		    }
		    Branch {
		    DstBlock		    "Product3"
		    DstPort		    4
		    }
		    }
		    Branch {
		    DstBlock		    "Product4"
		    DstPort		    1
		    }
		  }
		  Branch {
		    DstBlock		    "Product4"
		    DstPort		    2
		  }
		}
		Branch {
		  DstBlock		  "Product4"
		  DstPort		  3
		}
	      }
	      Branch {
		DstBlock		"Product4"
		DstPort			4
	      }
	    }
	  }
	  Branch {
	    DstBlock		    "Sign1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sign"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sign1"
	  SrcPort		  1

⌨️ 快捷键说明

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