[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
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,867 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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:andyalder
andyalder 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Sometimes Administrators rights are not enough. These cases call for the SYSTEM account. The process in this article outlines the steps required to execute commands using the SYSTEM account.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 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