Maker Pro
Maker Pro

square to triangle waveform

Dave Butler

Aug 17, 2011
2
Joined
Aug 17, 2011
Messages
2
I have a square wave in the frequency range 1 Hz to 25 Hz. What's the best way to convert this to a triangular waveform. I don't need an independent oscillator, I already have the incoming waveform. Thanks!
 

Dave Butler

Aug 17, 2011
2
Joined
Aug 17, 2011
Messages
2
Daddles,

Thanks, this seems to be the only thing on offer. It was my first idea, but I wondered if there was something even simpler. Thanks again.

Dave.
 

alfa88

Dec 1, 2010
349
Joined
Dec 1, 2010
Messages
349
I vote for integrator

It doesn't get much simpler.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Well, it does (get simpler)...

If the oscillator is an RC oscillator, and if the amplitude of the signal on the capacitor is fairly low (so the voltage across the resistor (and therefore the current through it) stays fairly constant, then the voltage on the capacitor will be approximately a triangular wave.

Note that there's lots of IF's there.
 
Top