Author Topic: Analog switch pop, click problems  (Read 6310 times)

0 Members and 1 Guest are viewing this topic.

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Analog switch pop, click problems
« on: May 14, 2016, 11:03:50 am »
 >:( Hi. I am having problems with the Analog Devices ADG5434BRUZ Analog Switch. No matter what i do I can not eliminate popping in the audio. I have have tried all kinds of tricks but nothing works. All types of coupling capacitors, various values, rampping up the logic input voltage, all kinds of grounding schemes and nothing seems to work. Are these switches notorious for this kind of thing. Data sheet does say it can be used for audio. I am missing something fundamental but can't seem to put my finger on it. Getting so frustrated that I am considering using relays again. i prefer the analog switch due to its size, low mass and immunity to vibration. Any Ideas... :-//
Plate voltage is for men, TTL is for babies.
 

Offline Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3338
  • Country: ca
  • Place text here.
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 
The following users thanked this post: retrotubeguy

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Analog switch pop, click problems
« Reply #2 on: May 14, 2016, 11:25:35 am »
The AD switch is a break before make switch, so for a short period of
time the output becomes floating and if you are feeding a low Z load
that will discharge the input to the next signal block in your signal
chain. If the load is high Z then when switch open then it becomes
subject to stray signal pickup.

Its also speced for charge injection. You might examine the the load
effects of that.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #3 on: May 16, 2016, 08:02:55 am »
I understand that it is break before make. I tried to connect multiple switches in a make before brake  fashion controlled by a micro controller but same problem exists and there is also the problem that for some reason I get digital noise passing thru the dam thing. This could just be the bread board or jumper wires I guess. Made it up on strip board and still had this problem though. Maybe if I find an 12C or Spi IC and use a digital isolator. I should possibly try one of the maxim devices with this setup. I am reluctant to try the maxim click less switches as they are a claiming a reduced switch noise not total silence, I would like to avoid buying lots of experimental chips that will just sit in my junk bin. The analog devices stuff is not cheap but if it worked the way I had planed then I guess it is well priced. If anyone has any suggestions or experience with these devices used in audio I would be keen to see how it could or should be done. Signal relays or opto couplers are  a last resort. I have considered the vactrol opto isolators which are basicly an LED and an LDR, not sure how analog switches compare as far as distortion goes. I have not detected any audible or significant distortion with the ADG5434 providing it is set up correctly with adequate power rails etc.
Thanks for your valuable time. I do appreciate that it takes time to formulate answers to some of these questions. |O
« Last Edit: May 16, 2016, 08:08:47 am by retrotubeguy »
Plate voltage is for men, TTL is for babies.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19511
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Analog switch pop, click problems
« Reply #4 on: May 16, 2016, 10:28:09 am »
What reason do you have for believing that optoisolators might help?

What is the voltage on the two inputs at the instant of switching? If one happens to be +2.453V and the other -3.6328V then there is a 6V transition which will be audible as a click.

What is the DC offset on any of the voltages? If any, then that may be audible as a click, depending on where the voltage is.

What is the charge "left in" a coupling capacitor when it was disconnected? That may cause a current to flow when next switched into the circuit.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #5 on: May 16, 2016, 11:06:25 pm »
I have virtually no DC offset. I have coupling caps with resistors to discharge them I cant seem to measure anything significant not sure of the voltage as I have pulled the circuit down and need to rebuild it to measure this. I understand what you are saying but even if connected directly to a guitar pickup then to an amplifier it still pops. Is it the IC itself possibly generating some DC. I have never used these switches before so I may not understand the device entirely but it seems simple enough. The opto isolator idea was considered if using SPI or I2c Just as a precaution, offcourse I have not tested the IC with or with out them. It is just an assumption at this point that there may be some benefit. :-BROKE
Plate voltage is for men, TTL is for babies.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19511
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Analog switch pop, click problems
« Reply #6 on: May 16, 2016, 11:32:01 pm »
Have you ensured a good separation between the analogue and digital sections of the circuit? When voltages and currents change, they induce voltages and currents in the conductor and neighbouring conductors.

There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online Buriedcode

  • Super Contributor
  • ***
  • Posts: 1612
  • Country: gb
Re: Analog switch pop, click problems
« Reply #7 on: May 16, 2016, 11:35:34 pm »
Have you tested this on its own?  It could be charge injection when you're turning on the switch. 

A method I used a while back for a stompbox controller with analogue switches was to use an SPST analogue switch to switch the output (or 'input' to the system) to ground just before changing the analogue switch used for selection, then releasing the other. I didn't do this for pop/click suppression, it was for crosstalk (using cheap HC series analogue multiplexers) but I had no pops.

This app note might help:
https://www.fairchildsemi.com/application-notes/AN/AN-6044.pdf
 

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: Analog switch pop, click problems
« Reply #8 on: May 17, 2016, 10:04:02 am »
Charge injection would be my guess, but too sudden switching will always have the potential to click simply due to the potential step change in output. 
Doug Self shows some ideas in his book on small signal audio using a couple of jfets per input and ramping the control voltages to provide a smooth transition.

Regards, Dan.
 

Offline nfmax

  • Super Contributor
  • ***
  • Posts: 1561
  • Country: gb
Re: Analog switch pop, click problems
« Reply #9 on: May 17, 2016, 10:13:57 am »
First check - do you still get pops & clicks when switching between silent audio sources (driven, not floating)? If so, it's almost certainly charge injection. This is probably from the switching device itself, but it just might be capacitive coupling from the logic control line. One trick I have used in the past is to implement the switching at a virtual earth point, so that the voltages on the switch terminals do not change. You need two switches, one normally open and one normally closed. Arrange these so that the input signal is routed, via a resistor, either to the virtual earth input of an inverting OPAMP stage, or to real earth (the switches go at the 'earthy' end of the input resistor).
 

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #10 on: May 19, 2016, 07:49:02 am »
Some Stuff to mull over here. I have tested the Analog switch on its  own simply connecting a DC voltage to the logic pin with no audio present but connected , not floating. Still pops. Terminated all unused switches and logic inputs still pops. I think your right about the charge injection. Is there any way to overcome this. the data sheet is not very helpful. I don't think this is the best choice for this application. I think I may need to find another way. Even relays will pop unless switched at zero crossing, not as bad though at lower frequencies they still cause a fairly loud pop. I will need to investigate the suggestions that you have provided.
« Last Edit: May 19, 2016, 10:17:56 am by retrotubeguy »
Plate voltage is for men, TTL is for babies.
 

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: Analog switch pop, click problems
« Reply #11 on: May 19, 2016, 04:11:43 pm »
Self has a whole chapter on ways to do this, well worth the time.

Regards, Dan.
 
The following users thanked this post: retrotubeguy

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #12 on: May 20, 2016, 07:02:37 am »
What / Who is self. Do you have a link or source. Or do you men yourself ? :-//
Plate voltage is for men, TTL is for babies.
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Analog switch pop, click problems
« Reply #13 on: May 20, 2016, 07:10:05 am »
I think he means Douglas Self, an audio guy:

http://www.douglas-self.com/

Regards,
Janne
 
The following users thanked this post: retrotubeguy

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: Analog switch pop, click problems
« Reply #14 on: May 20, 2016, 12:13:06 pm »
Yep, specifically this http://www.douglas-self.com/ampins/books/ssad2.htm book, chapter 21.

I had assumed that Doug Self was well enough known in the audio world to not need an intro.

Regards, Dan.
 
The following users thanked this post: retrotubeguy

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26907
  • Country: nl
    • NCT Developments
Re: Analog switch pop, click problems
« Reply #15 on: May 20, 2016, 03:35:24 pm »
Rule number one when switching analog audio: make sure the DC level on both sides of the switch is equal.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 
The following users thanked this post: retrotubeguy

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #16 on: May 21, 2016, 04:29:55 pm »
Thanks, I know the rule but it does not appear to be what is happening. I followed the link to the self site and I am going to be missing in action while I drool over the the thing for a while. All I can say is Ahwauuuuuwwwwwwwwww,drip,drip drip, pick up jaw. :'(

http://www.thefreedictionary.com/drool
Plate voltage is for men, TTL is for babies.
 

Offline Raj

  • Frequent Contributor
  • **
  • Posts: 694
  • Country: in
  • Self taught, experimenter, noob(ish)
Re: Analog switch pop, click problems
« Reply #17 on: May 22, 2016, 03:44:12 pm »
>:( Hi. I am having problems with the Analog Devices ADG5434BRUZ Analog Switch. No matter what i do I can not eliminate popping in the audio. I have have tried all kinds of tricks but nothing works. All types of coupling capacitors, various values, rampping up the logic input voltage, all kinds of grounding schemes and nothing seems to work. Are these switches notorious for this kind of thing. Data sheet does say it can be used for audio. I am missing something fundamental but can't seem to put my finger on it. Getting so frustrated that I am considering using relays again. i prefer the analog switch due to its size, low mass and immunity to vibration. Any Ideas... :-//

Try simple cmos swich triggered via micro-controller to delay and filter out the physical switch's pulse
 
The following users thanked this post: retrotubeguy

Offline retrotubeguyTopic starter

  • Contributor
  • Posts: 33
  • Country: au
Re: Analog switch pop, click problems
« Reply #18 on: May 29, 2016, 07:51:00 pm »
Solved with LDR setup, less distortion , total isolation from the micro, absolutly silent transition between sources. minor insertion loss but was not buffered in test. Can still use the ADG 5434 or similar to operate the LDR circuit. a bit more circuitry but not a big deal. I havent given up on cmos yet but that charge injection seems difficult to overcome. More study time would be handy. Thanks to everyone here for the enormous amount of help.
Plate voltage is for men, TTL is for babies.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf