Pages: [1]   Go Down
Author Topic: Rotation speed detection  (Read 958 times)
0 Members and 1 Guest are viewing this topic.
Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need a suggestion on how to detect how fast an object tethered to a rope is traveling when it's spun.  Basically, take a tennis ball attached to a rope and spin the thing over your head.  I need a way to have something inside of the tennis ball detect how fast it's spinning.  Suggestions?
Logged

California
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3123
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Measure centripetal acceleration and use that to calculate the angular velocity.
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

K, how would I do that, with what hardware?
Logged

California
Offline Offline
Faraday Member
**
Karma: 82
Posts: 3123
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

K, how would I do that, with what hardware?
Accelerometer?
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okie.  Do you have any pointers to those calculations that I can start looking at?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 184
Posts: 11197
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is the length of the rope known and constant? Is the anchor point of the rope fixed? If everything works out in your favour, you could probably get a reasonable estimate of the speed by measuring the average acceleration over a few seconds. If things aren't ideal - the rope length isn't fixed and know, or the center isn't stationary, the next approach I can see is to measure the acceleration in three dimensions and calculate the net acceleration vector, and use a gyro to measure the angular velocity. The maths will take some working out, but in theory it would be possible to determine the angular velocity excluding rotation around the axis of the rope, and given the angular velocity and acceleration it is possible to calculate the radius and speed.

It's going to involve some pretty heavy maths though, and unless you're familiar with calculations involving relative motion in multiple coordinate systems I think you'll find that rather challenging.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Length of rope is constant, however the center point isn't.  This is exactly what I gave as an example, a ball tied to a rope being spun around.  It's an idea for poi, for a performer to use.  One in each hand, spinning around.

What they want is LEDs embedded in them that will change color based on the speed in which those things are being spun.  There are several static displays on the market already, push a button to turn them on and spin away, but there's no interaction.  If you want to change the display you end up having to stop, push the button again, and go on.  So I was asked if I can make something that will change colors based on the speed at which they're being spun around.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 184
Posts: 11197
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In that case I'd have thought you could do that easily enough with just an accelerometer, don't bother trying to work out actual speed, just vary the output according to the recent average acceleration.

Have you thought of using this to produce a persistance-of-vision style display? That would be much harder to do, but I imagine the results could be quite impressive.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

POV would be great, however I'm going to start small. smiley

I'll have to play more with an accelerometer and uLog to capture some data, see what I can do.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 184
Posts: 11197
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just a thought ...

From my limited experience of seeing people doing this sort of thing, it looks as if the way they pump the things up is very uneven and it would probably be possible to look for regular fluctuations in the acceleration and infer the phasing from that. This is likely to be a lot easier if you have an idea how long the rope is likely to be and can guess the approximate period from the average acceleration. (In other words, it may be possible to get PoV working without as much complexity as I'd thought, especially if your performers are willing to cooperate.)
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Edison Member
*
Karma: 6
Posts: leet
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree with Peter about PoV.  However he only wanted relative speed which is just centripetal acceleration, not absolute speed.
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Pages: [1]   Go Up
Jump to: