2021-08-30 07:12 AM
Hello,
I have spent some time reading through the VL53L0X API and all documentation related to this sensor.
I was hoping your team could clarify the usage of a few functions and features.
I have many, many more questions but if we could answer these it would be an terrific start.
Thank you!!
Solved! Go to Solution.
2021-09-07 11:36 AM
Wow - when you said you read the documentation, you weren't kidding.
I'll do my best - but I will probably miss some.
2021-09-07 11:36 AM
Wow - when you said you read the documentation, you weren't kidding.
I'll do my best - but I will probably miss some.
2021-09-21 06:59 PM
John,
Thank you for the thorough reply. This is very helpful.
I'd like to take a closer look at 2 topics in particular.
RIT
Histogram Data
Thank you for engaging my questions,
David
2021-09-22 07:30 AM
There is code in the VL53L0X software to get histograms, but there was a chip issue. Not all chips started the histogram in the same bin. And sadly we deprecated the feature from the VL53L0X. So you could possibly use the histogram data for smudge, but it would not be reliable in production.
When you set the minimum signal rate you will not get an answer until that signal is intensity is crossed. This is to prevent identifying false targets.
At the end of each range, you will have the range data, but if no signal crosses the threshold, the range will = 0.
2021-09-22 08:23 AM
John,
Thank you for the info on histogram data. This indicates to me it might be a fun project but since we're looking to deploy hundreds of these, it's not worth the time to develop on. We found out about the L3CX rather late and will be upgrading to it, but our first several hundred units will have this old model.
Regarding RIT and minimum signal rate, I think that in all of my tests, adjusting the signal rate limit checks generally didn't affect the number returned as RangeMilliMeter, rather, they changed the RangeStatus integer to "2" .... I am using API version 1.1; maybe there have been some changes over time?
Anyway that's likely semantics.
I have been most strongly pursuing RIT because I seen it mentioned here and in documentation as the best (software) tool for smudge compensation, but i'm having difficulty getting it to be effective against even minor smudges. I suspect I am implementing it incorrectly. We've had a couple of challenges.
Maybe one issue is my understanding of "xtalk/SPADs" is incorrect. Am I simply meant to enter the Xtalk comp rate from Xtalk calibration, choose a N scalar (starting with N=1.5 for starters, right) and hit the gas?
I have setting RIT to equal N * (Xtalk comp rate / y ) --> where y is the highest amount of active return spads I've seen from a given sensor on a part-to-part basis (It's usually between 185 and 195).
John, am I not supposed to divide by y? ... because that's what the sensor is doing behind the scenes?
Our other problem is xtalk calibration procedure itself. With our coverglass, we get "near ideal" ranging performance out to 100 cm, and we don't need anything further than that... so this does not call for xtalk calibration. Any time we add a comp rate, it worsens performance. However, the problem is that when a smudge is placed on the coverglass, all bets are off; performance nosedives.
How should we determine what Xtalk comp rate to use for RIT when, actually, we normally are better off without enabling a comp rate in the first place?
A related issue: even when we did tested older versions of our applications which were known to be "less than ideal", the comp rate calculated by the PerformXtalkCalibration( ) function was inappropriate. We built a testbed to recreate the calibration procedure detailed in the manual, but the comp rates that the API function gives us are generally 3 to 5 times stronger than necessary. That seems like a problem which would also affect trying to get an Xtalk comp rate to use for RIT.
Sorry this is so scattered. I know my best chance at getting the answers I want is asking clear, concise questions, but in truth we're pretty stumped by many things here.
Thank you a million for your support, let me know if I can provide any data to assist!
David
2021-09-23 08:00 AM
Would you consider looking at the coverglass from Hornix.com.tw. if you go to the product page you will see some cover glass that looks like:
If you go to the product page all the way at the bottom, you will see a bit of coverglass with an opaque line in the center of 2 pieces of 'glass'. These sensor covers are impervious to crosstalk. Even a heavy dusting of coffee creamer will not give crosstalk.
I think this would guarantee a solution to your issue.
Would that be possible?
2021-09-23 10:47 AM
Hi John,
Thanks again for the quick reply!
Yes, we also started doing business with Hornix (and Giovanni from Gilisymo) this week and ordered their dual-window coverglass.
We tested the dual-window design and are excited to transition, however, all of our current inventory and units in the field / sold to customers were built with the old coverglass. We are trying to make the best out of those existing builds by deploying a software update featuring RIT and anything else that will help mitigate smudge crosstalk noise.
I can continue investigating software solutions here, but I wanted to see if we can get an authoritative clarification on how RIT should be configured.