2
$\begingroup$

Cog $A$ is at position: $Ax$, $Ay$, rotation: $Ar$ and number of teeth: $At$

Cog $B$ is at position: $Bx$, $By$ and number of teeth $Bt$. What is Cog $B$'s rotation such that teeth between Cog $A$ and Cog $B$ line up. There will be the same number of answers as there are teeth, but a 'base angle' is desired.

cog diagram

  • 0
    Image here: http://i.imgur.com/ICrhs.jpg2012-07-15

2 Answers 2

1

You can calculate the angle $\alpha$ of the line from $A$ to $B$ as $\alpha=\arctan\frac{By-Ay}{Bx-Ax}$. You want the phases to be opposite at this angle, so $(\alpha-Ar)At=(\alpha+\pi-Br)Bt+\pi+ 2\pi n$, with $n$ an integer; you can solve this for $Br$ to determine $Br$ up to integer multiples of $2\pi/Bt$.

  • 0
    @sq2: Then it would be great if you'd write it up as an answer; then your question wouldn't remain unanswered, and we could compare our solutions.2012-07-17
0

The solution I have found, which may be @joriki's solution expressed in a different format:

Angle α is of course required, see @joriki's solution.

Br = At / Bt * -Ar + α * (At + Bt) / Bt

and if Bt is even, add π / Bt to Br

  • 1
    Here's proof: http://www.esquemedia.com/experiments/gears/2012-07-17