# Average current mode control compensation

This is the structure of average current mode control (source here).

Please look at signal $V_{com}$ at the positive input of PWM modulator. For proper operation, in steady state the magnitude of $V_{com}$ should be in range peak to peak of ramp signal. Is there a clear procedure (almost like step by step) to guarantee this?

I tried to simulate this and even using simple integral compensation but $V_{com}$ is always out of range of ramp signal.

This is my simulation result with target 3V input and 2V output.

• Show your simulation schematic too please. – Andy aka Apr 2 '18 at 15:10
• And what about the op-amps - were they OK on a single 5 volt rail? And why is your reference voltage 2 volts? – Andy aka Apr 2 '18 at 17:28
• @Andyaka: I don't understand your question about OpAmp. I used reference 2V because I want output to be 2V. – anhnha Apr 2 '18 at 19:06
• What op-amps are they? – Andy aka Apr 3 '18 at 8:04