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

📄 sysmdl_i.mdl

📁 线性调频信号通过匹配滤波器的程序 还有一些simulink仿真模型
💻 MDL
字号:
Model {  Name			  "sysmdl_i"  Version		  2.00  SimParamPage		  Solver  SampleTimeColors	  off  WideVectorLines	  on  PaperOrientation	  landscape  StartTime		  "0.0"  StopTime		  "10.0"  Solver		  ode5  RelTol		  "1e-3"  AbsTol		  "1e-6"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "0.1"  MaxOrder		  5  OutputOption		  RefineOutputTimes  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  on  StateSaveName		  "xout"  SaveOutput		  off  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  LimitMaxRows		  off  MaxRows		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  warning  MinStepSizeMsg	  warning  UnconnectedInputMsg	  warning  UnconnectedOutputMsg	  warning  UnconnectedLineMsg	  warning  ConsistencyChecking	  off  ZeroCross		  on  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  }  System {    Name		    "sysmdl_i"    Location		    [309, 128, 806, 413]    Open		    on    ScreenColor		    white    Block {      BlockType		      SubSystem      Name		      "Cart \nModel"      Position		      [315, 25, 400, 75]      ShowPortLabels	      on      System {	Name			"Cart \nModel"	Location		[166, 276, 637, 637]	Open			off	ScreenColor		white	Block {	  BlockType		  Inport	  Name			  "thrust \nin"	  Position		  [15, 175, 35, 195]	  Port			  "1"	  PortWidth		  "-1"	  SampleTime		  "-1"	}	Block {	  BlockType		  Mux	  Name			  "Compose\noutput\nvector"	  Position		  [360, 138, 385, 197]	  Inputs		  "4"	}	Block {	  BlockType		  Fcn	  Name			  "Compute\ntheta_dot_dot"	  Position		  [120, 288, 185, 322]	  Orientation		  left	  Expr			  "-(cos(u(5))*sin(u(5))*m*l*u(4)*u(4)-m*g*sin("				  "u(5))+u(3)*cos(u(5))-g*M*sin(u(5)))/(l*(M+m*"				  "sin(u(5))*sin(u(5))))"	  MaskIconFrame		  on	  MaskIconOpaque	  on	  MaskIconRotate	  off	  MaskIconUnits		  autoscale	}	Block {	  BlockType		  Fcn	  Name			  "Compute\nx_dot_dot"	  Position		  [120, 13, 185, 47]	  Orientation		  left	  Expr			  "(m*l*sin(u(5))*u(4)*u(4)-m*cos(u(5))*g*sin(u"				  "(5))+u(3))/(M+m*sin(u(5))*sin(u(5)))"	  MaskIconFrame		  on	  MaskIconOpaque	  on	  MaskIconRotate	  off	  MaskIconUnits		  autoscale	}	Block {	  BlockType		  Mux	  Name			  "Mux"	  Position		  [205, 128, 245, 242]	  Inputs		  "5"	}	Block {	  BlockType		  Integrator	  Name			  "theta"	  Position		  [145, 224, 165, 266]	  ExternalReset		  none	  InitialConditionSource  internal	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Integrator	  Name			  "theta_dot"	  Position		  [80, 224, 100, 266]	  ExternalReset		  none	  InitialConditionSource  internal	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Integrator	  Name			  "x"	  Position		  [140, 79, 160, 121]	  ExternalReset		  none	  InitialConditionSource  internal	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Integrator	  Name			  "x_dot"	  Position		  [80, 79, 100, 121]	  ExternalReset		  none	  InitialConditionSource  internal	  InitialCondition	  "0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Outport	  Name			  "state \nout"	  Position		  [410, 160, 430, 180]	  Port			  "1"	  OutputWhenDisabled	  held	  InitialOutput		  "0"	}	Line {	  SrcBlock		  "thrust \nin"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  3	}	Line {	  SrcBlock		  "theta"	  SrcPort		  1	  Points		  [10, 0; 0, 0]	  Branch {	    Points		    [0, 20; 125, 0; 0, -90]	    DstBlock		    "Compose\noutput\nvector"	    DstPort		    3	  }	  Branch {	    Points		    [0, -20]	    DstBlock		    "Mux"	    DstPort		    5	  }	}	Line {	  SrcBlock		  "x"	  SrcPort		  1	  Points		  [10, 0; 0, 0]	  Branch {	    Points		    [155, 0; 0, 45]	    DstBlock		    "Compose\noutput\nvector"	    DstPort		    1	  }	  Branch {	    Points		    [0, 45]	    DstBlock		    "Mux"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Compose\noutput\nvector"	  SrcPort		  1	  DstBlock		  "state \nout"	  DstPort		  1	}	Line {	  SrcBlock		  "Mux"	  SrcPort		  1	  Points		  [20, 0]	  Branch {	    Points		    [0, 120]	    DstBlock		    "Compute\ntheta_dot_dot"	    DstPort		    1	  }	  Branch {	    Points		    [0, -155]	    DstBlock		    "Compute\nx_dot_dot"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Compute\ntheta_dot_dot"	  SrcPort		  1	  Points		  [-65, 0; 0, -60]	  DstBlock		  "theta_dot"	  DstPort		  1	}	Line {	  SrcBlock		  "Compute\nx_dot_dot"	  SrcPort		  1	  Points		  [-65, 0; 0, 70]	  DstBlock		  "x_dot"	  DstPort		  1	}	Line {	  SrcBlock		  "x_dot"	  SrcPort		  1	  Points		  [5, 0]	  Branch {	    Points		    [0, -25; 200, 0; 0, 85]	    DstBlock		    "Compose\noutput\nvector"	    DstPort		    2	  }	  Branch {	    Points		    [0, 65]	    DstBlock		    "Mux"	    DstPort		    2	  }	  Branch {	    DstBlock		    "x"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "theta_dot"	  SrcPort		  1	  Points		  [10, 0; 0, 0]	  Branch {	    Points		    [0, 35; 220, 0; 0, -90]	    DstBlock		    "Compose\noutput\nvector"	    DstPort		    4	  }	  Branch {	    Points		    [0, -40]	    DstBlock		    "Mux"	    DstPort		    4	  }	  Branch {	    DstBlock		    "theta"	    DstPort		    1	  }	}      }    }    Block {      BlockType		      Demux      Name		      "Demux"      Position		      [355, 115, 390, 260]      Orientation	      left      Outputs		      "4"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "Error\nGain"      Position		      [190, 25, 220, 55]      Gain		      "KI"    }    Block {      BlockType		      Integrator      Name		      "Error\nIntegrator"      Position		      [140, 22, 160, 58]      ExternalReset	      none      InitialConditionSource      internal      InitialCondition	      "0"      LimitOutput	      off      UpperSaturationLimit      "2"      LowerSaturationLimit      "-2"      ShowSaturationPort      off      ShowStatePort	      off      AbsoluteTolerance	      "auto"    }    Block {      BlockType		      Sum      Name		      "Error\nrate"      Position		      [80, 22, 110, 53]      Inputs		      "+-"    }    Block {      BlockType		      Scope      Name		      "Scope"      Position		      [445, 90, 475, 120]      Floating		      off      Location		      [631, 307, 955, 546]      Open		      on      Grid		      on      TickLabels	      on      ZoomMode		      on      TimeRange		      "10              "      YMin		      "-1              "      YMax		      "2               "      SaveToWorkspace	      off      SaveName		      "ScopeData"      LimitMaxRows	      on      MaxRows		      "5000"      Decimation	      "1"      SampleInput	      off      SampleTime	      "0"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Step      Name		      "Step"      Position		      [15, 15, 45, 45]      Time		      "1"      Before		      "0"      After		      "1"    }    Block {      BlockType		      Sum      Name		      "Sum"      Position		      [265, 32, 295, 63]      Inputs		      "+-"    }    Block {      BlockType		      Sum      Name		      "Sum1"      Position		      [220, 117, 245, 258]      Orientation	      left      Inputs		      "++++"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "theta gain"      Position		      [265, 190, 295, 220]      Orientation	      left      Gain		      "k4"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "theta_dot gain"      Position		      [310, 225, 340, 255]      Orientation	      left      Gain		      "k3"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "x gain"      Position		      [265, 120, 295, 150]      Orientation	      left      Gain		      "k1"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "x_dot gain"      Position		      [310, 155, 340, 185]      Orientation	      left      Gain		      "k2"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      off      MaskIconUnits	      autoscale    }    Line {      SrcBlock		      "Error\nrate"      SrcPort		      1      DstBlock		      "Error\nIntegrator"      DstPort		      1    }    Line {      SrcBlock		      "Cart \nModel"      SrcPort		      1      Points		      [20, 0; 0, 140]      DstBlock		      "Demux"      DstPort		      1    }    Line {      SrcBlock		      "Demux"      SrcPort		      1      Points		      [-25, 0]      Branch {	Points			[0, -30]	Branch {	  DstBlock		  "Scope"	  DstPort		  1	}	Branch {	  Points		  [-265, 0; 0, -60]	  DstBlock		  "Error\nrate"	  DstPort		  2	}      }      Branch {	DstBlock		"x gain"	DstPort			1      }    }    Line {      SrcBlock		      "Sum1"      SrcPort		      1      Points		      [-20, 0; 0, -95; 50, 0; 0, -40]      DstBlock		      "Sum"      DstPort		      2    }    Line {      SrcBlock		      "x gain"      SrcPort		      1      DstBlock		      "Sum1"      DstPort		      1    }    Line {      SrcBlock		      "x_dot gain"      SrcPort		      1      DstBlock		      "Sum1"      DstPort		      2    }    Line {      SrcBlock		      "theta gain"      SrcPort		      1      DstBlock		      "Sum1"      DstPort		      3    }    Line {      SrcBlock		      "theta_dot gain"      SrcPort		      1      DstBlock		      "Sum1"      DstPort		      4    }    Line {      SrcBlock		      "Demux"      SrcPort		      4      DstBlock		      "theta_dot gain"      DstPort		      1    }    Line {      SrcBlock		      "Demux"      SrcPort		      3      DstBlock		      "theta gain"      DstPort		      1    }    Line {      SrcBlock		      "Demux"      SrcPort		      2      DstBlock		      "x_dot gain"      DstPort		      1    }    Line {      SrcBlock		      "Step"      SrcPort		      1      DstBlock		      "Error\nrate"      DstPort		      1    }    Line {      SrcBlock		      "Error\nIntegrator"      SrcPort		      1      DstBlock		      "Error\nGain"      DstPort		      1    }    Line {      SrcBlock		      "Error\nGain"      SrcPort		      1      DstBlock		      "Sum"      DstPort		      1    }    Line {      SrcBlock		      "Sum"      SrcPort		      1      DstBlock		      "Cart \nModel"      DstPort		      1    }    Annotation {      Position		      [99, 99]      Text		      "x"    }  }}

⌨️ 快捷键说明

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