Yaskawa Auto Tuning
Prerequisites
- Have a tuning cable. USB Micro b connector to fit the servo drive.
- Download and install SigmaWin+
- https://www.yaskawa.com/products/motion/sigma-5-servo-products/software-tools/sigmawinplus/-/content/_6c2e204d-20bc-475d-84a3-8f471d3ccaf7_DownloadSoftware
- Copy over USB folder (M:\Production\Products\Drives-Servo\Yaskawa\Software\SigmaWinPlus570a)
- Check device manager in the usb section or unrecognized device section to find the yaskawa drive. update the driver manually, looking in the USB folder copied over.
- Open SigmaWin+ and connect to drive
- If drive is not showing, go to device manager and find the yaskawa drive and update drivers (found on server: M:\Production\Products\Drives-Servo\Yaskawa\Software)
- Default drive parameters are on the server: M:\Production\Products\Drives-Servo\Yaskawa\Drive Parameters, and you should not assume that the drives ship with correct default parameters.
Leave the drives in tuning less mode if running under 200ipm or if precise profiling is not needed.
Basic Auto-Tuning
Note: To tune a gantry mode using auto tuning, you can decouple one of the motors on the gantry.
Tuning Setup
- Search and connect to the drive
- Keep hardware enable on, but turn off drive enable. Do that with one of the following methods:
- For rapidpath systems, enable the machine. Then press the Disable button under the Service -> Maintenance page.
- Set "Turn Off Enable Signals upon Disable" to "Drive Enable" in Interface Config or Configure->Plugins->MachMotion.
Press Save and disable the software.
- Or if necessary, pull the control cable out from the drive.
- Set In Position Parameter Pn522
- For RapidPath calculate (PnB02) x (Steps Per) x (Resolution) = Pn522
- For Apollo III calculate (Steps Per) x (Resolution)= Pn522
"Resolution" = Max Position Error that you want to see. Maybe 0.001 Inch
- Select Tuning --> Tuning to begin the tuning process
- Click the Execute Button.

- If it isn't in tuning mode already, you will have to enter tuning less mode. Press OK and then cycle power on the drive.

- Click the Execute button to calculate inertia. NOTE: If worse than 400% (4:1 ratio), your motor will likely not work. Call MachMotion for engineering.

- Select the No Reference Input Option in the Autotuning Area and then click the Autotuning
Button.

- Configure Conditions

-
- Choose "1: A moment of inertia is not presumed" (We already calculated the inertia above)
- Choose "1: Standard"
- Choose appropriate mechanism. Default use Belt Mechanism even for ball screw unless you need very rigid tuning.
- Edit distance if necessary (3 revs is default)
- Select "Start tuning using the default settings" (can be done without this option, but this is the typical way to do your first tune).
- Select "Next"
Tuning Process
- Turn the "Servo ON"
- Select "Start Tuning"
- Software will run the motor through it's pre-programmed moves
- Click "Finish"
- The drive is tuned
- Click "Finish" again to exit tuning mode
If tuning fails it could be caused from one of the following reasons:
The position tolerance is too small. Increase Pn522 to allow for more position error.
Final Parameter Setup
- Turn off model following by setting Pn140 digit 0 to 0.
- Set feed forward gain Pn109 to 0%. unless you are trying to work around very High inertia, then try 75%
- Check the following parameters on all axis that drive the tool usually X, Y and Z, (Exclude things like tool changers).
- Pn100 (Speed Loop Gain)
- Pn101 (Speed loop integral time constant
- Pn102 (Position Loop Gain)
- Pick the Highest value for Pn101 and the lowest for Pn100 and 102 from all axes values.
- Then make all included drives match each parameter.
Pn100- Lowest
Pn101- Highest
Pn102- Lowest
System Tuning for Gantry
- Manually calculate the inertia (Pn103)
- Use the excel calculator to calculate it based on steady state torque.
- Yaskawa recommends setting Pn408.3 to 1 on the slave drive
- Do a system tune. Ramp up till it gets noisy.
- Example values: FF 170, FB 48.
- Pull back the tune till it sounds good.
- Try to minimize following error.
- Graph following error.
- Check the following error both axes.
- Increase the FF gain by 10s on the non gantry axis to make the following errors match.
Custom Tuning
- Enable Tuning Mode
- Run Auto Inertia test (Pn103)
- Custom Tuning
- Make following errors match
Advanced Tuning
If additional tuning is required, you can run through the same procedure above but modify selections on Mode Selection and Mechanical Selection.
You may have to play with Pn100-Pn102. But MachMotion strongly recommends keeping the parameters matching in both drives.
- Pn100 (Speed Loop Gain)
- Increase to help make the machine more smooth.
- Pn101 (Speed loop integral time constant
- Increase to reduce rigidity and noise.
- Pn102 (Position Loop Gain)
- Increase till following error stops decreasing.
You can also go through Chapter 8 (Tuning) of the attached manual ("Sigma-7 Manual Analog-Pulse.pdf").
If auto tuning does not work, you may have to try manual tuning.
9103
Current Processes
For system Tuning
first autotune all single motor axis like normal
Then check Position/following error on each axis at the max IPM of the slowest axis.
Calculate following error distance using this
(Steps per)/1000 = X
(Following Error) / X = Following error in thou
Following Error in Thou is the gold standard, all axis must match at the same IPM to have a tuned machine
Pick the Axis with the best result as the standard and adjust all other axis to match.
the easy way to do this on a single motor axis is to increase Pn109 until you reach the desired following error, be cautious with this as a value much over 75 can result in bad corners, under 50 is usually safe.
On a gantry axis or an axis that cannot complete an autotune, try system tuning
First name each axis so you can tell them apart while logged into several at once
Connect a USB cable to both gantry drives.
They should show up like this with the names you already gave them
Connect to both
it should look like this, (they will show up in the same order, X2 is on top)
Yaskawa recommends setting Pn408.3 to 1 on the slave drive
Make sure an inertia ratio is set as well
Click ok
this will popup if you are still in tuningless mode, click ok to change the parameter
It should look like this
Next bring in the other drive by opening system tuning on the second drive.
next select the master Axis as "Base" and Slave axis as "Applicable"
It should look like this with both axis adjusting equally
Use Mode 2 or 3 for CNC applications (Mode 3 is better, less overshoot)
When using mode 2 or 3 leave Friction compensation enabled
Use whichever Mechanism selection matches your machine
Next write some G-code that will bring the axis up to full speed for a bit and then stop, wait a couple seconds and the repeat going the other way. an M99 at the end will allow the program to keep looping until you stop it.
Example G-Code
G01 G90 X20 F200
G04 P2.
G01 G90 X-20
G04 P2.
M99
%
Push cycle start and let the machine start cycling
click "start tuning" and the DROs should turn green
Make your adjustments during the g-code pause, if you adjust while moving sometimes the drive will throw an error
watch following error and start increasing Feed Forward until following error reaches the target
next bring up feedback load until the machine get's noisy and then back off till it quiets again (usually 5 or so)
Click Finish

















