|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
|
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 |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Nov 2009
|
Hi everybody, first post here!
I'm currently designing a quad linked VCA compressor for my final year project at university, and I've hit a bit of trouble with the AC rectification for the control voltage. The control voltage signal so far consists of a full wave precision amplifier and a low pass sallen-key filter with Fc of 20Hz & gain of 1.6. The aim of this is obviously to remove the audio component of the input signal. This setup gives a perfectly smooth RMS DC voltage at 1kHz, however as the frequency of the input increases a problem occurs with the rectifier and I have no clue what is causing it. As the frequency increases the rectifier stops working and I am seeing very large negative pulses resulting in DC offset after my filter. However, this problem only started happening after adding the S-K filter on the end of the rectifier. I have no idea how I am getting these large negative spikes from the rectifier (-6V for a 2Vp-p input!) so any help whatsoever would be great. My knowledge of the whole system is quite limited so its likely that I'm missing something very obvious! |
|
|
|
|
#2 |
|
diyAudio Moderator
Join Date: Oct 2007
Location: Santa Cruz, California
|
The precision rectifier works fine until you load it with the LP filter?
Can you post the schematic? Is something exceeding the voltage rails? |
|
|
|
|
#3 |
|
diyAudio Member
Join Date: Nov 2009
|
Ok, I've got some screenshots to help explain the problem a little better. Here is the schematic of the circuit, with reference points V1 (input) and V2 (output) for the following simulations:
http://i6.photobucket.com/albums/y24.../schematic.jpg Simulation for 1Vp-p at 1kHz: http://i6.photobucket.com/albums/y24.../rectifier.jpg Simulation for 1Vp-p at 15kHz: http://i6.photobucket.com/albums/y24...krectified.jpg The only thing changing between the 2 simulations is the frequency of the input voltage! Thanks |
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Nov 2009
|
I've just tried with the LP filter disconnected and I'm still getting the problem - so it must have been there all along. I've got some screenshots of the schematic and the simulations below.
Schematic (reference points V1 and V2 correspond to the simulations) ![]() Simulation for 1Vp-p at 1kHz: ![]() Simulation for 1Vp-p at 15kHz: ![]() The only thing that is different between these 2 simulations is the frequency of the input. It's also worth mentioning that the negative spikes get greater in amplitude with frequency, e.g. 20kHz will have an even greater negative spike. Thanks! |
|
|
|
|
#5 |
|
diyAudio Moderator
Join Date: Oct 2007
Location: Santa Cruz, California
|
Looks like a simulator burp to me. Are your time increments appropriate?
What op-amp model are you using? |
|
|
|
|
#6 |
|
diyAudio Member
Join Date: Nov 2009
|
Sorry about the double post, I didn't realise replies were moderated!
I've had a go deleting all of the nodes in the schematic layout and rewiring it all, and the problem is solved! It seems as though I deleted a component or connection somewhere but left the net intact. However, now I have the DC voltage a new problem has popped up! The capacitor is charging to the RMS value of the input as I would like it too, but it then drops by a few mV before levelling off. Is this just the nature of the circuit or is there a way I can keep it at constant RMS value? Here's a simulation to show what's happening: 1.747Vp-p/1.2VRMS (+4dBu line level) @ 1kHz ![]() I have a feeling this may be something to do with the 12k feedback resistor in the filter. I was told earlier by my lecturer that a gain of 1.6 from the LP filter will improve the accuracy of the cutoff and give a flatter DC voltage. I have a feeling that this resistor is configured wrongly though as changing the value does nothing to my output voltage! Also, is the initial charge time for the capacitor too long? 50ms is obviously a significant amount of time in a compressor circuit. It's a TL074 op-amp chip by the way. Last edited by dan_thompson87; 25th November 2009 at 08:56 PM. |
|
|
|
|
#7 |
|
diyAudio Member
Join Date: Sep 2006
|
A/ In the case of a TL074, the 12K is useless
B/ The overshoot is caused by a too high Q; try C values closer to their geometric average (~1µF) C/ This rectifier reacts to the mean value of the waveform, not the rms D/ Reducing the rise time can be achieved by increasing the order of the filter (for a given amount of ripple). |
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Jan 2006
Location: Johannesburg, South Africa
|
As LV said, your circuit is not computing the RMS value.
It computes the absolute average, which may be gain trimmed to equal the RMS value ON A SINEWAVE. But it isn't RMS; give it a non-sinusoidal signal and it will get a value different from the RMS value.
__________________
Steerpike's Toybox |
|
|
|
|
#9 |
|
diyAudio Member
Join Date: Nov 2009
|
Thanks for the responses, they're a big help.
Everything Elvee said made sense to me - I'm going to have a go at tweaking the cap values to give a better Q, as well as trying the next order filter. Can someone please explain to me why the feedback resistor makes no difference on the TL074 please? Would it be better to pick a different chip where it will make a difference, or exclude it altogether? Sorry if my questions seem trivial - I only have basic knowledge of how these circuits work and I'm in the process or learning at the moment. That's the idea of a dissertation right? |
|
|
|
|
#10 | |
|
diyAudio Member
Join Date: Jan 2006
Location: Johannesburg, South Africa
|
Quote:
Any resistor there will behave much like a wire link, unless you start using a value that starts approaching the amp input impedance - but that will cause other problems, like noise pickup, & offset voltage effects. With 12k there, IF you put another resistor from the (-) input to ground, then you'd have voltage divider action going on in the feedback path, which would alter the filter gain.
__________________
Steerpike's Toybox |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Full wave or half wave rectification help! | HaLo6 | Digital Line Level | 1 | 26th March 2009 01:14 AM |
| Full wave vs full wave bridge rectifier | jeff mai | Parts | 31 | 11th February 2005 11:43 PM |
| New To Site? | Need Help? |
| Page generated in 0.11370 seconds (81.65% PHP - 18.35% MySQL) with 10 queries |