Fred Bloggs said:
Larry said:
Larry Brasfield wrote:
message
I have a motor with a diffential optical encoder (A and B outputs),
which is configured as a 1000 count-per-revolution device. I really
want this thing to be a 250 CPR device...so rather than replace the
encoder, I figure there must be an easy way to divide the pulses
coming out of the encoder.
That sounds like a dual counter with simple logic should do it:
View in a fixed-width font such as Courier.
[waveforms and only waveforms cut]
QUADRATURE SEQUENCE A/4 & B/4 TO CONTROLLER:
[waveforms and only waveforms cut]
So, Fred, I wonder, did you peruse the rest of this
thread before replying? If so, was it irrelevent, in
your mind? Or incomphrehensible? If you could
not bother, were you pretty sure that you actually
had something of value to contribute?
Yes, yes, no, and yes, respectively, since I can make a viable, perfect actually, 1/4 quadrature encode output happen, without
direction input, and optional direction output if necessary.
If my challenged parsing skills are working today, I
take that to mean that you can make a perfect
quadrature encoder, using nothing but the method
the OP asked about plus some secret logic that
depends on his application in an as yet unspecified
manner. And that is something of value to contribute.
I guess that would have to be a future contribution.
Yes- you understand that correctly, the drawing will be cumbersome because the OP needs everything spelled out and I do not feel
like doing that right now.
I see only a single post by you on this thread.
And it said no such thing. Nor did it give any
hint that direction was or might be involved.
The words in my post were "...sounds like a dual counter with simple logic..."- the simple logic would be the A>B or B>A decision.
I am under no obligation to give away the farm- things get much more interesting after the " cannot be done " crowd chimes in.
Clearly your obligations are very limited here.
True- if he's a sloppy reader and does not follow up with any confusion he may have.
Here is a summary of your contribution:
OP asks: "Can I use two binary up counters to
get from one encoding to a courser encoding?"
Fred says: "A dual counter with simple logic
should do it." This with no indication as to what
that logic might be, what it should accomplish, or
that the counters might have to be bidirectional.
What, precisely, is the value added by that?
If there is any, I cannot fathom it.
When the OP mentioned "CPR" it was shorthand
for "Counts Per Revolution". I cannot tell what your
"CPR" input would be in this context.
The controller is configurable to any motor- and it is receiving true encoder data at 1/250th revolution- so what is the problem?-
there is nothing be "fooled" here- the encoder is being electronically converted to 1/4 resolution.
I take it that by "problem" you mean my claim
that "hunting is likely to be worsened". While I
hesitate to attempt to educate you about what
happens in positioning systems connected to
real hardware, with all its non-linearities and
dynamics, I will allude to the fact that getting
some error feedback for a smaller error can
allow finer correction. With your intellect, I am
sure you can work out the details.
Well- let's see your version of it then.
I feel no need or compulsion to prove myself
to you. If the OP finds Mac's solution less than
satisfactory, I will be happy to lend a hand.
Thanks for the education.