Recent Posts

How to Use Gears – What You Really Need to Know

I can remember it clearly; my older brother got a Lego Technics set for his birthday and I saw gears for the first time! I wanted to play with them so badly that I stole a few when he wasn’t looking. I got caught.

Lego has simplfied the gear selection process greatly so when you want to use your own real world system, it is a bit more complex and there are a lot of choices to make.

Gears transmit power between shafts and the two main purposes are to change speed and direction. In order to use gears properly, matching diametric pitch and pressure angles must be used. Lubrication and proper backlash adjustment are important to ensure long life.

Let’s take a look into the 7 questions that need to be answered to properly use gears.

  1. What type of gears do I need?
  2. How will it mount on a shaft?
  3. What is a pressure angle and which one do I want?
  4. How do I choose the diametric pitch?
  5. How do I calculate gear speeds and forces?
  6. How do I lubricate my gears?
  7. How do I make sure my gears aren’t too sloppy?

Gears vs Sprockets

So, the first thing I want to mention is gears are not sprockets and sprockets are not gears.  Gears are meshed with other gears.  When a standard set of gears are meshed, they will turn in opposite directions.  Sprockets on the other hand are connected by roller chains and will turn in the same direction.  Sprockets go with chains and gears mesh with each other.  The images below show how the tooth profiles are different as well.

What type of gears do I need?

Image courtesy of Flickr

Spur gears

Spur gears are the most common type of gear.  They are easy to produce and widely available in a multitude of materials.  For those of you familiar with Legos their most common gears are spur gears in eight tooth, a sixteen tooth, a twenty-four tooth, and forty tooth.  

Excited to Learn More About Gears? 

Sign up for Mentored Engineer’s FREE Comprehensive Gear Design Master Class ($500 Value) that includes his Planetary Gear Calculator ($250 Value) and weekly Mentored Engineer Newsletter

The Comprehensive Gear Design Master Class is a 17 part series of videos and text where you will learn:

  • How to size gears so they mesh
  • Calculate the stress on the gear teeth
  • Calculate gear ratios in planetary system

After completing this course you will be able to correctly design and spec gear boxes for your applications the first time.

The course and the calculator have a combined value of over $750! for FREE

We respect your email privacy

They all will work together with each other because they all have the same diametrical pitch and pressure angle which allows the gears to mesh with each other (more on that later).   All gears have the same diametrical pitch and pressure angle in the Lego universe. 

Small gears are sometimes called pinion gears or just pinions.  They usually refer to a gear that drives a larger gear.

The biggest indicator of a spur gear is the tooth is completely parallel with the shaft axis.  These have the best efficiency of all gear types since meshing gears won’t create side forces.  They also have a ‘line contact’ indicating that the entire face of the gear should be contacting the other gear.  A downside is that since the gears are always contacting and releasing each other, they tend to be noisy at higher speeds.

Rack gears

Rack gears are a version of a spur gear that has essentially been cut and flattened out and it has the same diametrical pitch as a round gear, except rack gears don’t have diameter, so they’ve kind of fudged that a little bit and they just keep the same diametrical pitch.  If that confuses you, think that it is only a section of a gear with an infinite radius.

If you’ve ever heard of rack and pinion steering, it is describing a rack gear being moved side to side by a pinion gear.  In the picture below, we have modeled the front end of a car and you can see the small pinion gear and the rack attached to the steering arms.  The arms are attached to the front axles.  When I turn the steering wheel, the pinion turns and shifts the rack from side to side.  Pretty simple.   

Worm Gears

Another gear type is a worm gear where the teeth are wrapped around the axis of the shaft.  It meshes with a more standard gear at a 90-degree angle.  This more standard gear usually has a slight angle to match the advancement of the work.  Generally, the larger gear is the driven gear and the worm gear is the driving gear.  As we turn the worm gear, we only get one tooth advancement for one revolution on the input.  Now depending on how you design this you can get great interface between the two gears so that you’re not just wearing on one tooth.  You can see that many teeth on either end of the worm gear don’t get any wear.

Worm gears are mostly self-locking at about a 15:1 ratio but that is also dependent of gear lubrication and friction in the bearings.

Worm gears don’t have to be single indexing system; meaning that there is only one set of teeth going around it.  Other possibilities are double or even triple indexing threads.  When I was in high school, I got to tour the Statue of Liberty.  Inside the statue, there is a double helical stairway.  This stairway allowed a path for people going up and one for people going down.  (It was really steep too.)  This is the same for a double indexing worm gear, I went around once, but actually advanced two staircases high. 

Worm gears are most prevalent in winch applications where you don’t want the spur to move unless driven.  You can also improve braking, by adding a brake.  The brake is usually removed when hydraulic pressure is applied.  Another application would be crane rotation.

So, the spur gear that interfaces with the worm gears actually has different in profile.  If I turn the gear so that the axis is 90° to me, the teeth won’t be flat.  They will have a slight scallop to them to match the worm gear.  This gives better contact area which decreases wear. 

Mitered or Beveled Gears

Mitered and Beveled gears have the teeth cut on about a 45-degree angle to the axis of the shaft, and that’s so that you can interface with two of them and form a 90-degree angle.  Now you can change the direction from being in the same axis to them being 90 degrees apart. 

There is a difference between beveled and mitered gears.  Beveled gears are shaped differently that mitered gears making them a better choice in the transmission of motion and not power.  As a result, they work well with different gears with differing number of teeth.  They are also quieter because the contact is changed from a line contact to a ‘point contact.’

Miter gears on the other hand are intended to only mesh with gears of the same number of teeth and that leads to a line contact situation again.  As a result, efficiency increases.

Cog Gears

Cog gears have all but disappeared from the industrial world.  It is mostly a slang term now for gear.  Back in medieval times, it was very hard to shape a gear tooth, so they used a mostly square tooth and slot design.  This was great at transmitting motion, but very inefficient for transmitting torque.  These have pretty have been totally replaced by a spur gear.  The picture here shows the Lego version of the cog gear.  The tooth design on it is very crude, but Lego keeps the design because there are a number of ways to transmit motion with it.  However, because of the large cuts between teeth, it is not recommended for power transmission.

Helical Gears

The major downside to spur gears is that when you get up to high speeds, they start making noises when they interface with each other.  If you have a manual transmission car, you may have noticed when you are in reverse there’s a whine.  That happens because the reverse position activates a set of spur gears.  So why are the other gears in my transmission so quiet?  The answer is they use helical gears.

A helical gear is like a spur gear, but the tooth is cut on an angle that somewhat wraps around the gear.  The lack of noise is caused by the line contact of a spur gear being replaced by a point contact.  As the gears mesh, there is always a shifting in contact across the face of the gear tooth.  Because the teeth are wrapped around the gear, multiple teeth will be meshing at the same time but at different places across the face of the gear.  

How will it mount on a shaft?

The short answer is keyed shafts.  By far any off the shelf gear with be available in a variety of bores sized with keys slots.  You can also buy them with unfinished bores and either cut your own keyway or cut an involute spline.

When selecting a bore size, make sure that you aren’t selecting a shaft that is too big for the for the gear.  Recently, I had a system that used a 10-tooth sprocket on a 1” shaft.  The system had some pressure spikes in it at startup and actually cracked the sprocket in half.  It was able to do this so easily because the material between the outside of the hub and the keyway was only 1/8” thick.  We were able to double that to ¼ by adding one tooth.

Most gears are held in with just one or two set screws.  Generally, one screw will be on the key and the other will be 90° to it and press against the shaft.  For spur gears, this is adequate, but for helical gears, there needs to be more of a positive engagement on the shaft to account for the side load.  Possible solutions are thrust bearings, tapered roller bearings or snap rings.

Read this article for more information on this subject.

What is a pressure angle and which one do I want?

There is a lot that goes into the design of a gear tooth.  Now I don’t know all the specifics of tooth design and more importantly, I don’t want to burden you with them either.  But somebody has thought this out, done a lot of careful planning and lot of calculation on tooth design.  Let’s leave this subject to the experts and build off their theory, knowing that it works.

Gear teeth are designed with the unique profile and it’s called an involute profile.  The involute profile is made by taking a string and wrapping it around a cylinder.  We then trace the curve as it unwinds.  As you can see, a curve with a constantly increasing radius is made.  This is very similar to the Fibonacci curve sometimes known as the Golden Spiral. 

The section of the involute curve we use is determined by how close or far away from the center cylinder and how big the cylinder is to begin with.  Once again, let’s leave that to the experts and just go on their theory and know that it works.

A pressure angle is defined as the instantaneous angle the involute has where it intersects the pitch circle relative to the tooth.  But that’s not important for what we want to do, so forget that.  Here is what is important:  Pressure angles for meshing gears must match.  Standard pressure angles are 14.5° and 20°.  To a lesser extent 25° is also available.  The higher the pressure angle, the finer the teeth.  If we’re interested in power transmission, use the 14.5° design.  The 20° angled gears are more for precision because they have very little backlash.  However, the you will need to hold the center to center distance much tighter.

How do I choose the diametric pitch?

Unfortunately, we do need to take a little aside to specify some terms here.  I promise, it will be brief.

Lands – They are the “flattened” section of the tooth.  The top land is the land at the maximum extent of the gear and the bottom land is at the minimum diameter.  When meshed, there should be a small gap between the lands.

Pitch Circle – The pitch circle is the effective diameter of the gear.  Ideally you will want the pitch circles of two gears to be tangent to have the correct distance between them for meshing.  This information is usually given by the manufacturer and is commonly referred to as the variable “d”.

Diametrical Pitch – Diametrical pitch is represented by PD and has units of teeth/in (TPI).  It is the number of teeth on the gear divided by the pitch circle (d) of the tooth.  This information is supplied by the manufacturer.  The diametrical pitch must be the same for gears to mesh.  Since I like Legos, we will use them to do a little example.  Lego block have the holes 0.314” apart so we will use that as our measurement.  If I mesh two of the 8 tooth gears, we can see that the pitch diameter is one hole or 0.314.  Our PD is 25.5 TPI.  The 16-tooth gear uses 2 holes or 0.628” and Our PD is 16 / 0.628 or 25.5 TPI.   We would also find that the 24 and 40 tooth have a 25.5 TPI if we did the math.  These gears mesh together because they have the same pressure angle and diametrical pitch.

How do I calculate gear speeds and forces?

Gear Speed Ratio

With gears, the speed ratios are quite simple: you count the teeth.  Assuming that the gears have the same diametrical pitch and pressure angle, they will mate.  Now all we have to do is count the teeth to see what the speed ratio will be.  If we use a 40 tooth and 8 tooth gear, we can divide by the smaller one and see that our ratio is 5:1.  That is the smaller gear will need to rotate five times to cause the larger gear to rotate once.  The gear ratio will tell us how speed and torque are related.

For example, we have a 1 hp electric motor rotating at 1800 rpm and the shaft is attached to the 10-tooth gear and drives a 45-tooth gear.   We can calculate that the gear ratio is 4.5:1.  From this, we can calculate the output speed is 400 rpm.  The input torque at 1800 rpm is about 35 in-lb.  We can then multiply this by our gear ratio and find out that the maximum output torque is 175 in-lb.  It needs to be noted that this does not account for any inefficiencies in the system.  Gear mesh inefficiencies and bearing friction will reduce the torque transmitted but have no effect on the speed.

Spur Gear Forces

Now we are going to talk about the transmission of torque and force. The first thing we’re going to do is create a quick free body diagram on a gear tooth.  Because of the involute tooth design, we can make our calculations based on contact at the pitch circle diameter.  We have the tangential force, Ft which is the input force that transmits motion.  Because of the gear’s pressure angle, we now have a radial force, Fr, that pushes the gears apart.  As you can see, having a higher pressure angle will create higher radial forces.  To maximize efficiency, ball or roller bearings are often used even when rotation speeds may be slow enough to use cylindrical or other non-moving bearings.

By solving for the statics, we can find Fr and the total force F.  The total force is almost a useless number, but it does give some indication of how efficient the system is.  The higher the ratio of Ft/F is, the more efficient the teeth are.  Continuing our example, we find that the forces on the gears are as follows:

Helical Gear Forces

Helical gears have an added level of complexity not only in design, but also calculation.    In the gear above we still have a 14.5° pressure angle, but the teeth are cut at a 18.93° angle from the shaft axis, represented by ψ.  From the diagram below, we slice the gear two ways with θt equal to the gears pressure angle and θn which the pressure angle when viewed from the end of the gear. Now we can start calculating our gear forces.

Since the gear tooth is cut at an angle to the rotation axis, it should be no surprise that we are now going to have an axial component in our calculation.  As a result, you will need to think of how you want to deal with this load.  Having a set screw taking this load might be acceptable if you are using small torques, but you will probably need to upgrade to tapered roller bearings or thrust washers if your loads are high.  Obviously, having the axial component will decrease our overall efficiency of the system as our ratio of tangential force to total force dropped from 97% to 92%.  One thing to note about changing from our spur gear is that the radial force remains the same.

Tooth Forces or How a Gear is Really Sized

So, it all comes down to the force and stress exerted on the tooth.  For as complicated as the gear tooth profile is and all the points that the gear can contact at is the formula is surprisingly simple.  Remember those really smart guys that came up with the involute profile I was telling you about before.  This is where they really earned their money.

Where Ft is the tangential force, σa is the allowable stress, w is the effective width of the gear, Y is the Lewis form factor and PD is the diametric pitch.  As always, watch your units.  For this, you can stay in pounds and inches.

Excited to Learn More About Gears? 

Sign up for Mentored Engineer’s FREE Comprehensive Gear Design Master Class ($500 Value) that includes his Planetary Gear Calculator ($250 Value) and weekly Mentored Engineer Newsletter

The Comprehensive Gear Design Master Class is a 17 part series of videos and text where you will learn:

  • How to size gears so they mesh
  • Calculate the stress on the gear teeth
  • Calculate gear ratios in planetary system

After completing this course you will be able to correctly design and spec gear boxes for your applications the first time.

The course and the calculator have a combined value of over $750! for FREE

We respect your email privacy

Lewis Form Factor

The Lewis Form Factor is the real genius of the operation.  This factor takes in all the geometric variances with the involute profile and puts them in a neat little table shown here.  You can see that increasing the number of teeth increases the factor as well as going to a higher pressure angle.

If you want to increase your tooth capability, you can increase your allowable stress, gear width, or use larger or higher pressure angle gears.  You can also decrease the diametric pitch, because fewer teeth per inch means larger (and stronger) teeth.

Barth Speed Factor

The equation for finding the allowable stress is for static gear meshing or those running at very low speeds.  Unfortunately, we probably want our gear systems to run at some speed so we need to add in a factor to account for speed.

Adding the Barth Speed Factor, kd, decreases the allowable tangential force.  The gear speed is the velocity of the teeth at the pitch diameter measured in ft/min.  The constant a is based on the gear design and is 600 ft/min for regular gears and 1200 ft/min for precision gears.

With these equations, you should almost be able to calculate the tangential force.  We are only missing what the allowable stress is.  Unfortunately, I cannot give an easy answer.  I can only give the lawyer answer: It depends.  Here are some of the factors that will play a role in calculating the allowable stress

  • Hertzian contact stress
  • Gear ratio
  • Material
  • Surface roughness
  • Lubrication
  • Overload
  • Dynamic Load
  • Temperature

Each of these factors can be very hard to determine.  I wish I could be of more help, but every case is different.  My advice to you is this, go conservative!  Calculate the maximum load that system can see and use a design factor or 3:1 on yield stress.  Make sure that your gears are well lubricated as well.  Designing to these criteria will put you on the side of caution.  Remember nobody complains if your gear system lasts forever.

How do I lubricate my gears?

There are primarily three methods of gear lubrication:

  1. Grease
  2. Splash
  3. Forced oil circulation

Let’s examine each in brief

Grease lubrication

Grease lubrication works best with open geared systems.  You basically spray on lubricant that sticks to surfaces.  Since it is spray on, it has two major downfalls.  First, it will have to be reapplied often.  Second, since it is sticky, it is like grease and will attract dirt.  As you can imagine getting some “sand in your gears” is not a good thing.  Grease lubrication is meant for slow moving gear systems less than 15 ft/s tangential velocity.

Splash lubrication

Splash lubrication is where part of one or more of the gears are in an oil bath.  As the gears turn, the lubricant will stick to the surface and lubricate the other gears in the system.  I recommend this style of lubrication because all of the connecting gears get lubricated. Also, because the lubricant is thin, there is less power loss between gears.

Forced oil circulation lubrication

This involves oil or other lubricant to be pumped and put directly on the gears.  The delivery can be poured, sprayed or even misted.  This is used primarily when you have open gearing but working inside a building or even a very large gearbox.  One benefit is you are also able to control the oil temperature and cleanliness.

I have used this method in the past where it was impossible to lubricate all the gears from the same pan. The application used a multitiered oil pan where lubricant was pumped to the highest pan and would spill over to the next pan when it was too high.

How do I make sure my gears aren’t too sloppy?

Sloppiness in gears is called backlash.  In gear design, there is a gap between the lands; but there should also be a gap on the side opposite side of contact.  If that gap is too much, there is sloppiness.  If it is too little, there gears will wear prematurely because of interference.

Now imagine we are looking at a crane’s rotation bearing.   When we rotate the crane boom, we don’t want the bearing to repeated jerk side to side when the crane stops.  Generally, if the backlash is too loose, the crane with jerk back and forth until friction finally stops rotation.  That repetitive jerk on the gear teeth will cause teeth to break off from fatigue.   To minimize or even eliminate this, you want to get those teeth very tight to each other.  You can do this by moving one of the gears closer to the other by changing the center to center distance.  

My favorite way to adjust these is to take one of them, usually the pinion, and make an eccentric ring as shown.  The eccentric ring has an outer diameter that is off center from the inner diameter.  Normally, 1/16” of an inch would be more than enough.  The ring would sit in a bore and could be rotated as needed to adjust the shaft closer to or further apart from the other gear.  Once you have it properly adjusted, you will need to lock it in place.  I have a few ideas here, but I will not share them because they are proprietary.  You will want to use anti-seize so that you can get these components apart someday.

Measuring Backlash

Backlash can be measured quite easily by using a magnetic mounted dial indicator.  Here are the steps to set backlash:

  1. Find the high side of the teeth if possible.  If the bearing is new there is usually a mark from the vendor.  Rotate so that the pinion is acting on those teeth.  (Side note: you also want the high side of the teeth to be meshed when the unit is stowed.  For mobile equipment this limits the impact from road vibrations.)
  2. Generally speaking, the pinion gear will be much smaller, so we will want to mount the indicator on whatever moves with the pinion.  In the case of a crane, it is probably the turntable
  3. Adjust the indicator so that point is touching a tooth on the stationary side as close to tangential as possible.
  4. Wiggle the moving part (i.e. turntable) by pushing and pulling on it from side to side.  Watch the indicator and note the range of motion.
  5. Adjust the eccentric ring or other device until the range of motion is as desired.  This is usually around 0.005” to 0.010” (0.12 to .25 mm). 
  6. Lock the eccentric ring in place.

