Audio circuit and electronic equipment
By introducing a switching module into the audio circuit, two audio signals can be switched to one output, which solves the problem of CODEC-free audio circuits being unable to support analog headphones, reduces costs and improves user experience.
Patent Information
- Application Number
- CN202410676539.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-10
AI Technical Summary
CODEC-free audio circuits cannot support the audio output of analog headphones, resulting in increased headphone design and production costs and inconvenience for users.
Design an audio circuit, including a driver amplifier module, a switching module and an analog headphone interface, to switch the output audio signal in different playback modes, realize the switching of two audio signals into one audio signal, and directly output it to the analog headphone interface to avoid Meet the needs of digital-to-analog conversion devices and adapter cables.
It supports the audio output of analog headphones without adding digital-to-analog conversion devices and adapter cables, reducing costs and simplifying user use.
Smart Images

Figure CN118632167A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic products, and in particular to an audio circuit and electronic equipment. Background Art
[0002] An audio circuit is set in an electronic device (such as a mobile phone or tablet product, etc.) to achieve audio output. At present, some electronic devices have adopted an audio circuit without a codec (CODEC), that is, the CODEC is omitted in the audio circuit, and a microphone and an audio amplifier with a digital interface are used to realize the audio function, and only the audio output of pure digital headphones can be supported, and the audio output of analog headphones cannot be supported. If an analog headset is used on an electronic device with an audio circuit without a CODEC, an analog-to-digital converter device needs to be set on the analog headset, which will increase the design and production costs of the headset; or the analog headset and the electronic device are connected through an adapter cable with digital-to-analog conversion, which requires additional design and production costs of the adapter cable with digital-to-analog conversion, and causes inconvenience to the user. Summary of the invention
[0003] The embodiments of the present application provide an audio circuit and an electronic device to solve the problem that an audio circuit without a CODEC cannot support the audio output of an analog headset.
[0004] In order to solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides an audio circuit, comprising: a first driving amplifier module, a switching module, a first sound-generating device, and an analog headphone interface; wherein:
[0006] The first driving power amplifier module is connected to the first sound-generating device and the analog headphone interface respectively through the switching module;
[0007] In the first playback mode, the switching module outputs the two-channel audio signals output by the first driving amplifier module to the first sound-generating device;
[0008] In the second playback mode, the switching module outputs one audio signal output by the first driving amplifier module to the analog headphone interface; or, the switching module switches two audio signals output by the first driving amplifier module into one audio signal, and outputs the one audio signal to the analog headphone interface.
[0009] In a second aspect, an embodiment of the present application provides an electronic device, comprising the audio circuit as described above.
[0010] Thus, in the above scheme of the present application, the first driving power amplifier module in the audio circuit is connected to the first speaker sound-emitting device and the analog headphone interface respectively through the switching module; and in the first playback mode, the two-way audio signal output by the first driving power amplifier module is output to the first sound-emitting device through the switching module; and in the second playback mode, the one-way audio signal output by the first driving power amplifier module is output to the analog headphone interface through the switching module; or the two-way audio signal output by the first driving power amplifier module is switched to one-way audio signal, and this one-way audio signal is output to the analog headphone interface. In this way, for the audio circuit without CODEC design, it is possible to realize that the audio circuit can support the audio output of the analog headphone without adding the design of the digital-to-analog conversion device in the analog headphone and without the need for an additional adapter with digital-to-analog conversion, thereby solving the problem that the current audio circuit without CODEC design cannot support the audio output of the analog headphone, and can reduce the cost of designing the digital-to-analog conversion device in the analog headphone, and reduce the cost of using an additional adapter with digital-to-analog conversion, and is convenient for users to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 One of the schematic diagrams showing the audio circuit of an embodiment of the present application;
[0012] Figure 2 A second schematic diagram showing an audio circuit according to an embodiment of the present application;
[0013] Figure 3 A schematic diagram showing audio output of the audio circuit in a first playback mode according to an embodiment of the present application;
[0014] Figure 4 A schematic diagram showing the audio output of the audio circuit in the second playback mode according to an embodiment of the present application. DETAILED DESCRIPTION
[0015] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0016] like Figure 1 and Figure 2 As shown, an embodiment of the present application provides an audio circuit, comprising: a first driving power amplifier module 1, a switching module 3, a first sound device 4 and an analog headphone interface 5; wherein the first driving power amplifier module 1 is connected to the first sound device 4 and the analog headphone interface 5 respectively through the switching module 3;
[0017] In the first playing mode, the switching module 3 outputs the two-channel audio signals output by the first driving amplifier module 1 to the first sound generating device 4;
[0018] In the second playback mode, the switching module 3 outputs one audio signal output by the first driving amplifier module 1 to the analog headphone interface 5; or, the switching module 3 switches two audio signals output by the first driving amplifier module 1 into one audio signal, and outputs the one audio signal to the analog headphone interface 5.
[0019] Optionally, the first driving amplifier module 1 can be connected to an integrated circuit internal audio (Inter-IC Sound, I2S) bus and can receive a digital audio signal from the I2S bus. The first driving amplifier module 1 can convert the digital audio signal into a differential analog signal and amplify the signal.
[0020] Optionally, the first driving amplifier module 1 can output two audio signals for audio output in the first playback mode and the second playback mode; or, the first driving amplifier module 1 can output two audio signals for audio output in the first playback mode, and output one audio signal for audio output in the second playback mode.
[0021] Optionally, the switching module 3 can support switching between multiple channels. For example, the switching module 3 can switch the first driving amplifier module 1 to be connected to the first sounding device 4, or switch the first driving amplifier module 1 to be connected to the analog headphone interface 5.
[0022] See also Figure 1 , taking the first driving power amplifier module 1 supporting the output of two audio signals or outputting one audio signal as an example: in the first playback mode, the first driving power amplifier module 1 supports the output of two audio signals, and the switching module 3 can be switched to the first driving power amplifier module 1 to be connected with the first sound-emitting device 4, that is, the switching module 3 outputs the two audio signals output by the first driving power amplifier module 1 to the first sound-emitting device 4; in the second playback mode, the first driving power amplifier module 1 supports the output of one audio signal, and the switching module 3 can be switched to the first driving power amplifier module 1 to be connected with the analog headphone interface 5, that is, the switching module 3 outputs the one audio signal output by the first driving power amplifier module 1 to the analog headphone interface 5.
[0023] See also Figure 2, taking the example that the first driving power amplifier module 1 supports outputting two-channel audio signals: in the first playback mode, the switching module 3 can be switched to the first driving power amplifier module 1 to be connected to the first sound-emitting device 4, that is, the switching module 3 outputs the two-channel audio signals output by the first driving power amplifier module 1 to the first sound-emitting device 4; in the second playback mode, the switching module 3 can be switched to the first driving power amplifier module 1 to be connected to the analog headphone interface 5, and the switching module 3 can switch the two-channel audio signals output by the first driving power amplifier module 1 to one-channel audio signal, and output the one-channel audio signal to the analog headphone interface 5.
[0024] Optionally, the analog headphone interface 5 can be a physical headphone interface for connecting to the headphone plug on the analog headphone, or the analog headphone interface 5 can also be a virtual headphone interface for connecting to the physical headphone interface (for example, the virtual headphone interface can be composed of various terminals for connecting to the physical headphone interface, and the various terminals for connecting to the physical headphone interface here include but are not limited to: left channel terminal, right channel terminal, ground terminal, etc.), and the embodiments of the present application are not limited to this.
[0025] Optionally, the first sound-emitting device 4, or the first speaker, may be one of a receiver (RCV) and a speaker (SPK). For example, when the first sound-emitting device 4 is an RCV, the first playback mode may be called a receiver mode; or, when the first sound-emitting device 4 is an SPK, the first playback mode may be called a speaker mode. The second playback mode may be called a headphone mode.
[0026] In the embodiment of the present application, the first driving power amplifier module 1 in the audio circuit is connected to the first sound device 4 and the analog headphone interface 5 respectively through the switching module 3; and in the first play mode, the two-way audio signal output by the first driving power amplifier module 1 is output to the first sound device 4 through the switching module 3; and in the second play mode, the one-way audio signal output by the first driving power amplifier module 1 is output to the analog headphone interface 5 through the switching module 3; or the two-way audio signal output by the first driving power amplifier module 1 is switched to one-way audio signal, and the one-way audio signal is output to the analog headphone interface 5. In this way, for the audio circuit without CODEC design, it can be realized that the audio circuit can support the audio output of the analog headphone without adding the design of the digital-to-analog conversion device in the analog headphone and without the need for an additional adapter with digital-to-analog conversion, which solves the problem that the current audio circuit without CODEC design cannot support the audio output of the analog headphone, and can reduce the cost of designing the digital-to-analog conversion device in the analog headphone, and reduce the cost of using the additional adapter with digital-to-analog conversion, and is convenient for users to use.
[0027] Optionally, the switching module 3 includes: a multi-channel switching switch 31; wherein the multi-channel switching switch 31 includes: a first connection end 1', a second connection end 2', a third connection end 3', a fourth connection end 4', a fifth connection end 5' and a sixth connection end 6'; the first connection end 1' is connected to the first output end of the first driving power amplifier module 1, the second connection end 2' is connected to the second output end of the first driving power amplifier module 1, the third connection end 3' and the fourth connection end 4' are respectively connected to the first sound-emitting device 4, and the fifth connection end 5' and the sixth connection end 6' are respectively connected to the analog headphone interface 5;
[0028] In the first play mode, the first connection end 1' is connected to the third connection end 3', and the second connection end 2' is connected to the fourth connection end 4';
[0029] In the second play mode, the first connection end 1' is connected to the fifth connection end 5', and the second connection end 2' is connected to the sixth connection end 6'.
[0030] For example, take the first driving power amplifier module 1 supporting the output of two audio signals or outputting one audio signal as an example: in the first playback mode, the first driving power amplifier module 1 supports the output of two audio signals, and the switching module 3 can switch to the first driving power amplifier module 1 to be connected with the first sound-emitting device 4, that is, the first connection terminal 1' is connected with the third connection terminal 3', and the second connection terminal 2' is connected with the fourth connection terminal 4'. In this way, the switching module 3 can output one of the audio signals output by the first driving power amplifier module 1 to the first sound-emitting device 4 through the first connection terminal 1' and the third connection terminal 3', and output the other audio signal output by the first driving power amplifier module 1 to the first sound-emitting device 4 through the second connection terminal 2' and the fourth connection terminal 4'.
[0031] In the second playback mode, the first driving power amplifier module 1 supports outputting one audio signal, and the switching module 3 can switch to the first driving power amplifier module 1 to be connected to the analog headphone interface 5, that is, the first connection terminal 1' is connected to the fifth connection terminal 5', and the second connection terminal 2' is connected to the sixth connection terminal 6'. At this time, since the first driving power amplifier module 1 has only one audio signal output, the switching module 3 can output the audio signal output by the first driving power amplifier module 1 to the analog headphone interface 5 (for example, the switching module 3 can output the audio signal output by the first driving power amplifier module 1 to the analog headphone interface 5 through the first connection terminal 1' and the fifth connection terminal 5').
[0032] For another example, take the first driving power amplifier module 1 supporting the output of two audio signals as an example: in the first playback mode, the first driving power amplifier module 1 supports the output of two audio signals, and the switching module 3 can switch to the first driving power amplifier module 1 to be connected to the first sound-emitting device 4, that is, the first connection terminal 1' is connected to the third connection terminal 3', and the second connection terminal 2' is connected to the fourth connection terminal 4'. In this way, the switching module 3 can output one of the audio signals output by the first driving power amplifier module 1 to the first sound-emitting device 4 through the first connection terminal 1' and the third connection terminal 3', and output the other audio signal output by the first driving power amplifier module 1 to the first sound-emitting device 4 through the second connection terminal 2' and the fourth connection terminal 4'.
[0033] In the second playback mode, the first driving power amplifier module 1 supports outputting one audio signal, and the switching module 3 can switch to the first driving power amplifier module 1 to be connected to the analog headphone interface 5, that is, the first connection terminal 1' is connected to the fifth connection terminal 5', and the second connection terminal 2' is connected to the sixth connection terminal 6'. At this time, since the first driving power amplifier module 1 has two audio signal outputs, the first connection terminal 1' and the fifth connection terminal 5' can be used to transmit one of the audio signals, and the second connection terminal 2' and the sixth connection terminal 6' can be used to transmit the other audio signal, and the switching module 3 can switch the two audio signals into one audio signal, and output the one audio signal to the analog headphone interface 5.
[0034] Optionally, see Figure 1 , the audio circuit further includes: a first single-channel switching switch 11; wherein the first end of the first single-channel switching switch 11 is respectively connected to the second output end of the first driving power amplifier module 1 and the second connection end 2' of the switching module 3, and the second end of the first single-channel switching switch 11 is grounded; the fifth connection end 5' is connected to the first channel terminal of the analog headphone interface 5, and the sixth connection end 6' is connected to the ground terminal of the analog headphone interface 5;
[0035] In the first playback mode, the first end of the first single-channel switching switch 11 is disconnected from the second end; the first output end of the first driving power amplifier module 1 outputs the first audio signal to the first connection end 1' of the switching module 3, and the second output end of the first driving power amplifier module 1 outputs the second audio signal to the second connection end 2' of the switching module 3; the third connection end 3' of the switching module 3 outputs the first audio signal to the first sound-emitting device 4, and the fourth connection end 4' of the switching module 3 outputs the second audio signal to the first sound-emitting device 4;
[0036] In the second playback mode, the first end and the second end of the first single-channel switching switch 11 are connected; the first output end of the first driving amplifier module 1 outputs an audio signal to the first connection end 1' of the switching module 3, and the fifth connection end 5' of the switching module 3 outputs the audio signal to the first channel terminal of the analog headphone interface 5.
[0037] Optionally, the first channel terminal may be one of a left channel terminal and a right channel terminal.
[0038] For example, the first single-channel switching switch 11 can be integrated in the first driving power amplifier module 1, or the first single-channel switching switch 11 can also be set outside the first driving power amplifier module 1. It should also be noted here that the embodiment of the present application is not limited to the first single-channel switching switch 11 being set at the output end of the first driving power amplifier module 1. For example, in another or some embodiments, the first single-channel switching switch 11 can also be set after the switching module 3, such as one end of the first single-channel switching switch 11 is connected to the sixth connection end 6', and the other end is grounded, etc. The embodiment of the present application is not limited to this.
[0039] For example, in the first playback mode, since the first end of the first single-channel switching switch 11 is disconnected from the second end, the first driving power amplifier module 1 can support the output of two audio signals, and the two audio signals can be output to the first sound-emitting device 4 through the switching module 3. In the second playback mode, the first end of the first single-channel switching switch 11 is connected to the second end, that is, the second output end of the first driving power amplifier module 1 is grounded, then the first driving power amplifier module 1 only supports the output of one audio signal (that is, the first output end of the first driving power amplifier module 1 outputs one audio signal), and the audio signal output from the first output end of the first driving power amplifier module 1 is output to the analog headphone interface 5 through the switching module 3.
[0040] Optionally, the first driving power amplifier module 1 includes: a first signal amplifying unit 12 and a first digital-to-analog conversion unit 13; wherein the first digital-to-analog conversion unit 13 may also be referred to as a digital-to-analog converter (DAC).
[0041] The input end of the first digital-to-analog conversion unit 13 is used to receive a digital audio signal, the first output end of the first digital-to-analog conversion unit 13 is connected to the first input end of the first signal amplifying unit 12, the second output end of the first digital-to-analog conversion unit 13 is connected to the second input end of the first signal amplifying unit 12, and the first output end and the second output end of the first signal amplifying unit 12 are both connected to the switching module 3;
[0042] The first digital-to-analog conversion unit 13 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal, and the first output end of the first digital-to-analog conversion unit 13 outputs the first differential analog audio signal to the first input end of the first signal amplifying unit 12, and the second output end of the first digital-to-analog conversion unit 13 outputs the second differential analog audio signal to the second input end of the first signal amplifying unit 12.
[0043] For example, the first driving amplifier module 1 further includes but is not limited to: a first digital interface and a first digital data processing unit; wherein the first digital interface can be connected to the I2S bus, and the first digital interface is connected to the first digital-to-analog conversion unit 13 through the first digital data processing unit. In this way, the audio signal output from the I2S bus can be transmitted from the first digital interface to the first digital-to-analog conversion unit 13 through the first digital data processing unit.
[0044] For example, the first digital-to-analog conversion unit 13 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal (i.e., two audio signals). In this way, in the first playback mode, the first signal amplification unit 12 can amplify the first differential analog audio signal and the second differential analog audio signal, and since the first end and the second end of the first single-channel switching switch 11 are disconnected, the two audio signals can be output to the first sound-emitting device 4 through the switching module 3 respectively. In the second playback mode, the first signal amplification unit 12 amplifies the first differential analog audio signal and the second differential analog audio signal, and since the first end and the second end of the first single-channel switching switch 11 are connected, that is, the second output end of the first driving power amplifier module 1 is grounded, the first differential analog audio signal and the second differential analog audio signal are combined into one audio signal, and output to the analog headphone interface 5 through the switching module 3.
[0045] Optionally, the first signal amplifying unit 12 includes: a second amplifier 121 and a third amplifier 122; wherein, the first output end of the first digital-to-analog conversion unit 13 is respectively connected to the first input end of the second amplifier 121 and the first input end of the third amplifier 122, and the second output end of the first digital-to-analog conversion unit 13 is respectively connected to the second input end of the second amplifier 121 and the second input end of the third amplifier 122; the output end of the second amplifier 121 is connected to the first connection end 1' of the switching module 3; the first output end of the third amplifier 122 is connected to the first connection end 1' of the switching module 3, and the second output end of the third amplifier 122 is connected to the second connection end 2' of the switching module 3.
[0046] Optionally, the second amplifier 121 is a Class-AB amplifier, and / or the third amplifier 122 is a Class-D amplifier.
[0047] In this embodiment, considering that the conventional analog headphone interface is different from the balanced interface, its left and right channels are driven by single-ended signals. Therefore, a Class-AB amplifier with differential input and single-ended output is integrated inside the first driving power amplifier module 1. The single-ended output audio signal is transmitted to the analog headphones through the first output terminal of the first driving power amplifier module 1 and the path of the switching module 3 as the driving signal of the analog headphones. The second output terminal of the first driving power amplifier module 1 is grounded and connected to the ground terminal of the analog headphones, so as to form a complete loop in the analog headphone playback mode.
[0048] like Figure 3 As shown, in the first playback mode (the transmission path is shown by the dotted arrow), the first single-channel switching switch 11 is turned on (ie, the first single-channel switching switch 11 is in the disconnected state). The I2S signal is input to the first driving power amplifier module 1, converted into a differential analog signal by the first digital-to-analog conversion unit 13 inside the first driving power amplifier module 1, and then modulated into a pulse width modulation (PWM) differential signal and amplified by the Class-D amplifier (i.e., the third amplifier 122) integrated in the first signal amplification unit 12 inside the first driving power amplifier module 1. Since the first single-channel switching switch 11 is turned on, the Class-D amplifier (i.e., the third amplifier 122) outputs the amplified PWM differential signal at this time, which can be transmitted to the multi-channel switching switch 31 through the paths Out_P1 and Out_N1 between the first driving power amplifier module 1 and the multi-channel switching switch 31. In this way, the paths Out_P1 and Out_N1 are switched to the path of the first sound-emitting device 4 through the multi-channel switching switch 31, so that the first sound-emitting device 4 plays audio (for example, when the first sound-emitting device 4 is RCV, the earpiece mode plays audio).
[0049] In this embodiment, considering that the driving current of the first sound-generating device 4 (such as a receiver or a speaker) is relatively large when it is working, a Class-D amplifier with PWM differential output is preferably used for driving to ensure audio output efficiency.
[0050] like Figure 4As shown, in the second playback mode (the transmission path is shown by the dotted arrow), the first single-channel switching switch 11 is closed (ie, the first single-channel switching switch 11 is in the on state). The I2S signal is input to the first driving power amplifier module 1, converted into a differential analog signal by the first digital-to-analog conversion unit 13 inside the first driving power amplifier module 1, and then is differentially input and single-endedly output by the Class-AB amplifier (i.e., the second amplifier 121) integrated in the first signal amplification unit 12 inside the first driving power amplifier module 1. The audio signal output by the Class-AB amplifier (i.e., the second amplifier 121) is transmitted to the multi-channel switching switch 31 through the path Out_P1, so that the path Out_P1 is switched to the first channel terminal of the analog headphone interface 5 through the multi-channel switching switch 31, and because the first single-channel switching switch 11 is closed, the path Out_N1 between the first driving power amplifier module 1 and the multi-channel switching switch 31 is grounded, that is, a path from the first channel terminal to the ground terminal is formed, thereby realizing the analog headphone audio playback (for example, when the first channel terminal is the left channel terminal, the headphone mode is realized to play the left channel audio).
[0051] In this embodiment, considering that the current of the analog earphone is very small when it is working, a Class-AB amplifier with low distortion is used to drive it to ensure the sound quality of the audio playback.
[0052] Optionally, see Figure 2 , the switching module 3 further includes: a single-ended conversion unit 32; wherein the first input end of the single-ended conversion unit 32 is connected to the fifth connection end 5', the second input end of the single-ended conversion unit 32 is connected to the sixth connection end 6', the first output end of the single-ended conversion unit 32 is connected to the first channel terminal of the analog headphone interface 5, and the ground terminal of the analog headphone interface 5 is grounded;
[0053] In the second playback mode, the first output end of the first driving amplifier module 1 outputs the first audio signal to the first connection end 1' of the switching module 3, and the second output end of the first driving amplifier module 1 outputs the second audio signal to the second connection end 2' of the switching module 3; the fifth connection end 5' of the switching module 3 outputs the first audio signal to the first input end of the single-ended conversion unit 32, and the sixth connection end 6' of the switching module 3 outputs the second audio signal to the second input end of the single-ended conversion unit 32; the single-ended conversion unit 32 switches the first audio signal and the second audio signal into one audio signal, and the first output end of the single-ended conversion unit 32 outputs the one audio signal to the first channel terminal of the analog headphone interface 5.
[0054] Optionally, the first channel terminal may be one of a left channel terminal and a right channel terminal.
[0055] In this embodiment, the first output end of the first driving power amplifier module 1 outputs the first audio signal to the first connection end 1' of the switching module 3, and the second output end of the first driving power amplifier module 1 outputs the second audio signal to the second connection end 2' of the switching module 3. In the first playback mode, the switching module 3 switches to the first driving power amplifier module 1 to be connected to the first sound-emitting device 4, that is, the first connection end 1' is connected to the third connection end 3', the second connection end 2' is connected to the fourth connection end 4', the third connection end 3' of the switching module 3 outputs the first audio signal to the first sound-emitting device 4, and the fourth connection end 4' of the switching module 3 outputs the second audio signal to the first sound-emitting device 4, that is, the first sound-emitting device 4 plays audio (for example, when the first sound-emitting device 4 is RCV, the handset mode plays audio). In the second playback mode, the switching module 3 switches to the first driving amplifier module 1 and is connected to the analog headphone interface 5, that is, the first connection end 1' is connected to the fifth connection end 5', the second connection end 2' is connected to the sixth connection end 6', the fifth connection end 5' of the switching module 3 outputs the first audio signal to the first input end of the single-ended conversion unit 32, and the sixth connection end 6' of the switching module 3 outputs the second audio signal to the second input end of the single-ended conversion unit 32; the single-ended conversion unit 32 switches the first audio signal and the second audio signal into one audio signal (that is, the single-ended conversion unit 32 converts the differential signal into a single-ended output), and this audio signal is sent to the first channel terminal of the analog headphone interface 5 to realize the single-ended output analog headphone drive, that is, to realize the analog headphone playback audio.
[0056] Optionally, the single-ended conversion unit 32 includes: a first amplifier 321; wherein the first input terminal of the first amplifier 321 is connected to the fifth connection terminal 5', the second input terminal of the first amplifier 321 is connected to the sixth connection terminal 6', and the output terminal of the first amplifier 321 is connected to the first channel terminal of the analog headphone interface 5.
[0057] Optionally, the first driving power amplifier module 1 includes: a first signal amplifying unit 12 and a first digital-to-analog conversion unit 13; wherein the input end of the first digital-to-analog conversion unit 13 is used to receive a digital audio signal, the first output end of the first digital-to-analog conversion unit 13 is connected to the first input end of the first signal amplifying unit 12, the second output end of the first digital-to-analog conversion unit 13 is connected to the second input end of the first signal amplifying unit 12, and the first output end and the second output end of the first signal amplifying unit 12 are both connected to the switching module 3;
[0058] The first digital-to-analog conversion unit 13 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal, and the first output end of the first digital-to-analog conversion unit 13 outputs the first differential analog audio signal to the first input end of the first signal amplifying unit 12, and the second output end of the first digital-to-analog conversion unit 13 outputs the second differential analog audio signal to the second input end of the first signal amplifying unit 12.
[0059] For example, the first driving amplifier module 1 further includes but is not limited to: a first digital interface and a first digital data processing unit; wherein the first digital interface can be connected to the I2S bus, and the first digital interface is connected to the first digital-to-analog conversion unit 13 through the first digital data processing unit. In this way, the audio signal output from the I2S bus can be transmitted from the first digital interface to the first digital-to-analog conversion unit 13 through the first digital data processing unit.
[0060] For example, the first digital-to-analog conversion unit 13 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal (i.e., two-channel audio signals), and the first signal amplification unit 12 can amplify the first differential analog audio signal and the second differential analog audio signal. In this way, in the first playback mode, the amplified two-channel audio signals can be output to the first sound-emitting device 4 through the multi-channel switching switch 31, that is, the first sound-emitting device 4 plays audio. In the second playback mode, the amplified two-channel audio signals can be output to the single-ended conversion unit 32 through the multi-channel switching switch 31, and the single-ended conversion unit 32 switches the two-channel audio signals into one-channel audio signal, and the audio signal is sent to the first channel terminal of the analog headphone interface 5, that is, the analog headphone plays audio.
[0061] Optionally, the first signal amplifying unit 12 includes: a second amplifier 121 and a third amplifier 122; wherein, the first output end of the first digital-to-analog conversion unit 13 is respectively connected to the first input end of the second amplifier 121 and the first input end of the third amplifier 122, and the second output end of the first digital-to-analog conversion unit 13 is respectively connected to the second input end of the second amplifier 121 and the second input end of the third amplifier 122; the output end of the second amplifier 121 is connected to the first connection end 1' of the switching module 3; the first output end of the third amplifier 122 is connected to the first connection end 1' of the switching module 3, and the second output end of the third amplifier 122 is connected to the second connection end 2' of the switching module 3.
[0062] Optionally, the second amplifier 121 is a class AB amplifier, and / or the third amplifier is a class D amplifier.
[0063] Optionally, see Figure 1 and Figure 2 , the first driving power amplifier module 1 also includes: a first analog-to-digital conversion unit 14 and a first digital data processing unit; wherein the first input end of the first analog-to-digital conversion unit 14 is connected to the first output end of the first signal amplifying unit 12, the second input end of the first analog-to-digital conversion unit 14 is connected to the second output end of the first signal amplifying unit 12, and the output end of the first analog-to-digital conversion unit 14 is connected to the first digital data processing unit;
[0064] The first analog-to-digital conversion unit 14 converts the voltage and / or current signal detected output by the first signal amplification unit 12 into a digital signal, and outputs the digital signal to the first digital data processing unit; wherein the digital signal is used for sound device protection processing and / or headphone impedance detection processing.
[0065] The first analog-to-digital conversion unit 14 may be referred to as an analog-to-digital converter (ADC). Optionally, the first analog-to-digital conversion unit 14 converts the voltage and / or current signal detected output by the first signal amplification unit 12 into a digital signal, and outputs the signal to the first digital data processing unit, which may perform sound device protection processing and / or headphone impedance detection processing.
[0066] like Figure 3 As shown, for example, in the first playback mode (the transmission path is shown by the dotted arrow), the first analog-to-digital conversion unit 14 inside the first driving power amplifier module 1 can detect the current and / or voltage of Out_P1 and Out_N1 in real time, and convert the detected voltage and / or current signal into a digital signal and output it to the first digital data processing unit, and the first digital data processing unit implements the protection processing of the first sound device 4 based on the protection algorithm of the first driving power amplifier module 1.
[0067] For example, in the second playback mode, the first analog-to-digital conversion unit 14 inside the first driving amplifier module 1 can detect the current and / or voltage of Out_P1 in real time, and convert the detected voltage and / or current signal into a digital signal and output it to the first digital data processing unit, which performs headphone impedance detection.
[0068] Optionally, see Figure 1 and Figure 2, the audio circuit further includes: a second driving power amplifier module 2 and a second sound device 6; wherein the second driving power amplifier module 2 is connected to the second sound device 6 and the analog headphone interface 5 respectively through the switching module 3;
[0069] In the third playing mode, the switching module 3 outputs the two-channel audio signals output by the second driving amplifier module 2 to the second sound generating device 6;
[0070] In the second playback mode, the switching module 3 outputs one audio signal output by the second driving amplifier module 2 to the analog headphone interface 5; or, the switching module 3 switches two audio signals output by the second driving amplifier module 2 into one audio signal, and outputs the one audio signal to the analog headphone interface 5.
[0071] Optionally, the second driving power amplifier module 2 may be connected to an I2S bus and may receive a digital audio signal from the I2S bus. The second driving power amplifier module 2 may convert the digital audio signal into a differential analog signal and perform signal amplification.
[0072] Optionally, the second driving amplifier module 2 can output two audio signals for audio output in the third playback mode and the second playback mode; or, the second driving amplifier module 2 can output two audio signals for audio output in the third playback mode, and output one audio signal for audio output in the second playback mode.
[0073] Optionally, the switching module 3 can support switching between multiple channels. For example, the switching module 3 can switch the second driving amplifier module 2 to conduct with the second sound generating device 6 , or switch the second driving amplifier module 2 to conduct with the analog headphone interface 5 .
[0074] See also Figure 1 , taking the second driving power amplifier module 2 supporting the output of two audio signals or outputting one audio signal as an example: in the third playback mode, the second driving power amplifier module 2 supports the output of two audio signals, and the switching module 3 can be switched to the second driving power amplifier module 2 to be connected with the second sound-emitting device 6, that is, the switching module 3 outputs the two audio signals output by the second driving power amplifier module 2 to the second sound-emitting device 6; in the second playback mode, the second driving power amplifier module 2 supports the output of one audio signal, and the switching module 3 can be switched to the second driving power amplifier module 2 to be connected with the analog headphone interface 5, that is, the switching module 3 outputs the one audio signal output by the second driving power amplifier module 2 to the analog headphone interface 5.
[0075] See also Figure 2, taking the second driving power amplifier module 2 supporting the output of two audio signals as an example: in the third playback mode, the switching module 3 can be switched to the second driving power amplifier module 2 to be connected with the second sound-emitting device 6, that is, the switching module 3 outputs the two audio signals output by the second driving power amplifier module 2 to the second sound-emitting device 6; in the second playback mode, the switching module 3 can be switched to the second driving power amplifier module 2 to be connected with the analog headphone interface 5, and the switching module 3 can switch the two audio signals output by the second driving power amplifier module 2 to one audio signal, and output the one audio signal to the analog headphone interface 5.
[0076] Optionally, the second sound-emitting device 6, or the second speaker, may be one of RCV and SPK. For example, when the second sound-emitting device 6 is RCV, the third playback mode may be called earpiece mode; or, when the second sound-emitting device 6 is SPK, the third playback mode may be called speaker mode.
[0077] Optionally, the multi-channel switch 31 further includes: a seventh connection terminal 1", an eighth connection terminal 2", a ninth connection terminal 3", a tenth connection terminal 4", an eleventh connection terminal 5" and a twelfth connection terminal 6"; the seventh connection terminal 1" is connected to the first output terminal of the second driving power amplifier module 2, the eighth connection terminal 2" is connected to the second output terminal of the second driving power amplifier module 2, the ninth connection terminal 3" and the tenth connection terminal 4" are respectively connected to the second sound-emitting device 6, and the eleventh connection terminal 5" and the twelfth connection terminal 6" are respectively connected to the analog headphone interface 5;
[0078] In the third playback mode, the seventh connection terminal 1" is connected to the ninth connection terminal 3", and the eighth connection terminal 2" is connected to the tenth connection terminal 4";
[0079] In the second play mode, the seventh connection terminal 1" is connected to the eleventh connection terminal 5", and the eighth connection terminal 2" is connected to the twelfth connection terminal 6".
[0080] For example, take the example that the second driving power amplifier module 2 supports outputting two audio signals or outputting one audio signal: in the third playback mode, the second driving power amplifier module 2 supports outputting two audio signals, and the switching module 3 can switch to the second driving power amplifier module 2 being connected to the second sound-emitting device 6, that is, the seventh connection terminal 1" is connected to the ninth connection terminal 3", and the eighth connection terminal 2" is connected to the tenth connection terminal 4". In this way, the switching module 3 can output one of the audio signals output by the second driving power amplifier module 2 to the second sound-emitting device 6 through the seventh connection terminal 1" and the ninth connection terminal 3", and output the other audio signal output by the second driving power amplifier module 2 to the second sound-emitting device 6 through the eighth connection terminal 2" and the tenth connection terminal 4".
[0081] In the second playback mode, the second driving power amplifier module 2 supports outputting one audio signal, and the switching module 3 can switch to the second driving power amplifier module 2 to be connected to the analog headphone interface 5, that is, the seventh connection terminal 1" is connected to the eleventh connection terminal 5", and the eighth connection terminal 2" is connected to the twelfth connection terminal 6". At this time, since the second driving power amplifier module 2 has only one audio signal output, the switching module 3 can output this audio signal output by the second driving power amplifier module 2 to the analog headphone interface 5 (for example, the switching module 3 can output this audio signal output by the second driving power amplifier module 2 to the analog headphone interface 5 through the seventh connection terminal 1" and the eleventh connection terminal 5".
[0082] For another example, take the example that the second driving power amplifier module 2 supports the output of two audio signals: in the third playback mode, the second driving power amplifier module 2 supports the output of two audio signals, and the switching module 3 can switch to the second driving power amplifier module 2 to be connected to the second sound-emitting device 6, that is, the seventh connection terminal 1" is connected to the ninth connection terminal 3", and the eighth connection terminal 2" is connected to the tenth connection terminal 4". In this way, the switching module 3 can output one of the audio signals output by the second driving power amplifier module 2 to the second sound-emitting device 6 through the seventh connection terminal 1" and the ninth connection terminal 3", and output the other audio signal output by the second driving power amplifier module 2 to the second sound-emitting device 6 through the eighth connection terminal 2" and the tenth connection terminal 4".
[0083] In the second playback mode, the second driving power amplifier module 2 supports outputting one audio signal, and the switching module 3 can be switched to the second driving power amplifier module 2 to be connected to the analog headphone interface 5, that is, the seventh connection terminal 1" is connected to the eleventh connection terminal 5", and the eighth connection terminal 2" is connected to the twelfth connection terminal 6". At this time, since the second driving power amplifier module 2 has two audio signal outputs, the seventh connection terminal 1" and the eleventh connection terminal 5" can be used to transmit one of the audio signals, and the eighth connection terminal 2" and the twelfth connection terminal 6" can be used to transmit the other audio signal, and the switching module 3 can switch the two audio signals into one audio signal, and output the one audio signal to the analog headphone interface 5.
[0084] Optionally, see Figure 1 , the audio circuit further includes: a second single-channel switching switch 21; wherein the first end of the second single-channel switching switch 21 is respectively connected to the second output end of the second driving power amplifier module 2 and the eighth connection end 2" of the switching module 3, and the second end of the second single-channel switching switch 21 is grounded; the eleventh connection end 5" is connected to the second channel terminal of the analog headphone interface 5, and the twelfth connection end 6" is connected to the ground terminal of the analog headphone interface 5;
[0085] In the third playback mode, the first end and the second end of the second single-channel switching switch 21 are disconnected; the first output end of the second driving power amplifier module 2 outputs the first audio signal to the seventh connection end 1″ of the switching module 3, and the second output end of the second driving power amplifier module 2 outputs the second audio signal to the eighth connection end 2″ of the switching module 3; the ninth connection end 3″ of the switching module 3 outputs the first audio signal to the second sound-emitting device 6, and the tenth connection end 4″ of the switching module 3 outputs the second audio signal to the second sound-emitting device 6;
[0086] In the second playback mode, the first end and the second end of the second single-channel switching switch 21 are connected; the first output end of the second driving amplifier module 2 outputs an audio signal to the seventh connection end 1", of the switching module 3, and the eleventh connection end 5" of the switching module 3 outputs the audio signal to the second channel terminal of the analog headphone interface 5.
[0087] Optionally, the second channel terminal may be one of a left channel terminal and a right channel terminal.
[0088] For example, the second single-channel switching switch 21 can be integrated in the second driving power amplifier module 2, or the second single-channel switching switch 21 can also be set outside the second driving power amplifier module 2. It should also be noted here that the embodiment of the present application is not limited to the second single-channel switching switch 21 being set at the output end of the second driving power amplifier module 2. For example, in another or some embodiments, the second single-channel switching switch 21 can also be set after the switching module 3, such as one end of the second single-channel switching switch 21 is connected to the twelfth connection end 6", and the other end is grounded, etc. The embodiment of the present application is not limited to this.
[0089] For example, in the third playback mode, since the first end of the second single-channel switching switch 21 is disconnected from the second end, the second driving power amplifier module 2 can support the output of two audio signals, and the two audio signals can be output to the second sound-emitting device 6 through the switching module 3. In the second playback mode, the first end of the second single-channel switching switch 21 is connected to the second end, that is, the second output end of the second driving power amplifier module 2 is grounded, then the second driving power amplifier module 2 only supports the output of one audio signal (that is, the first output end of the second driving power amplifier module 2 outputs one audio signal), and the audio signal output from the first output end of the second driving power amplifier module 2 is output to the analog headphone interface 5 through the switching module 3.
[0090] Optionally, the second driving power amplifier module 2 includes: a second signal amplifying unit 22 and a second digital-to-analog conversion unit 23; wherein the second digital-to-analog conversion unit 23 may also be referred to as a digital-to-analog converter (DAC).
[0091] The input end of the second digital-to-analog conversion unit 23 is used to receive a digital audio signal, the first output end of the second digital-to-analog conversion unit 23 is connected to the first input end of the second signal amplifying unit 22, the second output end of the second digital-to-analog conversion unit 23 is connected to the second input end of the second signal amplifying unit 22, and the first output end and the second output end of the second signal amplifying unit 22 are both connected to the switching module 3;
[0092] The second digital-to-analog conversion unit 23 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal, and the first output end of the second digital-to-analog conversion unit 23 outputs the first differential analog audio signal to the first input end of the second signal amplifying unit 22, and the second output end of the second digital-to-analog conversion unit 23 outputs the second differential analog audio signal to the second input end of the second signal amplifying unit 22.
[0093] For example, the second driving amplifier module 2 further includes, but is not limited to, a second digital interface and a second digital data processing unit; wherein the second digital interface can be connected to the I2S bus, and the second digital interface is connected to the second digital-to-analog conversion unit 23 through the second digital data processing unit. In this way, the audio signal output from the I2S bus can be transmitted from the second digital interface to the second digital-to-analog conversion unit 23 through the second digital data processing unit.
[0094] For example, the second digital-to-analog conversion unit 23 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal (i.e., two-way audio signals). In this way, in the third playback mode, the second signal amplification unit 22 can amplify the first differential analog audio signal and the second differential analog audio signal, and since the first end and the second end of the second single-channel switching switch 21 are disconnected, the two-way audio signals can be output to the second sound-emitting device 6 through the switching module 3, respectively. In the second playback mode, the second signal amplification unit 22 amplifies the first differential analog audio signal and the second differential analog audio signal, and since the first end and the second end of the second single-channel switching switch 21 are connected, that is, the second output end of the second driving power amplifier module 2 is grounded, the first differential analog audio signal and the second differential analog audio signal are combined into one audio signal, and output to the analog headphone interface 5 through the switching module 3.
[0095] Optionally, the second signal amplifying unit 22 includes: a fifth amplifier 221 and a sixth amplifier 222; wherein, the first output end of the second digital-to-analog conversion unit 23 is respectively connected to the first input end of the fifth amplifier 221 and the first input end of the sixth amplifier 222, and the second output end of the second digital-to-analog conversion unit 23 is respectively connected to the second input end of the fifth amplifier 221 and the second input end of the sixth amplifier 222; the output end of the fifth amplifier 221 is connected to the seventh connection end 1" of the switching module 3; the first output end of the sixth amplifier 222 is connected to the seventh connection end 1" of the switching module 3, and the second output end of the sixth amplifier 222 is connected to the eighth connection end 2" of the switching module 3.
[0096] Optionally, the fifth amplifier 221 is a Class-AB amplifier, and / or the sixth amplifier 222 is a Class-D amplifier.
[0097] In this embodiment, considering that the conventional analog headphone interface is different from the balanced interface, its left and right channels are driven by single-ended signals. Therefore, a Class-AB amplifier with differential input and single-ended output is integrated inside the second driving power amplifier module 2. The single-ended output audio signal is transmitted to the analog headphones through the first output terminal of the second driving power amplifier module 2 and the path of the switching module 3 as the driving signal of the analog headphones. The second output terminal of the second driving power amplifier module 2 is grounded and connected to the ground terminal of the analog headphones, so as to form a complete loop in the analog headphone playback mode.
[0098] like Figure 3 As shown, in the third playback mode (the transmission path is shown by the dotted arrow), the second single-channel switch 21 is turned on (i.e., the second single-channel switch 21 is in the off state). The I2S signal is input to the second driving power amplifier module 2, and is converted into a differential analog signal by the second digital-to-analog conversion unit 23 inside the second driving power amplifier module 2, and then modulated into a PWM differential signal and amplified by the Class-D amplifier (i.e., the sixth amplifier 222) integrated in the second signal amplification unit 22 inside the second driving power amplifier module 2. Since the second single-channel switch 21 is turned on, the Class-D amplifier (i.e., the sixth amplifier 222) outputs the amplified PWM differential signal, which can be transmitted to the multi-channel switch 31 through the paths Out_P2 and Out_N2 between the second driving power amplifier module 2 and the multi-channel switch 31. In this way, the paths Out_P2 and Out_N2 are switched to the paths of the second sound device 6 through the multi-channel switch 31, so that the second sound device 6 plays audio (for example, when the second sound device 6 is SPK, the speaker mode plays audio).
[0099] In this embodiment, considering that the driving current of the second sound-generating device 6 (such as a receiver or a speaker) is relatively large when it is working, a Class-D amplifier with PWM differential output is preferably used for driving to ensure audio output efficiency.
[0100] like Figure 4As shown, in the second playback mode (the transmission path is shown by the dotted arrow), the second single-channel switching switch 21 is closed (ie, the second single-channel switching switch 21 is in the on state). The I2S signal is input to the second driving power amplifier module 2, converted into a differential analog signal by the second digital-to-analog conversion unit 23 inside the second driving power amplifier module 2, and then is differentially input and single-endedly output by the Class-AB amplifier (i.e., the fifth amplifier 221) integrated in the second signal amplification unit 22 inside the second driving power amplifier module 2. The audio signal output by the Class-AB amplifier (i.e., the fifth amplifier 221) is transmitted to the multi-channel switching switch 31 through the path Out_P2, so that the path Out_P2 is switched to the second channel terminal of the analog headphone interface 5 through the multi-channel switching switch 31, and because the second single-channel switching switch 21 is closed, the path Out_N2 between the second driving power amplifier module 2 and the multi-channel switching switch 31 is grounded, that is, a path from the second channel terminal to the ground terminal is formed, thereby realizing the analog headphone audio playback (for example, when the second channel terminal is the right channel terminal, the headphone mode is realized to play the right channel audio).
[0101] In this embodiment, considering that the current of the analog earphone is very small when it is working, a Class-AB amplifier with low distortion is used to drive it to ensure the sound quality of the audio playback.
[0102] Optionally, see Figure 2 , the third input terminal of the single-ended conversion unit 32 is connected to the eleventh connection terminal 5", the fourth input terminal of the single-ended conversion unit 32 is connected to the twelfth connection terminal 6", the second output terminal of the single-ended conversion unit 32 is connected to the second channel terminal of the analog headphone interface 5, and the ground terminal of the analog headphone interface 5 is grounded;
[0103] In the second playback mode, the first output end of the second driving amplifier module 2 outputs the first audio signal to the seventh connection end 1″ of the switching module 3, and the second output end of the second driving amplifier module 2 outputs the second audio signal to the eighth connection end 2″ of the switching module 3; the eleventh connection end 5″ of the switching module 3 outputs the first audio signal to the third input end of the single-ended conversion unit 32, and the twelfth connection end 6″ of the switching module 3 outputs the second audio signal to the fourth input end of the single-ended conversion unit 32; the single-ended conversion unit 32 switches the first audio signal and the second audio signal into one audio signal, and the second output end of the single-ended conversion unit 32 outputs the one audio signal to the second channel terminal of the analog headphone interface 5.
[0104] Optionally, the second channel terminal may be one of a left channel terminal and a right channel terminal.
[0105] In this embodiment, the first output end of the second driving power amplifier module 2 outputs the first audio signal to the seventh connection end 1" of the switching module 3, and the second output end of the second driving power amplifier module 2 outputs the second audio signal to the eighth connection end 2" of the switching module 3. In the third playback mode, the switching module 3 switches to the second driving power amplifier module 2 to be connected to the second sound-emitting device 6, that is, the seventh connection end 1" is connected to the ninth connection end 3", the eighth connection end 2" is connected to the tenth connection end 4", the ninth connection end 3" of the switching module 3 outputs the first audio signal to the second sound-emitting device 6, and the tenth connection end 4" of the switching module 3 outputs the second audio signal to the second sound-emitting device 6, so that the second sound-emitting device 6 plays audio (for example, when the second sound-emitting device 6 is SPK, the speaker mode plays audio). In the second playback mode, the switching module 3 switches to the second driving amplifier module 2 and is connected to the analog headphone interface 5, that is, the seventh connection terminal 1" is connected to the eleventh connection terminal 5", the eighth connection terminal 2" is connected to the twelfth connection terminal 6", the eleventh connection terminal 5" of the switching module 3 outputs the first audio signal to the third input terminal of the single-ended conversion unit 32, and the twelfth connection terminal 6" of the switching module 3 outputs the second audio signal to the fourth input terminal of the single-ended conversion unit 32; the single-ended conversion unit 32 switches the first audio signal and the second audio signal into one audio signal (that is, the single-ended conversion unit 32 converts the differential signal into a single-ended output), and this audio signal is sent to the second channel terminal of the analog headphone interface 5 to realize the single-ended output analog headphone drive, that is, to realize the analog headphone playback audio.
[0106] Optionally, the single-ended conversion unit 32 also includes: a fourth amplifier 322; wherein the first input terminal of the fourth amplifier 322 is connected to the eleventh connection terminal 5", the second input terminal of the fourth amplifier 322 is connected to the twelfth connection terminal 6", and the output terminal of the fourth amplifier 322 is connected to the second channel terminal of the analog headphone interface 5.
[0107] Optionally, the second driving power amplifier module 2 includes: a second signal amplifying unit 22 and a second digital-to-analog conversion unit 23; wherein the input end of the second digital-to-analog conversion unit 23 is used to receive a digital audio signal, the first output end of the second digital-to-analog conversion unit 23 is connected to the first input end of the second signal amplifying unit 22, the second output end of the second digital-to-analog conversion unit 23 is connected to the second input end of the second signal amplifying unit 22, and the first output end and the second output end of the second signal amplifying unit 22 are both connected to the switching module 3;
[0108] The second digital-to-analog conversion unit 23 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal, and the first output end of the second digital-to-analog conversion unit 23 outputs the first differential analog audio signal to the first input end of the second signal amplifying unit 22, and the second output end of the second digital-to-analog conversion unit 23 outputs the second differential analog audio signal to the second input end of the second signal amplifying unit 22.
[0109] For example, the second driving amplifier module 2 further includes, but is not limited to, a second digital interface and a second digital data processing unit; wherein the second digital interface can be connected to the I2S bus, and the second digital interface is connected to the second digital-to-analog conversion unit 23 through the second digital data processing unit. In this way, the audio signal output from the I2S bus can be transmitted from the second digital interface to the second digital-to-analog conversion unit 23 through the second digital data processing unit.
[0110] For example, the second digital-to-analog conversion unit 23 converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal (i.e., two-channel audio signals), and the second signal amplification unit 22 can amplify the first differential analog audio signal and the second differential analog audio signal. In this way, in the third playback mode, the amplified two-channel audio signals can be output to the second sound-emitting device 6 through the multi-channel switching switch 31, that is, the second sound-emitting device 6 plays audio. In the second playback mode, the amplified two-channel audio signals can be output to the single-ended conversion unit 32 through the multi-channel switching switch 31, and the single-ended conversion unit 32 switches the two-channel audio signals into one-channel audio signal, and the audio signal is sent to the second channel terminal of the analog headphone interface 5, that is, the analog headphone plays audio.
[0111] Optionally, the second signal amplifying unit 22 includes: a fifth amplifier 221 and a sixth amplifier 222; wherein, the first output end of the second digital-to-analog conversion unit 23 is respectively connected to the first input end of the fifth amplifier 221 and the first input end of the sixth amplifier 222, and the second output end of the second digital-to-analog conversion unit 23 is respectively connected to the second input end of the fifth amplifier 221 and the second input end of the sixth amplifier 222; the output end of the fifth amplifier 221 is connected to the seventh connection end 1" of the switching module 3; the first output end of the sixth amplifier 222 is connected to the seventh connection end 1" of the switching module 3, and the second output end of the sixth amplifier 222 is connected to the eighth connection end 2" of the switching module 3.
[0112] Optionally, the fifth amplifier 221 is a class AB amplifier, and / or the sixth amplifier 222 is a class D amplifier.
[0113] Optionally, see Figure 1 and Figure 2 , the second driving power amplifier module 2 also includes: a second analog-to-digital conversion unit 24 and a second digital data processing unit; wherein the first input end of the second analog-to-digital conversion unit 24 is connected to the first output end of the second signal amplifying unit 22, the second input end of the second analog-to-digital conversion unit 24 is connected to the second output end of the second signal amplifying unit 22, and the output end of the second analog-to-digital conversion unit 24 is connected to the second digital data processing unit;
[0114] The second analog-to-digital conversion unit 24 converts the voltage and / or current signal detected output by the second signal amplification unit 22 into a digital signal, and outputs the digital signal to the second digital data processing unit; wherein the digital signal is used for sound device protection processing and / or headphone impedance detection processing.
[0115] The second analog-to-digital conversion unit 24 may be referred to as an ADC. Optionally, the second analog-to-digital conversion unit 24 converts the voltage and / or current signal detected output by the second signal amplification unit 22 into a digital signal, and outputs the signal to the second digital data processing unit, which may perform sound device protection processing and / or headphone impedance detection processing.
[0116] like Figure 3 As shown, for example, in the third playback mode (the transmission path is shown by the dotted arrow), the second analog-to-digital conversion unit 24 inside the second driving power amplifier module 2 can detect the current and / or voltage of Out_P2 and Out_N2 in real time, and convert the detected voltage and / or current signal into a digital signal and output it to the second digital data processing unit, and the second digital data processing unit implements the protection processing of the second sound device 6 based on the protection algorithm of the second driving power amplifier module 2.
[0117] For example, in the second playback mode, the second analog-to-digital conversion unit 24 inside the second driving amplifier module 2 can detect the current and / or voltage of Out_P2 in real time, and convert the detected voltage and / or current signal into a digital signal and output it to the second digital data processing unit, which performs headphone impedance detection.
[0118] An embodiment of the present application also provides an electronic device, comprising the audio circuit as described above.
[0119] Optionally, the electronic device includes but is not limited to a mobile phone, a tablet computer, a wearable device (such as a smart bracelet, smart glasses), a laptop computer, or other electronic devices that support audio functions, etc., but the embodiments of the present application are not limited thereto.
[0120] It should be noted that the electronic device in the embodiment of the present application can implement the solutions of each embodiment of the above-mentioned audio circuit and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0121] 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.
[0122] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0123] Finally, it should 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal 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 process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0124] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications are also within the scope of protection of the present application.
Claims
1. An audio circuit, characterized in that: include: A first driving amplifier module, a switching module, a first sound device and an analog headphone interface; wherein, The first driving power amplifier module is connected to the first sound-generating device and the analog headphone interface respectively through the switching module; In the first playback mode, the switching module outputs the two-channel audio signals output by the first driving amplifier module to the first sound-generating device; In the second playback mode, the switching module outputs one audio signal output by the first driving amplifier module to the analog headphone interface; or, the switching module switches two audio signals output by the first driving amplifier module into one audio signal, and outputs the one audio signal to the analog headphone interface.
2. The audio circuit according to claim 1, characterized in that: The switching module includes: a multi-channel switching switch; wherein, The multi-channel switch includes: a first connection end, a second connection end, a third connection end, a fourth connection end, a fifth connection end and a sixth connection end; the first connection end is connected to the first output end of the first driving power amplifier module, the second connection end is connected to the second output end of the first driving power amplifier module, the third connection end and the fourth connection end are respectively connected to the first sound-emitting device, and the fifth connection end and the sixth connection end are respectively connected to the analog headphone interface; In the first play mode, the first connection end is connected to the third connection end, and the second connection end is connected to the fourth connection end; In the second play mode, the first connection end is connected to the fifth connection end, and the second connection end is connected to the sixth connection end.
3. The audio circuit according to claim 2, characterized in that: Also includes: A first single-channel switch; wherein, The first end of the first single-channel switch is connected to the second output end of the first driving power amplifier module and the second connection end of the switch module respectively, and the second end of the first single-channel switch is grounded; the fifth connection end is connected to the first channel terminal of the analog headphone interface, and the sixth connection end is connected to the ground terminal of the analog headphone interface; In the first playback mode, the first end and the second end of the first single-channel switching switch are disconnected; the first output end of the first driving amplifier module outputs the first audio signal to the first connection end of the switching module, and the second output end of the first driving amplifier module outputs the second audio signal to the second connection end of the switching module; the third connection end of the switching module outputs the first audio signal to the first sound-emitting device, and the fourth connection end of the switching module outputs the second audio signal to the first sound-emitting device; In the second playback mode, the first end and the second end of the first single-channel switching switch are connected; the first output end of the first driving amplifier module outputs an audio signal to the first connection end of the switching module, and the fifth connection end of the switching module outputs the audio signal to the first channel terminal of the analog headphone interface.
4. The audio circuit according to claim 2, characterized in that: The switching module further includes: a single-ended conversion unit; wherein, The first input end of the single-ended conversion unit is connected to the fifth connection end, the second input end of the single-ended conversion unit is connected to the sixth connection end, the first output end of the single-ended conversion unit is connected to the first channel terminal of the analog headphone interface, and the ground terminal of the analog headphone interface is grounded; In the second playback mode, the first output end of the first driving amplifier module outputs the first audio signal to the first connection end of the switching module, and the second output end of the first driving amplifier module outputs the second audio signal to the second connection end of the switching module; the fifth connection end of the switching module outputs the first audio signal to the first input end of the single-ended conversion unit, and the sixth connection end of the switching module outputs the second audio signal to the second input end of the single-ended conversion unit; the single-ended conversion unit switches the first audio signal and the second audio signal into one audio signal, and the first output end of the single-ended conversion unit outputs the one audio signal to the first channel terminal of the analog headphone interface.
5. The audio circuit according to claim 4, characterized in that: The single-ended conversion unit comprises: a first amplifier; wherein, The first input end of the first amplifier is connected to the fifth connection end, the second input end of the first amplifier is connected to the sixth connection end, and the output end of the first amplifier is connected to the first channel terminal of the analog headphone interface.
6. The audio circuit according to any one of claims 2 to 5, characterized in that: The first driving power amplifier module includes: a first signal amplification unit and a first digital-to-analog conversion unit; wherein, The input end of the first digital-to-analog conversion unit is used to receive a digital audio signal, the first output end of the first digital-to-analog conversion unit is connected to the first input end of the first signal amplifying unit, the second output end of the first digital-to-analog conversion unit is connected to the second input end of the first signal amplifying unit, and the first output end and the second output end of the first signal amplifying unit are both connected to the switching module; The first digital-to-analog conversion unit converts the received digital audio signal into a first differential analog audio signal and a second differential analog audio signal, and the first output end of the first digital-to-analog conversion unit outputs the first differential analog audio signal to the first input end of the first signal amplification unit, and the second output end of the first digital-to-analog conversion unit outputs the second differential analog audio signal to the second input end of the first signal amplification unit.
7. The audio circuit according to claim 6, characterized in that: The first signal amplifying unit includes: a second amplifier and a third amplifier; wherein, The first output end of the first digital-to-analog conversion unit is connected to the first input end of the second amplifier and the first input end of the third amplifier respectively, and the second output end of the first digital-to-analog conversion unit is connected to the second input end of the second amplifier and the second input end of the third amplifier respectively; The output end of the second amplifier is connected to the first connection end of the switching module; The first output end of the third amplifier is connected to the first connection end of the switching module, and the second output end of the third amplifier is connected to the second connection end of the switching module.
8. The audio circuit according to claim 7, characterized in that: The second amplifier is a class AB amplifier, and / or the third amplifier is a class D amplifier.
9. The audio circuit according to claim 6, characterized in that: The first driving power amplifier module further includes: a first analog-to-digital conversion unit and a first digital data processing unit; wherein, The first input end of the first analog-to-digital conversion unit is connected to the first output end of the first signal amplifying unit, the second input end of the first analog-to-digital conversion unit is connected to the second output end of the first signal amplifying unit, and the output end of the first analog-to-digital conversion unit is connected to the first digital data processing unit; The first analog-to-digital conversion unit converts the voltage and / or current signal detected by the first signal amplification unit into a digital signal, and outputs the digital signal to the first digital data processing unit; wherein the digital signal is used for sound device protection processing and / or headphone impedance detection processing.
10. The audio circuit according to any one of claims 1 to 5, characterized in that: Also includes: A second driving amplifier module and a second sound-generating device; wherein, The second driving power amplifier module is connected to the second sound-generating device and the analog headphone interface respectively through the switching module; In the third playback mode, the switching module outputs the two-channel audio signals output by the second driving amplifier module to the second sound-generating device; In the second playback mode, the switching module outputs one audio signal output by the second driving amplifier module to the analog headphone interface; or, the switching module switches two audio signals output by the second driving amplifier module into one audio signal, and outputs the one audio signal to the analog headphone interface.
11. An electronic device, characterized in that: Comprising the audio circuit as claimed in any one of claims 1 to 10.
Citation Information
Cited By
Vehicle audio system based on drive channel reuse, and audio playback method, and device
WO2026076711A1
