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

📄 new.txt

📁 单片机控制直流电机程序用于控制点饥的转速
💻 TXT
📖 第 1 页 / 共 4 页
字号:
      Ports		      [0, 1]
      Position		      [525, 191, 565, 229]
      SourceBlock	      "powerlib/Measurements/Multimeter"
      SourceType	      "MultimeterPSB"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      sel		      "10"
      L			      "16"
      Gain		      "1"
      yselected		      "{'Udc: Two-Quadrant Three-Phase Rectifier DC Dr"
"ive/Thyristor converter'};"
      PSBOutputType	      "1"
      PSBequivalent	      "0"
      AxesSetting	      "[0,0.1,-100,100]"
      Display		      "0"
      SavedBlockNames	      "-11"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Linear load torque"
      Ports		      [1, 1]
      Position		      [255, 193, 340, 247]
      Orientation	      "left"
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Linear load torque"
	Location		[413, 543, 697, 630]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Motor"
	  Position		  [225, 33, 255, 47]
	  Orientation		  "left"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [95, 25, 125, 55]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "0.47"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [160, 20, 195, 60]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Elements		  "2"
	  InputPortWidth	  "5"
	  Port {
	    PortNumber		    1
	    Name		    "w"
	    PropagatedSignals	    "Speed (rpm)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Mec_T"
	  Position		  [25, 33, 55, 47]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  Name			  "w"
	  Labels		  [0, 0]
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Motor"
	  SrcPort		  1
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Mec_T"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [685, 280, 712, 305]
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('?')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[401, 89, 999, 667]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Start the simulation. You can observe the m"
"otor armature voltage and current, the rectifier firing angle, the electromag"
"netic torque\nand the motor speed on the scope. The current and torque refere"
"nces are also shown. \n\nThe motor is coupled to a linear load, which means t"
"hat the mechanical torque of the load is proportional to the speed.\n\nThe in"
"itial torque reference is set to 0 N.m and the armature current is null. No e"
"lectromagnetic torque is produced, and the motor stays\nstill.\n\nAt t = 0.05"
" s, the torque reference jumps to 800 N.m. This causes the armature current t"
"o rise to about 305 A. Notice that the armature \ncurrent follows the referen"
"ce quite accurately, with fast response time and small overshooting. The 15 m"
"H smoothing inductance \nkeeps the current oscillations quite small. Observe "
"also that the average firing angle value stays below 90 degrees, the converte"
"r being\nin rectifier mode. \n\nThe electromagnetic torque produced by the ar"
"mature current flow causes the motor to accelerate. The speed rises and start"
"s to \nstabilize around t = 5 s at about 1450 rpm, the sum of the load and vi"
"scous friction torques beginning to equalize the electromagnetic \ntorque.\n"
"\nAt t = 5 s, the torque reference is set to 400 N.m and the armature current"
" jumps down to about 155 A. This causes the load torque to decelerate the mot"
"or.\n\nAt t = 10 s speed starts to stabilize around 850 rpm."
	  Position		  [24, 361]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Demonstration of the DC3 two-quadrant three"
"-phase rectifier DC drive \nduring torque regulation."
	  Position		  [368, 22]
	  VerticalAlignment	  "top"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Circuit Description"
	  Position		  [24, 87]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Demonstration"
	  Position		  [24, 337]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "This circuit uses the DC3 block of SimPower"
"Systems. It models a two-quadrant three-phase rectifier drive for a 200 HP DC"
" motor.\n  \nThe 200 HP DC motor is separately excited with a constant 310 V "
"DC field voltage source. The armature voltage is provided by \na three-phase "
"rectifier controlled by two PI regulators. The rectifier is fed by a 460 V AC"
" 60 Hz  voltage source.\n\nThe regulators control the firing angle of the rec"
"tifier thyristors. The first regulator is a speed regulator, followed by a cu"
"rrent \nregulator. Since we are here in torque regulation mode, the speed reg"
"ulator is disabled and only the current regulator is used. \nThe current regu"
"lator controls the armature current by computing the appropriate thyristor fi"
"ring angle. This generates the \nrectifier output voltage needed to obtain th"
"e  desired armature current and thus the desired electromagnetic torque.\n\nT"
"he current controller takes two inputs. The first one is the current referenc"
"e (in p.u). This current reference is computed from the \nthe torque referenc"
"e provided by the user. The second input is the armature current flowing thro"
"ugh the machine.\n\nA 15 mH smoothing inductance is placed in series with the"
" armature circuit to reduce armature current oscillations. "
	  Position		  [23, 113]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Notes"
	  Position		  [28, 679]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  ForegroundColor	  "blue"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "1) The power sytem has been discretized wit"
"h a 5 us time step. The control system (regulators and braking unit)  uses a "
"100 us \n     time step in order  to simulate a microcontroller control devic"
"e.\n"
	  Position		  [22, 706]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "2) In order to reduce the number of points "
"stored in the scope memory, a decimation factor of 20 is used. "
	  Position		  [22, 746]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "C.Semaille, Louis-A. Dessaint (Ecole de tec"
"hnologie superieure, Montreal)"
	  Position		  [379, 68]
	  FontName		  "Arial"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [5]
      Position		      [610, 35, 675, 165]
      ShowName		      off
      FontSize		      12
      Location		      [9, 60, 1015, 749]
      Open		      off
      NumInputPorts	      "5"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
      }
      YMin		      "53.75~310~145~380~1170"
      YMax		      "56.25~365~158~415~1215"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [610, 181, 675, 239]
      ShowName		      off
      Location		      [557, 368, 881, 607]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Selector"
      Ports		      [3, 5]
      Position		      [385, 32, 455, 168]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      Port {
	PortNumber		1
	Name			"Firing angle"
	PropagatedSignals	"Alpha (deg)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		2
	Name			"Armature voltage"
	PropagatedSignals	"Armature Voltage (V)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		3
	Name			"Armature current"
	PropagatedSignals	"Armature current ia (A), Ia* (A)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		4
	Name			"Electromagnetic torque"
	PropagatedSignals	"Electrical torque Te (n m), Reference"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		5
	Name			"Speed"
	PropagatedSignals	"Speed (rpm)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Selector"
	Location		[228, 388, 649, 665]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Motor"
	  Position		  [15, 48, 45, 62]
	  FontName		  "Arial"
	  FontSize		  12
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Conv."
	  Position		  [15, 233, 45, 247]
	  FontName		  "Arial"
	  FontSize		  12
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ctrl."
	  Position		  [15, 153, 45, 167]
	  FontName		  "Arial"
	  FontSize		  12
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector1"
	  Ports			  [1, 3]
	  Position		  [85, 126, 90, 194]
	  ForegroundColor	  "blue"
	  ShowName		  off
	  OutputSignals		  "Ia* (A),Reference,Alpha (deg)"
	  Port {
	    PortNumber		    1
	    Name		    "<Ia* (A)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Reference>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    3
	    Name		    "<Alpha (deg)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector3"
	  Ports			  [1, 4]
	  Position		  [85, 11, 90, 99]
	  ForegroundColor	  "blue"
	  ShowName		  off
	  OutputSignals		  "Armature Voltage (V),Armature current ia (A"
"),Speed (rpm),Electrical torque Te (n m)"
	  Port {
	    PortNumber		    1
	    Name		    "<Armature Voltage (V)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Armature current ia (A)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    3
	    Name		    "<Speed (rpm)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    4

⌨️ 快捷键说明

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