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

📄 c6fstr4.mdl

📁 matlab的大量实例代码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	PaperOrientation	"portrait"
	PaperPositionMode	"auto"
	PaperType		"a4letter"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Fsum"
	  Position		  [15, 48, 45, 62]
	  Port			  "1"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Fstatic"
	  Position		  [20, 98, 50, 112]
	  Port			  "2"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "stuck"
	  Position		  [20, 178, 50, 192]
	  Port			  "3"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "xdot"
	  Position		  [20, 223, 50, 237]
	  Port			  "4"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [140, 40, 170, 70]
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [220, 214, 295, 246]
	  Gain			  "Fsliding"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	  Port {
	    PortNumber		    1
	    Name		    "fsliding"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [210, 127, 240, 158]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [205, 47, 235, 78]
	  Operator		  "<"
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign"
	  Position		  [160, 215, 190, 245]
	  ShowName		  off
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign1"
	  Position		  [140, 135, 170, 165]
	  ShowName		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [360, 162, 390, 208]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Threshold		  ".5"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [290, 42, 320, 88]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Threshold		  ".5"
	  Port {
	    PortNumber		    1
	    Name		    "fstatic"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ff"
	  Position		  [425, 178, 455, 192]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Ff"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "stuck"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "xdot"
	  SrcPort		  1
	  DstBlock		  "Sign"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sign"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  Name			  "fsliding"
	  Labels		  [0, 0]
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [10, 0; 0, -30]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  Name			  "fstatic"
	  Labels		  [2, 0]
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  Points		  [15, 0; 0, 105]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fsum"
	  SrcPort		  1
	  Points		  [65, 0]
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Sign1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45; 150, 0; 0, 40]
	    DstBlock		    "Switch1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sign1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [25, 0; 0, -65]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "Switch1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fstatic"
	  SrcPort		  1
	  Points		  [125, 0]
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "Relational\nOperator"
	    DstPort		    2
	  }
	}
      }
    }
    Block {
      BlockType		      Outport
      Name		      "Out1"
      Position		      [685, 28, 715, 42]
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "0"
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Out1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relational\nOperator"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Input Force"
      SrcPort		      1
      Points		      [0, 0; 20, 0]
      Branch {
	Points			[0, -95]
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      Points		      [10, 0]
      DstBlock		      "Relational\nOperator"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Int"
      SrcPort		      state
      Points		      [0, -17; 100, 0]
      DstBlock		      "Abs"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Abs"
      SrcPort		      1
      DstBlock		      "Relational\nOperator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	DstBlock		"friction force"
	DstPort			1
      }
      Branch {
	Points			[0, -45; 410, 0; 0, 35; 60, 0]
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "friction force"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      DstBlock		      "Int"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Int"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Int1"
	DstPort			1
      }
      Branch {
	Points			[0, 100; -255, 0; 0, -30]
	DstBlock		"friction force"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Int1"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	Points			[0, -85]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	Points			[0, 170]
	DstBlock		"Gain1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "S-Function"
      SrcPort		      1
      Points		      [10, 0; 0, 125; -370, 0]
      Branch {
	Points			[-220, 0; 0, -85]
	DstBlock		"friction force"
	DstPort			3
      }
      Branch {
	DstBlock		"Int"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      Points		      [-155, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      Points		      [0, 0; 40, 0]
      Branch {
	DstBlock		"friction force"
	DstPort			2
      }
      Branch {
	Points			[0, 80; 480, 0; 0, -75; 30, 0]
	DstBlock		"Mux1"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "S-Function"
      DstPort		      1
    }
    Annotation {
      Position		      [435, 120]
      Text		      "v"
    }
    Annotation {
      Position		      [376, 111]
      Text		      "a"
    }
    Annotation {
      Position		      [49, 232]
      Text		      "c6fstr3.mdl"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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