cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L4CD not working with black glove

jmueller
Associate II

I am trying to use the VL53L4CD sensor in our application, however I am seeing that while using a black latex glove almost on top of the surface (distance of less than 5mm) that it reports distances > 300mm.  It seems to read okay with a range of 10mm or higher.  Our application needs to range fairly close 35 to 1mm.  How can I resolve this?

5 REPLIES 5
John E KVAM
ST Employee

I'm going to need more information. 

Can you print out the range, the status, the ambient light, the number of SPADs and most importantly the signal strength? And having a picture of the setup would be helpful as well.

There is not a lot of difference between a black latex glove and no target at all, but there should be enough. 

The only way you can get a distance of 300 is to actually have a target at 300 or more away. 

As the sensor averages all the photon timings a black, near target could be averaged with a farther target. 

And if that farther target is really reflective it could have undue influence on the result.

Take a stainless sink with a mirror-like finish for instance. Lots of photons from that.

If your hand (and glove) covers the entire field of view(FoV), you will be fine, but if it only covers half the FoV, then mostly you see the sink.

Could that be happening?

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

Hi John,

I appreciate the quick response.  With respect to readings; below is a sample I am getting on a read from the sensor when my finger with glove covering is pressed on the entire sensor (cover entire FoV in a low lit room). Are these the values of interest you are looking for?

  • result distance_mm = 276mm
  • result.ambient_per_spad_kcps = 0
  • result.ambient_rate_kcps = 88
  • result.number_of_spad = 213
  • result.range_status = 2
  • result.sigma_mm = 131
  • result.signal_per_spad_kcps = 0
  • result.signal_rate_kcps = 0

Here are my settings to initialize:

  • VL53L4CD_OFFSET_MM 0
  • VL53L4CD_XTALK_KCPS 0
  • VL53L4CD_TIMING_BUDGET_MS 100
  • VL53L4CD_INTER_MEASUREMENT_MS 0
  • THRESHOLD_ENTRY_MM 35
  • SIGMA_THRESHOLD_MM 0
  • SIGNAL_THRESHOLD_KCPS 1024
Additionally, note there is no glass covering and the protective liner is removed as well.  I have not done any calibration or used any offsets.  My entry threshold/range is 35mm and would like to be able to support up to 1mm.  Our requirements are for very close range. Hand held device, hence need to support various skin tones, and glove coverings.  Unfortunately, I cannot provide pictures due to proprietary hardware sensitivities.  

 

John E KVAM
ST Employee

Oh, so close - you missed range_status. Was it 0. Any status not equal to zero tells you what went wrong. 

1) was the glove covering the entire field of view? (at 276 the FoV =~ 92mm)

2) is there anything at all in the background that could be reflecting photons?

3) Try doing an offset calibration. Take a white piece of paper and ranging on that a bunch of times.

         Average those results. The difference between that average and your actual is the offset.  It can be as high as 25mm.

But the biggest issue is your signal_per_spad is 0. And your signal_rate is zero. 

These are truncated integers meaning that both are less than 1KCPS. 

It takes about 0.5M counts to get a good range.

(So, your status should indicate 'no signal' and that 276 is kind of a random number.)

Try lowering your signal threshold. 

You are not meeting threshold and therefore the sensor gives up. 

And increase your sigma as well. You are demanding perfection, but don't have enough signal to get that kind of accuracy. 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

Hi John,

Thanks for the information and recommendations.  I think my range status from above was being reported as "2", which I think per VL53L4CD Ultra Lite Driver (ULD) user's manual is:  "Signal is below the defined threshold".  

The glove was covering the entire field of view at a "real" distance of ~< 1mm (actually pressing on it firmly). So I don't believe there was anything to be detected in the background. 

I did try a few quick tests per your recommendation, which was to adjust the sigma and signal values. I tried values of 15 to 30 for sigma and also 512 to 0 for the signal.  That produced the same results for the most part, however I do think the status was 1 instead of 2.  

I will try the calibration next per your recommendation above.  

I do have a general question...is the use case I am presenting a valid case in the sense of pressing on the sensor to cover the collector and emitter fully, or should there be a small distance/gap (i.e. window)?

John E KVAM
ST Employee

If you do a good job of pressing that glove on the sensor, there is no way for any of the light getting out one hole to get back into the other hole. 

In a real installation there will be a bit of coverglass and that will enable a bit of light to leak through. 

In your testing- leave a mm or two between the sensor and the object. That will be a more fair test.

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.