CIRCUIT FOR SUPPLEMENTING ELECTRICAL CURRENT TO A PERIPHERAL DEVICE

Abstract
A data bus can supply power from a first power source to a sink device. The data bus is coupled to a second power source. An electrical current from the second power source supplements an electrical current on the data bus if the voltage on the data bus decreases to less than a threshold value.
Description
BACKGROUND

According to the Universal Serial Bus (USB) specification, host USB devices can power other (e.g., peripheral) devices. Host USB devices, such as personal computers and notebook computers, can provide up to but not more than 500 milli-amperes (mA) of electrical current to a peripheral device such as a portable storage device (e.g., a portable hard disk drive).


Contemporary portable storage devices (e.g., 2.5-inch portable hard disk drives) can consume up to 1000 mA of current during read or write operations, not including the amount of current consumed by the USB-to-SATA (Serial Advanced Technology Attachment) bridge integrated circuit. Clearly, the amount of current needed by a portable storage device can exceed the limit included in the USB specification.


To overcome this problem, some types of portable storage devices are equipped with a USB Y-cable that allows the drive to be plugged into two USB ports at the same time. A portable storage device can thus draw up to 500 mA of current from one USB port and up to another 500 mA of current from another USB port, thereby obtaining the amount of current needed for read and write operations. However, this type of solution may be problematic because the host device may not have two available USB ports. That is, the host device's USB ports may be needed for other purposes, and it may not be possible to devote two ports to a single device such as a portable storage device.


Other types of portable storage devices are instead equipped with a power adapter that allows them to be plugged into an external power supply (e.g., an electrical outlet). However, this type of solution is cumbersome and inconvenient, especially for a storage device that is supposed to be portable. In other words, a power adapter can be relatively bulky, and its use requires that the portable storage device be placed with reach of an electrical outlet (e.g., a wall outlet).


SUMMARY

Embodiments according to the invention provide solutions to the problems described above. In one embodiment, a data bus is also used to supply power from a first power source to a sink device. A second power source can supplement the electrical current on the data bus if the voltage on the data bus decreases to less than a threshold value.


More specifically, in one embodiment, a power circuit for a portable storage device (e.g., a portable hard disk drive) includes a rechargeable battery and a USB cable that can be plugged into a USB port on a host device. While the storage device is operating, it can draw power (electrical current) both from the battery and from the host device via the USB cable. While the storage device is in standby mode or is turned off, the battery can be recharged by the host device via the USB cable. Combined, the battery and the host device provide the peak amount of electrical current (e.g., 1000 mA) needed by the storage device.


Thus, for example, a storage device can be operated using only a single USB port, and a separate power adapter is not needed.


These and other objects and advantages of the various embodiments of the present disclosure will be recognized by those of ordinary skill in the art after reading the following detailed description of the embodiments that are illustrated in the various drawing figures.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and form a part of this specification and in which like numerals depict like elements, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the disclosure.



FIG. 1 is a block diagram of a circuit according to an embodiment of the invention.



FIG. 2 is a schematic/block diagram of a circuit according to an embodiment of the invention.



FIG. 3 is a table summarizing operating modes for a circuit according to an embodiment of the invention.



FIG. 4 is a flowchart of a method for powering a device according to an embodiment of the invention.





DETAILED DESCRIPTION

Reference will now be made in detail to the various embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. While described in conjunction with these embodiments, it will be understood that they are not intended to limit the disclosure to these embodiments. On the contrary, the disclosure is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the disclosure as defined by the appended claims. Furthermore, in the following detailed description of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be understood that the present disclosure may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present disclosure.


In overview, with reference to FIG. 1, a circuit 100 delivers power from a first power source 111 to a sink device 120 via a power/data bus (or cable) 115 that can simultaneously carry both power (electrical current) and data. The first power source 111 can be supplemented by a second power source 112. Specifically, in one embodiment, if the voltage on the bus 115 decreases to below a threshold value, then power from the second power source 112 is provided to the sink device 120. In such an embodiment, the circuit 100 can include a boost converter (not shown in FIG. 1; refer to FIG. 2) that is coupled between the second power source 112 and the sink device 120.


Continuing with reference to FIG. 1, in one embodiment, the bus 115 is a Universal Serial Bus (USB) and the first power source 111 is a host device (e.g., a personal computer system). The USB cable can be plugged into the host device, which can provide up to 500 mA of electrical current to the sink device 120.


In one embodiment, the second power source 112 can also provide up to 500 mA of electrical current to the sink device. In one embodiment, the second power source 112 is a battery. The battery can be a rechargeable battery. Accordingly, in such an embodiment, the circuit 100 can include a battery charger (not shown in FIG. 1; refer to FIG. 2) that is coupled to the first power source 111. The battery charger can be turned on to charge the battery when the sink device 120 is in standby mode or otherwise is not operating (e.g., it is turned off), and the battery charger can be turned off when the sink device 120 is active. In other words, when the sink device 120 is active, it can be powered by both the first power source 111 and the second power source 112. Otherwise, the first power source 111 can be used to recharge the second power source 112.


As noted above, the second power source 112 of FIG. 1 can be brought into use when the voltage on the bus 115 drops to a threshold value, in order to supplement the first power source 111. Together, the first and second power sources 111 and 112 can satisfy the peak demands of the sink device 120. In one embodiment, the sink device 120 is a portable storage device (e.g., a portable hard disk drive). In such an embodiment, the first and second power sources 112 can provide up to a combined 1000 mA of electrical current to the storage device.



FIG. 2 is a schematic diagram showing elements of a circuit 200 that can be used to power a portable storage device 250 in one embodiment according to the invention. In the embodiment of FIG. 2, the circuit includes a battery 202, a boost converter 204, a battery charger 206, a gang switch SW1, and a USB-to-SATA bridge integrated circuit 210. The circuit 200 also includes a USB plug 215 (e.g., a Type A plug) that can be plugged into a USB port on a host device. As shown in FIG. 2, the circuit 200 also includes other components such as, but not limited to, voltage regulators, resistors, and internal circuitry.


The battery 202 can be a lithium-ion rechargeable battery, in which case the battery charger 206 is a lithium-ion battery charger. In one embodiment, the battery 202 supplies 3.7 volts (V) and the boost converter 204 is a 3.7 V to 4.7 V boost converter. However, as will be seen, such values are simply a matter of design choice.


In operation, the circuit 200 works as follows. The USB port on the host device will provide 500 mA of current (I-usb). Of that amount, about 100 mA of current (I-bridge) will be consumed by the integrated circuit 210, leaving about 400 mA (I-usb-to-hdd) for delivery to the storage device 250. This amount of current, by itself, is insufficient to power the storage device 250.


As the 500 mA current limit from the USB port becomes a factor, the voltage Vusb will start to drop. When Vusb reaches a threshold value, the boost converter 204 will start to draw power from the battery 202 in order to provide a supplemental current (I-boost) that is needed to power up and operate the storage device 250. In other words, the amount of current (I-hdd) provided to the storage device is the sum of I-usb-to-hdd and I-boost. In one embodiment, the boost converter supplies an additional 500 mA of current. Thus, the current from the boost converter 204 supplements the current from the USB port and provides the extra current needed to spin up and operate the storage device 250.


In one embodiment, the threshold value is 4.7 V; as mentioned above, this value is a matter of design choice. In general, the threshold value corresponds to the characteristics of the boost converter 204, and vice versa.


The switches SW1 are switched on (closed) when the storage device 250 is turned on. The switches SW1 are otherwise switched off (opened) to prevent the battery 202 from draining.


Thus, as just described, the battery 202 is not used until the voltage Vusb drops to the threshold value (e.g., 4.7 V). The battery 202 can be recharged when it is not needed. More specifically, the battery 202 can be recharged each time the storage device 250 is in standby mode or is powered off.


In one embodiment, the storage device 250 is equipped with an automatic standby feature that places the drive in standby mode when the drive has been inactive for a specified period of time. In one embodiment, if the storage device 250 has not received a command from the host for a period of 30 seconds, then the drive automatically enters standby mode. In standby mode, the amount of current drawn by the storage device 250 is reduced to about 150 mA. The 30-second threshold is a matter of design choice.


The battery charger 206 uses current from the host device (specifically, current from the USB port) to recharge the battery 202. In one embodiment, the battery charger 206 is turned on in response to a signal from the storage device 250 that indicates the drive is in standby mode. In one such embodiment, the P11 pin of the storage device 250 is used to provide that signal. More specifically, when the storage device 250 is in standby mode, a logic-low signal from the P11 pin can be used to turn on the battery charger 206. In response to a command from the integrated circuit 210, the storage device 250 can be awakened and can enter active mode. Consequently, the P11 pin will send a logic-high signal that will turn off the battery charger 206.


The P11 pin is conventionally used to turn on a light-emitting diode to provide a visual indication that the storage device 250 is operating. Thus, the P11 pin provides an elegant means of turning on and off the battery charger 206.


To summarize, with reference to FIG. 3, when the storage device 250 is operating (in active mode) and Vusb is greater than 4.7 V, then the storage device receives an amount of current I-usb-to-hdd from the USB port and the battery charger 206 is turned off. In active mode, once Vusb falls to less than 4.7 V, then the storage device 250 receives both the current I-usb-to-hdd and an amount of current I-boost from the battery 202 via the boost converter 204 (I-usb-to-hdd plus I-boost, equal to I-hdd).


When the storage device 250 is not operating (e.g., in standby mode), then the current from the USB port is instead used to recharge the battery 202. Recharging the battery 202 does not affect operation of the storage device 205 in standby mode, because the current demanded by the drive in standby mode is reduced and can be satisfied by just the current I-usb-to-hdd.


