Cog Spread
#26
Retrogrouch in Training
Join Date: Sep 2004
Location: Knee-deep in the day-to-day
Posts: 5,484
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 1 Time
in
1 Post
Ok, this is rapidly spinning out of control. But here's an approximate answer... I think.
My drivetrain looks like this (because I'm a badass, sucka!):
So we're interested in the quantity z, the distance from the center of our chainring to center of our cog which is what changes when we add or remove cog teeth. Let's simplify and say that there is a quadrilateral whose edges are of length r1, r2, z, x as shown. It's not quite true because x is really tangent to the two circles BUT GIVE A GUY A DAMN BREAK!
That can be broken into a rectangle and a right triangle. The right triangle will have base z, hypotenuse x, and leg (r2-r1). Therefore Lord Pythagorus and some algebra tells us
z = sqrt(x**2 - (r2-r1)**2)
Add in two teeth such that r1' = r1 + pi/4. Since we have one more tooth engaged (the other will be on the opposite cog), x' = x - 0.5". More algebra sez
z' = sqrt((x-0.5)**2 - (r2-r1-pi/4)**2)
We're interested in the change from z to z'.
z - z' = sqrt(x**2 - (r2-r1)**2) - sqrt((x-0.5)**2 - (r2-r1-pi/4)**2)
Some more algebra gives us:
z**2 - z'**2 = (x**4 - 2x**2(r2-r1)**2 + (r2-r1)**4) - ((x-0.5)**4 - 2(x-0.5)**2(r2-r1-pi/4)**2 + (r2-r1-pi/4)**4)
Anyone who's really excited can try to simplify this bastard. Me, I'm getting tired.
My drivetrain looks like this (because I'm a badass, sucka!):
So we're interested in the quantity z, the distance from the center of our chainring to center of our cog which is what changes when we add or remove cog teeth. Let's simplify and say that there is a quadrilateral whose edges are of length r1, r2, z, x as shown. It's not quite true because x is really tangent to the two circles BUT GIVE A GUY A DAMN BREAK!
That can be broken into a rectangle and a right triangle. The right triangle will have base z, hypotenuse x, and leg (r2-r1). Therefore Lord Pythagorus and some algebra tells us
z = sqrt(x**2 - (r2-r1)**2)
Add in two teeth such that r1' = r1 + pi/4. Since we have one more tooth engaged (the other will be on the opposite cog), x' = x - 0.5". More algebra sez
z' = sqrt((x-0.5)**2 - (r2-r1-pi/4)**2)
We're interested in the change from z to z'.
z - z' = sqrt(x**2 - (r2-r1)**2) - sqrt((x-0.5)**2 - (r2-r1-pi/4)**2)
Some more algebra gives us:
z**2 - z'**2 = (x**4 - 2x**2(r2-r1)**2 + (r2-r1)**4) - ((x-0.5)**4 - 2(x-0.5)**2(r2-r1-pi/4)**2 + (r2-r1-pi/4)**4)
Anyone who's really excited can try to simplify this bastard. Me, I'm getting tired.
#28
troglodyte
Originally Posted by bostontrevor
z**2 - z'**2 = (x**4 - 2x**2(r2-r1)**2 + (r2-r1)**4) - ((x-0.5)**4 - 2(x-0.5)**2(r2-r1-pi/4)**2 + (r2-r1-pi/4)**4)
Anyone who's really excited can try to simplify this bastard. Me, I'm getting tired.
Anyone who's really excited can try to simplify this bastard. Me, I'm getting tired.
Nice work, BT