1. Technical Field
The present disclosure relates to output circuits, and particularly to an output circuit for an audio codec chip.
2. Description of Related Art
In computer systems, audio codec chips are positioned on the motherboards for outputting and receiving audio signals. A typical audio codec chip is electrically coupled to and communicates with a plurality of peripheral devices directly, such as speakers, or earphones. However, when the computer system is awakened from the sleep mode, the audio codec chip output signals jump from low voltage level to high voltage level. This voltage spike has a direct influence on the peripheral devices, and generates large amounts of noise signals.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or Assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
The audio codec chip 100 includes an L-channel analog signal output terminal 101 and an R-channel analog signal output terminal 102. The switch circuit 230 includes switches S1 and S2 and resistors R1 and R2. The audio amplifier chip 300 includes an L-channel analog signal input terminal 301, an R-channel analog signal input terminal 302 and an output terminal 303. The L-channel analog signal output terminal 101 is grounded via the switch S1 and resistor R1 that are connected in series. The R-channel analog signal output terminal 102 is grounded via the switch S2 and resistor R2 which are connected in series. The L-channel analog signal output terminal 101 is electrically connected to the L-channel analog signal input terminal 301 via the switch S1. The R-channel analog signal output terminal 102 is electrically connected to the R-channel analog signal input terminal 302 via the switch S2. The output terminal 303 is electrically connected to the speaker 400.
Referring to
The reset signal detection circuit 212 includes a comparator A2, an N-channel MOSFET Q2 and a resistor R6. A comparator A2 inverting input terminal receives the reset signals. A comparator A2 non-inverting input terminal receives the reference voltage. A comparator A2 output terminal is electrically connected to a MOSFET Q2 grid. A MOSFET Q2 source is grounded via the resistor R6 and outputs the control signals. A MOSFET Q2 drain receives the DC voltage VCC. The gate circuit 220 includes an OR gate having control signal input terminals 221 and 222 and an output terminal 223. The control signal input terminals 221 and 222 are electrically connected to the MOSFET Q1 drain and the MOSFET Q2 source respectively for receiving the control signals. The OR gate outputs a drive signal at the output terminal 223 to turn on/off the switches S1 and S2 according to the received control signals.
In use, the audio codec chip 100 receives the audio signals from computer system. The voltage detection circuit 210 detects the audio signals received by the audio codec chip 100. When the power on/off signal detection circuit 211 detects a high voltage level power on/off signal in the audio signals, a voltage level at the comparator A1 inverting input terminal is greater than that of the comparator A1 non-inverting input terminal The comparator A1 outputs a low voltage level. The MOSFET Q1 turns off and outputs a high voltage level control signal. When the reset signal detection circuit 212 detects a low voltage level reset signal in the audio signals, the voltage level at the comparator A2 inverting input terminal is less than that of the comparator A2 non-inverting input terminal The comparator A2 outputs a high voltage level. The MOSFET Q2 turns on and outputs a high voltage level control signal.
Thus when any high voltage level power on/off signal or low voltage level reset signal detected by the voltage detection circuit 210, the OR gate will output a high voltage level drive signal at the output terminal 223. The switches S1 and S2 turn on to separate the audio codec chip 100 and the audio amplifier chip 300. The L-channel analog signal input terminal 301 and R-channel analog signal input terminal 302 are respectively grounded via the resistors R1 and R2 When a user turns on/off or resets the computer system, the noise signals in the power on/off signal and reset signals are grounded for eliminating interference.
When the power on/off signal detection circuit 211 does not detect a high voltage level power on/off signal in the audio signals, and the reset signal detection circuit 212 does not detect a low voltage level reset signal in the audio signals, the MOSFET Q1 turns on and outputs a low voltage level control signal. The MOSFET Q2 turns off and outputs a low voltage level control signal. The OR gate outputs a low voltage level drive signal at the output terminal 223. The switches S1 and S2 turn on. The audio codec chip 100 is electrically connected to the audio amplifier chip 300 via the switch circuit 230. The audio codec chip 100 outputs normal audio signals, which are amplified by the audio amplifier chip 300 and output by the speaker 400.
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
99112559 | Apr 2010 | TW | national |