Low cost, low resolution optical absolute encoder?

I am designing a system, where I would like to add an absolute position encoder.  But, my idea does not need the high resolution, or cost of the encoders I am finding in the market so far. I prefer optical over a pot, for its reliability.

The object I am motorizing needs to spin slowly around an axis in continuous rotation, but will normally stop at 90 deg increments. It won't go faster than 3 RPM.

Mechanical CAM switches;

One option I was considering was to use mechanical cam switches, and maching a wheel with detents at the 90 deg mark.  There would be 3 cam swtiches for each of the 90 deg positions, so that my system can know when it is approaching a stop, so that it knows to slow down.

It does need to know where "home" is, so I would need an additional cam wheel and switch, to mark home.

It occured to me that I might find something off the shelf. I can find and higher resolution absolute position sensors, but I really don't need any more than 2 bits of resolution.  

Electronic position sensors;

Note that I already have a motor encoder, which will primarily be used to control speed, but I can use it for position control after I have homed.   However, I don't want the device to have to spin the object up to 360 deg to do the homing.  I figured if I had a very coarse optical encoder, I could just home to what ever is the closest point to the current position. E.g. if I am somewhere between 0 and 90 deg, I could just move forward slowly untill I hit the 90 deg location.

It just occured to me, that if I had a 2 pulse-per-rev quadrature encoder at the shaft of the output, I would have exactly what I am asking about.  So, it seems that asking the quesitons, has lead me to an answer.

I could just delete the above posting, but since I typed it, I might as well leave it up for others to benefit.  Also, if you have any cautions about this approach, let me know.

-Joe

Well, I think the idea of

Well, I think the idea of using a quadrature encoder is not going to work.  The issue is that I have to use a slip-ring for some wires, so my encoder has to have a hollow shaft. I can’t find a 1 ppm encoder that has a hollow shaft for under $650 USD. What I want is actually quite simple, but it is not typical in the industry, so finding an off-the-shelf solution is hard.

So, it looks like I am going to go with a mechanical cam switch.

-Joe

Inspiration…

Maybe you can get some ideas out of this post here on lmr:

https://www.robotshop.com/letsmakerobots/node/27382

Then the servo could be replaced by an encoder.

I ended up deciding to use a

I ended up deciding to use a Gray code disk encoder.This type of encoding sceme is designed so that each changein position has only one bit change.  This helps a lot during transitions, when the sensor may change state a few times.

In particular I am using a version by  N. B. Spedding, which allows me to use a single track for the disk, with multiple sensors.  This allows me to obtain 30 positions, with 5 sensors.

http://www.winzurf.co.nz/Single_Track_Grey_Code_Patent/Single_track_Grey_code_encoder_patent.pdf

-Joe