Calculate crank angle given pushrod displacement

This looks like it should be fairly straightforward on paper, but ...

Looking to calculate the angle of crank rotation (alpa), about pivot point, given linear displacement of pushrod of 30 units.

Knowns:

Pushrod length = 150

Crank length = 40

Pushrod displacement = 30

Thus:

http://i64.photobucket.com/albums/h1...ps5a48cfe2.jpg

1 Attachment(s)

Re: Calculate crank angle given pushrod displacement

You can proceed as follows, using the dimensions I added to your figure:

1. The x, y coordinates of the tip of the crank are (R sin alpha, R cos alpha)

2. Dimension h is R-y

3. Dimension d is sqrt(R^2-h^2)

4. Finally, dimension D is L+x-d, or:

$\displaystyle D = L - R \sin \alpha - \sqrt {L^2-R^2 (1-\cos \alpha)^2}$

Now the problem is how to make the angle alpha the independent variable - it's a mess, but after some manipulation I get the folowing quadratic equation:

$\displaystyle (c^2+1)sin^2 \alpha + 2kc \sin \alpha + (k^2+1) = 0$

where c and k are:

$\displaystyle c = \frac {L-D} R$

$\displaystyle k = \frac {D^2/2-LD+R^2}{R^2} $

This will yield two values for alpha. Take the arcsin to find the corresponding angles, but as always with arcsins be careful to understand which quadrant alpha belongs in.

Attachment 31325

Re: Calculate crank angle given pushrod displacement

Another way if looking at it: If we set up and xy-coordinate system with origin at the center of the wheel, x axis horizontal and y axis vertical, when the crank arm makes angle $\displaystyle \theta$ with the positive x axis, the end of the crank arm is at $\displaystyle (40 cos(\theta), 40 sin(\theta))$. The push rod is a straight line of length 150 from [tex](40 cos(\theta), 40 sin(\theta))[tex] to the point (-150+ 30, 0)= (-120, 0). So we have length squared equal to $\displaystyle (-120- 40cos(\theta))^2+ (40 sin(\theta))^2= 150^2$. That reduces to $\displaystyle 9600 cos(\theta)= 2500$.

Re: Calculate crank angle given pushrod displacement

Quote:

Originally Posted by

**HallsofIvy** $\displaystyle (-120- 40cos(\theta))^2+ (40 sin(\theta))^2= 150^2$.

I think this should be: $\displaystyle (-120- 40cos(\theta))^2+ (40-40 sin(\theta))^2= 150^2$

The answer I get for D=30 is theta = 47.4 degress, or alpha = 90-theta = 42.6 degrees.

Re: Calculate crank angle given pushrod displacement

Thanks for looking into this. I'm still a little lost as neither approach above gets me in the ball park.

47.4 degrees looks about right for alpha, not theta (drawing this out to scale)?

Can you please just clarify what R is in your equations above? I assume R=40, but then I'm a little lost with equation (3) Dimension d is sqrt(R^2-h^2)? Is R here not 150?

Re: Calculate crank angle given pushrod displacement

Quote:

Originally Posted by

**russiver** 47.4 degrees looks about right for alpha, not theta

Right - sorry I got that backwards. Shoukld be: **alpha **= 47.4 degress, or **theta**= 90-theta = 42.6 degrees.

Quote:

Originally Posted by

**russiver** Can you please just clarify what R is in your equations above? I assume R=40...

Yes, R=radius of the circle the crank turns in, or 40. I should have made that clearer. Also L = length of the pushrod =150.

Quote:

Originally Posted by

**russiver** Dimension d is sqrt(R^2-h^2)? Is R here not 150?

Sorry, that's another typo. Thanks for catching these errors - I must be getting tired! Equation 3 in my original response should be: Dimension d is sqrt(**L**^2-h^2).

By the way, there's another solution: Alpha=169.5 degrees also results in a displacement of 30.

Re: Calculate crank angle given pushrod displacement

With you now. Thanks again for working this through.

Just need to figure out how you got to $\displaystyle (c^2+1)sin^2 \alpha + 2kc \sin \alpha + (k^2+1) = 0$ from $\displaystyle D = L - R \sin \alpha - \sqrt {L^2-R^2 (1-\cos \alpha)^2}$.

My algebra is pretty rusty, but I'm hoping I can get there. Getting rid of$\displaystyle cos \alpha$ is my biggest concern. I'm thinking (probably wrong) a trig identity is needed?

Re: Calculate crank angle given pushrod displacement

Quote:

Originally Posted by

**ebaines** I think this should be: $\displaystyle (-120- 40cos(\theta))^2+ (40-40 sin(\theta))^2= 150^2$

Yes, I forgot that the center of the wheel was 40 cm below the tip of the pushrod. Thanks.

Quote:

The answer I get for D=30 is theta = 47.4 degress, or alpha = 90-theta = 42.6 degrees.

Re: Calculate crank angle given pushrod displacement

The algebra is messy. First get the square root term by itself, then square both sides. You'll end up with terms of sin^2, sin, and cos and cos^2. You can then replace cos^2 alpha + sin^2 alpaha with 1, and replace the remaining cosine term with sqrt(1-sin^2). Rearrange to get that square root by itself, square both sides, do some final rearrangement, and you're done!

Re: Calculate crank angle given pushrod displacement

Thanks. I''l give this a try and see how I get on.

Re: Calculate crank angle given pushrod displacement

Ok so we start with:

$\displaystyle D = L - R sin \alpha - \sqrt {L^2-R^2 (1- cos \alpha)^2}$

Isolating square root term:

$\displaystyle \sqrt {L^2-R^2 (1- cos \alpha)^2}= L - Rsin \alpha -D$

Squaring both sides:

$\displaystyle {L^2-R^2 (1- cos \alpha)^2} = L^2 - R^2sin^2\alpha - D^2$

Dividing by R^{2}:

$\displaystyle \frac {L^2} {R^2}-(1- cos \alpha)^2 = \frac {L^2-D^2} {R^2} - sin^2\alpha$

Expanding brackets:

$\displaystyle \frac {L^2} {R^2}- 1 + 2cos\alpha + cos^2 \alpha = \frac {L^2-D^2} {R^2} - sin^2\alpha$

Replacing $\displaystyle cos^2 \alpha + sin^2 \alpha$ with 1:

$\displaystyle \frac {L^2} {R^2}- 1 + 2cos\alpha + 1 = \frac {L^2-D^2} {R^2}$

Am I good so far? Concerned I'm going to lose L?

Re: Calculate crank angle given pushrod displacement

Can already see that I messed up removing the square root - squaring both sides. Apologies algebra and I parted company some years ago!

Re: Calculate crank angle given pushrod displacement

First - my apologies, but there was another typo on my part. The correct formula is:

$\displaystyle D= L+R \sin \alpha - \sqrt{L^2-R^2(1-\cos \alpha)^2}$

Rearrange to get:

$\displaystyle L+R \sin \alpha-D= \sqrt{L^2-R^2(1-\cos \alpha)^2}$

and then square both sides. The square of $\displaystyle L+R \sin \alpha -D$ is:

$\displaystyle (L+R \sin \alpha -D)((L+R \sin \alpha -D) = L^2 + R^2 \sin^2 \alpha + D^2 +2LR \sin \alpha -2LD -2DR \siin \alpha$

So we have:

$\displaystyle L^2 + R^2 \sin^2 \alpha + D^2 +2LR \sin \alpha -2LD -2DR \sin \alpha = L^2-R^2(1-2 \cos \alpha + \cos^2 \alpha)$

The L^2 terms cancel, and if we move the R^2cos^2 term to the left and combine the sine terms we get:

$\displaystyle R^2 (\sin^2 \alpha + \cos^2 \alpha) +D^2 -2LD + 2R(L-D) \sin \alpha = -R^2 +2R^2 \cos \alpha$

$\displaystyle = 2R^2 (1- \cos \alpha) +D^2-2LD +2R(L-D) \sin \alpha = 0$

Divide through by 2R^2, and rearrange:

$\displaystyle 1+\frac {D^2}{2R^2}-\frac {LD}{R^2} = \cos \alpha - (\frac {L-D} R) \sin \alpha $

Here is where we set $\displaystyle c = \frac {L-D} R$ and $\displaystyle k = 1+\frac {D^2}{2R^2}-\frac {LD}{R^2}$, and replace the cosine with $\displaystyle \cos \alpha = \sqrt{1- \sin^2 \alpha}$:

$\displaystyle \sqrt{1- \sin^2 \alpha} = k + c \sin \alpha$

Square both sides:

$\displaystyle 1 - \sin^2 \alpha = k^2 + 2kc \sin \alpha + c^2 \sin^2 \alpha$

$\displaystyle 0 = (c^2+1) \sin^2 \alpha + 2kc \sin \alpha + (k^2-1)$

This is a quadratic in sin alpha. Use the quadratic formula to find two values of sin alpha. Take the arc sine to find the angles. When you do this you should get:

$\displaystyle \alpha_1 = 47.4^{\circ}, \ \alpha_2 = 10.5^{\circ} $

As I noted previously we need to be careful about making sure alpha s in the correct quadrant. That second value for alpha should actually be 180-10.5 = 169.5.

Re: Calculate crank angle given pushrod displacement

Big thanks again for working this through and walking me through the route to it.

Quote:

Originally Posted by

**ebaines**

As I noted previously we need to be careful about making sure alpha s in the correct quadrant. That second value for alpha should actually be 180-10.5 = 169.5.

Just one final question, without visualising (sketching out) the solutions, is the anyway to deduce the correct quadrants for both solutions? I know sine is positive in the first and second quadrant, but just wonder how you figured the second solution 10.5 and not the first 47.4 needed subtracting from 180 without sketching?

Re: Calculate crank angle given pushrod displacement

When evaluating an arcsine there is no "automatic" way to know which is the correct quadrant - you have to consider the geometry and see which solution fits. In this case you could calculate the length of displacement D for each of the possible angles: 47.4, 10.5,180-47.4, and 180-10.5 to see which one(s) result in D= 30.