Friday, 11 January 2019

operational amplifier - Making a Triangle wave on LTSpice using LM741 opamp


I'm trying to get a 1kHz, 15V triangle wave on LTSpice. For that, I'm using the following design:


1


So far, my Square Wave has the desired frequency and amplitude, but my triangle wave has a lower amplitude. How can I correct this so both waves match at +15v and -15v?


I'm using the following specs, sorted out by some formulas but also trying. There are some values that I don't see how affect what I get.




  • Vcc=15v

  • R1=150k

  • C1=3.03361n F

  • R2=R3=100k

  • R4=R5=1k

  • C2=1000n F

  • R6=3k


Thanks a lot for your help.



EDIT: [UPDATED] here's a caption of the actual simulation i'm running on LTSpice:


enter image description here



Answer



There a few problems with your circuit:


1) The second stage will generate an exponential rather than a triangle. 2) The resistor values for feedback on the second stage are much too low - the amplitude may be limited by the output current capability of the 741. You can use something in the range 10k-100k. 3) The actual amplitude of the output will be limited by the opamp. The 741 os a very ancient opamp and is not as good as more modern ones - as Peter mentioned the output cannot get closer than ~2.5v to the rail.


This configuration should give better results:


Triangle Wave generator


It still uses two opamps and only needs one capacitor to set the timing.


The first stage is arranged as a schmitt trigger to detect when the output of the second stage reaches voltages determined by resistors R1 and R2. The second stage is configured as an integrator and will produce a triangular wave with linear slopes.


The square wave output is still determined by the saturation of the opamp as before, an opamp with rail to rail output will get very close to the supply rails.



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...