From WikiChip
Voltage Regulator Module (VRM)
Revision as of 00:57, 17 October 2017 by Inject (talk | contribs) (On-board components)

vrm general.svg

Voltage Regulator Module (VRM) or a CPU/V-Core Circuit is an electronic circuit that regulates and down steps voltage from its input (e.g., system power rail) to its output (e.g., integrated circuits). In the context of a typical computer, the VRM converts the 12/5/3.3 V DC power rail that comes from the power supply unit into the much lower operating voltage of the integrated circuit (e.g. 0.8 V, 1 V, 1.2 V). VRMs are typically implemented as a switching regulator such as a buck converter due to their efficiency.

Overview

Single-phase

vrm circut.svg

Generally, a VRM circuit is usually implemented as a buck converter, but this is not strictly the only way to design it. Shown is a basic schematic of a VRM circuit. On the left side is the typical 12 V which comes from the power supply unit. There are two MOSFETs just before point A, a low-side and a high-side, which serve as actual switches. To the left of point B is the choke (or a filtering inductor).

The goal of the circuit is to take the power supply voltage which is 12 V before point A and convert it to the much lower operating voltage of the CPU or GPU at point B which is something like 1.2 V.

Operation

When the high-side switch is closed, the voltage at point A becomes 12 V but the voltage at the other side of the inductor doesn't change instantaneously, instead, the inductor continues to resists change in current. As the 12 V is applied to the inductor, the inductor builds up a magnetic field which creates a voltage drop at the output terminal. As the inductor builds a larger magnetic field (i.e., charges up), the voltage drop becomes smaller and smaller until it's full charged and the voltage reaches 12 V. The graph below depicts the voltage that would be fed to the CPU/GPU at point B if the high-side switch was to remain closed for a sufficient amount of time:

vrm circut (high-side closed).svg
vrm voltage at points a-b when high side switch is on-off.svg


As can be seen, the purpose of the inductor in the circuit is to prevent the voltage from instantaneously reaching 12 V. How quickly the voltage changes will depend on the inductance of the inductor. For example, a small inductor with a low inductance will have a quicker change in voltage since they can build a smaller magnetic field.

When the high-side switch is opened again, the voltage at point A drops back to 0 V. The inductor still has a magnetic field that was built up when we charged it. Since the high-side switch was opened, the inductor's magnetic field starts to collapse, generating current at point B which is fed to the CPU. When this happens, there would is sudden voltage spike at point B. A flyback diode is added to the circuit in order to eliminate this flyback. Since diodes are fairly inefficient, when the circuit opens the high-side switch, it also closes the low-side switch. This is done to allow the current to flow through the switch instead of the diode which acts more like a wire, increasing the efficiency of the circuit. The graph below depicts the voltage that would be fed to the CPU/GPU at point B when the high-side switch is opened and the low-side switch is now closed:

vrm circut (high-side open).svg
vrm voltage at points a-b when high side switch is off-on.svg
Voltage regulation

The end goal of the circuit is to deliver a constant voltage of our choosing. On a modern microprocessor this might be around 1.2 volts. To achieve 1.2 V, the circuit needs to cut off the inductor charging when the voltage at point B reaches 1.2 V. Once that happens the voltage will start to drop at which point the circuit will go back to charging up the inductor. The entire cycle is repeated forever through a technique known as pulse-width modulation, maintaining the average voltage at the desired operating voltage. At roughly 50% duty cycle, the output voltage at point B will be 6 V. To get our desired 1.2 V the duty cycle should be 10%. In actual circuits, the closing and opening of the low-side and high-side MOSFETs is done by the PWM Controller along with a driver or a doubler.

vrm voltage 12v to 1p2v.svg

Multi-phase

In a modern computer system, the typical motherboard VRM might have 3 or more phases. A multi-phase VRM works very much like the single-phase VRM described above but uses multiple such circuits in parallel - each phase handling a portion of the total current that the CPU or GPU requires. The trick is that each of the phases are slightly offset such that at any given time, only a singe phase has the high-side switch close and building a charge on its inductor. The rest of the phases are discharging.

vrm circut (multi-phase).svg


By overlapping the phases at an offset, we're still generating the same 1.2 operational voltage, but as one phase starts dropping in voltage, the next phase takes over. This also results in a much stable average voltage that is sent to the CPU because of the tighter voltage tolerance as a result of the smaller amplitude.

vrm circut with switching (multi-phase).svg

It's worth pointing out that since the total amount of current fed to the CPU remains more or less unchanged (when comparing a single-phase VRM to multi-phase), the total current is now distributed among the multiple phases. For example, in a dual-phase VRM, each of the phases will see roughly 50% of the current on average. The effect is that each of the phases now only handle a portion of the total load, putting less strain on any of the individual components.

