+ Reply to Thread
Results 1 to 10 of 10

Thread: How does the CCD Array in the sharp GP2D12 infrared sensor calculate angles/distance?

  1. #1
    fantabulous68 Newbie
    Join Date
    Feb 2007
    Posts
    267

    Default How does the CCD Array in the sharp GP2D12 infrared sensor calculate angles/distance?

    This is what i know:

    If the surface of the liquid/object is within range and in line with the IR beam, reflected light forms an image on a linear CCD array in the receiver.

    Can someone give me a more in depth explanation, or relevant links would be useful too.
    Learn without thinking begets ignorance. Think without learning is dangerous.


  2. #2
    fantabulous68 Newbie
    Join Date
    Feb 2007
    Posts
    267

    Default

    lol is that question hard? My examiner asked me that at my presentation yesterday

    I said it uses Triangulation, but he wanted to know how
    Last edited by fantabulous68; 22nd October 2009 at 01:15 PM.
    Learn without thinking begets ignorance. Think without learning is dangerous.

  3. #3
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,797
    Blog Entries
    13

    Default

    Quote Originally Posted by fantabulous68 View Post
    lol is that question hard? My examiner asked me that at my presentation yesterday
    hi Ms F.

    Look thru this link.

    Sharp GP2D12
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  4. #4
    fantabulous68 Newbie
    Join Date
    Feb 2007
    Posts
    267

    Default

    Look thru this link.
    Sharp GP2D12

    I have that link already and lol it doesn't even mention the word ccd array.

    Try ctrl+f ccd or ctrl+f array

    But thanks for tryingMr Gibbs

    Ok with google i found this info:
    This sensor works by sending a pulse of IR light through its emitter. If the light hits an object it is reflected back, creating a triangle between the send, receive, and reflection point. The emitter for this sensor is a precision lens that reflects light onto a small linear CCD array. The way the light falls on the CCD array makes it possible to calculate the distance from the object.
    • The GP2D12 uses an IR emitter and a small linear CCD array detector that is 3/4" away from the IR emitter, in order to calculate the distance an object is away from the sensor. It can detect distances that are around 4" to 30" away from the sensor. The IR emitted sends off some IR light and the light will be picked up by the detector. Between the IR emitter, the point of reflection at the object the light hits, and then the detector, a triangle is formed and from this the distance can be calculated. The angles in this triangle will change depending on the distance of the object and thus we can calculate the distances using the angles.
    but i want a more in depth explanation, somebody, anybody,
    im gonna try wikipaedia now
    Last edited by fantabulous68; 22nd October 2009 at 11:30 AM.
    Learn without thinking begets ignorance. Think without learning is dangerous.

  5. #5
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,797
    Blog Entries
    13

    Default

    Quote Originally Posted by fantabulous68 View Post
    I have that link already and lol it doesn't even mention the word ccd array.

    Try ctrl+f ccd or ctrl+f array
    Wooo Ms F that smarts!!
    The optics dont form a true image on the CCD just an illuminated area offset at an angle from the source.
    The GP2D12 outputs a signal proportional to this offset which is related to the angle.

    Using fairly simple trig from these angles a range/distance can be calculated.

    Roborugby Distance Sensor
    Last edited by ericgibbs; 22nd October 2009 at 11:43 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

  6. #6
    fantabulous68 Newbie
    Join Date
    Feb 2007
    Posts
    267

    Default

    Wooo Ms F that smarts!!
    lol is that sarcasm
    Thanx Mr Gibbs, thats a good explanation. I have a better understanding now.
    WIKIPAEDIA:
    A charge-coupled device (CCD) is a device for the movement of electrical charge, usually from within the device to an area where the charge can be manipulated, for example conversion into a digital value. This is achieved by "shifting" the signals between stages within the device one at a time. Technically, CCDs are implemented as shift registers that move charge between capacative bins in the device, with the shift allowing for the transfer of charge between bins.

    Often the device is integrated with a sensor, such as a photoelectric device to produce the charge that is being read, thus making the CCD a major technology where the conversion of images into a digital signal is required. Although CCDs are not the only technology to allow for light detection, CCDs are widely used in professional, medical, and scientific applications where high-quality image data is required.
    A CCD is an analog device. When light strikes the chip it is held as a small electrical charge in each photo sensor. The charges are converted to voltage one pixel at a time as they are read from the chip. Additional circuitry in the camera converts the voltage into digital information.


    Attached Images
    Last edited by fantabulous68; 22nd October 2009 at 01:10 PM.
    Learn without thinking begets ignorance. Think without learning is dangerous.

  7. #7
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,757

    Default

    That's not a bad picture. They've even got the trasmitted beam at 90' (which is correct) lots of the pictures you see for the sharp sensors get that bit wrong.

  8. #8
    heloiseaze Newbie
    Join Date
    Nov 2009
    Posts
    2

    Default

    If the transmitted beam is at 90',well, when it meets a perfect plane surface, as the picture shows it, how can it be reflected with an angle different from 0?

  9. #9
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,757

    Default

    Who said the plane surface was perfect?

  10. #10
    heloiseaze Newbie
    Join Date
    Nov 2009
    Posts
    2

    Default

    Oh yes, you are right, I have forgotten that. But, if the surface is a plane mirror, well, does it mean that the captor can't calculate the distance?
    Last edited by heloiseaze; 16th November 2009 at 04:09 PM.

+ Reply to Thread

Similar Threads

  1. is the GP2D12 infrared sensor A form of transmitted beam/thru beam sensor???
    By fantabulous68 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 18th October 2009, 06:44 AM
  2. Replies: 1
    Latest: 9th June 2008, 10:47 PM
  3. I need to calculate the distance of ir pair
    By ariakovo in forum General Electronics Chat
    Replies: 12
    Latest: 26th December 2007, 04:46 PM
  4. Connect gp2d12 infrared sensor with pic 16f877a
    By Alex Ng in forum Micro Controllers
    Replies: 7
    Latest: 3rd August 2006, 08:04 AM
  5. Sharp Distance sensor
    By Electronics4you in forum General Electronics Chat
    Replies: 9
    Latest: 5th September 2005, 01:23 PM

Tags for this Thread