Professional Documents
Culture Documents
1 Brief description
Module Objective:- To ensure the necessary level of compatibility and consistency between
machines configured with the Sinumerik 828D controller. A defined optimization procedure
should be adhered to and this procedure is defined in this module
Caution:- These procedures result in axis movement. All necessary safety precautions must
be taken into account. Make sure that that you read through and understand the entire
procedure before beginning.
Module Description:-
This module explains the step by step procedure to optimise the current, speed and position con-
troller loops within the Sinumerik 828D/ Sinamics S120 ………...
Acceleration
Circularity test
Spindle optimisation
Advanced Surface
SINUMERIK 828D Training, Operation and Service Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B100
B100
Section 6
Current Controller Optimisation Page 7
Section 3
Position Controller Optimisation Page 25
Section 5
Acceleration Page 36
Section 6
Circularity Test Page 38
Section 7
Spindle Optimisation Page 43
Section 8
Advanced Surface Page 59
Every time the S120 drive is powered on or a ―Drive Reset‖ is performed, the S120
drive data is loaded to the relevant drive from a stored file. Therefore when drive
machine data are altered, the drive data must be saved so that the change is re-
tained after the next power off/on or ―Drive Reset‖. NOTE:- an ―NCK Reset‖ does
not affect the drive data.
828-D SL/ S120 controller structure: The 828-D SL CNC and S120 drive controller
structure contains three cascaded closed loop controllers (current, speed and po-
sition). Each controller must be optimized in succession starting with the inner-
most current controller, then the speed controller and finally the position controller.
The machine dynamic limits for velocity, acceleration and jerk are set in the inter-
polator. The speed control loop is always closed via the motor encoder while the
position control loop can be closed via the motor encoder or direct measuring sys-
tem.
Notes
828D HMI Advanced Start Up tools:
- To get to the start up tool selection page from the “Machine page” press the
“Menu Select” key.
- Press the “Start Up” softkey and then the “Optimiz / test” softkey. From this
page, the relevant start-up tool can be selected
Note: Only some of the available tools are used during these procedures.
Traces can be saved and recalled easily using the ―File Functions‖ softkey.
Up to 4 traces can be displayed at one time for comparison if desired.
MD DESCRIPTION Notes
10200 $MN_INT_INCR_PER_PER_MM 100000
10210 $MN_INT_INCR_PER_PER_DEG 100000
20150[3] $MC_GCODE_RESET_VALUES[3] 3 FIFOCTRL
20150[9] $MC_GCODE_RESET_VALUES[9] 2 G64
20150[20] $MC_GCODE_RESET_VALUES[20] 2 SOFT
20600 $MC_MAX_PATH_JERK 10000
20602 $MC_CURV_EFFECT_ON_PATH_ACCEL 0
20603 $MC_CURV_EFFECT_ON_PATH_JERK 0
33000 $MA_FIPO_TYPE 3
32200 $MA_POSCTRL_GAIN xx
32640 $MA_STIFFNESS_CONTROL_ENABLE 1
32644 $MA_STIFFNESS_DELAY_TIME xx
33100 $MA_COMPRESS_POS_TOL 0.010
32300 $MA_MAX_AX_ACCEL xx
32310 $MA_MAX_ACCEL_OVL_FACTOR xx
32400 $MA_AX_JERK_ENABLE xx
32402 $MA_AX_JERK_MODE 2
32410 $MA_AX_JERK_TIME xx
32420 $MA_JOG_AND_POS_JERK_ENABLE xx
32430 $MA_JOG_AND_POS_MAX_JERK xx
32431 $MA_MAX_AX_JERK xx
32432 $MA_PATH_TRANS_JERK_LIM xx
32433 $MA_SOFT_ACCEL_FACTOR xx
32434 $MA_G00_ACCEL_FACTOR xx
32435 $MA_G00_JERK_FACTOR xx
32620 $MA_FFW_MODE 3
32630 $MA_FFW_ACTIVATION_MODE x
32810 $MA_EQUIV_SPEEDCTRL_TIME xx
32900 $MA_DYN_MATCH_ENABLE x
32910 $MA_DYN_MATCH_TIME x
32930 $MA_POSCTRL_OUT_FILTER_ENABLE x
32940 $MA_POSCTRL_OUT_FILTER_TIME x
- The current controller gain is automatically loaded into P1715 when the motor
type is established during drive configuration.
- With Siemens motors the parameters are automatically established and should
not need to be changed.
- With a current controller cycle time of 125us, The db gain should be above –3db
to where the phase passes through –90 degrees. As a minimum the –90 phase
point should be above 550Hz
- If the amplitude is greater than 0db then P1715 should be reduced. If the ampli-
tude is lower than -20db then the motor type should be checked. ( recalculate
regulator data P0340)
WARNING :- Do not carry out this test on a vertical axis unless it is supported.
During this procedure the speed controller is disabled internally, and therefore ver-
tical axes could fall if not supported.
Select ―Optimiz/test‖
Notes
Select
―Measurement‖ and
then Type of meas-
urement ―Refer.
Frequ. Response‖
Select ―Measuring
parameters‖ and
then Select
―Standard pa-
rameters‖
Notes
Select
―Measurement‖
and then Select
―Start‖
Press ―Cycle
Start‖ on the Ma-
chine Control
Select ―Display‖
when the meas-
urement has fin-
ished to see the
result
As can be seen from the example above the amplitude stays at the 0db line until
around 900 Hz.
The db gain should be above –3db to where the phase passes through –90 de-
grees. As a minimum the –90 phase point should be above 550Hz
Notes
2.1 Speed Controller Optimization
- The Speed Controller proportional gain (Kp, P1460) default value is based on the
motor type. The Speed Controller integral time (Tn, P1462) default value is 10ms.
Both values are automatically loaded into the relevant parameters when the motor
type is established during drive configuration. These values are conservative to allow
a reliable start up, and they now have to be optimized.
- The end result of an optimized speed controller (Kp, Tn) is that the amplitude re-
sponse is at 0db out to as high a frequency as possible with a maximum of +3db at
frequencies below the phase response crossing below –130 degrees. If the axis is to
carry load then it is better to keep the amplitude response at 0db as the addition of a
load may change resonant frequencies.
- To help achieve this there are 4 independent current setpoint filters ( P1656 to
P1676) that can be activated as needed to suppress mechanical resonance. These
filters can be assigned as ―Low Pass‖ or ―Bandstop‖. As a default the first filter is acti-
vated and set as a ―Low Pass‖. Additional current setpoint filters can be assigned if
required and are usually configured as ‗Band Stop‖
- When using ―Bandstop‖ filters you should always try to keep the bandwidth and
notch depth conservative. If you let the filter have the full effect then this reduces the
bandwidth of the speed controller. A notch depth of –20 to –40 should be used
- Normally with a Speed Controller cycle time of 0.125 ms it should NOT be neces-
sary to use filters below 200Hz.
2.11 Use the ―Speed controller path (active. After setp filter) to accurately identify me-
chanical resonance ―pole ― and ―zero‖points. The result determines whether current
setpoint filters are required and also initial parameter settings.
2.12 Use the ―Refer. Frequency response (after setpoint filter)‘ to optimize the speed
controller proportional gain (Kp) separately from the speed controller (Tn) and enable
current setpoint filters if required.
2.13 Use the ―Disturbance step change (after setpoint filter)‘ to optimize the speed
controller integral time (Tn) , and then use the ―Refer. Frequency response (after set-
point filter)‘ tool to check the setting.
2.14 Use the ―Speed controller reference model‖ to reduce overshoot in response to
setpoint step changes.
2.11:- Use the “Speed Controller Path (active. After setp filter)” measurement to
identify resonant ―Pole‖ and ―Zero‖Points.
- This measurement compares torque to speed and at the end you can identify the
resonant ―Pole‖ and ―Zero‖ Points so that they can be noted for use when we use the
―Reference Frequency Response‖ of the Speed Controller.
- The reason for this is that when the ―Reference Frequency Response‖ measurement
is carried out the ―Pole Points‖ can appear slightly higher in frequency than they really
are.
- Ensure that Dynamic Stiffness is disabled MD32640 = 0 and that (Tn) Drive P1462
is 100ms for horizontal axes and 30ms for vertical or inclined axes, this decreases the
influence of the speed controller integrator for this measurement.
Select ―Speed
contr loop‖
Select
―Measurement‖ and
then ―Speed control-
ler path (active. After
current setp. Filter).
This measurement is
without the influence
of filters.
Select ―Measuring
parameters‖ and
―Values in %‖.
Then enter the val-
ues as shown.
The amplitude
should be varied if
the measurement
is too noisy.
Values in %
Notes
Select
―Measurement‖ and
then Select ―Start‖
Select ―Display‖ and then make a note of the ―Pole‖ and ―Zero‖ Points as above. In
this example ―Pole‖ points are at 769 Hz and 1600 Hz and ―Zero‖ points are at 600
Hz and 1400 Hz. The first 1% and the last 50% of the measurement can be disre-
garded.
B100 Page 12 SINUMERIK 828D Training, Operation and Service
Speed Controller Optimization
Section 2
Mechanical resonance is identified by ―Pole‖ and ―Zero‖ points as shown by the ex- Notes
ample on the previous page. The ―Zero‖ is to the left of the associated ―Pole‖ i.e the
lower frequency. At the ―Zero‖ points the db gain goes negative while the phase
shifts sharply from –90 deg towards +90 deg. At the ―Pole‖ points the db gain goes
positive while the phase shifts sharply back to –90 deg. In these cases additional
current setpoint filters configured as ―bandstop‖ may be required to allow a reason-
able speed controller gain setting.
The next step is to determine possible filter settings, do not enable them at this time.
Current setpoint filters are not normally required below 200Hz
Zero at 1400 Hz
Zero at 600 Hz
Select
―Measurement‖ and
then ―Speed con-
troller path (active.
After current setp.
Filter)
Change the
―Bandwidth‖ from
4000 Hz to 400Hz,
and ―Meas periods‖
to 2
Notes
Select ―Measurement‖
and then Select
―Start‖
- The reference frequency response displays the db gain and phase lag. This
gives an indication of how well the speed actual value follows the setpoint within a
frequency range, e.g. 1 HZ to 4000 HZ. 0 db indicates that the actual speed is the
same amplitude as the setpoint and 0 phase lag indicates that the actual speed
follows the setpoint with minimal delay. The speed controller KP and Tn settings
affect the db gain and phase response.
- With the Tn at a relative high value, e.g. 100 ms, it is ineffective. The Kp can be
adjusted independently so that the db gain is 0 to –3db at –90 deg and does not
exceed 0 at any point on the db gain graph. The db gain should not exceed 0
when the phase crosses –180 deg. Note: When the Tn setting is relatively high,
(100 ms), the db gain at low frequencies may not be on the 0 db line because of
friction. After the Tn is adjusted, the db gain at low frequencies should be 0.
- If it was necessary to use the default 10 ms for the Tn setting to get a readable
result, the KP can be adjusted so that the db gain is +3 db above the 0 db line at
frequencies below the -130 degree phase point.
To calculate a good optimization of the speed controller P-gain use the formula:
First measurement with high Tn=100ms (p1462). This reduces the effect of the Tn
and allows Kp (p1460) to be optimized separately.
Also if working on a rotary axis only use small values for Amplitude and Offset,
quite often if you just use standard values they will be too high.
Notes
Then Select ― ^ ―
Select ―Measurement‖
and then Select
―Refer. Frequency
response (after speed
setpoint filter)‖
Select ―Measuring
parameters‖ and
then ―Standard pa-
rameters‖ but
change the offset to
100 mm/min to over-
come any friction
Change Ramp-up
time to 500 ms
Select
―Measurement‖ and
then Select ―Start‖
In general with a speed controller cycle time of 0.125 ms no filters should be re-
quired below 200Hz, as this area falls in the bandwidth of the speed controller and
therefore we have phase in reserve. Below 200Hz the filters have too much nega-
tive influence on the speed control behaviour (they lower the bandwidth, that
means less dynamics)
Notes The HMI Advanced start up tool contains a user friendly mask to set filters. All 4 filters
are configured as PT2 low pass in the default state with only the first filter activated.
The 3 other filters can be added and configured as necessary. The additional filters
shown here are normally entered as ―Bandstop‖ filters.
As a default the first filter is active as a PT low pass filter with a frequency of 2000Hz
and damping of 0.7. This setting should not be changed.
Select ―Filter +‖ to
reach Filter No 2.
Assign filter 2 as a
Band Stop filter and
then enter the values
for the frequency,
bandwidth and notch
depth.
Where the phase goes below -130° shows the range of the speed-controller.
Below this point we can go up to +3dB, above this point we should not exceed
0dB.
On series machine types that use 828D it is always best to leave some amplitude
in reserve to allow for variations in mechanical build.
0 db
-130
2.13 Use the “Disturbance step change (after setpoint filter)” to optimize Tn
(P1462).
When the Tn is reduced, the db gain normally lifts above 0 db. The Tn setting
range is dependant on the mechanics and on machines of the type that 828D is
fitted to is normally less than 10 ms but greater than 3ms. The Tn should not be
set to values below 3ms.
The end result of optimized speed controller Kp and Tn settings is that the db gain
is 0 db out to as high a frequency as possible with a maximum of +3db at frequen-
cies below the -130 phase point.
If the axis is to carry an additional load i.e. a table or a fixture, it is best to set the
db gain at 0db, as the additional load may push the db gain up to the +3db maxi-
mum.
To optimize Tn se-
lect measurement
type ―Disturb. Step-
change (interf. After
current setp.filter)
Measured quantity 1
is Actual torque
value
Notes
Select parameters as
shown.
Select ―Measurement‖
and then Select ―Start‖
Tn correct 5ms
Tn too small 2ms
Start with Tn (P1462) at 10ms which is the standard value. Decrease Tn until you
see an undershoot in the lower graph. Then just increase Tn until you see no un-
dershoot. Most machines of the type fitted with 828D will end up with a value of
between 3 to 10ms.
Select
―Measurement‖ and
then Select ―Start‖
Notes
Turn on Bit 3
―Reference model
speed setpoint‖
To get an idea of an
initial setting for P1433
take a look back at the
frequency response of
the speed controller
when P1460 was be-
ing adjusted. Take a
look where the phase
passes through –90
degrees and use this
frequency as the start
value in P1433. For
P1434 use a start
value of 0.7
P1433 should be
reduced gradually
until the amplitude
response is at a
maximum of 3db in
the lower frequency
area
Notes
- The position loop proportional gain, (Kv factor MD 32200), influences the follow-
ing error and contour accuracy. the default value is 1. As the KV factor is in-
creased, the following error is proportionally reduced. For typical machine tool
applications the final KV factor setting can fall in a range of 1 to 10[m/min/mm]
- A good optimization of the position controller means small following error, small
contour deviation and no overshoot when the axis comes into position.
- Prerequisite :- That the current and speed controllers have been correctly opti-
mized.
- Use the position loop ―Ref. frequency respo‖ tool to optimize the KV factor :-
The position loop ―Ref. frequency respo‖ tool is used to set the KV factor to the
optimum value based on the components that are included in the closed position
loop, including work-piece and fixture weight. The attainable results vary depend-
ing on the machine mechanics and type and mounting location of the feedback
device that is used to close the position loop, (direct scale or indirect motor en-
coder).
Select ―Position
contr. Loop‖
Notes
Select
―Measurement‖ and
then type of meas-
urement ―Ref fre-
quency response‖
Select ―Measuring
parameters‖ and then
enter tha values
shown.
Select
―Measurement‖ and
then Select ―Start‖
This example
shows that the Kv
can be increased
This results in a 0 db
correctly optimized
position controller
Notes
-The positioning response of the axis should now be checked using the servo trace
tool and a commanded position step via part program at different feedrates. In cases
where a direct scale is used, the actual slide response can easily be viewed. In
cases where the motor encoder is used to close the position loop, (indirect feed-
back), the actual response of the axis is not visible to the closed loop or the servo
trace tool.
-The test part program should traverse the axis a sufficient distance that allows the
programmed velocity to be reached, e.g. 50 mm. A check should also be made over
shorter distances e.g. 3 - 10mm. A dwell time should be used after the velocity is
reached and then after the setpoint position is reached, e.g. 0.5 second. The initial
programmed velocity can be approximately ½ of the maximum axis velocity and the
response should be checked at all of the feedrate override increments as well as the
maximum speed.
-The aim is to check the stability of the position controller and also to check position-
ing accuracy. A check is also made for any overshoot or vibration.
-The position actual value trace results should be magnified for a finer view by
changing the scale, e.g. position 0.005 mm/div
FFWOF
SOFT
LAB:
G01 X210 F10000
G04 F0.5
$AA_SCTRACE[X]=1; trigger for servo trace
X260
G04 F0.5
GOTOB LAB
M30
Select
―Measurement‖ and
enter the trace pa-
rameters as shown.
Positioning without
Feed Forward.
Notes
This is an example where the KV factor setting is adequate and the jerk limit set
too high. The oscillation that occurs upon position settling is generated from the
mechanics and should be smoothed by a lower value for jerk limit, MD 32431. MD
32431 should be set to as high a value as possible that results in smooth position-
ing response without overshoot.
This is an example where the jerk limit setting is adequate but one or more of the
controller settings are not correct. The overshoot without oscillation upon position
settling could be a result of the KV factor, (MD 32200), being set too high. This
might occur when a load weight is added to an axis where the KV factor had been
optimized without a load weight.
Before the feed forward function can be enabled and optimized, the current, speed
and position controllers must have previously been optimized!
The easiest way to optimize Feed Forward control is to make a position step.
Therefore the position setpoint and the position actual value of the active encoder
have to be viewed with the servo trace. Then the machine data must be adjusted
until the position behavior (i.e. the last 20 μm when the axis goes into desired po-
sition) is satisfactory.
If positioning alarms occur during parts of the procedure then set the following MD
but make a note of the original values and put them back to original at the end.
FFWON
SOFT
LAB:
G01 X210 F10000
G04 F0.5
$AA_SCTRACE[X]=1; trigger for servo trace
X260
G04 F0.5
GOTOB LAB
M30
Notes
Select the NC program, in Automatic Mode so that it is ready to run when ―Cycle
Start‖ is pressed on the Machine control panel
Select ―Measurement‖
and enter the trace
parameters as shown.
Resolution 0.005mm/div.
Resolution 0.005mm/div.
Resolution 0.005mm/div.
Notes
Now Jerk limited acceleration can be optimized: Jerk is used to smooth the accel-
eration response by applying a time for the change in acceleration. Jerk is defined
in units/sec3, i.e. (acceleration [units/sec2 / time [sec]). The time it takes for the
acceleration change to take place, [sec] = acceleration [units/s 2] / jerk [units/s3].
Axes do not have to have the same Jerk value.
The result of jerk-limited acceleration is rounded corners at the start and end of
the acceleration phase of the velocity profile and smoothed motion.
Jerk limiting is active when ―SOFT‖ is programmed and de-activated when
―BRISK‖ is programmed. ―SOFT‖ mode is set as the default reset state via chan-
nel MD 20150[20] = 2. It is recommended to use ―SOFT‖ as the default reset
value.
The positioning response of the axis can be checked using the servo trace tool
and a commanded position step via part program at different feedrates. In cases
where a direct scale is used, the actual slide response can easily be viewed. In
cases where the motor encoder is used to close the position loop, (indirect feed-
back), the actual response of the slide is not visible to the closed loop or the servo
trace tool. On machines with 828D in general jerk values will be between 20 and
100
The test part program should traverse the axis a sufficient distance that allows the
programmed velocity to be reached, e.g. 50 mm. A dwell time should be used
after the velocity is reached and then after the setpoint position is reached, e.g.
0.5 second. The initial programmed velocity can be approximately ½ of the maxi-
mum axis velocity and the response should be checked at all of the feedrate over-
ride increments as well as the maximum speed.
The previous part program can be used as a basis and the servo trace settings
are the same.
Positioning without
position controller Kv =
0
Resolution 0.005mm/
div.
Positioning without
position controller
and jerk too high.
Resolution
0.005mm/div.
This diagram
shows how the jerk
is increased until
there is an over-
shoot in the re-
sponse of the me-
chanics.
Positioning with
feed forward and
position controller
active
Resolution
0.005mm/div.
Good positioning
without overshoot
when feed forward
and jerk are cor-
rectly optimized
Notes
5.1 Maximum axis acceleration: Axis MD 32300 defines the maximum axis ac-
celeration. The default value is, [1 m/sec2 (metric), 39.37 in/sec2 (inch) and 2.77
rev/sec2 (rotary)]. Each axis can have a different acceleration setting.
Important! Machine mechanics limit the maximum axis acceleration. The machine
builder must define the required setting value! If not defined, the default value
should be used unless the machine builder authorizes an increase.
The "Servo trace" start up tool is used to measure the velocity actual value of the
relevant active measuring system and the torque utilization percentage via the
―Utilization (m_set/m_set_limit)‖ trace signal. When the ―Utilization (m_set/
m_set_limit)‖ trace signal =100%, the drive is on current limit!
If allowed by the machine builder, MD 32300 can be set so that the torque utiliza-
tion during the acceleration phase of the worst case load and velocity lies between
80% and 90% of the limit depending on how much safety factor is desired.
A test part program should traverse the axis a sufficient distance that allows the
programmed rapid velocity to be reached, e.g. 300 mm.
Change the trace measuring parameters to view the load torque utilization and
change the part program as shown.
SOFT
LAB:
G0 X10
$AA_SCTRACE[X]=1; trigger for servo trace
X310
GOTOB LAB
M30
Select
―Measurement‖
and then Select
―Start to start the
servo trace.
Then Press
―Cycle Start‖ on
the machine con-
trol panel to start
the part program
The maximum
velocity of 48 m/
min is reached
with a utilization of
36%.
P 0640 is limited to whichever is the lower of P0323 Maximum Motor Current/ Mot I
Max [RMS amps] or r0209 Power Unit Maximum Current/ PU I Max [RMS amps]
Notes
6.1 The “built-in” circularity test is used to check the interpolation of axes that will
work together. The tool measures a circle with reference to the motor or direct meas-
uring system. Machine mechanical alignment is not considered in the result. This
gives the commissioning engineer the ability to clearly separate controller optimiza-
tion issues from mechanical issues.
Axis MD32200,MD32400,MD32402,MD32410,MD32490,MD32500,MD32510,
MD32520, MD32540 MD32620, MD32640, MD32810, MD32900, MD32910,
MD32930, MD32940 and drive P1421 to P1426. P1400, P1433, P1434 are checked
via this procedure.
The following positional error compensations should be switched off when this proce-
dure is carried out. Backlash Comp MD32450, Encoder Comp MD32700, CEC Comp
MD32710, Temperature Comp MD32750, Friction Comp MD32500.
Note:- Backlash MD 32450 must be adjusted using an external device e.g ballbar or
dial gauge
The best overall contouring results are achieved when the circle test results in the
correct actual size, shape and minimum p/p deviation between combinations of inter-
polating axis, (X-Y, X-Z, Y-Z).
A circle test part program and the circularity test start up tool can be used to measure
and evaluate these results. The ―worst case‖ test circle radius and path feedrate
must result in a realistic radial acceleration that the machine is capable of. Machine
builders typically have specifications for test circle radius and feedrate.
Standard machine builder circle tests typically use a radius of 100 mm or 150 mm at
feedrates determined by the machine builder. The machine builder defines the ac-
ceptable result specifications.
High speed cutting requirements are usually more stringent and test circles for high
speed cutting machines might be in the range of 10 to 25mm radius at feedrates of 5
m/min to 10 m/min. For high speed cutting machines, the results are normally ac-
ceptable when the p/p deviation </= 0.010 mm, and the actual size is equal to the
programmed radius at the worst case path feedrate.
FFWON
SOFT
G90 G01 F3000 X400 Y200 Z500
LAB:
G91 G64 G02 X0 Y0 I10
GOTOB LAB
M30
Select ―Optimiz/test‖
Select ―Circular.
Test‖
Select
―Measurement‖
and enter the
relevant parame-
ters. The pa-
rameters shown
are for a 10mm
radius in X-Y
plane at a
feedrate of 3m/
Notes
Representation:
Resolution = units per graduation (e.g. 0.010 mm/div)
Represent = Type of display, (e.g. mean)
Radius = Actual radius
Delta R = p/p deviation
The circle above shows the results after feed forward has
been optimized however the mean radius is .0017 too
large.
Notes
Notes
Field and Current Controllers:
The field controller gain, (Kp, P 1590[0], and Tn, P 1592[0]), and current controller
gain, (Kp, P 1715[0] and Tn, P 1717[0]), settings are automatically calculated and
entered into the relevant parameters at the time of start-up based on the motor
data and power module current rating. These settings match the motor to the
drive and do not require further optimization.
Select ―Measurement‖
and then Type of
Measurement ―Refer
frequency response
(after speed setpoint
filter)‖
Select
―Measurement‖
and then Select
―Start‖
Press ―Cycle
Start‖ on the Ma-
chine Control
Panel
Here it can be
seen that the Pro-
portional Gain of
the speed control-
ler can be in-
creased.
Notes
After increasing
P1460 it can be seen
that we have a reso-
nance at 660 Hz and
so we can build in a
current setpoint filter.
NOTE :- If a low resolution spindle encoder is being used and only noise can be
seen at higher frequencies (e.g. above 800Hz) then a value can be used in
P 1441[0] ACTUAL_SPEED_SMOOTHING_TIME. Values between 0.3—0.5 are
useful
Notes
7.2 Speed Controller Gain Adaption :-For main spindle applications with en-
coder feedback the speed controller gain adaption function is enabled by default.
The function allows different proportional and integral gains to be active at low and
high speeds. The result is dynamic performance for tapping, threading and orien-
tation without having oscillation at high speeds.
Notes 7.3 The position controller should now be optimized using a ―Ref frequency re-
sponse‖ measurement. For this measurement Feed Forward should be switched off
therefore MD 32620 FFW_MODE = 0.
Because the spindle will interpolate with the Z axis during tapping/threading it is best
to try to keep the same values in MD 32810 EQUIV_SPEEDCTRL_TIME, MD 32200
POSCTRL_GAIN (check parameter sets) and
P1433SPEED_CONTROLLER_REFERENCE_MODEL_FREQ.
Select ―Measurement‖
and then Type of
measurement ―Ref
frequency respo‖
Select
―Measurement‖
and then Select
―Start‖
Press ―Cycle
Start‖ on the Ma-
chine Control
Panel
It can be seen
here that MD
32200 can be in-
creased but the
amplitude should
not come above
0db
Notes
7.4 A part program should now be created to check the spindle positioning
without overshoot, and the servo trace function should be used to view the results.
LAB:
SPOS=0
G4 F1
SPOS=130
G4 F0.2
GOTOB LAB
M30
There should be no
overshoot as the
spindle comes in to
position.
MD 35210[0]
GEAR_STEP_POS
CTRL_ACCEL can
now also be in-
creased but no
overshoot should
be seen.
In some cases it
may be necessary
to switch drive pa-
rameter sets in or-
der to optimize per-
formance in differ-
ent gear ranges
Notes
7.5 A check should now be made of the speed control acceleration. Firstly iden-
tify the acceleration time without any influence by the NC.
Select ―Servo
trace‖ from the
―Startup‖, ―Optimiz./
test‖ menu
Select
―Measurement‖ and
then ―Start‖
Notes
Enter a program in MDA.
S9000 M03
G04 F3
M30
The trace shows the acceleration taking 2.8 seconds from 0 to 9000 rpm and the
torque and power values relate to the motor S1 curve
Now repeat the servo trace test with the MDA program
The trace now shows the acceleration taking 2.3 seconds from 0 to 9000 rpm and
the torque and power values relate to the motor S6 curve
The motor stall torque correction factor P326 can be modified to further improve
the acceleration.
This value is write protected when P300 = 107 ( 1PH7 induction motor)
P326 =100 %
Acceleration now
1.77 seconds
Notes
P326 =120 %
Acceleration now
1.58 seconds,
however under-
shoot can be
seen in the ac-
tual current trace
when decelerat-
ing and so P326
= 120 is too big.
P326 =105 %
Acceleration now
1.75 seconds,
this appears to
be the optimum
setting
In order to see any error between Z and Spindle it is best to run a circularity test
program with the X and Z axes and then to use the Coupled axis feature to link the
Spindle with the X axis. You can then to view a circularity test between the Z axis
and the Spindle. Any errors in the circle between Z and Spindle can then be seen.
Circularity test:
A circle test part program and the circularity test start up tool can be used to
measure the actual size and shape of a given test circle.
FFWON
SOFT
TRAILON(SP1,X,1)
G90 G01 F3000 X400 Z400
LAB:
G91 G64 G02 X0 Z0 I10
GOTOB LAB
M30
Select ―Circularity
test‖
Notes
Notes
8.1 Use the following Technology G groups
With the Technology G Groups a defined parameter state exists for each setting.
Because of this no machine data is ever overwritten and therefore at any time the
parameters are in a clearly defined state.
NOTE : - Check that there are no existing subroutines or cycles that over-
write these machine data. Also consider Cycle 832 and Cycle 832T. When
the Technology G Groups are used there is no longer a reason to over-
write machine data via cycles etc
Notes
8.2 Reduce the axis acceleration in the 5th Technology G Group ( DYN-
FINISH )
Under some conditions these compensations can lead to marks on the work
piece surface. If the cutting test has given a positive result and there is still a
requirement for friction compensation then adaptive friction compensation
should be used.
100
90
80
70
Switch Off amplitude in mm/min
60
50
Series1
40
30
20
10
0
0 0.1 0.2 0.3 0.4 0.5
Radial Acceleration in m/s^2
Notes
8.5 The following G-Codes must be active during AS processing
SOFT
COMPCAD
G642 for SW stands <= 72.05
G645 for SW stands >= 72.06
FIFOCTRL
FFWON
DYNROUGH, DYNSEMIFIN or DYNFINISH