Performance of a resonator-based interferometric fiber-optic gyroscope under the square wave phase bias modulation