Jump to content
43oh

Cheap circuit for powering MSP430 from 230V


Recommended Posts

@nuetron: Close, but that design will vary depending on the load.

I would've linked you directly but this is a new account so I can't post URLs. Do a google search for "Make a Transformerless Power Supply - Bright Hub". It should be the top result.

 

The last one on that page is the best since it electrically isolates the circuit from the mains. This one produces 12v that is somewhat regulated by the zener diode. I would then put a typical 3.3v linear regulator at the end to power the msp430.

Link to post
Share on other sites

Regarding the brighthub link (thanks), another forum was very critical and said it wasn't isolated. I guess a cap can isolate dc, but ac?? Don't think so. I never really listened when my lecturers talked about ac...

 

http://www.electro-tech-online.com/elec ... esign.html

 

And thanks, RobG for that post. Can't believe I missed it in my search.

Link to post
Share on other sites
another forum was very critical and said it wasn't isolated

Its isolated enough to be safe. With both hot and neutral wires having a cap on them, it allows the circuit's DC component to float to match the chassis/person handling it. As long as the capacitors are small, they will not be able to transmit enough AC current through them to be able to do any damage. In fact, I'm quite sure the little USB wall-plug adapters for your cell phone use capacitive coupling the same way.

The forum you linked did bring up a few good points, although a little bit of an overreaction. Probably want some higher-rated capacitors on the mains end. Also, the linked PDF does a nice job explaining the concepts. Either way, If you end up doing a transformerless design I'd still recommend using caps on both Hot and Neutral lines. Never assume that neutral is actually neutral. Always assume that a bad electrician/cocky homeowner will muck this up and then you'll have "ground" be at 230 VAC in relation with the real ground.

Link to post
Share on other sites

Many cell phone USB chargers and laptop chargers today can switch from 120V/230V without a issue. Cause its cheaper to make one set of internals for everything then not nowadays. Check the back of your chargers, you might have one waiting and available already. World wide all companies do is change the plastic plate that faces the wall with the appropriate plug configuration during manufacture in their last operation so it costs no where near as much as running dedicated lines producing different adapters for different markets. Or in the case of laptop AC Adapters is provide you with a different 3ft length of cable with the appropriate plug attached to that instead of the expensive part (the AC/DC adapter itself).

 

My Nokia cell phone charger is rated for a input of 100V-240V @ 50-60Hz and outputs 5V DC at 1.2A.

 

As the examples closest to my desk that will give you your 5V DC and if your really cheap to drop the $5 5V power from the adapter do what oPossum does, use a LED to drop it down to ~3V.

 

 

Jim

Link to post
Share on other sites
another forum was very critical and said it wasn't isolated

Its isolated enough to be safe. With both hot and neutral wires having a cap on them, it allows the circuit's DC component to float to match the chassis/person handling it. As long as the capacitors are small, they will not be able to transmit enough AC current through them to be able to do any damage. In fact, I'm quite sure the little USB wall-plug adapters for your cell phone use capacitive coupling the same way.

The forum you linked did bring up a few good points, although a little bit of an overreaction. Probably want some higher-rated capacitors on the mains end. Also, the linked PDF does a nice job explaining the concepts. Either way, If you end up doing a transformerless design I'd still recommend using caps on both Hot and Neutral lines. Never assume that neutral is actually neutral. Always assume that a bad electrician/cocky homeowner will muck this up and then you'll have "ground" be at 230 VAC in relation with the real ground.

 

Thanks. I'll test the circuit. In Norway, where I live, many installations have both wires as live. Something like 135 V compared to ground, but 235v between the two live wires.

Link to post
Share on other sites
Regarding the brighthub link (thanks), another forum was very critical and said it wasn't isolated. I guess a cap can isolate dc, but ac?? Don't think so. I never really listened when my lecturers talked about ac...

 

http://www.electro-tech-online.com/elec ... esign.html

 

This type of capacitive reactance supply can be safe and effective if properly designed and implemented.

 

That link, however, is a very flawed and unsafe design. There are critical components missing and improper component selection. The explanation of how it works is inadequate and significantly incorrect.

 

Using this type of power supply seems like a bad idea if you are unable to recognize the errors in designs posted on the internet.

Link to post
Share on other sites
Another circuit idea: http://www.falstad.com/circuit/#%24+1+4 ... 05+1+-1%0A

 

This one uses a 3v zener, and uses the output as a reference.

Have a look at this: http://www.falstad.com/circuit/#%24+1+4 ... -4+2+-1%0A

Just an idea I've been toying with. Don't trust the simulator completely, I've fooled it on many occasions! :P

 

I've noticed that you're using 230V on the AC supply on the simulator. You have to use 330V there as the simulator uses that as the peak voltage, and the 230V AC rating on mains is RMS. Using the correct mains supply makes your first circuit output over 4V, and the second one get's a big current spike.

Link to post
Share on other sites
I've noticed that you're using 230V on the AC supply on the simulator. You have to use 330V there as the simulator uses that as the peak voltage, and the 230V AC rating on mains is RMS. Using the correct mains supply makes your first circuit output over 4V, and the second one get's a big current spike.

In the second design a TL431 variable shunt regulator can make the Vout adjustable, and change the caps to 1000uf to make the current spike negligible.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...