7i76e/8i20 losing spindle speed.

More
25 Nov 2018 19:08 #121334 by blazini36
From time to time I notice some strange behavior with my setup and I'm not sure exactly where it's coming from. The spindle will run fine @ around 2500rpms at whatever current level it takes to maintain that speed. At some point after running for a while it will only be able to maintain ~1700rpms and will ramp current up to the full PID output. I'm not sure if it's a PID setting or some software glitch or the servo rate causes it to not be able to maintain commutation. I can stop and restart the spindle fine but it will still be limited to the reduced speed and maxes out the current. All I have to do to get it working fine again is restart LinuxCNC. Any ideas where to start looking?

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

More
25 Nov 2018 19:49 #121337 by PCW
What BLDC component commutation method are you using?

If you are using quadrature, you may be losing counts which would cause commutation issues.

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

More
25 Nov 2018 21:07 #121340 by blazini36
I'm using "qh". I'm not sure that I'd be losing counts unless it's a servo thread thing, that I suppose is possible. Because of the way the encoder is mounted it's possible that the encoder body itself can rotate a degree or two, I'm not sure if that effects the angle or something since qh also uses the hall sensors at least at startup.

For reference I use a 1000ppr quad/differential encoder @4000 counts/rev

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

More
25 Nov 2018 21:28 #121341 by PCW
I'm not sure but I think QH mode just uses the Hall effect signals for initial rotor position determination, so any lost encoder counts will cause a cumulative commutation loss

Is the encoder filter bit set true?
Also is the encoder jumpered for differential mode? (it will work jumpered for TTL mode with differential encoder but you will lose noise resistance)

Are you using a common mode choke (large ferrite bead) on the spindle motor U/V/W wires?

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

More
25 Nov 2018 21:41 #121345 by blazini36
The hm2 encoder filter bit is set to false, not sure why I did that but it's written out so I must have done it on purpose

The encoder interface is set to differential on all channels.

I use 18awg shielded cable with a clamp on ferrite close to the motor. Shield is grounded one side.

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

More
25 Nov 2018 22:06 #121350 by PCW
I would definitely enable the encoder filter

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

Time to create page: 0.280 seconds
Powered by Kunena Forum