Pages: [1]   Go Down
Author Topic: High Accuracy Distance Sensor for short ranges  (Read 1267 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there!

I'm currently building a lift for scientific purposes. It's driven by a stepper-motor with a high transmission.
As it is my first project with a stepper motor, i realized afterwards that it isn't all too accurate, i think it is loosing steps under high load.

So basically i have to measure the  distance between two panels, one of them is going up and down.

The distances the sensor would have to measure are between 5 and 30 cm and i aim for an accuracy around +- 0.2mm, the smaller the better.
I came across this one from sharp though i am not sure if it is the right one, because i didn't find any data on its accuracy.
http://www.sharpsma.com/webfm_send/1205

Does anyone have experiences with similar requirements?
Would be grateful for your suggestions.

Cheers
Logged

Norfolk UK
Offline Offline
Faraday Member
**
Karma: 69
Posts: 2557
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Does anyone have experiences with similar requirements?
Would be grateful for your suggestions.
I don't have experience if close tolerance distance measurements using arduino but the sensor you linked to won't do 0.2mm accuracy for sure. What you probably need is an encoder on the stepper motor/drive chain to give movement/position feedback.
Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

measuring 0.2 mm deltas
speed of sound 340M/s    (but differs per temperature => drift is bigger than needed accuracy warnings apply)

0.2 * 10-3 / 340 => 0.588235 *10-6 sec. ~0.6 uSec

So to need this accuracy you need to switch in 0.6 uSec . This is about 9 clock cycli of the Arduino.
So you are operating at the edge what is feasable for an Arduino..

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hm, i see. for a few reasons i can't use an encoder on my stepper motor.

0.3 mm would be ok, too. So you say i should use a sonic sensor? any recommendations?
If my demands can't be met, i'll have to settle with the best thats possible. Ultrasonic vs. Infrared?

Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

think it comes down to comparing datasheets of diff sensors
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

budget ?

- http://www.sick.com/group/en/home/products/product_portfolio/distance_sensors/pages/distance_sensors_short_range.aspx -
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

- http://www.pololu.com/file/0J284/GP2Y0D805Z0F.pdf - 0.5..5cm,
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

budget is 40€ max.
I couldn't find anything about the resolution of this sensor in its data sheep. have i overlooked something?
http://www.sharpsma.com/webfm_send/1205
neither in this one
http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/28015-PING-Sensor-Product-Guide-v2.0.pdf
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

can you explain why you need to measure distance?
what are you trying to reach?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: