The present invention generally relates to an apparatus and method for automatically detecting audio signal and sending control signal, applicable to detecting the audio signal from conventional integrated circuitry (IC) and controlling the switch of the amplifier of the driving speaker or other external application circuits.
The speaker relies on the magnetic attraction caused by the electrical signal of the audio source passing through the wires to make the membrane vibrate. Hence, the volume of the sound is proportional to the electrical current. Because the power of the small-voltage signal cannot drive the load of the speaker, the power amplification is required. The sound output of a conventional IC must be able to drive the speaker's circuit, such as power amplifier or other external circuit, to make the sound perfectly audible.
To solve the power consumption problem during no audio output, the conventional IC includes an additional pin for control signal for switching off power amplifier 203 when conventional IC 101 provides no audio output. Although this approach improves the aforementioned power consumption problem, the conventional IC still requires the software and hardware to send out appropriate control signal for the overall output sound quality, as shown in
The primary object of the present invention is to provide an apparatus and method for automatically detecting audio signal and sending control signal. The present invention can automatically detect the audio signal from a conventional IC, and controls the power amplifier for driving a speaker or other external application circuit without the use of software.
The circuit of the present invention is easy to implement and small in size so as to integrate with the external circuit of a conventional IC, such as power amplifier. This simplifies the control of external circuit by the conventional IC, and switches off the external circuit to save power when there is not audio output from the conventional IC.
The apparatus for automatically detecting audio signal and sending control signal at least includes an audio detection circuit and a reset/delay circuit. The audio detection circuit is connected to the audio signal of the conventional IC for detecting the audio signal from the conventional circuit and outputting a signal. The reset/delay circuit receives the signal from the audio detection circuit and resets the reset/delay circuit or sends a control signal after a delay period expires.
In an embodiment of the present invention, the audio detection circuit includes a detection circuit, which compares the audio signal from the external conventional IC with a bias DC level and outputs a HIGH (5V) or a LOW (0V) signal to the reset/delay circuit.
The reset/delay circuit further includes a resistor R1 and a transistor M1 in series between a power source and a ground. A capacitor C1 is in parallel with transistor M1 with two ends connected to node VC between resistor R1 and transistor M1 and the ground, respectively. Node VC is coupled with two inverters I1, I2 in series, and outputs a control signal to the external circuit switch. Transistor M1 is the reset element, and resistor R1 and capacitor C1 are the delay elements.
According to the embodiment of the present invention, when a conventional IC outputs an audio signal, the audio detection circuit outputs the HIGH signal, and the reset/delay circuit outputs a LOW control signal. Similarly, if the conventional IC does not output an audio signal, the audio detection circuit outputs a LOW signal, and the reset/delay circuit outputs a HIGH control signal.
The foregoing and other objects, features, aspects and advantages of the present invention will become better understood from a careful reading of a detailed description provided herein below with appropriate reference to the accompanying drawings.
The present invention can be understood in more detail by reading the subsequent detailed description in conjunction with the examples and references made to the accompanying drawings, wherein:
Reset/delay circuit 405, after receiving the result signal from audio detection circuit 401, delays a period of time before sending the control signal. If audio detection circuit 401 detects an audio signal from conventional IC 101 during the period of delay time, reset/delay circuit 405 will reset the delay, and continue receiving the result signal from audio detection circuit 401. On the other hand, after the period of delay time, if the result signal indicates an audio signal from the conventional IC, reset/delay circuit will send a control signal to external circuit 411. The reason behind the design of having reset/delay circuit 405 to delay before sending the control signal is to prevent the misjudgment because the audio signal may be low frequency.
The control signal from apparatus 400 can work with the switch of the external circuit, for example, the switch of a power amplifier. That is, apparatus 400 can detects that the conventional IC does not output any audio signal and sends a control signal to switch off the amplifier to save power.
Reset/delay circuit 405 further includes a resistor R1 and a transistor M1 in series between a power source 610 and a ground 611. A capacitor C1 is in parallel with transistor M1 with two ends connected to node VC between resistor R1 and transistor M1 and ground 611, respectively. Node VC is coupled with two inverters I1, I2 in series, and outputs a control signal to the external circuit switch. Transistor M1 is the reset element, and resistor R1 and capacitor C1 are the delay elements.
In summary, if the conventional IC outputs an audio signal to pin VIN of audio detection circuit 401, pin VS output a high level signal. Reset/delay circuit 405 receives the high level signal from pin VS, and outputs a low control signal. Similarly, if the conventional IC does not output any audio signal to pin VIN of audio detection circuit 401, pin VS output a low level signal. Reset/delay circuit 405 receives the low level signal from pin VS, and outputs a high control signal
It is worth noting that the apparatus of the present invention can reduce the number of the control signal pins of the conventional IC and does not require a matching software to work with in order to determine the switching on and off the external circuit, such as amplifier.
Although the present invention has been described with reference to the preferred embodiments, it will be understood that the invention is not limited to the details described thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the invention as defined in the appended claims.