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

📄 vehicles.mdl

📁 multi uav(多无人机matlab下的仿真)
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    PortNumber		    1
	    Name		    "define_as_b"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [740, 295, 775, 330]
	  Orientation		  "up"
	  ShowName		  off
	  Operator		  "<="
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator1"
	  Position		  [690, 140, 725, 175]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [590, 10, 620, 40]
	  ShowName		  off
	  UpperLimit		  "Tmax"
	  LowerLimit		  "0"
	  Port {
	    PortNumber		    1
	    Name		    "Thrust_command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation1"
	  Position		  [780, 420, 810, 450]
	  ShowName		  off
	  UpperLimit		  "pi/2"
	  LowerLimit		  "-pi/2"
	  Port {
	    PortNumber		    1
	    Name		    "mu_command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 1]
	  Position		  [330, 59, 395, 101]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  Port {
	    PortNumber		    1
	    Name		    "Drag"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  System {
	    Name		    "Subsystem"
	    Location		    [433, 403, 931, 703]
	    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		      Inport
	      Name		      "Velocity"
	      Position		      [25, 88, 55, 102]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "loadfactor"
	      Position		      [25, 208, 55, 222]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [495, 145, 525, 175]
	      ShowName		      off
	      Value		      "Cd0"
	      VectorParams1D	      on
	      SamplingMode	      "Sample based"
	      OutDataTypeMode	      "Inherit from 'Constant value'"
	      OutDataType	      "sfix(16)"
	      ConRadixGroup	      "Use specified scaling"
	      OutScaling	      "2^0"
	      SampleTime	      "inf"
	      FramePeriod	      "inf"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [155, 119, 285, 151]
	      ShowName		      off
	      Gain		      "2*W/(rho*S)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [475, 88, 510, 122]
	      ShowName		      off
	      Gain		      "k"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain4"
	      Position		      [590, 86, 670, 124]
	      ShowName		      off
	      Gain		      ".5*rho*S"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [90, 80, 120, 110]
	      ShowName		      off
	      Operator		      "square"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction2"
	      Ports		      [1, 1]
	      Position		      [410, 90, 440, 120]
	      ShowName		      off
	      Operator		      "square"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [325, 85, 370, 120]
	      ShowName		      off
	      Inputs		      "/*"
	      RndMeth		      "Floor"
	      Port {
		PortNumber		1
		Name			"Cl"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [695, 80, 740, 115]
	      ShowName		      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [540, 95, 560, 115]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Drag"
	      Position		      [770, 93, 800, 107]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Velocity"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "loadfactor"
	      SrcPort		      1
	      Points		      [25, 0; 0, -80]
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, -30; 535, 0]
		DstBlock		"Product2"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Product1"
		DstPort			1
	      }
	    }
	    Line {
	      Name		      "Cl"
	      Labels		      [0, 0]
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction2"
	      SrcPort		      1
	      DstBlock		      "Gain3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Gain4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain4"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "Drag"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem1"
	  Ports			  [2, 1]
	  Position		  [650, 334, 715, 376]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  Port {
	    PortNumber		    1
	    Name		    "loadfactor_command\nnolimit"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  System {
	    Name		    "Subsystem1"
	    Location		    [138, 74, 978, 703]
	    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		      Inport
	      Name		      "a"
	      Position		      [110, 103, 140, 117]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "b"
	      Position		      [110, 223, 140, 237]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [175, 95, 205, 125]
	      ShowName		      off
	      Operator		      "square"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [1, 1]
	      Position		      [175, 215, 205, 245]
	      ShowName		      off
	      Operator		      "square"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction2"
	      Ports		      [1, 1]
	      Position		      [310, 95, 340, 125]
	      ShowName		      off
	      Operator		      "sqrt"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [250, 100, 270, 120]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "loadfactor_nolimit"
	      Position		      [545, 103, 575, 117]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Math\nFunction2"
	      SrcPort		      1
	      DstBlock		      "loadfactor_nolimit"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction1"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "b"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "a"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [470, 70, 490, 90]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "+++"
	  Port {
	    PortNumber		    1
	    Name		    "Thrust_command\nnolimit"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [260, 125, 280, 145]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-|+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [305, 260, 325, 280]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [240, 415, 260, 435]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [575, 270, 595, 290]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  Port {
	    PortNumber		    1
	    Name		    "define_as_a"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [730, 200, 760, 230]
	  Orientation		  "up"
	  Threshold		  ".5"
	  Port {
	    PortNumber		    1
	    Name		    "loadfactor_command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [630, 145, 660, 175]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Threshold		  ".5"
	  Port {
	    PortNumber		    1
	    Name		    "loadfactor_command"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "V, gamma, chi1"
	  Ports			  [1, 3]
	  Position		  [195, 43, 200, 97]
	  ShowName		  off
	  OutputSignals		  "gamma,Velocity,loadfactor"
	  Port {
	    PortNumber		    1
	    Name		    "<gamma>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Velocity>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    3
	    Name		    "<loadfactor>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "V, gamma, chi2"
	  Ports			  [1, 1]
	  Position		  [200, 150, 205, 190]

⌨️ 快捷键说明

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