What Z-focus adjustment does on a laser galvo

Z-focus adjustment moves the laser beam up or down to keep it sharp and at the right power on your material. A galvo laser system uses mirrors to steer the beam across a flat surface, but those mirrors can only move left and right (X and Y). The Z-axis — the up-and-down direction — needs a separate motor to move the lens or the material itself so the beam stays in focus across the entire cutting or engraving area.

Without Z-focus adjustment, the beam would be sharp at one height and blurry everywhere else. Since the laser's power spreads out as the beam gets further from the lens, a blurry beam cuts slower, engraves lighter, or misses fine detail. On a galvo system, Z-focus is what keeps the beam at the same distance from the material no matter where the galvo mirrors point it.

Most galvo systems use one of two methods: a motorized Z-stage that moves the material up and down, or a motorized lens that moves up and down while the material stays still. Either way, the goal is the same — maintain the correct working distance between the lens and the surface you are cutting or engraving.

Key Takeaways

  • Z-focus adjustment keeps the laser beam sharp across the entire work area by moving the material or lens up and down as the galvo mirrors move the beam left and right.
  • Without Z-focus, the beam becomes blurry away from the center point, cutting slower and producing weaker or uneven results.
  • Most systems use either a motorized stage under the material or a motorized lens above it, controlled by the same software that runs the galvo mirrors.
  • Manual Z-focus requires you to adjust height before each job; automatic Z-focus uses a sensor or camera to adjust during the cut.

Manual versus automatic Z-focus

On a manual Z-focus system, you adjust the height once before you start cutting or engraving. You typically use a focus tool — a small piece that sits on top of your material — and move the stage or lens up or down until the laser beam is sharp on it. Once you lock that height, it stays there for the entire job. This works well if your material is flat and uniform, but if your material is warped, curved, or has thick and thin sections, only part of your work will be in focus.

An automatic Z-focus system adjusts the height continuously as the galvo mirrors move the beam. Some systems use a capacitive sensor that measures the distance between the lens and the material surface in real time. Others use a camera or height map created before the job starts. Automatic systems are slower because the Z-axis has to move between each line or section, but they keep the beam sharp across uneven material and produce consistent results on warped or textured surfaces.

The choice between manual and automatic depends on your material and your speed requirements. Flat, uniform material like plywood or acrylic works fine with manual focus. Curved material, leather, wood slices, or anything with surface variation benefits from automatic focus, even though it takes longer.

How Z-focus connects to your software and hardware

Your laser control software — the program that tells the galvo mirrors where to point — also controls the Z-axis motor. When you load a design, the software calculates the path for the galvo mirrors and, if you have automatic focus, also calculates the Z-height at each point along that path. The Z-motor receives commands alongside the mirror commands, so they move together.

The Z-axis motor is usually a stepper motor or servo motor connected to a lead screw or belt drive that moves the stage or lens smoothly. Your software has settings for Z-speed (how fast it moves up and down) and Z-acceleration (how quickly it speeds up or slows down). If your Z-focus is too slow, your job takes much longer. If it is too fast, the motor can miss steps or the material can shift.

Most galvo systems let you set a Z-offset in software — a number that tells the system where zero height is. This is useful if you swap between different materials or lenses, because you can save different offset values for each setup without physically remeasuring every time.

Common problems with Z-focus and how to fix them

If your cuts are sharp in the center but blurry at the edges, your Z-focus is not adjusted correctly. Check that your focus tool is sitting flat on your material and that you moved the stage or lens until the beam was truly sharp on it, not just close. If you are using automatic focus, check that your sensor is clean and that it is mounted at the correct distance from the lens.

If your Z-motor is making noise but not moving, the lead screw may be stuck or the motor may not have enough power. Try moving the stage or lens by hand (with the laser off) to see if it moves freely. If it is stuck, clean the screw and explore a light machine oil. If it moves freely but the motor still will not turn it, check that the motor is plugged in and that your software is sending Z-commands.

If your automatic focus is hunting — moving up and down repeatedly without settling — the sensor may be too sensitive or too close to the material. Most systems let you adjust the sensor gain or threshold in software. Lower the gain or increase the threshold to make the sensor less sensitive, then test again.

When you need Z-focus and when you do not

You need Z-focus adjustment if you are cutting or engraving material thicker than about 1/8 inch, or if your material surface is not perfectly flat. Thin, flat material like paper, thin acrylic, or thin wood can often be cut or engraved without Z-focus adjustment because the depth of focus of the laser lens is wide enough that the beam stays sharp across the whole thickness.

You also need Z-focus if you are working with curved or textured material — leather, wood slices, stone, or anything with surface variation. Without Z-focus, only the highest points will be in focus, and the rest will be weak or uneven.

If you are doing very fine detail work — thin lines, small text, or precise engraving — Z-focus becomes more important even on flat material, because the beam needs to be as sharp as possible. A blurry beam will not hold fine detail.

Z-focus on different types of galvo systems

Fiber laser galvo systems almost always include Z-focus because they are commonly used for metal marking and engraving, where precision is critical. Most fiber systems use automatic focus with a capacitive sensor because metal surfaces vary in reflectivity and texture.

CO2 laser galvo systems vary more. Smaller hobby systems often have manual Z-focus or no Z-focus at all. Larger production systems usually have motorized Z-stages with automatic focus. Some CO2 systems use a camera-based focus system that takes a picture of the material surface and calculates the Z-height map before the job starts.

UV laser galvo systems are less common but usually include Z-focus because they are used for detailed marking on small parts. The beam is very tight, so focus is critical.

Frequently Asked Questions

Can I add Z-focus to a galvo system that does not have it?

Yes, but it requires adding a motorized stage or lens, a motor controller, and software support. If your laser control board does not have a Z-axis output, you may need to upgrade the board as well. It is usually cheaper to buy a system with Z-focus already installed than to retrofit it.

What is the difference between Z-focus and autofocus?

Z-focus is the mechanism — the motor and lens or stage that moves up and down. Autofocus is the control method — a sensor or camera that measures the material height and adjusts Z automatically. You can have Z-focus without autofocus (manual adjustment), but you cannot have autofocus without Z-focus.

How often do I need to recalibrate Z-focus?

Manual Z-focus needs to be recalibrated before each job if your material thickness or type changes. Automatic Z-focus with a sensor needs recalibration if you change lenses or if the sensor gets dirty. Most systems stay calibrated for weeks or months if you do not change your setup.

Does Z-focus slow down my cutting speed?

Manual Z-focus does not slow down cutting — you adjust once and the galvo runs at full speed. Automatic Z-focus does slow down the job because the Z-motor has to move between sections or lines. The slowdown is usually 10 to 30 percent depending on how much height variation your material has.

What happens if my Z-focus is off by a small amount?

A small error — less than 0.1 inch — usually does not matter much on thick material or coarse engraving. On thin material or fine detail, even 0.05 inch of error can make the beam noticeably blurry and weaken your results. Always focus as precisely as your system allows.