Conclusion

Gear systems are everywhere and fun to design and use.  This article is designed to get the gear novice at least speaking the language of gears and hopefully equipped to design a system of their own.

How to Design a Worm Gear System – What You Really Need to Know

In this video, Corey describes the design profile of worm gears and how they are used in industry.

https://youtu.be/GGCbP_2hmpA

Excited to Learn More About Gears? 

Sign up for Mentored Engineer’s FREE Comprehensive Gear Design Master Class ($500 Value) that includes his Planetary Gear Calculator ($250 Value) and weekly Mentored Engineer Newsletter

The Comprehensive Gear Design Master Class is a 17 part series of videos and text where you will learn:

  • How to size gears so they mesh
  • Calculate the stress on the gear teeth
  • Calculate gear ratios in planetary system

After completing this course you will be able to correctly design and spec gear boxes for your applications the first time.

The course and the calculator have a combined value of over $750! for FREE

We respect your email privacy

Compression Spring Design – What You Really Need to Know

Springs are essential to life.  In fact everything on the planet acts like a spring, which follow Hooke’s law.  When force is applied to an object, it will deflect.  If more force is applied, it will deflect more. 

When designing or selecting a compression spring the following items need to be considered:

  1. Spring Shape
  2. End Type
  3. Number of Coils
  4. Spring Set
  5. Allowable Spring Stress
  6. Spring Index
  7. Spring Calculations
  8. Spring Selection Approaches

One crucial thing to understand when designing compression springs is to be sure to operate them in their intended range.  All springs work well in their linear range, but as soon as they are loaded past the yield strength, the spring stops behaving as intended and the spring life is severely shortened.  It is little known that springs are one of the most energy efficient methods of storing energy as very little heat is created in the process.

One of the most fascinating things about springs is that the method they are used in is opposite of the load they see.  A compression or extension spring is loaded in torsion and a torsion spring is loaded in bending.  I liken this to driving on parkways and parking on driveways.  It’s all backward!

1. Spring Shapes

Cylindrical compression springs are by far the most common, but there are other shapes to consider.  The most popular are:

  • Conical
  • Hourglass
  • Barrel
  • Reduced Ends

Cylinderical Springs

Cylinderical springs are very common and come in a variety of sizes as an off the shelf part.  The OD and ID of the spring is consistent and as a result, they are generally intended to be guided by being placed in a bore or over a shaft.  The spring rate is constant and adding springs in series will enable more travel, while adding them in parallel allows for more force.

Conical Springs

            Conical springs are widely used as well.  They are prevalent in most battery powered electronics as they squeeze the negative terminal of the battery and hold it in place.  A conical spring has a constantly decreasing radius.  The main reason to use this type of spring is height constraint; the coils will nest inside each other until the collapsed height is roughly two thickness of the wire diameter.  This allows more stored energy in a smaller space.  Because the diameter of the spring is not constant, the spring rate is non-linear.  When you push on a conical spring, the outer coils will compress first and the spring rate will continually increase as the diameter decreases.  Conical springs also have some tolerance for lateral movement as one would see when a battery is inserted into the electrical device with a slight offset from the battery center-line.  Along with hourglass and barrel springs, conical springs are often chosen when spring surge is an issue.

Hourglass Springs

Hourglass Springs are nose to nose conical springs.  They allow for high loads in small heights.  The main reason to choose an hourglass spring is for lateral stability.  To demonstrate this, imagine holding the spring between the flat palms of your hands.  If I push my hands together, I compress the spring.  If I keep my hands parallel and the same distance apart, but shift them side to side, I add lateral loads.  An hourglass spring will naturally resist this motion because of its wide base and shape.  This is the reason that these springs are used in the railroad industry.

Barrel Spring

This image has an empty alt attribute; its file name is barrel-1.png

Barrel springs are used when buckling is an issue.  Sometimes, to get the load capability needed the spring becomes very tall.  If there is not a bore the spring fits into or a shaft it fits over, normal springs will buckle.  A barrel spring has narrow ends and a much wider center.  The wider middle section gives it more stability against buckling. 

The second reason to use a barrel spring is it can be designed to reduce the total height just like a conical spring.  Once again, the spring rate is non-linear.

Reduced End Spring

The final type of spring is a reduced end spring.  You would select one of these for the same reason as a barrel spring.  The main difference is that the reduced end spring is far more linear in nature.

2. Compression Spring End Types

There are four basic types of compression spring ends, they are:

  • Open
  • Open and Ground
  • Closed
  • Closed and Ground

An open end spring will have wire cut perpendicular and none of the coils touch each other in the relaxed state.  The pitch is consistent throughout the length of the spring.  An open and ground spring is different because the wire is ground at each end so that the spring can lay flush and not leave an indent in whatever it mates to.  However, due to the nature of the open spring, there isn’t much material ground off the part.

A closed spring will have the last two coils touching. This offers more support at the end, but it will shorten the number of active coils by two thus changing the spring’s characteristics.  They are also available in closed and ground versions so that they can lay flush.

Even if the ends of a spring are ground, they are not and cannot be perfectly perpendicular.  As the spring is compressed, the ends will deform angularly thus causing the spring end to rock on a flat surface.  This can lead to unevenness in the spring constant thus rendering it a variable defined by its height.  In most cases, the application is not critical enough and the average spring rate can be used. 

If this is an issue in your application there are two remedies to minimize the effects.  Change the end of the spring from an open to a closed condition.  As you can see from the diagrams, an open and ground spring will only have a small part of the spring ground.  The closed condition grinds a large percentage of the last coil off and therefore offers more support to the end of the spring.  If your wire diameter is smaller than 0.20” this will most likely solve your problem.

The other solution is to specify that the spring be ground at a specific height or load applied.  This is a custom spring and you will pay for the vendor’s extra attention.

3. Number of Coils

Counting the number of coils on a spring can be tricky.  There are two variables that specify the number of coils.  The value Na is the number of active coils and Nt is the total number of coils.  Only in the case of an open spring is Na equal to Nt.

First of all, you cannot count any coils where the coils are closed or touching.  These are inactive coils which don’t cause the spring to be a spring.  Start counting each coil from one end to the other starting where the section first opens.  For an open end spring, this is the first coil.  Keep counting until you get to the other end of the spring.  Generally speaking, coils are counted as full turns, but half and quarter turns are also widely used.  Many spring manufactures will allow two digits of precision on the number of coils.  For torsion springs, like clothes pins, you will specify the end condition in degrees.   

In the examples shown, each spring has 6 coils even though the closed end spring has 8 total coils.  The table below shows the relationship between active coils, total coils, the solid height and the pitch of each spring type.  Allow a 3% tolerance on the solid height to account for the end conditions, wire diameter tolerance and helical wind waviness.

4. Spring Set

Some springs need to be “set” so that there is a uniform initial or relaxed height.  For compression springs, the spring is “set” or “take a set” to the correct height when it is compressed for the first time.  To do this, compress it to its collapsed height and release.  As you can imagine, the setting process will leave the spring height shorter.  At this point the spring will have been set and it will return to this height every time as long as the loads are within the springs limits. 

For standard springs, this is done at the manufacturer so they can provide consistent product and not have to deal with the question, “Why are my springs too tall?” from every customer. 

However, if you are ordering a custom spring, the vendor may not be able to (or just not want to) set your spring.  If this is the case, you have two options.  Option 1: you can assemble the spring and let the first operation set the spring.  This may work in some cases, but if the application doesn’t compress the spring enough or if the spring won’t physically fit option two is needed.

Option 2: set the springs yourself.  For small springs, you can simply squeeze them in your hands.  For larger springs, you may need a pneumatic or hydraulic press.  This can be a very time consuming process.  When designing a custom spring, be sure to consult your vendor for how much set is expected so that you can design your spring to be taller when wound and the right height when set.  Your vendor should have plenty of data to get you an accurate spring design.

5. Allowable Spring Stress

All springs function according to their dimensions.  The dimensions will specify the stresses seen in the spring.  Based on general stress calculations, we know that the largest stresses in a compressive spring will be on the outside surface of the wire as load is applied. 

When designing a spring, the dimensions are critical to spring characteristics.  Often we are confined by the form factor where the spring is applied, i.e., the spring needs to fit in a ¾” hole or over a ½” rod.  As the designer, if you find that there is only one or two choices for springs available, you may want to ask yourself if you are being too strict with the design.  I have often found that in my design I needed to go up in capacity, but the form factor was already set in stone.  Now it is really hard to get the performance I need.  Had I adjusted my design to have four or five choices of springs, I could simply change out a spring.  In practice, I desire to have five choices; my ideal spring plus two stronger and two weaker spring alternatives.

The life of the spring is dictated by fatigue.  As the spring is cycled, grains in the steel rub against each other.  As they repeatedly rub, small cracks will get larger and larger until failure occurs.  There are two main components that dictate the life of a spring; the number of cycles and the stress intensity.

The number of cycles is pretty easy to determine, it is something that is easily counted or estimated.  We find that most materials have an endurance limit, where if the spring makes it to that number of cycles, it will last forever.  For steel, this occurs around 1-2 million cycles.  Unless your spring is custom, vendors only make springs with infinite life.  Even then, vendors will fight you on a finite life spring.

Stress intensity is much more complicated.  A lot of it has to do with the mean (average) and alternating stresses.  The average stress, alternating stress and stress range are defined by the following equations.  We will use a maximum stress of 50 ksi and minimum stress of 10 ksi.

Since we are only dealing with compression springs, the minimum stress is usually zero unless the spring is always compressed.  In the case above, we will always have a preload on our spring.  This is usually the case in applications where a handle needs to be centered.  We want preload on it so that the handle doesn’t vibrate when at rest and it also requires some force to move when leaving the center position.  (They are also a pain to install as well.)  In any case, our stress range is 40 ksi.  To extend our spring life, we will want to decrease this as much as possible.  If a spring was to be used as both an extension and compression spring, the minimum stress would be negative thus increasing the stress range greatly and decreasing life span.

One step that spring manufacturers perform to limit the magnitude of stress is to stress relieve.  The stress relieving process heats the spring to high temperatures so that permanent or residual stresses from the forming process are eliminated.  The temperature here is not so high that the spring would lose its initial temper.

There are generally three different categories that spring design fits in to:

  1. The first category is for springs that can be compressed solid without set or yielding.  These are usually pretty strong springs and are designed with lower allowable stresses.  These stresses are generally less than 40% of the materials tensile strength.  Forty percent is chosen because the endurance limit of most materials is around 45% of tensile strength.  The extra 5% is added so that material defects or defects from the forming process do not limit the spring’s life.
  2. The second category is for springs that are ‘set’ when fully compressed.  Once the initial load is removed, there is no further yielding of the material and the relaxed spring length will remain the same.  These springs are designed for infinite life, but the target stress is higher but generally lower than 60% of the tensile strength. 
  3. The final category is for springs that will yield the material if fully compressed.  This means that some level of set is to be expected every time it is fully compressed until it results in failure or a collapsed spring.  These springs are not designed for infinite life and/or have a maximum load or compressed height recommended by the vendor.  These springs are obviously designed to more than 60% of the tensile strength.

6. Spring Index

The spring index is a simple ratio of the mean diameter to the wire diameter.  It is a variable used in many spring calculations and give us an idea of what type of spring it is.  The index should be kept between 4 and 10. 

If it is lower than 4 and your spring is coiled too tight, this will require special tooling to form.  When forming a tight radius, you might also have problems with the material cracking internally and that will lead to premature failure. 

Spring indexes greater than 10 means the spring will be real flimsy and lead to problems with packaging and tangling.  Think of a slinky.  You also won’t be able to grind or perform other operations like plating. 

This should be a giant red flag that something is not right with your design.  Don’t design yourself into a hole!

7. Spring Calculations

So this is a little bit of a backwards approach.  There are five main ways of selecting a spring, but they only make sense once you understand the equations behind spring design.  For this we will go through the calculations and then come back to the methods of selection.

Most spring design is done based on dimensions so it is likely that you will have the outside diameter (OD) and the wire diameter.  From these two pieces of information, we can find the inside diameter (ID) and the mean diameter, Dm using the following equations:

From here we can calculate the stress on the spring (assuming the wire is round).

Where C is the spring index, P is the applied load and K is the stress concentration factor.  Note K is shown for extension and compression springs.  Other types of springs have different values.

The final step is to calculate the spring rate, R

Where G is the shear modulus of elasticity and δ is the deflection.  Many times you will be given the spring rate, so we can rearrange this equation to calculate the number of active coils in the spring.

The last thing that you may want to know about your compression spring is how much it expands as it is loaded.  This is important to know if your spring is compressing in a bore or extending over a rod.  At the solid height (SH), the diameter is defined as:

8. Spring Selection Approaches

There are five basic methods for selecting a compression spring.  You will need to select one of the five that best fits your application. 

  1. Design based on physical dimensions
  2. Design based on spring rate
  3. Design based on two loads
  4. Design based on one load and spring rate
  5. Design based on one load and free length

Case 1: Design based on physical dimensions

This is probably the most common method of designing a spring.  When approaching the design you probably already have a certain envelope that the spring must fit into or around.  When selecting a spring by physical dimensions, you need to specify two of these three things:

  • Outside Diameter – OD
  • Inside Diameter – ID
  • Wire Diameter – d

Case 2: Design based on spring rate

When you know the spring rate you desire, you can start your selection there.  You will need other information such as free length, load capacity or some dimension of the spring to complete the selection.  Once you have selected this information you will probably be able to calculate the number of active coils and the free length using the following equations.

Case 3: Design based on two loads

For this design criteria, you will specify the spring rate based on two loads that are applied to the spring.  At each load, the spring will deflect differently.   Many spring manufacturers will have this option of choosing a spring on their website.  The variable, L, is the total height of the spring and not the deflection.

(Note: Spring rates are always positive. Swap L1 and L2 if needed). Once you have the rate, you are basically back in the previous design case (Case 2) and need to make other decisions to select your spring.

Case 4: Design based on one load and spring rate

This is really another subset of load Case 2.  The only difference is we will be able to calculate the free length without making any other selections.

Case 5: Design based on one load and free length

This is really just a subset of Case 3 where we assume that P2 is 0 lb and L2 is the free length.  Then use the equations in Case 2.

So let’s run an example

I need a spring that will fit in a 1.25” hole and have a free length of 5.00 in.  I need a spring that will support at least 100 lb without bottoming out.  I then go to Lee Spring’s website and search for what I know: fits in 1.25” hole and free length of 5.00 in.  I get the following results.

Looking through the list, I have multiple options which means that my design is reasonable and I’m not designing myself into a corner.  I look through the spring rate column and notice that the first four springs are just not going to cut it.  A spring rate of 5.3 lb/in is going to take 20” of compression to get me to 100 lb!  The 22.25 lb/in spring rate is probably just outside of where I need to be.  I have selected the 53 lb/in spring as a starting place because my deflection at 100 lb will be just less than 2”.  At this time, I will perform my hand calculations (left) and determine the results.  I have also displayed the additional information from the manufacturer (right).  Notice how my calculations of solid height, active and total coils match with the manufacturer.  We also have a maximum load capability of 140 lb.  I have also added a calculation for W which is the working range of the spring.  I’m not sure why manufacturers don’t provide this, but it would be nice.

At this point, we can move on to the stress calculations for this spring.  Since we are using music wire, we will assume that for this diameter, the tensile strength is 225 ksi.

As you can see from the stress calculations, the intended load is only 10% of the tensile strength.  Also, our deflection is 1.89 in as we estimated.  If you are curious as to where the 0.577 comes from, please watch the video on Mohr’s Circle.

Conclusion

Spring design seems complicated because there are so many different ways to approach it.  Just remember that there is no perfect solution for your application.  With all the off-the-shelf sizes, shapes and materials to choose from, you will select a very good spring for your application.  Just remember to watch for the red flags of improper spring index and always have plenty of alternative springs ready.

You got this!

Glossary of Terms


The Best Guide to Differential Gear Systems

In this video, Corey describes how differential gears work. He also explains how limited slip differentials get you out of the mud.

Excited to Learn More About Gears? 

Sign up for Mentored Engineer’s FREE Comprehensive Gear Design Master Class ($500 Value) that includes his Planetary Gear Calculator ($250 Value) and weekly Mentored Engineer Newsletter

The Comprehensive Gear Design Master Class is a 17 part series of videos and text where you will learn:

  • How to size gears so they mesh
  • Calculate the stress on the gear teeth
  • Calculate gear ratios in planetary system

After completing this course you will be able to correctly design and spec gear boxes for your applications the first time.

The course and the calculator have a combined value of over $750! for FREE

We respect your email privacy

 

Easy Guide to Design Cylinder Geometry for Articulation

One common task for a design engineer is to design an articulating system.  Often this is for lifting objects as is the case with a crane, aerial lift platform or even my log splitter’s jib.  Cylinders are a great choice for powering this articulation because they are able to provide large amounts of force in a small package.  The task of designing an articulating boom seems daunting, but with the advent of 3D CAD, MathCAD and/or Excel, the job has been simplified.

In order to layout the geometry for an articulating cylinder you will need to determine the articulation range and then lay it our in 3D CAD using a parametric sketch. Create a mathematical model that will calculate to loads and forces needed for the geometry. Finally, select a cylinder and tweak the design.

Let’s investigate each step a little deeper.

Determine what your articulation or reach needs to be

This is by far the most critical step, but it is often overlooked.  In order to properly design a system that is robust, you need to have a firm grasp on the reach and height requirements.  Loading should also be considered here too.  Failure to do this often results in having a machine that needs to be ‘stretched’ to meet customer demands.  Stretching a unit is never a fun thing and it leads to a patched design at best or complete rework at worst.

For a single cylinder articulation design, 120° of articulation is the maximum you want to plan on.  The articulation is really pushing it at 125°, but don’t go there unless absolutely necessary.  The reason is that 5° more articulation really cuts down on your moment arm for the cylinder; this requires a larger cylinder.  Another less noticeable downside is the articulation speed will be really fast at either end, but slow at mid-cylinder stroke.  If you need articulation greater than 120°, linkage and/or a second cylinder may be needed.  Linkage, sometimes referred to as ‘four bar linkage’ is a method of improving the articulation angle.  Instead of having one end of the cylinder connected directly to a structure, it will pin with four links.  The links are designed such that it will keep the cylinder far enough away from the boom creating a good moment arm throughout the articulation. The subject of linkage for articulating designs is vast and we will need to discuss that in a future article.

