The instant disclosure relates to audio circuitry. More specifically, portions of this disclosure relate to methods and apparatus for protecting loudspeakers.
Many products include audio circuitry for reproducing sounds. For example, audio circuitry in a mobile phone may be used to reproduce game sounds in game applications, playback ringtones to indicate an incoming call, and/or output audio as part of a telephone or video call. Other example products include tablet computing devices, laptops, televisions, alarm systems, and video cameras. The quality of audio generated by the audio circuitry may be related to the quality of audio signals received by the audio circuitry, the performance of the audio circuitry, and/or the responsiveness of the loudspeaker that is driven by the audio circuitry. Many products have size restrictions that limit the physical size and shape of the loudspeaker, which impacts the sound quality and/or sound volume output by the product. Regardless of size and product constraints, any loudspeaker will have limits regarding maximum supply voltage, maximum supply current, maximum displacement, and/or maximum ambient temperature. When a loudspeaker is driven by the audio circuitry beyond these limits, the audio quality may be reduced and the loudspeaker may be damaged.
Shortcomings mentioned here are only representative and are included to highlight problems that the inventors have identified with respect to existing information handling systems and sought to improve upon. Aspects of the information handling systems described below may address some or all of the shortcomings as well as others known in the art. Aspects of the improved information handling systems described below may present other benefits than, and be used in other applications than, those described above.
Audio circuitry may include circuitry for and perform techniques for protecting loudspeakers. Speaker protection, and other algorithms executed by audio circuitry, make use of a reference resistance value for the loudspeaker in controlling operation of the loudspeaker. The reference resistance value, referenced as R0, for a loudspeaker is a resistance measured at a reference temperature, referenced as T0. The reference temperature T0 for the reference resistance value R0 may be the resistance measured at room temperature (e.g., 23 degrees Celsius). The reference resistance value R0 is used by the audio circuitry in determinations such as estimating a temperature of the loudspeaker or components of the loudspeaker. Audio circuitry according to aspects of this disclosure may allow determination of the reference resistance value R0 by the device using current and voltage measurements of the loudspeaker. The ability to recalibrate the reference resistance value R0 allows the device to recharacterize the loudspeaker as the loudspeaker characteristics change through use, repair, and/or replacement of the loudspeaker or associated components. Maintaining a more accurate reference resistance value R0 allows the loudspeaker to be operated closer to maximum performance with reduced risk of damage to the loudspeaker.
An accurate on-device technique for determining a reference resistance of a loudspeaker may be particularly advantageous in devices in which the loudspeaker operates in a restricted environment, such as in a mobile device. Operating the loudspeaker at maximum performance may be important because a higher performance loudspeaker may be too large for the device form factor. Thus, any safety margin in operating the loudspeaker due to an inaccurate reference resistance value may unnecessarily reduce performance of a loudspeaker that may already be smaller than desired. For example, variation in R0 between loudspeakers, even of the same model and manufacture, may be up to or beyond +/−10%. If an incorrect reference resistance R0 is used in a thermal protection algorithm for protecting the speaker, the thermal protection may be insufficient if the R0 value is estimated too high and the output may be unnecessarily restricted if the R0 value is estimated too low. A preprogrammed value for the loudspeaker reference resistance, in view of the variation of +/−10%, may result in undesired damage or lower performance out of the loudspeaker. A reference resistance value R0 may be measured for each device during assembly and the device preprogrammed with the measured value. However, the stored value may become invalid when the stored value becomes corrupt, the speaker is replaced, or the memory storing the stored value is replaced. Recalibration of the loudspeaker in such situations is not possible because the device does not have a reliable measurement of a reference temperature. Aspects of this disclosure may improve upon these and other techniques by providing an accurate reference resistance value that improves performance of the loudspeaker.
According to one embodiment, a method includes applying a first signal to a loudspeaker; measuring a voltage and a current for the loudspeaker while applying the first signal to the loudspeaker; and determining a reference resistance for the loudspeaker based on the measured voltage and the measured current while applying the first signal to the loudspeaker. In certain embodiments, the first signal may be a tone signal, a direct current (DC) signal, a broadband signal, or other voltage stimulus.
In certain embodiments, determining the reference resistance may include determining a thermal model for the loudspeaker. The thermal model may be determined based on the measured voltage and the measured current, with the thermal model being represented by one or more parameters reflecting different aspects of the relationship between temperature and speaker characteristics. An adaptive filter may be used to estimate a thermal model for the loudspeaker. The reference resistance may be determined by determining parameters for the thermal model for the loudspeaker by adapting an adaptive filter based on a response of the loudspeaker to the first signal. The reference resistance is then based on at least one parameter of the adaptive filter. Adapting the adaptive filter may include: applying an input power signal to the adaptive filter corresponding to input power applied to the loudspeaker during the application of the first signal as the stimulus to the loudspeaker, and adapting a first parameter and a second parameter of the adaptive filter based on a resistance of the loudspeaker determined from the voltage and the current for the loudspeaker, wherein the first parameter corresponds to a scaling factor for a relationship between resistance and power in the thermal model and the second parameter corresponds to a time constant for the relationship between resistance and power in the thermal model, with determining the reference resistance being based on the first parameter.
In certain embodiments, determining the reference resistance may be based on a relationship between ambient temperature and resistance (e.g., as reflected in a predetermined linear relationship between temperature and resistance, a look-up table (LUT) with corresponding temperature and resistance values, or other structures or functions for defining the relationship between ambient temperature and resistance). This relationship between ambient temperature and resistance may reflect a thermal model. Determining the reference resistance in these embodiments may include, for example, measuring the voltage and the current for the loudspeaker while applying the first signal to the loudspeaker. The determination may include: measuring a first voltage and a first current at a first time; and measuring a second voltage and a second current at a second time after the first time; and determining the reference resistance may include: determining a first resistance at the first time corresponding to a first temperature; determining a second resistance at the second time corresponding to a second temperature; determining an ambient temperature value based on a difference between the first resistance and the second resistance; and determining the reference resistance based on the ambient temperature value and the first resistance.
In some embodiments, the determination of the reference resistance may be part of a recalibration of the loudspeaker, with the method further including: determining a first excursion estimate based on at least one of a voltage between or a current through two terminals of the loudspeaker; applying a second signal as a second stimulus to the loudspeaker; measuring at least one of a second voltage between or a second current through the two terminals of the loudspeaker while applying the second signal as the stimulus to the loudspeaker; determining a second excursion estimate based on at least one of a second voltage between or a second current through two terminals of the loudspeaker; and determining to execute the recalibration of the loudspeaker based on the first excursion estimate and the second excursion estimate meeting a criteria.
In certain embodiments, the first signal and the second signal comprise a high frequency tone configured to monitor an impedance in an inductive region of the loudspeaker. For example, the impedance of the speaker may be measured and then a frequency higher than a resonance frequency of the loudspeaker may be selected based on how much variation in impedance exists due to excursion.
In certain embodiments, the method may further include receiving audio data for reproduction by the loudspeaker; generating an audio signal based on the audio data; modifying the audio signal based on the reference resistance to determine an output signal, wherein the modification is based on a thermal protection algorithm; and applying the output signal to the loudspeaker.
In certain embodiments, determining the reference resistance is performed without reference to a temperature value.
The method may be embedded in a computer-readable medium as computer program code comprising instructions that cause a processor to perform the steps of the method. In some embodiments, the processor may be part of an information handling system including a first network adaptor configured to transmit data over a first network connection of a plurality of network connections; and a processor coupled to the first network adaptor, and the memory. In some embodiments, the network connection may couple the information handling system to an external component, such as a wired or wireless docking station.
According to another embodiment, an apparatus may include an audio controller configured to perform steps including: applying a first signal to a loudspeaker; measuring a voltage and a current for the loudspeaker while applying the first signal to the loudspeaker; and determining a reference resistance for the loudspeaker based on the voltage and the current.
In certain embodiments, determining the reference resistance comprises determining a thermal model for the loudspeaker based on the voltage and the current.
In certain embodiments, determining the reference resistance comprises determining parameters for the thermal model for the loudspeaker by adapting an adaptive filter based on a response of the loudspeaker to the first signal; and adapting the adaptive filter comprises: applying an input power signal to the adaptive filter corresponding to input power applied to the loudspeaker during the application of the first signal as the stimulus to the loudspeaker, and adapting a first parameter and a second parameter of the adaptive filter based on a resistance of the loudspeaker determined from the voltage and the current for the loudspeaker, wherein the first parameter corresponds to a scaling factor for a relationship between resistance and power in the thermal model and the second parameter corresponds to a time constant for the relationship between resistance and power in the thermal model, with the reference resistance being based on at least the first parameter.
In certain embodiments, measuring the voltage and the current for the loudspeaker while applying the first signal to the loudspeaker includes measuring a first voltage and a first current at a first time; and measuring a second voltage and a second current at a second time after the first time; determining the reference resistance includes determining a first resistance at the first time corresponding to a first temperature; determining a second resistance at the second time corresponding to a second temperature; determining an ambient temperature value based on a difference between the first resistance and the second resistance and a predetermined linear relationship between resistance and temperature; and determining the reference resistance based on the ambient temperature value and the first resistance.
In certain embodiments, the audio controller is further configured to perform steps including determining an audio signal for reproduction by the loudspeaker; modifying the audio signal based on the reference resistance to determine an output signal, wherein the modification is based on a thermal protection algorithm; and applying the output signal to the loudspeaker.
According to some embodiments, a mobile device includes a loudspeaker; a memory; and an audio controller coupled to the memory, the audio controller also coupled to the loudspeaker and configured for outputting sounds through the loudspeaker based on audio data stored in the memory. The audio controller of the mobile device may be configured to perform any of the aspects of the methods or techniques described herein. In some embodiments, the audio controller may include circuitry for audio processing, such as digital-to-analog converters (DACs), analog-to-digital converters (ADCs), audio amplifiers, and/or filters. The audio controller may be integrated on a die or substrate with other analog and/or digital components, such as one or more central processing unit (CPU) cores, graphics processing unit (GPU) cores, and/or memory.
As used herein, “loudspeaker” (also referred to as a “speaker” or “speaker driver”) refers to a component that converts electrical signals to a corresponding sound represented as a series of pressure waves that can be perceived as a sound by humans or otherwise measured by electronic devices such as a microphone. One example loudspeaker includes a diaphragm, which is driven by a voice coil suspended relative to a magnet. An analog signal representing the audio to be reproduced may be applied to the voice coil to drive the loudspeaker to generate pressure waves that are perceived as sound. Loudspeakers may be stand-alone components, or may be integrated into electronic devices. For example, a loudspeaker may be included in an enclosure of a mobile device (e.g., a mobile phone, a tablet computing device, or a laptop). As another example, a loudspeaker may be included in a mobile speaker unit, which also houses a power supply (e.g., a battery), audio circuitry for driving the loudspeaker, and wireless connectivity circuitry (e.g., a personal area network (PAN) connection such as Bluetooth, a local area network (LAN) connection such as Wi-Fi, or a wide area network (WAN) connection such as 5G NR) for receiving audio signals to be processed by the audio circuitry.
As used herein, the term “coupled” means connected, although not necessarily directly, and not necessarily mechanically; two items that are “coupled” may be unitary with each other. The terms “a” and “an” are defined as one or more unless this disclosure explicitly requires otherwise. The term “substantially” is defined as largely but not necessarily wholly what is specified (and includes what is specified; e.g., substantially parallel includes parallel), as understood by a person of ordinary skill in the art.
The phrase “and/or” means “and” or “or”. To illustrate, A, B, and/or C includes: A alone, B alone, C alone, a combination of A and B, a combination of A and C, a combination of B and C, or a combination of A, B, and C. In other words, “and/or” operates as an inclusive or.
The terms “comprise” (and any form of comprise, such as “comprises” and “comprising”), “have” (and any form of have, such as “has” and “having”), and “include” (and any form of include, such as “includes” and “including”) are open-ended linking verbs. As a result, an apparatus or system that “comprises,” “has,” or “includes” one or more elements possesses those one or more elements, but is not limited to possessing only those elements. Likewise, a method that “comprises,” “has,” or “includes,” one or more steps possesses those one or more steps, but is not limited to possessing only those one or more steps.
Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present application, discussions utilizing the terms such as “accessing,” “receiving,” “sending,” “using,” “selecting,” “determining,” “normalizing,” “multiplying,” “averaging,” “monitoring,” “comparing,” “applying,” “updating,” “measuring,” “deriving,” “settling,” “generating” or the like, refer to the actions and processes of a computer system, audio controller, or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's registers, memories, or other such information storage, transmission, or display devices.
The terms “device” and “apparatus” are not limited to one or a specific number of physical objects (such as one smartphone, one audio controller, one processing system, and so on). As used herein, a device may be any electronic device with one or more parts that may implement at least some portions of the disclosure. While the below description and examples use the term “device” to describe various aspects of the disclosure, the term “device” is not limited to a specific configuration, type, or number of objects. As used herein, an apparatus may include a device or a portion of the device for performing the described operations.
The foregoing has outlined rather broadly certain features and technical advantages of embodiments of the present invention in order that the detailed description that follows may be better understood. Additional features and advantages will be described hereinafter that form the subject of the claims of the invention. It should be appreciated by those having ordinary skill in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same or similar purposes. It should also be realized by those having ordinary skill in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims. Additional features will be better understood from the following description when considered in connection with the accompanying figures. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended to limit the present invention.
For a more complete understanding of the disclosed system and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
At block 104, a voltage and a current are measured for the loudspeaker in response to the applied signal of block 102. A measurement circuit may be coupled to the loudspeaker through two terminals at the loudspeaker. A voltage may be measured across the two terminals while applying the signal of block 102. A current may be measured through the loudspeaker between the two terminals while applying the signal of block 102.
At block 106, a reference resistance value is determined based on the measured voltage and measured current. By using the measured values, the reference resistance may be determined without the need for a temperature reference. This method allows the reference resistance value to be determined on-chip, despite there being no accurate temperature measurements available on-chip. The reference resistance value may be determined from the measured values according to the example calculations described in more detail with reference to
The reference resistance value determination may be calculated from the measured voltage V and measured current I values. The loudspeaker characterization 214 may determine resistance Re(t) and power Pe(t) over a period of time based on multiple V, I values. A change in resistance Re(t) and power Pe(t) may be fitted to a thermal model, and the parameters of the model are estimated. The speaker model 216 may receive the resistance Re(t) and power Pe(t) signals and determine one or more parameters 218A-N of a thermal model representing the loudspeaker 202. The reference resistance value R0 may be derived from one or more of the model parameters 218A-N. The reference resistance value R0 may then be stored in memory 220. The value R0 may be stored in a register, a dynamic random access memory (DRAM) or other dynamic memory, or a static random access memory (SRAM) or other static memory. The reference resistance value R0 may be retrieved from memory 220 for use in operations including excursion protection, temperature protection, other protection functions relating to loudspeaker 202, and/or other functions.
The change in resistance is related to the input power by the equation:
This equation may be considered in the form of the following equation:
ΔRe(t)=Pe(t)h(t),
wherein the loudspeaker 202 response h(t) is represented by the filter equation:
System identification techniques may be used to determine the parameters of the filter equation. The reference resistance value may be determined from the filter equation parameters by the equation:
The adaptive filter 316 may estimate the filter equation h(t) representing loudspeaker 202 through two parameters 218A, 218B. The first parameter 218A, described as P1, may correspond to a scaling factor for a relationship between resistance and power in the thermal model. The second parameter 218B, described as P0, which is the coefficient in the value P0Z−1, corresponds to a time constant for the relationship between resistance and power in the thermal model. The adaptive filter 316 may vary the values of parameters 218A, 218B over time as the resistance Re(t) and power Pe(t) signals are received to improve the accuracy of the adaptive filter in representing the thermal model of the loudspeaker 202. The first parameter 218A may be used to determine the reference resistance value R0 output from the speaker model 216. Although the example of
The reference resistance may alternatively or additionally be determined by using a predetermined relationship between resistance and temperature for the loudspeaker as described in the example embodiments of
Power dissipated in the loudspeaker 202 reduces as ambient temperature increases, which may be reflected in increasing resistance over time. The relationship between resistance and ambient temperature can be characterized for one speaker or a population of speakers at varying ambient temperatures to generate a predetermined relationship between the characteristics reflected in a curve of Tamb/(ΔRtest), in which ΔRtest is the single value change in resistance (e.g., R2 404-R1 406). In some embodiments, a stimulus may be played to the loudspeaker 202 and a change in resistance ΔRtest computed between a beginning and end of a test corresponding to the stimulus. The R1 406 value may correspond to a Ramb value at the beginning of the test; and the R2 404 value may correspond to a Rfinal at the end of the test. The ΔRtest value is determined over the test time t 402 and Tamb is the starting ambient temperature.
An example predetermination relationship for a population of speakers is shown in
Referring back to
The reference resistance value may be used by other functionality within the audio controller, as shown in the examples of
In some embodiments, the loudspeaker 202 may be monitored during operation by injecting a high-frequency tone as stimulus to monitor the impedance in the inductive region of the loudspeaker 202. A variation of this impedance may be converted to an excursion estimate based on a characterized transfer function. This excursion estimate is used to generate an excursion level for the given stimulus. When the excursion estimate changes more than a threshold amount, the change may indicate the loudspeaker 202 and/or components coupled to the loudspeaker 202 (such as a mainboard) have been replaced. In such circumstances, the reference resistance value R0 may be recalibrated through a process such as described with reference to
The reference resistance value R0 may be used for excursion protection, temperature protection, or other functions.
The speaker protection 714 may use a resistance R value determined from measured voltage V and measured current I values to estimate a current temperature from the equation:
R=R0(1+α(T−T0))
in which R0 is the reference resistance value (determined, for example, according to the embodiments herein), T is the temperature of the voice coil in the loudspeaker 202, and T0 is the reference temperature (corresponding to the reference resistance value R0). The temperature T of the voice coil in the loudspeaker 202 may thus be determined by speaker monitor 714 from a measured R value (which is based on the measured voltage V and the measured current I), the determined reference resistance value R0 retrieved from memory 220, and the reference temperature T0 (e.g., a constant value which may be 23 degrees Celsius).
The speaker protection 714 may protect the loudspeaker by adjusting an output level of the audio signal to be reproduced, such as by changing a gain on the audio signal. The speaker protection 714 may receive signals Vspk and Ispk indicative of a monitored voice coil drive voltage Vspka and voice coil current Ispka. The speaker protection 714 may then determine a voice coil resistance Re. A voice coil temperature Tvc may be determined from the estimated voice coil resistance Re and the reference resistance R0. A loudspeaker power dissipation Pd may be determined from Vspk and Ispk (or from a combination of one of Vspk and Ispk with the voice coil resistance Re). A target gain control value may be derived based on the voice coil power dissipation Pd and the voice coil temperature Tvc. This target gain control value may be used directly as a gain control signal for controlling an amplifier that amplifies the audio signal into a drive signal for the loudspeaker 202.
In some embodiments, the reference resistance value R0 may be measured at certain times indicated by a trigger condition and/or measured periodically.
Embodiments of this disclosure relate to speaker protection circuitry for thermal protection of a loudspeaker, such as to limit the voice coil temperature within safe limits by modulating gain of a drive signal used for exciting a loudspeaker with an audio signal to reproduce sounds. The protection circuitry may determine an estimate of the power dissipated in the loudspeaker and the present voice coil temperature, based in part on the reference resistance value R0, to determine an acceptable power limit. The gain of the drive signal to the loudspeaker may be reduced based on the relative level of present power dissipation and the acceptable power limit.
Such speaker protection circuitry may be implemented in an electronic apparatus or device 900 as illustrated in
The schematic flow chart diagrams of
The operations described above as performed by a controller may be performed by any circuit configured to perform the described operations. Such a circuit may be an integrated circuit (IC) constructed on a semiconductor substrate and include logic circuitry, such as transistors configured as logic gates, and memory circuitry, such as transistors and capacitors configured as dynamic random access memory (DRAM), electronically programmable read-only memory (EPROM), or other memory devices. The logic circuitry may be configured through hard-wire connections or through programming by instructions contained in firmware. Further, the logic circuitry may be configured as a general-purpose processor capable of executing instructions contained in software and/or firmware.
If implemented in firmware and/or software, functions described above may be stored as one or more instructions or code on a computer-readable medium. Examples include non-transitory computer-readable media encoded with a data structure and computer-readable media encoded with a computer program. Computer-readable media includes physical computer storage media. A storage medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc includes compact discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks and Blu-ray discs. Generally, disks reproduce data magnetically, and discs reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
Although the present disclosure and certain representative advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. Further, a device or system that is configured in a certain way is configured in at least that way, but it can also be configured in other ways than those specifically described. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. For example, although processors or controllers are described throughout the detailed description, aspects of the invention may be implemented on different kinds of processors, such as graphics processing units (GPUs), central processing units (CPUs), and digital signal processors (DSPs). As another example, although processing of certain kinds of data may be described in example embodiments, other kinds or types of data may be processed through the methods and devices described above. As a further example, although adjustment of operation of a loudspeaker is described as adjusted based on a determined reference resistance value of a loudspeaker, operation of other devices may be based on a reference resistance value determined in a similar manner, such as with haptic devices. As one of ordinary skill in the art will readily appreciate from the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.
Number | Name | Date | Kind |
---|---|---|---|
8817995 | Huijser et al. | Aug 2014 | B2 |
9525945 | Magrath et al. | Dec 2016 | B2 |
20100329055 | Hsu | Dec 2010 | A1 |
20120188150 | Shirouzu | Jul 2012 | A1 |
20140004810 | Cohen | Jan 2014 | A1 |
20140169571 | Polleros | Jun 2014 | A1 |
20140180859 | Cline | Jun 2014 | A1 |
20160071567 | Fujita | Mar 2016 | A1 |
20170094408 | Napoli | Mar 2017 | A1 |
20190110145 | Lawrence | Apr 2019 | A1 |
20200252034 | Chadha | Aug 2020 | A1 |
20210204043 | Christoph | Jul 2021 | A1 |
Number | Date | Country |
---|---|---|
3121961 | Jul 2015 | NL |
Number | Date | Country | |
---|---|---|---|
20240048903 A1 | Feb 2024 | US |