A Comparator is a rare case where we use the Operational Amplifier in the open loop gonfiguration.
(If we do not add hysteresis, will be covered in another example)
This will cause the output to either slam towards the positive or negative rail depending on the reference voltage.
We're using an Ideal Comparator for this example. In another example we will use a regular comparator.
If you click on the Comparator, you can change the Output_level, it's currently set at 12 volts.
In this example, mains voltage gets fed into a 10:1 step-down transformer which then gets fed into the Ideal Comparator. We are setting the reference voltage at 0 volts. Since we have a sine wave, the output will be 12V during the positive cycles, and the output will be 0 volts during the negative cycles.
There are currently no comments