Pro/Forums

Pro/Forums (http://forums.procooling.com/vbb/index.php)
-   Brian's WorkLog (http://forums.procooling.com/vbb/forumdisplay.php?f=36)
-   -   Mobo designer speaks out (http://forums.procooling.com/vbb/showthread.php?t=10529)

Brians256 09-17-2004 11:27 AM

Mobo designer speaks out
 
I saw these on Slashdot, so who knows if any of this is true. However, I know enough to say it sounds plausible.

This is a mostly one guy talking about how to design the CPU power supply on the motherboard (and the same applies to the other DC-DC units on the motherboard).

Quote:

Originally Posted by jimmyswimmy
I used to design motherboard power system components, and the author spends a good bit of time talking about that. That is actually the most complicated part of the board design, as it is not at all automated. Most component vendors try to sell a complete solution to the motherboard vendor, easing their job somewhat while helping the sales of the component vendor.

One particularly interesting item of note: all those capacitors the author describes are absolutely crucial, and together form one of the largest cost items on the board. The system is tested using a processor-vendor-supplied "load tool" which simulates the worst case load transients one can ever expect to see. Most of that testing is done by the power system component vendor and then provided as a block to the motherboard vendor. Most motherboard vendors have no idea what they are doing there.

In fact, a lot of the foreign manufacturers (no names) cost-reduce their designs by simply pulling out caps until the system blue screens. Then they put the last one back in and sell it. Intel is the only manufacturer I am aware of that actually sells the worst-case performing design.

Note that I am only aware of products related to Intel-type motherboards. I never worked on the othe stuff.

Quote:

Originally Posted by Anonymous
I always leave 3 or 4 no stuff capacitors (Bulk and HF)on the motherboards I work on (and I AM a power engineer). That way when I do buy one of these systems I can add the extra caps fairly easily and I'll get a system that I can actually trust.

I find that the industry is only now starting to appreciate how difficutly power supply design is.

-Coward cause I don't want my boss to hear (Empty Caps locations means harder buss routing because the vias go alllll the way through the MB)

Quote:

Originally Posted by Anonymous
Something you should be aware of concerning inductors is that if they are ferrites, their optimal temperature is usually 100 C. That's where they have the least losses. So the inductor will quickly heat up to 60 C or more, but once there is will actually have lower losses. (The difference can be a factor of two for some materials and frequencies.)

You don't actually want to design your inductors to run at 100 C though, since losses increase above that, which can lead to thermal runaway (mmmm, fried computer!).

Quote:

Originally Posted by jimmyswimmy
In the design of a CPU motherboard power supply, I suppose my two biggest concerns were heat and transient response. In dealing with the heat issue, you have to select the "best" components to make the system work. In other words, the cheapest set that will work. That's not trivial at all. First you decide how many phases to work with, considering that the norm is about 25-30 A per phase maximum. Then you pick a frequency. The operating frequency of the multiphase converter determines the inductors you use, and those get HOT at high frequency, due to core loss effects. Then the MOSFETs, and you parallel however many as are necessary to keep the heat down while also keeping the cost down -- usually an empirical selection process (hours upon hours in the lab learning what works and what doesn't).

On the other side you're dealing with transient response. That is, the CPU is working hard, decoding your DVD's and playing MP3's and all that other sht. And then, suddenly, it's not doing much at all. The load goes from, say, 110 A to 10 A, or at least that's how the design might go. Now you have to select capacitors to deal with that. These capacitors are selected based on some specified parameters, such as raw, bulk capacitance and ESR, as well as some unspecified ones, such as ESL and whether or not you have any in the lab. And they are tested and tested to death. It's amazing how much component placement and orientation can matter.

In the field, you do not have the tools to test the resulting design, so it's not a great idea to dick around with the decoupling solution. But for fun, if you had a motherboard to mess around with, you could try replacing whatever existing bulks with the smallest Sanyo OS-CON's you can find, or some of those sweet Fujitsu yellow caps, I never found a part number. If the total C is at least the same as what you had, it "might" work.

As far as MOSFETs go, to replace them you're mostly worried about heat. For the high side switches, you worry about gate charge Qg and thetaJA, the lower the better. For the low side switches, RDSON and thetaJA, the lower the better. The high side switches aren't on very much (only 1.5/12 of the time) and depending on the switching speed they will generate a lot of heat. So we want good switching capability out of them. The lowside switches are on 10.5/12 of the time so we want them to conduct well, with low resistance.

But if you replace the MOSFETs, and you happen to find low side switches with too high gate charge, the existing drivers may be unable to deal with them, and so you are screwed. Drivers can be tough, depending on whether or not they are standard. There is a fairly standard SO-8 format for driver pinouts that is ignored as often as it is accepted.

In short, there's not a lot you can do. Replacing inductors is too hard to do right, and same with the power design. Best bet, go with the Intel design (and no, I don't and didn't work for them, and I don't own stock in them, I just understand their methodology). If not, then buy the motherboard with the most phases (most big inductors around the CPU). That means the lowest current per phase and, if well designed, the best future CPU upgrading capability.

All quotes taken from this forum thread. It was a thread talking about MBReview's article on motherboard design (fairly basic, trying to cover too broad of an audience by having both beginner and advanced concepts in the same text).

pHaestus 09-17-2004 11:34 AM

Really interesting quotes and thread Brian

Brians256 09-17-2004 11:35 AM

What I find most astonishing (and frightening) is that the mobo designers have such a limited amount of time to design that they simply try out different components in a generic design to see it it will work.

In other words, slap in a couple of these caps here and use these MOSFETs and inductors that are mostly the same as the reference design and see if it works! The worst case scenarios might need more capacitance, but hey! it runs WinDVD, so it must be OK. Ship it!

Sounds like the easiest way to "improve" the on-board DC power supplies is to add some very low ESR filter caps and keep the MOSFETs cool. In other words, not much we can easily do. :(

pHaestus 09-17-2004 11:41 AM

It puts the rationale for never buying a new via chipset-based mobo without an "A" at the end though doesn't it?

I also remember clearly the voltage regulation issues on a few mobos I have owned when you pushed them. Puts that into perspective a bit too.

bigben2k 09-17-2004 04:58 PM

It all sounds like straight forward talk.

The advice about swapping caps is one I'd ignore, unless one knows precisely what one is doing.

Otherwise I know that Asus is one of the rare board designer that's at the top level for development with Intel. Beats me why they still use the same old phase scheme though.

I've had a chance to see many ads in electronic magazines for plug in power modules. There's an astounding number of them out there. I guess that's the future?!?

Groth 09-17-2004 07:29 PM

Quote:

Originally Posted by pHaestus
It puts the rationale for never buying a new via chipset-based mobo without an "A" at the end though doesn't it?

You could easily have a well designed board with a crappy chipset, or vice versa.

Quote:

Originally Posted by bigben2k
Beats me why they still use the same old phase scheme though.

Huh?

Not a bad article, but needs editing for spelling/grammar/clarity.

nicozeg 09-18-2004 05:58 PM

exellent read. :) I only recomend cutting the couple Intel adds in between! :p

bigben2k 09-18-2004 06:40 PM

Quote:

Originally Posted by Groth
...
Huh?

...

Check this out:
http://www.overclockers.com.au/article.php?id=76562
(a classic, linked many times here).

There's a perception out there that Asus' scheme of using only 2 phase is a bad thing.

I'm not sure where they stand on that today, but I haven't heard of any changes.

Oops, here's a change:
http://www.xbitlabs.com/articles/mai...p4p800s_2.html

Asus is now on three phase, at least for Intel. Looks like they still use a 2 phase system on the A7N8X-X:
http://www.devhardware.com/c/a/Mothe...sus-A7N8X-X/4/

SysCrusher 09-18-2004 06:51 PM

Stupid question. I know nothing of electronics or electrical other than my house. What about changing out the caps for bigger better ones? Maybe faster switching mosfets?

bigben2k 09-18-2004 07:00 PM

The problem is that it adds to the load, on startup. Otherwise it won't have any beneficial effects, since they wouldn't filter out anything, really: they're just there to pickup the transients on the phase switches (from my limited understanding).

Brians256 09-18-2004 07:06 PM

Quote:

Originally Posted by SysCrusher
Stupid question. I know nothing of electronics or electrical other than my house. What about changing out the caps for bigger better ones? Maybe faster switching mosfets?

Well, this is not my field (fascinating as it is), but I believe that you cannot replace these caps with bulk capacitance units and get good results.

One factor that I know of is ESR. ESR is equivalent series resistance. It is the amount of resistance current encounters going in and out of the capacitor. So, at high frequencies, it means that slows down the filling and emptying of the capacitor. When a capacitor is used as a filter (to keep voltage steady instead of choppy), it lets high-frequency waves exist instead of smoothing them out. High capacitance caps usually have high ESR, so they are good at delivering large quantities of current, but not instantaneously. They handle low frequency high magnitude ripples.

Also, adding bulk capacitance could interfere with startup. Large capacitors act like a low resistance (ESR) short to ground until they are "filled". So, excessive capacitance can actually burn out or at least stress the circuitry leading up to them. Modern DC-DC controllers probably have a soft start algorithm though I'm not sure if this would completely take care of this issue.

This is just scratching the surface. The output filter is actually designed as an LC filter, and it is tuned for the given components. The output filter should be modelled to see what values *should* be there. Increasing C might be good if you change the inductance value at the same time. Go up or down? You know the answer to that? I'd have to look it up and then trust that I'm reading the book right. A more effective filter might actually be more complicated than an LC filter. How many nodes do you want to involve in the filter?

My hope is that we'll convince someone smart like Groth to add some tidbits here and there, although I think he's on record as saying we're too uneducated to actually make a positive difference on this area of a mobo without getting lucky.

Quote:

Originally Posted by Groth-Clone
You have no idea what you are doing. Buy a quality board to begin with or get an EE degree.

:D
Get an EE degree

nicozeg 09-18-2004 07:06 PM

thats the thing that needs to be reduced. switch transients increase a lot at high power demand, and can make a noise big enough to mess cpu signals.

jaydee 09-18-2004 07:38 PM

Quote:

Originally Posted by SysCrusher
Stupid question. I know nothing of electronics or electrical other than my house. What about changing out the caps for bigger better ones? Maybe faster switching mosfets?

Not sure but faster switching mosfets may **** up the drivers. I think I read that in the quotes.

Quote:

But if you replace the MOSFETs, and you happen to find low side switches with too high gate charge, the existing drivers may be unable to deal with them, and so you are screwed. Drivers can be tough, depending on whether or not they are standard. There is a fairly standard SO-8 format for driver pinouts that is ignored as often as it is accepted.
Maybe that dosn't have anything to do with faster switching mosfets though.

Looks like Brian covered the caps.

Interesting thread.

Groth 09-18-2004 08:20 PM

Quote:

Originally Posted by Brians256
Quote:

Originally Posted by Groth-Clone

You have no idea what you are doing. Buy a quality board to begin with or get an EE degree.

Hey! I can come up with stupid and insulting things to say all on my own! :p

I'm no expert by any means, but...

Like the guy Brian quoted earlier, changing the MOSFETs may save you little heat, but it won't appreciably affect Vcore quality. The only effect that might be noticable would be a decrease in ground float at high currents, sort of a small scale droop-mod.

Forget changing the inductors. Not only are they a total bitch to remove (yes, I've done it) but their value is largely determined by the switching freqency (which you can't change). If you want to change 'em anyway, you've got a compromise: lower values will reduce the transients caused by changes in power demand, but store less energy so you get more ripple during constant demand. Higer values give smoother power during constant demand, but bigger transients when demand changes.

The active-droop that Intel specs call for (and people mod to remove) is to help deal with these inductor transients. Reduce the Vcore under load so the high voltage transient from going to idle doesn't kill, increase Vcore at idle so the low voltage transient from going to load doesn't cause crashes.

For the caps, not only the capacitance value and ESR need watching, but the ESL (effective series inductance). Electrolytic caps are rolled, so they always have some inductance, but it's harder than hell to get numbers. Like ESR, ESL will limit the caps ability to absorb a transient, and also allow noise at a specific frequency through, noise than needs to be killed (with a ceramic cap near the CPU, usually).

If you want to play with the caps, add more in parallel instead of replacing (kinda like the engineer who talked about leaving unstuffed holes he could fill at home :) ). Paralleling increases capacitance and decreases ESR and ESL, so you're not likely to cause problems (if you keep the leads short).

Realistically, you're unlikely to make any positive changes.

freecableguy 09-18-2004 09:44 PM

Quote:

Forget changing the inductors. Not only are they a total bitch to remove (yes, I've done it) but their value is largely determined by the switching freqency (which you can't change).
Untrue! I can show you EXACTLY how to change the switching frequency! It involves changing ONE SMT resistor for the PWM controller. Couldn't be easier. Now, would I suggest doing this....no, not really...

nicozeg 09-18-2004 09:57 PM

Quote:

Originally Posted by freecableguy
Untrue! I can show you EXACTLY how to change the switching frequency! It involves changing ONE SMT resistor for the PWM controller. Couldn't be easier. Now, would I suggest doing this....no, not really...

That's interesting. It would not be the firt time i solder an smd for a volt mod :D

now the question is wich way is usefull to go when in an amp hungry overclocked situation? Higher or lower frecuency?

Groth 09-18-2004 11:28 PM

Okay, yeah some VRM controllers use external caps and/or resistors to set the frequency.

Lower frequencies will mean cooler MOSFETs and inductors, but more ripple and transients. Higher will mean more heat and a smoother output. But if your inductors get too hot, thermal runaway and everything dies.

zoson 09-19-2004 04:10 AM

Reading this, my 8k7a+ came to mind... :O 2 phase power... It's a small wonder the board blew up so many times, and it's a miracle that it ran so fast.

You know what? Everyone bitches about keeping the mofets cool at high frequency. Yet we already see MANY motherboard manufacturers adding cooling solutions to them. This brings up an interesting question: Are the power designs going to get even worse simply because we're treating symptoms with brute force cooling? "hey! we can save money by making a two phase solution again and cooling it with an obnoxious 'overclocking' feature!"

This also opens up an interesting new DIY idea for those who have the experience. Can we get schematics for these power supplies, and can we effectively analyze and FIX the problem ourselves? Personally, when I was taking VLSI I could barely follow the examples our professor gave. I can't imagine having to look at a design I know nothing about and fix it.

freecableguy 09-19-2004 04:01 PM

Information for the PWM controller and buck/boost controllers for the MOSFETs are amazingly simple to follow. The best thing I have found to keep the MOSFETs cool has been the installation of a TEC to my system. Since they are located so close to the CPU the board actually keeps them at 20C or below. Amazingly simple....plus I have used AS epoxy and heatsinks on them (Al) with a big 12cm fan providing about 80CFM to them...

DrMemory 09-19-2004 06:46 PM

Quote:

Originally Posted by Groth
Okay, yeah some VRM controllers use external caps and/or resistors to set the frequency.

Lower frequencies will mean cooler MOSFETs and inductors, but more ripple and transients. Higher will mean more heat and a smoother output. But if your inductors get too hot, thermal runaway and everything dies.


Resistance in the inductor windings increases with temperature. When the resistance increases, current decreases and temperature goes down. They can't go into thermal runaway. MOSFETS are also immune to thermal runaway. However higher MOSFET temperatures mean less current from the power supply and a decrease in output voltage if the CPU needs more current can be supplied.

Another way to decrease MOSFET temperatures is to replace the ones on the motherboard with ones with lowest RSDON. These cost more which is why the best ones may not be used on motherboards. If all the other MOSFET parameters are the same, this should cause no problems.

Groth 09-19-2004 07:23 PM

The permitivity of ferrites changes with temperature. Get it too hot and more of the energy that is intended to be stored magnetically will be lost as heat, temperatures rises, more is lost to heat, etc.

DrMemory 09-19-2004 08:44 PM

Interesting. I've never heard of thermal runaway in magnetic circuits. But then I've done very little research or work with magnetics in power circuits.

Groth 09-19-2004 10:47 PM

