cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X calibration process

HHaje.1
Associate II

Hi

Do we need to calibrate every sensor in the production line, or we just need to make the calibration once to the standard product?

Sensor: VL53L1X.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

Both of those are true.

The offset calibration must be done per device.

if you promise your glass quality is consistent and your production values are such that the air-gap between the glass and the sensor is consistent, then go ahead and crosstalk calibrate the first 100 of the line. Then use the worst of those calibration numbers in the rest of your production run, assuming they are all kind of close.

The reason for using the worst is the penalty for over calibrating is a slight under-range. The penalty for under calibrating is a false target. And you don't want that.

  • 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

20 REPLIES 20
John E KVAM
ST Employee

Both of those are true.

The offset calibration must be done per device.

if you promise your glass quality is consistent and your production values are such that the air-gap between the glass and the sensor is consistent, then go ahead and crosstalk calibrate the first 100 of the line. Then use the worst of those calibration numbers in the rest of your production run, assuming they are all kind of close.

The reason for using the worst is the penalty for over calibrating is a slight under-range. The penalty for under calibrating is a false target. And you don't want that.

  • 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'

Thanks for the information,

So an offset calibration must be done for every device whatever the consistency of the protection glass, Am I getting that right?

If so, I'm wondering why it can't go as the second one?

For the cross-talk calibration, you mean by 'worst number` is the highest crosstalk value in kcps/SPAD, right?

For the last sentence, I didn't get the 'slight under-range`. And for the 'false target', would that be the protection glass itself?

John E KVAM
ST Employee

The offset depends on how much your sensor was affected by the wave solder operation. For some reason the temperature causes a bit of a drift.

So you have to do that one.

Worst does mean "the highest crosstalk value in kcps/SPAD." Right!

When over calibrated you will anticipate more photons at zero range than were really there. It throws off the results slightly.

But if under calibrated the sensor will 'see' the photons from the coverglass and assume they are from a real object. This leads to a false detect.


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'

Thanks, it's a step forward.

To fully grasp the offset calibration purpose and effects, I think the error would be measured in several millimeters if not done per piece, regardless of the measured distance, right?

For the cross-talk calibration, is the glass cover the only false detected object, or it could affect the measurements accuracy ahead?

John E KVAM
ST Employee

If it's an offset issue, you will be off by the same number of mm in all your measurements on that sensor. A different sensor will have a different offset.

If it's a crosstalk issue a good, strong, near object will give you the right answer. But a dull, small, more distant object will measure shorter and shorter as it moves away.

(And you could even get ghost targets.)

The crosstalk issue is the photons hit the coverglass and bounce back. So you get a couple thousand photons at distance 0. If you get 20Million at distance 20cm, clearly it doesn't matter much. But if you get a couple thousand photons at distance 1M, you will average to 50cm.

So, if coverglass, then please calibrate.


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'

Thanks, that's very clear now, and it explains the false readings of water tanks at dark (Just after the sunset).

Here, I'll do the calibration for sure!

However, I'm concerned about the requirements, so I've searched and come out and read this thread. I just would to make sure that I don't really need that gray 17% sheet (stated at user manual) to perform the calibration, just a well-known wide object, right?

Thanks again for your support 🙂

John E KVAM
ST Employee

When doing crosstalk calibration you need to find a target and a distance where the sensor reports a range that is 10-20% shorter than it should be.

When you have that, you can run the crosstalk calibration and give it the real distance.

Knowing the real distance, and the measured distance and the signal strength of the measurement, the calibration software can work out how many photons were returned by the coverglass. And that's the crosstalk number.

By choosing a reasonably dull (non-reflective) target, the distance at which you have to calibrate is reduced - as is the size of the target.

A dark gray target works well for this. It doesn't have to be 17%, but it should be reproducible. So you could buy a commercial white balance card set. Something like:

https://www.bhphotovideo.com/c/product/1365030-REG/vello_wb_clii_white_balance_card_set.html/specs

But be careful - the diameter of the target has to be at least 1/2 the distance to the target to work well. (That's why the dark target is specified. It can be smaller.)

And that black is closer to 17% than is the gray. I'd try them both.

And buy a couple of sets - and keep one locked away in case you need it. They are not guaranteed to be calibrated. So buy a few sets at the same time.

You can buy Munsel calibrated paper from X-rite.com but it's really expensive.


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'

I've well received the notes for the calibration procedure.

Thank you very much

Eln.1
Associate II

Hi HHaje.1, I see that you were able to measure water level with the VL53L1X, I was doing some testesting but the values I am getting are always less(~3 or 5cm) that the real distance.

It's not a linear factor, but it seems to be something with the water refraction. With solid targets the sensor measure very accurate.

My question is how did you calibrate/setup the device to make it work?

Thanks