Aspects of the present application relate to electronic gaming. More specifically, to methods and systems for electronic device charging via an audio jack.
Limitations and disadvantages of conventional approaches to electronic device charging will become apparent to one of skill in the art, through comparison of such approaches with some aspects of the present method and system set forth in the remainder of this disclosure with reference to the drawings.
Methods and systems are provided for electronic device charging via an audio jack, substantially as illustrated by and/or described in connection with at least one of the figures, as set forth more completely in the claims.
As utilized herein the terms “circuits” and “circuitry” refer to physical electronic components (i.e. hardware) and any software and/or firmware (“code”) which may configure the hardware, be executed by the hardware, and or otherwise be associated with the hardware. As used herein, for example, a particular processor and memory may comprise a first “circuit” when executing a first one or more lines of code and comprise a second “circuit” when executing a second one or more lines of code. As utilized herein, “and/or” means any one or more of the items in the list joined by “and/or”. As an example, “x and/or y” means any element of the three-element set {(x), (y), (x, y)}. As another example, “x, y, and/or z” means any element of the seven-element set {(x), (y), (z), (x, y), (x, z), (y, z), (x, y, z)}. As utilized herein, the terms “e.g.,” and “for example” set off lists of one or more non-limiting examples, instances, or illustrations. As utilized herein, circuitry is “operable” to perform a function whenever the circuitry comprises the necessary hardware and code (if any is necessary) to perform the function, regardless of whether performance of the function is disabled, or not enabled, by some user-configurable setting.
The application processor 102 comprises circuitry operable to execute instructions for controlling/coordinating the overall operation of the device 100 as well as graphics processing functions of the multi-purpose device 100. Such instructions may be part of an operating system of the device 100 and/or part of one or more software applications running on the device 100.
The memory subsystem 104 comprises volatile memory for storing runtime data, nonvolatile memory for mass storage and long-term storage, and/or a memory controller which controls reads writes to memory.
The cellular/GPS networking subsystem 106 comprises circuitry operable to perform baseband processing and analog/RF processing for transmission and reception of cellular and GPS signals.
The sensors 108 comprise, for example, a camera, a gyroscope, an accelerometer, a biometric sensor, and/or the like.
The power management subsystem 110 comprises circuitry operable to manage distribution of power among the various components of the multi-purpose device 100.
The LAN subsystem 112 comprises circuitry operable to perform baseband processing and analog/RF processing for transmission and reception of wired, optical, and/or wireless signals (e.g., Wi-Fi, Wi-Fi Direct, Bluetooth, Ethernet, and/or the like).
The bus adaptor 114 comprises circuitry for interfacing one or more internal data busses of the device 100 with an external bus (e.g., a Universal Serial Bus) for transferring data to/from the device 100 via a wired connection.
The user interface subsystem 116 comprises circuitry operable to control and relay signals to/from a touchscreen, hard buttons, and/or other input devices of the device 100.
The connector 129 comprises contacts 124, 126, and 128. In the example implementation depicted, the connector is a tip-ring-sleeve (TRS) phone socket. When a TRS phone plug is mated with the connector 129, the contact 126 makes conductive contact with the tip of the plug, the contact 124 makes conductive contact with the ring of the plug, and the sleeve 128 makes contact with the sleeve of the plug. In other example implementations, the connector 129 may be a phone plug rather than a phone socket. In other example implementations, the connector 129 may be a tip-sleeve (TS) or tip-ring-ring-sleeve (TRRS) phone connector. In other example implementations, the connector 129 may a form factor other than a phone connector (e.g., USB, Ethernet, HDMI, and/or the like).
The audio processing circuitry 118 comprises digital audio processor 130, digital-to-analog converters (DACs) 120a and 120b, and amplifiers/line drivers 122a and 122b. The digital audio processor 130 comprises circuitry operable to process digital audio signals (e.g., .wav files, .mp3 files, and/or the like). The processing performed by the digital audio processor 130 may comprise, for example, compression, decompression, encryption, decryption, resampling, equalization, etc. The digital audio processor 130 outputs signals 131a and 131b. Each of the DACs 120a and 120b comprises circuitry operable to convert a respective one of signals 131a and 131b to a respective one of analog signals 121a and 121b. Each of the amps 122a and 122b comprises circuitry operable to amplify a voltage and/or current of the signals 121a and 121b to generate a respective one of signals 125a and 125b suitable for driving a load (e.g., cabling and input circuitry a peripheral device) connected to the connector 129.
In a first mode of operation, one (for mono) or both (for stereo) of the signals 131a and 131b may be an audio signal (e.g., carrying music and/or voice) (e.g., signal 131a may carry left channel audio and signal 131b may carry right channel audio). In the first mode, the DACs 120a and 120b and amps 122a and 122b may generate signals compatible with speakers (e.g., headphones) that are intended to be paired with the device 100. The compatibility may be ensured by, for example, controlling a gain and/or amplitude limit of the amps 122a and 122b and/or DACs 120a and 120b such that characteristics (e.g., peak current, peak voltage, peak power, RMS current, RMS voltage, RMS power, and/or the like) of the signals 125a and 125b are maintained within limits tolerated by the speakers.
In a second mode of operation, one or both of the signals 131a and 131b may be a signal (e.g., a sine wave) for conveying supply current to a peripheral device connected to connector 129. In the second mode, the DACs 120a and 120b and amps 122a and 122b may generate signals that may be incompatible with speakers (e.g., headphones) with which the device 100 is intended to be paired. The incompatibility may be the result of a gain and/or amplitude limit of the amps 122a and 122b and/or DACs 120a and 120b being higher than tolerated by the speakers. The higher gain and/or amplitude limit may increase the rate and/or efficiency of supply current delivery. This increase may result in signal characteristics (e.g., peak current, peak voltage, peak power, RMS current, RMS voltage, RMS power, and/or the like) that could damage the speakers. In an example implementation, frequency content of the signal for conveying supply current may be outside the audio band (e.g., it may be a sine wave of frequency higher than 20 KHz).
An example voltage or current waveform of signal 125a during both Mode 1 and Mode 2 is shown in
Now referring to
The connector 210 comprises contacts 212, 214, and 216. In the example implementation depicted, the connector is a tip-ring-sleeve (TRS) phone plug, where the contact 212 is the tip, contact 214 is the ring, and contact 216 is the sleeve. When a TRS phone plug is mated with the connector 129 of the device 100 (
The power management circuitry 202 is operable to rectify, regulate, and/or otherwise condition current received via the connector for using the current to charge a battery of the device 200 and/or provide supply current to the radio 206, and the audio processing circuitry 204. The supply current is depicted as being delivered via a single power rail labeled as “Vdd”. In other example implementations, multiple power rails at multiple voltages may be generated for delivering the supply current.
The audio processing circuitry 204 is operable to perform digital and analog processing of audio signals received via the radio 206 and output the audio signals to the speaker 208.
The radio 206 comprises circuitry operable to communicate wirelessly with another device (e.g., with LAN circuitry 112 of device 100) to receive digital audio signals which it may output to the audio processing circuitry 204. The wireless communications may be in accordance with, for example, Wi-Fi, Wi-Fi Direct, Bluetooth, and/or another standard.
The speaker 208 is operable to convert electrical signals received from audio processing circuitry 204 into acoustic waves.
Now referring to
Each of the speakers 208a and 208b is operable to convert electrical signals received from audio processing circuitry 204 into acoustic waves. In an example implementation, left channel audio may be delivered to speaker 208a and right channel audio may be delivered to speaker 208b.
The power management circuitry 222 is operable to rectify, regulate, and/or otherwise condition current received via the connector for using the current to charge a battery of the device 200 and/or provide supply current to the audio processing circuitry 224. The supply current is depicted as being delivered via a single power rail labeled as “Vdd”. In other example implementations, multiple power rails at multiple voltages may be generated for delivering the supply current.
In an example implementation, the power management circuitry 222 may also be operable to detect, for each of the signals received via connector 210, whether the signal is a signal for delivering supply current or is an audio signal (e.g., carrying music and/or voice), and to configure itself/operate accordingly. In such an example implementation, if a signal is an audio signal, the power management circuitry 222 may disable a portion of its circuitry that harvests power from the signal. If neither of the signals is a signal for delivering supply current, the power management circuitry 222 may configure itself to rely on battery power. Conversely, in such an implementation, if a signal is a signal for delivering supply current, the power management circuitry 222 may enable a portion of its circuitry that harvests power from the signal and may use that power to supply the audio processing circuitry 224 and/or charge its battery.
The audio processing circuitry 224 is operable to perform digital and analog processing of audio signals received via the connector 210 and output the audio signals to the speaker 208.
In an example implementation, the audio processing circuitry 224 may also be operable to detect, for each signal received via connector 210, whether the signal is a signal for delivering supply current or is an audio signal (e.g., carrying audio and/or voice), and to configure itself/operate accordingly. In such an example implementation, if the signal is a signal for delivering supply current, the audio processing circuitry 224 may disable a portion of its circuitry that receives the signal and processes it for output to one or both of the speakers 208a and 208b. Conversely, in such an example implementation, if the signal is an audio signal, the audio processing circuitry 224 may enable a portion of its circuitry that receives the audio signal and processes it for output to one or both of the speakers 208a and 208b. Where neither of the signals received via connector 210 is an audio signal, the audio processing circuitry 224 may go into a power saving mode until an audio signal is detected.
Now referring to
Now referring to
In an example implementation, the determination of block 406 may be based on user input. For example, upon detecting a peripheral device has been connected to the device 100, the device 100 may present a graphical user interface element that, when interacted with by a user, enables output of a power supply signal via the connector 129. Because such a signal may damage headphones or other devices which may also use the connector 129, the device 100 may present a query such as shown by possible answers Yes 502 and No 504 in
In an example implementation, the determination of block 406 may be based on an automatic detection of whether the peripheral device connected to the connector 129 is configured for receiving supply power via the connector 129. Such an automatic detection may comprise, for example, the device 100 starting with a power supply signal that is safe for headphones (or other devices that may use the connector 129) and monitoring the current drawn via the connector 129 to determine whether the connected peripheral device can receive supply power via connector 129. For example, if the current exceeds an amount expected for peripheral devices that do support power via connector 129, the device 100 may determine that the attached device is not such a device. As another example, current draw profiles of known peripheral devices may be stored locally and/or on a network and the device 100 may use a measured current draw profile for the connected device 200 to identify the connected device 200 and, thus, determine whether the connected device 200 can receive supply power via the connector 129. Upon detecting that the connected device 200 supports charging, a query such as shown by possible answers Yes 502 and No 504 in
Still in block 406, if it is determined not to begin outputting a power supply signal via the connector 129, then the process advances to block 416.
In block 416, the device 100 is configured into a first mode of operation in which circuitry of the device 100 is configured for outputting audio signals. This configuration may comprise, for example, setting a gain and/or volume limit of the audio processing circuitry 118, and disabling circuitry for generating power supply signals for output via connector 129 (e.g., disabling an oscillator that is dedicated to generating power supply signals).
Returning to block 406, if it is determined to begin outputting a power supply signal via connector 129, the process advances to block 408 in which circuitry of the device 100 is configured for outputting a power supply signal. This configuration may comprise, for example, setting a gain and/or amplitude limit of the DACs 120 and/or amplifiers 122, and/or enabling circuitry dedicated for outputting a power supply signal.
In block 410, the digital audio processor 130 generates a digital version of the power supply signal. In an example implementation, a PLL or digital frequency synthesizer may be enabled to generate a digital sine wave output as signal 131a, as signal 131b, or as the different between signals 131a and 131b. In another example implementation, a sine wave stored as a .wav file may be read from memory and played on a loop by the digital audio processor 130 resulting in a digitized sine wave output as signal 131a, as signal 131b, or as the different between signals 131a and 131b. The frequency of the sine wave may be a frequency that is selected based on the particular peripheral device that is to be charged/powered since different frequencies may result in different power delivery efficiency for different peripheral devices.
In block 412, the digital sine wave is converted to analog and amplified for output via the connector 129.
In block 414, the peripheral device receives the signal and rectifies, regulates, and/or otherwise conditions it to generate a clean DC power rail for delivering power to circuitry of the peripheral device 200 and/or for charging a battery of the peripheral device 200.
In accordance with an example implementation of this disclosure, an electronic device (e.g., 100) comprising audio processing circuitry (e.g., 118) and comprising a first connector (e.g., 129) having a first contact (e.g., a first one of 124, 126, and 129) and a second contact (e.g., a second one of 124, 126, and 129). In a first mode of operation, the audio processing circuitry is configured to output one or more audio signals carrying music and/or voice via the first contact and the second contact. In a second mode of operation, the audio processing circuitry is configured to output a signal for delivering supply current via the first contact and the second contact. While the electronic device is in the first mode of operation, a gain and/or volume limit of the audio processing circuitry may be set to a first level, and while the electronic device is in the second mode of operation, the gain and/or volume limit of the audio processing circuitry may be set to a second level that is higher than the first level. The first level may be a level determined to be compatible (e.g., levels and/or frequency will not damage the headphones and/or levels and/or frequency are suitable for listening by a person wearing the headphones) for headphones and the second level may be a level determined to be unsafe (e.g., levels and/or frequency could damage the headphones and/or levels and/or frequency are unsuitable for listening by a person wearing the headphones) for headphones. The signal for delivering the supply current may be a sine wave having a frequency higher than 20 kHz. The electronic device may comprise circuitry operable to sense whether a peripheral device connected to the first contact and the second contact is capable of receiving supply current via the first contact and the second contact. The circuitry operable to sense may be operable to monitor an amount of current output by the audio processing circuitry as an amplitude of the signal for delivering supply current is ramped up, and determine whether to transition to the first mode of operation based on the monitored amount of current output by the audio processing circuitry. The electronic device may comprise a display and circuitry operable to generate a graphical user interface (e.g., as shown in
The present method and/or system may be realized in hardware, software, or a combination of hardware and software. The present methods and/or systems may be realized in a centralized fashion in at least one computing system, or in a distributed fashion where different elements are spread across several interconnected computing systems. Any kind of computing system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software may be a general-purpose computing system with a program or other code that, when being loaded and executed, controls the computing system such that it carries out the methods described herein. Another typical implementation may comprise an application specific integrated circuit or chip. Some implementations may comprise a non-transitory machine-readable (e.g., computer readable) medium (e.g., FLASH drive, optical disk, magnetic storage disk, or the like) having stored thereon one or more lines of code executable by a machine, thereby causing the machine to perform processes as described herein.
While the present method and/or system has been described with reference to certain implementations, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present method and/or system. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from its scope. Therefore, it is intended that the present method and/or system not be limited to the particular implementations disclosed, but that the present method and/or system will include all implementations falling within the scope of the appended claims.
This application is a continuation of U.S. application Ser. No. 16/900,454 filed on Jun. 12, 2020, now U.S. Pat. No. 10,869,145, which is a continuation of U.S. application Ser. No. 16/741,053 filed on Jan. 13, 2020, now U.S. Pat. No. 10,701,500, which is a continuation of U.S. application Ser. No. 16/137,284 filed on Sep. 20, 2018, now U.S. Pat. No. 10,536,792, which is a continuation of U.S. application Ser. No. 15/297,539 filed on Oct. 19, 2016, now U.S. Pat. No. 10,085,100, which is a continuation of U.S. application Ser. No. 14/445,510 filed on Jul. 29, 2014, now U.S. Pat. No. 9,478,997, which claims the benefit of priority of U.S. Provisional Patent Application 61/894,657 titled “Electronic Device Charging via an Audio Jack” filed on Oct. 23, 2013.
Number | Date | Country | |
---|---|---|---|
61894657 | Oct 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 17742801 | May 2022 | US |
Child | 18502290 | US | |
Parent | 17121071 | Dec 2020 | US |
Child | 17742801 | US | |
Parent | 16900454 | Jun 2020 | US |
Child | 17121071 | US | |
Parent | 16741053 | Jan 2020 | US |
Child | 16900454 | US | |
Parent | 16137284 | Sep 2018 | US |
Child | 16741053 | US | |
Parent | 15297539 | Oct 2016 | US |
Child | 16137284 | US | |
Parent | 14445510 | Jul 2014 | US |
Child | 15297539 | US |