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

📄 myneural.mdl

📁 用RBF神经网络和模糊控制方法控制二级倒立摆源码
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "U1"
      Ports		      [1]
      Position		      [260, 364, 290, 396]
      Floating		      off
      Location		      [5, 52, 1021, 725]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "U2"
      Ports		      [1]
      Position		      [315, 364, 345, 396]
      Floating		      off
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "X"
      Ports		      [1]
      Position		      [445, 89, 475, 121]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [5, 52, 1021, 725]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "X1"
      Ports		      [1]
      Position		      [510, 88, 540, 122]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [633, 183, 957, 422]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1"
      SaveName		      "ScopeData10"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "XBAR"
      Ports		      [1]
      Position		      [510, 279, 540, 311]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [633, 183, 957, 422]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "adaptive \ncontroller"
      Ports		      [1, 1]
      Position		      [155, 259, 220, 301]
      Orientation	      "left"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"u1"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"adaptive \ncontroller"
	Location		[404, 365, 906, 718]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [110, 103, 140, 117]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [240, 95, 270, 125]
	  Gain			  "100"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [360, 103, 390, 117]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      StateSpace
      Name		      "doublepend system"
      Position		      [155, 186, 220, 224]
      A			      "[0 0 0 1.0000 0 0 ;0 0  0 0 1.0000 0 ;0 0 0 0 0"
"  1.0000;
\n0 -1.5352 0.0487  -10.1733    0.0066 -0.0034 ;0 38.3769  -13.8131"
"   22.1408 -0.2412 0.1629
;0 -41.4394 39.1031 -2.1059 0.4085 -0.3240]"
      B			      "[0;0;0;0.9597; -2.0888; 0.1987]"
      C			      "[1 0 0 0 0 0;0 1 0 0 0 0;0 0 1 0 0 0; 0 0 0 1 0"
"  0;0 0 0 0 1 0;0 0  0 0  0 1 ]"
      D			      "[0;0;0;0;0;0]"
      X0		      "[0 0.1  0 0 0 0]"
      Port {
	PortNumber		1
	Name			"x"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      "S-Function"
      Name		      "neural controller"
      Ports		      [1, 1]
      Position		      [315, 265, 375, 295]
      Orientation	      "left"
      NamePlacement	      "alternate"
      FunctionName	      "myneuro7"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
    }
    Block {
      BlockType		      Scope
      Name		      "output"
      Ports		      [1]
      Position		      [310, 89, 340, 121]
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [173, 186, 701, 487]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData11"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Line {
      Name		      "u1"
      SrcBlock		      "adaptive \ncontroller"
      SrcPort		      1
      Points		      [0, 0; -35, 0]
      Branch {
	Points			[0, 100]
	DstBlock		"U"
	DstPort			1
      }
      Branch {
	Points			[0, -75]
	DstBlock		"doublepend system"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "neural controller"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Gain"
	DstPort			1
      }
      Branch {
	Points			[-25, 0]
	DstBlock		"U2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [0, 0; -5, 0]
      Branch {
	DstBlock		"adaptive \ncontroller"
	DstPort			1
      }
      Branch {
	DstBlock		"U1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	DstBlock		"X"
	DstPort			1
      }
      Branch {
	Points			[65, 0]
	DstBlock		"Gain1"
	DstPort			1
      }
    }
    Line {
      Name		      "ang1"
      Labels		      [2, 0]
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [125, 0]
      DstBlock		      "ANG1"
      DstPort		      1
    }
    Line {
      Name		      "ang2"
      Labels		      [2, 1]
      SrcBlock		      "Demux"
      SrcPort		      3
      Points		      [175, 0]
      DstBlock		      "ANG2"
      DstPort		      1
    }
    Line {
      Name		      "xbar"
      Labels		      [2, 0]
      SrcBlock		      "Demux"
      SrcPort		      4
      Points		      [75, 0]
      DstBlock		      "XBAR"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      5
      Points		      [125, 0]
      DstBlock		      "ANG1BAR"
      DstPort		      1
    }
    Line {
      Name		      "ang2bar\n\n"
      Labels		      [2, 1]
      SrcBlock		      "Demux"
      SrcPort		      6
      Points		      [175, 0]
      DstBlock		      "ANG2BAR"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      DstBlock		      "X1"
      DstPort		      1
    }
    Line {
      Name		      "x"
      Labels		      [0, 0]
      SrcBlock		      "doublepend system"
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	Points			[35, 0]
	DstBlock		"output"
	DstPort			1
      }
      Branch {
	Points			[70, 0]
	Branch {
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Branch {
	  Points		  [60, 0]
	  DstBlock		  "neural controller"
	  DstPort		  1
	}
      }
    }
    Annotation {
      Name		      "x"
      Position		      [441, 157]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Name		      "x"
      Position		      [481, 122]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Name		      "Double Pendulum System\n(Double click on the \""
"?\" for more info)"
      Position		      [192, 47]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Name		      " Wang Qiyuan\nBJUT\nIAIR\nRuan Xiaogang"
      Position		      [192, 137]
      UseDisplayTextAsClickCallback off
    }
  }
}

⌨️ 快捷键说明

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