CN114114971A - Voltage regulation method and device, digital processing equipment and readable storage medium - Google Patents

Voltage regulation method and device, digital processing equipment and readable storage medium Download PDF

Info

Publication number
CN114114971A
CN114114971A CN202010899532.9A CN202010899532A CN114114971A CN 114114971 A CN114114971 A CN 114114971A CN 202010899532 A CN202010899532 A CN 202010899532A CN 114114971 A CN114114971 A CN 114114971A
Authority
CN
China
Prior art keywords
voltage
value
temperature
interval
target
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
CN202010899532.9A
Other languages
Chinese (zh)
Other versions
CN114114971B (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.)
Bitmain Technologies Inc
Original Assignee
Bitmain Technologies 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
Application filed by Bitmain Technologies Inc filed Critical Bitmain Technologies Inc
Priority to CN202010899532.9A priority Critical patent/CN114114971B/en
Publication of CN114114971A publication Critical patent/CN114114971A/en
Application granted granted Critical
Publication of CN114114971B publication Critical patent/CN114114971B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a voltage regulation method of digital processing equipment, which relates to the technical field of digital equipment control and comprises the following steps: acquiring an environmental temperature value acquired by a temperature acquisition device; determining whether a preset voltage regulation condition is met or not according to the environmental temperature value; and if the voltage regulation condition is met, determining a target voltage value according to the environment temperature value, and regulating the current working voltage of the digital processing equipment according to the target voltage value. The application also provides a device, a digital processing device and a storage medium. The operation stability of the digital processing equipment is improved.

Description

Voltage regulation method and device, digital processing equipment and readable storage medium
Technical Field
The present application relates to the field of digital device control technologies, and in particular, to a voltage adjustment method and apparatus for a digital processing device, and a computer-readable storage medium.
Background
At present, the use of digital processing equipment in large quantities makes people increasingly pay more attention to the use performance and the income of the digital processing equipment. The profit of the digital processing equipment is related to the calculation power and the power consumption of the equipment, so the reasonable calculation power and the power consumption of the control equipment are the main means for improving the profit of the equipment.
For digital processing devices, the computational effort is related to the actual operating voltage and operating frequency, and not the higher the operating voltage and operating frequency the better, due to power consumption. In addition, the temperature of the working environment changes due to heat dissipation of the data processing device during working, and different temperatures of the working environment cause different power consumption of the device, so that the operation of the device at different times is affected.
In the prior art, any digital processing device is configured with a relatively reasonable use parameter including working voltage and working frequency when leaving a factory, so that the device can operate well, but the digital processing device cannot be in a more efficient and stable working state due to the influence of external factors.
Disclosure of Invention
The application provides a voltage regulation method and device of digital processing equipment, the digital processing equipment and a computer readable storage medium, so as to improve the operation stability of the digital processing equipment.
In a first aspect, the present application provides a voltage regulation method for a digital processing apparatus, the method comprising:
acquiring an environmental temperature value acquired by a temperature acquisition device;
determining whether a preset voltage regulation condition is met or not according to the environmental temperature value;
and if the voltage regulation condition is met, determining a target voltage value according to the environment temperature value, and regulating the current working voltage of the digital processing equipment according to the target voltage value.
In a second aspect, the present application also provides a voltage regulation apparatus for a digital processing device, the apparatus comprising:
the temperature acquisition module is used for acquiring the environmental temperature value acquired by the temperature acquisition device;
the condition judgment module is used for determining whether a preset voltage regulation condition is met according to the environmental temperature value;
and the voltage adjusting module is used for determining a target voltage value according to the environment temperature value and adjusting the current working voltage of the digital processing equipment according to the target voltage value if the voltage adjusting condition is determined to be met.
In a third aspect, the present application also provides a digital processing device comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the voltage regulation method of the digital processing apparatus as described above when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to implement the voltage regulation method of the digital processing apparatus as described above.
The application discloses a voltage regulation method and device of digital processing equipment, the digital processing equipment and a storage medium, in the operation process of the digital processing equipment, a temperature collection device arranged on the digital processing equipment collects an environmental temperature value of the current environment of the digital processing equipment, then whether the collected environmental temperature value meets a preset voltage regulation condition or not is determined, and then when the set voltage regulation condition is determined to be met, a current corresponding target voltage value is determined according to the collected environmental temperature value, so that the current working voltage of the digital processing equipment is regulated to the obtained target voltage value. The real-time compensation of the working voltage of the digital processing equipment is realized according to the ambient temperature in the running process of the digital processing equipment, and the running efficiency and the running stability of the digital processing equipment are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a voltage regulation method of a digital processing apparatus according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating steps provided in an embodiment of the present application for determining whether a predetermined voltage regulation condition is satisfied;
FIG. 3 is a graph of voltage versus temperature intervals according to an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating steps provided in one embodiment of the present application to determine whether a voltage regulation condition is satisfied;
FIG. 5 is a schematic block diagram of a voltage regulation device of a digital processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a digital processing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a voltage regulation method of a digital processing apparatus according to an embodiment of the present disclosure.
And S101, acquiring an environmental temperature value acquired by a temperature acquisition device.
Generally, during the operation of a device, the device is affected by the environment of the device, that is, different operation environments may cause the actual operation state of the device to be different, so it is necessary to reasonably ensure that the device is always in a stable operation state.
Among the environmental factors influencing the operation of the device, the environmental temperature is an environmental factor which greatly influences the operation of the device, so that the working state of the digital processing device is adjusted according to the current environmental temperature of the digital processing device, and the digital processing device is enabled to have a stable operation state.
When the environmental temperature value is obtained, the environmental temperature is collected through a temperature collecting device in the digital collecting equipment so as to obtain the environmental temperature value corresponding to the digital processing equipment at present. Because the temperature acquisition device is used for acquiring the ambient temperature of the digital processing device, when the temperature acquisition device is arranged, the temperature acquisition device needs to be arranged at a place closer to the ambient temperature, such as an air inlet of the digital processing device, and the ambient temperature value of the digital processing device at present is determined by acquiring the temperature of the air outlet of the air inlet.
And S102, determining whether a preset voltage regulation condition is met or not according to the environmental temperature value.
After the environmental temperature value of the environment where the digital processing device is located is obtained, whether a preset voltage regulation condition is met or not is determined according to the obtained environmental temperature value, and then voltage regulation is achieved when the voltage regulation is determined to be needed, and the voltage is kept unchanged when the voltage regulation is not needed.
The preset voltage regulation condition is used to determine whether voltage regulation is currently required, and after the obtained ambient temperature value is obtained, it is determined whether the obtained ambient temperature value meets the set voltage regulation condition, for example, when the ambient temperature value is a certain value, it is determined that the set voltage regulation condition is met, or when the ambient temperature value is within a certain range, the set voltage regulation condition is met. The actual voltage regulation conditions are set according to the actual requirements.
In practical application, when determining whether the set voltage regulation condition is satisfied according to the ambient temperature value, the judgment results corresponding to different temperature values are different, and the regulation modes corresponding to different temperature values are also different. Therefore, after obtaining the ambient temperature value of the digital processing device, when determining, the method includes steps S201 to S203, as shown in fig. 2, fig. 2 is a schematic flowchart of the steps of determining whether the preset voltage regulation condition is satisfied according to an embodiment of the present application.
Wherein, confirm whether to satisfy preset voltage regulation condition according to ambient temperature value, include:
step S201, reading the current working voltage and the initial working voltage of the digital processing equipment;
step S202, determining a first temperature value corresponding to the current working voltage value according to the current working voltage value and the initial working voltage value, and determining a first temperature interval corresponding to the first temperature value;
step S203, determining whether a preset voltage regulation condition is met according to the environment temperature value and the first temperature interval.
When determining whether the set voltage regulation condition is met according to the obtained environmental temperature value, reading the current working voltage of the digital processing equipment and the initial working voltage of the digital processing equipment during working, then determining a first temperature value corresponding to the current working voltage according to the current working voltage value and the initial working voltage value, determining a first temperature interval corresponding to the first temperature value, and finally determining whether the set preset voltage regulation condition is met according to the obtained environmental temperature value and the first temperature interval.
And when the current working voltage of the digital processing equipment is adjacent to the voltage value corresponding to the voltage value obtained by the voltage regulation of the digital processing equipment in the previous voltage regulation. In one embodiment, when voltage adjustment is performed, voltage compensation is performed on the actual operating voltage of the digital processing device to ensure that the digital processing device can be in a more proper operating state.
When the voltage is adjusted, the voltage during the current operation of the digital processing device is adjusted by using a voltage compensation mode, so when determining whether the voltage adjustment is needed currently, by determining the current corresponding voltage compensation value, when the obtained voltage compensation value is zero, that is, the voltage adjustment is not needed, and when the obtained voltage compensation value is not zero, that is, the voltage adjustment is needed at the time, the current operation voltage is adjusted according to the obtained voltage compensation value.
The initial operating voltage is a default operating voltage of the preset digital processing device during operation, and corresponds to a corresponding condition, such as an ambient temperature value or an ambient temperature range, where the corresponding ambient temperature value or the ambient temperature range is a normal temperature value of an environment, such as 20 degrees or 20 degrees to 30 degrees, but the specific corresponding relationship is set according to an actual situation.
After the current working voltage and the initial working voltage of the digital processing device are obtained, a first temperature value corresponding to the current working voltage is determined according to the current working voltage and the initial working voltage so as to determine whether a preset voltage regulation condition is met. The method comprises the following steps: calculating a voltage difference value between the current working voltage value and the initial working voltage value; and inquiring in a preset voltage compensation list according to the voltage difference value, and determining a first temperature value corresponding to the current working voltage, wherein the voltage compensation list records the corresponding relation between the compensation voltage and the environmental temperature.
In one embodiment, when the determination is performed, a voltage difference between the current working voltage and the initial working voltage is calculated, and then a first temperature value corresponding to the current working voltage is determined according to the obtained voltage difference. When the corresponding first temperature value is determined, the corresponding voltage compensation list can be queried to obtain an ambient temperature value corresponding to the current voltage difference value.
The corresponding relationship between the voltage compensation value and the ambient temperature value can be as shown in fig. 3, and the corresponding relationship between the two corresponding to the curve recorded in fig. 3 can be converted into a corresponding formula:
Figure BDA0002659482340000051
where Δ V is a voltage compensation value, T is an environmental temperature value, and for example, when T is 10 degrees, Δ V is 0.25V. Similarly, when determining the voltage compensation value corresponding to this time, the corresponding ambient temperature value may be calculated. It should be noted that the correspondence between the voltage compensation value and the ambient temperature value is obtained according to actual tests, and therefore, the set correspondence may be different for different digital processing apparatuses and determined according to actual experimental results.
In addition, a first temperature value (environmental temperature value) corresponding to the current working voltage is determined according to the current working voltage and the initial working voltage, a first temperature interval corresponding to the first temperature value is also determined, and whether a preset voltage regulation condition is met at the moment is determined according to the collected environmental temperature value and the first temperature interval.
As can be seen from the curve or the relationship recorded in fig. 3, in addition to determining whether the current collected ambient temperature is the same as the first temperature value, it is also necessary to determine whether the temperature intervals corresponding to the current collected ambient temperature and the first temperature value are the same, and further determine whether voltage adjustment is necessary, so that when determining according to the current working voltage and the initial working voltage, the first temperature value or the first temperature interval corresponding to the current working voltage can be determined.
For example, if the calculated voltage difference is 1V, the corresponding first temperature interval is T ≦ 20 degrees, if the acquired ambient temperature value is-25 degrees, voltage adjustment is not required, and if the acquired ambient temperature value is-10 degrees, it is determined that voltage adjustment is required. For another example, if the calculated voltage difference is 0.5V, the first temperature value obtained at this time is T equal to 0 degrees, and if the collected ambient temperature value is 10 degrees, voltage adjustment will be required at this time.
In an embodiment, in addition to the voltage compensation, the voltage may be adjusted, and the corresponding relationship between the operating voltage and the ambient temperature may be directly determined, for example, when the collected ambient temperature value is 10 degrees, the operating voltage currently corresponding to the digital processing device should be V0+0.25, directly obtaining the voltage value corresponding to the time, without obtaining the voltage compensation value.
However, in the practical application process, when the working state of the digital processing equipment is adjusted according to the ambient temperature value, the real-time adjustment process is theoretically performed, but in the practical adjustment process, the temperature acquisition has a JITTER which can be used for eliminating the JITTER so as to avoid the occurrence of JITTER time of high-frequency adjustment.
In addition, a time domain may be set for different environmental temperatures, specifically, as shown in fig. 4, the same voltage compensation value or voltage value may be set for one environmental temperature interval, and for example, when the environmental temperature value is within-20 to-18, the corresponding voltage compensation value is 0.95V.
As shown in fig. 4, fig. 4 is a flowchart illustrating a step of determining whether a voltage regulation condition is satisfied according to an embodiment of the present application.
Specifically, after acquiring the ambient temperature value acquired by the temperature acquisition device, the method further includes:
step S401, determining a target temperature interval corresponding to the environment temperature value.
After the ambient temperature value is obtained, it is determined whether the preset voltage regulation condition is met or not according to the ambient temperature value obtained at this time, and therefore, after the ambient temperature value is obtained at this time, a target temperature interval corresponding to the ambient temperature value is determined, and whether the voltage regulation condition is met or not is determined according to the obtained target temperature interval.
When a target temperature interval corresponding to the environment temperature value is determined, the recorded demarcation temperature value is determined, and then the corresponding target temperature interval is determined according to the obtained demarcation temperature value and the environment temperature value. Because the voltage regulation conditions corresponding to different target temperature intervals are different, after the target temperature interval corresponding to the environmental temperature value is determined, whether the voltage regulation is needed at present is determined according to the voltage regulation corresponding to the target temperature interval,
in one embodiment, the determining whether the preset voltage regulation condition is satisfied includes:
step S402, determining whether the target temperature interval and the first temperature interval are the same temperature interval.
After the target temperature interval is obtained, because actual voltage regulation conditions corresponding to different temperature intervals are different, after the target temperature interval is obtained, whether the target temperature interval and a first temperature interval corresponding to a first temperature value are the same temperature interval or not is determined, wherein the first temperature value is an environmental temperature value corresponding to the current working voltage.
In practical applications, the actual conditions of voltage regulation corresponding to different temperature intervals are different, and therefore, the ambient temperature values corresponding to two different temperature intervals are also different, for example, the operating voltage of some digital processing devices is reduced along with the continuous increase of the ambient temperature values, while the operating voltage of some digital processing devices needs to be increased at low temperature and high temperature, and is the lowest at a certain temperature value. However, in general, in order to enable the digital processing device to operate more stably, the operating voltage of the digital processing device decreases with increasing temperature, and for example, when the digital processing device operates in a low-temperature environment, a relatively high operating voltage needs to be set to control the operation of the digital processing device.
Step S403, if it is determined that the target temperature interval and the first temperature interval are the same temperature interval, determining whether the voltage adjustment condition is satisfied according to a type of the target interval corresponding to the target temperature interval.
When the target temperature interval is compared with the first temperature interval, the corresponding comparison results are two, one is that the target temperature interval and the first temperature interval are the same temperature interval, and the other is that the target temperature interval and the first temperature interval are different temperature intervals.
Therefore, when the target temperature interval is not the same as the first temperature interval, it is determined that the set voltage jump condition is satisfied at this time. For example, taking the voltage regulation curve shown in FIG. 3 as an example, if the first temperature interval is T ≦ 20, and the target temperature interval is-20 < T ≦ 20, it is obvious that the voltage regulation needs to be performed at this time, that is, the set voltage regulation condition is satisfied at this time.
It should be noted that there are many voltage adjustment conditions, and determining whether the target temperature interval is the same as the first temperature interval is one of the conditions, for example, if the target temperature interval is set as the first voltage adjustment condition, the meeting of the voltage adjustment condition is: the target temperature interval and the first temperature interval are different temperature intervals.
In an embodiment, when the comparison is performed according to the target temperature interval and the first temperature interval, the corresponding comparison result further includes a case that the target temperature interval and the first temperature interval are the same temperature interval, and when the two are the same temperature interval, whether the set voltage regulation condition is satisfied at this time is determined according to the type of the target interval corresponding to the first temperature interval/the target temperature interval.
Since the voltage adjustment conditions corresponding to different temperature intervals are different, even if it is determined that the target temperature interval and the first temperature interval are the same temperature interval, it cannot be determined whether the set voltage adjustment condition is satisfied at this time, for example, when the target temperature interval/the first temperature interval is T ≦ 20, since the voltage compensation value/the voltage value corresponding to this time is a fixed value, at this time, the voltage adjustment is not required, and further, for example, when the target temperature interval/the first temperature interval is-20 < T ≦ 20, at this time, different ambient temperature values are different from the voltage compensation value/the voltage value, at this time, when the target temperature value is not equal to the first temperature value, it is determined that the voltage adjustment is required, and otherwise, the voltage adjustment is not required.
Therefore, in an embodiment, when determining that the target temperature interval and the first temperature interval are the same temperature interval, the method includes: comparing the target temperature value with a preset demarcation temperature value, and determining a target interval type corresponding to the target temperature interval; if the type of the target interval is a boundary interval, determining that the voltage regulation is not satisfied; and if the type of the target interval is the middle interval, determining whether the voltage regulation condition is met according to the target temperature value and the first temperature value.
After the target temperature interval and the first temperature interval are determined to be the same temperature interval, the interval type corresponding to the target temperature interval/the first temperature interval is determined, wherein the interval type comprises a middle interval and a boundary interval, if-20 < T < 20, the middle interval is determined, and T < 20, the boundary interval is determined.
When the section type corresponding to the target temperature value is determined, a preset boundary temperature value is obtained, and then the target temperature value is compared with the set boundary temperature value to determine the target section type corresponding to the target temperature section. The boundary temperature value is a boundary value corresponding to two different temperature intervals, for example, the interval T is less than or equal to-20, and the interval T is less than or equal to-20 and less than or equal to 20, then "-20" is a boundary temperature value, and similarly, when the temperature is higher than 20, the boundary temperature value also corresponds to an interval, so that "20" is also a boundary temperature value.
Comparing the obtained environment temperature value with the set boundary temperature value, determining the type of the interval corresponding to the target temperature value at the moment, if the target temperature value is minus 30 ℃, the corresponding temperature interval is T less than or equal to minus 20, namely the boundary interval, and if the target temperature value is minus 15 ℃, the corresponding temperature interval is T less than or equal to minus 20, namely the middle interval.
In order to enable the digital processing apparatus to operate normally, the operating voltage cannot be raised or lowered without limitation, therefore, in the curve described in fig. 3, the voltage compensation value set in the boundary interval is a fixed value, specifically, the change is in the temperature value included in the intermediate interval, so when the type of the target interval corresponding to the target temperature value is determined, if the type of the target interval is determined to be the boundary interval, it is determined that the voltage regulation is not needed at this time, that is, the voltage regulation condition is not satisfied.
In addition, if it is determined that the type of the target interval is the middle interval, determining whether the voltage regulation condition is satisfied according to the target temperature value and the first temperature value, specifically, when determining whether the voltage regulation condition is satisfied, the method includes: and determining whether the ambient temperature value is equal to the first temperature value, if so, determining that a voltage regulation condition is not met, and if not, determining that the voltage regulation condition is met.
In the regulation interval shown in fig. 3, there is also an intermediate interval 20< T <40, in which no voltage compensation is performed, i.e. no temperature regulation is required when both the target ambient temperature value and the first temperature value are within this interval.
In an embodiment, when determining the interval type corresponding to the target interval, in addition to dividing the interval type into a middle interval and a boundary interval, the interval type may be further divided into a constant interval and a variable interval, where voltage compensation values/voltage values corresponding to different temperature values in the constant interval are the same, and voltage compensation values/voltage values corresponding to different temperature values in the variable interval are different. As shown in FIG. 3, the intervals T ≦ -20, 20< T <40, and 40 ≦ T are constant intervals, and the interval-20 < T ≦ 20 is variable.
When both the target temperature value and the first temperature value are in the constant interval, voltage regulation will not be needed, when both the target temperature value and the first temperature value are in the variable interval, voltage regulation will be needed (the target temperature value is not equal to the first temperature value), and in addition, when both are in different intervals, even if the interval types are the same, voltage regulation also needs to be done.
In one embodiment, the target temperature value and the first temperature value may be a boundary temperature value, and the boundary temperature value is generally classified as one of adjacent intervals, but voltage regulation is not required as long as the target temperature value is the same as the first temperature value.
Step S103, if the voltage regulation condition is satisfied, determining a target voltage value according to the environmental temperature value, and regulating the current working voltage of the digital processing equipment according to the target voltage value.
When the set voltage regulation condition is met at the moment according to the obtained target temperature value, the current corresponding target voltage value is determined according to the collected environment temperature value, and then the current working voltage of the digital processing equipment is regulated according to the obtained target voltage value, namely the current working voltage of the digital processing equipment is regulated to the target voltage value.
In practical application, when voltage of the digital processing equipment is regulated, the current working voltage of the digital processing equipment is compensated and regulated according to an actual environment temperature value, so that the operation stability and the operation efficiency of the digital processing equipment are improved, and the influence caused by untimely regulation is reduced.
During adjustment, a corresponding adjustment value is determined, that is, the amount of the working voltage adjustment value of the digital processing device that needs to be adjusted currently is determined, so that a current corresponding target voltage value is determined according to an environmental temperature value, and adjustment is performed according to the obtained target voltage value, which specifically includes:
inquiring in the voltage compensation list according to the environment temperature value, and determining a voltage compensation value corresponding to the environment temperature value; determining a target voltage value according to the initial working voltage value and the voltage compensation value; and adjusting the current working voltage of the digital processing equipment to the target voltage value.
When the voltage regulation is determined to be needed, the acquired environmental temperature value is inquired in a preset voltage compensation list according to the acquired environmental temperature value, a voltage compensation value corresponding to the environmental temperature value is determined, then the initial working voltage and the obtained voltage compensation are added to obtain a target voltage value corresponding to the current time, and further the current working voltage of the digital processing equipment is regulated to the obtained target voltage value.
In general, different ambient temperature values correspond to different voltage compensation values, so that when a target voltage value corresponding to the current time is determined, the voltage compensation value corresponding to the current time is obtained first, and then the voltage compensation value is compensated to the initial working voltage value according to the recorded initial working voltage value to obtain the current target voltage value, for example, when the voltage compensation value is a negative number, the working voltage needs to be reduced, and when the voltage compensation value is a positive number, the working voltage needs to be increased.
In an embodiment, as can be seen from the above description, in addition to determining the voltage compensation value corresponding to the current time according to the environmental temperature value, the working voltage corresponding to the current time may also be directly determined according to the collected environmental temperature value, so as to adjust the working voltage of the digital processing device to the working voltage obtained at the current time.
In the above-described voltage adjustment method for the digital processing device, in an operation process of the digital processing device, an ambient temperature value of a current environment of the digital processing device is acquired by a temperature acquisition device arranged on the digital processing device, and then it is determined whether the acquired ambient temperature value meets a preset voltage adjustment condition, and when it is determined that the set voltage adjustment condition is met, a current corresponding target voltage value is determined according to the acquired ambient temperature value, so as to adjust a current working voltage of the digital processing device to the obtained target voltage value. The real-time compensation of the working voltage of the digital processing equipment is realized according to the ambient temperature in the running process of the digital processing equipment, and the running efficiency and the running stability of the digital processing equipment are improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of a voltage regulation apparatus of a digital processing device according to an embodiment of the present application, which is used for executing the voltage regulation method of the digital processing device.
As shown in fig. 5, the voltage regulating device 500 of the digital processing apparatus includes:
the temperature acquisition module 501 is used for acquiring an environmental temperature value acquired by the temperature acquisition device;
a condition determining module 502, configured to determine whether a preset voltage adjusting condition is met according to the ambient temperature value;
and a voltage adjusting module 503, configured to determine a target voltage value according to the environmental temperature value if it is determined that the voltage adjusting condition is met, and adjust the current working voltage of the digital processing device according to the target voltage value.
Further, in an embodiment, the temperature acquisition module 5501 is further specifically configured to:
and acquiring the ambient temperature value of the air inlet of the digital processing equipment, which is acquired by the temperature acquisition device.
Further, in an embodiment, the condition determining module 502 is further specifically configured to:
reading the current working voltage value and the initial working voltage value of the digital processing equipment; determining a first temperature value corresponding to the current working voltage value according to the current working voltage value and the initial working voltage value, and determining a first temperature interval corresponding to the first temperature value; and determining whether a preset voltage regulation condition is met or not according to the environment temperature value and the first temperature interval.
Further, in an embodiment, the condition determining module 502 is further specifically configured to:
calculating a voltage difference value between the current working voltage value and the initial working voltage value; and inquiring in a preset voltage compensation list according to the voltage difference value, and determining a first temperature value corresponding to the current working voltage, wherein the voltage compensation list records the corresponding relation between the compensation voltage and the environmental temperature.
Further, in an embodiment, the condition determining module 502 is further specifically configured to:
determining a target temperature interval corresponding to the environment temperature value; determining whether the target temperature interval and the first temperature interval are the same temperature interval; if the target temperature interval and the first temperature interval are determined to be the same temperature interval, determining whether the voltage regulation condition is met according to the type of the target interval corresponding to the target temperature interval; and if the target temperature interval and the first temperature interval are determined to be different temperature intervals, determining that the voltage regulation condition is met.
Further, in an embodiment, the condition determining module 502 is further specifically configured to:
comparing the target temperature value with a preset demarcation temperature value, and determining a target interval type corresponding to the target temperature interval, wherein the target interval type comprises a boundary interval and a middle interval; if the type of the target interval is a boundary interval, determining that the voltage regulation condition is not met; and if the type of the target interval is the middle interval, determining whether the voltage regulation condition is met according to the target temperature value and the first temperature value.
Further, in an embodiment, the condition determining module 502 is further specifically configured to:
determining whether the ambient temperature value and the first temperature value are equal; if the environment temperature value is determined to be equal to the first temperature value, determining that a voltage regulation condition is not satisfied; and if the environment temperature value is not equal to the first temperature value, determining that a voltage regulation condition is met.
Further, in an embodiment, the voltage adjusting module 503 is further specifically configured to:
inquiring in the voltage compensation list according to the environment temperature value, and determining a voltage compensation value corresponding to the environment temperature value; determining a target voltage value according to the initial working voltage value and the voltage compensation value; and adjusting the current working voltage of the digital processing equipment to the target voltage value.
Referring to fig. 6, fig. 6 is a schematic block diagram of a digital processing device according to an embodiment of the present application. The digital processing device may be a server.
As shown in fig. 6, the digital processing device includes a processor and a memory connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the voltage regulation methods of the digital processing apparatus.
The processor is used for providing calculation and control capability and supporting the operation of the whole digital processing device.
The memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by the processor, causes the processor to perform any of the methods of voltage regulation for a digital processing apparatus.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is a block diagram of only a portion of the architecture associated with the disclosed aspects and is not intended to limit the digital processing apparatus to which the disclosed aspects apply, as a particular digital processing apparatus may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
acquiring an environmental temperature value acquired by a temperature acquisition device; determining whether a preset voltage regulation condition is met or not according to the environmental temperature value; and if the voltage regulation condition is met, determining a target voltage value according to the environment temperature value, and regulating the current working voltage of the digital processing equipment according to the target voltage value.
In one embodiment, when the obtaining of the target ambient temperature value acquired by the temperature acquisition device is implemented, the processor is further configured to implement:
and acquiring the ambient temperature value of the air inlet of the digital processing equipment, which is acquired by the temperature acquisition device.
In one embodiment, the processor, when implementing the determining whether the preset voltage regulation condition is satisfied according to the ambient temperature value, is further configured to implement:
reading the current working voltage value and the initial working voltage value of the digital processing equipment; determining a first temperature value corresponding to the current working voltage value according to the current working voltage value and the initial working voltage value, and determining a first temperature interval corresponding to the first temperature value; and determining whether a preset voltage regulation condition is met or not according to the environment temperature value and the first temperature interval.
In one embodiment, when the determining, according to the current operating voltage value and the initial operating voltage value, a first temperature value corresponding to the current operating voltage value is implemented, the processor is further configured to implement:
calculating a voltage difference value between the current working voltage value and the initial working voltage value; and inquiring in a preset voltage compensation list according to the voltage difference value, and determining a first temperature value corresponding to the current working voltage, wherein the voltage compensation list records the corresponding relation between the compensation voltage and the environmental temperature.
In one embodiment, after the obtaining of the target ambient temperature value acquired by the temperature acquisition device, the processor is further configured to:
determining a target temperature interval corresponding to the environment temperature value;
the processor determines whether a preset voltage regulation condition is met or not according to the environment temperature value and the first temperature interval, and is further used for realizing that:
determining whether the target temperature interval and the first temperature interval are the same temperature interval; if the target temperature interval and the first temperature interval are determined to be the same temperature interval, determining whether the voltage regulation condition is met according to the type of the target interval corresponding to the target temperature interval; and if the target temperature interval and the first temperature interval are determined to be different temperature intervals, determining that the voltage regulation condition is met.
In one embodiment, when the determining whether the voltage regulation condition is satisfied according to the target interval type corresponding to the target temperature interval is implemented, the processor is further configured to implement:
comparing the target temperature value with a preset demarcation temperature value, and determining a target interval type corresponding to the target temperature interval, wherein the target interval type comprises a boundary interval and a middle interval; if the type of the target interval is a boundary interval, determining that the voltage regulation condition is not met; and if the type of the target interval is the middle interval, determining whether the voltage regulation condition is met according to the target temperature value and the first temperature value.
In one embodiment, the processor, in implementing the determining whether the voltage regulation condition is satisfied according to the target temperature value and the first temperature value, is further configured to implement:
determining whether the ambient temperature value and the first temperature value are equal; if the environment temperature value is determined to be equal to the first temperature value, determining that a voltage regulation condition is not satisfied; and if the environment temperature value is not equal to the first temperature value, determining that a voltage regulation condition is met.
In an embodiment, when the processor determines the target voltage value according to the environmental temperature value and adjusts the current operating voltage of the digital processing device according to the target voltage value, the processor is further configured to:
inquiring in the voltage compensation list according to the environment temperature value, and determining a voltage compensation value corresponding to the environment temperature value; determining a target voltage value according to the initial working voltage value and the voltage compensation value; and adjusting the current working voltage of the digital processing equipment to the target voltage value.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement the voltage regulation method of any digital processing device provided in the embodiment of the present application.
The computer-readable storage medium may be an internal storage unit of the digital processing device according to the foregoing embodiment, for example, a hard disk or a memory of the digital processing device. The computer readable storage medium may also be an external storage device of the Digital processing device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the Digital processing device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A voltage regulation method for a digital processing apparatus, characterized in that said method comprises
Acquiring an environmental temperature value acquired by a temperature acquisition device;
determining whether a preset voltage regulation condition is met or not according to the environmental temperature value;
and if the voltage regulation condition is met, determining a target voltage value according to the environment temperature value, and regulating the current working voltage of the digital processing equipment according to the target voltage value.
2. The method of claim 1, wherein the obtaining the target ambient temperature value collected by the temperature collecting device comprises:
and acquiring the ambient temperature value of the air inlet of the digital processing equipment, which is acquired by the temperature acquisition device.
3. The method of claim 1, wherein determining whether a preset voltage regulation condition is satisfied according to the ambient temperature value comprises:
reading the current working voltage value and the initial working voltage value of the digital processing equipment;
determining a first temperature value corresponding to the current working voltage value according to the current working voltage value and the initial working voltage value, and determining a first temperature interval corresponding to the first temperature value;
and determining whether a preset voltage regulation condition is met or not according to the environment temperature value and the first temperature interval.
4. The method of claim 3, wherein determining the first temperature value corresponding to the current operating voltage value according to the current operating voltage value and the initial operating voltage value comprises:
calculating a voltage difference value between the current working voltage value and the initial working voltage value;
and inquiring in a preset voltage compensation list according to the voltage difference value, and determining a first temperature value corresponding to the current working voltage, wherein the voltage compensation list records the corresponding relation between the compensation voltage and the environmental temperature.
5. The method according to claim 3, wherein after obtaining the target ambient temperature value collected by the temperature collecting device, the method further comprises:
determining a target temperature interval corresponding to the environment temperature value;
the determining whether a preset voltage regulation condition is met according to the environment temperature value and the first temperature interval comprises:
determining whether the target temperature interval and the first temperature interval are the same temperature interval;
if the target temperature interval and the first temperature interval are determined to be the same temperature interval, determining whether the voltage regulation condition is met according to the type of the target interval corresponding to the target temperature interval;
and if the target temperature interval and the first temperature interval are determined to be different temperature intervals, determining that the voltage regulation condition is met.
6. The method according to claim 5, wherein the determining whether the voltage regulation condition is satisfied according to the type of the target interval corresponding to the target temperature interval comprises:
comparing the target temperature value with a preset demarcation temperature value, and determining a target interval type corresponding to the target temperature interval, wherein the target interval type comprises a boundary interval and a middle interval;
if the type of the target interval is a boundary interval, determining that the voltage regulation condition is not met;
and if the type of the target interval is the middle interval, determining whether the voltage regulation condition is met according to the target temperature value and the first temperature value.
7. The method of claim 6, wherein determining whether a voltage regulation condition is satisfied based on the target temperature value and the first temperature value comprises:
determining whether the ambient temperature value and the first temperature value are equal;
if the environment temperature value is determined to be equal to the first temperature value, determining that a voltage regulation condition is not satisfied;
and if the environment temperature value is not equal to the first temperature value, determining that a voltage regulation condition is met.
8. The method according to any one of claims 4 to 7, wherein the determining a target voltage value according to the environmental temperature value and adjusting the current operating voltage of the digital processing device according to the target voltage value comprises:
inquiring in the voltage compensation list according to the environment temperature value, and determining a voltage compensation value corresponding to the environment temperature value;
determining a target voltage value according to the initial working voltage value and the voltage compensation value;
and adjusting the current working voltage of the digital processing equipment to the target voltage value.
9. A voltage regulation device for a digital processing apparatus, the device comprising:
the temperature acquisition module is used for acquiring the environmental temperature value acquired by the temperature acquisition device;
the condition judgment module is used for determining whether a preset voltage regulation condition is met according to the environmental temperature value;
and the voltage adjusting module is used for determining a target voltage value according to the environment temperature value and adjusting the current working voltage of the digital processing equipment according to the target voltage value if the voltage adjusting condition is determined to be met.
10. A digital processing device, comprising a memory and a processor:
the memory has stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the voltage regulation method of a digital processing apparatus as claimed in any of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, the computer-readable instructions, when executed by the processors, causing one or more processors to perform the steps of the voltage regulation method of a digital processing apparatus according to any one of claims 1 to 8.
CN202010899532.9A 2020-08-31 2020-08-31 Voltage regulation method, device, digital processing equipment and readable storage medium Active CN114114971B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010899532.9A CN114114971B (en) 2020-08-31 2020-08-31 Voltage regulation method, device, digital processing equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010899532.9A CN114114971B (en) 2020-08-31 2020-08-31 Voltage regulation method, device, digital processing equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114114971A true CN114114971A (en) 2022-03-01
CN114114971B CN114114971B (en) 2023-12-22

Family

ID=80360126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010899532.9A Active CN114114971B (en) 2020-08-31 2020-08-31 Voltage regulation method, device, digital processing equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114114971B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241375A (en) * 2007-02-06 2008-08-13 国际商业机器公司 Integrated circuit, electronic system and method for regulating voltage for supplying to circuit
CN203102140U (en) * 2013-01-06 2013-07-31 青岛海信宽带多媒体技术有限公司 Device capable of dynamically adjusting power
CN104460076A (en) * 2014-12-30 2015-03-25 合肥京东方光电科技有限公司 Voltage compensation method and device and display device
CN104516384A (en) * 2013-09-27 2015-04-15 凯为公司 Dynamically adjusting supply voltage based on monitored chip temperature
CN105070261A (en) * 2015-08-26 2015-11-18 武汉华星光电技术有限公司 Liquid crystal display module group and voltage adjusting method thereof
WO2016062069A1 (en) * 2014-10-22 2016-04-28 中兴通讯股份有限公司 Method and device for adjusting core voltage of chip
CN108592330A (en) * 2018-04-28 2018-09-28 四川长虹空调有限公司 Air-conditioning current protection method and air-conditioning

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241375A (en) * 2007-02-06 2008-08-13 国际商业机器公司 Integrated circuit, electronic system and method for regulating voltage for supplying to circuit
CN203102140U (en) * 2013-01-06 2013-07-31 青岛海信宽带多媒体技术有限公司 Device capable of dynamically adjusting power
CN104516384A (en) * 2013-09-27 2015-04-15 凯为公司 Dynamically adjusting supply voltage based on monitored chip temperature
WO2016062069A1 (en) * 2014-10-22 2016-04-28 中兴通讯股份有限公司 Method and device for adjusting core voltage of chip
CN105589504A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Method and device for adjusting chip core voltage
CN104460076A (en) * 2014-12-30 2015-03-25 合肥京东方光电科技有限公司 Voltage compensation method and device and display device
CN105070261A (en) * 2015-08-26 2015-11-18 武汉华星光电技术有限公司 Liquid crystal display module group and voltage adjusting method thereof
CN108592330A (en) * 2018-04-28 2018-09-28 四川长虹空调有限公司 Air-conditioning current protection method and air-conditioning

Also Published As

Publication number Publication date
CN114114971B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
US7783906B2 (en) Maximum power usage setting for computing device
US7464278B2 (en) Combining power prediction and optimal control approaches for performance optimization in thermally limited designs
US9081566B2 (en) Dynamic chip control
US8261112B2 (en) Optimizing power consumption by tracking how program runtime performance metrics respond to changes in operating frequency
US8060765B1 (en) Power estimation based on block activity
CN105549715A (en) Dynamic adjustment of CPU operating frequency
US20140237267A1 (en) Dynamically Controlling A Maximum Operating Voltage For A Processor
WO2019133106A1 (en) Accurate voltage control to enhance power performance of circuits
WO2022099477A1 (en) Power consumption control method and device
CN110928341B (en) Temperature control method, device, equipment and storage medium
WO2019085562A1 (en) Method and apparatus for acquiring remaining state of charge of battery
CN109818377B (en) A kind of Automatic Generation Control performance estimating method and system based on amplitude variations
US20180181182A1 (en) Electronic devices, electronic systems, and control methods therefor
CN114114971B (en) Voltage regulation method, device, digital processing equipment and readable storage medium
CN111361458B (en) Power calculation method and device and electronic equipment
CN108350820B (en) Engine control device for construction machine
CN117433058A (en) Thermal energy management method, device, equipment and medium for heat supply equipment
CN115237243B (en) Chip protection method, device, medium and computing equipment
CN115051002B (en) Heat dissipation control method, heat dissipation control device, computer equipment and storage medium
US11966786B2 (en) Proxy-based instruction throttling control
CN116066981A (en) Air conditioner control method and device, air conditioner and readable storage medium
CN109410052A (en) A kind of data predication method and device
US20220187349A1 (en) Missing data correction method and apparatus
WO2019054022A1 (en) Demand response system and method for controlling power consumption
JP2023504844A (en) Recognition of Chip Process Variation Power Efficiency Optimization

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