Skip to Content.
Sympa Menu

machinist - [machinist] Trig Solution to Tapering Hole Diameter Problem

machinist@lists.ibiblio.org

Subject: Machinist

List archive

Chronological Thread  
  • From: Lawrence London <lfljvenaura@gmail.com>
  • To: machinist@lists.ibiblio.org
  • Subject: [machinist] Trig Solution to Tapering Hole Diameter Problem
  • Date: Thu, 2 Jan 2014 04:15:42 -0500

http://www.practicalmachinist.com/vb/general/trig-solution-tapering-hole-diameter-problem-277573/

Thread: Trig Solution to Tapering Hole Diameter Problem

  1. 12-28-2013, 06:39 PM #1
    dgfoster's Avatar
    dgfoster is offline Stainless
    Join Date
    Jun 2008
    Location
    Bellingham, WA
    Posts
    1,229

    Default Trig Solution to Tapering Hole Diameter Problem

    For anyone interested in the question I am posting the trig solution to the problem of spacing holes on a tapered arm with uniform edge-to-edge spacing along the axis of their centers. I decided to start a new thread as this trig problem was not really the main point of the first thread Is there a scratch-free layout method available? . The trig solution included is applicable to any number of holes with any taper and any spacing.

    The "bottom line" solution is in red at the bottom of the page. For completeness the derivation of the solution is included above that.

    There are two images attached. One is a photo of the drawing of just two circles with an exaggerated taper angle as this setup allowed a more clear separation of some of the tangent and intersecting lines than would have been possible if the circles were drawn to the same taper as the part I was making. The second picture shows the part I intend to make drawn to scale with the spacing of the holes and their radii indicated.

    The work I did on this makes no sense in some ways as a nearly as good and practical result could have been obtained in a much shorter time by just using paper and pencil or a CAD program and empirically fitting the circles between the lines drawn. I guess the challenge of getting a math solution sucked me in.... Maybe this math solution will be of use to someone else who doesn't care to grind through the mental gymnastics to figure it out.
    .................................................. .................................................. ..........................
    The goal of this exercise to determine a method to calculate the diameters of circles of smoothly diminishing diameters and spaced at a specified distance from circumference to circumference and with their centers falling on a straight line. In the diagram shown only two circles are considered. But, once the calculation is made for one pair of circles, subsequent calculations can be made using the same formula.


    Definitions:
    a is the angle subtended by one line tangential to both of the circles and another center line through the center of the two circles.
    R is the known radius of the larger circle.
    S is the distance between the circles as measured on a line connecting their centers. Its length is arbitrary but is constant.
    r is the radius of the smaller circle. Its value is unknown and we want to calculate it relative to R for a given S.


    First we need to find the height of the line F-E:


    A-B = R/cos(a)
    E-D = (S+R)
    D-B = [E-D/cos(a)] sin(a) = (S+R) tan(a)
    A-D = A-B - D-B = F-E = [R/cos(a)] - [(S+R) tan(a)]
    F-E = [R/cos(a)] - [(S+R) tan(a)]


    Now that we have calculated F-E we can find the radius (r) of the smaller circle by determining F-E in terms of r:


    H-G = H-J + J-G = r sin(a) + J-G = r sin(a) + r = r[sin(a) + 1]
    H-E = H-G/cos(a)
    E-G = H-E sin(a) = {r[sin(a) + 1] sin(a)}/cos(a) = r[sin(a) + 1]tan(a) correction to original post in bold below
    F-E = E-G + rcos(a) = r([sin(a) + 1]tan(a) + cos(a))


    So we have now determined F-E in terms of R and S and also determinedF-E in terms of r.


    So: F-E = [R/cos(a)] - [(S+R) tan(a)] = r([sin(a) + 1] tan(a) + cos(a))
    r = {[R/cos(a)] - [(S+R) tan(a)]}/({[sin(a) + 1] sin(a)} + cos(a))


    r= [R/cos(a)] - [(S+R) tan(a)]
    .......{[sin(a) + 1] tan(a)} + 1 ........Correction Needed---see restated formula on next line per RayG---Thank You, RayG

    r= [R/cos(a)] - [(S+R) tan(a)]
    .......{[sin(a) + 1] tan(a)} +cos(a)

    The restated formula above is correct (I think!)
    Attached Thumbnails Attached Thumbnails lightening-holes-trig-solution.jpg   lightening-holes-arm.jpg  
    Last edited by dgfoster; 12-29-2013 at 12:42 PM. Reason: formatting
    Groovejivey likes this.
  2. 12-29-2013, 12:11 AM #2
    Metalcutter's Avatar
    Metalcutter is offline Titanium
    Join Date
    Sep 2005
    Location
    San Diego
    Posts
    2,581

    Default

    All I can say, is I'll keep you DGfoster, for any wild math I need help with. I'm not to bad in trig, but I'm
    Stuck on formulas for an equal angular spiral, and the formulas for transformation from log-polar to Cartesian coordinates. Also known as a logarithmic spiral. I'd like to have an understandable formula where I could spread sheet it and have it geometrically accurate where I could plug in an angle variable. I can build the excel sheet.

    If thats ok,
    Stan-
  3. 12-29-2013, 07:18 AM #3
    RayG is online now Plastic
    Join Date
    Feb 2012
    Location
    Victoria, Australia
    Posts
    28

    Default

    Nice work dgfoster, here's another solution, I suspect it's equivalent to yours.

    trigproblem.jpg

    Once you have calculated the first r, the successive radii, can be calculated using the ratio r/R, and spacing between centers is r+S+R ( using the new r values each time of course.. )

    Interesting problem, trickier than you'd first think.

    Ray

    Edit: A quick spreadsheet check, to compare the two formulae,

    For R=2, S=0.25, angle 5 degrees.

    Formula 1 ( dgfoster ) r= 1.654
    Formula 2 ( this post) r= 1.659

    I suspect rounding errors in the spreadsheet trig functions, ( no it's another problem... see next post.)
  4. 12-29-2013, 09:04 AM #4
    RayG is online now Plastic
    Join Date
    Feb 2012
    Location
    Victoria, Australia
    Posts
    28

    Default

    Quote Originally Posted by dgfoster View Post

    First we need to find the height of the line F-E:

    A-B = R/cos(a)
    E-D = (S+R)
    D-B = [E-D/cos(a)] sin(a) = (S+R) tan(a)
    A-D = A-B - D-B = F-E = [R/cos(a)] - [(S+R) tan(a)]
    F-E = [R/cos(a)] - [(S+R) tan(a)]


    Now that we have calculated F-E we can find the radius (r) of the smaller circle by determining F-E in terms of r:


    H-G = H-J + J-G = r sin(a) + J-G = r sin(a) + r = r[sin(a) + 1]
    H-E = H-G/cos(a)
    E-G = H-E sin(a) = {r[sin(a) + 1] sin(a)}/cos(a) = r[sin(a) + 1]tan(a)
    F-E = E-G + r = r([sin(a) + 1]tan(a) + 1)


    So we have now determined F-E in terms of R and S and also determinedF-E in terms of r.


    So: F-E = [R/cos(a)] - [(S+R) tan(a)] = r([sin(a) + 1] tan(a) + 1)
    r = {[R/cos(a)] - [(S+R) tan(a)]}/({[sin(a) + 1] sin(a)} + 1)


    r= [R/cos(a)] - [(S+R) tan(a)]
    .......{[sin(a) + 1] tan(a)} + 1
    Hi dgfoster,
    There is an error, in your derivation of FE for the smaller circle,
    The line...
    F-E = E-G + r = r([sin(a) + 1]tan(a) + 1)

    Should be F-E = E-G + rcos(a) = r([sin(a) + 1]tan(a) + cos(a))

    This makes the corrected formula
    [R/cos(a)] - [(S+R) tan(a)]
    r = --------------------------------------------
    {[sin(a) + 1] tan(a)} + cos(a)
    With that correction, I get same answers as my version.

    Ray


    PS... for small values of a cos(a) will be close to 1, so the error only becomes noticable at larger values of a.
    Last edited by RayG; 12-29-2013 at 07:54 PM. Reason: formatting attempt...
  5. 12-29-2013, 12:03 PM #5
    Metalcutter's Avatar
    Metalcutter is offline Titanium
    Join Date
    Sep 2005
    Location
    San Diego
    Posts
    2,581

    Default

    Another math man, wonderful!
    I do need some help, and am willing to contribute to get an accurate answer. I'll ask through Private Messaging when I've got it together and hope you (plural) are willing.
    Regards,
    Stan-
  6. 12-29-2013, 12:41 PM #6
    dgfoster's Avatar
    dgfoster is offline Stainless
    Join Date
    Jun 2008
    Location
    Bellingham, WA
    Posts
    1,229

    Default

    RayG,

    You are oh so correct in pointing out an error that slipped through in my derivation. I must have looked cross-eyed at the diagram as it is clear that the line segment F-G is indeed rcos(a) not r. I do appreciate your pointing out the error (and doing so kindly). You are also correct that, since the cos in my part drawing is so small that the error would barely show up. I corrected my original post.

    I like your solution better than mine as it is a simpler way to look at the problem and thus less error prone and easier to understand.

    I had hoped that, if there were errors in my solution, that they would be picked up by anyone who took the time to really check it.

    Thank you.

    I will re-run the numbers in my part drawing.

    Denis
  7. 12-29-2013, 01:57 PM #7
    xdmp22's Avatar
    xdmp22 is online now Hot Rolled
    Join Date
    Jan 2012
    Location
    Nebraska, U.S.A.
    Posts
    625

    Default

    I want to give props to dgfoster and RayG as well as the PM community....first for being smarter than I with trig and secondly and most importantly for being so respectful....I frequent a few other forums and a thread like this may might have turned into a who's penis is bigger thread.....good job guys

    This is one of the many reasons I enjoy this forum
    Last edited by xdmp22; 12-29-2013 at 07:48 PM.
  8. 12-29-2013, 03:32 PM #8
    JRIowa's Avatar
    JRIowa is offline Diamond
    Join Date
    May 2003
    Location
    Marshalltown, Iowa, USA
    Posts
    6,819

    Default

    Somewhere, if I've still got it, I've got an old Lotus spreadsheet that I made in about 1986 for doing about the same thing. Back in that life, I was building generators. These had a tapered input shaft. The inputs I had were the 2 ball sizes and the depth (or amount above) of the balls from the datum surface. Output was the gageline depth and angle.

    I don't even know if I still have it, but it took a lot of de-bugging in Lotus. Boy, was that a long time ago! They didn't have a way to measure the parts before that. They just fit them to a crankshaft and checked for wobble. I was working on a special gage until we got a new plant manager.
    JR
  9. 12-29-2013, 04:05 PM #9
    Scottl is offline Aluminum
    Join Date
    Nov 2013
    Location
    Eastern Massachusetts, USA
    Posts
    71

    Default

    Very valuable information. Thanks to all who contributed.
  10. 12-29-2013, 07:32 PM #10
    RayG is online now Plastic
    Join Date
    Feb 2012
    Location
    Victoria, Australia
    Posts
    28

    Default

    Quote Originally Posted by dgfoster View Post
    I had hoped that, if there were errors in my solution, that they would be picked up by anyone who took the time to really check it.
    Hi Denis,

    Thanks, it was an interesting problem

    The only reason I found the problem, was, I couldn't see why there was a difference between the answers for the two methods.

    Incidentally, your revised version can be re-arranged to give the same equation. I won't do it here, but if you multiply top and bottom by cos(a), and substitute sin(a)/cos(a) for tan(a), and use the identity sin2(a) + cos2(a) =1, you get the same equation I got.

    Ray
  11. 12-29-2013, 11:39 PM #11
    Groovejivey is offline Plastic
    Join Date
    Oct 2013
    Location
    Kentucky, United States
    Posts
    48

    Default

    Quote Originally Posted by dgfoster View Post
    For anyone interested in the question I am posting the trig solution to the problem of spacing holes on a tapered arm with uniform edge-to-edge spacing along the axis of their centers. I decided to start a new thread as this trig problem was not really the main point of the first thread Is there a scratch-free layout method available? . The trig solution included is applicable to any number of holes with any taper and any spacing.


    The "bottom line" solution is in red at the bottom of the page. For completeness the derivation of the solution is included above that.

    There are two images attached. One is a photo of the drawing of just two circles with an exaggerated taper angle as this setup allowed a more clear separation of some of the tangent and intersecting lines than would have been possible if the circles were drawn to the same taper as the part I was making. The second picture shows the part I intend to make drawn to scale with the spacing of the holes and their radii indicated.

    The work I did on this makes no sense in some ways as a nearly as good and practical result could have been obtained in a much shorter time by just using paper and pencil or a CAD program and empirically fitting the circles between the lines drawn. I guess the challenge of getting a math solution sucked me in.... Maybe this math solution will be of use to someone else who doesn't care to grind through the mental gymnastics to figure it out.
    .................................................. .................................................. ..........................
    The goal of this exercise to determine a method to calculate the diameters of circles of smoothly diminishing diameters and spaced at a specified distance from circumference to circumference and with their centers falling on a straight line. In the diagram shown only two circles are considered. But, once the calculation is made for one pair of circles, subsequent calculations can be made using the same formula.


    Definitions:
    a is the angle subtended by one line tangential to both of the circles and another center line through the center of the two circles.
    R is the known radius of the larger circle.
    S is the distance between the circles as measured on a line connecting their centers. Its length is arbitrary but is constant.
    r is the radius of the smaller circle. Its value is unknown and we want to calculate it relative to R for a given S.


    First we need to find the height of the line F-E:


    A-B = R/cos(a)
    E-D = (S+R)
    D-B = [E-D/cos(a)] sin(a) = (S+R) tan(a)
    A-D = A-B - D-B = F-E = [R/cos(a)] - [(S+R) tan(a)]
    F-E = [R/cos(a)] - [(S+R) tan(a)]


    Now that we have calculated F-E we can find the radius (r) of the smaller circle by determining F-E in terms of r:


    H-G = H-J + J-G = r sin(a) + J-G = r sin(a) + r = r[sin(a) + 1]
    H-E = H-G/cos(a)
    E-G = H-E sin(a) = {r[sin(a) + 1] sin(a)}/cos(a) = r[sin(a) + 1]tan(a) correction to original post in bold below
    F-E = E-G + rcos(a) = r([sin(a) + 1]tan(a) + cos(a))


    So we have now determined F-E in terms of R and S and also determinedF-E in terms of r.


    So: F-E = [R/cos(a)] - [(S+R) tan(a)] = r([sin(a) + 1] tan(a) + cos(a))
    r = {[R/cos(a)] - [(S+R) tan(a)]}/({[sin(a) + 1] sin(a)} + cos(a))


    r= [R/cos(a)] - [(S+R) tan(a)]
    .......{[sin(a) + 1] tan(a)} + 1 ........Correction Needed---see restated formula on next line per RayG---Thank You, RayG

    r= [R/cos(a)] - [(S+R) tan(a)]
    .......{[sin(a) + 1] tan(a)} +cos(a)

    The restated formula above is correct (I think!)
    My medulla oblongata just exploded.
  12. 12-30-2013, 12:27 AM #12
    Tank is offline Cast Iron
    Join Date
    Feb 2009
    Location
    Wisconsin USA
    Posts
    370

    Default

    Wow, I've been on cad for about the last 10 years and haven't done any trig like this since then. It would have probably taken me (not everyone, I'm not that good) 20-30 minutes to figure this out back in the days before I learned cad. Not sure if I would get where I needed to today since it's been that long.

    Now I could lay this out in 45-60 seconds in cad. You could get any resultant dimension you want from the geometry. I'm not writing this to in any way put down the formulas or great math skills of the posters here, but to highlight just how powerful the cad programs are today. Problems like this that once took some math study can be figured out by anyone who can operate a cad system. I guess I'm just noting how the times have changed...
    James H Clark likes this.
  13. 01-01-2014, 07:58 PM #13
    dgfoster's Avatar
    dgfoster is offline Stainless
    Join Date
    Jun 2008
    Location
    Bellingham, WA
    Posts
    1,229

    Default

    I had some time over the break to work on this problem again.

    For those who might want it, I have a fulling functional spreadsheet that will do the calculations for a series of holes with constant edge to edge spacing as outlined in the OP. To use it, all you have to do is load in the location of the first hole center, its radius, the desired spacing, and the angle of taper (1/2 the included angle between the lines tangent to the hole circumferences). Once you do that it will figure the location of all subsequent hole centers and the radius of each hole. Pretty neat.

    I do not know how to post it here for folks to copy. So, if you would like a copy of the spreadsheet PM me. I will email it to you as an attachment. Thanks to those who helped me along the way.

    Denis



  • [machinist] Trig Solution to Tapering Hole Diameter Problem, Lawrence London, 01/02/2014

Archive powered by MHonArc 2.6.24.

Top of Page