EveryCircuit
Contact
Reviews
Home
ACEFORLIFE
modified 1 year ago

Triangle to Sine wave

4
3
277
03:05:56
Generating an amplified sine wave from a triangle wave using active circuit to create transfer function. Derivative of sine is cosine. In cosine, from t = 0 to t = 90 deg or pi/2, cosine is decreasing until it reaches zero at t = 90 deg. This means the gradient (or derivative) of sine is decreasing from t = 0 to t = 90 deg. But sine is increasing on that interval. So… We build a transfer function that exhibits similar behaviour. So on the positive swing, the idea is whenever sine is increasing, the rate at which it increases decreases. While the rate at which it decreases increases. This behaviour is reversed on the negative swing. -> Let’s look at the following interval [v1, v4] (on sine’s positive swing) and say we observe sine increasing along this interval. -> Let’s split the interval into two consecutive intervals [v1, v2] and [v3, v4] within the interval. The idea is the rate of increase between [v1, v2] is higher than the rate of increase between [v3, v4]. -> So we build a circuit that reduces the slope of transfer function after every consecutive interval up until we reach the peak of the triangle wave where the derivative should be zero. Then we mirror this behaviour on the negative negative swing. The interval was split into three. No rigorous calculations were carried out to determine the slope for each interval that will make the output closely resemble a sine wave. I however, made sure the slopes were lower for each consecutive interval. Output will still look somewhat like a sine wave. The zener diodes set up the interval cut-off points while the feedback resistors set-up the slopes on each interval.
published 1 year ago
jpoulin0901
1 year ago
Probably the easiest way to get from any waveform to a sine wave is with a low pass filter. That saves you having to do all this time-domain wave-shaping.
ACEFORLIFE
1 year ago
Hmm I’ll try that out next. The beauty with this type of circuit though is that you can generate many types of waveforms besides just sinusoidal forms.
Redstone_guy
1 year ago
I have upgraded it a bit: http://everycircuit.com/circuit/5506196928462848

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy