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

📄 sh_closed_loop_actuator.mdl

📁 Physics-Based Modeling Methods Improve Control System Design Multidomain systems (mechanical, electr
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  d_in			  "0.02"
	  d_in_unit		  "m"
	  area			  "0.0001"
	  area_unit		  "m^2"
	  D_h			  "0.0112"
	  D_h_unit		  "m"
	  s_factor		  "64"
	  s_factor_unit		  "1"
	  length		  "6"
	  length_unit		  "m"
	  length_ad		  "2"
	  length_ad_unit	  "m"
	  roughness		  "1.5e-05"
	  roughness_unit	  "m"
	  Re_lam		  "2000"
	  Re_lam_unit		  "1"
	  Re_turb		  "4000"
	  Re_turb_unit		  "1"
	  wall_type		  "1"
	  wall_type_unit	  "1"
	  pr_r_coef		  "2e-10"
	  pr_r_coef_unit	  "m/Pa"
	  time_const		  "0.008"
	  time_const_unit	  "s"
	  k_sh			  "1.4"
	  k_sh_unit		  "1"
	  LocalVarLogging	  "[]"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Signal Builder"
	  Tag			  "STV Subsys"
	  Ports			  [0, 1]
	  Position		  [25, 185, 100, 225]
	  CopyFcn		  "sigbuilder_block('copy');"
	  DeleteFcn		  "sigbuilder_block('delete');"
	  LoadFcn		  "sigbuilder_block('load');"
	  ModelCloseFcn		  "sigbuilder_block('modelClose');"
	  PreSaveFcn		  "sigbuilder_block('preSave');"
	  StartFcn		  "sigbuilder_block('start');"
	  StopFcn		  "sigbuilder_block('stop');"
	  NameChangeFcn		  "sigbuilder_block('namechange');"
	  ClipboardFcn		  "sigbuilder_block('clipboard');"
	  OpenFcn		  "sigbuilder_block('open',[66.9176 133.835 52"
"8.565 374.4 ]);"
	  CloseFcn		  "sigbuilder_block('close');"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  MaskType		  "Sigbuilder block"
	  MaskDescription	  "Sigbuilder GUI"
	  MaskInitialization	  "if ~strcmp(get_param(bdroot(gcbh),'Simulati"
"onStatus'),'stopped') tuvar = sigbuilder_block('maskInit'); end"
	  MaskDisplay		  "plot(0,0,100,100,[10,10,40,40,10],[80,20,20"
",80,80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Signal Builder"
	    Location		    [480, 85, 980, 386]
	    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		      Demux
	      Name		      "Demux"
	      Tag		      "STV Demux"
	      Ports		      [1, 1]
	      Position		      [150, 30, 160, 600]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      FromWorkspace
	      Name		      "FromWs"
	      Tag		      "STV FromWs"
	      Position		      [30, 300, 115, 350]
	      VariableName	      "tuvar"
	      SampleTime	      "0"
	      ZeroCross		      on
	      SigBuilderData	      "DataTag2"
	      VnvData		      "DataTag3"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Signal 1"
	      Tag		      "STV Outport"
	      Position		      [280, 30, 300, 40]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "FromWs"
	      SrcPort		      1
	      Points		      [5, 0; 0, -10]
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      Points		      [50, 0; 0, -280]
	      DstBlock		      "Signal 1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Simulink-PS\nConverter"
	  Ports			  [1, 0, 0, 0, 0, 0, 1]
	  Position		  [130, 190, 160, 220]
	  DialogController	  "NetworkEngine.DynNeUtilDlgSource"
	  SourceBlock		  "pm_libv1/Utilities/Simulink-PS\nConverter"
	  SourceType		  "Simulink-PS\nConverter"
	  ShowPortLabels	  off
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhysicalDomain	  "network_engine_domain"
	  LeftPortType		  "input"
	  RightPortType		  "output"
	  SubClassName		  "ps_input"
	  Unit			  "1"
	  PmDlgSchema		  "struct( ...\n  'Name', 'PMDialogs.PMDlgBuil"
"der', ...\n  'Version', '1.0.0', ...\n  'Items', {[ ...\n    { struct( ...\n "
"       'ClassName', 'PMDialogs.PmDescriptionPanel', ...\n        'Version', '"
"1.0.0' ...\n      ) },{ struct( ...\n        'ClassName', 'PMDialogs.PmGroupP"
"anel', ...\n        'Version', '1.0.0', ...\n        'Parameters', struct( .."
".\n            'Label', 'Parameters', ...\n            'Style', 'Box' ...\n  "
"        ), ...\n        'Items', {struct( ...\n              'ClassName', 'Ne"
"tworkEngine.PmNePSConvertPanel', ...\n              'Version', '1.0.0', ...\n"
"              'Parameters', struct( ...\n                  'ParamName', 'Unit"
"', ...\n                  'ConverterMode', 'in' ...\n                ), ...\n"
"              'Items', [] ...\n            )} ...\n      ) } ; ...\n    ]} .."
".\n) "
	}
	Block {
	  BlockType		  Reference
	  Name			  "VDPCP"
	  Tag			  "Factory Generic"
	  Ports			  [0, 0, 0, 0, 0, 1, 2]
	  Position		  [345, 185, 405, 245]
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  SourceBlock		  "sh_lib/Pumps and Motors/Variable-Displaceme"
"nt\nPressure-Compensated\nPump"
	  SourceType		  "Variable-Displacement\nPressure-Compensated"
"\nPump"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "pump_var_displ_p_comp"
	  SchemaVersion		  "1"
	  D_max			  "5e-06"
	  D_max_unit		  "m^3/rad"
	  pr_set		  "6.0e+06"
	  pr_set_unit		  "Pa"
	  pr_reg		  "600000"
	  pr_reg_unit		  "Pa"
	  efficiency_vol	  "0.9"
	  efficiency_vol_unit	  "1"
	  efficiency_tot	  "0.75"
	  efficiency_tot_unit	  "1"
	  pr_nominal		  "1e+07"
	  pr_nominal_unit	  "Pa"
	  w_nominal		  "188"
	  w_nominal_unit	  "rad/s"
	  visc_nominal		  "18"
	  visc_nominal_unit	  "cSt"
	  pump_delivery_Log	  "off"
	  pr_drop_Log		  "off"
	  leakage_flow_Log	  "off"
	  torque_Log		  "off"
	  ang_velocity_Log	  "off"
	  displacement_Log	  "off"
	  power_hyd_Log		  "off"
	  LocalVarNames		  "|pump_delivery|pr_drop|leakage_flow|torque|"
"ang_velocity|displacement|power_hyd"
	  LocalVarDescs		  "|Pump delivery (m^3/s)|Pressure differentia"
"l across the pump (Pa)|Leakage flow rate (m^3/s)|Driving shaft torque (N*m)|D"
"riving shaft angular velocity (rad/s)|Pump displacement (m^3/rad)|Output flow"
" power (W)"
	  LocalVarLogging	  "[0 0 0 0 0 0 0]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "VS_1"
	  Tag			  "Factory Generic"
	  Ports			  [0, 0, 0, 0, 0, 1, 2]
	  Position		  [235, 195, 275, 235]
	  Orientation		  "left"
	  DialogController	  "NetworkEngine.DynNeDlgSource"
	  SourceBlock		  "fl_lib/Mechanical/Mechanical Sensors\nand S"
"ources/Ideal Angular\nVelocity Source"
	  SourceType		  "Ideal Angular\nVelocity Source"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ClassName		  "source_ang_velocity"
	  SchemaVersion		  "1"
	  torque_Log		  "off"
	  rel_velocity_Log	  "off"
	  power_Log		  "off"
	  LocalVarNames		  "|torque|rel_velocity|power"
	  LocalVarDescs		  "|Torque (N*m)|Relative velocity (rad/s)|Pow"
"er generated by the sourcec(W)"
	  LocalVarLogging	  "[0 0 0]"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Power Outlet"
	  Position		  [450, 25, 480, 40]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  Port			  "1"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Return"
	  Position		  [505, 25, 535, 40]
	  Orientation		  "down"
	  Port			  "2"
	  Side			  "Right"
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Hydraulic Fluid"
	  SrcPort		  RConn1
	  Points		  [0, 0; 100, 0]
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "VDPCP"
	    SrcPort		    RConn1
	    Points		    [45, 0; 0, -40]
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Pipe_P"
	    DstPort		    LConn1
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Pipe_T"
	  SrcPort		  RConn1
	  Points		  [0, 0; 0, 70]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "VDPCP"
	    DstPort		    RConn2
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Hydraulic Reference"
	    DstPort		    LConn1
	  }
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "MRR"
	  SrcPort		  LConn1
	  Points		  [0, -15]
	  DstBlock		  "VS_1"
	  DstPort		  RConn2
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Simulink-PS\nConverter"
	  SrcPort		  RConn1
	  Points		  [0, 0]
	  DstBlock		  "VS_1"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "VDPCP"
	  SrcPort		  LConn1
	  Points		  [0, 0]
	  DstBlock		  "VS_1"
	  DstPort		  LConn1
	}
	Line {
	  SrcBlock		  "Signal Builder"
	  SrcPort		  1
	  DstBlock		  "Simulink-PS\nConverter"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Power Outlet"
	  SrcPort		  RConn1
	  DstBlock		  "Pipe_P"
	  DstPort		  RConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Return"
	  SrcPort		  RConn1
	  DstBlock		  "Pipe_T"
	  DstPort		  LConn1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Proportional \nValve Actuator"
      Tag		      "Factory Generic"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [340, 300, 400, 340]
      DialogController	      "NetworkEngine.DynNeDlgSource"
      SourceBlock	      "sh_lib/Valves/Valve Actuators/Proportional and"
"\nServo-Valve Actuator"
      SourceType	      "Proportional and\nServo-Valve Actuator"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ClassName		      "act_prop_valve"
      SchemaVersion	      "1"
      gain		      "250"
      gain_unit		      "1"
      time_constant	      "0.002"
      time_constant_unit      "s"
      saturation	      "0.3"
      saturation_unit	      "1"
      LocalVarLogging	      "[]"
    }
    Block {
      BlockType		      Reference
      Name		      "SPR"
      Tag		      "Factory Generic"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [845, 76, 885, 104]
      DialogController	      "NetworkEngine.DynNeDlgSource"
      SourceBlock	      "fl_lib/Mechanical/Translational\nElements/Trans"
"lational Spring"
      SourceType	      "Translational Spring"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ClassName		      "spring_transl"
      SchemaVersion	      "1"
      spr_rate		      "15000"
      spr_rate_unit	      "N/m"
      init_def		      "0"
      init_def_unit	      "m"
      force_Log		      "off"
      deformation_Log	      "off"
      LocalVarNames	      "|force|deformation"
      LocalVarDescs	      "|Spring force (N)|Spring deformation (m)"
      LocalVarLogging	      "[0 0]"
    }
    Block {
      BlockType		      Reference
      Name		      "SPS_1"
      Ports		      [1, 0, 0, 0, 0, 0, 1]
      Position		      [275, 305, 305, 335]
      DialogController	      "NetworkEngine.DynNeUtilDlgSource"
      SourceBlock	      "pm_libv1/Utilities/Simulink-PS\nConverter"
      SourceType	      "Simulink-PS\nConverter"
      ShowPortLabels	      off
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RT

⌨️ 快捷键说明

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