Maker Pro
Maker Pro

Make triangular wave using 555 timer

spider_dula

Nov 17, 2011
4
Joined
Nov 17, 2011
Messages
4
Is there a direct way of getting a triangular waveform from a 555 timer.
The method I know is to generate a square wave using the 555 timer and converting it to triangular waveform using an integrator or a low pass filter.

But I just want to know if I can directly get a triangular wave from from the 555 timer just like how we get a square wave from it.
 

duke37

Jan 9, 2011
5,364
Joined
Jan 9, 2011
Messages
5,364
There will be a triangular or perhaps sawtooth waveform on the capacitor in a 555 timer. Any loading of this signal will upset the oscillator, an integrator on the low impedance output would be preferred.
 

davenn

Moderator
Sep 5, 2009
14,260
Joined
Sep 5, 2009
Messages
14,260
Yup thats true Duke :)

hence an easier way is probably just to use a couple of op-amps like this cct.
use a couple of 741's or say a dual opamp like a LM358

attachment.php



The first Op-Amp is the oscillator, the second Op-Amp is the intergrator

cheers
Dave
 

Attachments

  • Triangle Osc.GIF
    Triangle Osc.GIF
    3.9 KB · Views: 28,430

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
To directly get a triangular wave from a 555 you would need to monitor the charge on the capacitor.

The problem is, this capacitor is charged by a resistor and hence the rate of charge decreases as the capacitor charges. This leads to a waveform that is not quite triangular.

In order to get a straight line, the capacitor needs to be charged and discharged via a constant current source.

Using a normal 555 oscilator circuit this isn't easily possible.

One option is to use "constant current diodes" placed back to back (these are essentially jfets with the drain tied to the source) in the charge and discharge path. Again this is tricky with a normal 555 circuit, so I would opt for the variation where the output is used to control charging and discharging.

As mentioned earlier the output is high impedance and would need to be buffered in most cases.

In addition, because the current is programmed by the constant current devices, it is tricky to change the current. Thus changing the frequency is most easily done by changing the capacitor. Also the constant current diodes are often not tightly matched and their current will vary with temperature. Thus the exact rise and fall rate will vary (and with it, the frequency).

This isn't a great solution, but it is one which uses (mostly) just a 555.

Here is a circuit which uses a pair of variable constant current sources to do what you ask (but it's quite a bit more complex than just a 555).

When I look at the various options, Davenn's solution is better than shoe-horning a 555 into something.
 
Last edited:

erayurtseven

May 17, 2013
21
Joined
May 17, 2013
Messages
21
triangular wave generator

Hi,Davenn . Is your circuit suitable for high frequency ? About 10-20kHz
 

BobK

Jan 5, 2010
7,682
Joined
Jan 5, 2010
Messages
7,682
That depends on the opamp you use.

Bob
 

CDRIVE

Hauling 10' pipe on a Trek Shift3
May 8, 2012
4,960
Joined
May 8, 2012
Messages
4,960
attachment.php



The first Op-Amp is the oscillator, the second Op-Amp is the intergrator

cheers
Dave

Hey Dave, I looked at your schematic, then your statement and thought .. "Shouldn't that be the first and second OpAmp forms the Osc but the second OpAmp alone forms the integrator"? ....Then I saw the positive feedback on OpAmp1 and thought .... "Gee! Sure glad I didn't post that"! :D :p

Chris

Edit: Hey after looking at it again 'C' is located in OpAmp2, I think I was right the first time! ;)
 
Last edited:
Top