Menu 39 − AMC Position Control Loop

Mode: RFC‑S

Position control loop


Parameter39.001  AMC External Position Reference Select
Short description 
ModeRFC‑S
Minimum0Maximum1
Default0Units 
Type1 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places0
CodingRW

If AMC External Position Reference Select (39.001) = 0 the position, speed and acceleration reference for the position control loop are taken from the output of the profile generator. However, it is possible to provide these references from an external application (i.e. an applications category module program). If AMC External Position Reference Select (39.001) = 1 the position reference is taken from AMC External Position Reference (39.002), the speed reference is taken from AMC External Speed Reference  (39.004) and the acceleration reference is taken from AMC External Acceleration Reference (39.014)


Parameter39.002  AMC External Position Reference
Short description 
ModeRFC‑S
Minimum-2147483648Maximum2147483647
Default0UnitsUU
Type32 Bit VolatileUpdate RateAMC sample rate read
Display FormatStandardDecimal Places0
CodingRW

See AMC External Position Reference Select (39.001).


Parameter39.004  AMC External Speed Reference
Short description 
ModeRFC‑S
Minimum−VM_AMC_SPEEDMaximumVM_AMC_SPEED
Default0.00UnitsUU/ms
Type32 Bit VolatileUpdate RateAMC sample rate read
Display FormatStandardDecimal Places2
CodingRW, VM

See AMC External Position Reference Select (39.001).


Parameter39.005  AMC Inertia Compensation Mode
Short description 
ModeRFC‑S
Minimum0Maximum2
Default0Units 
Type8 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places0
CodingRW, TE

ValueText
0None
1Acceleration
2Torque

AMC Inertia Compensation Mode (39.005) selects the inertia compensation mode as shown below.

0 (None)

No inertia compensation.

1 (Acceleration feed-forwards)

When acceleration feed-forwards is selected a gain term is automatically calculated based on the currently active drive speed controller gains, Motor And Load Inertia (03.018) and Torque Per Amp (05.032). The acceleration feed-forwards term is intended to cancel the effect of the speed controller time constant and give a faster position control loop response. The acceleration feed-forwards term is only compatible with a first order speed controller, i.e. Speed Controller Set-up Method (03.017) = 7.

2 (Torque feed-forwards)

When torque feed-forwards is selected the acceleration from the profile generator is used to define the torque feed-forwards. The Motor And Load Inertia (03.018), Torque Per Amp (05.032) and the output user units ratio are used to convert from acceleration to torque. It should be noted that the Inertia Compensation Torque (02.038) is added to the output of the speed controller when Inertia Compensation Enable (04.022) = 1 and inertia compensation is disabled when AMC External Position Reference Select (39.001) = 1.


Parameter39.007  AMC Position Control Loop Kp Gain
Short description 
ModeRFC‑S
Minimum0.000Maximum500.000
Default25.000Units 
Type32 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places3
CodingRW

AMC Position Control Loop Kp Gain (39.007) is the proportional gain with units of (User units/s) / User units. A AMC Position Control Loop Kp Gain (39.007) of unity and a AMC Position Error (39.008) of one User unit will give a position control loop speed of 1 User unit/s.   


Parameter39.008  AMC Position Error
Short description 
ModeRFC‑S
Minimum−VM_AMC_POSITIONMaximumVM_AMC_POSITION
Default UnitsUU
Type32 Bit VolatileUpdate Rate4ms write
Display FormatStandardDecimal Places0
CodingRO, FI, VM, ND, NC, PT

AMC Position Error (39.008) gives the difference between the final position reference and the AMC Slave Position (33.004) in User units.


Parameter39.009  AMC Position Control Loop Speed Clamp
Short description 
ModeRFC‑S
Minimum0.00MaximumVM_AMC_SPEED_UNIPOLAR
Default109.20UnitsUU/ms
Type32 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places2
CodingRW, VM

The default value of 109.2 UU/ms is the equivalent of 100rpm for a feedback device with 16 normalised position bits per revolution and a user unit ratio of unity.

The AMC Position Control Loop Speed Clamp (39.009) defines the maximum positive or negative speed output from the position control loop in User units/ms.


Parameter39.010  AMC Speed Feed-forwards Gain
Short description 
ModeRFC‑S
Minimum0.000Maximum2.000
Default1.000Units 
Type16 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places3
CodingRW

Normally the speed feed-forwards is used directly to provide the speed reference for the drive, with the position controller used as a trim to compensate for system and load effects to give the correct position. The default value of AMC Speed Feed-forwards Gain (39.010) is unity, but in some applications it may be necessary to reduce the speed feed-forward component to reduce overshoot.


Parameter39.011  AMC Output Speed Clamp
Short description 
ModeRFC‑S
Minimum−VM_SPEED_FREQ_REFMaximumVM_SPEED_FREQ_REF
Default1000.0Units 
Type32 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places1
CodingRW, VM

AMC Output Speed Clamp (39.011) provides a final clamp on the output speed in drive speed parameter units (i.e. rpm or mm/s).


Parameter39.012  AMC Output Speed
Short description 
ModeRFC‑S
Minimum−VM_SPEED_FREQ_REFMaximumVM_SPEED_FREQ_REF
Default Units 
Type32 Bit VolatileUpdate Rate4ms write
Display FormatStandardDecimal Places1
CodingRO, FI, VM, ND, NC, PT

AMC Output Speed (39.012) is the final output from the Advanced Motion Controller in 0.1rpm or 0.1mm/s. Although the update rate for this parameter is 4ms the output speed is written to the Hard Speed Reference (03.022) at the sample rate selected in AMC Rate Select (31.012). The output speed is written in internal units (232cpr/250μs) to increase the maximum speed resolution to 5.59e-5rpm or Pole Pitch x 9.31e-7mm/s.


Parameter39.013  AMC Output Invert
Short descriptionSet to 1 to invert the AMC output speed
ModeRFC‑S
Minimum0Maximum1
Default0Units 
Type1 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places0
CodingRW

If AMC Output Invert (39.013) = 1 then AMC Output Speed (39.012) and the output torque (AMC Inertia Compensation Mode (39.005) = 2) is inverted.


Parameter39.014  AMC External Acceleration Reference
Short description 
ModeRFC‑S
Minimum−VM_AMC_RATEMaximumVM_AMC_RATE
Default0.000UnitsUU/ms²
Type32 Bit VolatileUpdate RateAMC sample rate read
Display FormatStandardDecimal Places3
CodingRW, VM

See AMC External Position Reference Select (39.001).


Parameter39.015  AMC External Reference Mode
Short description 
ModeRFC‑S
Minimum0Maximum1
Default0Units 
Type8 Bit User SaveUpdate RateBackground read
Display FormatStandardDecimal Places0
CodingRW

AMC External Reference Mode (39.015) can be used to modify the operation of the Advanced Motion Controller when an external profile generator is being used to provide the references for the position control loop. When an external profile is used it is important that the profile is always synchronised to AMC Slave Position (33.004) and the outputs of the profile are written to the external references before the drive is enabled. If this is not done the position error may cause the slave to move.

If AMC External Reference Mode (39.015) = 0 the external references are always used when selected (AMC External Position Reference Select (39.001) = 1) and no other changes are made to the operation of the Advanced Motion Controller.

If AMC External Reference Mode (39.015) = 1 the following apply when the external references are selected. This mode of operation is intended to be used with an external motion controller, such as the MCi option module.  

  1. The state machine described in AMC External Control State (39.016) is enabled. AMC External Control State (39.016) provides the state of the drive (unhealthy or disabled), indicates the active reference, the status of a homing routine and if an error has occurred, i.e. the stop reference has been selected while the external reference or homing routine was active, a limits has become active, etc. To synchronise the external profile with the slave position AMC External Control State (39.016) should be in one of the stopped states. In a stopped state the reference selector is set to stop and AMC Profile Input Position (38.006) = AMC Profile Output Position (38.008) which ensures that the external profile can be updated without introducing a position error when the external reference is activated.  
  2. The external references are not used when AMC Reference Select (34.007) is set to stop or home. This allows the on-board profile generator to perform a stop or homing routine without having to change AMC External Position Reference Select (39.001).
  3. When the external references are being used the outputs of the on-board profile generator are set to the slave position, speed and acceleration. This allows the stop reference to be selected while the slave is moving and for a ramped stop to be performed.
  4. AMC Reference Select (34.007) is set to stop when the drive is disabled. This ensures that the slave will be held at the slave position until the external profile is synchronised and is ready to provide the external reference.
  5. AMC Profile Input Position (38.006) displays the rollover position when rollover mode is enabled (AMC Profile Output Position (38.008) > 0). This allows the external profile to be synchronised with the internal (AMC Profile Output Position (38.008)) and rollover (AMC Slave Position (33.004)) positions.
  6. If a hardware or software limit is active and the output speed due to the position error or velocity feedforwards is towards the active limit AMC Output Speed (39.012) is set to zero and AMC Reference Select (34.007) is set to stop.


Parameter39.016  AMC External Control State
Short description 
ModeRFC‑S
Minimum0Maximum17
Default Units 
Type8 Bit VolatileUpdate Rate4ms write
Display FormatStandardDecimal Places0
CodingRO, ND, NC, PT

AMC External Control State (39.016) shows the current state of the state machine shown in the diagram below. This state machine is active when AMC External Reference Mode (39.015) is set. See AMC External Reference Mode (39.015) for a description of how the state machine is used.