Weldment Stress Relief: Why Frames Warp After Machining and How to Fix

The Frame That Warped After Machining

We welded a steel frame (a machine base) from square tubing. We machined the mounting surfaces (to mount a linear rail, article 122). After machining, the frame sat on the floor. A week later, the machined surface warped (it was no longer flat). The rail mounted on it wasn’t straight. The problem: the welded frame had residual stress. Welding heats the steel (it expands and contracts). The weldment has internal stress. After machining (removing material), the stress redistributes — the frame moves (warps). We should have stress-relieved the weldment (annealed it) before machining. We did a stress-relief cycle (heat the frame to 600°C, cool slowly). Then we machined it. The surface stayed flat. The mistake was machining a welded frame without stress relief.

Weldment stress relief removes the internal stress from welding. This article covers the process.

Why Weldments Warp

Welding melts steel (it’s very hot). As it cools, it shrinks (contracts). The weld pulls on the surrounding steel. The weldment has internal (residual) stress. When you machine it (remove material), the stress redistributes — the frame moves (warps). A frame that was flat after machining is no longer flat a week later.

Step 1: Stress Relief (Annealing)

Stress relief (annealing) heats the weldment to about 550–650°C (below the critical temperature, for steel). The heat relaxes the internal stress. Then cool it slowly (in the furnace). The stress is gone. The frame doesn’t move after machining.

For a small frame (under 1 m), a furnace is available (at a machine shop or a heat-treat supplier). For a large frame (over 3 m), it’s harder (no big furnace). Use low-stress welding techniques (below).

The stress relief rule: For a precision weldment (a rail mount, a machine base), stress-relieve before machining. The frame that warped was welded, machined, and not relieved. Stress relief (600°C, slow cool) removes the internal stress. Machine after the relief. For a non-critical frame (a guard, a stand), skip it (the warp doesn’t matter).

Step 2: Low-Stress Welding (For Big Frames)

For a large frame (no furnace), use low-stress welding:

  • Weld symmetrically: Weld both sides alternately (don’t weld one side all at once). The distortion cancels.
  • Back-step welding: Weld in short segments (back-step) rather than one long bead. Less heat input, less distortion.
  • Pre-heat: Heat the area before welding (slows the cooling, less stress).
  • Fixturing: Clamp the frame rigidly while welding (it can’t warp as it cools). Release after cooling.

Step 3: Machine After Relief (Not Before)

The order matters:

  1. Weld the frame.
  2. Stress-relieve (anneal).
  3. Machine the mounting surfaces (article 107).

If you machine before the relief, the warp moves the machined surfaces. If you relieve before machining, the machining is on a stable frame. Machine last.

Step 4: Natural Aging (Time)

For a small batch, “natural aging” (let the frame sit for weeks before machining) partially relieves the stress. But it’s slow (weeks) and not complete. For precision, use furnace stress relief.

Frame Type Stress Relief?
Machine base (rail mount) Yes (furnace, 600°C)
Robot stand (article 95) Yes (precision)
Guard frame (article 133) No (non-critical)
Conveyor frame Maybe (if precision)
Large frame (>3 m, no furnace) Low-stress welding (symmetric, fixturing)

A Weldment Checklist

  1. Is the frame precision (rail mount)?
  2. If yes: stress-relieve before machining?
  3. Is the furnace available? (Size?)
  4. Is the order: weld → relieve → machine?
  5. For a big frame: low-stress welding? (Symmetric?)
  6. Is the frame fixtured while welding?
  7. Are the mounting surfaces machined after relief?
  8. Does the frame stay flat? (Check after a week?)
  9. Is the rail mounted on a flat surface? (Article 122?)
  10. Is the warp within tolerance? (Article 137?)

The Bottom Line

Weldment stress relief stabilizes the frame before machining. The frame that warped was welded and machined (not relieved). Stress-relieve precision frames (600°C, slow cool), then machine. For big frames (no furnace), use low-stress welding (symmetric, fixtured). The machine base that stayed flat wasn’t the thickest tubing — it was stress-relieved.