Clarification on how VL53L0X and VL53L1X calculate distance from photon bin counts
- September 28, 2021
- 1 reply
- 1296 views
Could someone please shed some light on the algorithm the VL53L0X and VL53L1X use to calculate the distance from the returned photons for each laser pulse? @John E KVAM you’ve mentioned in other blogs that photons seen are “averaged�? – is the logic something like “during the return period there were X number of photons counted, photon number X/2 was counted in bin #11, therefore use the time of this bin for this pulse�??
I’m really interested in this because like a couple of other people have noted I’m finding both these sensors return consistently different distance for surfaces with different reflectance. I’m not using a cover glass, the sensors are perpendicular to the surface, I've been using a 100ms timing budget averaged over 50 ranges and am measuring fairly short distances (between 177-279mm). Some results for different materials arranged from shiniest to least shiny (according to my best judgement) are attached.
As you can see the error trend is fairly consistent between materials for both sensors. In another post you mentioned that the centre of the VCSEL illuminates slightly before the outer region, would the shiny surfaces picking up this effect be the cause (compounded by my measurement distances being quite short)?
By the way these sensors are amazing - keep up the good work!
