Go Back   Home > Forums > Amplifiers > Power Supplies
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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 26th April 2011, 04:18 AM   #1
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
Default help making sense of measurements

So I've done some measurements of my prototype board LM317 reg circuit. There was what appeared to be wide band noise on the output of about 2mV p2p.

Stepping through the timebase settings and settling on 0.5uS/div it would appear that there is 4mV p2p at about 1.6Mhz on the output (same on the input to the reg).

I tried putting a 100nf polyprop cap across the output but it made no difference at all.

If I disconnect the scope probes from the circuit completely and leave them floating the 1.6 Mhz waveform is still there, at slightly reduced amplitude.

If I measure the circuit with transformer completely disconnected then there is a barely perceptible waveform, probably about 0.3mv p2p. Hook up just one side of the transformer winding and the waveform returns, pretty much identical to if both sides of the secondary are connected.

Last I tried just putting the scope probe across the 100nF cap, the 1.6Mhz goes away but there is still noise (probably much higher frequency). the really odd thing though is that rotating the scope probe 90 degrees (it is just being held by hand in the air with the cap on the end) the noise virtually goes away.

I don't know whether I'm just picking up airborne noise, power-line noise or both, and whether or not my rather dubious breadboard realisation (no component leads trimmed) is just acting as a big antenna.

anyway here are some pics.

all measurements shown at 2mV / div and 0.5 uS/div.

1st was taken using a 10V modem transformer (putting out around 12V ac as not heavily loaded) input to the reg 11.3 V reg output 7.5V

2nd was taken using a 15V transformer (putting out around 20V ac) input to the reg 19V out 7.5V

