Triangle-to-Sine Converter
CircuitSim
·
Created Oct 3, 2026
·
Updated Oct 3, 2026
Details
Components
3
Schematic
Yes
Simulation
Transient analysis
Copies
Not copied yet
About this circuit
Use the gradual conduction of two diodes to round a triangle wave into an approximate sine wave.
Circuit notes
Triangle-to-Sine Converter
Use the gradual conduction of two diodes to round a triangle wave into an approximate sine wave.
V1 produces a 1 kHz triangle wave between −1.2 V and +1.2 V. R1 = 2.2 kΩ feeds two antiparallel junction diodes and RL = 100 kΩ. Their gradual exponential conduction compresses the upper and lower portions of the triangle more than its center.
The output is approximately ±0.6 V with rounded peaks. It resembles a sine wave but retains distortion; this is a simple nonlinear shaper, not an exact mathematical converter. The input amplitude and series resistance determine how much compression occurs.
Read the chart. The original triangle is green, the shaped output red and input current blue. Compare the straight input slopes with the changing output slope near each peak.
Model limits. Diode matching and temperature change the symmetry and amount of shaping. Precision function generators use more elaborate shaping or amplitude control.
Try it. Set V1 amplitude to 1.2 V and offset to −0.6 V; weaker shaping leaves a more triangular output. Restore the original values after comparing the results.
Components used
Components used
3 components
Try this circuit yourself
Free to get started. No download — runs in your browser with a full SPICE engine.