7

I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.

Enter image description here

Peter Mortensen
  • 1,676
  • 3
  • 17
  • 23
Umangcern
  • 69
  • 6

1 Answers1

17

The easiest way to do this would be to use a comparator.

enter image description here

Picture taken from linked site

All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.

You will then get yourself a square wave.

Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted

MCG
  • 11,809
  • 4
  • 34
  • 70