A diaphragm control circuit, a diaphragm control method, a chip and an electronic device

By designing a diaphragm control circuit to process the gain values ​​of each stereo electroacoustic conversion unit, the problem of weakening of sound effects when left and right channels is asymmetry is solved, and the gain linkage and performance of multiple stereo electroacoustic conversion units is realized.

CN115379357BActive Publication Date: 2025-03-28SHANGHAI AWINIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110557414.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-21
Publication Date
2025-03-28
Estimated Expiration
2041-05-21

AI Technical Summary

Technical Problem

In the prior art, the sound effect weakens when the left and right channels are asymmetric.

Method used

A diaphragm control circuit is designed, including N input signal transmission circuits, N gain adjustment circuits, comparators and N gain additional circuits. By calculating the initial gain value of each stereo electroacoustic conversion unit, and processing the reduction gain value according to the preset gain value, the minimum value is obtained after comparison, and the preset gain value is added on this basis, ensuring that the final gain value of each stereo electroacoustic conversion unit is different.

Benefits of technology

The gain linkage of multiple stereo electroacoustic conversion units is realized to ensure that the stereo electroacoustic conversion unit with poor sound amplitude tolerance is not damaged. At the same time, the performance of the stereo electroacoustic conversion unit with strong sound amplitude tolerance is fully utilized, and the stereo effect is avoided from being weakened.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379357B_ABST
    Figure CN115379357B_ABST
Patent Text Reader

Abstract

The present application provides a diaphragm control circuit, a diaphragm control method, a chip and an electronic device, wherein the diaphragm control circuit comprises: N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits; after obtaining the gains of multiple stereo electroacoustic conversion unit branches from the diaphragm control circuit, a preset gain value is superimposed to obtain a reduced gain value in each circuit, and based on the reduced gain value, the minimum value in each circuit is taken; and then the corresponding preset gain values ​​are superimposed based on the minimum value, so that the gain linkage of multiple stereo electroacoustic conversion units is realized, so that the relative signal amplitudes of the processed multiple channels are relatively constant, and the performance of the stereo electroacoustic conversion unit with strong sound amplitude tolerance is brought into play as much as possible under the premise that the stereo electroacoustic conversion unit with poor sound amplitude tolerance is not disconnected or burned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing technology, and in particular to a diaphragm control circuit, a diaphragm control method, a chip and an electronic device. Background Art

[0002] In terminal products, such as stereo audio applications in mobile phones, stereo sound is provided by the stereo electroacoustic conversion unit (speaker) located at the bottom of the mobile phone and the stereo electroacoustic conversion unit (earpiece) located at the top. There is an asymmetry between the speaker and the earpiece, and the left and right channels of the stereo sound source itself are also different. The sound effect algorithm involves a dynamic range control (DRC) module, which can amplify small signals in the signal, increase the output power of the two stereo electroacoustic conversion units of the speaker and the earpiece, and increase the loudness and strength of the sound; the DRC module will also suppress large signals in the signal to protect the diaphragm amplitude of the two stereo electroacoustic conversion units of the speaker and the earpiece from being too large to cause disconnection and reliability problems.

[0003] However, when the left and right channels of the stereo electroacoustic conversion unit in the electronic device are asymmetrical, the sound effect will be weakened. Summary of the invention

[0004] In view of this, the present invention provides a diaphragm control circuit, a diaphragm control method, a chip and an electronic device to solve the problem of weakened sound effects when the left and right channels are asymmetrical in the prior art.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A diaphragm control circuit is applied to an electronic device including N stereo electroacoustic conversion units, wherein N is an integer and N is greater than or equal to 2, and the diaphragm control circuit includes:

[0007] N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits;

[0008] The Mth input signal transmission circuit is connected to the Mth gain adjustment circuit, the Mth gain adjustment circuit is connected to the comparator, the output end of the comparator is connected to the Mth gain addition circuit, the output end of the Mth gain addition circuit is connected to the Mth input signal transmission circuit, M=1, 2, ... N;

[0009] Wherein, each of the gain adjustment circuits is used to receive a corresponding input signal, calculate an initial gain value according to the input signal, and process the initial gain value according to a preset gain value to obtain a reduced gain value;

[0010] The comparator receives N reduced gain values ​​of N gain adjustment circuits and takes the minimum value after comparison;

[0011] Each of the gain adding circuits is used to receive the preset gain value of the corresponding gain adjusting circuit to process the minimum value;

[0012] The input signal transmission circuit is used to receive the output signal of the corresponding gain addition circuit, process the corresponding input signal, and obtain the driving signal of the corresponding stereo electroacoustic conversion unit.

[0013] Preferably, in the above-mentioned diaphragm control circuit, each input signal transmission circuit includes a multiplier, and one end of the multiplier is used to receive the corresponding input signal.

[0014] Preferably, in the above-mentioned diaphragm control circuit, each input signal transmission circuit further includes a delay device;

[0015] The input end of the delay device is used to receive the input signal;

[0016] The output end of the delay device is connected to the input end of the multiplier in the input signal transmission circuit;

[0017] The delay time of the delay devices in all input signal transmission circuits is the same.

[0018] Preferably, in the above-mentioned diaphragm control circuit, each gain adjustment circuit includes a dynamic range control module and a first calculation module, the input end of the dynamic range control module is used to receive the input signal, and calculate the initial gain value based on the input signal; the input end of the first calculation module is connected to the output end of the dynamic range control module, and is used to subtract the preset gain value from the initial gain value to obtain the reduced gain value.

