- #1
bobsalive
- 6
- 0
This is a problem that a few friends and I came up with while working on an extra-curricular robotics project:
There are three gears meshed together with idle gears inbetween so that the three gears rotate in the same direction.
http://puu.sh/2knXq
The gear ratio between gear A has 4 teeth, gear B has 20 teeth, and gear C has 60 teeth. Therefore the gear ratio between A and B is 1:5, and the gear ratio between B and C is 1:3. A mark is made at the same position on the circumference of each gear, and are thus in an "aligned" position. Gear A is turned at a constant rate, so that the marks move in a clockwise direction. It is accepted that eventually, the marks will all be in their initial positions at the same time, and thus be "aligned" again. In this case, it can be guaranteed that after 20 x 60 = 1200 rotations of gear A, the marks will be "aligned" (it will actually become aligned sooner, but it 1200 rotations of A is a guaranteed value).
Now let us generalise the scenario a bit more. The gear ratio between gear A and gear B is f, and the gear ratio between gear B and gear C is g. Additionally, the marks made on the gears are in a random position on the circumference of the gear. The position of the mark on gear A is taken as a reference, and the position of the mark on gear B has an offset of j (in radians) and the position of the mark on gear C has an offset of k (in radians). Again, gear A is turned so that each mark moves in a clockwise direction at a constant rate. Can we still guarantee that eventually at some point in time (t), the marks will be "aligned"?
-----------------------------------------------------------------------------------
We came up with a few ways to try and "prove" a hypothesis that the marks would eventually become "aligned", but we couldn't come up with a conclusive analytical method (because our math isn't good enough). The actual question is the last method after the line, so if you want to, just skip there. These other methods are provided to show that we did think about it and try some different methods before we decided an analytical method was required.
First, a few people simplified the problem down to just two gears, A and B. It can be reasoned logically that a mark on each gear will become "aligned" given enough time (rotation). It's a bit of a step to then say that this must also apply to a three-gear situation, it just might take longer. My problem with this is that it doesn't "prove" anything, it's just an assertion. The flash image at http://science.howstuffworks.com/transport/engines-equipment/gear-ratio1.htm demonstrates what we mean by "marks", except in our scenario the gears are rotating in the same direction.
Second, a few people tried a graphical method, by drawing a graph with the angle of each gear as gear A is turned, and finding points where the lines intercept. The problem is that while it is easy to do this for a two-gear situation, it takes way too long to do this for a three-gear situation. It can also only be done for one value of f, g, j, and k at a time, rather than allowing those variables to be any value.
Thirdly, we tried doing some programming to get the computer to do the math for us. We used the simultaneous equations from the next paragraph. This essentially amounted to using a series of for loops to try every possible combination of f, g, j, k, and t until the marks were "aligned". However, there were issues with floating-point precision, and the question that came up was "how large an uncertainty is acceptable?". We were able to show that with a tolerance of 10%, the marks "align" at some point, but 10% is just too big. The ultimate decision was that there shouldn't be any uncertainty if we want to prove that the marks do "align" at some point in time. It was decided at this stage that an analytical solution would be needed to "prove" or "disprove" the hypothesis that the marks do "align".
(A few other methods were discussed and attempted by various people but I don't remember all of them and including them wouldn't be particularly useful here).
---------------------------------------------------------------------
My "proof" involved some simultaneous equations...
yA = cos(t)
yB = cos(ft + j)
yC = cos(gt + k)
xA = sin(t)
xB = sin(ft + j)
xC = sin(gt + k)
where y is the relative vertical position of the mark (between -1 and 1), and x is the relative horizontal position of the mark (between -1 and 1).
I argued that if you could solve these simultaneous equations then you would be able to prove that all three gears have the same relative x and y positions at a particular value of t, for any value of f and g between 0 and 1 and any value of j and k between 0 and 2pi (We don't necessarily need these bounds for f, g, j, and k, it just simplified the problem slightly when we tried to solve it computationally). The problem is that I don't know how to solve these equations analytically. Anyone have any advice?
There are three gears meshed together with idle gears inbetween so that the three gears rotate in the same direction.
http://puu.sh/2knXq
The gear ratio between gear A has 4 teeth, gear B has 20 teeth, and gear C has 60 teeth. Therefore the gear ratio between A and B is 1:5, and the gear ratio between B and C is 1:3. A mark is made at the same position on the circumference of each gear, and are thus in an "aligned" position. Gear A is turned at a constant rate, so that the marks move in a clockwise direction. It is accepted that eventually, the marks will all be in their initial positions at the same time, and thus be "aligned" again. In this case, it can be guaranteed that after 20 x 60 = 1200 rotations of gear A, the marks will be "aligned" (it will actually become aligned sooner, but it 1200 rotations of A is a guaranteed value).
Now let us generalise the scenario a bit more. The gear ratio between gear A and gear B is f, and the gear ratio between gear B and gear C is g. Additionally, the marks made on the gears are in a random position on the circumference of the gear. The position of the mark on gear A is taken as a reference, and the position of the mark on gear B has an offset of j (in radians) and the position of the mark on gear C has an offset of k (in radians). Again, gear A is turned so that each mark moves in a clockwise direction at a constant rate. Can we still guarantee that eventually at some point in time (t), the marks will be "aligned"?
-----------------------------------------------------------------------------------
We came up with a few ways to try and "prove" a hypothesis that the marks would eventually become "aligned", but we couldn't come up with a conclusive analytical method (because our math isn't good enough). The actual question is the last method after the line, so if you want to, just skip there. These other methods are provided to show that we did think about it and try some different methods before we decided an analytical method was required.
First, a few people simplified the problem down to just two gears, A and B. It can be reasoned logically that a mark on each gear will become "aligned" given enough time (rotation). It's a bit of a step to then say that this must also apply to a three-gear situation, it just might take longer. My problem with this is that it doesn't "prove" anything, it's just an assertion. The flash image at http://science.howstuffworks.com/transport/engines-equipment/gear-ratio1.htm demonstrates what we mean by "marks", except in our scenario the gears are rotating in the same direction.
Second, a few people tried a graphical method, by drawing a graph with the angle of each gear as gear A is turned, and finding points where the lines intercept. The problem is that while it is easy to do this for a two-gear situation, it takes way too long to do this for a three-gear situation. It can also only be done for one value of f, g, j, and k at a time, rather than allowing those variables to be any value.
Thirdly, we tried doing some programming to get the computer to do the math for us. We used the simultaneous equations from the next paragraph. This essentially amounted to using a series of for loops to try every possible combination of f, g, j, k, and t until the marks were "aligned". However, there were issues with floating-point precision, and the question that came up was "how large an uncertainty is acceptable?". We were able to show that with a tolerance of 10%, the marks "align" at some point, but 10% is just too big. The ultimate decision was that there shouldn't be any uncertainty if we want to prove that the marks do "align" at some point in time. It was decided at this stage that an analytical solution would be needed to "prove" or "disprove" the hypothesis that the marks do "align".
(A few other methods were discussed and attempted by various people but I don't remember all of them and including them wouldn't be particularly useful here).
---------------------------------------------------------------------
My "proof" involved some simultaneous equations...
yA = cos(t)
yB = cos(ft + j)
yC = cos(gt + k)
xA = sin(t)
xB = sin(ft + j)
xC = sin(gt + k)
where y is the relative vertical position of the mark (between -1 and 1), and x is the relative horizontal position of the mark (between -1 and 1).
I argued that if you could solve these simultaneous equations then you would be able to prove that all three gears have the same relative x and y positions at a particular value of t, for any value of f and g between 0 and 1 and any value of j and k between 0 and 2pi (We don't necessarily need these bounds for f, g, j, and k, it just simplified the problem slightly when we tried to solve it computationally). The problem is that I don't know how to solve these equations analytically. Anyone have any advice?
Last edited by a moderator: