# How to compensate an op-amp at a particular frequency?

I am trying to design an op-amp but because it is going to be used at a max frequency of 10kHz, I only need to make sure the phase margin is good enough at this frequency. Most of the methods for designing op-amps that I found compensate the op-amp for the worst case scenario which is when it used as a buffer. However, in my case, it will never be used as a buffer. Is there a method I can follow that shows how to design an op-amp that is compensated at a particular frequency ?

Please see an image of the circuit: https://imgur.com/a/5IwOVge

The maximum frequency the input signal is 10kHz. The high-pass circuit sets the closed-loop gain at 40dB.

• Start with the open loop bode plot. Feb 2, 2020 at 10:31
• Frequency compensation generally is thought to serve the amplifier the expected stability when a negative feedback network is applied - not just for a 'buffer' configuration. That's why you don't compensate for one frequency, which honestly doesn't make much sense to me.
– edmz
Feb 2, 2020 at 11:18
• The stability margin (phase margin) does not only depend on the frequency range you intend to work with. You also must specify the mimnimum closed-loop gain for your application.
– LvW
Feb 2, 2020 at 14:38
• The signal you care about may be at 10kHz, but if it starts oscillating madly at 500kHz you'll care -- so it needs to be compensated for the whole frequency band. Feb 2, 2020 at 14:59
• Your question is too broad. Could you edit your question to tell us what voltage gain you want, and whether its inverting or not? Perhaps show us your candidate circuit? Most modern op-amps come pre-compensated and stay stable in most op-amp circuits. Unless you need super speed or super precision, or are asking for super-high gain, chances are great that you're fine just whipping up a cookbook solution. Feb 2, 2020 at 15:01