Hi Tridge/Linus,
I achieved some pretty good and consistent results using the Maxbotix MB1240 long range acoustic sensor. It has a range around 760cm and I had the sonar_trigger set at 300cm. Even at that distance the reaction time results in an avoidance turn about 90cm from the obstacle. The resistance to false triggers on a concrete sidewalk is very, very good even with a reasonable amount of wind at street level. Resistance to false triggers on asphalt roadway was not as good, but I think that it was due to some vertical and horizontal sensor vibration and the fact that the sonar_trigger distance was set at ~10 feet and it could have been seeing a parked car slightly off to the right of its travel. I had to tilt the sensor upwards slightly to prevent falsh triggering, but you can hardly notice the tilt.
Presently my sensor mount is not very robust and needs to be strengthened, but the acoustic sonar may be a resonable answer to the false target issue unless we can improve the ir sensor false target filtering.
Regards,
Tom C
// This filter limits the max difference between readings and also apply an average filter
int Filter(int new_value, int old_value, int max_diff)
{
int diff_values;
int result;
if (old_value==0) // Filter is not initialized (no old value)
return(new_value);
diff_values = new_value - old_value; // Difference with old reading
if (diff_values>max_diff)
result = old_value+max_diff; // We limit the max difference between readings
else
{
if (diff_values<-max_diff)
result = old_value-max_diff; // We limit the max difference between readings
else
result = (new_value+old_value)>>1; // Small filtering (average filter)
}
return(result);
With the new acoustic sonar mount finished on my Slash rover, I went out this afternoon to do some impromptu testing.
I was just testing for the occurrence of false targets at this time and looking for some subjective results.
The Maxbotix MB1240 performed flawlessly on reasonably smooth, white, concrete sidewalk. There were no false triggers.
On black asphalt roadway I obtained several good runs without false targets.
However there were a couple of starts on the roadway where the rover immediately started turning and went in a complete circle.
Also, there were a couple of runs where there was a random false trigger between the middle and the end of the run.
The black asphalt roadway is still the surface of contention in relation to false triggers.
I will perform more objective testing tomorrow and include tlogs.
Regards,
Tom C
Hi Tridge/Linus,
Find attached two log files from the Flash EEPROM.
The first log is from runs on a concrete sidewalk and the second log is from runs on an asphalt roadway.
I was in the steering mode for most of the runs.
Regards,
Tom C
Tridge/Linus,
Find attached Flash EEPROM log files from runs against a 2' wide target on the sidewalk and on the roadway.
The first log is from target runs on the sidewalk which were pretty good.
The second log is from target runs on the roadway and I could barely start out in the steering mode before the rover was making a steering correction due to a false trigger.
Regards,
Tom C
Tridge/Linus,
The first flash eeprom log 2013-04-25 22-34 2 is from last night where we saw the multiple returns on the #1 sonar and not on the #2 sonar.
The next flash eeprom log 2013-04-26 08-32 3 is where I hooked the #2 sonar to the #1 sonar input and vice versa, the #1 to the #2 sonar input.
As you can see both sonar outputs look pretty clean and nothing like the noisy output of the the #1 sonar from last night.
The final flash eeprom log 2013-04-26 08-45 2 is where I went back to the normal configuration of the #1 sonar on the #1 input and the #2 sonar on the #2 input.
Again, both sonar outputs look pretty clean and pretty similar. There is a slight bit of artifacting on the #1 output, but it is minor and I think has to do with what the #1 sonar is seeing at infinity compared to the #2 sonar as they diverge slightly from the center line of the rover at infinity.
Looks like both sonars are working properly, though it might be good to experiment with the settling time of the #1 sonar.
Comments?
Regards,
Tom C
Find attached a log of rover runs when both sonars were enabled. I started out with a clear path and then put an obstacle in the way of the rover on the last few runs. It hit the obstacle 50% of the time. Maybe I need to increase the steering angle from 20 to maybe 30 deg? Or maybe change the steering time which is at 1sec.
Regards,
Tom C
Hi All,
Lately I have been putting in quite a bit of time with Tridge trying to debug the twin sonar range sensors on my rover.
Tridge has set up the code so that the sensors can be triggered sequentially so that they will not see each other's return. This works great and will help to reduce false targets due to one sonar seeing the other sonars beam.
However, I am still having problems with false returns when the rover is moving and here is what I have found:
I think that I have found the cause of the false triggers on my setup when the rover is moving on an asphalt surface.
I put the rover on a tabletop pointed at a wall 135cm from the sonar sensor.
Then I moved a 1.6cm high piece of foam forward from the rover, on the tabletop, towards the wall.
At approximately 32cm from the rover the sonar sensor beam detected the foam.
What this means is that even with the sonar sensors tilted slightly upwards from the horizontal, the vertical beam spread is such that with a little vertical bouncing of the rover chassis, the sensor is detecting the ground in front of it.
This means that I need to tilt the sonar sensors even more from the horizontal to give the beam enough vertical margin such that it does not see ground reflections, due to vertical beam spread, in front of it when the rover chassis bounces vertically.
Comments?
Regards,
Tom C
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--