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 16th October 2010, 07:59 PM   #1
akis is offline akis  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
Default Voltage controlled resistor

Hello

I am looking for a voltage controlled resistor, with floating terminals, so that I may experiment with building a compressor circuit. Of course I could walk to the shop, pay 70-150 pounds and buy the best compressor guitar pedal, but where's the fun in doing that.

Being it that I am trying to string the circuit together with a couple of transistors, I am looking for something equally simple. For example NOT an LM13700, or other IC which does the job (I might as well go buy the ready made pedal then).

So my theory is rectify the input signal, similar to a peak detector, then use it to control a voltage controlled resistor which is placed strategically somewhere in a feedback loop, or maybe shunt a RE or RC.

I have experimented with using an FET and while it works, it provides very little control and is not flexible, in that it only works under a strict set of circumstances, anything else and it fails (lots of distortion etc). The FET is great for on-off, but the bits in between are very hard to control properly, it even distorts on one side of the waveform.

So I am looking for something else. I have not tried the LED-->opto-thingy yet, but what I am looking for is some simple technique involving standard parts.

I have also looked at some circuits but many are extremely complicated, it is like looking at (CPU) code which works by side-effect (for example using an "ADD" instruction not for "adding" but because "ADD" happens to do something to some flag somewhere, this sort of thing).

So to repeat my approach is simple: rectify the input signal (this is easy), get some voltage with controllable attack and decay (also easy) and then try to use this voltage in a creative way so that over a threshold it starts to attenuate the input signal.

Any ideas welcome.
  Reply With Quote
Old 16th October 2010, 08:43 PM   #2
diyAudio Member
 
DCPreamp's Avatar
 
Join Date: Jun 2005
Location: Sacramento, CA
Look at the 11F1 photo-FET opto-isolater. It's a 6-pin variable (basically) resistor ideally suited for this app. Use a comparitor to compare the input signal to a reference voltage and trigger the FET to attenuate gain limiting amplitude.

Paul
__________________
"Believers cling to the myth despite the evidence, reinterpret the myth to suit the evidence, or lie about the evidence to support the myth." "To err is human; to blame errors on external factors is even more so."
  Reply With Quote
Old 16th October 2010, 09:32 PM   #3
gootee is offline gootee  United States
diyAudio Member
 
Join Date: Nov 2006
Location: Indiana
Blog Entries: 1
akis,

There are only two or three "low-level" ways that I found, which are: the FET, the Vactrol-type LED-->photosensitive resistor, and maybe the digital potentiometers. I always ended up using the Vactrols. But they are non-linear in their response so you would need a feedback control loop.

Regarding the "peak detector" part, what you would want is called an "envelope detector". A true peak detector's output never goes back downward, unless reset. An envelope detector includes a resistance in parallel with the capacitor that stores the peak voltage, so that the detector can also follow downward-trending amplitudes. The trick is in choosing the C and R values that will follow the range of envelope frequencies fast enough and well enough, but not so fast that the underlying signal produces artifacts in the output. [For cases where a very fast and fast-settling response was required over a relatively large range of frequencies, I have had to use a variable (voltage-controlled) resistance in parallel with the detector's capacitor.]

You would probably also want to use an "ideal diode" type of rectifier circuit, so your circuit could detect all the way to zero volts, instead of having to stay a diode drop away from zero. You might actually want to full-wave rectify (instead of half-wave) and then take the absolute value, so you'd be working with both the positive and negative peaks. In that case, too, you'd probably want to use an opamp/diodes "ideal rectifier" circuit. See the AN-20 and AN-31 Application Notes, from http://www.national.com, along with others, for basic opamp circuits. And there are also several pretty-good "envelope detector" circuits available on the web, findable through Google searches.

LTspice is very nice for simulating circuits like this, since it also allows you to use WAV files as inputs (and outputs). It's a free download from Linear Technology - Linear Home Page .

Cheers,

Tom Gootee
  Reply With Quote
Old 17th October 2010, 07:16 AM   #4
diyAudio Member
 
Join Date: Jun 2005
Location: Zürich
Quote:
I have experimented with using an FET and while it works, it provides very little control and is not flexible, in that it only works under a strict set of circumstances, anything else and it fails (lots of distortion etc). The FET is great for on-off, but the bits in between are very hard to control properly, it even distorts on one side of the waveform.
There is a lot of literature showing how to properly implement a VCR with JFETs. There is a basic linearisation technique (feed half the drain voltage to the gate) which must be applied for reasonably linear operation; also the proper parts choice is important--you want high Vp (e.g. a J111).

More advanced techniques include bootstrapping to further increase linearity (at the cost of noise) and the design of a fully floating VCR.

The opto-resistor approach however is surely easier to understand and implement.

Samuel
  Reply With Quote
Old 17th October 2010, 07:25 AM   #5
akis is offline akis  United Kingdom
diyAudio Member
 
Join Date: Jul 2008
Hi,

That is what I meant, I have a pot in series to the reservoir cap (attack) and one in parallel (decay), but the following circuitry also has its own demands on the cap, so it discharges easily. Once in full operation i will tinker with the various R/C constants.

The input signal is amplified, then rectified, and then buffered by a transistor - so the outpout voltage fluctuates between X and (X+d). This (X+d) range will form my "control vlotage" with which to limit the gain of an unrelated stage to effect a compressor. If I want to increase d then I can increase the gain of the amplifier or vice versa. I can control the "attack" and the "decay" with pots.

I have ordered some light sensitive resistors, I will tinker with those and see what happens.

*******

The big problem I have had with the FET is that at a point half-way in its range it is affected badly by the variation of voltages between D and S, regardless of what's on the gate. A resistor would present same resistance, regardless the voltage across it. I have played with a number of variations of US5175508, basically using a FET in the feedback loop, but surrounding it with a resistor network to control the min/max gain.

I have also tried a bridge in the feedback loop (I copied a schematic from somewhere), and had similar issues as with the FET.

********

In the attached circuits I have used op-amps but for the final circuit they will be replaced by discreet components, so in the end there should only be a handful of transistors in the whole circuit.
Attached Images
File Type: jpg signal-detector.jpg (66.0 KB, 97 views)
File Type: jpg VCA.jpg (40.3 KB, 100 views)
  Reply With Quote
Old 17th October 2010, 08:24 AM   #6
diyAudio Member
 
Join Date: Jun 2005
Location: Zürich
Quote:
The big problem I have had with the FET is that at a point half-way in its range it is affected badly by the variation of voltages between D and S, regardless of what's on the gate.
As I said: you need a JFET with high Vp. 2N5116 is a poor choice. And then you should minimise voltage swing across the JFET--attenuate signal before it, amplify afterwards. Or use a bootstrapping technique. Both approaches increase noise, nothing to be done about that. There's a reason why people started to design complicated and expensive VCAs based on bipolar translinear gain cells.

Samuel
  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
Voltage Controlled Resistor (VCR) in PSPICE student rtarbell Software Tools 2 29th January 2010 01:25 PM
voltage/current controlled amplifiers? Spasticteapot Parts 3 7th January 2010 11:59 PM
A good digitally controlled resistor pot AKSA Solid State 62 11th June 2008 12:40 PM
Relay Switch Controlled Bleeder Resistor DJ Exprice Chip Amps 0 7th December 2006 02:26 AM
Voltage controlled filter with tubes ?? jim Tubes / Valves 3 28th September 2005 10:18 PM


New To Site? Need Help?

All times are GMT. The time now is 03:48 PM.

Page generated in 0.11924 seconds (80.46% PHP - 19.54% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio