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

📄 ex13_6.mdl

📁 线性调频信号通过匹配滤波器的程序 还有一些simulink仿真模型
💻 MDL
字号:
Model {  Name			  "s_mdl_2"  Version		  2.09  SimParamPage		  Solver  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  on  ShowLineWidths	  off  PaperOrientation	  landscape  PaperType		  usletter  PaperUnits		  inches  StartTime		  "0.0"  StopTime		  "10.0"  Solver		  ode45  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  SimulationMode	  normal  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_vc.tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  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		    "s_mdl_2"    Location		    [342, 36, 839, 321]    Open		    on    ScreenColor		    white    Block {      BlockType		      SubSystem      Name		      "Cart Subsystem"      Ports		      [1, 1, 0, 0, 0]      Position		      [315, 25, 390, 75]      ShowPortLabels	      on      MaskPromptString	      "Cart mass:|Pendulum mass:|Pendulum lenght:"      MaskStyleString	      "edit,edit,edit"      MaskVariables	      "M=@1;m=@2;l=@3;"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale      MaskValueString	      "2|.1|.5"      System {	Name			"Cart Subsystem"	Location		[770, 192, 990, 274]	Open			off	ScreenColor		white	Block {	  BlockType		  Inport	  Name			  "In1"	  Position		  [35, 31, 55, 49]	  Port			  "1"	  PortWidth		  "-1"	  SampleTime		  "-1"	}	Block {	  BlockType		  S-Function	  Name			  "S-Function"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [80, 25, 140, 55]	  FunctionName		  "s_xmp2"	  Parameters		  "M,m,l"	}	Block {	  BlockType		  Outport	  Name			  "Out1"	  Position		  [165, 31, 185, 49]	  Port			  "1"	  OutputWhenDisabled	  held	  InitialOutput		  "0"	}	Line {	  SrcBlock		  "In1"	  SrcPort		  1	  DstBlock		  "S-Function"	  DstPort		  1	}	Line {	  SrcBlock		  "S-Function"	  SrcPort		  1	  DstBlock		  "Out1"	  DstPort		  1	}      }    }    Block {      BlockType		      Demux      Name		      "Demux"      Ports		      [1, 4, 0, 0, 0]      Position		      [355, 115, 390, 260]      Orientation	      left      Outputs		      "4"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "Error\nGain"      Position		      [190, 25, 220, 55]      Gain		      "-51"    }    Block {      BlockType		      Integrator      Name		      "Error\nIntegrator"      Ports		      [1, 1, 0, 0, 0]      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"      Ports		      [2, 1, 0, 0, 0]      Position		      [80, 22, 110, 53]      Inputs		      "+-"    }    Block {      BlockType		      Scope      Name		      "Scope"      Ports		      [1, 0, 0, 0, 0]      Position		      [445, 90, 475, 120]      Floating		      off      Location		      [18, 229, 342, 469]      Open		      off      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	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Step      Name		      "Step"      Position		      [15, 15, 45, 45]      Time		      "1"      Before		      "0"      After		      "1"    }    Block {      BlockType		      Sum      Name		      "Sum"      Ports		      [2, 1, 0, 0, 0]      Position		      [265, 32, 295, 63]      Inputs		      "+-"    }    Block {      BlockType		      Sum      Name		      "Sum1"      Ports		      [4, 1, 0, 0, 0]      Position		      [220, 117, 245, 258]      Orientation	      left      Inputs		      "++++"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "theta gain"      Position		      [260, 190, 295, 220]      Orientation	      left      Gain		      "-158"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "theta_dot gain"      Position		      [310, 225, 340, 255]      Orientation	      left      Gain		      "-35"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "x gain"      Position		      [265, 120, 295, 150]      Orientation	      left      Gain		      "-56"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Block {      BlockType		      Gain      Name		      "x_dot gain"      Position		      [310, 155, 340, 185]      Orientation	      left      Gain		      "-37"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      none      MaskIconUnits	      autoscale    }    Line {      SrcBlock		      "Error\nrate"      SrcPort		      1      DstBlock		      "Error\nIntegrator"      DstPort		      1    }    Line {      SrcBlock		      "Cart Subsystem"      SrcPort		      1      Points		      [30, 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, -100; 50, 0; 0, -35]      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 Subsystem"      DstPort		      1    }    Annotation {      Position		      [99, 99]      Text		      "x"    }  }}

⌨️ 快捷键说明

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