Nope. Do the math. Integral of cosine is sine.Will integrating a triangular wave form a sine wave?
from __future__ import division
from pylab import *
n, num_periods = 1000, 3
# Create square wave
y = zeros(n//2) + 1
y = concatenate((y, zeros(n//2) - 1))
# Show a few periods
y = concatenate([y]*num_periods)
# Plot
plot(y, label="Square wave")
y = cumsum(y)
y /= max(abs(y))/2
range = max(y) - min(y)
y -= range/2 # Center it symmetrically about the x axis
plot(y, label="Triangle wave")
y = cumsum(y)
y /= max(abs(y))
plot(y - 0.05, label="Integrated triangle wave (offset a bit)")
# Subtract from a sine and plot the difference
t = arange(0, 2*pi, 2*pi/n)
t = concatenate([t]*num_periods)
y1 = -sin(t)
plot(y, label="True sine")
diff = y - y1
plot(diff, label="Integrated triangle minus sine")
legend(loc="upper left")
ylim(-1.1, 2.2)
title("Integrated Triangle Wave")
grid(True)
show()
Hah! What a concept; think first, flame second.What was interesting was that I was going to roast Bill for making such a dumb statement. But then I thought I should check it out first.
Actually they are.An inverter is NEVER made from an amplified sine-wave because the amplifier is always linear and wastes a lot of power making lots of heat.
...
If your triangle wave has the top and bottom peaks clipped (with diodes or PSU limits etc) it requires even less filtering to get a "sine" output.
To Elengr, I have built inverters that produced a decent sinewave out of the transformer, but they always needed waveforms very UN sine like driving the power components...
It also depends a bit on the type and current of the load. Maybe you should say what the load is and why you need to make a sinewave inverter?
Another way of looking at this is as a filter. A single integrator is a simple 1st order filter, two of them is a 2nd order filter. Add enough filtering anything becomes a sine wave.
The diode shaper is something else, it is fundamentally a logarithmic amplifier.
An old 741, LM358 or LM324 opamp makes a triangle wave by integration when you have a frequency that exceeds its very low slew rate.Can you please upload a schematic of integrator circuit which at least converts square wave into triangular wave?
Just do a web search on "op amp integrator" and you'll get a zillion hits. Or look in "The Art of Electronics". Or here.Can you please upload a schematic of integrator circuit which at least converts square wave into triangular wave?