CN107193229A - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN107193229A
CN107193229A CN201710221600.4A CN201710221600A CN107193229A CN 107193229 A CN107193229 A CN 107193229A CN 201710221600 A CN201710221600 A CN 201710221600A CN 107193229 A CN107193229 A CN 107193229A
Authority
CN
China
Prior art keywords
processor
electric current
state
temperature
power consumption
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
Application number
CN201710221600.4A
Other languages
Chinese (zh)
Other versions
CN107193229B (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 CN201710221600.4A priority Critical patent/CN107193229B/en
Publication of CN107193229A publication Critical patent/CN107193229A/en
Application granted granted Critical
Publication of CN107193229B publication Critical patent/CN107193229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a kind of control method and electronic equipment.Wherein, method includes:Detect the first electric current of electronics processors;First electric current is used for the processor and calculates power consumption;First electric current is provided by voltage generator for the processor;The voltage generator is additionally operable to provide operating voltage for the processor;Using first electric current, the first state of the processor is determined;The first state characterizes the current working condition of the processor;The working condition reflects the load of the processor currently;Using the first state of determination, the first electric current of processor described in the regulation of electronics is controlled, so that the processor determines corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined according to first electric current.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to control technology, more particularly to a kind of control method and electronic equipment.
Background technology
With the development of science and technology, ultimate attainment pursuit of the people to electronic equipment performance becomes the emphasis of a research.For Carry in high performance scheme, the performance (processor overclocking) for improving processor is to improve the core scheme of electronic equipment performance.
At present, the control of processor overclocking is substantially a kind of passive mode, without versatility, and this mode pair The effect for improving the performance of processor is not obvious.
The content of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of control method and electronic equipment.
What the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of control method, including:
Detect the first electric current of electronics processors;First electric current is used for the processor and calculates power consumption;It is described First electric current is provided by voltage generator for the processor;The voltage generator is additionally operable to provide work for the processor Voltage;
Using first electric current, the first state of the processor is determined;The first state characterizes the processor Current working condition;The working condition reflects the load of the processor currently;
Using the first state of determination, the first electric current of processor described in the regulation of electronics is controlled, so that described Processor determines corresponding power consumption, and the number of the arithmetic element using the power consumption adjustment activation determined according to first electric current Amount.
In such scheme, when the load that the first state characterizes the processor exceedes first threshold, methods described Also include:
Detect the first temperature of the processor;First temperature characterizes the current temperature of the processor;
Using determination first state and with reference to first temperature, control processor described in the regulation of electronics First electric current, so that the processor determines corresponding power consumption according to first electric current, and is swashed using the power consumption adjustment determined The quantity of arithmetic element living.
It is described using the first state determined and with reference to first temperature in such scheme, control the electronic equipment The first electric current of the processor is adjusted, including:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result characterizes first temperature not less than the second temperature, the electronics is controlled to set Make preparation for dropping low first electric current, so that the processor increases the quantity of the arithmetic element of activation according to first electric current.
It is described using the first state determined and with reference to first temperature in such scheme, control the electronic equipment The first electric current of the processor is adjusted, including:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result, which characterizes first temperature, exceedes the second temperature, the electronic equipment is controlled Increase by first electric current, so that the processor reduces the quantity of the arithmetic element of activation according to first electric current.
It is described using the first state determined in such scheme, control the of processor described in the regulation of electronics One electric current, including:
When the load that the first state characterizes the processor is less than Second Threshold, the electronic equipment reduction is controlled First electric current, so that the processor increases the arithmetic element of activation according to first electric current.
In such scheme, the first electric current of the detection electronics processors, including:
First electric current is detected based on negative feedback mode.
In such scheme, first electric current is detected based on negative feedback mode, including:
By the first resistor being connected with the voltage generator, first voltage is detected;The first voltage characterizes described The voltage of resistance over the ground;
Using the first voltage and the resistance of the first resistor, first electric current is determined;
It is described to control the first electric current of processor described in the regulation of electronics using the first state determined, including:
Using the first state of the determination, the electronic equipment is controlled to adjust the resistance of the first resistor, so that institute State the first electric current described in regulation of electronics.
The embodiment of the present invention additionally provides a kind of electronic equipment, including:
Processor;
Control circuit, the first electric current for detecting electronics processors;First electric current is used for the processor Calculate power consumption;First electric current is provided by voltage generator for the processor;The voltage generator is additionally operable to be described Processor provides operating voltage;Using first electric current, the first state of the processor is determined;The first state is characterized The current working condition of the processor;The working condition reflects the load of the processor currently;And utilize determination First state, controls the first electric current of processor described in the regulation of electronics, so that the processor is according to described first Electric current determines corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined.
In such scheme, the control circuit is additionally operable to when the load that the first state characterizes the processor exceedes During first threshold, the first temperature of the processor is detected;First temperature characterizes the current temperature of the processor;And Using determination first state and with reference to first temperature, control the first electricity of processor described in the regulation of electronics Stream, so that the processor determines corresponding power consumption according to first electric current, and utilizes the fortune of the power consumption adjustment activation determined Calculate the quantity of unit.
In such scheme, the control circuit, specifically for:
First electric current is detected based on negative feedback mode.
Control method provided in an embodiment of the present invention and electronic equipment, are provided by detecting voltage generator for processor Electric current determines working condition that processor is current, the electric current that then dynamic regulation voltage generator provides for processor again, with Just processor carrys out the quantity of the arithmetic element of final adjustment activation according to the corresponding power consumption of electric current of regulation, that is, participates in what is calculated The quantity of arithmetic element, so, it is possible to realize the performance of dynamic regulation processor according to the real time status of processor, and regulation more has Imitate, finely.
Brief description of the drawings
In accompanying drawing (it is not necessarily drawn to scale), similar reference phase described in different views As part.Similar reference numerals with different letter suffix can represent the different examples of similar component.Accompanying drawing is with example Unrestricted mode generally shows each embodiment discussed herein.
Figure 1A is the relation schematic diagram of processor running frequency and processor core voltage;
Figure 1B changes with time schematic diagram for the power consumption under each state under the passive overclocking mode of tradition, temperature;
Fig. 2 is the method flow schematic diagram that the embodiment of the present invention one is controlled;
Fig. 3 is the relation schematic diagram between current offset of the embodiment of the present invention and the first electric current;
Fig. 4 is the relation schematic diagram between the electric current of the embodiment of the present invention first and processor performance;
Fig. 5 is the method flow schematic diagram that the embodiment of the present invention two is controlled;
Fig. 6 is a kind of integrated circuit structure schematic diagram of the embodiment of the present invention;
Fig. 7 is the method flow schematic diagram that the embodiment of the present invention three is controlled;
Fig. 8 is the method flow schematic diagram that the embodiment of the present invention four is controlled;
Fig. 9 is the electronic devices structure schematic diagram of the embodiment of the present invention five;
Figure 10 is traditional scheme and scheme processor performance schematic diagram of the embodiment of the present invention.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
Figure 1A is central processing unit (CPU) running frequency and the relation schematic diagram of CPU core voltage.It will be seen from figure 1 that To make CPU run to higher frequency, it is necessary to which CPU possesses stable core voltage.So CPU overclocking is typically logical at present Cross increases a bias voltage to ensure that CPU at higher frequencies can normal table operation to CPU core voltage.
At present, use passive overclocking more CPU overclockings mode, i.e., lifted by adjusting frequency multiplication (Ratio), voltage (Volt) CPU performance.This mode is tested cumbersome, and experience effect is not obvious.Simultaneously because the difference of CPU monomers is difficult to find out one Optimized parameter realizes CPU overclocking.
Further, since being passive overclocking, so under light-load mode, CPU power dissipation ratio is relatively low, CPU can not give full play to Performance, wastes system resource, as shown in Figure 1B.
Based on this, in various embodiments of the present invention:Detect the first electric current of electronics processors;First electricity Flow and calculate power consumption for the processor;First electric current is provided by voltage generator for the processor;The voltage hair Raw device is additionally operable to provide operating voltage for the processor;Using first electric current, the first state of the processor is determined; The first state characterizes the current working condition of the processor;The working condition reflects the processor currently negative Carry;Using the first state of determination, the first electric current described in the regulation of electronics is controlled, so that the processor is according to described First electric current determines corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined.
Scheme provided in an embodiment of the present invention, processing is determined by detecting voltage generator for electric current that processor is provided The current working condition of device, the electric current that then dynamic regulation voltage generator provides for processor again, so that processor is according to tune The corresponding power consumption of electric current of section, carrys out the quantity of the arithmetic element of final adjustment activation, that is, participates in the quantity of arithmetic element calculated, It so, it is possible to realize the performance of dynamic regulation processor according to the real time status of processor, regulation is more effective, fine.
Embodiment one
The embodiment of the present invention provides a kind of control method, and methods described is applied in electronic equipment.
Wherein, the electronic equipment can be notebook, tablet personal computer (pad) etc..
Fig. 2 is the implementation process schematic diagram of the control method of the embodiment of the present invention one, as shown in Fig. 2 this method is including following Step:
Step 201:Detect the first electric current of electronics processors;
Here, first electric current is used for processor calculating power consumption;And first electric current by voltage generator ( It is properly termed as voltage regulator (VR)) provided for the processor.
Meanwhile, the voltage generator is additionally operable to provide operating voltage for the processor.
During practical application, the processor can be CPU etc..First electric current is referred to as the voltage generator Load current.
Step 202:Using first electric current, the first state of the processor is determined;
Here, the first state characterizes the current working condition of the processor.
Wherein, the working condition reflects the load of the processor currently.
According to the number of load, the working condition (it can be appreciated that mode of operation) can be:It is idle (idle), light Carry (light loading) or heavily loaded (heavy loading) etc..
During practical application, different working conditions can be set according to the number of load.
During practical application, the corresponding relation of the first size of current and processor working state can be set, accordingly, to determine The current working condition of processor.
Step 203:Using the first state of determination, the first electric current of processor described in the regulation of electronics is controlled, So that the processor determines corresponding power consumption according to first electric current, and utilize the computing list of the power consumption adjustment activation determined The quantity of member.
That is, realizing the control of processor performance by adjusting the quantity of the arithmetic element activated.
Here, the arithmetic element of the activation refers to:The current arithmetic element for participating in calculating.
The first state using determination, controls the first electric current of processor described in the regulation of electronics, also Refer to:Using the first state, the voltage generator is controlled to adjust first electric current.
The first electric current of the processor is adjusted, for another angle, on the basis of fixed current, to described Processor is applied with a current offset.
Fig. 3 is the relation schematic diagram between current offset and the first electric current.Fig. 4 is between the first electric current and processor performance Relation schematic diagram.It is can be seen that with reference to Fig. 3 and Fig. 4 when current offset is less than zero, that is, the first electric current is less than described solid after adjusting When determining electric current (Under-Reporting), processor can increase the quantity of the arithmetic element of activation, lift processor performance, with Increase the power consumption of itself.When current offset is more than zero, that is, the first electric current is more than the fixed current (Over- after adjusting When Reporting), processor can reduce the quantity of the arithmetic element of activation, processor performance be reduced, to reduce the work(of itself Consumption.That is, the performance of processor is reduced with the increase of the first electric current.
During practical application, when the processor determines corresponding power consumption according to first electric current, a benchmark electricity is had Flow (being referred to as taking out load electric current, that is, load the electric current of extraction), when first electric current takes out load electric current more than described in, processor can subtract The quantity of the arithmetic element activated less;When first electric current not less than it is described take out load electric current when, processor can increase activation The quantity of arithmetic element.
View of the above, it will be seen that scheme provided in an embodiment of the present invention, by detecting that voltage generator is processing The electric current that device is provided determines working condition that processor is current, and then dynamic regulation voltage generator provides for processor again Electric current, so as to electric current corresponding power consumption of the processor according to regulation, carrys out the quantity of the arithmetic element of final adjustment activation, that is, participates in The quantity of the arithmetic element of calculating, so, it is possible to realize the performance of dynamic regulation processor according to the real time status of processor, adjust Section is more effective, fine.
Embodiment two
The embodiment of the present invention provides a kind of control method, and methods described is applied in electronic equipment.
Wherein, the electronic equipment can be notebook, pad etc..
Fig. 5 is the implementation process schematic diagram of two control method of the embodiment of the present invention, as shown in figure 5, this method is including following Step:
Step 501:Mode based on negative-feedback detects the first electric current of electronics processors;
Here, first electric current is used for processor calculating power consumption;And first electric current by voltage generator ( It is properly termed as VR) provided for the processor.
Meanwhile, the voltage generator is additionally operable to provide operating voltage for the processor.
During practical application, the processor can be CPU etc..First electric current is referred to as the voltage generator Load current.
During practical application, negative-feedback most commonly realizes negative-feedback by resistance.
Based on this, implementing for this step can include:
By the first resistor being connected with the voltage generator, first voltage is detected;The first voltage characterizes described The voltage of resistance over the ground;
Using the first voltage and the resistance of the first resistor, first electric current is determined.
Step 502:Using first electric current, the first state of the processor is determined;
Here, the first state characterizes the current working condition of the processor.
Wherein, the working condition reflects the load of the processor currently.
According to the number of load, the working condition (it can be appreciated that mode of operation) can be:idle、light Loading or heavy loading etc..
During practical application, different working conditions can be set according to the number of load.
During practical application, the corresponding relation of the first size of current and processor working state can be set, accordingly, to determine The current working condition of processor.
Step 503:Using the first state of determination, the first electric current of processor described in the regulation of electronics is controlled, So that the processor determines corresponding power consumption according to first electric current, and utilize the computing list of the power consumption adjustment activation determined The quantity of member.
That is, realizing the control of processor performance by adjusting the quantity of the arithmetic element activated.
Here, the arithmetic element of the activation refers to:The current arithmetic element for participating in calculating.
The first state using determination, controls the first electric current of processor described in the regulation of electronics, also Refer to:Using the first state, the voltage generator is controlled to adjust first electric current.
It is described to control the first electric current of processor described in the regulation of electronics using the first state determined, including:
Using the first state of the determination, the electronic equipment is controlled to adjust the resistance of the first resistor, so that institute State the first electric current described in regulation of electronics.
In order to realize the adjustment of first resistor resistance automatically, the first resistor can be a variable resistor.
So, during practical application, the first size of current formula expression that voltage regulator reports processor can be:
VR Iout=DEC [Vsense/2] * FF;Vsense=Isrc_vr*Rvar.
Wherein, VR Iout represent that voltage generator reports the first electric current of processor;Vsense represents voltage generator The processor current analog voltage detected;DEC is binary character;FF is binary one 1111111;Isrc_vr represents voltage Generator is used for the internal current source of analog processor Current calculation;Rvar represents the resistance of first resistor.
The first electric current of the processor is adjusted, for another angle, on the basis of fixed current, to described Processor is applied with a current offset.
Fig. 3 is the relation schematic diagram between current offset and the first electric current.Fig. 4 is between the first electric current and processor performance Relation schematic diagram.It is can be seen that with reference to Fig. 3 and Fig. 4 when current offset is less than zero, that is, the first electric current is less than described solid after adjusting When determining electric current, processor can increase the quantity of the arithmetic element of activation, processor performance be lifted, to increase the power consumption of itself.When Current offset is more than zero, that is, when the first electric current is more than the fixed current after adjusting, processor can reduce the arithmetic element of activation Quantity, reduce processor performance, to reduce the power consumption of itself.That is, increasing of the performance of processor with the first electric current Plus and reduce.
During practical application, when the processor determines corresponding power consumption according to first electric current, a benchmark electricity is had Flow (being referred to as taking out load electric current, that is, load the electric current of extraction), when first electric current takes out load electric current more than described in, processor can subtract The quantity of the arithmetic element activated less;When first electric current not less than it is described take out load electric current when, processor can increase activation The quantity of arithmetic element.
Fig. 6 is a kind of integrated circuit (IC) structural representation for realizing scheme of the embodiment of the present invention.Can be with during practical application The IC of different structure is arranged as required to implement the scheme of the embodiment of the present invention.From fig. 6, it can be seen that IC (is referred to as Overclocking engine (OC Engine)) calculate current first by hanging over the voltage-to-ground of the first resistor on voltage generator Current value VR Iout, learn current CPU working condition (idle, light loading or heavy loading), then Decide whether to add current offset by adjusting the resistance of first resistor, to carry out CPU overclockings.That is, voltage is sent out Raw device can obtain the first different current values according to the different computing the resistor values of first resistor, be reported eventually through SVID BUS lines To CPU, so that CPU determines whether overclocking (quantity of the arithmetic element of increase activation).
View of the above, it will be seen that scheme provided in an embodiment of the present invention, by detecting electricity based on negative feedback mode Pressure generator determines the working condition that processor is current for electric current that processor is provided, then dynamic regulation voltage generator again The electric current provided for processor, so as to electric current corresponding power consumption of the processor according to regulation, carrys out the computing list of final adjustment activation The quantity of member, that is, participate in the quantity of arithmetic element calculated, so, it is possible to realize dynamic regulation according to the real time status of processor The performance of processor, regulation is more effective, fine.Moreover, the first electric current is detected based on negative feedback mode, closed loop negative feedback system Stability is higher, and the stability of system is also ensured while processor performance is played.Simultaneously also can compensation processor Body otherness, it is to avoid the cumbersome parameter experiment of passive overclocking mode.
In addition, by the first resistor being connected with the voltage generator, detecting first voltage;The first voltage is characterized The voltage of the resistance over the ground;Using the first voltage and the resistance of the first resistor, first electric current is determined, is passed through The electronic equipment is controlled to adjust the resistance of the first resistor, so that the first electric current described in the regulation of electronics, in this way, The regulation of electric current can simply and effectively be realized.
Embodiment three
The embodiment of the present invention provides a kind of control method, and methods described is applied in electronic equipment.
Wherein, the electronic equipment can be notebook, pad etc..
Fig. 7 is the implementation process schematic diagram of the control method of the embodiment of the present invention three, as shown in fig. 7, this method is including following Step:
Step 701:Detect the first electric current of electronics processors;And detect the first temperature of the processor;
Here, first electric current is used for processor calculating power consumption;And first electric current by voltage generator ( It is properly termed as VR) provided for the processor.
Meanwhile, the voltage generator is additionally operable to provide operating voltage for the processor.
First temperature characterizes the current temperature of the processor.
During practical application, the processor can be CPU etc..First electric current is referred to as the voltage generator Load current.
Step 702:Using first electric current, the first state of the processor is determined;
Here, the first state characterizes the current working condition of the processor.
Wherein, the working condition reflects the load of the processor currently.
According to the number of load, the working condition (it can be appreciated that mode of operation) can be:idle、light Loading or heavy loading etc..
During practical application, different working conditions can be set according to the number of load.
During practical application, the corresponding relation of the first size of current and processor working state can be set, accordingly, to determine The current working condition of processor.
During practical application, the processor can also be characterized first by detecting the operation of the first temperature of the processor Load is performed when exceeding first threshold, i.e., go to perform in the case of processor heavy duty.
Step 703:Using determination first state and with reference to first temperature, control described in the regulation of electronics First electric current of processor, so that the processor determines corresponding power consumption according to first electric current, and utilizes the work(determined The quantity of the arithmetic element of consumption adjustment activation.
That is, realizing the control of processor performance by adjusting the quantity of the arithmetic element activated.
Here, the arithmetic element of the activation refers to:The current arithmetic element for participating in calculating.
The first state using determination, controls the first electric current of processor described in the regulation of electronics, also Refer to:Using the first state and with reference to first temperature, the voltage generator is controlled to adjust first electric current.
In one embodiment, implementing for step 703 can include:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result characterizes first temperature not less than the second temperature, the electronics is controlled to set Make preparation for dropping low first electric current, so that the processor increases the quantity of the arithmetic element of activation according to first electric current.
Wherein, when first judged result, which characterizes first temperature, exceedes the second temperature, the electricity is controlled Sub- equipment increases by first electric current, so that the processor reduces the number of the arithmetic element of activation according to first electric current Amount.
The first electric current of the processor is adjusted, for another angle, on the basis of fixed current, to described Processor is applied with a current offset.
Fig. 3 is the relation schematic diagram between current offset and the first electric current.Fig. 4 is between the first electric current and processor performance Relation schematic diagram.It is can be seen that with reference to Fig. 3 and Fig. 4 when current offset is less than zero, that is, the first electric current is less than described solid after adjusting When determining electric current, processor can increase the quantity of the arithmetic element of activation, processor performance be lifted, to increase the power consumption of itself.When Current offset is more than zero, that is, when the first electric current is more than the fixed current after adjusting, processor can reduce the arithmetic element of activation Quantity, reduce processor performance, to reduce the power consumption of itself.That is, increasing of the performance of processor with the first electric current Plus and reduce.
During practical application, when the processor determines corresponding power consumption according to first electric current, a benchmark electricity is had Flow (being referred to as taking out load electric current, that is, load the electric current of extraction), when first electric current takes out load electric current more than described in, processor can subtract The quantity of the arithmetic element activated less;When first electric current not less than it is described take out load electric current when, processor can increase activation The quantity of arithmetic element.
The scheme of the embodiment of the present invention can be realized using the IC shown in Fig. 6.With reference to Fig. 6, obtained in real time by SMBUS lines Take CPU Current Temperatures and calculate the first current electricity by detecting the first resistor voltage-to-ground hung on voltage generator Flow valuve VR Iout, current CPU situation (idle/light loading/heavy are learnt according to the first current value VR Iout loading).If CPU is currently under heavy loading states, then judges CPU Current Temperatures, if Current Temperatures do not have System radiating design rating is had more than, then the resistance of first resistor diminishes, makes voltage generator anti-by SVID buses The first current value for being fed to CPU ends diminishes, and then causes the arithmetic element of CPU increase activation, improves cpu performance;Conversely, working as Preceding temperature exceedes system radiating design rating, then increases the resistance of first resistor, make voltage generator anti-by SVID buses The first current value for being fed to CPU ends becomes big, and then causes CPU to reduce the arithmetic element of activation, reduces performance, with reduce radiating, Power consumption.
View of the above, it will be seen that scheme provided in an embodiment of the present invention, by detecting that voltage generator is processing The electric current that device is provided determines working condition that processor is current, and then dynamic regulation voltage generator provides for processor again Electric current, so as to electric current corresponding power consumption of the processor according to regulation, carrys out the quantity of the arithmetic element of final adjustment activation, that is, participates in The quantity of the arithmetic element of calculating, so, it is possible to realize the performance of dynamic regulation processor according to the real time status of processor, adjust Section is more effective, fine.
In addition, when adjusting the first electric current, using working condition and with reference to current temperature come the electric current of dynamic regulation first, The resource of processor is taken into full account, in this way, the performance of processor device can be obtained preferably.
Example IV
The embodiment of the present invention provides a kind of control method, and methods described is applied in electronic equipment.
Wherein, the electronic equipment can be notebook, pad etc..
Fig. 8 is the implementation process schematic diagram of the control method of the embodiment of the present invention four, as shown in figure 8, this method is including following Step:
Step 801:Detect the first electric current of electronics processors;
Here, first electric current is used for processor calculating power consumption;And first electric current by voltage generator ( It is properly termed as VR) provided for the processor.
Meanwhile, the voltage generator is additionally operable to provide operating voltage for the processor.
During practical application, the processor can be CPU etc..First electric current is referred to as the voltage generator Load current.
Step 802:Using first electric current, the first state of the processor is determined;
Here, the first state characterizes the current working condition of the processor.
Wherein, the working condition reflects the load of the processor currently.
According to the number of load, the working condition (it can be appreciated that mode of operation) can be:idle、light Loading or heavy loading etc..
During practical application, different working conditions can be set according to the number of load.
During practical application, the corresponding relation of the first size of current and processor working state can be set, accordingly, to determine The current working condition of processor.
Step 803:When the load that the first state characterizes the processor is less than Second Threshold, the electronics is controlled Equipment reduces by first electric current, so that the processor determines corresponding power consumption according to first electric current, and utilizes determination Power consumption increase activation arithmetic element quantity.
That is, realizing the control of processor performance by adjusting the quantity of the arithmetic element activated.
Here, the arithmetic element of the activation refers to:The current arithmetic element for participating in calculating.
The first state using determination, controls the electronic equipment to reduce the first electric current of the processor, also Refer to:Using the first state, the voltage generator is controlled to reduce by first electric current.
The first electric current of the processor is reduced, for another angle, on the basis of fixed current, to described Processor is applied with a current offset, and this current offset is less than zero.
Fig. 3 is the relation schematic diagram between current offset and the first electric current.Fig. 4 is between the first electric current and processor performance Relation schematic diagram.It is can be seen that with reference to Fig. 3 and Fig. 4 when current offset is less than zero, that is, the first electric current is less than described solid after adjusting When determining electric current, processor can increase the quantity of the arithmetic element of activation, processor performance be lifted, to increase the power consumption of itself.When Current offset is more than zero, that is, when the first electric current is more than the fixed current after adjusting, processor can reduce the arithmetic element of activation Quantity, reduce processor performance, to reduce the power consumption of itself.That is, increasing of the performance of processor with the first electric current Plus and reduce.
During practical application, when the processor determines corresponding power consumption according to first electric current, a benchmark electricity is had Flow (being referred to as taking out load electric current, that is, load the electric current of extraction), when first electric current takes out load electric current more than described in, processor can subtract The quantity of the arithmetic element activated less;When first electric current not less than it is described take out load electric current when, processor can increase activation The quantity of arithmetic element.
When the load that the first state characterizes the processor is less than Second Threshold, illustrate that the processor is in Light loading states, can now improve the performance of processor.
The scheme of the embodiment of the present invention can be realized using the IC shown in Fig. 6.With reference to Fig. 6, voltage is hung over by detecting First resistor voltage-to-ground on generator calculates the first current current value VR Iout, according to the first current value VR Iout Learn current CPU situation (idle/light loading/heavy loading).If CPU is in light loading Under pattern, the resistance of first resistor is diminished, voltage generator is become by the first current value of SVID bus feedbacks to CPU ends It is small, and then cause the arithmetic element of CPU increase activation, improve cpu performance.
View of the above, it will be seen that scheme provided in an embodiment of the present invention, by detecting that voltage generator is processing The electric current that device is provided determines working condition that processor is current, and then dynamic regulation voltage generator provides for processor again Electric current, so as to electric current corresponding power consumption of the processor according to regulation, carrys out the quantity of the arithmetic element of final adjustment activation, that is, participates in The quantity of the arithmetic element of calculating, so, it is possible to realize the performance of dynamic regulation processor according to the real time status of processor, adjust Section is more effective, fine.
Embodiment five
Based on aforementioned control method, the present embodiment provides a kind of electronic equipment, as shown in figure 9, the electronic equipment includes:
Processor 91;
Control circuit 92, the first electric current for detecting electronics processors 91;First electric current is used for the place Manage device and calculate power consumption;First electric current is that the processor 91 is provided by voltage generator;The voltage generator is additionally operable to Operating voltage is provided for the processor;Using first electric current, the first state of the processor 91 is determined;Described first The current working condition of processor 91 described in state representation;The working condition reflects the current load of the processor 91;With And using the first state determined, the first electric current of processor 91 described in the regulation of electronics is controlled, so that the processing Device 91 determines corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined according to first electric current.
In one embodiment, the control circuit 92, is additionally operable to when the first state characterizes the load of the processor During more than first threshold, the first temperature of the processor 91 is detected;It is current that first temperature characterizes the processor 91 Temperature;And using the first state determined and with reference to first temperature, control processor described in the regulation of electronics 91 the first electric current, so that the processor 91 determines corresponding power consumption according to first electric current, and utilizes the power consumption determined Adjust the quantity of the arithmetic element of activation.
Wherein, the control circuit 92, specifically for:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result characterizes first temperature not less than the second temperature, the electronics is controlled to set Make preparation for dropping low first electric current, so that the processor 91 increases the quantity of the arithmetic element of activation according to first electric current.
Wherein, when first judged result, which characterizes first temperature, exceedes the second temperature, the control electricity Road 92 controls the electronic equipment to increase by first electric current, is activated so that the processor 91 is reduced according to first electric current Arithmetic element quantity.
In one embodiment, the control circuit 92, specifically for:
First electric current is detected based on negative feedback mode.
More specifically, the control circuit 92 passes through the first resistor being connected with the voltage generator, the electricity of detection first Pressure;The first voltage characterizes the voltage of the resistance over the ground;And using the first voltage and the resistance of the first resistor, Determine first electric current;
Correspondingly, the control circuit 92 controls the electronic equipment adjustment described using the first state of the determination The resistance of first resistor, so that the first electric current described in the regulation of electronics.
It will be appreciated by those skilled in the art that each part in electronic equipment shown in Fig. 9 realize that function can refer to before State the associated description of display control method and understand.
In order to which the scheme of the embodiment of the present invention is better described, for the processor of four cores, using traditional passive overclocking side The performance of four core processors of formula and use scheme of the embodiment of the present invention is tested.Figure 10 is the performance schematic diagram of the two. It can be seen from fig. 10 that compared with the performance of processor under traditional overclocking mode, after the scheme of the embodiment of the present invention, place The performance of reason device improves 10%.Further illustrate and adjust more effective, fine after scheme of the embodiment of the present invention.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text means relevant with embodiment During special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " identical embodiment is not necessarily referred to.In addition, these specific feature, knots Structure or characteristic can be combined in one or more embodiments in any suitable manner.It should be understood that in the various implementations of the present invention In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its work( It can be determined with internal logic, any limit is constituted without tackling the implementation process of the embodiment of the present invention.The embodiments of the present invention Sequence number is for illustration only, and the quality of embodiment is not represented.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location;Both a place can be located at, multiple network lists can also be distributed to In member;Part or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used Be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer read/write memory medium, and the program exists During execution, the step of execution includes above method embodiment;And foregoing storage medium includes:Movable storage device, read-only deposit Reservoir (ROM, Read Only Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized using in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Understood based on such, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each of the invention embodiment methods described. And foregoing storage medium includes:Movable storage device, ROM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of control method, including:
Detect the first electric current of electronics processors;First electric current is used for the processor and calculates power consumption;Described first Electric current is provided by voltage generator for the processor;The voltage generator is additionally operable to provide work electricity for the processor Pressure;
Using first electric current, the first state of the processor is determined;It is current that the first state characterizes the processor Working condition;The working condition reflects the load of the processor currently;
Using the first state of determination, the first electric current of processor described in the regulation of electronics is controlled, so that the processing Device determines corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined according to first electric current.
2. according to the method described in claim 1, it is characterised in that when the load that the first state characterizes the processor surpasses When crossing first threshold, methods described also includes:
Detect the first temperature of the processor;First temperature characterizes the current temperature of the processor;
Using determination first state and with reference to first temperature, control first of processor described in the regulation of electronics Electric current, so that the processor determines corresponding power consumption according to first electric current, and utilizes the power consumption adjustment activation determined The quantity of arithmetic element.
3. method according to claim 2, it is characterised in that described using the first state determined and with reference to described first Temperature, controls the first electric current of processor described in the regulation of electronics, including:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result characterizes first temperature not less than the second temperature, the electronic equipment drop is controlled Low first electric current, so that the processor increases the quantity of the arithmetic element of activation according to first electric current.
4. method according to claim 2, it is characterised in that described using the first state determined and with reference to described first Temperature, controls the first electric current of processor described in the regulation of electronics, including:
Judge whether first temperature exceedes default second temperature, obtain the first judged result;
When first judged result, which characterizes first temperature, exceedes the second temperature, the electronic equipment increase is controlled First electric current, so that the processor reduces the quantity of the arithmetic element of activation according to first electric current.
5. according to the method described in claim 1, it is characterised in that described using the first state determined, control the electronics Equipment adjusts the first electric current of the processor, including:
When the load that the first state characterizes the processor is less than Second Threshold, control the electronic equipment reduction described First electric current, so that the processor increases the arithmetic element of activation according to first electric current.
6. the method according to any one of claim 1 to 5, it is characterised in that the of the detection electronics processors One electric current, including:
First electric current is detected based on negative feedback mode.
7. method according to claim 6, it is characterised in that first electric current is detected based on negative feedback mode, including:
By the first resistor being connected with the voltage generator, first voltage is detected;The first voltage characterizes the resistance Voltage over the ground;
Using the first voltage and the resistance of the first resistor, first electric current is determined;
It is described to control the first electric current of processor described in the regulation of electronics using the first state determined, including:
Using the first state of the determination, the electronic equipment is controlled to adjust the resistance of the first resistor, so that the electricity Sub- equipment adjusts first electric current.
8. a kind of electronic equipment, including:
Processor;
Control circuit, the first electric current for detecting electronics processors;First electric current is calculated for the processor Power consumption;First electric current is provided by voltage generator for the processor;The voltage generator is additionally operable to as the processing Device provides operating voltage;Using first electric current, the first state of the processor is determined;The first state characterizes described The current working condition of processor;The working condition reflects the load of the processor currently;And utilize first determined State, controls the first electric current of processor described in the regulation of electronics, so that the processor is according to first electric current Determine corresponding power consumption, and the quantity of the arithmetic element using the power consumption adjustment activation determined.
9. electronic equipment according to claim 8, it is characterised in that the control circuit, is additionally operable to work as first shape When the load that state characterizes the processor exceedes first threshold, the first temperature of the processor is detected;First thermometer Levy the current temperature of the processor;And using the first state determined and with reference to first temperature, control the electronics Equipment adjusts the first electric current of the processor, so that the processor determines corresponding power consumption according to first electric current, and Utilize the quantity of the arithmetic element of the power consumption adjustment activation of determination.
10. electronic equipment according to claim 8, it is characterised in that the control circuit, specifically for:
First electric current is detected based on negative feedback mode.
CN201710221600.4A 2017-04-06 2017-04-06 Control method and electronic equipment Active CN107193229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710221600.4A CN107193229B (en) 2017-04-06 2017-04-06 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710221600.4A CN107193229B (en) 2017-04-06 2017-04-06 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107193229A true CN107193229A (en) 2017-09-22
CN107193229B CN107193229B (en) 2021-02-19

Family

ID=59871381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710221600.4A Active CN107193229B (en) 2017-04-06 2017-04-06 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107193229B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436098A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Method and apparatus for reducing power consumption of multiple-core symmetrical multiprocessing system
CN103069359A (en) * 2010-07-21 2013-04-24 超威半导体公司 Managing current and power in a computing system
CN103699204A (en) * 2013-11-28 2014-04-02 青岛歌尔声学科技有限公司 System power consumption regulating circuit, method and electronic equipment
CN103995577A (en) * 2013-02-15 2014-08-20 英特尔公司 Dynamically controlling a maximum operating voltage for a processor
KR20150044729A (en) * 2013-10-17 2015-04-27 삼성전자주식회사 Method and apparatus for controlling CPU resource using current consumption in multi-core device
CN104765438A (en) * 2015-04-29 2015-07-08 集怡嘉数码科技(深圳)有限公司 Method for controlling power consumption and mobile terminal
US20150346796A1 (en) * 2012-09-12 2015-12-03 Htc Corporation Electronic device with power management mechanism and power management method thereof
CN105392170A (en) * 2015-09-30 2016-03-09 联想(北京)有限公司 Information processing method and electronic device
CN105492993A (en) * 2013-08-08 2016-04-13 高通股份有限公司 Intelligent multicore control for optimal performance per watt
CN105518563A (en) * 2014-12-12 2016-04-20 上海兆芯集成电路有限公司 Dynamic voltage frequency scaling system and associated method
US20160154456A1 (en) * 2013-08-01 2016-06-02 Texas Instruments Incorporated Dynamic low power states characterization
CN105867569A (en) * 2015-11-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power consumption control method and system in OTA upgrading mode
CN105892596A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Information processing method and electronic device
CN106502788A (en) * 2016-10-09 2017-03-15 珠海市魅族科技有限公司 The method and device of control central processor CPU work
CN106557152A (en) * 2016-12-02 2017-04-05 郑州云海信息技术有限公司 A kind of control device and method of mainboard

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436098A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Method and apparatus for reducing power consumption of multiple-core symmetrical multiprocessing system
CN103069359A (en) * 2010-07-21 2013-04-24 超威半导体公司 Managing current and power in a computing system
US20150346796A1 (en) * 2012-09-12 2015-12-03 Htc Corporation Electronic device with power management mechanism and power management method thereof
CN103995577A (en) * 2013-02-15 2014-08-20 英特尔公司 Dynamically controlling a maximum operating voltage for a processor
US20160154456A1 (en) * 2013-08-01 2016-06-02 Texas Instruments Incorporated Dynamic low power states characterization
CN105492993A (en) * 2013-08-08 2016-04-13 高通股份有限公司 Intelligent multicore control for optimal performance per watt
KR20150044729A (en) * 2013-10-17 2015-04-27 삼성전자주식회사 Method and apparatus for controlling CPU resource using current consumption in multi-core device
CN103699204A (en) * 2013-11-28 2014-04-02 青岛歌尔声学科技有限公司 System power consumption regulating circuit, method and electronic equipment
CN105518563A (en) * 2014-12-12 2016-04-20 上海兆芯集成电路有限公司 Dynamic voltage frequency scaling system and associated method
CN104765438A (en) * 2015-04-29 2015-07-08 集怡嘉数码科技(深圳)有限公司 Method for controlling power consumption and mobile terminal
CN105392170A (en) * 2015-09-30 2016-03-09 联想(北京)有限公司 Information processing method and electronic device
CN105867569A (en) * 2015-11-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Power consumption control method and system in OTA upgrading mode
CN105892596A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Information processing method and electronic device
CN106502788A (en) * 2016-10-09 2017-03-15 珠海市魅族科技有限公司 The method and device of control central processor CPU work
CN106557152A (en) * 2016-12-02 2017-04-05 郑州云海信息技术有限公司 A kind of control device and method of mainboard

Also Published As

Publication number Publication date
CN107193229B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
US10560022B2 (en) Setting operating points for circuits in an integrated circuit chip using an integrated voltage regulator power loss model
TWI698647B (en) Sysytem power monitor
CN108780349B (en) System and method for intelligent thermal management in a system-on-chip with heterogeneous cluster architecture
DE102021124514A1 (en) DEVICE AND METHOD FOR HIERARCHICAL POWER MANAGEMENT
US10170994B1 (en) Voltage regulators for an integrated circuit chip
CN107003685B (en) Maximum current protection of system
KR100767163B1 (en) Method and apparatus for providing supply voltages for a processor
US20110078473A1 (en) Latency based platform coordination
US11550382B2 (en) Power-subsystem-monitoring-based graphics processing system
CN110109527A (en) Dynamic electric voltage nargin is restored
US20160054788A1 (en) Parameter-Based Sensor Selection
US10152106B2 (en) Power excursion tolerant power system
CN107066326A (en) The method and terminal of a kind of scheduler task
JP2003007838A (en) System and method for controlling electric power consumption using on-chip voltage monitor
WO2019094087A1 (en) Processor throttling based on accumulated combined current measurements
WO2023101787A1 (en) Thermally optimized power delivery
KR101655030B1 (en) Dynamic voltage frequency scaling method using slack-distribution based on task-characteristics, execution program thereof method and recorded medium of the program
US9529403B2 (en) Method and apparatus for providing telemetry for power management functions
CN108733481A (en) The system and method for the dynamic power consumption control and load balancing management of multi-node system
US6639428B2 (en) Method and system for dynamically clocking digital systems based on power usage
CN107193229A (en) A kind of control method and electronic equipment
US20100049996A1 (en) Load detecting system and method
KR101510694B1 (en) Apparatus and method for processing data
CN101231551B (en) Multiprocessor system and effectiveness regulation method thereof
CN111523656A (en) Processing apparatus and method

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
GR01 Patent grant
GR01 Patent grant