advantages of supplying phase B to spindle encoder

More
31 Jul 2014 04:31 #49307 by drogge
Hey Zahnrad, I hooked up my stock EMCO 120 encoder today and thought I'd let you know that the encoder count ended up being 150. Not the 360 PPR on the retrofit wiki. Don't know where that number came from. Even if you did add another read head for phase B then the PPR would be 600.

Drew

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

More
31 Jul 2014 04:39 - 31 Jul 2014 04:40 #49308 by Zahnrad Kopf
Drew,

Wow. That doth rightly sucketh. Hmmm... What are your plans? I could make some discs easily enough but I'd still need to buy those reader heads like Andy pointed me to. Damn.
Last edit: 31 Jul 2014 04:40 by Zahnrad Kopf.

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

More
31 Jul 2014 04:46 #49309 by drogge
Acutally I'm not sure that it sucks. 150 slots / 600 PPR should be just fine for threading although I have to admit that I haven't tried it yet. Many people seem to be happy with 120 hole/slot disks. I'd only worry about it if I was trying to do something like making the spindle a "C" axis and doing something with live tooling :-) Not likely in my case.

Drew

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

More
31 Jul 2014 05:03 #49310 by Zahnrad Kopf
No, I'm CERTAINLY not going to do that to such a little machine... Has anyone ever determined what the optimal count for threading is?

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

More
31 Jul 2014 14:59 #49327 by andypugh

Has anyone ever determined what the optimal count for threading is?


Optimum is probably the max that your counter can count at the highest speed you want to count at.

My 100 slot disc was perfectly adequate. The current 1000 slot encoder is better, but only really because it is a better quality encoder. The problem with my 100-slot disc was that the slot widths were not 100% consistent. This was, to a large extent, because I was using reflective sensors so the slot edge shape starts to matter.

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

More
31 Jul 2014 15:00 #49328 by ArcEye

Has anyone ever determined what the optimal count for threading is?


Depends entirely upon how you are counting.

I tried all sorts of encoders from 1024 down to 250ppr and the software encoder could not cope with them, above a certain speed it went haywire.

I have a 120 hole disc and optical sensor, which is the limit of holes for the disc diameter.
It is not quadrature either, so it 120 pulses, don't think quadrature will give many advantages with just an A phase and may give too many pulses to work in software

I also think it sensible for accuracy to have the number of holes ( and thereby pulses ) as an exact divisor of 360.
The computer can do the calculations based on any number, but there will always be some variation in figures depending how many places the division is done to
and keeping it simple, just makes sense.

If you use a FPGA card it will be determined by the frequency of the oscillator chip used to sample, which will be way faster than a realtime thread.
PCW would be able to advise on the theoretical maximum based upon frequency of the counter,

My lathe used to have a Fanuc control with a 1024 ppr encoder in quadrature mode, which gives an idea
regards

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

More
31 Jul 2014 16:02 #49329 by andypugh

I also think it sensible for accuracy to have the number of holes ( and thereby pulses ) as an exact divisor of 360.


I don't think this matters. Internally the encoder function keeps track of total counts in a 64-bit integer counter, and divides by the scale every time. Spindle position is in units of complete revolutions, not degrees, so there is no reason to prefer any count number over any other.

(If you do the maths, the 64 bit counter takes longer than the MTBF of CNC operators to overflow even at 20,000 rpm and 4096 counts)

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

More
31 Jul 2014 17:12 #49333 by ArcEye

I also think it sensible for accuracy to have the number of holes ( and thereby pulses ) as an exact divisor of 360.


I don't think this matters.


Helps keep my OCD tendencies happy anyway :laugh:

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

More
31 Jul 2014 17:34 #49334 by Zahnrad Kopf

My lathe used to have a Fanuc control with a 1024 ppr encoder in quadrature mode, which gives an idea
regards


Exactly. Mazak's, too. That's why I ask. I believe that's the default in the industry, but I have no idea _why_. Hence the question.

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

More
31 Jul 2014 17:35 #49335 by Zahnrad Kopf

Helps keep my OCD tendencies happy anyway :laugh:


Ha. And likely the biggest factor driving my decisions most days... : ) B)

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

Time to create page: 0.090 seconds
Powered by Kunena Forum