Audio parameter adjusting circuit, audio parameter adjusting method, control device, storage medium, computer program product and audio device

By designing audio parameter adjustment circuits in the speakers, detecting impedance and resonance frequency, and adjusting sound effects parameters, the problem of performance degradation caused by aging of speakers is solved, extending service life and improving user experience.

CN119815244APending Publication Date: 2025-04-11WEIFANG GOERDYNA TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411957536.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

After aging, the speakers will have a degradation in performance, which will affect the sound effect and have poor user experience.

Method used

Design an audio parameter adjustment circuit, including a power amplifier, impedance detection circuit and main control circuit, to adjust the sound effect parameters to restore the optimal state of the speaker by detecting the impedance of the speaker and the current resonant frequency.

Benefits of technology

It effectively extends the service life of the speaker, improves user experience and satisfaction, and ensures the stability and consistency of the sound effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815244A_ABST
    Figure CN119815244A_ABST
Patent Text Reader

Abstract

The invention discloses an audio parameter adjusting circuit and method, a control device, a storage medium, a computer program product and an audible device, and relates to the technical field of electronic equipment.The audio parameter adjusting circuit comprises a power amplifier, an impedance detection circuit and a main control circuit, and the power amplifier end of the power amplifier is electrically connected with a loudspeaker; the impedance detector is used for detecting the impedance of the loudspeaker and outputting an impedance detection signal; the main control circuit controls the power amplifier to output a sweep frequency signal to the loudspeaker so as to drive the loudspeaker to work; and determining the current resonant frequency of the loudspeaker according to the impedance detection signal, and determining a target sound effect parameter corresponding to the current resonant frequency according to a mapping relationship between the resonant frequency and the target sound effect parameter, so as to adjust the sound effect parameter of the loudspeaker to the target sound effect parameter corresponding to the current resonant frequency, and enable the loudspeaker to work in a target state. The invention aims to improve the problem of performance reduction caused by aging of the loudspeaker, improve the sound effect of the loudspeaker by adjusting the sound effect parameters, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to an audio parameter adjustment circuit and method thereof, a control device, a storage medium, a computer program product and an audio device. Background Art

[0002] With the popularity of car audio systems in modern vehicles, users have higher and higher requirements for sound quality. However, as the core component of the audio system, the performance of the speaker will gradually change after a long period of operation, such as changes in parameters such as the resonant frequency (F0), which will affect the final sound effect. After three, five or even ten years of use, the aging of the speaker will cause the sound effect to be significantly different from the sound effect when it leaves the factory, affecting the user experience. Summary of the invention

[0003] The main purpose of the present invention is to propose an audio parameter adjustment circuit and method, a control device, a storage medium, a computer program product and an audio device, aiming to improve the problem of performance degradation caused by speaker aging, and to improve the sound effect of the speaker by adjusting the sound effect parameters, thereby enhancing the user experience.

[0004] To achieve the above object, the present invention provides an audio parameter adjustment circuit, characterized in that the audio parameter adjustment circuit comprises:

[0005] A power amplifier, wherein a power amplifier end of the power amplifier is electrically connected to the speaker;

[0006] an impedance detection circuit, the impedance detection circuit being connected in series with the speaker, for detecting the impedance of the speaker and outputting a corresponding impedance detection signal;

[0007] a main control circuit, the main control circuit being electrically connected to the impedance detection circuit and the power amplifier, respectively, and being used to control the power amplifier to output a frequency sweep signal to the speaker to drive the speaker to work; and determining a current resonant frequency of the speaker according to the impedance detection signal, and

[0008] It is used to determine the target sound effect parameters corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in a target state.

[0009] In one embodiment, the speaker includes a normal working mode and a parameter adjustment mode. When the speaker is in the parameter adjustment mode, the sound effect parameters of the speaker are adjusted to the target sound effect parameters corresponding to the current resonant frequency. The adjustment circuit further includes:

[0010] A mode switching circuit, wherein an input end of the mode switching circuit is electrically connected to the power amplifier end, a first switching end of the mode switching circuit is electrically connected to the speaker, and a second switching end of the mode switching circuit is electrically connected to the impedance detection circuit;

[0011] When the input end of the mode switching circuit is electrically connected to the first switching end, the speaker is in a normal working mode, and

[0012] When the input end of the mode switching circuit is electrically connected to the second switching end, the speaker is in a parameter adjustment mode.

[0013] In one embodiment, the control end of the main control circuit is electrically connected to the controlled end of the mode switching circuit; the main control circuit is used to control the input end of the mode switching circuit to be electrically connected to the second switching end when it is detected that the speaker meets the audio parameter adjustment condition.

[0014] In one embodiment, the audio parameter adjustment condition includes any one or more combinations of periodic detection, a control signal input by a user, a usage frequency, and a usage time.

[0015] In one embodiment, the mode switching circuit includes:

[0016] A switch, wherein a common end of the switch is electrically connected to the power amplifier end, a first end of the switch is electrically connected to the speaker, and a second end of the switch is electrically connected to the impedance detection circuit;

[0017] When the common end of the switch is electrically connected to the first end, the speaker is in a normal operating mode, and

[0018] When the common end of the switch is electrically connected to the second end, the speaker is in a parameter adjustment mode.

[0019] In one embodiment, in the parameter adjustment mode, the main control circuit is further used to control the power amplifier to output a sweep frequency signal corresponding to the initial resonant frequency, and use the sweep frequency signal corresponding to the initial resonant frequency as a start signal, and output the start signal to the speaker in descending frequency sequence;

[0020] Alternatively, the power amplifier is controlled to output a frequency sweep signal corresponding to the resonance frequency at the last adjustment, and the frequency sweep signal corresponding to the initial resonance frequency is used as a starting signal, and the starting signal is sequentially output to the speaker in descending frequency.

[0021] In one embodiment, the frequency sweep signal is a sine wave frequency sweep signal, and the impedance detection circuit includes:

[0022] A current detection circuit, which is arranged in series between the power amplifier terminal and the speaker, and is used to detect the current flowing through the speaker and output a current detection signal to the main control circuit;

[0023] The main control circuit is used to determine the impedance parameter of the speaker according to the current detection signal and the sine wave sweep signal; and

[0024] When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

[0025] In one embodiment, the current detection circuit includes:

[0026] A series resistor, wherein a first end of the series resistor is electrically connected to the power amplifier end, and a second end of the series resistor is electrically connected to an input end of the speaker;

[0027] A voltage detection chip, the voltage detection chip is electrically connected to the series resistor and the main control circuit respectively, and the voltage detection chip is used to detect the voltage across the series resistor and output a voltage detection signal to the main control circuit;

[0028] The main control circuit is used to determine the current flowing through the speaker according to the voltage detection signal and the resistance value of the series resistor; and determine the impedance parameter of the speaker according to the current and the sine wave sweep signal; and

[0029] When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

[0030] The present invention also provides an audio parameter adjustment method, the audio parameter adjustment method comprising:

[0031] Determining an impedance parameter of a loudspeaker, and determining a current resonant frequency of the loudspeaker according to the impedance parameter;

[0032] The target sound effect parameters corresponding to the current resonant frequency are determined according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in the target state.

[0033] In one embodiment, determining the current resonant frequency of the speaker according to the impedance parameter specifically includes:

[0034] Determining a minimum current value within a preset time period according to the acquired current value flowing through the speaker;

[0035] Determine the maximum impedance value of the speaker according to the minimum current value and the sine wave sweep signal;

[0036] The frequency corresponding to the maximum impedance value is determined according to the mapping relationship between the frequency range of the sine wave frequency sweep signal and the impedance parameter, and is used as the current resonant frequency of the speaker.

[0037] In one embodiment, determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes:

[0038] Comparing the current resonant frequency with a preset resonant frequency to obtain a comparison result;

[0039] When it is determined according to the comparison result that the current resonance frequency is equal to the preset resonance frequency, keeping the sound effect parameters of the speaker unchanged;

[0040] When it is determined according to the comparison result that the current resonant frequency is greater than or less than the preset resonant frequency, subtracting the current resonant frequency from the preset resonant frequency to obtain a first frequency difference;

[0041] When the first frequency difference is greater than or equal to the preset first frequency difference, matching the target sound effect parameter corresponding to the current resonant frequency according to a preset mapping table of the relationship between the resonant frequency and the target sound effect parameter;

[0042] When the first frequency difference is less than the preset first frequency difference, the sound effect parameters of the speaker are kept unchanged.

[0043] In one embodiment, determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes:

[0044] Subtracting the current resonant frequency from the preset resonant frequency to obtain a second frequency difference;

[0045] The target sound effect parameters corresponding to the current resonance frequency are matched according to a preset frequency difference and target sound effect parameter relationship mapping table.

[0046] In one embodiment, the mapping relationship between the resonant frequency and the target sound effect parameter is obtained by the following steps:

[0047] Inject a sine wave sweep signal into the speaker, and obtain the current resonant frequency of the speaker corresponding to different times to obtain multiple real-time resonant frequencies;

[0048] Comparing the plurality of real-time resonance frequencies with the preset resonance frequency respectively, and recording the fluctuation range of the real-time resonance frequency corresponding to the speaker at different times;

[0049] The target sound effect parameters corresponding to each of the real-time resonance frequencies are set according to the fluctuation range to obtain a mapping relationship between the resonance frequency and the target sound effect parameters.

[0050] In one embodiment, determining the impedance parameter of the speaker specifically includes:

[0051] Injecting a sine wave frequency sweep signal into the speaker, and obtaining a current value flowing through the speaker within a preset time period;

[0052] The impedance parameter of the speaker is determined according to the current value and the sine wave frequency sweep signal.

[0053] The present invention also proposes a control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of any of the above-mentioned audio parameter adjustment methods.

[0054] The present invention further proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the audio parameter adjustment method as described in any one of the above items are implemented.

[0055] The present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the audio parameter adjustment method as described in any one of the above are implemented.

[0056] The present invention further provides an audio device, which includes a speaker, and the control device described above, and / or the sound effect parameter adjustment circuit described in any one of the above.

[0057] The present invention proposes an audio parameter adjustment circuit, which includes a power amplifier, an impedance detection circuit, and a main control circuit, wherein the power amplifier end of the power amplifier is electrically connected to a speaker; the impedance detection circuit is connected in series with the speaker to detect the impedance of the speaker and output a corresponding impedance detection signal; the main control circuit is electrically connected to the impedance detection circuit and the power amplifier, respectively, to control the power amplifier to output a sweep signal to the speaker to drive the speaker to work; and the current resonant frequency of the speaker is determined according to the impedance detection signal, and the target sound effect parameters corresponding to the current resonant frequency are determined according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in a target state.

[0058] In practical applications, the impedance detection circuit can accurately detect the impedance characteristics of the speaker, determine the current resonant frequency through the main control circuit, and then adjust the sound effect parameters according to the current resonant frequency to ensure that the speaker works in the target state. In this way, it automatically adapts to the aging of the speaker, prolongs the service life of the speaker, and thus improves the user experience and satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0060] Figure 1 A schematic diagram of a module of an embodiment of an audio parameter adjustment circuit of the present invention;

[0061] Figure 2 A schematic diagram of a module of another embodiment of the audio parameter adjustment circuit of the present invention;

[0062] Figure 3 A module diagram of another embodiment of the audio parameter adjustment circuit of the present invention;

[0063] Figure 4 A module diagram of another embodiment of the audio parameter adjustment circuit of the present invention;

[0064] Figure 5 A specific circuit diagram of an embodiment of an audio parameter adjustment circuit of the present invention;

[0065] Figure 6 A flowchart of an embodiment of an audio parameter adjustment method of the present invention;

[0066] Figure 7 A flowchart of another embodiment of the audio parameter adjustment method of the present invention;

[0067] Figure 8 A flowchart of another embodiment of the audio parameter adjustment method of the present invention;

[0068] Fig. 9 A flowchart of another embodiment of the audio parameter adjustment method of the present invention;

[0069] Fig.10 A flowchart of another embodiment of the audio parameter adjustment method of the present invention;

[0070] Fig.11 A flowchart of another embodiment of the audio parameter adjustment method of the present invention;

[0071] Fig.12 This is the impedance characteristic curve of the speaker.

[0072] Description of Figure Numbers:

[0073] 10. Power amplifier; 20. Impedance detection circuit; 30. Main control circuit; 40. Mode switching circuit; 21. Current detection circuit; 22. Series resistor; 23. Voltage detection chip.

[0074] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0076] It should be noted that, in this article, step codes such as S100, S200, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S200 first and then S100, etc., but these should all be within the scope of protection of this application.

[0077] With the popularity of car audio systems in modern vehicles, users have higher and higher requirements for sound quality. However, as the core component of the audio system, the performance of the speaker will gradually change after a long period of operation, such as changes in parameters such as the resonant frequency (F0), which will affect the final sound effect. After three, five or even ten years of use, the aging of the speaker will cause the sound effect to be significantly different from the sound effect when it leaves the factory, affecting the user experience.

[0078] It is understandable that speaker aging involves changes in physical and mechanical properties. In speakers, the rubber ring (also called the suspension or fold ring) is an important component located on the edge of the speaker cone. It can be made of rubber, foam or other composite materials. Its main function is to allow the cone to move up and down freely when vibrating while maintaining the seal between the cone and the speaker frame. The speaker can be regarded as a mechanical-electrical system, and its vibration characteristics can be described by a simple equivalent model. This model usually includes mass, damping, and spring. The mass is the mass of the speaker cone. Damping is the resistance provided by the suspension and spider. The elastic force of the spring is the elastic force provided by the suspension and spider. Therefore, the resonant frequency of the speaker can be calculated by the following formula

[0079] Where F is the resonant frequency, C is a constant, K is the spring constant (elastic coefficient), and M is the mass. As the speaker ages, the mass M of the speaker cone does not change significantly in most cases. As the speaker ages, the elasticity of the surround and spider decreases, causing the spring constant K to decrease. Aging of the surround and spider will make them softer, thus reducing resistance.

[0080] As the usage time increases, the rubber ring becomes softer and the elasticity of the suspension edge and the spider weakens, which means that the restoring force they provide decreases, that is, the spring constant K decreases, so the resonant frequency F will also decrease.

[0081] To this end, the present invention proposes an audio parameter adjustment circuit, referring to Figure 1 , the audio parameter adjustment circuit comprises:

[0082] A power amplifier 10, wherein a power amplifier end of the power amplifier 10 is electrically connected to a speaker;

[0083] An impedance detection circuit 20, which is connected in series with the speaker and is used to detect the impedance of the speaker and output a corresponding impedance detection signal;

[0084] a main control circuit 30, the main control circuit 30 being electrically connected to the impedance detection circuit 20 and the power amplifier 10, respectively, and being used to control the power amplifier 10 to output a frequency sweep signal to the speaker to drive the speaker to work; and determining a current resonant frequency of the speaker according to the impedance detection signal, and

[0085] It is used to determine the target sound effect parameters corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in a target state.

[0086] In this embodiment, the power amplifier 10 can be implemented by a class A power amplifier, a class B power amplifier, a class AB power amplifier, etc. The impedance detection circuit 20 can be implemented by a constant current source circuit, a differential amplifier, etc. The main control circuit 30 can be implemented by a main controller, such as an MCU, a DSP (Digital Signal Process), a FPGA (Field Programmable Gate Array), a PLC, a SOC (System OnChip), etc.

[0087] Specifically, the power amplifier 10 is used to provide a sweep signal to the speaker to drive the speaker to work. When the power amplifier 10 outputs the sweep signal to the speaker through its own power amplifier end, the impedance detection circuit 20 detects the impedance of the speaker in real time and outputs the corresponding impedance detection signal to the main control circuit 30, so that the main control circuit 30 determines the current resonant frequency of the speaker according to the impedance detection signal. For example, the impedance detection circuit 20 is implemented by a resistor with a known resistance value and a voltage detection chip 23. The known resistor is connected in series with the speaker. The voltage detection chip 23 detects the voltage across the known resistor and outputs a voltage detection signal to the main control circuit 30, so that the main control circuit 30 determines the current signal flowing through the speaker according to the voltage detection signal and the resistance value of the known resistor. The sweep signal is usually a sine wave signal. The frequency range of the sweep signal is set by the R&D personnel according to actual needs and should cover the resonant frequency of the speaker and its nearby frequencies. Since the total voltage of the sweep signal output by the power amplifier 10 is known, the impedance of the speaker can be calculated according to the following formula, that is, Z = V 总 / I, where Z is the impedance, I is the current flowing through the speaker, and V 总 is the total voltage of the swept frequency signal.

[0088] It can be understood that the resonant frequency (F0) of the speaker is the natural resonant frequency of its mechanical system and electrical system. At the resonant frequency (F0), the mechanical system and electrical system of the speaker reach a resonant state. At the resonant frequency, the displacement of the voice coil of the speaker is the largest, that is, the amplitude of vibration is the largest, resulting in the maximum impedance. Since the impedance is the largest, a higher voltage drop will be generated when the same current passes through the speaker. This enables the speaker to obtain more electrical energy, thereby producing a greater sound output, that is, the vibration system of the speaker can achieve the best energy conversion efficiency, thereby producing the best sound effect. Therefore, in this embodiment, the main control circuit 30 can record the impedance value at each frequency point in the internal memory, and generate an impedance characteristic curve drawn by the impedance values ​​at different frequency points according to a preset algorithm. The frequency point corresponding to the maximum impedance on the impedance characteristic curve is the current resonant frequency of the speaker. That is, the resonant frequency (F0) of the speaker can be obtained from the impedance characteristic curve of the speaker. When measuring the impedance characteristics of the speaker, the frequency corresponding to the first time the impedance value on the impedance characteristic curve reaches the maximum value is called the resonant frequency or resonance frequency of the speaker, referred to as F0. Reference Fig.12 , the horizontal axis is frequency, the vertical axis is impedance, and the horizontal axis corresponding to the highest point is F0.

[0089] Optionally, the main control circuit 30 can search the mapping relationship table of the resonant frequency and the target sound effect parameter stored in the memory in advance according to the current resonant frequency, determine the target sound effect parameter corresponding to the current resonant frequency, and adjust the sound effect parameter of the speaker so that the speaker works in the target state. Among them, the sound effect parameters of the speaker include gain, phase and delay, etc. The gain refers to the degree of signal amplification, usually expressed in decibels (dB). It determines the degree to which the input signal is amplified to the output signal. The adjustment of the gain can help expand or compress the dynamic range of the audio signal to ensure that the sound is consistent at different volumes; the phase refers to the time offset of the signal waveform relative to the reference point. The phase adjustment can ensure the synchronization of the signals between the speakers and avoid sound distortion caused by the time difference. Delay refers to the time required for the signal to be transmitted from one point to another. By introducing appropriate delays, different spatial effects such as echo, reverberation, etc. can be simulated to enhance the auditory experience. Therefore, after the sound effect parameters of the speaker are adjusted by the audio parameter adjustment circuit of the present invention, the performance of the speaker can be significantly improved.

[0090] In practical applications, the impedance detection circuit 20 can accurately detect the impedance characteristics of the speaker, determine the current resonant frequency through the main control circuit 30, and then adjust the sound effect parameters according to the current resonant frequency to ensure that the speaker works in the target state. In this way, it automatically adapts to the aging of the speaker, prolongs the service life of the speaker, and thus improves the user experience and satisfaction.

[0091] In one embodiment of the present invention, reference Figure 2 The speaker includes a normal working mode and a parameter adjustment mode. When the speaker is in the parameter adjustment mode, the sound effect parameters of the speaker are adjusted to the target sound effect parameters corresponding to the current resonant frequency. The adjustment circuit also includes:

[0092] A mode switching circuit 40, wherein an input end of the mode switching circuit 40 is electrically connected to the power amplifier end, a first switching end of the mode switching circuit 40 is electrically connected to the speaker, and a second switching end of the mode switching circuit 40 is electrically connected to the impedance detection circuit 20;

[0093] When the input end of the mode switching circuit 40 is electrically connected to the first switching end, the speaker is in a normal working mode, and

[0094] When the input end of the mode switching circuit 40 is electrically connected to the second switching end, the speaker is in a parameter adjustment mode.

[0095] In this embodiment, the analog-to-digital switching circuit can be implemented by a mechanical switch, an analog switch, a multiplexer, etc. The mode switching circuit 40 is used to switch between the normal working mode and the parameter adjustment mode of the speaker. In the parameter adjustment mode, the impedance of the speaker is detected in real time by the impedance detection circuit 20 and output to the main control circuit 30, so that the main control circuit 30 generates an impedance characteristic curve to determine the current resonant frequency, and then queries the mapping relationship table between the resonant frequency and the target sound effect parameter to adjust the sound effect parameter, ensure that the speaker always works in the best state, effectively monitor the aging state of the speaker, and automatically adjust the sound effect parameter, thereby improving the user experience.

[0096] Wherein, the mode switching circuit 40 includes:

[0097] A switch, wherein a common end of the switch is electrically connected to the power amplifier end, a first end of the switch is electrically connected to the speaker, and a second end of the switch is electrically connected to the impedance detection circuit 20;

[0098] When the common end of the switch is electrically connected to the first end, the speaker is in a normal operating mode, and

[0099] When the common end of the switch is electrically connected to the second end, the speaker is in a parameter adjustment mode.

[0100] In this embodiment, the switch can be implemented by an analog switch, a relay, a contactor, a triode, etc.

[0101] refer to Figure 5, SW1 is an analog switch, pin 1 is the common end of the switch, connected to the power amplifier end AMP+, pin 2 is the first end of the switch, connected to the speaker SPK1, and pin 3 is the second end of the switch, electrically connected to the impedance detection circuit 20. When pins 1 and 2 of SW1 are connected, the impedance detection circuit 20 does not work, the speaker is in a normal working mode, and the power amplifier 10 outputs a signal to the speaker through the power amplifier end to drive the speaker to play the audio signal; when pins 1 and 3 of SW1 are connected, the impedance detection circuit 20 works, the speaker is in a parameter adjustment mode, and a stable amplitude sweep signal is provided by the power amplifier end. In the parameter adjustment mode, the impedance of the speaker is detected in real time by the impedance detection circuit 20. When the frequency of the sweep signal changes, the impedance of the speaker changes. The main control circuit 30 determines the current resonant frequency according to the impedance detection signal output by the impedance detection circuit 20, and then determines the target sound effect parameters, so as to adjust the sound effect parameters of the speaker, ensure that the speaker works in the target state, and improve the problem of performance degradation caused by speaker aging, thereby improving user satisfaction.

[0102] In actual applications, the mode switching is performed by using a switch, which enables the speaker to flexibly switch between the normal working mode and the parameter adjustment mode, that is, by controlling the selection of the signal path, the speaker can operate in different working states to meet the needs of different application scenarios. In this way, the service life of the speaker can be effectively extended, the risk of performance degradation due to aging can be reduced, and the parameters can be intelligently adjusted and optimized, so that users can enjoy a high-quality audio experience without manual intervention, which improves the user experience.

[0103] It is understandable that frequent mode switching may cause mechanical wear of the switch, thus shortening its service life. And each mode switch consumes a certain amount of energy, especially when using high-power switches such as relays. In addition, frequent mode switching may introduce electromagnetic interference, affecting the stability and audio quality of the sound system.

[0104] To this end, in one embodiment of the present invention, the control end of the main control circuit 30 is electrically connected to the controlled end of the mode switching circuit 40; the main control circuit 30 is used to control the input end of the mode switching circuit 40 to be electrically connected to the second switching end when it is detected that the speaker meets the audio parameter adjustment conditions.

[0105] In combination with the contents of the above embodiments, the main control circuit 30 is electrically connected to the controlled end of the switch. When the main control circuit 30 detects that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the second end of the switch, so that the speaker is in the parameter adjustment mode and adjusts its sound effect parameters. In addition, when it is not detected that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the first end of the switch, so that the speaker is in the normal working mode, and the power amplifier 10 outputs a signal to the speaker through the power amplifier end to drive the speaker to play the audio signal.

[0106] The audio parameter adjustment conditions include any one or more combinations of periodic detection, a control signal input by a user, a usage frequency, and a usage time.

[0107] Optionally, it is assumed that the audio parameter adjustment condition includes periodic detection, that is, the main control circuit 30 performs mode conversion in a fixed period, so that the impedance detection circuit 20 performs impedance detection on the speaker, determines the current resonant frequency, and queries the target sound effect parameters, thereby ensuring that the speaker is in the target working state. For example, the fixed period is 24 hours, and the main control circuit 30 has a built-in timer, which is set to be triggered once every 24 hours. When the timer is triggered, the main control circuit 30 controls the mode switching circuit 40 to electrically connect the input end to the second switching end and enter the parameter adjustment mode. The power amplifier 10 outputs a sweep signal of a certain frequency range (such as a sweep signal from 20Hz to 200Hz) to the speaker. The impedance detection circuit 20 detects the impedance of the speaker so that the main control circuit 30 determines the current resonant frequency according to the impedance detection signal, and queries the mapping relationship table of the preset resonant frequency and the target sound effect parameter to adjust the sound effect parameter of the speaker. After the parameter adjustment is completed, the main control circuit 30 controls the mode switching circuit 40 to electrically connect the input end to the first switching end and return to the normal working mode. At this time, when the timer reaches the next 24 hours, it is triggered again, so that the main control circuit 30 switches the speaker from the normal working mode to the parameter adjustment mode. In this way, the fixed cycle is set in advance by the R&D personnel, and by regularly detecting and adjusting the sound effect parameters, it can be ensured that the speaker can still maintain high efficiency after long-term use, which helps to extend the service life of the speaker.

[0108] Optionally, the user can manually trigger the sound effect parameter adjustment of the speaker through a terminal such as a remote control or a mobile phone. For example, the user presses a button on a dedicated remote control that matches the audio device (including the speaker) to output the control signal input by the user to the main control circuit 30, so that when the main control circuit 30 receives the control signal, the control mode switching circuit 40 switches the speaker from the normal working mode to the parameter adjustment mode, and after the parameter adjustment is completed, the speaker is automatically switched from the parameter adjustment mode to the normal working mode. In this way, the user can trigger the sound effect parameter adjustment circuit to perform impedance detection and sound effect parameter adjustment at any time according to their needs, providing higher flexibility and personalized experience. When the user finds that there is a sound quality problem that needs to be adjusted, it can be adjusted immediately to improve the user experience. In addition, the user can manually control it through the application on the terminal such as a remote control or a mobile phone, which increases interactivity and controllability.

[0109] Optionally, since the number of times a user uses a speaker is related to its aging degree, a mode switch can also be performed when the number of times the speaker system is used reaches a preset number of times, so that the impedance detection circuit 20 performs impedance detection on the speaker, and then the main control circuit 30 adjusts the sound effect parameters of the speaker. For example, the main control circuit 30 initializes a counter to record the number of times the speaker is used. Each time the speaker is used, the counter is incremented. When the counter reaches a preset threshold (for example, 100 times), the main control circuit 30 triggers parameter adjustment. That is, the main control circuit 30 controls the mode switching circuit 40 to electrically connect the input end to the second switching end and enter the parameter adjustment mode. The power amplifier 10 generates a sweep frequency signal with a frequency from 20Hz to 200Hz. The impedance detection circuit 20 detects the impedance of the speaker, so that the main control circuit 30 determines the current resonant frequency according to the impedance detection signal, and queries the mapping relationship table of the preset resonant frequency and the target sound effect parameter to adjust the sound effect parameter of the speaker. After the parameter adjustment is completed, the main control circuit 30 controls the mode switching circuit 40 to electrically connect its own input end to the first switching end to restore to the normal working mode. And the counter is reset to zero and starts counting again. In this way, adjustments are made only after a certain number of uses, avoiding frequent and unnecessary adjustments, reducing mechanical wear and power consumption. Speakers that are used frequently may age or break down faster, and on-demand adjustments can better adapt to such changes, that is, conditions based on frequency of use can ensure that the speaker can maintain efficient performance after frequent use.

[0110] Optionally, a mode switch can be performed after the accumulated usage time of the speaker system reaches a preset duration, and the sound effect parameters are adjusted according to the result corresponding to the impedance detection signal. For example, the main control circuit 30 initializes a timer to record the accumulated usage time of the speaker. Each time the speaker is used, the timer starts timing and records the usage time. When the accumulated usage time reaches a preset threshold (for example, 100 hours), the main control circuit 30 triggers parameter adjustment, controls the mode switching circuit 40, electrically connects the input end to the second switching end, enters the parameter adjustment mode, and controls the mode switching circuit 40 after the parameter adjustment is completed, electrically connects the input end to the first switching end, and returns to the normal working mode. After the parameter adjustment is completed, the timer is reset to zero and the timing is restarted. In this way, the condition based on the accumulated usage time can ensure that the speaker can still maintain high efficiency after long-term use. This is particularly important for long-term running speaker equipment. It is only adjusted after a certain usage time, which reduces the mechanical wear caused by frequent switching and reduces power loss.

[0111] By setting periodic detection, user input control signals, frequency of use and usage time and other audio parameter adjustment conditions, it is ensured that the speaker can get timely and effective sound effect parameter adjustment in different situations. Each condition has its specific application scenario and advantages. You can choose the appropriate conditions or use them in combination according to actual needs. In this way, not only the reliability and efficiency of the speaker are improved, but also the user satisfaction is enhanced. Through reasonable adjustment conditions, the mode can be switched without the user noticing, ensuring the continuity and smoothness of audio playback and improving the user experience. The main control circuit 30 does not perform complex calculations and control operations when it is not necessary, which can reduce the burden on the processor and improve the response speed and overall performance. By setting adjustment conditions, it is possible to better adapt to environmental changes. For example, under the influence of factors such as temperature changes, humidity changes or speaker aging, the characteristics of the speaker may change. By adjusting parameters regularly or on demand, it is possible to ensure that the speaker is always in the best condition and extend the service life of the speaker.

[0112] It can be understood that in order to find the current aging resonance frequency more quickly, reduce unnecessary high-frequency scanning, and improve the working efficiency of the audio parameter adjustment circuit of the present application. In another embodiment, in the parameter adjustment mode, the main control circuit 30 is also used to control the power amplifier 10 to output a sweep signal corresponding to the initial resonance frequency, and use the sweep signal corresponding to the initial resonance frequency as a starting signal, and output the starting signal to the speaker in descending frequency sequence;

[0113] Alternatively, the power amplifier 10 is controlled to output a frequency sweep signal corresponding to the resonance frequency at the last adjustment, and the frequency sweep signal corresponding to the initial resonance frequency is used as a starting signal, and the starting signal is sequentially output to the speaker in descending frequency.

