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

📄 pid2df2lag2.mdl

📁 Software for design and tuninig of SISO and MIMO contol systems
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Model {
  Name			  "pid2df2lag2"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "10.0"
  SolverMode		  "SingleTasking"
  Solver		  "ode45"
  RelTol		  "1e-5"
  AbsTol		  "1e-6"
  Refine		  "1"
  MaxStep		  "st_size"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  off
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Matrix"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  IntegerOverflowMsg	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  off
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  BooleanDataType	  off
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_vc.tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  Created		  "Tue Nov 07 23:42:10 2000"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Aug 18 01:17:47 2001"
  ModelVersionFormat	  "1.%<AutoIncrement:5>"
  ConfigurationManager	  "none"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "pid2df2lag2"
    Location		    [232, 593, 1006, 872]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "2nd order lag PID"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [200, 108, 290, 152]
      ShowPortLabels	      on
      System {
	Name			"2nd order lag PID"
	Location		[72, 73, 513, 317]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 93, 45, 107]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [70, 84, 105, 116]
	  Gain			  "keps"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [175, 93, 205, 117]
	  UpperLimit		  "Satub"
	  LowerLimit		  "Satlb"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [135, 95, 155, 115]
	  IconShape		  "rectangular"
	  Inputs		  "++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [330, 90, 350, 110]
	  IconShape		  "rectangular"
	  Inputs		  "++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn1"
	  Position		  [145, 155, 200, 195]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Numerator		  "[1]"
	  Denominator		  "[a1 1]"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn2"
	  Position		  [165, 22, 245, 68]
	  Numerator		  "[a2 0]"
	  Denominator		  "[b2 b1 1]"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn3"
	  Position		  [240, 83, 310, 127]
	  Numerator		  "[a1]"
	  Denominator		  "[b2 b1 1]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [370, 93, 400, 107]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Transfer Fcn2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Transfer Fcn1"
	  SrcPort		  1
	  Points		  [-20, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Transfer Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Transfer Fcn3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn3"
	  SrcPort		  1
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn2"
	  SrcPort		  1
	  Points		  [65, 0]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Annotation {
	  Position		  [222, 127]
	  VerticalAlignment	  "top"
	  Text			  "Md\n"
	}
      }
    }
    Block {
      BlockType		      TransferFcn
      Name		      "Disturbance lag"
      Position		      [415, 16, 500, 54]
      Numerator		      "numPd"
      Denominator	      "denPd"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Multi_tf Process"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [425, 104, 505, 146]
      ShowPortLabels	      on
      System {
	Name			"Multi_tf Process"
	Location		[202, 583, 572, 748]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 68, 55, 82]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pdelay"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [195, 27, 245, 63]
	  ShowPortLabels	  on
	  System {
	    Name		    "Pdelay"
	    Location		    [397, 676, 731, 800]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 73, 55, 87]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "Pdelay\n> 0"
	      Position		      [165, 25, 205, 55]
	      DelayTime		      "pdeadx(1)"
	      InitialInput	      "0"
	      BufferSize	      "1024"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Pdelay = 0"
	      Description	      "pass input signal through out1 if condi"
"tion is true."
	      Ports		      [1, 2, 0, 0, 0]
	      Position		      [80, 60, 130, 100]
	      ShowPortLabels	      on
	      System {
		Name			"Pdelay = 0"
		Location		[415, 227, 749, 453]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [235, 133, 265, 147]
		  Orientation		  "left"
		  Port			  "1"
		  PortWidth		  "-1"
		  SampleTime		  "-1"
		  DataType		  "auto"
		  SignalType		  "auto"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "Condition"
		  Position		  [15, 84, 130, 116]
		  Value			  "pdeadx(1)<=3*eps"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [115, 180, 145, 200]
		  Value			  "0"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant2"
		  Position		  [155, 50, 185, 70]
		  Value			  "0"
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch"
		  Position		  [230, 70, 260, 100]
		  Threshold		  "1"
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch1"
		  Position		  [190, 165, 220, 195]
		  Threshold		  "1"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out2"
		  Position		  [285, 78, 315, 92]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [245, 173, 275, 187]
		  Port			  "2"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  Points		  [-15, 0]
		  Branch {
		    DstBlock		    "Switch"
		    DstPort		    3
		  }
		  Branch {
		    Points		    [-40, 0]
		    DstBlock		    "Switch1"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Condition"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [0, 80]
		    DstBlock		    "Switch1"
		    DstPort		    2
		  }
		  Branch {
		    Points		    [0, -15]
		    DstBlock		    "Switch"
		    DstPort		    2
		  }
		}
		Line {
		  SrcBlock		  "Constant1"
		  SrcPort		  1
		  DstBlock		  "Switch1"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Constant2"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "Switch"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Switch"
		  SrcPort		  1
		  DstBlock		  "Out2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Switch1"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum6"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [240, 75, 260, 95]
	      IconShape		      "rectangular"
	      Inputs		      "++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [285, 78, 315, 92]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Pdelay = 0"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Pdelay\n> 0"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Pdelay\n> 0"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Sum6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Pdelay = 0"
	      SrcPort		      2
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Pdelay = 0"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum6"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pdelay1"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [195, 102, 245, 138]
	  ShowPortLabels	  on
	  System {
	    Name		    "Pdelay1"
	    Location		    [389, 668, 723, 792]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 73, 55, 87]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "Pdelay\n> 0"
	      Position		      [165, 25, 205, 55]
	      DelayTime		      "pdeadx(2)"
	      InitialInput	      "0"
	      BufferSize	      "1024"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Pdelay = 0"
	      Description	      "pass input signal through out1 if condi"
"tion is true."
	      Ports		      [1, 2, 0, 0, 0]
	      Position		      [80, 60, 130, 100]
	      ShowPortLabels	      on
	      System {
		Name			"Pdelay = 0"
		Location		[415, 227, 749, 453]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"

⌨️ 快捷键说明

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