This brochure has been provided to you by FANUC Europe Corporation (“FANUC”) for convenience and
general information pur poses only, with no intent io n of prov idi ng comprehensive, complete, accurate or up to
date information, and also contains information obtained from an independent FANUC customer not acting or
representing to act in the n am e of FANUC. Ther efore, FANUC does not warrant or assume any legal liabi lity
or responsibility wh atsoever for the accurac y, completeness, or usefuln ess of any inform ation, application,
apparatus, product, use , processes or services disc losed herein, nor does FANUC endorse or rec ommend
any application, apparatus, pr oduct, use, proc ess es or ser vices in or with this br oc hure.
Should you be interested in obtaining specific information or advice on FANUC applications, apparatus,
products, use, processes or services, please contact FANUC at:
FANUC Europe Corporation
Société Anonyme
L-6468 Echternach
Grand Duchy of Luxembourg
7, rue Benedikt Zender
Tel.: +352-727777-210
3. Test of motor rotation direction ........................................................................................................ 17
4. Tuning current loop .......................................................................................................................... 19
5. Pole detection ................................................................................................................................... 23
3rd party sensor 1Vpp sine wave JYA2 1 1 0
A,B phase, sine wave Z phase
(αi BZ sensor Z phase compatible)
3rd party sensor 1Vpp sine wave JYA2 1 1 1
A,B phase, Driver type Z phase
Motor sensor mounting direction (normal/opposite direction) 0/1
also valid for sensor with Fanuc serial interface
Detection of one rotation signal less than 10 min
rd
If using this with 3
party sensor 1Vpp ➜ set 4010#2,#1,#0=1,1,1
Gear teeth number of motor sensor P4011
-1
P4394#2=1
Arbitrary number of speed feedback pulses P4334
Range: 32 to 32767 unit 1λ/rev
-16 to -32767 unit -2λ/rev
Example: When number of teeth is 36,000 λ/rev, it should be set to”-18,000”
Store AMR offset using 3rd party sensor with Fanuc serial interface (RCN…F) P4548#0=1
256 0 1 0
Page 7
3rd party Synchronous Spindle Motor Tuning
Page 7 of 42
Created at June,22 2017 by Frank Wittig
Number of teeth
#7
#6
#5
#4
64
0 1 0
1
128
0 0 0
1
256
0 0 0
0
384
1 1 0
0
512
0 1 0
0
1024
1 0 0
1
When motor sensor is used for pos. fb,
when α Position Coder S is used
Parameters related to the POSITION ENCODER:
Spindle sensor mounting direction P4001 #4
Spindle sensor type Connector #3 #2 #1 #0 P4002
Non (no position control is used) none 0 0 0 0
Motor sensor for position feedback JYA2 0 0 0 1
αi Position Coder JYA3 0 0 1 0
αi BZ or αi CZ (analog) Sensor
(*)
JYA4 0 0 1 1
αi CZ (serial) Sensor JYA3 0 1 1 0
α Position Coder S JYA4 0 1 0 0
3rd party sensor 1Vpp sine wave JYA4 1 1 0 1
A,B phase, sine wave Z phase
(αi BZ sensor Z phase compatible)
(*)
3rd party sensor 1Vpp sine wave JYA4 1 1 1 0
A,B phase, Driver type Z phase
Third party sensor square-wave JYA3 1 1 1 1
A,B phase, normal width
square phase Z phase
Third party sensor square-wave JYA3 1 1 0 0
A,B phase, narrow width
square-wave Z phase
Third party sensor FANUC serial α JYA3 0 1 0 1
interface 02 (Normal and High speed
two-pairs transmission)
Third party sensor FANUC serial JYA3 0 1 1 0
α i interface (High speed
one-pair transmission)
Detection of one rotation signal less than 10 min
If using this with Sensors (*) ➜ set 4010#3,#2,#1,#0=1,1,1,0
Gear teeth number of Position sensor P4003
-1
P4394#2=1
when α Position Coder is used,
Arbitrary number of position feedback pulses P4361
Range: 64 to 32767 unit 1λ/rev
-32 to -32767 unit -2λ/rev
0 0 0 0
Page 8
3rd party Synchronous Spindle Motor Tuning
Page 8 of 42
Created at June,22 2017 by Frank Wittig
Example: When number of teeth is 36,000 λ/rev, it should be set to”-18,000”
Symbol
Related check point
Value
1
Input impedance
Rin 100kΩMin.
2
Power supply to
sensor
Vcc (Vdd = 0V)
JYA2-pin9,18,20
JYA4-pin9,18,20
5Vdc±5%,
150mAMax
3
Input voltage
VinL
MA
JYA2-pin7, JYA4-pin8
VinH = 3.5V
4
Input voltage (MZ,
VinzL
MZ
JYA2-pin2, JYA4-pin2
VinzH = Vcc
#1 #0
Gear ratio between Spindle and Position Coder: x1 0 0 P3706x2 0 1
x4 1 0
x8 1 1
Arbitrary gear ratio between Spindle and Position Coder Spindle Pos Coder
Number of teeth: (CTH1A=0) P4171 P4172 Number of teeth: (CTH1A=1) P4173 P4174
Sensor signal specification:
Signals for JYA2 and JYA4 input (A,B,Z unprocessed signals)
Waveform 1 (A, B signal) Waveform 2 (A, B signal)
(MA,*MA, MB, *MB)
*MZ)
VinH
VinzH
JYA2-pin5, JYA4-pin5
*MA
Max VinL = 1.5V
Min
JYA2-pin6, JYA4-pin6
MB
JYA2-pin7, JYA4-pin8
*MB
JYA2-pin1, JYA4-pin1
*MZ
Max VinzL = 0V
Min
Page 9
3rd party Synchronous Spindle Motor Tuning
Page 9 of 42
Created at June,22 2017 by Frank Wittig
5
Wave counts per
128∼32767
acceptable.)
6
Maximum frequency
Fmax
400kHz
Symbol
Related check point
Value
1
Signal
- *MB)
Vpp
(from JYA2)
PA2,PB2
0.60Vppmin, 1.2Vppmax
2
Signal Offset
- *MB)
Voffs
±100mVMax
3
Signal
(MB - *MB)
Vppdef
1.00±0.10Max
4
Phase Offset
MB - *MB)
Vphase
90±3deg
one revolution
•1Vpp sine wave A,B phase (Differential signal)
sin/rev
32768∼65534
sin/rev (Only
even number is
Amplitude
(MA - *MA, MB
(MA - *MA, MB
Amplitude
Difference
(MA - *MA) /
(MA - *MA,
PA1,PB1
(from JYA4)
(include acceptable error)
Page 10
3rd party Synchronous Spindle Motor Tuning
Page 10 of 42
Created at June,22 2017 by Frank Wittig
Symbol
Check terminal
Value
1
Pulse Width
twz
(from JYA2)
2.5 μsec min
2
Signal
(MZ - *MZ)
Vppz
0.23Vmin
Vpnz
0.23Vmin
•Driver type Z pha se
(MZ - *MZ)
Amplitude of
Reference
signal
Note) There should be one Z phase signal per one rotation.
PS1
(from JYA4)
PS2
When a spindle sensor with distance-coded
reference mark is used, please refer to B-65280EN/08-26.
The following amplifier cannot be used with a spindle sensor with distance-co ded referen ce mar k.
iSVSP for 0i-D series: A06B-6164-Hxxx#H580
− β
iSP TYPE A: A06B-6141-Hxxx#H580, A06B-6151-Hxxx#H580
− α
iSP TYPE B: A06B-6142-Hxxx#H580, A06B-6152-Hxxx#H580
− α
Page 11
3rd party Synchronous Spindle Motor Tuning
Page 11 of 42
Created at June,22 2017 by Frank Wittig
Symbol
Check terminal
Value
1
Pulse Width
twz
(from JYA2)
2.5 μsec min
2
Signal
(MZ - *MZ)
Vpz
0.23Vmin
3
DC Signal
Offset (Z - *Z)
Voffz
3.5Vmax
2Vmin
•Sine wave signal Z phase (αiMZ, αiBZ sensor compatible: differential signal)
(MZ - *MZ)
Amplitude of
Reference
signal
Note)
PS1
(from JYA4)
PS2
Z phase signal is generated only one per rotation.
When a spindle sensor wit h dist ance-coded reference mark is used, please refer to B-65280EN/08-26.
The following amplifier cannot be used with a spindle sensor with distance-co ded referen ce mar k.
iSVSP for 0i-D series: A06B-6164-Hxxx#H580
− β
iSP TYPE A: A06B-6141-Hxxx#H580, A06B-6151-Hxxx#H580
− α
iSP TYPE B: A06B-6142-Hxxx#H580, A06B-6152-Hxxx#H580
− α
Page 12
3rd party Synchronous Spindle Motor Tuning
Page 12 of 42
Created at June,22 2017 by Frank Wittig
α
i
SP
α
i
SP
-B
α
i
SVP-B
β
i
SVSP
MA
*MA
MB,*MB
MZ,*MZ
Rt
Rt
Rt
Rt is defind in specification of 3rd party sensor.
3rd Party
Sensor
JYA2
or
JYA4
B phase
A phase
Z phase signal
Turn of A/B phase signals
The relation between A/B phase signal and the direction of rotation is as follows.
Note) If the turn of A/B phase si gnals are the reverse, our circuit distinguishes CCW.
Gear of sensor Direction of rotation CW
Motor
signal
signal
Notes
A. αiSP, αiSP-B and βiSVSP do not include terminating resistor. Matchi ng of specification between
sensor outputs and αiSP, αiSP-B and β
iSVSP inputs should be considered terminating resistor. If
terminating resistor is required to match the input range (absolute value and differential value),
please insert it outside of the αiSP, αiSP-B and β
iSVSP.
Page 13
3rd party Synchronous Spindle Motor Tuning
Page 13 of 42
Created at June,22 2017 by Frank Wittig
Level-up αiSP-B
Level-up αiSVP-B
β
i
SVSP-B
MA
*MA
MB,*MB
MZ,*MZ
Rt
Rt is defind in specification of 3rd p ar t y sensor.
Level-up αiSP-B and Level-up αiSVP-B include a terminating resistor (120 Ω), and termina ting
resistors (120 Ω) can be set by using the f ollowing parameters.
iMZ or αiBZ sensor compatible type is not used, please select driver t ype setting.
Page 14
3rd party Synchronous Spindle Motor Tuning
Page 14 of 42
Created at June,22 2017 by Frank Wittig
Symbol
Related check point
Value
1
Input impedance
Rin 150Ω typ.
2
Power supply to
sensor
Vcc
(Vdd = 0V)
JYA3-pin9,18,20
5Vdc±5%,
350mAMax
3
Input voltage of A,B
VinL
PAC
JYA3-pin8
VinH = 2.5V Min
4
A,B phase offset
PBC,*PBC)
Vphase
90±3deg
5
Input voltage of Z
VinzL
PSC
JYA3-pin2
VinH = 2.5V Min
with RS422)
6
Twz
JYA3-pin2
7
Wave counts per
128∼32767
acceptable.)
8
Maximum frequency
Fmax
400kHz
•Signals for JYA3 input
Square wave A,B,Z phase (unprocessed signals)
phase
(PAC,*PAC,
PBC,*PBC)
(PAC,*PAC,
phase
(PSC, *PSC)
Z phase width
(PSC, *PSC)
one revolution
VinH
VinzH
JYA3-pin5
*PAC
JYA3-pin6
PBC
JYA3-pin7
*PBC
JYA3-pin1
*PSC
PSC
JYA3-pin1
*PSC
VinL = 0.5V Max
(In accordance
with RS422)
VinL = 0.5V Max
(In accordance
2.5 micro sec
Min
cycle/rev
32768∼65534
cycle/rev (Only
even number is
normal width Z phase si gnal narrow width Z phase signal
Page 15
3rd party Synchronous Spindle Motor Tuning
Page 15 of 42
Created at June,22 2017 by Frank Wittig
No.4397
#4
Thermostat
0 0 0
FANUC standard
thermistor
degree C)
KTY84-130 (NXP)
(Note3)
≠0 (90 to 180
degree C)
Software edition
H(08) edition or later
Parameter for thermal sensor to detect m oto r overheat
Thermal sensor t ype
Kind of sensor
selection
No.4587
0 0
1 0(or 1)
Pt1000(Hayashi)
(Note4)
(Note4)αiSP and β
Monitoring booth thermistor and thermostat simultaneously
When using αiSP amplifier for 30i-B series CNC to drive a motor which has a thermistor and a
thermostat for motor protection, it is possible to connect both thermo-sensors simultaneously for
motor overheat alarm (SP9001) detection.
αi SP amplifier (for 30i-B series CNC) Spindle Software:
A06B-6220-Hxxx#H600 9DA0/16(P) and later
A06B-6270-Hxxx#H600
A06B-6230-Hxxx#H600 (SVP)
Using either thermistor or thermostat for overheat alarm detection P4017#6 = 0 Using both thermistor and thermostat simultaneously for overheat P4017#6 = 1 alarm detection
In case of using both thermistor and thermostat simultaneously for motor overheat protection,
thermistor should be connected with THR1 (13) and THR2 (15), and thermostat should be connected
with OH1 (3) and OH2 (4) as following diagram:
0 2
Setting for motor
overheat level
No.4134
≠0 (90 to 180
≠0 (1 to 180 degree
C)
(Note3) βiSVSP series is non-compliant.
9DAA series:
H(08) edition or later
9DB0 series:
iSVSP series are non-compliant.
Page 16
3rd party Synchronous Spindle Motor Tuning
Page 16 of 42
Created at June,22 2017 by Frank Wittig
A-97077E-015
Parameter when the External Reference Switch is u sed:
External one-rotation signal is used P4004 #2 = 1
External one-rotation signal type detects leading edge: #3=0 P4004 #3
detects trailing edge: #3=1
The motor sensor is used as position feedback P4002 #3 #2 #1 #0
0 0 0 1
Page 17
3rd party Synchronous Spindle Motor Tuning
Page 17 of 42
Created at June,22 2017 by Frank Wittig
Back Electromotive Voltage
U-Phase
V-Phase
W-Phase
120degree
120degree
U
u αiSP
CCW
BackEMFphase order (CCW)
U V W
time
3. Test of motor rotation direction
Connect the oscilloscope to the motor power cables U, V and W.
Preferable would be the 3-channel type oscilloscope. If only 2-channel oscillos c op e
is available measure as follows:
Connect 2 power lines (U,V) each to 1 channel and use the 3 power line as star-point by connecting
booth ground pins of channel 1 and 2 with it. (W)
Measure the BEMF voltage during rot ati on.
When the motor is rotated to the direction CCW by viewing from the flange surface side, please
confirm that the back EMF of u, v and w go forward in turn. It is necessary to connect the power
cable as the follows according to this confirmation.
u, v, w order ----------------> connect u and U, v and V, w and W
V
W
GND
v
w
GND
Page 18
3rd party Synchronous Spindle Motor Tuning
Page 18 of 42
Created at June,22 2017 by Frank Wittig
The velocity feedback cable sensor connected to JYA2 on αiSP. When the motor is rotated to
the direction CCW by viewing from the flange surface side, the feedback signal A/B phases are
displayed as the following chart.
Turn motor manually and measure A and B phase using Servo guide.
If phase sequence is reversed, please swap motor V - W phase. Alternatively change P4010#3=1.
Remark: PA1, PB1 isn’t possible to measure with serial encoder.
Page 19
3rd party Synchronous Spindle Motor Tuning
Page 19 of 42
Created at June,22 2017 by Frank Wittig
4. Tuning current loop
Parameter setting for preparation
Parameter setting
P4007#7 = 0 : SFR/SRV signal is used as a signal to start pole detection.
P4008#6 = 1: One-rotation signal of motor sensor is not used a s a r eference of pole position.
P4083 = 15000: Constant current O N/OFF function is availa ble
= 15000: 50% of maximum current is set as step current.
P4395#3 = 1: Parameter transferred from CNC becomes immediately act iv e.
P4536 = 3265(2369): Q-axis current command ( I Q C M D ) is out put.
P4537 = 0
P4538 = 3278(2382): Q-axis current feedback ( IQAX I S ) is out put .
P4539 = 0
The setting of P4536 & P4538 depend on the version of spindle software. If the
spindle software is older version than 9D80/D (9D53/K, 9D70/J), the numerical value
of parenthesis must be set.
* Restore setting of all these parameter after measuring.
Program
: Shift pulse is “0” ( 1 word data )
: Shift pulse is “0” ( 1 word data )
Prepare following CNC pr ogr am to measure step response of excitation current.
G10L52 (L50 for CNC 16i, 18i, 21i)
N4397 P1 R01000000 : funct ion bit ON for clear memory
G11
G10L52 (L50)
N4397 P1 R11000000 : tr igger on ( st or e st ep response data to internal memory)
G11
G4 X0.1 : dwell
S0 M3 : enables excitation w ith S0 – current step ON (che ck also aiSP display in case of
problems)
G4 X1.0 : dwell (1sec)
M05
N1 G10 L52 (L50):
N4397 P1 R00000000 : funct ion bit off
G11
N999 M30
1 Programmable data input function (CNC option) is required to use G10.
*
2 Parameter P4397#7,#6 is av ailable 9D50/K (9D70/ B) or lat er .
*
*
If KTY thermal sensor is applied ➜ N4397 P1 Rxxx10000
3
Page 20
3rd party Synchronous Spindle Motor Tuning
Page 20 of 42
Created at June,22 2017 by Frank Wittig
SERVO GUIDE setting
Set following data from Graph w indow → Setup(s) → Channel(F9).
Data Points : 5000
Trigger Path/Seq.No. : 1
Select Axis “Sx” (x=1,2,…) and set fo ll ow in g data.
Kind : IDCMD for CH1, ID for CH2
Conv. Coef. : 100 for CH1 and CH2
Conv. Base : 1024*P4111/100 for CH1 and CH2
Remark: current loop tun i ng should be done before pole detection is performed!
Page 21
3rd party Synchronous Spindle Motor Tuning
Page 21 of 42
Created at June,22 2017 by Frank Wittig
Gain tuning procedure
• Set initial current loop gain as follows.
proportional gain : P4104=2000
integral gain :
• Raise proportional gain P4104 until overshoot occurs.
• Raise integral gain P4106 until quantity of over shoot become 15%.
Tuning example
Current loop proportional gain = 2000, cur rent lo op int egr al gain = 0
Current loop proportional gain = 2500, cur rent lo op int egr al gain = 0
P4106=0
Page 22
3rd party Synchronous Spindle Motor Tuning
Page 22 of 42
Created at June,22 2017 by Frank Wittig
Current loop proportional gain = 3000, cur rent lo op int egr al gain = 0
►Tuning value of current loop proportional gain is 2500
Current loop proportional gain = 2500, cur rent lo op int egr al gain = 4000
Current loop proportional gain = 2500, cur rent lo op int egr al gain = 4500
►Tuning value of current loop integral gain is 4500
Page 23
3rd party Synchronous Spindle Motor Tuning
Page 23 of 42
Created at June,22 2017 by Frank Wittig
5. Pole det ection
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
4007
4007
EPFSIG
0i
30i
4083
4083
Current ratio/motor stop confirmation time in pole position detection operation
NOTE
this parameter needs to be adjusted.
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
4398
4398
SELMET
5.1. Parameter settings
5.1.1. Parameters related to pole position detection
EPFSIG Selects a pole position detection start signal.
0 : Uses SFR or SRV as a pole position detection start signal.
1 : Uses EPFSTR as a pole position de tection start signal.
Set this parameter to select a desired start signal.
The upper two digits (thousands and hundreds) indicate a current ratio in pole position
detection, and the lower two digits (tens and ones) ind icate a motor stop conf irmation time.
Current ratio in pole position detection (upper two digits)
Unit of data : 1%
Valid data range : 0 to 99
Initial setting : Depends on the motor model.
Set the magnitude of a current command value in pole position detection operation as a
ratio to the maximum current value.
This parameter is valid in the minute moving method or DC current method.
Motor stop confirmation time (lower two digits)
Unit of data : 0.1sec
Valid data range : 0 to 99
Initial setting : Depends on the motor model.
Set a period of time for confirming the stop of the motor in DC current method.
If pole detection position precision is insufficient for a cause such
as friction, the motor output torque may decrease. In such a case,
SELMET Selects a pole position detection method.
0 : Performs pole position detection in the DC current method.
1 : Performs pole position detection in the mi nute moving method + stop method (auto
select), or in the minute moving method.
Normally, set 1 (auto select or minute moving method).
Page 24
3rd party Synchronous Spindle Motor Tuning
Page 24 of 42
Created at June,22 2017 by Frank Wittig
NOTE
or later, and 9DB0 series A (01) edition or later.
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
4399
4399
MINUTE
NOTE
or later, and 9DB0 series A (01) edition or later.
0i
30i
4449
4449
Direction detection current(Current value B)/polarity determination current(Current value C)
NOTE
or later, and 9DB0 series A (01) edition or later.
This parameter is valid with 9D53 series C (03) edition or later,
9D70 series B (02) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
Usually, set this parameter to 1 (minute moving method) to use the function.
This parameter is valid with 9D53 series I (09) edition or later,
9D70 series H (08) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
The upper three digits (ten thousands, thousands, and hundreds) indicate a direction
detection current, and the lower two dig its (tens and ones) indicate a polarity de termination
current.
Direction detection current (upper three digits)
Unit of data : 1%
Valid data range : 0 to 320
Initial setting : 0
Set a current for pole position direction detection in pole position detection operation.
When 0 is set, 100% is set.
This parameter is valid in the stop method.
Polarity determination current (lower two digits)
Unit of data : 1%
Valid data range : 0 to 99
Initial setting : 0
Set a detection current for determining the polarity of the pole position as a ratio to the
maximum current value. When 0 is set, 70% is set internally.
This parameter is valid in the stop method.
This parameter is valid with 9D53 series C (03) edition or later,
9D70 series B (02) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
or later, and 9DB0 series A (01) edition or later.
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
4008
4008
NEGREF
0i
30i
4084
4084
AMR offset
The upper three digits (ten t housands, thousands, and hundreds) indicate a travel distance
allowance magnification, and the lower two digits (tens and ones) indicate a velocity
feedback threshold.
Travel distance allowance magnification (upper three digits)
Unit of data : 1%
Valid data range : 0 to 200
Initial setting : 0
Set a travel distance allowance magnification. Set a ratio relat ive to a machine angle of 5
deg assumed to be 100%. When 0 is set, 100% (machine angle of 5 deg) is set internally.
This parameter is valid in the minute moving method.
Velocity feedback threshold (lower two digits)
Unit of data : 1%
Valid data range : 0 to 99
Initial setting : 0
Set a velocity feedback threshold for determining the stop of the motor, assuming 100% =
110 min
-1
. When 0 is set, 10% (11 min-1) is set internally.
This parameter is valid in the minute moving method.
This parameter is valid with 9D53 series C (03) edition or later,
9D70 series B (02) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
5.1.2. Parameters related to AMR offset
NEGREF Sets whether to use a one-rotation signal of the motor sensor as reference pole position
data.
0 : Uses the one-rotation signal position of the motor sensor as reference pole position
data.
1 : Does not use the one-rotation signal position of the motor sensor as re ference pole
position data.
When this parameter is set to “1,” the spindle amplifier operates based on the initial pole
position detected by pole position detection operation regardless of the one-rotation signal
position of the motor sensor.
Usually, set this parameter to 0 (use s the AMR offse t function) to use the spindle a mplifier.
Page 26
3rd party Synchronous Spindle Motor Tuning
Page 26 of 42
Created at June,22 2017 by Frank Wittig
Unit of data : 1 pulse (8192 pulses = electric angle 360 deg)
CAUTION
the AMR offset again.
NOTE
set this parameter to 0.
0i
30i
4085
4085
CAUTION
4 Turn the power off, then on again.
Valid data range : 0, 1 to 8192
Initial setting : 0
Set an AMR offset.
This parameter is valid when bi t 6 (NEGREF) of para meter No. 4008 is set to 0. Set an
adjustment value to this parameter. When this parameter is set to 0, the AMR offset
function is disabled. When setting 0 pulse as an AMR offset, set 8192.
See Subsection 1.5.3, “AMR Offset Func tion”, in Part IV, and adjust this parameter for
each motor.
1 This parameter needs to be adjusted for individual motors. If
parameters for another machine are loaded, clear and adjust this
parameter after loading the parameters.
2 This parameter indicates the phase relationships between the
motor and motor sensor. After the phase relationships are changed
due to a cause such as the replacement of the motor sensor, adjust
1 This parameter is valid with 9D53 series C (03) edition or later,
9D70 series B (02) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
or later, and 9DB0 series A (01) edition or later.
2 When the spindle software edition is earlier than the editions above,
AMR offset adjustment value
Unit of data : 1 pulse (8192 pulses = electric angle 360 deg)
Valid data range : -300 to +300 (electric angle: -13.2deg to +13.2deg)
Initial setting : 0
This parameter is used to adjust the AMR offset. The pole position can be shifted by the
specified number of pulses.
After execution of the AMR offset, check the torque command and actual speed during
forward rotation/backward rotation at the same speed, and adjus t this value so that the sam e
acceleration time and de celera tion tim e are achieved b y the sam e torque comm and and th at
the torque commands during constant rotation are almost the same.
1 After the adjustment with this parameter, change the following
parameters in the emergency stop state:
2 Add the adjusted value of parameter No. 4085 to the setting of
parameter No. 4084, and set the obtained value for parameter No.
4084 as the new AMR offset value.
3 After setting parameter No. 4084 again, set parameter No. 4085 to
"0".
Page 27
3rd party Synchronous Spindle Motor Tuning
Page 27 of 42
Created at June,22 2017 by Frank Wittig
NOTE
set this parameter to 0.
0i
30i
4532
4532
Arbitrary data output function number
Diagnosis No. (0i-D)
Diagnosis No. (30i)
1st spindle
720
720
2nd spindle
721
720
3rd spindle
740
720
4th spindle
741
720
NOTE
FS32i /320i /320is-A : G201 series F (6.0) edition or later
1 This parameter is valid with 9D53 series C (03) edition or later,
9D70 series B (02) edition or later, 9D80 series B (02) edition or
later, 9D90 series A (01) edition or later, 9DA0 series A (01) edition
or later, and 9DB0 series A (01) edition or later.
2 When the spindle software edition is earlier than the editions above,
Unit of data :
Valid data range : 0 to 32767
Initial setting : 0
Set this parameter to 2 when an AMR offset candidate value is to be checked on the
diagnosis screen of the CNC. An AMR offset candidate value (pole position correspond ing
to a one-rotation signal position counted relative to the pole detection position) can be
checked with the following numbers on the diagnosis screen of the CNC:
1 When this function is used, the following combinations of spindle
software and CNC software must be used:
For spindle software 9D70 series E edition or later and 9D80 series
B edition or later
FS30i /300i /300is-A : G002/G012/G022 series F (6.0) edi ti o n
FS31i /310i /310is-A5 : G121/G131 series F (6.0) edition or later
FS31i /310i /310is-A : G101/G111 series F (6.0) edition or later
or later
Page 28
3rd party Synchronous Spindle Motor Tuning
Page 28 of 42
Created at June,22 2017 by Frank Wittig
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
1st-
G070
G070 MRDYA
SFRA
SRVA
2nd-
G074
G074 MRDYB
SFRB
SRVB
1st-
G071
G071 *ESPA
2nd-
G075
G075 *ESPB
1st-
G073
G073 EPFSTRA
MPOFA
2nd-
G077
G077 EPFSTRB
MPOFB
0i
30i
#7
#6
#5
#4
#3
#2
#1
#0
1st-
F048
F048 EPFIXA
2nd-
F052
F052 EPFIXB
5.2. I/O Signals
Pole position detection operation start signal (EPFSTRA)
(1) When bit 7 (EPFSIG) of parameter No. 4007 is set to 0:
This signal is disabled. Always set this signal to “0.”
(2) When bit 7 (EPFSIG) of parameter No. 4007 is set to 1:
To make the operator concerned with pole position detection operation, this signal can be used
together with EPFIX (pole position detection state signal). While this signal is input, the spindle
software ignores a command and displays error 30 (on the spindle amplifier (SP)). So, when EPFIX
is set to 1, turn this sig nal off.
Pole position detection state signal (EPFIXA)
This signal indicates the state of pole position detection.
0 : Pole position undetected
In this state, pole position detection operation is started by a start signal.
1 : Pole position detection completed
This signal is reset to 0 if a spindle alarm indicating the loss of the pole position due to trouble such
as a motor sensor disconnection is issued.
If this signal state is indicated using a lamp on the operator’s panel, the operator can recognize the pole
position detection state.
If any of the following spindle alarms is issued, t he sp indle am plifier (SP) loses the pole position and turns
off the pole position detection state signal (EPFIX = 0).
Spindle alarm Nos. : 01, 24, 25, 26, 31, 37, 65, 73, 90, 91, 92, 132, 133, 134, 139, 140, 141, 142
Page 29
3rd party Synchronous Spindle Motor Tuning
Page 29 of 42
Created at June,22 2017 by Frank Wittig
Pole position undetected state
The speed command is ignored.
Motor speed
Pole position 0 deg
Position movement
Power-on
MRDY
& *ESP
SFR/SRV
Speed command
EPFIX
Pole position detection completed state
The speed command is accepted.
The pole position is lost, so
that the speed command is
ignored.
Pole position
detection completed
MPOF=0
& EPFSTR=0
1)
2)
3)
4)
6)
5)
An alarm causing the
pole position
to be lost is issued, resulting in
EPFIX = 0.
Pole position 90 deg
Position movement
The pole position is lost, so
that the speed command is
ignored.
Pole position
undetected state
The speed
command is
ignored.
EPFSTR
Power-on
MRDY
& *ESP
& SFR/SRV
Speed command
EPFIX
Motor speed
Pole position detection completed state
The speed command is accepted.
Pole position detection completed
An alarm causing the pole position to be lost
is issued, resulting in EPFIX = 0.
MPOF=0
1)
2)
3)
4)
5)
6)
7)
Pole position 0 deg
Position movement
Pole position 90 deg
Position movement
5.3. Pole det e ction sequence
When SFR or SRV is used as a start signal (Parameter No.4007#7:EPFSIG=0)
When EPFSTR is used as a start signal (Parameter No.4007#7:EPFSIG=1)
Page 30
3rd party Synchronous Spindle Motor Tuning
Page 30 of 42
Created at June,22 2017 by Frank Wittig
5.4. Vali da ti on of pol e detec t ion
Speed direction of first excitation should be opposite to speed direction of second excitation. If DPLSUM is
about 90 deg – pole detection is correct performed.
If speed direction is the same for first and second excitation – swap power phases V and W or better change
encoder counting direction by P4010#3=1.
Page 31
3rd party Synchronous Spindle Motor Tuning
Page 31 of 42
Created at June,22 2017 by Frank Wittig
Kind
Unit
Conv.Coef.
Conv.Base
Origin
Value
Extended
address
Shift
CH1
SPEED
1/min
1 1 0 0 -12
CH2
TCMD
%
100
16384
0 0 0
CH3
ARB(VDAXIS)
-
100
2309
0
3292
0
CH4
ARB(VQAXIS)
-
100
2309
0
3293
0
DPLSUM excitati on phas e CMD
Check and Tuning of AMR offset
This is an example how AMR offset P4084 is adjusted by using the parameter P4085 for fine-tuning.
AMR offset is executed only one time after the pole detection. Therefore, if AMR-offset is adjusted only by
P4084, many times of pole detection is necessary. This required always Power OFF/ON.
For this reason, P4085 for fine-tuning at start-up could be used. After we perform fine-tuning of
AMR-offset by the N4085, we replace AMR-offset parameter N4084 by the value N4084+N4085 and
reset N4085 to 0.
Accelerate spindle if possible to maximum speed. In case of problems because Id current isn’t optimized
accelerate at least up to base speed.
Measure the following signals:
Page 32
3rd party Synchronous Spindle Motor Tuning
Page 32 of 42
Created at June,22 2017 by Frank Wittig
Kind
Unit
Conv.Coef.
Conv.Base
Origin
Value
Extended
address
Shift
CH1
SPEED
1/min
1 1 0 0 -12
CH2
ARB (VQAXIS)
-
100
2309
0
3293
0
CH3
ARB(IDAXIS)
-
64*Ga
1024*P4110
0
3277
0
Adjust P4085 to confirm TCMD, VDAXIS and VQAXIS becomes symmetrical in +/- direction.
5.5. Tuning of d-axis current Id
5.5.1. Optimization of short circuit current
Short circuit current parameter P4113 could be calculated b y measuring VQ AXIS and IDAX IS with diff erent
setting in P4113 at same speed. Accelerate the motor in steps from base speed to maximum speed.
Measure the following signals:
Increasing of VQAXIS at higher speed indicates too low value in P4113.
Page 33
3rd party Synchronous Spindle Motor Tuning
Page 33 of 42
Created at June,22 2017 by Frank Wittig
By the two different setting of N4113 (=210, =230), the q-axis voltage command VQAXIS and the
d-axis current IDAXIS at the maximum speed 3000min-1 were the next values.
The short circuit current can be calculated as follows by the measurement values. In addition,
the maximum current is 70Arms, and the parameter N4111 is 317.
By this tuning, VQAXIS became almost the same amplitude regardless of the speed
Page 34
3rd party Synchronous Spindle Motor Tuning
Page 34 of 42
Created at June,22 2017 by Frank Wittig
Kind
Unit
Conv.Coef.
Conv.Base
Origin
Value
Extended
address
Shift
CH1
SPEED
1/min
1 1 0 0 -12
CH2
ARB (VCMLMT)
-
100
2309
0
3300
0
CH3
ARB(IDAXIS)
-
64*Ga
1024*P4110
0
3277
0
5.5.2. Determination of inductance ratio Lq/Ld P4086
Inductance ratio depends on magnet design of rotor. Usually IPM (interior permanent magnet) types showing
bigger inductance r ati on t h an SP M ( sur f ac e permanent magnet) types. Inductance r ati on def in es if additional
reluctance torque is valid.
To optimize P4086 accelerate the motor up to base speed P4102 and check the setting in P4086 for achieving
shortest acceleration time.
If the acceleration time is almost same even if you change the parameter of inductance ratio, select the
small inductance ratio so that d-axis current becomes smaller.
Tuning example:
Measure the following signals:
When the inductance ratio N4086 was changed to 1000, 1200, 1500 and 1600, please compare
each acceleration time from 0 to 1000min-1 (less than base-speed N4102=1100).
The difference between the acceleration time in N4086=1500 and the acceleration time in
N4086=1600 is almost 0. The smaller N4086 is, the smaller d-phase current is. Therefore, “1500”
was chosen as the tuning value of N4086.
Page 35
3rd party Synchronous Spindle Motor Tuning
Page 35 of 42
Created at June,22 2017 by Frank Wittig
Kind
Unit
Conv.Coef
Conv.Base
Origin
Extende
address
Shift
CH1
SPEED
1/min
1 1 0 0 -12
CH2
ARB (VCMLMT)
-
100
2309
0
3300
0
CH3
ARB(ICMNRM)
-
64*Ga
1024*P4110
0
3280
0
CH4
ARB(INORM)
-
64*Ga
1024*P4110
0
3279
0
Kind
Unit
Conv.Coef
Conv.Base
Origin
Extende
address
Shift
CH1
ARB(VDCMD)
-
100
2309
0
3296
0
CH2
ARB(VQCMD)
-
100
2309
0
3297
0
CH3
ARB(IDAXIS)
-
64*Ga
1024*P4110
0
3277
0
CH4
ARB(IQAXIS)
-
64*Ga
1024*P4110
0
3278
0
5.5.3. Setup of base speed with maximum load P4102 and switching speed of
current pattern P4103
Observing the voltage command in acceleration up to the maximum speed, decide P4102 so that the
voltage command is not limited and becomes as higher level as possible. (If the voltage is limited, the
current deviation becomes large and the stability of the control decrease.)
Regarding P4103, select the smaller value than the speed value where q-axis voltage command cross
the level 0 in the higher speed than the base speed P4102. This is to prevent excessive magnetic field
weakening.
Higher P4102 means higher speed start point of Id current. So check VCMLMT which indicates speed
stability but consider also lower P4102 means larger Id current at high speed which causes more heat
generation.
Measure the following signals:
.
.
Observe the waveform during acceleration, with the setting of (P4102, P4103)=(1100,3000).
The voltage command VCMLMT is the level of over the 80% at the base speed 1100. As this
voltage level is low, it is necessary to change P4102 so that the voltage command VCMLMT
becomes the level from 90 to 100%.
Value
Value
d
d
Page 36
3rd party Synchronous Spindle Motor Tuning
Page 36 of 42
Created at June,22 2017 by Frank Wittig
As the result that the base speed P4102 was changed from 1100 to 1200min-1, the following
waveform was got. The voltage command VCMLMT became to 90%, but the big current
deviation occurred b y limiting of voltage in the hi gh speed ar ea.
The current deviation at the high speed area became smaller by changing of P4112 (110→120).
But the q-axis voltage VQCMD crosses the level 0. This shows the magnetic field weakening is
excessive. (P4112 is normal 110. If increase P4112, please set P4112 less than 120.)
Page 37
3rd party Synchronous Spindle Motor Tuning
Page 37 of 42
Created at June,22 2017 by Frank Wittig
Change P4103 (P4103=3000→1500) to avoid the excessive magnetic field weakening at the
high speed. The q-axis voltage became not to cross the level 0 by this tuning.
Page 38
3rd party Synchronous Spindle Motor Tuning
Page 38 of 42
Created at June,22 2017 by Frank Wittig
Kind
Unit
Conv.Coef
Conv.Base
Origin
Extende
address
Shift
CH1
SPEED
1/min
1 1 0 0 -12
CH2
ARB (VCMLMT)
-
100
2309
0
3300
0
CH3
ARB(ICMNRM)
-
64*Ga
1024*P4110
0
3280
0
CH4
ARB(INORM)
-
64*Ga
1024*P4110
0
3279
0
5.5.4. Limit of regeneration power
Perform the acceleration and deceleration up to the maximum speed, and adjust N4080 so that the
deceleration time becomes the same like acceleration time.
Measure the following signals:
.
Value
d
Page 39
3rd party Synchronous Spindle Motor Tuning
Page 39 of 42
Created at June,22 2017 by Frank Wittig
6. Optimization of Velocity loop
Velocity loop tuning using Servo guide Bode diagram