CN111654781A - Low-frequency drive compensation method and system based on loudspeaker - Google Patents

Low-frequency drive compensation method and system based on loudspeaker Download PDF

Info

Publication number
CN111654781A
CN111654781A CN202010179390.9A CN202010179390A CN111654781A CN 111654781 A CN111654781 A CN 111654781A CN 202010179390 A CN202010179390 A CN 202010179390A CN 111654781 A CN111654781 A CN 111654781A
Authority
CN
China
Prior art keywords
signal
unit
obtaining
current
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010179390.9A
Other languages
Chinese (zh)
Other versions
CN111654781B (en
Inventor
黄运欢
苏林
邓俊曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Leafun Culture Science and Technology Co Ltd
Original Assignee
Guangzhou Leafun Culture Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Leafun Culture Science and Technology Co Ltd filed Critical Guangzhou Leafun Culture Science and Technology Co Ltd
Priority to CN202010179390.9A priority Critical patent/CN111654781B/en
Publication of CN111654781A publication Critical patent/CN111654781A/en
Application granted granted Critical
Publication of CN111654781B publication Critical patent/CN111654781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Amplifiers (AREA)

Abstract

The embodiment of the application discloses a low-frequency driving compensation method and a low-frequency driving compensation system based on a loudspeaker, wherein the method comprises the following steps: acquiring a target current when a loudspeaker unit outputs a first time signal of a signal source; obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal; obtaining a compensation signal level of a second moment signal of the signal source according to the voltage difference value and the gain of the power amplifier, and compensating the level of the second moment signal after signal processing by using the compensation signal level; and taking the second time signal as the first time signal, and continuing to execute the steps until the second time signal is the last time signal of the signal source. By implementing the embodiment of the application, the distortion degree of the audio signal restored by the loudspeaker unit can be reduced.

Description

Low-frequency drive compensation method and system based on loudspeaker
Technical Field
The application relates to the technical field of loudspeaker control, in particular to a low-frequency drive compensation method and system based on a loudspeaker.
Background
In an ideal audio playing system, an audio signal generated by a signal source can be output and restored on a loudspeaker after being processed by a signal processing module, a digital-to-analog conversion module and a power amplifier, but in practice, an ultra-low frequency unit cannot accurately follow the change of an input audio signal due to the influence of inertia and resistance of a unit plucking, a coil, a cone and a folded edge, so that the output distortion of the audio signal is caused.
Disclosure of Invention
The embodiment of the application discloses a low-frequency drive compensation method and system based on a loudspeaker, which can reduce the distortion degree of a loudspeaker unit for restoring an audio signal.
The embodiment of the application discloses a low-frequency driving compensation method based on a loudspeaker in a first aspect, and the method comprises the following steps:
acquiring a target current when a loudspeaker unit outputs a first time signal of a signal source;
obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal;
according to the voltage difference value and the gain of the power amplifier, obtaining a compensation signal level of a second moment signal of the signal source, and compensating the level of the second moment signal after signal processing by using the compensation signal level;
and taking the second time signal as the first time signal, and executing the target current when the loudspeaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source.
As an optional implementation manner, in the first aspect of the embodiments of the present application, a target current when the speaker unit outputs a signal at a first time of the signal source is obtained;
obtaining a target displacement when the loudspeaker unit outputs a first time signal according to a unit displacement coefficient of the loudspeaker unit and a level when the first time signal of a signal source is output;
and obtaining a target current when the loudspeaker unit outputs the first time signal according to the target displacement and the current calculation parameter of the loudspeaker unit.
As an optional implementation manner, in the first aspect of the embodiments of the present application, the unit displacement coefficient and the current calculation parameter both belong to a unit parameter of the speaker unit, and before the target displacement amount when the speaker unit outputs the first time signal is obtained according to the unit displacement coefficient of the speaker unit and a level when the first time signal of the signal source is output, the method further includes:
acquiring a first identifier of the loudspeaker unit;
and acquiring unit parameters of the loudspeaker unit in a model library according to the first identifier.
As an optional implementation manner, in the first aspect of the embodiment of the present application, the obtaining a voltage difference according to the target current, the test current for the first time signal, and the test voltage includes:
obtaining the testing real-time impedance of the loudspeaker unit according to the testing current and the testing voltage aiming at the first time signal;
obtaining a current difference value according to the test current and the target current;
and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
As an optional implementation manner, in the first aspect of the embodiment of the present application, before obtaining the compensated signal level of the signal at the second time of the signal source according to the voltage difference and the gain of the power amplifier, the method further includes:
acquiring a second identifier of the power amplifier;
and acquiring the gain of the power amplifier in a model library according to the second identifier.
A second aspect of the embodiments of the present application discloses a low frequency drive compensation system based on a speaker, including:
the first acquisition unit is used for acquiring a target current when the loudspeaker unit outputs a first time signal of the signal source;
the second obtaining unit is used for obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal;
the compensation unit is used for obtaining a compensation signal level of a second moment signal of the signal source according to the voltage difference value and the gain of the power amplifier, and compensating the level of the second moment signal after signal processing by using the compensation signal level;
and the processing unit is used for taking the second moment signal as the first moment signal and executing the target current when the loudspeaker unit outputs the first moment signal of the signal source until the second moment signal is the last moment signal of the signal source.
As an optional implementation manner, in the second aspect of the embodiment of the present application, the manner that the first obtaining unit is configured to obtain the target current when the speaker unit outputs the first time signal of the signal source is specifically:
the first obtaining unit is used for obtaining a target displacement when the loudspeaker unit outputs a first time signal according to a unit displacement coefficient of the loudspeaker unit and a level when the first time signal of a signal source is output; and obtaining a target current when the loudspeaker unit outputs the first time signal according to the target displacement and the current calculation parameter of the loudspeaker unit.
As an optional implementation manner, in the second aspect of the embodiment of the present application, the unit displacement coefficient and the current calculation parameter both belong to unit parameters of the speaker unit, and the system further includes:
and the third acquisition unit is used for acquiring the first identifier of the loudspeaker unit before the first acquisition unit acquires the target displacement when the loudspeaker unit outputs the first time signal according to the unit displacement coefficient of the loudspeaker unit and the level when the first time signal of the signal source is output, and acquiring the unit parameter of the loudspeaker unit in a model library according to the first identifier.
As an optional implementation manner, in a second aspect of the embodiment of the present application, a manner that the second obtaining unit is configured to obtain a voltage difference according to the target current, the test current for the first time signal, and the test voltage specifically is:
the second obtaining unit is used for obtaining the testing real-time impedance of the loudspeaker unit according to the testing current and the testing voltage aiming at the first time signal; obtaining a current difference value according to the test current and the target current; and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
As an optional implementation manner, in a second aspect of this embodiment of the present application, the compensating unit is further configured to obtain a second identifier of the power amplifier before obtaining a compensated signal level of a signal at a second time of the signal source according to the voltage difference and the gain of the power amplifier, and obtain the gain of the power amplifier in a model base according to the second identifier.
A third aspect of the embodiments of the present application discloses a low frequency drive compensation system based on a speaker, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the steps of the speaker-based low-frequency driving compensation method disclosed in the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium, on which computer instructions are stored, which when executed cause a computer to perform the steps of the speaker-based low frequency drive compensation method disclosed in the first aspect of the embodiments of the present application.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, the target current when the loudspeaker unit outputs the first time signal of the signal source is obtained; obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal; according to the voltage difference value and the gain of the power amplifier, obtaining a compensation signal level of a second moment signal of the signal source, and compensating the level of the second moment signal after signal processing by using the compensation signal level; and taking the second time signal as the first time signal, and executing the above-mentioned acquisition of the target current when the loudspeaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source. By implementing the method, the compensation signal level is obtained according to the test current, the test voltage, the target current and the gain of the power amplifier of the loudspeaker unit, and the level of the signal at the next moment is compensated by using the compensation signal level, so that the distortion degree of the loudspeaker unit for restoring the audio signal can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without making a creative effort.
Fig. 1 is a schematic flow chart of a low-frequency driving compensation method based on a loudspeaker according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of another speaker-based low frequency drive compensation method disclosed in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a loudspeaker-based low frequency drive compensation system according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another speaker-based low frequency drive compensation system according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another speaker-based low-frequency drive compensation system disclosed in the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "comprises," "comprising," and any variations thereof in the embodiments and drawings of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a low-frequency driving compensation method and system based on a loudspeaker, which can reduce the distortion degree of an audio signal restored by a loudspeaker unit and are described in detail below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a low-frequency driving compensation method based on a speaker disclosed in an embodiment of the present application, and the low-frequency driving compensation method based on a speaker shown in fig. 1 may specifically include the following steps:
101. a target current at the time when the speaker unit outputs a first time signal of the signal source is acquired.
As an optional implementation manner, in this embodiment, before step 101, the following steps may also be performed:
detecting whether a driving compensation command is received;
if the driving compensation command is received, continue to execute step 101.
The driving compensation command may be input by a user or generated by a system, and the embodiment of the present application is not limited. If the driving compensation command is generated by the system, detecting whether the driving compensation command is received may include:
sending a test signal to a loudspeaker unit to obtain a detection voltage and a detection current;
obtaining a measured impedance curve of the loudspeaker unit according to the detection voltage and the detection current;
searching a target impedance curve matched with the measured impedance curve in a model library;
judging whether the unit type corresponding to the target impedance curve is a low-frequency type or not;
if so, determining to generate a driving compensation command.
In the embodiment of the application, the model base stores the corresponding relation between the unit type of the loudspeaker unit and the impedance curve, and by implementing the method, when the loudspeaker unit is judged to be of the low-frequency type, the system generates a driving compensation instruction without user intervention, so that intelligent compensation is realized.
102. And obtaining a voltage difference value according to the target current, the test current aiming at the first time signal and the test voltage.
In this embodiment, the low-frequency driving compensation system may be composed of a signal source device, a signal processing Device (DSP), a digital-to-analog conversion Device (DAC), a power amplifier, a speaker unit, and an analog-to-digital conversion device (ADC), where when a first time signal of the signal source enters the signal processing device, the signal processing device may divide the first time signal into two identical paths, one of the two paths flows through the DAC and the power amplifier and is output through the speaker unit, and the other path is used to obtain the target current. In the embodiment of the present application, the time delay set for the target current may specifically use a time point at which the signal processing device detects the input of the first time signal as an initial time point, and use a time point at which the output signal of the output terminal of the power amplifier is detected by the voltage or current detection module as an end time point.
Optionally, in this embodiment of the application, obtaining a voltage difference according to the target current, the test current for the first time signal, and the test voltage may include:
obtaining the testing real-time impedance of the loudspeaker unit according to the testing current and the testing voltage aiming at the first time signal;
obtaining a current difference value according to the test current aiming at the first time signal and the target current;
and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
Since the impedance of the speaker unit usually changes due to the change of environmental factors (such as temperature, humidity or air pressure), the test real-time impedance is obtained according to the test current and the test voltage for the first time signal, which is helpful for improving the measurement accuracy of the voltage difference.
103. And according to the voltage difference and the gain of the power amplifier, obtaining a compensation signal level of the signal source at the second moment, and compensating the level of the signal processed at the second moment by using the compensation signal level.
In the embodiment of the present application, the signal processing apparatus may include at least an input signal detection module, a delay module, a signal processing module, and an output signal detection module; the input signal detection module may be configured to obtain a target current of the first time signal from the input signal, and the signal processing module may be configured to calculate a voltage difference value and a compensation signal level, and compensate the level of the signal-processed second time signal by using the compensation signal level.
It should be noted that the time interval for sampling the signal by the low-frequency driving compensation system disclosed in the embodiment of the present application is longer than the sum of the compensation signal level acquisition time and the compensation time of the level of the signal at the second time.
104. And taking the second time signal as the first time signal, and executing the above-mentioned acquisition of the target current when the loudspeaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source.
By implementing the method, the distortion degree of the audio signal restored by the loudspeaker unit can be reduced, intelligent compensation can be realized, and the measurement accuracy of the voltage difference value can be improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another speaker-based low-frequency driving compensation method disclosed in the embodiment of the present application, and the speaker-based low-frequency driving compensation method shown in fig. 2 may specifically include the following steps:
201. a first identification of a speaker unit is obtained.
202. Acquiring unit parameters of the loudspeaker unit in the model library according to the first identifier; the unit parameters of the speaker unit include unit displacement coefficients and current calculation parameters of the speaker unit.
203. And obtaining the target displacement when the loudspeaker unit outputs the first time signal according to the unit displacement coefficient of the loudspeaker unit and the level when the first time signal of the signal source is output.
204. And calculating parameters according to the target displacement and the current of the loudspeaker unit to obtain the target current when the loudspeaker unit outputs the first time signal.
In the embodiment of the present application, the unit displacement coefficient is a ratio of the coil displacement of the speaker unit to the level of the sound source signal under the corresponding power amplifier gain in the ideal audio driving system. The model library mentioned in step 202 may be a local storage space of the low frequency drive compensation system, and when the unit parameters of the acquired speaker unit are not found in the model library, the following steps may be further performed:
sending a parameter acquisition request carrying a first identifier to a designated server so that the designated server searches unit parameters corresponding to the first identifier;
and receiving unit parameters corresponding to the first identification fed back by the appointed server.
Optionally, the first identifier and the unit parameter corresponding to the first identifier may also be entered into the model library.
By implementing the method, the model base can be located in the local storage space of the signal processing device, the acquisition efficiency of the unit parameters can be further improved, when the unit parameters corresponding to the first identifier are not stored in the model base, the signal processing device can also obtain the unit parameters corresponding to the first identifier by accessing the designated server, the acquisition success rate of the unit parameters corresponding to the first identifier can be improved, the first identifier and the unit parameters corresponding to the first identifier are recorded into the model base, and the optimization and updating of the model base can be realized.
The current calculation parameters of the speaker unit mentioned in step 202 may include system mechanical resistance, equivalent mass, electromagnetic driving force factor, and stiffness coefficient of the speaker unit, and the model base may store the identifier and unit parameters of the speaker unit of a preset type, and step 201 to step 202 are executed, so that the unit parameters of the speaker unit can be obtained quickly, which is beneficial to improving the calculation efficiency of the target current.
In the embodiment of the present application, if the system force resistance of the speaker unit is represented by rms (v), the equivalent mass of the speaker unit is represented by Mms, the electromagnetic driving force factor of the speaker unit is represented by bl (x), and the stiffness coefficient of the speaker unit is represented by kms (x), where x is a target displacement when the speaker unit outputs a first time signal, for example, I represents a target current when the speaker unit outputs the first time signal, and x and I satisfy the following relation:
Figure BDA0002411409500000081
205. and obtaining a voltage difference value according to the target current, the test current aiming at the first time signal and the test voltage.
For a detailed description of step 205, please refer to the description of step 102 in the first embodiment, which is not repeated herein.
206. And according to the voltage difference and the gain of the power amplifier, obtaining a compensation signal level of the signal source at the second moment, and compensating the level of the signal processed at the second moment by using the compensation signal level.
In this embodiment of the present application, the model library may further store an identifier and a gain of a preset type of power amplifier, and before step 206, the following steps may be further performed:
acquiring a second identifier of the power amplifier;
and obtaining the gain of the power amplifier in the model library according to the second identifier.
Based on the description, if the gain of the power amplifier corresponding to the second identifier is not stored in the model base, the gain of the power amplifier corresponding to the second identifier obtained from the designated server can be obtained by accessing the designated server, and the gain of the power amplifier corresponding to the second identifier obtained from the designated server is recorded into the model base. By implementing the method, the gain obtaining efficiency of the power amplifier can be improved, and the calculation efficiency of the compensation signal level is further improved.
207. And taking the second time signal as the first time signal, and executing the above-mentioned acquisition of the target current when the loudspeaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source.
By implementing the method, the distortion degree of the loudspeaker unit for reducing the audio signal can be reduced, intelligent compensation can be realized, the measurement precision of the voltage difference value can be improved, the calculation efficiency of the target current can be improved, the calculation efficiency of the compensation signal level can be improved, the acquisition success rate of unit parameters and power amplifier gains can be improved, and the optimization and the updating of the model base can be realized.
Implementation III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a low-frequency driving compensation system based on a speaker according to an embodiment of the present application, where the low-frequency driving compensation system based on a speaker shown in fig. 3 may include:
the first obtaining unit 301 is configured to obtain a target current when the speaker unit outputs a first time signal of the signal source.
The first obtaining unit 301 is further configured to detect whether a driving compensation instruction is received before obtaining the target current when the speaker unit outputs the first time signal of the signal source, and trigger to obtain the target current when the speaker unit outputs the first time signal of the signal source when detecting that the driving compensation instruction is received.
The driving compensation command may be input by a user or generated by a system, and the embodiment of the present application is not limited. If the driving compensation command is generated by the system, the manner of the first obtaining unit 301 for detecting whether the driving compensation command is received may specifically be:
a first obtaining unit 301, configured to send a test signal to the speaker unit to obtain a detection voltage and a detection current; and obtaining a measured impedance curve of the speaker unit according to the detection voltage and the detection current; searching a target impedance curve matched with the measured impedance curve in the model base; judging whether the unit type corresponding to the target impedance curve is a low-frequency type or not; and determining to generate a driving compensation command when the unit type corresponding to the target impedance curve is a low-frequency type.
In the embodiment of the application, the model base stores the corresponding relation between the unit type of the loudspeaker unit and the impedance curve, and through the implementation of the above mode, when the loudspeaker unit is judged to be of the low-frequency type, the system generates the driving compensation command, so that the intelligent compensation is realized without user intervention.
The second obtaining unit 302 is configured to obtain a voltage difference according to the target current, the test current for the first time signal, and the test voltage.
In the embodiment of the present application, for the description of the target current, please refer to the following description of step 102 in the first embodiment, which is not repeated herein.
As another optional implementation manner, in this embodiment of the application, a manner that the second obtaining unit 302 is configured to obtain a voltage difference according to the target current, the test current for the first time signal, and the test voltage may specifically be: a second obtaining unit 302, configured to obtain a test real-time impedance of the speaker unit according to the test current and the test voltage for the first time signal; obtaining a current difference value aiming at the test current and the target current of the first time signal; and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
Since the impedance of the speaker unit usually changes due to the change of environmental factors (such as temperature, humidity or air pressure), the test real-time impedance is obtained according to the test current and the test voltage for the first time signal, which is helpful for improving the measurement accuracy of the voltage difference.
The compensation unit 303 is configured to obtain a compensation signal level of the second time signal of the signal source according to the voltage difference and the gain of the power amplifier, and compensate the level of the second time signal after signal processing by using the compensation signal level.
The processing unit 304 is configured to use the second time signal as the first time signal, and execute the above-mentioned obtaining of the target current when the speaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source.
By implementing the system, the distortion degree of the audio signal restored by the loudspeaker unit can be reduced, intelligent compensation can be realized, and the measurement accuracy of the voltage difference value can be improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of another speaker-based low-frequency driving compensation system disclosed in the embodiment of the present application, where the speaker-based low-frequency driving compensation system shown in fig. 4 is obtained by optimizing the speaker-based low-frequency driving compensation system shown in fig. 3, and in the speaker-based low-frequency driving compensation system shown in fig. 4, a manner for the first obtaining unit 301 to obtain the target current when the speaker unit outputs the first time signal of the signal source may specifically be:
a first obtaining unit 301, configured to obtain a target displacement amount when the speaker unit outputs the first time signal according to the unit displacement coefficient of the speaker unit and the level when the first time signal of the signal source is output; and calculating parameters according to the target displacement and the current of the loudspeaker unit to obtain the target current when the loudspeaker unit outputs the first time signal.
In the embodiment of the present application, the unit displacement coefficient and the current calculation parameter both belong to unit parameters of a speaker unit, and the system shown in fig. 4 may further include:
the third obtaining unit 305 is configured to, by the first obtaining unit 301, obtain a first identifier of the speaker unit before the target displacement amount of the speaker unit when the speaker unit outputs the first time signal is obtained according to the unit displacement coefficient of the speaker unit and the level when the first time signal of the signal source is output, and obtain the unit parameter of the speaker unit in the model library according to the first identifier.
The model base may be a local storage space of the low-frequency drive compensation system, and when the unit parameter for acquiring the speaker unit is not found in the model base, the third acquiring unit 305 is further configured to send a parameter acquiring request carrying the first identifier to the specified server, so that the specified server searches the unit parameter corresponding to the first identifier; and receiving unit parameters corresponding to the first identification fed back by the appointed server.
Optionally, the third obtaining unit 305 is further configured to enter the first identifier and a unit parameter corresponding to the first identifier into the model library.
By implementing the above manner, if the model base is a local storage space of the low-frequency drive compensation system, the obtaining efficiency of the unit parameters can be further improved, when the unit parameters corresponding to the first identifier are not stored in the model base, the unit parameters corresponding to the first identifier can be obtained by accessing the designated server, the obtaining success rate of the unit parameters corresponding to the first identifier can be improved, the first identifier and the unit parameters corresponding to the first identifier are recorded into the model base, and the optimization and update of the model base can be realized.
As another optional implementation manner, in this embodiment, the compensating unit 303 is further configured to obtain a second identifier of the power amplifier before obtaining a compensation signal level of the signal at the second time of the signal source according to the voltage difference and the gain of the power amplifier, and obtain the gain of the power amplifier in the model base according to the second identifier.
When the gain of the power amplifier corresponding to the second identifier is not stored in the model library, the compensating unit 303 may further obtain the gain by accessing the designated server, and record the gain of the power amplifier corresponding to the second identifier obtained from the designated server into the model library. By implementing the method, the gain obtaining efficiency of the power amplifier can be improved, and the calculation efficiency of the compensation signal level is further improved.
By implementing the system, the distortion degree of the loudspeaker unit for reducing the audio signal is reduced, intelligent compensation can be realized, the measurement precision of a voltage difference value can be improved, the calculation efficiency of target current can be improved, the calculation efficiency of a compensation signal level can be improved, the acquisition success rate of unit parameters and power amplifier gain can be improved, and the optimization and updating of a model base can be realized.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a low-frequency driving compensation system based on a speaker according to an embodiment of the present disclosure. As shown in fig. 5, the speaker-based low frequency drive compensation system may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 to execute some or all of the steps executed in fig. 1-2.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps executed by the figures 1-2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The method and the system for compensating for low-frequency driving based on a speaker disclosed in the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and implementations of the present application, and the step numbers in the specific examples do not mean the order of execution, and the execution order of each process should be determined by the function and the inherent logic of the process, but should not be limited in any way to the implementation process of the embodiments of the present application. The units described as separate parts may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The word "or" herein generally means that the pre-and post-associated objects are in an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as a stand-alone product, it may be stored in a memory accessible to a computer. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The above description of the embodiments is only for the purpose of helping to understand the method of the present application and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A speaker-based low frequency drive compensation method, the method comprising:
acquiring a target current when a loudspeaker unit outputs a first time signal of a signal source;
obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal;
according to the voltage difference value and the gain of the power amplifier, obtaining a compensation signal level of a second moment signal of the signal source, and compensating the level of the second moment signal after signal processing by using the compensation signal level;
and taking the second time signal as the first time signal, and executing the target current when the loudspeaker unit outputs the first time signal of the signal source until the second time signal is the last time signal of the signal source.
2. The method of claim 1, wherein the obtaining the target current when the speaker unit outputs the signal of the signal source at the first time comprises:
obtaining a target displacement when the loudspeaker unit outputs a first time signal according to a unit displacement coefficient of the loudspeaker unit and a level when the first time signal of a signal source is output;
and obtaining a target current when the loudspeaker unit outputs the first time signal according to the target displacement and the current calculation parameter of the loudspeaker unit.
3. The method according to claim 2, wherein the unit displacement coefficient and the current calculation parameter both belong to unit parameters of the speaker unit, and before the target displacement amount at the time when the speaker unit outputs the first time signal is obtained from the unit displacement coefficient of the speaker unit and the level at the time when the first time signal of the signal source is output, the method further comprises:
acquiring a first identifier of the loudspeaker unit;
and acquiring unit parameters of the loudspeaker unit in a model library according to the first identifier.
4. The method according to any one of claims 1 to 3, wherein obtaining a voltage difference value according to the target current, the test current and the test voltage for the first time signal comprises:
obtaining the testing real-time impedance of the loudspeaker unit according to the testing current and the testing voltage aiming at the first time signal;
obtaining a current difference value according to the test current and the target current;
and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
5. The method of claim 4, wherein before obtaining the compensated signal level for the signal at the second moment of the signal source according to the voltage difference and the gain of the power amplifier, the method further comprises:
acquiring a second identifier of the power amplifier;
and acquiring the gain of the power amplifier in a model library according to the second identifier.
6. A loudspeaker-based low frequency drive compensation system, the system comprising:
the first acquisition unit is used for acquiring a target current when the loudspeaker unit outputs a first time signal of the signal source;
the second obtaining unit is used for obtaining a voltage difference value according to the target current, the test current and the test voltage aiming at the first time signal;
the compensation unit is used for obtaining a compensation signal level of a second moment signal of the signal source according to the voltage difference value and the gain of the power amplifier, and compensating the level of the second moment signal after signal processing by using the compensation signal level;
and the processing unit is used for taking the second moment signal as the first moment signal and executing the target current when the loudspeaker unit outputs the first moment signal of the signal source until the second moment signal is the last moment signal of the signal source.
7. The speaker-based low-frequency drive compensation system according to claim 6, wherein the first obtaining unit is configured to obtain the target current when the speaker unit outputs the first time signal of the signal source by:
the first obtaining unit is used for obtaining a target displacement when the loudspeaker unit outputs a first time signal according to a unit displacement coefficient of the loudspeaker unit and a level when the first time signal of a signal source is output; and obtaining a target current when the loudspeaker unit outputs the first time signal according to the target displacement and the current calculation parameter of the loudspeaker unit.
8. The speaker-based low frequency drive compensation system of claim 7 wherein the unit displacement coefficients and the current calculation parameters both belong to unit parameters of the speaker unit, the system further comprising:
and the third acquisition unit is used for acquiring the first identifier of the loudspeaker unit before the first acquisition unit acquires the target displacement when the loudspeaker unit outputs the first time signal according to the unit displacement coefficient of the loudspeaker unit and the level when the first time signal of the signal source is output, and acquiring the unit parameter of the loudspeaker unit in a model library according to the first identifier.
9. The loudspeaker-based low-frequency drive compensation system according to any one of claims 6 to 8, wherein the second obtaining unit is configured to obtain the voltage difference according to the target current, the test current for the first time signal, and the test voltage by:
the second obtaining unit is used for obtaining the testing real-time impedance of the loudspeaker unit according to the testing current and the testing voltage aiming at the first time signal; obtaining a current difference value according to the test current and the target current; and obtaining a voltage difference value according to the current difference value and the test real-time impedance.
10. The speaker-based low frequency drive compensation system of claim 9, wherein the compensation unit is further configured to obtain a second identifier of the power amplifier before obtaining a compensation signal level for a signal at a second time of the signal source according to the voltage difference and the gain of the power amplifier, and obtain the gain of the power amplifier in a model library according to the second identifier.
11. A loudspeaker-based low frequency drive compensation system, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the method of any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that it stores a computer program, wherein the computer program causes a computer to execute the method of any one of claims 1 to 5.
CN202010179390.9A 2020-03-13 2020-03-13 Low-frequency drive compensation method and system based on loudspeaker Active CN111654781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010179390.9A CN111654781B (en) 2020-03-13 2020-03-13 Low-frequency drive compensation method and system based on loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010179390.9A CN111654781B (en) 2020-03-13 2020-03-13 Low-frequency drive compensation method and system based on loudspeaker

Publications (2)

Publication Number Publication Date
CN111654781A true CN111654781A (en) 2020-09-11
CN111654781B CN111654781B (en) 2021-08-10

Family

ID=72352064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010179390.9A Active CN111654781B (en) 2020-03-13 2020-03-13 Low-frequency drive compensation method and system based on loudspeaker

Country Status (1)

Country Link
CN (1) CN111654781B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135538A (en) * 2023-02-21 2023-11-28 荣耀终端有限公司 Speaker driving circuit and electronic device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071476A1 (en) * 2000-11-02 2002-06-13 Lg Electronics Inc. Gain and phase distortion compensating method and transmitting apparatus therefor
US6570514B1 (en) * 2001-12-21 2003-05-27 Scott R. Velazquez Linearity error compensator
CN101442698A (en) * 2008-09-26 2009-05-27 嘉兴中科声学科技有限公司 Method for measuring linear parameter of loudspeaker
US20120237060A1 (en) * 2011-03-14 2012-09-20 Samsung Electronics Co., Ltd. Method and apparatus for outputting audio signal
EP2514218A1 (en) * 2009-12-14 2012-10-24 Cisco Systems International Sarl Toroid microphone apparatus
CN103023438A (en) * 2012-11-30 2013-04-03 青岛歌尔声学科技有限公司 Audio distortion adjustment control equipment and audio distortion adjusting method
CN203119843U (en) * 2013-01-07 2013-08-07 苏纪苏 Automobile audio pure digital transmission power amplifier
US20160240184A1 (en) * 2013-10-02 2016-08-18 Universiti Putra Malaysia Method and apparatus for nonlinear compensation in an active noise control system
CN106341763A (en) * 2016-11-17 2017-01-18 矽力杰半导体技术(杭州)有限公司 Drive unit of loudspeaker and driving method of loudspeaker
CN106411217A (en) * 2016-08-31 2017-02-15 歌尔股份有限公司 Method, device and system for active control linear motor, and electronic equipment
CN108235186A (en) * 2017-12-29 2018-06-29 广州时艺音响科技有限公司 Feedback output loud speaker and feedback output adjusting method
CN108462921A (en) * 2017-02-20 2018-08-28 北京东方广视科技股份有限公司 Sound field of loudspeaker equalizing equipment
CN109379678A (en) * 2018-10-30 2019-02-22 Oppo广东移动通信有限公司 Non-linear compensation method, device, storage medium and terminal device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071476A1 (en) * 2000-11-02 2002-06-13 Lg Electronics Inc. Gain and phase distortion compensating method and transmitting apparatus therefor
US6570514B1 (en) * 2001-12-21 2003-05-27 Scott R. Velazquez Linearity error compensator
CN101442698A (en) * 2008-09-26 2009-05-27 嘉兴中科声学科技有限公司 Method for measuring linear parameter of loudspeaker
EP2514218A1 (en) * 2009-12-14 2012-10-24 Cisco Systems International Sarl Toroid microphone apparatus
US20120237060A1 (en) * 2011-03-14 2012-09-20 Samsung Electronics Co., Ltd. Method and apparatus for outputting audio signal
CN103023438A (en) * 2012-11-30 2013-04-03 青岛歌尔声学科技有限公司 Audio distortion adjustment control equipment and audio distortion adjusting method
CN203119843U (en) * 2013-01-07 2013-08-07 苏纪苏 Automobile audio pure digital transmission power amplifier
US20160240184A1 (en) * 2013-10-02 2016-08-18 Universiti Putra Malaysia Method and apparatus for nonlinear compensation in an active noise control system
CN106411217A (en) * 2016-08-31 2017-02-15 歌尔股份有限公司 Method, device and system for active control linear motor, and electronic equipment
CN106341763A (en) * 2016-11-17 2017-01-18 矽力杰半导体技术(杭州)有限公司 Drive unit of loudspeaker and driving method of loudspeaker
CN108462921A (en) * 2017-02-20 2018-08-28 北京东方广视科技股份有限公司 Sound field of loudspeaker equalizing equipment
CN108235186A (en) * 2017-12-29 2018-06-29 广州时艺音响科技有限公司 Feedback output loud speaker and feedback output adjusting method
CN109379678A (en) * 2018-10-30 2019-02-22 Oppo广东移动通信有限公司 Non-linear compensation method, device, storage medium and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135538A (en) * 2023-02-21 2023-11-28 荣耀终端有限公司 Speaker driving circuit and electronic device

Also Published As

Publication number Publication date
CN111654781B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN111182435B (en) Testing method and device of voice equipment
CN108571997B (en) Method and device for detecting stable contact of probe with measured point
CN111654781B (en) Low-frequency drive compensation method and system based on loudspeaker
EP1501334A1 (en) Transmission characteristic measuring device, transmission characteristic measuring method, and amplifier
CN111654799A (en) Loudspeaker unit identification method and device
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN110600048A (en) Audio verification method and device, storage medium and electronic equipment
CN107450882B (en) Method and device for adjusting sound loudness and storage medium
CN110534129A (en) The separation of dry sound and ambient sound
EP3627494A1 (en) Playback system, control device, control method, and program
US8559656B2 (en) System and method for automatic microphone volume setting
CN109684213B (en) Test method, test device and storage medium
CN111613248A (en) Pickup testing method, device and system
CN107403629B (en) Far-field pickup performance evaluation method and system, and electronic device
CN113257247B (en) Test method and system
WO2019229738A1 (en) System for decomposition of digital sound samples into sound objects
CN109121068A (en) Sound effect control method, apparatus and electronic equipment
CN113611276B (en) Acoustic feedback suppression method, apparatus and storage medium
CN114071343B (en) Audio equipment testing method, testing device and computer equipment
CN107948862B (en) Automatic compensation delay method and system for sound box equipment
US20210400386A1 (en) Correction method of acoustic characteristics, acoustic characteristic correction device and non-transitory storage medium
CN115294990B (en) Sound amplification system detection method, system, terminal and storage medium
JP2020106766A (en) Performance correction method and performance correction device
CN113628611A (en) Voice service test system, method, device and equipment
JP2019219468A (en) Generation device, generation method and generation program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant