// Imaging Fundamentals
Continuous Focus, Explained: How Your Microscope Stays Sharp For Hours
Getting into focus once and staying in focus for hours are two different problems. Most of us only notice the difference the hard way, after a long run, when a beautiful dataset turns out soft at the exact moment we cared about most.
- Focus drifts on every real microscope. Thermal expansion, stage settling, immersion changes. You rarely watch it happen. You just see frame 1 and frame 600.
- Continuous focus is separate hardware. It watches a near-infrared reflection off the coverslip instead of looking at your image, so it adds no exposures and no bleaching.
- It runs a closed loop. Watch the reflection, compare it to a stored target, correct in Z, repeat. Often on millisecond timescales.
- It locks to glass, not to your cells. An offset you choose puts the imaging plane where you actually want it.
- It holds a plane very well. It cannot tell you the plane is right. Software autofocus finds the plane. Continuous focus keeps you parked on it.
Pros
- No imaging exposures, so no extra bleaching or phototoxicity
- Corrects in milliseconds, in the background, while you acquire
- Holds a plane across long timelapse and repeat position visits
- Removes the need to babysit focus on unattended runs
- Reports its own lock state, so failures are visible
Cons
- Needs a strong, consistent reflection. Glass beats most plastic
- Coverslip thickness and immersion stability both matter
- Working Z range limits thick media and tall samples
- Can chase the well edge in plates without per-well offsets
- Cannot judge whether your plane is the biologically right one
01Focus drift: the quiet failure
On any real microscope, focus drifts. The causes are boring and mechanical: thermal expansion as the room and electronics warm up, slow settling of the stage or nosepiece, tiny movements in mounting hardware, changes in immersion media.
Each of those shifts the distance between objective and sample by a few hundred nanometers at a time. Over 30, 60, or 90 minutes those small nudges add up. The field that started perfectly sharp at time zero is visibly soft by the end of the run, even though you never touched the focus controls.
You often do not see it happening. You see the before and after. Frame 1 looks great, frame 600 does not, and you cannot re-run the experiment.
02What continuous focus actually is
Continuous focus is a second focus system running in parallel with your imaging. Instead of looking at the image to decide whether focus is good, it watches a reflection from the sample carrier, usually a coverslip or glass-bottom well, using a separate light path.
A common design sends a near-infrared beam through the objective, down to the coverslip or vessel surface. The beam reflects off that interface and comes back up to a small detector, which measures exactly where the reflection lands. The imaging camera never sees this beam, so the system can run all the time without adding exposure or bleaching.
The key idea is simple. Instead of asking does this picture look sharp, the hardware asks did the coverslip move relative to the objective, hundreds of times per second.
03The lock loop, step by step
Most reflection-based continuous focus systems run a tight feedback loop:
- Watch where the reflection lands right now.
- Compare that position to a stored lock target.
- Correct by nudging the objective in Z to close any gap.
- Repeat continuously in the background.
That is what closed loop means here. Measure, correct, measure again, without stopping. Because the system is looking at a bright reflection on a dedicated detector, it can run very quickly, often on millisecond timescales, long before drift becomes visible in the image.
04Locking to glass vs choosing the sample plane
There is an important catch. The hardware does not lock onto your cells. It locks onto glass. Your actual sample of interest usually sits some distance above that coverslip or plate bottom.
To deal with that, continuous focus systems expose an offset: a user-chosen Z distance between the lock point on glass and the imaging plane in the sample. You focus by eye or with software autofocus, turn the hardware lock on so it grabs the coverslip, then adjust the offset until the locked position lines up with the plane you care about.
Once that offset is set, every return trip to that position should land on the same imaging plane, assuming the coverslip and sample geometry stay the same. The hardware is very good at holding this plane. It cannot tell you whether you chose the right one biologically. That still depends on your setup and on how you defined the offset.
05Where continuous focus struggles
To keep that lock, the system needs a strong, consistent reflection from the sample carrier. Glass-bottom dishes and coverslips are the easiest cases. Some plastics give weaker or inconsistent reflections, and the signal can be lost entirely if the interface is rough, tilted, or contaminated.
Other common failure modes:
- Wrong coverslip thickness, which weakens or shifts the reflection enough that the detector no longer tracks it reliably.
- Thick media or tall samples that push the desired imaging plane outside the hardware working Z range, even when the reflection is still visible.
- Multiwell plates where the system chases the well edge instead of the cells, especially near walls and menisci. A single global offset is often not enough. Per-well or interpolated offsets give better results.
- Immersion objectives where the oil or other medium pulls away during a long run, breaking the optical path and dropping the lock.
The honest summary. Continuous focus holds a plane very well. It does not know whether that plane is the right one, and it cannot compensate for sample geometry that falls outside its operating envelope.
06Hardware vs software autofocus
Both aim at the same goal, sharp focus. They get there in different ways, with different trade-offs.
Image-based (software) autofocus
- Looks directly at the image, typically by scanning a small Z stack and scoring each plane with a sharpness or contrast metric.
- Costs exposures, which can add bleaching or phototoxicity for sensitive samples.
- Takes hundreds of milliseconds to seconds, depending on plane count and field of view.
- Usually runs only when asked. During setup, between stage moves, or at defined intervals.
Reflection-based (hardware) continuous focus
- Looks at a reflection from the coverslip or vessel surface, not at the image.
- Adds no imaging exposures, so it can run continuously without extra bleaching.
- Is much faster, often updating on millisecond timescales, in the background while you image.
- Is excellent at holding a defined plane, but depends on correct setup and on the quality of the reflective interface.
In many modern systems, image-based autofocus is used during setup or at sparse reference points, while hardware continuous focus maintains focus in between. In plate and slide workflows, using the hardware correctly, with per-well or per-region offsets and sensible limits, often removes the need for frequent image-based checks during a run.
07Using continuous focus safely
Getting continuous focus dialed in is mostly about a sensible start and clear guardrails:
- Focus the sample by eye or with software autofocus at a representative position.
- Turn the hardware lock on so it grabs the coverslip or vessel surface and stabilizes the reference.
- Adjust the offset so the locked position corresponds to your desired imaging plane.
- Watch the lock indicator during your first runs. Note how far the system has to move and how often it drops lock.
Because the lock reports its own state, it can act as a safety fence. If it constantly pushes to the edge of its working range or keeps dropping out entirely, the problem is not just drift. It is a sign that something in the mounting, immersion, or plate geometry needs attention.
08When continuous focus makes a difference
It mainly changes your life in workflows where drift would otherwise quietly destroy data:
- Long timelapse imaging, where hour six should look like hour one.
- Multipoint and multiwell imaging, where you revisit many positions and expect them to return to the same plane.
- Large tiled scans and mosaics, where a few soft tiles in one corner ruin an otherwise beautiful stitch.
- Live-cell and light-sensitive work, where you want to avoid any extra focus sweeps that add dose.
- Long unattended runs, where nobody is there to catch a slow drift in real time.
For one-off snapshots or short sessions where you can refocus by hand or with a quick autofocus sweep, continuous focus is less critical.
A simple way to think about it. Software autofocus answers “where is focus right now?” Hardware continuous focus answers “how do I stay there for the next six hours?” If your experiments are long, multipoint, or light-sensitive, that second question starts to matter as much as the first.
We build Nebula so this kind of thing stays understandable. Hardware focus, software autofocus, and interpolated offsets all live in the same acquisition workflow, on whatever hardware you already own, instead of being buried in four different vendor dialogs.
Grab the cheat sheet
One page. Plain English. Print it and pin it above the scope.
Related reading: Interpolated focus, explained and software autofocus, explained.








