Maker Pro
Maker Pro

will this really give me a triangular wave?

its essentially just a low pass filter, so I feel like im always going to end up a with more of a curvy ramped wave on the output.
Is this the case?
perhaps I need to find the triangular sweet spot by adjusting the value of C2 and R5?

opamp-integrator.png

Also the device that produces the square wave also has a ramp wave, maybe this is better route for conversion to triangle?
 
Last edited:
The 741 is a poor choice because of its limited output swing, bandwidth and slew rate. For a fixed input frequency square-wave, R4 and C2 determine the slope of the triangle wave and hence the peak-to-peak amplitude (up to the point where clipping occurs because of the poor performance of the 741).
 
It is a real triangular wave and of course it has some distortion. Nothing is 100% pure in the real world.
I realise there will be distortion but Im talking about an isoceles triangle , my synth already has a ramped wave (which is techincally also triangular) so if this converter is too ramped I dont see the point in using it.
for example this amount of distortion would be more than perfect:
52ocB.png

The 741 is a poor choice because of its limited output swing, bandwidth and slew rate. For a fixed input frequency square-wave, R4 and C2 determine the slope of the triangle wave and hence the peak-to-peak amplitude (up to the point where clipping occurs because of the poor performance of the 741).

I hadnt even noticed the Op Amp they used, I will be using a TL074.
My square wave is not fixed though, will these kind of converters only be suitable for fixed frequency waves ?
 
Last edited:
For a constant amplitude input squarewave, as its frequency increases the output triangle wave amplitude will decrease. This is because the integrator is a constant slew rate circuit.

you don't say what the value of R5 is, but the larger it is, the straighter the triangle sides will be.

ak
 
For a constant amplitude input squarewave, as its frequency increases the output triangle wave amplitude will decrease. This is because the integrator is a constant slew rate circuit.

you don't say what the value of R5 is, but the larger it is, the straighter the triangle sides will be.

ak
any idea how significant the decrease would be?
my synth is LoFi to begin with so if its only slight then I doubt it would pose too much of an issue.
 
Do you have to use a converter to get from a square wave to a triangle wave? If not, a simple CMOS inverter Schmitt trigger oscillator will produce an output similar to that in post # 5, as well as a square wave of the same frequency (but not the same amplitude). The 'triangle' output amplitude would be fixed and independent of the oscillator frequency (unlike the post #1 circuit).
 
Do you have to use a converter to get from a square wave to a triangle wave? If not, a simple CMOS inverter Schmitt trigger oscillator will produce an output similar to that in post # 5, as well as a square wave of the same frequency (but not the same amplitude). The 'triangle' output amplitude would be fixed and independent of the oscillator frequency (unlike the post #1 circuit).
unfortunately yes
Inversely proportional - twice the frequency, half the amplitude.

ak
thanks that was really helpful
 
Top