cancel
Showing results for 
Search instead for 
Did you mean: 

What is VL53L0X_REG_RESULT_PEAK_SIGNAL_RATE_REF?

WOh.2
Associate II

Range Status value 3 is "Min Range Fail", which is checked by reading from VL53L0X_REG_RESULT_PEAK_SIGNAL_RATE_REF.

What is the Peak Signal Rate Ref.?

I'm finding how to differentiate between a reflective sheet and a high gloss stainless steel like a mirror.

I hope this value helps me.

Best Regards,

Woojin

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

When you take a range, the sensor likes to see 20Million photons per second. If it gets more, it turns off SPADS on the next range. If it gets fewer it adds SPADS.

The SPAD is a Single Photon Avalanche Diode. and there are 256 of them in the array. (However some are partially covered to allow for a finer adjustment.

When you get a range you will return the signal rate. One can use this directly to determine if the range was accurate (Count will be about 20M).

Or one can use this to get a level of actual signal (Take the signal rate and divide it by then number of SPADs used.)

A near target will have a much greater signal strength as the number of photons goes down as a square of the distance.

Given a known target - like if the sensor is expected to see the same thing every time - one might be able use the distance and signal rate to get a bit more accuracy. But that would take a lot of analysis on your part. Maybe you could add a couple of mm on a very strong signal, or maybe subtract a couple on a weak signal.

  • john

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'

View solution in original post

2 REPLIES 2
John E KVAM
ST Employee

When you take a range, the sensor likes to see 20Million photons per second. If it gets more, it turns off SPADS on the next range. If it gets fewer it adds SPADS.

The SPAD is a Single Photon Avalanche Diode. and there are 256 of them in the array. (However some are partially covered to allow for a finer adjustment.

When you get a range you will return the signal rate. One can use this directly to determine if the range was accurate (Count will be about 20M).

Or one can use this to get a level of actual signal (Take the signal rate and divide it by then number of SPADs used.)

A near target will have a much greater signal strength as the number of photons goes down as a square of the distance.

Given a known target - like if the sensor is expected to see the same thing every time - one might be able use the distance and signal rate to get a bit more accuracy. But that would take a lot of analysis on your part. Maybe you could add a couple of mm on a very strong signal, or maybe subtract a couple on a weak signal.

  • john

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'

Hi John,

"Or one can use this to get a level of actual signal (Take the signal rate and divide it by then number of SPADs used.)" as you said.

How could I get the number of SPADs used?

And I am a bit confused. What is the signal rate? Is it VL53L0X_REG_RESULT_PEAK_SIGNAL_RATE_REF or SignalRateRtnMegaCps?

Best Regards,

Woojin