If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
I have such a strange problem: In my design, i need to control volume from microcontroller. All sounds OK, but audio sygnals are completely AC (+-1V). I need at least 100db dynamic range, because this is what i get from my dac, but i was unable to find any digital potentiometer that does that, closest is AD5262 , and it can only give 0.014% THD 77db
Can any one give me idea, how to control sound, with more dynamic range, with complete AC input ?
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
It seems unlikely that you will find a single chip solution that will give you that kind of performance.
There is a reason that people use relays and resistor banks for attenuators, they really are hard to beat in terms of performance.
You might try looking for 'programmable gain amplifiers', there are some pretty high end devices like the PGA281 which claims 0.0001% nonlinearity over a +-18v swing (!), although it doesn't have many gain steps and you will have to mess around with the levels to make use of them all (it goes from gain = 0.125 to 128 in 11 steps).
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
... wrote ...
It seems unlikely that you will find a single chip solution that will give you that kind of performance.
There is a reason that people use relays and resistor banks for attenuators, they really are hard to beat in terms of performance.
You might try looking for 'programmable gain amplifiers', there are some pretty high end devices like the PGA281 which claims 0.0001% nonlinearity over a +-18v swing (!), although it doesn't have many gain steps and you will have to mess around with the levels to make use of them all (it goes from gain = 0.125 to 128 in 11 steps).
0-20kHz ans signal should be around 1V or more. ( what is better for low noise)
Yes, VGA would be nice, but i need to reduce gain, not apply it !
Registered Member #162
Joined: Mon Feb 13 2006, 10:25AM
Location: United Kingdom
Posts: 3141
100 dB SNR implies En = (1v/2.sqrt(2)) x 10^-5 = 3.5 uV rms noise voltage
and En = sqrt(4.k.T.R.BW) = sqrt(4 x 1.38 x 10^-23 x 300 x R x 20,000) = sqrt(R) x 18 nV rms
R <= (3500/18)^2 = 37 kOhm
and, good op-amp En = 1 nV x sqrt(BW) = 141 nV rms = negligible
OK, sanity check pass
NEXT: can you measure if you achieve your goal ?
So a resistive divider is feasible provided that the resistance is less than 37 kOhm effective. I would use signal relays with gold plated contacts (because mercury-wetted are uncommon and a nuisance) but mosfet switches may be adequate, not sure if low-noise switching mosfets are available and a resistive divider.
That would be bulky, costly and unreliable if considered commercially. Try contacting Analog Devices, (or Maxim, or even Texas Instruments, Vishay or maybe Infineon) etc. for technical help, they probably have something.
100 dB isolation is quite challenging, even for an attenuator, due to parasitic coupling, intelligent routing of conductors, digital and analogue 'earth' and lots of screening probably required.
Please publish your methods and results, even failures, so I (we) can learn.
Registered Member #135
Joined: Sat Feb 11 2006, 12:06AM
Location: Anywhere is fine
Posts: 1735
I would implement a Pi type attenuator with two N channel fets, and a P channel fet as the signal pass element. This makes a voltage controlled pad. You may have to do some clever things with the voltage control to get linear attenuation though, and its fairly simple idea, but the implementation will be difficult.
It will probably require some op amps to swing voltage from negative to positive to give you full control of the fets.
On a positive side, if one Pi stack only gives you 50dB attenuation, you can stack two together with the same voltage control lines, so it can be cascaded.
On the downside, the fet selection may be difficult. Rds On will need to be low, like 30 ohms.
The fets may also add noise to your signal, but I don't know, I've never tried it. I've only done a SPDT fet switch for audio, but it seemed to work okay.
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
At work i have scope with -130db noise floor
So i think i must use DC blocking capacitor, to make it work. Best idea would be ( i think ) is to take 1k digital pot that can operate at 0-10V, use another one good 1k resistor to Vref, lets say ultra stable 5V supply ( i have nice LDO for that, LT3042 :) and all chips will be using this LDO to make it perfect ) , and put like 10-100uF capacitor ( film, not X7R or anything stupid, maybe good tantalum) into middle point, and that should work a treat. I am right ?
Registered Member #11591
Joined: Wed Mar 20 2013, 08:20PM
Location: UK
Posts: 556
0.014% THD is practically inaudiable. There are very few humans on earth (or possibly none) who can tell the difference between 0.14% and 0.014% THD in a blind test. (Except if it was made up of entirely one harmonic, possibly)
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.