The phase frequency discriminator (dcc here https://dcc.ligo.org/LIGO-E1200114) is a kind of two-stage mixer particularly useful for generating a usable PLL error signal. It requires two inputs: "DBL PLL in" (= the PD input) whose frequency and phase are noted (f_PD, phi_PD), and "LO in" whose frequency and phase are (f_LO, phi_LO). We assume these inputs to be sine waves at these frequencies for the sake of simplicity.
For each of these inputs, the nominal power is between 0 and 10 dBm and the mixer does not work properly if either input has less than -10 dBm. Note that as long as both inputs have more than -10 dBm of power, the output has the same shape, independent of the input powers. The relevant output is ERR OUT.
Without loss of generality, the initial condition of the PD and LO signals corresponds to | f_PD - f_LO | != 0 and | phi_PD - phi_LO | != 0. In the following I call « beat note » the beat note between the PD and LO signals. For the figures I used RF signals generated around 60MHz from channel 1 and 2 of the Moglabs generator. The LO is always at 60MHz while the PD has different frequency offsets. Both signals' power is +10 dBm.
Step 1: achieve | f_PD - f_LO | = 0 (Frequency mode). If 0< | f_PD - f_LO | <~100kHz, the output "ERR OUT" is a single-sided sawtooth at half the frequency of the PD-LO beat note (| f_PD - f_LO | /2), min/max at +-4V with a mean of +-2.1V depending on whether f_PD>f_LO or f_LO>f_PD. There is a « SIGN » input which accepts either a 50 Ohm terminator or a voltage. The sign of the "ERR OUT" mean is flipped if the voltage on « SIGN » is higher than 1V.
For high frequency beat notes (| f_PD - f_LO | > 100kHz) the sawtooth signals becomes a sine wave at half the frequency of the beatnote (i.e. first harmonic of the sawtooth Fourier decomposition) + a DC offset of +-2.1V, to keep track of the direction in which the piezo should move.
Figure 1 shows the sawtooth signal when f_PD - f_LO = 1kHz. Figure 2 shows the sawtooth signal when f_PD - f_LO = -1kHz. Figure 3 shows the low passed sawtooth signal when f_PD - f_LO = 1MHz. Note that the frequency of the sawtooth is always half that of the beat note. There was nothing at the « SIGN » port.
Independent of the initial beat note frequency, this sawtooth signal is the error signal which can be fed into a PID then into a piezo driver then into the Diabolo PZT control in order to obtain | f_PD - f_LO | = 0.
Step 2: achieve | phi_PD - phi_LO | = 0 (Phase mode). Once the PD signal has the same frequency as the LO, the error signal now becomes a DC voltage between -4.4 and 4.4V, whose value depends on the relative phase between the two inputs. By changing the phase of either the laser or the PD, we can zero out this DC voltage. Using the moglabs, a shift of 180° between LO and PD allows to go from +4.4V to 0V (same to go from 0V to -4.4V).
Conclusion: the PFD works as intended.