CN105573398B - Poewr control method and electronic equipment - Google Patents

Poewr control method and electronic equipment Download PDF

Info

Publication number
CN105573398B
CN105573398B CN201410534370.3A CN201410534370A CN105573398B CN 105573398 B CN105573398 B CN 105573398B CN 201410534370 A CN201410534370 A CN 201410534370A CN 105573398 B CN105573398 B CN 105573398B
Authority
CN
China
Prior art keywords
audio signal
time point
exceeded
gain
electronic equipment
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.)
Active
Application number
CN201410534370.3A
Other languages
Chinese (zh)
Other versions
CN105573398A (en
Inventor
王睿智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410534370.3A priority Critical patent/CN105573398B/en
Publication of CN105573398A publication Critical patent/CN105573398A/en
Application granted granted Critical
Publication of CN105573398B publication Critical patent/CN105573398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

The invention discloses the electronic equipment of a kind of Poewr control method and the use Poewr control method.The Poewr control method, applied to electronic equipment, the Poewr control method includes:Based on audio signal to be output, the gross output value of at least two sound channels changed over time is calculated;Compare the gross output value and predetermined threshold power of calculating;Determine that the gross output value of the calculating is more than the time point of the threshold power, and calculate corresponding exceeded gain;And the audio signal at the time point is decayed with the amplitude corresponding to the exceeded gain.

Description

Poewr control method and electronic equipment
Technical field
The present invention relates to the field of Power Control, more particularly it relates to a kind of Poewr control method and use The electronic equipment of the Poewr control method.
Background technology
At present, it is configured with intelligent audio power amplifier to lift volume in the electronic equipment of such as mobile phone.The lifting of volume Often lead to the increase of power consumption.The intelligent audio power amplifier of SCVF single channel voice frequency is converted into 2.5A transient current.When there is two-way Or even during multipath audio signal, current mobile phone or flat-panel systems will be unable to provide reliable power supply guarantee.
Accordingly, it is desirable to provide a kind of Poewr control method and the electronic equipment using the Poewr control method, it can The power of audio signal is controlled, so that the instantaneous power consumption of system is controlled in rational scope.
The content of the invention
In view of the above, the invention provides the electricity of a kind of Poewr control method and the use Poewr control method Sub- equipment.
According to one embodiment of present invention there is provided a kind of Poewr control method, applied to an electronic equipment, the work( Rate control method includes:Based on audio signal to be output, the gross output of at least two sound channels changed over time is calculated Value;Compare the gross output value and predetermined threshold power of calculating;Determine the gross output value of the calculating more than described The time point of threshold power, and calculate corresponding exceeded gain;And by the audio signal at the time point with corresponding to institute The amplitude for stating exceeded gain is decayed.
In addition, Poewr control method according to an embodiment of the invention, wherein the predetermined threshold power correspondence In the supported maximum instantaneous electric current of the electronic equipment.
In addition, Poewr control method according to an embodiment of the invention, wherein by the audio signal at the time point Decayed with the amplitude corresponding to the exceeded gain so that the gross output value after decay is equal to or less than the threshold value Power.
In addition, Poewr control method according to an embodiment of the invention, in addition to the time after output attenuatoin The audio signal of point.
In addition, Poewr control method according to an embodiment of the invention, wherein by the audio signal at the time point Included with carrying out decay corresponding to the amplitude of the exceeded gain:The audio of at least two sound channel at the time point is believed Number decayed with the amplitude corresponding to the exceeded gain.
In addition, Poewr control method according to an embodiment of the invention, wherein by the audio signal at the time point Included with carrying out decay corresponding to the amplitude of the exceeded gain:Determine at least two sound channel each in the time The sub- output power value of point, first sub- sound channel of the selection with maximum sub- output power value, by described the first of the time point The audio signal of sub- sound channel is decayed with the amplitude corresponding to the exceeded gain.
According to another embodiment of the present invention there is provided a kind of electronic equipment, including:Audio signal acquiring unit, is used for Obtain audio signal to be output;At least two audio signal output units, for being exported via corresponding at least two sound channel Audio signal;And processing unit, for controlling the audio signal acquiring unit and at least two audio signal to export Unit, wherein, audio signal of the processing unit based on input calculates total output of at least two sound channels changed over time Performance number;Compare the gross output value and predetermined threshold power of calculating;Determine that the gross output value of the calculating is more than The time point of the threshold power, and calculate corresponding exceeded gain;By the audio signal at the time point with corresponding to institute The amplitude for stating exceeded gain is decayed.
In addition, electronic equipment according to another embodiment of the present invention, wherein the predetermined threshold power corresponds to institute State the supported maximum instantaneous electric current of electronic equipment.
In addition, electronic equipment according to another embodiment of the present invention, wherein the processing unit is by the time point Audio signal is decayed with the amplitude corresponding to the exceeded gain so that the gross output value after decay is equal to or less than The threshold power.
In addition, electronic equipment according to another embodiment of the present invention, wherein at least two audio signal output is single The audio signal at the time point after first output attenuatoin.
In addition, electronic equipment according to another embodiment of the present invention, wherein the processing unit is by the time point The audio signal of at least two sound channel is decayed with the amplitude corresponding to the exceeded gain.
In addition, electronic equipment according to another embodiment of the present invention, wherein at least two described in processing unit determination Sub- output power value of each of individual sound channel at the time point, first sub- sound of the selection with maximum sub- output power value Road, the audio signal of the described first sub- sound channel at the time point is decayed with the amplitude corresponding to the exceeded gain.
Poewr control method according to embodiments of the present invention and the electronic equipment using the Poewr control method, it can When even multipath audio signal concurrently reaches peak power to two-way, the instantaneous current value that can be supported based on system is entered to signal Row decay, so that the instantaneous power consumption of system is controlled in rational scope.
It is to be understood that foregoing general description and following detailed description are both exemplary, and it is intended to In further illustrating for the claimed technology of offer.
Brief description of the drawings
Fig. 1 is the block diagram of general introduction electronic equipment according to embodiments of the present invention;
Fig. 2 is the flow chart of general introduction Poewr control method according to embodiments of the present invention;
Fig. 3 is the flow chart of the first example of diagram Poewr control method according to embodiments of the present invention;And
Fig. 4 is the flow chart of the second example of diagram signal processing method according to embodiments of the present invention.
Embodiment
Hereinafter, describe with reference to the accompanying drawings multiple embodiments, using and modification.In addition, the embodiments described below is excellent The particular example of choosing, and technically preferred various limitations are provided with, but in the following description, the invention is not restricted to these Embodiment.
First, reference picture 1 is described to electronic equipment according to embodiments of the present invention.The electronic equipment is preferably e.g. Smart phone, tablet personal computer, notebook computer etc. are configured with the electronic equipment of intelligent audio power amplifier.
As shown in figure 1, electronic equipment 10 according to embodiments of the present invention has audio signal acquiring unit 11, processing unit 13 and audio signal output unit 121With 122.Two audio signal output units shown in Fig. 1, so it is easy to understand that The invention is not restricted to this.Electronic equipment 10 according to embodiments of the present invention can have three to export single even more than audio signal Member.
Specifically, the audio signal acquiring unit 11 is used to obtain audio signal V to be outputI.For example, the audio Signal acquiring unit 11 is treated from outside input multimedia stream file or the multimedia file decoding extraction to be played being locally stored The audio signal V of outputI
The processing unit 13 is used to control the audio signal acquiring unit 11 and at least two audio signal defeated Go out unit 121With 122.Audio signal V of the processing unit 13 based on inputI, calculate the gross output of at least two sound channels Value.The exports audio signal of two sound channels is obtained for V for example, calculatingO1And VO2, the exports audio signal is VO1And VO2When being Between function, the audio signal to be exported at the time of being reflected in subsequent.
The peak power that the electronic equipment 10 can be supported by such as VBAT power subsystem can be provided it is instantaneous Voltage or electric current are determined.When the gross output value of at least two sound channels is excessive, the electronic equipment 10 will be unable to provide stable Power supply ensure.Therefore, the processing unit 13 needs to control the gross output value of at least two sound channels in system institute energy In the range of support, to avoid the distortion for exporting acoustic audio signal.
Hereinafter, reference picture 2 to Fig. 4 is described as the Power Control performed by electronic equipment 10 according to embodiments of the present invention Method.
Fig. 2 is the flow chart of general introduction Poewr control method according to embodiments of the present invention.As shown in Fig. 2 according to the present invention The Poewr control method of embodiment comprises the following steps:
In step s 201, audio signal V to be output is obtained by the audio signal acquiring unit 11I.As described above, The audio signal acquiring unit 11 is from outside input multimedia stream file or the multimedia file solution to be played being locally stored Code extracts audio signal V to be outputI.Hereafter, processing enters step S202.
In step S202, the processing unit 13 is based on audio signal V to be outputI, calculating change over time to Few two sound channel (that is, exports audio signal V of two sound channelsO1And VO2) gross output value.Hereafter, processing enters step S203。
In step S203, compare the gross output value and predetermined threshold power of calculating, in terms of determining whether there is The gross output value of calculation is more than predetermined threshold power.
If obtaining positive result in step S203, that is, the gross output value changed over time calculated, which exists, to be more than The situation of predetermined threshold power, then processing enters step S204.
In step S204, the processing unit 13 determines that the gross output calculated is more than the specific of the threshold power Time point, and calculate the corresponding exceeded gain at the time point.Hereafter, processing enters step S205.
In step S205, the processing unit 13 is by the audio signal at the time point with corresponding in step S204 The amplitude of the exceeded gain calculated is decayed so that the gross output value after decaying at the time point is equal to or less than The threshold power.Hereafter, processing enters step S206.
In step S206, by the audio signal output unit 121With 122Output decays via the processing unit 13 The audio signal at the time point afterwards.
Return to step S203, if obtaining negative decision in step S203, that is, the total output changed over time calculated The situation more than predetermined threshold power is not present in performance number, then processing enters step S207.
In step S207, by the audio signal output unit 121With 122Directly export the time point to be output Audio signal.
In this way, in Poewr control method according to embodiments of the present invention as shown in Figure 2, by calculating following spy in real time The gross output value for the audio signal to be output fixed time a little, and the power threshold value that can be supported based on system, will Decayed in the gross output value of calculating beyond the audio signal of the particular point in time of power threshold value so that in the time Gross output value after point decay is equal to or less than the threshold power, is closing the instantaneous power consumption control of system so as to realize In the range of reason.
Hereinafter, by reference picture 3 and Fig. 4 description how the idiographic flow decayed to audio signal.
Fig. 3 is the flow chart of the first example of diagram Poewr control method according to embodiments of the present invention.As shown in Figure 3 First example of Poewr control method according to embodiments of the present invention comprises the following steps.
Step S301 to step S304 shown in Fig. 3 is identical to step S204 with the step S201 shown in Fig. 2, herein Its repeated description will be omitted.
Determine that the gross output calculated is more than the specific time point of the threshold power in step s 304, and calculate After the corresponding exceeded gain at the time point, the processing of the first example of Poewr control method enters step S305.
In step S305, the processing unit 13 is by the audio signal of at least two sound channels at the time point with correspondence Decayed in the amplitude of exceeded gain.That is, the audio signal of at least two sound channels is entered with identical attenuation amplitude Row Uniform attenuation.Hereafter, processing enters step S306.
In step S306, by the audio signal output unit 121With 122Output is uniform via the processing unit 13 The audio signal at the time point after decay.
Fig. 4 is the flow chart of the second example of diagram Poewr control method according to embodiments of the present invention.As shown in Figure 4 Second example of Poewr control method according to embodiments of the present invention comprises the following steps.
Step S401 to step S404 shown in Fig. 4 is identical to step S204 with the step S201 shown in Fig. 2, herein Its repeated description will be omitted.
Determine that the gross output calculated is more than the specific time point of the threshold power in step s 404, and calculate After the corresponding exceeded gain at the time point, the processing of the second example of Poewr control method enters step S405.
In step S405, the processing unit 13 determine at least two sound channels each is sub defeated at the time point Go out performance number, and select the first sub- sound channel with maximum sub- output power value.Hereafter, processing enters step S406.
In step S406, the processing unit 13 by the audio signal of the first of the time point the sub- sound channel with corresponding to The amplitude of exceeded gain is decayed.That is, by the audio signal of one at least two sound channels with corresponding to exceeded The amplitude of gain is decayed so that the gross output value after decaying at the time point is equal to or less than the threshold power. Alternately, it is understood that there may be after certain amplitude that the audio signal of the first sub- sound channel decays, gross output is still higher than The situation of the threshold power.Due to if further to the audio signal of the first sub- sound channel, then the first sub- sound channel is defeated Obvious distortion will likely be occurred by going out signal.Now, the processing unit 13 can transfer to another at least two sound channels Audio signal decayed, until meet the time point decay after gross output value be equal to or less than the threshold value work( Rate.Hereafter, processing enters step S406.
In step S406, by the audio signal output unit 121With 122Output is distinguished via the processing unit 13 The audio signal at the time point after decay.
More than, describe Poewr control method according to embodiments of the present invention referring to figs. 1 to Fig. 4 and use the power control The electronic equipment of method processed, it can be when even multipath audio signal concurrently reaches peak power to two-way, can be with based on system The instantaneous current value of support is decayed to signal, so that the instantaneous power consumption of system is controlled in rational scope.
It should be noted that in this manual, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Finally, in addition it is also necessary to explanation, a series of above-mentioned processing are not only included with order described here in temporal sequence The processing of execution, and the processing including performing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware.Understood based on such, What technical scheme contributed to background technology can be embodied in the form of software product in whole or in part, The computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to make Obtain a computer equipment (can be personal computer, server, or network equipment etc.) and perform each embodiment of the invention Or the method described in some parts of embodiment.
The present invention is described in detail above, principle and embodiment party of the specific case used herein to the present invention Formula is set forth, and the explanation of above example is only intended to the method and its core concept for helping to understand the present invention;Meanwhile, it is right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Part, in summary, this specification content should not be construed as limiting the invention.

Claims (12)

1. a kind of Poewr control method, applied to an electronic equipment, the Poewr control method includes:
Based on audio signal to be output, the gross output value of at least two sound channels changed over time is calculated;
Compare the gross output value and predetermined threshold power of calculating;
Determine that the gross output value of the calculating is more than the time point of the threshold power, and calculate corresponding exceeded increasing Benefit;And
The audio signal at the time point is decayed with the amplitude corresponding to the exceeded gain.
2. Poewr control method as claimed in claim 1, wherein the predetermined threshold power corresponds to the electronic equipment Supported maximum instantaneous electric current.
3. Poewr control method as claimed in claim 2, wherein by the audio signal at the time point with corresponding to described super The amplitude of mark gain is decayed so that the gross output value after decay is equal to or less than the threshold power.
4. Poewr control method as claimed in claim 3, includes the audio signal at the time point after output attenuatoin.
5. claim 1 to 4 it is any as described in Poewr control method, wherein by the audio signal at the time point with correspondence Carrying out decay in the amplitude of the exceeded gain includes:
The audio signal of at least two sound channel at the time point is declined with the amplitude corresponding to the exceeded gain Subtract.
6. claim 1 to 4 it is any as described in Poewr control method, wherein by the audio signal at the time point with correspondence Carrying out decay in the amplitude of the exceeded gain includes:
Each sub- output power value at the time point of at least two sound channel is determined, selection has maximum son output First sub- sound channel of performance number, by the audio signal of the described first sub- sound channel at the time point with corresponding to the exceeded gain Amplitude decayed.
7. a kind of electronic equipment, including:
Audio signal acquiring unit, the audio signal to be output for obtaining;
At least two audio signal output units, for via corresponding at least two sound channels exports audio signal;And
Processing unit, for controlling the audio signal acquiring unit and at least two audio signal output unit,
Wherein, audio signal of the processing unit based on input, calculates total output of at least two sound channels changed over time Performance number;Compare the gross output value and predetermined threshold power of calculating;Determine that the gross output value of the calculating is more than The time point of the threshold power, and calculate corresponding exceeded gain;By the audio signal at the time point with corresponding to institute The amplitude for stating exceeded gain is decayed.
8. electronic equipment as claimed in claim 7, can be propped up wherein the predetermined threshold power corresponds to the electronic equipment The maximum instantaneous electric current held.
9. electronic equipment as claimed in claim 8, wherein the processing unit by the audio signal at the time point with correspondence Decayed in the amplitude of the exceeded gain so that the gross output value after decay is equal to or less than the threshold power.
10. electronic equipment as claimed in claim 9, wherein after at least two audio signal output units output attenuatoin The audio signal at the time point.
11. claim 7 to 10 it is any as described in electronic equipment, wherein the processing unit is by described in the time point The audio signal of at least two sound channels is decayed with the amplitude corresponding to the exceeded gain.
12. claim 7 to 10 it is any as described in electronic equipment, wherein the processing unit determines at least two sound Sub- output power value of each of road at the time point, first sub- sound channel of the selection with maximum sub- output power value will The audio signal of the described first sub- sound channel at the time point is decayed with the amplitude corresponding to the exceeded gain.
CN201410534370.3A 2014-10-11 2014-10-11 Poewr control method and electronic equipment Active CN105573398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410534370.3A CN105573398B (en) 2014-10-11 2014-10-11 Poewr control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410534370.3A CN105573398B (en) 2014-10-11 2014-10-11 Poewr control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105573398A CN105573398A (en) 2016-05-11
CN105573398B true CN105573398B (en) 2017-07-25

Family

ID=55883649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410534370.3A Active CN105573398B (en) 2014-10-11 2014-10-11 Poewr control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105573398B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010650B (en) * 2018-10-06 2022-02-11 华为技术有限公司 Audio signal processing method, device and equipment
WO2021138808A1 (en) * 2020-01-07 2021-07-15 深圳市大疆创新科技有限公司 Audio signal processing method, related device, loudspeaker device, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7894598B2 (en) * 2004-12-14 2011-02-22 Nuance Communications, Inc. System for limiting receive audio
JP2006301134A (en) * 2005-04-19 2006-11-02 Hitachi Ltd Device and method for music detection, and sound recording and reproducing device
US7995775B2 (en) * 2006-07-14 2011-08-09 Broadcom Corporation Automatic volume control for audio signals
CN101282111B (en) * 2008-06-02 2011-04-20 北京海尔集成电路设计有限公司 Method and system for controlling sound volume adjustment
CN202652508U (en) * 2012-06-07 2013-01-02 Tcl通力电子(惠州)有限公司 Power protection circuit

Also Published As

Publication number Publication date
CN105573398A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN101924971B (en) Apparatus and method for outputting audio signal in portable terminal
CN110178381A (en) Loudspeaker protection offset supervision
CN103929692B (en) Audio information processing method and electronic equipment
JP4982474B2 (en) DC power supply
CN105848052B (en) A kind of Mike's switching method and terminal
CN105573398B (en) Poewr control method and electronic equipment
CN107682802B (en) Method and device for debugging sound effect of audio equipment
CN103218034A (en) Application object adjusting method and electronic device
CN101778333B (en) Detection method and device of microphone state
CN104485909B (en) Gain control method and device
CN104078045A (en) Identifying method and electronic device
CN116523064B (en) Quantum genetic algorithm-based searching method and device, storage medium and electronic equipment
CN110111811A (en) Audio signal detection method, device and storage medium
CN104269177A (en) Voice processing method and electronic device
CN117880725A (en) Speaker resonant frequency detection method and device and speaker fault detection system
CN105516860A (en) Virtual basetone generating method, virtual basetone generating device and terminal
CN105704609A (en) Sound equipment mode adjusting method and device
CN103338258A (en) Conference audio equipment management and control method based on cloud technology
CN102325283B (en) Earphone, user equipment and audio data output method
CN103813235A (en) Information processing method and device
CN109582114A (en) A kind of mobile terminal and its start-up control method
CN107678728A (en) Audio data processing method and electronic equipment
CN101247111B (en) Method and apparatus for controlling audio signal output level of portable audio device
CN106786849A (en) The method and device of voltage-drop compensation
US20200119549A1 (en) System and Method for a Dynamic Switchable Active Front End - Dynamic Switchable Active Harmonic Filtering System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant