The present disclosure relates to a controller for controlling a power stage having a plurality of phases. The disclosure also relates to a power supply comprising such a controller, coupled to a power stage having a plurality of phases.
Controlling external power modules via a single remote controller allows for improved power-planning of the application circuit board. The power conversion modules can be placed close to the load, while the control circuit can be integrated as part of a larger power management circuit (PMIC). This configuration increases the power handling capability of the PMIC whilst not increasing the power dissipation of the circuit. Most of the power dissipated by the power converter is dissipated in the remote power module. This reduces the constraints on the power envelope of the PMIC as well.
The driver-plus-MOSFET (DrMos) power stage introduces a standard interface of power-module intended to supply power to large digital systems. An example implementation of a DrMos is shown in
For systems like the one shown in
It is an object of the disclosure to address one or more of the above-mentioned limitations.
According to a first aspect of the disclosure, there is provided a controller for controlling a power stage having a plurality of phases, the controller being configured to: generate a control signal; send the control signal to the plurality of phases via a first link; receive from each phase a feedback signal via a second link; sum the plurality of feedback signals and derive an average current per phase.
Optionally, the controller having a first port connected to the first link and a second port connected to the second link, and a resistance circuit coupled to the second port, the resistance circuit having a plurality of resistances coupled in parallel, each resistance being connected to ground via a corresponding switch. For instance, the number of resistances may be the same or greater than the number of phases.
Optionally, wherein the resistance circuit comprises an additional switch for performing a phase address reading functionality.
Optionally, wherein the control signal comprises one or more of a first pulse having a first pulse-width for activating a first phase; a second pulse having a second pulse-width for activating additional phases incrementally; a third pulse having a third pulse-width for de-activating all phases; a fourth pulse having a fourth pulse-width for initiating each phase to read its own address.
Optionally, wherein the first link and the second link are unidirectional links.
Optionally, wherein the sum of the feedback signals is proportional to an output current generated by the plurality of phases.
Optionally, wherein the controller is further configured to generate a configuration signal for configuring one or more phases, the configuration signal being transmittable via a third link. For instance, the configuration signal may be configured to activate turn-off during a zero crossing detection of the inductor, or to set the current limit for the phase.
According to a second aspect of the disclosure there is provided a power supply comprising the controller according to the first aspect, coupled to a power stage having a plurality of phases.
Optionally, wherein the controller is coupled to the power stage via a single wire interface.
Optionally, wherein each phase comprises a decoder for decoding the control signal.
Optionally, wherein the decoder comprises a finite state machine coupled to a phase counter and a logic circuit; wherein the finite state machine is configured to execute a decoding protocol.
Optionally, wherein the logic circuit comprises an arbiter coupled to one or more wait cells.
Optionally, wherein each phase comprises an address reader configured to read an address of the phase by sending a current through an address resistance.
Optionally, wherein the address reader comprises a logic circuit configured to initiate a read sequence.
Optionally, wherein the address reader comprises a compensator circuit configured to compensate for an error generated by the address resistance. For instance, the compensator circuit may include a current-controller voltage shifter using an operational amplifier.
Optionally, wherein the decoder is configured to measure the pulse-width of each pulse in the control signal; and perform an associated protocol based on the measurement.
According to a third aspect of the disclosure there is provided a method of controlling the power stage according to the second aspect of the disclosure having a plurality of phases, the method comprising: generating a control signal comprising a series of pulses; sending the control signal to the plurality of phases via a first link; and for each phase decoding the control signal and activating or de-activating the phase based on the control signal; receiving via a second link a feedback signal from each phase; summing the plurality of feedback signals and deriving an average current per phase.
Optionally, wherein the control signal comprises one or more of a first pulse having a first pulse-width for activating a first phase; a second pulse having a second pulse-width for activating additional phases incrementally; a third pulse having a third pulse-width for de-activating all phases; a fourth pulse having a fourth pulse-width for initiating each phase to read its own address.
The disclosure is described in further detail below by way of example and with reference to the accompanying drawings, in which:
At step 310 a controller generates a control signal. The control signal comprises a series of pulses. At step 320 the controller sends the control signal to the plurality of phases via a first link. The first link could be, for example, a unidirectional link.
At step 330, for each phase the control signal is decoded, and the phase either activated or de-activated based on the control signal. For instance, the control signal may either activate or de-activate the phase depending on the configuration of pulses in the control signal.
At step 340, the controller receives a feedback signal from each phase via a second link. The second link could also be, for example, a unidirectional link. Finally, in step 350, the controller sums the plurality of feedback signals and derives an average current per phase. This average current per phase may be used to balance the current across the plurality of phases in the power stage.
The controller 410 is configured to control the power stage 420 having a plurality of phases. The controller 410 generates a control signal which is transmitted to the plurality of phases via the first link 440. Each phase receives the control signal and decodes the signal. Based on the decoded control signal, each phase will either be activated or deactivated. Each phase has its own unique address. In this example, the first phase 430 have an address of 0, the second phase 431 has an address 1 and the Nth phase 43N−1 has an address N−1. This address is assigned during the start-up of the power supply 400 and is described in more detail below.
Each phase generates a feedback signal and an output current. For example, the phase 430 generates the output current Iout,0, the phase 431 generates the output Iout,1. The total output current Iout which is received at the Load is a summation of each of the individual output currents from each phase in the plurality of phases. The controller 410 is configured to receive, via the second link 450, the feedback signal from each phase. The controller 410 then sums over the plurality of feedback signals to derive an average current per phase. This average current per phase is proportional to the output current of each phase. Therefore, the controller 410 uses the feedback signals received via the second link 450 to monitor the output current of the plurality of phases 430. The output current of each phase needs to be monitored in order to balance the current across all the phases, otherwise this might lead to excess power dissipation and power loss across the power stage 420.
In a specific embodiment, the first link 440 could be a digital interface (DIF) and the second link 450 could be an analog feedback link (IFB). In other embodiments, the controller 410 could be a distributed power unit (DPU) controller and the plurality of phases 430 could be a plurality of DPUs.
The controller 410 can further comprise an optional third port connected to a third link 460. In this case each phase is also connected to the controller 410 via the third link. The third link could be, for example, a bidirectional link. In such an embodiment, the controller 410 is configured to further generate a configuration signal which is transmittable to the plurality of phases via the third link 460. The third link 460 transports operational configuration conditions to the phases, for example to activate turn-of during a zero crossing detection of the inductor, or to set the current limit for the phase. In a specific embodiment, the third link could be a digital input-output (DIO). The DIO can allow for transportation of more complex control signals. Standard bidirectional, multi-devices bus can be used for that purpose.
The first link 440 transports a single, unidirectional control signal. The control signal is unidirectional, driven by the controller 410 and received by all phases in the plurality of phases 430. The control signal can be single-ended signal (1-wire) or differential signal (2-wires).
The control signal 510 reset state is at 0. The control signal 510 comprises a series of commands for the plurality of phases which are encoded using a pulse width. The control signal is formed of a sequence of pulses. The pulse width of each pulse may be used to perform specific phase activation or de-activation functionality. In
The first pulse 511 has a first pulse-width T1 which activates the first phase 430. The first pulse T1 triggers the activation of the phase which has an address 0 and resets the phase counter, phcount, to zero. The pulse-width of T1 may be chosen to be the smallest possible duration. The corresponding phcount for the example control signal 510 is shown with phase count 520 in
The second pulse 512 has a second pulse-width T2 which activates additional phases incrementally. The second pulse 512 triggers the activation of the phase with address phcount +1. For example, if the current phcount is 0 then a T2 pulse would activate a phase with the address of 0+1=1; if the current phcount is 2 then a T2 pulse would activate a phase with the address of 2+1=3. The pulse-width T2 of 512 is chosen to be larger than the pulse-width T1 of 511 but should still be small enough in order to reduce latency in the response of the plurality of phases 430.
In a generic phase of operation, as the load applied to the power supply 400 increases, the number of phases that need to be activated will increase to account for the increase in load. Therefore, a control signal can have any configuration of T1 and T2 pulses. The phases detect the falling edge of the control signal and react according to the pulse-width detected. By setting the most critical controls T1 and T2 at the smallest pulse durations, critical latency is thus reduced. Once triggered, a phase generates an on-time conduction pulse.
In
Additional pulses (not shown) may be used to perform different functionalities.
For instance, a de-activation pulse having a third pulse-width T3 may be used to de-activate all phases. The de-activation pulse sets all the power-stages in high impedance mode. It can be used for example when there is a sudden drop in load being applied to the power supply 400 and the plurality of phases 430 needs to be de-activated quickly. The de-activation pulse can also be used when large falling load transients require using a free-wheeling diode instead of a switch for higher dl/dt.
Another pulse referred to as address pulse, having a fourth pulse-width T4 may be used to initiate each phase to read its own address. The pulse-width T4 may be chosen to be relatively long compared with T1, T2 and T3. The address pulse triggers an address read sequence for all phases in the plurality of phases. In a normal mode of operation for the power supply 400, the address pulse would be sent out in a control signal generated by controller 410 when the power supply 400 is initialised for the first time. The address pulse is transmitted to the plurality of phases via the first link 440 which triggers a sequence of events that utilise the second link 450. A resistance connected via the first link for each phase can be used to read the phase address. Alternatively, the address resistance can be connected to via the second or third input for each phase. This is discussed further below.
The control signal 510 in
Using, for example, a unidirectional link as the first link 440 to transmit the generated control signal allows for simplified input/output designs with reduced parasitic capacitance, lower power consumption and generally faster speed.
The controller 410 comprises a resistance circuit 412 coupled to the second port that hosts the second link 450. The resistance circuit 412 has a plurality of resistances coupled in parallel, each resistance being connected to ground via a corresponding switch, referred to as sensing switch (Ss1-Ssn). The resistance circuit 412 further comprises an additional address read switch Sr, in
Each phase in the plurality N of phases comprises a decoder 432 coupled to the controller via the first link 440. Each phase further comprises an address reader 434 which is coupled to the decoder 432. The address reader 434 is also coupled to an address resistance Raddr (also referred to as Ra) via the second link 450. Each phase also contains a current monitoring module 438 which receives an input from the decoder 432 and a current balancing module 436 which receives an input from the address reader 434. A driver 433 is also provided for driving the high side and low side power switches of a phase.
Each phase generates a feedback signal Ifb that is proportional to the output current for that phase. All the feedback signals are summed at the second link port of the controller 410. The resistance circuit 412 performs the summation. By adjusting the number of active resistances in the resistance circuit 412 to match the number of active phases, the feedback signal voltage represents the average current per phase. The number of active resistances can be selected by passing a signal nb_phases generated by the controller 410 through the resistance circuit 412 to turn on or off a number of switches in the circuit. If, for example, the power supply 400 operates with a single phase and an output current Io, then only one resistance is connected to ground. In this case the feedback voltage would be Io/R where R is the value of the resistance in resistance circuit 412. If, the power supply 400 operates with four phases then the overall load current is 410 and four resistances are connected to ground, hence maintaining the feedback voltage at Io/R. This can be used by the phases for current balancing purposes. When triggered, the driver 433 drives the high-side switch for a duration referred to on-time Ton, that is a function of the input voltage and a pre-programmed parameter. The balancing circuit 436 is used to tune the Ton duration. If the feedback current from a single phase is greater than the average output current Io of all phases, then the current balancing module 436 sends a signal to the driver 433 to reduce the on-time Ton for the high side power switch. Conversely, if the feedback current from a single phase is lower than the average output current of all phases, then the current balancing module 436 sends a signal to the driver 433 to increase the on-time Ton for the high side power switch.
Each phase in the plurality of phases is allocated an individual address. In general, the allocated addresses start from 0 and are continuously allocated. The address read for the phases is done when the power supply 400 is first connected to power and is initiated when the decoder 432 receives and decodes the address pulse of pulse width T4. This initiates the address read sequence. The address read switch Sr is turned on and a current is passed through Raddr to measure the voltage at that phase which will inform the phase of its own address. Each phase has its own Raddr which is placed along the second link between the controller 410 and the phase. Each resistance for the address read is placed before the common node between the plurality of phases and the controller such that each phase reads its own resistance.
An address read is performed by pushing the read current Iread through the address resistance Ra and measuring the voltage across it: VRa=Vsns-dpu−Vsns. Iread is pushed through Ra when Isns_ena=1, otherwise Iread=0. The address reader 434 can only measure the phase voltage Vsns-dpu relative to the ground, therefore the resistance circuit 412 of controller 410 switch on Sr to short-circuit the current sense resistance Rs/n and hence pull the control voltage Vsns to ground. The read current Iread which has a pre-set and known value, is forced through the address resistance Ra by the address reader 434 whilst Vsns is pulled to ground. The phase voltage is then given by: Vsns-dpu=RaIread. To determine Ra and hence the address of the phase, the analog-to-digital converter ADC in the address reader 434 measures Vsns-dpu and as Iread is known the address can be determined: Ra=Vsns-dpu/Iread.
During the address reading operation, the phase is not delivering power. The current i* is a measure of the output current of the phase, therefore in address read operation i*=0. Outside of the address read, the current Iread is deactivated and the current i* is proportional to the output current of the phase and the voltage at the control circuit 412 is given by: Vsns=Rsi+. For power stages with multiple phases connected in parallel, then the voltage is given by: Vsns=Rs/n×(i*1+i*2+ . . . i*n)=(Rs/n)i*total where n is the number of phases the power stage is comprised of. Each phase can compare its own output current against the average load current by measuring Vsns-dpu=Rai*+(Rs/n)i*total. The error generated through resistance Ra during modes of operation that are not address read operations can be compensated for through compensator 434b. In this example the compensator 434b is formed
current-controller voltage shifter using an operational amplifier which outputs: Vsns-dpu−(RbKi+), in which Rb is an arbitrary resistance value and K is a multiplication factor which is a function of the address read resistance Ra. Hence the output of compensator 434b is: Rai*+(Rs/n)i*total−Ki*Rb. Therefore, the error introduced by address resistance Ra can be removed by setting K=Ra/Rb.
Connecting a resistance with a value readable by an address reader to the first link may lead to increased latency and degradation of the pulse-width decoding performance of decoder 432. Instead, the second link is used. This link is designed to be slow, and the second link input of the control circuit can be pulled low with a large transistor without degrading the interface.
Using Raddr for the address reading introduces an additional error to the phase balancing system required to balance the different power-module loading of the system. Therefore, the current balancing module 436 is configured to take into account the additional voltage error introduced by Raddr when balancing the feedback signal across all the plurality of phases 430.
The decoder 432 is configured to decode the control signal. It measures the pulse-width of each pulse in the control signal and performs an associated protocol based on this measurement.
In operation, the decoder 800 receives a control signal from the controller 410 at the input of the logic circuit 830, which is transmitted to the decoding AFSM 810. The AFSM 810 is configured to decode the control signal through a decoding protocol. The decoding AFSM 810 then updates the switch driving circuit 433 and the counter 820. The decoder 800 represents an example implementation of the decoder 432 of
The controller of the disclosure allows better control of the plurality N of phases 430-43N−1 switching through the first link combined with a simple but effective current balance and monitoring system through the shared feedback signal transmitted via the second link. Optionally, the controller may also include a comprehensive configuration for the whole power system 400 through the third link. The combination of the first and second link can be used for address reading of the power modules/phases without added pin count. The reduced pin count reduces the cost associated with the pins of the power module and reduces the pin congestion of the PMIC embedding the control circuit.
A skilled person will appreciate that variations of the disclosed arrangements are possible without departing from the disclosure. Accordingly, the above description of the specific embodiments is made by way of example only and not for the purposes of limitation. It will be clear to the skilled person that minor modifications may be made without significant changes to the operation described.