Efficient CMOS Comparator Circuit for PWM Experiments with Sawtooth Generator

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
wendys888
Messages
1
Reaction score
0
I have been experimenting with PWM circuits and I came across this CMOS comparator that seems to work well with the sawtooth generator I am using. I feed a sawtooth wave to the gate of the PMOS M3 transistor and the reference voltage I am comparing to Vin the PMOS M4.

I noticed that the PMOS's M9 and M1 are in a saturation-load NMOS setup. If I recall correctly this means they are both operating in the saturation region which generates a constant current source.

Vsaw and Vin seem to be controlling which region M3 and M4 will be operating in.

Can anyone help me in understanding the rest of this or if I completely off can someone explain to me how this is operating?

Thanks for any help!
 

Attachments

  • circuit.JPG
    circuit.JPG
    30.3 KB · Views: 676
Engineering news on Phys.org
Notice that M5, M6 are also a constant current source. As Vsaw and Vin vary, the current sharing of M4, M5 shifts; that is, the sum of the current thru M4, M5 stays the same but more current will flow thru one or the other depending on their Gate voltages.

Since the output stage, M7,8,11, is controlled by M4, the output depends on the current thru M4.

M10 is just a current source for M7.

https://www.physicsforums.com/attachments/circuit-jpg.66076/