I'm no magnetics expert either, those stupid B's and H's and how they interact really messes with my brain.

KnightElite 09-21-2004 12:18 AM

No kidding. I'm taking a Power Systems class and a Magnetic circuits class right now ;). Power Electronics is coming up either next term or next year, can't remember.

Fun fun fun... ;).

Nice thread you found Brian, interesting discussion thus far.

zoson 09-21-2004 05:28 AM

What I was getting at freecableguy is the possibility of adding more phases to the power supply via a secondary PCB attached creatively to the existing power supply on the mainboard. We did see ASUS do something similar to this for THG and their 100 Amp modification for their a7n8x deluxe.

Groth 09-21-2004 03:49 PM

I have seen two phase boards where the VRM controller was capable of three and four phase. The fun will be getting the MOSFET driver that matches the controller IC. And if you can't get MOSFETs and inductors that match the existing ones, you'll have to swap out the ones on the mobo.

Probably easier/cheaper just to buy a good board to begin with.

jimmyswimmy 09-27-2004 08:04 PM

Oh so cool
 
Wow, I am such a narcissist, I googled myself and this was the first result. I'm honored to be quoted like that. And in case you're asking yourself, does this guy have anything better to do than google himself, it's either this or mow the lawn.

Anyway, I thought it would be fun to drop in. And to respond to a couple things I read here... if anybody is interested. This actually got a lot longer than I expected it to. Guess I wasn't as bored at this job as I thought I was.

1. I realized some of the context is gone, so I'll fill in. Up until a few months ago I designed power supplies for a "leading" semiconductor company. I made reference designs to help out manufacturers. Then I got bored (board, hah!) and changed careers.

2. Motherboard designers don't have time to do much of anything, actually. The designers I worked with wanted me to give THEM a finished design that they could just copy and paste onto their board. The most part of their designs involved cost reduction - literally, removing output capacitors until it blue screened and then putting the last one back (the one that broke the camel's back, so to speak). Crazy.

3. As far as the way designs go, a lot of that is due to poor specifications. It's really hard to specify ESL (equivalent series inductance) of a component, because it's hard to test reliably. So you don't really get that data from manufacturers. Which means your design is pretty much plug and play, the hard way.

4. Yeah, changing inductors is a cast-iron bitch. I did it EVERY day and was never happier when I could get my technician to do it for me. The only thing worse is changing thruhole caps -- at least the L's have big holes. It takes forever to clean out those little 30 mil cap holes.

5. Changing switching frequency is easy. Like someone here said, it's almost always just a smd resistor. Could be a cap but you don't see that much. Almost all the parts are Intersil (HIP6xxx) or Analog Devices, can't remember their part numbers. ON Semi makes some, but you don't see them much lately, same with Fairchild. Richtek is the dirty cheap solution, as I recall. But AD and ISL are the big players of late.

6. For the real adventurous types, you can change the droop/AVP/active blah blah blah, the load line/output resistance whatever you like to call it. That's only a two resistor change, typically. But it totally affects the whole dynamic load response, and you want to be pretty careful about that.

7. The real problem with changing the output caps is all because of this: A modern CPU supply is basically a bunch of parallel inductive current sources. When you go from pulling a 100 amps to almost none, all the energy stored in your inductors (0.5*LI^2 for those following along) must go somewhere. The cheezy way of thinking about that is that you have a bunch of caps (C) and a maximum allowable voltage rise (V) so that the 0.5*LI^2 = 0.5*CV^2... but in practice it's nowhere near that simple. Unfortunately. Or fortunately, because it kept me employed for quite awhile. All of those parasitic elements in the capacitor and in the board result in more than the ideal number of caps.

8. Magnetics design is a royal pain. Besides, the magnetics design interacts so strongly with the rest of the system that you're not done until the whole thing works. Say you pick an operating frequency and inductor design, you might need to reduce the L later to get the dynamic performance in spec. Or you might need to increase the L to get the heat down. And inductor core loss is still a near complete mystery to me. When I need to know it, I look it up on the "nomograph" (chart, but that's what they call it for some reason).

9. Power loss in the MOSFETs is easy to calculate. You can come up with a very good estimate of efficiency before even putting one board together. For the high-side MOSFETs power loss in the existing switch is proportional to switching frequency. For the low-side MOSFET the power loss is only related to frequency by the fact that higher frequency reduces the ripple current... and that gets pretty technical. Anyway when you pick MOSFETs you have to really worry about what the drivers can actually drive (the gate of a FET is basically a capacitor) and how fast it can do so.

10. Component temperatures interact with one another in interesting ways. You can model this with some really expensive software that my company wouldn't buy me (nor budget me the time to use it anyway). I spun many a board just to move some parts around or add thermal vias to reduce maximum temperatures. If you have two heat generating parts next to each other that are each 80 degrees and move them closer, they could be 100 degrees. And then you have to worry about the FR-4 board material "glassifying", which doesn't happen until over 100 degrees but that's not a number you want to get very close to.

10. KnightElite-- power electronics is a huge and rewarding ($) field. Learn it and, more importantly, get your HANDS ON some stuff. Do whatever you have to do to get in a lab. Almost all of electronics is not what the book tells you but rather it is figuring out what parasitic element you didn't count on. You can significantly reduce component stresses (say, peak voltage) through good layout techniques, which you will never learn in a book. Hell, most power product manufacturers neglect this stuff in their datasheets. And also, TI has some pretty good app notes describing buck and boost regulators. Starting from square one... they're basic but a pretty good primer. Oh yeah, don't forget to learn your controls stuff. Loop compensation is pretty essential too.

Well, that was a whole lot of fun. It was really nice to see that some people were interested in the work I used to do. I hope this is useful to someone and will be glad to answer questions if anyone is still interested. And now, since it is an option, I will round out this post with as many barfing smileys as I am allowed.

:drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool: :drool:

15 barfing smileys. too sweet.

p.s. Oh yeah, the multiphase thing. Most of the time when a system has multiple phases they are switching in an interleaved fashion, that is, only one phase is on at a time. In fact that's 99% of the time. I once saw a board with four separate power stages which all turned on and off together. Crazy, but dirt cheap. Anyway, if you add an extra parallel power stage, you could actually make things worse. One time I built a three phase board and the stages were not sharing correctly. I had a 90 A load (for this VRM board) and one phase was putting out 15 A, another phase was putting out -10 A, and the other phase was putting out 85 A. I ran it for 10 minutes to "warm up" heh heh heh. (ran out of smileys). A couple things from that. First, when I measured temperature, the inductor was over 250 C. Second, I burned the shit out of my hand. Third, I have never actually seen an inductor turn its paint a different color, have the paint actually fall off, and the inductor break into chunks. I was actually pretty proud of that. The pieces went in a bag and I stuck it on my wall of shame.

So the lesson is, even the so-called "experts" can have trouble with current sharing, and the road to hell is paved with good intentions. Your board probably works fine. If you want to make it better, add cooling (preferably passive, second choice airflow, third choice heat pipe and way last is liquid/gas cooling... too much mess if it breaks). Don't add extra output capacitors because you could screw up the control system and make the power supply go unstable (KnightElite -- take those controls classes too!).

Later all.

jaydee 09-27-2004 09:46 PM

Quote:

If you want to make it better, add cooling (preferably passive, second choice airflow, third choice heat pipe and way last is liquid/gas cooling... too much mess if it breaks).
DOH! Vote for immediate ban! :D (joke)

Little off topic but being your here I would like to hear your opinion of where you think CPU's are going heat wise and if air cooling is going to be acceptable in the future.

Glad you stopped by!

P.S. Those are drooling smilies not barfing smilies. All good though.

peepingdan 09-27-2004 10:29 PM

This has been a great read for someone with no knowledge in this field. I work at a small networking equipment company and I see all sorts of this stuff every day but I've never thought about the difficulty involved. Enlightening.

KnightElite 09-28-2004 12:56 AM

Thanks for stopping by. I am in fact taking a control systems class right now as well. Yay transfer functions and feedback loops, etc.... ;).

Very interesting comments though, thanks :D.


All times are GMT -5. The time now is 04:22 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...