7i92/7i77 Yaskawa Servo
- pmcstoneinc
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 1
29 May 2015 20:03 - 29 May 2015 20:05 #59185
by pmcstoneinc
7i92/7i77 Yaskawa Servo was created by pmcstoneinc
Hello everyone, I can not thank everyone on here enough that puts the time in to help other users, especially me! Greatly appreciated.
I have some questions about the setup of my configuration/retrofit. I am using Yaskawa Sigma 1 drives for velocity control. I know the servos themselves have PID settings within the drive. I read elsewhere that the setup I have is a loop within a loop. The servos have their own PID loop for velocity and then the LinuxCNC loop is for positioning? With that being said will I have to tune for the positioning loop? I have also noticed that once I enable the system the axis starts to runaway, but very slow and nothing violently until I get a following error. Encoders seem to be working because I am getting feedback on the DRO and I checked with HALscope. Just need direction of where to check first for the runaway issue Thanks!
Dan
I have some questions about the setup of my configuration/retrofit. I am using Yaskawa Sigma 1 drives for velocity control. I know the servos themselves have PID settings within the drive. I read elsewhere that the setup I have is a loop within a loop. The servos have their own PID loop for velocity and then the LinuxCNC loop is for positioning? With that being said will I have to tune for the positioning loop? I have also noticed that once I enable the system the axis starts to runaway, but very slow and nothing violently until I get a following error. Encoders seem to be working because I am getting feedback on the DRO and I checked with HALscope. Just need direction of where to check first for the runaway issue Thanks!
Dan
Last edit: 29 May 2015 20:05 by pmcstoneinc.
Please Log in or Create an account to join the conversation.
29 May 2015 21:16 #59188
by PCW
Replied by PCW on topic 7i92/7i77 Yaskawa Servo
For velocity mode servos, the current (torque) and velocity loops are in the drive itself and the position PID loop runs in linuxcnc
If the drives only creep when linuxcnc is in the machine-on state (so you have the drive enables wired properly),
this sounds like the PID P term is 0 (and yes you have to tune the position loop)
You can adjust the PID terms live via the calibration screen in axis ( Machine --> Calibration )
gnipsel.com/linuxcnc/tuning/servo.html
(thanks JT)
Note you may find that the drives immediately run away as soon as you enter a non 0 P term
this means that you will have to reverse the analog out polarity in HAL
If the drives only creep when linuxcnc is in the machine-on state (so you have the drive enables wired properly),
this sounds like the PID P term is 0 (and yes you have to tune the position loop)
You can adjust the PID terms live via the calibration screen in axis ( Machine --> Calibration )
gnipsel.com/linuxcnc/tuning/servo.html
(thanks JT)
Note you may find that the drives immediately run away as soon as you enter a non 0 P term
this means that you will have to reverse the analog out polarity in HAL
Please Log in or Create an account to join the conversation.
- pmcstoneinc
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 1
30 May 2015 01:03 #59198
by pmcstoneinc
Replied by pmcstoneinc on topic 7i92/7i77 Yaskawa Servo
Ok so maybe I have an issue with my wiring.....I am trying to duplicate the wiring from the original spec but using the I/Os on the 7i77. With servo on and enabled I disconnected the analog out completely but still get the creep. I do question the original wiring from the manufacturer as they have the wiring reversed for the /SON circuit.. I attached the schematic of the /SON circuit from Yaskawa. Let me know. Thanks.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
30 May 2015 01:15 #59200
by Todd Zuercher
Replied by Todd Zuercher on topic 7i92/7i77 Yaskawa Servo
A little creep with the drives powered and enabled, but no control input is not unusual and maybe to be expected. A little fine tuning of the drives internal tuning parameters should be able to zero that out, but it shouldn't be necessary. Once the position loop is connected and tuned in Linuxcnc, it should straighten it out.
Please Log in or Create an account to join the conversation.
30 May 2015 01:25 #59201
by PCW
Replied by PCW on topic 7i92/7i77 Yaskawa Servo
On your drawing, is ENA0+ connected to ICN-40 and ENA0- connected to 0V?
( That would be the correct wiring for a active low enable )
If you disconnect ICN40 is the drive disabled? (creeps stops and motor shaft turns freely by hand )
( That would be the correct wiring for a active low enable )
If you disconnect ICN40 is the drive disabled? (creeps stops and motor shaft turns freely by hand )
Please Log in or Create an account to join the conversation.
- pmcstoneinc
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 1
30 May 2015 03:43 #59206
by pmcstoneinc
Replied by pmcstoneinc on topic 7i92/7i77 Yaskawa Servo
Now I seem to get nothing. 0V can be sourced from where? I take it I can not use the field voltage ground as 0V? Thanks Peter always a great help.
Dan
Dan
Please Log in or Create an account to join the conversation.
30 May 2015 04:02 #59207
by PCW
Replied by PCW on topic 7i92/7i77 Yaskawa Servo
If ICN-47 comes from field +24V then yes ENA- goes to field gnd
Please Log in or Create an account to join the conversation.
- pmcstoneinc
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 1
30 May 2015 05:49 #59213
by pmcstoneinc
Replied by pmcstoneinc on topic 7i92/7i77 Yaskawa Servo
Ok wired to what we discussed now I am back to beginning issue of axis creep, yes P value is at 0. I am confused as to why it still creeps even if I disconnect the velocity reference? Thanks Peter!
Please Log in or Create an account to join the conversation.
30 May 2015 06:09 - 30 May 2015 06:10 #59215
by PCW
Replied by PCW on topic 7i92/7i77 Yaskawa Servo
This is expected and harmless.
Expected for a couple of reasons:
1. With a analog velocity command, there's always some offset voltage so the commanded velocity is never exactly 0
2. Even with a digital command its not easy to detect very low velocities accurately so random creep still occurs
Harmless because when linuxcnc is not running and in the machine-on state, the drives should be disabled and cannot creep.
When linuxcnc is running and in the machine-on state, the position PID loop is closed so the drives cannot creep.
(This does require a non 0 P term of course)
( this is also a safety issue so its very important that the drive enable work )
Expected for a couple of reasons:
1. With a analog velocity command, there's always some offset voltage so the commanded velocity is never exactly 0
2. Even with a digital command its not easy to detect very low velocities accurately so random creep still occurs
Harmless because when linuxcnc is not running and in the machine-on state, the drives should be disabled and cannot creep.
When linuxcnc is running and in the machine-on state, the position PID loop is closed so the drives cannot creep.
(This does require a non 0 P term of course)
( this is also a safety issue so its very important that the drive enable work )
Last edit: 30 May 2015 06:10 by PCW.
Please Log in or Create an account to join the conversation.
- pmcstoneinc
- Offline
- Premium Member
Less
More
- Posts: 83
- Thank you received: 1
30 May 2015 06:49 #59218
by pmcstoneinc
Replied by pmcstoneinc on topic 7i92/7i77 Yaskawa Servo
Ok so a -10 value on the P seemed to solve the issue but my DRO is reading opposite of the command, this all sounds like maybe I need to switch A and B channels on the encoder or invert analog out??? Let me know. Thanks.
Dan
Dan
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.384 seconds