[0019] Preferably, in the above-mentioned diaphragm control circuit, each gain addition circuit includes a second calculation module, an input end of the second calculation module is connected to the output end of the comparator, and receives the preset gain value of the corresponding gain adjustment circuit, so that the smaller value increases the preset gain value; the output end of the second calculation module is connected to the multiplier in the corresponding input signal transmission circuit, and the multiplier multiplies the input signal with the output signal of the second calculation module in the corresponding gain addition circuit to obtain a driving signal corresponding to the stereo electroacoustic conversion unit.

[0020] Preferably, in the above-mentioned diaphragm control circuit, the first calculation modules are all subtractors; the second calculation modules are all adders;

[0021] Or, the first calculation modules are all adders; the second calculation modules are all subtractors;

[0022] Or, the first calculation modules are all dividers; the second calculation modules are all multipliers;

[0023] Or, the first calculation modules are all multipliers; and the second calculation modules are all dividers.

[0024] The present invention further provides a diaphragm control method, based on any one of the diaphragm control circuits described above, the diaphragm control method comprises:

[0025] Obtain N input signals, where N is an integer and N is greater than or equal to 2;

[0026] N initial gain values ​​are calculated according to the N input signals, and corresponding preset gain values ​​are respectively superimposed on the N initial gain values ​​to obtain corresponding N reduced gain values;

[0027] Compare N reduced gain values ​​and take the minimum value;

[0028] Based on the minimum value, the Mth preset gain value is respectively increased and multiplied with the Mth input signal as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

[0029] Preferably, in the above diaphragm control method, based on the minimum value, the Mth preset gain value is respectively increased and multiplied with the Mth input signal as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, ... N, including:

[0030] Performing delay processing on the N input signals;

[0031] Based on the minimum value, the Mth preset gain value is respectively increased and multiplied with the Mth input signal after delay processing as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

[0032] The present invention further provides a chip, wherein the chip comprises any one of the diaphragm control circuits described above.

[0033] An electronic device, comprising:

[0034] N stereo electroacoustic conversion units, and a diaphragm control circuit, wherein N is an integer greater than or equal to 2;

[0035] The diaphragm control circuit includes N signal input terminals and N signal output terminals;

[0036] The Mth signal input terminal is used to receive the Mth input signal, M=1, 2, ...N;

[0037] The Mth signal output terminal is connected to the Mth stereo electro-acoustic conversion unit;

[0038] Wherein, the diaphragm control circuit is any one of the diaphragm control circuits described above.

[0039] Preferably, in the above-mentioned electronic device, the electronic device is a mobile phone, a tablet computer or an audio and video player.

[0040] Preferably, in the above electronic device, N=2, the first stereo electroacoustic conversion unit is an earpiece, and the second stereo electroacoustic conversion unit is a speaker.

[0041] It can be known from the above technical scheme that the diaphragm control circuit provided by the present invention is applied in an electronic device including a plurality of stereo electroacoustic conversion units, and the diaphragm control circuit includes: N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits; after obtaining the gains of the plurality of stereo electroacoustic conversion unit branches from the diaphragm control circuit, the preset gain values ​​are superimposed to obtain the reduced gain values ​​in each circuit, and based on the reduced gain values, the minimum value in each circuit is taken; and then the corresponding preset gain values ​​are superimposed based on the minimum value, thereby ensuring that the final gain values ​​in the plurality of stereo electroacoustic conversion unit branches are different, so that the gain values ​​of the stereo electroacoustic conversion units with different bearing capacities are different, and on the basis of ensuring that the stereo electroacoustic conversion unit with poor sound amplitude bearing capacity is not damaged, the performance of other stereo electroacoustic conversion units with good sound amplitude bearing capacity is maximized, thereby taking into account both safety and the characteristics of the stereo electroacoustic conversion units with different sound amplitude bearing capacities, and avoiding the weakening of the stereo effect.

[0042] The diaphragm control circuit provided in the embodiment of the present invention realizes the gain linkage of multiple stereo electroacoustic conversion units, which not only makes the relative signal amplitudes of the processed multiple channels more constant, but also ensures that the performance of the stereo electroacoustic conversion units with strong sound amplitude tolerance will be brought into play as much as possible under the premise that the stereo electroacoustic conversion units with poor sound amplitude tolerance will not be disconnected or burned out.

[0043] The present invention also provides a diaphragm control method, a chip and an electronic device, which are based on the same inventive concept as the above-mentioned diaphragm control circuit and can therefore achieve the same technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0045] Figure 1 A schematic diagram of a diaphragm control circuit provided for related technology 1;

[0046] Figure 2 A schematic diagram of a diaphragm control circuit provided for related technology 2;

[0047] Figure 3 A schematic diagram of a diaphragm control circuit provided by an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of another diaphragm control circuit provided by an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of a diaphragm control circuit including two stereo electroacoustic conversion units provided by an embodiment of the present invention;

[0050] Figure 6 A schematic flow chart of a diaphragm control method provided by an embodiment of the present invention;

[0051] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] As described in the background technology section, when the left and right channels of the two stereo electro-acoustic conversion units in the existing electronic device are asymmetrical, the sound effect will be weakened.

[0053] The inventor found that the reason for the above phenomenon is that, for example, the mobile phone stereo described in the background technology section provides left and right channels respectively through the speaker located at the bottom of the mobile phone and the receiver located at the top of the mobile phone. In the related art, the left and right channels provided by the two stereo electroacoustic conversion units of the speaker and the receiver are processed independently. If there is an airplane flying from the left to the right in the sound source, at the beginning, the sound amplitude of the left channel is larger, while the sound amplitude of the right channel is smaller, so that the user can hear that the sound of the airplane is on the left. After that, the sound amplitude of the left channel gradually decreases, and the sound amplitude of the right channel gradually increases, so that the user can hear that the sound of the airplane is on the right. During the change of the sound amplitude, the result heard by the user is that the airplane flies from the left to the right.

[0054] However, due to the independent processing of the left and right channels, at the beginning, the signal amplitude of the left channel is large, and the DRC module will suppress the signal amplitude of the left channel. The signal amplitude of the right channel is small, and the DRC module will raise the signal amplitude of the right channel, resulting in the signal amplitude of the left and right channels not being as different as in the original sound source. Therefore, the sound of the plane heard in the end feels like it is flying in the middle. In other words, the information of stereo sound field positioning reflected by the amplitude difference of the left and right channels in the original sound source will be weakened by the independent processing of the left and right channel sound effects, and many sounds heard are emitted from the middle. What's more, because the gain processing of the left and right channels is processed independently, some of the more obvious sound positions in the original sound source, such as some drum sounds, etc., because the two gains are processed independently, the relative amplitudes of the left and right channel signals of each drum are changing, making the sound jump around.

[0055] like Figure 1 and Figure 2 As shown, Figure 1 A schematic diagram of a diaphragm control circuit provided for related technology 1; Figure 2 A schematic diagram of a diaphragm control circuit provided for related technology 2; wherein, Figure 1 The middle diaphragm control circuit includes: a first delay device 011 , a first multiplier 012 , a second delay device 021 , a second multiplier 022 , a calculation module 031 and a DRC module 032 . The left channel input signal L (Left input) is input to the first delay device 011 and the calculation module 031 in the circuit, and the right channel input signal R (Right input) is input to the second delay device 021 and the calculation module 031 in the circuit. The calculation module 031 receives the left channel input signal L and the right channel input signal R at the same time, and calculates the two to obtain (L+R) / 2, which is then used as the input signal of the DRC module 032, modulated by the DRC module 032, and the gain Gain is obtained after calculation. Then, the first multiplier 012 and the second multiplier 022 act on the corresponding input signals respectively, that is, the first multiplier 012 multiplies the left channel input signal L delayed by the first delay device 011 by the gain Gain to obtain the left channel output signal L' (Left output), and the second multiplier 022 multiplies the right channel input signal R delayed by the second delay device 021 by the gain Gain to obtain the right channel output signal R' (Right output).

[0056] Figure 2The middle diaphragm control circuit includes: a first delay device 011 , a first multiplier 012 , a second delay device 021 , a second multiplier 022 , a comparison and selection module 033 and a DRC module 032 . The left channel input signal L (Left input) is input into the circuit with the first delay device 011 and the comparison and selection module 033, and the right channel input signal R (Right input) is input into the circuit with the second delay device 021 and the comparison and selection module 033. The comparison and selection module 033 receives the left channel input signal L and the right channel input signal R simultaneously, compares the two, selects the larger value, and then uses it as the input signal of the DRC module 032. After being modulated by the DRC module 032 and calculated, the gain Gain is obtained, and then the gain Gain is applied to the corresponding input signals in the first multiplier 012 and the second multiplier 022 respectively, that is, the first multiplier 012 multiplies the left channel input signal L delayed by the first delay device 011 by the gain Gain to obtain the left channel output signal L' (Left output), and the second multiplier 022 multiplies the right channel input signal R delayed by the second delay device 021 by the gain Gain to obtain the right channel output signal R' (Right output).

[0057] Above Figure 1 and Figure 2 In the related technology shown, although the signal adjustment gains of the left and right channels are guaranteed to be consistent, the relative amplitudes of the left and right channels will not change, and the amplitude difference of the left and right channels signals is retained to reflect the sound field positioning information.

[0058] That is to say, for electronic devices with symmetrical left and right channel components, the above Figure 1 and Figure 2 The related technology shown can avoid the phenomenon of sound being weakened. However, for the electronic devices described in the background technology section, such as mobile phones, the left channel is the sound of the earpiece, and the right channel is the sound of the speaker. It is well known to those skilled in the art that the earpiece has a relatively weak ability to withstand electrical signals. If the electrical signal is large, such as a signal with a sound amplitude of 6V and a frequency of 300Hz, it is easy to cause the diaphragm of the earpiece to exceed the maximum displacement given by the electronic equipment manufacturer, thereby causing the earpiece to disconnect; therefore, in order to protect the earpiece, the DRC module will have a relatively small processing gain for the left channel, but due to the above Figure 1 and Figure 2 In the related technology shown, the gain is synchronized, so the signal amplitude of the right channel will also become smaller. The right channel is a speaker, and the voltage tolerance of the speaker is relatively strong. Some signals above 9V are still within the acceptable range of the speaker, and will not break the line and overheat and burn the speaker. Therefore, the above Figure 1 and Figure 2The related technologies shown do not fully utilize the speaker, thus wasting the speaker's hardware performance, resulting in subjective user perception of the impact, such as low volume, insufficient drum strength, and insufficient low frequency richness.

[0059] Based on this, the present invention provides a diaphragm control circuit, which is applied to an electronic device including N stereo electroacoustic conversion units (the stereo electroacoustic conversion units can be sound-producing components such as speakers, horns, and receivers), where N is an integer and N is greater than or equal to 2.

[0060] Optionally, the sound amplitude tolerance of at least one stereo electro-acoustic conversion unit among the multiple stereo electro-acoustic conversion units is different from that of the other stereo electro-acoustic conversion units.

[0061] Specifically, the diaphragm control circuit includes:

[0062] N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits;

[0063] The Mth input signal transmission circuit is connected to the Mth gain adjustment circuit, the Mth gain adjustment circuit is connected to the comparator, the output end of the comparator is connected to the Mth gain addition circuit, the output end of the Mth gain addition circuit is connected to the Mth input signal transmission circuit, M=1, 2, ... N;

[0064] Wherein, each of the gain adjustment circuits is used to receive a corresponding input signal, calculate an initial gain value according to the input signal, and process the initial gain value according to a preset gain value to obtain a reduced gain value;

[0065] The comparator receives N reduced gain values ​​of N gain adjustment circuits and takes the minimum value after comparison;

[0066] Each of the gain adding circuits is used to receive the preset gain value of the corresponding gain adjusting circuit to process the minimum value;

[0067] The input signal transmission circuit is used to receive the output signal of the corresponding gain addition circuit, process the corresponding input signal, and obtain the driving signal of the corresponding stereo electroacoustic conversion unit.

[0068] The diaphragm control circuit provided by the present invention is applied in an electronic device including a plurality of stereo electroacoustic conversion units. The diaphragm control circuit includes: N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits. After obtaining the gains of a plurality of stereo electroacoustic conversion unit branches from the diaphragm control circuit, preset gain values ​​are superimposed to obtain reduced gain values ​​in each circuit. Based on the reduced gain values, the minimum value in each circuit is taken. Based on the minimum value, the corresponding preset gain values ​​are superimposed respectively, thereby ensuring that the final gain values ​​in the plurality of stereo electroacoustic conversion unit branches are different, thereby making the gain values ​​of the stereo electroacoustic conversion units with different bearing capacities different. On the basis of ensuring that the stereo electroacoustic conversion unit with poor sound amplitude bearing capacity is not damaged, the performance of other stereo electroacoustic conversion units with good sound amplitude bearing capacity is maximized, thereby taking into account both safety and the characteristics of the stereo electroacoustic conversion units with different sound amplitude bearing capacities, and avoiding the weakening of the stereo effect. The diaphragm control circuit provided in the embodiment of the present invention realizes the gain linkage of multiple stereo electroacoustic conversion units, which not only makes the relative signal amplitudes of the processed multiple channels more constant, but also ensures that the performance of the stereo electroacoustic conversion units with strong sound amplitude tolerance will be brought into play as much as possible under the premise that the stereo electroacoustic conversion units with poor sound amplitude tolerance will not be disconnected or burned out.

[0069] 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.

[0070] See also Figure 3 , Figure 3 A schematic diagram of a diaphragm control circuit provided in an embodiment of the present invention; the diaphragm control circuit is applied to an electronic device including N stereo electroacoustic conversion units 15, wherein N is an integer and N is greater than or equal to 2.

[0071] Optionally, the sound amplitude tolerance of at least one stereo electroacoustic conversion unit 15 among the multiple stereo electroacoustic conversion units 15 is different from the sound amplitude tolerance of the other stereo electroacoustic conversion units 15 .

[0072] It should be noted that the number of stereo electroacoustic conversion units is not limited in the present embodiment, as long as at least two stereo electroacoustic conversion units are included, and the sound amplitude tolerance of at least one stereo electroacoustic conversion unit is different from the sound amplitude tolerance of other stereo electroacoustic conversion units. The number of stereo electroacoustic conversion units is not limited in the present embodiment. There can be two, such as the earpiece and speaker of a mobile phone, or there can be multiple stereo electroacoustic conversion units. Moreover, among the multiple stereo electroacoustic conversion units, only one stereo electroacoustic conversion unit can have a sound amplitude tolerance that is different from the sound amplitude tolerance of other stereo electroacoustic conversion units, or the sound amplitude tolerance of multiple stereo electroacoustic conversion units can be different. This is not limited in the present embodiment.

[0073] Please continue to see Figure 3 The diaphragm control circuit includes: N input signal transmission circuits 11, N gain adjustment circuits 12, a comparator 13 and N gain addition circuits 14; the M-th input signal transmission circuit 11 is connected to the M-th gain adjustment circuit 12, the M-th gain adjustment circuit 12 is connected to the comparator 13, the output end of the comparator 13 is connected to the M-th gain addition circuit 14, and the output end of the M-th gain addition circuit 14 is connected to the M-th input signal transmission circuit 11, M=1, 2, ...N.

[0074] That is, in this embodiment, the structures of the N input signal transmission circuits are the same, the structures of the N gain adjustment circuits are the same, and the structures of the N gain adjustment circuits are the same. The detailed structure of each circuit is described below in conjunction with the accompanying drawings.

[0075] Each of the gain adjustment circuits 12 is used to receive a corresponding input signal Input, the input signal Input includes a first input signal Input 1, a second input signal Input 2, ... an Mth input signal Input M ... an Nth input signal Input N, and calculates an initial gain value Gain according to the input signal Input, wherein each branch obtains a corresponding initial gain value (in each branch circuit, respectively Figure 3 Gain 1, ...Gain M, ...Gain N in each circuit), and according to the preset gain value Offset (in each circuit, respectively Figure 3 Offset 1, ..., Offset M, ..., Offset N in the above) is used to process the initial gain value Gain to obtain a reduced gain value;

[0076] The comparator 13 receives N reduced gain values ​​of N gain adjustment circuits 12 and takes the minimum value after comparison;

[0077] Each of the gain adding circuits 14 is used to receive the preset gain value Offset of the corresponding gain adjusting circuit 12 (each circuit is respectively Figure 3 Offset 1, ..., Offset M, ..., Offset N) in the above process the minimum value;

[0078] The input signal transmission circuit 11 is used to receive the output signal of the corresponding gain addition circuit 14, process the corresponding input signal Input, and obtain the driving signal of the corresponding stereo electro-acoustic conversion unit.

[0079] Optional, such as Figure 3 As shown, each input signal transmission circuit 11 includes a multiplier 111, one end of the multiplier 111 is used to receive an input signal Input, and the input signal Input includes a first input signal Input 1, a second input signal Input 2, ... an Mth input signal Input M ... an Nth input signal Input N.

[0080] Optional, such as Figure 3 As shown, each gain adjustment circuit 12 includes a dynamic range control module 121 and a first calculation module 122, wherein each dynamic range control module corresponds to its own name such as Figure 3 As shown in DRC 1, ...DRCM, ...DRC N, the input end of the dynamic range control module 121 is used to receive the input signal Input, and calculate the initial gain value Gain according to the input signal Input, wherein each branch obtains the corresponding initial gain value (each branch circuit is respectively Figure 3 Gain 1, ... Gain M, ... Gain N in the first calculation module 122; the input end of the first calculation module 122 is connected to the output end of the dynamic range control module 121, and is used to reduce the initial gain value by a preset gain value Offset (in each circuit, respectively Figure 3 , ...Offset 1, ...Offset M, ...Offset N in ), to obtain the reduced gain value.

[0081] Optional, such as Figure 3 As shown, the comparator 13 receives N reduced gain values ​​of N gain adjustment circuits and takes the minimum value after comparison.

[0082] Optional, such as Figure 3As shown, each gain addition circuit 14 includes a second calculation module 140, the input end of the second calculation module 140 is connected to the output end of the comparator 13, and receives the preset gain value of the corresponding gain adjustment circuit 12, so that the smaller value increases the preset gain value; the output end of the second calculation module 140 is connected to the multiplier 111 in the corresponding input signal transmission circuit 11, and the multiplier 111 multiplies the input signal Input with the output signal of the second calculation module 140 in the corresponding gain addition circuit as the driving signal of the corresponding stereo electroacoustic conversion unit 15.

[0083] It should be noted that the components included in the structure of each branch circuit in this embodiment are the same, but the parameters involved may be different. For example, the parameters of the dynamic range control module DRC in each branch can be set independently without the need for binding multiple channels. The setting of DRC is not described in detail in this embodiment.

[0084] In addition, the function of the first calculation module 122 in the present embodiment is to subtract a certain gain (i.e., a preset gain value) from the initial gain to ensure that when the second calculation module 140 subsequently adds the preset gain value to form the final gain value, the stereo electro-acoustic conversion unit will not be disconnected or burned out due to the gain value exceeding the tolerable range of the stereo electro-acoustic conversion unit with the minimum sound amplitude tolerance. Therefore, the function of the first calculation module 122 in the present embodiment is to reduce the initial gain value, and the function of the second calculation module 140 is to increase the gain value based on the minimum gain value.

[0085] It should be noted that the specific structures of the first calculation module 122 and the second calculation module 140 are not limited in this embodiment. Optionally, when the initial gain value is in the Log domain, the unit is dB. At this time, the first calculation module is optionally a subtractor; the second calculation module is optionally an adder. At this time, the corresponding preset gain value is a positive value.

[0086] In the same principle, the first calculation module can also be an adder, and the second calculation module can also be a subtractor. In this case, the corresponding preset gain value is a negative value.

[0087] When the gain is in the linear domain from the beginning to the end, the corresponding first calculation modules are all dividers, and the corresponding second calculation modules are all multipliers. At this time, the preset gain value is a value greater than 1.

[0088] In other embodiments, the first calculation modules may all be multipliers; and the second calculation modules may all be dividers. In this case, the preset gain value is a value less than 1.

[0089] The diaphragm control circuit provided by the embodiment of the present invention first uniformly lowers a part of the gain value based on the gain generated by the dynamic range control module DRC to obtain a reduced gain value, and then takes the minimum value of the reduced gain value of multiple stereo electroacoustic conversion units; based on the minimum value, the originally reduced preset gain is superimposed, thereby ensuring the safety of the speaker with the minimum sound amplitude tolerance. At the same time, by adjusting different preset gain values, the final gains of stereo electroacoustic conversion units with different sound amplitude tolerance are different, so that the stereo electroacoustic conversion units with different sound amplitude tolerance have different sound amplitudes, making full use of the large amplitude characteristics of the stereo electroacoustic conversion units with strong sound amplitude tolerance, making the stereo effect better, and avoiding the problem of weakened stereo effect due to the same gain of multiple channels.

[0090] That is, the diaphragm control circuit provided in the embodiment of the present invention realizes the gain linkage of multiple stereo electroacoustic conversion units, which not only makes the relative signal amplitudes of the processed multiple channels more constant, but also ensures that the performance of the stereo electroacoustic conversion units with strong sound amplitude tolerance will be brought into play as much as possible under the premise that the stereo electroacoustic conversion units with poor sound amplitude tolerance will not be disconnected or burned out.

[0091] See also Figure 4 , Figure 4 A schematic diagram of another diaphragm control circuit provided by an embodiment of the present invention; Figure 3 The difference between the diaphragm control circuit shown in the figure is that each input signal transmission circuit in this embodiment also includes a delay device 112, for example Figure 4 The first delay device, ... the Mth delay device, ... the Nth delay device in the circuit; the input end of the delay device 112 is used to receive the input signal; the output end of the delay device 112 is connected to the input end of the multiplier 111 in the input signal transmission circuit; the extension time of the delay devices 112 in all input signal transmission circuits is the same.

[0092] The function of the delay device in this embodiment is to delay the input signal in order to make the same delay for the channels of multiple stereo electroacoustic conversion units, so that there is no relative delay and phase difference between the multiple output channels. In some application scenarios, the signal needs to be strictly suppressed within a certain amplitude, such as -6dB. When the input signal amplitude is 0dB, the signal is suppressed at -6dB, and the gain needs to be adjusted, and the gain cannot suddenly jump from 0dB to -6dB. If the gain changes suddenly, pop sound will be introduced in the final listening experience, which seriously affects the subjective listening experience, which is unacceptable to customers. Therefore, it is necessary to have a time to slowly change the gain from 0dB to -6dB without adding a delay device. When the gain has not changed to the corresponding gain, the signal has been transmitted to the speaker. The amplitude of this signal is above -6dB, which is unacceptable. Therefore, a delay device is added, and the length of the delay device corresponds to the time of gain change, ensuring that when the signal and the gain are multiplied, the gain has been adjusted to the predetermined gain.

[0093] The embodiment of the present invention provides a diaphragm control circuit with a left channel as an earpiece and a right channel as a speaker, see Figure 5 , Figure 5 A schematic diagram of a diaphragm control circuit including two stereo electroacoustic conversion units provided in an embodiment of the present invention; the diaphragm control circuit provided in an embodiment of the present invention includes: a first multiplier 51, a second multiplier 52, a first dynamic range control module 53, a second dynamic range control module 54, a third calculation module 55, a fourth calculation module 56, a comparator 57, a fifth calculation module 58, and a sixth calculation module 59.

[0094] Among them, the input end of the first dynamic range control module 53 is used to receive the first input signal Left input, and calculate the first initial gain value Gain 1 according to the first input signal Left input; the input end of the third calculation module 55 is connected to the output end of the first dynamic range control module 53, and is used to reduce the first initial gain value Gain 1 by the first preset gain value Offset 1 to obtain a first reduced gain value (Gain 1- Offset 1); in this embodiment, Offset 1 is a positive value, and the gain is in the Log domain.

[0095] The input end of the second dynamic range control module 54 is used to receive the second input signal Right input, and calculate the second initial gain value Gain 2 according to the second input signal Right input; the input end of the fourth calculation module 56 is connected to the output end of the second dynamic range control module 54, and is used to superimpose the second initial gain value Gain 2 with the second preset gain value Offset 2 to obtain a second reduced gain value (Gain 2- Offset 2).

[0096] The input end of the comparator 57 is connected to the third calculation module 55 and the fourth calculation module 56 respectively, compares the first reduced gain value (Gain 1- Offset 1) and the second reduced gain value (Gain 2- Offset 2), and outputs the smaller value Min of the first reduced gain value (Gain 1- Offset 1) and the second reduced gain value (Gain 2- Offset 2).

[0097] The input end of the fifth calculation module 58 is connected to the output end of the comparator and receives the first preset gain value Offset1, so that the smaller value Min increases the first preset gain value Offset 1; the output end of the fifth calculation module 58 is connected to the first multiplier 51, and the first multiplier 51 multiplies the first input signal with the output signal of the fifth calculation module 58 as the driving signal Left output of the first stereo electroacoustic conversion unit.

[0098] The input end of the sixth calculation module 59 is connected to the output end of the comparator 57 and receives the second preset gain value, so that the smaller value Min increases the second preset gain value Offset 2; the output end of the sixth calculation module 59 is connected to the second multiplier 52, and the second multiplier 52 multiplies the second input signal with the output signal of the sixth calculation module 59 as the driving signal Right output of the second stereo electroacoustic conversion unit.

[0099] In order to ensure that there is no relative delay and phase difference between the left and right channels of the output, the present embodiment also includes a first delay device 510 and a second delay device 511; the input end of the first delay device 510 is used to receive the first input signal Left input, and delay the first input signal Left input for a preset time; the output end of the first delay device 510 is connected to the second input end of the first multiplier 51; the input end of the second delay device 511 is used to receive the second input signal Right input, and delay the second input signal Right input for a preset time; the output end of the second delay device 511 is connected to the second input end of the second multiplier 52.

[0100] The input signal is delayed through the delay device to ensure that there is no relative delay between the left and right channels.

[0101] The specific structures of the third computing module, the fourth computing module, the fifth computing module and the sixth computing module are not limited in this embodiment. Optionally, in the Log domain, the third computing module and the fourth computing module are both subtractors; the fifth computing module and the sixth computing module are both adders. Alternatively, in the linear domain, the third computing module and the fourth computing module are both dividers; the fifth computing module and the sixth computing module are both multipliers.

[0102] pass Figure 5 , it can be known that the final L_gain acting on the left channel and the R_gain acting on the right channel are fixed (Offset1-Offset2) dB apart. Therefore, the relative amplitude of the left and right channel outputs is constant and will not change with the amplitude of the input signals of the left and right channels, thus ensuring the stability of the sound field. In addition, for mobile phone application scenarios where the left channel is a handset and the right channel is a speaker, Offset1 can be set to 0dB and Offset2 can be set to a value greater than 0dB, such as 3dB. In this way, the right channel can be output in a state where it is 3dB higher than the left channel, and the performance of the right channel speaker will not be limited by the handset of the left channel. If the positions of the handset and speaker of the left and right channels are interchanged, Offset1 can be set to be greater than 0dB and Offset2 equal to 0dB. The setting values ​​of Offset1 and Offset2 are set according to the differences between the actual handset and the speaker, and are not specifically limited in the embodiments of the present invention.

[0103] In summary, a new gain-linked diaphragm control circuit is proposed in the embodiment of the present invention, which not only makes the relative signal amplitude of L and R after processing more constant, but also ensures that the performance of the stereo electroacoustic conversion unit is brought into play as much as possible without disconnecting or burning the earpiece.

[0104] Based on the same inventive concept, see Figure 6 , Figure 6 A schematic flow chart of a diaphragm control method provided in an embodiment of the present invention; the diaphragm control method is based on the diaphragm control circuit described in the above embodiment, and the diaphragm control method includes:

[0105] S101: Obtain N input signals, where N is an integer and N is greater than or equal to 2;

[0106] S102: Calculate N initial gain values ​​according to the N input signals, and superimpose corresponding preset gain values ​​on the N initial gain values ​​to obtain corresponding N reduced gain values;

[0107] S103: Compare N reduced gain values ​​and take the minimum value;

[0108] S104: Based on the minimum value, the Mth preset gain value is increased respectively, and multiplied with the Mth input signal as the driving voltage of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

[0109] For the specific process, please refer to the specific working principle of the diaphragm control circuit described above. Based on the gain generated by the dynamic range control module DRC, a part of the gain value is first uniformly lowered to obtain a reduced gain value, and then the reduced gain values ​​of multiple stereo electroacoustic conversion units are taken as the minimum value; based on the minimum value, the original reduced preset gain is superimposed to ensure the safety of the stereo electroacoustic conversion unit with the smallest sound amplitude tolerance. At the same time, by adjusting different preset gain values, the final gains of stereo electroacoustic conversion units with different sound amplitude tolerance are different, so that the stereo electroacoustic conversion units with different sound amplitude tolerance have different sound amplitudes, making full use of the large amplitude characteristics of the stereo electroacoustic conversion unit with strong sound amplitude tolerance, making the stereo effect better, and avoiding the problem of weakened stereo effect due to the same gain of multiple channels. That is, the diaphragm control circuit provided in the embodiment of the present invention realizes the gain linkage of multiple stereo electroacoustic conversion units, which not only makes the relative signal amplitudes of the processed multiple channels more constant, but also ensures that the performance of the stereo electroacoustic conversion units with strong sound amplitude tolerance will be brought into play as much as possible under the premise that the stereo electroacoustic conversion units with poor sound amplitude tolerance will not be disconnected or burned out.

[0110] Optionally, in another embodiment of the present invention, based on the minimum value, the M-th preset gain value is respectively increased and multiplied with the M-th input signal as the driving signal of the M-th stereo electroacoustic conversion unit, M=1, 2, ... N, including:

[0111] Performing delay processing on the N input signals;

[0112] Based on the minimum value, the Mth preset gain value is respectively increased and multiplied with the Mth input signal after delay processing as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

[0113] For the specific process, please refer to the specific working principle of the diaphragm control circuit above. The purpose of delaying N input signals is to make the same delay for the channels of multiple stereo electroacoustic conversion units, so that there is no relative delay and phase difference between the multiple output channels. In some application scenarios, the signal needs to be strictly suppressed within a certain amplitude, such as -6dB. When the input signal amplitude is 0dB, the signal is suppressed at -6dB, and the gain needs to be adjusted, and the gain cannot suddenly jump from 0dB to -6dB. If the gain changes suddenly, pop sound will be introduced in the final listening experience, which seriously affects the subjective listening experience, which is unacceptable to customers. Therefore, it takes time to slowly change the gain from 0dB to -6dB without adding a delay device. When the gain has not changed to the corresponding gain, the signal has been transmitted to the speaker. The amplitude of this signal is above -6dB, which is unacceptable. Therefore, a delay device is added, and the length of the delay device corresponds to the time of gain change, to ensure that when the signal and the gain are multiplied, the gain has been adjusted to the predetermined gain.

[0114] In other embodiments of the present invention, a chip is further provided. The chip includes the diaphragm control circuit described in the above embodiments.

[0115] In this embodiment, the chip and the above-mentioned diaphragm control circuit are based on the same inventive concept and thus can achieve the same technical effect.

[0116] In another embodiment of the present invention, an electronic device is also provided. Figure 7 , Figure 7 A schematic diagram of an electronic device structure provided by an embodiment of the present invention. The electronic device 100 can be first Figure 3 As shown, the electronic device includes: N stereo electroacoustic conversion units 15, and a diaphragm control circuit, wherein N is an integer, and N is greater than or equal to 2; the diaphragm control circuit 101 includes N signal input terminals and N signal output terminals; the Mth signal input terminal is used to receive the Mth input signal, M=1, 2, ...N; the Mth signal output terminal is connected to the Mth stereo electroacoustic conversion unit; wherein the diaphragm control circuit is the diaphragm control circuit in the above embodiment.

[0117] The specific form of the electronic device is not limited in this embodiment, as long as it includes at least one stereo electroacoustic conversion unit, the electronic device can be any electronic device. Specifically, in this embodiment, the electronic device can be a mobile phone, a tablet computer, or an audio and video player. Figure 7 As shown, the electronic device 100 is a mobile phone, which usually includes two stereo electroacoustic conversion units, that is, N=2 here. The first stereo electroacoustic conversion unit is an earpiece L, which can be used as a left-channel stereo electroacoustic conversion unit, and the second stereo electroacoustic conversion unit is a speaker R, which can be used as a right-channel stereo electroacoustic conversion unit.

[0118] The electronic device provided by the embodiment of the present invention includes the diaphragm control circuit with linked gains of multiple channels as described above, which realizes the linked gains of multiple stereo electroacoustic conversion units, not only making the relative signal amplitudes of the processed multiple channels more constant, but also ensuring that the performance of the stereo electroacoustic conversion units with strong sound amplitude tolerance will be brought into play as much as possible under the premise that the stereo electroacoustic conversion units with poor sound amplitude tolerance will not be disconnected or burned out.

[0119] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0120] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the article or device including the above elements.

[0121] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A diaphragm control circuit, characterized in that: Applicable to an electronic device including N stereo electroacoustic conversion units, wherein N is an integer and N is greater than or equal to 2, the diaphragm control circuit includes: N input signal transmission circuits, N gain adjustment circuits, a comparator and N gain addition circuits; The Mth input signal transmission circuit is connected to the Mth gain adjustment circuit, the Mth gain adjustment circuit is connected to the comparator, the output end of the comparator is connected to the Mth gain addition circuit, the output end of the Mth gain addition circuit is connected to the Mth input signal transmission circuit, M=1, 2, ... N; Wherein, each of the gain adjustment circuits is used to receive a corresponding input signal, calculate an initial gain value according to the input signal, and process the initial gain value according to a preset gain value to obtain a reduced gain value; The comparator receives N reduced gain values ​​of N gain adjustment circuits and takes the minimum value after comparison; Each of the gain adding circuits is used to receive the preset gain value of the corresponding gain adjusting circuit to process the minimum value; The input signal transmission circuit is used to receive the output signal of the corresponding gain addition circuit, process the corresponding input signal, and obtain the driving signal of the corresponding stereo electroacoustic conversion unit.

2. The diaphragm control circuit according to claim 1, characterized in that: Each input signal transmission circuit includes a multiplier, one end of which is used to receive a corresponding input signal.

3. The diaphragm control circuit according to claim 2, characterized in that: Each input signal transmission circuit also includes a delay device; The input end of the delay device is used to receive the input signal; The output end of the delay device is connected to the input end of the multiplier in the input signal transmission circuit; The delay time of the delay devices in all input signal transmission circuits is the same.

4. The diaphragm control circuit according to claim 1, characterized in that: Each gain adjustment circuit includes a dynamic range control module and a first calculation module, wherein the input end of the dynamic range control module is used to receive the input signal and calculate the initial gain value according to the input signal; The input end of the first calculation module is connected to the output end of the dynamic range control module, and is used to subtract the preset gain value from the initial gain value to obtain the reduced gain value.

5. The diaphragm control circuit according to claim 4, characterized in that: Each gain addition circuit includes a second calculation module, the input end of the second calculation module is connected to the output end of the comparator, and receives the preset gain value of the corresponding gain adjustment circuit so that the smaller value increases the preset gain value; The output end of the second calculation module is connected to the multiplier in the corresponding input signal transmission circuit, and the multiplier multiplies the input signal with the output signal of the second calculation module in the corresponding gain addition circuit to obtain a driving signal corresponding to the stereo electroacoustic conversion unit.

6. The diaphragm control circuit according to claim 5, characterized in that: The first calculation modules are all subtractors; the second calculation modules are all adders; Or, the first calculation modules are all adders; the second calculation modules are all subtractors; Or, the first calculation modules are all dividers; the second calculation modules are all multipliers; Or, the first calculation modules are all multipliers; and the second calculation modules are all dividers.

7. A diaphragm control method, characterized in that: Based on the diaphragm control circuit according to any one of claims 1 to 6, the diaphragm control method comprises: Obtain N input signals, where N is an integer and N is greater than or equal to 2; N initial gain values ​​are calculated according to the N input signals, and corresponding preset gain values ​​are respectively superimposed on the N initial gain values ​​to obtain corresponding N reduced gain values; Compare N reduced gain values ​​and take the minimum value; Based on the minimum value, the Mth preset gain value is increased respectively and multiplied with the Mth input signal as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

8. The diaphragm control method according to claim 7, characterized in that: Based on the minimum value, the Mth preset gain value is increased respectively, and multiplied with the Mth input signal as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, ... N, including: Performing delay processing on the N input signals; Based on the minimum value, the Mth preset gain value is respectively increased and multiplied with the Mth input signal after delay processing as the driving signal of the Mth stereo electroacoustic conversion unit, M=1, 2, . . . N.

9. A chip, characterized in that: The chip includes the diaphragm control circuit described in any one of claims 1-6.

10. An electronic device, characterized in that: include: N stereo electroacoustic conversion units, and a diaphragm control circuit, wherein N is an integer greater than or equal to 2; The diaphragm control circuit includes N signal input terminals and N signal output terminals; The Mth signal input terminal is used to receive the Mth input signal, M=1, 2, ... N; The Mth signal output terminal is connected to the Mth stereo electro-acoustic conversion unit; Wherein, the diaphragm control circuit is the diaphragm control circuit described in any one of claims 1-6.

11. The electronic device according to claim 10, characterized in that: The electronic device is a mobile phone, a tablet computer or an audio and video player.

12. The electronic device according to claim 11, characterized in that: N=2, the first stereo electroacoustic conversion unit is a receiver, and the second stereo electroacoustic conversion unit is a speaker.

Citation Information

Patent Citations

  • Signal processing method and device and loudspeaker

    CN109151667A

  • Acoustic system

    JP2012134687A