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

📄 axxion.mdl

📁 电机控制matlab仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Outputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  From
	  Name			  "From"
	  Position		  [795, 452, 860, 478]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Sensors"
	}
	Block {
	  BlockType		  From
	  Name			  "From1"
	  Position		  [775, 590, 850, 620]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "BTTY_ana"
	}
	Block {
	  BlockType		  From
	  Name			  "From10"
	  Position		  [770, 812, 850, 838]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "SenseStable"
	}
	Block {
	  BlockType		  From
	  Name			  "From11"
	  Position		  [770, 847, 850, 873]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "SenseValid"
	}
	Block {
	  BlockType		  From
	  Name			  "From13"
	  Position		  [770, 881, 885, 909]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "SensorStable2"
	}
	Block {
	  BlockType		  From
	  Name			  "From15"
	  Position		  [765, 914, 890, 946]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Fout2"
	}
	Block {
	  BlockType		  From
	  Name			  "From2"
	  Position		  [790, 695, 865, 725]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "ZeroSense"
	}
	Block {
	  BlockType		  From
	  Name			  "From3"
	  Position		  [785, 636, 825, 664]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "VelR"
	}
	Block {
	  BlockType		  From
	  Name			  "From4"
	  Position		  [765, 379, 860, 411]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Sens"
	}
	Block {
	  BlockType		  From
	  Name			  "From5"
	  Position		  [775, 521, 865, 549]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Inputmotor"
	}
	Block {
	  BlockType		  From
	  Name			  "From6"
	  Position		  [765, 320, 855, 350]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Mode"
	}
	Block {
	  BlockType		  From
	  Name			  "From7"
	  Position		  [790, 765, 865, 795]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "NulSense"
	}
	Block {
	  BlockType		  From
	  Name			  "From8"
	  Position		  [20, 75, 80, 105]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Logging"
	}
	Block {
	  BlockType		  From
	  Name			  "From9"
	  Position		  [780, 285, 850, 315]
	  Orientation		  "left"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Sensor_ana"
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "Pulse\nGenerator1"
	  Ports			  [0, 1]
	  Position		  [90, 18, 135, 52]
	  PulseType		  "Time based"
	  Period		  "0.02"
	  PulseWidth		  "50"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [175, 49, 210, 131]
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "UartEncodeString"
	  Ports			  [20, 1]
	  Position		  [480, 183, 585, 977]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "Chess/Revab Library/UartEncodeString"
	  SourceType		  "UartEncodeString"
	  Message		  "'M %5,%1,%3,%5,%5,%1,%1,%5,%5,%1,%1,%3,%3,%"
"5,%5,%3,%3,%3,%4\\r\\n'"
	}
	Block {
	  BlockType		  Reference
	  Name			  "UartTransmitString"
	  Ports			  [2]
	  Position		  [350, 101, 450, 159]
	  SourceBlock		  "Chess/Revab Library/UartTransmitString"
	  SourceType		  "UartTransmitString"
	}
	Block {
	  BlockType		  Constant
	  Name			  "versie_nummer"
	  Position		  [640, 250, 670, 280]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Value			  "320"
	  OutDataTypeMode	  "uint16"
	}
	Line {
	  SrcBlock		  "UartEncodeString"
	  SrcPort		  1
	  Points		  [-170, 0; 0, -435]
	  DstBlock		  "UartTransmitString"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Data Type Conversion2"
	  SrcPort		  1
	  Points		  [0, 0; 50, 0]
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "UartTransmitString"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [295, 0; 0, 120; -15, 0]
	    DstBlock		    "UartEncodeString"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "From4"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From1"
	  SrcPort		  1
	  Points		  [-70, 0; 0, -10; -85, 0; 0, 5]
	  DstBlock		  "UartEncodeString"
	  DstPort		  11
	}
	Line {
	  SrcBlock		  "From5"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From6"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From8"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Pulse\nGenerator1"
	  SrcPort		  1
	  Points		  [5, 0; 0, 30]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -15]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Demux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "versie_nummer"
	  SrcPort		  1
	  Points		  [-35, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "From2"
	  SrcPort		  1
	  DstBlock		  "Demux4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From7"
	  SrcPort		  1
	  DstBlock		  "Demux5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From9"
	  SrcPort		  1
	  Points		  [-175, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Data Type Conversion3"
	  SrcPort		  1
	  Points		  [-50, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "UartEncodeString"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [-100, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Demux3"
	  SrcPort		  1
	  Points		  [0, -15]
	  DstBlock		  "UartEncodeString"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "Demux3"
	  SrcPort		  2
	  Points		  [-100, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  8
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [-90, 0; 0, -5]
	  DstBlock		  "UartEncodeString"
	  DstPort		  9
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [-105, 0]
	  DstBlock		  "UartEncodeString"
	  DstPort		  10
	}
	Line {
	  SrcBlock		  "From11"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From10"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From15"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From13"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From3"
	  SrcPort		  1
	  Points		  [-90, 0; 0, -10]
	  DstBlock		  "UartEncodeString"
	  DstPort		  12
	}
	Line {
	  SrcBlock		  "Demux4"
	  SrcPort		  1
	  Points		  [-55, 0; 0, -20]
	  DstBlock		  "UartEncodeString"
	  DstPort		  13
	}
	Line {
	  SrcBlock		  "Demux4"
	  SrcPort		  2
	  DstBlock		  "UartEncodeString"
	  DstPort		  14
	}
	Line {
	  SrcBlock		  "Demux5"
	  SrcPort		  1
	  Points		  [-55, 0; 0, -10]
	  DstBlock		  "UartEncodeString"
	  DstPort		  15
	}
	Line {
	  SrcBlock		  "Demux5"
	  SrcPort		  2
	  Points		  [-55, 0; 0, 10]
	  DstBlock		  "UartEncodeString"
	  DstPort		  16
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  Points		  [-20, 0; 0, 15]
	  DstBlock		  "UartEncodeString"
	  DstPort		  17
	}
	Line {
	  SrcBlock		  "Data Type Conversion1"
	  SrcPort		  1
	  Points		  [-20, 0; 0, 20]
	  DstBlock		  "UartEncodeString"
	  DstPort		  18
	}
	Line {
	  SrcBlock		  "Data Type Conversion6"
	  SrcPort		  1
	  Points		  [-20, 0; 0, 25]
	  DstBlock		  "UartEncodeString"
	  DstPort		  19
	}
	Line {
	  SrcBlock		  "Data Type Conversion5"
	  SrcPort		  1
	  Points		  [-20, 0; 0, 30]
	  DstBlock		  "UartEncodeString"
	  DstPort		  20
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "EepromInit"
      Ports		      []
      Position		      [285, 557, 386, 611]
      ForegroundColor	      "blue"
      DropShadow	      on
      SourceBlock	      "Chess/Revab Library/EepromInit"
      SourceType	      "EepromInit"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Errorlogging"
      Ports		      []
      Position		      [795, 560, 886, 615]
      Orientation	      "left"
      ForegroundColor	      "red"
      BackgroundColor	      "orange"
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Errorlogging"
	Location		[202, 74, 1254, 939]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"portrait"
	PaperPositionMode	"auto"
	PaperType		"a4letter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "40-47  :   Errorlogging"
	  Ports			  [17]
	  Position		  [675, 138, 780, 1302]
	  SourceBlock		  "Chess/Revab Library/EepromWrite"
	  SourceType		  "EepromWrite"
	  InputType		  "UINT16"
	  StartAddress		  "40"
	  Length		  "16"
	}
	Block {
	  BlockType		  Reference
	  Name			  "60  :   Startup"
	  Ports			  [2]
	  Position		  [995, 149, 1080, 216]
	  SourceBlock		  "Chess/Revab Library/EepromWrite"
	  SourceType		  "EepromWrite"

⌨️ 快捷键说明

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