Home made optical rencoder issues


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Without the chopper disks, if i break the beam on the sensor with something opaque, i get an increment of 1 on the counter and same when the beam returns to unbroken. This works as expected. If the sensors are left alone, i do not get any increment. With the encoder disks in place i can rotate them at pace and get believable increments. My encoders are ~50 pulse/rev and i can get about 50 pulses if i manually rotate it about 360 degrees.
    My problem is when i rotate them slowly - i.e just a small movement might increment the counter by 10 or 20. My assumption is that the sensor is on the edge of the opaque bit on the encoder and 'flaps' a bit. But, i do not get this when i manually break the beam which seems odd.
    That simply means that your disk is not sufficiently opaque. Tray with two disks one on top the other (even three if you have room), this will increase the opacity by a factor of 2 or 3.

    Al.
    Last edited by aratti; - 24th November 2009 at 13:31.
    All progress began with an idea

  2. #2
    Join Date
    Sep 2009
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    thanks for the input people, i really appreciate it.

    I am going to try printing them on another printer first. The other one i have is a Xerox which has the ability to 'pile on' the toner and make it really thick. The other hp laser i have is a little on the pathetic 'economy' side.

    The awkward thing is, the data sheet does not really give specifics on the working area of the sensor, only where the optical center of it is. i.e it does not tell me the minimum width over the optical center to sufficiently break the beam.

    I think i should be able to get it to work without any extra electrics or de-bouncing but it might take a bit more trial and error. I don't think its a debouncing issue as it does not bounce when i break the beam with something random - even a piece of torn off paper seems to be fine... It mush just be my dodgy disks.

  3. #3
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default

    I remember reading somewhere that someone was having similar problems with printed disks. The issue was that since the detection was IR, the visible black was not being seen by the sensor. You might try something else for those detectors as a test, say stripes of black tape.

    Just a thought.

    Bo

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    Did you had a look to Parallax kit of 44 " stripes " wheel encoders ???

    http://www.active-robots.com/product...lwatcher.shtml

    look same as you try to do ...

    Already working.

    my two cents...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Sep 2009
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by boroko View Post
    I remember reading somewhere that someone was having similar problems with printed disks. The issue was that since the detection was IR, the visible black was not being seen by the sensor. You might try something else for those detectors as a test, say stripes of black tape.

    Just a thought.

    Bo
    Yeah, i had thought of that but the size of my disks are only about an inch round OD - Pretty hard to do something like that by hand. Perhaps there are microscopic holes in the toner still letting the light through. I might pop one under a microscope at work and have a look. I also read somewhere else that when printing these, it can be better to print them on a colour laser printer but using CMYK to print it and not just the black. The theory there is more toner on the surface and it's more likely to block the IR. I might also give that a try.

    Quote Originally Posted by Acetronics View Post
    Hi,

    Did you had a look to Parallax kit of 44 " stripes " wheel encoders ???

    http://www.active-robots.com/product...lwatcher.shtml

    look same as you try to do ...

    Already working.

    my two cents...

    Alain
    Great find - i looked all over for something 'pre-fabbed' that was not too exensive but didn't find anything. Had i come across them before i might have gone that way, however i've now built the 'sensors' so i'd like to persevere with them for the moment.

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Ok ...

    So ... The first good thing would be tho have access to the base of the phototransistor ...
    just to make it less sensitive ... ( you've correctly read ).

    Second ... SPEED ! Opto transistors really are lazy components ... I just dig into my docs to find an old 30 Years old Motorola scheme intended to make performances acceptable ...

    Also consider Honeywell HOA 901 or equ. components ... worth the try.

    Third: encoder Wheel ... did you try the transparent Polyester film for Inkjet Printers ???
    ... that's what I use for my PCB UV Exposure !!!

    read you soon

    Alain
    Last edited by Acetronics2; - 26th November 2009 at 13:43.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Oh been there done that. After a lot time in front of the scope I found the following issues when creating my own optical wheels.

    1). photo transistor collector resistor if set too high will bounce output pulses. IE, it is too sensitive to ambient light. I suggest you take a black pen cap and poke a hole in the end facing the LED. This is just for a test to dial in the problem. Also try 4.7K~30K collector resistor using a 5v supply to stiffen the response to eliminate bounce. Try to change LED output level too. You will find through paper the difference between thresholds is very narrow, see point number 2 below if that is the case.

    2). IR goes through paper even printed with black ink. The best optical wheel is one made of 0.020 black plastic or better yet aluminum with windows for stripes.

    3). Try edge reflection rather than break beam. The problem will be how thin the stripes are on the disk. The finer you go the more likely you need surface mount parts with reduced photo transistor sensing area and narrower LED output. You will need a pin point light source/detector. I made quite a few with surface mount, the challenge is alignment affix all optics to the same board and space correctly.


    Nick
    Last edited by Macgman2000; - 26th November 2009 at 19:17.

Similar Threads

  1. Home made PCB's
    By Smart in forum Off Topic
    Replies: 22
    Last Post: - 23rd October 2010, 19:02
  2. 2 Beam Optical Pulse Generator
    By WOZZY-2010 in forum Schematics
    Replies: 8
    Last Post: - 6th April 2010, 05:03
  3. USB Optical mouse as motor encoder
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th August 2008, 16:09

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts