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

📄 pll_dsc0.mdl

📁 This file is used to develop Phase locked loop.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  NumInputPorts		  "2"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  YMin			  "-400~-1.5"
	  YMax			  "400~1.5"
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [2]
	  Position		  [710, 221, 740, 254]
	  Floating		  off
	  Location		  [5, 52, 1285, 989]
	  Open			  on
	  NumInputPorts		  "2"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  YMin			  "-50~-50"
	  YMax			  "500~400"
	  SaveName		  "ScopeData4"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [315, 60, 335, 80]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [1, 1]
	  Position		  [120, 330, 140, 370]
	  ShowName		  off
	  Inputs		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "abc -> dqp"
	  Ports			  [2, 3]
	  Position		  [120, 68, 180, 132]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "abc -> dqp"
	    Location		    [2, 82, 1278, 972]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "eabc"
	      Position		      [20, 323, 50, 337]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "theta"
	      Position		      [510, 480, 540, 495]
	      Orientation	      "up"
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Divide1"
	      Ports		      [2, 1]
	      Position		      [465, 167, 495, 198]
	      Inputs		      "*/"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [590, 390, 740, 420]
	      Expr		      "u[1]*cos(u[3])-u[2]*sin(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [590, 440, 740, 470]
	      Expr		      "u[1]*sin(u[3])+u[2]*cos(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn5"
	      Position		      [590, 155, 740, 185]
	      Expr		      "u[1]*cos(u[3])+u[2]*sin(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn6"
	      Position		      [590, 205, 740, 235]
	      Expr		      "-u[1]*sin(u[3])+u[2]*cos(u[3])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn7"
	      Position		      [210, 202, 335, 228]
	      Expr		      "sqrt(u[1]^2+u[2]^2)"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [2, 1]
	      Position		      [555, 176, 560, 214]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux3"
	      Ports		      [2, 1]
	      Position		      [780, 171, 785, 209]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux4"
	      Ports		      [2, 1]
	      Position		      [555, 411, 560, 449]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux6"
	      Ports		      [2, 1]
	      Position		      [770, 411, 775, 449]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope"
	      Ports		      [2]
	      Position		      [475, 71, 505, 104]
	      Floating		      off
	      Location		      [1, 56, 1273, 985]
	      Open		      off
	      NumInputPorts	      "2"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
		axes2			"%<SignalLabel>"
	      }
	      YMin		      "-400~-1.5"
	      YMax		      "400~1.5"
	      SaveName		      "ScopeData5"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      off
	      SampleTime	      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Secuencia\npositiva1"
	      Position		      [95, 315, 125, 345]
	      ShowName		      off
	      Gain		      "sqrt(2/3)"
	      Multiplication	      "Matrix(K*u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Secuencia\npositiva2"
	      Position		      [145, 315, 175, 345]
	      ShowName		      off
	      Gain		      "[1 -1/2 -1/2; 0 sqrt(3)/2 -sqrt(3)/2]"
	      Multiplication	      "Matrix(K*u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Secuencia\npositiva3"
	      Position		      [315, 315, 345, 345]
	      ShowName		      off
	      Gain		      "[0 -1; 1 0]"
	      Multiplication	      "Matrix(K*u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Secuencia\npositiva5"
	      Position		      [390, 160, 420, 190]
	      ShowName		      off
	      Gain		      "0.5"
	      Multiplication	      "Matrix(K*u)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Secuencia\npositiva6"
	      Position		      [400, 405, 430, 435]
	      ShowName		      off
	      Gain		      "0.5"
	      Multiplication	      "Matrix(K*u)"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [350, 165, 370, 185]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [350, 410, 370, 430]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+|"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "Transport\nDelay"
	      Position		      [250, 315, 280, 345]
	      DelayTime		      "20e-3/4"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "edq1"
	      Position		      [380, 292, 430, 308]
	      ShowName		      off
	      VariableName	      "eab_d1"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "edq2"
	      Position		      [550, 102, 600, 118]
	      ShowName		      off
	      VariableName	      "eabp1"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "edq3"
	      Position		      [385, 322, 435, 338]
	      ShowName		      off
	      VariableName	      "eab_c1"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "edq4"
	      Position		      [250, 437, 300, 453]
	      ShowName		      off
	      VariableName	      "eab1"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "edq_p"
	      Position		      [815, 183, 845, 197]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "edq_n"
	      Position		      [800, 423, 830, 437]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "emod"
	      Position		      [750, 268, 780, 282]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Secuencia\npositiva2"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		DstBlock		"Transport\nDelay"
		DstPort			1
	      }
	      Branch {
		Points			[0, 90]
		Branch {
		  DstBlock		  "Sum1"
		  DstPort		  2
		}
		Branch {
		  Points		  [0, 25]
		  DstBlock		  "edq4"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, -115]
		Branch {
		  Points		  [0, 0]
		  DstBlock		  "Fcn7"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, -40]
		  Branch {
		    DstBlock		    "Sum"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -95]
		    DstBlock		    "Scope"
		    DstPort		    1
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Secuencia\npositiva3"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		DstBlock		"Sum1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Sum"
		DstPort			2
	      }
	      Branch {
		DstBlock		"edq3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Secuencia\npositiva5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Secuencia\npositiva6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		DstBlock		"Fcn5"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Fcn6"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Mux4"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		DstBlock		"Fcn1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Fcn2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Secuencia\npositiva6"
	      SrcPort		      1
	      Points		      [105, 0]
	      DstBlock		      "Mux4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn5"
	      SrcPort		      1
	      Points		      [10, 0; 0, 10]
	      DstBlock		      "Mux3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn6"
	      SrcPort		      1
	      Points		      [10, 0; 0, -20]
	      DstBlock		      "Mux3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      Points		      [5, 0; 0, 15]
	      DstBlock		      "Mux6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [5, 0; 0, -15]
	      DstBlock		      "Mux6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "theta"
	      SrcPort		      1
	      Points		      [0, 0; 0, -35]
	      Branch {
		DstBlock		"Mux4"
		DstPort			2
	      }
	      Branch {
		Points			[0, -235]
		DstBlock		"Mux1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Transport\nDelay"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		Points			[0, 0]
		DstBlock		"Secuencia\npositiva3"
		DstPort			1
	      }
	      Branch {
		Points			[0, -30]
		DstBlock		"edq1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Secuencia\npositiva5"
	      SrcPort		      1
	      Points		      [0, 0; 15, 0]
	      Branch {
		DstBlock		"Divide1"
		DstPort			1
	      }
	      Branch {
		Points			[0, -80]
		DstBlock		"Scope"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Divide1"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		DstBlock		"Mux1"
		DstPort			1
	      }
	      Branch {
		Points			[0, -75]
		DstBlock		"edq2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Fcn7"
	      SrcPort		      1
	      Points		      [0, 0; 100, 0]
	      Branch {
		Points			[0, -25]
		DstBlock		"Divide1"
		DstPort			2
	      }

⌨️ 快捷键说明

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