3rd pic is with the scope probes floating (just sitting on the floor not connected to anything.

4th pic is with 100nF cap across the scope probe (nothing else).
5th pic is with 100nF cap across the scope probe with the probe rotated through 90 degrees (axially).
6th pic is what is present if connected to the PS output with the transformer disconnected.

7th pic is the schematic.

Any help with interpreting this will be greatly appreciated! I'm relatively new to using a scope and could well be doing something stupid, or there may be something wrong with it (as it was an as is second hand one).

More (earlier) measurements can be found on my blog entry http://www.diyaudio.com/forums/blogs...-progress.html

Tony.
Attached Images
File Type: jpg DSC_7313.jpg (90.2 KB, 91 views)
File Type: jpg DSC_7318.jpg (94.4 KB, 90 views)
File Type: jpg DSC_7319.jpg (89.2 KB, 86 views)
File Type: jpg DSC_7320.jpg (90.0 KB, 84 views)
File Type: jpg DSC_7321.jpg (89.2 KB, 79 views)
File Type: jpg DSC_7312.jpg (82.5 KB, 7 views)
File Type: png PS_schematic.png (16.3 KB, 32 views)
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos
  Reply With Quote
Old 26th April 2011, 06:36 AM   #2
Mooly is offline Mooly  United Kingdom
diyAudio Member
 
Mooly's Avatar
 
Join Date: Sep 2007
Welcome to the world of real testing

Are you using proper probes ?

First with scope probes shorted (tip to ground lead) and the vertical sensitivity set high check that the trace is pin sharp. Keeping the probe shorted touch the tip to the outer ground on the scope BNC input socket. The trace should still be noise free and sharp.

Next connect the still shorted probe to the ground on your working circuit... does the trace thicken and show noise ? If so you have a connection/ground problem.

Any HF picked up by the "open" probe could be anything from radiated noise from a SMPS in a TV/PC/DVD etc etc to genuine RF froma transmitter if one is nearby. the scope is showing what is there.

Edit... some real world testing on a reg. Read the whole thread, but scope piccys started here,
Low cost regulator in between Jung and Flea
__________________
-------------------------------------------------------
A simulation free zone. Design it, build it, test it.

Last edited by Mooly; 26th April 2011 at 06:41 AM.
  Reply With Quote
Old 26th April 2011, 10:39 AM   #3
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
Thanks Mooly It looks like maybe part of the problem is with the probes... One is a bwd P32 probe (switchable 1X 10X) which was brand new and came with the scope (though having just done a google search it could be a cheap knockoff). One thing I just read is that it is only rated up to 12Mhz in the 1X position, but I don't think this is where my problem is coming from.

The other is a 60 mHz 1X /10X probe I got from jaycar a few years ago to use with my soundcard preamp with pc based scope software. So both are real probes but not necessarily great quality ones.

I get a fairly sharp trace even at 0.2uS/div 2mS/div with the probe tip shorted to the earth connector, however I get the same phenomenon as with the cap, ie changing the position of the probe in the air changes the sharpness of the trace.

Touching the still earthed probe tip to the bnc socket (can only do it with one as the other is completely insulated) can display a clean trace or a very noisy one which appears to be modulating in time with voices playing on the TV!

When I the touch it to the ground on the PS it is a very noisy trace same sort as above with modulation in time with voices on the TV (can't turn it off at the moment my Daughter is watching postman pat ) I did turn it, the amp and the HT PC off when I did the earlier measurements though and it didn't seem to make any difference then.

Note that the ground in the schematic is not really a ground. I'm using an old model train transformer, I've tried both the AC and the voltage controlled DC output of it but I don't have a connection to earth per say, so the ground is floating in the PS.

Attached some more pics.

1st is showing both probes shorted oriented to give the sharpest trace (note that even with the scope switch set to short it is pretty much the same as this).

2nd pic shows the same as above but the second probe rotated on its axis. Both pics were 2mV/div 0.2uS/div.

The next two pics were taken at 1ms/div and 5mV/div.

3rd pic is with the probe still shorted touched to the BNC on the scope, note that in a different orientation it gives a completely clear a trace.

4th pic is with the probe still shorted touched to the PS ground point. In this case the orientation of the probe didn't seem to make much difference at all.

So it would seem that there are perhaps multiple issues going on

I just tried the other transformer I have (a modem transformer) instead of the train transformer, the bulk of the noise was less than 4mV p2p, so quite a bit lower than with the train transformer. The train transformer provides current limiting by passing the current through incandescant bulbs so whether that would cause any additional noise I'm uncertain.

Tony.
Attached Images
File Type: jpg DSC_7322.jpg (77.6 KB, 22 views)
File Type: jpg DSC_7324.jpg (95.2 KB, 4 views)
File Type: jpg DSC_7328.jpg (82.0 KB, 5 views)
File Type: jpg DSC_7330.jpg (72.0 KB, 6 views)
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos
  Reply With Quote
Old 26th April 2011, 11:12 AM   #4
Mooly is offline Mooly  United Kingdom
diyAudio Member
 
Mooly's Avatar
 
Join Date: Sep 2007
A lot could be happening for sure.
When a probe is switched to "divide by 10" the scope it puts a 9meg resistor in series with the signal. Its not quite that simple as the probe then has o be compensated so that it accurately displays a squarewave without over or undershoot. Im mentioning that because it means the lead and part of the probe is at high impedance and prone to stray pickup. In "time 1" position it is a direct connection to the scope.

http://scope-probe-schematic.blogspot.com/

The modulation looking like audio suggests stray pickup from something... could the lead be acting as an antenna and picking up AM broadcast ?
The fact the scope can give a clean trace suggests there isn't a problem there.

In a domestic setting with all the "noise" and so on around you may struggle to get a clean trace... its very hard to say and diagnose without being there and trying stuff.

Your 4th picture looks pretty typical for just connecting a scope to the ground on a circuit.

I have seen similar with the scope connected across the speakers in a normal set up yet with all the equipment totally switched off... anything and everything picks up noise of various sorts.
__________________
-------------------------------------------------------
A simulation free zone. Design it, build it, test it.
  Reply With Quote
Old 26th April 2011, 11:55 AM   #5
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
Hi Mooly, I just rechecked the AM dial on a radio, and 1.6Mhz is most certainly within the ballpark (it goes up to 1.7Mhz) On the previous occasion I measured it appeared to be a 1.1Mhz carrier, it is definitely amplitude modulated as well. I'd previously discounted it (as being AM radio) because I'd misread the dial on the radio, didn't see the X10 and thought it only went to 170Khz.

Also my chip amp will act as a radio if I only insert the rca lead half way (ie only the tip but not the shield) so there could well be some strong AM signals around my home.

I'll keep my eye out for a 1:1 tek probe though I suspect it will cost me more than the scope did

The other thing that is a bit odd is that the noise was much lower the first day I did measurements, however I know that AM signal strength varies a lot with atmospheric conditions so could just be the signals were higher today.

Looks like my thoughts of being able to measure small changes due to differences in IN-OUT voltage differential and higher ripple on the input are not going to be possible not without building myself a Faraday cage and super mains filter anyway

Tony.
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos
  Reply With Quote
Old 26th April 2011, 12:25 PM   #6
SY is offline SY  United States
diyAudio Moderator
 
SY's Avatar
 
Join Date: Oct 2002
Location: Austin, TX
Blog Entries: 1
Just curious: was your radio on when you did the measurements?
__________________
“Listening to records is like ****ing a picture of Brigitte Bardot.” - Sergiu Celibidache
  Reply With Quote
Old 26th April 2011, 01:21 PM   #7
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
Hi Sy no it wasn't (I'd never listen to AM either!!)

The TV was on, but it was running off the HT PC which has a digital tuner card in it. I have no idea what that runs at, but in my first lot of tests, disconnecting the TV antenna from the wall socket made a BIG difference to the noise levels.

Just to make things more weird, I just did another measurement with the modem transformer, and the TV on but not playing anything. 5mV/div 1mS/div (on the second channel of the scope, and yes I did compare both before and they had the same results) and now it looks very clean in comparison except for a few points where there are some spikes... so whatever is causing the noise seems to be variable and intermittent.

The only other thing I did was adjust the probe in the 10X position, it had quite a bit of overshoot on the test squarewave built into the scope, whether that could have been causing problems in the 1X position though I don't know, but Mooly's comment about picking up stuff made me think it was worth a shot.

edit: oh and in the 2mV/division mode it looks a LOT nastier (much less stable and heaps more noise) I'm wondering if that may be causing some issues in itself, perhaps some problems with the extra gain. This last measurement was done with the TV arial connected, but the scope is plugged into a socket on the other side of the room (which it was for all of todays measurements)...

Tony.
Attached Images
File Type: jpg DSC_7331.jpg (66.3 KB, 7 views)
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos

Last edited by wintermute; 26th April 2011 at 01:25 PM.
  Reply With Quote
Old 28th April 2011, 06:28 AM   #8
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
So I decided to try again today. I unplugged everything from the power except the scope and the transformer, I got good results!

First pic is the input to the reg 2mv/div 10ms/div you can see from this that the CRCRC is doing a good job of cleaning up the DC!

Second pic is the output of the reg whilst drawing around 300mA (1st pic same load).

Third pic is with the scope switched to shorted input to show the minimum thickness trace I can get on this scope.

So overall I'm quite happy with that

Interestingly I just did some more measurements and the interference has come back. first measurements were this morning, so could be something that someone turns on in the afternoon (not in my unit).

I just measured the output of the reg with it feeding the square wave generator I just created, it seems it doesn't cope so well with the square wave generators power demands... 4th pic attached 50uS/div 2mV/div The square wave is around 9.2Khz.

Not sure if this is really a fair test though...

Tony.
Attached Images
File Type: jpg DSC_7343.jpg (95.3 KB, 7 views)
File Type: jpg DSC_7345.jpg (99.3 KB, 10 views)
File Type: jpg DSC_7346.jpg (101.7 KB, 10 views)
File Type: jpg DSC_7352.jpg (85.0 KB, 11 views)
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos
  Reply With Quote
Old 28th April 2011, 10:52 AM   #9
Mooly is offline Mooly  United Kingdom
diyAudio Member
 
Mooly's Avatar
 
Join Date: Sep 2007
Pleased you are figuring it out and getting better results.

Remember a regulator is very much like an amplifier and feedback network, The output of the reg is only correct and constant at one point... the point where the feedback and error correction is performed and its feedback return point. So on a three terminal reg the only meaningful test is with the scope on the reg ground and output pin. As soon as you move away from the reg (down wire and print) the output will not be as good due to resistive effects that develop unwanted volt drops etc. This is the problem with so called super regs that are hard wired onto a PCB. The reg itself may offer better performance than say a 7812 but once you feed it down a wire and so on the result at it's destination may be worse than a local 7812 right at the point where its needed.
__________________
-------------------------------------------------------
A simulation free zone. Design it, build it, test it.
  Reply With Quote
Old 28th April 2011, 12:19 PM   #10
diyAudio Member
 
Join Date: Sep 2004
Location: UK
You may also need to think about the 'scope ground.

If the 'scope is connected to mains ground using a standard 3 pin mains cable/ plug, all kinds of problems (simplest is a classic ground loop) can show up after connecting the probe ground clip in to a circuit.

I am NOT advocating the following as it is potentially unsafe, but in many instrumentation labs I have worked in there was a ground lift switch for the scope, opened up after the connections were made.

Plus suitable warnings, disclaimers and sirens going off!

Think safety first ....

An isolation transformer can also be used to good effect.

Last edited by cliffforrest; 28th April 2011 at 12:20 PM. Reason: Safety.
  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
do my frequency response measurements make any sense? JLC7 Multi-Way 481 20th August 2008 03:14 PM
Current sense measurements on amp/loudspeaker Gerrit Boers Multi-Way 115 30th April 2008 09:50 AM


New To Site? Need Help?

All times are GMT. The time now is 06:30 PM.

Page generated in 0.18286 seconds (85.86% PHP - 14.14% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio