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

📄 lc_ladder.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      If
      NumInputs		      "1"
      IfExpression	      "u1 > 0"
      ShowElse		      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    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		      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		      MATLABFcn
      MATLABFcn		      "sin"
      OutputDimensions	      "-1"
      OutputSignalType	      "auto"
      Output1D		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Merge
      Inputs		      "2"
      InitialOutput	      "[]"
      AllowUnequalInputPortWidths off
      InputPortOffsets	      "[]"
    }
    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		      PMComponent
      SubClassName	      "unknown"
    }
    Block {
      BlockType		      PMIOPort
    }
    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		      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		      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		      Terminator
    }
    Block {
      BlockType		      UniformRandomNumber
      Minimum		      "-1"
      Maximum		      "1"
      Seed		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    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		    "lc_ladder"
    Location		    [21, 98, 886, 486]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "\nL2"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [300, 52, 365, 78]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "inf"
      Inductance	      "l(2)"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\nL4"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [405, 52, 470, 78]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "inf"
      Inductance	      "l(4)"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\nL6"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [505, 52, 570, 78]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "inf"
      Inductance	      "l(6)"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\nL8"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [610, 52, 675, 78]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "inf"
      Inductance	      "l(8)"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\nRs"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [185, 52, 250, 78]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "1"
      Inductance	      "inf"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Base Band Transfer Function"
      Description	      "Spectrum Analyzer"
      Ports		      [2, 1]
      Position		      [120, 285, 275, 340]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Bandwidth"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "BW=@1;"
      MaskDisplay	      "fprintf('Baseband Xfer Function Est.  \\n  BW=%"
"7.2f MHz', BW/1e6)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "5e6"
      Port {
	PortNumber		1
	Name			"Excitation"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Base Band Transfer Function"
	Location		[21, 382, 687, 623]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Reference "
	  Position		  [45, 52, 85, 68]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Response"
	  Position		  [40, 137, 80, 153]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  UniformRandomNumber
	  Name			  "Uniform Random\nNumber"
	  Position		  [415, 84, 445, 116]
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Xfer Scope"
	  Ports			  [2]
	  Position		  [320, 77, 355, 128]
	  SourceBlock		  "simpower_extensions_1/Xfer Scope"
	  SourceType		  "Xfer Scope"
	  ShowPortLabels	  off
	  ScopeProperties	  off
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "512"
	  Overlap		  "256"
	  inpFftLenInherit	  off
	  FFTlength		  "512"
	  numAvg		  "1000"
	  DisplayProperties	  off
	  AxisGrid		  off
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "[23 162 638 249]"
	  AxisProperties	  on
	  XUnits		  "Hertz"
	  XRange		  "[0...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1"
	  XLabel		  "Samples"
	  YUnits		  "dB"
	  YMin			  "-75"
	  YMax			  "5"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	  LineColors		  "[1 0 0]"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias"
	  Position		  [115, 32, 180, 88]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"
"Elliptic|Bessel),popup(Lowpass|Highpass|Bandpass|Bandstop),edit,edit,edit,edi"
"t,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on"
	  MaskCallbackString	  "dspblkanalog|dspblkanalog|||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,off,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "method=&1;filttype=&2;N=@3;Wlo=@4;Whi=@5;Rp"
"=@6;Rs=@7;"
	  MaskInitialization	  "[a,b,c,d,h,w,str]=dspblkanalog('design', me"
"thod,filttype,N,Wlo,Whi,Rp,Rs);\n"
	  MaskDisplay		  "plot(w,h); text(.05,.9,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "Elliptic|Lowpass|8|BW*2*pi|80|2|100"
	  MaskTabNameString	  ",,,,,,"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias1"
	  Position		  [120, 117, 185, 173]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"
"Elliptic|Bessel),popup(Lowpass|Highpass|Bandpass|Bandstop),edit,edit,edit,edi"
"t,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on"
	  MaskCallbackString	  "dspblkanalog|dspblkanalog|||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,off,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "method=&1;filttype=&2;N=@3;Wlo=@4;Whi=@5;Rp"
"=@6;Rs=@7;"
	  MaskInitialization	  "[a,b,c,d,h,w,str]=dspblkanalog('design', me"
"thod,filttype,N,Wlo,Whi,Rp,Rs);\n"
	  MaskDisplay		  "plot(w,h); text(.05,.9,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "Elliptic|Lowpass|8|BW*2*pi|80|2|100"
	  MaskTabNameString	  ",,,,,,"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias2"
	  Position		  [490, 72, 555, 128]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"

⌨️ 快捷键说明

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