CN118137824A - Power supply control system and method - Google Patents
Power supply control system and method Download PDFInfo
- Publication number
- CN118137824A CN118137824A CN202410206717.5A CN202410206717A CN118137824A CN 118137824 A CN118137824 A CN 118137824A CN 202410206717 A CN202410206717 A CN 202410206717A CN 118137824 A CN118137824 A CN 118137824A
- Authority
- CN
- China
- Prior art keywords
- voltage
- power supply
- interrupt task
- control signal
- current moment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000001960 triggered effect Effects 0.000 claims abstract description 46
- 230000004044 response Effects 0.000 claims abstract description 9
- 230000001105 regulatory effect Effects 0.000 claims description 10
- 230000001276 controlling effect Effects 0.000 claims description 6
- 238000013461 design Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 238000005265 energy consumption Methods 0.000 description 8
- 230000003068 static effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000002035 prolonged effect Effects 0.000 description 4
- 239000013078 crystal Substances 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000002222 downregulating effect Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
Abstract
The disclosure provides a power supply control system and a method, which can be applied to the technical field of integrated circuit design. The system comprises: the power supply system comprises an electric quantity sensing module, a performance sensing module, a minimum energy point tracking module and a mode control module, wherein the electric quantity sensing module is configured to collect power supply voltage data of a power supply at the current moment; the performance sensing module is configured to determine a first operating voltage based on a priority of the interrupt task in response to the interrupt task being triggered, and send the first operating voltage to the mode control module; the minimum energy point tracking module is configured to determine a second working voltage based on the power supply voltage data and send the second working voltage to the mode control module if the interrupt task is not triggered or if the interrupt task has been completed; the mode control module is configured to generate a voltage control signal based on the supply voltage data, the first operating voltage, or the second operating voltage, and to control an output voltage of the power supply using the voltage control signal.
Description
Technical Field
The present disclosure relates to the field of integrated circuit design technology, and more particularly, to a power control system and method.
Background
With the growing research interest and rapid development of wireless sensor nodes, medical care devices, green and efficient industries, smart home, cities, etc., chips such as System On Chip (SOC) are mostly required to keep active with batteries having minimum physical dimensions and decades of service lives and minimal maintenance.
In order to optimize the power consumption and performance of the SoC chip, dynamic voltage and frequency adjustment (Dynamic Voltage and Frequency Scaling, DVFS), duty cycle control, multi-mode control, and the like are generally used. However, in the case of pursuing low power consumption, blind voltage reduction increases circuit delay, thereby shortening the life of the SoC chip.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
In view of this, the present disclosure provides a power control system and method.
One aspect of the present disclosure provides a power control system including: the power supply system comprises an electric quantity sensing module, a performance sensing module, a minimum energy point tracking module and a mode control module, wherein the electric quantity sensing module is configured to collect power supply voltage data of a power supply at the current moment and send the power supply voltage data to the minimum energy point tracking module and the mode control module respectively; the performance sensing module is configured to respond to the triggering of the interrupt task, determine a first working voltage based on the priority of the interrupt task, and send the first working voltage to the mode control module; the minimum energy point tracking module is configured to determine a second working voltage based on the power supply voltage data and send the second working voltage to the mode control module when the interrupt task is not triggered or the interrupt task is completed; the mode control module is configured to generate a voltage control signal based on the power supply voltage data, the first operating voltage, or the second operating voltage, and control an output voltage of the power supply using the voltage control signal.
According to an embodiment of the disclosure, the minimum energy point tracking module includes a counting unit and a minimum energy point tracking unit, and the timing unit is configured to obtain, based on the power supply voltage data, a first digital clock period corresponding to a power supply voltage of the power supply at the current time, adjust, based on a preset voltage threshold, the power supply voltage of the power supply at the current time to obtain a new power supply voltage of the power supply at the current time, and obtain a second digital clock period corresponding to the new power supply voltage of the power supply at the current time, where the interrupt task is not triggered or the interrupt task is completed; the minimum energy point tracking unit is configured to compare the first digital clock period and the second digital clock period output by the timing unit to obtain a comparison result, if the comparison result indicates that the first digital clock period is smaller than the second digital clock period, update the power supply voltage of the power supply at the current time to the power supply voltage of the power supply at the new current time, and adjust the power supply voltage of the power supply at the new current time again based on the preset voltage threshold; and if the comparison result indicates that the first digital clock period is greater than or equal to the second digital clock period, determining the power supply voltage of the power supply at the current time as the second working voltage, and transmitting the second working voltage to the mode control module.
According to an embodiment of the present disclosure, the performance aware module includes a plurality of input/output interfaces configured to receive the interrupt task; wherein the performance sensing module is configured to determine a priority of the interrupt task based on a priority attribute of a target input/output interface, and determine a first operating voltage corresponding to the interrupt task based on the priority of the interrupt task, and send the first operating voltage to the mode control module, where the target input/output interface belongs to the plurality of input/output interfaces, when the target input/output interface receives the interrupt task.
According to an embodiment of the present disclosure, the voltage control signal includes a first voltage control signal and a second voltage control signal; in case the interrupt task is triggered, the mode selection unit is configured to: generating the first voltage control signal when the first operating voltage is greater than or equal to a supply voltage of the power supply at the current time corresponding to the supply voltage data, wherein the first voltage control signal is used for maintaining an output voltage of the power supply so that the output voltage of the power supply is equal to the supply voltage of the power supply at the current time; and generating the second voltage control signal when the first operating voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply.
According to an embodiment of the present disclosure, the voltage control signal further includes a third control signal; in case the interrupt task is not triggered or the interrupt task has been completed, the mode selection unit is configured to: and generating the third voltage control signal based on the second operating voltage so that the output voltage of the power supply is equal to the second operating voltage.
According to an embodiment of the disclosure, the power control system further includes a sleep standby module configured to turn off the switching power domain power supply when it is monitored that the supply voltage of the power supply at the current time does not satisfy the reference voltage threshold, charge the power supply with the energy collector, and restore the switching power domain power supply when it is detected that the supply voltage of the power supply at the current time satisfies the reference voltage threshold.
Another aspect of the present disclosure provides a power control method applied to the above system, including: collecting power supply voltage data of a power supply at the current moment; determining a first working voltage based on the priority of the interrupt task in response to the interrupt task being triggered; determining a second operating voltage based on the supply voltage data if the interrupt task is not triggered or if the interrupt task is completed; and generating a voltage control signal based on the power supply voltage data, the first operating voltage, or the second operating voltage, and controlling an output voltage of the power supply using the voltage control signal.
According to an embodiment of the present disclosure, determining the second operating voltage based on the supply voltage data in the case where the interrupt task is not triggered or the interrupt task is completed includes: acquiring a first digital clock period corresponding to the power supply voltage of the power supply at the current time based on the power supply voltage data under the condition that the interrupt task is not triggered or the interrupt task is completed; based on a preset voltage threshold, adjusting the power supply voltage of the power supply at the current moment to obtain the power supply voltage of the power supply at the new current moment, and obtaining a second digital clock period corresponding to the power supply voltage of the power supply at the new current moment; comparing the first digital clock period with the second digital clock period to obtain a comparison result, if the comparison result indicates that the first digital clock period is smaller than the second digital clock period, updating the power supply voltage of the power supply at the current time to the new power supply voltage of the power supply at the current time, adjusting the power supply voltage of the power supply at the new current time again based on the preset voltage threshold, and if the comparison result indicates that the first digital clock period is larger than or equal to the second digital clock period, determining the power supply voltage of the power supply at the current time to be the second working voltage.
According to an embodiment of the present disclosure, the determining, in response to the interrupt task being triggered, the first operating voltage based on the priority of the interrupt task and the supply voltage data includes: determining the priority of the interrupt task based on the priority attribute of the target input/output interface under the condition that the target input/output interface receives the interrupt task; and determining a first working voltage corresponding to the interrupt task based on the priority of the interrupt task and the power supply voltage data.
According to an embodiment of the present disclosure, the generating a voltage control signal based on the power supply voltage data, the first operating voltage, or the second operating voltage, and controlling the output voltage of the power supply using the voltage control signal includes: the voltage control signals comprise a first voltage control signal, a second voltage control signal and a third voltage control signal; when the interrupt task is triggered, generating the first voltage control signal when the first operating voltage is greater than or equal to a power supply voltage of a power supply at the current time corresponding to the power supply voltage data, wherein the first voltage control signal is used for maintaining an output voltage of the power supply so that the output voltage of the power supply is equal to the power supply voltage of the power supply at the current time; generating the second voltage control signal when the first operating voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply; generating the third voltage control signal based on the second operating voltage such that the output voltage of the power supply is equal to the second operating voltage when the interrupt task is not triggered or the interrupt task is completed; and controlling the output voltage of the power supply by using the voltage control signal.
According to the embodiment of the disclosure, in the power supply control system provided with the electric quantity sensing module, the performance sensing module, the minimum energy point tracking module and the mode control module, the voltage control signal is generated based on the power supply voltage data at the current moment and the actual running condition of the chip, and the output voltage of the power supply is dynamically regulated through the voltage control signal when the interrupt task is processed, so that the efficient running of the power supply control system is ensured, the dynamic power consumption and the static power consumption of the system are reduced through the voltage control signal when the interrupt task is waited, and the service time of a battery and the service life of the chip are prolonged.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates a block diagram of a power control system according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a block diagram of a power control system according to a specific embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of a power control system according to a particular embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of a power control method according to an embodiment of the disclosure;
fig. 5 schematically illustrates a voltage variation diagram of a power control method according to a specific embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Currently, with the growing and rapid development of research interests in the fields of wireless sensor nodes, medical care devices, green and high-efficiency industries, smart homes, cities, etc., a Chip such as a System On Chip (SOC) needs to operate autonomously with an energy collector to directly use energy from the environment or to maintain an active state by using a battery having a minimum external size and a minimum lifetime for decades.
Therefore, the power expansion technology is selected to be adopted in the SoC chip of the Internet of things (Internet of Things, ioT) to prolong the service life of the chip, and particularly, in the case that the devices are powered by the energy collectors with continuously reduced sizes, the overall dimension is reduced to the greatest extent due to the smaller energy storage nodes, so that the active power of the SoC chip of the Internet of things is reduced from milliwatt level to micro watt level, nanowatt level and even picowatt level.
In order to optimize the power consumption and performance of SoC chips, the prior art generally adopts dynamic voltage and frequency adjustment (Dynamic Voltage and Frequency Scaling, DVFS), duty cycle control, multi-mode control, and the like. The optimal power consumption per operation in a digital circuit can be achieved by using a supply voltage or sub-threshold supply voltage. However, in the case of pursuing low power consumption, blind voltage reduction increases circuit delay, thereby shortening the life of the SoC chip.
In view of this, the embodiment of the disclosure builds a power control system provided with an electric quantity sensing module, a performance sensing module, a minimum energy point tracking module and a mode control module, generates a voltage control signal based on the current power supply voltage data and the actual running condition of the chip, dynamically adjusts the output voltage of the power supply through the voltage control signal when processing the interrupt task, thereby ensuring the efficient operation of the power control system, and reducing the dynamic power consumption and the static power consumption of the system through the voltage control signal when waiting for the interrupt task, thereby prolonging the service time of the battery and the service life of the chip.
Specifically, embodiments of the present disclosure provide a power control system and method. The system comprises a mode control module, an electric quantity sensing module, a performance sensing module and a minimum energy point tracking module, wherein the electric quantity sensing module is configured to collect power supply voltage data of a power supply at the current moment and send the power supply voltage data to the minimum energy point tracking module and the mode control module respectively; the performance sensing module is configured to respond to the triggering of the interrupt task, determine a first working voltage based on the priority of the interrupt task and the power supply voltage data, and send the first working voltage to the mode control module; the minimum energy point tracking module is configured to determine a second working voltage based on the power supply voltage data and send the second working voltage to the mode control module under the condition that the interrupt task is not triggered or the interrupt task is completed; the mode control module is configured to generate a voltage control signal based on the supply voltage data, the first operating voltage, or the second operating voltage, and to control an output voltage of the power supply using the voltage control signal.
It should be noted that, unless there is an execution sequence between different operations or an execution sequence between different operations in technical implementation, the execution sequence between multiple operations may be different, and multiple operations may also be executed simultaneously in the embodiment of the disclosure.
Fig. 1 schematically illustrates a block diagram of a power control system according to an embodiment of the present disclosure.
As shown in fig. 1, the power control system includes a power sensing module 110, a performance sensing module 120, and a minimum energy point tracking module 130, a mode control module 140.
According to an embodiment of the present disclosure, the power sensing module 110 is configured to collect power supply voltage data of the power supply at the current time, and send the power supply voltage data to the minimum energy point tracking module 130 and the mode control module 140, respectively, where the power supply voltage data may include data of the power supply voltage of the power supply at the current time, a power supply reference voltage, a remaining power of the power supply at the current time, and the like.
According to the embodiments of the present disclosure, since the SoC chip of the internet of things is powered by the battery, the power sensing module 110 may be employed to adjust the power and performance of the system based on the battery consumption and the remaining power for a long time.
According to an embodiment of the present disclosure, the performance awareness module 120 is configured to determine a first operating voltage based on a priority of an interrupt task in response to the interrupt task being triggered, wherein the interrupt task may be from an external device, and to send the first operating voltage to the mode control module 140, wherein the first operating voltage may be used to characterize a voltage required by the system to process the interrupt task as determined by the priority of the interrupt task.
According to embodiments of the present disclosure, performance awareness module 120 may be configured to adjust the power and performance of the system based on different priorities of interrupt tasks.
In accordance with an embodiment of the present disclosure, the minimum energy point tracking module 130 is configured to determine a second operating voltage based on the supply voltage data and send the second operating voltage to the mode control module in the event that an interrupt task is not triggered or the interrupt task has been completed. The second operating voltage may be used to characterize the low power operating voltage corresponding to the minimum dynamic energy point determined by the minimum energy point tracking module 130 while the system waits for other terminal tasks.
In the minimum energy point tracking module 130, a ramp tracking algorithm may be used to gradually approach a minimum dynamic power consumption point based on the supply voltage data at the current time, thereby determining a low power consumption operating voltage corresponding to the minimum dynamic power consumption point.
According to an embodiment of the present disclosure, the mode control module 140 is configured to generate a voltage control signal based on the supply voltage data, the first operating voltage, or the second operating voltage, and control an output voltage of the power supply using the voltage control signal.
The embodiment of the disclosure provides a power supply control system provided with an electric quantity sensing module, a performance sensing module, a minimum energy point tracking module and a mode control module, wherein voltage control signals are generated based on power supply voltage data at the current moment and actual running conditions of a chip, and the output voltage of a power supply is dynamically adjusted through the voltage control signals when an interrupt task is processed, so that the power supply control system is ensured to operate efficiently, and the dynamic power consumption and the static power consumption of the system are reduced through the voltage control signals when the interrupt task is waited, so that the service time of a battery and the service life of the chip are prolonged.
According to an embodiment of the disclosure, the minimum energy point tracking module includes a counting unit and a minimum energy point tracking unit, and the timing unit is configured to obtain, based on power supply voltage data, a first digital clock period corresponding to a power supply voltage of a power supply at a current moment when an interrupt task is not triggered or the interrupt task is completed, adjust, based on a preset voltage threshold, the power supply voltage of the power supply at the current moment to obtain a new power supply voltage of the power supply at the current moment, and obtain a second digital clock period corresponding to the new power supply voltage of the power supply at the current moment; the minimum energy point tracking unit is configured to compare the first digital clock period and the second digital clock period output by the timing unit to obtain a comparison result, if the comparison result indicates that the first digital clock period is greater than or equal to the second digital clock period, the power supply voltage of the power supply at the current moment is updated to be the power supply voltage of the power supply at the new current moment, and the power supply voltage of the power supply at the new current moment is adjusted again based on a preset voltage threshold; and if the comparison result indicates that the first digital clock period is smaller than the second digital clock period, determining the power supply voltage of the power supply at the current moment as a second working voltage, and sending the second working voltage to the mode switching module.
According to an embodiment of the present disclosure, the mode switching module switches the mode to the minimum energy point tracking mode in case the interrupt task is not triggered or the interrupt task has been completed, and the minimum energy point tracking module starts to operate.
According to an embodiment of the present disclosure, the minimum energy point tracking module includes at least a timing unit and a minimum energy point tracking unit.
According to the embodiment of the disclosure, the timing unit may be configured to set the voltage to a highest value of the power supply voltage of the power supply at the current moment based on the power supply voltage data and the reference voltage of the power supply at the current moment sent by the power sensing module, and perform multi-round adjustment on the power supply voltage of the power supply at the current moment until the low-power consumption voltage condition is satisfied.
Specifically, the power supply voltage of the power supply at the current moment can be used as an initial voltage, a first timer in the timing unit is used for recording a first digital clock period of the power supply at the initial voltage, the initial voltage is adjusted downwards based on a preset voltage threshold value to obtain a new power supply voltage of the power supply at the current moment, and a second timer in the timing unit is used for recording a second digital clock period of the power supply at the new power supply voltage of the power supply at the current moment.
For example, for a dc-dc converter, the digital clock period may represent a ripple voltage output by the dc-dc converter, the variation amplitude of the ripple voltage may be configured to be 10mV, if the initial voltage is configured to be 0.65V, when the capacitor in the dc-dc converter circuit is charged to 0.66V, and then discharged to be consumed to 0.65V, the charging is started again, and a clock period from 0.66V to 0.65V may be used as the first digital clock period.
According to embodiments of the present disclosure, a first digital clock period may be used to characterize the ripple period of the initial voltage, a second digital clock period may be used to characterize the ripple period of the supply voltage of the power supply at a new current time, and both the first digital clock period and the second digital clock period may be used to characterize the time that the circuit consumes energy at different supply voltages.
According to embodiments of the present disclosure, a preset voltage threshold may be used to characterize a preset down-regulated voltage value. For example, the preset voltage threshold may be set to 0.1v, and if the initial voltage is 0.65v, the initial voltage is adjusted downward according to the preset voltage threshold, so that the power supply voltage of the power supply at the new current moment is 0.64v.
According to the embodiment of the disclosure, since the SoC chip internally includes a plurality of switching power domains, and each switching power domain includes one or more functional core modules, when the system is switched to the minimum energy point tracking mode, the on/off of each switching power domain in the SoC chip currently cannot be determined, so that the minimum power consumption voltage corresponding to the minimum energy point can be calculated by the minimum energy point tracking unit.
According to the embodiment of the disclosure, the minimum energy point tracking unit may be configured to compare the first digital clock period and the second digital clock period output by the timing unit, obtain a comparison result, if the comparison result indicates that the first digital clock period is greater than or equal to the second digital clock period, it indicates that the adjusted power supply voltage of the power supply at the new current moment does not meet the low power consumption voltage condition, update the initial voltage to the power supply voltage of the power supply at the new current moment, and adjust the adjusted initial voltage again based on the preset voltage threshold, where the process may perform multiple adjustment until the adjusted power supply voltage of the power supply at the new current moment meets the low power consumption voltage condition.
According to the embodiment of the disclosure, if the comparison result indicates that the first digital clock period is smaller than the second digital clock period, the adjusted power supply voltage of the power supply at the new current moment meets the low-power consumption voltage condition, that is, the power supply voltage of the power supply at the current moment can be determined to be the second working voltage, and the second working voltage is sent to the mode switching module.
According to the embodiment of the disclosure, through the minimum energy point tracking module, the power supply voltage corresponding to the minimum energy point is judged based on the circuit energy consumption time, namely the first digital clock period and the second digital clock period, the minimum energy point is gradually approximated in a voltage down-regulating mode, the determined minimum energy point voltage is used as the second working voltage, and therefore the second working voltage is used as the power supply output voltage through the mode control module, and the dynamic power consumption and the static power consumption of the system are further reduced.
According to an embodiment of the present disclosure, a performance aware module includes a plurality of input/output interfaces configured to receive interrupt tasks; the performance sensing module is configured to determine a priority of an interrupt task based on a priority attribute of a target input/output interface under the condition that the target input/output interface receives the interrupt task, determine a first working voltage corresponding to the interrupt task based on the priority of the interrupt task, and send the first working voltage to the mode control module, wherein the target input/output interface belongs to a plurality of input/output interfaces.
According to embodiments of the present disclosure, an input/output interface may be used to receive interrupt tasks of different priorities, wherein multiple input/output interfaces may be configured with different priority attributes. The performance sensing module is used for responding to the received interrupt task, determining a target input/output interface for processing the interrupt task through monitoring a plurality of input/output interfaces, and determining the priority of the interrupt task through a priority attribute corresponding to the target input/output interface.
According to an embodiment of the present disclosure, a first operating voltage required to process the interrupt task is determined based on a priority corresponding to the interrupt task, and a voltage signal mapped with the first operating voltage information is transmitted to a mode control module.
For example, the input/output interfaces in the performance aware module include General-purpose input/output interfaces (GPIOs), and serial peripheral interfaces (SERIAL PERIPHERAL INTERFACE, SPI), the priority corresponding to the GPIOs is high, the priority corresponding to the serial peripheral interfaces is low, when the performance aware module monitors that the interrupt task is processed by the GPIOs, the priority corresponding to the interrupt task can be determined to be high, that is, the working voltage required for processing the interrupt task with high priority can be determined to be 6v, and the voltage signal mapped with the information that the working voltage is 6v is sent to the mode control module.
According to the embodiment of the disclosure, different priority attributes are configured for a plurality of input/output interfaces in the performance perception module, and the priority of the interrupt task is monitored based on the priority attributes of the input/output interfaces, so that the voltage dynamic adjustment and the power real-time scaling of the system are realized by determining the first working voltage required for processing the interrupt task, and the working efficiency and the performance of the system are improved.
According to an embodiment of the present disclosure, in case an interrupt task is triggered, the mode selection unit is configured to: generating a first voltage control signal when the first working voltage is greater than or equal to the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the first voltage control signal is used for maintaining the output voltage of the power supply so that the output voltage of the power supply is equal to the power supply voltage of the power supply at the current moment; and generating a second voltage control signal under the condition that the first working voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply.
According to an embodiment of the present disclosure, the mode selection module may include a mode selection unit and a buck conversion unit, wherein the mode selection unit may be configured to generate a voltage control signal based on the received first or second operating voltage and the supply voltage data, and to transmit the voltage control signal to the buck conversion unit, and the buck conversion unit may be configured to periodically close and open by a switch to control the inductor to adjust the output voltage based on the voltage control signal. The buck conversion unit may include a buck DC-DC converter.
According to an embodiment of the present disclosure, the output voltage output by the buck conversion unit may be configured to vary based on the magnitude of the power supply input voltage, the output voltage decreasing in a gradient as the input voltage decreases.
According to the embodiment of the disclosure, when the interrupt task is triggered, the voltage control signals include a first voltage control signal and a second voltage control signal, wherein the first voltage control signal and the second voltage control signal can be obtained by comparing the first working voltage and the power supply voltage data through the mode selection unit.
According to an embodiment of the disclosure, the mode selection unit compares the supply voltage at the current time in the supply voltage data with the first operating voltage, and if the first operating voltage is greater than or equal to the supply voltage of the power supply at the current time, the mode selection unit may generate a first voltage control signal, where the first voltage control signal is used to maintain the output voltage of the power supply, that is, control the buck converter to maintain the output voltage of the power supply at the supply voltage of the power supply at the current time.
For example, when the first operating voltage for processing the current high-priority interrupt task is 6.2v and the power supply voltage of the power supply at the current time is 6v, it means that the voltage that the power supply can provide for processing the high-priority interrupt task at the current time is at most 6v, and therefore, by comparing the first operating voltage with the power supply voltage of the power supply at the current time, the first voltage control signal is used to control the buck conversion unit to maintain the output voltage of the power supply at the maximum voltage that the current power supply can provide, that is, at 6v, and the high-priority task is processed at the maximum power.
According to the embodiment of the disclosure, the mode selection unit compares the power supply voltage at the current time in the power supply voltage data with the first working voltage, and if the first working voltage is smaller than the power supply voltage of the power supply at the current time, a second voltage control signal can be generated, wherein the second voltage control signal is used for adjusting the output voltage of the power supply downwards.
For example, when the first working voltage for processing the current low-priority interrupt task is 5v and the power supply voltage of the power supply at the current time is 6v, the power supply voltage of the power supply at the current time is enough to provide the working voltage for the low-priority interrupt task, so that the second voltage control signal is generated by comparing the first working voltage with the power supply voltage of the power supply at the current time, the output voltage of the power supply is controlled to be adjusted downwards by the step-down conversion unit by using the second voltage control signal, and the low-priority interrupt task can be processed by adjusting the output voltage to 5 v.
In the embodiment of the disclosure, under the condition that the interrupt task is triggered, the mode selection unit generates different voltage control signals based on the power supply voltage data sent by the electric quantity sensing module and the first working voltage data sent by the performance sensing module so as to dynamically adjust the output voltage of the power supply, thereby realizing flexible control of the output voltage and improving the energy efficiency of the chip.
According to an embodiment of the present disclosure, in case the interrupt task is not triggered or the interrupt task has been completed, the mode selection unit is configured to: based on the second operating voltage, a third voltage control signal is generated such that the output voltage of the power supply is equal to the second operating voltage.
According to an embodiment of the disclosure, the voltage control signal further includes a third control signal, wherein the third control signal may be obtained by the second operating voltage sent by the minimum energy point tracking module.
According to the embodiment of the disclosure, in the case that the interrupt task is not triggered or the interrupt task is completed, the mode selection unit generates a third voltage control signal in response to receiving the second working voltage from the minimum energy point tracking module, and the step-down conversion unit is controlled to down regulate the output voltage of the power supply by using the third voltage control signal so that the output voltage of the power supply is equal to the second working voltage.
The embodiment of the disclosure utilizes the third voltage control signal to control the buck conversion unit to down regulate the output voltage of the power supply, so that the power supply operates with the low-power-consumption working voltage corresponding to the minimum energy point as the output voltage, and the dynamic power consumption and the static power consumption of the system are reduced, thereby realizing the low-power-consumption operation under the condition that the system waits for interrupting a task.
According to an embodiment of the disclosure, the power control system further comprises a sleep standby module configured to turn off the switching power domain power supply when detecting that the supply voltage of the power supply at the current time does not meet the reference voltage threshold, charge the power supply with the energy collector, and restore the switching power domain power supply when detecting that the supply voltage of the power supply at the current time meets the reference voltage threshold.
According to an embodiment of the present disclosure, the sleep standby module may include a multi-power dividing unit, a power switch, an isolating unit, a holding unit, a voltage converting unit, and the like.
Fig. 2 schematically illustrates a block diagram of a power control system according to a specific embodiment of the present disclosure.
As shown in fig. 2, the power control system includes a power sensing module 110, a performance sensing module 120, a minimum energy point tracking module 130, a mode control module 140, and a sleep standby module 210.
According to an embodiment of the present disclosure, when the mode control module 140 monitors that the power supply voltage of the power supply at the current time is less than or equal to the minimum reference voltage threshold, the power supply control system may start the sleep standby module 210 because the system residual power is insufficient at the current time.
According to an embodiment of the present disclosure, when the system starts the sleep standby module 210, the sleep standby module 210 controls to turn off the switching power domain power supply, preserve the normally open domain circuit, process the interrupt signal generated by the input/output interface, and start the energy collector to charge the power supply.
According to an embodiment of the present disclosure, when the mode control module 140 monitors that the supply voltage of the power supply at the current time is greater than the minimum reference voltage threshold, the sleep standby module 210 resumes the switching power domain power supply, switches to the minimum energy point tracking mode in case of waiting for an interrupt task, and switches to the performance aware mode in case of the interrupt task being triggered.
According to the embodiment of the disclosure, under the condition that the residual electric quantity of the system is monitored to be insufficient, the switch power domain power supply except the normally open power supply is turned off by the sleep standby module, and the power control system is charged, so that the minimum dynamic power consumption of the system under the condition that the electric quantity is insufficient is ensured, and the power consumption is reduced while the service life of the power supply is prolonged.
The power control system is further described with reference to FIG. 3 in conjunction with the exemplary embodiment
Fig. 3 schematically illustrates a schematic diagram of a power control system according to a specific embodiment of the present disclosure.
As shown in fig. 3, in one embodiment, the power control system includes a power sensing module 110, a performance sensing module 120, a minimum energy point tracking module 130, a mode control module 140, and a sleep standby module 210.
According to embodiments of the present disclosure, the power sensing module 110 may include a crystal oscillator and an analog-to-digital converter, wherein the crystal oscillator may be a current limited oscillator, the frequency of which is controlled by an oscillator circuit that reduces current or limits power supply. The crystal oscillator may also provide a clock signal to the analog-to-digital converter, which may include a microprocessor clock, a register clock, an analog-to-digital converter clock, a buck converter clock, and the like.
According to an embodiment of the disclosure, the analog-to-digital converter may be a successive approximation analog-to-digital converter (successive approximation register Analog-to-Digital Converter, SAR ADC), where the input signal of the SAR ADC includes a maximum reference voltage V H and a minimum reference voltage V L, and further includes a supply voltage V IN of the power supply at the current time, the input signal may be sampled at a preset time interval by the SAR ADC, and the supply voltage V IN of the power supply at the current time may be compared with standard values of the maximum reference voltage V H and the minimum reference voltage V L, so that the input signal is successively converged until the two signals are equal, and finally, 4-bit supply voltage data after quantization is output to the supply voltage V IN of the power supply at the current time, and the supply voltage data is sent to the mode conversion module 140 through the signal 1.
According to an embodiment of the present disclosure, the performance aware module 120 may include a memory SRAM, a bus AXI, a data transfer interface, a plurality of input/output interfaces, and a timer, wherein the plurality of input/output interfaces may include General-purpose input/output (GPIO), peripheral interfaces (SERIAL PERIPHERAL INTERFACE, SPI), and the like.
According to an embodiment of the present disclosure, the plurality of input/output interfaces may be configured with different priority attributes for receiving interrupt tasks of different priorities, and in case that the target input/output interface receives the interrupt task, the priority corresponding to the interrupt task is determined through the data transmission interface based on the priority attribute of the target input/output interface, and the first operating voltage corresponding to the interrupt task is determined based on the priority based on the interrupt task, and the first operating voltage is transmitted to the mode control module 140 through the signal 3.
According to an embodiment of the present disclosure, the minimum energy point tracking module 130 may include at least one counter and a minimum energy point tracking unit, where two counters may be used to count digital clock periods of two adjacent voltage values, for example, in a case where an interrupt task is not triggered or the interrupt task is completed, the supply voltage V IN of the power supply at the current moment may be taken as an initial voltage, the output voltage is waited for stabilization, the two counters are reset, the first digital clock period of the initial voltage is acquired by using the first counter, the supply voltage V IN of the power supply at the current moment is adjusted downward by a gradient with a preset voltage threshold, and the second digital clock period of the supply voltage V IN' of the power supply at the new current moment after adjustment is acquired by using the second counter.
According to the embodiment of the disclosure, the minimum energy point tracking unit compares the count results of the two counters, if the first digital clock period is smaller than the second digital clock period, the circuit energy consumption time is long, the energy consumption is slow under V IN ', so V IN ' can be used as the initial voltage, and the voltage is continuously regulated down, otherwise, if the first digital clock period is greater than or equal to the second digital clock period, the circuit consumption time is short under V IN ', the energy consumption is fast, so that the power consumption is increased if the voltage consumption is continuously reduced again, so V IN is determined as the minimum power consumption voltage corresponding to the minimum energy point, namely V IN is determined as the second working voltage, and the signal S2 is sent to the mode control module 140.
According to an embodiment of the present disclosure, the initial voltage may be adjusted in multiple rounds in the above process until the count result satisfies the condition that the first digital clock period is greater than or equal to the second digital clock period.
According to an embodiment of the present disclosure, the mode control module 140 may include a mode control unit and a buck converter, where the mode control unit may monitor the current system residual capacity information, interrupt task information accessed by the plurality of input/output interfaces, and minimum power consumption voltage information based on the signal S1, the signal S2, and the signal S3, generate different voltage control signals and send the different voltage control signals to the buck converter, and the mode control unit may switch the current operation mode of the power control system based on the signal S1, the signal S2, and the signal S3.
According to the embodiment of the disclosure, the buck converter can realize voltage conversion by utilizing a plurality of field effect transistors, pulse switches, inductors and other components based on a voltage control signal, wherein the pulse switches of the buck converter can be controlled according to an enabling signal obtained by comparing an output voltage V OUT of a power supply with a reference voltage.
According to an embodiment of the present disclosure, when the mode control unit detects that the current system remaining power is lower than the minimum power, that is, the power supply voltage V IN of the power supply at the current time is less than or equal to the minimum reference voltage V L, the system switches to the sleep standby mode, and starts the sleep standby module 210.
According to an embodiment of the present disclosure, the sleep standby module 210 turns off a portion of the power domain power, retains the normally open power domain power, and starts the energy collector to charge the power, waiting for the supply voltage at the current time to be at the maximum reference voltage V H and the minimum reference voltage V L.
According to an embodiment of the present disclosure, when the mode control module 140 detects that the supply voltage of the power supply at the current time is greater than the minimum reference voltage V L, the sleep standby module 210 resumes the switching power domain power supply.
According to the embodiment of the disclosure, the mode control unit switches the current mode of the power control system to the minimum energy point tracking mode under the condition of sufficient electric quantity and waiting for the interrupt task, and switches the power control system to the performance sensing mode under the condition that the interrupt task is triggered.
According to embodiments of the present disclosure, the power control system may further include a microprocessor (Microcontroller Unit, MCU) of the core, an embedded Memory module such as Read-Only Memory (ROM), a Digital Signal Processor (DSP) module, an external device, a clock and reset generation block, a power switch, a voltage monitor, and the like.
Fig. 4 schematically illustrates a flowchart of a power control method according to an embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S410 to S450.
In operation S410, supply voltage data of the power supply at the current time is collected.
According to the embodiment of the disclosure, after the chip is started, the power supply control system defaults to be in an electric quantity sensing mode, and power supply voltage data of a power supply at the current moment is collected in the electric quantity sensing mode so as to monitor the power supply voltage of the power supply at the current moment, the residual electric quantity of the power supply at the current moment after quantization and the like.
In operation S420, in response to the interrupt task being triggered, a first operating voltage is determined based on the priority of the interrupt task.
According to an embodiment of the present disclosure, in a case where an interrupt task is received by a target input/output interface, determining a priority of the interrupt task based on a priority attribute of the target input/output interface; and determining a first working voltage corresponding to the interrupt task based on the priority of the interrupt task.
In operation S430, in the case where the interrupt task is not triggered or the interrupt task has been completed, a second operating voltage is determined based on the supply voltage data.
According to the embodiment of the disclosure, under the condition that an interrupt task is not triggered or the interrupt task is completed, acquiring a first digital clock period corresponding to the power supply voltage of a power supply at the current moment based on the power supply voltage data; and adjusting the power supply voltage of the power supply at the current moment based on the preset voltage threshold value to obtain the new power supply voltage of the power supply at the current moment, and obtaining a second digital clock period corresponding to the new power supply voltage of the power supply at the current moment.
According to the embodiment of the disclosure, the first digital clock period and the second digital clock period are compared to obtain a comparison result, if the comparison result indicates that the first digital clock period is smaller than the second digital clock period, the power supply voltage of the power supply at the current moment is updated to be the power supply voltage of the power supply at the new current moment, the power supply voltage of the power supply at the new current moment is adjusted again based on a preset voltage threshold, and if the comparison result indicates that the first digital clock period is larger than or equal to the second digital clock period, the power supply voltage of the power supply at the current moment is determined to be the second working voltage.
Specifically, if the first digital clock period is smaller than the second digital clock period, the circuit energy consumption time is long under the power supply voltage of the power supply at the new current moment, and the energy consumption is slow, so the power supply voltage of the power supply at the new current moment can be used as the initial voltage, and the voltage can be continuously regulated down. Otherwise, if the first digital clock period is greater than or equal to the second digital clock period, the circuit consumption time under the power supply voltage of the power supply at the new current moment is short, the representing energy consumption is fast, so that if the voltage power consumption is increased after the voltage is continuously reduced, the initial voltage is determined to be the minimum power consumption voltage corresponding to the minimum energy point, namely the second working voltage.
According to an embodiment of the present disclosure, the initial voltage may be adjusted in multiple rounds in the above process until the count result satisfies the condition that the first digital clock period is greater than or equal to the second digital clock period.
In operation S440, a voltage control signal is generated based on the supply voltage data, the first operating voltage, or the second operating voltage, and an output voltage of the power supply is controlled using the voltage control signal.
According to an embodiment of the present disclosure, the voltage control signals include a first voltage control signal, a second voltage control signal, and a third voltage control signal, and the output voltage of the power supply is controlled using the voltage control signals.
According to the embodiment of the disclosure, after the power control system is started, the system defaults to be in an electric quantity sensing mode, and power supply voltage data of a power supply at the current moment is collected in the electric quantity sensing mode.
According to the embodiment of the disclosure, in response to the interrupt task being triggered, the power control system starts a performance sensing mode and continuously operates the power sensing mode to simultaneously monitor the residual power of the system at the current moment and a first working voltage corresponding to the priority of the input/output interface for processing the interrupt task.
According to the embodiment of the disclosure, when the first working voltage is greater than or equal to the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, generating a first voltage control signal, wherein the first voltage control signal is used for maintaining the output voltage of the power supply so that the output voltage of the power supply is equal to the power supply voltage of the power supply at the current moment; and generating a second voltage control signal under the condition that the first working voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply.
According to the embodiment of the disclosure, under the condition that an interrupt task is not triggered or the interrupt task is completed, the power supply control system starts a minimum energy point tracking mode and continuously operates an electric quantity sensing mode so as to monitor the residual electric quantity of the system at the current time and a second working voltage corresponding to the minimum dynamic energy point at the same time, and generates a third voltage control signal based on the second working voltage, so that the output voltage of the power supply is equal to the second working voltage.
According to the embodiment of the disclosure, when the power supply control system monitors that the power supply voltage of the power supply at the current moment is smaller than or equal to the minimum reference voltage threshold value, the power supply control system switches to a dormant standby mode, in the dormant standby mode, a switch power domain power supply is turned off, a normally open domain circuit is reserved to process an interrupt signal generated by an input/output interface, and an energy collector is started to charge the power supply. When the power supply control system monitors that the power supply voltage of the power supply at the current moment is larger than the minimum reference voltage threshold value, the switching power supply domain power supply is restored, the power supply control system is switched to the minimum energy point tracking mode again under the condition of waiting for the interrupt task, and the power supply control system is switched to the performance sensing mode under the condition that the interrupt task is triggered.
According to the embodiment of the disclosure, the change trend of the power supply voltage of the power supply at the current moment is continuously monitored through the electric quantity sensing mode, and under the condition of an interrupt task, the required energy consumption and the first working voltage are determined through the performance sensing mode according to the priority of the interrupt task, so that the power supply control system controls and adjusts the power supply output voltage according to the priorities of different interrupt tasks when the interrupt task is processed, and the dynamic power consumption is reduced; in addition, under the condition that the interrupt task is not triggered or the interrupt task is completed, the minimum energy point is determined through the minimum energy tracking mode, and the working voltage corresponding to the minimum energy point is determined to be the second working voltage, so that the power supply control system operates at the minimum working voltage when waiting for the interrupt task, the static power consumption is reduced, and the service time of a battery and the service life of a chip are prolonged.
The power control method will be further described with reference to FIG. 5 in connection with an embodiment
Fig. 5 schematically illustrates a voltage variation diagram of a power control method according to a specific embodiment of the present disclosure.
As shown in fig. 5, the voltage change schematic diagram of the power control method includes a trigger schematic diagram of an interrupt task, and an input voltage change, a power output voltage change, and a power consumption change schematic diagram. After the chip is started, the power supply control system defaults to be in an electric quantity sensing mode, and a large number of registers are configured in the chip, so that in the electric quantity sensing mode, the power supply control system operates by taking the acquired power supply voltage of the power supply at the current moment as the power supply output voltage.
At a time T 1 after the power supply output voltage is stable, responding to the triggering of the first interrupt task, and starting the performance sensing mode by the power supply control system under the condition that the power supply voltage and the residual power of the power supply at the current time are continuously monitored by the power supply sensing mode in a period from T 1 to T 2. And determining that the first interrupt task is a high-priority interrupt task through the performance sensing mode, and processing the high-priority interrupt task by using a higher voltage, so that the power supply output voltage is maintained at the power supply voltage of the power supply at the current moment based on the power supply voltage of the power supply at the current moment fed back by the power sensing mode to process the high-priority interrupt task.
At time T 2 after the completion of the first interrupt task processing, in response to the second interrupt task being triggered, the power-aware mode and the performance-aware mode continue to cooperate for a period of time T 2 to T 3. And determining that the second interrupt task is a low-priority interrupt task through the performance sensing mode, wherein the required lower voltage can be processed, so that the power supply output voltage is downwards adjusted to the lower voltage based on the power supply voltage of the power supply at the current moment fed back by the electric quantity sensing mode so as to process the low-priority interrupt task.
And when the first interrupt task is processed and the next interrupt task is waited for at the time T 3, and the power supply voltage and the residual power of the power supply at the current time are continuously monitored in the power sensing mode, the power supply control system switches the performance sensing mode to the minimum energy point output mode. In the period from T 3 to T 4, the minimum power consumption voltage is determined based on the power supply voltage of the power supply at the current time through the minimum energy point output mode, and the minimum power consumption voltage is determined as the power supply output voltage, so that the power supply control system continuously operates at the minimum power consumption voltage under the condition of waiting for the task to be interrupted.
At a time T 4 of the minimum energy point output mode, responding to the triggering of the third interrupt task, and under the condition that the power supply voltage and the residual power of the power supply at the current time are continuously monitored by the power supply sensing mode, switching the minimum energy point output mode into the performance sensing mode again by the power supply control system. In the period from T 4 to T 5, the third interrupt task is determined to be a high priority interrupt task by the performance aware mode, requiring higher voltage processing. Therefore, based on the power supply voltage of the power supply at the current moment fed back by the electric quantity sensing mode, the power supply output voltage is adjusted upwards to the power supply voltage of the power supply at the current moment so as to process the high-priority interrupt task. The power supply voltage of the power supply at the current moment is reduced along with the reduction of the residual electric quantity.
And when the third interrupt task is processed and the next interrupt task is waited for at the time T 5, and the power supply voltage and the residual power of the power supply at the current time are continuously monitored in the power sensing mode, the power supply control system switches the performance sensing mode to the minimum energy point output mode again. In the period from T 5 to T 6, the lowest power consumption voltage at the power supply voltage of the power supply at the current time is determined again by the minimum energy point output mode, and the lowest power consumption voltage is determined as the power supply output voltage, so that the power supply control system continuously operates at the lowest power consumption voltage while waiting for the interrupt of the task.
And at the moment T 6 when the power sensing mode monitors that the power supply voltage of the power supply does not meet the reference voltage threshold value at the current moment, the power control system switches the minimum energy point output mode into the sleep standby mode based on the fact that the power sensing mode monitors that the current residual power is insufficient. In the period from T 6 to T 7, through a sleep standby mode, data of each module can be stored and processed first, a clock of a switching power domain is gated, an output interface of the switching power domain is isolated, and the output interface is set to be 1 or 0; and then enabling the storage register data, switching off part of the switch power domain power supplies, reserving the normally-open switch power domain power supplies, and charging the power supplies by using the energy collector, wherein the more the switch power domain contains modules, the more obvious the power consumption saving is.
And when the power sensing mode monitors that the power supply voltage of the power supply is greater than the T 7 time of the minimum reference voltage threshold value at the current time, recovering the power supply of the switching power supply domain, recovering the register data, disabling isolation, recovering the clock, recovering the normal operation of the system, and switching the mode by the mode control module according to the power supply voltage data and the interrupt task sent by the power sensing module.
Specifically, if the power control system switches the sleep standby mode to the minimum energy point tracking mode while waiting for an interrupt task; the power control system switches the sleep standby mode to the performance aware mode if an interrupt task is triggered. The performance aware mode and the minimum energy point tracking mode may be based on whether an interrupt task triggers a loop switch.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.
Claims (10)
1. A power control system, comprising:
an electric quantity sensing module, a performance sensing module, a minimum energy point tracking module and a mode control module,
The electric quantity sensing module is configured to collect power supply voltage data of a power supply at the current moment and send the power supply voltage data to the minimum energy point tracking module and the mode control module respectively;
The performance sensing module is configured to respond to the triggering of an interrupt task, determine a first working voltage based on the priority of the interrupt task, and send the first working voltage to the mode control module;
The minimum energy point tracking module is configured to determine a second working voltage based on the power supply voltage data and send the second working voltage to the mode control module when the interrupt task is not triggered or the interrupt task is completed;
The mode control module is configured to generate a voltage control signal based on the supply voltage data, the first operating voltage, or the second operating voltage, and control an output voltage of the power supply using the voltage control signal.
2. The power control system of claim 1, wherein the minimum energy point tracking module comprises a counting unit, a minimum energy point tracking unit,
The timing unit is configured to acquire a first digital clock period corresponding to the power supply voltage of the power supply at the current moment based on the power supply voltage data under the condition that the interrupt task is not triggered or the interrupt task is completed, adjust the power supply voltage of the power supply at the current moment based on a preset voltage threshold value to acquire a new power supply voltage of the power supply at the current moment, and acquire a second digital clock period corresponding to the new power supply voltage of the power supply at the current moment;
The minimum energy point tracking unit is configured to compare the first digital clock period and the second digital clock period output by the timing unit, to obtain a comparison result,
If the comparison result indicates that the first digital clock period is smaller than the second digital clock period, updating the power supply voltage of the power supply at the current moment to the new power supply voltage of the power supply at the current moment, and adjusting the power supply voltage of the power supply at the new current moment again based on the preset voltage threshold;
And if the comparison result indicates that the first digital clock period is greater than or equal to the second digital clock period, determining the power supply voltage of the power supply at the current moment as the second working voltage, and sending the second working voltage to the mode control module.
3. The power control system of claim 1, wherein the performance awareness module comprises a plurality of input/output interfaces configured to receive the interrupt task;
Wherein the performance awareness module is configured to determine, based on a priority attribute of a target input/output interface, a priority of the interrupt task, determine, based on the priority of the interrupt task, a first operating voltage corresponding to the interrupt task, and send the first operating voltage to the mode control module, where the target input/output interface belongs to the plurality of input/output interfaces, if the target input/output interface receives the interrupt task.
4. The power control system of claim 1, wherein the voltage control signal comprises a first voltage control signal, a second voltage control signal;
in case the interrupt task is triggered, the mode selection unit is configured to:
Generating the first voltage control signal when the first working voltage is greater than or equal to the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the first voltage control signal is used for maintaining the output voltage of the power supply so that the output voltage of the power supply is equal to the power supply voltage of the power supply at the current moment;
And generating the second voltage control signal under the condition that the first working voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply.
5. The power control system of claim 1, wherein the voltage control signal further comprises a third control signal;
In case the interrupt task is not triggered or the interrupt task has been completed, the mode selection unit is configured to: and generating the third voltage control signal based on the second working voltage so that the output voltage of the power supply is equal to the second working voltage.
6. The power control system of claim 1, wherein the power control system further comprises a sleep standby module configured to turn off a switching power domain power supply, charge the power supply with an energy harvester, and resume the switching power domain power supply, upon detecting that the supply voltage of the power supply at the current time does not meet a reference voltage threshold.
7. A power supply control method, comprising:
collecting power supply voltage data of a power supply at the current moment;
responsive to an interrupt task being triggered, determining a first operating voltage based on a priority of the interrupt task;
Determining a second operating voltage based on the supply voltage data if the interrupt task is not triggered or the interrupt task has been completed;
and generating a voltage control signal based on the power supply voltage data, the first working voltage or the second working voltage, and controlling the output voltage of the power supply by using the voltage control signal.
8. The power control method according to claim 7, wherein the determining a second operating voltage based on the supply voltage data in a case where the interrupt task is not triggered or the interrupt task has been completed comprises:
acquiring a first digital clock period corresponding to the power supply voltage of the power supply at the current moment based on the power supply voltage data under the condition that the interrupt task is not triggered or the interrupt task is completed;
based on a preset voltage threshold, adjusting the power supply voltage of the power supply at the current moment to obtain the power supply voltage of the power supply at the new current moment, and obtaining a second digital clock period corresponding to the power supply voltage of the power supply at the new current moment;
comparing the first digital clock period with the second digital clock period to obtain a comparison result,
If the comparison result indicates that the first digital clock period is smaller than the second digital clock period, the power supply voltage of the power supply at the current moment is updated to the new power supply voltage of the power supply at the current moment, the power supply voltage of the power supply at the new current moment is adjusted again based on the preset voltage threshold value,
And if the comparison result indicates that the first digital clock period is greater than or equal to the second digital clock period, determining the power supply voltage of the power supply at the current moment as the second working voltage.
9. The power control method of claim 7, wherein said determining a first operating voltage based on a priority of an interrupt task and said supply voltage data in response to the interrupt task being triggered comprises:
determining the priority of the interrupt task based on the priority attribute of the target input/output interface under the condition that the target input/output interface receives the interrupt task;
and determining a first working voltage corresponding to the interrupt task based on the priority of the interrupt task and the power supply voltage data.
10. The power supply control method according to claim 7, wherein the generating a voltage control signal based on the supply voltage data, the first operation voltage, or the second operation voltage, and controlling the output voltage of the power supply using the voltage control signal comprises:
The voltage control signals comprise a first voltage control signal, a second voltage control signal and a third voltage control signal;
in the event that the interrupt task is triggered,
Generating the first voltage control signal when the first working voltage is greater than or equal to the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the first voltage control signal is used for maintaining the output voltage of the power supply so that the output voltage of the power supply is equal to the power supply voltage of the power supply at the current moment;
Generating the second voltage control signal under the condition that the first working voltage is smaller than the power supply voltage of the power supply at the current moment corresponding to the power supply voltage data, wherein the second voltage control signal is used for downwards regulating the output voltage of the power supply;
Generating the third voltage control signal based on the second operating voltage such that the output voltage of the power supply is equal to the second operating voltage, if the interrupt task is not triggered or the interrupt task has been completed;
and controlling the output voltage of the power supply by using the voltage control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410206717.5A CN118137824A (en) | 2024-02-26 | 2024-02-26 | Power supply control system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410206717.5A CN118137824A (en) | 2024-02-26 | 2024-02-26 | Power supply control system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118137824A true CN118137824A (en) | 2024-06-04 |
Family
ID=91231118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410206717.5A Pending CN118137824A (en) | 2024-02-26 | 2024-02-26 | Power supply control system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118137824A (en) |
-
2024
- 2024-02-26 CN CN202410206717.5A patent/CN118137824A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11301019B2 (en) | System on a chip with customized data flow architecture | |
CN108899950B (en) | Self-powered intelligent system and circuit system | |
CN102833831A (en) | Network card device, routing device, system and method for realizing dynamic dormancy and wakeup | |
US8471404B2 (en) | System and method for supporting high burst current in a current limited system | |
CN109004640B (en) | Self-energy supply system and working method | |
WO1995009475A1 (en) | System and method for dual mode dc-dc power conversion | |
WO2018112750A1 (en) | Micro-energy collection-based power management method and device, and micro-energy supply device | |
CN111480279A (en) | Hybrid power supply control system for supplying electrical power to a load, and corresponding method and sensor comprising such a control system | |
CN103117567A (en) | Chip with charge-discharge function and electric quantity detecting function | |
CN103546029B (en) | A kind of suitching type adjuster and control method thereof | |
CN113765679A (en) | Computer network awakening method and system | |
CN109217445B (en) | Sensor node power supply system and power supply method based on energy collection | |
US11777332B2 (en) | Low-cost task specific device scheduling system | |
EP3787148A1 (en) | Power management architecture of wireless sensors | |
US10007286B2 (en) | Switching regulator overload detector | |
US9124131B2 (en) | Dynamic control of the power sourcing capability of a power source | |
CN118137824A (en) | Power supply control system and method | |
US8773083B2 (en) | Detection of insufficient current sourcing capability of supplied power | |
CN116367283A (en) | Method for reducing power consumption, passive NFC chip and storage medium | |
CN211262469U (en) | Wireless sensor with vibration energy recovery function | |
US11994886B2 (en) | Power saving in an embedded system | |
CN112491115A (en) | Power supply management circuit for standby rechargeable battery | |
WO2019153874A1 (en) | Method and device for supplying power to lpwa device | |
CN215731396U (en) | Internet of things switching circuit applied to automatic change-over switch | |
US11775044B1 (en) | Energy recycling in an embedded system |
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 |