kapy academy

Spring counterbalancing

20 min readUpdated Nov 2026

A desk lamp with a 200 g head 300 mm from the elbow needs about 0.7 N·m to hold up the upper arm. A friction hinge tight enough to carry that is hard to move and slips within a few weeks. If a spring cancels the weight over the whole travel, friction only absorbs the residual and the arm stays where you let go. That spring is a zero-length spring, and a pulley with a well-adjusted cable turns a catalog spring into one. If the arm is light and only needs braking, read Friction hinge.

The weight torque is a sine

An arm turns about pivot O and its center of mass sits at L from O. Measure the angle θ up from the vertical and the weight W produces a torque W·L·sin θ. It is zero with the arm vertical, peaks at horizontal and falls back to zero with the arm hanging down. It is the same torque that Parallelogram linkage writes as W·a·cos θ, with the angle measured from the horizontal.

When more than one mass hangs off the arm, W·L is not one weight times one length. It is the total moment: the sum of m·g·r for every part, the arm itself included. That sum is what you have to balance.

Torsion spring at the pivot. It gives a torque proportional to the angle: a straight line, which crosses the sine curve at two points at most. Take an arm with M = W·L = 883 N·mm and fit the line to match the sine at 45° and 90°: the slope comes out at 330 N·mm/rad. At 10° it gives 422 N·mm where 153 are needed, so the arm rises on its own. At 110° it gives 998 N·mm where 830 are needed. It works for a short travel, such as a lid that opens 30–40°, but not for an arm that goes from nearly vertical to horizontal.

Counterweight on the other side of the pivot. It is exact at every angle, because its torque is a sine too. The catch is that you have to put the same moment behind it: 883 N·mm with the mass 100 mm behind the pivot is 0.9 kg, almost a kilo added to an arm that weighs 340 g with its head. It can also tip the base over. It makes sense where there is room behind and the base is already heavy, as on a balance or a boom.

Vertical linear axes. On a slide that moves up and down, the weight is not a sine: it is constant. There you want a constant-force steel spring or a counterweight hung from a cable (TPU and lattice springs). This article is about arms that rotate.

The zero-length spring

A zero-length spring gives a force proportional to the distance between its anchors, F = k·s, as if its free length were zero. Lucien LaCoste proposed it in 1932 for a seismometer and later used it in his gravimeters.

The geometry that balances an arm is this:

  • A is fixed on the vertical through O, a distance a above it.
  • B lies on the line from O to the arm's center of mass, a distance b from O.
  • The spring pulls B toward A.

The spring torque is its force times the distance h from O to the line AB. The force is k·|AB| and the distance is h = a·b·sin θ/|AB|. Multiply them and |AB| cancels:

spring torque = k·a·b·sin θ

The spring torque is not constant: it follows sin θ, like the weight torque, and that is why it cancels it. One condition is enough:

k·a·b = W·L

It does not depend on θ: if the arm is balanced in one position, it is balanced in all of them.

Two geometric conditions are easy to break:

  • OA must be vertical. If the base is tilted by an angle δ, or A does not sit on the vertical through O, you are left with an error of W·L·δ·cos θ (δ in radians). It is largest near the vertical, zero at horizontal and changes sign below horizontal. In the worked example, 1° of tilt is 15 N·mm.
  • OB must point at the center of mass, not along the bar. If the head hangs below the bar, the line from O to the center of mass makes an angle with it. Rotate B by that same angle; if you do not, the error has the same shape as with a tilted base.

There is an equivalent variant: A below O and B on a lever that sticks out behind the pivot, on the extension of the line from O to the center of mass. Triangle OAB is the same and the angle at O is still θ. That is how the springs end up in the base.

Energy sets the size of the spring. Between two positions the weight loses W·L·(cos θ1 − cos θ2) and the spring gains ½·k·(AB2² − AB1²). With k·a·b = W·L the two are equal. No geometry changes the energy the spring has to store. Choosing a and b only splits it between force and stroke:

  • Peak force, with the arm hanging down: W·L·(1/a + 1/b).
  • A–B distance between 0 and 180°: from |a − b| to a + b.

With the anchors further from the pivot, the spring pulls less and stretches more.

AaθbhABZero-length: F = k·sWeight WPivot Oh = a·b·sin θ / ABk·AB · h = k·a·b·sin θ = W·L·sin θBForceDistance between anchors sZero-length: F = k·sReal spring: F = F0 + R·xFree length L0Initial tension F0L0 − F0/RStarts stretching at A–B = F0/RBOPulley at ACable
A: with a zero-length spring, the distance from the pivot to the spring line is a·b·sin θ/AB and the force is k·AB; their product is a sine, like the weight torque. B: the line of a real extension spring crosses the axis at L0 − F0/R; a pulley at A and an adjusted cable turn it into a zero-length spring.

A bought spring is not zero-length

A steel extension spring gives F = F0 + R·x (Using bought steel springs). F0 is the initial tension and x the extension beyond the free length L0, measured inside the hooks. Extend its line backwards and it reaches zero force at L0 − F0/R. It would only be zero-length if F0 = R·L0, and a catalog spring almost never does. If F0/R is larger than L0, the spring is "negative-length" and you only need to add a cable of length F0/R − L0 in series, as LaCoste did with wires.

The practical answer is to hide the length. Put a pulley at A. The cable leaves B, runs over the pulley and on the far side hooks onto the spring, which lies along the column or the base. What counts is the A–B run; the spring can be any length.

The adjustment rule: the spring must start stretching (reach F0) when the A–B run measures F0/R. With a drawbar spring, or a compression spring inside a tube, the rule is the same with the preload P in place of F0: the A–B run must measure P/R. The A–B run must never drop below F0/R anywhere in the travel, because below that the cable goes slack and the spring stops pulling. Put a tensioner in the cable (a screw and nut) and make the adjustment on the bench.

An error of e mm in the cable length adds or removes a constant force R·e. Its torque is R·e·h = R·e·a·b·sin θ/|AB|, always the same sign and at most R·e·min(a, b). In the worked example each millimeter produces up to 17.7 N·mm, 2 % of the moment. Relative to the weight torque it matters most near the vertical: at 10°, 7.3 N·mm is 4.8 % of the 153 needed there.

The catalog tolerance on R gives another error, proportional over the whole travel; you correct it by moving A (step 6 of the example). The cable is the fine adjustment that comes after.

The pulley. The cable leaves the pulley on a tangent, so its line does not pass through A but a radius r away from it. That shifts the torque by up to T·r, with T the cable tension: a fraction r/h of the torque. Since h is at most min(a, b) and shrinks near the vertical (12 mm at 10° and 30 mm around 50° in the example), a 3 mm radius pulley throws the torque off by 10 to 25 %, far more than a millimeter of cable. There are three fixes, and you can combine them:

  • Small-radius pulley. A miniature bearing with a shallow groove. To stay within 5 % at 45° with a = 30 and b = 50, r must not exceed 1.5 mm.
  • Anchors further out. With a and b doubled, k drops to a quarter, the force halves, the stroke doubles and the pulley error halves.
  • Pulley offset by one radius, toward the side the cable leaves from, so the tangent passes exactly through A at mid-travel. At the ends the error is less than half as large.

A fixed pin instead of a pulley only works with a small wrap angle. A cable sliding over it follows the capstan equation, T_tight/T_slack = e^(μθ) (Capstan cable drive): with 180° of wrap and μ = 0.25 (steel cable on printed plastic) it comes to 2.2. The tension more than doubles depending on the direction of motion, and that wipes out the counterbalance.

The cable. Use fine, flexible stainless steel wire rope, 0.5–1 mm, finished with a crimped ferrule or tied to a steel pin, never to a printed hook. Braided fishing line and Dyneema creep under constant load and their stretch acts in series with the spring: a few millimeters over a few weeks unbalances the arm, at 2 % per millimeter. If you use them, plan on retensioning.

Elastic bands and printed springs. A counterbalance spring works loaded day and night. An elastic band or a plastic spring relaxes under that load, and the arm sags after a few weeks. Use a bought steel spring; keep the band for the prototype (Elastic band channels).

The balanced-arm lamp

Two arms are two degrees of freedom and need two springs. George Carwardine, an engineer who specialized in car suspension, designed this lamp in 1932 with four springs. His three-spring Model 1227 of 1935 was sold under the Anglepoise brand. (KapyCAD is not affiliated with that brand.)

The classic design uses a parallelogram and two extension springs. The parallelogram carries the upper arm's angle down to a crank at the base (Parallelogram linkage). That puts both springs in the base, and each one depends only on the angle of its own arm. Commercial lamps use the same idea with varying accuracy, and the friction in the joints absorbs the rest.

The two moments are:

  • Upper arm: M2 = g·(m2·r2 + mh·L2)
  • Lower arm: M1 = g·(m1·r1 + (m2 + mh)·L1)

Here m is each arm's mass, r the distance from its center of mass to its pivot, L the arm's length and mh the mass of the head. The lower arm carries everything that hangs from the elbow, but not the upper arm's torque. If the crank stays still, turning the lower arm makes the parallelogram translate the upper arm without rotating it: its weight and the head's act only at the elbow, at L1 from the pivot. The upper arm's torque goes to the crank, and spring 2 holds it from the base.

