AUDIO OUTPUT DEVICE AND PROTECTION METHOD THEREOF
20210185442 · 2021-06-17
Inventors
Cpc classification
International classification
Abstract
An audio output device includes a processor, an audio decoder, an audio amplifier, and a protection circuit. The processor outputs an audio digital signal. The audio decoder converts the audio digital signal into an audio analog signal. The audio amplifier amplifies the audio analog signal. The protection circuit detects abnormalities in the audio digital signal or the amplified audio analog signal. When the audio digital signal or the amplified audio analog signal is abnormal, the protection circuit outputs a disable signal to turn off or mute the audio amplifier, or the protection circuit outputs a logic signal to notify the processor, so that the processor outputs the disable signal to turn off or mute the audio amplifier.
Claims
1. An audio output device, comprising: a processor, configured to output an audio digital signal; an audio decoder, configured to convert the audio digital signal into an audio analog signal; an audio amplifier, configured to amplify the audio analog signal; a protection circuit, configured to detect whether the audio digital signal or the amplified audio analog signal is abnormal or not; when the audio digital signal or the amplified audio analog signal is abnormal, the protection circuit outputs a disable signal to turn off or mute the audio amplifier, or the protection circuit outputs a logic signal to notify the processor, so that the processor outputs the disable signal to turn off or mute the audio amplifier.
2. The audio output device as claimed in claim 1, further comprising a speaker; wherein the speaker receives the amplified audio analog signal, and converts the amplified audio analog signal into a sound.
3. The audio output device as claimed in claim 1, wherein the audio digital signal is transmitted through an I.sup.2S communication protocol, the I.sup.2S communication protocol comprising: a word select line, configured to transmit a left-right clock (LRCK) to indicate a left channel or a right channel; a bit clock line, configured to transmit a bit clock (BCK); and a data line, configured to transmit a data signal carried by the audio digital signal.
4. The audio output device as claimed in claim 3, wherein the protection circuit comprises an AND gate circuit, a watch dog circuit, or a signal filter circuit.
5. The audio output device as claimed in claim 4, wherein when the AND gate circuit detects that the left-right clock, the bit clock, or the data signal is not output, the AND gate circuit outputs a disable signal to the audio amplifier or outputs the logic signal to notify the processor.
6. The audio output device as claimed in claim 4, wherein when the watch dog circuit detects that the bit clock is not output, the watch dog circuit outputs a disable signal to the audio amplifier or outputs the logic signal to notify the processor.
7. The audio output device as claimed in claim 4, wherein the signal filter circuit converts the audio digital signal into a voltage signal according to a duty cycle of the audio digital signal; when the voltage signal is higher than an upper limit voltage value or lower than a lower limit voltage value, the filter circuit outputs a disable signal to the audio amplifier or outputs the logic signal to notify the processor.
8. The audio output device as claimed in claim 5, further comprising a processor configured to turn off or mute the audio amplifier according to the logic signal, and configured to show an abnormal message of the audio output device on a display through an operating system (OS).
9. The audio output device as claimed in claim 6, further comprising a processor configured to turn off or mute the audio amplifier according to the logic signal, and configured to show an abnormal message of the audio output device on a display through an operating system (OS).
10. The audio output device as claimed in claim 7, further comprising a processor configured to turn off or mute the audio amplifier according to the logic signal, and configured to show an abnormal message of the audio output device on a display through an operating system (OS).
11. A protection method of an audio output device, wherein the audio output device comprises a processor and an audio amplifier, the protection method comprising: retrieving an audio digital signal; converting the audio digital signal into an audio analog signal; amplifying the audio analog signal; detecting whether the audio digital signal or the amplified audio analog signal is abnormal or not; when the audio digital signal or the amplified audio analog signal is abnormal, outputting a disable signal to turn off or mute the audio amplifier, or outputting a logic signal to notify the processor, so that the processor outputs the disable signal to turn off or mute the audio amplifier.
12. The protection method as claimed in claim 11, wherein the audio digital signal comprises a left-right clock, a bit clock, and a data signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The invention can be more fully understood by reading the subsequent detailed description with references made to the accompanying figures. It should be understood that the figures are not drawn to scale in accordance with standard practice in the industry. In fact, it is allowed to arbitrarily enlarge or reduce the size of components for clear illustration.
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
DETAILED DESCRIPTION OF THE INVENTION
[0017]
[0018] In some embodiments, after the audio decoder 104 receives the audio digital signal 112 from the processor 102, the audio decoder 104 converts the audio digital signal 112 into an audio analog signal 114, and outputs the audio analog signal 114 to the audio amplifier 106. In other words, the audio decoder 104 may include an analog-to-digital converter (ADC) to convert the audio digital signal 112 into an audio analog signal 114. After the audio amplifier 106 receives the audio analog signal 114 from the audio decoder 104, the audio amplifier 106 then amplifies the audio analog signal 114 to generate an amplified audio analog signal 114′. The amplified audio analog signal 114′ is then transmitted to the speaker 108, whereupon the speaker 108 converts the amplified audio analog signal 114′ into a corresponding sound and plays it, so that the user can listen to the music in the music file.
[0019] In some embodiments, as shown in
[0020] In addition, the protection circuit 110 is able to detect whether the amplified audio analog signal 114′ is abnormal or not. For example, when the audio decoder 104 fails, the audio analog signal 114 output in accordance with the audio digital signal 112 may have a DC component. The abnormal audio analog signal 114 is amplified by the audio amplifier 106 to become an amplified audio analog signal 114′ with the DC component. When the amplified audio analog signal 114′ with the DC component is output to the speaker 108, the DC component flows through a coil of the speaker 108, a large current is generated and the speaker 108 may be burned. Therefore, in some embodiments, the protection circuit 110 may also detect whether the amplified audio analog signal 114′ is abnormal or not. When the amplified audio analog signal 114′ is abnormal, the protection circuit 110 may output the disable signal 116 to turn off or mute the audio amplifier 106, or the protection circuit 110 may output the logic signal 118 to notify the processor 102, so that the processor 102 outputs the disable signal 120 to turn off or mute the audio amplifier 106. In some embodiments, the disable signal 116, the logic signal 118, and the disable signal 120 may be a logic low level signal (such as “0”) or a logic high level signal (such as “1”).
[0021] In some embodiments, the protection circuit 110 includes an AND gate circuit, a watch dog circuit, and a signal filter circuit.
[0022]
[0023] In some embodiments, the watch dog circuit 310 may include a frequency-voltage converting circuit (not shown) to linearly convert the frequency of the received bit clock to a voltage signal. In other words, the higher the frequency of the received bit clock (BCK) is, the higher the voltage of the voltage signal, and vice versa. For example, when the bit clock (BCK) is not output, the frequency-voltage converting circuit of the watch dog circuit 310 generates a voltage 0V according to the frequency of the bit clock (BCK) (the frequency is 0). The watch dog circuit 310 determines the bit clock (BCK) is abnormal according to the voltage 0V, thus correspondingly outputs the disable signal 316 or the logic signal 318 to directly or indirectly turn off or mute the audio amplifier 306.
[0024] In some embodiments, the protection circuit 110 of the audio output device 100 in
[0025]
[0026] Then, the voltage at the node N1 is an input of the logic circuit 440. When the voltage at the node N1 is at the high level (the audio digital signal 412 is output normally), a transistor T1 is turned on, so that the voltage at a node N2 is at the low level. Since the voltage at the node N2 is at the low level, transistors T2 and T3 is turned off, so that a disable signals 416_R and 416_L are maintained in a floating state without being pulled to the low level. The disable signals 416_R and 416_L are connected to the audio amplifier 406 to turn off or mute the right and left channels of the audio amplifier 406. In some embodiments, the disable signals 416_R and 416_L need to be at the low level to turn off or mute the audio amplifier 406, but the present invention is not limited thereto. In other words, according to the present invention, a person skilled in the art can also design the disable signals 416_R and 416_L so that they need to be at the high level to turn off or mute the audio amplifier 406. When the voltage at the node N1 is at the high level, a transistor T4 is turned on, so that the logic signal 418 is at a low level. The logic signal 418 is connected to the processor 402 to notify the processor 402 whether to turn off or mute the audio amplifier 406 or not. In some embodiments, the logic signal 418 needs to be at the high level to enable the processor 402 to output a disable signal 420 to turn off or mute the audio amplifier 406. Thus, when the voltage at the node N1 is at the high level and the logic signal 418 is at the low level, the processor 402 will not output the disable signal 420, but the present invention is not limited thereto.
[0027] When the voltage at the node N1 is at the low level (the audio digital signal is output abnormally), the transistor T1 is turned off, the voltage at the node N2 is at the high level, so that transistors T2 and T3 are both turned on, thus the disable signals 416_R and 416_L become at the low level. In some embodiments, since the disable signals 416_R and 416_L are at the low level, the signal filter circuit 410 turns off or mute the audio amplifier 406. When the voltage at the node N1 is at the low level, the transistor T4 is turned off, the logic signal 418 is maintained at the high level. In some embodiments, since the logic signal 418 is at the high level, the processor 402 outputs the disable signal 420 to turn off or mute the audio amplifier 406, but the present invention is not limited thereto.
[0028] The present invention also discloses a protection method of an audio output device, wherein the audio output device includes a processor and an audio amplifier.
[0029] The protection method of the audio output device further includes that when detecting the left-right clock, the bit clock, or the data signal is not output, outputting the disable signal to the audio amplifier, or outputting the logic signal to notify the processor. The protection method of the audio output device further includes converting the audio digital signal into a voltage signal according to the duty cycle of the audio digital signal, and when the voltage signal is higher than an upper limit voltage or lower than a lower limit voltage, then outputting the disable signal to the audio amplifier, or outputting the logic signal to notify the processor.
[0030] The present invention uses an active detection to detect whether an input end of the audio amplifier is abnormal, and turns off an output end of the audio amplifier when an abnormality occurs, so as to protect the audio amplifier and avoid burning the speaker or outputting abnormal audio. A person skilled in the art will understand that the audio amplifier in an audio output device is one of the most power-consuming components during operation. Therefore, the present invention uses a protection circuit with an active pre-detection of abnormality to turn off the audio amplifier when an abnormality occurs. At the same time, it also has a power-saving effect. After waiting for abnormal conditions to be resolved, the audio output device of the present invention can recover the normal audio output, which is obviously different from the passive protection mechanism in the prior art that waits for the output terminal of the audio amplifier to be abnormal.
[0031] The ordinals in the specification and the claims of the present invention, such as “first”, “second”, “third”, etc., have no sequential relationship, and are just for distinguishing between two different components with the same name. In the specification of the present invention, the word “couple” refers to any kind of direct or indirect electronic connection. The present invention is disclosed in the preferred embodiments as described above, however, the breadth and scope of the present invention should not be limited by any of the embodiments described above. Persons skilled in the art can make small changes and retouches without departing from the spirit and scope of the invention. The scope of the invention should be defined in accordance with the following claims and their equivalents.