Electronics > Metrology

Weighted Averages For Analogue Signal


Weighted averages for knowing the brightest spot on a ccd sensor.

You can (at least in theory) find the position of a star in a photograph of the sky to an accuracy of less that one pixel. It's straightforward to do:

-- If there's one bright pixel, then the star is centered in that pixel.
-- If there's two bright pixels of equal brightness, then the star is halfway inbetween.
-- If there's two bright pixels, but one is slightly brighter, then obviously it's closer to that pixel.

In practice, you just find the "centre of light" (by analogy to the centre of mass) of the image. A weighted average of the coordinates of the pixels in the image, weighted by the brightness of each pixel.

Presumably your device is doing a similar thing, except  it's even simpler because it's only 1 dimensional.

POSSIBLY Diffraction patterns from the edges of the target and interpolation. ALSO can use the intensity distribution of the laser. If the laser was on a piezo, even better.


The laser beam probably has about gaussian intensity profile, which hits multiple pixels. Calculating the centroid of the beam can easily give sub-pixel accuracies. You may need to take into account the thermal expansion of the silicon chip, as 50K temperature change expands the chip lenght by about 3um  :)

From a good quality 2D astronomical image millipixel resolution is easy and there are articles about micropixel resolutions!

Thanks a lot for the replies. This will get me started ...  working on the possible algorithms based on the ideas.


[0] Message Index

There was an error while thanking
Go to full version