Layout the geometry in 3D CAD

The advent of 3D CAD and parametric sketch drawing has made this step a breeze!  When I was a young engineer, I once witnessed an older colleague who was laying out a cylinder in AutoCAD.  This was a very hard thing for me to watch as he spent the greater portion of a day trying to find favorable cylinder geometry.  Since AutoCAD is non-parametric, every change in mounting location or cylinder length lead to multiple move and rotate commands.  Having just been trained in Solidworks, I knew that technology would greatly reduce the complexity and time it takes to come up with good cylinder geometry.  It was on that day that started developing the method I am sharing now and have been using for fifteen years.  In this process we will demonstrate how we can use Solidworks to layout the articulation of our log splitter jib in a fraction of the time. 

After modeling in our jib support locations, we will make a sketch.  Once in sketch mode, we need to determine what our coordinate system should be.  Since our jib tube is long, straight and easy to put a level on, I am choosing that as my ‘x’ axis no matter what the jib rotation is.  I will then draw a line 39.5” out from the pivot and 2” perpendicular to it.  This will mark the location the cylinder attaches.

Next, I will add another collinear line to the 39.5” line that is 14” long and a 4” line perpendicular to it.  This is where my load chain will attach. 

I will then want to duplicate this four line part of the sketch using equal length, collinear and perpendicular relations as needed, thus creating two positions in the articulation.  At this point we can drag these entities into a rough position of where we want the articulation to be.

This is where it gets fun!  Now we can add the cylinders in.  Since a cylinder can be divided into two sections, dead length and stroke; we will draw them as two different lines.  The dead length is the retracted length minus the stroke (teal).  For most off the shelf cylinders, this dimension ends us being about 10.25”.  The larger the cylinder you have, the greater the dead length.  The teal lines represent the dead length and there is only one section per cylinder.  On the lower articulation, I have one section of stroke (fuscia) and the upper articulation there is two.  This will show the cylinder in the fully raised and fully lowered position.

There is a lot of time spent in this step of the process.  There are so many variables to change: stroke length, 30 in; dead length, 10.25 in, the cylinder dimensions to the jib pivot, 39.5 in and 2 in.  In this example, it is a fixed distance between the jib pivot and the lower cylinder mount, but it doesn’t have to be.  In fact there is nothing forcing the cylinder to be mounted directly underneath the pivot either.

When designing geometry in Solidworks, an unsolvable sketch means that your geometry is bad.  Reducing cylinder stroke can often rectify the situation.  Also, make sure that you are able to stroke the cylinder fully without having to worry about not being in a rest or holder or unintentionally contacting other components.

Calculate the geometry, loads and forces by creating a mathematical model

One really cool thing is that we can calculate the force on the cylinder at this point with relative ease.  If we add two dimensions, we can learn the cylinder moment arm and the load moment arm. 

The highlighted dimensions show the load moment arm, 48.41 in, and the cylinder moment arm, 30.49.  

If we assume a load of 1000 lb, our cylinder load will be 1000 * 48.41 / 30.49 or 1588 lb. From here the force on the cylinder is easy to calculate:

If your load is constant, the highest load on the cylinder will either be at the minimum or maximum cylinder stroke.  This just happens to be super convenient because that is what we modeled.  It is not a coincidence though.

A deeper dive

So in most cases we want to know more than just the cylinder force.  Things like the forces on the pivot pin and jib angle are also important.  Hydraulic cylinders are generally powered by a constant flow of hydraulic oil.  This means that the cylinder will extend at the same rate throughout the stroke and regardless of load on it.  However, linear motion powering articulation is never a constant.  Knowing the instantaneous change in articulation vs cylinder length is also important.  Many times, the articulation can change far too rapidly near the end of the cylinder stroke and the system needs to be redesigned.

In order to calculate these things, we will need to take a deeper dive and use some trigonometry (breathe) to calculate the forces and lengths of all the components.  Before we get to that, we need to first determine if we want an articulation based mathematical model or one based on the cylinder stroke.  I see benefit both ways, but I generally fall on the side of going with articulation based.  This way I can specify and angle and get the exact height and reach.

So the image above shows the mathematical representation of our geometry.  We will be using the Law of Cosines and Pythagorean Theorem or Rasmussen’s Law (yeah, I proved it and named it after myself).  Since we are going to use the Law of Cosines, we will first label the sides a, b, and c and the angles opposite those sides as A, B and C.

Defining the Articulation Angle

In my example, we will be defining the angle θ as the articulation angle.  It is pictured here in the negative as one looking at the log splitter is most likely going to consider this a downward slope.  We can quickly define θ as:


Where


And

It is at this point that you either select to specify the angle (θ) and calculate the cylinder length (Lc or a) or specify the cylinder length and calculate the angle.

One thing to note is if the cylinder didn’t mount directly below the pivot, there would be another angle we would need to either add or subtract from the articulation equation to find θ.

Cylinder Length and Moment Arm

So in a parametric sketch, it is easy to measure the cylinder length and moment arm with a dimension.  However in a mathematical model, we just don’t have that luxury.  So once again it is trigonometry to the rescue.  Using the following equation, we can determine the angle, C. 

Now we can use the following equation to calculate the moment arm.

It is just that simple to get the information that you want from the model.  At this point, we can start looking at the forces on the cylinder and pivot pin.

articulating boom with cylinder

Calculating the Forces

The first thing that needs to happen here is to select a coordinate system.  This is a critical decision and can make calculating the forces easy or hard.  In this case, I have decided to always have my jib tube be the x-axis.  I do this because the angles Δ and θ are both relative to the jib tube as the tube articulates.  If I choose the obvious reference frame of the jib support tube being the y-axis, I complicate the angle of the cylinder by having to combine the angles of θ and Δ as well as making the length a function of the angle θ.  The other benefit of using the jib tube as the x-axis is if I wanted to operate on a slope, I can add or subtract the slope from θ. 

A final note is that we will be ignoring the contribution of the 4” offset where the load attaches.  The angle it adds is only 4° and not a significant enough source of error to consider it.  We can easily oversize the components here to compensate.

We can now perform statics on the jib tube and develop the three following equations that will specify our pin and cylinder forces:

MathCAD vs Excel

So there are many reasons to choose MathCAD or Excel for doing this analysis.  As a result, I usually do both if for no other reason, I can check my work. 

The benefits to MathCAD are:

  • Visual recognition of the equation and any errors
  • Easy identification of logic flow (left to right, top to bottom)
  • Use of solve blocks prevents algebraic errors and can solve simultaneous equations.
  • Automatic calculation of units
  • Quicker time to first results

And the cons are:

  • You can only analyze one input at a time
  • For lengthy calculations, you will need to input near the top and then scroll to the bottom to see the results.  This gets old very quick.
  • Difficult to determine information about changes in articulation.

The benefits to Excel are:

  • You can calculate many articulations at the same time
  • Inputs and outputs can be on the same row, eliminating scrolling
  • Charts are added quickly
  • Multiple tabs allow for separate areas of calculation and data can be shared with other tabs

And the cons are:

  • Equations are difficult to input and troubleshoot
  • Difficult to determine logic flow.
  • No simultaneous equation solver: an iterative approach may be needed.
  • Watch your units (especially degrees).  No unit calculation here!

MathCAD Model

Below is a MathCAD mathematical model where the articulation angle is specified and we can determine multiple outputs which are highlighted in yellow.  One of the drawbacks to a MathCAD model is we are only able to analyze information one angle at a time.  Other than that, it is quite easy to see the flow of logic.

Excel Model

So the first thing that I like to do in Excel is to create a sheet with only constants in it.  Here is my list for this project.  Under the ‘Formulas’ tab, I can define a name for each variable.  When I want to use the variable, after typing ‘=’ in the cell, I can select the variable from the ‘Use in Formula’ command.  This is one of the greatest features Excel has added!  No longer does the formula look like $D$2*A4, but now it will display the variable name!  This is a Godsend for formula troubleshooting.

The next step is to start entering data from our formulas into a different Excel sheet.  Here you can see that my articulation angle is the input and the rest of the table is outputs.  I basically copied the formulas from MathCAD and in some cases, rearranged the variables to solve for the intended one. 

I have also put limits on the cylinder length using conditional formatting.  The cell turns red if the cylinder length is less than stroke plus dead length and if it is greater than twice the stroke plus dead length.  This is a helpful check to see if the articulation even falls into the range of motion that is intended.  In this case, the cylinder has range from about -21° to +59°.

One thing that I love about Excel is that you can calculate and see all the information at the same time.  For this reason, I will probably never abandon Excel for calculations of this magnitude.  Since I can see all the data, I can produce plots like the one shown below.  This is a plot of the articulation angle vs the cylinder length (blue line).  I have imposed a linear trend line not only to expose the average rate of change, but also to show that the cylinder length and articulation aren’t proportional to each other. 

I have also added the rate of change of the curve (orange) and you can see that as the cylinder length increases, the rate of change decreases.  This is a great tool for planning your hydraulic system because it allows you to evaluate where on the curve you are planning to operate.  You may find you need reduced flow or a proportional valve to help control the system.

Select a cylinder

Selecting a cylinder is usually as easy as choosing a bore, but sometimes a custom cylinder is needed for things like: load holding, special spacial considerations, position monitoring or different mounting options. 

The cylinder in this case has low working pressures, so there isn’t much design work that needs to be done here.  However, on larger systems where high loads demand high pressures there is need to not design up to the limits.  As a rule of thumb, 94% efficiency can be expected from a cylinder.  You should also plan to stay at least 300 psi below your relief valve setting.  Relief valves partially open before their setting dumping some flow to tank.  We want that relief fully closed in normal operation.  If using a compensated valve with load sense functionality, you will want to stay at least 50 psi under the margin or standby pressure. 

The reason I say this is from personal experience.  Twice in my career I’ve designed a machine where the cylinders just weren’t strong enough to lift the load by just a little bit.  A change in geometry was needed for both cases and it lead to smaller articulation and a cylinder redesign for longer stroke.  Once your cylinder and structural design is complete and built, it is usually next to impossible to make dramatic increases to performance without going back to square one.  I say this because you are less likely to get heat from a cylinder that has more capacity than you need.  Error on the side of more cylinder capacity.

Tweak the design

The final step is tweaking.  Yes, you can tweak anything to death, but try to set firm limits on your design timeline.  Once you have a rough layout, analyze all aspects of your design by asking some of these questions and making up your own.

  • Is the height and reach of the articulation meeting my expectations?
  • Does this design lift the expected loads?
  • Will the cylinder I need fit into this envelope?
  • What is my margin between available pressure and cylinder pressure?  Do I have enough extra capacity?
  • Are the forces of my pins within reason?
  • What is the maximum slope that this can operate on?  What is the expected roll from suspension?
  • Is my rate of change of cylinder length to articulation fairly constant?  Do I need to impose hydraulic or electric controls on the system to get the performance I desire?

If you are not satisfied with the answer to any of these questions, go back and tweak.  It is so much easier to tweak the design on paper than to wait and see what happens.

Conclusion

This process is a difficult one for any engineer.  Fortunately, we live in a time with parametric sketch technology which makes it so much easier to choose the geometry right for your application.  Break the process down into the steps mentioned above and it gets simpler!  Doing the process in small steps with help you master this process quickly.

How to Design Planetary Gear Systems for Beginners

In this video, Corey explains what planetary gear systems are, how to calculate speeds and their widespread use in transmissions.

Download Our Planetary Gear Calculator For Free 

Easy to use Excel Based Calculator.  Quickly calculate number of teeth on gears and output speed.  Doesn’t matter what the inputs or outputs are; it’ll calculate it.

We respect your email privacy

Excited to Learn More About Gears? 

Sign up for Mentored Engineer’s FREE Comprehensive Gear Design Master Class ($500 Value) that includes his Planetary Gear Calculator ($250 Value) and weekly Mentored Engineer Newsletter

The Comprehensive Gear Design Master Class is a 17 part series of videos and text where you will learn:

  • How to size gears so they mesh
  • Calculate the stress on the gear teeth
  • Calculate gear ratios in planetary system

After completing this course you will be able to correctly design and spec gear boxes for your applications the first time.

The course and the calculator have a combined value of over $750! for FREE

We respect your email privacy

Save 20% Off Most Items! Use Code: 20%OFF
Save 20% Off Most Items! Use Code: 20%OFF
Shop Now