Each spring meets its own k·a·b = M, independently of the other. The upper arm's spring is anchored to the base (A2 fixed) and to the crank, never to the lower arm. Anchor it to the lower arm and moving that arm unbalances the upper one. The crank usually points backwards from the pivot, opposite the upper arm: spring 2 then uses the variant with A2 below O. Put A2 above and the spring pushes the arm down instead of holding it up.

The head has its own parallelogram or a friction joint. Its mass enters both moments as mh.

A two-arm lamp balanced by two zero-length springs: in 3D it moves to four poses and stays in each; from the front, the base with the two springs' O–A–B triangles
The parallelogram carries the upper arm's angle down to a crank at the base. Each spring balances its arm with its own k·a·b, and the lower arm carries everything that hangs from the elbow. This is the worked example (L1 = L2 = 300, a = 30, b = 50), with both springs anchored at A, under the pivot: move it to any pose and it stays. The springs are drawn zero-length, without the pulley and cable.

Worked example: a lamp with two 300 mm arms

Example data
Item Lower arm Upper arm
Length L1 = 300 mm L2 = 300 mm
Own mass and center of mass 80 g at 150 mm (with the parallelogram bar) 60 g at 150 mm
LED head — 200 g at the tip
Travel from vertical 10° to 110° 20° to 170°

Step 1: moments.

  • M2 = 9.81·(0.060·150 + 0.200·300) = 677 N·mm.
  • M1 = 9.81·(0.080·150 + 0.260·300) = 883 N·mm.

Step 2: geometry and stiffness. Take a = 30 mm and b = 50 mm for both springs. Because a and b differ, A–B never drops below |a − b| = 20 mm: that stays above F0/R (5.1 mm with the spring from step 4), so the cable never goes slack, and there is room for the anchors. With a = b, A–B would tend to zero near the vertical. Then:

  • k1 = 883/(30·50) = 0.589 N/mm.
  • k2 = 677/1500 = 0.451 N/mm.

Step 3: forces, stroke and energy.

Example springs (a = 30, b = 50)
Lower (10°–110°) Upper (20°–170°)
k 0.589 N/mm 0.451 N/mm
A–B 21.1 → 66.5 mm 24.1 → 79.7 mm
Force 12.4 → 39.2 N 10.9 → 36.0 N
Spring stroke 45.4 mm 55.6 mm
Stored energy 1.17 J 1.30 J

Check it with energy: 883·(cos 10° − cos 110°) = 1171 N·mm = 1.17 J, and ½·0.589·(66.5² − 21.1²) gives the same. If the lower arm ever hung straight down (180°), the spring would pull with 0.589·80 = 47.1 N, which is W·L·(1/a + 1/b).

Step 4: choose the spring. The spring rate R should be close to k. The catalog's maximum working force must comfortably exceed the step 3 force. And its allowable extension must cover the stroke plus the gap between the minimum A–B and F0/R. With F0 = 3 N (a value assumed for the example, not from a catalog), F0/R = 5.1 mm and the lower spring has to stretch 66.5 − 5.1 = 61 mm. That is a long spring, housed in the column; this is why you need the pulley. How to read a catalog entry and what stress the wire takes is covered in Using bought steel springs.

Step 5: adjust the cable. With the lower arm at 90°, A–B = 58.3 mm and the spring must pull with 0.589·58.3 = 34.3 N. Measure it with a spring balance, or turn the tensioner until the arm stays put at horizontal. Each millimeter of error produces 7.3 N·mm at 10°, 17.5 at 45°, 15.1 at 90° and 12.5 at 110°, peaking at 17.7 around 50°. On the upper arm, at most 13.5 N·mm.

Step 6: a different head. A head 50 g heavier adds 147 N·mm to both moments: M2 = 824 and M1 = 1030 N·mm. Keep the springs and move A:

  • a2 = 824/(0.451·50) = 36.5 mm.
  • a1 = 1030/(0.589·50) = 35.0 mm.

Every 50 g moves A by 5.0 mm on the lower arm and 6.5 mm on the upper, so a carriage with 13 mm of travel for A covers ±50 g on both. Mount the pulley and the fixed end of the spring on the same carriage. If only the pulley moves up, the spring stretches by as much as the carriage rises and you lose the F0/R adjustment. The tension screw on many monitor arms and desk lamps does a similar job: it matches the spring to the moment of whatever hangs off it.

