cancel
Showing results for 
Search instead for 
Did you mean: 

Estimated_reflectance and range_sigma in VL53L5 and L8

Yunlion
Associate II

I have questions regarding estimated_reflectance and range_sigma in VL53L5 and L8

  • The reflectance: how is it calculated? Is it R=signal_rate_per_spads*depth^2/K? the number_of sapds_enabled seems a useless parameter for a user? Can we know this calibrated constant K?
  • The ambient_light has nothing to do with the R calculation?
  • For these multi zone TOF, if we place a flat target in front of TOF, it shall give the same R. ST’ already does the internal compensation for the depth and for the angle of incidence. Right??  I can not find this kind of info in ST’s doc. Can only guess. If it has, please point out the Docs source
  • The range_sigma: for L5, if the resolution is 4 x 4, the readout is zero. I can read out  this parameter if it is 8 x8
  • What is the default sigma_threshold for distance in L5? Is it the same for resolution  8x8 and 4 x4? Also, when I change this threshold, it is unclear if this threshold, e.g.,100mm shall multiply with a scale factor 128. Please confirm that

Thanks in advance if ST or anyone can give me the answers!

1 ACCEPTED SOLUTION

Accepted Solutions
John_Kvam
Senior II

I'm sure Bin doesn't want to give away secrets, but your questions aren't that specific.

So the easy one. Yes, ST does the radial to perpendicular calculation for you. If you put the sensor 1 meter from a wall and exactly perpendicular you will get all the zones equal to 1 meter. 

Reflectance starts out as the number of photons detected during the ranging period and multiplied to give photons per second. Call this the signal strength. But the sensor can adjust the number of SPADs - so it doesn't waste power when there are tons of photons being returned. So a good measure of the brightness of an object is Signal per SPAD. 

That way one can compare targets no matter how many SPADS are enable. 

I'm not sure how scientifically accurate 'Reflectance' is. I'd guess ST took a bunch of targets of different reflectivities and and ranges and compared the signal strengths. But clear that with your FAE. This is just how I did it. 

The first thing the sensor has to do is subtract the ambient. So the ambient is not part of the reflectivity calculation.

The sensor is not fast enough to measure photon times directly. (The speed of light is 6.6pico seconds per mm if you account for the out and back.) So the sensor uses statistics. And with statistics you get a range rather than one answer. So read the result as the range value, with a Sigma. If the signal is nice and strong, the sigma will be low. But if the signal is weak the sigma will be higher.

The sensor will flag a error in RangeStatus if the Sigma is over a certain amount - the threshold that you set. But there is no reason you have to use this feature. Just read the sigma and make your own decision. Or set it to your liking. It should be in mm.

As for not getting a sigma in the 4x4 mode - I'm pretty sure you have a coding error. 

 

If this or any post solves your issue, please mark them as "Accept as Solution". It really helps the next guy.
And if you notice anything wrong do not hesitate to "Report Inappropriate Content".
I am a recently retired ST Employee. My former username was John E KVAM.

View solution in original post

4 REPLIES 4
Bin
ST Employee

Hi:

May I ask if this is a project or self-study? The questions you raised above are confidential and not convenient to share. Really sorry for that. However, if it is a specific project, you can contact our FAE and get the answer. Thank you

Best Regards,

Bin FAN

Yunlion
Associate II

thank you for the reply! It is a project. I will contact the FAE.  BR/Yunlion

John_Kvam
Senior II

I'm sure Bin doesn't want to give away secrets, but your questions aren't that specific.

So the easy one. Yes, ST does the radial to perpendicular calculation for you. If you put the sensor 1 meter from a wall and exactly perpendicular you will get all the zones equal to 1 meter. 

Reflectance starts out as the number of photons detected during the ranging period and multiplied to give photons per second. Call this the signal strength. But the sensor can adjust the number of SPADs - so it doesn't waste power when there are tons of photons being returned. So a good measure of the brightness of an object is Signal per SPAD. 

That way one can compare targets no matter how many SPADS are enable. 

I'm not sure how scientifically accurate 'Reflectance' is. I'd guess ST took a bunch of targets of different reflectivities and and ranges and compared the signal strengths. But clear that with your FAE. This is just how I did it. 

The first thing the sensor has to do is subtract the ambient. So the ambient is not part of the reflectivity calculation.

The sensor is not fast enough to measure photon times directly. (The speed of light is 6.6pico seconds per mm if you account for the out and back.) So the sensor uses statistics. And with statistics you get a range rather than one answer. So read the result as the range value, with a Sigma. If the signal is nice and strong, the sigma will be low. But if the signal is weak the sigma will be higher.

The sensor will flag a error in RangeStatus if the Sigma is over a certain amount - the threshold that you set. But there is no reason you have to use this feature. Just read the sigma and make your own decision. Or set it to your liking. It should be in mm.

As for not getting a sigma in the 4x4 mode - I'm pretty sure you have a coding error. 

 

If this or any post solves your issue, please mark them as "Accept as Solution". It really helps the next guy.
And if you notice anything wrong do not hesitate to "Report Inappropriate Content".
I am a recently retired ST Employee. My former username was John E KVAM.

Great, Thanks, it is very helpful!