CN113015068B - Loudspeaker temperature protection method and system and loudspeaker with temperature protection - Google Patents
Loudspeaker temperature protection method and system and loudspeaker with temperature protection Download PDFInfo
- Publication number
- CN113015068B CN113015068B CN201911318291.8A CN201911318291A CN113015068B CN 113015068 B CN113015068 B CN 113015068B CN 201911318291 A CN201911318291 A CN 201911318291A CN 113015068 B CN113015068 B CN 113015068B
- Authority
- CN
- China
- Prior art keywords
- temperature
- signal
- audio signal
- audio
- loudspeaker
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000005236 sound signal Effects 0.000 claims abstract description 141
- 238000012545 processing Methods 0.000 claims abstract description 66
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 8
- 230000003111 delayed effect Effects 0.000 claims description 12
- 230000015572 biosynthetic process Effects 0.000 claims description 8
- 238000003786 synthesis reaction Methods 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 7
- 230000003321 amplification Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 6
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 6
- 238000009499 grossing Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 210000005069 ears Anatomy 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- 241000084490 Esenbeckia delta Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/06—Loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/02—Details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/02—Details
- H04R9/022—Cooling arrangements
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention provides a loudspeaker temperature protection method, a loudspeaker temperature protection system and a loudspeaker with temperature protection, wherein the method comprises the following steps: synthesizing the original audio signal and the small-amplitude pilot signal to obtain an audio synthesized signal, and copying the audio synthesized signal to obtain a first audio signal and a second audio signal; carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal; acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold; and performing gain processing on the first audio signal after delay processing according to the target audio input signal gain coefficient so as to perform speaker temperature protection. The embodiment of the invention improves the temperature control effect of the loudspeaker coil.
Description
Technical Field
The invention relates to the technical field of signal processing, in particular to a loudspeaker temperature protection method and system and a loudspeaker with temperature protection.
Background
The loudspeaker on the portable intelligent device plays with large volume in the abnormally high environmental condition for a long time, and the loudspeaker coil can be overheated, so that the loudspeaker itself is damaged.
In order to prevent the sound quality of the speaker from being degraded or damaged due to overheating, an intelligent Power Amplifier (SPA) is currently used to perform coil over-temperature protection, and the conventional protection methods thereof can be mainly classified into the following two types: 1. the protection method based on power carries out fine gain adjustment through frequency division bands, sets different power thresholds for different frequency bands, and ensures that the effective power of the loudspeaker is utilized as much as possible while the loudspeaker is protected; 2. the protection method based on the temperature includes the steps that low-frequency components insensitive to human ears are superposed on sound source signals played by a loudspeaker, the direct-current impedance of the loudspeaker is estimated in real time by measuring the voltage and the current of a loudspeaker coil, then the coil temperature is estimated according to the linear corresponding relation between the coil temperature and the direct-current impedance of the coil, finally the gain of a variable gain module is adjusted in real time according to the coil temperature, and the temperature of the loudspeaker coil is controlled below a certain threshold value.
However, the power-based protection method, since the rated power of the speaker is provided by each manufacturer, generally only ensures that the speaker can continuously operate at the rated power when playing pink noise (most music signals have spectral energy distribution similar to pink noise), and does not ensure that the speaker continuously operates at the rated power under any input signal; in the temperature-based protection method, once deviation occurs in the direct current resistance value calibration value or the maximum temperature threshold value, serious over-protection or under-protection can be caused. Therefore, a method and a system for protecting the temperature of a speaker and a speaker with temperature protection are needed to solve the above problems.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and a system for protecting a temperature of a speaker, and a speaker with temperature protection.
In a first aspect, an embodiment of the present invention provides a speaker temperature protection method, including:
synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesized signal, and copying the audio synthesized signal to obtain a first audio signal and a second audio signal;
carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal;
performing mean square value processing on the third audio signal to obtain a mean square value of the third audio signal, and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold;
and performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
Further, before the performing signal gain processing on the second audio signal according to the real-time audio input signal gain coefficient to obtain a third audio signal, the method further includes:
acquiring the real-time temperature of the loudspeaker coil according to the voltage value and the current value of the loudspeaker coil;
acquiring a temperature difference value of a loudspeaker coil according to the real-time temperature and a preset maximum temperature threshold;
obtaining a proportional differential coefficient according to the temperature difference and a first proportional differential coefficient formula, and obtaining a real-time audio input signal temperature gain coefficient according to the proportional differential coefficient, wherein the first proportional differential coefficient formula is as follows:
where M represents a proportional differential coefficient, Kp represents a proportional factor, Kd represents a differential factor, and Δ T represents a temperature difference.
Further, after obtaining the temperature difference value of the speaker coil according to the real-time temperature and the preset maximum temperature threshold, the method further includes:
obtaining a first safety temperature T according to the preset maximum temperature threshold valueexAnd a second safety temperature TcpThe first safety temperature TexLess than the second safety temperature Tcp;
According to the temperature difference and the first safety temperature TexThe second safety temperature TcpAnd constructing a second proportional differential coefficient formula:
wherein, TmaxIndicating a preset maximum temperatureDegree threshold, Kep denotes a first safe temperature scale factor, Kcp denotes a second safe temperature scale factor, t1Representing a first temperature threshold, t2Representing a second temperature threshold, T representing a real-time temperature, Δ T representing a temperature difference of the speaker coil;
and acquiring a temperature gain coefficient of the real-time audio input signal according to the second proportional differential coefficient formula.
Further, after obtaining the real-time temperature of the speaker coil according to the voltage value and the current value of the speaker coil, the method further includes:
and carrying out speed-limiting filtering processing on the real-time temperature of the loudspeaker coil so as to protect the loudspeaker temperature according to the real-time temperature after the speed-limiting filtering processing.
Further, the performing signal gain processing on the second audio signal according to the gain coefficient of the real-time audio input signal to obtain a third audio signal includes:
and setting the gain coefficient of the real-time audio input signal as a fixed parameter to obtain a rated power threshold value, so as to protect the temperature of the loudspeaker according to the rated power threshold value.
Further, after obtaining a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold, the method further includes:
and smoothing the target audio input signal gain coefficient to perform gain processing on the first audio signal according to the smoothed target audio input signal gain coefficient.
In a second aspect, an embodiment of the present invention provides a speaker temperature protection system, including:
the audio signal synthesis module is used for synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesis signal, and copying the audio synthesis signal to obtain a first audio signal and a second audio signal;
the first gain control module is used for carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal;
the second gain control module is used for carrying out mean square value processing on the third audio signal to obtain a mean square value of the third audio signal and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold;
and the gain amplification module is used for performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method provided in the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method as provided in the first aspect.
In a fifth aspect, embodiments of the present invention provide a loudspeaker with temperature protection, the loudspeaker comprising the loudspeaker temperature protection system according to the second aspect.
According to the loudspeaker temperature protection method and system and the loudspeaker with the temperature protection, provided by the embodiment of the invention, on the premise of effectively protecting the loudspeaker, the output power of the loudspeaker is improved, the risk that the temperature protection of a loudspeaker coil fails under the condition that pure power protection is carried out at the extreme environment temperature is avoided, and the temperature control effect of the loudspeaker coil is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of a speaker temperature protection method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a temperature gain coefficient versus power threshold adjustment curve for a real-time audio input signal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a speaker temperature protection system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an overall structure of a speaker temperature protection system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second gain control module according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a speaker with temperature protection according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the existing speaker temperature protection scheme, the rated power of the speaker is provided by the manufacturer, and usually only the speaker can be guaranteed to continuously operate at the rated power when playing pink noise (most music signals have spectral energy distribution similar to pink noise), but the speaker is not guaranteed to continuously operate at the rated power for any input signal. In addition, the rated power provided by the manufacturer is reserved, and the loudspeaker cannot be damaged when the rated power is exceeded in a short time, so that the loudspeaker must be sacrificed for temperature protection based on the rated powerAnd (4) partial performance. Furthermore, in some usage scenarios where the ambient temperature of the mobile handheld device is abnormally high (such as being placed in a vehicle exposed to the sun for a long time or the internal components of the mobile phone are abnormally heated), even if the actual working power of the speaker is limited to the rated power, the speaker may be damaged due to over-temperature operation because the coil is unfavorable for heat dissipation. In order to ensure accurate estimation of the coil temperature, the existing scheme needs to acquire an accurate value of the direct current impedance of the loudspeaker coil at a certain temperature (such as room temperature 25 ℃) in advance, and even if the loudspeaker of the same model has individual difference of resistance values, a calibration step is usually introduced in a production line; in addition, in the existing solutions, it is necessary to give an accurate maximum allowable temperature threshold (T) of the coilmax) Once the dc resistance value calibration value or the maximum temperature threshold value deviates, serious over-protection or under-protection may result.
Fig. 1 is a schematic flow chart of a speaker temperature protection method according to an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a speaker temperature protection method, including:
In the embodiment of the invention, after the loudspeaker of the portable equipment is turned on, a low-frequency small-amplitude sinusoidal signal which is not easy to be perceived by human ears, namely a small-amplitude pilot signal is generated and is input to the audio signal input end, so that the original audio signal and the small-amplitude pilot signal are synthesized into the audio synthesized signal. The audio composite signal is then replicated with two identical audio signals, denoted as the first audio signal and the second audio signal.
In the embodiment of the invention, a first audio signal and a second audio signal are respectively input to corresponding links for processing, wherein the first audio signal is wholly delayed by N sampling intervals to obtain a delayed first audio signal, and the delayed first audio signal is input to a main link (main chain) for gain adjustment, and the value range of N is [0, 100 ]; and inputting the second audio signal into a side chain (side chain), and performing signal gain processing on the second audio signal through a real-time audio input signal gain coefficient to obtain a third audio signal.
In the embodiment of the present invention, the target audio input signal Gain coefficient Gain makes the mean square value of the speaker input signal in the full frequency band not exceed the preset mean square value threshold THR, and in the embodiment of the present invention, the preset mean square value threshold THR is obtained according to the rated power of the speaker. Specifically, in the embodiment of the present invention, the formula of the target audio input signal Gain coefficient Gain is as follows:
wherein MS represents a mean square value of the third audio signal. In the embodiment of the present invention, the target audio input signal Gain coefficient Gain may also be obtained according to the root mean square value by converting the mean square value of the third audio signal into the root mean square value, and the specific formula is as follows:
where RMS represents a root mean square value of the third audio signal.
And 104, performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
In the embodiment of the invention, the first audio signal on the main link is multiplied by the target audio input signal Gain coefficient Gain and then output to the loudspeaker, thereby carrying out the temperature protection of the loudspeaker.
According to the loudspeaker temperature protection method provided by the embodiment of the invention, on the premise of effectively protecting the loudspeaker, the output power of the loudspeaker is improved, the risk of failure of the loudspeaker coil temperature protection due to pure power protection at the extreme environment temperature is avoided, and the temperature control effect of the loudspeaker coil is improved.
On the basis of the foregoing embodiment, before the performing signal gain processing on the second audio signal according to the real-time audio input signal gain coefficient to obtain a third audio signal, the method further includes:
acquiring the real-time temperature of the loudspeaker coil according to the voltage value and the current value of the loudspeaker coil;
acquiring a temperature difference value of a loudspeaker coil according to the real-time temperature and a preset maximum temperature threshold;
obtaining a proportional differential coefficient according to the temperature difference and a first proportional differential coefficient formula, and obtaining a real-time audio input signal temperature gain coefficient according to the proportional differential coefficient, wherein the first proportional differential coefficient formula is as follows:
where M represents a proportional differential coefficient, Kp represents a proportional factor, Kd represents a differential factor, and Δ T represents a temperature difference.
In the embodiment of the invention, the real-time temperature T of the loudspeaker coil is obtained by detecting the voltage value V at two ends of the loudspeaker coil, obtaining the current value I flowing into the loudspeaker coil and calculating the ratio of the voltage value and the current value of the loudspeaker coil under the preset frequency according to the Fourier transform or the Getz algorithm, and when the voltage and the current of the loudspeaker coil are detected in real time, if abnormal phenomena such as frame loss occur, the obtained real-time temperature is changed into a wild value point, and the wild value point is caused by the fact that the obtained real-time temperature jumps into the wild value pointTherefore, in the embodiment of the invention, the wild value elimination or smoothing processing can be carried out on the real-time temperature of the loudspeaker coil, so that the stability of the real-time temperature is ensured; then, according to a preset maximum temperature threshold TmaxAnd real-time temperature T, obtaining temperature difference value delta T of loudspeaker coil, i.e. delta T-Tmax(ii) a And then obtaining a proportional differential coefficient M through a first proportional differential coefficient formula and a temperature difference value:
in the embodiment of the invention, the temperature control speed of the loudspeaker can be changed by adjusting the values of the proportional factor Kp and the differential factor Kd. When the coil is rapidly heated by a large amplitude audio input signal of some special frequency band, preferably, on the basis of the above embodiment, after the obtaining the real-time temperature of the speaker coil according to the voltage value and the current value of the speaker coil, the method further includes: and carrying out speed-limiting filtering processing on the real-time temperature of the loudspeaker coil so as to protect the loudspeaker temperature according to the real-time temperature after the speed-limiting filtering processing, thereby improving the efficiency and stability of loudspeaker temperature control.
Further, according to the formula:
GPI=1+M;
obtaining a real-time audio input signal temperature gain coefficient GPIPreferably, in the embodiment of the present invention, the real-time audio input signal temperature gain coefficient G is adjusted by adding the determination conditionPIThe value of (b) is limited within a reasonable range.
On the basis of the foregoing embodiment, the performing signal gain processing on the second audio signal according to a gain coefficient of a real-time audio input signal to obtain a third audio signal includes:
and setting the gain coefficient of the real-time audio input signal as a fixed parameter to obtain a rated power threshold value, so as to protect the temperature of the loudspeaker according to the rated power threshold value.
In the embodiment of the invention, the direct current resistance of the loudspeaker is caused by human factorsWhen the calibration resisting value has larger deviation, the temperature of the coil of the loudspeaker cannot be accurately estimated, and the temperature gain coefficient of the real-time audio input signal can be set to be GPIThe temperature protection is carried out on the loudspeaker only through constant rated power protection, so that the loudspeaker can be played in a normal temperature environment for a long time without overtemperature.
On the basis of the above embodiment, after obtaining the temperature difference value of the speaker coil according to the real-time temperature and the preset maximum temperature threshold, the method further includes:
obtaining a first safety temperature T according to the preset maximum temperature threshold valueexAnd a second safety temperature TcpSaid first safety temperature TexLess than the second safety temperature Tcp;
According to the temperature difference and the first safety temperature TexThe second safety temperature TcpAnd constructing a second proportional differential coefficient formula:
wherein, TmaxRepresenting a preset maximum temperature threshold value, Kep representing a first safe temperature scaling factor, Kcp representing a second safe temperature scaling factor, t1Representing a first temperature threshold, t2Representing a second temperature threshold, T representing a real-time temperature, Δ T representing a temperature difference of the speaker coil;
and acquiring a temperature gain coefficient of the real-time audio input signal according to the second proportional differential coefficient formula. In an embodiment of the invention, when the real-time temperature of the loudspeaker coil does not exceed the preset maximum temperature threshold (Δ T < 0), the coefficient of proportional differentiation M is 0, GPIAt this point, the actual output power of the loudspeaker does not exceed its rated power. Preferably, fig. 2 is a schematic diagram of an adjustment curve of a temperature gain coefficient to a power threshold of a real-time audio input signal according to an embodiment of the present invention, which can be referred to in fig. 2, in the embodiment of the present invention, a temperature safety interval is set, and a proportional differential coefficient formula is optimized, specifically, the temperature safety interval is set: when the real-time temperature of the loudspeaker coil is in the "safe zone" (T < T)ex) The proportional differential coefficient M is a real-time updated negative value, and the loudspeaker works with over-rated power to improve the output power and loudness of the loudspeaker as much as possible; when the real-time temperature of the loudspeaker is in the "critical interval" (T ∈ [ T [)ex,Tcp]) The proportional differential coefficient M is 0, and the loudspeaker works at rated power; when the loudspeaker coil is over-temperature (T > T)cp) The output power is rapidly reduced by using the proportional differential coefficient M of the current real time. The first safe temperature scale factor Kep represents a scale factor when the loudspeaker coil is not over-heated, the second safe temperature scale factor Kcp represents a scale factor when the loudspeaker coil is over-heated, and the two scale factors can be configured with different values according to actual requirements, so that the loudspeaker coil can be controlled by temperature at different rates when over-heated and not over-heated.
On the basis of the foregoing embodiment, after obtaining a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold, the method further includes:
and smoothing the target audio input signal gain coefficient to perform gain processing on the first audio signal according to the smoothed target audio input signal gain coefficient.
Fig. 3 is a schematic structural diagram of a speaker temperature protection system according to an embodiment of the present invention, and as shown in fig. 3, the speaker temperature protection system according to the embodiment of the present invention includes an audio signal synthesis module 301, a first gain control module 302, a second gain control module 303, and a gain amplification module 304, where the audio signal synthesis module 301 is configured to synthesize an original audio signal and a small-amplitude pilot signal to obtain an audio synthesized signal, and copy the audio synthesized signal to obtain a first audio signal and a second audio signal; the first gain control module 302 is configured to perform delay processing on the first audio signal to obtain a delayed first audio signal; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal; the second gain control module 303 is configured to perform mean square value processing on the third audio signal to obtain a mean square value of the third audio signal, and obtain a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold; the gain amplifying module 304 is configured to perform gain processing on the delayed first audio signal according to the target audio input signal gain coefficient, so as to perform speaker temperature protection.
According to the loudspeaker temperature protection system provided by the embodiment of the invention, on the premise of effectively protecting the loudspeaker, the output power of the loudspeaker is improved, the risk of failure of the loudspeaker coil temperature protection due to pure power protection at the extreme environment temperature is avoided, and the temperature control effect of the loudspeaker coil is improved.
On the basis of the above embodiment, the system further includes:
the coil temperature detection module is used for acquiring a temperature difference value of the loudspeaker coil according to the real-time temperature and a preset maximum temperature threshold;
the proportional differential temperature control module is used for acquiring a proportional differential coefficient according to the temperature difference value and a first proportional differential coefficient formula, and acquiring a real-time audio input signal temperature gain coefficient according to the proportional differential coefficient, wherein the first proportional differential coefficient formula is as follows:
where M represents a proportional differential coefficient, Kp represents a proportional factor, Kd represents a differential factor, and Δ T represents a temperature difference.
Fig. 4 is a schematic diagram of an overall structure of a speaker temperature protection system according to an embodiment of the present invention, and may refer to fig. 4, where an input end of a proportional-differential temperature control module is connected to an output end of a coil temperature detection module, an input end of the coil temperature detection module is connected to a speaker coil, an output end of the proportional-differential temperature control module is connected to an input end of a gain control module (a first gain control module and a second gain control module are described as an overall gain control module), an output end of the gain control module is connected to an input end of a gain amplification module, and an output end of the gain amplification module is connected to a speaker.
On the basis of the above embodiment, the second gain control module includes: a mean square detection unit, a gain calculation unit, and a gain balance unit, where fig. 5 is a schematic structural diagram of a second gain control module according to an embodiment of the present invention, and can refer to fig. 5, after a second audio signal is subjected to mean square value processing by the mean square detection unit, a gain coefficient of a target audio input signal is obtained by the gain calculation unit, and in an embodiment of the present invention, the gain coefficient of the target audio input signal can be smoothed by the gain smoothing unit, so that the smoothed gain coefficient of the target audio input signal and the first audio signal are input to the gain amplification module for processing.
The system provided by the embodiment of the present invention is used for executing the above method embodiments, and for details of the process and the details, reference is made to the above embodiments, which are not described herein again.
Fig. 6 is a schematic structural diagram of a speaker with temperature protection according to an embodiment of the present invention, and referring to fig. 6, the speaker is provided with a speaker temperature protection system 602 according to the above embodiment between an audio signal input terminal 601 and a speaker 603, so that the speaker has a temperature protection function.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and referring to fig. 7, the electronic device may include: a processor (processor)701, a communication Interface (Communications Interface)702, a memory (memory)703 and a communication bus 704, wherein the processor 701, the communication Interface 702 and the memory 703 complete communication with each other through the communication bus 704. The processor 701 may call logic instructions in the memory 703 to perform the following method: synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesized signal, and copying the audio synthesized signal to obtain a first audio signal and a second audio signal; carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal; performing mean square value processing on the third audio signal to obtain a mean square value of the third audio signal, and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold; and performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
In addition, the logic instructions in the memory 703 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the speaker temperature protection method provided in the foregoing embodiments, for example, including: synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesized signal, and copying the audio synthesized signal to obtain a first audio signal and a second audio signal; carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; according to the gain coefficient of the real-time audio input signal, performing signal gain processing on the second audio signal to obtain a third audio signal; performing mean square value processing on the third audio signal to obtain a mean square value of the third audio signal, and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold; and performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method of speaker temperature protection, comprising:
synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesized signal, and copying the audio synthesized signal to obtain a first audio signal and a second audio signal;
carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; performing signal gain processing on the second audio signal according to a real-time audio input signal temperature gain coefficient to obtain a third audio signal, wherein the real-time audio input signal temperature gain coefficient is obtained according to the real-time temperature of a loudspeaker coil;
performing mean square value processing on the third audio signal to obtain a mean square value of the third audio signal, and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold;
and performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
2. The method of claim 1, wherein before the performing signal gain processing on the second audio signal according to the real-time audio input signal temperature gain coefficient to obtain a third audio signal, the method further comprises:
acquiring the real-time temperature of the loudspeaker coil according to the voltage value and the current value of the loudspeaker coil;
acquiring a temperature difference value of a loudspeaker coil according to the real-time temperature and a preset maximum temperature threshold;
obtaining a proportional differential coefficient according to the temperature difference and a first proportional differential coefficient formula, and obtaining a real-time audio input signal temperature gain coefficient according to the proportional differential coefficient, wherein the first proportional differential coefficient formula is as follows:
where M represents a proportional differential coefficient, Kp represents a proportional factor, Kd represents a differential factor, and Δ T represents a temperature difference.
3. The method of claim 1, wherein before the performing signal gain processing on the second audio signal according to the real-time audio input signal temperature gain coefficient to obtain a third audio signal, the method further comprises:
acquiring the real-time temperature of the loudspeaker coil according to the voltage value and the current value of the loudspeaker coil;
acquiring a temperature difference value of a loudspeaker coil according to the real-time temperature and a preset maximum temperature threshold;
obtaining a first safety temperature T according to the preset maximum temperature threshold valueexAnd a second safety temperature TcpSaid first safety temperature TexLess than the second safety temperature Tcp;
According to the temperature difference and the first safety temperature TexThe second safety temperature TcpAnd constructing a second proportional differential coefficient formula:
wherein, TmaxRepresenting a preset maximum temperature threshold value, Kep representing a first safe temperature scaling factor, Kcp representing a second safe temperature scaling factor, t1Representing a first temperature threshold, t2Representing a second temperature threshold, T representing a real-time temperature, Δ T representing a temperature difference of the loudspeaker coil, M representing a proportional differential coefficient, Kd representing a differential factor;
and acquiring a temperature gain coefficient of the real-time audio input signal according to the second proportional differential coefficient formula.
4. The method for protecting the temperature of the loudspeaker according to claim 2, wherein after the obtaining the real-time temperature of the loudspeaker coil according to the voltage value and the current value of the loudspeaker coil, the method further comprises:
and carrying out speed-limiting filtering processing on the real-time temperature of the loudspeaker coil so as to protect the loudspeaker temperature according to the real-time temperature after the speed-limiting filtering processing.
5. The method of claim 1, wherein the performing signal gain processing on the second audio signal according to the real-time audio input signal temperature gain coefficient to obtain a third audio signal comprises:
and setting the temperature gain coefficient of the real-time audio input signal as a fixed parameter to obtain a rated power threshold value, so as to protect the temperature of the loudspeaker according to the rated power threshold value.
6. The method of claim 1, wherein after obtaining a target audio input signal gain factor according to the mean square value of the third audio signal and a preset mean square threshold, the method further comprises:
and smoothing the target audio input signal gain coefficient to perform gain processing on the first audio signal according to the smoothed target audio input signal gain coefficient.
7. A loudspeaker temperature protection system, comprising:
the audio signal synthesis module is used for synthesizing an original audio signal and a small-amplitude pilot signal to obtain an audio synthesis signal, and copying the audio synthesis signal to obtain a first audio signal and a second audio signal;
the first gain control module is used for carrying out delay processing on the first audio signal to obtain a first audio signal after delay processing; performing signal gain processing on the second audio signal according to a real-time audio input signal temperature gain coefficient to obtain a third audio signal, wherein the real-time audio input signal temperature gain coefficient is obtained according to the real-time temperature of a loudspeaker coil;
the second gain control module is used for carrying out mean square value processing on the third audio signal to obtain a mean square value of the third audio signal and acquiring a target audio input signal gain coefficient according to the mean square value of the third audio signal and a preset mean square value threshold;
and the gain amplification module is used for performing gain processing on the delayed first audio signal according to the target audio input signal gain coefficient so as to perform speaker temperature protection.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method for speaker temperature protection according to any of claims 1 to 6 are performed when the program is executed by the processor.
9. A non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for speaker temperature protection according to any one of claims 1 to 6.
10. A loudspeaker with temperature protection, characterized in that the loudspeaker comprises a loudspeaker temperature protection system according to claim 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911318291.8A CN113015068B (en) | 2019-12-19 | 2019-12-19 | Loudspeaker temperature protection method and system and loudspeaker with temperature protection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911318291.8A CN113015068B (en) | 2019-12-19 | 2019-12-19 | Loudspeaker temperature protection method and system and loudspeaker with temperature protection |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113015068A CN113015068A (en) | 2021-06-22 |
| CN113015068B true CN113015068B (en) | 2022-06-14 |
Family
ID=76381187
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911318291.8A Active CN113015068B (en) | 2019-12-19 | 2019-12-19 | Loudspeaker temperature protection method and system and loudspeaker with temperature protection |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113015068B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101715158A (en) * | 2008-10-03 | 2010-05-26 | 瑞昱半导体股份有限公司 | Audio signal apparatus and method |
| CN102843634A (en) * | 2011-06-22 | 2012-12-26 | Nxp股份有限公司 | Control of loudspeaker output |
| CN103813236A (en) * | 2012-11-07 | 2014-05-21 | 飞兆半导体公司 | Methods and apparatus related to protection of a speaker |
| CN104936122A (en) * | 2015-06-01 | 2015-09-23 | 歌尔声学股份有限公司 | Testing method and system for temperature resistance limit of loudspeaker |
| CN106817655A (en) * | 2015-12-01 | 2017-06-09 | 展讯通信(上海)有限公司 | speaker control method and device |
| CN109511059A (en) * | 2018-12-07 | 2019-03-22 | 武汉市聚芯微电子有限责任公司 | Loudspeaker temperature protecting method, device and the loudspeaker with temperature protection function |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2522449B (en) * | 2014-01-24 | 2016-07-13 | Cirrus Logic Int Semiconductor Ltd | Loudspeaker protection systems and methods |
| US10165361B2 (en) * | 2016-05-31 | 2018-12-25 | Avago Technologies International Sales Pte. Limited | System and method for loudspeaker protection |
| CN208369535U (en) * | 2018-05-25 | 2019-01-11 | 东莞市三基音响科技有限公司 | Audio amplifier automatic temperature control system |
| CN109297614B (en) * | 2018-08-13 | 2020-05-19 | 厦门傅里叶电子有限公司 | A loudspeaker temperature protection method based on phase change measurement |
-
2019
- 2019-12-19 CN CN201911318291.8A patent/CN113015068B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101715158A (en) * | 2008-10-03 | 2010-05-26 | 瑞昱半导体股份有限公司 | Audio signal apparatus and method |
| CN102843634A (en) * | 2011-06-22 | 2012-12-26 | Nxp股份有限公司 | Control of loudspeaker output |
| CN103813236A (en) * | 2012-11-07 | 2014-05-21 | 飞兆半导体公司 | Methods and apparatus related to protection of a speaker |
| CN104936122A (en) * | 2015-06-01 | 2015-09-23 | 歌尔声学股份有限公司 | Testing method and system for temperature resistance limit of loudspeaker |
| CN106817655A (en) * | 2015-12-01 | 2017-06-09 | 展讯通信(上海)有限公司 | speaker control method and device |
| CN109511059A (en) * | 2018-12-07 | 2019-03-22 | 武汉市聚芯微电子有限责任公司 | Loudspeaker temperature protecting method, device and the loudspeaker with temperature protection function |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113015068A (en) | 2021-06-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10271151B2 (en) | Direct measurement of an input signal to a loudspeaker to determine and limit a temperature of a voice coil of the loudspeaker | |
| US9607628B2 (en) | Audio system | |
| CN107431858B (en) | Loudspeaker protection | |
| CN102843634B (en) | Control of loudspeaker output | |
| CN109217834B (en) | Gain adjustment method, audio device and readable storage medium | |
| EP2632173B1 (en) | Loudspeaker overload protection | |
| KR101388540B1 (en) | Method and device for clipping control | |
| CN104081452B (en) | The method of regulation active denoising system | |
| CN113810826B (en) | Multi-threshold temperature protection circuit, method, protection device and electronic equipment | |
| AU2004325701A1 (en) | Hearing aid with feedback model gain estimation | |
| JP5609883B2 (en) | Multi-band compressor and adjustment method | |
| CN107682802B (en) | Method and device for debugging sound effect of audio equipment | |
| JP2019176477A (en) | Arrangement method of wireless loudspeaker, wireless loudspeaker, and terminal device | |
| CN110868653B (en) | Loudspeaker protection device and method | |
| CN113810827B (en) | Temperature stabilization protection circuit, method, protection device and electronic equipment | |
| CN113015068B (en) | Loudspeaker temperature protection method and system and loudspeaker with temperature protection | |
| CN110868671B (en) | Loudspeaker protection device and method | |
| CN106851484B (en) | Controller for audio system | |
| US20240340582A1 (en) | Coaxial speaker tweeter temperature protection method and system, and computer-readable storage medium | |
| CN113271522B (en) | Loudspeaker output power control method and system | |
| CN116634330A (en) | Loudspeaker diaphragm displacement control method and control system | |
| CN116072128A (en) | Dynamic equalization method and circuit | |
| CN119651673A (en) | Frequency regulation method, device, controller and power system of power system | |
| JP2024542444A (en) | System and method for controlling loudness in an electroacoustic transducer - Patents.com |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |