Reading DPM Codes on Shiny Metal: Why Lighting Geometry Beats More Pixels
If you have ever tried to read a Data Matrix code laser-marked or dot-peened into polished stainless steel, you know the frustration: the code is perfectly legible to your eye when you tilt the part, but the reader returns "no read" nine times out of ten. The instinct is to buy a camera with more pixels. That rarely fixes it. On reflective surfaces, the problem is not resolution — it is where the light goes.
Why shiny parts behave differently
A paper label scatters light in all directions (diffuse reflection), so a reader sees a fairly uniform image no matter where the illuminator sits. Polished or brushed metal does the opposite: it sends most of the light straight back toward the source (specular reflection) unless the illuminator is off-axis. The dark dimples of a dot-peen mark and the bright background can swap contrast depending on angle — something no amount of sensor resolution can correct, because the needed contrast was never captured in the first place.
That is why DPM reading is an illumination problem before it is a sensor problem. Direct part marks come in a few families, and each interacts with light differently:
- Dot peen: indentation dimples; contrast comes from shadowing at a grazing angle.
- Laser annealing / marking: a surface colour change; often low contrast on polished steel and sometimes only visible at certain angles.
- Chemical / electrochemical etching: recessed or raised marks; angle tolerance varies with depth.
- Ink or paint marks on metal: closer to a printed label, but prone to flaking and glare.
Three lighting rules that actually move the needle
- Move the light off-axis. Place the illuminator at roughly 20–45 degrees to the surface normal so the specular highlight bounces away from the lens instead of into it. Many failed installations are fixed simply by rotating a ring light or adding a low-angle bar light.
- Use multiple angles, not one bright angle. Two or four LEDs at different azimuths fill the shadows inside dot-peen dimples from more than one direction. A single dominant highlight creates a hot spot that saturates the sensor and hides the code.
- Consider cross-polarisation for laser marks. A polariser over the light source plus an analyser over the lens cuts direct glare and lets the diffuse colour change of a laser mark come through. It costs some signal, but on mirror-like parts it is often the difference between read and no-read.
Standoff matters more than you think
On curved surfaces the code plane rotates away from the lens, so the effective working distance changes across the code. If you sit near the near limit of the depth of field, one edge of the code goes soft. Backing off slightly — within the reader's working range — and using a wider illumination footprint gives the decoder a more even image. This is a geometry fix, not a settings fix.
A checklist before you blame the reader
- Tilt the part under a fixed reader: if the code reads at one angle and not another, it is a lighting/geometry issue.
- Inspect a raw image: is the code washed out by a highlight, or genuinely low contrast?
- Try lower illumination intensity: over-driving LEDs on a shiny part often makes things worse.
- Verify the code grade with a proper verifier — a code that fails grade is unreadable by any reader.
- If parts are a mix of flat and curved, test both with the same reader and light.
Where a handheld DPM reader earns its keep
Fixed-mount readers are excellent when part presentation is repeatable. Shiny, curved marks on large or varied parts are exactly where a handheld industrial DPM reader is more practical: the operator can tilt the reader to find the angle where contrast appears, instead of building a bespoke lighting rig for every part. Our VHS5000 is an IP54-rated industrial handheld reader for 1D, 2D and DPM codes, built for this kind of shop-floor work — including dot-peen and laser marks on metal. Exact interface options and certificates for your region will be confirmed by our engineers for your specific code type and market.
The takeaway
For steerable illumination and liquid-lens autofocus on shiny parts, compare the VS800P:https://damp-truth-4b52.452102356.workers.dev/products/vs800p
Need the datasheet, or want to buy one sample unit to test on your own parts? Sample units ship in 7 days, batch orders in 7-15 days, PI within 24 hours, T/T terms. Email leo.xu@smartmore.com with your code type, marking method and surface.
What is the hardest reflective surface you have had to read a DPM code from — polished stainless, anodised aluminium, or something worse? Leave a comment below.
Top comments (0)