Author Topic: Sagging square wave output from non-inverting opamp  (Read 1033 times)

0 Members and 1 Guest are viewing this topic.

Offline level6Topic starter

  • Regular Contributor
  • *
  • Posts: 79
  • Country: us
Sagging square wave output from non-inverting opamp
« on: December 19, 2019, 08:39:42 pm »
I'm working on a device that generates low frequency triangle and square waves. The final output is amplified by a non-inverting opamp circuit with a gain of about 5. The problem I'm having is the square wave output is not symmetrical, it sags toward zero at both the positive and negative pole. The input into the opamp looks fine, as illustrated by the screen capture from my scope. Yellow is the output, blue the input into the output circuit.

What would be causing this and how can I remedy it? BTW the triangle output is fine.

Schematic of output circuit attached.

« Last Edit: December 19, 2019, 08:47:44 pm by level6 »
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16644
  • Country: us
  • DavidH
Re: Sagging square wave output from non-inverting opamp
« Reply #1 on: December 19, 2019, 09:02:46 pm »
The input does not look square to me.  The gain multiplies the amplitude but also the slope.
 

Offline level6Topic starter

  • Regular Contributor
  • *
  • Posts: 79
  • Country: us
Re: Sagging square wave output from non-inverting opamp
« Reply #2 on: December 19, 2019, 09:22:13 pm »
The input does not look square to me.  The gain multiplies the amplitude but also the slope.

You're right. I went back and zoomed in on the input and see that it is just reliably amplifying the input. The input is coming off a voltage divider. That may have something to do with it. More research...
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Sagging square wave output from non-inverting opamp
« Reply #3 on: December 19, 2019, 10:14:07 pm »
Is the square wave shape good when it's not connected to the 100k, just as a check of the square and scope.

Are the +/- supplies to the TL074 good.
.  That took much longer than I thought it would.
 

Offline level6Topic starter

  • Regular Contributor
  • *
  • Posts: 79
  • Country: us
Re: Sagging square wave output from non-inverting opamp
« Reply #4 on: December 20, 2019, 03:53:51 am »
Is the square wave shape good when it's not connected to the 100k, just as a check of the square and scope.

Are the +/- supplies to the TL074 good.
Power supply is fine, it's from my bench supply. I'm going to look into eliminating interaction with other parts and see if that changes thing for the better.
 

Offline Ash

  • Regular Contributor
  • *
  • Posts: 161
  • Country: au
Re: Sagging square wave output from non-inverting opamp
« Reply #5 on: December 20, 2019, 04:02:13 am »
Does the output jack _really_ short the output to ground when no plug is connected as shown on the schematic? That's probably not a good idea either...

Ash.
 

Offline level6Topic starter

  • Regular Contributor
  • *
  • Posts: 79
  • Country: us
Re: Sagging square wave output from non-inverting opamp
« Reply #6 on: December 20, 2019, 04:38:14 pm »
Does the output jack _really_ short the output to ground when no plug is connected as shown on the schematic? That's probably not a good idea either...

Ash.

Woops! Thanks for pointing that out. Right now I'm working with a prototype on perfboard and I didn't implement that short. I will certainly change that in the design!
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: Sagging square wave output from non-inverting opamp
« Reply #7 on: December 20, 2019, 05:15:54 pm »
Given the thickness of those traces I suggest that you crank the oscilloscope timebase way up and see what's going on there. I would not be surprised to see that those thick traces are actually oscillation or ringing on the 100mV+ order of amplitude.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf