CN114866902A - Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium - Google Patents
Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium Download PDFInfo
- Publication number
- CN114866902A CN114866902A CN202210461375.2A CN202210461375A CN114866902A CN 114866902 A CN114866902 A CN 114866902A CN 202210461375 A CN202210461375 A CN 202210461375A CN 114866902 A CN114866902 A CN 114866902A
- Authority
- CN
- China
- Prior art keywords
- loudspeaker
- current
- module
- response
- speaker
- 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.)
- Pending
Links
- 230000000694 effects Effects 0.000 title claims abstract description 68
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000004044 response Effects 0.000 claims abstract description 179
- 238000012360 testing method Methods 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 19
- 230000008859 change Effects 0.000 abstract description 26
- 230000007613 environmental effect Effects 0.000 abstract description 11
- 230000033228 biological regulation Effects 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 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
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/22—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects of volume control, not necessarily automatic, in sound systems
Landscapes
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The application discloses speaker audio regulation method, device, speaker module and storage medium, the technical field who belongs to is audio frequency product control technical field for keep the uniformity of speaker audio, the method is applied to the compensating circuit of speaker module, speaker audio regulation method includes: judging whether the loudspeaker module is in an audio playing state or not; if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment; and if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value. The application can reduce the influence of environmental change on the sound effect of the loudspeaker.
Description
Technical Field
The present application relates to the field of audio product control technologies, and in particular, to a method and an apparatus for adjusting sound effect of a speaker, a speaker module, and a storage medium.
Background
The generating unit of audio products such as audio amplifier, earphone is the speaker module, because audio product life is longer, needs the audio product the audio effect keep better uniformity in long-time use. For a speaker module, the response of the speaker module is susceptible to the ambient temperature and humidity, for example, the change in temperature and humidity can change the impedance of the voice coil of the speaker, and also can change the physical characteristics of the diaphragm and the corrugated rim of the speaker.
Therefore, how to reduce the influence of environmental changes on the sound effect of a loudspeaker is a technical problem that needs to be solved by those skilled in the art at present.
Disclosure of Invention
The application aims to provide a loudspeaker sound effect adjusting method, a loudspeaker sound effect adjusting device, a loudspeaker module and a storage medium, and the influence of environmental change on the loudspeaker sound effect can be reduced.
In order to solve the technical problem, the present application provides a method for adjusting sound effect of a speaker, which is applied to a compensation circuit of a speaker module, the method for adjusting sound effect of the speaker comprises:
judging whether the loudspeaker module is in an audio playing state or not;
if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment;
and if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value.
Optionally, before determining a corresponding current speaker response difference according to the current speaker resistance value, the method further includes:
constructing a plurality of test environments by taking temperature and humidity as variables;
measuring the loudspeaker resistance value of the loudspeaker module under each test environment and not in an audio playing state to obtain the corresponding relation between the test environment and the loudspeaker resistance value;
measuring the loudspeaker response of the loudspeaker module in each test environment and not in an audio playing state, and taking the difference value of each loudspeaker response and the standard response as a loudspeaker response difference value to obtain the corresponding relation between the test environment and the loudspeaker response difference value;
obtaining the corresponding relation between the resistance value of the loudspeaker and the response difference value of the loudspeaker according to the corresponding relation between the test environment and the resistance value of the loudspeaker and the corresponding relation between the test environment and the response difference value of the loudspeaker;
correspondingly, determining a corresponding current speaker response difference value according to the current speaker resistance value includes:
and determining the current loudspeaker response difference corresponding to the current loudspeaker resistance value according to the corresponding relation between the loudspeaker resistance value and the loudspeaker response difference.
Optionally, before the difference between each speaker response and the standard response is taken as the speaker response difference, the method further includes:
and determining a standard environment from all the test environments, and setting the loudspeaker response of the loudspeaker module in the standard environment and not in an audio playing state as the standard response.
Optionally, judging whether the speaker module is in an audio playing state includes:
judging whether the current value of the loudspeaker module is smaller than a preset value or not;
if yes, judging that the loudspeaker module is not in an audio playing state;
if not, the loudspeaker module is judged to be in an audio playing state.
Optionally, the compensation circuit includes a current detection unit, a voltage generation unit, and a power supply;
correspondingly, measuring the current speaker resistance of the speaker module in the current environment includes:
outputting a signal of preset voltage by using the voltage generating unit, and measuring the current value of the loudspeaker module by using the current detecting unit;
and calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset pressure and the current value.
Optionally, the compensation circuit further includes a micro control unit MCU;
correspondingly, the sound effect of the loudspeaker module is adjusted according to the latest determined current loudspeaker response difference, and the method comprises the following steps:
and inputting the current loudspeaker response difference determined for the last time into a sound effect adjusting unit of the micro control unit MCU, so that the sound effect adjusting unit can adjust the sound effect of the loudspeaker module by adjusting a frequency response curve.
The application still provides a sound effect adjusting device of speaker module, and the device includes:
the judging module is used for judging whether the loudspeaker module is in an audio playing state;
the response difference determining module is used for measuring the current loudspeaker resistance value of the loudspeaker module in the current environment if the loudspeaker module is not in an audio playing state, and determining the corresponding current loudspeaker response difference according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment;
and the adjusting module is used for adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value if the loudspeaker module is in an audio playing state.
The application also provides a loudspeaker module, which comprises a corrugated rim, a vibrating diaphragm, a voice coil and a compensating circuit;
the compensation circuit is used for judging whether the loudspeaker module is in an audio playing state; if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value;
wherein the current loudspeaker response difference is used for describing the difference between the actual response and the standard response of the loudspeaker module under the current environment.
Optionally, the compensation circuit includes a current detection unit, a voltage generation unit, a micro control unit MCU and a power supply;
the current detection unit is used for measuring the current value of the loudspeaker module;
the voltage generating unit is used for outputting a signal of a preset voltage;
the micro control unit MCU is used for calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset voltage and the current value of the loudspeaker module; the current loudspeaker resistance value is used for determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; and the frequency response curve is adjusted according to the latest determined current loudspeaker response difference value so as to realize sound effect adjustment of the loudspeaker module.
The application also provides a storage medium, on which a computer program is stored, and the computer program realizes the steps executed by the loudspeaker sound effect adjusting method when executed.
The application provides a speaker sound effect adjusting method, is applied to the compensating circuit of speaker module, speaker sound effect adjusting method includes: judging whether the loudspeaker module is in an audio playing state or not; if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment; and if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value.
The application provides a speaker module includes compensating circuit, and compensating circuit measures the current speaker resistance of speaker module under current environment when detecting that the speaker module is not in the audio playback state to confirm the current speaker response difference that current speaker resistance corresponds. And the compensation circuit also adjusts the sound effect of the loudspeaker module according to the current loudspeaker response difference determined at the last time when the loudspeaker module is in an audio playing state. The environment that the speaker module was located can change the speaker resistance, and the voice coil loudspeaker voice coil intensifies and also can change the speaker resistance when the speaker module is in the audio playback state, if adjust the audio according to the speaker resistance that the speaker module was measured when being in the audio playback state, the influence of environmental change to the speaker audio can't be accurately eliminated this moment, the wrong condition will be adjusted to the audio. The application utilizes the measured speaker resistance value to adjust the audio when the speaker module is not in the audio playing state, and can effectively reduce the influence of environmental change on the speaker audio. Furthermore, this application need not additionally to add the sensor based on the change of speaker resistance value detection ring border, can realize the speaker audio and adjust under the prerequisite that reduces speaker structure complexity. This application still provides an audio adjusting device, a speaker module and a storage medium of speaker module simultaneously, has above-mentioned beneficial effect, no longer gives unnecessary details here.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for adjusting sound effect of a speaker according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a speaker module according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a sound effect adjusting device of a speaker according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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 application.
Referring to fig. 1, fig. 1 is a flowchart of a sound effect adjusting method for a speaker according to an embodiment of the present disclosure.
The specific steps may include:
s101: judging whether the loudspeaker module is in an audio playing state or not; if not, entering S102; if yes, entering S103;
please refer to fig. 2, fig. 2 is a schematic structural diagram of a speaker module provided in the present embodiment, in which fig. 1 is a corrugated rim, 2 is a vibrating diaphragm, 3 is a dustproof film, 4 is a voice coil, 5 and 7 are magnets, 6 is a washer, 8 is a connecting terminal, and 9 is a compensation circuit.
The audio playing state refers to a state that the speaker module plays audio with sound intensity greater than a preset decibel value, and the preset decibel value can be set according to user habits, for example, the preset decibel value can be 1 decibel.
As a possible implementation manner, the compensation circuit can be connected with the Bluetooth module, and whether the loudspeaker module is in an audio playing state is determined according to the signal receiving condition of the Bluetooth module. Specifically, the bluetooth module is used for receiving audio data to be played by the speaker module, if the bluetooth module does not receive the bluetooth signal, it is determined that the speaker module is not in the audio playing state, and if the bluetooth module receives the bluetooth signal, it is determined that the speaker module is in the audio playing state.
As another possible implementation manner, the present embodiment may further determine whether the speaker module is in the audio playing state according to the current value of the speaker module, where the current value in the audio playing state is significantly higher than the current value not in the audio playing state. Specifically, the embodiment can determine whether the current value of the speaker module is smaller than a preset value; if yes, judging that the loudspeaker module is not in an audio playing state; if not, the loudspeaker module is judged to be in an audio playing state.
S102: measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value;
the step is established on the premise that the speaker module is not in the audio playing state, the operation of S101 may be executed according to a certain period in the process of executing the step, and if it is detected that the speaker module is in the audio playing state in the process of executing S102, the operation of S102 may be stopped and the process may proceed to S103.
As a possible implementation, the compensation circuit may be provided with a resistance measurement device to measure a current speaker resistance value of the speaker module in a current environment when the speaker module is not in an audio playing state. Factors affecting the resistance value (i.e., the voice coil impedance value) of the speaker in the environment include temperature and/or humidity, so that the current environment may include the current temperature, the current humidity, the current temperature and the current humidity.
The change of the environment changes the resistance value of the loudspeaker and the response of the loudspeaker, and the corresponding relation between the environment and the resistance value of the loudspeaker and the corresponding relation between the environment and the response of the loudspeaker can be determined before the step, so that the corresponding relation between the resistance value of the loudspeaker and the response of the loudspeaker is determined. In order to facilitate sound effect adjustment, a standard response is usually required to be set as a reference for adjustment, in this embodiment, a difference between a speaker response and the standard response may be calculated to obtain a speaker response difference, and then, a corresponding relationship between a speaker resistance value and a speaker response is obtained by combining a corresponding relationship between the speaker resistance value and the speaker response difference, and a corresponding relationship between the speaker response value and the speaker response difference may be obtained. The current loudspeaker response difference is used for describing the difference between the actual response and the standard response of the loudspeaker module under the current environment. The above loudspeaker response refers in particular to the frequency response of the loudspeaker.
S103: and adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value.
The step is established on the premise that the loudspeaker module is in the audio playing state, the voice coil is heated when the loudspeaker module is in the audio playing state, and if the loudspeaker response difference is determined to have an error, the sound effect of the loudspeaker module is adjusted according to the current loudspeaker response difference determined last time. Specifically, the present embodiment may update the frequency response curve of the speaker module according to the latest determined current speaker response difference, so as to implement sound effect adjustment.
The speaker module that this embodiment provided includes compensating circuit, and compensating circuit measures the current speaker resistance of speaker module under current environment when detecting that the speaker module is not in the audio playback state to confirm the current speaker response difference that current speaker resistance corresponds. And the compensation circuit also adjusts the sound effect of the loudspeaker module according to the current loudspeaker response difference determined at the last time when the loudspeaker module is in an audio playing state. The environment that the speaker module was located can change the speaker resistance, and the voice coil loudspeaker voice coil intensifies and also can change the speaker resistance when the speaker module is in the audio playback state, if adjust the audio according to the speaker resistance that the speaker module was measured when being in the audio playback state, the influence of environmental change to the speaker audio can't be accurately eliminated this moment, the wrong condition will be adjusted to the audio. The sound effect is adjusted to the speaker resistance that this embodiment utilized measurement when the speaker module is not in audio playback state, can effectively reduce the influence of environmental change to the speaker sound effect. Further, this embodiment need not additionally to add the sensor based on the change of speaker resistance value detection ring border, can realize the speaker audio regulation under the prerequisite that reduces speaker structure complexity.
As a further introduction to the corresponding embodiment of fig. 1, prior to determining a corresponding current speaker response difference based on the current speaker resistance value, the correspondence of speaker resistance value to speaker response difference may be determined by: constructing a plurality of test environments by taking temperature and humidity as variables; measuring the loudspeaker resistance value of the loudspeaker module under each test environment and not in an audio playing state to obtain the corresponding relation between the test environment and the loudspeaker resistance value; measuring the loudspeaker response of the loudspeaker module in each test environment and not in an audio playing state, and taking the difference value of each loudspeaker response and the standard response as a loudspeaker response difference value to obtain the corresponding relation between the test environment and the loudspeaker response difference value; and obtaining the corresponding relation between the resistance value of the loudspeaker and the response difference value of the loudspeaker according to the corresponding relation between the test environment and the resistance value of the loudspeaker and the corresponding relation between the test environment and the response difference value of the loudspeaker. On this basis, the embodiment may determine the current speaker response difference corresponding to the current speaker resistance value according to the correspondence between the speaker resistance value and the speaker response difference.
Specifically, the above process may determine the standard response by: and determining a standard environment from all the test environments, and setting the loudspeaker response of the loudspeaker module in the standard environment and not in an audio playing state as the standard response. For example, the present embodiment may measure the speaker response at 20 ℃ and 50% humidity as the standard response.
As a further introduction to the corresponding embodiment of fig. 1, the compensation circuit may include a current detection unit, a voltage generation unit, and a power supply. Accordingly, the compensation circuit may measure the current speaker resistance value by: outputting a signal (such as a direct current signal) of preset voltage by using the voltage generating unit, and measuring the current value of the loudspeaker module by using the current detecting unit; and calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset pressure and the current value. The signal of the preset pressure intensity refers to: and enabling the loudspeaker module to play the signal with the sound intensity smaller than or equal to the preset decibel value.
Further, the compensation circuit also comprises a Micro Control Unit (MCU), a memory and a Printed Circuit Board Assembly (PCBA); correspondingly, the current loudspeaker response difference determined for the last time can be input into the sound effect adjusting unit of the micro control unit MCU, so that the sound effect adjusting unit adjusts the sound effect of the loudspeaker module by adjusting the frequency response curve. The memory may be configured to store the determined current speaker response difference. And the power supply of the compensation circuit is used for providing electric energy for the current detection unit, the voltage generation unit and the MCU.
The embodiment of the application further provides a loudspeaker module, which comprises a folded ring, a vibrating diaphragm, a voice coil and a compensating circuit;
the compensation circuit is used for judging whether the loudspeaker module is in an audio playing state; if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value; wherein the current loudspeaker response difference is used for describing the difference between the actual response and the standard response of the loudspeaker module under the current environment.
The speaker module that this embodiment provided includes compensating circuit, and compensating circuit measures the current speaker resistance of speaker module under current environment when detecting that the speaker module is not in the audio playback state to confirm the current speaker response difference that current speaker resistance corresponds. And the compensation circuit also adjusts the sound effect of the loudspeaker module according to the current loudspeaker response difference determined at the last time when the loudspeaker module is in an audio playing state. The environment that the speaker module was located can change the speaker resistance, and the voice coil loudspeaker voice coil intensifies and also can change the speaker resistance when the speaker module is in the audio playback state, if adjust the audio according to the speaker resistance that the speaker module was measured when being in the audio playback state, the influence of environmental change to the speaker audio can't be accurately eliminated this moment, the wrong condition will be adjusted to the audio. The sound effect is adjusted to this embodiment speaker resistance that measures when the speaker module is not in the audio playback state, can effectively reduce the influence of environmental change to the speaker sound effect. Further, this embodiment need not additionally to add the sensor based on the change of speaker resistance value detection ring border, can realize the speaker audio regulation under the prerequisite that reduces speaker structure complexity.
Furthermore, the compensation circuit comprises a current detection unit, a voltage generation unit, a Micro Control Unit (MCU) and a power supply;
the current detection unit is used for measuring the current value of the loudspeaker module;
the voltage generating unit is used for outputting a signal of a preset voltage;
the micro control unit MCU is used for calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset voltage and the current value of the loudspeaker module; the current loudspeaker resistance value is used for determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; and the frequency response curve is adjusted according to the latest determined current loudspeaker response difference value so as to realize sound effect adjustment of the loudspeaker module.
This embodiment can arrange the test environment of a plurality of different humitures in with the speaker module, makes voltage generation unit signals, and the current detection unit detects the current value of speaker module, calculates the speaker resistance. And storing the loudspeaker resistance values corresponding to different temperatures and humidities into the MCU.
The requirements for the signal sent by the voltage generating unit are as follows: 1. cannot be sensed by a user, 2, cannot cause the voice coil to generate excessive heat, otherwise, the monitored temperature and humidity are no longer the environment temperature and humidity. Therefore, the signal can adopt a direct current signal with small voltage, the voice coil cannot vibrate when the direct current signal is added, a magnetic field cannot be cut, and the actual heat generation is very small due to the fact that the voltage is small and the time for starting the voltage generation unit is very short. The current loudspeaker resistance value measured at this time is a resistance value influenced only by the current environment.
When the speaker module is placed in the test environment, the speaker response may also be measured, and the difference between the standard response (e.g., the speaker response measured at 20 ℃ and 50% humidity is the standard response) and the speaker response in the test environment may be calculated. And storing the loudspeaker difference values corresponding to different temperatures and humidities into the MCU, thereby obtaining the corresponding relation between the loudspeaker resistance value and the loudspeaker response difference value.
After the loudspeaker module is installed on an audio product, if the current detection unit detects that the current is very small, the user is considered not to use the product. And controlling the voltage sounding unit to send a signal, detecting the current value by using the current detection unit, and calculating the resistance value of the loudspeaker. The voltage sounding unit can be closed after the resistance value of the loudspeaker is obtained. When the current detection unit detects a certain current, the user is considered to use the product, and the loudspeaker response difference corresponding to the loudspeaker resistance value obtained last time is determined at the moment, so that the sound effect adjusting unit of the micro control unit MCU performs sound effect adjustment based on the loudspeaker response difference.
This embodiment provides a speaker module with adjustable, when the speaker is not in audio playback state (not playing the music), measures speaker module both ends voltage and electric current, calculates the speaker resistance, estimates external environment humiture according to the speaker resistance, compensates the response of speaker module to realize the audio regulation. Through the scheme, the response consistency of the loudspeaker module can be improved, and the influence of the temperature and the humidity on the loudspeaker response is reduced.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a speaker sound effect adjusting apparatus according to an embodiment of the present disclosure;
the apparatus may include:
the judging module 301 is configured to judge whether the speaker module is in an audio playing state;
a response difference determining module 302, configured to measure a current speaker resistance value of the speaker module in a current environment if the speaker module is not in an audio playing state, and determine a corresponding current speaker response difference according to the current speaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment;
and the adjusting module 303 is configured to adjust the sound effect of the speaker module according to the latest determined current speaker response difference if the speaker module is in an audio playing state.
The speaker module that this embodiment provided includes compensating circuit, and compensating circuit measures the current speaker resistance of speaker module under current environment when detecting that the speaker module is not in the audio playback state to confirm the current speaker response difference that current speaker resistance corresponds. And the compensation circuit also adjusts the sound effect of the loudspeaker module according to the current loudspeaker response difference determined at the last time when the loudspeaker module is in an audio playing state. The environment that the speaker module was located can change the speaker resistance, and the voice coil loudspeaker voice coil intensifies and also can change the speaker resistance when the speaker module is in the audio playback state, if adjust the audio according to the speaker resistance that the speaker module was measured when being in the audio playback state, the wrong condition is adjusted to the audio will appear, the influence of environmental change to the speaker audio can't be accurately eliminated this moment. The sound effect is adjusted to the speaker resistance that this embodiment utilized measurement when the speaker module is not in audio playback state, can effectively reduce the influence of environmental change to the speaker sound effect. Further, this embodiment need not additionally to add the sensor based on the change of speaker resistance value detection ring border, can realize the speaker audio regulation under the prerequisite that reduces speaker structure complexity.
Further, the method also comprises the following steps:
the testing module is used for constructing a plurality of testing environments by taking temperature and humidity as variables; the testing device is also used for measuring the loudspeaker resistance value of the loudspeaker module under each testing environment and not in an audio playing state to obtain the corresponding relation between the testing environment and the loudspeaker resistance value; the loudspeaker module is also used for measuring the loudspeaker response of the loudspeaker module in each test environment and not in an audio playing state, and taking the difference value of each loudspeaker response and the standard response as the loudspeaker response difference value to obtain the corresponding relation between the test environment and the loudspeaker response difference value; the test environment is used for obtaining the corresponding relation between the resistance value of the loudspeaker and the response difference value of the loudspeaker according to the corresponding relation between the test environment and the resistance value of the loudspeaker and the corresponding relation between the test environment and the response difference value of the loudspeaker;
correspondingly, the response difference determining module 302 is configured to determine the current speaker response difference corresponding to the current speaker resistance value according to the correspondence between the speaker resistance value and the speaker response difference.
Further, the method also comprises the following steps:
and the standard determining module is used for determining a standard environment from all the test environments before the difference value of each loudspeaker response and the standard response is taken as a loudspeaker response difference value, and setting the loudspeaker response of the loudspeaker module in the standard environment and not in an audio playing state as the standard response.
Further, the judging module 301 is configured to judge whether a current value of the speaker module is smaller than a preset value; if yes, judging that the loudspeaker module is not in an audio playing state; if not, the loudspeaker module is judged to be in an audio playing state.
Further, the compensation circuit comprises a current detection unit, a voltage generation unit and a power supply;
correspondingly, the response difference determining module 302 is configured to output a signal of a preset voltage by using the voltage generating unit, and measure a current value of the speaker module by using the current detecting unit; and the current loudspeaker resistance value of the loudspeaker module in the current environment is calculated according to the preset pressure and the current value.
Furthermore, the compensation circuit also comprises a Micro Control Unit (MCU);
correspondingly, the adjusting module 303 is configured to input the current speaker response difference determined last time into the sound effect adjusting unit of the MCU, so that the sound effect adjusting unit adjusts the sound effect of the speaker module by adjusting the frequency response curve.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The present application also provides a storage medium having a computer program stored thereon, which when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. The utility model provides a speaker sound effect adjusting method which characterized in that, be applied to the compensating circuit of speaker module, speaker sound effect adjusting method includes:
judging whether the loudspeaker module is in an audio playing state or not;
if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment;
and if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value.
2. The method of claim 1 wherein before determining the corresponding current speaker response difference based on the current speaker resistance value, further comprising:
constructing a plurality of test environments by taking temperature and humidity as variables;
measuring the loudspeaker resistance value of the loudspeaker module under each test environment and not in an audio playing state to obtain the corresponding relation between the test environment and the loudspeaker resistance value;
measuring the loudspeaker response of the loudspeaker module in each test environment and not in an audio playing state, and taking the difference value of each loudspeaker response and the standard response as a loudspeaker response difference value to obtain the corresponding relation between the test environment and the loudspeaker response difference value;
obtaining the corresponding relation between the resistance value of the loudspeaker and the response difference value of the loudspeaker according to the corresponding relation between the test environment and the resistance value of the loudspeaker and the corresponding relation between the test environment and the response difference value of the loudspeaker;
correspondingly, determining a corresponding current speaker response difference value according to the current speaker resistance value includes:
and determining the current loudspeaker response difference corresponding to the current loudspeaker resistance value according to the corresponding relation between the loudspeaker resistance value and the loudspeaker response difference.
3. The method of claim 2 wherein before the difference between each speaker response and the standard response is used as the speaker response difference, further comprising:
and determining a standard environment from all the test environments, and setting the loudspeaker response of the loudspeaker module in the standard environment and not in an audio playing state as the standard response.
4. The method for adjusting the sound effect of a loudspeaker according to claim 1, wherein the step of determining whether the loudspeaker module is in an audio playing state comprises:
judging whether the current value of the loudspeaker module is smaller than a preset value or not;
if yes, judging that the loudspeaker module is not in an audio playing state;
if not, the loudspeaker module is judged to be in an audio playing state.
5. The method of claim 1 wherein the compensation circuit comprises a current detection unit, a voltage generation unit and a power supply;
correspondingly, measuring the current speaker resistance of the speaker module in the current environment includes:
outputting a signal of preset voltage by using the voltage generating unit, and measuring the current value of the loudspeaker module by using the current detecting unit;
and calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset pressure and the current value.
6. The speaker sound effect adjustment method according to claim 5, wherein the compensation circuit further comprises a Micro Control Unit (MCU);
correspondingly, the sound effect of the loudspeaker module is adjusted according to the latest determined current loudspeaker response difference, and the method comprises the following steps:
and inputting the current loudspeaker response difference determined for the last time into a sound effect adjusting unit of the micro control unit MCU, so that the sound effect adjusting unit can adjust the sound effect of the loudspeaker module by adjusting a frequency response curve.
7. A speaker sound effect adjustment apparatus, comprising:
the judging module is used for judging whether the loudspeaker module is in an audio playing state;
the response difference determining module is used for measuring the current loudspeaker resistance value of the loudspeaker module in the current environment if the loudspeaker module is not in an audio playing state, and determining the corresponding current loudspeaker response difference according to the current loudspeaker resistance value; the current loudspeaker response difference value is used for describing the difference value between the actual response and the standard response of the loudspeaker module in the current environment;
and the adjusting module is used for adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value if the loudspeaker module is in an audio playing state.
8. A loudspeaker module is characterized by comprising a corrugated rim, a vibrating diaphragm, a voice coil and a compensation circuit;
the compensation circuit is used for judging whether the loudspeaker module is in an audio playing state; if not, measuring the current loudspeaker resistance value of the loudspeaker module in the current environment, and determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; if so, adjusting the sound effect of the loudspeaker module according to the latest determined current loudspeaker response difference value;
wherein the current loudspeaker response difference is used for describing the difference between the actual response and the standard response of the loudspeaker module under the current environment.
9. The speaker module as claimed in claim 8, wherein the compensation circuit comprises a current detection unit, a voltage generation unit, a Micro Control Unit (MCU) and a power supply;
the current detection unit is used for measuring the current value of the loudspeaker module;
the voltage generating unit is used for outputting a signal of a preset voltage;
the micro control unit MCU is used for calculating the current loudspeaker resistance value of the loudspeaker module in the current environment according to the preset voltage and the current value of the loudspeaker module; the current loudspeaker resistance value is used for determining a corresponding current loudspeaker response difference value according to the current loudspeaker resistance value; and the frequency response curve is adjusted according to the latest determined current loudspeaker response difference value so as to realize sound effect adjustment of the loudspeaker module.
10. A storage medium having stored thereon computer-executable instructions which, when loaded and executed by a processor, carry out the steps of the method of loudspeaker sound effect adjustment according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210461375.2A CN114866902A (en) | 2022-04-28 | 2022-04-28 | Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210461375.2A CN114866902A (en) | 2022-04-28 | 2022-04-28 | Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114866902A true CN114866902A (en) | 2022-08-05 |
Family
ID=82633033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210461375.2A Pending CN114866902A (en) | 2022-04-28 | 2022-04-28 | Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114866902A (en) |
-
2022
- 2022-04-28 CN CN202210461375.2A patent/CN114866902A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110032751B (en) | Constrained nonlinear parameter estimation for robust nonlinear speaker modeling | |
KR100788670B1 (en) | Method and apparatus for controlling ouput power optimized in headphone in digital power amp | |
US10734959B2 (en) | Sound processing device and method to suppress an excessive amplitude | |
CN106797520B (en) | The method and hearing aid device system of operating hearing aid system | |
US8913752B2 (en) | Audio signal measurement method for speaker and electronic apparatus having the speaker | |
CN108966084A (en) | A kind of loudspeaking equipment and its calibration method, device, equipment | |
CN104581605A (en) | System and Method for Automatic Calibration of Transducer | |
CN102638742A (en) | Sound signal output apparatus and sound signal output method | |
US20130077794A1 (en) | Thermal Control of Voice Coils in Loudspeakers | |
CN108781083B (en) | Direct Current (DC) and/or Alternating Current (AC) load detection for audio codecs | |
KR930003528A (en) | Frequency Characteristic Correction Device for Reproducing Audio Signal According to Listening Space Condition | |
US20150156588A1 (en) | Audio Output Device Specific Audio Processing | |
CN110012395B (en) | System and method for speaker thermal behavior modeling | |
CN102685644A (en) | Signal processing device and signal processing method | |
CN109658952A (en) | A kind of acoustic signal processing method, equipment and storage medium | |
KR20190067728A (en) | Customized headphone sound quality | |
CN105554629A (en) | Method and system for audio fidelity of loudspeaker | |
CN109545237A (en) | A kind of computer readable storage medium and the interactive voice speaker using the medium | |
US8565441B2 (en) | Method and apparatus for reducing resonance of loudspeaker | |
US9800984B2 (en) | Identification of a load with a search algorithm that controls application of signals to the load and a reference generator | |
CN114866902A (en) | Loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium | |
US10015607B2 (en) | Temperature compensation for load identification | |
CN111796793A (en) | Speaker system identification method and device, storage medium and communication terminal | |
JP6503537B1 (en) | Control method and apparatus for extracting the limit ability of a speaker system | |
WO2024016462A1 (en) | Earphone burn-in device, method and apparatus, and computer-readable storage medium |
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 |