Author Topic: DIY Power Supply causing PC monitor to switch off (see video)  (Read 7148 times)

0 Members and 1 Guest are viewing this topic.

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Hey Guys,

So I've assigned myself the classic task of building a basic bench power supply. My setup as follows:
  • 50Hz 2A Center tapped transformer 240VAC to 15-0-15VAC
  • Full wave rectifier (1N4002) + smoothing caps (4700uF)
  • Some op amps and adc's driving a LM317 and a LM337 (controlled by an Arduino)
The supply is working great but what I've noticed is that when I turn it off, the Samsung LED monitor on my desk seems to brown out or something. Not every time but at least every second time. They're both connected to the same wall socket.

I cant seem to understand why this happening. As far as I know, transformers have a current spike when switching on but not switching off.

I've attached a link to a video of this happening. Any ideas as to whats causing this?

TL;DR

What is happening in this (short, 47 second) video?

Link: http://youtu.be/SAHdi3oygYs

Note: The popping sound in the video seems to be coming from my PC speakers. It's a lot less dramatic in real life I think.
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #1 on: March 16, 2015, 03:29:22 pm »
What happens if you disconnect the USB?
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #2 on: March 16, 2015, 03:33:19 pm »
With the Arduino powered from a "wall wart" the same thing happens. I don't think it has anything to do with the Arduino though. It was happening before I added the digital control.

Sorry I should have mentioned that before.
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline picandmix

  • Frequent Contributor
  • **
  • Posts: 395
  • Country: gb
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #3 on: March 16, 2015, 03:53:53 pm »
Long and loose wires like that will cause all sorts of problems.

More than likely that switch is the problem,  which looks like as small lamp switch, rather than something able to handle an inductive load like the transformer.

Try replacing the switch, shortening the cables and tidy the layout and see if that helps.
Also a switch contact suppressor might work, ensure its a proper mains rated devices.

If thats not the cause then try unplugging the arduino USB lead and see if that makes a difference.

« Last Edit: March 16, 2015, 03:57:19 pm by picandmix »
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #4 on: March 16, 2015, 04:20:57 pm »
I've removed the Arduino and the switch but the same thing happens. I haven't tried shortening the cable though.

How could this be affecting the monitor on my desk though? And only one of them at that?
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #5 on: March 16, 2015, 04:22:55 pm »
Try connecting the mains the other way, e.g. rotate it 180 degrees. What happens?
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #6 on: March 16, 2015, 04:29:51 pm »
Before I do that I just want to confirm my assumptions:

  • Swapping the live and neutral wires will have no affect on the operation of my circuit
  • The transformer is center tapped so 0V will still be 0V
  • Since this is AC it doesn't actually matter which is which
  • The full wave bridge rectifier will still ensure that V+ and V- are both coming out the same regardless

Safety first you know :P

Just out of curiosity what do you expect to be the outcome of this?
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #7 on: March 16, 2015, 04:35:51 pm »
Before I do that I just want to confirm my assumptions:

  • Swapping the live and neutral wires will have no affect on the operation of my circuit
  • The transformer is center tapped so 0V will still be 0V
  • Since this is AC it doesn't actually matter which is which
  • The full wave bridge rectifier will still ensure that V+ and V- are both coming out the same regardless

Safety first you know :P

 :-+

Quote
Just out of curiosity what do you expect to be the outcome of this?

Perhaps a common mode problem, life that lifts neutral, something like that. Perhaps nothing at all.

Deduction, my dear Whatson, deduction :)
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #8 on: March 16, 2015, 04:43:17 pm »
Ok, I've swapped the live and neutral wires around but this hasn't changed anything.

Could the switching on and off of the monitor be related to a sudden current draw elsewhere efffectively depriving the monitor of enough energy?
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline Ericho

  • Regular Contributor
  • *
  • Posts: 52
  • Country: be
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #9 on: March 16, 2015, 04:54:14 pm »
Use a double pole switch before the transformer.

 ;)
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #10 on: March 16, 2015, 05:00:04 pm »
Use a double pole switch before the transformer.

 ;)

Tried it without the switch at all and still the same result.
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #11 on: March 16, 2015, 05:12:48 pm »
Ok it seems as if the mystery is solved :)

I moved the transformer much further away from my computer and there is no effect on the monitor and speakers anymore.

My best guess is that the transformer was creating a large enough magnetic field to influence the functioning of my PC monitor.

So on to the next question....

What can I do about this? How do I shield my electronics from the transformer?
"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #12 on: March 16, 2015, 05:44:18 pm »
Million dollar question: is it the magnetic field of the transformer or the wires to the transformer that causes the pain?
Or perhaps the outlet?
 

Offline bitshiftTopic starter

  • Regular Contributor
  • *
  • Posts: 155
  • Country: za
  • Too much to learn, too little time
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #13 on: March 16, 2015, 06:44:23 pm »
I need to take my previous post back. JohnnyBerg it appears that the suggestions of unplugging the USB to the Arduino is the actual solution.

When remove the USB I still get a crack coming out of the speakers but no effect on the monitor.

I connected my scope to one of the wires coming out the arduino and into the breadboard. When I switch the transformer on the signal is nice and clean. When I turn the transformer off, I get a large transient on the wire.

Could it be that the changing magnetic field in the transformer induces a current on the signal wires from the arduino? This then somehow makes its way to my PC?

"It’s all fun and games until an innocent opamp gets hurt!" - Dave Jones
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: DIY Power Supply causing PC monitor to switch off (see video)
« Reply #14 on: March 16, 2015, 07:01:53 pm »
Quote
I need to take my previous post back. JohnnyBerg it appears that the suggestions of unplugging the USB to the Arduino is the actual solution.

It was my first though  :P

There are some smart people out there, who invented a isolated USB ..

Most common problem is current flowing though ground and earth. I am not a native English speaker, but in my language we call it a "current ground loop".

Solution is to connect all grounds to 1 common point, avoiding loops. That sounds simpler than it is, hence the isolated USB ;)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf