Two-stage op-amp with 60° phase margin
Design the classic two-stage CMOS op-amp, add Miller compensation, and tune it until it is stable with a 60° phase margin.
What this proves to recruiters
- You can design a complete analog block to specifications.
- You understand stability and compensation.
- You can run the measurements analog teams expect.
Skills you will use
- Op-amp design
- Miller compensation
- Stability
- AC and transient analysis
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- LTspice or ngspice
- Razavi’s or Allen–Holberg’s design steps
Steps
- Set specifications: gain over 60 dB, unity-gain frequency 10 MHz, phase margin 60°, load 2 pF.
- Size the differential pair, current mirror load and second stage using the standard design equations.
- Choose the Miller capacitor (start near 0.22 × the load) and a nulling resistor.
- Run an open-loop AC sweep and read gain, unity-gain frequency and phase margin.
- Adjust the compensation until the phase margin reaches 60°.
- Check the step response in a unity-gain buffer: little or no ringing means it is stable.
Make it stand out
- Re-design it on SKY130 and run five process corners.
- Measure slew rate and output swing.
Put it on your resume
Designed a Miller-compensated two-stage CMOS op-amp: [x] dB gain, [y] MHz unity-gain frequency, 60° phase margin.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 2, “Analog IC building blocks”, of the Analog and mixed-signal IC design roadmap. See also how freshers get into analog layout engineer jobs.