Speakers have relatively low efficiency in the conversion of an electrical audio input signal into mechanical or acoustical output (sound waves). Most of the input energy is used to heat up a voice coil that moves a diaphragm to produce the sound waves. Although some materials may operate at relatively high temperatures, including certain permanent magnet materials that are used in the magnet system of the speaker, excessive temperature can result in damaging the speaker. In addition, certain characteristics of audio signals can also lead to increased or even excessive temperature in a speaker. When a speaker is producing a high volume of sound for an extended amount of time, the amount of power being dissipated may rise to a sufficiently high level that causes the speaker to rise to very high temperatures thereby putting the speaker at risk for damage by overheating. Typically, the risk of heat damage rises when continuously high levels of sound are being produced for a fairly long period of time, rather than in response to sharp spikes. It is possible to limit the amplitude of the audio signal that is driving the speaker, namely by attenuating the signal or reducing the gain applied to it appropriately, based on, for instance, the speaker's nominal power rating and impedance. A simple RMS voltage limiter, however, neglects the fact that a speaker can usually handle large RMS voltages for sufficiently short periods of time, so that approach is likely to provide too much limiting. Another approach is to monitor the voltage and current that is being delivered by the power amplifier to the speaker. In yet another solution, a detailed thermal model of a speaker is defined, and is then used to continuously calculate an estimate of the temperature of, for instance, the speaker voice coil, as the input audio signal is also applied to the voice coil.
The thermal model approach may track the voltage that is being applied to the terminals of a speaker, and then uses the measured voltage to calculate or predict the instantaneous temperature of, for instance, the voice coil. As the estimated temperature varies and crosses predefined thresholds, a control algorithm responds by varying the gain (attenuation) that is applied to the audio signal in order to prevent the speaker from overheating.
An embodiment of the invention is a method for controlling or limiting a temperature of a speaker, as well as a hardware apparatus for doing so. An embodiment of the invention may be able to protect the speaker while attempting to reduce the amount of attenuation that is applied to an audio input signal that is driving the speaker, so as to limit the temperature but without reducing the sound output unnecessarily. A thermal model of the speaker is defined that computes an estimated or predicted temperature of the speaker, based on the input audio signal. Based on the estimated temperature, the audio signal is then attenuated in a particular manner, so as to preferably reduce or even minimize any unnecessary attenuation, reduce or even minimize any overshoot of the estimated temperature (that is beyond a thermal limit defined for the speaker), and cause the estimated temperature (when it is in excess of the thermal limit) to quickly settle to the thermal limit.
In accordance with an embodiment of the invention, a process for controlling the temperature of a speaker (also referred to as a loudspeaker) proceeds as follows. While the estimated temperature is less than a certain percentage of a predefined thermal limit (e.g., 80% or 90%), no attenuation is applied (that is, the gain is essentially zero dB). In other words, while the estimated temperature is below this “soft limit”, no attenuation is applied. If, however, the estimated temperature rises into a soft limit range (between the soft limit and the thermal limit), then the audio signal is attenuated by a factor that may be a function of the square root of a polynomial, where the polynomial is a function of a variable referred to as the “excess”, namely the difference between the estimated temperature and the thermal limit. When the estimated temperature rises above the thermal limit, the attenuation becomes a function of a summation of several prior samples of the excess variable. This may help reduce any overshoot of the estimated temperature, i.e. above the thermal limit.
In another embodiment, the summation term is retained when computing the current attenuation setting, even though the estimated temperature is dropping into the soft limit range, because the estimated temperature is oscillating between the soft limit range and above the thermal limit. Here, the excess variable becomes negative in the soft limit range, thereby steadily reducing the impact of the summation term (so long as the estimated temperature remains in the soft limit range). This tends to reduce the severity of the gain reduction, which is desirable since the speaker is still operating below its thermal limit. This is contrast to the case where the estimated temperature is rising into the soft limit range, in which case the summation term is not used to compute the next attenuation update.
In yet another embodiment, the estimated temperature is varying yet settling within the soft limit range. Here, provided that the derivative of the estimated temperature is below a given threshold, the attenuation is slowly reduced (or gain is slowly added back) so as to not unnecessarily attenuate the audio signal while the speaker is operating below the thermal limit.
The above summary does not include an exhaustive list of all aspects of the present invention. It is contemplated that the invention includes all systems and methods that can be practiced from all suitable combinations of the various aspects summarized above, as well as those disclosed in the Detailed Description below and particularly pointed out in the claims filed with the application. Such combinations have particular advantages not specifically recited in the above summary.
The embodiments of the invention are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment of the invention in this disclosure are not necessarily to the same embodiment, and they mean at least one.
Several embodiments of the invention with reference to the appended drawings are now explained. While numerous details are set forth, it is understood that some embodiments of the invention may be practiced without these details. In other instances, well-known circuits, structures, and techniques have not been shown in detail so as not to obscure the understanding of this description.
The selected audio signal, which in this case is in digital form, is provided to a group of audio signal processing stages 12. Depending on the source or type of signal, the signal processing stages 12 may vary, so as to enhance the quality of the sound that is ultimately produced through the speaker 15. These stages may include one or more of the following: automatic gain control, noise reduction, equalization, acoustic echo cancellation, and compression or expansion. Most of these stages are expected to be linear and hence their order is immaterial; however, in some cases there may be a non-linear operation, such as limiting, in which case the order may be of consequence. Depicted here as the last stage, there is a gain/attenuation stage 12_N which may attenuate the audio signal in order to control or limit a temperature of the speaker 15. Note, however, that because the gain stage 12_N is a linear operation, it need not be in the last position shown.
Once all of the desired digital signal processing has been performed upon the audio signal, which at this point is a discrete time sequence, the signal is converted into analog form by a digital-to-analog converter (DAC) 13. The resulting analog or continuous time signal is then amplified by an audio power amplifier 14, in accordance with a volume setting that may be selected by a user of the audio device 1. The output of the power amplifier 14 drives the speaker 15, and in particular a voice coil of the speaker 15, which in turn converts the audio signal into sound waves.
As explained above in the Background section, certain characteristics of audio signals, including their frequency content, as well as the volume setting for their playback, may lead to increased or even excessive temperature in the speaker 15, which may result in damaging the speaker or creating other difficulties for components that may be close to the speaker 15 (within the housing of the audio device 1). A thermal control module 10 is described here, as shown in
The thermal control module includes a speaker thermal model 17, which generates a predicted or estimated temperature of the speaker 15, based on an input digital audio sequence. The model 17 has several speaker thermal model parameters that may be defined in a laboratory test setting, based on the physical characteristics and input power handling capability of the speaker 15 and the way in which the speaker 15 is housed. These parameters take into account that the voice coil in the speaker 15 may heat up and cool down fairly quickly, particularly when the speaker 15 is relatively small, such as ones that are used in consumer electronic devices. The parameters used by the thermal model 17 may include thermal time constants of the voice coil and those of the magnet system and frame, thermal resistance between the coil and the magnet system, and thermal resistance between the magnet system and the ambient air outside of the audio device 1. In some instances, the estimated temperature that is computed by the thermal model is a voice coil temperature, although a thermal model that predicts a different estimated temperature, e.g. that of the magnet system or the frame, may also be used. Note that the estimated or predicted temperature may alternatively be a combination that represents, for instance, an overall temperature for the speaker, as opposed to just that of a specific location such as the voice coil or the magnet system. The thermal model 17 may also be fairly complex and include several state variables and electromechanical parameters, as well as thermal parameters and audio signal parameters, including the volume setting and characteristics of the power amplifier.
The output of the speaker thermal model 17 is a predicted or estimated temperature sequence whose sample rate may also be designed, based on the thermal time constants for instance, to yield the desired ultimate effect on the temperature of the speaker 15. The estimated temperature sequence is then fed to a control algorithm 18 which then, based on several predefined parameters including a thermal limit, a soft limit range and an adjustment constant (beta), will calculate a gain (attenuation) setting for the gain stage 12_N (see
In addition, the control algorithm 18 computes a summation or integral of a variable referred to as “excess”, which may be defined as a difference between an estimated temperature value (or sample) and the thermal limit. Referring to
A first version of the thermal control algorithm 18 may be described as follows:
As seen above, when the estimated temperature is above the thermal limit, the gain (attenuation) is primarily given by the square root function of the variable excess, where excess may be defined as the difference between the current sample of the estimated temperature and the thermal limit, and soft_limit_range is as defined in
The basic gain equation of the control algorithm 18 shown above, for the case where the estimated temperature is above thermal limit, also includes a summation term (which also includes the constant scaling factor beta). This summation or integral of the excessi values (up to N prior samples) acts, in effect, to increase the attenuation, so long as the summation of the excess, values is positive. This may help reduce the likelihood or the severity of overshoot of the estimated temperature (above the thermal limit). Such an overshoot can be seen, for instance in
Returning to the control algorithm 18 shown above, if the estimated temperature is not higher than the thermal limit but is higher than a soft limit, that is, it lies within the soft limit range (see
In accordance with a second version of the thermal control algorithm 18, the following modification is made to the first version described above. This modification is useful when the estimated temperature is oscillating between above the thermal limit and into the soft limit range, in order to maintain smooth gain modification, particularly in a scenario similar to that depicted in
Next, the summation term remains disabled as gain updates continue to be calculated, until the estimated temperature rises above the thermal limit at which point the gain equation reverts back to its original form that contains the summation term. As an example of this modification, consider the following sequence of downwardly trending temperature estimates: 105, 102, 101, 100; at the last sample (100), and assuming a thermal limit of 100, the summation/integral of excess would be 8; if the next estimated temperature in the sequence is 99, then the summation term becomes 7.
In accordance with a third version of the thermal control algorithm 18, the following modification is made to the first version described above. This modification is useful when it appears that the estimated temperature is settling within the soft limit range (rather than moving climbing above the thermal limit). Here, if the derivative of the estimated temperature is below a given threshold (see
where accum_factor represents an accumulation that is to grow each sampling period so long as the absolute value of the temperature derivative is relatively small. In other words, this update for the gain equation is repeated so long as the derivative is smaller than K6; for instance,
if abs(derivative(estimated_temp))<K6
then accum_factor=accum_factor+K5
end if
where K5 would be a small number that may be determined empirically, perhaps decreasing as estimated_temp approaches the thermal limit (and thus may not be constant). K5 and K6 can be tuned through experimentation so as to remove unnecessary attenuation when the estimated temperature settles in the soft limit range.
As explained above, an embodiment of the invention may be a machine-readable medium (such as microelectronic memory) having stored thereon instructions, which program one or more data processing components (generically referred to here as a “processor”) to perform digital audio processing and a thermal control algorithm as described above, including audio signal attenuation, arithmetic such as addition, subtraction, and comparison, and square root calculations. In other embodiments, some of these operations might be performed by specific hardware components that contain hardwired logic (e.g., dedicated digital filter blocks). Those operations might alternatively be performed by any combination of programmed data processing components and fixed hardwired circuit components.
While certain embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that the invention is not limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those of ordinary skill in the art. For example, in one embodiment, the gain stage 12_N attenuates its input audio signal by applying a scaling factor to the input audio discrete time sequence, that is in the time domain; an alternative may be to apply the scaling factor only to a specific sub-band, that is in the frequency domain, of the input audio sequence. The description is thus to be regarded as illustrative instead of limiting.
This application claims the benefit of the earlier filing date of provisional application No. 61/541,937, filed Sep. 30, 2011, entitled “Speaker Temperature Control”.
Number | Date | Country | |
---|---|---|---|
61541937 | Sep 2011 | US |