Voltage Controlled Switch
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

 Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.

 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
 28th December 2010, 03:31 AM #1 CutRock diyAudio Member   Join Date: Dec 2010 Voltage Controlled Switch I'm trying to take up diy audio electronics, and for my first project I'm making a voltage controlled oscillator. As part of my design, I'm trying to incorporate a little switch to control the output so that down the line I can chain multiple oscillators together. Essentially, this is the functionality I'm shooting for: All that's really going on is that if the first input is high, the second input (carrying the audio signal) is let through. If the first input is low, the second input is blocked. It's pretty critical that the signal not be distorted by whatever circuit can achieve this. Also, the +15V is just convenient for the circuit I'm building, it can be easily lowered if that poses a problem. Thanks! Last edited by CutRock; 28th December 2010 at 03:41 AM.
 28th December 2010, 04:58 AM #2 osufishman diyAudio Member   Join Date: Dec 2010 This can be done a variety of ways, relays, fets, bjts, multiplexers, bus switch, push buttons, rotary dials, or gates, etc. Is the switch going to manually activated, voltage activated, or current activated? What voltage and current level do you have available to drive it? If you know that you should be able to pick the one that makes sense in your circuit at the lowest cost. You say you dont want the signal distorted which means you need very low on resistance if using semiconductors to do this. There are signal mosfets with Rds(on) of 1 to 2 ohms that would do they trick. Just apply between 5 and 10V to the gate and it would give you a closed path between source and drain.
 28th December 2010, 10:46 AM #3 markusA   diyAudio Member     Join Date: Dec 2009 Location: Gothenburg Building a switch like that is easy, the hard part is figuring out the demands and later filling them.
 28th December 2010, 01:51 PM #4 CharlieLaub   diyAudio Member   Join Date: Mar 2007 Location: California You could use an LDR to make a voltage divider. An LDR is a four-terminal device that has a current dependent resistance - two terminals are use to supply current (up to 20mA typically) and the other two are the resistor terminals. Assuming that you are using the 15V supply as indicated in your sketch, use a 750 ohm resistor in series with the LDR's current terminals to supply 20 mA current to the LDR when the 15V supply is on. When 20mA is supplied to the LDR, the resistance drops to a few hundred ohms typically. When no current is supplied, the resistance is a few mega ohms. Combine this with another resistor to make a voltage divider - connect the input to the LDR resistance terminals, connect next to the second resistor, then connect that to ground. The output is taken at the junction between the LDR and the grounded resistor. This won't get you exactly an "off" state with 0v output, but you will get close if the grounded resistor has a resistance of a few hundred ohms. You could also just use a N.O. SPST relay, but that wouldn't be as interesting... -Charlie
 30th December 2010, 12:31 AM #5 CutRock diyAudio Member   Join Date: Dec 2010 Thanks for all the replies, I've got a lot of material and possible devices now to start doing some research. I should note that the signal will be an oscillating voltage which will output at audio frequencies and can be discrete (square wave) or continuous (sine). I'm not sure if this will affect any of the suggested solutions.
 2nd January 2011, 07:36 PM #6 bob123   diyAudio Member   Join Date: Jun 2004 Location: Southampton UK What is the required output impedance? There are a number of ways in which this can be done. The simplest is probably an analogue switch such as the ADG712, they are essentially a couple of back to back fets with some logic and will act as a low resistance of a few ohms when turned on and a very high resistance when off. Have you got schematics of the oscillator you want to use is there may be a cheeky trick that could be used. The ADG712 only works to about 5v but im sure there are others that can go higher. If you need the output to be zero volts when off then a pull down resistor can be used and the output can be buffered.
 2nd January 2011, 08:26 PM #7 paulb   diyAudio Member   Join Date: Jun 2001 Location: Calgary A relay is by far the simplest solution.
 2nd January 2011, 09:04 PM #8 benb   diyAudio Member   Join Date: Apr 2010 Also, what would be helpful would be knowing what controls the control/on/off input. For analog switches, there's the venerable and cheap 4016 and 4066, and you can get better performance for more money with parts like these: Selecting the right CMOS analog switch - Maxim If you're interested in making music synthesizers, Google diy synth. There's a lot out there, surely including good ways to do this.
bob123
diyAudio Member

Join Date: Jun 2004
Location: Southampton UK
Quote:
 Originally Posted by paulb A relay is by far the simplest solution.
IMO not true. A relay requires significantly more drive current. It also will require the drive circuit to be protected from back EMF. It is far slower and mechanical yielding a less eloquent solution.

As a design exercise for someone who is less experienced, a relay may be easier to understand and is likely to be more resilient to mistakes providing the drive circuit is protected by placing a diode in reverse bias across the coil.

 3rd January 2011, 07:15 AM #10 markusA   diyAudio Member     Join Date: Dec 2009 Location: Gothenburg Ask yourself if you want a mechanical or electrical switch?

 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 Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Site     Site Announcements     Forum Problems Amplifiers     Solid State     Pass Labs     Tubes / Valves     Chip Amps     Class D     Power Supplies     Headphone Systems Source & Line     Analogue Source     Analog Line Level     Digital Source     Digital Line Level     PC Based Loudspeakers     Multi-Way     Full Range     Subwoofers     Planars & Exotics Live Sound     PA Systems     Instruments and Amps Design & Build     Parts     Equipment & Tools     Construction Tips     Software Tools General Interest     Car Audio     diyAudio.com Articles     Music     Everything Else Member Areas     Introductions     The Lounge     Clubs & Events     In Memoriam The Moving Image Commercial Sector     Swap Meet     Group Buys     The diyAudio Store     Vendor Forums         Vendor's Bazaar         Sonic Craft         Apex Jr         Audio Sector         Acoustic Fun         Chipamp         DIY HiFi Supply         Elekit         Elektor         Mains Cables R Us         Parts Connexion         Planet 10 hifi         Quanghao Audio Design         Siliconray Online Electronics Store         Tubelab     Manufacturers         AKSA         Audio Poutine         Musicaltech         Aussie Amplifiers         CSS         exaDevices         Feastrex         GedLee         Head 'n' HiFi - Walter         Heatsink USA         miniDSP         SITO Audio         Twin Audio         Twisted Pear         Wild Burro Audio

 Similar Threads Thread Thread Starter Forum Replies Last Post akis Solid State 9 22nd October 2015 06:57 AM Spasticteapot Parts 3 7th January 2010 11:59 PM JRace Everything Else 10 20th July 2007 03:39 PM DJ Exprice Chip Amps 0 7th December 2006 02:26 AM brainsalad Solid State 1 18th November 2006 02:34 PM

 New To Site? Need Help?

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