This circuit converts a signal from any waveform into a rectangular or square signal of the same frequency. Transistors may be equivalent and their characteristics determine the operating frequency limits of the circuit. The diodes are commonly used.