A power supply may refer to an electronic device that supplies electrical energy to an electrical load. A power supply may convert one form of electrical energy to another form, and may be referred to as an electric power converter. Some power supplies are discrete, stand-alone devices, while other power supplies are built into larger devices. For example, a power supply may supply power to a desktop computer, a laptop computer, a tablet computer, a mobile phone, or another type of device that requires electrical power to operate.
According to some possible implementations, a device may include an integrated circuit configured to detect a pin voltage at a selector pin, compare the pin voltage to a threshold voltage, and select one of primary side voltage regulation or secondary side voltage regulation, to regulate a voltage supplied to an electrical load coupled to the integrated circuit, based on comparing the pin voltage to the threshold voltage.
According to some possible implementations, a power supply may include a converter configured to determine a first voltage at a selector pin, compare the first voltage to a second voltage, and selectively perform one of primary side voltage regulation or secondary side voltage regulation, to regulate an output voltage supplied to an electrical load, based on comparing the first voltage to the second voltage.
According to some possible implementations, a method may include determining, by a power supply circuit, a pin voltage at a pin. The method may include comparing, by the power supply circuit, the pin voltage to a threshold voltage. The method may include selectively performing, by the power supply circuit, one of primary side voltage regulation or secondary side voltage regulation, to regulate an output voltage supplied to an electrical load, based on comparing the pin voltage and the threshold voltage.
According to some possible implementations, a converter may include a first feedback circuit that provides feedback regarding a primary voltage for a primary side voltage regulation. The converter may include a second feedback circuit that provides feedback regarding a secondary voltage for a secondary side voltage regulation. The converter may include a mode selection circuit that includes a selector pin. The mode selection circuit may select a selected mode of one of a primary side voltage regulation mode or a secondary side voltage regulation mode based on a pin voltage at the selector pin. The mode selection circuit may enable one of the first feedback circuit or the second feedback circuit, and may disable a different one of the first feedback circuit or the second feedback circuit based on the selected mode.
The following detailed description of example implementations refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.
A power supply, such as a battery charger or adapter, may supply electrical energy to an electrical load, such as a laptop computer, a mobile phone, or the like. The power supply may include a converter to convert alternating current of a first voltage to a second voltage. The converter may include a primary winding and a secondary winding. The primary winding may include an inductor (e.g., a coil) that forms part of an electrical circuit such that changing a current in the primary winding induces a current in the secondary winding. An electrical load, such as a device to be charged by the power supply, may be connected to the secondary winding. In this way, electrical energy may be converted from a first voltage (e.g., received from a power source) to a second voltage (e.g., supplied to the electrical load).
The power supply may regulate a voltage supplied to the electrical load using primary side voltage regulation or secondary side voltage regulation. Some benefits of using primary side voltage regulation include lower standby power consumption and lower build of materials cost than secondary side voltage regulation. However, primary side voltage regulation responds more slowly than secondary side voltage regulation during fast load changes or power input changes. Further, primary side voltage regulation may control voltage with less accuracy than secondary side voltage regulation. Additionally, primary side voltage regulation is typically used for low power applications, whereas secondary side voltage regulation is typically used for high power applications. Thus, each type of voltage regulation has advantages and disadvantages as compared to the other type.
Different integrated circuits may be designed to implement primary side voltage regulation or secondary side voltage regulation. For example, an integrated circuit may implement primary side voltage regulation or secondary side voltage regulation based on whether a low power application or a high power application is being utilized. As a result, the integrated circuit needs to be changed to either implement primary side voltage regulation or secondary side voltage regulation based on different output requirements. However, using different circuits to implement different types of voltage regulation may increase costs and reduce flexibility. Implementations described herein permit selection between primary side voltage regulation and secondary side voltage regulation on the same integrated circuit, thereby increasing flexibility and reducing costs.
As further shown in
As shown in
Power supply 210 may include one or more devices for supplying electrical energy to electrical load 230. For example, power supply 210 may include a battery charger, a power converter, a power adapter (e.g., an alternating current (AC) adapter), or the like. Power supply 210 may receive energy from an energy source via a power input. In some implementations, power supply 210 may convert the energy from one form to another (e.g., from a first voltage to a second voltage), and may deliver the converted energy to electrical load 230 via a power output. As shown, power supply 210 may include converter 220.
Converter 220 may include one or more integrated circuits for receiving, converting, and/or delivering energy from power supply 210 to electrical load 230. In some implementations, converter 220 may include a primary winding and a secondary winding. Converter 220 may regulate a voltage delivered to electrical load 230 using primary side voltage regulation or secondary side voltage regulation. For primary side voltage regulation, converter 220 may regulate the delivered voltage based on feedback received from one or more circuits coupled to the primary winding (and/or an auxiliary winding). For secondary side voltage regulation, converter 220 may regulate the delivered voltage based on feedback received from one or more circuits coupled to the secondary winding. Additionally, or alternatively, converter 220 may select between primary side voltage regulation and secondary side voltage regulation, as described in more detail elsewhere herein. For example, converter 220 may include a controller configured to select between primary side voltage regulation and secondary side voltage regulation and to control a mode of operation of converter 220 based on the selection.
Electrical load 230 may include one or more devices that receive electrical energy from power supply 210. For example, electrical load 230 may include an electrical device, such as a desktop computer, a laptop computer, a tablet computer, a mobile phone, a gaming device, or the like. Electrical load 230 may perform better when a voltage delivered to electrical load 230 is kept constant or nearly constant (e.g., within a tolerance range) by power supply 210. For example, electrical load 230 may be negatively impacted by a sudden voltage spike or a sudden voltage drop. Thus, power supply 210 may regulate a voltage supplied to electrical load 230 to improve performance of electrical load 230 and/or to reduce or eliminate negative impacts to electrical load 230.
The number and arrangement of devices shown in
Primary side circuit 310 may include one or more circuits to receive energy from an energy source (e.g., an alternating current energy source, a mains power system, a wall socket, etc.), and to induce a voltage, in secondary circuit 320, to be supplied to electrical load 230. Additionally, or alternatively, primary side circuit 310 may induce a voltage in auxiliary circuit 330, which may be used to induce the voltage in secondary circuit 320 after initial startup of converter 220. As shown, primary side circuit 310 may include a primary winding (e.g., a primary coil, a primary inductor, etc.) that interacts with a magnetic core.
Secondary side circuit 320 may include one or more circuits in which a voltage is induced via interaction with the magnetic core, and that supply the voltage to electrical load 230. For example, a varying current in the primary winding of primary side circuit 310 (or an auxiliary winding of auxiliary circuit 330) may generate a varying magnetic flux in the magnetic core. The varying magnetic flux may generate a varying magnetic field applied to the secondary winding (e.g., a secondary coil, a secondary inductor, etc.) of secondary side circuit 320. This varying magnetic field may induce a voltage in secondary side circuit 320. Secondary side circuit 320 may supply this voltage to electrical load 230.
Auxiliary circuit 330 may include one or more circuits to receive energy from an energy source and to induce a voltage in secondary circuit 320 (e.g., after initial startup of converter 220). As shown, auxiliary circuit 330 may include an auxiliary winding (e.g., an auxiliary coil, an auxiliary inductor, etc.) that interacts with the magnetic core to generate a varying magnetic flux in the magnetic core. The varying magnetic flux may generate a varying magnetic field applied to the secondary winding of secondary side circuit 320. This varying magnetic field may induce a voltage in secondary side circuit 320, which may be supplied to electrical load 230.
Selection circuit 340 may include one or more circuits to select between primary side voltage regulation and secondary side voltage regulation. For example, selection circuit 340 may be coupled to PSVR feedback circuit 350 (e.g., to perform primary side voltage regulation) and/or SSVR feedback circuit 360 (e.g., to perform secondary side voltage regulation). Selection circuit 340 may receive feedback from PSVR feedback circuit 350 or SSVR feedback circuit 360 depending on a desired type of voltage regulation to be used to regulate a voltage supplied to electrical load 230. In some implementations, selection circuit 340 may receive feedback from PSVR feedback circuit 350 when PSVR peripheral circuit 370 is coupled to selection circuit 340. Additionally, or alternatively, selection circuit 340 may receive feedback from SSVR feedback circuit 360 when SSVR peripheral circuit 380 is coupled to selection circuit 340. In this way, selection circuit 340 permits converter 220 to perform primary side voltage regulation or secondary side voltage regulation depending on whether PSVR peripheral circuit 370 or SSVR peripheral circuit 380 is coupled to converter 220. This permits flexibility in the use of converter 220, and eliminates the need to have different designs for converter 220 depending on whether primary or secondary side voltage regulation is desired.
PSVR feedback circuit 350 may include one or more circuits to provide feedback used to perform primary side voltage regulation. For example, PSVR feedback circuit 350 may detect a primary voltage in primary side circuit 310 (and/or auxiliary circuit 330), and may provide feedback regarding the detected primary voltage to voltage regulation circuit 390 for performing primary side voltage regulation. As an example, PSVR feedback circuit 350 may compare the primary voltage to a reference voltage, and may provide an error signal, based on the comparison, to voltage regulation circuit 390.
SSVR feedback circuit 360 may include one or more circuits to provide feedback used to perform secondary side voltage regulation. For example, SSVR feedback circuit 360 may detect a secondary voltage in secondary side circuit 320, and may provide feedback regarding the detected secondary voltage to voltage regulation circuit 390 for performing secondary side voltage regulation. As an example, SSVR feedback circuit 360 may receive feedback, regarding the secondary voltage, from SSVR peripheral circuit 380. Additionally, or alternatively, SSVR feedback circuit 360 may provide the feedback, regarding the secondary voltage, to voltage regulation circuit 390.
PSVR peripheral circuit 370 may include one or more circuits that, when coupled to selection circuit 340, cause converter 220 to perform primary side voltage regulation to control a voltage supplied to electrical load 230. In other words, when PSVR peripheral circuit 370 is coupled to selection circuit 340, selection circuit 340 may detect the peripheral circuit as a PSVR peripheral circuit, and may select PSVR feedback circuit 350 to provide feedback regarding a primary voltage to regulate the primary voltage (and to indirectly regulate the secondary voltage), as described in more detail elsewhere herein. Thus, selection circuit 340 may select a primary side voltage regulation mode based on detecting a PSVR peripheral circuit coupled to selection circuit 340.
SSVR peripheral circuit 380 may include one or more circuits that, when coupled to selection circuit 340, cause converter 220 to perform secondary side voltage regulation to control a voltage supplied to electrical load 230. In other words, when SSVR peripheral circuit 380 is coupled to selection circuit 340, selection circuit 340 may detect the peripheral circuit as an SSVR peripheral circuit, and may select SSVR feedback circuit 360 to provide feedback regarding a secondary voltage to regulate the primary voltage (and to indirectly regulate the secondary voltage), as described in more detail elsewhere herein. In some implementations, SSVR peripheral circuit 380 may include an opto-coupler (e.g., an opto-isolator, a photocoupler, etc.), which may provide feedback, indicative of the secondary voltage, between two isolated circuits using light (e.g., from SSVR peripheral circuit 380 to SSVR feedback circuit 360). Thus, selection circuit 340 may select a secondary side voltage regulation mode based on detecting an SSVR peripheral circuit coupled to selection circuit 340.
Voltage regulation circuit 390 may include one or more circuits to directly regulate a primary voltage in primary side circuit 310 (and/or auxiliary circuit 330), thereby indirectly regulating a secondary voltage, in secondary side circuit 320, supplied to electrical load 230. Voltage regulation circuit 390 may adjust the primary voltage based on feedback received from PSVR feedback circuit 350 or SSVR feedback circuit 360. By adjusting the primary voltage in primary side circuit 310, voltage regulation circuit 390 may indirectly adjust the secondary voltage in secondary side circuit 320, because the secondary voltage is based on the primary voltage (e.g., due to electromagnetic induction).
The number and arrangement of components shown in
As shown in
For example, when circuit 400 powers up, Switch A 402 and Switch B 404 may be set to off, such that neither primary side voltage regulation nor secondary side voltage regulation is selected (e.g., PSVR feedback circuit 350 and SSVR feedback circuit 360 are de-coupled from voltage regulation circuit 390). At this time (e.g., at initial power up of circuit 400 and/or at a soft start phase of converter 220), Switch C 406 may be set to on, permitting a current from current source 408 to flow to selector pin 410. In some implementations, switches 402-406 may be controlled by a detection signal 416 (shown as “VDETECTION”).
Detection signal 416 may indicate whether to perform regulation mode selection (e.g., at initial power up of circuit 400 and/or at a soft start phase of converter 220). For example, detection signal 416 may enable regulation mode selection (e.g., by enabling Switch C 406 and disabling both Switch A 402 and Switch B 404) when a power supply pin (shown as VCC in
During regulation mode selection, a current from current source 408 may flow to selector pin 410, and selector pin 410 may detect a pin voltage 418 at selector pin 410. In some implementations, the current from current source 408 may be fixed. Accordingly, as the current from current source 408 flows out of selector pin 410 to a peripheral circuit, pin voltage 418 may depend on a peripheral circuit coupled to selector pin 410. For example, when primary side peripheral circuit 370 is coupled to selector pin 410, pin voltage 418 may be higher than when secondary side peripheral circuit 380 is coupled to selector pin 410 (e.g., due to a resistor connecting the selector pin 410 directly to ground in secondary side peripheral circuit 380). When there is no resister connecting the selector pin 410 directly to ground, for example as in primary side peripheral circuit 370, the impedance to ground is considered as infinite. For example, primary side peripheral circuit 370 may include a filter or other type of blocking circuit, as shown in
In some implementations, configurations other than a single resistor that makes a direct connection from selector pin 410 to ground may be used to differentiate primary side peripheral circuit 370, having a higher impedance, from secondary side peripheral circuit 380, having a lower impedance. For example, multiple resistors in series may be used, or other combinations of components can be used to establish a different (e.g., lower) level of impedance and/or a voltage threshold level that can be used to differentiate secondary side peripheral circuit 380 from primary side peripheral circuit 370. As another example, a charging time of selector pin 410 may be used to differentiate primary side peripheral circuit 370 from secondary side peripheral circuit 380. In this case, a capacitor may be connected to selector pin 410, and selector pin 410 may be charged for a fixed period of time during or after startup. After the fixed period of time has elapsed, pin voltage 410 may be measured at selector pin 410 to determine whether to select primary side voltage regulation or secondary side voltage regulation (e.g., based on whether pin voltage 410 satisfies or does not satisfy a threshold voltage, as described elsewhere herein). Examples of different peripheral circuits are described in more detail in connection with
As further shown in
As further shown in
As an example, when pin voltage 418 is greater than threshold voltage 420, mode selection signal 424 may cause Switch B 404 to turn on (e.g., activate), and/or may cause Switch A 402 to remain off (e.g., deactivate). In this way, when pin voltage 418 is greater than threshold voltage 420 (e.g., indicating that primary side peripheral circuit 370 is coupled to selector pin 410), selection circuit 340 may activate primary side voltage regulation (e.g., by turning on a switch that connects PSVR feedback circuit 350 to voltage regulation circuit 390).
As another example, when pin voltage 418 is less than threshold voltage 420, mode selection signal 424 may cause Switch A 402 to turn on (e.g., activate), and/or may cause Switch B 404 to remain off (e.g., deactivate). In this way, when pin voltage 418 is less than threshold voltage 420 (e.g., indicating that secondary side peripheral circuit 380 is coupled to selector pin 410), selection circuit 340 may activate secondary side voltage regulation (e.g., by turning on a switch that connects SSVR feedback circuit 360 to voltage regulation circuit 390).
As further shown in
As shown, sample and hold circuit 428 may provide processed voltage signal 432 to error amplifier circuit 430 (e.g., a proportional-integral (PI) controller, a proportional-integral-derivative (PID) controller, etc.). As further shown, error amplifier circuit 430 may receive a voltage reference signal 434 (shown as “VREF”). Voltage reference signal 434 may be set to a predetermined value to assist in adjusting the primary voltage and/or the auxiliary voltage. Error amplifier circuit 430 may compare processed voltage signal 432 and voltage reference signal 434 to generate an error signal (e.g., a voltage adjustment signal), and may provide the error signal to voltage regulation circuit 390. Additionally, or alternatively, selector pin 410 may provide loop compensation for error amplifier circuit 430. Further details of primary side voltage regulation are described herein in connection with
As further shown in
As further shown in
Flip flop circuit 448 may use the comparison signal from comparator 444 and the zero-crossing signal from zero-crossing pin 426 to generate a gate control signal 450 (shown as “VGATE”). Gate control signal 450 may be provided to a gate (e.g., a MOSFET gate), which may control a voltage of the primary winding and/or the auxiliary winding. For example, the gate may be turned on or off based on gate control signal 450, which may control a voltage of the primary winding and/or the auxiliary winding. As an example, when the gate is turned on, a primary current in primary side circuit 310 may increase until a current threshold is satisfied. Current sensor pin 440 may detect the primary current and/or a primary voltage that depends on the primary current. When the primary current and/or the primary voltage reaches a threshold, the gate may be turned off, which may establish an auxiliary voltage in auxiliary circuit 330 and/or a secondary current in secondary side circuit 320. The secondary current (and/or a secondary voltage associated with the secondary current) may decrease over time. When the secondary current satisfies a threshold (e.g., zero or substantially zero within a tolerance), zero-crossing pin 426 may sample the auxiliary voltage. The sampled voltage may be sampled and held to control the gate (e.g., by adjusting an error signal based on the auxiliary voltage).
In this way, voltage regulation circuit 390 may control a primary voltage, in primary side circuit 310, and/or an auxiliary voltage in auxiliary circuit 330. By controlling the primary voltage and/or the auxiliary voltage, voltage regulation circuit 390 may also control a secondary voltage, in secondary side circuit 320, which depends on the primary voltage and/or the auxiliary voltage. By controlling the secondary voltage, voltage regulation circuit 390 may ensure proper performance of electrical load 230 and/or may prevent damage to electrical load 230.
The number and arrangement of components shown in
As shown in
As shown in
In some implementations, configurations other than a single resistor that makes a direct connection from selector pin 410 to ground may be used to differentiate primary side peripheral circuit 370, having a higher impedance, from secondary side peripheral circuit 380, having a lower impedance. For example, multiple resistors in series may be used, or other combinations of components can be used to establish a different (e.g., lower) level of impedance and/or a voltage threshold level that can be used to differentiate secondary side peripheral circuit 380 from primary side peripheral circuit 370. As another example, a charging time of selector pin 410 may be used to differentiate primary side peripheral circuit 370 from secondary side peripheral circuit 380. In this case, a capacitor may be connected to selector pin 410, and selector pin 410 may be charged for a fixed period of time during or after startup. After the fixed period of time has elapsed, pin voltage 410 may be measured at selector pin 410 to determine whether to select primary side voltage regulation or secondary side voltage regulation (e.g., based on whether pin voltage 410 satisfies or does not satisfy a threshold voltage, as described elsewhere herein).
In this way, a coupling of the peripheral circuit to selector pin 410, detected and analyzed by selection circuit 340, may cause an operation of selection circuit 340 in association with primary side voltage regulation or secondary side voltage regulation. For example, the coupling of PSVR peripheral circuit 370 may cause selection circuit 340 to provide loop compensation for an error signal received from PSVR feedback circuit 350. The loop compensation may reduce or eliminate undesirable oscillation in a control feedback loop used for primary side voltage regulation (e.g., where the selector pin is part of the control feedback loop). As another example, the coupling of SSVR peripheral circuit 380 may cause selection circuit 340 to provide feedback for secondary side voltage regulation (e.g., a voltage to be supplied to voltage regulation circuit 390).
As indicated above,
As shown, processed voltage signal 432 (shown as “VOUTSEN”), output from sample and hold circuit 428, may be received by an amplifier circuit 610, may be amplified, and may be provided to a comparator circuit 620. Comparator circuit 620 may compare this input to voltage reference signal 434 (shown as “VREF”), and may generate an error signal based on the comparison. As shown, the error signal may be provided to selector pin 410 (e.g., via switch B 404 in
As indicated above,
As shown in
As further shown in
As further shown in
As further shown in
As another example, if pin voltage 418 satisfies threshold voltage 420 (e.g., is greater than threshold voltage 420, is greater than or equal to threshold voltage 420, etc.), then converter 220 may regulate an output voltage, supplied to electrical load 230, using secondary side voltage regulation, as described in more detail elsewhere herein. As another example, if pin voltage 418 does not satisfy threshold voltage 420 (e.g., is less than threshold voltage 420, is less than or equal to threshold voltage 420, etc.), then converter 220 may regulate an output voltage, supplied to electrical load 230, using primary side voltage regulation, as described in more detail elsewhere herein.
In this way, a single integrated circuit within converter 220 may be used to select between primary side voltage regulation and secondary voltage regulation. With a more flexible integrated circuit that can be used in different situations, depending on whether primary side voltage regulation or secondary side voltage regulation is more beneficial, costs can be reduced by avoiding the development and manufacturing of multiple integrated circuits for the different situations.
Although
The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.
Some implementations are described herein in connection with thresholds. As used herein, satisfying a threshold may refer to a value being greater than the threshold, more than the threshold, higher than the threshold, greater than or equal to the threshold, less than the threshold, fewer than the threshold, lower than the threshold, less than or equal to the threshold, equal to the threshold, etc.
Even though particular combinations of features are recited in the claims and/or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, many of these features may be combined in ways not specifically recited in the claims and/or disclosed in the specification. Although each dependent claim listed below may directly depend on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim set.
No element, act, or instruction used herein should be construed as critical or essential unless explicitly described as such. Also, as used herein, the articles “a” and “an” are intended to include one or more items, and may be used interchangeably with “one or more.” Furthermore, as used herein, the term “set” is intended to include one or more items, and may be used interchangeably with “one or more.” Where only one item is intended, the term “one” or similar language is used. Also, as used herein, the terms “has,” “have,” “having,” or the like are intended to be open-ended terms. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.