Electronic – How does this opamp phase shifter produce 2x phase shift at the output without changing the magnitude

operational-amplifiertransfer function

My textbook just gives formulas without any proofs and even though it is frustrating I'm really enjoying deriving the proofs with your invaluable help XD Here is one I'm stuck with:

Please see the given circuit. I managed to get the voltage at \$V_{+}\$ input of the op amp:

Voltage across \$C\$ is given by \$V_{+}=\dfrac{1/(j\omega C)}{R+\dfrac{1}{j\omega C}} v_{\text{in}}= \dfrac{v_{\text{in}}}{1+j\omega RC}=\dfrac{v_{\text{in}}}{\sqrt{1+(\omega RC)^2}}\angle -\arctan(\omega RC)\$

Since the cutoff happens when \$X_C = R\$, we have \$RC = \dfrac{1}{\omega_c}\$:
\$V_{+}=\dfrac{v_{\text{in}}}{\sqrt{1+(\omega RC)^2}}\angle -\arctan\left(\dfrac{\omega}{\omega_c}\right)\$

The phase shift is throwing me off. Any help? In particular I'm stuck on two questions:
1) The phase shift at capacitor doesn't have the factor \$2\$. How are they getting it at the opamp output?
2) How is the gain of this circuit \$\pm 1\$ for all frequencies?

enter image description here

Best Answer

How is the gain of this circuit ±1 for all frequencies?

Using superposition we can immediately say that the gain is: -

$$H(s) = (1+\dfrac{R'}{R'})\cdot (\dfrac{1}{1+sCR}) - \dfrac{R'}{R'}$$ $$ = \dfrac{2}{1+sCR} - 1$$ $$ = \dfrac{1- sCR}{1+sCR}$$

And, because the magnitude of \$1 - sCR\$ is the same as the magnitude of \$1+ sCR\$, the gain magnitude is 1.

The phase change in the numerator and the phase change in the denominator go in opposite directions so, given that they are disposed as "numerator" and denominator" any phase angle from the circuit is double what it would be for a single RC network.