Sunday, November 12, 2006

Minimun circuit Disk rotation (Jerome).

Hello Everyone,
This question was from Jerome sometime back.If I have a circular disk painted half in black and white. Now I have two sensor each one of them produces 1 and 0 when it is under (or detects) black and white region of the disk respectively. Now place the sensor anywhere under the disk and give me the smallest circuit (with Minimum digital components) to find if the disk is rotating clockwise or anticlockwise.PS: When sensor in under white region it produces output 0 and when it is under black it produces 1
Thanks n Regards,-- Bharat

1 comment:

Prashanth Goud said...

Place sensors(s1,s2) bit away from partition line i.e. place them totally under black or white semicircle. Assume that they are under black (then outputs of s1,s2 are 11), when it rotates clock wise s2 becomes 0 first, next s1 also becomes 0 and then on further rotation s2 becomes 1 and at last s1 becomes one.
i.e next states would be after 11 ->10->00->01->11. Similarly if it is anticlock wise s1 becomes 0 first and series continuous like this 11 ->01->00->10->11. These two are closed state machines. But we can design using only the first change of state (as this reveals clockwise or anticlockwise direction) i.e 11->10 (clockwise) 11->01 (anticlockwise).
Now Design the minimal ckt.