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

📄 linearpll.mdl

📁 对一般的PLL及APLL,定点PLL进行了MATLAB SIMULINK仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    FontName		    "Arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "linearpll"
    Location		    [199, 82, 808, 369]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Continuous-Time\nVCO"
      Ports		      [1, 1]
      Position		      [295, 192, 385, 238]
      Orientation	      "left"
      DropShadow	      on
      SourceBlock	      "commsynccomp2/Continuous-Time\nVCO"
      SourceType	      "Continuous-Time VCO"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      Ac		      "1"
      Fc		      "1e6"
      Kc		      "1e5"
      Ph		      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Loop Filter"
      Ports		      [1, 1]
      Position		      [350, 52, 415, 108]
      DropShadow	      on
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "5"
      Wlo		      "1e6*2*pi"
      Whi		      "80"
      Rp		      "1"
      Rs		      "180"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PFD"
      Ports		      [2, 1]
      Position		      [240, 50, 295, 105]
      DropShadow	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"PFD"
	Location		[433, 102, 721, 338]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Ref"
	  Position		  [25, 25, 55, 40]
	  Orientation		  "down"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Var"
	  Position		  [25, 95, 55, 110]
	  Orientation		  "up"
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [135, 52, 165, 83]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [240, 63, 270, 77]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Ref"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Var"
	  SrcPort		  1
	  Points		  [0, -15]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sin
      Name		      "Ref Osc"
      Ports		      [0, 1]
      Position		      [70, 50, 100, 80]
      AttributesFormatString  "%<Frequency> (rad/s)"
      SineType		      "Time based"
      Frequency		      "2*pi*1e6"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [2]
      Position		      [245, 136, 275, 169]
      Floating		      off
      Location		      [6, 383, 1024, 706]
      Open		      off
      NumInputPorts	      "2"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      TimeRange		      "5e-005"
      YMin		      "-1.5~-1.5"
      YMax		      "1.5~1.5"
      SaveToWorkspace	      on
      SaveName		      "log_linearpll"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleInput	      on
      SampleTime	      "1e-8"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [35, 190, 70, 240]
      Orientation	      "left"
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag0"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      "none"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "512"
      Overlap		      "256"
      inpFftLenInherit	      off
      FFTlength		      "512"
      numAvg		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     off
      OpenScopeImmediately    off
      FigPos		      "[7 92 1014 145]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-67.488756819385"
      YMax		      "23.8054648623852"
      YLabel		      "Magnitude-squared, dB"
      LineProperties	      off
      wintypeSpecScope	      "Kaiser"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Scope
      Name		      "Vco"
      Ports		      [1]
      Position		      [520, 64, 550, 96]
      Floating		      off
      Location		      [23, 451, 524, 695]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.0001"
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Zero-Order\nHold"
      Position		      [95, 200, 130, 230]
      Orientation	      "left"
      SampleTime	      "1e-7"
    }
    Line {
      SrcBlock		      "Ref Osc"
      SrcPort		      1
      Points		      [85, 0]
      Branch {
	Points			[0, 80]
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	Labels			[0, 0]
	DstBlock		"PFD"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Continuous-Time\nVCO"
      SrcPort		      1
      Points		      [-145, 0]
      Branch {
	Points			[0, -125; 25, 0]
	Branch {
	  Points		  [0, 70]
	  DstBlock		  "Scope"
	  DstPort		  2
	}
	Branch {
	  Labels		  [0, 0]
	  DstBlock		  "PFD"
	  DstPort		  2
	}
      }
      Branch {
	DstBlock		"Zero-Order\nHold"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "PFD"
      SrcPort		      1
      DstBlock		      "Loop Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Loop Filter"
      SrcPort		      1
      Points		      [45, 0]
      Branch {
	DstBlock		"Vco"
	DstPort			1
      }
      Branch {
	Points			[0, 135]
	DstBlock		"Continuous-Time\nVCO"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Zero-Order\nHold"
      SrcPort		      1
      DstBlock		      "Spectrum\nScope"
      DstPort		      1
    }
    Annotation {
      Name		      "Linear or analog Phase-Locked Loop"
      Position		      [305, 20]
      DropShadow	      on
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    ,     8    (    !          %    "
"\"                0         0          "
  }
}

# Finite State Machines
#
#    Stateflow Version 6.6 (R2007a) dated Jan 30 2007, 03:33:34
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"linearpll"
		created              		"16-Apr-2007 21:21:34"
		isLibrary            		0
		firstTarget          		2
		sfVersion            		66014000
	}

	target {
		id                        		2
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		machine                   		1
		linkNode                  		[1 0 0]
	}
}

⌨️ 快捷键说明

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