CN-115623387-B - Terminal equipment, voltage adjusting method and device of loudspeaker
Abstract
The application provides a terminal device, a voltage adjusting method and a device of a loudspeaker, wherein the method predicts the working temperature of the loudspeaker by utilizing a temperature prediction model according to the obtained ambient temperature and input voltage of the loudspeaker to obtain the predicted working temperature of the loudspeaker, then generates a predicted adjusting gain of the input voltage according to the final predicted working temperature obtained by actual temperature compensation and a preset temperature threshold of the loudspeaker to enable the loudspeaker to work with the input voltage after gain adjustment, wherein the preset temperature threshold is smaller than or equal to the rated temperature of the loudspeaker, namely the method can utilize the temperature prediction model to predict the temperature generated when the loudspeaker works with the input voltage, and adjust the input voltage according to the magnitude relation between the compensated predicted result and the preset temperature threshold, thereby avoiding the problem that the short-time ultra-temperature and sound mutation of the loudspeaker are easy to occur when the existing loudspeaker dynamically adjusts the input sound source through the coil temperature.
Inventors
- ZHU MA
- ZHU WANYI
Assignees
- 上海艾为电子技术股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20210713
Claims (10)
- 1. A method for adjusting voltage of a speaker, comprising: acquiring the ambient temperature and the input voltage of the loudspeaker; Based on the input voltage and the ambient temperature, predicting the working temperature of the loudspeaker by using a temperature prediction model to obtain the predicted working temperature of the loudspeaker, wherein the temperature prediction model is used for predicting the working temperature generated by the loudspeaker due to the input voltage with different amplitude and different frequency; performing actual temperature compensation on the predicted working temperature to obtain a final predicted working temperature; Generating a predicted adjustment gain of the input voltage based on the final predicted working temperature and a preset temperature threshold of the loudspeaker so that the loudspeaker works with the gain-adjusted input voltage, wherein the preset temperature threshold is smaller than or equal to the rated temperature of the loudspeaker; Based on the input voltage and the ambient temperature, predicting the working temperature of the speaker by using a temperature prediction model to obtain a predicted working temperature of the speaker, including: searching a temperature model corresponding to the environmental temperature in a temperature prediction model; Taking the frequency and the amplitude of the input voltage as the input of the searched temperature model to obtain the predicted working temperature of the loudspeaker; the mode of the actual temperature compensation for the predicted working temperature comprises second-order effect compensation, wherein the second-order effect compensation is used for compensating the rise of the temperature of the loudspeaker along with the temperature of the magnetic cylinder.
- 2. The method of claim 1, wherein generating the predicted adjustment gain for the input voltage based on the final predicted operating temperature and a preset temperature threshold comprises: determining a predicted temperature difference between the final predicted operating temperature and the preset temperature threshold; determining a predicted adjustment input voltage corresponding to the predicted temperature difference value by utilizing a corresponding relation between the working temperature of the loudspeaker and the input voltage; a predictive adjustment gain for the input voltage is generated based on the predictive adjustment input voltage and a magnitude relationship between the input voltage.
- 3. The method of claim 2, wherein generating the predicted adjustment gain of the input voltage based on the magnitude relation between the predicted adjustment input voltage and the input voltage comprises: If the predictive regulation input voltage is larger than the input voltage, regulating the predictive regulation gain of the input voltage; and if the predictive regulation input voltage is smaller than the input voltage, regulating the predictive regulation gain of the input voltage to be smaller.
- 4. A method of adjusting the voltage of a loudspeaker according to any one of claims 1-3, further comprising, prior to compensating for the predicted operating temperature to obtain a final predicted operating temperature: And carrying out downsampling treatment on the predicted working temperature according to a preset adjustment rate.
- 5. A method of adjusting the voltage of a loudspeaker according to any one of claims 1-3, further comprising, after generating a predictive adjustment gain for the input voltage based on the final predicted operating temperature and a preset temperature threshold for the loudspeaker: the method comprises the steps of obtaining feedback data of the loudspeaker, wherein the feedback data comprise feedback voltage and feedback current; determining the actual working temperature of the loudspeaker according to the feedback data; And generating feedback adjustment gain of the input voltage according to the actual working temperature and the rated temperature of the loudspeaker so as to enable the loudspeaker to work with the input voltage after gain adjustment.
- 6. A voltage adjustment device for a speaker, comprising: The first data acquisition module is used for acquiring the ambient temperature and the input voltage of the loudspeaker; The temperature prediction module is used for predicting the working temperature of the loudspeaker by utilizing a temperature prediction model based on the input voltage and the environment temperature to obtain the predicted working temperature of the loudspeaker; the temperature compensation module is used for carrying out actual temperature compensation on the predicted working temperature to obtain a final predicted working temperature; The first gain generation module is used for generating a predicted adjustment gain of the input voltage based on the final predicted working temperature and a preset temperature threshold value so that the loudspeaker works with the input voltage after gain adjustment, wherein the preset temperature threshold value is smaller than or equal to the rated temperature of the loudspeaker; The temperature prediction module is specifically used for searching a temperature model corresponding to the ambient temperature in the temperature prediction model, taking the frequency and the amplitude of the input voltage as the input of the searched temperature model, and obtaining the predicted working temperature of the loudspeaker; the temperature compensation module is specifically used for carrying out actual temperature compensation on the predicted working temperature by adopting a second-order effect, and the second-order effect is used for compensating the rise of the temperature of the loudspeaker along with the temperature of the magnetic cylinder.
- 7. The device for adjusting voltage of a speaker of claim 6, further comprising a downsampling module for downsampling the predicted operating temperature at a predetermined adjustment rate.
- 8. The voltage adjustment device of a speaker of claim 6, further comprising: the second data acquisition module is used for acquiring feedback data of the loudspeaker, wherein the feedback data comprises feedback voltage and feedback current; The temperature determining module is used for determining the actual working temperature of the loudspeaker according to the feedback data; And the second gain generation module is used for generating feedback adjustment gain of the input voltage according to the actual working temperature and the rated temperature of the loudspeaker so as to enable the loudspeaker to work with the gain-adjusted input voltage.
- 9. A loudspeaker, characterized in that the input circuit of the loudspeaker is provided with a voltage regulating device of the loudspeaker according to any one of claims 6-8.
- 10. A terminal device, characterized in that the terminal device is provided with a loudspeaker as claimed in claim 9.
Description
Terminal equipment, voltage adjusting method and device of loudspeaker Technical Field The invention relates to the technical field of control, in particular to a voltage adjusting method and device for terminal equipment and a loudspeaker. Background In the audio market of terminal equipment, for speakers of the same size, also called loudspeakers, users wish to make the output power of the speakers as much as possible while ensuring the service life of the speakers, so as to increase the loudness and hearing of sound. The operating temperature is a major factor affecting the life of the loudspeaker. If the working temperature of the loudspeaker is longer than the rated temperature given by a manufacturer, the loudspeaker is easy to burn out. At present, the size of an input sound source is dynamically adjusted by detecting the coil temperature of a loudspeaker in real time, so that the temperature generated by the input sound source reaching the loudspeaker cannot exceed the rated temperature, and the loudspeaker is protected. But the coil of the loudspeaker heats up fast, dispels the heat slowly, and the heat produced has some hysteresis than the energy of the input sound source. And the mode of dynamically adjusting the input sound source according to the coil temperature can lead to short-time overtemperature of the loudspeaker if the amplitude and the speed of the input sound source are not fast enough when the coil temperature exceeds the rated temperature, and can lead to sudden reduction of the sound of the loudspeaker if the amplitude and the speed of the input sound source are fast enough when the coil temperature exceeds the rated temperature. Disclosure of Invention In contrast, the application provides terminal equipment, a voltage adjusting method and a voltage adjusting device of a loudspeaker, and aims to solve the problems that hysteresis exists in an input sound source through dynamic adjustment of coil temperature of an existing loudspeaker, and short-time ultra-temperature sound mutation of the loudspeaker is easy to occur. In order to achieve the above object, the embodiment of the present invention provides the following technical solutions: the first aspect of the application discloses a voltage adjusting method of a loudspeaker, which comprises the following steps: acquiring the ambient temperature and the input voltage of the loudspeaker; based on the input voltage and the ambient temperature, predicting the working temperature of the loudspeaker by using a temperature prediction model to obtain a predicted working temperature of the loudspeaker; performing actual temperature compensation on the predicted working temperature to obtain a final predicted working temperature; And generating a predicted adjustment gain of the input voltage based on the final predicted working temperature and a preset temperature threshold of the loudspeaker so that the loudspeaker works with the gain-adjusted input voltage, wherein the preset temperature threshold is smaller than or equal to the rated temperature of the loudspeaker. Optionally, in the method for adjusting a voltage of a speaker, predicting an operating temperature of the speaker by using a temperature prediction model based on the input voltage and the ambient temperature to obtain a predicted operating temperature of the speaker includes: searching a temperature model corresponding to the environmental temperature in a temperature prediction model; and taking the frequency and the amplitude of the input voltage as the input of the searched temperature model to obtain the predicted working temperature of the loudspeaker. Optionally, in the method for adjusting voltage of a speaker, the method for compensating the predicted operating temperature by using an actual temperature includes: And compensating the second-order effect. Optionally, in the method for adjusting voltage of a speaker, generating a predicted adjustment gain of the input voltage based on the final predicted operating temperature and a preset temperature threshold includes: Determining a predicted temperature difference between the predicted operating temperature and the preset temperature threshold; determining a predicted adjustment input voltage corresponding to the predicted temperature difference value by utilizing a corresponding relation between the working temperature of the loudspeaker and the input voltage; a predictive adjustment gain for the input voltage is generated based on the predictive adjustment input voltage and a magnitude relationship between the input voltage. Optionally, in the method for adjusting voltage of a speaker, the generating a predicted adjustment gain of the input voltage based on the magnitude relation between the predicted adjustment input voltage and the input voltage includes: If the predictive regulation input voltage is larger than the input voltage, regulating the predictive regulation gain of the input voltage; and if the predi