CN1992052A - Audio play device and audio play control method - Google Patents
Audio play device and audio play control method Download PDFInfo
- Publication number
- CN1992052A CN1992052A CN 200510132996 CN200510132996A CN1992052A CN 1992052 A CN1992052 A CN 1992052A CN 200510132996 CN200510132996 CN 200510132996 CN 200510132996 A CN200510132996 A CN 200510132996A CN 1992052 A CN1992052 A CN 1992052A
- Authority
- CN
- China
- Prior art keywords
- audio
- control signal
- circuit
- signal
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Amplifiers (AREA)
- Circuit For Audible Band Transducer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides an audio play device and audio play control method. The audio play device includes an audio power amplification circuit and control circuit, thereinto, when said control circuit receives the first control signal, it closes said audio power amplification circuit or makes said audio power amplification circuit work in energy-saving mode, said first control signal is control signal which is generated by transferring the GPIO when audio drive judges it does not receive audio data, when audio coder and decoder judges that it does not receive digit audio signal or when hardware normal audio logic judging circuit confirms that swing of analogue audio signal during a definite time is smaller than preset threshold value.
Description
Technical field
The present invention relates to a kind of audio playing apparatus and voice playing control method.
Background technology
The power amplification chip mainly is to drive loudspeaker or earphone the power amplification of low-power audio signal.
Present power amplification chip, after working on power, no matter whether voice signal output is arranged, all can be in running order, unless outside artificial control is arranged.As: some chip (TPA0312), must outsidely give a SHUTDOWN signal, just can make chip enter energy saver mode.In general device work, even there is not voice output can not enter energy saver mode.For example, when people used notebook computer or desktop computer, even there is not audio signal output, the power amplification chip can not enter battery saving mode.
The existing just simple instantaneous amplitude that detects sound signal of method of coming power controlling to amplify chip according to sound signal determines that its shortcoming is can have a significant impact the broadcast of normal some audio frequency.Because on sound signal, the amplitude changes in amplitude mode of normal audio signal is varied from 0 to High variation.That is to say, normal sound signal sound from height change also have of short duration noiseless be very frequent, adopt existing detection mode and control mode can change a lot of normal sound, it is inconsistent to make that audio frequency amplifies the signal of output back and input.
In prior art scheme as shown in Figure 1, be input signal and R5b with V1b, the voltage that R6b sets compares and exports comparative result, thereby instant power amplification parts 20 switches is controlled.If the input signal of V1b is at R5b, when changing near the magnitude of voltage that R6b sets, power amplification parts 20 will be frequent Kai Heguan, can cause two kinds of bad results like this: 1, because the frequent switch of power amplification parts, can produce very strong POP sound, cause very big noise and might cause loudspeaker to damage; 2, because power amplifying device is that the certain reaction time is arranged from what reach that Guan Hecong reaches the pass, frequent switch power amplifier unit 20 can cause power amplification parts 20 can not be operated in normal magnifying state always, is that the sound of input and the signal that amplifies output morph.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of can be according to the sound signal audio playing apparatus and the voice playing control method of control audio power amplification circuit effectively.
According to audio playing apparatus of the present invention, it comprises an audio power amplifying circuit and a control circuit, wherein, when described control circuit receives first control signal, it is closed described audio power amplifying circuit or makes described audio power amplifying circuit be operated in energy saver mode, described first control signal is that audio driven is judged and to be called the control signal that GPIO sends when not receiving voice data, audio codec is judged the control signal of sending when not receiving digital audio and video signals, or the control signal sent during less than predetermined threshold of the hardware normal audio logic judging circuit amplitude of determining simulated audio signal in the schedule time.
According to voice playing control method of the present invention, it comprises, step a, judge whether control circuit receives first control signal, step b, when in step a, receiving first control signal, close audio power amplifying circuit or make described audio power amplifying circuit be operated in energy saver mode, wherein, described first control signal is that audio driven is judged and to be called the control signal that GPIO sends when not receiving voice data, audio codec is judged the control signal of sending when not receiving digital audio and video signals, or the control signal sent during less than predetermined threshold of the hardware normal audio logic judging circuit amplitude of determining simulated audio signal in the schedule time.
According to the present invention, according to audio driven, audio codec, or hardware normal audio logic judging circuit judges the control signal that audio playing apparatus produces when whether playing normal audio, comes the duty of control audio power amplification circuit.Therefore, can not occur causing the problem of switch audio power amplifying circuit repeatedly near judging whether to the threshold value of normal audio owing to simulated audio signal fluctuates, thereby can guarantee the operate as normal of audio power amplifying circuit, making not to influence the output of normal audio signal.
Description of drawings
Fig. 1 is the structural drawing of the power amplification chip controls circuit of prior art.
Fig. 2 is the block diagram according to audio playing apparatus of the present invention.
Fig. 3 is the work synoptic diagram of audio driven.
Embodiment
As shown in Figure 2, comprise an audio driven 11 according to audio playing apparatus of the present invention, one audio codec (codec) 12, one GPIO (general I/O) 17, one audio detection circuit 13, one hardware normal audio logic judging circuit, 14, one control circuits 15 and an audio power amplifying circuit 16.
When application software will be play an audio file, application software can be decoded accordingly to the form of audio file, called audio driven 11 by OS kernel (operating system nucleus), and gave audio driven 11 voice data.11 pairs of voice datas that send of audio driven carry out audio mixing and other audio adjustment, then digital audio-frequency data are sent to hardware, and just audio codec 12 is handled.Therefore, can judge whether the voice data input by audio driven 11.Do not send first and control signal to control circuit 15 when judgement has voice data when input, this audio driven 11 to call GPIO 17.When judge judging when the voice data input is arranged, this audio driven 11 is called GPIO 17 and is sent second and control signal to control circuit 15.This first control signal does not have the control signal of normal sound signal input for the expression audio playing apparatus.There is the control signal of normal sound signal input in this second control signal for the expression audio playing apparatus.
When audio codec 12 receives digital audio and video signals from audio driven 11, it converts this digital audio and video signals to left channel analog audio signal and right channel analog audio signal, and these simulated audio signals are sent to audio power amplifying circuit 16.When audio codec 12 does not receive digital audio and video signals, it will send first control signal and give control circuit 15.When audio codec 12 receives digital audio and video signals, it will send second control signal and give control circuit 15.This first control signal does not have the control signal of normal sound signal input for the expression audio playing apparatus.There is the control signal of normal sound signal input in this second control signal for the expression audio playing apparatus.
The amplitude that audio detection circuit 13 detects from the left channel analog audio signal and the right channel analog audio signal of audio codec 12.Because normal voice signal can not remain an almost noiseless state in a period of time always, therefore can judge and simply distinguish sound signal or do not have sound the sound sampling again of delaying time.Described hardware normal audio logic judging circuit 14 determines that according to the amplitude of audio detection circuit 13 detected simulating signals whether amplitude is always less than predetermined threshold value in a schedule time.When determining that amplitude is always less than predetermined threshold in this schedule time, determining does not have sound signal, and this hardware normal audio logic judging circuit 14 sends first control signal to control circuit 15.Otherwise, send second control signal to control circuit 15.This first control signal does not have the control signal of normal sound signal input for the expression audio playing apparatus.There is the control signal of normal sound signal input in this second control signal for the expression audio playing apparatus.
When control circuit 15 received any above-mentioned first control signal, it was closed audio power amplifying circuit 16 or makes audio power amplifying circuit 16 be in the energy saver mode of low-power consumption, so that save power supply.
When control circuit 15 received any above-mentioned second control signal, it made audio power amplifying circuit 16 operate as normal.When audio power amplifying circuit 16 is in normal operating conditions, it will amplify from the left channel analog audio signal and the right channel analog audio signal of audio codec 12, and through earphone or loudspeaker output.
Described control circuit 15 also can cut out audio power amplifying circuit 16 or make audio power amplifying circuit 16 be in the energy saver mode of low-power consumption according to the combination in any of above-mentioned first control signal, makes audio power amplifying circuit 16 operate as normal according to the combination in any of above-mentioned second control signal.At this moment, can improve the reliability of audio power amplifying circuit 16 controls.
Included parts in the frame of broken lines of Fig. 2: audio detection circuit 13, hardware normal audio logic judging circuit 14, a control circuit 15 and an audio power amplifying circuit 15 can be integrated in the power amplification chip.
As shown in Figure 3, it describes the course of work of audio driven 11 in detail.
When application software will be play an audio file, application software can be decoded accordingly to the form of audio file, call audio driven 11 by OS kernel (operating system nucleus) and (call the file Wavedev.dll in the audio driven 11, Wavemdd.lib, Wavepdd.lib), and with voice data give audio driven 11.11 pairs of voice datas that send of audio driven carry out audio mixing and other audio adjustment, then digital audio-frequency data are sent to hardware, and just audio codec 12 is handled.In addition, whether audio driven 11 bases receive voice data and call GPIO 17 described first control signal of output or second control signals.
Below, describe according to voice playing control method of the present invention.
At first, in step a, judge whether control circuit 15 receives first control signal or second control signal.When judgement receives first control signal, enter step b, when judgement receives second control signal, enter step c.Described first control signal is that audio driven 11 is judged and called the control signal that GPIO 17 sends when not receiving voice data, audio codec 12 is judged the control signal of sending when not receiving digital audio and video signals, or the control signal sent during less than predetermined threshold of hardware normal audio logic judging circuit 14 amplitude of determining simulated audio signals in schedule times.Described second control signal is that audio driven 11 is judged and called the control signal that GPIO 17 sends when receiving voice data, or audio codec 12 judges the control signal of sending when receiving digital audio and video signals, or hardware normal audio logic judging circuit 14 is determined the control signal that the amplitude of simulated audio signals in schedule times sends when being not less than predetermined threshold.
In step b, close audio power amplifying circuit 16 or make described audio power amplifying circuit 16 be operated in energy saver mode.In step c, make audio power amplifying circuit 16 be in normal operating conditions.
According to the present invention, according to audio driven 11, audio codec 12, or hardware normal audio logic judging circuit 14 judges the control signal that audio playing apparatus produces when whether playing normal audio, comes the duty of control audio power amplification circuit 15.Therefore, can not occur causing the problem of switch audio power amplifying circuit 15 repeatedly near judging whether to the threshold value of normal audio owing to simulated audio signal fluctuates, thereby can guarantee the operate as normal of audio power amplifying circuit 15, making not to influence the output of normal audio signal.
Though the concrete embodiment of the present invention is expressed; but be not in order to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; can do various changes and retouching, so protection scope of the present invention is as the criterion when looking the patent claim person of defining.
Claims (7)
1. audio playing apparatus, it comprises an audio power amplifying circuit and a control circuit, wherein,
When described control circuit received first control signal, it was closed described audio power amplifying circuit or makes described audio power amplifying circuit be operated in energy saver mode,
Described first control signal is that audio driven is judged and to be called the control signal that GPIO sends when not receiving voice data, audio codec is judged the control signal of sending when not receiving digital audio and video signals, or the control signal sent during less than predetermined threshold of the hardware normal audio logic judging circuit amplitude of determining simulated audio signal in the schedule time.
2. audio playing apparatus as claimed in claim 1, wherein,
When described control circuit received second control signal, it made described audio power amplifying circuit be in normal operating conditions,
Described second control signal is that audio driven is judged and to be called the control signal that GPIO sends when receiving voice data, or audio codec judges the control signal of sending when receiving digital audio and video signals, or hardware normal audio logic judging circuit is determined the control signal that the amplitude of simulated audio signal in the schedule time sends when being not less than predetermined threshold.
3. audio playing apparatus as claimed in claim 2, wherein,
Described first control signal is that audio driven is judged and to be called the control signal that GPIO sends when not receiving voice data, audio codec is judged the combination of the control signal of sending when amplitude that the control signal sent when not receiving digital audio and video signals and hardware normal audio logic judging circuit determine simulated audio signal in the schedule time is less than predetermined threshold.
4. audio playing apparatus as claimed in claim 2, wherein,
Described second control signal is that audio driven is judged and to be called the control signal that GPIO sends when receiving voice data, control signal of sending when the audio codec judgement receives digital audio and video signals and hardware normal audio logic judging circuit are determined the combination of the control signal that the amplitude of simulated audio signal in the schedule time sends when being not less than predetermined threshold.
5. as each described audio playing apparatus of claim 1-4, wherein,
The audio detection circuit of the amplitude of detection simulation sound signal, hardware normal audio logic judging circuit, control circuit and audio power amplifying circuit are integrated in the chip.
6. voice playing control method, it comprises,
Step a judges whether control circuit receives first control signal,
Step b when receiving first control signal in step a, closes audio power amplifying circuit or makes described audio power amplifying circuit be operated in energy saver mode,
Described first control signal is that audio driven is judged and to be called the control signal that GPIO sends when not receiving voice data, audio codec is judged the control signal of sending when not receiving digital audio and video signals, or the control signal sent during less than predetermined threshold of the hardware normal audio logic judging circuit amplitude of determining simulated audio signal in the schedule time.
7. voice playing control method as claimed in claim 6, wherein,
In step a, judge further whether control circuit receives second control signal,
This method further comprises: step c, and when in step a, receiving second control signal, make audio power amplifying circuit be in normal operating conditions,
Described second control signal is that audio driven is judged and to be called the control signal that GPIO sends when receiving voice data, or audio codec judges the control signal of sending when receiving digital audio and video signals, or hardware normal audio logic judging circuit is determined the control signal that the amplitude of simulated audio signal in the schedule time sends when being not less than predetermined threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101329962A CN100561581C (en) | 2005-12-31 | 2005-12-31 | Audio playing apparatus and voice playing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101329962A CN100561581C (en) | 2005-12-31 | 2005-12-31 | Audio playing apparatus and voice playing control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1992052A true CN1992052A (en) | 2007-07-04 |
CN100561581C CN100561581C (en) | 2009-11-18 |
Family
ID=38214246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101329962A Expired - Fee Related CN100561581C (en) | 2005-12-31 | 2005-12-31 | Audio playing apparatus and voice playing control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100561581C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457340A (en) * | 2010-10-29 | 2012-05-16 | 杨林 | Branch-control broadcast controller with delay |
CN103258548A (en) * | 2012-02-15 | 2013-08-21 | 富泰华工业(深圳)有限公司 | Audio playing device and its controlling method |
CN103313167A (en) * | 2013-06-20 | 2013-09-18 | 厦门雅迅网络股份有限公司 | Android system based energy-saving control method for audio power amplifier |
CN114625334A (en) * | 2020-12-10 | 2022-06-14 | 瑞昱半导体股份有限公司 | Audio control circuit and related control method |
-
2005
- 2005-12-31 CN CNB2005101329962A patent/CN100561581C/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457340A (en) * | 2010-10-29 | 2012-05-16 | 杨林 | Branch-control broadcast controller with delay |
CN103258548A (en) * | 2012-02-15 | 2013-08-21 | 富泰华工业(深圳)有限公司 | Audio playing device and its controlling method |
CN103258548B (en) * | 2012-02-15 | 2017-09-19 | 富泰华工业(深圳)有限公司 | Audio playing apparatus and its control method |
CN103313167A (en) * | 2013-06-20 | 2013-09-18 | 厦门雅迅网络股份有限公司 | Android system based energy-saving control method for audio power amplifier |
CN103313167B (en) * | 2013-06-20 | 2018-07-10 | 厦门雅迅网络股份有限公司 | Audio frequency power amplifier energy-saving control method based on Android system |
CN114625334A (en) * | 2020-12-10 | 2022-06-14 | 瑞昱半导体股份有限公司 | Audio control circuit and related control method |
Also Published As
Publication number | Publication date |
---|---|
CN100561581C (en) | 2009-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7129422B2 (en) | System and method for detecting and capturing voice commands | |
US9992745B2 (en) | Extraction and analysis of buffered audio data using multiple codec rates each greater than a low-power processor rate | |
US20170194001A1 (en) | Microphone circuit assembly and system with speech recognition | |
US20080144861A1 (en) | Method and apparatus for controlling a selectable voltage audio power output stage | |
CN105261368A (en) | Voice wake-up method and apparatus | |
CN1992052A (en) | Audio play device and audio play control method | |
WO2006127888A3 (en) | Data retention device for power-down applications and method | |
US8244313B2 (en) | Method and electronic device capable of saving power | |
US11264049B2 (en) | Systems and methods for capturing noise for pattern recognition processing | |
WO2008039536A3 (en) | Persistent security system and method | |
CN101409560A (en) | Apparatus and method for eliminating blasting noise of digital-analog converter | |
CN104485909B (en) | Gain control method and device | |
WO2018133565A1 (en) | Gain control device | |
US20120126761A1 (en) | Circuitry for controlling a voltage | |
CN105430543A (en) | Digital microphone and electronic device | |
CN101588157A (en) | Audio amplifier | |
CN102577112A (en) | Electronic device and integrated circuit comprising a gain control module and method therefor | |
CN104485910A (en) | Gain control method and device | |
CN109660903A (en) | A kind of earphone pop sound removing method, system and device | |
CN102117619B (en) | Method and device for adjusting gain of white noise stage | |
CN104506982A (en) | Timing type microphone meeting system and application thereof | |
CN111899722B (en) | Voice processing method and device and storage medium | |
US20080282009A1 (en) | Driving device for expansion card and driving method thereof and motherboard | |
EP1414237A3 (en) | Brightness control | |
US11958075B2 (en) | Driver circuitry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091118 Termination date: 20201231 |