Author |
Message |
Estebandito
Joined: Dec 25, 2017 Posts: 32 Location: Amsterdam
Audio files: 3
|
|
Back to top
|
|
|
Steveg
Joined: Apr 23, 2015 Posts: 182 Location: Perth, Australia
|
Posted: Thu Oct 01, 2020 3:01 am Post subject:
|
|
|
You could put another low pass filter downstream from that one to filter the clicks.
You could also try setting the capacitors up so that the lowest value is always in circuit in parallel with the 4051 and its previous MUX position is left unconnected. If exact values are important you will need to reduce the other capacitor values by the value of the fixed capacitor.
it might also help to have a single capacitor value and use the 4051 to switch the resistors. |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24085 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Thu Oct 01, 2020 3:25 am Post subject:
|
|
|
It probably helps to sync the switching to some signal level. That way the capacitors will always have more or less the same voltage when a switch occurs.
To do this you will need to make a voltage detector, the voltage detector should control a latch then to only pass the changed ABC control signals when a certain voltage is being detected.
This should better things up a lot, but will probably not completely get rid of the clicks, as the analog switches do have some leakage current which will alter the voltage on the caps after some time.
This would depend on how long the filter is left in a fixed state (i.e for rapid switching the clicks should be less prominent).
As an asside, for better working you better take the output from after the resistor (instead of before it as shown in your drawing).
Oh, and resistor switching (as Steveg mentioned) probably works better too. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Estebandito
Joined: Dec 25, 2017 Posts: 32 Location: Amsterdam
Audio files: 3
|
Posted: Thu Oct 01, 2020 5:07 am Post subject:
|
|
|
Thanks for your answers, I will try out those suggestions - I have a feeling switching resistors might be the best solution. |
|
Back to top
|
|
|
dk
Joined: Feb 12, 2019 Posts: 115 Location: Europe
|
Posted: Sat Oct 03, 2020 6:05 am Post subject:
|
|
|
Just out of curiosity, would it make a difference if the caps were on the other side of the mux? ie., the resistor would always be attached to all the caps, the mux would select which one connects to ground. I'd assume this would have an effect on the frequency of the filter (at the very least at the time of switching), but would it eliminate the clicking? _________________ Horrors Of Dial-Up! on Facebook
Horrors Of Dial-Up! on Instagram |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24085 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Oct 03, 2020 6:27 am Post subject:
|
|
|
dk wrote: | [...]would it make a difference[...] |
The altered circuit would behave exactly the same. The clicks come from a sudden current spike due to a voltage jump over the caps, and that would still happen in the same way.
Dunno, maybe it helps to look at it like this ...
Code: |
+---------+
o--| |-----+----+----+----o
+---------+ | | |
/ / /
| | |
--- --- ---
--- --- ---
| | |
| | |
o------------------+----+----+----o
+---------+
o--| |-----+----+----+----o
+---------+ | | |
--- --- ---
--- --- ---
| | |
/ / /
| | |
| | |
o------------------+----+----+----o
|
_________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
dk
Joined: Feb 12, 2019 Posts: 115 Location: Europe
|
Posted: Sat Oct 03, 2020 1:44 pm Post subject:
|
|
|
Gotcha, thanks for answering! For some reason, I had thought that maybe the caps being unable to discharge would help smooth said spikes out, as opposed to the caps being left tied to ground when switched out. I guess it sounded nice, despite being totally unrealistic _________________ Horrors Of Dial-Up! on Facebook
Horrors Of Dial-Up! on Instagram |
|
Back to top
|
|
|
|