Author Topic: Summing amp output with an LPF turns the output into a triangle wave.  (Read 694 times)

0 Members and 1 Guest are viewing this topic.

Offline YaminTopic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: mv
Hi guys, I wanted to play around with some passive filter design. I wanted to add two or more sine waves using a summing amp and play around with different passive filter topologies.
I am using a 741 opamp and I have attached a screen shot of my circuit. I'm inputting around 120Hz and 1kHz sine wave and I started with a simple RC LPF, the value I choose for Rs is 100ohms and 1uF capacitor which should result in a corner frequency of around 1.5kHz. With the simulation I am able to play around with the values and am able to filter out the 1k signal.
 But in real life the output looks like a triangle wave when measured on the scope, it is filtering out the 1k signal I know this because when I remove the 120hz signal there is no output.
Any help on this would be greatly appreciated.
 

Offline VinzC

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: be
  • See you later, oscillator.
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #1 on: August 18, 2024, 02:24:51 pm »
The 741 has a terrible slew rate aka 0.5V / µs so you're probably experiencing these effects. Try faster op amps such as TL07x, for instance. You should see significant improvements. Check the datasheet https://www.ti.com/lit/ds/symlink/lm741.pdf for details.

Also note that the minimal slew rate, given an amplitude A and a frequency f is 2πfA, so in your case, with 15V output swing, that gives around 0.15V/µs at 1.5kHz. If your real-life test is worse, then it most probably means your op amp doesn't meet the required specs.
« Last Edit: August 18, 2024, 02:45:05 pm by VinzC »
 
The following users thanked this post: Yamin

Offline Wolfram

  • Frequent Contributor
  • **
  • Posts: 408
  • Country: no
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #2 on: August 18, 2024, 02:37:27 pm »
1kHz at 10 V peak is only 63 V/ms, so slew rate limiting should not be a factor here. Limited output current capability of the 741 could be however. 100 ohm is pretty heavy for a 741 to drive. Try with 1 k + 100 nF or 10 k + 10 nF instead
 
The following users thanked this post: Yamin

Offline VinzC

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: be
  • See you later, oscillator.
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #3 on: August 18, 2024, 03:27:42 pm »
1kHz at 10 V peak is only 63 V/ms, so slew rate limiting should not be a factor here. Limited output current capability of the 741 could be however. 100 ohm is pretty heavy for a 741 to drive. Try with 1 k + 100 nF or 10 k + 10 nF instead
Your explanation makes more sense indeed. At 1kHz, the output capacitor together with the resistor present a 180 ohms load (rough calculation) and the output of the 741 switches to constant current above ~4V. With that said, it would be interesting to see the actual waveform.
« Last Edit: August 19, 2024, 09:05:37 am by VinzC »
 
The following users thanked this post: Yamin

Offline YaminTopic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: mv
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #4 on: August 19, 2024, 03:04:14 pm »
Hey guys, I read the dials on the audio generators wrong |O. I was actually inputting 1.2kHz and 50kHz sine waves. I came to know of this after double checking them on the scope today.
I have attached a photo of the triangle waveform I mentioned, I am still using the 100 ohm resistor and the 1uF capacitor.
I have 3 more follow ups:
1. Why is showing the triangle waveform in this case?
2. How can you calculate the current draw from the opamp output when you've got a capacitor on the output
3. When a load say speaker is connected to listen to the output, would it alter the result if so how to mitigate it?

I didn't get to play around with it today, but setting the audio generators to 120Hz and 1kHz, I was able to filter out the high frequency nicely.
Thanks for the help
 

Offline Sensorcat

  • Regular Contributor
  • *
  • Posts: 115
  • Country: de
  • Independent Sensor Consultant
    • Sensorberatung
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #5 on: August 20, 2024, 12:57:29 am »
I have 3 more follow ups:
1. Why is showing the triangle waveform in this case?
2. How can you calculate the current draw from the opamp output when you've got a capacitor on the output
3. When a load say speaker is connected to listen to the output, would it alter the result if so how to mitigate it?
  • All the standard circuits for OpAmps work with the assumption that the limits of the amplifier used are not exceeded. VinzC and Wolfram have mentioned two of these limits: The slew rate is the maximum speed at which the output of the amplifier can change. There's also a current limit. If you load the amplifier such that more current would be required to provide the desired signal, the amplifier will output the maximum current. And charging a capacitor with constant current creates a triangle waveform.
  • VinzC calculated the impedance of the capacitor @1kHz.
  • Most speakers will have an even lower impedance than the load you use now. There will be a voltage drop in the amplifier that changes the result. Use a different amplifier to drive a speaker.
 
The following users thanked this post: Yamin

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2523
  • Country: gb
  • Recovering Electrical Engineer
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #6 on: August 20, 2024, 04:41:22 pm »
741s only exist because people keep ordering it by accident.
Kinda like doner kebabs.
 
The following users thanked this post: Yamin

Offline ArdWar

  • Frequent Contributor
  • **
  • Posts: 714
  • Country: sc
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #7 on: August 21, 2024, 12:52:53 am »
741s are kept afloat by sale orders from students trying to replicate circuits they see in their never updated textbooks.

Oh, and spare part for legacy equipment.
 
The following users thanked this post: Yamin

Offline VinzC

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: be
  • See you later, oscillator.
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #8 on: August 21, 2024, 05:16:17 pm »
741s only exist because people keep ordering it by accident.
:-DD

3. When a load say speaker is connected to listen to the output, would it alter the result if so how to mitigate it?

I'd add to what Sensorcat said that (most) operational amplifiers are not designed for driving moderately high loads such as speakers (unless explicitly specified). Regardless always refer to the datasheet and check operating parameters.

Short: don't connect a speaker directly to a 741.

Additionally: if you want better quality, there's the NE5532, much better suited to audio. The 741 is crap. Really. Nice one back then but absolutely worthless for audio nowadays.
« Last Edit: August 21, 2024, 05:25:33 pm by VinzC »
 

Offline YaminTopic starter

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: mv
Re: Summing amp output with an LPF turns the output into a triangle wave.
« Reply #9 on: August 24, 2024, 01:59:37 pm »
Thanks everyone for your input.
I wanted to demonstrate the effects of filter so instead of just viewing from the scope I wanted to pass it through some speakers to hear the effect.
The 741 are the opamp in the training boards at college hence why I am using them hehhe.
I'm thinking of having a buffer stage after the filtering stage and pass the audio through to a powered speaker. That shouldn't effect the results right?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf