Skip to main content

PID Controllers

Feedback loops are key elements to the control of a system's behavior, and are used in a variety of areas including optics and photonics, nanotechnology and materials sciencequantum technologies, scanning probe microscopy, and sensing. Taking advantage of closed-loop operation makes it possible to accelerate transient processes, reduce the impact of disturbances on the system and tune its steady-state behavior.

The PID controller first compares the system's output with a user-defined setpoint and generates an error signal. It then tries to minimize this error signal by adjusting its output, which in turn drives the system. This driving signal is obtained by adding three terms calculated separately from the error signal: the terms are referred to as proportional (P), integral (I) and derivative (D), and each has its own gain.

PID Controllers for Lock-in Amplifiers

Zurich Instruments offers PID controllers exclusively as upgrade options for lock-in amplifiers, impedance analyzers and boxcar averagers. Consequently, a number of different inputs can be chosen for the PIDs: the set of choices includes amplitude, phase, quadrature and in-phase components of demodulated signals, boxcar outputs, as well as auxiliary inputs and outputs. Integrated digital signal processing guarantees maximum signal-to-noise ratio, minimal feedback loop latency and closed-loop operation with high stability. Even tiny signals can be located in a noisy and spurious-rich background and used as reliable inputs. The feedback signal is then available as an analog output and can also be directly applied to an internal frequency generator output to control its amplitude, frequency, offset and phase.

Characterizing and setting up new control loops is straightforward with the LabOne® software. The available parametric sweeper, oscilloscope and other data acquisition tools make it easy for users to understand the specifics of a system in the time and frequency domains. Further, the PID Advisor offers a number of predefined model functions that can be used to derive an initial set of PID parameters that can be refined manually at a later time, e.g. based on recorded step responses to be compared to the model provided by the PID Advisor. Alternatively, the Auto Tune routine varies P, I and D automatically to minimize the residual error.

4 PIDs for 500 kHz / 5 MHz Lock-in Amplifier

4 PIDs for 50 MHz Lock-in Amplifier

4 PIDs for 600 MHz Lock-in Amplifier

  • 50 kHz max. loop filter bandwidth
  • PID Advisor and Auto Tune PID
  • PLL capability
  • Phase unwrap for demodulator phase data
  • 5 kHz max. loop filter bandwidth
  • PID Advisor and Tuner with 4 simulation models
  • PLL capability as a separate option
  • Flexible setpoint configuration
  • 300 kHz max. loop filter bandwidth
  • PID Advisor and Auto Tune PID
  • PLL capability
  • Phase unwrap for demodulator phase data

Functional description

Zurich Instruments' PID controllers

Additional features

The PID options for the MFLI Lock-in Amplifier and the UHFLI Lock-in Amplifier are also equipped with a D-gain low-pass filter and the phase unwrap functionality.

In many cases, introducing a D-gain offers the potential to speed up the loop's response. However, this often leads to instability because it introduces increasing gains towards high frequencies. Introducing an adjustable low-pass filter in the D-branch helps take advantage of the D-gain without running into instabilities.

Phase detection facilitated by a lock-in amplifier is usually limited by the arct2(y/x) function to the value range ±π. In turn, this limits the 'capture range' of the PID as well as the stability of operation in the presence of external noise. In the digital domain, this limitation can be overcome thanks to a 'phase unwrap' functionality that detects instances where phase detection exceeds its limits and keeps track of this behaviour accordingly. Zurich Instruments' PIDs support a 'capture range' that extends up to ±1024π.

User Benefits

  • The broad choice of PID input and output signals and the fully configurable PID controllers afford the flexibility to design and maintain closed-loop control under a wide range of conditions without the need for additional instruments. Switching from one to another controller as the need arises is not a problem.
  • Multiple PID controllers can run simultaneously within the same instrument, thus enabling advanced feedback loops while keeping setup complexity at bay.
  • The PID Advisor allows users to model their setup and calculate sensible starting parameters. It is then possible to optimize further those PID parameters thanks to the Auto Tune routine and minimize the residual PID error.
  • The LabOne toolset including Scope, Spectrum Analyzer, Sweeper and Plotter facilitates an integrated analysis and monitoring of the locking quality. For instance, it is possible to visualize the PID error as a histogram to spot deviations from a Gaussian distribution, which may indicate that something in the setup does not work as expected.


PID/PLL upgrade options

PID/PLL Upgrade options

Sensor characterization and control

Zurich Instruments Webinar - Sensor Characterization and Control

Boost your SPM applications

Boost your SPM Applications

Application Notes

Zurich Instruments

Optomechanical mass sensing

Zurich Instruments

Control of MEMS Coriolis Vibratory Gyroscopes

Zurich Instruments

Parametric feedback cooling

Zurich Instruments

Interferometer Stabilization with Linear Phase Control Made Easy

Park Systems, Zurich Instruments

Stabilizing the piezoresponse for accurate and crosstalk-free ferroelectric domain characterization via dual frequency resonance tracking


Chien, M., Brameshuber, M., Rossboth, B., Schütz, G. & Schmid, S.

Single-molecule optical absorption imaging by nanomechanical photothermal sensing

PNAS 115, 11150-11155 (2018)

Sarrafan, A., Azimi, S., Golnaraghi, F. & Bahreyni, B.

A nonlinear rate microsensor utilising internal resonance

Sci. Rep. 9, 8648 (2019)

Martin-Jimenez, D. et al.

Bond-level imaging of organic molecules using Q-controlled amplitude modulation atomic force microscopy

Appl. Phys. Lett. 117, 131601 (2020)

Contact Us