It is best to use Schmidt trigger to convert sine wave into square wave. The circuit diagram of the operational amplifier after conversion is as follows:
The conversion from square wave to triangular wave is completed by integrating circuit, that is, by charging and discharging the capacitor. The circuit diagram is as follows:
The square wave can quickly change from one value to another (i.e. 0→ 1 or 1→0), so the square wave is used as a clock signal to accurately trigger the synchronous circuit. But if the square wave is expressed in frequency domain, a series of harmonics will appear.
Extended data:
Different from amplifier circuit, self-excited oscillation circuit is an electronic circuit that can generate its own output signal without external signal. Therefore, it is often used as a signal generator to generate signals of various frequencies. Oscillating circuit is divided into sine wave oscillator and non-sine wave oscillator.
Square wave integral is triangular wave, and triangular wave differential is square wave. Sine wave can be obtained by integrating triangular wave for many times, and can also be converted by diode network. Sine wave can be converted into square wave by Schmidt trigger or comparator.
Baidu encyclopedia-sine wave
Baidu encyclopedia-square wave
Baidu encyclopedia-triangle wave