Quick answer: To focus a fiber laser, start with the focal distance and focusing method supplied for your installed lens, then fine-tune using controlled marks on a flat, secured test coupon. To investigate intentional defocus, move the work surface a known distance away from that measured best-focus position, keep the laser recipe unchanged, and compare multiple samples. Do not assume that a darker-looking mark, a louder process, or a red preview alone proves optimal focus.
This guide is for Carverall Z12 users, with the 60W MOPA as the primary example. It addresses the specific questions โhow do I find the best fiber laser focus?โ and โwhen should I deliberately defocus a MOPA laser?โโnot the broader settings or lens-distortion topics covered in our other tutorials.
Evidence boundary: Carverall offers Z12 20W/30W standard fiber, 50W 3D/relief, and 60W MOPA configurations. The test design below is an engineering recommendation, not a Carverall-verified material recipe or a claim of measured engraving quality. Lens-dependent focal distances, controller compatibility, power, speed, frequency, pulse width and defocus results must be verified on the actual machine. No physical test result is invented here.
Focus vs defocus: what changes at the metal surface?
At the beam waist, the focused laser spot is smallest under a given optical setup. Moving the metal above or below that plane generally increases the spot size and changes the irradiance distribution. In practical marking, this can change apparent line width, edge definition, color/black-mark appearance and how much material is removed. It does not follow that deliberate defocus always improves black marking or that perfect focus always delivers the best cosmetic finish.
For the optical principle, see the independent RP Photonics explanation of beam waist. Lens specification, actual beam quality, workpiece tilt and scanning position affect the usable process window; an idealized Gaussian-beam model is not an exact prediction of your Z12's mark width.
| Goal | What to test | What counts as evidence |
|---|---|---|
| Sharp fine text or QR/Data Matrix modules | Near-focus line width and edge definition | Measured lines, readable modules, repeated scan checks |
| Uniform dark cosmetic marking | Small, logged focus offsets around baseline | Consistent appearance under fixed lighting; repeat samples and rub checks |
| Deep metal engraving | In-focus baseline, debris removal and staged depth tracking | Measured depth/quality; no unsupported claim that defocus cuts deeper |
| Uneven or shaped parts | Actual height variation and field coverage | Height map and position-by-position test, not a single central mark |
First separate focus from galvo calibration
Focus is about the laser spot at the material plane. Galvo lens calibration is about accurate geometry across the marking field. A sharp central dot can coexist with distorted output near the edge. If a 20 mm square is stretched, shifted or curved, use our LightBurn galvo lens calibration and red-dot troubleshooting guide. Do not โcorrectโ an X/Y scaling fault by changing focal height.
LightBurn's official Galvo Laser Focusing guide notes that lens focal-length labels are only a starting point, and that proper focusing must be fine-tuned for the actual setup. Its lens-change guide also separates refocusing from subsequent field calibration.
Before the test: record a safe, reproducible baseline
- Confirm the device and software. Log โZ12 60W MOPAโ, exact source label, controller, lens model/marking field, software and version, and whether the machine uses the supplied EZCAD configuration or a verified LightBurn Galvo profile. Back up machine settings before any experiment.
- Confirm the material. Use flat coupons from the same known alloy, coating status and batch. Clean in a consistent, material-appropriate manner and let each coupon dry. Do not mark unidentified plated, painted or treated surfaces without a material safety review.
- Control laser hazards. Treat the accessible beam and specular reflections as potentially severe hazards. Follow the exact machine's classification, enclosure/interlock, extraction, eyewear, operator training and site safety requirements. Never inspect the infrared beam directly. OSHA provides laser hazard guidance.
- Secure the coupon. Use a stable metal fixture; eliminate rocking or unintended height changes. Keep the small test region near the center of the known calibrated field.
- Select a known workable recipe. Prefer a manufacturer-supported or previously documented low-exposure recipe that makes a readable test line on this exact material and lens without overburn. If none exists, perform a separate conservative speed/power/material screen first; do not combine an unknown recipe with a focus investigation.
- Document the physical reference. Measure from the same fixed point on the lens/head housing to the top of the coupon, using a repeatable gauge outside the active marking process. Record that gap as H. The focal length printed on a lens must not be mistaken for a universal lens-to-metal working-distance measurement.
Focus-sign convention for this article: ฮH = H(test) โ H(reference). A positive ฮH means a larger lens-to-coupon gap; a negative ฮH means a smaller gap. This avoids confusion when a machine's electric lift or Z-axis UI uses opposite signs. Always check actual movement before marking.
Stage A: find a repeatable best-focus reference
The goal here is the narrowest clean, reproducible test line with your fixed optical setup, not the darkest filled square.
- Use the lens maker's documented working-distance guidance or the Z12's provided focusing indicators as the initial reference. Red-dot coincidence, where fitted, is a starting check, not a laboratory measurement of infrared beam waist.
- In a design program compatible with your device, create a small numbered series of identical single-stroke lines, for example 8โ10 mm long, with enough separation to prevent overlap. Keep one layer and one approved marking recipe.
- Choose a set of five physical gaps around the estimated focus. An illustrative test design is ฮH = โ1.0, โ0.5, 0, +0.5, +1.0 mm. These are suggested experimental offsets, not verified safe or optimal Z12 values. Shrink or change the range if the actual lens, lift travel, clearance, part and manufacturer guidance require it.
- Move the lift/head between test positions only via its approved controls. Confirm clearance and the measured lens-to-coupon gap every time. Never move the laser head or workpiece by hand during emission.
- At each gap, engrave the same line geometry on the same coupon type and record the identifier. Keep power, speed, frequency, pulse width, passes, scan direction, field position and cleaning method unchanged.
- Inspect marks under consistent diffuse lighting with a calibrated microscope or macro imaging setup. Record measured line widths, missing portions, burrs and visible heat-affected halos; avoid judging by a phone's automatic image sharpening alone.
- Repeat the candidate best-focus line on a second fresh coupon. If adjacent heights are indistinguishable within measurement uncertainty, report a focus window, not an artificially precise single number.
Example data table: The blank cells below are for your own measurementsโnot Carverall test results.
| ฮH (mm, illustrative) | Line width (ยตm) | Edge/halo notes | Coupon 2 confirmation |
|---|---|---|---|
| โ1.0 | Record | Record | Record |
| โ0.5 | Record | Record | Record |
| 0 | Record | Record | Record |
| +0.5 | Record | Record | Record |
| +1.0 | Record | Record | Record |
Software caveat: LightBurn also offers a general Focus Test feature, but its automated Z sweep requires a motorized Z axis controllable through LightBurn with Z control enabled. The presence of an electric Z lift on a machine does not establish that this feature can drive it. For a Z12 Galvo setup, use the documented manual-height series unless your particular controller and software workflow explicitly support the automated test.
Stage B: test intentional defocus for one specific marking objective
Once the narrow-line reference is established, choose one objectiveโfine text, visually dark marking, an aesthetic texture or surface removal. Do not optimize all objectives in the same experiment.
- Return to the Stage A baseline. Use three controlled offsets selected from the verified safe travel near that baseline; include the focus reference as a control.
- For a black-mark comparison, create identical filled swatches with the same hatch, scan angle and area; for fine text, use the same small lettering or test symbol at each height.
- On the 60W MOPA, hold frequency and pulse width fixed at a source-supported starting pair. Changing them while scanning height would confound the focus effect. Use our frequency and pulse-width material-test guide after the focus screen if process tuning is still needed.
- Mark at least two fresh coupons per shortlisted condition; use a third if the comparison is marginal. Allow cooling before comparison and photograph all coupons in the same orientation and locked exposure.
- Score edge crispness, unwanted color, surface roughness, visible residue, readability and cleaning/rub stability against your job's acceptance criteria. A dark patch that wipes away or loses tiny text is not a successful production result.
- Choose the widest repeatable acceptable operating window, not simply the visually strongest single sample. Log the final gap and the complete laser recipe together.
Why power, speed, frequency, pulse width and focus interact
Defocus changes spot size and therefore the way a fixed laser command distributes energy across the material. Speed and pulse frequency affect the approximate pulse spacing along a scanned line. Under ideal constant-speed, uniformly triggered pulsing, pulse spacing โ scan speed (mm/s) รท [1000 ร frequency (kHz)]. This geometric approximation does not predict actual pulse energy, overlap across hatch lines, blackness or engraving depth; source limits, acceleration, jump timing and material interaction still matter.
| Variable | Freeze during first height test? | What to investigate later |
|---|---|---|
| Physical lens-to-metal gap (ฮH) | No โ this is the test variable | Widest acceptable focus/defocus window |
| Speed and power command | Yes | Separate contrast and throughput test |
| MOPA pulse width and frequency | Yes | Independent, source-supported 2D grid |
| Hatch interval and scan angle | Yes | Fill uniformity after height selection |
| Pass count | Yes | Removal depth or staged engraving test |
| Material, lens, field position and fixturing | Yes | Repeatability and transfer validation |
Start with the fundamentals in our Z12 60W MOPA settings pillar article. If your aim is black or color marking on stainless steel, focus testing is one prerequisite; it does not replace the grade-specific material and appearance checks.
What changes for standard fiber and 50W 3D relief?
Z12 20W/30W standard fiber: The same concept of beam waist, measured height and repeated coupons applies. However, do not assume the software exposes a freely adjustable MOPA pulse-width control; test the settings that your actual laser source and controller support.
Z12 50W 3D/relief: A flat focus sweep still helps establish a reference at one physical plane. But real relief surfaces introduce changing Z height through the job. Validate the supplied 3D workflow, height compensation, focal range and fixturing against your controller/lens combination. A flat Galvo focus sweep cannot prove that every point on a contoured part is in focus. For application distinctions, see deep metal engraving and 50W 3D relief comparison.
Z12 60W MOPA: After the focus process is stable, frequency and pulse width offer additional experimental variables. That flexibility is useful only when the tested material, installed source and software configuration are recorded; no universal โ+1 mm defocusโ or โbest MOPA black settingโ is implied.
Fiber laser focusing problems: symptom-based troubleshooting
| Symptom | Possible cause | Controlled next check |
|---|---|---|
| Lines are wide at every height | Excessive marking energy, wrong lens reference or measurement saturation | Verify lens/profile; repeat a lower-exposure, manufacturer-permitted line test |
| Center is crisp but edges are blurry | Workpiece tilt, uneven surface, field/lens effects | Measure part flatness; repeat identical marks at center and near edges |
| Red dots coincide but IR mark looks soft | Indicator alignment differs from true beam focus | Use a physical line-width series, not the red dots alone |
| Mark looks darker but fine text fills in | Broader spot or excessive thermal accumulation | Compare module and stroke widths under fixed lighting |
| Settings worked before a lens swap | Lens-specific working distance or profile changed | Back up and restore the appropriate lens profile; refocus and recalibrate geometry |
| First coupon works; later coupons differ | Batch/finish changes, heat, cleaning or fixture movement | Repeat with matched clean coupons and fixed position |
| Depth is inconsistent on a curved part | Surface height varies outside focal tolerance | Measure height map; validate supported 3D compensation method |
| Graphic is the wrong physical size | Scale or Galvo correction rather than focus | Use a measured geometry grid and lens-calibration workflow |
A production-ready focus record
Keep one record for each approved combination of machine serial/reference, source, lens and field, controller and software profile, material grade/finish/batch, surface cleaning, fixture, coupon height, best-focus gap, allowed defocus window, power command, scan speed, frequency, pulse width, hatch, scan angle, passes, test date, operator, inspection equipment and acceptance criterion.
For repeatability, qualify the shortlisted condition on at least two separate coupons in the initial study, then confirm the process after a normal production restart or material-batch change. The repeat count here is an illustrative screening protocol, not a certification standard or statistically proven process capability. For safety-critical, regulated or high-volume marking, use your organization's formal validation protocol.
For QR codes and serial numbers, the go/no-go metric should be actual readability after the intended cleaning and use conditions; see our metal QR code and serial-number marking guide.
Frequently asked questions
Does defocusing a MOPA fiber laser always make stainless-steel marks darker?
No. Spot size and energy distribution change with focus, while the appearance of stainless steel depends on grade, finish, heat history, cleaning and the supported pulse settings. Test several measured offsets against an in-focus control and validate on additional coupons.
Can I copy another owner's focal distance or defocus value?
Not reliably. The physical measurement reference, installed lens, beam delivery, mounting, material height and calibration can all differ. Record the distance from the same marked physical reference point on your own Z12.
Should I use LightBurn's Focus Test button on the Z12?
Only if your particular controller exposes motorized Z control to LightBurn and its instructions confirm the feature. A powered lift alone is not proof of that compatibility. A manually documented height series is an alternative.
Is intentional defocus the same as 3D focusing?
No. Deliberate fixed defocus sets one offset for a work plane. 3D/relief workflows may require changing the focal plane across contours and must be validated with the specific machine's supported hardware and software.
Original photos and video to add before publishing
- Photo 1 โ fixture and distance reference: show the actual Z12 head, identified lens and secured flat coupon (no exposed-beam operation). Suggested alt: Carverall Z12 60W MOPA fiber laser focus distance measured above a secured metal coupon.
- Photo 2 โ labeled line series: close-up of the same actual material marked at recorded ฮH values, with scale and consistent light. Alt: Five-step fiber laser focus test showing measured line width at different lens-to-metal gaps.
- Photo 3 โ dark-mark comparison: identical swatches photographed with fixed exposure after cleaning, with all full settings in the caption. Alt: Z12 MOPA focus versus defocus comparison on stainless steel test coupons.
- Video โ repeatable process: 30โ60 seconds showing lens identification, Z height logging, guarded marking, microscopy and record sheet; do not expose viewers or operators to an unprotected beam. Alt/caption: Carverall Z12 MOPA manual focus sweep and measured metal marking comparison.
These are requested original production assets, not claims that these tests or images have already been completed. Publish actual photos and their measured values only after Carverall's team has recorded the experiment.
Next step: keep the result traceable
If your goal is consistent stainless-steel graphics, delicate text or a first relief engraving test, build the focus record first, then tune one parameter family at a time. Explore the Carverall Z12 60W MOPA and other Z12 configurations for the equipment options, and use the Z12 Tutorials hub to continue into MOPA material tests, lens calibration, traceability and deep engraving.
