CN115328248A - Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment - Google Patents

Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment Download PDF

Info

Publication number
CN115328248A
CN115328248A CN202210987256.0A CN202210987256A CN115328248A CN 115328248 A CN115328248 A CN 115328248A CN 202210987256 A CN202210987256 A CN 202210987256A CN 115328248 A CN115328248 A CN 115328248A
Authority
CN
China
Prior art keywords
voltage
working
frequency
integrated circuit
operating
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.)
Pending
Application number
CN202210987256.0A
Other languages
Chinese (zh)
Inventor
刘尧禹
张亚林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Enflame Technology Co ltd
Original Assignee
Shanghai Enflame Technology Co 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 Shanghai Enflame Technology Co ltd filed Critical Shanghai Enflame Technology Co ltd
Priority to CN202210987256.0A priority Critical patent/CN115328248A/en
Publication of CN115328248A publication Critical patent/CN115328248A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/56Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices
    • G05F1/561Voltage to current converters
    • 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

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The invention discloses a voltage self-adaptive adjusting method and device of an integrated circuit and electronic equipment, wherein the method comprises the following steps: pre-configuring the expected working frequency and working voltage of the current running period of the integrated circuit and controlling the integrated circuit to run after the maximum current threshold allowed under the expected working frequency and working voltage is preset; regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current of the integrated circuit and the preconfigured maximum current threshold value in the operation process; detecting the actual working frequency of the integrated circuit when the current operation period is finished; the working voltage preconfigured in the next operation period is adaptively adjusted according to the difference value between the expected working frequency and the actual working frequency, the relation between the voltage and the frequency can be adjusted according to the actual working condition, and the working performance and the energy efficiency ratio of the circuit are improved; and the voltage frequency storage table is updated according to the detected abnormal operation information in the operation process of the integrated circuit, so that the self-adaptive adjustment of the voltage frequency storage table is realized aiming at long-term and aging working scenes.

Description

Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of integrated circuits, in particular to a voltage self-adaptive adjusting method and device of an integrated circuit and electronic equipment.
Background
With the development of Dynamic Voltage Frequency Scaling (DVFS) technology, DVFS is widely used in various integrated circuits nowadays to effectively manage power consumption of electronic systems to avoid waste.
At present, the voltage and frequency regulation scheme mainly detects the requirement of regulating frequency sent by each path in a chip or an external interrupt through a detection unit, retrieves a new frequency and a new voltage through a pre-built-in voltage-frequency relation, and then respectively configures the new frequency and the new voltage to a voltage regulation unit and a clock regulation unit. However, a significant drawback of the conventional DVFS scheme is that it lacks pertinence, and it is configured under the worst condition obtained by counting the whole product, that is, the worst voltage-frequency curve, so that the energy efficiency ratio of the product is reduced. Moreover, since the product definition of the hardware is often prior to the software application, this means that the definition of the worst operating condition is not accurate when the hardware specification is defined, and there is a risk that the abnormal condition is not predicted.
Disclosure of Invention
The embodiment of the invention provides a voltage self-adaptive adjusting method and device of an integrated circuit and electronic equipment, which improve the working performance and the energy efficiency ratio of the circuit by self-adaptively adjusting the relation between voltage and frequency.
According to an aspect of the present invention, there is provided a voltage adaptive adjustment method for an integrated circuit, including:
pre-configuring an expected working frequency, a working voltage and a maximum current threshold allowed under the expected working frequency and the working voltage of the current running period of the integrated circuit, and controlling the integrated circuit to run;
regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current of the integrated circuit and a preconfigured maximum current threshold value in the running process;
detecting the actual working frequency of the integrated circuit at the end of the current operation period;
and adaptively adjusting the working voltage pre-configured for the next operating period of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency.
Optionally, adjusting and controlling the operating frequency of the integrated circuit based on a magnitude relationship between an actual operating current of the integrated circuit and a preconfigured maximum current threshold in an operating process includes:
controlling the integrated circuit to operate according to the expected operating frequency and the preset operating voltage, and monitoring whether the operating voltage of the integrated circuit exceeds the maximum operating current threshold value or not in the operating process;
if yes, controlling the integrated circuit to reduce the working frequency;
and if not, controlling the integrated circuit to maintain the expected operating frequency to operate.
Optionally, adaptively adjusting the working voltage preconfigured to the next operating cycle of the integrated circuit according to the difference between the expected operating frequency and the actual operating frequency includes:
if the detected actual working frequency is less than the expected working frequency, raising the working voltage preconfigured in the next operating period, and increasing the preconfigured maximum working current threshold;
and if the detected actual working frequency is equal to the expected working frequency, reducing the working voltage preconfigured in the next working period, and reducing the preconfigured maximum working current threshold.
Optionally, pre-configuring the expected operating frequency, the operating voltage, and the maximum current threshold allowed under the expected operating frequency and the operating voltage of the integrated circuit, further includes:
determining an expected operating frequency of the integrated circuit;
obtaining a working voltage corresponding to the expected working frequency from a voltage-frequency relation storage table; in the voltage-frequency relation storage table, each working frequency corresponds to a plurality of working voltages;
and determining the maximum current threshold of the integrated circuit according to the expected working frequency and the acquired working voltage.
Optionally, if it is detected that the actual operating frequency is lower than the expected operating frequency, raising the operating voltage preconfigured in the next operating cycle, including:
acquiring a voltage value which corresponds to the expected working frequency and is greater than the working voltage in the current operation period from a voltage-frequency relation storage table;
presetting the acquired voltage value which corresponds to the expected working frequency and is greater than the working voltage in the current operation period as the working voltage in the next operation period;
if the actual working frequency is detected to be equal to the expected working frequency, reducing the working voltage preconfigured in the next working period, including:
acquiring a voltage value which corresponds to the expected working frequency and is less than the working voltage of the current operation period from a voltage-frequency relation storage table;
and pre-configuring the acquired voltage value which corresponds to the expected working frequency and is less than the working voltage in the current operation period as the working voltage in the next operation period.
Optionally, the voltage adaptive adjustment method of the integrated circuit further includes:
and detecting abnormal operation information in the operation process of the integrated circuit, and updating the voltage frequency storage table according to the abnormal operation information.
Optionally, updating the voltage frequency storage table according to the operation abnormality information includes:
judging whether the integrated circuit can repair the abnormity through voltage regulation or not according to the operation abnormity information;
if yes, determining a voltage abnormity type, and adjusting the working voltage corresponding to each working frequency in the voltage frequency storage table according to the voltage abnormity type so as to realize the self-adaptive adjustment of the voltage frequency storage table aiming at long-term and aging working scenes; the voltage abnormity type comprises a higher voltage type and a lower voltage type.
According to another aspect of the present invention, there is provided a voltage adaptive regulator of an integrated circuit, including:
the working parameter pre-configuration unit is used for pre-configuring an expected working frequency, a working voltage and a maximum current threshold allowed under the expected working frequency and the working voltage of the current running period of the integrated circuit;
the operation control unit is used for controlling the integrated circuit to operate according to the expected operating frequency and the operating voltage;
the regulating and controlling unit is used for regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current and the preconfigured maximum current threshold value in the running process of the integrated circuit;
the detection unit is used for detecting the actual working frequency of the integrated circuit when the current operation period is finished;
the working parameter pre-configuration unit also adaptively adjusts and pre-configures the working voltage for the next operating period of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency.
Optionally, the voltage adaptive adjustment apparatus of the integrated circuit further includes:
and the voltage frequency storage table updating unit is used for detecting abnormal operation information in the operation process of the integrated circuit and updating the voltage frequency storage table according to the abnormal operation information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the voltage adaptive adjustment method of the integrated circuit according to any of the embodiments of the present invention.
The embodiment of the invention provides a voltage self-adaptive adjusting method and device of an integrated circuit and electronic equipment, wherein the voltage self-adaptive adjusting method of the integrated circuit comprises the following steps: pre-configuring the expected working frequency and working voltage of the current running period of the integrated circuit and controlling the integrated circuit to run after the maximum current threshold allowed under the expected working frequency and working voltage is preset; regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current of the integrated circuit and the preconfigured maximum current threshold value in the operation process; detecting the actual working frequency of the integrated circuit when the current operation period is finished; and adaptively adjusting the working voltage pre-configured for the next operating period of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency. According to the technical scheme provided by the invention, each frequency can correspond to various voltages, after a corresponding voltage frequency working interval is determined according to a design specification frame of initial hardware, a chip in the integrated circuit can self-adaptively adjust the relation between the voltage and the frequency according to the actual working condition to obtain the proper voltage frequency relation under different working conditions, so that the working performance and the energy efficiency ratio of the circuit are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a voltage adaptive adjustment method for an integrated circuit according to an embodiment of the present invention;
FIG. 2 is a graph showing a frequency-voltage relationship according to an embodiment of the present invention;
FIG. 3 is a flow chart of another adaptive voltage regulation method for an integrated circuit according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for updating a voltage-frequency memory table according to information about abnormal operation of an integrated circuit according to an embodiment of the present invention;
fig. 5 is a block diagram of a voltage adaptive regulator of an integrated circuit according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a voltage adaptive adjustment method for an integrated circuit, and fig. 1 is a flowchart of the voltage adaptive adjustment method for the integrated circuit provided in the embodiment of the present invention, and referring to fig. 1, the voltage adaptive adjustment method for the integrated circuit includes:
and S110, pre-configuring the expected working frequency and working voltage of the current running period of the integrated circuit and controlling the integrated circuit to run after the maximum current threshold allowed under the expected working frequency and working voltage.
Specifically, the voltage adaptation of the integrated circuit may operate according to a fixed period. And setting the expected working frequency and working voltage of the current running period and the maximum current threshold allowed under the expected working frequency and working voltage in the initial stage of each period, and controlling the running of the integrated circuit at the expected working frequency and working voltage in the running process of each period.
And S120, regulating and controlling the working frequency of the integrated circuit based on the size relation between the actual working current of the integrated circuit and the pre-configured maximum current threshold value in the running process.
Specifically, after the integrated circuit is controlled to operate at the expected operating frequency and the operating voltage, because the integrated circuit is under the action of threshold protection functions such as current and voltage, when the actual operating current exceeds a safety threshold, that is, the maximum current threshold allowed under the expected operating frequency and the operating voltage, a chip in the integrated circuit can generate fast frequency reduction, so that the stability of the operating state of the whole integrated circuit is ensured in a frequency reduction mode. Therefore, the actual operating frequency during the operating cycle may be less than or equal to the expected operating frequency preconfigured at the initial stage of the operating cycle.
And S130, detecting the actual working frequency of the integrated circuit when the current operation period is finished.
And S140, adaptively adjusting the working voltage pre-configured for the next operating period of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency.
Specifically, when the operation cycle is finished, the actual operating frequency of the current operation cycle is detected. And comparing the difference between the actual working frequency and the expected working frequency pre-configured at the initial stage of the current operating period, and determining the working voltage of the integrated circuit in the next operating period according to the difference result so as to adjust the voltage frequency configuration of the next operating period. That is, each frequency corresponds to a plurality of voltages, and the chip in the integrated circuit can adjust the operating voltage according to the actual operating condition. Fig. 2 is a graph of a frequency-voltage correspondence relationship according to an embodiment of the present invention, and referring to fig. 2, a single voltage-frequency curve L of a DVFS may be converted into a plurality of voltage-frequency curves, such that each frequency corresponds to an adaptive voltage adjustment interval W. After a corresponding voltage frequency working interval is determined according to a design specification frame of initial hardware, a chip in the integrated circuit can self-adaptively adjust the relation between the voltage and the frequency of the chip according to the actual working condition to obtain a proper voltage frequency relation under different working conditions, so that the working performance and the energy efficiency ratio of the circuit are improved. The self-adaptive voltage regulation in a short period is realized, and the problem that the optimal energy efficiency ratio is obtained under the condition of no communication is solved.
In the prior art, the voltage corresponding to each frequency is a fixed value, that is, the chips in the integrated circuit operate according to a voltage frequency curve. To ensure that a given voltage runs through all models, the voltage setting for each frequency would be relatively large. However, during the operation of a chip in an integrated circuit at a frequency, the actually required voltage may be lower than the set voltage, which reduces the energy efficiency ratio of the product.
In the voltage adaptive adjustment method of the integrated circuit provided by the embodiment of the invention, the whole adaptive voltage adjustment is operated in a fixed period mode, and the frequency, the voltage and the maximum current allowed under the frequency voltage are set at the initial stage of each period. The circuit is continuously operated in the period process, and under the action of threshold protection functions of current, voltage and the like, when the current or the voltage exceeds a safety threshold, the frequency is quickly reduced to ensure the normal work of the whole circuit, so that the actual working frequency is less than or equal to the initial preset frequency of the period. And when the period is finished, detecting the actual working frequency, comparing the difference with the expected working frequency of the initial period configuration, and determining the voltage frequency configuration of the next working period according to the difference result. The single voltage frequency curve of the DVFS is converted into a section corresponding to the voltage frequency, a chip in the integrated circuit can self-adaptively adjust the relation between the voltage and the frequency according to the actual working condition, and the most appropriate voltage frequency configuration under each working condition is obtained, so that the working performance and the energy efficiency ratio of the circuit are improved.
Fig. 3 is a flowchart of another voltage adaptive adjustment method for an integrated circuit according to an embodiment of the present invention, and referring to fig. 3, the voltage adaptive adjustment method for an integrated circuit includes:
s210, determining the expected working frequency of the integrated circuit; obtaining a working voltage corresponding to the expected working frequency from a voltage-frequency relation storage table; in the voltage-frequency relationship storage table, each working frequency corresponds to a plurality of working voltages.
And S220, determining the maximum current threshold of the integrated circuit according to the expected working frequency and the acquired working voltage.
And S230, pre-configuring the determined expected operating frequency, the determined operating voltage and the maximum current threshold value as the expected operating frequency, the determined operating voltage and the maximum current threshold value allowed under the expected operating frequency and the determined operating voltage of the integrated circuit in the current operating period.
Specifically, the pre-configuring the expected operating frequency, the operating voltage and the maximum current threshold allowed at the expected operating frequency and the operating voltage of the integrated circuit further includes: determining an expected operating frequency of the integrated circuit; acquiring a working voltage corresponding to the expected working frequency from a voltage-frequency relation storage table; in the voltage-frequency relationship storage table, each working frequency corresponds to a plurality of working voltages.
In the early product definition stage, a plurality of frequency-voltage corresponding relation combinations with energy efficiency ratios higher than a preset value are debugged according to different application scenes of the integrated circuit; and storing the determined multiple sets of frequency-voltage corresponding relation combinations in a frequency-voltage mapping table. That is, a plurality of frequency and voltage lattices are added to the DVFS scheme corresponding to the existing single frequency-voltage curve, and the specific number is not limited. In the actual operation process, according to the expected working frequency of the integrated circuit, matching a working voltage corresponding to the expected working frequency from the frequency-voltage mapping table. The different voltages for each frequency determine the maximum allowable operating current, and the maximum current threshold of the integrated circuit may be determined based on the desired operating frequency and the obtained operating voltage.
And at the initial stage of the current operation period, pre-configuring the determined expected operating frequency, operating voltage and maximum current threshold value as the expected operating frequency, operating voltage and maximum current threshold value allowed under the expected operating frequency and operating voltage of the current operation period of the integrated circuit. The working voltage of the current operation period is the working voltage determined according to the operation condition of the previous operation period. When the last operation cycle is finished, if the detected actual operating frequency of the cycle is lower than the expected operating frequency of the last operation cycle, it indicates that the actual operating current of the integrated circuit exceeds the maximum current threshold value preconfigured in the last operation cycle when the integrated circuit operates according to the operating voltage preconfigured in the last operation cycle, so that the integrated circuit has a condition of fast frequency reduction. I.e. more current margin is needed in the current operating situation, the setting of the operating voltage is increased to relax the maximum operating current while increasing the setting of the maximum current threshold when configuring the operating parameters for the current operating cycle. When the actual working frequency is detected to be equal to the expected working frequency, the working current actually generated in the previous operation period is lower than the preset maximum current threshold, and a space for tightening the working voltage exists, so that the working voltage and the maximum current threshold are reduced when the operation parameters are configured in the current operation period.
S240, controlling the integrated circuit to operate according to the expected operating frequency and the preset operating voltage, and regulating and controlling the operating frequency of the integrated circuit based on the size relation between the actual operating current of the integrated circuit and the preset maximum current threshold value in the operating process.
Optionally, the adjusting and controlling the operating frequency of the integrated circuit based on the magnitude relationship between the actual operating current of the integrated circuit and the preconfigured maximum current threshold in the operating process includes: controlling the integrated circuit to operate according to the expected operating frequency and the preconfigured operating voltage, and monitoring whether the operating voltage of the integrated circuit exceeds a maximum operating current threshold value or not in the operating process; if the voltage exceeds the preset value, controlling the integrated circuit to reduce the working frequency; if not, the integrated circuit is controlled to maintain the expected operating frequency to operate.
And S250, detecting the actual working frequency of the integrated circuit when the current operation cycle is finished.
And S260, judging the size relation between the actual working frequency and the expected working frequency.
S270, if the detected actual working frequency is smaller than the expected working frequency, raising the working voltage preconfigured in the next operating period, and increasing the preconfigured maximum working current threshold; if the detected actual operating frequency is equal to the expected operating frequency, the preconfigured operating voltage for the next operating cycle is decreased and the preconfigured maximum operating current threshold is decreased.
Specifically, when the current operation cycle is finished, the actual operating frequency of the integrated circuit is detected, and whether the preset maximum current and the preset operating voltage in the current operation cycle meet the current working scene is determined by comparing the actual operating frequency with the expected operating frequency. When the detected frequency in the period is lower than the expected frequency, the current situation needs more current margin, so that the working voltage can be increased in the next operation period, and the maximum working current is widened, namely the working voltage is increased in the initial stage of the next operation period and the setting of the maximum current threshold value is increased. And when the actual working frequency is detected to be equal to the expected working frequency, the working current actually generated in the current working situation is lower than the preset maximum current threshold, and a space for tightening the working voltage is provided, so that the working voltage and the maximum working current threshold can be adjusted downwards in the next operating period. I.e. the setting of the maximum current threshold and the reduction of the operating voltage in the initial phase of the next operating cycle. By continuously adjusting the voltage increasing and decreasing mode, the voltage is dynamically adjusted by combining the actual working scene, and the optimal performance output is obtained, so that the working performance and the energy efficiency ratio of the integrated circuit are improved.
When the actual working frequency is detected to be lower than the expected working frequency and the working voltage pre-configured in the next operation period is raised, acquiring a voltage value which corresponds to the expected working frequency and is higher than the working voltage in the current operation period from the voltage-frequency relation storage table; and pre-configuring the acquired voltage value which corresponds to the expected working frequency and is greater than the working voltage in the current operating period as the working voltage in the next operating period.
If the actual working frequency is detected to be equal to the expected working frequency, and the working voltage pre-configured in the next operation period is reduced, acquiring a voltage value which corresponds to the expected working frequency and is smaller than the working voltage in the current operation period from the voltage-frequency relation storage table; and pre-configuring the acquired voltage value which corresponds to the expected working frequency and is less than the working voltage in the current operation period as the working voltage in the next operation period.
In the voltage adaptive adjustment method for the integrated circuit provided by the embodiment of the invention, a plurality of frequency-voltage corresponding relation combinations with energy efficiency ratios higher than a preset value are debugged according to different application scenes of the integrated circuit in an early product definition stage and are stored in a frequency-voltage mapping table. During operation, an operating voltage corresponding to the expected operating frequency is matched from the frequency-to-voltage mapping table according to the expected operating frequency of the integrated circuit. And in an actual working scene, whether the preset maximum current and working voltage in the current operation period meet the current working scene is judged by comparing the actual working frequency with the expected working frequency. By continuously adjusting the voltage increasing and decreasing mode, the voltage is dynamically adjusted by combining with an actual working scene, so that the optimal performance output is obtained, and the working performance and the energy efficiency ratio of the integrated circuit are improved.
Optionally, the voltage adaptive adjustment method of the integrated circuit further includes: and detecting abnormal operation information in the operation process of the integrated circuit, and updating the voltage frequency storage table according to the abnormal operation information. The fault tolerance of the boundary circuit is improved, the frequency voltage storage table of the DVFS is diagnosed and adjusted according to the abnormal information, and the adaptive adjustment along with the working life can be realized aiming at long-term and aging working scenes.
Wherein, updating the voltage frequency memory table according to the abnormal operation information comprises: judging whether the integrated circuit can repair the abnormality through voltage regulation or not according to the operation abnormality information; if yes, determining a voltage abnormity type, and adjusting the working voltage corresponding to each working frequency in the voltage frequency storage table according to the voltage abnormity type so as to realize self-adaptive adjustment of the voltage frequency storage table aiming at long-term and aging working scenes; the voltage abnormity type comprises a higher voltage type and a lower voltage type. Fig. 4 is a flowchart illustrating updating of a voltage frequency storage table according to the operation abnormality information of the integrated circuit according to an embodiment of the present invention, and referring to fig. 4, updating of the voltage frequency storage table according to the operation abnormality information of the integrated circuit includes:
s310, receiving the running abnormity information of the integrated circuit.
S320, judging whether the abnormality of the integrated circuit is known voltage abnormality or not according to the operation abnormality information; if not, go to step S330; if yes, go to step S340.
And S330, ending the task and reporting the exception.
S340, judging the abnormal type of the integrated circuit, and if the abnormal type of the circuit is a high-voltage type, executing a step S350; if the circuit abnormality type is a low voltage type, step S360 is executed.
And S350, reducing the voltage and operating the integrated circuit again.
And S360, increasing the voltage and re-operating the integrated circuit.
S370, judging whether the integrated circuit abnormity is successfully repaired; if successful, go to step S380; if not, go to step S330.
And S380, recording the regulated voltage, and regulating the working voltage corresponding to each working frequency in the voltage frequency storage table according to the voltage difference value before and after regulation so as to update the voltage frequency storage table.
And S390, operating the integrated circuit according to the updated voltage frequency storage table.
According to the voltage self-adaptive adjusting method of the integrated circuit, provided by the embodiment of the invention, the abnormality which can be repaired through voltage adjustment is diagnosed according to the type of the abnormal event, and the voltage under the conditions of corresponding frequency, working current, temperature and the like is adjusted in a targeted manner according to the abnormal occurrence condition (higher voltage or lower voltage), so that a self-adaptive optimized voltage frequency table is finally obtained. Therefore, part of known abnormal conditions caused by voltage or aging reasons can be solved in a self-repairing mode, so that the abnormal conditions are prevented from being amplified, and the fault tolerance of the circuit is improved.
An embodiment of the present invention further provides a voltage adaptive adjustment apparatus for an integrated circuit, configured to execute the voltage adaptive adjustment method for the integrated circuit according to any of the embodiments described above, where fig. 5 is a block diagram of a structure of the voltage adaptive adjustment apparatus for an integrated circuit according to an embodiment of the present invention, and referring to fig. 5, the voltage adaptive adjustment apparatus for an integrated circuit includes:
an operating parameter pre-configuration unit 10, configured to pre-configure an expected operating frequency, an operating voltage, and a maximum current threshold allowed at the expected operating frequency and the operating voltage of the current operating cycle of the integrated circuit;
an operation control unit 20 for controlling the operation of the integrated circuit according to a desired operating frequency and operating voltage;
the regulating unit 30 is used for regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current of the integrated circuit and the preconfigured maximum current threshold value in the running process;
a detection unit 40, configured to detect an actual operating frequency of the integrated circuit at the end of a current operating period;
the operating parameter pre-configuration unit 10 also adaptively adjusts the operating voltage pre-configured to the integrated circuit for the next operating cycle according to the difference between the expected operating frequency and the actual operating frequency.
Optionally, the voltage adaptive adjustment apparatus of the integrated circuit further includes:
and the voltage frequency storage table updating unit is used for detecting abnormal operation information in the operation process of the integrated circuit and updating the voltage frequency storage table according to the abnormal operation information.
An embodiment of the present invention further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the voltage adaptive adjustment method of the integrated circuit according to any of the embodiments described above.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. A voltage adaptive adjustment method of an integrated circuit is characterized by comprising the following steps:
pre-configuring an expected working frequency, a working voltage and a maximum current threshold allowed under the expected working frequency and the working voltage of the current running period of the integrated circuit, and controlling the integrated circuit to run;
regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current of the integrated circuit and a preconfigured maximum current threshold value in the running process;
detecting the actual working frequency of the integrated circuit at the end of the current operation period;
and adaptively adjusting the working voltage pre-configured for the next operating period of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency.
2. The adaptive voltage regulation method of the integrated circuit according to claim 1, wherein the regulating the operating frequency of the integrated circuit based on the magnitude relationship between the actual operating current of the integrated circuit and the preconfigured maximum current threshold during the operation process comprises:
controlling the integrated circuit to operate according to the expected operating frequency and the preset operating voltage, and monitoring whether the operating voltage of the integrated circuit exceeds the maximum operating current threshold value or not in the operating process;
if the voltage exceeds the preset value, controlling the integrated circuit to reduce the working frequency;
and if not, controlling the integrated circuit to maintain the expected operating frequency to operate.
3. The method of claim 1, wherein adaptively adjusting the operating voltage pre-configured for a next operating period of the integrated circuit according to a difference between the expected operating frequency and the actual operating frequency comprises:
if the detected actual working frequency is smaller than the expected working frequency, the working voltage preconfigured in the next operating period is increased, and the preconfigured maximum working current threshold value is increased;
and if the detected actual working frequency is equal to the expected working frequency, reducing the working voltage preconfigured in the next working period, and reducing the preconfigured maximum working current threshold.
4. The method of claim 3, wherein pre-configuring the expected operating frequency, the operating voltage, and the maximum current threshold allowed at the expected operating frequency and the operating voltage of the integrated circuit further comprises:
determining an expected operating frequency of the integrated circuit;
acquiring a working voltage corresponding to the expected working frequency from a voltage-frequency relation storage table; in the voltage-frequency relation storage table, each working frequency corresponds to a plurality of working voltages;
and determining the maximum current threshold of the integrated circuit according to the expected working frequency and the acquired working voltage.
5. The adaptive voltage regulation method according to claim 4,
if the actual working frequency is detected to be smaller than the expected working frequency, the working voltage preconfigured in the next working period is increased, and the method comprises the following steps:
acquiring a voltage value which corresponds to the expected working frequency and is greater than the working voltage in the current operation period from a voltage-frequency relation storage table;
pre-configuring the acquired voltage value which corresponds to the expected working frequency and is greater than the working voltage in the current operating period as the working voltage in the next operating period;
if the actual working frequency is detected to be equal to the expected working frequency, reducing the working voltage pre-configured in the next working period, wherein the reducing comprises the following steps:
acquiring a voltage value which corresponds to the expected working frequency and is less than the working voltage of the current operation period from a voltage-frequency relation storage table;
and pre-configuring the acquired voltage value which corresponds to the expected working frequency and is less than the working voltage in the current operating period as the working voltage in the next operating period.
6. The adaptive voltage regulation method of an integrated circuit according to claim 1, further comprising:
and detecting abnormal operation information in the operation process of the integrated circuit, and updating the voltage frequency storage table according to the abnormal operation information.
7. The adaptive voltage regulation method of claim 6, wherein updating the voltage frequency memory table according to the abnormal operation information comprises:
judging whether the integrated circuit can repair the abnormity through voltage regulation or not according to the operation abnormity information;
if yes, determining a voltage abnormity type, and adjusting the working voltage corresponding to each working frequency in the voltage frequency storage table according to the voltage abnormity type so as to realize the self-adaptive adjustment of the voltage frequency storage table aiming at long-term and aging working scenes; the voltage abnormity type comprises a higher voltage type and a lower voltage type.
8. An apparatus for adaptive voltage regulation of an integrated circuit, comprising:
the working parameter pre-configuration unit is used for pre-configuring an expected working frequency, a working voltage and a maximum current threshold allowed under the expected working frequency and the working voltage of the current running period of the integrated circuit;
the operation control unit is used for controlling the integrated circuit to operate according to the expected operating frequency and the operating voltage;
the regulating and controlling unit is used for regulating and controlling the working frequency of the integrated circuit based on the magnitude relation between the actual working current and the preconfigured maximum current threshold value in the running process of the integrated circuit;
the detection unit is used for detecting the actual working frequency of the integrated circuit when the current operation period is finished;
the working parameter pre-configuration unit also adaptively adjusts the working voltage pre-configured for the next operating cycle of the integrated circuit according to the difference value between the expected working frequency and the actual working frequency.
9. The apparatus of claim 7, further comprising:
and the voltage frequency storage table updating unit is used for detecting abnormal operation information in the operation process of the integrated circuit and updating the voltage frequency storage table according to the abnormal operation information.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the voltage adaptation method for an integrated circuit of any of claims 1-7.
CN202210987256.0A 2022-08-17 2022-08-17 Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment Pending CN115328248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210987256.0A CN115328248A (en) 2022-08-17 2022-08-17 Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210987256.0A CN115328248A (en) 2022-08-17 2022-08-17 Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN115328248A true CN115328248A (en) 2022-11-11

