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

📄 s060_elg.mdl

📁 MATLAB仿真技术与实例应用教程
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Ground_1"
	      SrcPort		      1
	      DstBlock		      "equal"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "reset value"
	      SrcPort		      1
	      Points		      [100, 0; 0, -70]
	      DstBlock		      "Switch1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [5, 0; 0, 20]
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "data"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [35, 0; 0, -55; -220, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "equal"
	      SrcPort		      1
	      Points		      [0, -10]
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[5, 0; 0, 30; 120, 0; 0, -30]
		DstBlock		"integrated\n output"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "trigger"
	      SrcPort		      1
	      Points		      [25, 0; 0, -30]
	      DstBlock		      "equal"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "离散复位积分1"
	  Ports			  [3, 1]
	  Position		  [270, 225, 345, 275]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  MaskType		  "Discrete Resettable integrator"
	  MaskHelp		  "RESETTABLE INTEGRATOR  The resettable integ"
"rator is a masked function. This block has same functionality as the built-in"
" RESET INTEGRATOR except that when input 2 is non-zero, the block stops integ"
"ration."
	  MaskDisplay		  "disp('Discrete\\nResettable\\nintegrator')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "离散复位积分1"
	    Location		    [412, 184, 1196, 730]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "data"
	      Position		      [65, 35, 85, 55]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "trigger"
	      Position		      [65, 95, 85, 115]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "reset value"
	      Position		      [65, 140, 85, 160]
	      Port		      "3"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Ground
	      Name		      "Ground_1"
	      Position		      [115, 80, 125, 90]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [185, 30, 205, 50]
	      IconShape		      "rectangular"
	      Inputs		      "++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [240, 54, 265, 86]
	      Threshold		      "eps"
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [290, 62, 340, 78]
	      X0		      "0"
	      SampleTime	      "tss"
	      RTWStateStorageClass    "Auto"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "equal"
	      Position		      [140, 69, 170, 91]
	      Operator		      "=="
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "integrated\n output"
	      Position		      [435, 60, 455, 80]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Ground_1"
	      SrcPort		      1
	      DstBlock		      "equal"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "trigger"
	      SrcPort		      1
	      Points		      [25, 0; 0, -30]
	      DstBlock		      "equal"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "equal"
	      SrcPort		      1
	      Points		      [0, -10]
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [35, 0; 0, -55; -220, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "data"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [5, 0; 0, 20]
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "reset value"
	      SrcPort		      1
	      Points		      [100, 0; 0, -70]
	      DstBlock		      "Switch1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	      Branch {
		Points			[5, 0; 0, 30; 120, 0; 0, -30]
		DstBlock		"integrated\n output"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "early gate"
	  Position		  [380, 85, 400, 105]
	  ShowName		  off
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "late gate"
	  Position		  [540, 295, 560, 315]
	  ShowName		  off
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Ground_2"
	  SrcPort		  1
	  DstBlock		  "离散复位积分1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Ground_1"
	  SrcPort		  1
	  DstBlock		  "离散复位积分"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "离散采样保持1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "离散复位积分1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "离散复位积分"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "离散采样保持"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "离散VCO"
	  SrcPort		  1
	  DstBlock		  "Sign"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "离散VCO"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "离散采样保持"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sign"
	  SrcPort		  1
	  Points		  [-140, 0]
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Sum"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [45, 0]
	    Branch {
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, -10]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "离散复位积分"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [170, 0]
	    Branch {
	      DstBlock		      "early gate"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -20]
	      DstBlock		      "离散采样保持"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "in_1"
	  SrcPort		  1
	  Points		  [20, 0; 0, 0]
	  Branch {
	    Points		    [0, -110]
	    DstBlock		    "离散复位积分"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "离散复位积分1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 25]
	  Branch {
	    DstBlock		    "离散复位积分1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 55; 165, 0]
	    Branch {
	      DstBlock		      "late gate"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -25]
	      DstBlock		      "离散采样保持1"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "离散采样保持1"
	  SrcPort		  1
	  DstBlock		  "Abs1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Fmdetect"
      Ports		      [2, 1]
      Position		      [440, 243, 520, 287]
      Orientation	      "left"
      ShowName		      off
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "FMDETECT"
      MaskHelp		      "Requires I Q input.  Outputs instantaneous Freq"
"uency"
      MaskDisplay	      "disp('FM\\nDetect')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Fmdetect"
	Location		[355, 267, 955, 441]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in_1"
	  Position		  [35, 40, 55, 60]
	  Port			  "1"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "in_2"
	  Position		  [35, 95, 55, 115]
	  Port			  "2"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn1"
	  Position		  [470, 38, 530, 72]
	  ShowName		  off
	  MATLABFcn		  "median"
	  OutputDimensions	  "1"
	  OutputSignalType	  "auto"
	  Output1D		  on
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [90, 41, 120, 74]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [300, 44, 320, 66]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "+-"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator_1"
	  Position		  [450, 70, 460, 80]
	  ShowName		  off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [220, 52, 270, 68]
	  ShowName		  off
	  X0			  "0"
	  SampleTime		  "tss"
	  RTWStateStorageClass	  "Auto"

⌨️ 快捷键说明

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