1. Field
The invention relates to a scheme for measuring the impedance of a load, e.g., an audio load, coupled to an amplifier.
2. Background
Portable electronic devices such as cellular phones, notebook computers, and/or portable media players commonly incorporate an audio output device, e.g., a miniature speaker. Miniature speakers are typically not very robust, i.e., they can readily fail due to over-heating if driven by excessively large voltages. To prevent such failure, a device incorporating the speakers may also include circuitry for detecting the load impedance, e.g., the resistance of the miniature speaker. Upon detecting the load impedance, the device may take various steps to prevent failure of the load, e.g., by limiting the maximum drive voltage applied to such load, and/or by using the detected impedance directly as an indication of load temperature to determine whether the load should be driven or not.
To detect load impedance, a sense resistor may be coupled in series with the load, and the load impedance may be derived from measurements of the voltage drops across the load and the sense resistor, combined with a priori knowledge of the resistance of the sense resistor. Typically, it is desired to make the sense resistor much smaller than the load to avoid unnecessary power dissipation. Accordingly, the gain characteristics of a first signal path used to process the load voltage drop may be very different from the gain characteristics of a second signal path used to process the sense resistor voltage drop, due to the significantly different voltage swings expected. The large difference between the signal path gains may degrade the accuracy of the load impedance measurement, as it may be difficult to obtain accurate matching between the two signal paths and to minimize relative gain errors.
It would be desirable to provide techniques to improve the accuracy of load impedance measurement given the design constraints of such a system.
Various aspects of the disclosure are described more fully hereinafter with reference to the accompanying drawings. This disclosure may, however, be embodied in many different forms and should not be construed as limited to any specific structure or function presented throughout this disclosure. Rather, these aspects are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Based on the teachings herein one skilled in the art should appreciate that the scope of the disclosure is intended to cover any aspect of the disclosure disclosed herein, whether implemented independently of or combined with any other aspect of the disclosure. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth herein. In addition, the scope of the disclosure is intended to cover such an apparatus or method which is practiced using other structure, functionality, or structure and functionality in addition to or other than the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.
The detailed description set forth below in connection with the appended drawings is intended as a description of exemplary aspects of the invention and is not intended to represent the only exemplary aspects in which the invention can be practiced. The term “exemplary” used throughout this description means “serving as an example, instance, or illustration,” and should not necessarily be construed as preferred or advantageous over other exemplary aspects. The detailed description includes specific details for the purpose of providing a thorough understanding of the exemplary aspects of the invention. It will be apparent to those skilled in the art that the exemplary aspects of the invention may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the novelty of the exemplary aspects presented herein.
In the design shown in
A transmitter or a receiver may be implemented with a super-heterodyne architecture or a direct-conversion architecture. In the super-heterodyne architecture, a signal is frequency converted between radio frequency (RF) and baseband in multiple stages, e.g., from RF to an intermediate frequency (IF) in one stage, and then from IF to baseband in another stage for a receiver. In the direct-conversion architecture, a signal is frequency converted between RF and baseband in one stage. The super-heterodyne and direct-conversion architectures may use different circuit blocks and/or have different requirements. In the design shown in
In the transmit path, data processor 110 processes data to be transmitted and provides I and Q analog output signals to transmitter 130. In the exemplary embodiment shown, the data processor 110 includes digital-to-analog-converters (DAC's) 114a and 114b for converting digital signals generated by the data processor 110 into I and Q analog output signals, e.g., I and Q output currents, for further processing.
Within transmitter 130, lowpass filters 132a and 132b filter the I and Q analog output signals, respectively, to remove undesired images caused by the prior digital-to-analog conversion. Amplifiers (Amp) 134a and 134b amplify the signals from lowpass filters 132a and 132b, respectively, and provide I and Q baseband signals. An upconverter 140 upconverts the I and Q baseband signals with I and Q transmit (TX) local oscillating (LO) signals from a TX LO signal generator 190 and provides an upconverted signal. A filter 142 filters the upconverted signal to remove undesired images caused by the frequency upconversion as well as noise in a receive frequency band. A power amplifier (PA) 144 amplifies the signal from filter 142 to obtain the desired output power level and provides a transmit RF signal. The transmit RF signal is routed through a duplexer or switch 146 and transmitted via an antenna 148.
In the receive path, antenna 148 receives signals (e.g., transmitted by base stations) and provides a received RF signal, which is routed through duplexer or switch 146 and provided to a low noise amplifier (LNA) 152. The received RF signal is amplified by LNA 152 and filtered by a filter 154 to obtain a desirable RF input signal. A downconverter 160 downconverts the RF input signal with I and Q receive (RX) LO signals from an RX LO signal generator 180 and provides I and Q baseband signals. The I and Q baseband signals are amplified by amplifiers 162a and 162b and further filtered by lowpass filters 164a and 164b to obtain I and Q analog input signals, which are provided to data processor 110. In the exemplary embodiment shown, the data processor 110 includes analog-to-digital-converters (ADC's) 116a and 116b for converting the analog input signals into digital signals to be further processed by the data processor 110.
TX LO signal generator 190 generates the I and Q TX LO signals used for frequency upconversion. RX LO signal generator 180 generates the I and Q RX LO signals used for frequency downconversion. Each LO signal is a periodic signal with a particular fundamental frequency. A PLL 192 receives timing information from data processor 110 and generates a control signal used to adjust the frequency and/or phase of the TX LO signals from LO signal generator 190. Similarly, a PLL 182 receives timing information from data processor 110 and generates a control signal used to adjust the frequency and/or phase of the RX LO signals from LO signal generator 180.
The data processor 110 further includes a baseband processing module 101 configured to process RX data from the ADC's 116a, 116b, and further to process TX data to the DAC's 114a, 114b. The baseband processing module 101 is further coupled to an audio codec 102. The module 101 may transmit digital signals to the audio codec 102 for output as an analog audio signal, and may further receive digital signals from the audio codec 102 corresponding to audio input signals. The audio codec 102 may further interface with audio signals to and from a speaker (not shown in
In
The components of the headset 210 are electrically coupled to terminals of a plug 250 via sheathed conducting wires 245. The plug 250 is insertable into a jack 260 of a media device 240. Note the jack 260 need not extrude from the surface of the device 240 as suggested by
Audio and/or other signals may be exchanged between the device 240 and the headset 210 through the plug 250 and jack 260. The plug 250 receives the audio signals from the jack 260, and routes the signals to the L and R headphones of the headset 210. The plug 250 may further couple an electrical signal with audio content generated by the microphone 230 to the jack 260, and the microphone signal may be further processed by the device 240. Note the plug 250 may include further terminals not shown, e.g., for communicating other types of signals such as control signals, video signals, etc.
It will be appreciated that miniature speakers in portable electronics, e.g., such as found in the left and right headphones 215, 220, may not be very robust, and can easily fail due to, e.g., over-heating. To prevent such over-heating, certain prior art techniques are available to estimate the temperature of the speaker.
In an implementation, a sense resistor Rs may be placed in series with the speaker RL. Voltage VB is present at a first terminal of Rs, and voltage VC is present at a second terminal of Rs. Note in this scheme, the resistance of Rs is known a priori. Given this configuration, to determine the value of the resistance of RL, the voltages VA, VB, and VC may be measured. As Rs is known, the value of current through Rs, and, correspondingly, the current through RL may be computed, and the value of RL may thus be estimated from knowledge of the current through RL and the voltage across RL (i.e., VA−VB).
In
It will be appreciated that the overall gain provided by attenuation elements 420, 422, and amplifier 430 of the first sense path 401 may generally be chosen such that the expected value of VA−VB falls within the input dynamic range of the ADC 440, and similarly for the attenuation elements 424, 424, and amplifier 435 of the second sense path 402 and ADC 442. However, as the sense resistance Rs may generally be much smaller than the speaker resistance RL, e.g., due to the desire to minimize Rs to avoid unnecessary power dissipation, the overall gains provided by first sense path 401 and second sense path 402 may be significantly different from each other. Furthermore, the matching between the differential elements of each of sense paths 401 and 402 (e.g., between attenuation elements 420 and 422, etc.) may affect the accuracy of the overall measurements. Accordingly, for the implementation 400, it becomes critical and challenging to minimize the gain error mismatch between the first and second sense paths 401, 402, as well as gain error mismatch between differential elements of each of the sense paths 401, 402.
In
As noted, SA may always be closed when load impedance is to be measured, and thus may also be denoted herein as a “dummy switch.” It will be appreciated that the characteristics of SA may nevertheless be chosen to provide good matching between the characteristics of the signal path corresponding to SA and the characteristics of the signal path corresponding to SB or SC. For example, in an exemplary embodiment, the size of and/or gate overdrive voltage applied to SA (e.g., assuming SA is implemented as a transistor switch) may match the size of and/or gate overdrive voltage applied to SB and SC.
The outputs of attenuation elements 520, 522 are coupled to the inputs of a differential amplifier 530 (or “sense amplifier”). In particular, the output of 522 is coupled to a “first terminal” of the sense amplifier 530, while the output of 520 is coupled to a “second terminal” of the sense amplifier 530. The sense amplifier 530 generates a differential output for the ADC 540. The ADC 540 successively generates at least two output voltages over time, i.e., a first output V1=VAB (corresponding to when SB is closed and SC is open) and a second output V2=VAC (corresponding to when SC is closed and SB is open). In this manner, the measured voltages V1 and V2 may be considered to be multiplexed in time at the output of ADC 540. Further shown in
In an exemplary embodiment, the following operation may be performed to determine the resistance RL from V1, V2 (Equation 2):
In an exemplary embodiment, the computation indicated above may be performed by, e.g., the digital processor 550.
In the exemplary embodiment 500, a single amplifier 530 and ADC 540 may be utilized to perform the voltage measurements described. This advantageously avoids the need to match separate amplifiers and ADC's to each other, as would be the case in, e.g., the implementation 400 of
In
In
It will be appreciated that the voltage sensing described herein may be a continuous operation, e.g., it may be performed not only during an initial calibration phase, but also during a normal audio operation phase. Note as the speaker impedance may vary with the audio signal, the technique described hereinabove of combining a pilot tone with the normal audio signal advantageously permits detecting the speaker impedance during normal operation to prevent over-heating of the speaker. In an exemplary embodiment, an initial calibration phase may be provided to calibrate an initially measured speaker temperature with a known temperature.
In an exemplary embodiment, it will be appreciated that the magnitude of the pilot tone may be chosen taking into account, e.g., the amplifier gain and also the gain of elements shown in the exemplary embodiment 500. In alternative exemplary embodiments, the pilot tone need not be a sinusoid having a fixed frequency, and may instead correspond to other types of waveforms.
At block 610, the switch SA is closed to couple the output of LPF 410A to a first input of the differential amplifier 530.
At block 620, the switch SB is closed, while the switch SC is opened. In this manner, the output of LPF 410B is coupled to a second input of the differential amplifier 530.
At block 630, the output of ADC 540 is measured as a first voltage V1, while SB is closed. It will be appreciated that V1 in this case corresponds to VAB.
At block 640, SB is opened, while SC is closed. In this manner, the output of LPF 410C is coupled to the second input of the differential amplifier 530.
At block 650, the output of ADC 540 is measured as a second voltage V2, while SC is closed. It will be appreciated that V2 in this case corresponds to VAC.
At block 660, RL is computed from the measurements of V1 and V2 made at blocks 630 and 650. In an exemplary embodiment, such computation may be performed as according to Equation 2 described hereinabove.
In
At block 810, a first terminal of a sense resistor is selectively coupled to a first terminal of a sense amplifier.
At block 820, a second terminal of the sense resistor is selectively to the first terminal of the sense amplifier. In an exemplary embodiment, the first and second switches are configured to alternately couple one of the first and second terminals to a sense amplifier.
In this specification and in the claims, it will be understood that when an element is referred to as being “connected to” or “coupled to” another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected to” or “directly coupled to” another element, there are no intervening elements present. Furthermore, when an element is referred to as being “electrically coupled” to another element, it denotes that a path of low resistance, or an electrical short circuit, is present between such elements, while when an element is referred to as being simply “coupled” to another element, there may or may not be a path of low resistance between such elements.
Those of skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Those of skill in the art would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the exemplary aspects disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the exemplary aspects of the invention.
The various illustrative logical blocks, modules, and circuits described in connection with the exemplary aspects disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the exemplary aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-Ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosed exemplary aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these exemplary aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other exemplary aspects without departing from the spirit or scope of the invention. Thus, the present disclosure is not intended to be limited to the exemplary aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Number | Name | Date | Kind |
---|---|---|---|
7078964 | Risbo et al. | Jul 2006 | B2 |
7321260 | Larson | Jan 2008 | B2 |
7417503 | Xu et al. | Aug 2008 | B2 |
7990215 | Soenen et al. | Aug 2011 | B2 |
20060250153 | Colbeck | Nov 2006 | A1 |
20120002819 | Thormundsson et al. | Jan 2012 | A1 |
Number | Date | Country |
---|---|---|
2398253 | Dec 2011 | EP |
2405675 | Jan 2012 | EP |
Entry |
---|
Brennan, S., “Measuring a Loudspeaker Impedance Profile Using the AD5933”, Application Note Analog Devices, No. AN-843, Jun. 1, 2007, pp. 1-12, XP007908782, the whole document. |
International Search Report and Written Opinion—PCT/US2013/076759—ISA/EPO—Apr. 10, 2014. |
Mateljan, I., “Arta-Application Note”, Apr. 11, 2006, XP055111026, pp. 1-9, Retrieved from the Internet: URL:http://www.artalabs.hr/AppNotes/AP1—MeasuringBox-Rev4Eng.pdf [retrieved on Mar. 31, 2014], the whole document. |
Number | Date | Country | |
---|---|---|---|
20140177850 A1 | Jun 2014 | US |