2025-02-27 3:02 AM
We are trying to assemble a laboratory plant from https://github.com/gergelytakacs/AutomationShield/wiki/FloatShield
The ball position sensor (VL53L0X) is positioned at the top of the transparent policarbonate tube.
We checked the reported ball positions by moving the ball in increments of 5 mm and noting the measured value. The results look almost linear without any obvious issues.
Since the example controller was still not working as it should, we checked the measured ball position with an external reference video system during the actual operation. The graph below shows the ball position from the bottom of the tube.
There appears to be large discrepancies in the middle of the tube.
There are internal reflections of the ball on the sides of the tube - could this cause issues in reported ball position? Is it possible to measure only the first reflection with these sensors? This would practically invalidate all other reflections since those paths are longer.