610-459-9646
sales@sciotex.com

Microscope Hardware Synchronization: Galvos, Piezos, Lasers and Cameras

Written by Sciotex Engineering
In this article

Microscope hardware synchronization is the timing that keeps every moving part of a microscope in step: scanning mirrors, piezo stages, lasers and cameras. In a modern light sheet, confocal or adaptive optics microscope, a single 3D volume can involve hundreds of camera exposures, each of which must line up with a galvo position, a focus step and a laser pulse. If the timing slips, images blur, planes shift and data becomes unusable. This article explains how that timing is done and the choices involved.

What needs to be synchronized

DeviceWhat it doesTypical signal
Galvanometer mirrors (galvos)Scan the beam to form or move the light sheet, or raster a confocal spotAnalog waveform: sawtooth, triangle or steps
Piezo stages and objective scannersStep the focus or the sample through the volumeAnalog staircase or ramp, with settling time
Lasers, AOTFs and Pockels cellsSwitch and modulate illumination for each exposure and wavelengthDigital on/off or analog intensity
CamerasExpose and read out each frameDigital trigger in; exposure or readout signal out
Spatial light modulators and deformable mirrorsChange illumination patterns or wavefront correctionPattern or command updates, often triggered
Filter wheels, shutters and stagesChange channels and positions between acquisitionsSerial or digital commands with completion signals

Hardware timing vs software timing

Software timing sends commands from a program one after another: move the piezo, wait, trigger the camera, wait. It is easy to write, but operating system delays add milliseconds of jitter, which is far too much for fast imaging.

Hardware timing loads complete waveforms and trigger patterns into DAQ or FPGA hardware, then plays them out from a shared clock. Software sets up the experiment; the hardware runs it with microsecond or better precision. Every serious fast microscope uses hardware timing for the devices inside the imaging loop.

Common synchronization architectures

Option 1
DAQ as master
Multifunction DAQ boards generate galvo and piezo waveforms and camera triggers from one sample clock.
Option 2
Camera as master
The camera’s exposure output drives the other devices, so everything follows the camera’s actual timing.
Option 3
FPGA as master
An FPGA runs the whole timing sequence, adding logic, fast feedback and many synchronized channels.
Option 4
Real-time controller
A real-time processor handles deterministic sequencing and coordination with slower devices.

Many systems combine these: an FPGA or DAQ board generates the waveforms, the camera exposure signal gates the lasers, and slower devices such as filter wheels are sequenced between volumes. Sciotex builds these systems on DAQ, FPGA and real-time hardware, typically programmed in LabVIEW.

A typical light sheet acquisition sequence

StepWhat happens
1The piezo moves the detection focus to the next plane and settles
2The camera receives a trigger and starts its exposure
3The laser turns on and the galvo sweeps the beam to form the sheet
4The laser turns off; the camera reads out while the piezo moves to the next plane
5Repeat for every plane in the volume, then for every channel and time point

Details that make or break timing

  • Settling time: piezos and galvos need time to reach position; exposures must start after they settle
  • Flyback: scanners must return to start between sweeps without exposing the sample
  • Camera readout: rolling shutter timing must match the sheet if used as a virtual slit
  • Laser blanking: lasers should be off whenever the camera is not exposing, to limit photobleaching
  • Calibration: waveform amplitudes and offsets must map accurately to physical positions
  • Monitoring: recording actual positions and trigger times helps diagnose problems

Synchronization is one of the main reasons custom microscopes need custom software. See the light sheet microscopy guide and Sciotex’s custom microscope software services.

Frequently asked questions

Why is hardware timing needed in microscopy?

Software timing suffers milliseconds of jitter from the operating system. Fast imaging needs scanners, lasers and cameras aligned to microseconds, which requires waveforms and triggers generated by DAQ or FPGA hardware from a shared clock.

How are galvos and cameras synchronized?

DAQ or FPGA hardware generates the galvo waveform and camera trigger from the same clock, or the camera’s exposure signal triggers the waveform, so each exposure matches a known beam position.

What is a camera trigger?

A digital signal that tells a camera when to start an exposure, and sometimes how long it should last. Cameras can also output signals during exposure or readout so other devices can follow them.

Should a microscope use an FPGA or a DAQ board for timing?

DAQ boards suit most waveform and trigger generation. FPGAs add value when the system needs custom logic, very fast feedback, many synchronized channels or on-the-fly processing.

Related articles

Written by

Sciotex Engineering

The Sciotex engineering team has designed and built microscope, vision and scientific software since 1997.

Have a microscope or instrument project?

Talk it through with a Sciotex engineer.

In this article
Building a scientific instrument?

Talk it through with a Sciotex engineer.

Next step

See what custom software could do for your instrument