Super-PID spindle speed feedback

More
26 Nov 2014 08:15 #53421 by andypugh

The lowpass component does not seem to affect the glitches I see.


You don't seem to be using the output of the lowpass filter anywhere.

I suspect that this is because you didn't addf the abs component to a thread, so it didn't work.

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

More
26 Nov 2014 08:50 #53422 by Delron
Hi Andy,

I'm so lost. :(

I thought I had in the custom hal. I'll stare and keep reading, but I'm a horrible programmer, better at the physical electronics.

When I look at the spindle PWM signal, it seems to be jumping as well. I can hear it as the router misses ever so often as well. I'm pretty sure I have a good system for Linuxcnc as my jitter is only 16000.

Dale

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

More
26 Nov 2014 10:01 #53424 by Delron
Well, I discovered the reason my spindle speed in jitters.
Turns out that my BOB input pin was set to 5V pull-up. When I set it to a pulled-down pin, all is steady.
I never got the filters working, but I suspect now that is was that I had only a single Scale component defined? :unsure:

In anycase, because the signal is very stable without filtering now, I simply removed all the relevent code, and now the meter and spindle-at-speed functions seem to be working rock-steady! :)

Thanks for everyones input. I do appreceate your help!

Cheers!

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

Time to create page: 0.332 seconds
Powered by Kunena Forum