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

📄 modelle_v_regelkreis.mdl

📁 电机的PID控制
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Iist"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "PI_Regler\nStrom"
	  DstPort		  1
	}
	Line {
	  Name			  "I-soll"
	  Labels		  [0, 0]
	  SrcBlock		  "Glaettungsfilter_I"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "PI_Regler\nStrom"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Leistungselektronik"
      Ports		      [1, 1]
      Position		      [480, 81, 550, 119]
      BackgroundColor	      "orange"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Leistungselektronik"
	Location		[53, 185, 393, 357]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Usoll"
	  Position		  [70, 88, 100, 102]
	  BackgroundColor	  "lightBlue"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn"
	  Position		  [120, 56, 230, 134]
	  Denominator		  "[par_endstufe_tau 1]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Uist"
	  Position		  [265, 88, 295, 102]
	  BackgroundColor	  "lightBlue"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Usoll"
	  SrcPort		  1
	  DstBlock		  "Transfer Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn"
	  SrcPort		  1
	  DstBlock		  "Uist"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Leistungselektronik"
	  Position		  [47, 8]
	  BackgroundColor	  "orange"
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mechanik"
      Ports		      [2, 3]
      Position		      [725, 112, 840, 168]
      BackgroundColor	      "orange"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Mechanik"
	Location		[221, 214, 755, 426]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "FA"
	  Position		  [70, 58, 100, 72]
	  BackgroundColor	  "lightBlue"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "V=1 H=0"
	  Position		  [70, 93, 100, 107]
	  BackgroundColor	  "lightBlue"
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Achstisch"
	  Ports			  [3, 3]
	  Position		  [170, 52, 315, 118]
	  BackgroundColor	  "orange"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Achstisch"
	    Location		    [530, 517, 1044, 821]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "FA"
	      Position		      [35, 58, 65, 72]
	      BackgroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Vertikal=1\nHorizontal=0"
	      Position		      [35, 183, 65, 197]
	      BackgroundColor	      "lightBlue"
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "FReib"
	      Position		      [35, 238, 65, 252]
	      BackgroundColor	      "lightBlue"
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [90, 230, 120, 260]
	      Gain		      "-1"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [1, 1]
	      Position		      [315, 105, 345, 135]
	      IgnoreLimit	      off
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator1"
	      Ports		      [1, 1]
	      Position		      [380, 145, 410, 175]
	      IgnoreLimit	      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [3, 1]
	      Position		      [90, 133, 135, 167]
	      Inputs		      "3"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [225, 60, 270, 95]
	      Inputs		      "*/"
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [3, 1]
	      Position		      [170, 46, 190, 94]
	      ShowName		      off
	      Inputs		      "|+++"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "constant"
	      Position		      [35, 135, 65, 165]
	      Value		      "-9.81"
	      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		      Constant
	      Name		      "mp"
	      Position		      [35, 90, 65, 120]
	      Value		      "par_primary_masse"
	      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		      Outport
	      Name		      "sP"
	      Position		      [445, 153, 475, 167]
	      BackgroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "vP"
	      Position		      [380, 113, 410, 127]
	      BackgroundColor	      "lightBlue"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "aP"
	      Position		      [315, 73, 345, 87]
	      BackgroundColor	      "lightBlue"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "FA"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "constant"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "mp"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		DstBlock		"Product"
		DstPort			1
	      }
	      Branch {
		Points			[135, 0]
		DstBlock		"Product1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Vertikal=1\nHorizontal=0"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Product"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "FReib"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		DstBlock		"aP"
		DstPort			1
	      }
	      Branch {
		Points			[0, 40]
		DstBlock		"Integrator"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [5, 0]
	      Branch {
		DstBlock		"vP"
		DstPort			1
	      }
	      Branch {
		Points			[0, 40]
		DstBlock		"Integrator1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Integrator1"
	      SrcPort		      1
	      DstBlock		      "sP"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      Points		      [5, 0; 0, -75]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Annotation {
	      Name		      "Achstisch"
	      Position		      [34, 15]
	      BackgroundColor	      "orange"
	      UseDisplayTextAsClickCallback off
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Fuerungssystem"
	  Ports			  [1, 1]
	  Position		  [200, 141, 285, 179]
	  Orientation		  "left"
	  BackgroundColor	  "orange"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Fuerungssystem"
	    Location		    [65, 100, 836, 675]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "v"
	      Position		      [55, 83, 85, 97]
	      BackgroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "# of guides"
	      Position		      [55, 35, 85, 65]
	      BackgroundColor	      "lightBlue"
	      Value		      "par_primary_numberguides"
	      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		      ToWorkspace
	      Name		      "Coulomb"
	      Position		      [375, 425, 450, 455]
	      Orientation	      "left"
	      VariableName	      "FReibCoulPrim"
	      MaxDataPoints	      "inf"
	      Decimation	      "10"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Fc"
	      Position		      [55, 160, 85, 190]
	      Value		      "par_primary_Fc"
	      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		      Constant
	      Name		      "Fh"
	      Position		      [55, 275, 85, 305]
	      BackgroundColor	      "lightBlue"
	      Value		      "par_primary_Fh"
	      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		      Constant
	      Name		      "Fv"
	      Position		      [55, 215, 85, 245]
	      Value		      "par_primary_Fv"
	      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		      Constant
	      Name		      "Fv1"
	      Position		      [55, 115, 85, 145]
	      Value		      "200"
	      VectorParams1D	      on
	      SamplingMode	      "Sample based"
	      OutDataTypeMode	      "Inherit from 'Constant value'"
	      OutDataType	      "sfix(16)"
	      ConRadixGroup	      "Use specified scaling"

⌨️ 快捷键说明

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