The battery 202 can also be charged when the storage device 250 is turned off.


Thus, embodiments according to the present invention provide sufficient power (specifically, electrical current) to a peripheral device using a single power/data cable by selectively supplementing the power (current) carried by the cable with power (current) from a second power source.



FIG. 4 is a flowchart 400 of a method for powering a peripheral device according to an embodiment of the invention. In block 402, voltage on a data bus that supplies power from a first power source to a sink device is sensed. In one embodiment, the data bus is a USB, the sink device is a storage device (e.g., a portable hard disk drive), and the rechargeable second power source is a battery.


In block 404, in response to the sensed voltage falling to less than a threshold value, current is provided from a rechargeable second power source to the sink device to supplement current from the first power source.


In block 406, charging of the rechargeable second power source is initiated in response to the sink device transitioning from active mode to standby mode.


In summary, according to embodiments of the present invention, a peripheral device—for example, a portable storage device such as a portable hard disk drive—can be powered using only a single USB port, without using an extra USB Y-cable or a power adapter. More than 500 mA of current can be delivered to the peripheral device using a single USB port that is limited to providing only 500 mA of current.


Because only a single USB port is needed, other USB ports can be allocated to other uses. Because an adapter is not needed, the peripheral device is less cumbersome and easier to use.


The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as may be suited to the particular use contemplated.


Thus, although described for examples based on USB and portable storage devices such as portable hard disk drives, embodiments of the invention can be utilized with other types of standards and other types of devices.


Embodiments according to the invention are thus described. While the present disclosure has been described in particular embodiments, it should be appreciated that the invention should not be construed as limited by such embodiments, but rather construed according to the below claims.

Claims
  • 1. An apparatus comprising: a data bus that is also operable for supplying power from a first power source to a sink device; anda second power source coupled to said data bus, wherein an electrical current from said second power source supplements an electrical current on said data bus in response to a voltage on said data bus decreasing below a threshold value.
  • 2. The apparatus of claim 1 wherein said data bus comprises a Universal Serial Bus (USB).
  • 3. The apparatus of claim 1 wherein said sink device comprises a storage device.
  • 4. The apparatus of claim 1 wherein said second power source comprises a rechargeable battery.
  • 5. The apparatus of claim 4 further comprising a battery charger coupled to said sink device and said first power source, wherein said battery charger begins charging said rechargeable battery responsive to said sink device transitioning from active mode to standby mode.
  • 6. The apparatus of claim 5 wherein said battery charger is turned on and off responsive to a signal that changes state when said sink device transitions between said active mode and said standby mode.
  • 7. The apparatus of claim 5 wherein said sink device transitions from said active mode to said standby mode after said sink device is inactive for a prescribed period of time.
  • 8. The apparatus of claim 1 further comprising a boost converter coupled between said second power source and said sink device.
  • 9. The apparatus of claim 1 further comprising a switch coupled to said second power source, wherein said switch is closed when said sink device is turned on, and wherein said switch is open when said sink device is turned off to prevent draining of said second power source.
  • 10. A method comprising: sensing voltage on a data bus that supplies power from a first power source to a sink device; andin response to said voltage falling to less than a threshold value, providing current from a rechargeable second power source to said sink device to supplement current from said first power source.
  • 11. The method of claim 10 wherein said data bus comprises a Universal Serial Bus (USB), said sink device comprises a storage device, and said rechargeable second power source comprises a battery.
  • 12. The method of claim 10 further comprising initiating charging of said rechargeable second power source responsive to said sink device transitioning from active mode to standby mode.
  • 13. The method of claim 10 further comprising: closing a switch when said sink device is turned on; andopening said switch when said sink device is turned off to prevent draining of said second power source.
  • 14. An apparatus comprising: a powered data cable operable for connecting a host power source and a peripheral device;a chargeable power source coupled to said powered data cable, wherein said chargeable power source is operable for supplying a current that supplements a current on said powered data cable; anda charging circuit coupled to said chargeable power source and operable for receiving a signal triggered by said peripheral device, wherein said charging circuit begins charging said chargeable power source in response to a change in state of said signal.
  • 15. The apparatus of claim 14 wherein said peripheral device comprises a storage device.
  • 16. The apparatus of claim 14 wherein said second power source comprises a rechargeable battery.
  • 17. The apparatus of claim 14 wherein said signal changes state in response to said peripheral device transitioning between said active mode and said standby mode.
  • 18. The apparatus of claim 17 wherein said peripheral device transitions from said active mode to said standby mode after said peripheral device is inactive for a prescribed period of time.
  • 19. The apparatus of claim 14 further comprising a boost converter coupled between said second power source and said peripheral device.
  • 20. The apparatus of claim 14 further comprising a switch coupled to said second power source, wherein said switch is closed if said peripheral device is turned on, and wherein said switch is open if said peripheral device is turned off.