Difference between revisions of "Argon user guide/Drive parameterization"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(Drive fault limits)
(Motor)
Line 20: Line 20:
 
====Motor====
 
====Motor====
 
Find motor parameters from the motor data sheet/manufacturer specifications.
 
Find motor parameters from the motor data sheet/manufacturer specifications.
#Choose motor type from the drowndown list [[MT]]
+
#Choose motor type from the drowndown list [[MT]]. If motor is linear type, see [[configuring linear servo motor]].
 
#Set motor pole count [[MPC]] (non-brush DC motors only). If unsure, see [[Determining motor pole count]].
 
#Set motor pole count [[MPC]] (non-brush DC motors only). If unsure, see [[Determining motor pole count]].
 
#Set maximum rated speed [[MMS]] of the motor, or alternatively the maximum allowed motor speed in the target application
 
#Set maximum rated speed [[MMS]] of the motor, or alternatively the maximum allowed motor speed in the target application

Revision as of 21:43, 27 September 2013

This article will describe how to set-up Argon parameters with Granity to make motor operational and ready for servo tuning.

Preparations and connection

As the goal is to parameterize and make motor operational, we should have:

  1. The drive and motor fully wired. However it's not required to have controller (to J5 port) or braking resistor connected at this point.
  2. Be familiar with the operation and parameters of Granity. Make sure you have read Granity user guide.
  3. Granity connection working. See Making the first Granity connection

Walk-through of initial parameterization

In this chapter we walk-trough all Granity tabs and modify the parameter needed. This guide assumes that the drive is in factory defaults state (not configured before). Restore drive to factory state can be done by uploading a firmware file to the drive.

Connect tab

No other actions than connect to drive needed on this tab. Once connection successful, proceed to the next tab.

Goals tab

The factory defaults (torque control as control mode and serial only as setpoint) as well as the other defaults are the correct ones for beginning.

Machine tab

In this tab we configure the motor and its feedback device.

Axis mechanics

Axis type, units and scale parameters AXT and AXS affect only on the unit conversion of Granity parameters (such as acceleration/velocity limit unit conversions) and has no effect on drive operation.

Choose your axis type and scale, or leave them as defaults.

Motor

Find motor parameters from the motor data sheet/manufacturer specifications.

  1. Choose motor type from the drowndown list MT. If motor is linear type, see configuring linear servo motor.
  2. Set motor pole count MPC (non-brush DC motors only). If unsure, see Determining motor pole count.
  3. Set maximum rated speed MMS of the motor, or alternatively the maximum allowed motor speed in the target application
  4. Set motor continuous MMC and peak MMC current values. If non-brush DC motor type has been selected, then these are measured as the peak value of sine.
  5. Set coil resistance MR and inductance ML, these values are measured Phase-to-phase. If unavailable, perform Tuning torque controller manually after initial parameters are set.
  6. Set thermal time constant MTC. Motor thermal time constant value in seconds, used for thermal modeling of motor to avoid motor overheating with peak current MMC. If not available, use formula 200*motor_weight (kg) as approximate, so a 2 kg motor would get a 400 second time constant. There is no guarantee of accuracy of this method.

Feedback device

  1. Choose feedback device type from the dropdown FBD
  2. Set feedback device resolution. If FBD is quadrature encoder, then manufacturers typically give resolution as pulses per revolution (PPR) or lines per revolution (LPR) which are the same thing and shall be entered directly into FBR field. Some manufactures also call PPR as CPR.
  3. Configure the polarity of feedback device counting direction by FBI parameter. Motor and feedback device must have same electrical positive rotation direction to make a stable servo system. If your system shows no stability (instant following error after a motor "jump"), try changing this setting.
  4. Leave the Hall sensors Off FBH during initial setup. Enable later if necessary (see when).

Tuning

Tuning tab contains feedback gain values for velocity and position control modes as well as torque bandwidth limit setting. Configuring these parameters are documented in Servo motor tuning guide. However, before proceeding into tuning, go through all other settings listed in this article.

Fault limits

Fault limits define the conditions in which drive is willing to operate. If condition is out of the set values, drive will enter into a fault state and stop motor control until errors are cleared.

Drive fault limits

These settings specify drive electrical condition such as supply voltage and over current tolerance.

  1. Leave FOC value as default if no overcurrent faults occur. See Tuning torque controller if overcurrent faults occur.
  2. Set FOV following way depending on your AC mains voltage:
    1. 220-240 VAC mains, set this 340-360 VDC
    2. 110-120 VAC mains, set this to 170-200 VDC
  3. Set FUV following way depending on your AC mains voltage:
    1. 220-240 VAC mains, set this 200 VDC
    2. 110-120 VAC mains, set this to 100 VDC
  4. It is important to goal deviation faults (i.e. FFT, FPT, FVT, FEV) as low as possible. Set them so that faults don't occur during normal operation but any anomaly or unexpected behavior will trigger them.

Goal deviation faults

These faults adjust motor monitoring during operation. Drive will enter into fault state if motor condition deviates more than allowed from the desired condition. See Granity unit conversion before adjusting.

  1. Goal fault filter time FFT sets the time how fast FPT, FVT, FEV and FMO faults react. Setting higher time value allows drive to continue operation over short deviations thus avoid false triggering. Set this from 0.0 to 0.2 seconds in the beginning.
  2. Set Position tracking error threshold FPT according how much mechanical axis is allowed to deviate from the setpoint position in position control mode.
  3. Set Velocity tracking error threshold FVT according how much motor or axis speed may may deviate from the velocity setpoint. This affects also in position mode as velocity controller is the intermediate step between torque and position controllers.
  4. Set Over speed fault FEV according to the maximum speed allowed for the motor or axis. Helps to stop motor if system goes totally out of control and speeds up spuriously.
  5. Leave Motion fault threshold FMO as 0 (0 = disabled) for the beginning. Using nonzero value enables motion fault.
  6. Choose Limit switch function LFS according to your preference. If other than Do nothing option requires that limit switches are installed and connected to J5 port. Note: at the moment Servo stop option is active in the drive firmware and will do nothing until FW upgrade enables it.

Testing tab

These settings does not affect drive operation, so nothing to be changed here at this point. These controls will be used for servo tuning purposes and fault analysis.

Servo motor tuning

Tuning a servo motor is a compulsory task to make motor behave as desired and perform well during operation. Follow the Servo motor tuning guide.