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

📄 pll_d1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      SignalConversion
      OverrideOpt	      off
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Logic
      Operator		      "AND"
      Inputs		      "2"
      AllPortsSameDT	      on
      OutDataTypeMode	      "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "M-S-Function"
      MFile		      "mlfile"
    }
    Block {
      BlockType		      Memory
      X0		      "0"
      InheritSampleTime	      off
      LinearizeMemory	      off
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      ZeroOrderHold
      SampleTime	      "1"
    }
  }
  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		    "pll_d1"
    Location		    [20, 77, 1031, 635]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "135"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design"
      Ports		      [1, 1]
      Position		      [250, 145, 295, 185]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "3"
      Wlo		      "2*pi*500e3"
      Whi		      "80"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Charge Pump"
      Ports		      [2, 1]
      Position		      [190, 126, 235, 204]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "RC Charge Pump"
      MaskPromptString	      "Output Voltage, V (Volts)"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "V=@1;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "5"
      System {
	Name			"Charge Pump"
	Location		[283, 222, 810, 653]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"106"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [85, 15, 115, 30]
	  Orientation		  "down"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [125, 305, 155, 320]
	  Orientation		  "up"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "1.59e-10 F"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [208, 200, 232, 250]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  AttributesFormatString  "%<c>"
	  SourceBlock		  "powerlib2/Elements/Series RLC Branch"
	  SourceType		  "Series RLC Branch"
	  ShowPortLabels	  on
	  a			  "3900"
	  b			  "0"
	  c			  "6.8e-9"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "1.59e-10 F1"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [265, 200, 285, 240]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  AttributesFormatString  "%<c>"
	  SourceBlock		  "powerlib2/Elements/Series RLC Branch"
	  SourceType		  "Series RLC Branch"
	  ShowPortLabels	  on
	  a			  "0"
	  b			  "0"
	  c			  "1.5e-9"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "1e3 ohm"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [140, 158, 195, 172]
	  ShowName		  off
	  AttributesFormatString  "%<a>"
	  SourceBlock		  "powerlib2/Elements/Series RLC Branch"
	  SourceType		  "Series RLC Branch"
	  ShowPortLabels	  on
	  a			  "1500"
	  b			  "0"
	  c			  "inf"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DC Voltage Source"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [26, 85, 44, 120]
	  Orientation		  "up"
	  ShowName		  off
	  AttributesFormatString  "%<V>"
	  SourceBlock		  "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
	  SourceType		  "DC Voltage Source"
	  ShowPortLabels	  on
	  V			  "V"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DC Voltage Source1"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [40, 210, 60, 245]
	  Orientation		  "up"
	  ShowName		  off
	  AttributesFormatString  "%<V>"
	  SourceBlock		  "powerlib2/Electrical\nSources/DC Voltage So"
"urce"
	  SourceType		  "DC Voltage Source"
	  ShowPortLabels	  on
	  V			  "-V"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [294, 230, 326, 260]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)1"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [204, 280, 236, 310]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)2"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [259, 270, 291, 300]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)4"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [20, 155, 50, 185]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground (output)5"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [34, 275, 66, 305]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Connectors/Ground (output)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ideal Switch2"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [2, 2]
	  Position		  [60, 50, 115, 90]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "powerlib2/Power\nElectronics/Ideal Switch"
	  SourceType		  "Ideal Switch"
	  ShowPortLabels	  on
	  Ron			  "10"
	  Lon			  "1e-007"
	  IC			  "0"
	  Rs			  "0"
	  Cs			  "0"
	  PSBOutputType		  "10"
	}
	Block {

⌨️ 快捷键说明

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