Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, 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 Search this Thread
Old 5th June 2010, 02:09 PM   #1
cdfr is offline cdfr  United States
diyAudio Member
 
Join Date: Jan 2005
Location: Seattle
Default Theory & Practice power supply noise rejection

I finally got hold of a scope to measure the the noise of the power supply I built, and I am a bit surprised.
The schematic I built is the following:
Click the image to open in full size.

It is a two stage supply ending up with a LM317. Contrary to the schematic I am using a 12v car battery as the supply (so I forgo the transformer and the rectifier) and I output 3.35v.
The draw is probably between 0.8 to 1.2Amps.
From the LM327 spec I though I would get 70db noise rejection.

Yet measured with the scope, when the device connected to it is idle I can see a small ripple with a peak at 80mV and with a full load I get a ripple of 300mV peak to peak.
To calculate the noise rejection I do 20Log(0.3/3.35) and get 20db which is much lower than the theoretical 70db!

Did I make a mistake? What can explain such a difference or how can I improve this figure?
  Reply With Quote
Old 5th June 2010, 04:26 PM   #2
dmills is offline dmills  United Kingdom
diyAudio Member
 
Join Date: Aug 2008
Need component values!
Also, what frequency is the ripple, twice line frequency or ultrasonic?

Does the waveform at the emitter of T1 look sane?

Regards, Dan.
  Reply With Quote
Old 5th June 2010, 05:08 PM   #3
Mooly is offline Mooly  United Kingdom
diyAudio Member
 
Mooly's Avatar
 
Join Date: Sep 2007
A few things come to mind...

1. You have to pay as much attentention to PSU layouts as you do amplifier circuits. It's vital you use a "correct" ground to use for the 'scope.

2. Grounding again... and beware safety... but is the 'scope mains grounded as well as the PSU (via whatever it supplies).

