Audio circuit and electronic equipment
By designing an audio circuit including a controller, an audio decoder and an analog switch, the problem that the four-segment headphone interface in the prior art cannot switch the left channel and right channel audio output and microphone input, and the flexible switching of functions is achieved And reduce costs.
Patent Information
- Application Number
- CN202420359385.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2034-02-27
AI Technical Summary
The four-segment headphone interface of existing electronic devices cannot quickly switch the left channel and right channel audio output and microphone input functions, resulting in increased costs to achieve dual microphone input functions.
An audio circuit is designed, including a controller, an audio decoder, first and second switches and headphone connectors, and the transmission of the left and right channel audio output signals or microphone input signals is controlled by the controller, using analog switches and the coupling circuit realize function switching.
The left channel and right channel audio output and single and double microphone input functions are switched, reducing the cost of electronic devices and meeting various customer needs.
Smart Images

Figure CN222302005U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic technology, in particular to an audio circuit and electronic equipment. Background Art
[0002] In conventional applications, some electronic devices such as computers, tablets, mobile phones and other devices often need to use built-in microphones or external headphones with microphones to input audio signals, that is, the four-stage headphone interface of the electronic device only supports left-channel and right-channel audio output and a single microphone input function. With the continuous development of electronic technology, users need to use a four-stage headphone interface to achieve dual-microphone input. On the contrary, when dual-microphone input is not needed, it can quickly and conveniently switch to the left and right channel output function. Under normal circumstances, the four-stage headphone interface cannot achieve such left-channel and right-channel audio output and microphone input function switching. In order to achieve this function, the electronic device needs to be provided with an audio processing module with more audio channels, thereby increasing the cost of the electronic device. Utility Model Content
[0003] In view of the above technical problems, the utility model provides an audio circuit and electronic device which can realize the switching between left channel and right channel audio output, and single microphone input and dual microphone input functions.
[0004] One embodiment of the utility model provides an audio circuit, which is connected to a microphone. The audio circuit includes a controller, an audio decoder, a first switch, a second switch and a headphone connector. The left channel audio output signal and the right channel audio output signal of the audio decoder are respectively transmitted to the first switch and the second switch. The first switch and the second switch are respectively connected to the controller, and the left channel audio output signal or the right channel audio output signal is transmitted to the headphone connector according to the control of the controller; the headphone connector receives the left channel microphone input signal and the right channel microphone input signal of the microphone, and transmits them to the first switch and the second switch respectively, and the left channel microphone input signal or the right channel microphone input signal is transmitted to the audio decoder according to the control of the controller.
[0005] Optionally, the audio circuit also includes a first coupling circuit and a second coupling circuit, and the left channel audio output signal and the right channel audio output signal of the audio decoder are coupled by the first coupling circuit and transmitted to the first switch and the second switch respectively; the left channel microphone input signal passing through the first switch or the right channel microphone input signal passing through the second switch is transmitted to the audio decoder after passing through the second coupling circuit.
[0006] Optionally, the audio decoder adopts a UA1 ALC897 audio decoding chip.
[0007] Optionally, the first switch is a first analog switch, and the second switch is a second analog switch.
[0008] Optionally, the first analog switch and the second analog switch are SGM4157YC chips.
[0009] Optionally, the first coupling circuit includes a coupling capacitor CA7, a coupling capacitor CA8, a current limiting resistor RA10 and a current limiting resistor RA12, one end of the coupling capacitor CA7 receives the right channel audio output signal of the audio decoder, and the other end is connected to one end of the current limiting resistor RA10, and the other end of the current limiting resistor RA10 is connected to the second analog switch; one end of the coupling capacitor CA8 receives the left channel audio output signal of the audio decoder, and the other end is connected to one end of the current limiting resistor RA12, and the other end of the current limiting resistor RA12 is connected to the first analog switch.
[0010] Optionally, the second coupling circuit includes a coupling capacitor CA1, a coupling capacitor CA2, a current limiting resistor RA3 and a current limiting resistor RA4, one end of the coupling capacitor CA1 receives the right channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA3, and the other end of the current limiting resistor RA3 is connected to the audio decoder; one end of the coupling capacitor CA2 receives the left channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA4, and the other end of the current limiting resistor RA4 is connected to the audio decoder.
[0011] Optionally, the fourth pin of the first switch is grounded through an electrostatic diode DA4.
[0012] Optionally, the fourth pin of the second switch is grounded through an electrostatic diode DA5.
[0013] Another embodiment of the present invention further provides an electronic device, comprising any of the above-mentioned audio circuits.
[0014] In the technical solution provided by the embodiment of the utility model, the left channel audio output signal and the right channel audio output signal are respectively transmitted to the first switch and the second switch, and the first switch and the second switch are respectively connected to the controller, and the left channel audio output signal or the right channel audio output signal is transmitted to the headphone connector according to the control of the controller, and the left channel microphone input signal and the right channel microphone input signal of the microphone are respectively transmitted to the first switch and the second switch, and the left channel microphone input signal or the right channel microphone input signal is transmitted to the audio decoder according to the control of the controller. Compared with the prior art, the audio circuit described in the utility model supports dual microphone input and left and right channel audio output, and single microphone input function switching, which meets various customer needs and reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1The utility model is a circuit diagram of an audio circuit.
[0016] Figure 2 The utility model is a circuit diagram of an audio decoder of an audio circuit.
[0017] Figure 3 The utility model is a circuit diagram of a first coupling circuit of an audio circuit.
[0018] Figure 4 The utility model is a circuit diagram of a second coupling circuit of an audio circuit.
[0019] Figure 5 The utility model is a circuit diagram of a first switch and a second switch of an audio circuit. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0021] In the description of the present utility model, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances. In addition, the technical features involved in the different embodiments of the present utility model described below can be combined with each other as long as they do not conflict with each other.
[0022] The utility model provides an audio circuit, which is connected to a microphone. The audio circuit comprises a controller, an audio decoder, a first switch, a second switch and an earphone connector. A left-channel audio output signal and a right-channel audio output signal of the audio decoder are respectively transmitted to the first switch and the second switch. The first switch and the second switch are respectively connected to the controller, and the left-channel audio output signal or the right-channel audio output signal is transmitted to the earphone connector according to the control of the controller; the earphone connector receives a left-channel microphone input signal and a right-channel microphone input signal of the microphone, and transmits them to the first switch and the second switch respectively, and the left-channel microphone input signal or the right-channel microphone input signal is transmitted to the audio decoder according to the control of the controller.
[0023] In one embodiment of the present invention, the audio circuit further includes a first coupling circuit and a second coupling circuit, and the left channel audio output signal and the right channel audio output signal of the audio decoder are coupled by the first coupling circuit and transmitted to the first switch and the second switch respectively; the left channel microphone input signal passing through the first switch or the right channel microphone input signal passing through the second switch is transmitted to the audio decoder after passing through the second coupling circuit.
[0024] In one embodiment of the present invention, the first switch is a first analog switch, and the second switch is a second analog switch. For example, the first analog switch and the second analog switch are SGM4157YC chips. Those skilled in the art will appreciate that the first switch and the second switch may also be physical single-pole double-throw switches.
[0025] For details, please refer to Figure 1 As shown, the left channel audio output signal and the right channel audio output signal of the audio decoder 20 are transmitted to the first coupling circuit 60, and are respectively transmitted to the first analog switch 30 and the second analog switch 40 after passing through the first coupling circuit 60. The controller 10 selects the first analog switch 30 to be turned on or the second analog switch 40 to be turned on through a control signal, so that the corresponding left channel audio output signal or the right channel audio output signal is transmitted to the headphone connector 50; in addition, the headphone connector 50 receives the left channel microphone input signal and the right channel microphone input signal of the microphone, wherein the left channel microphone input signal is transmitted to the first analog switch 30, and the right channel microphone input signal is transmitted to the second analog switch 40. The controller 10 selects the first analog switch 30 to be turned on or the second analog switch 40 to be turned on through a control signal, so that the corresponding left channel microphone input signal or the right channel microphone input signal is transmitted to the second coupling circuit 70, and then transmitted to the audio decoder 20.
[0026] Please refer to Figure 2 As shown, the audio decoder adopts the UA1 ALC897 audio decoding chip.
[0027] Please refer to Figure 3-Figure 5 As shown, the first coupling circuit 60 of the audio circuit includes a coupling capacitor CA7, a coupling capacitor CA8, a current limiting resistor RA10 and a current limiting resistor RA12, one end of the coupling capacitor CA7 receives the right channel audio output signal of the audio decoder UA1, and the other end is connected to one end of the current limiting resistor RA10, and the other end of the current limiting resistor RA10 is connected to the third pin of the second analog switch U4302; one end of the coupling capacitor CA8 receives the left channel audio output signal of the audio decoder UA1, and the other end is connected to one end of the current limiting resistor RA12, and the other end of the current limiting resistor RA12 is connected to the third pin of the first analog switch U4301.
[0028] The second coupling circuit 70 of the audio circuit includes a coupling capacitor CA1, a coupling capacitor CA2, a current limiting resistor RA3 and a current limiting resistor RA4, one end of the coupling capacitor CA1 receives the right channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA3, and the other end of the current limiting resistor RA3 is connected to the audio decoder UA1; one end of the coupling capacitor CA2 receives the left channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA4, and the other end of the current limiting resistor RA4 is connected to the audio decoder UA1.
[0029] Specifically, when the audio decoding chip UA1 ALC897 is working normally, the left channel audio signal FRONT_L and the right channel audio signal FRONT_R outputted from the 35th and 36th pins thereof pass through the coupling capacitors CA7 and CA8 respectively, and then pass through the series current limiting resistors RA10 and RA12 to obtain FRONT_L and FRONT_R, which are outputted to the third pin of the first analog switch U4301 and the third pin of the second analog switch U4302. The MIC_L signal of the first pin of the first analog switch U4301 and the MIC_R signal of the first pin of the second analog switch U4302 are the left and right channel microphone input signals, which pass through the series current limiting resistors RA3 and RA4 and the coupling capacitors CA2 and CA1 respectively, and are connected to the 21st and 22nd pins of the audio decoding chip.
[0030] Please refer to Figure 5As shown, the sixth pin of the first analog switch U4301 is connected to the sixth pin of the second analog switch U4302, and the MIC_L signal of the first pin of the first analog switch U4301 and the MIC_R signal of the first pin of the second analog switch U4302 are respectively the left and right channel microphone input signals, which are connected to the 21st and 22nd pins of the audio decoding chip after passing through the series current limiting resistors RA3, RA4 and the coupling capacitors CA2, CA1. The 4th pin of the first analog switch U4301 and the 4th pin of the second analog switch U4302 are connected to the headphone connector, which are used to output the left and right channel audio output signals or input the left and right channel microphone input signals. The 6th pin of the first analog switch U4301 and the 6th pin of the second analog switch U4302 are both control pins, which are connected to a controller, such as a CPU, and the control of the first analog switch and the second analog switch can be realized by the CPU. When the control pin is set to a low level, that is, LOGIC=0, the third pin of the first analog switch U4301 is connected to the fourth pin, and the third pin of the second analog switch U4302 is connected to the fourth pin. At this time, the FRONT_L and FRONT_R signals are connected to the headphone connector, so that the output of the left and right channel audio output signals can be realized; when the control pin is set to a high level, that is, LOGIC=1, the first pin of the first analog switch U4301 is connected to the fourth pin, and the first pin of the second analog switch U4302 is connected to the fourth pin. At this time, the MIC_L and MIC_R signals are connected to the headphone connector, so that the input of the left and right channel microphone input signals can be realized.
[0031] The audio circuit of the utility model supports dual-microphone input and left and right channel audio output, and single microphone input function switching, thereby meeting various customer needs and reducing costs.
[0032] The utility model also provides an electronic device, comprising the audio circuit described in any one of the above embodiments.
[0033] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An audio circuit, the audio circuit being connected to a microphone, characterized in that: The audio circuit includes a controller, an audio decoder, a first switch, a second switch and a headphone connector. The left channel audio output signal and the right channel audio output signal of the audio decoder are respectively transmitted to the first switch and the second switch. The first switch and the second switch are respectively connected to the controller. The left channel audio output signal or the right channel audio output signal is transmitted to the headphone connector according to the control of the controller. The headphone connector receives the left channel microphone input signal and the right channel microphone input signal of the microphone, and transmits them to the first switch and the second switch respectively. The left channel microphone input signal or the right channel microphone input signal is transmitted to the audio decoder according to the control of the controller.
2. The audio circuit according to claim 1, characterized in that: The audio circuit also includes a first coupling circuit and a second coupling circuit. The left channel audio output signal and the right channel audio output signal of the audio decoder are coupled by the first coupling circuit and transmitted to the first switch and the second switch respectively; the left channel microphone input signal through the first switch or the right channel microphone input signal through the second switch is transmitted to the audio decoder after passing through the second coupling circuit.
3. The audio circuit according to claim 2, characterized in that: The audio decoder adopts UA1 ALC897 audio decoding chip.
4. The audio circuit according to claim 2, characterized in that: The first switch is a first analog switch, and the second switch is a second analog switch.
5. The audio circuit according to claim 4, characterized in that: The first analog switch and the second analog switch are SGM4157YC chips.
6. The audio circuit according to claim 4, characterized in that: The first coupling circuit includes a coupling capacitor CA7, a coupling capacitor CA8, a current limiting resistor RA10 and a current limiting resistor RA12, one end of the coupling capacitor CA7 receives the right channel audio output signal of the audio decoder, and the other end is connected to one end of the current limiting resistor RA10, and the other end of the current limiting resistor RA10 is connected to the second analog switch; one end of the coupling capacitor CA8 receives the left channel audio output signal of the audio decoder, and the other end is connected to one end of the current limiting resistor RA12, and the other end of the current limiting resistor RA12 is connected to the first analog switch.
7. The audio circuit according to claim 4, characterized in that: The second coupling circuit includes a coupling capacitor CA1, a coupling capacitor CA2, a current limiting resistor RA3 and a current limiting resistor RA4, one end of the coupling capacitor CA1 receives the right channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA3, and the other end of the current limiting resistor RA3 is connected to the audio decoder; one end of the coupling capacitor CA2 receives the left channel microphone input signal, and the other end is connected to one end of the current limiting resistor RA4, and the other end of the current limiting resistor RA4 is connected to the audio decoder.
8. The audio circuit according to claim 4, characterized in that: The fourth pin of the first switch is grounded through an electrostatic diode DA4.
9. The audio circuit according to claim 8, characterized in that: The fourth pin of the second switch is grounded through an electrostatic diode DA5.
10. An electronic device, characterized in that: The audio circuit comprises the audio circuit described in any one of claims 1 to 9.