[0114] In this embodiment, optionally, when the audio parameter adjustment circuit of the present application is used for detection and adjustment for the first time, the main control circuit 30 can control the power amplifier 10 to output a sweep frequency signal corresponding to the initial resonant frequency, and the initial resonant frequency can be the resonant frequency of the speaker when it leaves the factory. The impedance detection circuit 20 detects the impedance of the speaker and outputs the corresponding impedance detection signal to the main control circuit 30. The main control circuit 30 uses a preset algorithm to generate an impedance characteristic curve, and determines the frequency corresponding to the maximum impedance value as the current resonant frequency of the speaker. In this way, the main control circuit 30 can search the mapping relationship table of the preset resonant frequency and the target sound effect parameter in the memory according to the current resonant frequency, determine the target sound effect parameter corresponding to the current resonant frequency, and adjust the sound effect parameter of the speaker so that the speaker works in the target state. After the adjustment is completed, the main control circuit 30 controls the mode switching circuit 40 to switch the speaker from the parameter adjustment mode to the normal working mode, and when the audio parameter adjustment condition is met, the input end of the control mode switching circuit 40 is electrically connected to the second switching end to switch the speaker from the normal working mode to the parameter adjustment mode. If this is the second mode switch, the main control circuit 30 controls the power amplifier 10 to output a frequency sweep signal corresponding to the frequency after the initial resonant frequency (such as the resonant frequency at the time of leaving the factory) is reduced by a preset decrement amplitude, wherein the preset decrement amplitude (i.e., the step length) can be adjusted according to actual needs. For example, the preset decrement amplitude is set to 5HZ. If the audio parameter adjustment circuit of the present application is used for detection and adjustment for the first time, the initial signal is a frequency sweep signal corresponding to the initial resonant frequency (90HZ). When the audio parameter adjustment circuit of the present application is used for detection and adjustment for the second time, the frequency of the initial signal should be 85HZ, and the frequency of the initial signal output for the third time should be 80HZ.

[0115] It should be noted that the main controller can also record the current resonant frequency determined each time the parameters are adjusted, so that after switching to the parameter adjustment mode next time, the last current resonant frequency can be set as the initial resonant frequency with reference to the historical records. For example, if the current resonant frequency at the last adjustment is 150Hz, the preset decrement amplitude is 10HZ, the frequency of the second initial signal is 140HZ, and the frequency of the third initial signal is 130HZ.

[0116] In actual applications, since aging will cause the resonant frequency to decrease, starting from the initial resonant frequency and decreasing it gradually can find the current resonant frequency more quickly, reducing unnecessary high-frequency scanning time, reducing mechanical wear and power consumption. By decreasing the frequency, it can better adapt to the aging process of the speaker, ensuring that each adjustment can quickly find the current optimal resonant frequency, improving user satisfaction.

[0117] In one embodiment of the present invention, reference Figure 3 , the frequency sweep signal is a sine wave frequency sweep signal, and the impedance detection circuit 20 includes:

[0118] A current detection circuit 21, which is arranged in series between the power amplifier terminal and the speaker, and is used to detect the current flowing through the speaker and output a current detection signal to the main control circuit 30;

[0119] The main control circuit 30 is used to determine the impedance parameter of the speaker according to the current detection signal and the sine wave sweep signal; and

[0120] When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

[0121] In this embodiment, the current detection circuit 21 can be implemented by using a current detection chip, a current transformer, etc.

[0122] refer to Figure 4 , the current detection circuit 21 comprises:

[0123] A series resistor 22, wherein a first end of the series resistor 22 is electrically connected to the power amplifier end, and a second end of the series resistor 22 is electrically connected to an input end of the speaker;

[0124] A voltage detection chip 23, wherein the voltage detection chip 23 is electrically connected to the series resistor 22 and the main control circuit 30 respectively, and the voltage detection chip 23 is used to detect the voltage across the series resistor 22 and output a voltage detection signal to the main control circuit 30;

[0125] The main control circuit 30 is used to determine the current flowing through the speaker according to the voltage detection signal and the resistance value of the series resistor 22; and determine the impedance parameter of the speaker according to the current and the sine wave sweep signal; and

[0126] When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

[0127] refer to Figure 5 , R0 is a series resistor 22, which is connected in series with the speaker, and U1 is a voltage detection chip 23. In combination with the above embodiments, when the main control circuit 30 does not detect that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the first end of the switch, so that the speaker is in a normal working mode, and the power amplifier 10 outputs a signal to the speaker through the power amplifier end to drive the speaker to play the audio signal. When it is detected that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the second end of the switch, so that the speaker is in a parameter adjustment mode. At this time, the voltage detection chip 23U1 detects the voltage across R0 and outputs a corresponding voltage detection signal to the main control circuit 30. When the frequency of the sine wave sweep signal changes, the impedance of the speaker changes. When the current resonant frequency F0 is reached, the impedance of the speaker is the largest, the current is the smallest, and the voltage across R0 is the smallest. Therefore, when the main control circuit 30 determines that the voltage of R0 is the smallest according to the voltage detection signal, the frequency at this time can be recorded as the value of the current resonant frequency F0. Then, according to the current resonant frequency, the mapping relationship table between the preset resonant frequency and the target sound effect parameter in the memory is searched to determine the target sound effect parameter corresponding to the current resonant frequency, and the sound effect parameter of the speaker is adjusted to make the speaker work in the target state.

[0128] It should be noted that the main control circuit 30 and the power amplifier 10 can be integrated in the same chip to reduce the wiring area. For example, the main control circuit 30 adopts DSP and is arranged in the power amplifier 10 (power amplifier). The impedance detection circuit 20 composed of a series resistor 22 and a voltage detection chip 23 is responsible for detecting the impedance of the speaker to determine the impedance characteristics and then judge the aging state; the power amplifier is connected to the impedance detection circuit 20 through I2C, receives the data detected by the detection circuit (voltage detection chip 23), performs signal processing according to the data, and determines the target sound effect parameters to adjust the sound effect parameters of the speaker.

[0129] In practical applications, the voltage across the series resistor 22R0 is detected by the voltage detection chip 23U1, and the current flowing through the speaker is calculated in combination with the known resistance value. The main control circuit 30 can accurately determine the impedance of the speaker based on the current and the frequency change of the sine wave sweep signal, thereby determining the current resonant frequency, and determining the target sound effect parameters based on the current resonant frequency to adjust the audio parameters of the speaker. In this way, the performance of the speaker is improved, and the reliability of the audio device is improved, thereby improving the user experience.

[0130] The present invention also provides an audio parameter adjustment method, referring to Figure 6 , the audio parameter adjustment method comprises:

[0131] Step S100, determining the impedance parameters of the speaker, and determining the current resonant frequency of the speaker according to the impedance parameters;

[0132] Step S200, determining the target sound effect parameters corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker operates in a target state.

[0133] In this embodiment, the audio parameter adjustment method of the present invention can be applied to a control device of an audio device, for example, the control device is integrated with a memory for storing a control program of the audio parameter adjustment method of the present invention, and a processor for executing the control program of the audio parameter adjustment method of the present invention. The control device can be implemented by a main controller, such as an MCU, a DSP (Digital Signal Process), an FPGA (Field Programmable Gate Array), a PLC, a SOC (System On Chip), etc.

[0134] In combination with the above-mentioned embodiments, the audio device includes an audio parameter adjustment circuit, and the power amplifier 10 is used to provide a sweep frequency signal to the speaker to drive the speaker to work. When the power amplifier 10 outputs the sweep frequency signal to the speaker through its own power amplifier terminal, the impedance detection circuit 20 detects the impedance of the speaker in real time and outputs the corresponding impedance detection signal to the main control circuit 30, that is, the impedance detection circuit 20 determines the impedance parameter of the speaker, so that the main control circuit 30 determines the current resonant frequency of the speaker according to the impedance detection signal. For example, the impedance detection circuit 20 is implemented by a resistor with a known resistance value and a voltage detection chip 23, and the known resistor is connected in series with the speaker. The voltage detection chip 23 detects the voltage across the known resistor and outputs a voltage detection signal to the main control circuit 30, so that the main control circuit 30 determines the current signal flowing through the speaker according to the voltage detection signal and the resistance value of the known resistor. When the frequency of the sweep frequency signal changes, the impedance of the speaker changes. When the current resonant frequency F0 is reached, the impedance is the largest and the current is the smallest at this time. Therefore, when the voltage across the voltage detection signal R0 is the smallest, the main control circuit 30 determines the frequency of the sweep frequency signal as the current resonant frequency. In this embodiment, the main control circuit 30 can record the impedance value at each frequency point in the internal memory, and generate an impedance characteristic curve drawn by the impedance values ​​at different frequency points according to the preset algorithm. The frequency point corresponding to the maximum impedance on the impedance characteristic curve is the current resonant frequency of the speaker. Optionally, the main control circuit 30 can search the mapping relationship table between the preset resonant frequency and the target sound effect parameter in the memory according to the current resonant frequency, determine the target sound effect parameter corresponding to the current resonant frequency, and adjust the sound effect parameter of the speaker so that the speaker works in the target state. Among them, the sound effect parameters of the speaker include gain, phase and delay, etc. Gain refers to the degree of signal amplification, usually expressed in decibels (dB). It determines the degree to which the input signal is amplified to the output signal. The adjustment of gain can help expand or compress the dynamic range of the audio signal to ensure that the sound is consistent at different volumes; phase refers to the time offset of the signal waveform relative to the reference point. Phase adjustment can ensure signal synchronization between each speaker to avoid sound distortion caused by time difference. Delay refers to the time required for a signal to be transmitted from one point to another. By introducing appropriate delay, different spatial effects such as echo and reverberation can be simulated to enhance the auditory experience. Therefore, after the audio parameter adjustment circuit of the present invention is used to adjust the sound effect parameters of the speaker, the performance of the speaker can be significantly improved.

[0135] In practical applications, the audio parameter adjustment method of the present invention can accurately detect the impedance characteristics of the speaker and determine the current resonant frequency, then determine the target sound effect parameters corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameters, and adjust the sound effect parameters of the speaker according to the target sound effect parameters to ensure that the speaker works in the target state. In this way, it automatically adapts to the aging of the speaker, prolongs the service life of the speaker, and thus improves the user experience and satisfaction.

[0136] In one embodiment of the present invention, reference Figure 7 , determining the current resonant frequency of the speaker according to the impedance parameter specifically includes:

[0137] Step S110, determining a minimum current value within a preset time period according to the acquired current value flowing through the speaker;

[0138] Step S120, determining the maximum impedance value of the speaker according to the minimum current value and the sine wave sweep signal;

[0139] Step S130: determining the frequency corresponding to the maximum impedance value according to the mapping relationship between the frequency range of the sine wave frequency sweep signal and the impedance parameter, and using the frequency as the current resonant frequency of the speaker.

[0140] In combination with the contents of the above embodiments, when the main control circuit 30 does not detect that the speaker meets the audio parameter adjustment conditions, the common end of the control switch is electrically connected to the first end of the switch, so that the speaker is in a normal working mode, and the power amplifier 10 outputs a signal to the speaker through the power amplifier end to drive the speaker to play the audio signal. When it is detected that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the second end of the switch, so that the speaker is in the parameter adjustment mode. At this time, the voltage detection chip 23U1 detects the voltage across R0 and outputs the corresponding voltage detection signal to the main control circuit 30. The main control circuit 30 obtains the current value flowing through the speaker according to the voltage detection signal and the resistance value of the series resistor 22, and determines the minimum current value within the preset time period; that is, when the frequency of the sine wave sweep signal changes, the speaker impedance changes. When the current resonant frequency F0 is reached, the speaker impedance is the largest, and the current is the smallest at this time, which is the minimum current value, and the voltage across R0 is the smallest. Therefore, when the main control circuit 30 determines the minimum current value according to the voltage detection signal, the maximum impedance value of the speaker can be determined, and then the frequency corresponding to the maximum impedance value is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter. Fig.12 , the horizontal axis is frequency, which reflects the frequency range of the sine wave sweep signal, and the vertical axis is impedance, which reflects the impedance parameter, that is, Fig.12The impedance characteristic curve reflects the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameters, and the horizontal axis corresponding to the highest point is the current resonant frequency F0. In this way, when the minimum current value within the preset time period from the input sweep signal to the speaker is determined, the frequency of the current sweep signal can be recorded as the value of the current resonant frequency F0. Then, according to the current resonant frequency, the mapping relationship table between the preset resonant frequency and the target sound effect parameter in the memory is searched to determine the target sound effect parameter corresponding to the current resonant frequency, and the sound effect parameter of the speaker is adjusted so that the speaker works in the target state.

[0141] In practical applications, by determining the minimum value of the current flowing through the speaker, determining the maximum value of the speaker's impedance, and then determining the current resonance frequency of the speaker, the detection of the speaker's impedance parameters is replaced by current detection, which simplifies the operation process. At the same time, the current detection circuit 21 can be composed of low-cost components, such as a voltage detection chip 23 and a series resistor 22, which reduces the circuit design cost and design complexity. In this way, while ensuring the performance of the speaker, it saves costs and improves the user experience.

[0142] Optionally, refer to Figure 8 In one embodiment, determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes:

[0143] Step S210, comparing the current resonant frequency with a preset resonant frequency to obtain a comparison result;

[0144] Step S220: when it is determined according to the comparison result that the current resonance frequency is equal to the preset resonance frequency, the sound effect parameters of the speaker are kept unchanged;

[0145] Step S230: when it is determined according to the comparison result that the current resonant frequency is greater than or less than the preset resonant frequency, subtract the current resonant frequency from the preset resonant frequency to obtain a first frequency difference;

[0146] Step S240: When the first frequency difference is greater than or equal to the preset first frequency difference, matching the target sound effect parameter corresponding to the current resonant frequency according to a preset mapping table of the relationship between the resonant frequency and the target sound effect parameter;

[0147] Step S250: When the first frequency difference is less than the preset first frequency difference, the sound effect parameters of the speaker are kept unchanged.

[0148] In combination with the above embodiments, after the current resonant frequency of the speaker is determined by the above method, the current resonant frequency can also be compared with the preset resonant frequency to obtain a comparison result; the preset resonant frequency can be the standard frequency of the speaker when it leaves the factory. If the current resonant frequency is determined to be equal to the preset resonant frequency according to the comparison result, it means that the speaker is not aged, and there is no need to adjust the sound effect parameters. Keep the sound effect parameters of the speaker unchanged, that is, if the current resonant frequency is consistent with the preset resonant frequency, it means that the speaker is still in the target working state. At this time, keeping the sound effect parameters unchanged can ensure the consistency and stability of the sound quality. If it is determined according to the comparison result that the current resonant frequency is greater than or less than the preset resonant frequency, the current resonant frequency is subtracted from the preset resonant frequency to obtain a first frequency difference △T1; it can be understood that the preset first frequency difference can be set in advance, that is, when the difference between the current resonant frequency and the preset resonant frequency is less than the preset first frequency difference, the performance of the speaker will not be affected, or the slight change in its performance is within the acceptable range for the user and will not affect the auditory experience. That is, if the current resonant frequency is the same as or very close to the preset resonant frequency, it means that the state of the speaker has not changed significantly, and there is no need to adjust the sound effect parameters. This can avoid frequent and unnecessary adjustment operations and reduce the burden on the speaker system and mechanical wear. At the same time, when the first frequency difference △T1 is greater than or equal to the preset first frequency difference, it means that the sound performance of the speaker will reduce the user experience, so the main control circuit 30 in the control device needs to match the target sound effect parameters corresponding to the current resonant frequency according to the preset resonant frequency and target sound effect parameter relationship mapping table; that is, query the mapping relationship table of the resonant frequency and the target sound effect parameter stored in the memory in advance, determine the target sound effect parameters corresponding to the current resonant frequency, and adjust the sound effect parameters of the speaker so that the speaker works in the target state. Among them, in the preset resonant frequency and target sound effect parameter relationship mapping table, each resonant frequency corresponds to the target sound effect parameter one by one.

[0149] It is understandable that a preset mapping table of frequency difference values ​​and target sound effect parameters may be stored in advance in the memory, that is, each frequency difference value corresponds to a target sound effect parameter one by one. Fig. 9 The step of determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes:

[0150] Step S260, subtracting the current resonant frequency from the preset resonant frequency to obtain a second frequency difference;

[0151] Step S270: matching the target sound effect parameters corresponding to the current resonance frequency according to a preset frequency difference and target sound effect parameter relationship mapping table.

[0152] In combination with the contents of the above embodiments, after the current resonant frequency of the speaker is determined by the above method, the main control circuit 30 in the control device can directly subtract the determined current resonant frequency from the preset resonant frequency to obtain a second frequency difference △T2. The main control circuit 30 in the control device needs to match the target sound effect parameters corresponding to the current resonant frequency according to the preset frequency difference and target sound effect parameter relationship mapping table; that is, query the frequency difference and target sound effect parameter relationship mapping table stored in the memory in advance, find the target sound effect parameters corresponding to the second frequency difference, and determine the target sound effect parameters corresponding to the current resonant frequency, and adjust the sound effect parameters of the speaker so that the speaker operates in the target state.

[0153] By comparing the current resonant frequency with the preset resonant frequency, it is possible to quickly determine whether the sound effect parameters need to be adjusted. This not only reduces unnecessary adjustment operations and improves reliability, but also enables timely monitoring of speaker aging and damage to ensure consistency and stability of sound quality, thereby improving user experience. In addition, this comparison operation simplifies the control logic, reduces the calculation burden of the control device, and reduces power consumption.

[0154] In one embodiment of the present invention, reference Fig.10 , the mapping relationship between the resonant frequency and the target sound effect parameters is obtained by the following steps:

[0155] Step S010: injecting a sine wave frequency sweep signal into the speaker, and obtaining the current resonance frequency of the speaker corresponding to different times, so as to obtain multiple real-time resonance frequencies;

[0156] Step S020, respectively comparing the plurality of real-time resonance frequencies with the preset resonance frequency, and recording the fluctuation range of the real-time resonance frequency corresponding to the speaker at different times;

[0157] Step S030: setting the target sound effect parameters corresponding to each of the real-time resonance frequencies according to the fluctuation range to obtain a mapping relationship between the resonance frequency and the target sound effect parameters.

[0158] In combination with the above-mentioned embodiments, when the main control circuit 30 in the control device detects that the audio parameter adjustment conditions are met, it controls the power amplifier 10 to inject a sine wave sweep signal into the speaker through the power amplifier end, and the impedance detection circuit 20 composed of the voltage detection chip 23 and the series resistor 22 detects the current value of the speaker, and determines the minimum current value (the corresponding impedance is the maximum impedance value), and then determines the current resonant frequency of the speaker. When performing a simulation test of the aging state of the speaker, a sine wave sweep signal can be injected into the speaker at different times, so that the current resonant frequency (real-time resonant frequency) corresponding to the speaker at different times can be obtained, and then the multiple real-time resonant frequencies are compared with the preset resonant frequency, and the fluctuation range of the real-time resonant frequency corresponding to the speaker at different times is recorded; for example, before the speaker leaves the factory, its initial resonant frequency F0 is recorded as the reference value (preset resonant frequency), and the speaker is subjected to aging test at different time points (such as 3 months, 6 months, 1 year, 3 years, etc.), and its F0 value is recorded. The F0 value at different time points is compared with the reference value, and the fluctuation range of F0 is recorded. By comparing with the factory value, the degree of change of the speaker after different use times can be quantified to understand its aging status. Finally, the target sound effect parameters corresponding to each real-time resonant frequency are set according to the fluctuation range of F0 to obtain the mapping relationship between the resonant frequency and the target sound effect parameters, and a mapping relationship table of the resonant frequency and the target sound effect parameters is generated, and then stored in the DSP sound effect library, that is, the target sound effect parameters corresponding to different F0 values ​​are preset. In this way, when the main control circuit 30 determines the current resonant frequency, the mapping relationship table of the resonant frequency and the target sound effect parameters in the DSP sound effect library can be queried to retrieve the corresponding target sound effect parameters at the current resonant frequency.

[0159] It is understandable that during the use of the speaker, due to factors such as material aging and changes in electrical characteristics, its resonant frequency (F0) will change. Comparing the current resonant frequency with the factory value (preset resonant frequency) is an important means to quantify the degree of speaker aging, dynamically adjust sound parameters, optimize sound quality, and improve user experience. In this way, it can be ensured that the speaker always provides the target auditory experience at different stages of use.

[0160] In another embodiment of the present invention, reference Fig.11 , the determining the impedance parameter of the speaker specifically includes:

[0161] Step S140, injecting a sine wave frequency sweep signal into the speaker, and obtaining a current value flowing through the speaker within a preset time period;

[0162] Step S150: determining the impedance parameter of the speaker according to the current value and the sine wave sweep signal.

[0163] In combination with the above-mentioned embodiments, when the main control circuit 30 of the control device does not detect that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the first end of the switch, so that the speaker is in a normal working mode, and the power amplifier 10 outputs a signal to the speaker through the power amplifier end to drive the speaker to play the audio signal. When it is detected that the speaker meets the audio parameter adjustment condition, the common end of the control switch is electrically connected to the second end of the switch, so that the speaker is in a parameter adjustment mode. At this time, the main control circuit 30 controls the power amplifier 10 to inject a sine wave sweep signal into the speaker through the power amplifier end within a preset time period, and obtains the current value of the speaker within the preset time period. For example, the voltage detection chip 23U1 detects the voltage across R0 and outputs a corresponding voltage detection signal to the main control circuit 30. The main control circuit 30 determines the current value flowing through the speaker according to the voltage detection signal and the known resistance value of the series resistor 22. Since the voltage value of the sine wave sweep signal is known, according to Ohm's law, the impedance parameter of the speaker can be determined by the current value and the voltage value. During the preset time period, when the frequency of the sine wave sweep signal changes, the impedance of the speaker changes. When the current resonant frequency F0 is reached, the impedance is maximum and the current is minimum. Therefore, when the voltage across the voltage detection signal R0 is minimum, the main control circuit 30 determines the frequency of the sine wave sweep signal as the current resonant frequency. Optionally, the main control circuit 30 can search the mapping relationship table between the preset resonant frequency and the target sound effect parameter in the memory according to the current resonant frequency, determine the target sound effect parameter corresponding to the current resonant frequency, and adjust the sound effect parameter of the speaker so that the speaker works in the target state.

[0164] In actual applications, by injecting a sine wave sweep signal into the speaker within a preset time period and obtaining the current flowing through the speaker, the impedance parameters of the speaker are accurately determined according to the frequency changes of the current and the sine wave sweep signal, thereby determining the current resonant frequency, and determining the target sound effect parameters according to the current resonant frequency, thereby adjusting the audio parameters of the speaker. In this way, the performance of the speaker is improved, and the reliability of the sound device is improved, thereby improving the user experience.

[0165] The present invention also proposes a control device, which includes a memory, a processor, and a control program for an audio parameter adjustment circuit stored in the memory and executable on the processor, wherein the control program for the audio parameter adjustment circuit is configured to implement the steps of any of the above-mentioned audio parameter adjustment methods.

[0166] It is worth noting that since the control device of the present invention is based on the above-mentioned audio parameter adjustment method, the embodiments of the control device of the present invention include all technical solutions of all embodiments of the above-mentioned audio parameter adjustment method, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0167] The present invention also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of any of the above-mentioned audio parameter adjustment methods are implemented.

[0168] It is worth noting that since the storage medium of the present invention is based on the above-mentioned audio parameter adjustment method, the embodiments of the storage medium of the present invention include all technical solutions of all embodiments of the above-mentioned audio parameter adjustment method, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0169] The present invention also proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned audio parameter adjustment methods are implemented.

[0170] It is worth noting that since the computer program product of the present invention is based on the above-mentioned audio parameter adjustment method, the embodiments of the computer program product of the present invention include all technical solutions of all embodiments of the above-mentioned audio parameter adjustment method, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0171] The present invention further provides an audio device, which includes a speaker, and the control device described above, and / or the sound effect parameter adjustment circuit described in any one of the above.

[0172] It is worth noting that since the audio device of the present invention includes the above-mentioned sound effect parameter adjustment circuit and / or control device, the embodiments of the audio device of the present invention include all technical solutions of all embodiments of the above-mentioned sound effect parameter adjustment circuit and / or control device, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0173] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or direct / indirect applications in other related technical fields, under the inventive concept of the present invention are included in the patent protection scope of the present invention.

Claims

1. An audio parameter adjustment circuit, characterized in that: The audio parameter adjustment circuit comprises: A power amplifier, wherein a power amplifier end of the power amplifier is electrically connected to the speaker; an impedance detection circuit, the impedance detection circuit being connected in series with the speaker, for detecting the impedance of the speaker and outputting a corresponding impedance detection signal; a main control circuit, the main control circuit being electrically connected to the impedance detection circuit and the power amplifier, respectively, and being used to control the power amplifier to output a frequency sweep signal to the speaker to drive the speaker to work; and determining a current resonant frequency of the speaker according to the impedance detection signal, and It is used to determine the target sound effect parameters corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in a target state.

2. The audio parameter adjustment circuit according to claim 1, characterized in that: The speaker includes a normal working mode and a parameter adjustment mode. When the speaker is in the parameter adjustment mode, the sound effect parameters of the speaker are adjusted to the target sound effect parameters corresponding to the current resonant frequency. The adjustment circuit also includes: A mode switching circuit, wherein an input end of the mode switching circuit is electrically connected to the power amplifier end, a first switching end of the mode switching circuit is electrically connected to the speaker, and a second switching end of the mode switching circuit is electrically connected to the impedance detection circuit; When the input end of the mode switching circuit is electrically connected to the first switching end, the speaker is in a normal working mode, and When the input end of the mode switching circuit is electrically connected to the second switching end, the speaker is in a parameter adjustment mode.

3. The audio parameter adjustment circuit according to claim 2, characterized in that: The control end of the main control circuit is electrically connected to the controlled end of the mode switching circuit; the main control circuit is used to control the input end of the mode switching circuit to be electrically connected to the second switching end when it is detected that the speaker meets the audio parameter adjustment condition.

4. The audio parameter adjustment circuit according to claim 3, characterized in that: The audio parameter adjustment conditions include any one or more combinations of periodic detection, a control signal input by a user, a usage frequency, and a usage time.

5. The audio parameter adjustment circuit according to claim 2, characterized in that: The mode switching circuit comprises: A switch, wherein a common end of the switch is electrically connected to the power amplifier end, a first end of the switch is electrically connected to the speaker, and a second end of the switch is electrically connected to the impedance detection circuit; When the common end of the switch is electrically connected to the first end, the speaker is in a normal operating mode, and When the common end of the switch is electrically connected to the second end, the speaker is in a parameter adjustment mode.

6. The audio parameter adjustment circuit according to claim 2, characterized in that: In the parameter adjustment mode, the main control circuit is further used to control the power amplifier to output a sweep frequency signal corresponding to the initial resonant frequency, and use the sweep frequency signal corresponding to the initial resonant frequency as a starting signal, and output the starting signal to the speaker in descending frequency sequence; Alternatively, the power amplifier is controlled to output a frequency sweep signal corresponding to the resonance frequency at the last adjustment, and the frequency sweep signal corresponding to the initial resonance frequency is used as a starting signal, and the starting signal is sequentially output to the speaker in descending frequency.

7. The audio parameter adjustment circuit according to claim 1, characterized in that: The frequency sweep signal is a sine wave frequency sweep signal, and the impedance detection circuit comprises: A current detection circuit, which is arranged in series between the power amplifier terminal and the speaker, and is used to detect the current flowing through the speaker and output a current detection signal to the main control circuit; The main control circuit is used to determine the impedance parameter of the speaker according to the current detection signal and the sine wave sweep signal; and When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

8. The audio parameter adjustment circuit according to claim 7, characterized in that: The current detection circuit comprises: A series resistor, wherein a first end of the series resistor is electrically connected to the power amplifier end, and a second end of the series resistor is electrically connected to an input end of the speaker; A voltage detection chip, the voltage detection chip is electrically connected to the series resistor and the main control circuit respectively, and the voltage detection chip is used to detect the voltage across the series resistor and output a voltage detection signal to the main control circuit; The main control circuit is used to determine the current flowing through the speaker according to the voltage detection signal and the resistance value of the series resistor; and determine the impedance parameter of the speaker according to the current and the sine wave sweep signal; and When the impedance parameter of the speaker is at a maximum value, the frequency corresponding to the maximum value of the impedance parameter is determined according to the mapping relationship between the frequency range of the sine wave sweep signal and the impedance parameter, so as to determine the current resonant frequency of the speaker.

9. A method for adjusting audio parameters, characterized in that: The audio parameter adjustment method comprises: Determining an impedance parameter of a loudspeaker, and determining a current resonant frequency of the loudspeaker according to the impedance parameter; The target sound effect parameters corresponding to the current resonant frequency are determined according to the mapping relationship between the resonant frequency and the target sound effect parameters, so as to adjust the sound effect parameters of the speaker to the target sound effect parameters corresponding to the current resonant frequency, so that the speaker works in the target state.

10. The audio parameter adjustment method according to claim 9, characterized in that: Determining the current resonant frequency of the speaker according to the impedance parameter specifically includes: Determining a minimum current value within a preset time period according to the acquired current value flowing through the speaker; Determine the maximum impedance value of the speaker according to the minimum current value and the sine wave sweep signal; The frequency corresponding to the maximum impedance value is determined according to the mapping relationship between the frequency range of the sine wave frequency sweep signal and the impedance parameter, and is used as the current resonant frequency of the speaker.

11. The audio parameter adjustment method according to claim 9, characterized in that: The step of determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes: Comparing the current resonant frequency with a preset resonant frequency to obtain a comparison result; When it is determined according to the comparison result that the current resonance frequency is equal to the preset resonance frequency, keeping the sound effect parameters of the speaker unchanged; When it is determined according to the comparison result that the current resonant frequency is greater than or less than the preset resonant frequency, subtracting the current resonant frequency from the preset resonant frequency to obtain a first frequency difference; When the first frequency difference is greater than or equal to the preset first frequency difference, matching the target sound effect parameter corresponding to the current resonant frequency according to a preset mapping table of the relationship between the resonant frequency and the target sound effect parameter; When the first frequency difference is less than the preset first frequency difference, the sound effect parameters of the speaker are kept unchanged.

12. The audio parameter adjustment method according to claim 9, characterized in that: The step of determining the target sound effect parameter corresponding to the current resonant frequency according to the mapping relationship between the resonant frequency and the target sound effect parameter specifically includes: Subtracting the current resonant frequency from the preset resonant frequency to obtain a second frequency difference; The target sound effect parameters corresponding to the current resonance frequency are matched according to a preset frequency difference and target sound effect parameter relationship mapping table.

13. The audio parameter adjustment method according to claim 9, characterized in that: The mapping relationship between the resonant frequency and the target sound effect parameter is obtained by the following steps: Inject a sine wave sweep signal into the speaker, and obtain the current resonant frequency of the speaker corresponding to different times to obtain multiple real-time resonant frequencies; Comparing the plurality of real-time resonance frequencies with the preset resonance frequency respectively, and recording the fluctuation range of the real-time resonance frequency corresponding to the speaker at different times; The target sound effect parameters corresponding to each of the real-time resonance frequencies are set according to the fluctuation range to obtain a mapping relationship between the resonance frequency and the target sound effect parameters.

14. The audio parameter adjustment method according to claim 9, characterized in that: Determining the impedance parameter of the speaker specifically includes: Injecting a sine wave frequency sweep signal into the speaker, and obtaining a current value flowing through the speaker within a preset time period; The impedance parameter of the speaker is determined according to the current value and the sine wave frequency sweep signal.

15. A control device, characterized in that: The control device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the audio parameter adjustment method according to any one of claims 9 to 14.

16. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the audio parameter adjustment method according to any one of claims 9 to 14 are implemented.

17. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the audio parameter adjustment method according to any one of claims 9 to 14 are implemented.

18. An audio device, characterized in that: The audio device includes a speaker, and the control device as claimed in claim 15, and / or the sound parameter adjustment circuit as claimed in any one of claims 1 to 8.

Citation Information

Cited By

  • AVAS sound playing control method and device, program product and medium

    CN121996198A

  • AVAS sound playback control methods, equipment, software products and media

    CN121996198B