CN106598195A - Method for performing power consumption control, and associated apparatus - Google Patents

Method for performing power consumption control, and associated apparatus Download PDF

Info

Publication number
CN106598195A
CN106598195A CN201610621752.9A CN201610621752A CN106598195A CN 106598195 A CN106598195 A CN 106598195A CN 201610621752 A CN201610621752 A CN 201610621752A CN 106598195 A CN106598195 A CN 106598195A
Authority
CN
China
Prior art keywords
power consumption
consumption control
electric current
electronic installation
battery
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.)
Withdrawn
Application number
CN201610621752.9A
Other languages
Chinese (zh)
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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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
Priority claimed from US14/886,089 external-priority patent/US20160041207A1/en
Application filed by MediaTek Inc filed Critical MediaTek Inc
Publication of CN106598195A publication Critical patent/CN106598195A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

A method for performing power consumption control is provided, where the method is applied to an electronic device. The method includes: sensing a current on a current path between a battery and at least one portion of the electronic device by performing sampling operations to generate a plurality of samples; performing calculation on the samples to monitor the current; and based upon the calculation, when it is detected that the current reaches a predetermined threshold, triggering the battery into a second mode from a first mode. An associated apparatus is also provided.

Description

Power consumption control method and its device
Technical field
The present invention is related to the power management mechanism of electronic installation, particularly with regard to a kind of power consumption control method and its dress Put.
Background technology
In the prior art, portable electron device (for example, multifunctional mobile telephone, personal digital assistant, panel computer Deng) for terminal use it is highly useful.Typically, in order to a variety of purposes can respectively on portable electron device The different application of operation.Some problems can then be produced when the design of the portable electron device and these applications is improper.For example, Program module can enable the specific wireless transfer function of (enable) portable electron device, when the program module is not being forbidden (disable) the specific wireless transfer function and when being changed into idle (inactive), it is unnecessary that the wireless transmission function may cause Power consumption, this is rapidly consumed the dump energy of the battery of the portable electron device.Again for example, a kind of application may be opened The particular sensor unit of the portable electron device is opened, is terminated the particular sensor unit is not turned off when this is applied When, as transmitting element is not turned off, the particular sensor unit may cause unnecessary power consumption.Sum it up, existing skill Do not have services end users well in art.Accordingly, it would be desirable to a kind of novel method, to the power consumption control for strengthening electronic installation System.
The content of the invention
In view of this, the present invention provides a kind of power consumption control method and its device to solve the above problems.
The present invention provides a kind of power consumption control method, is applied to electronic installation, and the power consumption control method includes:By performing Sampling operation senses an at least current path between battery and at least a portion of the electronic installation producing multiple samples An at least electric current;The plurality of sample is calculated to monitor an at least electric current;And the calculating is based on, when detecting this extremely When a few electric current reaches predetermined threshold value, trigger the battery and second mode is entered from first mode.
The present invention separately provides a kind of power consumption control apparatus, and the power consumption control apparatus include at least a portion of electronic installation, The power consumption control apparatus include:Current sense circuit, by performing sampling operation to produce multiple samples, the current sense circuit To at least electric current for sensing at least current path between battery and at least a portion of the electronic installation;Control mould Block, is monitored an at least electric current to calculate to the plurality of sample, wherein based on the calculating, when detect this at least one When electric current reaches predetermined threshold value, trigger the battery and second mode is entered from first mode.
The power consumption control method and its device provided using the present invention can reduce the power consumption of electronic installation so that user from Power failures caused by the power consumption institute of inessential or excess.
Description of the drawings
Fig. 1 is the schematic diagram of the execution power consumption control apparatus according to first embodiment of the invention;
Fig. 2 is the schematic diagram of some implementation details of the power consumption control apparatus according to one embodiment of the invention;
Fig. 3 is the schematic diagram of some implementation details of the power consumption control apparatus according to another embodiment of the present invention;
Fig. 4 is the flow chart of the power consumption control method according to one embodiment of the invention;
Fig. 5 is the schematic diagram of the first scene involved by the power consumption control method according to one embodiment of the invention;
Fig. 6 is the schematic diagram of the second scene involved by the power consumption control method according to another embodiment of the present invention;
Fig. 7 is the schematic diagram of the 3rd scene involved by the power consumption control method according to further embodiment of this invention;
Fig. 8 is the schematic diagram of the 4th scene involved by the power consumption control method according to yet another embodiment of the invention;
Fig. 9 is the schematic diagram of the 5th scene involved by the power consumption control method according to another embodiment of the present invention;
Figure 10 is the schematic diagram of some implementation details of the power consumption control apparatus according to another embodiment of the present invention;
Figure 11 is a deformation of embodiment shown in Figure 10;
Figure 12 is the flow chart of the power consumption control method according to one embodiment of the invention;
Figure 13 is the schematic diagram of some implementation details of the power consumption control apparatus according to another embodiment of the present invention.
Specific embodiment
Some vocabulary used in are censuring specific components in description and claim.The technology of art Personnel are, it is to be appreciated that same component may be called with different nouns by manufacturer.This specification and claims not with Mode of the difference of title as differentiation component, but using component difference functionally as differentiation criterion.Illustrate in the whole text "comprising" mentioned in book and claim is open language, therefore should be construed to " include but be not limited to ".Additionally, " coupling Connecing " a word here is comprising any directly and indirectly electrical connection.By following preferred embodiment narration and coordinate Fig. 1 to Fig. 9 explanation present invention of full text, but it is described below in device, component and method, step be to explain the present invention, And should not be taken to limit the present invention.
Fig. 1 is refer to, Fig. 1 is the schematic diagram of the power consumption control apparatus 100 according to first embodiment of the invention.According to different Embodiment, such as first embodiment and its deformation, power consumption control apparatus 100 may include electronic installation (such as in background technology The portable electron device mentioned) at least a portion (for example, part or all).For example, power consumption control apparatus 100 can be wrapped A part for the portable electron device mentioned in including background technology, more specifically, can be the control in the portable electron device Circuit (such as integrated circuit (integrated circuit, IC)) processed.Again for example, power consumption control apparatus 100 can be background skill The portable electron device mentioned in art its entirety.Again for example, power consumption control apparatus 100 can be comprising mentioning in background technology The audio-frequency/video frequency system of portable electron device.The example of the electronic installation includes but is not limited to mobile phone (for example, many work( Can mobile phone), personal digital assistant (PDA), portable electron device (such as so-called panel computer), PC (example Such as tablet PC, be also referred to as panel computer in order to easy), kneetop computer or desktop computer.
As shown in figure 1, power consumption control apparatus 100 may include current sense circuit 110 and control module 120, wherein controlling Module 120 may include electric current average calculation unit 122, state detection unit 124, comparing unit 126 and post processing triggers circuit 128.By performing sampling operation to produce multiple sample { ISAMPLE, current sense circuit 110 can be filled in battery and aforementioned electronic An at least electric current I (not showing in Fig. 1) is sensed on an at least current path between at least a portion put.For example, when it is aforementioned extremely When a few electric current includes multiple electric currents { I }, such as electric current I1、I2、I3Deng (not showing in Fig. 1), by performing sampling operation to produce Multiple sample { ISAMPLE, multiple electric current roads that current sense circuit 110 can be between battery and some of the electronic installation Sense the plurality of electric current { I }, such as electric current I on footpath respectively1、I2、I3Deng.Again for example, when an aforementioned at least electric current includes one (do not show in Fig. 1) during electric current I, for example from battery total output (or reveal) electric current or flow to total input current of battery, lead to Cross execution sampling operation to produce multiple sample { ISAMPLE, current sense circuit 110 can be in battery with the electronic installation at least Electric current I is sensed on a current path between a part.Additionally, control module 120 can be to the sample { ISAMPLECarry out Calculate with monitor current I.Operated based on the calculating, when electric current I is detected, (more particularly, detection is represented (representative)IM, which represents the result of calculation of the calculating operation) and reach predetermined threshold value ITHWhen, control module 120 can The post-processing operation that triggering will be performed in the electronic installation.For example, the post-processing operation can be used to reduce power consumption.
According to the embodiment, electric current average calculation unit 122 is executable to calculate operation, such as in sample { ISAMPLEOn hold Line slip average computation (moving average calculation) is producing the representative I of electric current IM, comparing unit 126 can be by IMWith predetermined threshold value ITHIt is compared, to detect that (more particularly, detection represents I to electric current IM, which represents that the moving averages are calculated The moving averages result of calculation of operation) whether reach predetermined threshold value ITH, wherein, (more particularly, detection is represented to detect electric current I IM, which represents that the moving averages calculate the moving averages result of calculation of operation) and reach predetermined threshold value ITHWhen, post processing triggers circuit 128 can trigger the post-processing operation.More particularly, can select from the multiple predetermined threshold values defined at least one default look-up table Take predetermined threshold value ITH, wherein state detection unit 124 can perform the selection operation.The default look-up table is placed in the electronics and fills Among putting or outside, this depend on different design requirements.For example, aforementioned at least one default look-up table can be stored in state-detection In unit 124.Again for example, aforementioned at least one default look-up table can be stored in memorizer that (for example, volatile storage is (for example RAM) or non-volatility memorizer (such as flash memory)).Again for example, aforementioned at least one default look-up table can be stored in hard disk (hard Disk drive, HDD) in.Citing is only for, the present invention is not limited to this.According to the deformation of the present embodiment, predetermined threshold value ITH For fixed value rather than can choose in multiple predetermined threshold values, wherein in this variant embodiment, state detection unit 124 is Nonessential.According to other deformations of the present embodiment, the comparative result that comparing unit 126 is produced can be used to optionally trigger this Post-processing operation.For example, the first state of the comparative result that comparing unit 126 is produced can trigger the post-processing operation, and compare Second state of the comparative result that unit 126 is produced will not trigger the post-processing operation.Therefore, in these variant embodiments, Being embodied as post processing triggers circuit 128 is nonessential.
As above disclosed, moving averages are calculated can be used as aforementioned calculating example.Citing is only for, the present invention is simultaneously Not limited to this.According to the deformation of the present embodiment, aforementioned calculating may include to calculate a default unit gap (for example, one it is default when Between length) some of sample { ISAMPLEMeansigma methodss, wherein based on different designs need can adjust the default unit between Every.According to other deformations of the present embodiment, the meansigma methodss can be replaced by maximum.For example, aforementioned calculating can represent calculating front Some of default unit gap stated sample { ISAMPLEMaximum.
In the embodiment shown in fig. 1, state detection unit 124 can check electronic installation to detect whether to meet multiple A particular state in preset state.When detection meets the particular state, state detection unit 124 is using corresponding to the spy A particular preset threshold value of state is determined as predetermined threshold value ITH.More particularly, the plurality of preset state can it is aforesaid at least Defined in one default look-up table, wherein state detection unit 124 can be captured to correspond to from aforementioned at least one default look-up table and is somebody's turn to do At least one of status information of preset state, to check the electronic installation, so as to detect whether to meet the particular state. In implementation, the status information can represent some preset states that the electronic installation is likely encountered, and state detection unit 124 can be examined Whether the current state for surveying the electronic installation is matched with the particular state of the preset state.The preset state can be electronic installation Any state being likely encountered.For example, the preset state may include to surf the web, play game, play music, run and apply journey Sequence, sleep pattern etc., and corresponding threshold value can be determined for these preset states, so as to can detect the power consumption of exception or excess. In certain embodiments, user may be defective from the application program that website is downloaded.The first in these Application of defect programs Application program can enable Wireless Fidelity (Wireless Fidelity, Wi-Fi) function in its run duration, and in its stopping fortune The Wi-Fi functions are not forbidden after between the departure date, this will cause unnecessary power consumption and unnecessary workload.These defects Second application program in application program can enable gravity sensing (G-sensor) function in its run duration, and in its stopping The G-sensor functions are not forbidden after run duration, this also leads to unnecessary power consumption.Power consumption control apparatus 100 can be remembered Record is related to the historical information of these situations, and (such as the first application program and second should by these application programs having contemplated that With program) historical information be compared with status information (such as preset mode) respectively, wherein the preset mode may be, for example, Multiple predetermined bits, each bit represent making for the element of the enable/illegal state or electronic installation of the function of the electronic installation Energy/illegal state.The historical information of each application program (the such as first application and the second application) having contemplated that may include For the bit compared with preset mode, for example, represent the enable/illegal state of some functions and/or element of electronic installation Multiple bits.When the plurality of bit and preset mode match, power consumption control apparatus 100 can determine that to detect one pre- If state.
As above disclosed, status information can represent some preset states that electronic installation may be met.It is only for citing, The present invention is not limited to this.According to the deformation of the present embodiment, status information can represent some possibility that electronic installation may be met Scene (scenario), and the state detection unit 124 can detect the current state of the electronic installation whether with possible field Special scenes in scape match.
According to other deformations of the present embodiment, post-processing operation can be by multiple defined in aforementioned at least one default look-up table Choose in default post-processing operation.When detect meet the particular state when, control module 120 can will correspond to the particular state A particular preset post-processing operation as above-mentioned post-processing operation.
Fig. 2 be according to one embodiment of the invention Fig. 1 shown in power consumption control apparatus 100 some implementation details signal Figure.Using battery 50 as the battery described in first embodiment, the wherein positive port (positive terminal) of battery 50 VBAT+ can be electrically connected to the cell input terminal VBAT of electronic installation, negative terminal mouth (ground terminal) GND- of battery 50 The system earth end of electronic installation can be coupled to by resistance R1.
As shown in Fig. 2 electronic installation may include chip 101 (being denoted as " SoC ", this represents SOC(system on a chip)).Chip 101 can Including at least a processor 150 and power consumption control module 105.Here, chip 101 as implement power consumption control apparatus 100 one Individual example.Citing is only for, the present invention is not limited to this.According to some deformations of the present embodiment, implement without the need for chip 101 Power consumption control apparatus 100, wherein power consumption control apparatus 100 can be embodied as non-SOC(system on a chip) (non-SoC) device, such as including one The system of the element being positioned on printed panel (printed circuit board, PCB).According to the embodiment of Fig. 2, in Fig. 1 Current sense circuit 110 include the analog-digital converter (analog-to- with first input end CS+ and the second input CS- Digital converter, ADC) 112, and at least resistance with first end and the second end can be further included, for example scheme Resistance R1 shown in 2, wherein ADC 112 and control module 120 can be embodied as being placed in chip 101 power consumption control module 105 it In, and first voltage and second voltage can be received respectively using first input end CS+ and the second input CS-.ADC 112 can Sampling operation is performed to the voltage difference corresponding to electric current I, to produce multiple sample { ISAMPLE, wherein the voltage difference is first defeated Enter to hold the voltage difference between the first voltage of CS+ receptions and the second voltage of the second input CS- receptions.For example, processor 150 Controllable ADC 112 is performing sampling operation.Citing is only for, the present invention is not limited to this.According to the deformation of the present embodiment, figure 1 current sense circuit 110 may include at least Hall element (Hall component) with first end and the second end, can Replace resistance R1 with an at least Hall element.Therefore, first voltage and Hall of the voltage difference for the first end of Hall element Voltage difference between the second voltage at the second end of element.
Post-processing operation may include some to the operation that reduces power consumption.For example, post-processing operation may include to forbid electronics The wireless transmission function of device, when control module 120 triggers the post processing using interrupt signal (being denoted as " interruption " in fig. 2) During operation, electronic installation can forbid above-mentioned wireless transmission function.Citing is only for, the present invention is not limited to this.According to this reality Apply the deformation of example, post-processing operation may include at least element for closing the electronic installation, when control module 120 is using in above-mentioned When break signal triggers the post-processing operation, electronic installation can cut out an above-mentioned at least element.In other embodiments, post processing Operation may include to check which software/firmware/hardware causes electric current to reach predetermined threshold value, then can forbid a software module, prohibit Only there is abnormal power consumption etc. in an application or warning user.
Fig. 3 be according to another embodiment of the present invention Fig. 1 shown in power consumption control apparatus 100 some implementation details signal Figure.Using battery 50 as the battery described in first embodiment, the positive port VBAT+ of wherein battery 50 can be coupled by resistance R1 The cell input terminal VBAT of electronic installation, the negative terminal mouth GND- of battery 50 can be electrically connected to the system earth end of electronic installation. Identical description in this embodiment will not be repeated again.
According to the deformation of the present embodiment, current sense circuit 110 may include with first end and the second end at least one suddenly That element (Hall component), can replace resistance R1 with an at least Hall element.Therefore, voltage difference is Hall element First end first voltage and Hall element the second end second voltage voltage difference.The identical in this variant embodiment Description will not be repeated again.
Fig. 4 is the flow chart of the power consumption control method 200 according to one embodiment of the invention.Method shown in Fig. 4 can be applied In the power consumption control apparatus 100 shown in Fig. 1.Power consumption control method 200 is described as follows.
In step 210, current sense circuit 110 can be by performing sampling operation to produce sample { ISAMPLEWith sensing On current path between aforementioned at least a portion (such as some one or more) of battery and electronic installation Electric current I, control module 120 can be to the sample { ISAMPLECalculating is performed with monitor current I, to detect the electricity based on the calculating Whether stream I reaches predetermined threshold value.
In a step 220, based on the calculating, control module 120 (more particularly comparing unit 126) can detect the electric current Representative IMWhether predetermined threshold value I is reachedTH.As the representative I for detecting the electric currentMReach predetermined threshold value ITHWhen, into step 230, otherwise return to step 210.
In step 230, control module 120 (more particularly post processing triggers circuit 128) can trigger and will be implemented in Aforementioned post-processing operation in electronic installation.After the trigger action of step 230 is performed, the flow process shown in Fig. 4 terminates.This is only To illustrate, the present invention is not limited to this.According to the deformation of the present embodiment, after the trigger action of step 230 is performed, can return to Step 210.That is, the flow process shown in Fig. 4 can repeatable operation.
According to other embodiments, such as some deformations of the embodiment shown in Fig. 4, the operation being previously disclosed be (Fig. 1's -3 Operation disclosed in any embodiment, and its corresponding deformation) power consumption control method 200 that can be applicable to shown in Fig. 4, because This, identical description will not be repeated again.
According to other embodiments, such as some of the embodiment shown in Fig. 4 deform, disclosed in power consumption control method 200 Operation even can perform in sleep pattern, in sleep pattern, because the sampling operation can be completed by hardware, the calculating Operation, triggers the post-processing operation, without the need in the software used in sleep pattern, therefore an aforementioned at least processor 150 Or multiple processors can enter sleep.When post-processing operation as exception or excess electric current/power consumption (such as send one when being triggered Interrupt signal), the processor for having been enter into sleeping can be waken up, and locate to using some software programs run on the processor Manage the exception or excess electric current/power consumption.
Fig. 5 is the signal of the first scene involved by power consumption control method 200 shown in Fig. 4 according to one embodiment of the invention Figure, wherein first scene can be used as an example of aforementioned possible scene.An aforementioned at least processor 150 may include application Processor 150-1 and communication processor 150-2 (such as modem).Additionally, electronic installation can further include radio frequency System 180.For example, include can be under the control of application processor 150-1 and/or communication processor 150-2 for Radio Frequency Subsystem 180 The transceiver of operation, power amplifier etc..According to the embodiment, communication processor 150-2 can directly control Radio Frequency Subsystem 180, and the electrical connection indirect control Radio Frequency Subsystem 180 between application processor 150-1 can pass through, wherein, application Processor 150-1 can be communicated with communication processor 150-2, with indirect control Radio Frequency Subsystem 180.In implementation, application Processor 150-1 and communication processor 150-2 can have respective CPU (Central Processing Units, CPU), these CPU are separately operable respective operating system (Operating Systems, OS), wherein Application processor 150-1 and communication processor 150-2 can receive interrupt signal, and application processor 150-1 and mailing address respectively Each of reason device 150-2 can be responded from the interrupt signal of the reception of power consumption control module 105 and be operated.It is only for citing, The present invention is not limited to this.According to other deformations of the present embodiment, application processor 150-1 and communication processor 150-2 can collect Into in same processor, or, the function of application processor 150-1 and communication processor 150-2 can be by same process Device is performing.
As shown in figure 5, resistance R1 (is denoted as " resistance sensing ", which is represented for the sensing at least electricity of an electric current I in Fig. 5 Resistance) can be used in sensing flow to the total of application processor 150-1, communication processor 150-2 and Radio Frequency Subsystem 180 from battery 50 Electric current is exported.Based on aforesaid voltage difference, such as first voltage of the first end of resistance R1 and the second of second end of resistance R1 Voltage difference between voltage, power consumption control module 105 can be checked in operation (for example, the call behaviour using Radio Frequency Subsystem 180 Make, data link operation etc.) during whether there is exception or excess electric current/power consumption.
Fig. 6 is showing for the second scene involved by power consumption control method 200 shown in Fig. 4 according to another embodiment of the present invention It is intended to, wherein second scene can be used as an example of aforementioned possible scene.Shown in application processor 150-1 and Fig. 5 It is identical.Electronic installation can further include specific hardware module 182 (" specific hardware " is denoted as in Fig. 6), and which can be at application Reason device 150-1 controls are lower to be operated.(for example, the G-sensor or to provide for power consumption control apparatus 100 of specific hardware module 182 The Wi-Fi circuit of Wi-Fi functions) either temporarily or permanently can break down, or damage in some cases, this will cause exception Or excess electric current/power consumption.
As shown in fig. 6, occurring that abnormal (for example, electric current I exceptions and/or power consumption are different when detect specific hardware module 182 When often), application processor 150-1 can receive aforesaid interrupt signal.More specifically, it is poor based on aforesaid voltage, such as resistance R1 First end first voltage and resistance R1 the second end second voltage between voltage difference, power consumption control module 105 can examine Look into the exception or excess electric current/power consumption of specific hardware module 182.
Fig. 7 is showing for the 3rd scene involved by power consumption control method 200 shown in Fig. 4 according to further embodiment of this invention It is intended to, wherein the 3rd scene can be used as an example of aforementioned possible scene.Application processor 150-1 and communication processor 150-2 is same as shown in Figure 5.
As shown in fig. 7, the third-party application (being denoted as " 3App ") operated on application processor 150-1 can wake up communication Processor 150-2.It is noted that traditional application processor can not discover third-party application has waken up traditional mailing address Reason device.According to the present embodiment, with the help of power consumption control module 105, the discernable third-party applications of application processor 150-1 are non- Communication processor 150-2 has been waken up necessarily, this causes excess power consumption, therefore application processor 150-1 third party to may be selected and answers Some operations (such as the third-party application out of service), to reduce the power consumption of communication processor 150-2.It is only for lifting Example, the present invention are not limited to this.According to other deformations of the present embodiment, aforesaid third-party application can be optionally called out by any The application of awake communication processor 150-2 is replaced.According to other deformations of the present embodiment, aforesaid third-party application can be by any The application for optionally waking up application processor 150-1 is replaced.
According to the deformation of the embodiment shown in Fig. 7, when application processor 150-1 is in sleep pattern, power consumption control mould Block 105 can detect the exception or excess electric current/power consumption of communication processor 150-2, and the framework shown in Fig. 7 and corresponding operation have Help reduce the power consumption of communication processor 150-2.Identical description will not be repeated again.
Fig. 8 is showing for the 4th scene involved by power consumption control method 200 shown in Fig. 4 according to yet another embodiment of the invention It is intended to, wherein the 4th scene can be used as an example of aforementioned possible scene.Shown in application processor 150-1 and Fig. 5 It is identical.Electronic installation can further include multimedia hardware module 184 (" MM hardware " is denoted as in Fig. 8), and which can be at application Reason device 150-1 controls are lower to be operated.Some operated on application processor 150-1 apply (" App " is denoted as in Fig. 8), for example The related application of multimedia, can enable, forbids or control multimedia hardware module 184.Multimedia hardware module 184 can be figure Accelerator (graphic accelerator), video encoder/decoder or audio encoder/decoder.In another embodiment In, multimedia hardware module 184 may include graphics accelerator, video encoder/decoder or audio encoder/decoder.
As shown in figure 8, power consumption control module 105 can detect that the exception of the generation of multimedia hardware module 184 or excess electricity Stream/power consumption, these exceptions or excess electric current/power consumption are by the related application of the multimedia operated on application processor 150-1 Caused by institute.Framework and corresponding operation shown in Fig. 8 contributes to reducing the power consumption of multimedia hardware module 184.For example, at certain In a little multimedia static scenes (such as music playback, video playback/video recording, camera preview etc.), power consumption control module 105 can be examined Its exception or excess electric current/power consumption are surveyed, and further triggers post-processing operation, to reduce power consumption.
Fig. 9 is showing for the 5th scene involved by power consumption control method 200 shown in Fig. 4 according to another embodiment of the present invention It is intended to, wherein the 5th scene can be used as an example of aforementioned possible scene.Application processor 150-1, communication processor 150-2 and Radio Frequency Subsystem 180 distinguish same as shown in Figure 5.
As shown in figure 9, the aforesaid resistance R1 of Fig. 5 by multiple resistance { R1 } replace (" resistance sensing " is denoted as in Fig. 9, Which is identical with the implication shown in Fig. 5).Resistance { R1 } can be used to sensing respectively from battery 50 and flow to application processor 150-1, communication Multiple electric currents { I } of processor 150-2 and Radio Frequency Subsystem 180, such as electric current I1、I2And I3.Based on aforesaid voltage difference, example Such as the first voltage and the second of the second end of specific electrical resistance R1 of resistance { R1 } of the first end of specific electrical resistance R1 of resistance { R1 } Voltage difference between voltage, power consumption control module 105 can check telephone operation, data link operate etc. during whether occur it is different Normal or excess electric current/power consumption.
In embodiment as shown in figures 5-9, power consumption control module 105 can detect the representative I of electric current IMWhether reach pre- Determine threshold value ITH, to determine whether to send interrupt signal to processor.Citing is only for, the present invention is not limited to this.According to Fig. 5-9 Other deformations of shown embodiment, processor can periodically or aperiodically send request (Request) to power consumption control Molding block 105, to obtain detection/comparison information (specific, the representative I of expression electric current I from power consumption control module 105MWhether reach To predetermined threshold ITHInformation), wherein, power consumption control module 105 may be in response to send inspection respectively from the request of processor Survey/comparison information.
Figure 10 is the schematic diagram of some implementation details of the power consumption control apparatus 100 according to another embodiment of the present invention.With Embodiment shown in Fig. 2 is compared, in Fig. 10, when electric current I reaches predetermined threshold value ITHWhen, control module 120 is using interruption letter Number (being denoted as " interruption " in Fig. 10), triggering battery 50 enter second mode from first mode.The first mode of battery 50 can To activate (active) pattern.The second mode of battery 50 can be (but not limited to) idle mode.Wherein, the idle mode of battery Power-off (power off) state or sleep state are may include, but is only for illustration purpose, have no intent to limit the present invention.Battery 50 is to reduce power consumption into idle mode.
Figure 11 is a deformation of embodiment shown in Figure 10.The positive port VBAT+ of battery 500 can be coupled by resistance R1 To the cell input terminal VBAT of electronic installation, the negative terminal mouth GND- of battery 50 can be electrically connected to the system earth of electronic installation End.The similar detail of the present embodiment will not be described here.
Figure 12 is the flow chart of the power consumption control method 300 according to one embodiment of the invention.Method shown in Figure 12 can be answered For the power consumption control apparatus 100 shown in Fig. 1 and Figure 10.Power consumption control method 200 is described as follows.
In the step 310, current sense circuit 110 can be by performing sampling operation to produce sample { ISAMPLEWith sensing The electricity on current path between aforementioned at least a portion (such as one or more of some) of battery and electronic installation Stream I, control module 120 can be to the sample { ISAMPLECalculating is performed with monitor current I, to detect electric current I based on the calculating Whether predetermined threshold value I is reachedTH
In step 320, based on the calculating, control module 120 (more particularly comparing unit 126) can detect the electric current Representative IMWhether predetermined threshold value I is reachedTH.As the representative I for detecting the electric currentMReach predetermined threshold value ITHWhen, into step 330, otherwise return to step 310.
In a step 330, control module 120 (more particularly post processing triggers circuit 128) can trigger battery 50 from the One pattern enters second mode.After the trigger action of step 330 is performed, the flow process shown in Figure 12 terminates.It is only for explanation Purpose, has no intent to limit the present invention.According to the deformation of the present embodiment, after the trigger action of step 330 is performed, can return to Step 310.That is, the flow process shown in Figure 12 can repeatable operation.
According to other embodiments, such as some deformations of the embodiment shown in Figure 12, the operation being previously disclosed (Fig. 1 and The disclosed operation of any embodiment of 10-11 and its corresponding deformation) power consumption control method that can be applicable to shown in Figure 12 300, therefore, similar description will not be described in great detail.
According to other embodiments, such as some of the embodiment shown in Figure 12 deform, disclosed in power consumption control method 300 Operation even can perform in sleep pattern, in sleep pattern, because sampling operation can be completed, calculating is performed by hardware Operation, triggering battery mode handover operation, and without the need for the software used in sleep pattern, therefore an aforementioned at least processor 150 In one or more processors can enter sleep.When mode switching operation due to exception or excess electric current/power consumption are triggered when (example An interrupt signal is sent such as), the processor for having been enter into sleeping can be waken up, to using some softwares run on the processor Program is processing the exception or excess electric current/power consumption.
Figure 13 is the schematic diagram of some implementation details of the power consumption control apparatus 100 according to another embodiment of the present invention.With Embodiment shown in Figure 10 is compared, in fig. 13, when electric current I reaches predetermined threshold value ITHWhen, control module 120 is not merely with Break signal (being denoted as " interruption " in Fig. 10) triggering battery 50 enters second mode from first mode, also using interrupt signal Triggering post-processing operation.Battery 50 subsequently enters idle mode, and electronic installation can forbid above-mentioned some specific functions.It is similar Description will not be described in great detail.
One of the advantages of the present invention is that the method and apparatus provided using the present invention can reduce the power consumption of electronic installation.Make For result, user can use electronic installation from power failures caused by the power consumption of inessential or excess institute, in background technology Technical problem will no longer become puzzlement.
The above embodiments are only used for enumerating embodiments of the present invention, and the technical characteristic of the explaination present invention, not For limiting scope of the invention.Any person of ordinary skill in the field changes according to the spiritual and unlabored of the present invention Become or isotropism arrangement belongs to the scope advocated by the present invention, the interest field of the present invention should be defined by claim.

Claims (17)

1. a kind of power consumption control method, is applied to electronic installation, and the power consumption control method includes:
Multiple samples are produced by performing sampling operation, between sensing battery and at least a portion of the electronic installation at least An at least electric current of one current path;
The plurality of sample is calculated to monitor an at least electric current;And
Based on the calculating, when detecting this at least an electric current reaching predetermined threshold value, trigger the battery and is entered from first mode Two modes.
2. power consumption control method as claimed in claim 1, it is characterised in that an at least electric current is from the total defeated of the battery Go out electric current or flow to total input current of the battery.
3. power consumption control method as claimed in claim 1, it is characterised in that the execution sampling operation is producing multiple samples Step is further included:
The sampling operation is performed to the voltage difference corresponding to an at least electric current using analog-digital converter, to produce the plurality of sample This.
4. power consumption control method as claimed in claim 3, it is characterised in that the voltage difference is the first end of an at least resistance Voltage difference between the second voltage at the second end of first voltage and an at least resistance.
5. power consumption control method as claimed in claim 3, it is characterised in that the voltage difference is the first of an at least Hall element Voltage difference between the second voltage at the second end of the first voltage at end and an at least Hall element.
6. power consumption control method as claimed in claim 1, it is characterised in that an at least electric current includes multiple electric currents, passes through Perform an at least electric current of the sampling operation to produce multiple samples, between the sensing battery and at least a portion of the electronic installation The step of at least electric current in path, further includes:
By perform the sampling operation sense to produce the plurality of sample, respectively the battery and the electronic installation some it Between multiple current paths the plurality of electric current.
7. power consumption control method as claimed in claim 1, it is characterised in that multiple defined at least one default look-up table The predetermined threshold value is chosen in predetermined threshold value, the power consumption control method is further included:
Check the electronic installation to detect whether to meet the particular state of multiple preset states;And
When detect meet the particular state when, will correspond to the particular preset threshold value of the particular state as the predetermined threshold value.
8. power consumption control method as claimed in claim 7, it is characterised in that the plurality of preset state at least default is looked at this Look for defined in table, the power consumption control method is further included:
At least one of status information corresponding to the preset state is captured from least one default look-up table, to check The electronic installation is detecting whether to meet the particular state.
9. power consumption control method as claimed in claim 1, it is characterised in that the second mode includes sleep state or power-off shape State.
10. power consumption control method as claimed in claim 1, it is characterised in that further include:
When detecting this at least an electric current reaching predetermined threshold value, triggering will be implemented in the behaviour of the post processing in the electronic installation Make.
A kind of 11. power consumption control apparatus, the power consumption control apparatus include at least a portion of electronic installation, the power consumption control apparatus Including:
Current sense circuit, by perform sampling operation to produce multiple samples, the current sense circuit to sense battery and An at least electric current of at least current path between at least a portion of the electronic installation;And
Control module, is monitored an at least electric current to calculate to the plurality of sample, wherein based on the calculating, working as detection When to this, at least an electric current reaches predetermined threshold value, the control module triggers the battery and enters second mode from first mode.
12. power consumption control apparatus as claimed in claim 11, it is characterised in that an at least electric current is from the total of the battery Output current flow to total input current of the battery.
13. power consumption control apparatus as claimed in claim 11, it is characterised in that an at least electric current includes multiple electric currents, lead to Crossing and the sampling operation being performed to produce the plurality of sample, the current sense circuit is to sense the battery and the electronic installation respectively Some between multiple current paths the plurality of electric current.
14. power consumption control apparatus as claimed in claim 11, it is characterised in that the predetermined threshold value is from least one default lookup Choose in multiple predetermined threshold values defined in table and obtain, the control module includes:
State detection unit, detects whether to meet the particular state of multiple preset states to check the electronic installation,
Wherein, when detect meet the particular state when, the state detection unit will correspond to the particular preset of the particular state Threshold value is used as the predetermined threshold value.
15. power consumption control apparatus as claimed in claim 14, it is characterised in that the plurality of preset state this at least one preset Defined in look-up table, the state detection unit captures at least corresponding to the preset state from least one default look-up table Partial status information, detects whether to meet the particular state to check the electronic installation.
16. power consumption control apparatus as claimed in claim 11, it is characterised in that the second mode includes sleep state or power-off State.
17. power consumption control apparatus as claimed in claim 11, it is characterised in that the control module is to detect this at least one electric When stream reaches predetermined threshold value, further triggering will be implemented in the post-processing operation in the electronic installation.
CN201610621752.9A 2015-10-18 2016-08-01 Method for performing power consumption control, and associated apparatus Withdrawn CN106598195A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/886,089 US20160041207A1 (en) 2012-03-26 2015-10-18 Method for performing power consumption control, and associated apparatus
US14/886,089 2015-10-18

Publications (1)

Publication Number Publication Date
CN106598195A true CN106598195A (en) 2017-04-26

Family

ID=58555595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610621752.9A Withdrawn CN106598195A (en) 2015-10-18 2016-08-01 Method for performing power consumption control, and associated apparatus

Country Status (1)

Country Link
CN (1) CN106598195A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632517A (en) * 2019-10-31 2019-12-31 中船动力研究院有限公司 Control device of electric dynamometer and electric dynamometer
CN113641550A (en) * 2021-06-16 2021-11-12 无锡江南计算技术研究所 Processor power consumption management and control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5955869A (en) * 1996-07-17 1999-09-21 Rathmann; Roland Battery pack and a method for monitoring remaining capacity of a battery pack
US20020145477A1 (en) * 2000-01-28 2002-10-10 Victor Marten Power-consenving external clock for use
CN101267124A (en) * 2007-03-12 2008-09-17 索尼株式会社 Battery pack
US20090140744A1 (en) * 2006-06-09 2009-06-04 The Furukawa Electric Co., Ltd. Method and device for determining state of health of the battery, and battery power supply system
US7688074B2 (en) * 1997-11-03 2010-03-30 Midtronics, Inc. Energy management system for automotive vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5955869A (en) * 1996-07-17 1999-09-21 Rathmann; Roland Battery pack and a method for monitoring remaining capacity of a battery pack
US7688074B2 (en) * 1997-11-03 2010-03-30 Midtronics, Inc. Energy management system for automotive vehicle
US20020145477A1 (en) * 2000-01-28 2002-10-10 Victor Marten Power-consenving external clock for use
US20090140744A1 (en) * 2006-06-09 2009-06-04 The Furukawa Electric Co., Ltd. Method and device for determining state of health of the battery, and battery power supply system
CN101267124A (en) * 2007-03-12 2008-09-17 索尼株式会社 Battery pack

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632517A (en) * 2019-10-31 2019-12-31 中船动力研究院有限公司 Control device of electric dynamometer and electric dynamometer
CN113641550A (en) * 2021-06-16 2021-11-12 无锡江南计算技术研究所 Processor power consumption management and control method and device
CN113641550B (en) * 2021-06-16 2024-03-22 无锡江南计算技术研究所 Processor power consumption management and control method and device

Similar Documents

Publication Publication Date Title
CN103365389B (en) Power consumption control method and device thereof
KR101941510B1 (en) Method for saving power consumption and an electronic device thereof
KR101164559B1 (en) Portable electronic device and wireless communication device
US9823286B2 (en) Moisture detection system for external electrical connector and methods therefor
CN107329559A (en) A kind of application control method, device, terminal and storage medium
CN107589928A (en) Double screen displaying method of terminal, device, terminal and computer-readable recording medium
CN108628430A (en) A kind of game electricity-saving control method, terminal and computer readable storage medium
WO2013060084A1 (en) Processing method and device for locking terminal
CN110933706A (en) Network communication setting method, device, storage medium and terminal
CN108307383A (en) Data reporting method and related product
CN106598195A (en) Method for performing power consumption control, and associated apparatus
US20160041207A1 (en) Method for performing power consumption control, and associated apparatus
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN104244448B (en) Reduce the method and system of data transmission delay
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN107609114A (en) Log information report method, device and storage medium, ADSP and terminal
CN102944734A (en) Method for monitoring terminal state, monitoring circuit and terminal
CN110896240A (en) Charging control method and device, computer readable storage medium and terminal
CN112860501B (en) Detection method, detection device, storage medium and mobile terminal
CN106454953B (en) Flow control method, device and terminal
CN108411310A (en) Interface circuit and electronic device
CN108319537A (en) Keep constant temperature method, mobile terminal and computer-readable storage media
CN101345950A (en) Terminal and implementing method
JP2011181757A (en) Lsi
CN102185956A (en) Portable electronic device and automatic control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170426

WW01 Invention patent application withdrawn after publication