Family

ID=83924207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210987256.0A Pending CN115328248A (en) 2022-08-17 2022-08-17 Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN115328248A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931655A (en) * 2011-08-12 2013-02-13 珠海全志科技股份有限公司 Circuit control system and method with dynamic voltage and frequency adjusting function
WO2015008372A1 (en) * 2013-07-19 2015-01-22 富士通株式会社 Arithmetic processing device and control method for arithmetic processing device
CN105518563A (en) * 2014-12-12 2016-04-20 上海兆芯集成电路有限公司 Dynamic voltage frequency scaling system and associated method
CN107783628A (en) * 2016-08-26 2018-03-09 瑞昱半导体股份有限公司 Voltage and frequency adjusting device, System on Chip/SoC and voltage and frequency adjusting method
CN109116970A (en) * 2018-08-31 2019-01-01 中国电子科技集团公司第五十八研究所 A kind of dynamic voltage frequency regulating system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931655A (en) * 2011-08-12 2013-02-13 珠海全志科技股份有限公司 Circuit control system and method with dynamic voltage and frequency adjusting function
WO2015008372A1 (en) * 2013-07-19 2015-01-22 富士通株式会社 Arithmetic processing device and control method for arithmetic processing device
CN105518563A (en) * 2014-12-12 2016-04-20 上海兆芯集成电路有限公司 Dynamic voltage frequency scaling system and associated method
CN107783628A (en) * 2016-08-26 2018-03-09 瑞昱半导体股份有限公司 Voltage and frequency adjusting device, System on Chip/SoC and voltage and frequency adjusting method
CN109116970A (en) * 2018-08-31 2019-01-01 中国电子科技集团公司第五十八研究所 A kind of dynamic voltage frequency regulating system and method

Similar Documents

Publication Publication Date Title
JP6140897B2 (en) Method and controller for reducing power for systems on portable devices, corresponding portable devices, and corresponding computer program products
US20190391626A1 (en) Control method of redundant power supply device
CN111475009B (en) Power consumption reduction circuit of GPU in server and server
US20080189569A1 (en) Adjusting performance method for multi-core processor
CN112576488B (en) Frequency adjusting method, device and equipment of variable frequency compressor and storage medium
US8713297B2 (en) Decrementing settings for a range of power caps when a power cap is exceeded
US9900424B2 (en) Chip aware thermal policy
CN111506174A (en) Fan control method and device, electronic equipment and readable storage medium
CN115328248A (en) Voltage self-adaptive adjusting method and device of integrated circuit and electronic equipment
CN111208896B (en) Intel notebook performance optimization method and system based on power consumption parameters
CN111309132B (en) Method for multi-gear power supply redundancy of server
US10396697B2 (en) Motor operating systems and methods thereof
CN113375302B (en) Air conditioner voltage fluctuation control system and control method, electronic equipment and storage medium
CN115189439A (en) Pre-charging time adjusting method of power distribution unit, terminal and storage medium
CN108535624B (en) Integrated circuit chip and protection method and device thereof
CN112671396A (en) Dynamic voltage frequency adjustment system and method and electronic equipment
CN112737023A (en) Method and device for controlling powered device in fast charging mode and powered device
CN108121426B (en) Chip voltage adjusting method, device and system
US20120198256A1 (en) Method for Setting the Clock Frequency of a Microprocessor of an Industrial Automation Component, and Automation Component Having a Microprocessor with a Variable Clock Frequency
JP2002268769A (en) Controller for cpu operation speed and method for controlling the speed
US20200285300A1 (en) Activation control device, image forming apparatus, and method for controlling activation
CN113625809B (en) Bus voltage threshold calculation method and bus voltage control method
CN110957945B (en) Motor control circuit and motor control device
EP4365712A1 (en) Power consumption adjustment method and apparatus
CN108662723B (en) Air conditioner control method and device, air conditioner and computer readable storage medium

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
CB02 Change of applicant information

Country or region after: China

Address after: Room a-522, 188 Yesheng Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201306

Applicant after: Shanghai Suiyuan Technology Co.,Ltd.

Address before: Room a-522, 188 Yesheng Road, Lingang New District, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201306

Applicant before: SHANGHAI ENFLAME TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information