An integrated circuit of audio output and power amplifier output, and a device
By using integrated circuit design and employing a jack detection module and a power amplifier trigger module, a power amplifier output function was added to a standard audio output jack, solving the problem of limited interfaces, achieving compatibility and reliability of audio and power amplifier outputs, and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN REALBOM INTELLITECH CO LTD
- Filing Date
- 2026-01-13
- Publication Date
- 2026-05-19
AI Technical Summary
In the industrial field, ordinary audio output and power amplifier output are usually different interface types, leading to interface shortage. How to add power amplifier output function to ordinary audio output jacks to reduce interface usage requirements is an urgent problem to be solved.
By designing an integrated circuit for audio output and power amplifier output, including a jack detection module, a power amplifier trigger module, and an audio output module, the power amplifier is controlled to switch on and off by using the segment recognition mode of the jack, and the signal is stabilized by components such as resistors, capacitors, and Zener diodes to achieve switching between audio and power amplifier output modes.
It achieves compatibility between audio output and power amplifier output modes on a single jack, reducing interface requirements, improving circuit reliability, lowering costs, and avoiding standby power consumption.
Smart Images

Figure CN121509882B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of audio interfaces, and more particularly to an integrated circuit and device for audio output and power amplifier output. Background Technology
[0002] In the computer field, audio interfaces are a fundamental and essential function of computer motherboards. In industrial control motherboards, standard audio outputs and amplifier outputs are generally different interface types. Common audio output methods include output via a physical jack and external amplifier connection. In the industrial sector, due to varying application scenarios and customer-specific needs, particularly in situations with limited motherboard interfaces, how to add amplifier output functionality to standard audio output jacks to reduce interface requirements is a pressing technical challenge. Summary of the Invention
[0003] This application provides an integrated circuit and device for audio output and power amplifier output, which can realize the function of adding power amplifier output to a common audio output jack, thereby reducing the need for interface usage.
[0004] The first aspect of this application provides an integrated circuit for audio output and power amplifier output: an integrated circuit for audio output and power amplifier output, including a jack detection module, a power amplifier trigger module and an audio output module;
[0005] The jack detection module includes one input terminal and one output terminal; the power amplifier trigger module includes two input terminals and one output terminal; the audio output module includes a speaker output unit and a headphone output unit; the speaker output unit includes one input terminal and four output terminals; and the headphone output unit includes one input terminal and four output terminals.
[0006] The input terminal of the jack detection module is connected to an externally connected jack and is used to determine the corresponding power amplifier on / off control signal according to the segment type of the jack. The output terminal of the jack detection module is connected to one input terminal of the power amplifier trigger module and is used to control the on / off of the power amplifier device in the power amplifier trigger module according to the power amplifier on / off control signal.
[0007] The socket is also connected to another input terminal of the power amplifier trigger module for grounding to form a loop, thereby determining the corresponding output mode adjustment signal according to the power amplifier on / off control signal;
[0008] The output terminal of the power amplifier trigger module is connected to the input terminal of the speaker output unit and the input terminal of the headphone output unit, and is used to adjust the signal according to the output mode to determine the on / off state of the speaker output unit and the headphone output unit.
[0009] By adopting the above technical solution, the jack detection module determines the corresponding operating mode of the externally connected jack, i.e., headphone mode or speaker mode, based on the number of segments. It then determines the operating mode according to the corresponding segment number and obtains the corresponding power amplifier on / off control signal, thereby controlling the power amplifier trigger module to turn on or off. Finally, based on the power amplifier's on / off status, it outputs an output mode adjustment signal to the speaker output unit and headphone output unit to activate the corresponding output. This enables one jack to identify the corresponding device, ensuring compatibility with both audio output and power amplifier output modes and reducing interface usage requirements.
[0010] Optionally, the machine socket detection module includes a first resistor, a second resistor, and a first signal source;
[0011] One end of the first resistor is connected to the machine socket, and the other end is connected to one end of the second resistor and one input terminal of the power amplifier trigger module;
[0012] The other end of the second resistor is connected to the first signal source.
[0013] By adopting the above technical solution, if the identification jack is determined to be in speaker mode, the second resistor is used as a pull-up resistor, and the level of one input terminal of the power amplifier trigger module is pulled high by the first signal source; if the identification jack is determined to be in headphone mode, the level is pulled low, thereby realizing the jack detection, which facilitates the subsequent power amplifier trigger module and audio output module to achieve different outputs.
[0014] Optionally, the machine socket detection module further includes a first capacitor, a second capacitor, and a first Zener diode;
[0015] One end of the first capacitor is connected to one end of the first resistor, and the other end is grounded;
[0016] One end of the first Zener diode is connected to one end of the first resistor, and the other end is grounded;
[0017] One end of the second capacitor is connected to the junction of the first resistor and the second resistor, and the other end is grounded.
[0018] By adopting the above technical solution, ripple operation is performed by grounding the capacitor to avoid interference signals. Combined with voltage regulation by Zener diodes, this further avoids signal disturbances that could cause misjudgment of the machine socket, thereby preventing erroneous outputs from other modules and improving reliability.
[0019] Optionally, the power amplifier trigger module includes a power amplifier chip, a third resistor, a second Zener diode, a first switching transistor, a fourth resistor, a fifth resistor, and a second signal source, wherein the power amplifier chip includes an enable control terminal;
[0020] One end of the third resistor is connected to the junction of the first resistor and the second resistor, and the other end is connected to the negative terminal of the second Zener diode. The positive terminal inside the second Zener diode is connected to the enable control terminal of the power amplifier chip.
[0021] The drain of the first switching transistor is connected to the connection point between the second Zener diode and the power amplifier chip, and the drain is grounded. The gate is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the second signal source, and the source is grounded.
[0022] The connection between the fourth resistor and the first switching transistor is also connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the machine socket.
[0023] By adopting the above technical solution, the power amplifier chip controls the high and low levels of the enable control terminal of the power amplifier chip according to the high and low levels input by the machine socket detection module, thereby controlling the power amplifier chip to turn on or off. In addition, the machine socket will also pull the gate of the first switching transistor low to prevent the enable control terminal from being grounded; when the machine socket is not inserted, the gate of the first switching transistor is pulled high, and the enable control terminal is grounded and pulled low, thereby disconnecting the power amplifier chip and avoiding standby power consumption.
[0024] Optionally, the audio output module includes a sixth resistor;
[0025] One end of the sixth resistor is connected to the enable control terminal of the power amplifier chip, and the other end is connected to the machine socket.
[0026] The connection point between the sixth resistor and the power amplifier chip is connected to the input terminal of the speaker output unit and the input terminal of the headphone output unit.
[0027] By adopting the above technical solution, the voltage is divided by the sixth resistor, and the low level formed by the receiver jack insertion will generate a signal at the connection between the sixth resistor and the power amplifier chip to switch between the speaker output unit and the headphone output unit. The two units are controlled by this level signal to selectively conduct, thereby realizing the switching of the output mode.
[0028] Optionally, the speaker output unit includes a seventh resistor, a second switching transistor, a third switching transistor, an eighth resistor, a ninth resistor, a third signal source, a fourth signal source, and a first switching transistor group;
[0029] One end of the seventh resistor is connected to the connection point of the sixth resistor and the power amplifier chip, and the other end is connected to the gate of the second switching transistor. The source of the second switching transistor is grounded, and the drain of the second switching transistor is connected to one end of the eighth resistor. The other end of the eighth resistor is connected to the third signal source.
[0030] The connection between the second switch and the eighth resistor is connected to the gate of the third switch, the drain of the third switch is connected to one end of the ninth resistor, the other end of the ninth resistor is connected to the fourth signal source, and the source of the third switch is grounded.
[0031] The connection between the third switch and the ninth resistor is connected to the gate of the first switch group.
[0032] By adopting the above technical solution, the on / off state of the second switch is adjusted according to the voltage level signal formed by the voltage division of the sixth resistor. The gate potential in the third switch is adjusted by the on / off state of the second switch, thereby controlling the on / off state of the first switch group at the back end. When the first switch group is turned on, the audio is output by the speaker.
[0033] Optionally, the headphone output unit includes a tenth resistor, a fourth switching transistor, a fifth signal source, and a second switching transistor group;
[0034] The gate of the fourth switch is connected to the connection point of the sixth resistor and the power amplifier chip, the source of the fourth switch is grounded, the drain of the fourth switch is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to the fifth signal source.
[0035] The connection between the tenth resistor and the fourth switch is connected to the gate of the second switch group.
[0036] By adopting the above technical solution, the on / off state of the fourth switch is adjusted according to the voltage level signal formed by the voltage division of the sixth resistor. The gate potential of the second switch group is adjusted by the on / off state of the fourth switch, thereby controlling the on / off state of the second switch group. When the second switch group is turned on, the audio is output as headphones.
[0037] Optionally, it also includes a sound card test sampling module consisting of a sixth signal source, a seventh signal source, a dual switching transistor, an eleventh resistor, a twelfth resistor, and a thirteenth resistor, wherein the dual switching transistor includes two gates, two sources, and two drains;
[0038] One gate of the dual-switch transistor is connected to the connection point of the fourth resistor and the first switch transistor, the other gate of the dual-switch transistor is connected to one end of the eleventh resistor, and the other end of the eleventh resistor is connected to the sixth signal source.
[0039] The two sources of the dual switching transistor are grounded, and the other drain of the dual switching transistor is connected to one end of the twelfth resistor. The other end of the twelfth resistor is connected to one end of the thirteenth resistor. The other end of the thirteenth resistor is connected to the seventh signal source. The connection between the twelfth resistor and the thirteenth resistor is connected to an external sound card device.
[0040] By adopting the above technical solution, when the jack is inserted, a low-level signal will be output. The low-level signal will control one of the dual switching transistors to turn off, thereby pulling up the gate potential of the other transistor to turn it on, thus forming a new circuit. The voltage is then divided by the twelfth and thirteenth resistors to output a test level signal under the two different on and off conditions for sound card testing.
[0041] A second aspect of this application provides an integrated device for audio output and power amplifier output, which is equipped with the aforementioned integrated circuit for audio output and power amplifier output.
[0042] In summary, this application includes at least one of the following beneficial effects:
[0043] 1. The jack detection module determines the corresponding operating mode (headphone mode or speaker mode) of the externally connected jack based on the number of segments. It then obtains the corresponding amplifier on / off control signal to control the power amplifier trigger module to turn on or off. Based on the power amplifier's on / off status, it outputs an output mode adjustment signal to the speaker output unit and headphone output unit to activate the corresponding output. This allows a single jack to identify the corresponding device, ensuring compatibility with both audio output and amplifier output modes and reducing interface usage requirements.
[0044] 2. The power amplifier chip controls the high and low levels of its enable control terminal based on the high and low levels input by the jack detection module, thereby controlling the power amplifier chip to turn on or off. In addition, the jack will also pull the gate of the first switching transistor low to prevent the enable control terminal from being grounded; when the jack is not inserted, the gate of the first switching transistor is pulled high, and the enable control terminal is grounded and pulled low, thereby disconnecting the power amplifier chip and avoiding standby power consumption.
[0045] 3. The circuit employs multiple ripple regulation mechanisms, resulting in high reliability. Furthermore, the circuit is implemented using pure hardware principles, primarily employing MOSFETs, resistors, and ceramic capacitors, which are inexpensive and offer both stability and practicality. Attached Figure Description
[0046] Figure 1 This is a module connection diagram of the integrated circuit for audio output and power amplifier output provided in the embodiments of this application;
[0047] Figure 2This is a schematic diagram of the machine socket of the integrated circuit for audio output and power amplifier output provided in the embodiments of this application, and a circuit schematic diagram of the machine socket detection module;
[0048] Figure 3 This is a circuit schematic diagram of the power amplifier trigger module provided in an embodiment of this application;
[0049] Figure 4 This is a circuit schematic diagram of the audio output module provided in the embodiments of this application;
[0050] Figure 5 This is a circuit diagram of the sound card test sampling module provided in an embodiment of this application. Detailed Implementation
[0051] The following embodiments will help those skilled in the art to further understand the function of this application, but do not limit this application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of this application. These all fall within the protection scope of this application.
[0052] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary detail.
[0053] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0054] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0055] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0057] To make the purpose, technical solution and advantages of this application clearer, the integration method of audio output and power amplifier output of this application will be described below from the perspective of an integrated device for audio output and power amplifier output. The integrated device for audio output and power amplifier output can be an electronic device, such as a mobile phone terminal, a computer terminal and other devices.
[0058] The present application will be further described in detail below with reference to the accompanying drawings.
[0059] Reference Figure 1 This is a module connection diagram of the integrated circuit for audio output and power amplifier output provided in the embodiments of this application. It includes a jack detection module 1, a power amplifier trigger module 2, and an audio output module 3. The jack detection module 1 includes one input terminal and one output terminal. The power amplifier trigger module 2 includes two input terminals and one output terminal. The audio output module 3 includes a speaker output unit 31 and a headphone output unit 32. The speaker output unit 31 includes one input terminal and four output terminals. The headphone output unit 32 includes one input terminal and four output terminals. The jack detection module 1 will be described in detail below:
[0060] The input terminal of the jack detection module 1 is connected to an externally accessed jack and is used to determine the corresponding power amplifier on / off control signal according to the segment type of the jack. The output terminal of the jack detection module is connected to one input terminal of the power amplifier trigger module and is used to control the on / off of the power amplifier device in the power amplifier trigger module according to the power amplifier on / off control signal.
[0061] Regarding the jack detection module 1: A jack refers to an interface on a computer chassis used to connect external devices such as headphones and speakers. In industrial control motherboards, ordinary audio output and power amplifier output are generally different interface types. The commonly used ordinary audio output interface is 3.5mm, which is divided into 3-segment and 4-segment according to different functional requirements. The circuit specification design provided in this application embodiment is for the American standard. The 3-segment is for headphone input, corresponding to enabling headphone mode, and the 4-segment is for speaker input, corresponding to enabling speaker mode. The jack detection module 1 is equipped with a detection circuit, which can determine the style of the connected jack according to the style of the third segment of the jack, thereby outputting different power amplifier on / off control signals. In headphone mode, the power amplifier is turned off, and in speaker mode, the power amplifier is turned on.
[0062] The output terminal of the power amplifier trigger module 2 is connected to the input terminal of the speaker output unit 31 and the input terminal of the headphone output unit 32, and is used to adjust the signal according to the output mode to determine the on / off state of the speaker output unit 31 and the headphone output unit 32.
[0063] Regarding power amplifier trigger module 2: Power amplifier trigger module 2 includes a power amplifier chip, which is equipped with an enable control terminal. Based on the power amplifier on / off control signal (high / low level signal) output by the detection circuit based on the jack access segment, when the level is high, the enable control terminal is pulled high, the power amplifier chip is turned on, and the power amplifier outputs normally; when the level is low, the enable control terminal is pulled low, the power amplifier chip is turned off, and the power amplifier is disconnected. Furthermore, when the jack is connected, the jack is pressed to ground, forming a loop with the third segment. That is, based on the high or low level of the power amplifier on / off control signal, a corresponding output mode adjustment signal is output to the audio output module 3.
[0064] Regarding audio output module 3: Audio output module 3 is composed of speaker output unit 31 and headphone output unit 32. Speaker output unit 31 includes two switching transistors and a switching transistor group. The switching transistors can be MOSFETs, transistors, IGBTs, or other switching control devices.
[0065] The switching transistor group is controlled by a unified gate and outputs four audio outputs: OUT-P, OUT-L, OUT-R, and OUT-N. OUT-P represents the positive line output of the speaker, which is the front signal output of the speaker; OUT-L represents the left channel output, corresponding to OUT-R, the right channel output; and OUT-N is used as a reference to form a loop, which can be understood as the negative line.
[0066] In addition, the headphone output unit 32 includes a switching transistor and a group of switching transistors. Unlike the speaker output unit 31 described above, the headphone output unit 32 is controlled by a single switching transistor. Conversely, when the gate of the switching transistor in the headphone output unit 32 receives a high level, it controls the switching transistor group of its unit to turn off, while the aforementioned unit controls the switching transistor group of its unit to turn on, thus creating a selective mode selection effect and achieving mode switching. To further illustrate the solution of this application, this application also provides a circuit connection method of an embodiment, which will be described below. Figure 3 , Figure 3 This is a circuit schematic diagram of the machine socket detection module provided in the embodiments of this application, combined with... Figure 3 Please provide a detailed explanation:
[0067] The machine socket detection module 1 includes a first resistor R1, a second resistor R2, and a first signal source VCC1;
[0068] One end of the first resistor R1 is connected to the machine socket, and the other end is connected to one end of the second resistor R2 and one input terminal of the power amplifier trigger module 2;
[0069] The other end of the second resistor R2 is connected to the first signal source VCC1.
[0070] Specifically, different segments of the receiver jack correspond to the mode-detect and hp-jd terminals. When the receiver jack is connected, the hp-jd terminal is grounded, and mode-detect generates two different voltage levels depending on the segment. When a four-segment speaker is connected, mode-detect is at the reference potential, and mode-detect-c is high due to the voltage division of the first resistor R1 and the second resistor R2. When a three-segment headphone is connected, mode-detect is low, and mode-detect-c is pulled low to output a low level. This high / low level signal refers to the power amplifier on / off control signal proposed in this application. Furthermore, to further ensure the accuracy of the power amplifier on / off control signal, the embodiments of this application also include the following design:
[0071] The machine socket detection module 1 also includes a first capacitor C1, a second capacitor C2, and a first Zener diode ZD1;
[0072] One end of the first capacitor C1 is connected to one end of the first resistor R1, and the other end is grounded;
[0073] One end of the first Zener diode ZD1 is connected to one end of the first resistor R1, and the other end is grounded;
[0074] One end of the second capacitor C2 is connected to the junction of the first resistor R1 and the second resistor R2, and the other end is grounded.
[0075] Specifically, the first capacitor C1 and the second capacitor C2 are grounded to perform ripple operation to avoid interference signals. Combined with the first Zener diode ZD1 for voltage regulation, this further avoids signal disorder that could cause misjudgment of the machine socket, thereby avoiding erroneous outputs from other modules and improving reliability.
[0076] Furthermore, the headphone jack detection module 1 uses the above connection method to detect and determine the output device corresponding to the headphone jack, thereby determining whether the power amplifier is on. In headphone mode, the power amplifier is off, while in headphone jack mode, it is on. Please refer to the following... Figure 3 , Figure 3 This is a circuit schematic diagram of the power amplifier trigger module provided in an embodiment of this application, which will be described in detail with reference to the accompanying drawings:
[0077] The power amplifier trigger module 2 includes a power amplifier chip U1, a third resistor R3, a second Zener diode ZD2, a first switching transistor Q1, a fourth resistor R4, a fifth resistor R5, and a second signal source VCC2. The power amplifier chip U1 includes an enable control terminal SD-.
[0078] One end of the third resistor R3 is connected to the connection point of the first resistor R1 and the second resistor R2, and the other end is connected to the negative terminal of the second Zener diode ZD2. The positive terminal inside the second Zener diode ZD2 is connected to the enable control terminal SD- of the power amplifier chip U1.
[0079] The drain of the first switching transistor Q1 is connected to the connection point between the second Zener diode ZD2 and the power amplifier chip U1, and the drain is grounded. The gate is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to the second signal source VCC2, and the source is grounded.
[0080] The connection between the fourth resistor R4 and the first switch Q1 is also connected to one end of the fifth resistor R5, and the other end of the fifth resistor R5 is connected to the machine socket.
[0081] Specifically, when mode-detect-c is high, the SD- terminal of U1 is pulled high through the third resistor R3 and the second Zener diode ZD2, turning on the power amplifier chip U1. At this time, U1 enables OUT-P and OUT-N outputs. After the machine socket is connected, hp-jd is low, forming the second signal source VCC2, which is output to ground through the fourth resistor R4 and the fifth resistor R5 to the hp-jd terminal of the machine socket. At this time, the gate of Q1 is pulled low, thereby turning off the first switching transistor Q1 and disconnecting the loop to ground through the SD- terminal of U1.
[0082] More specifically, when mode-detect-c is low, the SD- terminal is pulled low, and U1 is disconnected. It is worth noting that the function of the first switch is that, regardless of whether mode-detect-c is low, as long as the machine socket is connected, hp-jd is grounded, and Q1 is disconnected. When the machine socket is not connected or there is an abnormal connection, VCC2 conducts the first switch Q1 through the fourth resistor R4, and the enable control terminal SD- of the power amplifier chip U1 is grounded and pulled low, thereby maintaining the power amplifier in the off state and avoiding unnecessary losses caused by the power amplifier in standby mode.
[0083] Furthermore, after determining the amplifier output, the corresponding audio output mode can be activated depending on whether the amplifier is powered on. Please refer to the following... Figure 4 , Figure 4 This is a circuit schematic diagram of the audio output module provided in this embodiment. The circuit design proposed in this embodiment will be described in detail with reference to the accompanying drawings:
[0084] The audio output module includes a sixth resistor;
[0085] One end of the sixth resistor R6 is connected to the enable control terminal SD- of the power amplifier chip U1, and the other end is connected to the machine socket.
[0086] The connection between the sixth resistor R6 and the power amplifier chip U1 is connected to the input terminal of the speaker output unit 31 and the input terminal of the headphone output unit 32.
[0087] Specifically, the voltage is divided by the sixth resistor R6. The low level formed by the receiver jack insertion creates a signal AMP-EN at the connection between the sixth resistor and the power amplifier chip, which is used to switch between the speaker output unit 31 and the headphone output unit 32. These two units are selectively turned on by the AMP-EN level signal, thereby realizing the switching of the output mode. The speaker output unit 31 and the headphone output unit 32 will be explained in detail below in conjunction with the different levels of AMP-EN:
[0088] The speaker output unit 31 includes a seventh resistor R7, a second switch Q2, a third switch Q3, an eighth resistor R8, a ninth resistor R9, a third signal source VCC3, a fourth signal source VCC4, and a first switch group Q11.
[0089] One end of the seventh resistor R7 is connected to the connection point of the sixth resistor R6 and the power amplifier chip U1, and the other end is connected to the gate of the second switch Q2. The source of the second switch Q2 is grounded, and the drain of the second switch Q2 is connected to one end of the eighth resistor R8. The other end of the eighth resistor R8 is connected to the third signal source VCC3.
[0090] The connection between the second switch Q2 and the eighth resistor R8 is connected to the gate of the third switch Q3. The drain of the third switch Q3 is connected to one end of the ninth resistor R9. The other end of the ninth resistor R9 is connected to the fourth signal source VCC4. The source of the third switch Q3 is grounded.
[0091] The connection between the third switch Q3 and the ninth resistor R9 is connected to the gate of the first switch group Q11.
[0092] Specifically, based on the voltage level signal AMP-EN formed by the voltage divider of the sixth resistor R6, the on / off state of the second switch Q2 is adjusted. The on / off state of the second switch Q2 adjusts the gate potential of the third switch Q3, thereby controlling the on / off state of the first switch group Q11. When the first switch group Q11 is on, the audio is output from the speaker. When AMP-EN is high, the power amplifier is turned on, and Q2 is simultaneously turned on, causing Q3 to turn off. After Q3 turns off, VCC4 pulls the gate of Q11 high via R9, thus activating the speaker mode.
[0093] The headphone output unit includes a tenth resistor R10, a fourth switch Q4, a fifth signal source VCC5, and a second switch group Q12;
[0094] The gate of the fourth switch Q4 is connected to the connection point of the sixth resistor R6 and the power amplifier chip U1. The source of the fourth switch Q4 is grounded. The drain of the fourth switch Q4 is connected to one end of the tenth resistor R10. The other end of the tenth resistor R10 is connected to the fifth signal source VCC5.
[0095] The connection between the tenth resistor R10 and the fourth switch Q4 is connected to the gate of the second switch group Q12.
[0096] Specifically, based on the voltage level signal AMP-EN formed by the voltage divider of the sixth resistor R6, the on / off state of the fourth switch Q4 is adjusted. This adjustment controls the gate potential of the second switch group Q12, thus controlling its on / off state. When the second switch group Q12 is on, the audio output is for headphones. It is worth noting that when AMP-EN is high, Q4 is on, pulling down the gate of Q12 to disable headphone mode. When AMP-EN is low, headphone mode is on, and the principle is similar to the above, so it will not be repeated here.
[0097] Furthermore, this application embodiment also needs to consider the sound card testing requirements of the machine jack connection. This application uses a sound card testing sampling module 4 for testing. Please refer to... Figure 5 , Figure 5This is a circuit diagram of the sound card test sampling module provided in this embodiment. The specific circuit structure of the sound card test sampling module 4 provided in this embodiment will be described in detail below:
[0098] It also includes a sound card test sampling module 4 consisting of a sixth signal source VCC6, a seventh signal source VCC7, a dual-switch transistor Q13, an eleventh resistor R11, a twelfth resistor R12 and a thirteenth resistor R13. The dual-switch transistor Q13 includes two gates, two sources and two drains.
[0099] One gate of the dual-switch transistor Q13 is connected to the connection point of the fourth resistor R4 and the first switch transistor Q1. The other gate of the dual-switch transistor Q13 is connected to one end of the eleventh resistor R11, and the other end of the eleventh resistor R11 is connected to the sixth signal source VCC6.
[0100] The two sources of the dual-switch transistor Q13 are grounded, and the other drain of the dual-switch transistor Q13 is connected to one end of the twelfth resistor R12. The other end of the twelfth resistor R12 is connected to one end of the thirteenth resistor R13. The other end of the thirteenth resistor R13 is connected to the seventh signal source VCC7. The connection between the twelfth resistor R12 and the thirteenth resistor R13 is connected to an external sound card device.
[0101] Specifically, when the jack is inserted, the hp-jd is connected to ground, outputting a low-level signal. This low-level signal controls one of the dual switching transistors Q13 to turn off, thereby pulling up the gate potential of the other transistor to turn it on, forming a new circuit. This circuit is then divided by the twelfth resistor R12 and the thirteenth resistor R13 to output a test level signal sense A under both on and off conditions for sound card testing. If the hp-jd is not connected, the circuit is broken, and only the thirteenth resistor R13 divides the voltage, thus forming a different level than when there is a circuit. The relevant sound card device can obtain this level for sound card testing.
[0102] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An integrated circuit for audio output and power amplifier output, characterized in that: This includes a jack detection module, a power amplifier trigger module, and an audio output module; The jack detection module includes one input terminal and one output terminal; the power amplifier trigger module includes two input terminals and one output terminal; the audio output module includes a speaker output unit and a headphone output unit; the speaker output unit includes one input terminal and four output terminals; and the headphone output unit includes one input terminal and four output terminals. The input terminal of the jack detection module is connected to an externally connected jack and is used to determine the corresponding power amplifier on / off control signal according to the segment type of the jack. The output terminal of the jack detection module is connected to one input terminal of the power amplifier trigger module and is used to control the on / off of the power amplifier device in the power amplifier trigger module according to the power amplifier on / off control signal. The socket is also connected to another input terminal of the power amplifier trigger module for grounding to form a loop, thereby determining the corresponding output mode adjustment signal according to the power amplifier on / off control signal; The output terminal of the power amplifier trigger module is connected to the input terminal of the speaker output unit and the input terminal of the headphone output unit, and is used to adjust the signal according to the output mode to determine the on / off state of the speaker output unit and the headphone output unit.
2. The integrated circuit for audio output and power amplifier output according to claim 1, characterized in that: The machine socket detection module includes a first resistor, a second resistor, and a first signal source; One end of the first resistor is connected to the machine socket, and the other end is connected to one end of the second resistor and one input terminal of the power amplifier trigger module; The other end of the second resistor is connected to the first signal source.
3. The integrated circuit for audio output and power amplifier output according to claim 2, characterized in that: The machine socket detection module also includes a first capacitor, a second capacitor, and a first Zener diode; One end of the first capacitor is connected to one end of the first resistor, and the other end is grounded; One end of the first Zener diode is connected to one end of the first resistor, and the other end is grounded; One end of the second capacitor is connected to the junction of the first resistor and the second resistor, and the other end is grounded.
4. The integrated circuit for audio output and power amplifier output according to claim 2, characterized in that: The power amplifier trigger module includes a power amplifier chip, a third resistor, a second Zener diode, a first switching transistor, a fourth resistor, a fifth resistor, and a second signal source. The power amplifier chip includes an enable control terminal. One end of the third resistor is connected to the junction of the first resistor and the second resistor, and the other end is connected to the negative terminal of the second Zener diode. The positive terminal inside the second Zener diode is connected to the enable control terminal of the power amplifier chip. The drain of the first switching transistor is connected to the connection point between the second Zener diode and the power amplifier chip, and the drain is grounded. The gate is connected to one end of the fourth resistor, and the other end of the fourth resistor is connected to the second signal source, and the source is grounded. The connection between the fourth resistor and the first switching transistor is also connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the machine socket.
5. The integrated circuit for audio output and power amplifier output according to claim 4, characterized in that: The audio output module includes a sixth resistor; One end of the sixth resistor is connected to the enable control terminal of the power amplifier chip, and the other end is connected to the machine socket. The connection point between the sixth resistor and the power amplifier chip is connected to the input terminal of the speaker output unit and the input terminal of the headphone output unit.
6. The integrated circuit for audio output and power amplifier output according to claim 5, characterized in that: The speaker output unit includes a seventh resistor, a second switching transistor, a third switching transistor, an eighth resistor, a ninth resistor, a third signal source, a fourth signal source, and a first switching transistor group; One end of the seventh resistor is connected to the connection point of the sixth resistor and the power amplifier chip, and the other end is connected to the gate of the second switching transistor. The source of the second switching transistor is grounded, and the drain of the second switching transistor is connected to one end of the eighth resistor. The other end of the eighth resistor is connected to the third signal source. The connection between the second switch and the eighth resistor is connected to the gate of the third switch, the drain of the third switch is connected to one end of the ninth resistor, the other end of the ninth resistor is connected to the fourth signal source, and the source of the third switch is grounded. The connection between the third switch and the ninth resistor is connected to the gate of the first switch group.
7. The integrated circuit for audio output and power amplifier output according to claim 5, characterized in that: The headphone output unit includes a tenth resistor, a fourth switching transistor, a fifth signal source, and a second switching transistor group; The gate of the fourth switch is connected to the connection point of the sixth resistor and the power amplifier chip, the source of the fourth switch is grounded, the drain of the fourth switch is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to the fifth signal source. The connection between the tenth resistor and the fourth switch is connected to the gate of the second switch group.
8. The integrated circuit for audio output and power amplifier output according to claim 4, characterized in that: It also includes a sound card test sampling module consisting of a sixth signal source, a seventh signal source, a dual switching transistor, an eleventh resistor, a twelfth resistor, and a thirteenth resistor. The dual switching transistor includes two gates, two sources, and two drains. One gate of the dual-switch transistor is connected to the connection point of the fourth resistor and the first switch transistor, the other gate of the dual-switch transistor is connected to one end of the eleventh resistor, and the other end of the eleventh resistor is connected to the sixth signal source. The two sources of the dual switching transistor are grounded, and the other drain of the dual switching transistor is connected to one end of the twelfth resistor. The other end of the twelfth resistor is connected to one end of the thirteenth resistor. The other end of the thirteenth resistor is connected to the seventh signal source. The connection between the twelfth resistor and the thirteenth resistor is connected to an external sound card device.
9. An integrated device for audio output and power amplifier output, characterized in that: An integrated circuit equipped with the audio output and power amplifier output as described in any one of claims 1-8.