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

📄 pi_match_1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  SrcPort		  RConn1
		  Points		  [0, 0]
		  DstBlock		  "VoltageMeasurement"
		  DstPort		  RConn1
		}
		Line {
		  LineType		  "Connection"
		  SrcBlock		  "+"
		  SrcPort		  RConn1
		  Points		  [0, 0]
		  DstBlock		  "VoltageMeasurement"
		  DstPort		  LConn1
		}
		Line {
		  SrcBlock		  "Simulation method"
		  SrcPort		  1
		  DstBlock		  "Phasor Measurements"
		  DstPort		  enable
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Phasor Measurements"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "v"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "source"
		  SrcPort		  1
		  Points		  [0, 0; 10, 0]
		  Branch {
		    DstBlock		    "Phasor Measurements"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 30]
		    DstBlock		    "Mux"
		    DstPort		    2
		  }
		}
	      }
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "Test Port"
	      Tag		      "PMCPort"
	      Position		      [550, 96, 580, 114]
	      Orientation	      "left"
	      Port		      "1"
	      Side		      "Right"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "rho"
	      Position		      [550, 148, 580, 162]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Drive"
	      SrcPort		      1
	      DstBlock		      "CVS"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "VM"
	      SrcPort		      1
	      DstBlock		      "rho"
	      DstPort		      1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "G1"
	      SrcPort		      LConn1
	      Points		      [0, -150]
	      DstBlock		      "CVS"
	      DstPort		      LConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "Test Port"
	      SrcPort		      RConn1
	      Points		      [0, 0; -50, 0]
	      Branch {
		ConnectType		"DEST_SRC"
		Points			[0, 30; -140, 0]
		DstBlock		"VM"
		DstPort			LConn1
	      }
	      Branch {
		ConnectType		"DEST_DEST"
		SrcBlock		"R3"
		SrcPort			RConn1
		Points			[0, 0; 25, 0]
	      }
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "G2"
	      SrcPort		      LConn1
	      Points		      [0, -20]
	      DstBlock		      "R4"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      Points		      [200, 160; 0, -55; 10, 0]
	      DstBlock		      "R2"
	      DstPort		      LConn1
	      Branch {
		ConnectType		"SRC_SRC"
		DstBlock		"VM"
		DstPort			LConn2
	      }
	      Branch {
		ConnectType		"SRC_DEST"
		SrcBlock		"R4"
		SrcPort			LConn1
		Points			[-15, 0; 0, -35]
	      }
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "CVS"
	      SrcPort		      RConn1
	      Points		      [130, 0; 0, 45]
	      Branch {
		ConnectType		"DEST_SRC"
		DstBlock		"R3"
		DstPort			LConn1
	      }
	      Branch {
		ConnectType		"DEST_DEST"
		SrcBlock		"R2"
		SrcPort			RConn1
		Points			[0, 0; 20, 0]
	      }
	    }
	    Annotation {
	      Name		      "Directional Bridge"
	      Position		      [349, 23]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Format Data \nfor\nWorkspace"
	  Ports			  [3]
	  Position		  [760, 160, 805, 240]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Format Data \nfor\nWorkspace"
	    Location		    [106, 170, 1116, 666]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Syy"
	      Position		      [80, 83, 110, 97]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Sxy"
	      Position		      [80, 303, 110, 317]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Swap"
	      Position		      [20, 413, 50, 427]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      ComplexToRealImag
	      Name		      "Complex to\nReal-Imag2"
	      Ports		      [1, 2]
	      Position		      [500, 86, 540, 144]
	      Output		      "Real and imag"
	    }
	    Block {
	      BlockType		      ComplexToRealImag
	      Name		      "Complex to\nReal-Imag3"
	      Ports		      [1, 2]
	      Position		      [500, 236, 540, 294]
	      Output		      "Real and imag"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Freq_Vector1"
	      Position		      [505, 25, 535, 55]
	      Value		      "Fc+ (-Frame_Size/2.56:(Frame_Size/2.56-"
"1))/(Frame_Size/2.56)*BW/2"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation1"
	      Ports		      [6, 1]
	      Position		      [660, 16, 715, 364]
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "6"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation2"
	      Ports		      [2, 1]
	      Position		      [435, 65, 460, 160]
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Vertical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation3"
	      Ports		      [2, 1]
	      Position		      [440, 215, 465, 310]
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Vertical"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector3"
	      Ports		      [1, 1]
	      Position		      [275, 71, 315, 109]
	      Elements		      "[  (Frame_Size-Frame_Size/2.56+1) :Fram"
"e_Size]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector4"
	      Ports		      [1, 1]
	      Position		      [280, 221, 320, 259]
	      Elements		      "[  (Frame_Size-Frame_Size/2.56+1) :Fram"
"e_Size]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector5"
	      Ports		      [1, 1]
	      Position		      [275, 141, 315, 179]
	      Elements		      "[1:(Frame_Size/2.56)]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector6"
	      Ports		      [1, 1]
	      Position		      [280, 291, 320, 329]
	      Elements		      "[1:(Frame_Size/2.56)]"
	      InputPortWidth	      "Frame_Size"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [210, 373, 245, 467]
	      Threshold		      "0.5"
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace1"
	      Position		      [815, 171, 935, 209]
	      VariableName	      "spar"
	      MaxDataPoints	      "1"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "ones"
	      Position		      [100, 375, 130, 405]
	      Value		      "ones(1,Frame_Size/1.28)"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "zeros"
	      Position		      [100, 435, 130, 465]
	      Value		      "zeros(1,Frame_Size/1.28)"
	    }
	    Line {
	      SrcBlock		      "Swap"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "zeros"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "ones"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation1"
	      SrcPort		      1
	      DstBlock		      "To Workspace1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Freq_Vector1"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector5"
	      SrcPort		      1
	      Points		      [75, 0; 0, -25]
	      DstBlock		      "Matrix\nConcatenation2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector3"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation2"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag2"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag2"
	      SrcPort		      2
	      Points		      [70, 0; 0, 30]
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Selector6"
	      SrcPort		      1
	      Points		      [75, 0; 0, -25]
	      DstBlock		      "Matrix\nConcatenation3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Selector4"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation3"
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag3"
	      SrcPort		      2
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag3"
	      SrcPort		      1
	      Points		      [70, 0; 0, -30]
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Sxy"
	      SrcPort		      1
	      Points		      [0, 0; 185, 0]
	      Branch {
		DstBlock		"Selector6"
		DstPort			1
	      }
	      Branch {
		Points			[-85, 0; 0, -70]
		DstBlock		"Selector4"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Syy"
	      SrcPort		      1
	      Points		      [-10, 0; 180, 0]
	      Branch {
		DstBlock		"Selector3"
		DstPort			1
	      }
	      Branch {
		Points			[-75, 0; 0, 70]
		DstBlock		"Selector5"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      Points		      [350, 0; 0, -80]
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      6
	    }
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [450, 432, 480, 498]
	  Threshold		  "0.5"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [450, 527, 480, 593]
	  Threshold		  "0.5"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch2"
	  Position		  [585, 292, 615, 358]

⌨️ 快捷键说明

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