Spindle acceleration

More
13 Dec 2012 01:03 #27636 by LAIR82
Spindle acceleration was created by LAIR82
Hello All,

I have been wondering ever since we put a new Durapulse drive in our recent retrofit about the max_acceleration value for the spindle. My question is, should I set the acceleration rate value in the drive or should I use the max_acceleration value in the INI. We currently have everything setup for a maximum of 3000 rpm and in the drive I have a value of 6 seconds to go from 0 to 3000 rpm's. Then in my INI I have a value of 50 rpm/sec as the max_acceleration rate. I think I should probably set that to 500 rpm/sec to match the drive for a 6 second accel rate. Does this make sense or am I missing something?


Thanks

Rick

Please Log in or Create an account to join the conversation.

More
13 Dec 2012 03:01 #27645 by BigJohnT
Replied by BigJohnT on topic Spindle acceleration
Seems logical to me to match them up.

John

Please Log in or Create an account to join the conversation.

More
21 Dec 2012 21:09 #27920 by Dimitrios
Replied by Dimitrios on topic Spindle acceleration
I did it once for my chinese spindle, using a Yaskawa VFD. The acceleration is dependent of the eletrical and mechanical spindle motor characteristics.

The Yaskawa driver has a test routine that finds the correct acceleration ramp, given working parameters and a run test with no load on the spindle motor.

I am not familiar with the Duradrive, so, I do not know if it applies to it. But seems reasonable to.

Regards,

Dimitrios

Please Log in or Create an account to join the conversation.

More
27 Dec 2012 23:00 #28093 by LAIR82
Replied by LAIR82 on topic Spindle acceleration
Good Morning Guys,

I tried setting my INI value to the same as what the drive is configured for, but no luck, still having the same issue.

We did perform the Auto Tune that you were talking about, Dimitrios, and that went fine.

What if I take the MAX_ACCELERATION line out of my INI? Will Linux just give an output voltage that is not ramped?

Please Log in or Create an account to join the conversation.

More
28 Dec 2012 02:37 #28101 by Dimitrios
Replied by Dimitrios on topic Spindle acceleration
Sorry LAIR82, I answered the wrong question! I did not finished the setup of the spindle control with LinuxCNC, I am testing the machine manualy setting the spindle rotation.

Please, forgive my lack of attention.

Promise not disturb your thread wit unnecessary comments again. I will look to what I have planned and try to test it in my control and get back to you. I have some free time this end of year.

Regards,

Dimitrios

Please Log in or Create an account to join the conversation.

More
28 Dec 2012 04:34 #28108 by awallin
Replied by awallin on topic Spindle acceleration

What if I take the MAX_ACCELERATION line out of my INI? Will Linux just give an output voltage that is not ramped?


The normal use for MAX_ACCELERATION in the INI file is for joints like XYZ etc.
The default linuxcnc behaviour is to not limit accel or decel. of spindle-speed-out.

You would need to add a limit2 or limit3 HAL-component on spindle-speed-out yourself to limit spindle speed acceleration. This also requires a comparator to tell when the spindle is at speed and spindle-at-speed can be set true (linuxcnc will then proceed with the G-code program. otherwise it could happen that G-code is run while the spindle is still accelerating)

Anders
The following user(s) said Thank You: LAIR82

Please Log in or Create an account to join the conversation.

More
29 Dec 2012 06:23 #28138 by LAIR82
Replied by LAIR82 on topic Spindle acceleration
That did the trick, I first #'ed out the max_acceleration line in my INI to see the affect, and ran some cycles and the problem was gone. Now I erased it all together.

Thanks

Rick

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum