A loudspeaker sound effect adjusting method and device, loudspeaker module and storage medium
By measuring the resistance and calculating the response difference when the speaker module is not playing, the speaker sound effect is adjusted through the compensation circuit. This solves the problem of the impact of environmental changes on the speaker sound effect, and achieves sound effect consistency and structural simplification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GEER TECH CO LTD
- Filing Date
- 2022-04-28
- Publication Date
- 2026-07-07
AI Technical Summary
The sound quality of speaker modules is easily affected by changes in ambient temperature and humidity during long-term use, leading to changes in response characteristics. Existing technologies are unable to effectively reduce this impact.
The compensation circuit determines whether the speaker module is in audio playback mode. When not playing, the speaker resistance is measured and the response difference is calculated. When playing, the sound effect is adjusted based on the most recent response difference. The speaker resistance is used to detect environmental changes, eliminating the need for additional sensors.
It effectively reduces the impact of environmental changes on speaker sound effects, maintains sound consistency, reduces speaker structural complexity, and avoids sound effect adjustment errors.
Smart Images

Figure CN114866902B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio product control technology, and in particular to a speaker sound effect adjustment method, device, speaker module and storage medium. Background Technology
[0002] The sound-generating unit in audio products such as speakers and headphones is the speaker module. Because audio products have a long lifespan, their sound quality needs to remain consistent over extended periods. For speaker modules, the response is easily affected by ambient temperature and humidity. For example, changes in temperature and humidity can alter the speaker's voice coil impedance and also change the physical characteristics of the speaker diaphragm and surrounds.
[0003] Therefore, how to reduce the impact of environmental changes on speaker sound effects is a technical problem that needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a speaker sound effect adjustment method, a speaker sound effect adjustment device, a speaker module, and a storage medium that can reduce the impact of environmental changes on speaker sound effects.
[0005] To address the aforementioned technical problems, this application provides a speaker sound effect adjustment method, applied to the compensation circuit of the speaker module, the speaker sound effect adjustment method comprising:
[0006] Determine whether the speaker module is in audio playback mode;
[0007] If not, measure the current speaker resistance of the speaker module in the current environment, and determine the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response and the standard response of the speaker module in the current environment;
[0008] If so, the sound effect of the speaker module is adjusted based on the most recently determined current speaker response difference.
[0009] Optionally, before determining the corresponding current speaker response difference based on the current speaker resistance value, the method further includes:
[0010] Multiple test environments were constructed using temperature and humidity as variables;
[0011] The speaker resistance of the speaker module is measured under each of the test environments and when it is not in audio playback state, so as to obtain the correspondence between the test environment and the speaker resistance.
[0012] The speaker module's speaker response is measured in each of the test environments and when it is not in an audio playback state. The difference between each speaker response and the standard response is taken as the speaker response difference, and the correspondence between the test environment and the speaker response difference is obtained.
[0013] Based on the correspondence between the test environment and the speaker resistance value, and the correspondence between the test environment and the speaker response difference, the correspondence between the speaker resistance value and the speaker response difference is obtained;
[0014] Accordingly, determining the corresponding current speaker response difference based on the current speaker resistance value includes:
[0015] Based on the correspondence between the speaker resistance and the speaker response difference, the current speaker response difference corresponding to the current speaker resistance is determined.
[0016] Optionally, before using the difference between each speaker response and the standard response as the speaker response difference, the method further includes:
[0017] A standard environment is determined from all the test environments, and the speaker response of the speaker module under the standard environment, when it is not in an audio playback state, is set as the standard response.
[0018] Optionally, determining whether the speaker module is in audio playback mode includes:
[0019] Determine if the current value of the speaker module is less than the preset value;
[0020] If so, it is determined that the speaker module is not in audio playback mode;
[0021] If not, the speaker module is determined to be in audio playback mode.
[0022] Optionally, the compensation circuit includes a current detection unit, a voltage generation unit, and a power supply;
[0023] Accordingly, measuring the current speaker resistance of the speaker module under the current environment includes:
[0024] The voltage generating unit outputs a signal with a preset voltage, and the current detection unit measures the current value of the speaker module.
[0025] The current speaker resistance of the speaker module under the current environment is calculated based on the preset pressure and the current current value.
[0026] Optionally, the compensation circuit may further include a microcontroller unit (MCU);
[0027] Accordingly, the sound effect of the speaker module is adjusted based on the most recently determined current speaker response difference, including:
[0028] The most recently determined current speaker response difference is input into the sound effect adjustment unit of the microcontroller unit (MCU), so that the sound effect adjustment unit can adjust the sound effect of the speaker module by adjusting the frequency response curve.
[0029] This application also provides a sound effect adjustment device for a speaker module, the device comprising:
[0030] The judgment module is used to determine whether the speaker module is in audio playback mode;
[0031] The response difference determination module is used to measure the current speaker resistance of the speaker module in the current environment if the speaker module is not in an audio playback state, and determine the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response of the speaker module and the standard response in the current environment;
[0032] An adjustment module is used to adjust the sound effect of the speaker module based on the most recently determined current speaker response difference if the speaker module is in audio playback mode.
[0033] This application also provides a loudspeaker module, including a surround, a diaphragm, a voice coil, and a compensation circuit;
[0034] The compensation circuit is used to determine whether the speaker module is in audio playback mode; if not, it measures the current speaker resistance of the speaker module in the current environment and determines the corresponding current speaker response difference based on the current speaker resistance; if yes, it adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference.
[0035] The current speaker response difference is used to describe the difference between the actual response of the speaker module and the standard response under the current environment.
[0036] Optionally, the compensation circuit includes a current detection unit, a voltage generation unit, a microcontroller unit (MCU), and a power supply.
[0037] The current detection unit is used to measure the current value of the speaker module;
[0038] The voltage generating unit is used to output a signal with a preset voltage.
[0039] The microcontroller unit (MCU) is used to calculate the current speaker resistance of the speaker module under the current environment based on the preset voltage and the current current value of the speaker module; it is also used to determine the corresponding current speaker response difference based on the current speaker resistance; and it is also used to adjust the frequency response curve based on the most recently determined current speaker response difference, so as to achieve sound effect adjustment of the speaker module.
[0040] This application also provides a storage medium storing a computer program thereon, which, when executed, implements the steps of the above-described speaker sound effect adjustment method.
[0041] This application provides a speaker sound effect adjustment method, applied to the compensation circuit of the speaker module. The speaker sound effect adjustment method includes: determining whether the speaker module is in an audio playback state; if not, measuring the current speaker resistance of the speaker module in the current environment, and determining the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response and the standard response of the speaker module in the current environment; if yes, adjusting the sound effect of the speaker module based on the most recently determined current speaker response difference.
[0042] The speaker module provided in this application includes a compensation circuit. When the speaker module is not in audio playback mode, the compensation circuit measures the current speaker resistance of the speaker module in the current environment and determines the current speaker response difference corresponding to the current speaker resistance. When the speaker module is in audio playback mode, the compensation circuit also adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference. The environment in which the speaker module is located changes the speaker resistance, and the voice coil temperature rise when the speaker module is in audio playback mode also changes the speaker resistance. If the sound effect is adjusted based on the speaker resistance measured when the speaker module is in audio playback mode, the influence of environmental changes on the speaker sound effect cannot be accurately eliminated, leading to incorrect sound effect adjustment. This application uses the speaker resistance measured when the speaker module is not in audio playback mode to adjust the sound effect, which can effectively reduce the influence of environmental changes on the speaker sound effect. Furthermore, this application detects environmental changes based on speaker resistance, eliminating the need for additional sensors and enabling speaker sound effect adjustment while reducing the complexity of the speaker structure. This application also provides a sound effect adjustment device for a speaker module, a speaker module, and a storage medium, which have the above-mentioned beneficial effects, and will not be described in detail here. Attached Figure Description
[0043] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 A flowchart illustrating a speaker sound effect adjustment method provided in this application embodiment;
[0045] Figure 2 This is a schematic diagram of the structure of a speaker module provided in an embodiment of this application;
[0046] Figure 3 This is a schematic diagram of the structure of a speaker sound effect adjustment device provided in an embodiment of this application. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0048] Please see below. Figure 1 , Figure 1 This is a flowchart of a speaker sound effect adjustment method provided in an embodiment of this application.
[0049] Specific steps may include:
[0050] S101: Determine whether the speaker module is in audio playback mode; if not, proceed to S102; if yes, proceed to S103.
[0051] This embodiment can be applied to the compensation circuit of the speaker module; please refer to [link / reference]. Figure 2 , Figure 2 This is a schematic diagram of a loudspeaker module provided in an embodiment of this application. In the figure, 1 is a surround, 2 is a diaphragm, 3 is a dustproof film, 4 is a voice coil, 5 and 7 are magnets, 6 is a washer, 8 is a terminal block, and 9 is a compensation circuit.
[0052] The audio playback status refers to the state in which the speaker module plays audio with a sound intensity greater than a preset decibel value. The preset decibel value can be set according to user habits, for example, the preset decibel value can be 1 decibel.
[0053] As a feasible implementation, the compensation circuit can be connected to a Bluetooth module to determine whether the speaker module is in audio playback mode based on the signal reception status of the Bluetooth module. Specifically, the Bluetooth module receives the audio data to be played by the speaker module. If the Bluetooth module does not receive a Bluetooth signal, it determines that the speaker module is not in audio playback mode; if the Bluetooth module receives a Bluetooth signal, it determines that the speaker module is in audio playback mode.
[0054] As another feasible implementation, this embodiment can also determine whether it is in audio playback mode based on the current value of the speaker module. The current value in audio playback mode is significantly higher than the current value when it is not in audio playback mode. Specifically, this embodiment can determine whether the current value of the speaker module is less than a preset value; if so, it is determined that the speaker module is not in audio playback mode; if not, it is determined that the speaker module is in audio playback mode.
[0055] S102: Measure the current speaker resistance of the speaker module in the current environment, and determine the corresponding current speaker response difference based on the current speaker resistance;
[0056] This step is based on the premise that the speaker module is not in audio playback mode. During the execution of this step, the operation of S101 can be executed at a certain cycle. If the speaker module is detected to be in audio playback mode during the execution of S102, the operation of S102 can be stopped and the process can proceed to S103.
[0057] As a possible implementation, the compensation circuit can be equipped with a resistance measuring device to measure the current speaker resistance of the speaker module under the current environment when the speaker module is not in audio playback mode. Factors affecting the speaker resistance (i.e., voice coil impedance) in the environment include temperature and / or humidity. Therefore, the aforementioned current environment may include the current temperature, the current humidity, or both.
[0058] Environmental changes alter speaker resistance and response. Before this step, the correspondence between the environment and speaker resistance, as well as the correspondence between the environment and speaker response, can be determined, thus establishing the correspondence between speaker resistance and speaker response. For ease of sound effect adjustment, a standard response is typically set as a reference. This embodiment calculates the difference between the speaker response and the standard response to obtain the speaker response difference. Combining the correspondence between speaker resistance and speaker response, and the correspondence between speaker response and speaker response difference, the corresponding relationship between speaker resistance and speaker response difference is obtained. Based on this relationship, this embodiment can determine the corresponding current speaker response difference according to the current speaker resistance. The aforementioned current speaker response difference describes the difference between the actual response of the speaker module and the standard response in the current environment. Specifically, the speaker response refers to the speaker's frequency response.
[0059] S103: Adjust the sound effect of the speaker module based on the most recently determined current speaker response difference.
[0060] This step assumes the speaker module is in audio playback mode. When the speaker module is in audio playback mode, the voice coil heats up. Determining the speaker response difference at this time would introduce errors. Therefore, this embodiment adjusts the speaker module's sound effect based on the most recently determined current speaker response difference. Specifically, this embodiment updates the speaker module's frequency response curve based on the most recently determined current speaker response difference to achieve sound effect adjustment.
[0061] The speaker module provided in this embodiment includes a compensation circuit. When the speaker module is not in audio playback mode, the compensation circuit measures the current speaker resistance of the speaker module in the current environment and determines the current speaker response difference corresponding to the current speaker resistance. When the speaker module is in audio playback mode, the compensation circuit also adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference. The environment in which the speaker module is located changes the speaker resistance, and the voice coil temperature rise when the speaker module is in audio playback mode also changes the speaker resistance. If the sound effect is adjusted based on the speaker resistance measured when the speaker module is in audio playback mode, the influence of environmental changes on the speaker sound effect cannot be accurately eliminated, resulting in incorrect sound effect adjustment. This embodiment uses the speaker resistance measured when the speaker module is not in audio playback mode to adjust the sound effect, which can effectively reduce the influence of environmental changes on the speaker sound effect. Furthermore, this embodiment detects environmental changes based on speaker resistance, eliminating the need for additional sensors and enabling speaker sound effect adjustment while reducing the complexity of the speaker structure.
[0062] As for Figure 1In a further description of the corresponding embodiment, before determining the corresponding current speaker response difference based on the current speaker resistance value, the correspondence between the speaker resistance value and the speaker response difference can be determined in the following way: Multiple test environments are constructed using temperature and humidity as variables; the speaker resistance value of the speaker module is measured in each of the test environments when it is not in an audio playback state, obtaining the correspondence between the test environment and the speaker resistance value; the speaker response of the speaker module is measured in each of the test environments when it is not in an audio playback state, and the difference between each speaker response and the standard response is used as the speaker response difference value, obtaining the correspondence between the test environment and the speaker response difference value; based on the correspondence between the test environment and the speaker resistance value, and the correspondence between the test environment and the speaker response difference value, the correspondence between the speaker resistance value and the speaker response difference value is obtained. Based on this, the above embodiment can determine the current speaker response difference value corresponding to the current speaker resistance value according to the correspondence between the speaker resistance value and the speaker response difference value.
[0063] Specifically, the above process can determine the standard response in the following way: determine a standard environment from all the test environments, and set the speaker response of the speaker module under the standard environment, but not in an audio playback state, as the standard response. For example, in this embodiment, the speaker response measured at a temperature of 20°C and a humidity of 50% can be used as the standard response.
[0064] As for Figure 1 As further described in the corresponding embodiment, the compensation circuit may include a current detection unit, a voltage generation unit, and a power supply. Accordingly, the compensation circuit can measure the current speaker resistance by: outputting a preset voltage signal (such as a DC signal) using the voltage generation unit, and measuring the current current value of the speaker module using the current detection unit; calculating the current speaker resistance of the speaker module under the current environment based on the preset voltage and the current current value. The preset voltage signal refers to a signal that causes the speaker module to play a sound intensity less than or equal to a preset decibel value.
[0065] Furthermore, the compensation circuit also includes a microcontroller unit (MCU), a memory, and a printed circuit board assembly (PCBA). Accordingly, the most recently determined current speaker response difference can be input to the sound adjustment unit of the MCU, so that the sound adjustment unit can adjust the sound effect of the speaker module by adjusting the frequency response curve. The memory can be used to store the determined current speaker response difference. The power supply of the compensation circuit provides power to the current detection unit, the voltage generation unit, and the MCU.
[0066] This application embodiment also provides a loudspeaker module, including a surround, a diaphragm, a voice coil, and a compensation circuit;
[0067] The compensation circuit is used to determine whether the speaker module is in audio playback state; if not, it measures the current speaker resistance of the speaker module in the current environment and determines the corresponding current speaker response difference based on the current speaker resistance; if yes, it adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference; wherein, the current speaker response difference is used to describe the difference between the actual response and the standard response of the speaker module in the current environment.
[0068] The speaker module provided in this embodiment includes a compensation circuit. When the speaker module is not in audio playback mode, the compensation circuit measures the current speaker resistance of the speaker module in the current environment and determines the current speaker response difference corresponding to the current speaker resistance. When the speaker module is in audio playback mode, the compensation circuit also adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference. The environment in which the speaker module is located changes the speaker resistance, and the voice coil temperature rise when the speaker module is in audio playback mode also changes the speaker resistance. If the sound effect is adjusted based on the speaker resistance measured when the speaker module is in audio playback mode, the influence of environmental changes on the speaker sound effect cannot be accurately eliminated, resulting in incorrect sound effect adjustment. This embodiment adjusts the sound effect based on the speaker resistance measured when the speaker module is not in audio playback mode, which can effectively reduce the influence of environmental changes on the speaker sound effect. Furthermore, this embodiment detects environmental changes based on speaker resistance, eliminating the need for additional sensors and enabling speaker sound effect adjustment while reducing the complexity of the speaker structure.
[0069] Furthermore, the compensation circuit includes a current detection unit, a voltage generation unit, a microcontroller unit (MCU), and a power supply;
[0070] The current detection unit is used to measure the current value of the speaker module;
[0071] The voltage generating unit is used to output a signal with a preset voltage.
[0072] The microcontroller unit (MCU) is used to calculate the current speaker resistance of the speaker module under the current environment based on the preset voltage and the current current value of the speaker module; it is also used to determine the corresponding current speaker response difference based on the current speaker resistance; and it is also used to adjust the frequency response curve based on the most recently determined current speaker response difference, so as to achieve sound effect adjustment of the speaker module.
[0073] This embodiment allows the speaker module to be placed in multiple test environments with different temperatures and humidity levels. The voltage generating unit sends a signal, and the current detection unit detects the current value of the speaker module and calculates the speaker resistance. The speaker resistance values corresponding to different temperatures and humidity levels are then stored in the microcontroller unit (MCU).
[0074] The requirements for the signal emitted by the voltage generating unit are as follows: 1. It must not be perceptible to the user; 2. It must not cause excessive heating of the voice coil, otherwise the monitored temperature and humidity will no longer reflect the ambient temperature and humidity. Therefore, a low-voltage DC signal can be used. Adding a DC signal will not cause the voice coil to vibrate or cut the magnetic field. Due to the low voltage and the very short activation time of the voltage generating unit, the actual heat generation is minimal. The measured current speaker resistance value is only affected by the current environment.
[0075] When the speaker module is placed in the aforementioned test environment, the speaker response can also be measured, and the difference between the standard response (e.g., the speaker response measured at 20℃ and 50% humidity is defined as the standard response) and the speaker response under the test environment can be calculated. The speaker differences corresponding to different temperatures and humidity levels are stored in the microcontroller unit (MCU), thereby obtaining the correspondence between the speaker resistance and the speaker response difference.
[0076] After the speaker module is installed in the audio product, if the current detection unit detects a very small current, it assumes the user is not using the product. At this time, the control voltage-emitting unit sends a signal, and the current detection unit detects the current value to calculate the speaker resistance. Once the speaker resistance is obtained, the voltage-emitting unit can be turned off. When the current detection unit detects a certain current, it assumes the user is using the product. At this point, the speaker response difference corresponding to the most recently obtained speaker resistance value is determined, so that the microcontroller unit's (MCU) sound effect adjustment unit can adjust the sound effects based on this speaker response difference.
[0077] This embodiment proposes an adjustable speaker module. When the speaker is not in audio playback mode (no music playing), the voltage and current across the speaker module are measured, the speaker resistance is calculated, and the ambient temperature and humidity are estimated based on the speaker resistance. The response of the speaker module is then compensated to achieve sound effect adjustment. This solution can improve the consistency of the speaker module's response and reduce the impact of temperature and humidity on the speaker response.
[0078] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a speaker sound effect adjustment device provided in an embodiment of this application;
[0079] The device may include:
[0080] The judgment module 301 is used to determine whether the speaker module is in an audio playback state;
[0081] The response difference determination module 302 is used to measure the current speaker resistance of the speaker module in the current environment if the speaker module is not in an audio playback state, and determine the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response of the speaker module and the standard response in the current environment;
[0082] The adjustment module 303 is used to adjust the sound effect of the speaker module according to the most recently determined current speaker response difference if the speaker module is in audio playback state.
[0083] The speaker module provided in this embodiment includes a compensation circuit. When the speaker module is not in audio playback mode, the compensation circuit measures the current speaker resistance of the speaker module in the current environment and determines the current speaker response difference corresponding to the current speaker resistance. When the speaker module is in audio playback mode, the compensation circuit also adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference. The environment in which the speaker module is located changes the speaker resistance, and the voice coil temperature rise when the speaker module is in audio playback mode also changes the speaker resistance. If the sound effect is adjusted based on the speaker resistance measured when the speaker module is in audio playback mode, sound effect adjustment errors will occur, and the influence of environmental changes on the speaker sound effect cannot be accurately eliminated. This embodiment uses the speaker resistance measured when the speaker module is not in audio playback mode to adjust the sound effect, which can effectively reduce the influence of environmental changes on the speaker sound effect. Furthermore, this embodiment detects environmental changes based on speaker resistance, eliminating the need for additional sensors and enabling speaker sound effect adjustment while reducing the complexity of the speaker structure.
[0084] Furthermore, it also includes:
[0085] The testing module is used to construct multiple test environments with temperature and humidity as variables; it is also used to measure the speaker resistance of the speaker module in each of the test environments and when it is not in an audio playback state, to obtain the correspondence between the test environment and the speaker resistance; it is also used to measure the speaker response of the speaker module in each of the test environments and when it is not in an audio playback state, and use the difference between each speaker response and the standard response as the speaker response difference, to obtain the correspondence between the test environment and the speaker response difference; it is also used to obtain the correspondence between the speaker resistance and the speaker response difference based on the correspondence between the test environment and the speaker resistance and the correspondence between the test environment and the speaker response difference.
[0086] Accordingly, the response difference determination module 302 is used to determine the current speaker response difference corresponding to the current speaker resistance value based on the correspondence between the speaker resistance value and the speaker response difference value.
[0087] Furthermore, it also includes:
[0088] A standard determination module is used to determine a standard environment from all the test environments before using the difference between each speaker response and a standard response as the speaker response difference, and to set the speaker response of the speaker module in the standard environment and not in an audio playback state as the standard response.
[0089] Furthermore, the judgment module 301 is used to determine whether the current value of the speaker module is less than a preset value; if yes, it determines that the speaker module is not in audio playback state; if no, it determines that the speaker module is in audio playback state.
[0090] Furthermore, the compensation circuit includes a current detection unit, a voltage generation unit, and a power supply;
[0091] Accordingly, the response difference determination module 302 is used to output a preset voltage signal using the voltage generating unit and to measure the current current value of the speaker module using the current detection unit; it is also used to calculate the current speaker resistance value of the speaker module under the current environment based on the preset pressure and the current current value.
[0092] Furthermore, the compensation circuit also includes a microcontroller unit (MCU);
[0093] Accordingly, the adjustment module 303 is used to input the most recently determined current speaker response difference into the sound effect adjustment unit of the microcontroller MCU, so that the sound effect adjustment unit can adjust the sound effect of the speaker module by adjusting the frequency response curve.
[0094] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.
[0095] This application also provides a storage medium on which a computer program is stored, which, when executed, can perform the steps provided in the above embodiments. The storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0096] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0097] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for adjusting the sound effect of a loudspeaker, characterized in that, The compensation circuit applied to the speaker module, the speaker sound effect adjustment method includes: Determine whether the speaker module is in audio playback mode; If not, the compensation circuit is controlled to send a signal to measure the current speaker resistance of the speaker module under the current environment, and to determine the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response and the standard response of the speaker module under the current environment; the signal sent by the compensation circuit is a low-voltage DC signal; If so, the sound effect of the speaker module is adjusted according to the most recently determined current speaker response difference; Before determining the corresponding current speaker response difference based on the current speaker resistance value, the method further includes: Multiple test environments were constructed using temperature and humidity as variables; The speaker resistance of the speaker module is measured under each of the test environments and when it is not in audio playback state, so as to obtain the correspondence between the test environment and the speaker resistance. The speaker module's speaker response is measured in each of the test environments and when it is not in an audio playback state. The difference between each speaker response and the standard response is taken as the speaker response difference, and the correspondence between the test environment and the speaker response difference is obtained. Based on the correspondence between the test environment and the speaker resistance value, and the correspondence between the test environment and the speaker response difference, the correspondence between the speaker resistance value and the speaker response difference is obtained; Accordingly, determining the corresponding current speaker response difference based on the current speaker resistance value includes: Based on the correspondence between the speaker resistance and the speaker response difference, the current speaker response difference corresponding to the current speaker resistance is determined.
2. The speaker sound effect adjustment method according to claim 1, characterized in that, Before using the difference between each speaker response and the standard response as the speaker response difference, the following is also included: A standard environment is determined from all the test environments, and the speaker response of the speaker module under the standard environment, when it is not in an audio playback state, is set as the standard response.
3. The speaker sound effect adjustment method according to claim 1, characterized in that, Determining whether the speaker module is in audio playback mode includes: Determine if the current value of the speaker module is less than the preset value; If so, it is determined that the speaker module is not in audio playback mode; If not, the speaker module is determined to be in audio playback mode.
4. The speaker sound effect adjustment method according to claim 1, characterized in that, The compensation circuit includes a current detection unit, a voltage generation unit, and a power supply. Accordingly, measuring the current speaker resistance of the speaker module under the current environment includes: The voltage generating unit outputs a signal with a preset voltage, and the current detection unit measures the current value of the speaker module. The current speaker resistance of the speaker module in the current environment is calculated based on the preset voltage and the current current value.
5. The speaker sound effect adjustment method according to claim 4, characterized in that, The compensation circuit also includes a microcontroller unit (MCU); Accordingly, the sound effect of the speaker module is adjusted based on the most recently determined current speaker response difference, including: The most recently determined current speaker response difference is input into the sound effect adjustment unit of the microcontroller unit (MCU), so that the sound effect adjustment unit can adjust the sound effect of the speaker module by adjusting the frequency response curve.
6. A speaker sound effect adjustment device, characterized in that, include: The judgment module is used to determine whether the speaker module is in audio playback mode; The response difference determination module is used to control the compensation circuit to send a signal if the speaker module is not in audio playback state, to measure the current speaker resistance of the speaker module in the current environment, and to determine the corresponding current speaker response difference based on the current speaker resistance; wherein, the current speaker response difference is used to describe the difference between the actual response and the standard response of the speaker module in the current environment; the signal sent by the compensation circuit is a low-voltage DC signal; An adjustment module is used to adjust the sound effect of the speaker module based on the most recently determined current speaker response difference if the speaker module is in audio playback mode. The testing module is used to construct multiple test environments with temperature and humidity as variables before determining the corresponding current speaker response difference based on the current speaker resistance value; it is also used to measure the speaker resistance value of the speaker module in each of the test environments and when it is not in an audio playback state, to obtain the correspondence between the test environment and the speaker resistance value; it is also used to measure the speaker response of the speaker module in each of the test environments and when it is not in an audio playback state, and use the difference between each speaker response and the standard response as the speaker response difference value, to obtain the correspondence between the test environment and the speaker response difference value; it is also used to obtain the correspondence between the speaker resistance value and the speaker response difference value based on the correspondence between the test environment and the speaker resistance value and the correspondence between the test environment and the speaker response difference value. The process by which the response difference determination module determines the corresponding current speaker response difference based on the current speaker resistance value includes: determining the current speaker response difference corresponding to the current speaker resistance value based on the correspondence between the speaker resistance value and the speaker response difference value.
7. A loudspeaker module, characterized in that, The loudspeaker module includes a surround, a diaphragm, a voice coil, and a compensation circuit. The compensation circuit is used to determine whether the speaker module is in audio playback mode; if not, it controls the compensation circuit to send a signal to measure the current speaker resistance of the speaker module in the current environment, and determines the corresponding current speaker response difference based on the current speaker resistance; if yes, it adjusts the sound effect of the speaker module based on the most recently determined current speaker response difference; the signal sent by the compensation circuit is a low-voltage DC signal. The current speaker response difference is used to describe the difference between the actual response of the speaker module and the standard response under the current environment. Before determining the corresponding current speaker response difference based on the current speaker resistance value, the method further includes: Multiple test environments were constructed using temperature and humidity as variables; The speaker resistance of the speaker module is measured under each of the test environments and when it is not in audio playback state, so as to obtain the correspondence between the test environment and the speaker resistance. The speaker module's speaker response is measured in each of the test environments and when it is not in an audio playback state. The difference between each speaker response and the standard response is taken as the speaker response difference, and the correspondence between the test environment and the speaker response difference is obtained. Based on the correspondence between the test environment and the speaker resistance value, and the correspondence between the test environment and the speaker response difference, the correspondence between the speaker resistance value and the speaker response difference is obtained; Accordingly, determining the corresponding current speaker response difference based on the current speaker resistance value includes: Based on the correspondence between the speaker resistance and the speaker response difference, the current speaker response difference corresponding to the current speaker resistance is determined.
8. The speaker module according to claim 7, characterized in that, The compensation circuit includes a current detection unit, a voltage generation unit, a microcontroller unit (MCU), and a power supply. The current detection unit is used to measure the current value of the speaker module; The voltage generating unit is used to output a signal with a preset voltage. The microcontroller unit (MCU) is used to calculate the current speaker resistance of the speaker module under the current environment based on the preset voltage and the current current value of the speaker module. It is also used to determine the corresponding current speaker response difference based on the current speaker resistance value; It is also used to adjust the frequency response curve based on the most recently determined current speaker response difference, so as to achieve sound effect adjustment of the speaker module.
9. A storage medium, characterized in that, The storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the steps of the speaker sound effect adjustment method as described in any one of claims 1 to 5.