1 10 Optimization PDF
1 10 Optimization PDF
1 10 Optimization PDF
Training objectives:
• You are able to optimize the
current- and speed controller
- in the time range
- in the frequency range
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 1
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Optimization
Content Page
Scheme of closed loop control (example: feed drive) ....................................................................... 4
Structure of a speed control loop...................................................................................................... 5
Main objectives of (speed-)controller optimization............................................................................. 6
Cascade control and its evaluation................................................................................................... 7
Quick-optimization of a PI controller................................................................................................. 8
Transient function / step response.................................................................................................... 9
Application-specific optimization schemes........................................................................................ 10
Current controller optimization.......................................................................................................... 11
Optimization of a speed controller with PI-characteristic................................................................... 12
Transfer function and frequency response........................................................................................ 13
Amplitude- and phase-response....................................................................................................... 14
Bode diagram of the setpoint value frequency response................................................................... 15
Recording the transfer function of the open control loop.................................................................... 16
Phase- and Amplitude-reserve (open control loop)........................................................................... 17
Evaluation of the control property (closed control loop)..................................................................... 18
Step response in the frequency and time range................................................................................ 19
Bode diagram of a 2-mass system (ONLY controlled system).......................................................... 20
continued on page 3
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 2
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Optimization
Content Page
Frequency response (multi-mass system / ONLY controlled system)................................................ 21
Multi-mass system / closed control loop........................................................................................... 22
Multi-mass system / closed control loop........................................................................................... 23
Multi-mass system / closed control loop........................................................................................... 24
Multi-mass system / closed control loop........................................................................................... 25
Characteristics of low pass and band stop filters.............................................................................. 26
Evaluation of the filter criteria........................................................................................................... 27
Multi-mass system / closed control loop........................................................................................... 28
Multi-mass system / closed control loop........................................................................................... 29
Current setpoint filter / at resonance of the speed control loop.......................................................... 30
Setpoint frequency response in the speed control loop..................................................................... 31
Speed setpoint filter / at resonance of the position control loop......................................................... 32
Measuring functions......................................................................................................................... 33
Modes of application of measuring functions.................................................................................... 34
Current controller optimization.......................................................................................................... 35
Speed controller optimization........................................................................................................... 36
Reference model for the speed control loop (Servo + Vector)........................................................... 37
Settings for the reference model....................................................................................................... 38
Reference model and symmetry filter............................................................................................... 39
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 3
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
– – – –
Xact nact Iact EMF
IR
KE
ωM
ϕM
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 4
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Structure of a speed control loop
Disturbance
Setpoint value
Manipulated I.set
n.set value
Speed
controller Current Power
controller unit
n.act
Measuring
Control loop transducer
Feedback
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 5
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Stability is defined by
• small overshoot in time range
• large phase reserve in frequency range
is obtained by
• small controller gain k.P
• large rise time T.N
Accuracy is defined by
• small following error in time range
• large controller gain at low frequencies in frequency range
is obtained by
• large controller gain k.P
• dynamically acting integral action controller property; small rise time T.N
Robustness Is the ability to provide both stability and dynamic response despite changes of
the controlled system (aging, change of temperature).
Robustness requires to compromise dynamic performance, stability and accuracy.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 6
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Cascade control and its evaluation
Advantages of cascade control:
• Step by step commissioning of the control loops from the inside to the outside (Current Æ Speed Æ Position) ;
independent settings.
• Lower-level controllers act as substitute delay time for the superposed system and in this way affect the dynamic
properties of the whole system in respect to setpoint response.
This disadvantage can be compensated by implementing pre control on the lower-level control loops.
• Easy to do limiting of the lower-level controlled value by limiting the superposed control setpoint value.
• Effects of non-linearity are limited. The superposed controller features reduced non-linearity.
• Reduction of delay times via compensation of the lower-level control loop.
• In the lower-level controller disturbances are immediately corrected and compensated very quickly.
There are many possibilities to evaluate the control response of a control system:
Methods to describe the dynamic response characteristic
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 7
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Quick-optimization of a PI controller
KP... Gain
TN... Integral time
t t
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 8
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Transient function / step response
x
Overshoot
speed
Tolerance band
Trise t torque
Trecovery
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 9
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Linear optimum, LO
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 10
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Current controller optimization
Siemens drives
If the motor was selected via the menu “motor selection..." and once the motor data
have been downloaded to the drive, you can do without the current controller
optimization.
Along with the actual motor data the motor selection sets optimized controller settings.
A recording of the current actual value step response in the time range allows a reliable
evaluation of these standard settings.
In the operating mode Vector, the commissioning tool STARTER offers an automatic
motor identification for the self-optimization of induction motors.
In a number of test runs relevant electrical data of the induction motor are determined
automatically.
Based on these values the current controller is optimized automatically.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 11
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
speed
torque
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 12
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Transfer function and frequency response
Linear measuring system
(direct MS)
Encoder Table (Load)
Coupling
Motor
Ball screw “infinitely large mass“
(not affected by the
Machine base movement of the load)
Spring
Response to the
Noise signal mLoad
noise signal
Damper
Numerical control
xMotor xLoad
Response to the noise signal
Transfer function = Frequency response =
Noise signal
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 13
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
The output can follow The output oscillates with large The output hardly moves. The damper
the input amplitude ⇒ resonance operates optimally ⇒ shock absorber
A( f1 ) = 1 A( f 2 ) >> 1 A( f 3 ) << 1
ϕ ( f1 ) = 0° ϕ ( f 2 ) = − 90 ° ϕ ( f 3 ) = −180°
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 14
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Bode diagram of the setpoint value frequency response
XLoad
XMotor
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 15
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
noise-
generator
transfer function of
speed- current the mechanical system
controller control loop
m.set
n.set n.act
k.P T.N t.sub.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 16
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Phase- and Amplitude-reserve (open control loop)
Amplitude [dB]
45
30
15
0
Amplitude reserve
-15
-30
-45
Criteria of evaluation
-60
A speed control loop optimized for
-75 stability and robustness has to
satisfy following conditions in an
Phase [degr] analysis using the Bode-diagram:
0
- Amplitude reserve > 12 dB
-45
-
600 > Phase reserve > 300
-90
-135
Phase reserve
-180
-225
-270
-315
-360
1 10 100 Frequency [ Hz ]
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 17
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Amplitude-
0 margin
- 3dB
Phase [ Grad ]
-90
resonance frequency
(at gain peak)
-180
The natural frequency (-3 dB) defines the rise time
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 18
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Step response in the frequency and time range
Natural Natural
frequency: frequency:
40 Hz 40 Hz
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 19
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
mMotor mLoad
Damper
xMotor xLoad
Zero position
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 20
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Frequency response (multi-mass system / ONLY controlled system)
n.act
m.set
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 21
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Amplitude-
margin
n.act
n.set
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 22
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Multi-mass system / closed control loop
Danger !
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 23
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 24
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Multi-mass system / closed control loop
Filter activated
Result
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 25
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 26
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Evaluation of the filter criteria
Notch frequency
Notch depth
50%
Bandwidth
50%
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 27
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 28
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Multi-mass system / closed control loop
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 29
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
nset Iset
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 30
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Setpoint frequency response in the speed control loop
By analyzing the setpoint frequency response, the gain and integral time can be set to values that
ensure a high natural frequency with sufficient stability reserve. For the optimization and frequency
response measurements in the speed control loop, the speed setpoint filters have to be “switched
off“. They have no effect on the speed control loop stability, but they substantially affect the result of
the measurement.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 31
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 32
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Measuring functions
• Controller optimization with Pre-configured measuring functions:
automatic suppression of
superposed control loops. 1 Speed controller setpoint frequency response (after speed setpoint filter)
• Easy to do parameterization 2 Speed controlled system (signal injection after current setpoint filter)
• Immediately ready to run: 3 Speed controller disturbance frequency response (after current setpoint filter)
• function generator Speed controller setpoint frequency response (before speed setpoint filter)
• trace channels
5 Speed controller step of setpoint (after speed setpoint filter)
6 Speed controller step of disturbance variable (after current setpoint filter)
7 Current controller setpoint frequency response (after current setpoint filter)
8 Current controller step of setpoint (after current setpoint filter)
frequency response
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 33
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
1 5 2 7 8
3 6
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 34
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Current controller optimization
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 35
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
2 3
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 36
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Reference model for the speed control loop (Servo + Vector)
speed-
controller
I
Tn
r1436[D]
n.act
p1433[D]
r61[D]
p1434[D]
p1435[D]
reference model
r61 off
Vm on
The reference model delays the set-actual-deviation for r62
the integral component of the speed controller. In
consequence, transient overshoot is noticeably reduced.
Steps of load are controlled with the high dynamic t
property set via proportional gain. Trise
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 37
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Tt
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 38
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.
Reference model and symmetry filter
setpoint control
n.set m.set
k.P
reference- speed-
Reference model model controller
setpoint control
x.set n.set
symmetry- position-
Symmetry filter filter controller
k.V control of
disturbance
variable
x.act
SINAMICS Date:
File:
06.03.2007
ABU DHABI: Page 10 - 39
SITRAIN Training for
Automation and Drives
Siemens AG 2007. All rights reserved.