Author Topic: Why is my opamp diff -> single ended circuit clipping?  (Read 798 times)

0 Members and 1 Guest are viewing this topic.

Offline ve7xenTopic starter

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
    • VE7XEN Blog
Why is my opamp diff -> single ended circuit clipping?
« on: January 25, 2022, 09:46:30 am »
I've built the below circuit as part of an audio DAC output.

In simulation it operates as expected, generating a clean output from the differential input. However in the actual built circuit, something goes wrong and it seems unable to swing below -1V. I've quintuple checked that the -12V supply is working as expected, and removed R21/22 and verified the DAC output is clean to that point. I thought perhaps the DAC outputs were getting pulled away from their DC bias and getting clamped there, but they seem fine and well above ground. The opamp is also behaving as expected here, both inputs are at identical potential and match the output. Note that R28 is not in circuit, so the mute circuit isn't in play. Not sure what I am missing here, probably something dumb that I will see a few minutes after posting here, but I'd appreciate some help!

Edit: Okay so inline attachments don't work...
« Last Edit: January 25, 2022, 09:48:25 am by ve7xen »
73 de VE7XEN
He/Him
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7909
  • Country: nl
  • Current job: ATEX product design
Re: Why is my opamp diff -> single ended circuit clipping?
« Reply #1 on: January 25, 2022, 10:08:31 am »
My 2 cents: Your DAC has single supply. Probably it cannot sink the same amount of current as source.
Or do you have a current output DAC or a voltage output DAC? If it is current output, it might be worth to add an I/V stage on the output. Check the datasheet of PCM1794 to see what I'm talking about.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7184
  • Country: pl
Re: Why is my opamp diff -> single ended circuit clipping?
« Reply #2 on: January 25, 2022, 12:38:45 pm »
Yes, this circuit loads DAC_LN on negative peaks more than it loads DAC_LP on positive peaks.

It seems unlikely that the DAC outputs are correct AND the opamps inputs are equal during clipping events, whatever causes them.

The other culprit could be the mute circuit (I think it could only work right if base drive is high impedance even below ground) but you supposedly disconnected it.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15290
  • Country: fr
Re: Why is my opamp diff -> single ended circuit clipping?
« Reply #3 on: January 25, 2022, 06:08:08 pm »
What is the DAC?
 

Offline ve7xenTopic starter

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
    • VE7XEN Blog
Re: Why is my opamp diff -> single ended circuit clipping?
« Reply #4 on: January 26, 2022, 02:38:08 am »
Quote
My 2 cents: Your DAC has single supply. Probably it cannot sink the same amount of current as source.
Hm, I think you may be on to something, it can probably only source current. I'd have thought this could only happen on the high side of the output though when the output voltage is above the DAC output (which is the opposite of what I'm seeing). I will see if I can measure if this is happening.

It seems unlikely that the DAC outputs are correct AND the opamps inputs are equal during clipping events, whatever causes them.
Sorry I didn't mean that the DAC outputs are correct. When the opamp circuit is connected, the distortion goes right back to the DAC outputs (CH2 trace in the scope shot is the DAC_LP). Just that the opamp seems to be doing what it's supposed to with the distorted signals.

Quote
The other culprit could be the mute circuit (I think it could only work right if base drive is high impedance even below ground) but you supposedly disconnected it.

It should be out of the circuit since I removed R28 but I will remove the rest of the components just to be sure...that was my first thought too. I'm pretty sure this won't work, it was a bit of an afterthought copied from the evaluation board.

Quote
What is the DAC?

It is CS42526. It's a voltage output DAC with specified 150R output impedance.

Really not very good at these analog circuits, thanks for the comments!
« Last Edit: January 26, 2022, 02:41:55 am by ve7xen »
73 de VE7XEN
He/Him
 

Offline ve7xenTopic starter

  • Super Contributor
  • ***
  • Posts: 1194
  • Country: ca
    • VE7XEN Blog
Re: Why is my opamp diff -> single ended circuit clipping?
« Reply #5 on: January 26, 2022, 03:10:04 am »
Seems like it may just be a loading problem, as suggested. The flat-topping happens when the DAC_LN is asked to source more than 2mA. Increasing the R15/16 to 2.4k (obviously other components will need to be scaled as well...) seems to have solved the problem.

Thanks!
73 de VE7XEN
He/Him
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf