Go Back   Home > Forums > >

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

PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, 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
Reply
 
Thread Tools
Old 9th May 2020, 03:25 PM   #1
Mark Johnson is offline Mark Johnson  United States
diyAudio Donor
diyAudio Member
 
Mark Johnson's Avatar
 
Join Date: May 2011
Location: Silicon Valley
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
Default PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc

Quite a few recent line-level projects here on diyAudio, are using Switch Mode Power Supply ("SMPS") wall warts to convert mains AC into the DC needed by audio circuitry. To name a few recent examples, the Starving Student II headphone amp, the First Watt H2 effects box, the B1 Korg NuTube preamp, and the Amp Camp Preamp+ (with headphone amp) are all powered by external SMPS warts. It's definitely a trend.

However, the 50-350 kilohertz switching circuitry inside SMPS modules, does make some members nervous. These folks are very concerned that high frequency noise on the DC supply, could compromise the sound quality of audio circuits. They desire a DC supply having very little high frequency noise, or, ideally, none.

I felt that, IF these pieces of audio gear could tolerate an additional 100 - 150 milliohms of resistance in series with their DC power supply, THEN we can build passive filter circuits to eliminate much of the SMPS high frequency noise. Admittedly I only studied their designs briefly, but I did come to the conclusion that all of SS-II, H2gen, B1Korg, and ACP+ can indeed tolerate an extra 0.15 ohms in series with the DC supply. So why not build a filter with a little extra series resistance, and see what happens.

After some experimental tinkering, the circuit schematic in Figure 1 took shape. It has two stages of LC filtering, built 100% with through-hole components for easy soldering. Noise attenuation at 50 kHz is about 40dB (i.e. 100x); while at 200 kHz, noise attenuation is about 65dB (1700x). Input to output DC resistance is about 100 milliohms on the PCB. Then we need to add the resistance of external wiring (about 16 milliohms per foot for AWG-22).

The filter circuit is laid out on a small PCB, 35mm by 40 mm (Figure 2). After stuffing, soldering, and attaching I/O connectors using blue and white "fly wires", the PCB looks like Figure 3. The first prototype unit was mounted inside a half size Altoids (breath mint) tin, using Kapton tape to electrically insulate the metal box from the rear face of the PCB. Then a piece of double sided foam tape keeps the PCB firmly attached in place. See Figure 4.

After the board is seated inside the enclosure and the I/O wires are pulled into their final position, two generous dollops of hot-glue are applied where the wires pass through holes in the enclosure. The glue keeps the wires fixed in place, and reduces the chances of abrading or scraping off the insulation.

When ordering the PCBoards, I told the fab to build them extra-thin: 0.6mm. This didn't cost extra money, and it seems not to have slowed the order's speedy progress through the fab. Figure 5 is an ungainly attempt to show just how slender the boards truly are. After all, the thinner the PCB, the smaller an enclosure it can fit into. Since it costs nothing to build extra-thin boards, why on earth not?

With this PCB and these components, the design limits are 48 volts maximum and 3 amperes maximum. You shouldn't exceed 48V, no matter what the current. And you also shouldn't exceed 3A, no matter what the voltage.

Speaking of components, here is a Parts List. It's plain ordinary text holding comma separated values. You can copy and paste it into a file on your computer, and then MacGyver the data into any format you wish. Surprisingly, there is even a Wikipedia article about MacGyver.

PARTS LIST

Code:
2.1mm x 5.5mm male plug,xyz,490-PP3-002AH
2.5mm x 5.5mm male plug,xyz,490-PP3-002B
2.1mm x 5.5mm female jack,xyz,490-PR-002A
2.5mm x 5.5mm female jack,xyz,490-PR-002B
470 uF 50V capacitor,LS 5mm and Diam 10mm,80-ESH477M050AH4AA
2.2uH 7.5A 0.10R inductor,LS 5mm and Diam 9mm,652-RLB0912-2R2ML
68V unidir TVS 600W,DO-204 pkg,576-TP6KE68A
953ohm 1% 0.25W res,xyz,603-MFR-25FBF52-953R
0.04R 5% 1W current sense res,LS 12mm,66-OAR1R040JLF
A quick note on DC barrel connector plugs and jacks: the individual parts sold by Mouser and DigiKey, have unusually small solder-lugs to connect external wires. That's because these parts include a removable, screw-on housing which takes up valuable space. {Unlike high volume wall warts, whose plugs are simply molded plastic} So the Mouser/DigiKey plugs and jacks only accept smaller diameter (lower current!) wires. Tinker with them and decide whether you find them acceptable. If not, you can buy thick 2.1x5.5mm (and/or 2.5x5.5mm) extension cables, then cut each end to 15 cm length. Amazon also carries individual cables with quite hefty (AWG-18!) wires attached to plugs or jacks. Here is an example to start your search adventure
the first link

This filter circuit includes polarized (electrolytic) capacitors and a unidirectional diode. Thus it only works correctly when the input is positive with respect to ground. Most SMPS wall warts are arranged this way, with the center terminal of the barrel jack "Positive" and the outer ring of the barrel jack "Negative". However, a few pieces of audio gear {I'm looking at YOU, pioneer batch B1 Korg NuTube preamp!} have chosen to make the center terminal Negative and the outer ring Positive. For those weird situations, be VERY VERY careful to route the IN, OUT, and GND terminals of the SMPS filter PCB, to the correct pins of the barrel jack and barrel plug.

Ingenious builders, I am confident, will dream up amazingly clever ways to mount and package these PCBs -- in astonishing configurations that bear no resemblance to a pedestrian candy box. The nicest thing you can say about half-size Altoids tins is probably, "they are both cheap and easy to obtain." Innovative, talented people will do better, astoundingly better I'm sure. Thus I request that you DO NOT CLICK the following link
the second link

The unique identifier for this board is "PO89ZB" followed by "-A" indicating revision A. I've put that identifier into the thread title, for easier searching in future months or years.

Gerber files for the rev-A PCB are attached; anyone can send these files off to a PCB fab, and get as many boards built as they like, with my blessings and good wishes. Please consider giving away or selling any excess boards that you've accumulated, to other members of diyAudio.

_
Attached Images
File Type: png SMPS_filter_schematic_revA.png (26.3 KB, 4888 views)
File Type: jpg Ruler_PCB_plug.jpg (262.2 KB, 4595 views)
File Type: jpg PCB_and_wires.jpg (268.6 KB, 4566 views)
File Type: jpg Annotated_assembly.jpg (378.7 KB, 4082 views)
File Type: jpg very_thin_board_edges.jpg (268.6 KB, 4021 views)
Attached Files
File Type: zip PO89ZB_A_Gerber_Files_SMPS_Inline_Filter.zip (14.2 KB, 320 views)

Last edited by Mark Johnson; 9th May 2020 at 03:30 PM.
  Reply With Quote
Old 11th July 2020, 08:55 PM   #2
DontHertzMe is offline DontHertzMe  South Africa
No Morse
diyAudio Member
 
DontHertzMe's Avatar
 
Join Date: Jul 2013
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
Thank you for this Mark, I'm sure it will come in handy
  Reply With Quote
Old 26th August 2020, 07:08 PM   #3
Nelson Pass is offline Nelson Pass  United States
The one and only
 
Nelson Pass's Avatar
 
Join Date: Mar 2001
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
The lowest frequency I have seen in the larger switchers is 20 KHz, at about
10 mV amplitude.
  Reply With Quote
Old 26th August 2020, 07:45 PM   #4
Mark Johnson is offline Mark Johnson  United States
diyAudio Donor
diyAudio Member
 
Mark Johnson's Avatar
 
Join Date: May 2011
Location: Silicon Valley
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
Thanks, Nelson! This little half-Altoids-box filter is limited to 3A & 48V, which is about the most you can get out of a small wall wart, like the ones you'd use for preamps, line stages, and the like. To scale it up for higher power applications, you'd probably want to add a constant current startup limiter, plus some big ole bohunker filter capacitors after the L. The bigger Cs would reduce the LC filter's rolloff frequency, improving its attenuation at 20 kHz.
  Reply With Quote
Old 27th August 2020, 02:33 AM   #5
konst is offline konst  United States
diyAudio Member
 
Join Date: Apr 2006
Location: socal
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc Send a message via MSN to konst
do you have a preferred board manufacturer?
this is amazing btw, and much needed. thank you
__________________
Quote:
Originally Posted by 6L6 View Post
As rails go up and current increases, it becomes easier and easier to let the magic smoke out with excitement and vigor.
  Reply With Quote
Old 27th August 2020, 01:23 PM   #6
Mark Johnson is offline Mark Johnson  United States
diyAudio Donor
diyAudio Member
 
Mark Johnson's Avatar
 
Join Date: May 2011
Location: Silicon Valley
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
I always, ALWAYS get comparison price-quotes from

PCBShopper – A Price Comparison Site for Printed Circuit Boards

before deciding where I will send a brand new Gerber .zip file.

A list of past competition-winners may be found here
  Reply With Quote
Old 27th August 2020, 01:47 PM   #7
konst is offline konst  United States
diyAudio Member
 
Join Date: Apr 2006
Location: socal
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc Send a message via MSN to konst
Epic! Thanks Mark
__________________
Quote:
Originally Posted by 6L6 View Post
As rails go up and current increases, it becomes easier and easier to let the magic smoke out with excitement and vigor.
  Reply With Quote
Old 28th August 2020, 08:31 AM   #8
ClaudeG is offline ClaudeG
diyAudio Member
 
Join Date: Jan 2015
Thanks for sharing this, Mark!

I am about to build a (single) LC filter in front of a power amp SMS, a somewhat different need as for 5A.

I am still in the design phase and thought about 1.5uH / 5A for L and C will be 8700uF, so 2nd order filter with Fc= 1.4kHz. The SMPS frequency is 65kHz.

No clue if this additional filter between PS and amp will sound better or not, but I thought perhaps better trying that LC filter rather than a classical RC filter (had 0.34R and 8700uF in mind) that might somewhere "brake" too much reloading (Fc = 53Hz and 1st order only) not too mention voltage losses and voltage fluctuation varying with loads. Perhaps you had the same considerations when going LC rather than RC?

Trying to learn, I have few questions for you, if you don't mind:
1) What are the 953R resistors (R2 & R4) in parallel to the inductors for?
2) What are the 1W resistors for (R1 & R3)?
3) Last but not least, did you try your filter and notice any sonic improvement?

Many thanks for your help!

Claude

Last edited by ClaudeG; 28th August 2020 at 08:38 AM.
  Reply With Quote
Old 29th August 2020, 08:52 PM   #9
Mark Johnson is offline Mark Johnson  United States
diyAudio Donor
diyAudio Member
 
Mark Johnson's Avatar
 
Join Date: May 2011
Location: Silicon Valley
PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etc
Claude, to design (or analyze) an RLC filter for SMPS noise reduction, you will need several tools.
  1. Confidence and intuition about the typical values of electrolytic capacitor ESR and ESL, perhaps starting with pages 5-7 of Cornell Dubilier's white paper

  2. An understanding of inductor self resonance, e.g., pdf link #1 , pdf link #2 , pdf link #3

  3. Manufacturer's detailed datasheets for the capacitor(s) and inductor(s) you plan to use in your design or analysis

  4. Skill and familiarity with Laplace transform mathematics; or if not this, then

  5. Extremely advanced skill and deep familiarity with LTSPICE simulation, especially in the frequency domain (".AC" type analysis)
The circuit presented in post #1 of this thread has more than one resonance, and the resonant frequencies are several decades apart. Therefore the circuit includes more than one component whose only job is to pacify & tame ("damp") a resonance. And part of your job as circuit analyst, is to calculate the damping factors it achieves, in order to decide whether they are sufficient to satisfy your own personal risk tolerance.

If this sounds like an intimidating & gigantic undertaking, don't get too discouraged. After all, it does take 4 years of university study to earn a degree in Electrical Engineering. This is complicated stuff that uses a LOT of mathematics. It certainly isn't simply memorizing a couple dozen formulas, which represent anything and everything you'll ever need to know.

_
  Reply With Quote
Old 29th August 2020, 09:57 PM   #10
ClaudeG is offline ClaudeG
diyAudio Member
 
Join Date: Jan 2015
Thank you very much for the detailled answer Mark, I will get into all this.

The positive is I have these 4 years (and some more) already behind me, the negative is it was decades ago and I moved on to other things "meanwhile". That probably means I am much closer to Laplace than LTSPICE, but also that I have a lot of ground to cover in order to (re)gain some significant knowledge :-)

But isn't the purpose of a hobby just to spend time in an enjoyable way?

Thanks again for all these pointers and links, I will dig into them with pleasure

Claude
  Reply With Quote

Reply


PO89ZB , an inline DC filter for SMPS wall warts . Preamps, HPA, Korg NuTube, etcHide this!Advertise here!
Thread Tools

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 Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Korg NuTube B1 guide 6L6 Pass Labs 8 14th October 2020 06:59 AM
Korg Nutube B1 Pre-Order Q&A Jason The diyAudio Store 33 14th October 2020 06:55 AM
Korg Nutube pmoyle111 Tubes / Valves 6 24th April 2020 10:41 PM
Korg NuTube is now available online pmillett Vendor's Bazaar 156 23rd December 2019 11:33 PM
WTB: Firstwatt Korg Nutube B1 (or just PCB) Brzzl Swap Meet 2 4th September 2019 09:54 AM


New To Site? Need Help?

All times are GMT. The time now is 10:49 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Copyright ©1999-2021 diyAudio
Wiki