Am new to forum, couldnt find the right subject thread for my subject!
I wish to convert a quadrature encoder output to step & direction..
So 5 volt powered optical encoder with quadrature out (& an index pulse), to be converted to step & direction using simple cmos logic IC's.
i tripped over a schematic - well I thought it was, but turned out to be part of a PSoC, whatever that is.
here is the link, https://www.hackster.io/juanespj/quadrature-decoding-with-logic-gates-no-udbs-tcpwms-used-0c3859
Being undeterred I breadboarded the cct with 4000 series logic.
I couldnt find a Set/reset FF that didnt have a D input, so i built one using a quad, 2 input Nand gate, with a 4011B
( pls see http://hyperphysics.phy-astr.gsu.edu/hbase/Electronic/SRFFclock.html )
It's not normal step & direction! It also loses pulse in deciding direction..
Here is the reply upon asking the intended purpose of the setup:
"This circuit is made to read a quadrature encoder to detect rotational direction. And number of counts, it is not a cmos implementation, it is built with digital blocks on PSoC device"
i also looked at: https://www.allaboutcircuits.com/worksheets/flip-flop-circuits, was unclear to me from the logic offered as to which is correct.
Surely there must be a simple schematic that can do this, that MUST not lose a single step. - i cant be Robinson Crusoe here!
It must decide direction before 1 complete quadrature cycle too.
The output 'speed' , or RPM of the encoder is not going to be so hi as to cause propagation delays to need consideration ;-)
[I also considered http://www.learnabout-electronics.org/Digital/dig53.php ]
There is a commercial IC device avail, but buying it is becoming elusive, & it aint cheap (compared to CMOS).
Thanks HEAPS!
I wish to convert a quadrature encoder output to step & direction..
So 5 volt powered optical encoder with quadrature out (& an index pulse), to be converted to step & direction using simple cmos logic IC's.
i tripped over a schematic - well I thought it was, but turned out to be part of a PSoC, whatever that is.
here is the link, https://www.hackster.io/juanespj/quadrature-decoding-with-logic-gates-no-udbs-tcpwms-used-0c3859
Being undeterred I breadboarded the cct with 4000 series logic.
I couldnt find a Set/reset FF that didnt have a D input, so i built one using a quad, 2 input Nand gate, with a 4011B
( pls see http://hyperphysics.phy-astr.gsu.edu/hbase/Electronic/SRFFclock.html )
It's not normal step & direction! It also loses pulse in deciding direction..
Here is the reply upon asking the intended purpose of the setup:
"This circuit is made to read a quadrature encoder to detect rotational direction. And number of counts, it is not a cmos implementation, it is built with digital blocks on PSoC device"
i also looked at: https://www.allaboutcircuits.com/worksheets/flip-flop-circuits, was unclear to me from the logic offered as to which is correct.
Surely there must be a simple schematic that can do this, that MUST not lose a single step. - i cant be Robinson Crusoe here!
It must decide direction before 1 complete quadrature cycle too.
The output 'speed' , or RPM of the encoder is not going to be so hi as to cause propagation delays to need consideration ;-)
[I also considered http://www.learnabout-electronics.org/Digital/dig53.php ]
There is a commercial IC device avail, but buying it is becoming elusive, & it aint cheap (compared to CMOS).
Thanks HEAPS!