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

📄 final_pi_tunning_thesis.mdl

📁 PI tuning for DVR control
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [630, 158, 660, 172]
	      FontSize		      12
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Saturation2"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Discrete-Time\nIntegrator"
	      SrcPort		      1
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Kp4"
	      SrcPort		      1
	      DstBlock		      "Sum6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Kp5"
	      SrcPort		      1
	      DstBlock		      "Discrete-Time\nIntegrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum6"
	      SrcPort		      1
	      DstBlock		      "Saturation2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Error"
	      SrcPort		      1
	      Points		      [65, 0]
	      Branch {
		DstBlock		"Kp5"
		DstPort			1
	      }
	      Branch {
		Points			[0, -50]
		DstBlock		"Kp4"
		DstPort			1
	      }
	    }
	    Annotation {
	      Name		      "Discrete PID Controller"
	      Position		      [111, 43]
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	    Annotation {
	      Name		      "Pierre Giroux, Gilbert Sybille\nPower System Simulation Laboratory\nIREQ, Hydro-Quebc"
	      Position		      [112, 76]
	    }
	    Annotation {
	      Position		      [102, 51]
	    }
	    Annotation {
	      Position		      [101, 18]
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [4]
	  Position		  [860, 359, 910, 416]
	  Floating		  off
	  Location		  [6, 52, 1030, 737]
	  Open			  off
	  NumInputPorts		  "4"
	  List {
	    ListType		    AxesTitles
	    axes1		    "Ke PWM Generator"
	    axes2		    "dq Kompensasi dan 0"
	    axes3		    "Sensor Tegangan Beban Sensitif dq [pu]"
	    axes4		    "Selisih Tegangan dq [pu]"
	  }
	  YMin			  "-4~0~-0.5~-5.55112e-017"
	  YMax			  "4~4~0.9~0.7"
	  SaveToWorkspace	  on
	  SaveName		  "dq0"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [265, 337, 300, 363]
	  InputPortWidth	  "3"
	  IndexOptions		  "Index vector (dialog)"
	  Indices		  "[1 2]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [245, 277, 280, 303]
	  Orientation		  "left"
	  InputPortWidth	  "2"
	  IndexOptions		  "Index vector (dialog)"
	  Indices		  "[1]"
	  OutputSizes		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Signal Constraint"
	  Ports			  [1]
	  Position		  [145, 273, 180, 307]
	  Orientation		  "left"
	  BackgroundColor	  "lightBlue"
	  DropShadow		  on
	  SourceBlock		  "srolib/Signal Constraint"
	  SourceType		  "Signal Constraint"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  DialogPosition	  "[0 0.0375 1 0.87125]"
	  SaveIn		  "MAT file"
	  SaveAs		  "FINAL_PI_TUNNING_THESIS_optim.mat"
	  LogID			  "SRO_DataLog_1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [300, 210, 320, 230]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [120, 393, 135, 407]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [120, 433, 135, 447]
	}
	Block {
	  BlockType		  Reference
	  Name			  "abc_to_dq0\nTransformation"
	  Ports			  [2, 1]
	  Position		  [185, 330, 235, 370]
	  DialogController	  "POWERSYS.PowerSysDialog"
	  SourceBlock		  "powerlib_extras/Measurements/abc_to_dq0\nTransformation"
	  SourceType		  "abc to dq0 Transformation"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	}
	Block {
	  BlockType		  Reference
	  Name			  "dq0_to_abc\nTransformation"
	  Ports			  [2, 1]
	  Position		  [720, 214, 785, 276]
	  DialogController	  "POWERSYS.PowerSysDialog"
	  SourceBlock		  "powerlib_extras/Measurements/dq0_to_abc\nTransformation"
	  SourceType		  "dq0 to abc Transformation"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	}
	Block {
	  BlockType		  Scope
	  Name			  "dqi"
	  Ports			  [1]
	  Position		  [645, 136, 680, 174]
	  Floating		  off
	  Location		  [1, 52, 1025, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "sinus referensi"
	  }
	  YMin			  "-1.25"
	  YMax			  "1.25"
	  SaveToWorkspace	  on
	  SaveName		  "dqi"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "dqp"
	  Ports			  [1]
	  Position		  [365, 131, 400, 169]
	  Floating		  off
	  Location		  [5, 52, 1029, 737]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "sinus referensi"
	  }
	  YMin			  "-1.25"
	  YMax			  "1.25"
	  SaveToWorkspace	  on
	  SaveName		  "dqp"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "dref"
	  Position		  [205, 189, 230, 211]
	  NamePlacement		  "alternate"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Constant
	  Name			  "qref"
	  Position		  [205, 230, 230, 250]
	  Value			  "0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vcontrol"
	  Position		  [880, 238, 910, 252]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "V2"
	  SrcPort		  1
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Discrete\nVirtual PLL"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Discrete\nVirtual PLL"
	  SrcPort		  3
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Discrete\nVirtual PLL"
	  SrcPort		  2
	  Points		  [65, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "abc_to_dq0\nTransformation"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 20; 475, 0; 0, -180]
	    DstBlock		    "dq0_to_abc\nTransformation"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Scope1"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, -60]
	    Branch {
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "dref"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "qref"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 190]
	    DstBlock		    "Scope1"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [10, 0]
	    Branch {
	      DstBlock		      "Demux1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -70]
	      DstBlock		      "dqp"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "dq0_to_abc\nTransformation"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 120]
	    DstBlock		    "Scope1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Vcontrol"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "0 ref"
	  SrcPort		  1
	  Points		  [15, 0; 0, -30]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "dqi"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [65, 0]
	    Branch {
	      DstBlock		      "dq0_to_abc\nTransformation"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 150]
	      DstBlock		      "Scope1"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [35, 0; 0, -55]
	  DstBlock		  "PI Controller d"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PI Controller d"
	  SrcPort		  1
	  Points		  [35, 0; 0, 50]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  DstBlock		  "PI Controller q"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PI Controller q"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  DstBlock		  "Signal Constraint"
	  DstPort		  1
	}
	Annotation {
	  Name			

⌨️ 快捷键说明

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