Negative feedback is ubiquitous, and the discussion on its stability can be found everywhere. For ease of reference, I will put a memo on the equations to calculate the phase margin.

Fig.1 The symbolized feedback configuration
The amplifying system may includes multiple poles:
.
Neglecting higher order terms, it could be simplified to a two-pole equation: one dominant pole and one equivalent non-dominant pole which is approximate to:
.
The frequency of interest is where the loop gain magnitude is close to unity, denoted as ωt. Normally ωt is much larger than the dominant pole. Hence, βA(s) around ωt can be further simplified to:
.
Considering the first pole introduces -90° phase shift, the phase of the loop gain at ωt is:
.
Consequently, the phase margin (PM) is calculated by adding 180° to the phase of the loop gain and it is written as:
.
It can be seen that the phase margin is determined by the relative position between the equivalent non-dominant pole and the unity loop gain bandwidth.
ωeq/ωt 0.5 1 2 3 4
PM 26.6° 45° 63.4° 71.6° 76°
Pingback: Stabilizing a 2-Stage Amplifier | EveryNano Counts
Pingback: Ringing in Step Response | EveryNano Counts
Pingback: Basics On Active-RC Low-Pass Filters | EveryNano Counts