Audio processing device and terminal equipment
By connecting the headphone base ground pin to the input of the power amplifier in the audio processing device and setting the appropriate gain value, the crosstalk between the left and right earphones in the dual-channel earphones is solved, improving the sound quality and simplifying the circuit and reduce costs.
Patent Information
- Application Number
- CN202111398044.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-11-19
AI Technical Summary
When using dual-channel headphones for multimedia data playback, crosstalk problems often occur between the left and right headphones, resulting in a degradation of sound quality.
Design an audio processing device, including a codec chip, a gain amplifier and a headset, connects the headset ground pin to the inputs of the first and second power amplifiers, and sets the appropriate gain value in the gain amplifier. , to offset the impedance of the inside of the headphone cable and the headphone plug in contact with the headphone base, thereby reducing crosstalk.
It effectively reduces the crosstalk between the left earphone and the right earphone, improves the stereo sound playback effect of the earphone, simplifies the circuit structure, reduces costs, and improves the stability of the circuit.
Smart Images

Figure CN113923564B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to an audio processing device and a terminal equipment. Background Art
[0002] With the popularization of mobile networks, multimedia data such as audio and video are increasingly used in real life scenarios.
[0003] At present, more and more users like to use headphones and terminal devices together to play multimedia data such as audio and video. At present, dual-channel headphones are very common, wherein dual-channel headphones include left channel and right channel headphones, the left channel corresponds to the left headphone, and the right channel corresponds to the right headphone.
[0004] However, in the process of actually using headphones to play multimedia data, the problem of crosstalk between the left headphone and the right headphone often occurs, thereby causing the sound quality heard by the user to deteriorate. Summary of the invention
[0005] The present application provides an audio processing device and a terminal device for reducing crosstalk between a left earphone and a right earphone.
[0006] In a first aspect, the present application provides an audio processing device, including: a codec chip, a gain amplifier, and an earphone socket, wherein the codec chip includes: a first power amplifier and a second power amplifier, and the earphone socket includes an earphone socket ground pin, wherein:
[0007] The first input end of the first power amplifier is connected to the gain amplifier, the output end of the first power amplifier is connected to the headphone socket, and the second input end of the first power amplifier is used to receive an analog audio signal;
[0008] The first input end of the second power amplifier is connected to the gain amplifier, the output end of the second power amplifier is connected to the headphone socket, and the second input end of the second power amplifier is used to receive an analog audio signal;
[0009] The earphone socket ground pin is connected to the gain amplifier.
[0010] In a possible implementation, the first power amplifier includes a positive input terminal and a negative input terminal, wherein:
[0011] The positive input terminal of the first power amplifier is used to receive an audio signal;
[0012] The negative input terminal of the first power amplifier is connected to the output terminal of the gain amplifier.
[0013] In a possible implementation, the second power amplifier includes a positive input terminal and a negative input terminal, wherein:
[0014] The positive input terminal of the second power amplifier is used to receive an audio signal;
[0015] The negative input terminal of the second power amplifier is connected to the output terminal of the gain amplifier.
[0016] In a possible implementation, the gain value of the gain amplifier is determined according to the first impedance, the second impedance and the third impedance, wherein:
[0017] The first impedance is the impedance of the headphone line;
[0018] The second impedance is the contact impedance between the headphone socket and the headphone plug;
[0019] The third impedance is the routing impedance of the ground pin of the headphone socket.
[0020] In a possible implementation, the gain value of the gain amplifier and the first impedance, the second impedance, and the third impedance satisfy the following relationship:
[0021]
[0022] Wherein, the α is the gain value, the Rg1 is the first impedance, the Rg2 is the second impedance, and the Rg3 is the third impedance.
[0023] In one possible implementation,
[0024] The input end of the gain amplifier is connected to the ground pin of the headphone socket;
[0025] The output end of the gain amplifier is connected to the first input end of the first power amplifier and the first input end of the second power amplifier respectively.
[0026] In a possible implementation, the codec chip further includes a digital-to-analog converter, wherein:
[0027] The input end of the digital-to-analog converter is used to receive a digital audio signal;
[0028] The output end of the digital-to-analog converter is connected to the first power amplifier and the second power amplifier respectively.
[0029] In a possible implementation, the digital-to-analog converter includes a first digital-to-analog converter and a second digital-to-analog converter, wherein:
[0030] The input end of the first digital-to-analog converter is used to receive a digital audio signal, and the output end of the first digital-to-analog converter is connected to the second input end of the first power amplifier;
[0031] The input end of the second digital-to-analog converter is used to receive a digital audio signal, and the output end of the second digital-to-analog converter is connected to the second input end of the second power amplifier.
[0032] In a possible implementation, the audio processing device further includes a digital signal processing DSP chip, wherein:
[0033] The DSP chip is connected to the digital-to-analog converter, and the DSP chip is used to output the digital audio signal to the digital-to-analog converter.
[0034] In a second aspect, the present application provides a terminal device, comprising an audio processing device as described in any one of the first aspects.
[0035] The audio processing device and terminal equipment provided by the present application include: a codec chip, a gain amplifier and a headphone socket, the codec chip includes: a first power amplifier and a second power amplifier, the headphone socket includes a headphone socket ground pin, wherein the first input end of the first power amplifier is connected to the gain amplifier, the output end of the first power amplifier is connected to the headphone socket, and the second input end of the first power amplifier is used to receive an analog audio signal; the first input end of the second power amplifier is connected to the gain amplifier, the output end of the second power amplifier is connected to the headphone socket, and the second input end of the second power amplifier is used to receive an analog audio signal; the headphone socket ground pin is connected to the gain amplifier. By connecting the headphone socket ground pin to the first input end of the first power amplifier and the first input end of the second power amplifier, and setting the gain value of the gain amplifier between the headphone socket ground pin and the input end of the power amplifier, the voltage division generated by the impedance inside the headphone line and the voltage division generated by the impedance generated by the contact between the headphone plug and the headphone socket are offset, thereby effectively reducing the crosstalk between the left headphone and the right headphone to improve the stereo sound playback effect of the headphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A schematic diagram of a circuit system in the related art Figure 1 ;
[0038] Figure 2 A schematic diagram of a circuit system in the related art Figure 2 ;
[0039] Figure 3 The circuit structure of the audio processing device provided in the embodiment of the present application is shown in FIG. Figure 1 ;
[0040] Figure 4 The circuit structure of the audio processing device provided in the embodiment of the present application is shown in FIG. Figure 2 . DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0043] In order to facilitate understanding of the technical solution of the present application, the relevant technologies involved in the present application are further introduced in detail below.
[0044] With the popularization of mobile networks, multimedia information such as audio and video is increasingly loved by users. The headphone mode is gradually favored by more and more users due to its delicate sound quality and realistic stereo effect. To ensure a good stereo effect, the left and right channels need a certain degree of isolation, that is, the crosstalk between the two channels must be less than a certain standard.
[0045] For example, the headphone interface includes a 3.5mm headphone interface, which is widely used in consumer products due to its long history, unified standards, low cost, and stable connection. The implementation of the TypeC headphone interface plus an adapter is the same as that of the 3.5mm headphone. However, due to the contact impedance of the 3.5mm headphone and the TypeC mechanical interface, there is impedance in the headphone ground wiring, which generates a voltage divider, which crosstalks to the other channel and affects the stereo effect.
[0046] In other words, because of the existence of impedance, voltage division will be generated, and the existence of voltage division will cause crosstalk between the channels, which in turn affects the stereo effect of the headphones.
[0047] Further, in order to better understand the technical solution of the present application, the following first combines Figure 1 The signal transmission process between the terminal device and the headset is described.
[0048] Figure 1 A schematic diagram of a circuit system in the related art Figure 1 .like Figure 1 As shown, the circuit system includes a terminal device and an earphone. The terminal device includes: a printed circuit board (PCB). The printed circuit board is provided with a codec chip and an earphone socket, wherein the earphone socket may include an earphone socket ground pin.
[0049] Furthermore, the headset may include a headset line, a left headset and a right headset. The headset line is provided with a headset plug, which is inserted into a headset seat to achieve connection between the terminal device and the headset.
[0050] When the terminal device plays audio, the digital audio signal corresponding to the audio to be played is transmitted to the codec chip, which is used to perform digital-to-analog conversion on the digital audio signal to generate an analog audio signal, and transmit the analog audio signal to the headphone socket after being processed by the power amplifier. Figure 1 The positive (+) lead of the power amplifier shown is fed to the headphone jack.
[0051] For details, see Figure 1 The codec chip includes a first power amplifier and a second power amplifier. The first power amplifier may be a power amplifier corresponding to a left channel, and the second power amplifier may be a power amplifier corresponding to a right channel.
[0052] The digital audio signal may be a mono signal or a dual-channel signal.
[0053] When the digital audio signal is a mono signal, for example, there is input in the left channel, corresponding to Figure 1For example, the codec chip performs digital-to-analog conversion on the first digital audio signal corresponding to the left channel to obtain a first analog audio signal, and then inputs the first analog audio signal into the positive electrode of the first power amplifier, and then transmits it through the headphone socket and the headphone cable, and then the signal output by the first power amplifier is sent to the left headphone.
[0054] Or it can be that there is input on the right channel, corresponding to Figure 1 For example, the codec chip may perform digital-to-analog conversion on the second digital audio signal corresponding to the right channel to obtain a second analog audio signal, and then input the second analog audio signal into the positive electrode of the second power amplifier. Then, the signal output by the second power amplifier is transmitted to the right earphone via the headphone socket and the headphone cable.
[0055] When the digital audio signal is a dual-channel signal, that is, there are inputs to both the left and right channels, then the corresponding first power amplifier and the second power amplifier also have inputs. After that, the signal output by the first power amplifier is transmitted to the left earphone through the headphone socket and the headphone cable, and the signal output by the second power amplifier is transmitted to the right earphone through the headphone socket and the headphone cable to achieve dual-channel playback.
[0056] After the above signal transmission process, the user can listen to the audio played by the terminal device through the earphone.
[0057] The above-mentioned codec chip, headphone socket, headphone cable, and headphones transmit electrical signals. After the electrical signals are transmitted to the left and right headphones, they need to be returned to the ground. Figure 1 The electrical signal reflux process is as follows: the electrical signals of the left earphone and the right earphone are transmitted through the reflux of the earphone cable and the earphone socket, and finally delivered to the ground pin of the earphone socket on the PCB board.
[0058] During the transmission of electrical signal backflow, some impedance will be generated inside the headphone cable. In this embodiment, the impedance inside the headphone cable is abstracted as resistor Rg1. In addition, some impedance will be generated at the contact portion between the headphone plug and the headphone socket. In this embodiment, the impedance generated by the contact between the headphone plug and the headphone socket is abstracted as resistor Rg2. Furthermore, during the process of electrical signal backflow from the headphone socket to the ground pin of the headphone socket, some impedance will be generated by the wiring of the ground pin of the headphone socket. In this embodiment, the impedance generated by the wiring of the ground pin of the headphone socket is abstracted as resistor Rg3. The positions of the above-mentioned abstracted resistors Rg1, Rg2, and Rg3 in the circuit are shown as follows. Figure 1 In addition, for the convenience of subsequent description, the left earphone is abstracted as a resistor R, and the right earphone is abstracted as a resistor R.
[0059] Based on the above introduction, it can be determined that there is a crosstalk problem between the left earphone and the right earphone. In order to solve the problem of crosstalk between the left earphone and the right earphone, the generation of crosstalk is first analyzed:
[0060] according to Figure 1 The circuit system shown, resistor R g1 , resistor R g2 , resistor R g3 A certain voltage division is generated on the left earphone resistor R or the right earphone resistor R. According to the crosstalk formula, this voltage division will cause crosstalk between the left earphone and the right earphone. Specifically, the crosstalk of the right earphone to the left earphone can be expressed as formula 1:
[0061]
[0062] Transform the above formula 1 to get formula 2:
[0063]
[0064] Transform the above formula 2 to get formula 3:
[0065] Crosstalk(dB)=20*log(R g1 +R g2 +R g3 )
[0066] -20*log(2*(R g1 +R g2 +R g3 )+R) Formula 3
[0067] According to the above formula 3, if (R g1 +R g2 +R g3 ), the crosstalk from the right earphone to the left earphone can be effectively reduced.
[0068] And, the crosstalk formula of the right earphone to the left earphone is similar to the above formulas 1 to 3. By reducing (R g1 +R g2 +R g3 ), and can also reduce the crosstalk from the left earphone to the right earphone.
[0069] In order to solve the crosstalk between the left earphone and the right earphone, there is currently an implementation method for R g3 The voltage division can be canceled by combining Figure 2 Make an introduction, Figure 2 A schematic diagram of a circuit system in the related art Figure 2 .
[0070] Figure 2With the above introduction Figure 1 Similar, except that Figure 2 The earphone pedestal ground pin is directly connected to the first input terminal of the first power amplifier and the second power amplifier, so that the first power amplifier and / or the second power amplifier can receive a feedback signal from the earphone pedestal ground pin to realize the R g3 The voltage of R is fed back to the first input terminal of the first power amplifier and / or the second power amplifier, thereby realizing g3 The voltage division compensation can reduce the crosstalk between the left earphone and the right earphone.
[0071] However, Figure 2 The implementation shown here can only realize R g3 Although the voltage division is compensated, the existence of the remaining impedance will still cause crosstalk between the left and right earphones.
[0072] Therefore, based on the above analysis and the problems in the prior art, the present application proposes the following technical concept: the negative input terminal of the first power amplifier is connected to the ground pin of the headphone socket through a gain amplifier, and the negative input terminal of the second power amplifier is connected to the ground pin of the headphone socket through a gain amplifier. In this way, the first power amplifier and the second power amplifier can receive the compensation voltage signal after gain amplification from the ground pin of the headphone socket and perform compensation, thereby offsetting the routing impedance of the ground pin of the headphone socket, the impedance inside the headphone cable, and the impedance generated by the contact between the headphone plug and the headphone socket, so as to effectively reduce the crosstalk between the left earphone and the right earphone.
[0073] Based on the above introduction, the technical solution of the present application is described in detail below. The present application provides an audio processing device and a terminal device, which can be used to reduce the crosstalk of all types of headphones, for example, headphones with a TypeeC interface, headphones with a 3.5mm interface, headphones with a TypeeC interface plus a 3.5mm adapter, headphones with a 3.5mm interface plus a TypeeC adapter, and so on.
[0074] Combine the following Figure 3 The technical solution of this application is described. Figure 3 The circuit structure of the audio processing device provided in the embodiment of the present application is shown in FIG. Figure 1 .
[0075] like Figure 3 As shown, the audio processing device in this embodiment includes a codec chip, a programmable gain amplifier (PGA) and an earphone socket.
[0076] The codec chip includes: a first power amplifier and a second power amplifier, and the headphone socket includes a headphone socket ground pin. In this embodiment, the first power amplifier can also be considered as a power amplifier corresponding to the left channel. The second power amplifier can also be considered as a power amplifier corresponding to the right channel.
[0077] Here we explain the connection relationship of each device, such as Figure 3 As shown, the first input end of the first power amplifier is connected to the gain amplifier, the output end of the first power amplifier is connected to the headphone socket, and the second input end of the first power amplifier is used to receive an analog audio signal.
[0078] In one possible implementation, referring to Figure 3 The first power amplifier includes a positive input terminal (+) and a negative input terminal (-), wherein the positive input terminal can be the second input point introduced above, and the negative input terminal can be the first input terminal introduced above. The specific connection of the two input terminals of the first power amplifier can be, for example, that the positive input terminal of the first power amplifier is used to receive the audio signal, and the negative input terminal of the first power amplifier is connected to the output terminal of the gain amplifier.
[0079] That is to say, the positive input terminal of the first power amplifier can input the audio signal of the left channel, wherein the audio signal input to the positive terminal of the first power amplifier has been processed by digital-to-analog conversion, so the audio signal input to the positive terminal of the first power amplifier can be an analog audio signal of the left channel. And the negative input terminal of the first power amplifier can input the signal output by the gain amplifier. In a possible implementation, the first power amplifier can, for example, process the two input signals and then output the output signal of the left channel, for example Figure 2 In HPL, this output signal can be played through the left headphone, for example.
[0080] Furthermore, a first input end of the second power amplifier is connected to the gain amplifier, an output end of the second power amplifier is connected to the earphone socket, and a second input end of the second power amplifier is used to receive an analog audio signal.
[0081] In one possible implementation, referring to Figure 3 The second power amplifier includes a positive input terminal (+) and a negative input terminal (-), wherein the positive input terminal can be the second input point introduced above, and the negative input terminal can be the first input terminal introduced above. The specific connection of the two input terminals of the second power amplifier can be, for example, that the positive input terminal of the second power amplifier is used to receive the audio signal, and the negative input terminal of the second power amplifier is connected to the output terminal of the gain amplifier.
[0082] That is to say, the positive input terminal of the second power amplifier can input the audio signal of the right channel, wherein the audio signal input to the positive terminal of the second power amplifier has been processed by digital-to-analog conversion, so the audio signal input to the positive terminal of the second power amplifier can be an analog audio signal of the right channel. And the negative terminal of the second power amplifier can input the signal output by the gain amplifier. In a possible implementation, the second power amplifier can, for example, process the two input signals and then output the output signal of the right channel, for example Figure 3 In HPR, this output signal can be played through the right earphone, for example.
[0083] And, in the audio processing device of this embodiment, the headphone jack ground pin is connected to the gain amplifier. Therefore, in this embodiment, the headphone jack ground pin is connected to the first input terminal of the first power amplifier through the gain amplifier. In a possible implementation, the gain amplifier is used to amplify the analog reference signal at the headphone jack ground pin to obtain an analog feedback signal output to the first power amplifier.
[0084] Specifically, the earphone socket ground pin can input the compensation voltage signal amplified by the gain amplifier to the first power amplifier, so that the compensation voltage signal compensates the analog audio signal input by the first power amplifier. In this way, the signal output by the first power amplifier is the compensated signal.
[0085] See also Figure 3 , since the impedance generated by the routing of the headphone jack ground pin is abstracted as resistor Rg3, the impedance inside the headphone line is abstracted as resistor Rg1, and the impedance generated by the contact between the headphone plug and the headphone jack is abstracted as resistor Rg2. The compensation voltage signal transmitted by the headphone jack ground pin to the first power amplifier through the gain amplifier is specifically the 4-point voltage after being processed by the gain amplifier ( Figure 3 4 points in the figure), the processing of the gain amplifier here can realize compensation for the voltage division of resistors Rg1, Rg2 and Rg3. In this way, the signal output by the first power amplifier is the compensated signal. After that, it is transmitted to the left earphone through the headphone socket and the headphone cable. Since the codec chip has compensated for the voltage division of resistors Rg1, Rg2 and Rg3, it is equivalent to canceling out Rg1, Rg2 and Rg3 in the above crosstalk formula, thereby effectively reducing the interference of the right earphone to the left earphone.
[0086] In addition, in this embodiment, the headphone jack ground pin is also connected to the second power amplifier through a gain amplifier. In one possible implementation, the gain amplifier is used to amplify the analog reference signal at the headphone jack ground pin to obtain an analog feedback signal output to the second power amplifier.
[0087] Specifically, the earphone socket ground pin can input the compensation voltage signal amplified by the gain amplifier to the second power amplifier, so that the compensation voltage signal compensates the analog audio signal input by the second power amplifier. In this way, the signal output by the second power amplifier is the compensated signal.
[0088] See also Figure 3 , since the impedance generated by the routing of the ground pin of the headphone jack is abstracted as resistor Rg3, and the impedance inside the headphone line is abstracted as resistor Rg1, the impedance generated by the contact between the headphone plug and the headphone jack is abstracted as resistor Rg2. The compensation voltage signal transmitted by the ground pin of the headphone jack to the second power amplifier through the gain amplifier is specifically the 4-point voltage after being processed by the gain amplifier. The processing of the gain amplifier here can realize the compensation of the voltage division of resistors Rg1, Rg2 and Rg3. In this way, the signal output by the second power amplifier is the compensated signal. After that, it is transmitted to the right headphone through the headphone jack and the headphone line. Since the codec chip has compensated for the voltage division of resistors Rg1, Rg2 and Rg3, it is equivalent to offsetting Rg1, Rg2, and Rg3 in the above crosstalk formula, thereby effectively reducing the interference of the right headphone to the left headphone.
[0089] It should be noted here that the gain amplifier in this embodiment directly implements the amplification of analog signals, that is, the signals at the four points before the gain amplifier amplifies, and the feedback signals output to the power amplifier after the gain amplifier amplifies are all analog signals. In this way, there is no need to set an additional resistor in the middle to sample the voltage, and there is no need to perform digital-to-analog conversion on the voltage after sampling. The analog signal is directly amplified by the gain amplifier on the voltage at the four points to obtain the amplified feedback signal, so that the circuit structure can be simple and the cost is low.
[0090] At the same time, the fewer devices in the circuit, the higher the stability of the circuit. Therefore, in this embodiment, a gain amplifier is set to amplify the analog signal, thereby ensuring the stability of the circuit and further ensuring the stability of the crosstalk solution between the left earphone and the right earphone.
[0091] In one possible implementation, for example, the gain value of the gain amplifier PGA can be adjusted so that the compensation voltage signal input to the power amplifier can not only compensate for the voltage division of Rg3, but also compensate for the voltage division of Rg1 and Rg2, so as to cancel out Rg1, Rg2, and Rg3 in the above crosstalk formula. That is to say, the crosstalk between the left earphone and the right earphone can be minimized by adjusting the gain value of the gain amplifier.
[0092] The specific setting of the gain value can be selected according to actual needs, as long as it can realize the compensation voltage signal after the gain amplifier is processed and can also realize the compensation of the divided voltage of Rg1 and Rg2.
[0093] The audio processing device provided in the embodiment of the present application includes: a codec chip, a gain amplifier and an earphone socket, the codec chip includes: a first power amplifier and a second power amplifier, the earphone socket includes an earphone socket ground pin, wherein the first input end of the first power amplifier is connected to the gain amplifier, the output end of the first power amplifier is connected to the earphone socket, and the second input end of the first power amplifier is used to receive an analog audio signal; the first input end of the second power amplifier is connected to the gain amplifier, the output end of the second power amplifier is connected to the earphone socket, and the second input end of the second power amplifier is used to receive an analog audio signal; the earphone socket ground pin is connected to the gain amplifier. By connecting the earphone socket ground pin to the first input end of the first power amplifier and the first input end of the second power amplifier, and setting the gain value of the gain amplifier between the earphone socket ground pin and the first input end of the power amplifier, the voltage division generated by the impedance inside the earphone line and the voltage division generated by the impedance generated by the contact between the earphone plug and the earphone socket are offset, thereby effectively reducing the crosstalk between the left earphone and the right earphone to improve the stereo sound playback effect of the earphone.
[0094] Based on the above introduction, the connection relationship between the various components of the audio processing device provided by the present application and the implementation principle of reducing crosstalk are further introduced below.
[0095] For example, you can combine Figure 4 For further introduction, Figure 4 The circuit structure of the audio processing device provided in the embodiment of the present application is shown in FIG. Figure 2 .
[0096] like Figure 4 As shown in the above Figure 3 Based on the introduction, further, the input end of the gain amplifier can be connected to the ground pin of the headphone socket, and the output end of the gain amplifier is connected to the negative input end of the first power amplifier and the negative input end of the second power amplifier respectively.
[0097] And the codec chip in this embodiment may also include a digital-to-analog converter, which can convert the digital audio signal into an analog audio signal and input it into the power amplifier. Therefore, the input end of the digital-to-analog converter can be used to receive the digital audio signal. The output end of the digital-to-analog converter is respectively connected to the first power amplifier and the second power amplifier, and is used to input the converted analog audio signal into the first power amplifier and the second power amplifier.
[0098] Reference Figure 4 The digital-to-analog converter in this embodiment may include, for example, a first digital-to-analog converter and a second digital-to-analog converter, wherein the input end of the first digital-to-analog converter may receive the digital audio signal of the left channel. In a possible implementation, the audio processing device in this embodiment may further include a DSP chip, wherein the DCP chip is connected to the first digital-to-analog converter, and the DSP chip may output the digital audio signal of the left channel to the first digital-to-analog converter.
[0099] The first digital-to-analog converter then performs digital-to-analog conversion on the digital audio signal of the left channel, thereby outputting an analog audio signal of the left channel, wherein the output end of the first digital-to-analog converter is connected to the second input end of the first power amplifier, so that the first digital-to-analog converter can output the analog audio signal of the left channel to the first power amplifier, so that the first power amplifier performs the processing introduced above.
[0100] And reference Figure 4 In this embodiment, the second input end of the second digital-to-analog converter can receive the digital audio signal of the right channel. In a possible implementation, the DCP chip is also connected to the second digital-to-analog converter, and the DSP chip can output the digital audio signal of the right channel to the second digital-to-analog converter.
[0101] The second digital-to-analog converter then performs digital-to-analog conversion on the digital audio signal of the right channel, thereby outputting an analog audio signal of the right channel, wherein the output end of the second digital-to-analog converter is connected to the second input end of the second power amplifier, so that the second digital-to-analog converter can output the analog audio signal of the right channel to the second power amplifier, so that the second power amplifier performs the processing introduced above.
[0102] Based on the circuit structure introduced above, the specific implementation principle of solving the crosstalk between the left earphone and the right earphone in the technical solution of the present application is further explained below in combination with various possible scenarios.
[0103] In one scenario, assuming that the left channel is a full-scale signal and the right channel is a mute signal, that is, in the current situation, the left channel has a digital audio signal input (the left channel has sound), and the right channel has no digital audio signal input (the right channel has no sound). Therefore, the positive input terminal of the first power amplifier has an input analog audio signal, while the positive input terminal of the second power amplifier does not have an input analog audio signal.
[0104] Because the first power amplifier has an input analog audio signal, the first power amplifier has an output voltage. Assuming that the output voltage of the first power amplifier (i.e. Figure 4The voltage at point 1 is V1, then the voltage at point 3 V3 is the voltage divided by the resistors Rg1, Rg2, and Rg3 on the output voltage V1 of the first power amplifier, that is, the voltage at point 3 V3 can be expressed as the following formula 4:
[0105]
[0106] The voltage at point 4 is the voltage divided by the resistor Rg3 on the output voltage V1 of the first power amplifier, that is, the original voltage at point 4 V4 can be expressed as the following formula 5:
[0107]
[0108] And in the current scenario, there is no analog audio signal input to the positive input terminal of the second power amplifier, but the negative input terminal of the second power amplifier in this embodiment is connected to the ground pin of the right headphone jack through the gain amplifier, so the output voltage of the second power amplifier (i.e. Figure 4 The voltage at point 2 in the middle (V2) should be equal to the voltage at point 4 corresponding to the ground pin of the headphone jack, that is, V2 = V4.
[0109] Also, when determining the crosstalk result, attention is paid to the voltage at points V32 of the right earphone. It is understandable that, because the right channel is a mute signal at the current moment, if there is no crosstalk influence from the left earphone, the voltage at points V32 of the right earphone should theoretically be 0. Then, the smaller the voltage at points V32 of the right earphone, the smaller the crosstalk influence of the left channel on the right channel.
[0110] It can be understood that the calculation of V32 can satisfy the following formula 6:
[0111]
[0112] Based on Formula 6, it can be determined that by connecting the ground pin of the headphone jack to the negative pole of the second power amplifier, the voltage dividing effect of Rg3 is effectively eliminated, that is, Rg3 is offset to reduce the interference of the left headphone on the right headphone.
[0113] The above-described implementation process is that the gain amplifier does not play a role, and only the offset of Rg3 is achieved. Furthermore, in this embodiment, the gain value of the gain amplifier is set so that the voltage compensation signal after the gain value processing of the gain amplifier can also achieve the offset of Rg1 and Rg2.
[0114] In a possible implementation, the gain value of the gain amplifier can be determined based on the first impedance, the second impedance and the third impedance, wherein the first impedance is the impedance of the headphone cable, that is, the Rg1 introduced above; the second impedance is the contact impedance between the headphone socket and the headphone plug, that is, the Rg2 introduced above; the third impedance is the routing impedance of the ground pin of the headphone socket, that is, the Rg3 introduced above.
[0115] The gain value of the gain amplifier and the first impedance, the second impedance and the third impedance may satisfy the relationship shown in the following formula 7, for example:
[0116]
[0117] Wherein, α is the gain value, Rg1 is the first impedance, Rg2 is the second impedance, and Rg3 is the third impedance.
[0118] The process of determining the above gain value α is introduced below. It can be understood that if the influence of Rg1 and Rg2 needs to be further eliminated, the ultimate goal is actually to require V32=0.
[0119] Based on the above description, it can be determined that V32 = V3-V2 = V3-V4, so for example, it can be set In this case, V4 after the gain amplifier becomes α*V4, which is equal to V3. In this case, V32=V3-V2=V3-α*V4=V3-V3=0 can be achieved.
[0120] Specifically, the gain value α may be determined by referring to the following formula 8:
[0121]
[0122] Therefore, in this embodiment, the earphone socket ground pin is connected to the first input terminal of the second power amplifier through the gain amplifier, and the gain value is set to be equal to Thereby, the cancellation of Rg1, Rg2 and Rg3 can be effectively achieved, thereby effectively reducing the interference of the left earphone to the right earphone.
[0123] The above introduction is about the principle of reducing crosstalk in the left channel scenario. In another scenario, assuming that the right channel is a full-scale signal and the left channel is a mute signal, that is, in the current situation, the right channel has a digital audio signal input (the right channel has sound), and the left channel has no digital audio signal input (the left channel has no sound). Therefore, the positive input terminal of the second power amplifier has an input analog audio signal, while the positive input terminal of the first power amplifier does not have an input analog audio signal.
[0124] Because the second power amplifier has an input analog audio signal, the second power amplifier has an output voltage. Assuming that the output voltage of the second power amplifier (i.e. Figure 4 The voltage at point 2 is V2, then the voltage at point 3 V3 is the voltage divided by the resistors Rg1, Rg2, and Rg3 on the output voltage V2 of the second power amplifier, that is, the voltage at point 3 V3 can be expressed as the following formula 9:
[0125]
[0126] The voltage at point 4 is the voltage divided by the resistor Rg3 on the output voltage V2 of the second power amplifier, that is, the original voltage at point 4 V4 can be expressed as the following formula 10:
[0127]
[0128] And in the current scenario, there is no analog audio signal input to the positive input terminal of the first power amplifier, but the negative input terminal of the first power amplifier in this embodiment is connected to the ground pin of the headphone socket through the gain amplifier, so the output voltage of the first power amplifier (i.e. Figure 4 The voltage at point 1 in the middle (V1) should be equal to the voltage at point 4 corresponding to the ground pin of the headphone jack, that is, V1 = V4.
[0129] Also, when determining the crosstalk result, attention is paid to the voltage at points V31 of the left earphone. It is understandable that, because the left channel is a mute signal at the current moment, if there is no crosstalk influence from the right earphone, the voltage at points V31 of the left earphone should theoretically be 0. Then, the smaller the voltage at points V31 of the left earphone, the smaller the crosstalk influence of the right channel on the left channel.
[0130] It can be understood that the calculation of V31 can satisfy the following formula 11:
[0131]
[0132] Based on Formula 11, it can be determined that by connecting the ground pin of the headphone socket to the negative pole of the first power amplifier, the voltage dividing effect of Rg3 is effectively eliminated, that is, Rg3 is offset to reduce the interference of the right headphone on the left headphone.
[0133] The above-described implementation process is that the gain amplifier does not play a role, and only the offset of Rg3 is achieved. Furthermore, in this embodiment, the gain value of the gain amplifier is set so that the voltage compensation signal after the gain value processing of the gain amplifier can also achieve the offset of Rg1 and Rg2.
[0134] The implementation method of the gain value is similar to that described above, where the gain value α can be, for example, Similarly, if it is necessary to further eliminate the influence of Rg1 and Rg2, the ultimate goal is actually to have V31=0.
[0135] Based on the above description, it can be determined that V31 = V3-V1 = V3-V4, so for example, it can be set In this case, V4 after the gain amplifier becomes α*V4, which is equal to V3. In this case, V31=V3-V1=V3-α*V4=V3-V3=0 can be achieved.
[0136] Therefore, in this embodiment, the earphone socket ground pin is connected to the first input terminal of the first power amplifier through the gain amplifier, and the gain value is set to be equal to Thereby, the cancellation of Rg1, Rg2 and Rg3 can be effectively achieved, thereby effectively reducing the interference of the right earphone to the left earphone.
[0137] The above introduction is all about monophonic scenarios. The following is an explanation of dual-channel scenarios. In another scenario, it is assumed that the right channel is a full-scale signal and the left channel is also a full-scale signal. That is to say, in the current case, both the left channel and the right channel have digital audio signal inputs (both the left channel and the right channel have sound). Therefore, the positive input terminal of the first power amplifier has an input analog audio signal, and the positive input terminal of the second power amplifier also has an input analog audio signal.
[0138] First, the implementation of reducing the interference of the right earphone to the left earphone in the dual-channel scenario is described. For the right earphone, because the second power amplifier has an input analog audio signal, similar to the above description, the voltage V3 at point 3 can be expressed as:
[0139]
[0140] And the 4-point voltage can be expressed as:
[0141]
[0142] And in the current dual-channel scenario, the positive input terminal of the first power amplifier also has an input analog audio signal (for example, represented as VR), and the negative input terminal of the first power amplifier is also connected to the headphone jack ground pin through the gain amplifier. Therefore, in the current case, the output voltage of the first power amplifier (i.e. Figure 4 The voltage at point 1 (V1) should be equal to the sum of these two signals, that is, V1 = VR + V4.
[0143] Also, when determining the crosstalk result of the right earphone to the left earphone, the focus is on the voltage at points V31 of the left earphone. It is understandable that because there is also an input signal in the left ear canal and the input voltage is VR, then if there is no crosstalk influence from the right earphone, the voltage at points V31 of the left earphone should theoretically be VR. Similarly, the smaller the voltage at points V31 of the left earphone, the smaller the crosstalk influence of the right channel on the left channel.
[0144] It can be understood that the calculation of V31 can satisfy the following formula 12:
[0145]
[0146] Based on Formula 12, it can be determined that by connecting the ground pin of the headphone socket to the negative pole of the first power amplifier, the voltage dividing effect of Rg3 can be effectively eliminated, that is, Rg3 can be offset to reduce the interference of the right headphone on the left headphone.
[0147] The above-described implementation process is that the gain amplifier does not play a role, and only the offset of Rg3 is achieved. Furthermore, in this embodiment, the gain value of the gain amplifier is set so that the voltage compensation signal after the gain value processing of the gain amplifier can also achieve the offset of Rg1 and Rg2.
[0148] The implementation method of the gain value is similar to that described above, where the gain value α can be, for example, Similarly, if there is a need to further eliminate the influence of Rg1 and Rg2, the ultimate goal is actually to have V31 = VR.
[0149] Based on the above introduction, it can be determined that V31 = V3 - V1 = V3 - (VR + V4), so for example, it can be set In this case, V4 after the gain amplifier becomes α*V4, which is equal to V3. In this case, V31=V3-V1=V3-V3-(VR+α*V4)=VR can be achieved.
[0150] Therefore, in this embodiment, the earphone socket ground pin is connected to the first input terminal of the first power amplifier through the gain amplifier, and the gain value is set to be equal to Thereby, the cancellation of Rg1, Rg2 and Rg3 can be effectively achieved, thereby effectively reducing the interference of the right earphone to the left earphone.
[0151] And in the current dual-channel scenario, the implementation of reducing the interference of the right earphone to the left earphone is similar, which will not be repeated here.
[0152] In summary, the audio processing device provided in the present application is configured to connect the earphone socket ground pin to the first input terminal of the first power amplifier and the second power amplifier through a gain amplifier, and to set the gain value equal to Thereby, the cancellation of Rg1, Rg2 and Rg3 can be effectively achieved, thereby effectively reducing the crosstalk between the right earphone and the left earphone.
[0153] In a possible implementation, the audio processing device described above may be, for example, a PCB board.
[0154] At the same time, because Rg3 includes a frequency modulation (FM) ground magnetic bead, it assumes the function of isolating the FM signal. Generally, the direct current resistance (DCR) of magnetic beads with good FM performance is higher, and DCR has an impact on hybrid pulse (HP). Therefore, in the actual implementation process, a balance must be achieved between FM sensitivity and HP performance. The technical solution provided in this application can effectively offset Rg3, so the impact of DCR on HP can be ignored, making the selection of FM magnetic beads more flexible.
[0155] On the basis of any of the above embodiments, the embodiment of the present application further provides a terminal device. The terminal device includes the audio processing device in any of the above embodiments. The implementation principle and technical effect are similar and will not be described in detail here.
[0156] In the present application, unless otherwise clearly stipulated and limited, the terms "connect", "connected", "fixed", "installed", etc. should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in this application according to the specific circumstances.
[0157] The term "include", as well as its derivatives, means inclusion without limitation. The term "or" is inclusive, meaning and / or.
[0158] The term "circuit" refers to (a) only hardware circuit implementations (e.g., implementations in analog circuits and / or digital circuits); (b) a combination of circuits and computer program products including software and / or firmware instructions stored on one or more computer-readable memories, which instructions work together to cause the device to perform one or more functions described herein; and (c) circuits that require software or firmware (even if the software or firmware is not physically present) to operate, such as a microprocessor or a portion of a microprocessor. This definition of "circuit" also applies to all uses of the term herein, including in any claims. As another example, herein, the term "circuit" also includes implementations of one or more processors and / or portions thereof and accompanying software and / or firmware.
[0159] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An audio processing device, It is characterized in that include: A codec chip, a gain amplifier and an earphone jack, wherein the codec chip comprises: a first power amplifier and a second power amplifier, and the earphone jack comprises an earphone jack ground pin, wherein: The first input end of the first power amplifier is connected to the gain amplifier, the output end of the first power amplifier is connected to the headphone socket, and the second input end of the first power amplifier is used to receive an analog audio signal; The first input end of the second power amplifier is connected to the gain amplifier, the output end of the second power amplifier is connected to the headphone socket, and the second input end of the second power amplifier is used to receive an analog audio signal; The earphone socket ground pin is connected to the gain amplifier; The first input terminal is a negative input terminal, and the second input terminal is a positive input terminal, wherein, The positive input terminal of the first power amplifier is used to receive an audio signal; The negative input terminal of the first power amplifier is connected to the output terminal of the gain amplifier.
2. The audio processing device according to claim 1, It is characterized in that The first input terminal is a negative input terminal, and the second input terminal is a positive input terminal, wherein, The positive input terminal of the second power amplifier is used to receive an audio signal; The negative input terminal of the second power amplifier is connected to the output terminal of the gain amplifier.
3. The audio processing device according to any one of claims 1 to 2, It is characterized in that The gain value of the gain amplifier is determined according to the first impedance, the second impedance and the third impedance, wherein: The first impedance is the impedance of the headphone line; The second impedance is the contact impedance between the headphone socket and the headphone plug; The third impedance is the routing impedance of the ground pin of the headphone socket.
4. The audio processing device according to claim 3, It is characterized in that The gain value of the gain amplifier and the first impedance, the second impedance and the third impedance satisfy the following relationship: Wherein, the α is the gain value, the Rg1 is the first impedance, the Rg2 is the second impedance, and the Rg3 is the third impedance.
5. The audio processing device according to any one of claims 1 to 2 or 4, It is characterized in that The input end of the gain amplifier is connected to the ground pin of the headphone socket; The output end of the gain amplifier is connected to the first input end of the first power amplifier and the first input end of the second power amplifier respectively.
6. The audio processing device according to any one of claims 1 to 2 or 4, It is characterized in that The codec chip also includes a digital-to-analog converter, wherein: The input end of the digital-to-analog converter is used to receive a digital audio signal; The output end of the digital-to-analog converter is connected to the first power amplifier and the second power amplifier respectively.
7. The audio processing device according to claim 6, It is characterized in that The digital-to-analog converter comprises a first digital-to-analog converter and a second digital-to-analog converter, wherein: The input end of the first digital-to-analog converter is used to receive a digital audio signal, and the output end of the first digital-to-analog converter is connected to the second input end of the first power amplifier; The input end of the second digital-to-analog converter is used to receive a digital audio signal, and the output end of the second digital-to-analog converter is connected to the second input end of the second power amplifier.
8. The audio processing device according to claim 7, It is characterized in that The audio processing device also includes a digital signal processing DSP chip, wherein: The DSP chip is connected to the digital-to-analog converter, and the DSP chip is used to output the digital audio signal to the digital-to-analog converter.
9. A terminal device, It is characterized in that The invention comprises the audio processing device as claimed in any one of claims 1 to 8.
