2022-11-16 03:01 PM
I have two 3-element arrays on my 4-wheel robot, one on each side. I use the arrays for simple distance measurements, and also to orient the robot parallel to a nearby wall by turning it until the front and back VL53L0X sensors (separated by 8.5cm) report the same distance. This works, but not as well as I'd like, so I started investigating. I found that the output from a single sensor is quite 'noisy' in that it's reported distance varies rapidly up and down +/- 0.5cm from the average. With two independent sensors, one can be reporting +0.5cm while the other is reporting -0.5cm (not parallel at all) when in actuality they physically at the same distance. I have included an Excel plot showing the output from the 'center' sensor on the right-hand side.
Currently I have all sensors set for a 20mS measurement budget. Would a longer measurement budget improve this performance? Is there anything else I can do? I have looked through the VL53L0X manual and the API and I didn't see anything other than the measurement budge setting that might affect measurement stability.
If this performance is typical for the VL53L0X, will changing to the VL53L1X or other sensor provide better performance? My application is for measurements in the 10-150cm range, and I would like to be able to detect distance changes in the 200mS time frame.
TIA,
Frank
2022-11-17 01:03 AM
Hello Frank
The VL53L1X will give you better performances for your application [10 cm - 150 cm].
There are two driver versions, please use the one called ULD.
Regards
Julien
2022-11-17 07:08 AM
2022-11-17 07:13 AM
Max distance for example you need 150 cm ? To get it you need to be in perfect condition, no ambient light, big target, good reflectance surface etc... while with the vl53l1x you have more margin. With the L0x when the SNR becomes poor the accuracy will decrease drastically.