Method and system for excursion protection of a speaker
09837971 · 2017-12-05
Assignee
Inventors
Cpc classification
H04R3/002
ELECTRICITY
International classification
Abstract
For protecting a speaker, an input signal is received, and an excursion of the speaker that would be caused by the input signal is predicted. In response to the predicted excursion exceeding a threshold, a targeted excursion of the speaker is determined by compressing the predicted excursion. The targeted excursion is translated into an output signal, which is output to the speaker.
Claims
1. A method of protecting a speaker, the method comprising: receiving an input signal; predicting an excursion of the speaker that would be caused by the input signal; in response to the predicted excursion, determining a targeted excursion of the speaker at least in part by compressing the predicted excursion in response to the predicted excursion exceeding a threshold; translating the targeted excursion into an output signal in response to an excursion-to-voltage model of operation of the speaker; and outputting the output signal to the speaker.
2. The method of claim 1, wherein predicting the excursion includes: predicting the excursion in response to a nonlinear voltage-to-excursion model of operation of the speaker.
3. The method of claim 2, wherein predicting the excursion includes: predicting the excursion in response to at least one of: a previous targeted excursion of the speaker; and a previous output signal that was output to the speaker.
4. The method of claim 3, and comprising: storing at least one of: the previous targeted excursion of the speaker; and the previous output signal that was output to the speaker.
5. The method of claim 1, wherein determining the targeted excursion includes: in response to the predicted excursion being less than the threshold, determining the targeted excursion as being equal to the predicted excursion.
6. The method of claim 1, wherein compressing the predicted excursion includes: compressing the predicted excursion at a compression ratio.
7. The method of claim 6, wherein the compression ratio is programmable.
8. The method of claim 7, wherein the compression ratio is programmed to implement at least one of: a piecewise linear curve; and a nonlinear curve.
9. The method of claim 1, wherein the excursion-to-voltage model of operation of the speaker is a nonlinear excursion-to-voltage model of operation of the speaker.
10. A system for protecting a speaker, the system comprising: at least one device for: receiving an input signal; predicting an excursion of the speaker that would be caused by the input signal; in response to the predicted excursion, determining a targeted excursion of the speaker at least in part by compressing the predicted excursion in response to the predicted excursion exceeding a threshold; translating the targeted excursion into an output signal in response to an excursion-to-voltage model of operation of the speaker; and outputting the output signal to the speaker.
11. The system of claim 10, wherein predicting the excursion includes: predicting the excursion in response to a nonlinear voltage-to-excursion model of operation of the speaker.
12. The system of claim 11, wherein predicting the excursion includes: predicting the excursion in response to at least one of: a previous targeted excursion of the speaker; and a previous output signal that was output to the speaker.
13. The system of claim 12, wherein the at least one device is for storing at least one of: the previous targeted excursion of the speaker; and the previous output signal that was output to the speaker.
14. The system of claim 10, wherein determining the targeted excursion includes: in response to the predicted excursion being less than the threshold, determining the targeted excursion as being equal to the predicted excursion.
15. The system of claim 10, wherein compressing the predicted excursion includes: compressing the predicted excursion at a compression ratio.
16. The system of claim 15, wherein the compression ratio is programmable.
17. The system of claim 16, wherein the compression ratio is programmed to implement at least one of: a piecewise linear curve; and a nonlinear curve.
18. The system of claim 10, wherein the excursion-to-voltage model of operation of the speaker is a nonlinear excursion-to-voltage model of operation of the speaker.
19. A computer program product for protecting a speaker, the computer program product comprising: a tangible computer-readable storage medium; and a computer-readable program stored on the tangible computer-readable storage medium, wherein the computer-readable program is processable by an information handling system for causing the information handling system to perform operations including: receiving an input signal; predicting an excursion of the speaker that would be caused by the input signal; in response to the predicted excursion, determining a targeted excursion of the speaker at least in part by compressing the predicted excursion in response to the predicted excursion exceeding a threshold; translating the targeted excursion into an output signal in response to an excursion-to-voltage model of operation of the speaker; and outputting the output signal to the speaker.
20. The computer program product of claim 19, wherein predicting the excursion includes: predicting the excursion in response to a nonlinear voltage-to-excursion model of operation of the speaker.
21. The computer program product of claim 20, wherein predicting the excursion includes: predicting the excursion in response to at least one of: a previous targeted excursion of the speaker; and a previous output signal that was output to the speaker.
22. The computer program product of claim 21, wherein the operations include: storing at least one of: the previous targeted excursion of the speaker; and the previous output signal that was output to the speaker.
23. The computer program product of claim 19, wherein determining the targeted excursion includes: in response to the predicted excursion being less than the threshold, determining the targeted excursion as being equal to the predicted excursion.
24. The computer program product of claim 19, wherein compressing the predicted excursion includes: compressing the predicted excursion at a compression ratio.
25. The computer program product of claim 24, wherein the compression ratio is programmable.
26. The computer program product of claim 25, wherein the compression ratio is programmed to implement at least one of: a piecewise linear curve; and a nonlinear curve.
27. The computer program product of claim 19, wherein the excursion-to-voltage model of operation of the speaker is a nonlinear excursion-to-voltage model of operation of the speaker.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12)
(13) The control device 102 includes various electronic circuitry components for performing the control device 102 operations, such as: (a) a multimedia interface digital signal processor (“DSP”) 108, which is a computational resource for executing and otherwise processing instructions, and for performing additional operations (e.g., communicating information) in response thereto; (b) an amplifier (“AMP”) 110 for receiving electrical signals from the DSP 108, and for outputting amplified versions of those signals (“output voltage signals”) to the speaker 104 under control of the DSP 108; (c) a computer-readable medium 112 (e.g., a nonvolatile memory device) for storing information; and (d) various other electronic circuitry (not shown in
(14) The DSP 108 executes various processes and performs operations (e.g., processing and communicating information) in response thereto. For example, the DSP 108 receives: (a) input voltage signals (e.g., from an audio decoder of the portable handheld electronics device); (b) instructions of computer-readable software programs that are stored on the computer-readable medium 112; and (c) optionally, the output voltage signals from the amplifier 110, so that the DSP 108 controls the output voltage signals in a feedback loop. Accordingly, the DSP 108 executes such programs and performs its operations in response to such input voltage signals, such instructions, and optionally in response to the output voltage signals. For executing such programs, the DSP 108 processes data, which are stored in memory of the DSP 108 and/or in the computer-readable medium 112.
(15)
(16) According to laws of electrodynamics, in response to the concentrated magnetic field, an electromotive force (“EMF”) f.sub.c is generated by an electrical current passing through the voice coil. Such voice-coil force f.sub.c varies in response to an amount of such electrical current, which varies in response to the output voltage signals from the amplifier 110. Such voice-coil force f.sub.c causes a displacement x.sub.d (which is excursion) of the diaphragm, thereby generating a sound wave output of audio signals.
(17)
(18) In response to x.sub.d[n+1], the control device 102 selectively performs an excursion compression 304 operation to determine and specify the next sampling interval n+1's targeted peak excursion x.sub.d.sup.c[n+1] of the speaker 104, so that: (a) in response to x.sub.d[n+1] exceeding a programmable displacement threshold's safe peak excursion limit, the control device 102 specifies x.sub.d.sup.c[n+1] by compressing x.sub.d[n+1] at a programmable compression ratio (e.g., instead of hard clipping the excursion at the safe peak excursion limit); and (b) otherwise, the control device 102 specifies x.sub.d.sup.c[n+1]=x.sub.d[n+1].
(19) In response to a nonlinear excursion-to-voltage model 306 (which is an inverse of the nonlinear voltage-to-excursion model 302), the control device 102 translates x.sub.d.sup.c[n+1] into the current sampling interval n's driving output voltage v*.sub.c[n] signal (“excursion-to-voltage operation”), which the control device 102 outputs from the amplifier 110 (under control of the DSP 108) to substantially cause x.sub.d.sup.c[n+1] at the speaker 104. Accordingly, the speaker 104: (a) receives the v*.sub.c[n] signal from the amplifier 110; and (b) outputs audio signals in response thereto. In that real-time manner, the control device 102: (a) directly protects the speaker 104; (b) makes fewer modifications to the driving output voltage v*.sub.c[n] signal (in comparison to the input voltage v.sub.c[n] signal); and (c) causes less perceived distortion of sound and/or perceived loudness of the speaker 104.
(20) As shown in
(21)
(22)
(23) Referring again to
v.sub.c(t)=R.sub.ebi.sub.c(t)+φ.sub.0{dot over (x)}.sub.d(t), (1)
where v.sub.c(t) is a voltage input across terminals of the voice coil, R.sub.eb is a blocked electrical resistance, i.sub.c(t) is a voice coil current, φ.sub.0 is a transduction coefficient at an equilibrium state x.sub.d(t)=0, x.sub.d(i) is a diaphragm excursion, and {dot over (x)}.sub.d(t) is a diaphragm velocity.
(24) Mechanical dynamics of the speaker 104 can be modeled as a single-degree-of-freedom mechanical oscillator by:
m.sub.d{umlaut over (x)}.sub.d(t)+c.sub.d{dot over (x)}.sub.d(t)+k.sub.dx.sub.d(t)=f.sub.c(t), (2)
where m.sub.d is a mass of the diaphragm, c.sub.d is a mechanical resistance due to diaphragm suspension, k.sub.d is a mechanical stiffness due to diaphragm suspension, {umlaut over (x)}.sub.d(t) is a diaphragm acceleration, and f.sub.c(t) is an EMF exerted on the voice coil. At the equilibrium state where x.sub.d(t)=0,
f.sub.c(t)=φ.sub.0i.sub.c(t). (3)
(25) By combining the electrical and mechanical loudspeaker models of equations (1), (2) and (3), an s-domain transfer function of excursion versus voltage input at the equilibrium state is
(26)
(27) A z-domain transfer function can be obtained by applying either a bilinear transformation or an impulse invariance method to equation (4).
(28) However, in order to yield a more precise model, several additional nonlinear factors are considered. For example, mechanical nonlinearities are caused by variations of the transduction coefficient φ and suspension stiffness k.sub.d, as parabola-like functions in relation to the excursion x.sub.d(t). Accordingly, a more precise expression for f.sub.c(t) is
f.sub.c(t)=φ(x.sub.d(t))i.sub.c(t)−k.sub.1(x.sub.d(t))x.sub.d(t), (5)
where k.sub.1(x.sub.d(t)) is a variation of the suspension stiffness k.sub.d as a function of excursion, which is expressed as
k.sub.1(x.sub.d(t))=k.sub.d(x.sub.d(t))−k.sub.d(0), (6)
(29) Similarly, electrical nonlinearities are caused by variations of R.sub.eb in relation to temperature T, as expressed by
R.sub.eb(T)=R.sub.eb(T.sub.0)(1+α(T−T.sub.0)), (7)
where α is a temperature coefficient (α.sub.copper=0.004K.sup.−1), and T.sub.0 is an ambient temperature. Accordingly, equation (1) is rewritten as
v.sub.c(t)=R.sub.eb(t)i.sub.c(t)+φ(x.sub.d(t)){dot over (x)}.sub.d(t), (8)
(30) Equations (2), (5) and (8) complete the continuous-time nonlinear model of the speaker 104.
(31) For digital processing, the control device 102 implements a discrete-time nonlinear model of the speaker 104, which is discussed hereinbelow. From equation (2), a transfer function of mechanical receptance x.sub.m(s) is
(32)
(33) Using the impulse-invariance method, a z-domain transfer function for X.sub.m(s) is
(34)
where a.sub.1, a.sub.2, b.sub.1 are functions of m.sub.d, c.sub.d, k.sub.d and a sampling frequency F.sub.s. Accordingly, a discrete-time diaphragm excursion x.sub.d[n] is expressed as
x.sub.d[n]=b.sub.1f.sub.c[n−1]−a.sub.1x.sub.d[n−1]−a.sub.2x.sub.d[n−2] (11)
where a discrete-time EMF f.sub.c[n] exerted on the voice coil is determined from equations (8) and (5) as:
(35)
(36) A diaphragm velocity {dot over (x)}.sub.d[n] is computed by differentiating x.sub.d[n] according to a first order IIR filter, which is expressed as
{dot over (x)}.sub.d[n]=2F.sub.s(x.sub.d[n]−x.sub.d[n−1])−a.sub.dt{dot over (x)}.sub.d[n−1], (13)
where F.sub.s is a sampling frequency, and 0<a.sub.dt≦1 is a differentiator coefficient for ensuring stability.
(37) Equations (11), (12) and (13) complete the discrete-time nonlinear model of the speaker 104. The control device 102 implements the discrete-time nonlinear model of the speaker 104 by performing the voltage-to-excursion operation in accordance with equations (11), (12) and (13). In such implementation by the control device 102, the diaphragm excursion x.sub.d[n+1] is a function of: v.sub.c[n]; x.sub.d.sup.c[n]; x.sub.d.sup.c[n−1]; v*.sub.c[n−1]; and the current sampling interval n's diaphragm velocity {dot over (x)}.sub.d.sup.c[n]. The control device 102 computes {dot over (x)}.sub.d.sup.c[n] in accordance with equation (13), so that {dot over (x)}.sub.d.sup.c[n] is a function of: x.sub.d.sup.c[n]; x.sub.d.sup.c[n−1]; and {dot over (x)}.sub.d.sup.c[n−1].
(38) In view of point-wise nonlinearity of the transduction coefficient φ and suspension stiffness k.sub.d in relation to the excursion x.sub.d(t), the voltage-to-excursion relationship is inverted for performance of the excursion-to-voltage operation by the control device 102. For example, according to equation (11),
(39)
(40) Moreover, according to equations (8) and (5),
(41)
(42)
(43)
(44)
(45)
(46) As shown in
(47) As shown in
(48) In the illustrative embodiments, a computer program product is an article of manufacture that has: (a) a computer-readable medium; and (b) a computer-readable program that is stored on such medium. Such program is processable by an instruction execution apparatus (e.g., system or device) for causing the apparatus to perform various operations discussed hereinabove (e.g., discussed in connection with a block diagram). For example, in response to processing (e.g., executing) such program's instructions, the apparatus (e.g., programmable information handling system) performs various operations discussed hereinabove. Accordingly, such operations are computer-implemented.
(49) Such program (e.g., software, firmware, and/or microcode) is written in one or more programming languages, such as: the DSP 108 native assembly language; a procedural programming language (e.g., C); an object-oriented programming language (e.g., Java, Smalltalk, and C++); and/or any suitable combination thereof. In a first example, the computer-readable medium is a computer-readable storage medium. In a second example, the computer-readable medium is a computer-readable signal medium.
(50) A computer-readable storage medium includes any system, device and/or other non-transitory tangible apparatus (e.g., electronic, magnetic, optical, electromagnetic, infrared, semiconductor, and/or any suitable combination thereof) that is suitable for storing a program, so that such program is processable by an instruction execution apparatus for causing the apparatus to perform various operations discussed hereinabove. Examples of a computer-readable storage medium include, but are not limited to: an electrical connection having one or more wires; a portable computer diskette; a hard disk; a random access memory (“RAM”); a read-only memory (“ROM”); an erasable programmable read-only memory (“EPROM” or flash memory); an optical fiber; a portable compact disc read-only memory (“CD-ROM”); an optical storage device; a magnetic storage device; and/or any suitable combination thereof.
(51) A computer-readable signal medium includes any computer-readable medium (other than a computer-readable storage medium) that is suitable for communicating (e.g., propagating or transmitting) a program, so that such program is processable by an instruction execution apparatus for causing the apparatus to perform various operations discussed hereinabove. In one example, a computer-readable signal medium includes a data signal having computer-readable program code embodied therein (e.g., in baseband or as part of a carrier wave), which is communicated (e.g., electronically, electromagnetically, and/or optically) via wireline, wireless, optical fiber cable, and/or any suitable combination thereof.
(52) Although illustrative embodiments have been shown and described by way of example, a wide range of alternative embodiments is possible within the scope of the foregoing disclosure.