3. Try clipping the probe tip and ground together (shorting the 'scope input) which should give a fine trace. Keeping them shorted connect to the ground in the psu. Does any ripple or noise "appear".

4. Is the load current drawn from the PSU steady (such as a resistor or linear amp) or is it feeding a circuit that runs at HF drawing, such as a Class D amp.

5. Remember any specs for the reg apply only when measured at the correct points (layout and grounding again) so that means measuring on the output pin of the reg and it's feedback ground point.
__________________
-------------------------------------------------------
A simulation free zone. Design it, build it, test it.

Last edited by Mooly; 5th June 2010 at 05:18 PM.
  Reply With Quote
Old 5th June 2010, 05:57 PM   #4
diyAudio Member
 
Join Date: Oct 2006
Barring connection problems, to get that much under-load ripple, C9 and/or C11 must be too small in value. For the output voltage & current, I would suggest at least 3300uf on C9 and 5600uf min on C11. The bigger the better on both. Your main input filter cap should also be large, even with battery(or especially with battery, for lower supply impedance).
  Reply With Quote
Old 5th June 2010, 09:16 PM   #5
cdfr is offline cdfr  United States
diyAudio Member
 
Join Date: Jan 2005
Location: Seattle
Thank you for the feedback. I am going to try to answer your questions.

The component values:

C6 10000uF 25v
C7 0.1uF 63v film cap
Z1 Zener 8v2 1.3W
R1 75 Ohm 1/2 Watt
T1 TIP31C
C8 10uF 25v Tantal
C9 1uF 25v Tantal
Rv1 Variable 1KOhm 1/4 Watt
IC1 LM317T
D1 & D2 1N4001
R2 240 Ohm 1/4 Watt
C10 47uF 25v Tantal
C11 1uF 63v + Nichicon 10uF 35v in parallel

I looking at C9 with the scope (right after T1, yes I get the same waveform and about 300mv "ripple" for 8.2v output.
Could it be that using 2 stages is a bad thing and it would be better with just the regulator?

The load is activc an Apple Airport express (wifi, processor, dac)

Here are the wave forms:

- idle
Click the image to open in full size.
Click the image to open in full size.

- with full load
Click the image to open in full size.
Click the image to open in full size.

The circuit from the top:
Click the image to open in full size.

Last edited by cdfr; 5th June 2010 at 09:24 PM.
  Reply With Quote
Old 6th June 2010, 02:23 AM   #6
diyAudio Member
 
Join Date: Oct 2006
The two stages is not a problem at all. It's just the post regulator filter caps are way, way too small. Take my advice on C9 & C11 and it should work very well.
  Reply With Quote
Old 6th June 2010, 12:37 PM   #7
cdfr is offline cdfr  United States
diyAudio Member
 
Join Date: Jan 2005
Location: Seattle
Stephen,

I do not have enough spare parts at home, so I need to order them, but I tried to follow your advice and put 3300uF 10V cap I had for C11 and indeed the "ripple" went down to 135mV so I gained 8dB! i.e. from 20db to 28db, this is quite an improvement. Thanks!

To get to 70db I would need 1mV "ripple". How do I get there.

Your advice is C9 3300 uF and C11 5600uF. I was afraid that it would be too much for the regulation stages. How do you calculate the right values?
Is 10,000uF enough for C6 or should I use more?
Shouldn't the rule of thumb be C6 > C9 > C11?
  Reply With Quote
Old 6th June 2010, 04:05 PM   #8
stoc005 is offline stoc005  United States
diyAudio Member
 
stoc005's Avatar
 
Join Date: Feb 2007
Location: Midwest in the USA
Take a look at the sweep time. Your "ripple" is anything but 120 Hz. It's in the RF range. Bypass all 'lytics with a good .1uf film cap and a .01uf short leaded ceramic cap to try and kill the RF. The high frequency hash could be pickup from the long wire leads attached to the PS. 3 terminal regulators do a bad job of rejecting HF noise.
  Reply With Quote
Old 6th June 2010, 08:37 PM   #9
grufti is offline grufti  United States
diyAudio Member
 
grufti's Avatar
 
Join Date: Jun 2004
Location: Hillside
Have you looked at National's new March 1, 2010 data sheet for the LM317? This is the 28 page version with many application hints as they call them.

http://www.national.com/ds/LM/LM117.pdf

Last edited by grufti; 6th June 2010 at 08:39 PM. Reason: added the url
  Reply With Quote
Old 9th June 2010, 07:49 PM   #10
cdfr is offline cdfr  United States
diyAudio Member
 
Join Date: Jan 2005
Location: Seattle
Thank you all for your inputs.

I made some of the experiments suggested.
First I checked the scope it is a MSO, and I realized that there is inherent noise so 15-20mV comes from the scope itself... and the pattern does not mean much.

I measured the battery without any load: I get 15-20mV noise.
I measured the regulators on without any load: I get 25-32mV noise
I (re)measured the regulators on with the load idle (AE connected to the network but no audio streaming): I get 28-48mV noise

Then I (re)measured the regulators on with the full load (AE connected to the network with audio streaming): I first got 260mV noise then * later 515mV

In between I tried to add a cap (4700 & 3300 uF in parallel) to C11 the noise was at 260mV, when I removed it the noise went up to 515mV

So it seems that the cap helps but it is still not enough and I am puzzled. Something must be wrong to get so much mV.

Could it be a ground loop? I have a spdif pulse transformer connected to the ground.

Note that I can see also a fluctuation of couple hundred mV at the bat level.
Click the image to open in full size.

Last edited by cdfr; 9th June 2010 at 07:51 PM.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on the theory/practice of 2/3/4...-way speakers JCDenton Multi-Way 3 6th June 2006 06:13 AM
differential design, common mode noise rejection Sebastiaan Solid State 0 17th April 2006 08:16 PM
Power Supply Noise Rejection Ratio's (PSRR) Dr.H Digital Source 4 23rd July 2005 09:26 PM
Help with transformer theory and practice Ulas Digital Source 4 12th July 2003 03:35 AM
Ultimate noise rejection annex666 Everything Else 2 29th July 2002 06:57 PM


New To Site? Need Help?

All times are GMT. The time now is 05:25 PM.

Page generated in 0.12392 seconds (81.17% PHP - 18.83% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio