Go to Post please take the time to kick me in the butt. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 15-09-2007, 19:05
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,685
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: microcontroller picking up noise?

Phil,

Most consumer "UPS"s are, in fact, "SPS"s. Standby Power Supplies. So while there's still adequate power available from the mains, the SPS only filters it slightly before passing it along. A true UPS is always running its inverter from the DC supply that's charging the battery. FYI, anything that's going to really filter your power is going to run you around $100. That said, you're looking for a power conditioner or line conditioner. Be suspicious of anything that looks like a standard strip-plug.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #17   Spotlight this post!  
Unread 15-09-2007, 21:00
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: microcontroller picking up noise?

With my experience with micro controllers, a steady power supply is definitely required. Even with my Homework Board that I used to run my "Weather Alert" system with, simply flipping a switch on and off would cause the micro controller to freeze and reset. After I added a large capacitor to the input power insulated with diodes and a voltage regulator, the problem seemed to be fixed. I think a 5V voltage regulator, some diodes, and a fairly large capacitor may help you. I'm not familiar with PIC controllers though, so this may not work, but hopefully it does. Also, have you considered that something may be wrong with your oscilloscope? Maybe like it is "shocking" your setup causing your problems. I would listen to Al though, he seems to be a veteran at everything electrical. Good luck.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #18   Spotlight this post!  
Unread 16-09-2007, 16:52
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: microcontroller picking up noise?

Phil,
Since you had power line related noise when on battery, using a power conditioner is not going to improve anything. The distortion on the power line is an indication of a transformer failure. It can be caused by a variety of things including too much of a load for the transformer size. It can also be caused by the transformer arcing internally. The arcing coincidently can cause generated noise. Remember spark gap transmitters? Everything points to something locally generated. Where is the power line transformer in relation to your house? Have you tried taking your experimenter board to a friend's house a couple of blocks away? The display on the scope indicates a rather strong field.

Just to be sure, many appliances still maintain a power supply even when turned off. I came across a rather nasty TV power supply when I was trying to setup a ham station in a hotel room a few years ago. The only way to cure some things is to unplug them from the wall.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 17-09-2007 at 07:12.
  #19   Spotlight this post!  
Unread 16-09-2007, 17:18
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: microcontroller picking up noise?

Quote:
Originally Posted by Al Skierkiewicz View Post
Phil,
Since you had power line related noise when on battery, using a power conditioner is not going to improve anything.
If it's running only on the battery, it's fine. However, when I connect the scope (even only the ground), it starts acting up. I just tried a different board (smaller and without a metal back plate) and found that the problem is much worse. I can't even get the thing to turn on unless I start poking at things with my finger. And, yes, I'm sure it's the noise, not a bad connection.

Anyway, I'm two houses down from the transformer (probably ~100'). If I make one more run and eliminate everything inside the house, what should I do? Should I talk to the power company?
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #20   Spotlight this post!  
Unread 17-09-2007, 07:23
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: microcontroller picking up noise?

Phil,
This is a strange one, that is for sure. It is possible you have a bad ground connection in the house. At the entry point, (usually the power meter or the electrical breaker panel) the neutral must be tied to a good earth ground. Usually this is a green wire tied to water pipe. (It depends on local electrical codes.) Sometimes this wire goes inside the panel and sometimes it just connects to one of the conduits near the panel. Check that all connections outside the box are tight and not corroded. DO not enter the box. This is the realm of a professional. If you still can't find a cure, it might be time to call the power company. You said in an earlier post that line operated AM radios had hum (off station) but battery operated radios inside the house did not. If this is the case, it just adds one more piece that doesn't fit.
I still would like to see what the effects are at a friends house or at school. It sure seems like there is a lot of noise riding on power wiring or ground connections at your house.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #21   Spotlight this post!  
Unread 17-09-2007, 11:59
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: microcontroller picking up noise?

Uh... can you try making up your own power supply on board? Maybe as simple as just a low-value resistor and a capacitor to filter out high/low frequency noise... maybe wrap your incomming power wire around a ferrite to cut ultra-high-frequency harmonics.

Strange problem... but i sympathize. I had a motion control board I built this summer that worked ONLY when the scope was connected. So... I feel you.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #22   Spotlight this post!  
Unread 18-09-2007, 12:15
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: microcontroller picking up noise?

I emailed the power company, but I haven't gotten a response yet (not that I'm really expecting one). I looked at their power quality info and, from what I can tell, this kind of noise isn't their responsibility. If I were feeling really adventurous, and I could prove that the power lines are radiating, I could probably get the FCC involved...

Anyway, I wanted to run an experiment, but I wanted to make sure that I won't hurt myself. My scope, of course, has a ground screw on the back. If I find a suitable ground for it (maybe a water pipe or the one that the cable guy seems to have installed on the breaker panel), I want to try grounding it directly. Is this a worthy/safe experiment?
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------

Last edited by sciguy125 : 18-09-2007 at 12:27.
  #23   Spotlight this post!  
Unread 18-09-2007, 13:35
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: microcontroller picking up noise?

Phil,
If you cannot find a connection to ground for your breaker panel then you might try a different experiment. If you scope has a three wire power cord, plug it in near where the water enter the house. Then touch the scope probe center pin to the pipe and see what kind of noise you get. If you get no noise, then the electrical system is likely grounded to the water pipe. If the noise is a higher level then at your bench, there may be something wrong with your house. If that is the case and you cannot find a tie in to the water pipe, the cable attachment may have made things worse. I would suspect you have a ground connection but it may be loose or corroded. If you do find the connection, you may want to use an alligator clip to shunt it directly to the pipe and see if things improve.
The power company first response is to say they are not responsible for fixing noise. If it originates in their equipment, it is most definetely their responsibility. I have never had to call the FCC on these matters when I have told them I am looking at their line with a scope. The only way for you to actually look at the line with a scope is through an isolation transformer. Some scopes allow you to display the trigger signal which would give you the same thing. If your scope has a "trigger view" or "view trigger" or "display trigger" function, then select that and then select "line" trigger to see what is coming in the power line.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 18-09-2007 at 13:37.
  #24   Spotlight this post!  
Unread 18-09-2007, 16:18
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: microcontroller picking up noise?

I figured it out! (mostly...)

It was indeed a ground problem. None of the outlets in the house are grounded. I know that because I personally replaced all of the old 2 prong outlets with GFCI about 2 months ago.

I discovered, using my meter, that the outlets in the garage are properly grounded. (Acutally, I guess it only proves that ground and neutral are connected at some point, not that the system is properly grounded...) My mistake was thinking that the distortion I was seeing in the line was the cause of the problem. So, when I was trying to find what was causing it, I only looked at my scope, not the problemed circuit. After using an outlet in the garage to test my circuit (with a real power supply rather than the transformer...I can't find it right now) it works fine. Not surprisingly, the distortion in the line is still there. So, that distortion isn't the problem, the ground is.

So, I've figured out that to work, all of my equipment needs earth ground. Using a 2 to 3 prong adapter (isolating ground) makes it mess up again. Why is this? I would have thought the opposite would be true.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------

Last edited by sciguy125 : 18-09-2007 at 19:48.
  #25   Spotlight this post!  
Unread 18-09-2007, 22:14
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: microcontroller picking up noise?

Phil,
You have to look at what is causing the noise to be displayed on the scope. If the scope does not have a ground reference either through the power cord or the ground clip on the probe (or both) then everything that the scope is connected to is now 'raised' above ground. This means that everthing between the scope and a real ground is acting like an antenna and inducing noise in that resistance. Old Ohm's Law comes into play, an induced current through a finite resistance develops a voltage across the resistance. You still have a noise source in your neighborhood and I still suspect it is power related due to a transformer or insulator defect. You have just found out why everything is picking up the noise and one method to minimize it. I think you will continue to be plagued by this and will eventually find it. I am reminded of a broadcast problem where a radio station had lots of noise and it was being picked up by everything in the studio. A search with a scope showed excessive noise on the ground buss of the audio console. A bright engineer noticed that the noise was audio modulation. When they detected the noise they found it was the competitors transmit signal. A quick search showed that the competitor was licensed at an address outside of town so no one thought it would be a problem. However, the studios were located outside of town, but the transmitter and antenna were on the building across the street. Normally radio studios keep the drapes closed but when someone opened them for some light, there was this antenna directly across from the studio window. Keep searching and you will find it.
Good news that annother problem has been solved.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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
Propeller Microcontroller Adam Y. Electrical 4 20-04-2006 13:27
microcontroller for rocket. Salik Syed Technical Discussion 18 07-01-2006 01:25
Vex Microcontroller Model petek Inventor 6 13-12-2005 15:24
microcontroller selection¿ Rickertsen2 Programming 11 25-05-2003 10:52
Noise Makers!!!! skitz547 Chit-Chat 26 02-02-2003 00:30


All times are GMT -5. The time now is 06:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi