cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L4cd not able to detect dark surface

pthakkar
Associate II

I am trying to use VL53L4CD to detect whether there is a car on top of the sensor or not...I am placing my sensor on the ground and trying to detect if a car is parked on top of the sensor. But it is not able to detect the cars bottom surface. However if I place any other object it is able to detect that....

Is this the right sensor for this application?

1 ACCEPTED SOLUTION

Accepted Solutions

The Time-of-Flight sensors work by shooting out a flash of photons and measuring how long until they return. So, it stands to reason that dark, non-reflective surfaces are going to be problematic. 

(For reference, white printer paper is 88% reflective, a matte finish black spray paint is 5% reflective.)

Now the underside of many modern car engine bays are covered by a black plastic shield, that is light, durable and helps with aerodynamics.  And that is probably your worst case. And to make matters worse, plastic is somewhat transparent to 940nm light. 

But ST did a pretty fair job of testing when it claimed the sensor could 'see' 1.2M. But the test assumed an 88% target.

But they also assumed some other testing parameters. 

In the datasheet, they claim between 450 and 475mm at 17% - which is a medium dark gray. This is not a bad specification. There are not very many targets darker than that. Although it appears you might have found one. Especially when that shield collects a lot of oil drips and road tar. 

They also used a 33ms range in the test - indoors. 

Now let's assume there is not much sunlight under the car body. So maybe the indoor number is not so bad an estimate. 

But you've clearly done the test. And it appears to have failed to meet your expectations.

You could try a longer timing budget. With more time to find photons, you might get a better result. 

Or you could switch to the VL53L1X - with its lens that gathers more light it really does range farther. 

But that lens costs money, and so it's more expensive. 

And there is always 'the next sensor' which will be better of course. But you might have to wait a long time for that. 

- john

If this or any post solves your issue, please mark them as "Accept as Solution". It really helps the next guy.
And if you notice anything wrong do not hesitate to "Report Inappropriate Content".
I am a recently retired ST Employee. My former username was John E KVAM.

View solution in original post

6 REPLIES 6
AScha.3
Super User

For detecting a car usually inductive sensors are used, something like a big wire loop in the ground.

Optical sensor on the ground is a bad idea, just imagine some drops of black oil dropping down...

If you feel a post has answered your question, please click "Accept as Solution".

Oil spillage and things have been taken care of. Only issue is that the sensor is not able to detect the car when it is on top..

Hello. No, it is not possible for an L4 not being able to detect a target
at ~40 cm.

@AlexCloned 

VL53L4CD can detect from 0 to 1200mm 


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'
Andrew Neil
Super User

I'm with @AScha.3 - an optical sensor is not the usual way to detect presence of a car, and doesn't sound like a particularly good way to do it.

Anyhow ...

 


In the title, @pthakkar wrote:

VL53L4cd not able to detect dark surface?


How do you know it's specifically "dark surface" that's causing the problem?

Some parts under a car can be shiny.

Also, the underside of a car is not a simple, flat surface...

 


@pthakkar wrote:

 it is not able to detect the cars bottom surface. 


How many cars have you tried?

Have you tried the cars in multiple positions?

 


@pthakkar wrote:

if I place any other object it is able to detect that.


any other object?

What objects have you tried?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

The Time-of-Flight sensors work by shooting out a flash of photons and measuring how long until they return. So, it stands to reason that dark, non-reflective surfaces are going to be problematic. 

(For reference, white printer paper is 88% reflective, a matte finish black spray paint is 5% reflective.)

Now the underside of many modern car engine bays are covered by a black plastic shield, that is light, durable and helps with aerodynamics.  And that is probably your worst case. And to make matters worse, plastic is somewhat transparent to 940nm light. 

But ST did a pretty fair job of testing when it claimed the sensor could 'see' 1.2M. But the test assumed an 88% target.

But they also assumed some other testing parameters. 

In the datasheet, they claim between 450 and 475mm at 17% - which is a medium dark gray. This is not a bad specification. There are not very many targets darker than that. Although it appears you might have found one. Especially when that shield collects a lot of oil drips and road tar. 

They also used a 33ms range in the test - indoors. 

Now let's assume there is not much sunlight under the car body. So maybe the indoor number is not so bad an estimate. 

But you've clearly done the test. And it appears to have failed to meet your expectations.

You could try a longer timing budget. With more time to find photons, you might get a better result. 

Or you could switch to the VL53L1X - with its lens that gathers more light it really does range farther. 

But that lens costs money, and so it's more expensive. 

And there is always 'the next sensor' which will be better of course. But you might have to wait a long time for that. 

- john

If this or any post solves your issue, please mark them as "Accept as Solution". It really helps the next guy.
And if you notice anything wrong do not hesitate to "Report Inappropriate Content".
I am a recently retired ST Employee. My former username was John E KVAM.