gingery_machines @Wiki encoders

Menu

FrontPage
FAQ
Index
Machine
#construction
##design
##foundations
##patternmaking
##casting
###lostfoam
###gas furnace

#designs
##lathe
###modifications
##shaper
##bootstrap
##hexapod

#usage
##sharpening

Gingery
#series
#explanations

Editorials
#authors

WishList
Legal

This page:
347hits total
2hits today
Trackback(0) Referer(39)

Encoders

Homemade encoder designs, commercial encoder recommendations, salvaged encoder stories

CHEAP-ENC V1.0
file: 2inch-45degree.ps
Phydbleep hand-wrote this post-script file for a homemade optical semi-random tach/position encoder ring.
Open the file with a text editor like notepad to change/view the sync pattern. Use acrobat reader or equivalent to display the output.
It uses a 128 pixel photodiode strip and a PIC 16F819 to read an abosolute position from the encoded pwm ring..


Phydbleep: I added 3 sync rings (45, 90 and 180 degree) and a ring for a tach pickup.. The sheet has 720/360/180/and 90 division tach rings.
5 of each per 8.5"x11" 2450 dpi heavy acetate sheet which costs $1 at kinko's, for a printing cost of $0.25 each per encoder ring.

Make sure the person on the printer knows WTH they are doing... Conversion to pdf is OK, but a trip into Photoshop at the standard 72x72
will kill the fine detail and render the PWM and Tach tracks useless.
# Try importing it at 2450x2450 and it might work.. It might also eat all the memory and crash the machine..
PRINT TO DIRECTLY TO TRANSPARENCY FILM, DO NOT PRINT TO PAPER THEN PHOTOCOPY.
Again this will kill the fine detail in the PWM track and render the encoder useless.

The details on the fine detail... And why it's so important.
The PWM track is Symmetric PWM.. Go to http://www.taosinc.com/downloads/pdf/encoderdesign4b.pdf
for all the scientific explanations or look at the design of the PWM track in Ghostview or another Postscript file viewer at 10X. You will see that the bars
are of 3 different widths, You must preserve this when it is printed or the encoder will not work.

Number the rings counting in.. 1 = PWM, 2= Tach, 3/4/5 are sync.. Read 1 @ 3 o-clock, Read 2 & 4 @ 12, Read 3 & 5 @ 6.
The sensor separation prevents falsing in the pwm and tach rings.. you need 5 leds and 132 photodiodes..
128 diode strip array + 4 discretes for rings 2-5.

The 128 pixel strip is actually reading the pwm code from the outer ring. You can read the shaft position from a cold powerup without jogging the shaft this way. I'm encoding the position right there and shooting it to a data aggregator @ 3Mbit/sec.. The encoder/aggregator will have .5 farad caps for brown-out protection. If the power dies, the machine will coast to a stop and the encoders/aggregator will have enough time to store current position/angle.

Still to do.. Bonding the encoder to a transparent stabilizing substrate and mounting it to the shaft..



Links:
Extracting quadrature encoders from mice:
beware that some mouse counter chips frequently lose steps...
http://www.seattlerobotics.org/encoder/200311/johnson/Mousebot.html

recent changes