Support Head-Fi.org by starting all of your Amazon.com shopping by clicking here.
____________________________________________________________________
Today's Featured Head-Fi Blog:  A Japanese headfier's monologue (Sasaki)
____________________________________________________________________
Please help support Head-Fi by becoming a Contributing Member  CLICK HERE

-- Contributing Members, thank you for your generous support! --
Head-Fi Is Sponsored By:
Register FAQ Blogs Members List Calendar Mark Forums Read Today's Posts Search
 

Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured

2008 International
Head-Fi Meet
(Can Jam '08)
Impressions,
Reviews, Photos


Can Jam '08 graphic
courtesy of Edwood

Click on the links below
for Can Jam '08 photos,
impressions and reviews:


NightWoundsTime
lan
agile_one
wavoman
crappyjones123
Luke G
bperboy
jimaxp

 


Can Jam '08 Logo
T-Shirts For Sale


Head-Fi Blogs
and Facebook

Check out Head-Fi's new
Blogs section.

Featured Head-Fi Blogs:

Jude's "Take My Word"

 From Japan - by Sasaki

(
Start your own Blog!)

Attention
Facebook Users



Join the official
Head-Fi.org
Facebook Group


Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured


Go Back   Head-Fi: Covering Headphones, Earphones and Portable Audio > Misc.-Category Forums > DIY (Do-It-Yourself) Discussions

TTVJ Millett Portable Amp & The Most Recent Sponsored Threads

Sales to Benefit Head-Fi (TTVJ Millett Portable Amp)




 
Reply
 
Thread Tools Display Modes
Old 06-21-2006, 01:41 AM   #1 (permalink)
Contributor
Headphoneus Supremus
 
doobooloo's Avatar

Profile
Join Date: Nov 2002
Location: New York
Posts: 2,311
Talking doobooloo's TPA6120-based balanced headphone amp

Hello everyone!

So I am extremely bored over summer, and I was reminded of my old TPA6120-based balanced headamp project. I was excited as I found something to kill time with, but I realized that when I reformatted my computer a while back all my Eagle files and libraries that I had built up had perished.

But guess what. That just gave me another reason to design the same amp from scratch, just much better this time.

So after a few days of playing around, here is my design on a 2.5" by 4" board (fits in the smallest Lansing case):

Everything:


Just pads and traces:


Top layer:


Bottom layer:


Click here for higher-resolution pictures.

So what makes this amp exciting? To list a few features that I really wanted when I was designing this amp...

1. It is a fully balanced amp
2. It is extremely high-performance (TPA6120)
3. But, it takes single-ended inputs, allowing the use of numerous (read: simple, cheap, small, proven, good) sources
4. Outputs are in the form of two 1/4" jacks - one inverted and the other non-inverted - which allows the use of conventional headphones and balanced headphones with the use of a simple adapter cable
5. It employs the DS1802 digital potentiometer coupled with a rotary pulse switch allowing for easy and precise volume adjustment as well as a higher sound quality, better channel matching, and long-term durability compared to analog pots
6. All necessary jacks can be mounted onboard - at the same time standard 0.10" pads are provided for external wiring and the use of 3-pin Molex KK connectors if desired
7. A desired sound signature can be achieved by opamp selection (since it's SMD, no easy opamp rolling, though)

I used Eagle Light to design this board, so no groundplane fill function is available. Also, board space is limited by the Light version, and the only reasonable board size within these limitations with a widely available case was 2.5" x 4" using Lansing MicroPak cases.

Anyway... I have a breadboard prototype amp employing a very similar amp circuitry running and it sounds damn good. With a more optimized board design the amp section can only sound better... and this is very exciting.

The part that I am a bit nervous about is the DS1802 digital pot section which I took a lot of hints from Armond Chen's design and the accompanying Headwize thread. I replaced the LM336Z-2.5 with an LM4040 since the latter has higher accuracy and is available in a smaller surface-mount package. Other than that, I am pretty much following Armond's design for this board.

Anyway... any comments?
doobooloo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 01:44 AM   #2 (permalink)
Contributor
Headphoneus Supremus
 
doobooloo's Avatar

Profile
Join Date: Nov 2002
Location: New York
Posts: 2,311
Default

Oh, forgot to add... The amp requires a bipolar power supply, so something like the Elpac WM71 (+15V/-15V) with a male DIN-5 plug. Different PSU manufacturers, including Elpac, seemed to be using the same DIN-5 standard for dual and triple output power supplies so I thought that would be nice in terms of flexibility.

Of course, my opamp of choice is the AD8066 which can only take up to +12/-12V... I am probably going to build myself a simple dual-TREAD bipolar supply to go with this unit or make another small matching PSU PCB so that the two cases can neatly be stacked or something...

Another thing I forgot to add again... All the surface mount resistors and capacitors are in 0603 package.
doobooloo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 01:58 AM   #3 (permalink)
1000+ Head-Fi'er
 
ATAT's Avatar

Profile
Join Date: Jan 2005
Location: Bay Area.
Posts: 1,027

IM Contacts
Send a message via AIM to ATAT
Default

How are you splitting the single ended signal to balanced?
DRV134s? those arn't that great last I checked.. the high performance amp circuit may be for nothing if you're using line drivers as splitters..
__________________
Team Grado & Burning Resistors!

A PPA in your pocket? The PPAS..

"Stupidity cannot be cured with money, or through education, or by legislation. Stupidity is not a sin, the victim can’t help being stupid. But stupidity is the only universal capital crime; the sentence is death, there is no appeal, and the execution is carried out automatically and without pity."
ATAT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 02:04 AM   #4 (permalink)
Contributor
Headphoneus Supremus
 
doobooloo's Avatar

Profile
Join Date: Nov 2002
Location: New York
Posts: 2,311
Default

Originally Posted by ATAT
How are you splitting the single ended signal to balanced?
DRV134s? those arn't that great last I checked.. the high performance amp circuit may be for nothing if you're using line drivers as splitters..
Two dual opamps take in signal, acts as buffer into TPA6120 providing low impedance output. One TPA6120 is set at positive gain and the other at negative gain. Gain magnitude should both be equal, of course, just inversed.
doobooloo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 02:09 AM   #5 (permalink)
Headphoneus Supremus

Profile
Join Date: May 2004
Location: Brisbane, QLD, Australia
Posts: 3,564

IM Contacts
Send a message via MSN to Garbz
Default

True the DRV134 isn't great but it's not a bad rail splitter either. I found it better then discrete solutions when I tried it but it did fail to outperform Transformers.

My guess looking by the layout, one of the opamps will flip the signal.

The 2.5V -2.5V option for running the DS1802 works like a treat. The problem I had when integrating it in my balanced amp was that the input signal is often overpowering. I think 10V p-p are some of the balanced output signal swings, so I had to put a 10k resistor in series with the input to bring the level down slightly. A studer cdplayer that becomethemould dropped off here one day did however still clip the input.

The other thing is what rotary pulse switch are you using? Double check the datasheets to ensure the pulse time of the switch is long enough. I used a quadrature rotary encoder and the decoder for it didn't pulse long enough for the chip to register a click. In the end Daki][er sent up a uC with a new decoder programmed in.
__________________
My wishes are simple. I demand only the best - Oscar Wilde

Chat with us live at #diyaudio on irc.rizon.net
Garbz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 02:19 AM   #6 (permalink)
Contributor
Headphoneus Supremus
 
doobooloo's Avatar

Profile
Join Date: Nov 2002
Location: New York
Posts: 2,311
Default

Originally Posted by Garbz
True the DRV134 isn't great but it's not a bad rail splitter either. I found it better then discrete solutions when I tried it but it did fail to outperform Transformers.

My guess looking by the layout, one of the opamps will flip the signal.

The 2.5V -2.5V option for running the DS1802 works like a treat. The problem I had when integrating it in my balanced amp was that the input signal is often overpowering. I think 10V p-p are some of the balanced output signal swings, so I had to put a 10k resistor in series with the input to bring the level down slightly. A studer cdplayer that becomethemould dropped off here one day did however still clip the input.

The other thing is what rotary pulse switch are you using? Double check the datasheets to ensure the pulse time of the switch is long enough. I used a quadrature rotary encoder and the decoder for it didn't pulse long enough for the chip to register a click. In the end Daki][er sent up a uC with a new decoder programmed in.
Thanks for the comments! The opamps are both configured identically, and it is one of the TPA6120 chips that does the flipping.

Regarding the input clipping... maybe I should make space for that option on the board. Two resistors to form a voltage divider would be better than a simple resistor though, right?

The rotary switch was simply taken from the Headwize thread. I have no clue if it will work well or not. I'll just have to try it - but for now that's really the only option I have since I don't want to set up a uC... If the prototype board fails with the rotary switch then I'm going to have to redesign with two pushbutton switches or something...

Also... regarding aos's comments on the Headwize thread:

Originally Posted by aos
It looks pretty sweet. One thing I'd reccommend is a small inductor or ferrite to isolate digital from analog part of 5V rail to reduce HF noise' conquest of the volume pot.
Is this necessary? I think I've heard some arguments both for and against this "dividing" of analog and digital grounds with an inductor or ferrite, so I am not sure what to do. I omitted it in this design but it wouldn't be too hard to add space for it.

Actually, maybe I can just make space for it so I can play around and simply jumper across it if it's not necessary?
doobooloo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 02:20 AM   #7 (permalink)
Contributor
Headphoneus Supremus
 
doobooloo's Avatar

Profile
Join Date: Nov 2002
Location: New York
Posts: 2,311
Default

Also, any suggestions for a PCB house for this small board?
doobooloo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 03:14 AM   #8 (permalink)
1000+ Head-Fi'er

Profile
Join Date: Dec 2004
Location: Melbourne Australia
Posts: 1,189

IM Contacts
Send a message via MSN to Jazper
Default

sparkfun.com used to be ok for small boards.. might want to try them

thoughts:

1. not fully balanced, fully balanced would have balanced inputs and balanced outputs.

2. TPA chip works fine on +12/-12v and with balanced config the extra 6v swing in running 15/15 will make very little difference.

3. Amps in this configuration tend to have the sonic signature of the TPA chip rather than smd opamps, provided the smd opamp is fast enough. Very little difference in sound signature with the input opamp selection.

4. Wouldn't it make more sense to just have 4 electrolytics bypassed with 4 polyprop or polyester caps (possibly even 4 silver mica as well if you want to go extreme) to filter the power??

5. it looks like you have input ground connected to power ground which could cause a ground loop. Suggest maybe using a ground loop breaker or sticking to one or the other.

6. considering you're happy to mount resistors/caps on the opposite sides of the board you might want to think about mounting the resistors/caps on the tpa right under the pins or under the chip.

7. nothing stopping you having the input opamps socketable.
__________________
AV710 -> (self built) Custom M³(silmic II's/custom psu)-> Sony SA5k
Jazper is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 03:37 AM   #9 (permalink)
1000+ Head-Fi'er
 
ATAT's Avatar

Profile
Join Date: Jan 2005
Location: Bay Area.
Posts: 1,027

IM Contacts
Send a message via AIM to ATAT
Default

dooob. i think what AOS says is a good idea.. putting a ferrite there would help a fair bit with the hf noise (if any)..

4pcb is by far one of the nicest boardhouses evar. $33 / 60 square inches.. if you're a college student that is.. its a very nice deal to say the least.
__________________
Team Grado & Burning Resistors!

A PPA in your pocket? The PPAS..

"Stupidity cannot be cured with money, or through education, or by legislation. Stupidity is not a sin, the victim can’t help being stupid. But stupidity is the only universal capital crime; the sentence is death, there is no appeal, and the execution is carried out automatically and without pity."
ATAT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 06-21-2006, 03:44 AM   #10 (permalink)
Headphoneus Supremus
 
nikongod's Avatar

Profile
Join Date: Jan 2005
Location: northern NJ
Posts: 4,575
Default

unlike ******* in other sections, i line by line because you roxor.
Originally Posted by Jazper
sparkfun.com used to be ok for small boards.. might want to try them

thoughts:

1. not fully balanced, fully balanced would have balanced inputs and balanced outputs.
find a portable balanced source. this amp looks VERY well sized for portable use.

2. TPA chip works fine on +12/-12v and with balanced config the extra 6v swing in running 15/15 will make very little difference.
it is actually closer to 12V of swing because it is balanced. FWIW the swing with a 12V sup-ly would be DOUBLE the swing of a single chip with a +-12V input probably about 40vP-P without getting anywhere near the rails yea, you dont need this.... drop suply to +12V/-12V. alternately, a 2X9V system could be used... you would still have about 32vP-P swing. can anyone say "uberportable"

3. Amps in this configuration tend to have the sonic signature of the TPA chip rather than smd opamps, provided the smd opamp is fast enough. Very little difference in sound signature with the input opamp selection.
the tpa chip has the sound signature that is to sound like the source... it is VERY uncolored. i would wory more about the input opamps than the tpa chips.

4. Wouldn't it make more sense to just have 4 electrolytics bypassed with 4 polyprop or polyester caps (possibly even 4 silver mica as well if you want to go extreme) to filter the power??
the chip used is SOO insensative to power suply "quality" that it is really unnecessary.
5. it looks like you have input ground connected to power ground which could cause a ground loop. Suggest maybe using a ground loop breaker or sticking to one or the other.

6. considering you're happy to mount resistors/caps on the opposite sides of the board you might want to think about mounting the resistors/caps on the tpa right under the pins or under the chip.
you may run into space/heat issues from the power-pad solder point.
7. nothing stopping you having the input opamps socketable.
+1, DO IT.
__________________
Originally Posted by mkmelt View Post
ACHTUNG - ALLES KOPFPHONERLISTENERS

Alles kopfphonerlisteners non-technischens! Das tubenmachine is nicht for gefengerpoken und mittengrabben. Oderwise is easy schnappen der springenverk, blowenfus, und poppencap, mit spitzensparken, und smokentubes. Geverken inside der tubenmachine is fur der experten only. Is nicht fur geverken inside by das dumpkopfen. Das rubbernecken amateuren keepen das cotton-picken hands in das pockets. Just relaxen, enjoyen der musik, und vatchen das pretty glowentubes.
nikongod is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Reply


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off