I put an input filter lowpass at 100kHz on the PID block and took a spectrum with the Agilent, going up to 1MHz in the spectrum. I just took some random values for the PI without trying to optimize:
P = 0.04
I = 200
See attached. Since it's not optimized I have 35mrad of phase noise from 1kHz to 1MHz, which is actually the same value as what I had on the SR785 but from 1kHz to 100kHz. See here https://emvogil-3.mit.edu/lasti/index.php?callRep=11503.
When I tried to take a transfer function, I noticed that the custom PZT driver no longer worked. It is possible that I broke it. We will check this tomorrow with Eric.
I took the PZT drive+18V+100V out on the other table and Eric tested the PZT driver. Turning the pot now seems to correctly vary the output from -20 to 100V. Everything seems to work ok (although we didn't test sending a signal at CTRL IN). It is not clear why it didn't work yesterday...