?
Solved

You need to determine if a spinning disc is rotating clockwise or counterclockwise. The disc has been painted with a black and white pattern. You have a sensor that can sample the disc and determine i

Posted on 2011-02-22
11
Medium Priority
?
1,935 Views
Last Modified: 2012-05-11
You need to determine if a spinning disc is rotating clockwise or counterclockwise. The disc has been painted with a black and white pattern. You have a sensor that can sample the disc and determine if the disc at that instance in time is black or white.
0
Comment
Question by:dshrenik
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 7

Assisted Solution

by:relliott66
relliott66 earned 444 total points
ID: 34954881
Is this the question you were trying to ask:

Imagine a disk spinning like a record player turn table. Half of the disk is black and the other is white. Assume you have an unlimited number of color sensors. How many sensors would you have to place around the disk to determine the direction the disk is spinning? Where would they be placed?
0
 
LVL 63

Assisted Solution

by:☠ MASQ ☠
☠ MASQ ☠ earned 444 total points
ID: 34954910
You can't if you only have one sensor, you need two reference points to determine direction
0
 
LVL 37

Assisted Solution

by:TommySzalapski
TommySzalapski earned 664 total points
ID: 34955311
It doesn't matter how many sensors you have. If you don't know how fast the disc is spinning, you can't figure it out. You can never be positive how fast it is spinning, because you can always find a speed (in both directions) that will give you exactly what you are seeing no matter how many samples you take.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 37

Assisted Solution

by:TommySzalapski
TommySzalapski earned 664 total points
ID: 34955337
If you know the speed and have a perfect clock, then you could sample in one location and move the sensor a quarter turn clockwise and sample again offsetting the sample period by 1/4 and then again by 3/4. If they match, then start over. If the 1/4 matches the original then it's spinning clockwise. If the 3/4 matches it's going anti-clockwise (counter clockwise). If neither match, either the speed was wrong or your clock was messed up.
0
 
LVL 63

Expert Comment

by:☠ MASQ ☠
ID: 34956432
So was that a 'yes' or 'no' to two sensors?
0
 
LVL 7

Accepted Solution

by:
relliott66 earned 444 total points
ID: 34957202
if the question I formulated is correct, then I think 2 is the correct answer.  Actually, they have sensors now with two sensors built in so maybe even one could do it.  
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 224 total points
ID: 34958786
It depends on the pattern of black and white. If it is unsymmetrical/regular then one sensor can be sufficient.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 34958787
sorry ---  unsymmetrical/irregular
0
 
LVL 63

Assisted Solution

by:☠ MASQ ☠
☠ MASQ ☠ earned 444 total points
ID: 34974760
All we know is the disk has a pattern it is not necessarily like the one relliot66 has found.  I guess we have to work with the possibility of a random mix of black and white.
0
 
LVL 56

Assisted Solution

by:Handy Holder
Handy Holder earned 224 total points
ID: 34987925
I think it's possible with a single sensor so long as you can move it. Assuming evenly spaced black/white then move sensor in the same direction as spin then frequency would go down similarly to dopler shift.
0
 
LVL 37

Assisted Solution

by:TommySzalapski
TommySzalapski earned 664 total points
ID: 34988999
If you allow for unbounded speed, then you can't solve it no matter how many sensors you have unless the sensors sense continually. Since the original question said 'sample' I assume we are talking about discrete sensing.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Tammy
MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief forma…
Before you approach an Ionic Mobile App development company for developing mobile apps using the ionic framework, you must know why you should choose the framework. Let's try to understand that through this article.
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question