SINAMICS S120. Manual (2017-2019) - page 33

 

  Index      Manuals     SINAMICS S120. Manual (2017-2019)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     31      32      33      34     ..

 

 

 

SINAMICS S120. Manual (2017-2019) - page 33

 

 

Servo control
5.17 Vdc control
In the event of a power failure, the DC link voltage can increase until it reaches the shutdown
threshold when drives are decelerated. To ensure that the DC link voltage is not loaded with
uncritical drives in the event of a power failure, these drives can be switched off with fault F7404
(Drive: upper DC link voltage threshold reached) with a parameterizable threshold in p1244.
This is done by activating the Vdc_max monitoring (p1240 = 4, 6).
Function diagrams (see SINAMICS S120/S150 List Manual)
●
5300
Servo control - U/f control for diagnostics
●
5650
Servo control - Vdc_max controller and Vdc_min controller
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● r0056.14
CO/BO: Status word, closed-loop control: Vdc_max controller active
● r0056.15
CO/BO: Status word, closed-loop control: Vdc_min controller active
● p1240[0...n]
Vdc controller or Vdc monitoring configuration
● p1244[0...n]
Upper DC link voltage threshold
● p1248[0...n]
Lower DC link voltage threshold
● p1250[0...n]
Vdc controller proportional gain
Drive functions
170
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.18 Dynamic Servo Control (DSC)
5.18
Dynamic Servo Control (DSC)
Overview
Function "Dynamic Servo Control" (DSC) is a closed-loop control structure that computes the
position controller in a fast speed controller clock cycle and is supplied with setpoints by the
control system in the position controller cycle. This allows higher position controller gain factors
to be achieved.
Requirements
The following prerequisites are necessary to use the "Dynamic Servo Control" function:
● n-set mode
● Isochronous PROFIBUS DP or PROFINET IO with IRT
● The position controller gain factor (KPC) and the position deviation (XERR) must be
included in the setpoint telegram of PROFIBUS DP or PROFINET IO with IRT (refer to
p0922).
● The actual position value must be transferred to the master in the actual value telegram of
PROFIBUS DP or PROFINET IO with IRT via the encoder interface Gx_XIST1.
● When DSC is activated, the speed setpoint N_SOLL_B from the PROFIdrive telegram from
PROFIBUS DP or PROFINET IO with IRT is used as a speed precontrol value.
● The internal quasi position controller, DSC position controller (FP3090), uses the actual
position value G1_XIST1 from the motor measuring system or the actual position value from
an additional encoder system (telegrams 6, 106, 116, 118, 126, 136 and 138 or free
telegrams).
Function description
A detailed description of the mode of operation is provided in function diagram 3090 (see
SINAMICS S120/S150 List Manual).
Note
Synchronization is required on the control side and on the drive side for the operation of DSC.
PROFIdrive telegrams
The following PROFIdrive telegrams support DSC:
● Standard telegrams 5 and 6
● SIEMENS telegrams: 5, 6, 105, 106, 116, 118, 125, 126, 136, 138, 139, 146, 148, 149 and
166
Further PZD data telegram types can be used with the telegram extension. It must be observed
that SERVO control mode supports a maximum of 20 PZD setpoints and 28 PZD actual values.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
171
Servo control
5.18 Dynamic Servo Control (DSC)
Operating states
The following operating states are possible for DSC (for details, see function diagram 3090 in
the SINAMICS S120/S150 List Manual):
Operating state for DSC
Meaning
Speed/torque precontrol with linear
As a result of the step-like torque precontrol in the position con-
interpolation
troller cycle, a pulsed torque characteristic is obtained with the
excitation cycle.
Speed precontrol with splines1)
● The position setpoint is made symmetrical.
● The speed precontrol value is not made symmetrical.
Speed/torque precontrol with splines1)
● The position setpoint is made symmetrical.
● The speed precontrol value is made symmetrical.2)
● The torque precontrol value is not made symmetrical.
1) The following improvements are achieved as a result of spline interpolation:
● A finer interpolation of the torque in the speed controller cycle and therefore softer motion; torque surges are
also avoided
● An extremely high path accuracy (i.e. lower following error in the control behavior) for torque-speed
feedforward control
● High-frequency path motions
2) For active balancing (T_SYMM > 0), using p1427 you can set an additive symmetrizing time constant
T_SYMM_ADD to symmetrize the speed precontrol value when torque precontrol is active. In this case, the
speed precontrol value is symmetrized with the sum of the following time constants: T_SYMM
(p1195) + T_SYMM_ADD (p1427) + 0.5 · T_speed controller cycle (p0115[1]). In this case, speed generation
is automatically taken into account using position differences with half a speed controller cycle.
Activate DSC
If the preconditions for DSC are fulfilled, then the DSC structure is activated using a logical
interconnection of the following parameters via a selected PROFIdrive telegram:
● p1190 "DSC position deviation XERR"
● p1191 "DSC position controller gain KPC"
● p1194 "CI: DSC control word DSC_STW"
● p1195 "CI: DSC symmetrizing time constant T_SYMM"
● p1430 "CI: Speed precontrol"
If KPC = 0 is transferred, only speed control with the speed precontrol values can be used
(p1430, PROFIdrive N_SOLL_B and p1160 n_set_2). Position-controlled operation requires a
transfer of KPC > 0.
Note
Position controller gain KPC when DSC is activated
After activating dynamic servo control, check the position controller gain KPC in the master. It
may be necessary to correct the setting.
Drive functions
172
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.18 Dynamic Servo Control (DSC)
Channel p1155 for speed setpoint 1 and channel r1119 for the extended setpoint are
disconnected when DSC is active. p1160 for speed setpoint 2 and p1430 for the speed
precontrol are added to the speed setpoint from the DSC (see function diagram 3090).
Deactivating the DSC
If the interconnection is removed at the connector input for KPC or XERR (p1191 = 0 or
p1190 = 0), the DSC structure is dissolved and the "DSC" function deactivated. The sum from
r1119 and p1155 is then added to the values from p1160 and p1430 from the speed precontrol.
Since it is possible to set higher gain factors using DSC, the control loop can become unstable
when DSC is disabled. For this reason, before deselecting DSC, the value for KPC in the
master must be reduced.
Speed setpoint filter
A speed setpoint filter for smoothing the speed setpoint steps is not required when DSC is
active.
When using the "DSC" function, it only makes sense to use speed setpoint filter 1 to support the
position controller, e.g. to suppress resonance effects.
External encoder systems (except motor encoder)
If, with DSC active, an external encoder is to be used, this requires the selection of a telegram
with additional actual encoder values: Telegrams 6,106,116,118, 126, 136, 138, 146, 148, 166
or free telegrams.
For optimum control in the DSC mode, the same encoder(s) (encoder 2 and/or encoder 3) must
be selected for the control (master) and the drive via parameter p1192 "DSC encoder
selection".
If the encoder for the position actual value generation in the control and the encoder selected
for DSC differ regarding their pulse numbers and/or fine resolution, then this must be taken into
account in p1193. The factor represents the ratio of the pulse difference between the encoders
used for the same distance reference. Further, it should be noted that for different encoders
there are no dead times regarding their position actual value sensing (for example as is the
case for EnDat encoders and SSI encoders), as this will otherwise lead to undesirable behavior.
The effect of the parameters p1192 and p1193 is illustrated in function diagram 3090.
Wind-up effect
If the drive reaches its torque limits when in the DSC mode, e.g. because of excessively fast
setpoint inputs, then positioning motion can be overshot. With this so-called wind-up effect, the
drive overshoots the specified target, the controller enters a specific correction, the drive
reverses, overshoots the target again, etc. In order to avoid this behavior, the drive limits the
position controller to values that the drive can always reliably maintain depending on the
acceleration capability. Set p1400.17 = 1 to activate dynamic setpoint limiting in the DSC mode.
In this case, the total weight (mtot) must be precisely parameterized (determine the weight
p0341, p0342 and p1498 possibly using the mot ID). If the limiting responds, then this is
indicated in r1407.19. On this topic, also observe the description of parameter p1400.17 and
function diagram 3090.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
173
Servo control
5.18 Dynamic Servo Control (DSC)
Diagnostics
Parameter r1407 indicates which DSC closed-loop control structure is active, e.g. r1407.20 = 1
means "DSC with Spline on".
Requirements for the display:
● p1190 and p1191 must be connected to a signal source with a value of > 0 (DSC structure
activated).
● OFF1, OFF3 and STOP2 must not be active.
● The motor data identification must not be active.
● Master control must not be active.
The following conditions can mean that although the bit is set, the DSC function is not active:
● Isochronous mode has not been selected (r2054 ≠ 4).
● PROFIBUS is not isochronous (r2064[0] ≠ 1).
● On the control side, DSC is not active, which causes the value of KPC = 0 to be transferred
to p1191.
Function diagrams (see SINAMICS S120/S150 List Manual)
●
2401
PROFIdrive overview
●
2415
PROFIdrive - Standard telegrams and process data 1
●
2416
PROFIdrive - Standard telegrams and process data 2
●
2419
PROFIdrive - Manufacturer-specific telegrams and process data 1
●
2420
PROFIdrive - Manufacturer-specific telegrams and process data 2
●
2421
PROFIdrive - Manufacturer-specific telegrams and process data 3
●
2422
PROFIdrive - Manufacturer-specific telegrams and process data 4
●
2423
PROFIdrive - Manufacturer-specific/free telegrams and process data
●
3090
Setpoint channel - Dynamic Servo Control (DSC) linear and DSC Spline
(r0108.6 = 1)
●
5020
Servo control - Speed setpoint filter and speed precontrol
●
5030
Servo control - Reference model/pre-control balancing/speed limiting
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● p1160[0...n]
CI: Speed controller, speed setpoint 2
● p1190
CI: DSC position deviation XERR
● p1191
CI: DSC position controller gain KPC
● p1192[0...n]
DSC encoder selection
● p1193[0...n]
DSC encoder adaptation factor
● p1194
CI: DSC control word DSC_STW
● p1195
CI: DSC symmetrizing time constant T_SYMM
● p1400[0...n]
Speed control configuration
17
DSC position controller limiting active
Drive functions
174
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.18 Dynamic Servo Control (DSC)
● r1407.0...26
CO/BO: Status word, speed controller
04
Speed setpoint from DSC
19
DSC position controller limited
20
DSC with spline on
21
Speed precontrol for DSC with spline on
22
Torque precontrol for DSC with spline on
● p1430[0...n]
CI: Speed precontrol
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
175
Servo control
5.19 Travel to fixed stop
5.19
Travel to fixed stop
Function description
This function can be used to move a motor to a fixed stop at a specified torque without a fault
being signaled. When the stop is reached, the specified torque is established and is then
continuously available.
The desired torque derating is brought about by scaling the upper/motor-mode torque limit and
the lower/regenerative-mode torque limit.
Applications
The main applications of the function are:
● Screwing parts together with a defined torque
● Moving to a mechanical reference point
Signals
For PROFIdrive telegrams 2 to 6, the following signals are automatically interconnected:
● Control word 2, bit 8 (STW2.8)
● Status word 2, bit 8 (ZSW2.8)
For PROFIdrive telegrams 102 to 106, the following signals are also interconnected:
● Message word, bit 1 (MELDW1)
● Process data M_red to the scaling of the torque limit
When the "basic positioner" function module is activated, the signals listed above are
automatically interconnected to the basic positioner.
Drive functions
176
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.19 Travel to fixed stop
&RQWURO VLJQDO
6WDWXV VLJQDOV
S
S
> @
&ORVHG ORRS
67:
U
U
=6:
FRQWURO
,Q DGGLWLRQ IRU S
6FDOLQJ
0BOLPLWB
S
S
S
S
6HH
!
+H[
5HFHLYH SURFHVV GDWD
IXQFWLRQ
GLDJUDP
S
S
> @
S
[
S
WR
6FDOLQJ
0BOLPLWB
S
0B5HG
S
> @
S
S
HJ
E\
S
!
+H[
S
S
> @
S
[
S
WR
Figure 5-28
Signals for "Travel to fixed stop"
When PROFIdrive telegrams 2 to 6 are used, no torque reduction is transferred. When the
"Travel to fixed stop" function is activated, the motor ramps up to the torque limits specified in
p1520 and p1521. If the torque has to be reduced, protocols 102 to 106, for example, can be
used to transfer it. Another option would be to enter a fixed value in p2900 and interconnect it
to the torque limits p1528 and p1529.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
177
Servo control
5.19 Travel to fixed stop
Signal chart
0BOLPLW
0BDFWXDO
QBVHW
S
$GGLWLRQDOO\ ZLWK 352),GULYH
7RUTXH
7HOHJUDPV
b b
UHGXFWLRQ
S
7UDYHUVH WR
IL[HG VWRS
U
)L[HG VWRS UHDFKHG
7RUTXH
OLPLW UHDFKHG
U
7RUTXH RII
XVH S
Figure 5-29
Signal chart for "Travel to fixed stop"
Commission PROFIdrive telegrams 2 to 6
To commission the PROFIdrive telegrams 2 to 6, proceed as follows:
1. Activate the "Travel to fixed stop" function via the parameter setting p1545 = "1".
2. Set the required torque limit.
Example:
- p1400.4 = 0 (upper or lower torque limit)
- p1520 = 100 Nm (effective in the upper positive torque direction)
- p1521 = -1500 Nm (effective in the lower negative torque direction)
3. Traverse the motor to stop.
The motor runs at the set torque until it reaches the stop and continues to work against the
stop until the torque limit has been reached, this status being indicated in status bit r1407.7
"Torque limit reached".
Drive functions
178
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.19 Travel to fixed stop
Control and status messages
Table 5-16
Control: Travel to fixed stop
Signal name
Internal control word STW
Binector input
PROFIdrive p0922 and/or
n_ctrl
p2079
Activate travel to fixed stop
8
p1545 Activate travel to fixed
STW2.8
stop
Table 5-17
Status message: Travel to fixed stop
Signal name
Internal status word
Parameter
PROFIdrive p0922 and/or
p2079
Travel to fixed stop active
-
r1406.8
ZSW2.8
Torque limits reached
ZSW n_ctrl.7
r1407.7
ZSW1.11 (inverted)
Torque utilization < torque
ZSW monitoring functions
r2199.11
MELDEW.1
threshold value 2
3.11
Function diagrams (see SINAMICS S120/S150 List Manual)
●
5609
Servo control, generation of the torque limits, overview
●
5610
Servo control - torque limiting/reduction, interpolator
●
5620
Servo control - Motoring/generating torque limit
●
5630
Servo control - Upper/lower torque limit
●
8012
Signals and monitoring functions - Torque messages, motor locked/stalled
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● p1400[0...n]
Speed control configuration
● r1407.7
CO/BO: Status word speed controller;
torque limit reached
● p1520[0...n]
CO: Torque limit upper/motoring
● p1521[0...n]
CO: Torque limit lower/regenerative
● p1522[0...n]
CI: Torque limit upper/motoring
● p1523[0...n]
CI: Torque limit lower/regenerative
● r1526
CO: Torque limit upper/motoring without offset
● r1527
CO: Torque limit, lower/regenerative without offset
● p1532[0...n]
Torque limit, offset
● p1542[0...n]
CI: Travel to fixed stop, torque reduction
● r1543
CO: Travel to fixed stop, torque scaling
● p1544
Travel to fixed stop, evaluation torque reduction
● p1545[0...n]
BI: Activate travel to fixed stop
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
179
Servo control
5.19 Travel to fixed stop
● p2194[0...n]
Torque threshold value 2
● p2199.11
CO/BO: Status word monitoring;
Torque utilization < torque threshold value 2
Drive functions
180
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.20 Vertical axes
5.20
Vertical axes
Function description
With a vertical axis without mechanical weight compensation, electronic weight compensation
can be set by offsetting the torque limits (p1532). The torque limits specified in p1520 and
p1521 are shifted by this offset value. The offset value can be read in r0031 and transferred in
p1532.
To reduce compensation once the brake has been released, the torque offset can be
interconnected as a supplementary torque setpoint (p1511 or p1513). In this way, the holding
torque is specified as soon as the brake has been released.
Function diagrams (see SINAMICS S120/S150 List Manual)
●
5060
Servo control - Torque setpoint, switchover control mode
●
5620
Servo control - Motoring/generating torque limit
●
5630
Servo control - Upper/lower torque limit
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● r0031
Actual torque smoothed
● p1511[0...n]
CI: Supplementary torque 1
● p1512[0...n]
CI: Supplementary torque 1 scaling
● p1513[0...n]
CI: Supplementary torque 2
● p1520[0...n]
CO: Torque limit, upper/motoring
● p1521[0...n]
CO: Torque limit lower/regenerative
● p1532[0...n]
CO: Torque limit, offset
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
181
Servo control
5.21 Variable signaling function
5.21
Variable signaling function
Function description
Using the "Variable signaling" function, BICO interconnections and parameters that have the
attribute "traceable" can be monitored; otherwise they can also be recorded using the "Device
trace" commissioning function.
Note
The variable signaling function works with an accuracy of 8 ms. This value must also to be taken
into account for pickup and dropout delay.
Enter the desired data source into parameter p3291 of the drive object expert list. In parameter
p3295 define a threshold value for the data source. The hysteresis of the threshold value can
be set with p3296. If the threshold value is violated, then an output signal is generated from
r3294. A pickup delay can be set with p3297 and a dropout delay with p3298 for the output
signal r3294.
The setting of a hysteresis results in a tolerance band around the threshold value. If the upper
band limit is exceeded, the output signal r3294 is set to "1", if it drops below the lower band limit
the output signal is set to "0"
You set the sampling time of the variable signaling function in p3299.
After completing the configuration, activate the variable signaling function with p3290.0 = 1.
Example 1: switching on temperature-dependent heating
Heating should be switched on depending on the temperature. For this the analog signal of an
external sensor is connected with the variable signaling function. A temperature threshold and
a hysteresis is defined to prevent the heating from switching on and off constantly.
Drive functions
182
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.21 Variable signaling function
Example 2: monitoring the pressure
The pressure as process variable is to be monitored, whereby a temporary overpressure is
tolerated. For this, the output signal of an external sensor is connected with the variable
signaling function. The pressure thresholds and a pull-in delay are set as tolerance time. When
the output signal of the variable signaling function is set, bit 5 in message word MELDW is set
during cyclic communication. The message word MELDW is a component of the telegrams
102, 103, 105, 106, 110, 111, 116, 118, 126.
PRQLWRUHG VLJQDO
+\VWHUHVLV S
7KUHVKROG
S
W
3LFNXS GHOD\ S
'URSRXW GHOD\ S
%,&2 RXWSXW
VLJQDO
U
VLJQDO
7KUHVKROG )DOOHQ EHORZ
([FHHGHG
)DOOHQ EHORZ
Figure 5-30
Diagram: Variable signaling function
Function diagrams (see SINAMICS S120/S150 List Manual)
●
5301
Servo control - variable signaling function
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● p3290
Variable signaling function, start
● p3291
CI: Variable signaling function signal source
● r3294
BO: Variable signaling function, output signal
● p3295
Variable signaling function, threshold value
● p3296
Variable signaling function, hysteresis
● p3297
Variable signaling function, pickup delay
● p3298
Variable signaling function, dropout delay
● p3299
Variable signaling function, sampling time
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
183
Servo control
5.22 Central probe evaluation
5.22
Central probe evaluation
Overview
Frequently, Motion Control systems have to detect and save the positions of drive axes at an
instant in time defined by an external event. For example, this external event may be the signal
edge of a probe. The following can be necessary:
● Several probes have to be evaluated.
● The actual position values of several axes must be saved with a probe event.
Function description
For the central probe evaluation, the instant in time of the probe signal is detected and saved
by a central function. From the sampling values of the position signals of the various axes, the
control interpolates the times of the actual position values at the probe instant. Three evaluation
procedures are implemented in SINAMICS S120 for this purpose.
The evaluation procedures can be set using parameter p0684:
● With handshake (p0684 = 0)
Factory setting
● Without handshake, 2 edges (p0684 = 1)
A change to p0684 = 0 or 1 is possible in the RUN state.
● Without handshake, more than 2 edges (p0684 = 16)
Measuring several signal edges per probe, without handshake:
A change to p0684 = 16 only becomes active after "Save parameters" and "POWER ON".
A change of p0684 = 16 to p0684 = 0 or 1 only becomes active "After save parameters" and
"POWER ON".
The fail safety of the standard PROFIdrive connection without handshake cannot be
guaranteed. The "Without handshake" function has been released for "integrated" platforms
(e.g. SINAMICS integrated in SIMOTION D425). You must use the "With handshake" function
to ensure absolute reliability when detecting the probe.
PROFIdrive telegrams for the central measuring function
● Telegram 390: No probe
● Telegram 391: 2 probes (when p0684=0/1)
● Telegram 392: 6 probes (when p0684=0/1)
● Telegram 393: 8 probes (when p0684=0/1)
● Telegram 394: No probe
● Telegram 395: 16 probes, time stamp (p0684 = 16)
Drive functions
184
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.22 Central probe evaluation
Central measuring with/without handshake
Both measuring procedures have the following points in common:
● Setting the input terminal in p0680.
● Signal source, synchronization signal in p0681.
● Signal source, control word probe p0682.
● Transfer with the communication interface PROFIdrive.
● Synchronizing and monitoring isochronous PROFIdrive
● Prerequisite for measurements is the synchronization between the control and drive.
● Setpoint transfer at start time To and actual value transfer at instant in time Ti in the
PROFIBUS cycle (max. 8 ms).
● Time stamp: Format (drive increments, NC decrements)
● Each valid time stamp in the drive is incremented by 1 in order to make a differentiation
between a valid measuring time zero and an invalid time format. This increment is removed
again by the higher-level control.
● The value "0" in the interface is an invalid time format and indicates that a measured value
is not available.
● Sequencer for the control/status word processing
● Monitoring functions (sign of life)
● Faults
Note
Time-critical data transfer
The status information E_DIGITAL and A_DIGITAL in telegrams 39x are not subject to any
precise time restraints according to the specifications. The transfer of E_DIGITAL and the
output of A_DIGITAL are realized independently of the PROFIBUS cycle with the PROFIdrive
PZD sampling time according to p2048. Depending on the module, this can be set to between
1 ms and 16 ms. As a consequence, dead times must be expected for the transfer of output
values and the feedback signal of input values.
Although the probe status word MT_ZSW is identical with the content of E_DIGITAL, it is
however directly transferred in PZDs. As a consequence, for time-critical applications
measuring probes or cams should be used.
Central measuring with handshake
With p0684 = 0, you activate the evaluation procedure with handshake for the central probe
evaluation. You can evaluate a maximum of one positive and/or negative edge per probe within
four DP cycles.
TDP = PROFIBUS cycle (also DP cycle)
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
185
Servo control
5.22 Central probe evaluation
T
MAPC
= master application cycle time (time frame in which the master application generates
new setpoints)
● Transfer, control word probe (BICO p0682 to PZD3) at the start instant To in the MAPC
cycle.
● The measurement is activated with a 0/1 transition of the control bit for a falling or rising edge
in the probe control word.
● If the measurement is activated, in data bus cycle (e.g. PROFIBUS cycle: DP cycle) a check
is made as to whether a measured value is available.
● If a measured value is available, then the time stamp is entered into either p0686 or p0687.
● The time stamp is transferred until the control bit for falling or rising edge is set to "0" in the
control word. Then, the associated time stamp is set to "0".
● The measurement is deactivated by a 1/0 transition of the control bit in the probe control
word.
● Transfer with PROFIdrive telegrams 391, 392 or 393.
Central measurement without handshake
With p0684 = 1, you activate the evaluation procedure without handshake for the central probe
evaluation. You can evaluate a maximum of two signal edges per probe simultaneously within
two DP cycles.
Requirement
● TDP = TMAPC (cycle ratio = 1:1, cycle reduction not possible).
Procedure
If the measurement is activated, a check is made in the DP cycle as to whether a measured
value was acquired:
● If a measured value is available, then the time stamp is entered in either p0686 or p0687 and
a new measurement is automatically activated.
● If a measured value is not available, then the time stamp zero is entered into either p0686
or p0687.
● This means that a time stamp is only transferred once before it is overwritten with zero or a
new time stamp.
● The measurement is immediately reactivated after the measured values have been read
out.
● Parallel to acquiring new probe events, the measuring results are transferred to the higher-
level control for one DP cycle without evaluating the success.
● For each probe, a maximum of one rising and one falling edge can be detected for each 2
DP cycles.
● Transfer with PROFIdrive telegrams 391, 392 or 393.
Drive functions
186
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.22 Central probe evaluation
Central measurement without handshake (max. 16 signal edges)
With p0684 = 16, you activate the evaluation procedure without handshake for the central
probe evaluation. You can evaluate up to 16 signal edges from a maximum of 2 probes
simultaneously within a DP cycle.
DP cycle = PROFIBUS cycle = TDP
TMAPC = master application cycle time (time frame in which the master application generates
new setpoints)
●
For each probe, up to 8 rising and/or 8 falling edges can be detected in each DP cycle and
saved in a measurement buffer.
●
For each probe it can be selected whether the rising or falling signal edges are to be taken
into account.
●
The cyclic measurement is activated with a 0/1 transition of the control bit for the signal
edges in the probe control word.
●
After activating the measurement, the measured value buffer is emptied once for
initialization.
●
When the buffer is full, the oldest measured value is overwritten first (first in/first out). The
bit "measured value buffer full" in the probe-diagnostic word signals the risk of losing
measured values.
●
The measured value buffer is then cyclically emptied and the measured values are
converted in the sense of a measuring task into a time stamp. The time stamps are saved
according to their chronological order, starting with the oldest, in the indexes of parameter
r0565[0...15] for the transfer.
●
If several probes of being used, then the time stamps of the measurements are entered into
the telegram block, corresponding to their chronological sequence, from the lowest up to the
highest probe.
●
Up to 16 time stamps (MT_ZS), can be entered into telegram 395.
●
As soon as there is no longer any space for the time stamps of a probe in telegram 395, then
the "Telegram full" is set in MT_DIAG.
Examples:
-
4 values are transferred from the 1st probe.
–
6 values are transferred from the 2nd probe.
– Only the first 6 measured values are transferred from the 3rd probe - the rest is cut off and
"Full telegram" is signaled in MT_DIAG.
●
From a selected probe, all signal edges are always taken into account. Individual signal
edges cannot be selected or deselected.
●
The time stamps are transferred in parallel (to acquire new probe events associated with a
time stamp without handshake). A time stamp is only transferred for one DP cycle. Then the
time stamp overwritten with zero or a new time stamp.
●
The cyclic measurement is deactivated with a 1/0 transition of the control bit for a falling or
rising signal edge in the probe control word.
●
Transfer with PROFIdrive telegram 395.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
187
Servo control
5.22 Central probe evaluation
The PZDs of the probe time stamp are BICO parameters, which are automatically connected
with the indices of the new parameter r0565[16] when the telegram block is selected.
After the measuring function has been activated, for several measured values per DP cycle, the
acquired time stamps are saved in the indices of r0565[0...15] for transfer, corresponding to
their sequence in time starting with the oldest measured value.
Probe time stamp references
For telegram 395, the probe time stamps MT_ZS_1...16 are assigned to the telegram locations
using the probe time stamp references MT_ZSB1...4.
Four probe time stamps each (MT_ZS) are assigned a probe time stamp reference (MT_ZSB):
Table 5-18
Assignment, probe time stamp reference to time stamp
Probe time stamp reference
Probe time stamp
Bits
MT_ZSB1
Reference ZS1
Bits 0...3
Reference ZS2
Bits 4...7
Reference ZS3
Bits 8...11
Reference ZS4
Bits 12...15
MT_ZSB2
Reference ZS5
Bits 0...3
Reference ZS6
Bits 4...7
Reference ZS7
Bits 8...11
Reference ZS8
Bits 12...15
MT_ZSB3
Reference ZS9
Bits 0...3
Reference ZS10
Bits 4...7
Reference ZS11
Bits 8...11
Reference ZS12
Bits 12...15
MT_ZSB4
Reference ZS13
Bits 0...3
Reference ZS14
Bits 4...7
Reference ZS15
Bits 8...11
Reference ZS16
Bits 12...15
Table 5-19
Bit assignment of MT_ZSB1 (r0566[0])
Reference time stamp
Probe bit, binary values
Edge selection bit
Reference MT_ZS1
Bits 0...2:
Bit 3:
000: MT_ZS1 from MT1
0: MT_ZS1 falling edge
001: MT_ZS1 from MT2
1: MT_ZS1 rising edge
010: MT_ZS1 from MT3
011: MT_ZS1 from MT4
100: MT_ZS1 from MT5
101: MT_ZS1 from MT6
110: MT_ZS1 from MT7
111: MT_ZS1 from MT8
Drive functions
188
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.22 Central probe evaluation
Reference time stamp
Probe bit, binary values
Edge selection bit
Reference MT_ZS2
Bits 4...6:
Bit 7:
000: MT_ZS2 from MT1
0: MT_ZS2 falling edge
001: MT_ZS2 from MT2
1: MT_ZS2 rising edge
-
110: MT_ZS2 from MT7
111: MT_ZS2 from MT8
Reference MT_ZS3
Bits 8...10
Bit 11:
000: MT_ZS3 from MT1
0: MT_ZS3 falling edge
001: MT_ZS3 from MT2
1: MT_ZS3 rising edge
-
110: MT_ZS3 from MT7
111: MT_ZS3 from MT8
Reference MT_ZS4
Bits 12...14
Bit 15
000: MT_ZS4 from MT1
0: MT_ZS4 falling edge
001: MT_ZS4 from MT2
1: MT_ZS4 rising edge
-
110: MT_ZS4 from MT7
111: MT_ZS4 from MT8
Examples for determining the reference values of the probe evaluation in hex:
●
0000 = 0 hex = time stamp from probe 1 falling edge
●
1000 = 8 hex = time stamp from probe 1 rising edge
●
0001 = 1 hex = time stamp from probe 2 falling edge
●
1001 = 9 hex = time stamp from probe 2 rising edge
Measurement buffer
Each measuring pulse input of a Control Unit 320-2 or 310-2 has one memory for maximum 16
measured value entries (8 rising and 8 falling edges).
The measured values for rising and falling signal edges are sequentially written to the memory.
If the memory is full and a new measured value is entered, all entries move down by one
location and the oldest value drops out. This means that in the case of an overflow the latest 16
values are contained in the memory. When reading out an entry, the oldest value is taken from
the memory. The remaining entries move down and make space for a new entry (FIFO
principle).
Remarks
Other applications can also read the probe status and evaluate the probe measured values.
Example
EPOS controls its probes axis-specifically. A control system can connect to the probe to read
its data and integrate the information into the drive telegram.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
189
Servo control
5.22 Central probe evaluation
5.22.1
Examples
Examples of probe evaluation
Hex values in MT_ZSB from the above example:
●
0 hex = time stamp from probe 1, falling edge
●
8 hex = time stamp from probe 1 rising edge
●
1 hex = time stamp from probe 2, falling edge
●
9 hex = time stamp from probe 2, rising edge
Example 1
MT_STW = 100H: a search is only made for rising edges for probe 1
&\FOH Q
&\FOH Q
&\FOH Q
&\FOH Q
07
07B67:
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
7HOHJUDP
Figure 5-31
A search is made for rising edges for probe 1
In the DP cycle, all time stamps for rising edges are transferred corresponding to their
sequence in time for probe 1.
Example 2
MT_STW = 101H: a search is made for rising and falling edges for probe 1.
&\FOH Q
&\FOH Q
&\FOH Q
&\FOH Q
07
07B67:
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
7HOHJUDP
Figure 5-32
A search is made for rising and falling edges for probe 1
Drive functions
190
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.22 Central probe evaluation
In the DP cycle, all time stamps for rising and falling edges are transferred corresponding to
their sequence in time for probe 1.
Example 3
MT_STW = 303H: a search is made for rising and falling edges for probes 1 and 2.
&\FOH Q
&\FOH Q
&\FOH Q
&\FOH Q
07
07
07B67:
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
07B=6%
KH[
KH[
KH[
KH[
7HOHJUDP
Figure 5-33
A search is made for rising and falling edges for probes 1 and 2
In the DP cycle, initially all time stamps for rising and falling edges of probe 1 are entered.
Afterwards, all time stamps for rising and falling edges of probe 2.
5.22.2
Function diagrams and parameters
Function diagrams (see SINAMICS S120/S150 List Manual)
●
2423
PROFIdrive - Manufacturer-specific/free telegrams and process data
●
4740
Encoder evaluation - Probe evaluation, measured value memory, encoders 1 ...
3
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● r0565[0...15]
CO: Probe time stamp
● r0566[0...3]
CO: Probe time stamp reference
● r0567
CO: Probe diagnostic word
● p0680[0...7]
Central probe, input terminal
● p0681
BI: Central probe synchronization signal, signal source
● p0682
CI: Central probe control word signal source
● p0684
Central probe evaluation procedure
● r0685
Central probe control word display
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
191
Servo control
5.22 Central probe evaluation
● r0686[0...7]
CO: Central probe measuring time, rising edge
● r0687[0...7]
CO: Central probe measuring time, falling edge
● r0688
CO: Central probe status word display
● r0898.0...14
CO/BO: Control word, sequence control
● r0899.0...15
CO/BO: Drive object status word
● p0922
IF1 PROFIdrive PZD telegram selection
● p0925
PROFIdrive isochronous sign-of-life tolerance
Drive functions
192
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.23 Voltage precontrol
5.23
Voltage precontrol
Function description
Using voltage precontrol (p1703), the dynamic response of the q current controller can be
increased independent of the current controller setting - all the way up to the limit that is
physically possible. This means that the current setpoint is established as quickly as possible.
Together with the speed-torque precontrol (p1402.4 = 1, p1517 = 0 ms, p1428, p1429), the
bandwidth of the speed controller dynamic response can be increased.
Especially for synchronous motors, the motor q-inductance (p0356) changes significantly with
the torque-generating current. This response must be taken into account for the precontrol
model.
The individual steps for configuring the voltage feedforward control are described in the
following.
Recommendation
As a result of the higher bandwidth of the current controller, higher frequencies can be excited
- and the phase position changes. As a consequence, after activating the voltage precontrol,
check the speed or position controller and if required - adjusted these as necessary.
Configuring the function
This "Voltage feedforward control" function is configured in the following steps:
Setting the adaptation characteristic
Proceed as follows to determine and set the adaptation characteristic:
1. Determine the q-inductance characteristic using a rotating measurement (p1959.5, p1960
and r1934, r1935).
2. When the identified data are accepted, the parameters of the adaptation characteristic
(p0356, p0391, p0392 and p0393) are appropriately set.
Additionally note the following parameter assignment examples:
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
193
Servo control
5.23 Voltage precontrol
/T FKDUDFWHULVWLF
PHDVXUHG
SDUDPHWHUL]HG FKDUDFWHULVWLF
p0391
0.33 A
p0392
10.23 A
p0393
39.31%
p0356
10.16 mH
Figure 5-34
Example 1: Adaptation characteristic
Drive functions
194
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.23 Voltage precontrol
/T FKDUDFWHULVWLF
PHDVXUHG
SDUDPHWHUL]HG FKDUDFWHULVWLF
p0391
2.09 A
p0392
11 A
p0393
90.67%
p0356
18.24 mH
Figure 5-35
Example 2: Adaptation characteristic
Determining the voltage feedforward control
You determine the voltage feedforward control in several optimization steps. Proceed as
follows:
1. To activate voltage precontrol, enter a value of "100" into p1703.
2. Proceed as follows to determine the dead time of the current controller reference model:
- Activate p0340 = 4, and automatically calculate the closed-loop control parameters.
OR
- Perform a One-Button-Tuning with p5271.4 = 1 and p5271.7 = 1 (p5300 = 1).
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
195
Servo control
5.23 Voltage precontrol
3. Measure a current controller setpoint step and correct the value p1703.
- Repeat the current controller setpoint step until the current actual value reaches the
setpoint without any overshoot or undershoot (see the following sample displays).
Figure 5-36
Example: Voltage precontrol p1703 too low
Drive functions
196
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.23 Voltage precontrol
Figure 5-37
Example: Voltage feedforward control p1703 is okay
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
197
Servo control
5.23 Voltage precontrol
Figure 5-38
Example: Voltage precontrol p1703 too high
Drive functions
198
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.23 Voltage precontrol
4. The result can be improved by compensating the voltage emulation error (only for
synchronous motors).
- To do this, activate function module "Extended torque control (Page 442)" (r0108.1).
- Determine the voltage emulation error with the stationary motor data identification
(p1909.14 = 1 and p1910).
- Activate the compensation of the voltage emulation error (p1780.8 = 1).
5. If, after reaching the current setpoint, the current actual value dips, correct the current actual
value via p1734 or p1735 (see the subsequent diagram).
Figure 5-39
Example: Voltage precontrol before optimization (with dip)
Optimizing parameters p1734 and p1735
Proceed as follows to optimize parameters p1734 and p1735:
1. Set the current controller P gain (p1715) lower by a factor of 10.
2. Set the current controller integral time (p1717) higher by a factor of 10.
3. Set the decrease of the eddy current compensation p1734 = 0.
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
199
Servo control
5.23 Voltage precontrol
4. Measure a current controller setpoint step change again (see figure below)
Figure 5-40
Example: Prior to optimizing
The measurement result in the example indicates that after reaching the setpoint, the
current decays according to an exponential function (1-exp(-t/Tsm)). You estimate the
smoothing time based on the time from the point of contact of the initial tangent with the final
value straight line.
5. Enter the time constant in p1735.
6. In p1734, enter by what percentage the setpoint point of contact should extend beyond the
final value straight line (e.g. (1.5A/1.32A -1)·100 % = 13.6 %).
Drive functions
200
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Servo control
5.23 Voltage precontrol
7. Restore the P gain (p1715) and integral time (p1717) of the current controller back to the
original values.
8. Again measure a current controller setpoint step.
Figure 5-41
Example: After optimization
In most cases, the voltage precontrol is correctly set after the eddy current compensation
(see example). If required, you can correct again using p1734.
Legend for the measurement diagrams
Torque-generating current setpoint
Torque-generating current setpoint unsmoothed
Quadrature-axis voltage setpoint
5.23.1
Function diagrams and parameters
Overview of important parameters (see SINAMICS S120/S150 List Manual)
● p0340[0...n]
Automatic calculation of motor/control parameters
● p0356[0...n]
Motor stator leakage inductance
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
201
Servo control
5.23 Voltage precontrol
● p0391[0...n]
Current controller adaptation, starting point Kp
● p0392[0...n]
Current controller adaptation, starting point Kp adapted
● p0393[0...n]
Current controller adaptation, P gain adaptation
● p1402[0...n]
Current control and motor model configuration
● p1428[0...n]
Speed precontrol symmetrizing dead time
● p1429[0...n]
Velocity precontrol balancing time constant
● p1517[0...n]
Acceleration torque smoothing time constant
● p1701[0...n]
Current controller reference model dead time
● p1703[0...n]
Isq current controller precontrol scaling
● p1715[0...n]
Current controller P gain
● p1717[0...n]
Current controller integral time
● p1734[0...n]
Isq current controller precontrol eddy current compensation drop
● p1735[0...n]
Isq current controller precontrol eddy current compensation time con-
stant
● p5271[0...n]
Online / One Button Tuning configuration
● p5300[0...n]
Autotuning selection
Drive functions
202
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
Vector control
6
Operating principle
The motor connected to a vector control is simulated in a vector model based on data from the
equivalent circuit diagram. The motor module is emulated as precisely as possible to obtain the
best results regarding control precision and control quality.
Versions
The vector control is available in the following versions:
● Vector control without encoder (Page 209) (SLVC) as frequency control
● Vector control with encoder (Page 218) as speed-torque control with speed feedback
Features
The vector control is characterized by the following features:
● Normal computing speed
● Best speed accuracy
● Best speed ripple
● Best torque accuracy
● Best torque ripple
The vector control can be used with or without an encoder for speed feedback.
Using a speed encoder
A speed encoder is required if the following criteria apply:
● High speed accuracy is required
● High dynamic response requirements
- Better control behavior
- Better response to disturbances
● Torque control is required in a control range greater than 1:10
● A defined and/or variable torque should be maintained for speeds below approx. 10% of the
rated motor frequency (p0310).
With regard to setpoint input, vector control is subdivided into:
● Speed control
● Torque/current control (in short: torque control)
Drive functions
Function Manual, 06/2019, 6SL3097-5AB00-0BP2
203

 

 

 

 

 

 

 

Content      ..     31      32      33      34     ..