Step 7: the parts. Eye B takes up to 39 N. The pulley axle sees the sum of both cable runs, since the cable turns back toward the column: up to about 80 N, and so does the A carriage. Size those two for 80 N.

  • Anchor eyes: printed lying flat, hole vertical, around a steel pin or screw. The hole comes out small; correct it as Why holes print small explains.
  • Levers and cranks: anything that bends prints with its length in the layer plane, lying flat (stance A) or on edge (stance B), never standing up (stance C) (Layer orientation for mechanisms).
  • Material: the load is sustained. At room temperature, PLA holds a light sustained load about as well as PETG: no reliable data on printed parts says which creeps more. PETG only wins when the part gets warm. For a sustained load, use PC or ASA, or a fiber-filled filament if the part is not a spring. Next to a head that gets warm, PLA is only comfortable below about 30 °C and its limit under load is around 40 °C; PETG's is around 50 °C (Creep and fatigue).
  • Joints: on bearings if you want the arm to move with one finger (Seating bearings and bushings).

Step 8: the friction that remains. There is always a residual: the cable adjustment, the pulley, the leveling of the base. A joint with a little friction absorbs it. Size that friction for the residual, not for the weight (Friction hinge).

Travel 10°–110°03060901202505007501000Angle from vertical (°)Torque (N·mm)Crossings at 45° and 90°Weight torque 883·sin θZero-lengthTorsion springZero-length, cable +3 mm
Lower arm from the example (M = 883 N·mm): the zero-length spring follows the weight's sine over the whole travel; the torsion spring only matches at two angles; a 3 mm cable error shows most near the vertical, relative to the weight torque.

When it fails

Symptom, cause and fix
Symptom Cause Fix
Drops in every position, most at horizontal k·a·b < W·L Increase a or b, or fit a stiffer spring
Rises on its own in every position k·a·b > W·L Reduce a
Balanced at horizontal; near the vertical it rises or drops, always the same way The spring is not zero-length: F0/R adjustment wrong, or spring hung straight from A to B Pulley and tensioner; adjust the cable in the most vertical position
Balanced at horizontal; the imbalance changes direction as it passes horizontal OA is not vertical (tilted base) or OB does not point at the center of mass Level the base; rotate B onto the line from O to the center of mass
Imbalance that neither the tensioner nor A corrects, larger near the vertical Pulley radius large compared with h Smaller pulley or one offset by a radius; larger a and b
Moving the lower arm unbalances the upper one The upper spring is anchored to the lower arm Move it to the base, on the parallelogram crank
Balanced on day one, sags after a few weeks Elastic band or printed spring relaxed, fishing line or Dyneema stretched, or anchor eye ovalised by creep Steel spring, cable and pin; a material for sustained load
Much harder to raise than to lower, or does not stay where you leave it Cable over a fixed pin (capstan), joint too tight, or friction too low for the residual Pulley on a bearing and a single friction joint sized for the residual
Goes out of balance when you change the head The moment has changed Move A with the carriage (step 6); do not change the spring
Cable snaps or comes loose Knot on a printed hook or a sharp edge at the exit Steel pin, rounded exit, cable finished with a ferrule

How to test it

  1. Measure the real moment before you buy springs. With no springs fitted, hang a luggage scale from the head with the upper arm horizontal and the lower arm fixed. If the scale sits at L2 from the elbow and reads m (kg), the moment is m·g·L2. For the lower arm, lock the crank to the base (not the elbow) and hook the scale on the elbow. Read while raising slowly and while lowering slowly and average the two: that keeps friction out of the reading. Estimated masses almost never match the printed parts.
  2. Measure the balance in five positions per arm: both ends, 45°, 90° and one in between. In each, read the force needed to start it moving up and to start it moving down, with sign: positive if you pull up, negative if you have to pull down (hook the scale underneath). The mean of the two readings is the imbalance; half their difference is the friction. You want an imbalance smaller than the friction over the whole travel.
  3. Adjust in this order. Level the base first. Then the tensioner, in the position closest to vertical, where a length error weighs most relative to the torque. Then k·a·b, by moving A, at horizontal. Repeat the two adjustments until neither changes.
  4. Check whether anything creeps. Leave the arm for 48 hours in the most heavily loaded position it will work in, then measure again. If the reading has changed, something is creeping: the plastic, the cable or an eye. The full method is in Testing a mechanism before you trust it.

The example springs store 1.2–1.3 J and pull with nearly 40 N. Assemble and take it apart with the arm in the position where the spring is least stretched, the most vertical one, and keep your fingers away from the pulley.

See also

Design it in KapyCAD

Sketch the mechanism with these dimensions. Each one stays a value you can change after the first test print.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?