1
SmoothStepper USB / Re: How to use closed loop spindle rpm with SS
« on: October 23, 2011, 12:55:55 AM »
Hey Cork, sorry for the super long delay, I took a long break from my cnc machine and just recently got back into it and actually started cutting stuff.
Not sure if you still need settings, but mine work with a G540 geckodrive, which outputs 0-10V.
I don't remember exactly why I chose certain settings but I do remember that the G540 had certain pwm requirements as well as the SS.
in the SS config dialog I have my spindle set to 64khz, spindle set to PWM at a 2000Hz rate.
in the Ports & Pins spindle screen I have my use spindle motor output and pwm control checked, base freq is at 50 and min pwm is 0.
From here I think all I had to do is tune the pulley settings until the pwm curve output by mach matched what my spindle did. Therein lies the problem, I'm not using a VFD so the rpm mapping is near impossible as a DC motor doesn't have linear rpm to voltage curves. So I've been trying to get closed loop spindle control but so far has been unable to get it to work. I've yet to try the latest beta SS drivers available though.
Not sure if we can get any more insight from the SS developers as to what's missing here of it it's even possible with the current SS drivers.
Not sure if you still need settings, but mine work with a G540 geckodrive, which outputs 0-10V.
I don't remember exactly why I chose certain settings but I do remember that the G540 had certain pwm requirements as well as the SS.
in the SS config dialog I have my spindle set to 64khz, spindle set to PWM at a 2000Hz rate.
in the Ports & Pins spindle screen I have my use spindle motor output and pwm control checked, base freq is at 50 and min pwm is 0.
From here I think all I had to do is tune the pulley settings until the pwm curve output by mach matched what my spindle did. Therein lies the problem, I'm not using a VFD so the rpm mapping is near impossible as a DC motor doesn't have linear rpm to voltage curves. So I've been trying to get closed loop spindle control but so far has been unable to get it to work. I've yet to try the latest beta SS drivers available though.
Not sure if we can get any more insight from the SS developers as to what's missing here of it it's even possible with the current SS drivers.