Go Back   Home > Forums > Amplifiers > Solid State
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 28th March 2010, 08:09 PM   #1
diyAudio Member
 
Join Date: Nov 2009
Default Block negative DC

Hi people,

As some of you may know I'm currently designing a compressor for my final year project at university. I currently have everything designed and tested on a breadboard. It all works perfectly however there is one quick fix I used that needs sorting before I can design the PCB.

The threshold control is simply an op amp in differential configuration. The threshold is controlled via a pot to give a fixed value which is then subtracted from the audio in. This leaves me with the amount of voltage that has crossed the threshold.

The problem I have is that as the op amp is dual DC powered - if the audio is below the level of the threshold I get a negative output voltage. This is undesirable as my design requires any audio below the threshold to give an output of 0V. The 'quick fix' around this that was used for testing was to put a diode on the output of the op amp. When the audio is below the threshold, the negative voltage is blocked by the diode. When it is above, the voltage drop across the diode is added back via another pot on a summing amplifier

The problem is that obviously the voltage drop across the diode varies for different input levels. Is there a circuit I can implement to make up for the varying voltage drop, or is there another way of blocking the negative voltage from the output?

Cheers
  Reply With Quote
Old 28th March 2010, 08:24 PM   #2
AndrewT is online now AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
maybe this needs a precision rectifier. An opamp with diodes in the feedback that converts small signal AC to rectified AC ready to be peak sampled or otherwise modified.
__________________
regards Andrew T.
  Reply With Quote
Old 28th March 2010, 08:40 PM   #3
Banned
 
Join Date: Jan 2008
Blog Entries: 2
Quote:
Originally Posted by dan_thompson87 View Post
is there another way of blocking the negative voltage from the output?
Put the output through a unity-gain follower with a single supply rail.

No, thinking about it you can't exceed the rails on the input.

Andrew is right, a half-wave precision rectifier...

w

Last edited by wakibaki; 28th March 2010 at 08:46 PM. Reason: Second thoughts...
  Reply With Quote
Old 28th March 2010, 08:54 PM   #4
diyAudio Member
 
Join Date: Nov 2009
Quote:
Originally Posted by AndrewT View Post
maybe this needs a precision rectifier. An opamp with diodes in the feedback that converts small signal AC to rectified AC ready to be peak sampled or otherwise modified.
The signal begins with a precision rectifier that does as you've suggested. All of the signal being dealt with is positive up until the subtracting amplifier. Here's an example.

The threshold voltage is subtracted from the signal in:

If signal in = 2V and threshold = 1V then the output of the opamp is:

2 - 1 = 1V


If signal in = 1V and the threshold = 2V, then the output is:

1 - 2 = -1V

As you can see, any signal below the threshold will result in a negative voltage. However, in order for the compressor to work these negative voltages must somehow be blocked, or converted to 0V.

I hope this clears the question up!

Last edited by dan_thompson87; 28th March 2010 at 08:58 PM.
  Reply With Quote
Old 28th March 2010, 09:03 PM   #5
diyAudio Member
 
Join Date: Nov 2009
Quote:
Originally Posted by wakibaki View Post
Put the output through a unity-gain follower with a single supply rail.

No, thinking about it you can't exceed the rails on the input.

Andrew is right, a half-wave precision rectifier...

w
Sorry, Andrew WAS right. I foolishly read his answer and thought of a full wave rectifier. I hadn't thought about using a half wave to block the negative! Such a simple solution too...

Thanks guys!

Last edited by dan_thompson87; 28th March 2010 at 09:07 PM.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
we can offer power module of DC/DC Converter & AC/DC Adapter auling Vendor's Bazaar 0 12th May 2009 03:48 AM
Soundcraftsmen Amp Negative Volt Reading DC-Offset wingzam Solid State 17 4th December 2008 10:14 PM
DC block before or after power amp? slothlove Parts 2 9th August 2008 11:18 AM
Combined PFC AC/DC & DC/DC SMPS ChocoHolic Power Supplies 33 22nd December 2005 10:04 PM
New amp on a block Peter Daniel Pass Labs 17 2nd May 2002 05:19 AM


New To Site? Need Help?

All times are GMT. The time now is 07:56 PM.

Page generated in 0.07986 seconds (83.91% PHP - 16.09% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio