Autotuning

Danger!
  • This function is a commissioning function and may only be operated under observation.
  • If strong vibrations occur in the mechanics, the execution of the function must be interrupted.
  • In the case of suspended loads, the controller parameters must be optimised starting from the lower end position of the travel range.
  • Before executing the function, make sure that the motor, encoder, brake and kinematic settings are correct.

With this function, the following control parameters can be optimised using automated procedures:

  • Speed controller gain (0x2900:001)
  • Speed controller reset time (0x2900:002)
  • Position controller gain (0x2980)
  • Position controller gain (subindex 93 of AXIS_REF)

After successful optimisation, the determined parameter values must still be saved manually in the storage medium in a way that is safe from mains failure (save parameter set must be executed). Saving control parameters persistently

  • Supported topologies:
    • i950 TA (from firmware version v1.6) via EasyStarter c1.20,
    • i950 PLC (from firmware version v1.6) via PLCDesigner v3.23,
    • i950 Base (from firmware version v1.6) via PLCDesigner v3.23,
    • i700 (from firmware version v2.16) via PLCDesigner v3.23
  • Supported cycle times: 1 - 4 ms
Note!

The Autotuning function can only be started in the "Disabled" axis state, i.e. the axis is inhibited and error-free.

After the start, there is a change to the axis state "Service". In this state, the drive is automatically enabled for the execution of the function.

The execution can be aborted prematurely via:

The abort results in the drive being inhibited again.

The function can be started via the AxisRef parameter Subindex 170 = [1] ("Perform Autotuning"). Subsequently, the following states are run through in sequence and displayed in the object subindex 177 ("Autotuning: State"):

Number

State

INFO

0

Inactive

Function is inactive.

1

Initialization

Function is initialized.

2

Save parameters

Device parameters that are changed during auto-tuning are saved in this state.

3

Check preconditions

Boundary conditions are checked and the axis is enabled at standstill.

4

Optimize speed controller gain

The gain factor of the speed controller (0x2900:001) is optimized.

5

Optimize speed controller reset time

The reset time of the speed controller (0x2900:002) is optimized.

6

Optimize position controller gain

The gain factor of the position controller (0x2980) or position controller subindex 93 of the AxisRef is optimized.

Whether and which of these parameters is optimized depends on the parameterized control type (subindex 90 of the AxisRef).

  • Subindex 90 = [0] Position control motor encoder:
    Optimization of 0x2980
  • Subindex 90 = [1] Position control motor encoder:
    Subindex 93 of the AxisRef
  • Subindex 90 = [10] Speed control:
    No optimization of this gain factor

After successful completion of the optimization, one of the following states is displayed in object subindex 177 ("Autotuning: State"):

Number

State

INFO

10

Ends

Performance improved!

  • The governor stiffness has been increased.
  • There is a sufficient distance to the stability limit.

11

Ends

Performance indentical!

There has been no significant change in the controller behavior.

12

Ends

Stability reserve increased!

  • There is a sufficient distance to the stability limit.
  • The controller stiffness has been reduced.
Function aborted by the user via object subindex 170 = [1] "Abort":
  • Subindex 170 changes to the "Off/Complete" state (subindex 70 = [0] "Off/Complete")
  • Subindex 177 changes to "Function is aborted" state ( subindex 177 = [7] "Function is aborted")
  • The drive is brought to a standstill via a speed-controlled stop ramp.
  • The values saved in the "Save parameters" state (subindex 177 = 2) are written back to the objects.

Subindex 177 then changes to the "User abort" state (Subindex 177 = [9] "User abort").

Function abort due to an error that has occurred:
  • Subindex 170 changes to the "Aborted" state (Subindex 170 = [3] "Aborted").
  • Subindex 177 changes to the "Function is aborted" state (subindex 177 = [7] "Function is aborted").
  • The drive is brought to a standstill via a speed-controlled stop ramp.
  • The values saved in the "Save parameters" state (subindex 177 = 2) are written back to the objects.
Parameter list for controlling the function in the AxisRef data structure:

Perform auto-tuning (subindex 170)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Selection list (Lenze setting printed in bold)

0

Off/Ready

1

On/start

2

In progress

3

Action cancelled

4

No access

5

No access (disabled)

16

Abort

20

20%

40

40%

60

60%

80

80%

101

Taskcycle > 4ms

102

STO active

103

Invalid settings

104

Version not supported

105

Distance to long

106

0x2824 = Off [0]

107

Temporary not available

Read access Write access Can only be changed in "Disabled" state No download

UNSIGNED_8

Auto-tuning: Maximum speed (subindex 171)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Setting range (min. value | unit | max. value)

Lenze setting

0

Unit/s

2147483647

0 Unit/s

Read access Write access Can only be changed in "Disabled" state No download

FLOAT_64

Auto-tuning: Maximum acceleration (subindex 172)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Setting range (min. value | unit | max. value)

Lenze setting

0

Unit/s²

2147483647

0 Unit/s²

Read access Write access Can only be changed in "Disabled" state No download

FLOAT_64

Auto-tuning: Maximum distance (subindex 173)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Setting range (min. value | unit | max. value)

Lenze setting

0

Unit

2147483647

0 Unit

Read access Write access Can only be changed in "Disabled" state No download

FLOAT_64

Auto-tuning: Min. sug. distance (subindex 174)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Display area (min. value | unit | max. value)

Initialization

0

Unit

2147483647

0 Unit

Read access Write access Can only be changed in "Disabled" state No download

FLOAT_64

Auto-tuning: State (subindex 177)

virtual axis 9400 HighLine Inverter i500 Servo-Inverter i700 Servo-Inverter i950 Encoder

Selection list (Lenze setting printed in bold)

0

Disabled

1

Initialization

2

Backup parameter

3

Checking preconditions

4

Autotune speed controller gain

5

Autotune speed controller reset time

6

Autotune postion controller gain

7

Abort function

8

Abort by error

9

Abort by user

10

Finished - improved performance

11

Finished - identic performance

12

Finished - stability margin increased

Read access Write access Can only be changed in "Disabled" state No download

UNSIGNED_16