Badcaps.net Forum
Go Back   Badcaps Forums > Electronics Theory and Troubleshooting > General Electronics
Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 12-23-2010, 02:34 PM   #1
Th3_uN1Qu3
On my level
 
Th3_uN1Qu3's Avatar
 
Join Date: Jul 2010
City & State: Bucharest
My Country: Romania
Line Voltage: 230VAC 50Hz
I'm a: Student Tech
Posts: 3,340
Send a message via Yahoo to Th3_uN1Qu3
Question Power supplies and Microcontrollers - do they really get along?

I'm seeing more and more power supply projects using micros. I don't think that's such a good idea - i'm quite apprehensive of letting a device that runs code control an offline SMPS for instance... But i see them even in higher power devices like spot welders and they seem to do fine.

Have you had any first hand experience with microcontroller based power supplies? Is for instance a cheap PIC fast enough to run a 100kHz SMPS? I'd like to get started in micros and a custom SMPS controller sounds like a good idea. I have my own 555-based controller that i designed, but in some areas it leaves to be desired. A micro would allow for more expansion.
__________________
Quote:
Originally Posted by PeteS in CA View Post
Remember that by the time consequences of a short-sighted decision are experienced, the idiot who made the bad decision may have already been promoted or moved on to a better job at another company.
A working TV? How boring!
Th3_uN1Qu3 is offline   Reply With Quote
Old 12-28-2010, 09:26 PM   #2
redwire
Senior Member
 
Join Date: Dec 2010
City & State: Edmonton, Alberta, Canada
Posts: 165
Default Re: Power supplies and Microcontrollers - do they really get along?

A PIC is fast enough but sensitive to EMI/RFI generated by the power electronics, which makes it crash. Your timer code must be perfect.

I rarely see all MCU type SMPS controllers. Any mistakes in your software, or an MCU crash can blow up the power-semi's. After the smoke clears the question comes up "what happened?" and you have no idea, it's too late. So testing and debug is very difficult.

Instead, I prefer a dedicated SMPS IC that gets controlled by an MCU (turn on/off/standby/Vout fine adjust etc.) If the MCU crashes or does something silly, no parts get damaged as the PWM IC keeps running and looks after things.
redwire is offline   Reply With Quote
Old 12-28-2010, 11:17 PM   #3
PCBONEZ
Grumpy Old Fart
 
PCBONEZ's Avatar
 
Join Date: Aug 2005
City & State: Phoenix, AZ
My Country: USA
Line Voltage: 120V 60Hz
I'm a: Professional Tech
Posts: 10,631
Default Re: Power supplies and Microcontrollers - do they really get along?

My computer needs a power supply but my power supply doesn't need a computer.
.
__________________
Mann-Made Global Warming.
- We should be more concerned about the Intellectual Climate.

-
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.

- Dr Seuss
-
You can teach a man to fish and feed him for life, but if he can't handle sushi you must also teach him to cook.
-
PCBONEZ is offline   Reply With Quote
Old 12-29-2010, 12:46 AM   #4
ratdude747
Super Moderator
 
ratdude747's Avatar
 
Join Date: Nov 2008
City & State: New Albany, IN
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Student Tech
Posts: 10,912
Send a message via Yahoo to ratdude747 Send a message via Skype™ to ratdude747
Default Re: Power supplies and Microcontrollers - do they really get along?

sounds like a way to jack up the pricetag and reduce usable life...

spot welders i can understand, as you want to get the amount of heat and therefore the amount of juice right on target... you don't want to overheat the metal, just fuse it. the reason you might want a microcontroller is so you ca select the metal to be welded and you can measure the resistance to calculate the correct power... the resistance is critical to making a spot weld work in the first place.
__________________


(Insert signature here)
ratdude747 is offline   Reply With Quote
Old 12-29-2010, 05:35 AM   #5
japlytic
Badcaps Veteran
 
japlytic's Avatar
 
Join Date: Oct 2005
City & State: Rockhampton, Queensland, Australia
My Country: Australia
Line Voltage: 240VAC 50Hz
I'm a: Hobbyist
Posts: 1,321
Default Re: Power supplies and Microcontrollers - do they really get along?

If I remember correctly, I have read about Gigabyte power supplies of which the output rails can be programmed.
__________________
My first choice in quality Japanese electrolytics is Nippon Chemi-Con, which has been in business since 1931... the quality of electronics is dependent on the quality of the electrolytics.
japlytic is offline   Reply With Quote
Old 12-29-2010, 09:12 AM   #6
PCBONEZ
Grumpy Old Fart
 
PCBONEZ's Avatar
 
Join Date: Aug 2005
City & State: Phoenix, AZ
My Country: USA
Line Voltage: 120V 60Hz
I'm a: Professional Tech
Posts: 10,631
Default Re: Power supplies and Microcontrollers - do they really get along?

I remember seeing some from someone? that called it 'programed' rails but in reality all it amounted to was adjustment pots to fine tune the OP voltage.
PCBONEZ is offline   Reply With Quote
Old 12-29-2010, 11:35 AM   #7
Toasty
Badcaps Veteran
 
Toasty's Avatar
 
Join Date: Jul 2007
City & State: East Coast, USA
Line Voltage: 220-221
I'm a: Professional Tech
Posts: 3,917
Send a message via Yahoo to Toasty
Default Re: Power supplies and Microcontrollers - do they really get along?

The Delta DPS-700FB uses a PIC chip on the daughterboard. All the sense lines run into that board.

Which brings me to the question, can the PIC be reverse programmed? Is there a way to "get the code" and change the parameters?

From Scenic's post thread: http://www.badcaps.net/forum/showthread.php?t=5998

Pictures:
http://bambooz.pytalhost.net/badcaps...0/image016.jpg
http://bambooz.pytalhost.net/badcaps...0/image020.jpg
http://bambooz.pytalhost.net/badcaps...0/image028.jpg
http://bambooz.pytalhost.net/badcaps...0/image029.jpg

Toast
Toasty is offline   Reply With Quote
Old 12-29-2010, 11:47 AM   #8
Wizard
Badcaps Veteran
 
Join Date: Mar 2008
Posts: 2,297
Default Re: Power supplies and Microcontrollers - do they really get along?

Well, There are some plasma panel SMPSes that have microcontroller to show error by blinking a LED and some other functions.

Cheers, Wizard
Wizard is offline   Reply With Quote
Old 12-29-2010, 01:35 PM   #9
PCBONEZ
Grumpy Old Fart
 
PCBONEZ's Avatar
 
Join Date: Aug 2005
City & State: Phoenix, AZ
My Country: USA
Line Voltage: 120V 60Hz
I'm a: Professional Tech
Posts: 10,631
Default Re: Power supplies and Microcontrollers - do they really get along?

Quote:
Originally Posted by Toasty View Post
The Delta DPS-700FB uses a PIC chip on the daughterboard. All the sense lines run into that board.

Which brings me to the question, can the PIC be reverse programmed? Is there a way to "get the code" and change the parameters?

From Scenic's post thread: http://www.badcaps.net/forum/showthread.php?t=5998

Toast
LOL, I actually have one of those but never needed to peek inside.
.
PCBONEZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -6. The time now is 01:12 PM.


Badcaps.net Technical Forums © 2003 - 2013
Powered by vBulletin ®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.