what causes 455 Spindle encoder quadrature error and how do you make it less picky?

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by rk9268vc »

trying to get my mill to work with a new spindle motor/ encoder

turns on, turns for a few seconds, displaying the rpm in CNC12, then it stops and throws the error

what causes this error?
can i make it ignore the error and let 'er buck?

spindle works fine with encoder unplugged, just displaying 0rpm, but plug encoder in, turns a few turns, and stops with the error

my spindle turns backward about an 1/8th turn before going forwards, you think the encoder dont like this?

Does it matter that I am not using the Z/M and only A A\ B B\ ? It shouldnt throw an encoder over that would it? I didnt before i mounted it in an enclosure

would it throw an error if doing an M3 move gives a negative speed instead of a positive? Does that matter?


can i just disable this error message? It seems to be working fine for a few seconds until it stops. displays correct rpm set to, fwd and rev work. start stop work. just cant run for more than a few seconds without throwing the error. really frustrating

here is a video of the error (.mp4 in a zip)
screen cap of encoder error june23.zip
(1.82 MiB) Downloaded 21 times


suntravel
Community Expert
Posts: 3642
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by suntravel »

Your encoder/wiring is not working right, with disabling the error the encoder will not work any better.

You must fix the encoder and the wiring.

Uwe


eng199
Posts: 447
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: Yes
Hickory CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by eng199 »

Quadrature error indicates that the A/B signals had an invalid transition. This means the encoder is not working reliably.
Because your are not using Z, I assume this encoder does nothing critical. Is it just for actual speed readout? The quadrature warnings and errors can be disabled by setting p334 and p335 to 16. Disabling the errors is not recommended for applications where the control needs encoder feedback (rigid tapping). However, if it is just for visual feedback, ignoring the problem is not a major issue.


rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by rk9268vc »

eng199 wrote: Fri Jun 24, 2022 8:16 am Disabling the errors is not recommended for applications where the control needs encoder feedback (rigid tapping). However, if it is just for visual feedback, ignoring the problem is not a major issue.
what is weird is it worked fine when i wired it up to test. even machined a few parts. then i tore it apart to make a nice enclosure and add contactors and such. now it dont wanna go and im pretty sure i didnt change any wiring. Even tried a new cable

I dont use the Z bit because my encoder is not 1:1 with the spindle.
I do want to do rigid tapping tho, i just wont be able to re-enter the same hole and i plan on using a tension-compression tapping head for a little bit of float

thanks for the parameters. I will use as a last resort


Dave_C
Posts: 669
Joined: Wed Nov 15, 2017 8:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Springfield, MO. USA
Contact:

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by Dave_C »

I had the same issue 4 years ago and the problem turned out to be "NOISE" and the reason is my encoder cable is not shielded. I sent the encoder to Centroid, they tested it and said it was 100% fine. I just need to cut the cable short, add a plug and make a new shielded cable. Had the same issue on the Lathe conversion but I solved it with a Centroid encoder and their cable. No more noise issue!

I did the 334 and 335 thing on the mill, and my rigid taping works just fine.

Dave C.
Grizzly G0678 Mill ,CNC conversion with Acorn. G4004G Lathe, Mach 3 conversion to Acorn.


eng199
Posts: 447
Joined: Fri Jan 10, 2014 11:29 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: Yes
Hickory CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Howard, PA

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by eng199 »

rk9268vc wrote: Fri Jun 24, 2022 11:02 am i tore it apart to make a nice enclosure and add contactors and such. now it dont wanna go
Do the contactors have snubbers on the coils? Are snubbers on any inductive loads they control?
rk9268vc wrote: Fri Jun 24, 2022 11:02 am I dont use the Z bit because my encoder is not 1:1 with the spindle.
I do want to do rigid tapping tho, i just wont be able to re-enter the same hole and i plan on using a tension-compression tapping head for a little bit of float
Using a tapping head is not rigid tapping. That is good because rigid tapping will break things when you don't set up the encoder 1:1 as recommended or have a properly counting encoder.


rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by rk9268vc »

So here is the problem

I ignored those two errors with setting the parameters

When i command it to go a speed, it goes exactly the speed. If i do m3s3000 it goes exactly 3000 rpm, verified with two tachometers

however, CNC12 says it is only going 26xx rpm, and when i go m4s3000 it says 29xx rpm
so it is reading slightly less rpm than it is actually turning for some reason
also, the rpm it is reading is different going FWD vs REV
what?

also I am using a shielded encoder cable, and even tried grounding the shield to the PSU GND directly and it didnt change anything
What do i try next? It is reading the pulses, even with correct direction, it just is like it is missing some pulses


rk9268vc
Posts: 267
Joined: Fri Nov 13, 2020 4:12 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by rk9268vc »

eng199 wrote: Fri Jun 24, 2022 4:28 pm Do the contactors have snubbers on the coils? Are snubbers on any inductive loads they control?

Using a tapping head is not rigid tapping. That is good because rigid tapping will break things when you don't set up the encoder 1:1 as recommended or have a properly counting encoder.
contactor has a .5MFD cap on it. Contactor only switches the spindle driver
took the contactor out and just hardwired the driver. no change.

It is not a tapping head like you would find on a bridgeport. It just allows a little bit of float.
Here is the link
https://tormach.com/modular-tension-com ... 31807.html


tblough
Community Expert
Posts: 3540
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by tblough »

Quadrature errors means that it IS missing pulses. You've just disabled the warnings; not fixed the problem.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.


Dave_C
Posts: 669
Joined: Wed Nov 15, 2017 8:25 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Springfield, MO. USA
Contact:

Re: what causes 455 Spindle encoder quadrature error and how do you make it less picky?

Post by Dave_C »

tblough wrote: Fri Jun 24, 2022 8:05 pm Quadrature errors means that it IS missing pulses. You've just disabled the warnings; not fixed the problem.
TRUE and if your RPM is that far off you must be getting lots of missed pulses OR you have the encoder count setup wrong!

IE: A 1,000 line encoder has 4,000 pulses per rev and so on.

My noise issue was not that big of a deal and my display is right on compared to my tach reading so I've not bothered to fix the cable. (I should do that someday though)

Dave C.
Grizzly G0678 Mill ,CNC conversion with Acorn. G4004G Lathe, Mach 3 conversion to Acorn.


Post Reply