GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CNC Knowledge

Method for Detecting Residual Stress in Machined Parts

Hole-drillingX-ray diffractionUltrasonicProcess control
Method for detecting residual stress on 5-axis CNC machined engine parts
Quick answer

Key takeaways

Destructive gives numbersHole-drilling and ring-core release stress and return microstrain. Best for one or two coupons, not for every part.
Diffraction is surface-onlyX-ray diffraction reads the top 10–30 μm. Useful after grinding, useless for judging a 40 mm thick weldment.
Ultrasonic is comparativeFast and non-destructive, but you need a stress-free reference of the same alloy and texture to calibrate against.
Process control beats inspectionFor most production parts, a documented roughing and finishing sequence plus a stress-relief bake removes more risk than testing.
One number is not enoughRecord direction, depth, and the measurement method. A stress value without its direction cannot be compared across batches.
Fundamentals

What residual stress actually is and why the method for detecting residual stress matters

Residual stress is the stress that remains in a body when no external load and no temperature gradient is acting on it. Two things create it during machining: uneven plastic deformation, and phase change. Cutting pushes metal instead of cleanly shearing it, so the surface layer is stretched while the layer beneath resists. Heat from the tool adds a thermal gradient on top of that.

The result is a self-balancing system. Tension in one zone is matched by compression somewhere else. That balance is why a part can measure perfectly on the CMM at 20 °C and still move a day later. Remove material from one side during a second operation and the balance shifts.

Stress itself is not automatically a defect. Shot peening deliberately puts the surface into compression to delay fatigue cracking. The problem is uncontrolled stress: high tensile stress at a fillet, at a weld toe, or under a ground surface. That is where cracks start.

So the purpose of any method for detecting residual stress is not to prove a part is stress-free. It is to quantify magnitude and direction, track how they change between processes, and decide whether the part is safe or needs a relief step.

  • 1
    MagnitudeReported in MPa or ksi. Comparison only works if units and depth match.
  • 2
    DirectionPrincipal stress axes. A value without orientation is hard to act on.
  • 3
    Depth profileSurface value versus subsurface value. They often have opposite signs.
Techniques

Choose the method for detecting residual stress by depth and access

There is no universal instrument. Each technique trades depth, spatial resolution, and whether the part survives. Start by asking what depth matters. If the failure risk is at the surface, such as a ground bearing journal, you need a near-surface method. If the risk is a thick casting or a weld, you need bulk measurement.

Hole-drilling is the workhorse. You bond a three-element strain rosette on the surface, drill a small blind hole at the rosette center in incremental steps, and record the strain relieved at each step. The standard hole is Ø1.6–2.0 mm to a depth roughly equal to the hole diameter. From the relieved strains you compute the original stress. It is a semi-destructive method, so it belongs on coupons, spare parts, or a sacrificial boss on the casting.

X-ray diffraction measures the spacing of crystal planes. Stress changes that spacing, and the shift in the diffraction peak gives strain. Because X-rays penetrate only 10–30 μm in steel, this is a surface method. It is quick, it works on small features, and it is the usual choice for validating a grinding or turning recipe. Electropolishing in steps extends it into a depth profile.

Ultrasonic testing uses the fact that wave speed in a material depends on stress, a phenomenon called acoustoelasticity. It penetrates the full section and it is genuinely non-destructive. The catch is calibration: you need a reference sample of the same alloy, heat treatment, and grain structure in a known stress state, or the absolute numbers drift.

  • 1
    Hole-drillingDepth to about 1× hole diameter. Semi-destructive. Good for thick sections.
  • 2
    X-ray diffraction10–30 μm deep. Non-destructive. Best for surfaces and thin layers.
  • 3
    UltrasonicFull section. Non-destructive. Needs a matched reference block.
  • 4
    Magnetic and BarkhausenFerromagnetic only. Fast comparative screening on the shop floor.
Machining context

Where the stress comes from in a CNC process

Roughing removes a lot of material fast. A 6061 block hogged down with a 16 mm end mill at 3,000 rpm and a heavy radial engagement leaves a heavily deformed surface layer. That layer is usually in tension. Finish passes are lighter, so they remove some of it, but they also introduce their own deformation.

Heat is the second driver. If the tool edge dulls and the chip load drops, rubbing replaces cutting. Surface temperature climbs, the top layer expands against colder metal below, and on cooling it ends up in tension. You can often see this as a discolored or smeared surface before any instrument confirms it.

Fixturing adds a third component. Clamping a thin wall to a flat plate forces it straight. After unclamping, it springs back and the machined feature is out of position. That is not classical residual stress inside the material, but it behaves the same way on the CMM and engineers usually group it with the same problem.

For asymmetric parts, like a housing with a large pocket on one face, material removal unbalances the internal stress field. One side relaxes more than the other and the part bows. Detecting this early, on a first-article coupon, is cheaper than scrapping a finished batch.

Judgment

When detection is worth it and when it is not

Detection is expensive and slow. Run it when a failure would be costly or dangerous: aerospace brackets, medical implant components, pressure-boundary parts, and any thin-wall geometry where distortion has already bitten you once. In those cases a single coupon measurement can justify a process change.

Skip full measurement when the part is thick, lightly loaded, and has no tight flatness or roundness callout. A 40 mm steel plate machined on all faces will not move enough to matter. Spending a week on diffraction would not change the drawing or the price.

The middle ground is comparative testing. Measure one reference part from a known-good run, then measure each new setup the same way. You are not chasing absolute values, you are watching for a shift. That is fast, cheap, and catches the problems that actually reach production.

There is a fourth option that engineers forget: change the process instead of measuring the outcome. A stress-relief heat treatment between roughing and finishing, a climb-milling finishing pass with a sharp tool, and a light final cut of 0.2–0.3 mm all reduce locked-in stress before it becomes a measurement problem.

At GreatLight we machine parts up to 4,000 mm and hold ±0.005 mm, and the practical control for stress is sequencing. Rough, relieve, rest, finish. On thin-wall aluminum we often leave 0.5 mm on the finishing pass and let the part sit overnight before the final cut. That single night removes more distortion than any instrument can detect after the fact.

Mistakes

Common errors that ruin good measurements

The first error is measuring a surface that was just machined and never cleaned. Cutting fluid, oxide, and burrs all affect bonding or diffraction. A wiped, lightly etched surface is the baseline. If the surface is smeared from a dull tool, the reading describes the smeared layer, not the part.

The second is ignoring the reference state. Ultrasonic and magnetic methods give relative readings. If the reference block has a different heat treatment or grain size, the calibration is wrong and the numbers look plausible but are meaningless. Always cut a reference from the same lot.

The third is reporting one number. Stress is directional. A surface can be at 150 MPa tension in the rolling direction and 40 MPa compression across it. Report the principal values and the depth, or the data cannot be compared with the next batch.

The fourth is testing after the part has already moved. If a plate has warped, the stress has partly relieved itself. The reading now describes the new state, not the condition that caused the problem. Measure before final unclamping or on a twin coupon that follows the same route.

Procedure

How to run a hole-drilling measurement step by step

  • 1
    Define the question firstWrite down which feature you are worried about and what stress level would change your decision. Without a threshold, the data will not settle anything.
  • 2
    Pick the location and mark itChoose a flat or gently curved area at least 3× the rosette diameter from an edge or weld. Grind the spot lightly with 400–600 grit, then wipe with acetone. Rough or contaminated surfaces give bad bonding.
  • 3
    Bond the strain rosetteUse a three-element 0/45/90 rosette, typically 1.5–3 mm grid length. Cure per the adhesive datasheet, usually 1 hour at 60 °C or 24 hours at room temperature. Check resistance and insulation before drilling.
  • 4
    Set up the drilling guideAlign the guide so the bit sits concentric with the rosette center within 0.05 mm. Misalignment is the most common source of bad data. Use a high-speed air turbine or a milling guide, not a hand drill.
  • 5
    Drill in incrementsAdvance in steps of 0.05–0.2 mm and record strain after each step. Zero the readings at the start of every increment. Keep the feed light; heavy feed introduces machining stress of its own.
  • 6
    Convert strain to stressApply the calibration coefficients for your rosette and hole geometry. Report magnitude in MPa, the two principal directions, and the depth profile, not just one peak number.
  • 7
    Repeat on a second locationA single hole gives a single point. Two or three locations across the part reveal the gradient. If the values differ by more than about 20%, treat the part as heterogeneous.
Selection

Method for detecting residual stress: comparison by use case

MethodDepth reachedPart survives?Best use
Hole-drillingAbout 1× hole diameterNo, semi-destructiveThick sections, castings, coupons
X-ray diffraction10–30 μm typicalYesGround and turned surfaces
UltrasonicFull sectionYesLarge welds, shafts, thick plate
Ring-core1–5 mmNo, destructiveHigh-gradient near-surface zones
Magnetic BarkhausenNear surfaceYesFerrous parts, fast screening
Neutron diffractionDeep, 10 mm+YesResearch and thick assemblies

Pick the method that answers your specific risk

Use hole-drilling for thick sections and coupons, X-ray diffraction for ground or turned surfaces, and ultrasonic when the part must survive. For most production parts, a controlled rough-relieve-finish sequence removes more risk than any single measurement.

FAQs

Frequently asked questions

Can I detect residual stress without cutting the part?

Yes. X-ray diffraction, ultrasonic, and magnetic Barkhausen methods are all non-destructive. Each is limited in depth: diffraction reaches only the top 10–30 μm, and ultrasonic needs a calibrated reference of the same material.

If you need a full depth profile non-destructively, neutron diffraction is the usual answer, but it requires a research reactor or spallation source and is not a shop-floor option.

How deep does hole-drilling actually measure?

A standard measurement reaches roughly one hole diameter in depth, so a Ø2.0 mm hole covers about 2 mm. Beyond that the strain sensitivity drops sharply and the correction coefficients become unreliable.

For deeper profiles, the ring-core method removes an annulus around a core and can reach 1–5 mm, but it is fully destructive at that location.

Is residual stress always bad?

No. Compressive stress at the surface is useful. Shot peening, laser shock peening, and some rolling operations deliberately create it to delay fatigue crack initiation.

The problem is uncontrolled tensile stress, especially at fillets, weld toes, and ground surfaces where a crack can start and grow under cyclic load.

What is the cheapest way to reduce residual stress without testing?

Control the sequence. Take a heavier roughing pass, then a stress-relief bake for the alloy, then a light finishing cut of 0.2–0.3 mm with a sharp tool and climb milling.

For aluminum, letting the part rest between roughing and finishing often removes enough movement that no measurement is needed.

Can I measure stress on a curved or complex surface?

Hole-drilling needs a locally flat spot roughly 3× the rosette diameter, so a small boss or a ground flat is often added for the test. X-ray diffraction can work on curved surfaces if the beam footprint is small and the angle is set correctly.

Ultrasonic probes need good contact, so a smooth area or a couplant-friendly geometry is required.

How many points do I need to trust the result?

For a uniform part, two or three locations across the section usually reveal the gradient. If the values differ by more than about 20%, the part is not uniform and more points are needed.

For welds or castings with known high-gradient zones, place points on both sides of the zone and one inside it.

Send us your drawing and stress concern

Upload a part and tell us which feature worries you. We reply with a quotation and a DFM analysis within 12 hours, including a suggested machining sequence for stress control.

12-hour quote100% inspectionNo minimum order

Follow

More CNC knowledge

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC