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

📄 twostageapproach.mdl

📁 parallel connected pFC controller ac to dc dc to dc converter
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      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"
      Ron		      "0.001 "
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      UseSnubber	      off
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Diode5"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [1280, 95, 1335, 135]
      DialogController	      "POWERSYS.PowerSysDialog"
      FontName		      "Verdana"
      FontSize		      11
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      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"
      Ron		      "0.001 "
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      UseSnubber	      off
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Diode6"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [1380, 230, 1420, 285]
      Orientation	      "up"
      DialogController	      "POWERSYS.PowerSysDialog"
      FontName		      "Verdana"
      FontSize		      11
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      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"
      Ron		      "0.001 "
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      UseSnubber	      off
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete\nPI Controller"
      Ports		      [1, 1]
      Position		      [370, 892, 415, 938]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
      SourceType	      "Discrete PI Controller"
      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"
      Kp		      "0.001"
      Ki		      "0.005"
      Par_Limits	      "[1e6 -1e6]"
      Init		      "0"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete\nPI Controller1"
      Ports		      [1, 1]
      Position		      [670, 877, 715, 923]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
      SourceType	      "Discrete PI Controller"
      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"
      Kp		      "0.0001"
      Ki		      "0.005"
      Par_Limits	      "[1e6 -1e6]"
      Init		      "0"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete\nPI Controller2"
      Ports		      [1, 1]
      Position		      [1475, 722, 1520, 768]
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
      SourceType	      "Discrete PI Controller"
      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"
      Kp		      "0.01"
      Ki		      "0.001"
      Par_Limits	      "[1e6 -1e6]"
      Init		      "0"
      Ts		      "50e-6"
    }
    Block {
      BlockType		      Product
      Name		      "Divide"
      Ports		      [2, 1]
      Position		      [520, 1047, 550, 1078]
      Inputs		      "*/"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^-10"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Divide1"
      Ports		      [2, 1]
      Position		      [1465, 1022, 1495, 1053]
      Inputs		      "*/"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^-10"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      From
      Name		      "From"
      Position		      [210, 946, 250, 974]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vdc"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [415, 831, 455, 859]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vdr"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [530, 841, 570, 869]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Idr"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [245, 1056, 285, 1084]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vo"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [255, 1151, 295, 1179]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vdr"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [1230, 1036, 1270, 1064]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vo"
    }
    Block {
      BlockType		      From
      Name		      "From6"
      Position		      [1230, 1036, 1270, 1064]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "vo"
    }
    Block {
      BlockType		      From
      Name		      "From7"
      Position		      [1245, 1136, 1285, 1164]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vdc"
    }
    Block {
      BlockType		      From
      Name		      "From8"
      Position		      [1280, 711, 1320, 739]
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Vo"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto"
      Position		      [780, 225, 820, 255]
      GotoTag		      "Vdc"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto1"
      Position		      [1705, 275, 1745, 305]
      GotoTag		      "Vo"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [530, 295, 570, 325]
      GotoTag		      "Vdr"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [570, 40, 610, 70]
      GotoTag		      "Idr"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [1675, 130, 1715, 160]
      GotoTag		      "Io"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Reference
      Name		      "Linear Transformer"
      Ports		      [0, 0, 0, 0, 0, 2, 2]
      Position		      [1130, 95, 1190, 175]
      DialogController	      "POWERSYS.PowerSysDialog"
      FontName		      "Verdana"
      FontSize		      11
      SourceBlock	      "powerlib/Elements/Linear Transformer"
      SourceType	      "Linear Transformer"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a|b"
      RConnTagsString	      "A|B"
      UNITS		      "pu"
      NominalPower	      "[ 190.4 37000 ] "
      winding1		      "[120 0.002 0.08]"
      winding2		      "[ 48 0.002 0.08 ]"
      ThreeWindings	      off
      winding3		      "[ 315e3 0.002 0.08 ]"
      RmLm		      "[ 500 500 ]"
      Measurements	      "None"
      DataType		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mean Value\n(linear)"
      Ports		      [1, 1]
      Position		      [1653, 230, 1697, 280]
      Orientation	      "down"
      DialogController	      "POWERSYS.PowerSysDialog"
      FontName		      "Arial"
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskType		      "Mean Value (linear)"
      MaskDescription	      "This block implements a linear model of a measurement system that computes the mean value of the input signal over a running window of one cycle of the specified fundamental frequency. \n\nPade approximation is used to linearize the one-cycle delay introduced by such a running average measurement system . \nA low order Pade approximation (ex. order 3) is usually sufficient to represent the system dynamic response. However, a high order Pade approximation may be required  to achieve an acceptable filtering of harmonics that could be present on the input signal.\n"
      MaskHelp		      "This block is part of a subset of blocks in the Extras library that does not have documentation associated with it, other than the block mask description."
      MaskPromptString	      "Fundamental frequency (Hz)|Pade order (for linearization)|Initial input:"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "Freq=@1;n=@2;Vinit=@3;"
      MaskInitialization      "% Pade Approximation:\n% The coefficients of the Pade approximation are given by the \n% recursion   h[k+1] = (N-k)/(2*N-k)/(k+1) * h[k],  h[0] = 1\n% and \n%     exp(-T*s) == Sum { h[k] (-T*s)^k } / Sum { h[k] (T*s)^k }\n%\nT=1/Freq;\na = zeros(1,n+1);   a(1) = 1;\nb = zeros(1,n+1);   b(1) = 1;\nfor k = 1:n,\n	fact = T*(n-k+1)/(2*n-k+1)/k;\n	a(k+1) = (-fact) * a(k);\n	b(k+1) = fact * b(k);\nend\na = fliplr(a/b(n+1));\nb = fliplr(b/b(n+1));\n%\n%Initial conditions:\n[Ac,Bc,Cc,Dc]=tf2ss(a,b);\nu=Vinit*exp(j*90*pi/180);\nu0=imag(u); % input at  t=0;\nI=eye(size(Ac));\nx=inv(-Ac)*Bc*u;\nx0c=imag(x);\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "60|3|0"
      MaskTabNameString	      ",,"
      System {
	Name			"Mean Value\n(linear)"
	Location		[275, 84, 869, 399]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [45, 163, 75, 177]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [315, 153, 360, 187]
	  ShowName		  off
	  Gain			  "Freq"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [455, 193, 500, 227]
	  ShowName		  off
	  Gain			  "48/60"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [385, 155, 415, 185]
	  InitialCondition	  "Vinit"
	  Port {
	    PortNumber		    1
	    Name		    "Mean value"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "Pade approximation\nof 1 cycle delay"
	  Position		  [155, 213, 215, 247]
	  A			  "Ac"
	  B			  "Bc"
	  C			  "Cc"
	  D			  "Dc"
	  X0			  "x0c"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [255, 160, 275, 180]
	  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		  Outport
	  Name			  "Mean"
	  Position		  [495, 163, 525, 177]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"

⌨️ 快捷键说明

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