Additionally, due to the high-side and low-side MOSFET switching, there is some unwanted ripple at the switching node (point A). The more phases, the less the ripple effect is observed because there's reduction in the ripple wave amplitude and thus current. Additionally, with more phases the effect reduction also shrink. That is, going from 2-phases to 4-phases the reduction in ripple current is considerably more than going from 6-phase to 8-phases.

Doublers

pwd doubler 6 to 12 phase.svg

VRMs are driven by a PWM Controller that usually comes in either 4, 6, or 8 phases. There are a few rather rare PWMs that go up to 10 but by far the vast majority of PWMs out there are 4 and 6-phase PWMs and are considerably more common than 8 phases. Motherboards offer 12-, 16-, 24- phase VRMs through the user of doublers. A phase doubler doubles the number of phases by generating two interleaved signals that are formed using the original.

The doubler's switching frequency is halved due to the two signals interleaving.

pwm-doubler input output.svg

The use of doublers generally increases the costs because the motherboard now has double the amount of integrated circuits required but it reduces many things such as the load current on any given phase in a similar manner to a "true" multi-phase but without the benefits of the tighter voltage tolerance. It's also a much more common solution that is found on many motherboards that advertise 8 or 16 phases (made of 4 and 8 "real" phases respectively).

X+Y+.. Phase VRM notations

In addition to the CPU cores, there are many other voltage rails that need their own phases. Some of those various voltage rails are:

etc..

In order to indicate how many phases are being used for each of those rails, some motherboards will indicate it using the "X+Y" or "X+Y+Z" notation. The "+Y" and "+Z" is used to indicate that those phases are being used for different rails (e.g., for the integrated graphics). For example, "6+2" would indicate that 6 of the phases can be used together for one of the rails (typically your CPU cores) whereas the other 2 phases can be used for something else. It's worth pointing out that not all phases have to actually be used, a "6+2" for example can be used for 6 phases going to the CPU cores, a single phase going to another rail, and a single phase remain unconnected. Other separate PWM controllers may be added for the other rails. Note that the generally speaking, for most PWMs, the rails cannot be combined. That is, a "6+2" cannot be used as an 8-phase VRM driving the CPU power rail.

True and Virtual Phases

vrm 6+1 into 8+1.svg

The terms True Phases and Virtual Phases were developed to distinguish between phases that come directly from the PWM Controller and the various other schemes such as those used by doublers.

For example, some motherboard might use a dual 6+1 phase PWM Controller (e.g., Intersil ISL6367) for their motherboard but advertise it as an 8-phase or more. This is achieved by doubling 4 of the 6 phases, to get 8 phases, leaving the remaining two phases unused. The diagram is shown on the right. In this case it can be said that there are "8 virtual phases but only 4 true phases". While there is better power delivery due to the better distribution of current, the interleaving effect is still relatively poor compared to 6 or 8 true phases. The use of virtual phases can sometimes mislead into believing the motherboard has a better VRM than it actually does.

On-board components

Generally speaking the components on a typical motherboard will be connected in a manner similar to this:

vrm on board drawing.svg


Consider the ASUS P6X58D Premium shown below:

P6X58D Premium vrm.png

The easiest thing to spot are the capacitors and the bulky chokes as they surround the processor. Note that on this board the MOSFETs, which could get fairly worm on overclocked systems, is situated under the fins of the heat pipe in order to cool them off passively. Additionally, there's Removing the heat pipe exposes the remaining part of the VRM:


P6X58D Premium vrm detailed.png


P6X58D Premium back pem.png

Labeled on the board picture above are the 16 phases made from the 16 capacitors, 16 chokes, 32 MOSFETs, 16 diodes, and finally 16 resistors. Careful scrutiny is needed to determine how many true phases are there (since there are no 16-phase PWMs it's clear that doubling is used on this board to some extent). On this particular board Asus incorporated their Energy Processing Unit or EPU along with its driver/PWM chip called a 'PEM' which is actually located on the back of the board and is shown on the right. This board is advertised as having a "16+2 phase VRM design". Unfortunately this is not the case. In reality this board is only 8-phase true, 16-phase virtual. The EPU chip (ASP0800) is paired with the PEM chip (ASP0801) each delivering 4 phases in sync for 8 true phases. The 8 phases are then doubled for 16 virtual phases. On this board, the EPU does have additional features such as the ability to dynamically modify the PWM duty cycles depending on the load as well as exposing this functionality via software for manual tweaking and modification of those frequencies.

On this specific board the components are (in this order on the board):

  • FP5K 821 Aluminum Polymer Capacitor
  • Trio R51A Chokes
  • 5525L MOSFET
  • 9025L MOSTFET