The loop is now stable enough so that I can start taking transfer functions using the RP. I used the same code as Hudson in his plots Link.
The figures below show some transfer functions for different values of P and I. I still need to process them to understand if the loops' UGFs and phase margins evolve accordingly.
After a quick discussion with Eric, it seems that there is some extra slope at higher frequencies, which could be explained by an extra lowpass above 10kHz. I am yet to find where this lowpass is. Furthermore the loop is very noisy at frequencies below 1kHz.
Conclusion: I can take transfer functions but there seems to be subtleties not yet understood at high and low frequencies.
Some ideas for future investigation to see if they can improve the loop:
- Take the spectrum of the error signal at low frequencies.
- Test the RP PID independently by looping its output on a 50Ohm resistor into its input and running the built-in netword analyser, to see if there are any extra lowpass (. This should also clarify the physical meaning of the parameters P and I in the code.
- Write down the analytical model of the loop and compare to the experimental data.
- Currently very low light power comes from the AOM path into the PD (30uW). Improve alignment and mode-matching in the AOM path.
- Feedback the PZT driver output on the Lightwave instead of the DBL and see if the error signal looks less noisy.
For reference, here is the shape of the PD spectrum around the beatnote carrier.
After discussion with Eric, it seems that the added slope above 10kHz is simply due to the input lowpass prior to the PID that I put at 50kHz. For reference, below is a measurement of this lowpass filter only, done by the sequence: network analyzer excitation -> out1 -> in1 -> PID (P=1, I = 0) -> out2 -> input2 -> NA's input. This lowpass was put here because the manual of the DBL laser recommanded not going above 100 kHz for the PZT drive as this could damage it (by exciting its resonances).
Conclusion: I should redo these TF without the 50 kHz, as I expect the PZT resonances to be well above the current UGF. I should plot the TF up to several MHz so that I can also see the PZT resonances. In a second step, it would then be useful to add band filters at the frequencies of the PZT resonance to selectively kill them.