APPARATUS AND METHODS TO
PROVIDE A SELECTABLE CHARGING VOLTAGE
Technical Field
[0001 ] The field is power delivery. Background
[0002] Portable devices (PD) such as tablet computers and mobile phones may use a micro-universal serial bus (USB) port or a type-C USB port for charging as well as data transfer. For example, charging through micro-USB or type-C USB ports may be done at 5V, 1 .5A (e.g., 7.5W) and may require a long time to charge.
Further, if the device is active while being charged, the charging time may be longer than if the device is not active during charging.
Brief Description of the Drawings
[0003] FIG. 1 is a block diagram of an apparatus, according to embodiments of the present invention.
[0004] FIG. 2 is a block diagram of an apparatus, according to another embodiment of the present invention.
[0005] FIG. 3 is a flow diagram of method, according to an embodiment of the present invention.
[0006] FIG. 4 is a flow diagram of a method, according to another embodiment of the present invention.
Detailed Description
[0007] In embodiments, an alternating current (AC) power adapter may include a detection apparatus that may enable charging of a portable device by power source at a selectable rate, e.g., at a standard (also "normal" herein) rate (e.g., 5V, 1 .5 amperes), and at a higher rate than the standard rate. Embodiments may enable charging at the higher rate than the standard rate with a relatively low cost
implementation, and without adding an integrated circuit in the AC power adapter.
[0008] In embodiments, a USB dedicated charging AC adapter that may utilize a portable device handshake and may enable an increase in USB charging voltage
from a first voltage level, e.g., 5V, to a second voltage level (e.g., 12V), which may result in faster charging of the portable device via USB port. Detection of the compatible portable device by the AC adapter may be realized via an inductor- capacitor (L-C) tank circuit that is resonant at a defined frequency. Use of the L-C tank circuit for identification of the compatible portable device may be implemented at a lower cost than, e.g., use of a dedicated integrated circuit (IC) in the AC adapter to identify the compatible portable device. In some embodiments, multiple L-C tank circuits may be employed to enable charging at any of a plurality of voltage levels, e.g., without affecting USB communication. Charging at the higher voltage level may be enabled whether the portable system is in shut down mode or in active mode. Use of one or more L-C tank circuits may be compatible with, e.g., USB BC1 .2 and USB power delivery (PD) specifications.
[0009] FIG. 1 is a block diagram of an apparatus 100, according to an embodiment of the present invention. The apparatus 100 includes a USB AC adapter 1 10 and a portable device 150 that includes power management logic 120 and a system on a chip (SOC) 130. The USB AC adapter 1 10 is to connect to the portable device 150 via a USB connector 140.
[0010] The USB AC adapter 1 10 includes an AC/DC converter 1 12 and a detector 1 14. In the portable device 150, the power management logic 120 includes a USB charger interface 122, status/configuration registers 124, USB switches 126, signal generator logic 152, a current meter 154 (e.g., current measurement logic), and a USB port 140. The USB port 140 may be, e.g., a micro-AB port, a Type-C port, or another USB port.
[001 1 ] In an embodiment, a change of charging voltage from a first charging voltage to a second (e.g., higher) charging voltage through the USB port 140 may occur as follows. (In other embodiments, an order in which actions are executed may vary.)
[0012] The USB adapter 1 10 may be coupled to an AC source 102. When the USB adapter 1 10 is coupled to the AC source 102, the USB adapter 1 10 may drive a first voltage (e.g., 5V) to the USB port 140. Optionally, a power conduit VBUS 122 can
be enabled only after an upstream facing port (UFP) pull down is detected on a CC pin of the USB adapter 1 10 (e.g., detected at line 142 output from the USB port 140). In some embodiments, the USB adapter 1 10 behaves like a BC1 .2 DCP adapter and complies with a BC1 .2 DCP adapter Specification.
[0013] The portable device 150 may detect that the USB adapter 1 10 is a
dedicated charger. In the case of USB type B or type AB, D+/D- lines 1 18/1 19 may be available for a voltage negotiation. When a Type-C USB port such as USB port 160 is used, one of D+, D-, CC, SBU1 , SBU2, RX1 +, RX1 -, RX2+, RX2-, TX1 +, TX1 - , TX2+, or TX2- may be available for voltage negotiation. The portable device 150 begins to charge at a normal charging voltage. In some embodiments, the normal charging voltage is approximately 5 volts.
[0014] The signal generator logic 152 may generate a signal (e.g., square wave signal), and send the signal, via the charger interface 122, to an available line (e.g., for type B or type AB, either of D+ 1 18 or D- lines 1 19; for Type-C, any available line from the lines listed above) at a signal frequency that may be incremented within a defined frequency band. The signal may be communicated to the USB Adapter 1 10. The signal frequency may start from a minimum frequency and the frequency may be increased in incremental steps (e.g., frequency sweep or frequency drive herein).
[0015] The portable device 150 may detect a resonant load during the frequency sweep, e.g., via a change in current supplied by the signal generator logic 152, as detected by the current meter 154. The portable device 150 may fine tune and lock the signal frequency at or near a resonant frequency of a tank circuit located within the detector 1 14 of the USB adapter. If a resonant load is not found, the portable device 150 will continue normal charging, e.g., at the normal charging voltage.
[0016] In some embodiments, at resonance or close to resonance (e.g., at a signal frequency that is within a frequency band that may include the resonant frequency of the tank circuit and may extend above and below the resonant frequency by a frequency differential), an L-C tank circuit voltage at the USB AC adapter 1 10 may increase to multiple times of a driven voltage (e.g. from 3.3V, increase to over 5V). This increase in voltage may occur at or close to the resonant frequency of the tank
circuit. The increased voltage may be used to activate a field effect transistor (FET), e.g., within the detector 1 14 to change AC adapter output voltage. The higher voltage at resonance may serve as an indicator that charging voltage may change (e.g., to a higher output voltage). The resonance and resultant higher resonant circuit voltage may be a distinct behavior that is not easily confused by other communication waveforms.
[0017] Distinct resonant frequencies can be assigned to each of a plurality of high voltage levels, each of which may have a corresponding L-C tank circuit within the detector 1 14. In some embodiments, the AC USB adapter 1 10 can support multiple output voltage levels.
[0018] The portable device 150 may check for a desired output voltage from the AC adapter 1 10 (e.g., higher charging voltage) on VBUS 122/142. If the desired output voltage is available from the AC adapter 1 10 via the USB port 140 prior to expiration of a blank time interval, charging of the portable device 150 at a higher rate is enabled. If the desired output voltage is not available prior to expiration of the blank time interval, the portable device 150 may cease the frequency sweep and may continue with normal charging, e.g., at the normal charging voltage. In one embodiment, the normal charging voltage is approximately 5 volts.
[0019] When the USB AC adapter 1 10 is unplugged from the portable device 150, the adapter output voltage may be reduced to the regular voltage (e.g., 5V), as the signal is disconnected from the USB AC adapter 1 10. There may be a time out delay before reducing the charging voltage to the initial voltage. In some
embodiments, the time out delay may be shorter than a shortest practical time needed to remove a connector (e.g., USB connector 140) from one device and plug to another device compatible with the BC1 .2 specification.
[0020] When the USB AC adapter 1 10 is disconnected, the portable device 150 may disconnect the signal (e.g., square wave signal), and normal port function may resume.
[0021 ] FIG. 2 is a block diagram of a USB AC adapter 200, according to another embodiment of the present invention. The USB AC adapter 200 may include an
AC/DC converter 210 and a detector 220. Also shown are lines D+ 232, D- 234, VBUS 236, and CC 238. (In other embodiments, e.g., for use with type-C USB port, an available line from the type-C USB port may be utilized in voltage negotiation.)
[0022] In operation, the USB AC adapter 200 may be adapted/configured to couple to a portable device (not shown) via a USB plug 240, e.g., AB USB port, or micro/Type-C plug, or another USB plug. Upon detection of the USB AC adapter 200 by the portable device (via the USB plug 240), a signal (e.g., square wave signal) may be received (e.g., from the portable device) at the detector 220 via one of the lines D+ 232, D- 234, or (e.g., for type-C USB ports) via another available line. The signal received may have a frequency fsignai that changes with time, e.g., sweeps within a determined frequency band (e.g., sweep from a lowest frequency to a highest frequency of the frequency band).
[0023] An L-C tank circuit 222 within the detector 220 may "see" the signal. The L- C tank circuit 222 may be tuned to a resonant frequency f, e.g. determined by values of the inductor L and the capacitor C. As the varying frequency fSignai approaches the resonant frequency f, a voltage across the L-C tank circuit 222 may rise, and as the frequency fsignai changes to values that are increasingly distant from the resonant frequency f, the voltage across the L-C tank circuit 222 may fall to a steady value. The portable device can detect a resonance in the L-C tank circuit 222 by measuring current output from signal generator logic (e.g., within the portable device 150) and when resonance is detected, the signal generator logic within the portable device 150 may return to a frequency range within which the resonance has been detected, and may lock in on or near the resonant frequency f (e.g., within a determined frequency differential of the resonant frequency f , the determined frequency differential forming a frequency band that includes frequencies below the resonant frequency f and frequencies above the frequency f). A diode 224 may rectify AC voltage to a DC signal, and a resistor-capacitor (R-C) circuit 226 may ensure that the voltage at the resonant frequency f persists for a minimum R-C time constant before a field effect transistor (FET) 228 is activated. Upon activation of the FET 228, the AC/DC logic 210 may switch from a first charging voltage to a second charging voltage, e.g., the second charging voltage may be higher than the first charging
voltage. The charging voltage may be provided to the portable device via the VBUS 236.
[0024] Other embodiments may include a plurality of L-C tank circuits, each L-C tank circuit tuned to a corresponding resonant frequency. Each resonant frequency may be associated with a distinct charging voltage to be provided by the AC/DC logic 210, and a particular charging voltage may be activated by locking a signal frequency (e.g., provided by the portable device) to a frequency value fSignai that is substantially the same (or close to) the corresponding resonant frequency of the L-C tank circuit that is associated with the desired charging voltage.
[0025] FIG. 3 is a flow diagram 300 of a method, according to an embodiment of the present invention. At decision diamond 302, if a portable device detects that a USB port VBUS (e.g., charging line) of a USB port is valid, continuing to block 304, detection is started (e.g., according to BC 1 .2 specification) by the portable device. Advancing to decision diamond 306, if a dedicated charger is not detected, moving to block 308 normal portable device functions are continued for the portable device (PD) coupled to a fixed output voltage charger. If a dedicated (e.g., multi-level voltage) charger is detected, moving to block 310, a signal (e.g., square wave signal) is applied to a free pin of the USB port. The signal has an associated frequency that may be swept through a frequency band. For example, a sweep may be from a minimum frequency of the frequency band to a maximum frequency of the frequency band.
[0026] Proceeding to decision diamond 312, if no resonance is detected by the portable device (the resonance associated with USB AC adapter circuitry, which may be detected via, e.g., current measurement logic), continuing to block 314 the signal is stopped and charging at a standard charging voltage is continued. If, at decision diamond 312, resonance is detected at the portable device (e.g., by measurement of current provided by the signal generator logic), continuing to block 316 the frequency sweep is stopped and the frequency of the signal is locked at or near a resonant frequency, e.g., within a frequency band that includes frequencies higher than the resonant frequency and lower than the resonant frequency. For example, the
frequency band can include frequencies within a defined frequency differential of the resonant frequency.
[0027] Advancing to block 318, if the VBUS is not providing a desired charging voltage to the portable device, proceeding to decision diamond 320, if a blank time interval is not expired, VBUS is again checked for the desired charging voltage (some time may elapse before charging voltage is switched). If the blank time interval is expired and the desired charging voltage is not being provided via the VBUS, proceeding to block 314 the signal is stopped and charging at the regular charging voltage continues.
[0028] If, at decision diamond 318, VBUS is supplying the desired charging voltage, continuing to block 322 charging at a desired rate (e.g., faster rate than normal rate) is enabled. Advancing to decision diamond 324, VBUS is monitored to ensure that the desired charging voltage is being provided via the VBUS. If the desired charging voltage is not being provided, proceeding to block 326, the signal is stopped, charging is halted, and an interrupt is generated and sent to, e.g., a system on a chip (SOC) of the portable device to indicate that a fault has occurred.
[0029] FIG. 4 is a flow diagram of a method 400, according to another embodiment of the present invention. At decision diamond 402, if a USB AC adapter is plugged into AC power, continuing to block 404, the USB AC adapter is to drive a standard (e.g., normal) voltage (e.g., 5 V) to VBUS, which is an outgoing bus line that is to carry charging voltage to a USB port coupled to a portable device. Advancing to decision diamond 406, if the USB AC adapter detects a resonant frequency of a signal, the resonant frequency corresponding to a resonant tank circuit of the USB AC adapter, the signal (e.g., square wave signal) provided by a portable device onto a selected USB pin (e.g., D+, D-, or another available pin), proceeding to decision diamond 408 if a blank time interval is expired, continuing to block 410 a desired charging voltage (e.g., high charging voltage) is enabled on VBUS. If the blank time has not yet expired, returning to decision diamond 408, when the blank time expires, proceeding to block 410 the desired charging voltage is enabled on VBUS.
[0030] Advancing to decision diamond 412, as long as the resonant frequency (e.g., signal whose frequency is at, or close to the resonant frequency and received at the USB AC charger from the portable device) is detected on the selected USB pin to which the portable device has provided the signal, the desired charging voltage (e.g., high voltage) will continue to be provided by the USB AC charger via the VBUS. If the resonant frequency (or signal whose frequency is close to the resonant frequency) is not detected on the selected USB pin, proceeding to decision diamond 414, if the blank time interval is not expired, returning to decision diamond 412 the USB AC adapter continues to determine whether the resonant frequency is on the selected pin. If the blank time interval is expired, returning to block 404, standard voltage is again provided via the VBUS for charging of the portable device.
[0031 ] Additional embodiments are described below.
[0032] In a first embodiment, an apparatus includes detector logic having a first resonant frequency. The detector logic is to receive a power management signal having a power management signal frequency and to provide an indication of whether the power management signal frequency is within a first frequency differential of the first resonant frequency. The apparatus also includes switch signal logic to, responsive to the indication that the power management signal frequency is within the first frequency differential of the first resonant frequency, activate a first switching signal to cause power adapter circuitry to change an output voltage from a first voltage to a second voltage that is distinct from the first voltage.
[0033] A second embodiment includes elements of the 1 st embodiment, and further includes the power adapter circuitry to input alternating current (A.C.) and to output direct current (D.C.) at an output voltage selected from a plurality of selectable output voltages. Responsive to receipt of the first switching signal the power adapter circuitry is to change the output voltage from the first voltage to the second voltage.
[0034] A 3rd embodiment includes elements of the 2nd embodiment. Additionally, the power adapter circuitry is to provide the output voltage to a universal serial bus (USB) connector.
[0035] A 4th embodiment includes elements of the 3rd embodiment, and further includes the USB connector.
[0036] A 5th embodiment includes elements of the 1 st embodiment. Additionally, responsive to a change in the power management signal frequency from a first frequency that is within the first differential frequency of the resonant frequency, to a second frequency that is outside of the first frequency differential of the resonant frequency, the switch signal logic is to deactivate the first switching signal. Upon deactivation of the first switching signal the output voltage is to change from the second voltage to the first voltage.
[0037] A 6th embodiment includes elements of the 1 st embodiment, where the second voltage is greater than the first voltage.
[0038] A 7th embodiment includes elements of the 6th embodiment, where the first voltage is approximately 5 volts and the second voltage is approximately 12 volts.
[0039] An 8th embodiment includes elements of the 1 st embodiment, where the detector logic has a second resonant frequency, the detector logic is to provide an indication of whether the power management signal frequency is within a second frequency differential of the second resonant frequency, and where responsive to the indication that the management signal frequency is within the second frequency differential of the second resonant frequency, the switch signal logic is to activate a second switching signal to cause the power adapter circuitry to output a third voltage that is distinct from the first voltage and distinct from the second voltage.
[0040] A 9th embodiment includes elements of the 1 st embodiment, where upon recognition of the indication that the power management signal frequency is within the first frequency differential of the first resonant frequency, the switch signal logic is to cause the power adapter circuitry to change the output voltage from the first voltage to the second voltage after expiration of a blank time interval that begins when the detector logic is enabled to detect the power management signal.
[0041 ] A 10th embodiment includes elements of the 1 st embodiment, where the detector logic includes resonant circuitry with a resonant frequency that is the first resonant frequency.
[0042] An 1 1 th embodiment includes elements of the 10th embodiment, where the resonant circuitry includes an inductor-capacitor (L-C) tank circuit.
[0043] A 12th embodiment is a method that includes receiving at detector logic, a power management signal having a power management signal frequency, determining whether the power management signal frequency is within a first frequency differential of a first resonant frequency, and responsive to the power management signal frequency being within the first frequency differential of the first resonant frequency, providing a first indication that is to cause an output voltage of power circuitry to be switched from a first output voltage to a second output voltage that is distinct from the first output voltage.
[0044] A 13th embodiment includes elements of the 12th embodiment, and further includes, after the output voltage of the power logic is switched to the second output voltage, responsive to the power management signal frequency changing to a second power management signal frequency that is outside of the first frequency differential of the first resonant frequency, providing a second indication that is to cause the output voltage of the power circuitry to be switched to the first output voltage.
[0045] A 14th embodiment includes elements of the 12th embodiment, where when the power management signal frequency is within the first frequency differential of the first resonant frequency, the output voltage of the power circuitry is to be switched from the first output voltage to the second output voltage upon expiration of a blank time interval.
[0046] A 15th embodiment includes elements of the 12th embodiment, where the second output voltage is higher than the first output voltage.
[0047] A 16th embodiment includes elements of the 12th embodiment, further including determining whether the power management signal frequency is within a second frequency differential of a second resonant frequency, and responsive to the power management signal frequency being within the second frequency differential of the second resonant frequency, providing a second indication that is to cause the
output voltage of power circuitry to be changed to a third output voltage that is distinct from the first output voltage and the second output voltage.
[0048] A 17th embodiment is an apparatus to perform the method of any one of embodiments 12-16.
[0049] An 18th embodiment is an apparatus including means for performing the method of any one of embodiments 12-16.
[0050] A 19th embodiment is a computer-readable medium storing processor executable instructions that, when executed by a processor, causes the processor to receive, at power management logic, a power management signal having a power management signal frequency, determine whether the power management signal frequency is within a first frequency differential of a first resonant frequency, and responsive to the power management signal frequency being within the first frequency differential of the first resonant frequency, switch an output voltage of power circuitry from a first output voltage to a second output voltage that is distinct from the first output voltage.
[0051 ] A 20th embodiment includes elements of the 19th embodiment, and further including instructions to, after the output voltage of the power logic is switched to the second output voltage and responsive to the power management signal frequency having a second power management signal frequency that is outside of the first frequency differential of the first resonant frequency, switch the output voltage of the power circuitry to the first output voltage.
[0052] A 21 st embodiment includes elements of the 19th embodiment, and further includes instructions to wait for a blank time interval to expire before switching the output voltage of the power circuitry to the second output voltage when the power management signal frequency is within the first frequency differential of the first resonant frequency, where the blank time interval begins at an initial time of determination that the power management signal frequency is within the first frequency differential of the first resonant frequency.
[0053] A 22nd embodiment includes elements of the 19th embodiment, further including instructions to determine whether the power management signal frequency
is within a second frequency differential a second resonant frequency, and
responsive to the power management signal frequency being within the second frequency differential of the second resonant frequency, change the output voltage of power circuitry to a third output voltage that is distinct from the first output voltage and the second output voltage.
[0054] A 23rd embodiment is an apparatus that includes means for receiving a power management signal having a power management signal frequency, means for determining whether the power management signal frequency is within a first frequency differential of a first resonant frequency, and means for, responsive to the power management signal frequency being within the first frequency differential of the first resonant frequency, providing a first indication that is to cause an output voltage of power circuitry to be switched from a first output voltage to a second output voltage that is distinct from the first output voltage.
[0055] A 24th embodiment includes elements of the 23rd embodiment, further including means for providing a second indication that is to cause the output voltage of the power circuitry to be switched to the first output voltage after the output voltage of the power logic is switched to the second output voltage responsive to the power management signal frequency changing to a second power management signal frequency that is outside of the first frequency differential of the first resonant frequency.
[0056] A 25th embodiment includes elements of the 23rd embodiment, further including means for switching the output voltage of the power circuitry from the first output voltage to the second output voltage upon expiration of a blank time interval when the power management signal frequency is within the first frequency
differential of the first resonant frequency.
[0057] A 26th embodiment includes elements of the 23rd embodiment, where the second output voltage is higher than the first output voltage.
[0058] A 27th embodiment includes elements of the 23rd embodiment, and further includes means for determining whether the power management signal frequency is within a second frequency differential of a second resonant frequency, and means
for providing a second indication that is to cause the output voltage of power circuitry to be changed to a third output voltage that is distinct from the first output voltage and the second output voltage responsive to the power management signal frequency being within the second frequency differential of the second resonant frequency.
[0059] A 28th embodiment is an apparatus that includes frequency generation logic to generate a signal having a signal frequency that is selectable within a band of frequencies, a first pin to output the signal to a power source, a second pin to receive first power at a first voltage from the power source, and current measurement logic to measure a current provided by the frequency generation logic to the first pin. The frequency generation logic is to vary the signal frequency within the band of frequencies, and responsive to a first increase in current detected by the current measurement logic when the signal frequency is proximate to a first frequency of the band of frequencies, the frequency generation logic is to lock the signal frequency at a first lock frequency that is approximately the first frequency and upon locking the signal frequency at the first lock frequency, the second pin is to receive second power at a second voltage from the power source.
[0060] A 29th embodiment includes elements of the 28th embodiment, and further includes a universal serial bus (USB) port that includes the first pin and the second pin, the USB port to couple to a USB connector of the power source.
[0061 ] A 30th embodiment includes elements of the 28th embodiment. Additionally, responsive to a second increase in current detected by the current measurement logic when the signal frequency is proximate to a second frequency of the band of frequencies, the frequency generation logic is to lock the signal frequency at a second lock frequency that is approximately the second frequency and upon locking the signal frequency at the second lock frequency, the second pin is to receive third power at a third voltage from the power source.
[0062] A 31 st embodiment is a method that includes generating, by a signal generation logic of a device, a signal having a signal frequency that is selectable within a band of frequencies, outputting the signal to a power source, receiving by
the device, first power at a first voltage from the power source, measuring, by current measurement logic of the device, a current provided by the frequency generation logic to the power source, varying the signal frequency within the band of
frequencies, and responsive to detection of a first increase in the current when the signal frequency is proximate to a first frequency of the band of frequencies, locking the signal frequency at a first lock frequency that is approximately the first frequency. Upon locking the signal frequency at the first lock frequency, second power at a second voltage is to be received from the power source.
[0063] A 32nd embodiment includes elements of the 31 st embodiment, and further includes, responsive to detection of a second increase in the current when the signal frequency is proximate to a second frequency of the band of frequencies, locking the signal frequency at a second lock frequency that is approximately the second frequency, where upon locking the signal frequency at the second lock frequency, third power at a third voltage is to be received from the power source.
[0064] Embodiments may be used in many different types of systems. For example, in one embodiment a communication device can be arranged to perform the various methods and techniques described herein. Of course, the scope of the present invention is not limited to a communication device, and instead other embodiments can be directed to other types of apparatus for processing instructions, or one or more machine readable media including instructions that in response to being executed on a computing device, cause the device to carry out one or more of the methods and techniques described herein.
[0065] Embodiments may be implemented in code and may be stored on a non- transitory storage medium having stored thereon instructions which can be used to program a system to perform the instructions. Embodiments also may be
implemented in data and may be stored on a non-transitory storage medium, which if used by at least one machine, causes the at least one machine to fabricate at least one integrated circuit to perform one or more operations. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, solid state drives (SSDs), compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such
as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
[0066] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous
modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.