Calculating the total gain of a PI (or any circuit containing demods) is a little tricky due to the sampling integrator stage. Ferinstance, Hammerhead has a preamp gain of 1000, followed by the sampling integrator, followed by a final gain stage of 100. If you take the integrator stage at face value it seems to have a gain of 100, which would give an overall system gain of 10 million.
But the integrator samples and for most of the time it's 'off'. When the switch is turned on the cap charges with a first time constant (tau1) due to the input R and the feedback cap. When the switch is turned off the cap discharges with a second time constant (tau2) due to the feedback R and the feedback cap. The effective gain of this stage is (with a lot of hand-waving) therefore

where ton is the turn-on time and T is the overall period. As ton --> 0 the gain approaches 0, which is expected. As ton --> T the gain approaches R2/R1.
Example:
Let tau1=470us, tau2=47ms, T=1.67ms, and ton=10us. The effective gain is 0.6.
But the integrator samples and for most of the time it's 'off'. When the switch is turned on the cap charges with a first time constant (tau1) due to the input R and the feedback cap. When the switch is turned off the cap discharges with a second time constant (tau2) due to the feedback R and the feedback cap. The effective gain of this stage is (with a lot of hand-waving) therefore
where ton is the turn-on time and T is the overall period. As ton --> 0 the gain approaches 0, which is expected. As ton --> T the gain approaches R2/R1.
Example:
Let tau1=470us, tau2=47ms, T=1.67ms, and ton=10us. The effective gain is 0.6.
Comment