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

📄 fractional_6.mdl

📁 模拟锁相环(apll)的一些simulink模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [270, 43, 300, 57]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory"
	  Position		  [205, 115, 235, 145]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [275, 65, 295, 85]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [285, 225, 305, 245]
	}
	Block {
	  BlockType		  Outport
	  Name			  "U"
	  Position		  [410, 28, 440, 42]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "D"
	  Position		  [420, 188, 450, 202]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "D Flip-Flop1"
	  SrcPort		  1
	  Points		  [0, 0; 90, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "D"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "D Flip-Flop"
	  SrcPort		  1
	  Points		  [0, 0; 85, 0]
	  Branch {
	    Points		    [0, 85]
	    DstBlock		    "Logical\nOperator"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "U"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Memory"
	  SrcPort		  1
	  Points		  [0, 0; -20, 0]
	  Branch {
	    Points		    [0, 110]
	    DstBlock		    "D Flip-Flop1"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "D Flip-Flop"
	    DstPort		    3
	  }
	}
	Line {
	  Name			  "Variable"
	  Labels		  [0, 0]
	  SrcBlock		  "Make Square1"
	  SrcPort		  1
	  DstBlock		  "D Flip-Flop1"
	  DstPort		  2
	}
	Line {
	  Name			  "Reference"
	  Labels		  [0, 0]
	  SrcBlock		  "Make Square"
	  SrcPort		  1
	  DstBlock		  "D Flip-Flop"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "D Flip-Flop1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -80]
	    DstBlock		    "D Flip-Flop"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "var"
	  SrcPort		  1
	  DstBlock		  "Make Square1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ref"
	  SrcPort		  1
	  DstBlock		  "Make Square"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Memory"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "D Flip-Flop1"
	  SrcPort		  2
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "D Flip-Flop"
	  SrcPort		  2
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Digital Phase Compensator"
      Ports		      [2, 1, 0, 1]
      Position		      [55, 324, 165, 386]
      Orientation	      "left"
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"+/- k(t)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"Digital Phase Compensator"
	Location		[2, 89, 1438, 842]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"206"
	Block {
	  BlockType		  Inport
	  Name			  "M"
	  Position		  [35, 83, 65, 97]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "enable"
	  Position		  [35, 183, 65, 197]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  []
	  Position		  [160, 15, 180, 35]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Accumulator"
	  Ports			  [1, 2]
	  Position		  [85, 60, 125, 120]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "Accumulator"
	    Location		    [169, 382, 684, 656]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [25, 73, 55, 87]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [95, 115, 125, 145]
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [2, 1]
	      Position		      [190, 47, 220, 78]
	      ShowName		      off
	      Operator		      "mod"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [255, 107, 285, 138]
	      Port {
		PortNumber		1
		Name			"carry"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [85, 45, 105, 65]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      Port {
		PortNumber		1
		Name			"mod_in"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [265, 45, 300, 85]
	      SampleTime	      "-1"
	      Port {
		PortNumber		1
		Name			"state"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "State"
	      Position		      [390, 58, 420, 72]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Carry"
	      Position		      [385, 118, 415, 132]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      Name		      "state"
	      Labels		      [0, 0]
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [15, 0; 0, -35; -265, 0; 0, 25]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      Name		      "mod_in"
	      Labels		      [0, 0]
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, 0; 40, 0]
	      Branch {
		DstBlock		"Math\nFunction"
		DstPort			1
	      }
	      Branch {
		Points			[0, 60]
		DstBlock		"Relational\nOperator"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, -50; 100, 0; 0, 50]
		DstBlock		"State"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 0; 45, 0]
	      Branch {
		DstBlock		"Math\nFunction"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Relational\nOperator"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "carry"
	      Labels		      [1, 1]
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "Carry"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Accumulator1"
	  Ports			  [2, 2]
	  Position		  [205, 60, 245, 120]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "Accumulator1"
	    Location		    [176, 354, 796, 583]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [25, 88, 55, 102]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "rst"
	      Position		      [25, 128, 55, 142]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [105, 151, 125, 169]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [105, 91, 125, 109]
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [2, 1]
	      Position		      [275, 47, 305, 78]
	      ShowName		      off
	      Operator		      "mod"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [290, 137, 320, 168]
	      Port {
		PortNumber		1
		Name			"carry"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [85, 55, 105, 75]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      Port {
		PortNumber		1
		Name			"mod_in"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [210, 40, 240, 70]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [340, 45, 375, 85]
	      SampleTime	      "-1"
	      Port {
		PortNumber		1
		Name			"state"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "State"
	      Position		      [420, 113, 450, 127]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Carry"
	      Position		      [415, 148, 445, 162]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      Name		      "carry"
	      Labels		      [1, 1]
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "Carry"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 0; 130, 0]
	      Branch {
		DstBlock		"Relational\nOperator"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Math\nFunction"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		Points			[0, 55]
		DstBlock		"State"
		DstPort			1

⌨️ 快捷键说明

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