WO2021007682A1 - Power supply protection method, and system with power supply protection function - Google Patents

Power supply protection method, and system with power supply protection function Download PDF

Info

Publication number
WO2021007682A1
WO2021007682A1 PCT/CN2019/095665 CN2019095665W WO2021007682A1 WO 2021007682 A1 WO2021007682 A1 WO 2021007682A1 CN 2019095665 W CN2019095665 W CN 2019095665W WO 2021007682 A1 WO2021007682 A1 WO 2021007682A1
Authority
WO
WIPO (PCT)
Prior art keywords
power supply
side device
load
control signal
temperature
Prior art date
Application number
PCT/CN2019/095665
Other languages
French (fr)
Chinese (zh)
Inventor
周勇辉
刘宇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201980097059.8A priority Critical patent/CN113906648A/en
Priority to PCT/CN2019/095665 priority patent/WO2021007682A1/en
Publication of WO2021007682A1 publication Critical patent/WO2021007682A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network

Definitions

  • One or more embodiments of the present application generally relate to the field of power supply protection of electronic equipment, and specifically relate to a power supply protection method and a system with a power supply protection function.
  • PMU power management unit
  • PMIC power management integrated circuit
  • PMU power management unit
  • PMIC power management integrated circuit
  • PMU generally uses protection circuits such as under/overvoltage, overcurrent, and overtemperature to handle abnormal power supply to protect electronic equipment.
  • the protection circuit generally causes the PMU to stop providing power, causing the electronic device to restart or shut down.
  • Some existing technologies deal with high current scenarios of electronic devices by judging the temperature of the battery.
  • the prior art judges whether the electronic device is working under a high current state by detecting the temperature. The real-time performance is not high enough, and the response speed to the abnormal power supply is slow. In some cases, the processing of the abnormal power supply may not be timely, resulting in the protection circuit of the PMU. Intervene to restart or shut down the system.
  • the prior art judges power supply abnormality by detecting the battery temperature. Since only one-dimensional information is used to determine the power supply abnormality, it is easy to form an overdesign of the power supply protection scheme, resulting in overprotection. For example, in a low temperature scenario, the battery voltage drops due to the high internal resistance of the battery.
  • the abnormal power supply is judged only from the temperature dimension, it is likely to be judged as an abnormal undervoltage, but when the battery is fully charged, the undervoltage may not occur. If the power supply protection is performed according to the judgment of the under-voltage abnormality, it will cause over-protection.
  • Some embodiments of the present application provide a power supply protection method and a system with power supply protection function.
  • the following describes the application from multiple aspects, and the implementation and beneficial effects of the following multiple aspects can be referred to each other.
  • the embodiments of the present application provide a system with power supply protection function.
  • the system includes a transceiving unit and a detection unit.
  • the transceiving unit is used to receive measurement information on various parameters of the electronic device under working conditions.
  • the measurement information is obtained from the sensor located in at least one of the power supply side device and the load side device of the electronic equipment through the transceiver unit.
  • Various parameters include: current, voltage, power consumption, frequency, and temperature.
  • the measurement information includes multiple Measurement results of at least two of these parameters.
  • the detection unit is configured to compare the measurement information received by the transceiving unit with corresponding thresholds, and detect whether the electronic device is abnormal according to the comparison result, and when the electronic device is detected to be abnormal In this case, corresponding power supply abnormality information is generated to indicate that the electronic device has a power supply abnormality related to at least one of the at least two parameters.
  • the implementation of the present application by detecting various power supply related parameters of the electronic equipment system in the working state, it is possible to comprehensively and accurately determine the power supply abnormality of the system, to provide power supply protection more accurately, and to avoid using only single dimension
  • the information judges that the power supply is abnormal and avoids the formation of over-design of the power supply protection scheme, resulting in over-protection.
  • the power supply abnormality information may include information indicating that the undervoltage phenomenon occurs in the power supply side device of the electronic device.
  • the power supply abnormality information may further include an indication that the current is too high in the power supply side device of the electronic device, the power consumption of the power supply side device is too large, or the current flow of the power supply side device is too large. Information about the phenomenon of excessive power consumption.
  • the power supply abnormality information may further include information indicating that at least one of the power supply side device and the load side device of the electronic device has the phenomenon of excessively high or low temperature.
  • system further includes a processing unit, which sends corresponding control signals to control the electronic device to adjust at least one of the multiple parameters according to the various power supply abnormal information described above.
  • the at least one parameter to be adjusted includes the frequency and the voltage.
  • the processing unit may further indicate that the voltage is too low on the power supply side device of the electronic device according to the power supply abnormality information, and send a reduction in the frequency of the load side device of the electronic device, and then The control signal for reducing the output voltage of the power supply side device.
  • the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device The phenomenon that the current is too large and the power consumption is too large, sends out the control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device.
  • the processing unit may further indicate that at least one of the power supply-side device and the load-side device of the electronic equipment has the phenomenon that the temperature is too low according to the power supply abnormality information, and issue an increase in the power supply side device.
  • the processing unit may further indicate, according to the power supply abnormality information, that at least one of the power supply side device and the load side device of the electronic equipment has the over-temperature phenomenon, and send out a reduction in the load side device.
  • the frequency then reduces at least one of the control signal to lower the output voltage of the power supply side device, and the control signal to lower the temperature of the load side device.
  • the processing unit may further indicate that the voltage is too low in the power supply side device of the electronic equipment according to the power supply abnormality information, and determine that the voltage of the power supply side device and the power supply side device Whether the difference between the shutdown voltage thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt In order to execute instructions to reduce the frequency of the load-side device and reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the load-side device clock reset generator (CRG ) Send the control signal to lower the frequency, and send the control signal to lower the output voltage to the power management unit (PMU) of the power supply side device.
  • CCG load-side device clock reset generator
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device If the current is too large and the power consumption is too large, it is determined that at least one of the operating current and the power consumption of the power supply side device of the electronic equipment is related to the shutdown current threshold and shutdown power consumption of the power supply side device Whether the difference of at least one of the thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt to perform the reduction The frequency of the load-side device and an instruction to reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the CRG of the load-side device is issued the instruction to reduce the frequency A control signal and the control signal for reducing the output voltage to the PMU of the power supply side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the processing unit may further determine that the temperature is too low in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormality information, and determine that the power supply side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device A control signal to interrupt the processor to execute at least one of an instruction to increase the output voltage of the power supply side device, reduce the frequency of the load side device, and increase the temperature of the load side device; If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the processing unit may further determine that the temperature is too high in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormal information Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device Control signals to interrupt the processor to execute at least one of instructions to reduce the frequency of the load-side device, reduce the output voltage of the power supply-side device, and reduce the temperature of the load-side device If the difference is less than the predetermined value, send the control signal to reduce the frequency to the CRG of the load-side device of the electronic device, and send the PMU of the power supply side device to reduce the output At least one of the control signal for voltage and the control signal for lowering the temperature to a temperature regulator of the load side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the priority is determined according to the probability of the power supply abnormality, the degree of influence on the system, and the speed of occurrence
  • the power supply abnormality information is specifically processed according to the following priority: the priority related to at least one of the excessive current and the excessive power consumption is higher than the priority related to the undervoltage;
  • the priority related to the excessively low voltage is higher than the priority related to the excessively high temperature; and the priority related to the excessively high temperature is higher than the priority related to the excessively low temperature The priority.
  • the system further includes an encoding unit and a decoding unit.
  • the encoding unit encodes the power supply abnormal information to generate the encoded power supply abnormal information, and then the encoded power supply abnormal information
  • the decoding unit decodes to obtain power supply abnormal information.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the system includes the PMU, SOC, or main board of the electronic device.
  • the present application provides a system with power supply protection function.
  • the system includes a processing unit and a transceiver unit.
  • the processing unit is used to send control signals to control electronic equipment to adjust various parameters based on abnormal power supply information.
  • the power supply abnormality information is obtained by comparing the received measurement information with corresponding threshold values, and the measurement information includes at least two of the multiple parameters of the electronic device in the working state.
  • the measurement results of various parameters are obtained from the sensor located in at least one of the power supply side device and the load side device of the electronic equipment through the transceiver unit, and the multiple parameters include: current, voltage, power consumption, frequency, and temperature .
  • the transceiver unit sends the control signal to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided.
  • Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
  • the power supply abnormality information may include information indicating that the undervoltage phenomenon occurs in the power supply side device of the electronic device.
  • the power supply abnormality information may further include an indication that the current is too high in the power supply side device of the electronic device, the power consumption of the power supply side device is too large, or the current flow of the power supply side device is too large. Information about the phenomenon of excessive power consumption.
  • the power supply abnormality information may further include information indicating that at least one of the power supply side device and the load side device of the electronic device has the phenomenon of excessively high or low temperature.
  • the system further includes a detection unit, which compares the received measurement information with corresponding thresholds, detects whether the electronic device is abnormal, and detects that the electronic device is abnormal.
  • the power supply abnormality information is generated to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
  • the at least one parameter to be adjusted includes the frequency and the voltage.
  • the processing unit may further indicate that the voltage is too low on the power supply side device of the electronic device according to the power supply abnormality information, and send a reduction in the frequency of the load side device of the electronic device, and then The control signal for reducing the output voltage of the power supply side device.
  • the processing unit may further indicate that the voltage is too low in the power supply side device of the electronic equipment according to the power supply abnormality information, and determine that the voltage of the power supply side device and the power supply side device Whether the difference between the shutdown voltage thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt In order to execute instructions to reduce the frequency of the load-side device and reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the load-side device clock reset generator (CRG ) Send the control signal to lower the frequency, and send the control signal to lower the output voltage to the power management unit (PMU) of the power supply side device.
  • CCG load-side device clock reset generator
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device The phenomenon that the current is too large and the power consumption is too large, sends out the control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device.
  • the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device If the current is too large and the power consumption is too large, it is determined that at least one of the operating current and the power consumption of the power supply side device of the electronic equipment is related to the shutdown current threshold and shutdown power consumption of the power supply side device Whether the difference of at least one of the thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt to perform the reduction The frequency of the load-side device and an instruction to reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the CRG of the load-side device is issued the instruction to reduce the frequency A control signal and the control signal for reducing the output voltage to the PMU of the power supply side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • the processing unit may further indicate that at least one of the power supply-side device and the load-side device of the electronic equipment has the phenomenon that the temperature is too low according to the power supply abnormality information, and issue an increase in the power supply side device.
  • the processing unit may further determine that the temperature is too low in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormality information, and determine that the power supply side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device A control signal to interrupt the processor to execute at least one of an instruction to increase the output voltage of the power supply side device, reduce the frequency of the load side device, and increase the temperature of the load side device; If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the processing unit may further indicate, according to the power supply abnormality information, that at least one of the power supply side device and the load side device of the electronic equipment has the over-temperature phenomenon, and send out a reduction in the load side device.
  • the frequency then reduces at least one of the control signal to lower the output voltage of the power supply side device, and the control signal to lower the temperature of the load side device.
  • the processing unit may further determine that the temperature is too high in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormal information Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device Control signals to interrupt the processor to execute at least one of instructions to reduce the frequency of the load-side device, reduce the output voltage of the power supply-side device, and reduce the temperature of the load-side device If the difference is less than the predetermined value, send the control signal to reduce the frequency to the CRG of the load-side device of the electronic device, and send the PMU of the power supply side device to reduce the output At least one of the control signal for voltage and the control signal for lowering the temperature to a temperature regulator of the load side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • the priority is determined according to the probability of the power supply abnormality, the degree of influence on the system, and the speed of occurrence
  • the power supply abnormality information is specifically processed according to the following priority: the priority related to at least one of the excessive current and the excessive power consumption is higher than the priority related to the undervoltage;
  • the priority related to the excessively low voltage is higher than the priority related to the excessively high temperature; and the priority related to the excessively high temperature is higher than the priority related to the excessively low temperature The priority.
  • the system further includes an encoding unit and a decoding unit.
  • the encoding unit encodes the power supply abnormal information to generate the encoded power supply abnormal information, and then the encoded power supply abnormal information
  • the decoding unit decodes to obtain power supply abnormal information.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the system includes the PMU, SOC, or main board of the electronic device.
  • the present application provides a power supply protection method.
  • the method includes generating and reducing the frequency of the load-side device of the electronic device based on abnormal information indicating that the power supply-side device of the electronic device is in a working state. Then reduce the control signal of the output voltage of the power supply side device.
  • the electronic equipment can include common consumer electronic products, industrial control products and electronic equipment inside the vehicle.
  • the power supply side device usually includes the power supply and PMU of the electronic equipment.
  • the power source is mainly a battery
  • the load-side device usually includes a system on a chip and various interfaces, such as a display panel interface, an audio interface, an imaging module interface, and a network communication interface.
  • the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device, where the parameter adjuster can adjust the voltage, current, frequency, power consumption, and temperature of the electronic device.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided.
  • Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
  • the power supply abnormality information that the voltage is too low may also indicate that the environmental temperature when the electronic device is working is too low, for example, the temperature of at least one of the power supply side device and the load side device is too low in a cold environment.
  • the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
  • the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
  • the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the generating a control signal that reduces the frequency of the load-side device of the electronic device, and then reduces the output voltage of the power supply side device further includes: judging the voltage of the power supply side device and the Whether the difference between the shutdown voltage threshold of the power supply side device is greater than a predetermined value, by judging the margin between the voltage and the shutdown voltage threshold, different processing thresholds are set, and diversified power supply abnormal processing methods are provided according to the thresholds.
  • the control signal is sent to the processor of the load-side device of the electronic device, so that the processor is interrupted in order to perform the load-side reduction.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the embodiments of the present application provide a power supply protection method, which includes when the power supply side device of the electronic equipment is in the working state, the working current is too large, the power consumption is too large, or the working current is too large and the
  • a control signal is generated to reduce the frequency of the load-side device of the electronic equipment, and then reduce the output voltage of the power supply-side device.
  • the occurrence of the above-mentioned power supply abnormality is related to the operation of heavy load applications on the load side device, for example, high-rendering network games, high-definition streaming media playback, etc.
  • the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided.
  • Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
  • the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
  • the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
  • the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the generating a control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device further includes: determining all of the power supply-side device of the electronic equipment Whether the difference between at least one of the operating current and the power consumption and at least one of the shutdown current threshold and the shutdown power consumption threshold of the power supply side device is greater than a predetermined value, by determining at least one of the operating current and the power consumption Set different processing thresholds for the margin between the shutdown threshold and the shutdown threshold, and provide diversified power supply exception processing methods according to the thresholds.
  • the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform the frequency reduction of the load-side device and An instruction to reduce the output voltage of the power supply side device; if the difference is less than the predetermined value, the control signal for reducing the frequency is sent to the CRG of the load side device and the control signal is sent to the power supply side
  • the PMU of the device sends out the control signal to lower the output voltage.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the embodiments of the present application provide a power supply protection method, the method includes, when at least one of the power supply side device and the load side device of the electronic equipment in the working state has an abnormally low temperature power supply, You can increase the system load, change the operating frequency, increase the operating voltage, increase the system power consumption, or trigger the system to physically heat up. Specifically, a control signal for increasing the output voltage of the power supply side device is generated, a control signal for reducing the frequency of the load side device is generated, the output voltage of the power supply side device is increased, and the output voltage of the load side device is reduced. At least one of a frequency control signal and a control signal to increase the temperature of the load side device. Then, the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided.
  • Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
  • the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
  • the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
  • the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the generating a control signal for increasing the output voltage of the power supply side device, the control signal for reducing the frequency of the load side device, increasing the output voltage of the power supply side device and At least one of the control signal for reducing the frequency of the load-side device and the control signal for increasing the temperature of the load-side device further includes: judging the power supply-side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value is determined by determining the margin between the temperature of at least one of the power supply side device and the load side device and the shutdown threshold , Set different processing thresholds, and provide diversified power supply exception processing methods according to the thresholds.
  • the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform increasing the output voltage of the power supply-side device
  • At least one of the instruction to reduce the frequency of the load-side device and the instruction to increase the temperature of the load-side device if the difference is less than a predetermined value, send to the The PMU of the power supply side device sends out the control signal to increase the output voltage, sends out the control signal to reduce the frequency to the CRG of the load side device, and sends out the increase rate to the temperature regulator of the load side device.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the present application provides a power supply protection method.
  • the method includes that when at least one of the power supply side device and the load side device of the electronic equipment in the working state has a power supply abnormality that is too high, the system can be reduced Load, reduce the operating frequency, reduce the operating voltage, limit the system power consumption, and also trigger the system to physically cool down. Specifically, generating at least one of the control signal that lowers the frequency of the load-side device and then the output voltage of the power supply-side device, and the control signal that lowers the temperature of the load-side device; then The control signal is sent to the parameter regulator in the power supply side device and/or the load side device.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided.
  • Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
  • the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
  • the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
  • the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding.
  • the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
  • At least one of generating a control signal that reduces the frequency of the load-side device and then reduces the output voltage of the power supply-side device, and the control signal that reduces the temperature of the load-side device It further includes: determining whether the difference between the temperature of at least one of the power supply side device and the load side device and the shutdown temperature of the electronic equipment is greater than a predetermined value, by determining at least one of the power supply side device and the load side device Set different processing thresholds for the margin between the temperature and the shutdown threshold, and provide diversified power supply exception processing methods according to the thresholds.
  • the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform the frequency reduction of the load-side device and At least one of an instruction to reduce the output voltage of the power supply-side device and the instruction to reduce the temperature of the load-side device; if the difference is less than a predetermined value, send the instruction to the electronic device
  • the CRG of the load-side device sends out the control signal to reduce the frequency, sends the control signal to reduce the output voltage to the PMU of the power supply-side device, and sends out to the temperature regulator of the load-side device At least one of the control signals to lower the temperature.
  • control signals to the processor to handle power supply abnormalities By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible.
  • direct CRG frequency reduction can achieve nanosecond response speed
  • the power management unit can achieve microsecond response speed.
  • the present application provides a computer-readable storage medium, which may be non-volatile.
  • the storage medium contains instructions that, after being executed, implement the method described in any one of the foregoing aspects or implementation manners.
  • the present application provides a power supply protection device, which includes a memory and a processor, where the memory is used to store instructions executed by one or more processors of the power supply protection device; the processor is used to execute instructions in the memory After the instruction is executed, it implements the method described in any one of the foregoing aspects or implementations.
  • this application provides an electronic device, such as a mobile terminal.
  • the electronic equipment includes a power supply-side device, a load-side device, and the system with a power supply protection function as described in any one of the foregoing aspects or embodiments.
  • the system may be provided in a power supply side device.
  • the system may be provided in a load-side device.
  • the system may be provided in the power supply side device and the load side device.
  • the power supply side device includes a battery and a PMU.
  • the load-side device includes an SoC and a motherboard.
  • the effects of this application include, but are not limited to:
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, high current and other scenarios.
  • the system of electronic equipment keeps running without shutting down.
  • FIGS. 1a-1d show schematic diagrams of modules of a computing system with a power supply protection device according to an exemplary embodiment of the present application.
  • FIGS. 2a-2d show schematic diagrams of modules of a power supply protection device according to exemplary embodiments of the present application.
  • Fig. 3 shows a schematic flowchart of a power supply protection method according to an embodiment of the present application.
  • Fig. 4 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
  • Fig. 5 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
  • Fig. 6 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
  • Fig. 7 shows a schematic diagram of modules of a power supply protection device according to an embodiment of the present application.
  • module or unit may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated or group) that executes one or more software or firmware programs, and/or Memory (shared, dedicated or group), combinational logic circuit, and/or other suitable components that provide the described functions, or may be an application specific integrated circuit (ASIC), electronic circuit, executing one or more software or firmware Part of the program's processor (shared, dedicated or group) and/or memory (shared, dedicated or group), combinational logic circuit, and/or other suitable components that provide the described functions.
  • ASIC application specific integrated circuit
  • ASIC application specific integrated circuit
  • processor shared, dedicated or group
  • Memory shared, dedicated or group
  • combinational logic circuit and/or other suitable components that provide the described functions
  • ASIC application specific integrated circuit
  • System 1 includes, but is not limited to, laptop devices, desktop computers, handheld PCs, personal digital assistants, engineering workstations, servers, network devices, network hubs, switches, embedded processors, and digital signal processors (Digital Signal Processors).
  • DSP digital signal processor
  • graphics equipment for example, graphics equipment, video game equipment, set-top boxes, microcontrollers, cellular phones, portable media players, handheld devices, wearable devices (for example, display glasses or goggles, head-mounted displays (Head-Mounted Display) , HMD for short), watches, headsets, armbands, jewelry, etc.), virtual reality (Virtual Reality, VR) and/or augmented reality (Augment Reality, AR) devices, Internet of Things (IoT) Equipment, industrial control equipment, in-vehicle infotainment equipment, streaming media client equipment, e-book reading equipment, POS machines, control systems for electric vehicles, and various other electronic equipment.
  • IoT Internet of Things
  • IoT Internet of Things
  • industrial control equipment in-vehicle infotainment equipment
  • streaming media client equipment e-book reading equipment
  • POS machines control systems for electric vehicles
  • control systems for electric vehicles and various other electronic equipment.
  • the computing system 1 may include a power management unit (PMU) 12 and a system on chip (System on Chip, SoC) 14.
  • the system on chip 14 may include one or more (only shown in the figure).
  • the processor 142 may include, but is not limited to, a central processing unit (CPU), a graphics processor GPU (Graphics Processing Unit), a digital signal processor DSP, and a microprocessor MCU (Micro-programmed Control Unit). ), AI (Artificial Intelligence) processor or programmable logic device FPGA (Field Programmable Gate Array) and other processing modules or processing circuits, and clock reset generator (Clock Reset Generator, CRG) 144.
  • CPU central processing unit
  • GPU Graphics Processing Unit
  • DSP digital signal processor
  • MCU Micro-programmed Control Unit
  • AI Artificial Intelligence
  • FPGA Field Programmable Gate Array
  • CRG clock reset generator
  • the system 1 may further include a power supply protection device 10, where the power supply protection device 10 includes an abnormality detection unit 1022, an abnormality processing unit 1042, and a transceiver unit 106.
  • the power supply protection device 10 includes an abnormality detection unit 1022, an abnormality processing unit 1042, and a transceiver unit 106.
  • the power supply protection device 10 can be independently arranged in the system 1.
  • the power supply protection device 10 can also be arranged in the power supply. In the management unit 12 or the system on chip 14.
  • the power supply protection device 10 may be implemented in the system 1 in a variety of different ways.
  • the power supply protection device 10 may include an abnormality detection device 102 and an abnormality processing device 104.
  • the abnormality detection device 102 includes an abnormality detection unit 1022 and a transceiving unit 106a.
  • the abnormality detection device 102 may optionally include an abnormality encoding unit 1024.
  • the exception handling device 104 includes an exception handling unit 1042 and a transceiving unit 106b.
  • the exception handling device 104 may optionally include an exception decoding unit 1044.
  • the exemplary system 1 includes one or more abnormality detection devices 102, 102a-102c, and one or more transceiver units 106, 106a-106b.
  • the letter after the reference number, such as "102a” indicates a reference to an element with that specific reference number.
  • a reference number without subsequent letters in the text, such as "102” represents a general reference to the implementation of the element with the reference number. As shown in FIGS.
  • the abnormality detection device 102 may exist in the power management unit 12 (for example, 102a), or exist in the system-on-chip 14 (for example, 102c), or exist in other locations of the system 1, such as a motherboard. (For example, 102b). In different embodiments, the anomaly detection device 102 may also exist in the power management unit 12 and the system on chip 14 at the same time (for example, 102a and 102c), or exist in the power management unit 12, the motherboard and the system on chip 14 at the same time (for example, , 102a-102c).
  • the exception handling device 104 may exist in the power management unit 12 of the system 1, or the system on chip 14, or the motherboard.
  • the abnormality detection device 102 and the abnormality processing device 104 coexist in the same device, for example, as shown in FIG. 1b, the abnormality detection device 102 and the abnormality processing device 104 coexist.
  • the abnormality detection device 102 and the abnormality processing device 104 may exist in the power management unit 12 as integrated devices such as the power supply protection device 10, or may exist in the power management unit 12 as independent devices.
  • the system 1 may not include one or more components shown in FIGS. 1a-1d, or may include other components not shown in FIGS. 1a-1d.
  • the power supply protection device 10 abnormal detection device 102, abnormal processing device 104
  • power management unit 12 and system on chip 14 are coupled to each other, and the power management unit 12 provides stable power so that the various components of the system 1 normal work.
  • the system on chip 14 may be responsible for processing various operations of the system 1, including shutdown operations.
  • the system-on-chip 14 may also include at least one memory. The memory is used to store applications temporarily loaded by the system-on-chip and data generated by the application running by the processor 142.
  • the processor 142 may run the operating system of the system 1, for example, Android, iOS, Windows OS, Hongmeng operating system, etc.
  • the clock reset generator (CRG) 144 can receive instructions from the processor to set and reset the clocks of the system and the core.
  • the power management unit 12 may be an integrated composite power management unit, which may have modules/circuits such as temperature protection, overcurrent and overvoltage protection, etc., and the power management unit 12 may be implemented by CMOS technology.
  • the power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104) may be codes and routines operable by a processor, so that the abnormality of the power supply of the system 1 can be detected and processed.
  • hardware including a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC) may be used to implement the power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104).
  • a combination of hardware and software may be used to implement the power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104).
  • the abnormality detection unit 1022 can detect a variety of information when the system 1 is working.
  • the working state of the system 1 may include a standby state and a normal working state.
  • the working state also includes a low power consumption state (for example, a power saving mode, etc.), but does not include a complete power-off state. State, where in the working state, each device of the system 1 can realize part of the function or the complete function.
  • the detected information in the working state of the system may include information about the current, voltage, power consumption, load, and temperature of the system 1, and this information may include information about each type of information when the system 1 is in the working state.
  • the instantaneously detected data is continuously detected within a set time interval, or a collection of multiple data detected at discrete time points, or the average of multiple data.
  • the information of current, voltage, power consumption, load, and temperature generally indicates the information of the system 1 in the working state.
  • the detected information may come from part or all of the power management unit 12, the system on chip 14, the motherboard and other devices.
  • the information may include the operating current (such as LDO current, DC-DC output current, etc.), input/output voltage, power consumption, and temperature of the power management unit 12, and the current, voltage, frequency, load of the system-on-chip 14 , Temperature and other information, and temperature information of the motherboard.
  • the range of judgment for abnormal power supply of the system can be more comprehensive, the judgment accuracy is higher, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the abnormality detection unit 1022 can also compare the detected information with the corresponding threshold to detect whether the system has power supply abnormality. If the power supply abnormality is detected, it generates and provides power supply abnormality information. The power supply abnormality information indicates that the system 1 has at least one The information-related power supply is abnormal.
  • the power supply abnormality information may include, but is not limited to, voltage undervoltage abnormalities and overvoltage abnormalities, current undercurrent abnormalities and overcurrent abnormalities, low temperature abnormalities and high temperature abnormalities, and excessive power consumption abnormalities, etc. Other abnormalities related to the above detection information.
  • the detection of power supply abnormalities can also be implemented by machine learning of a deep learning model, and machine learning can enhance the judgment and detection of power supply abnormalities.
  • machine learning can be implemented on one or more components of the system 1.
  • the above-mentioned detected data can be used as sample data to train a machine learning model.
  • user data that may be contained in the data has been desensitized, or the user has explicitly obtained permission to use the sample data for training.
  • the machine learning model can predict the power supply abnormality of the system according to the received various information of the system in the working state, and then provide the abnormality as a predicted abnormality.
  • the abnormality processing unit 1042 sends a control signal according to the abnormal power supply information, so that the system 1 adjusts at least one of the above-mentioned multiple types of information to prevent the system 1 from restarting or shutting down due to abnormal power supply.
  • the restart or shutdown of the system 1 due to abnormal power supply is due to the working current, input/output voltage, power consumption, or temperature of the power management unit 12 triggering the protection circuit of the power management unit 12, so that the power management unit 12 A restart or shutdown instruction is issued to the processor of the system-on-chip 14, and then the power management unit 12 turns off the power, or in some cases, after the protection circuit is triggered, the power management unit 12 directly turns off the power.
  • the shutdown threshold indicates the critical value that triggers the protection circuit preset by the system 1 to cause the power to shut down.
  • the control signal sent by the abnormality processing unit 1042 may include a voltage increase/decrease signal, a frequency increase/decrease (load) signal, a temperature increase/decrease signal, and a CPU interrupt signal.
  • the boost/decrease signal can increase or decrease (Boost or Buck) the input/output voltage of the power management unit 12, and the boost/decrease frequency (load) signal can increase or decrease the frequency of processing units such as CPU, GPU, etc.
  • the temperature drop signal can physically adjust the temperature of one or more components of the system through the temperature adjustment device of the system.
  • the temperature regulator may include cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) of the motherboard and the system-on-chip 14 and heating equipment on the load/power supply side.
  • the temperature regulator may receive a control instruction from the processor 142, or directly receive a temperature increase/decrease signal from the abnormality processing unit 1042 through a hardware connection.
  • the power supply protection device may further include an abnormality encoding unit 1024 and a corresponding abnormality decoding unit 1044.
  • the anomaly encoding unit 1024 is configured to encode the anomaly information provided by the anomaly detection unit 1022 to generate encoded power supply anomaly information.
  • the abnormality decoding unit 1044 decodes the encoded power supply abnormality information to obtain corresponding power supply abnormality information.
  • the encoding method may adopt binary encoding, such as forming the following methods: overvoltage: 001, overcurrent: 010, high temperature: 011, undervoltage: 100, undercurrent: 101, low temperature: 110, and others: 000.
  • the combined detected information may also be encoded.
  • the combined detected information may also be encoded.
  • For current information suppose there are L data, Cur_1, Cur_2...Cur_L; for temperature information, suppose there are M data, Temp_1, Temp_2...Temp_M; for voltage information, suppose there are N data, Vol_1, Vol_2...Vol_N;
  • For power consumption information suppose there are 0 pieces of data, Pwr_1, Pwr_2...Pwr_O; for load performance information, suppose there are P pieces of data, LDP_1, LDP_2...LDP_P.
  • each code includes the full set of data on current, temperature, voltage, power consumption and load performance, such as ⁇ Cur_1, Temp_1, Vol_1, Pwr_1, LDP_1 ⁇ .
  • the information capacity can be reduced, the bandwidth occupancy during information transmission can be reduced, and the information transmission efficiency can be improved.
  • the transceiver unit 106 is used to receive the above-mentioned information of the system 1 in the working state, and transmit it to the abnormality detection unit 1022, and the transceiver unit 106 is also used to receive the abnormality detection unit 1022 to generate
  • the abnormal power supply information (uncoded or coded) is transmitted to the abnormal processing unit 1042, and the control signal generated by the abnormal processing unit 1042 is transmitted to the power management unit 12 and/or the system on chip 14. It is understandable that the transceiving units 106a-106b have part or all of the functions of the transceiving unit 106.
  • the transceiving unit 106a can transmit the above-mentioned information of the system 1 in the working state to the abnormality detection unit 1022 and the abnormality processing unit 1042.
  • the power supply abnormality information (uncoded or coded) generated by the abnormality detection unit 1022 is transmitted.
  • the transceiver unit 106b can receive power supply abnormal information (uncoded or coded) generated from the abnormality detection unit 1022, and then transmit the abnormal information to the abnormality processing unit 1042, and transmit the control signal generated by the abnormality processing unit 1042 to the power management Unit 12 and/or System on Chip 14.
  • the transceiver unit 106 (or 106a-106b) can be implemented by a circuit or a software interface. As shown in FIGS. 1a-1d and FIGS. 2c-2d, the transceiver unit may exist in the power management unit 12, or exist in the system on chip 14, or exist in other positions of the system 1, such as a motherboard. According to another embodiment, the transceiver unit may also exist in the power management unit 12 and the system on chip 14 at the same time, or exist in the power management unit 12, the motherboard and the system on chip 14 at the same time.
  • a system with a power supply protection device is compared with an existing system without the device, for example, in the same low-temperature scenario, even if the battery capacity of the system described herein is more than 10% lower than that of the existing system. %, you can also keep the system running without shutting down. In the test, the existing system shuts down at -10°C and at 18% power, while the system with the power supply protection device shuts down at -10°C and 9% power.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • Figures 2a-2d show block diagrams of example power protection devices that can implement one or more of the features described herein.
  • the power supply protection device shown in FIGS. 2a, 2c, and 2d may be the abnormality detection device 102.
  • the abnormality detection device 102 receives the temperature information 201, voltage information 202, load information 203, current information 204, and power consumption information 205 of the system 1 through the transceiver unit 106a. This information comes from at least a part of the power management unit 12 located on the power supply side of the system 1, the system on chip 14 located on the load side of the system 1, and other devices such as motherboards.
  • the above-mentioned information is acquired through sensing devices/modules arranged in the system 1, for example, temperature sensors, current/voltage sensing modules, etc. respectively arranged in the power management unit 12, the system on chip 14 and the motherboard.
  • the range of judgment for abnormal power supply of the system can be more comprehensive, the judgment accuracy is higher, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the abnormality detection unit 1022 compares the received information with the corresponding threshold, and detects whether the system has abnormal power supply.
  • the threshold can be set based on various power supply parameters and temperature parameters in the working state of the system.
  • the undervoltage threshold on the power supply side may be lower than the input/output voltage of the power management unit 12 in the working state of the system. A specific voltage value or a specific percentage.
  • the overcurrent threshold on the power supply side may be a specific current value or a specific percentage higher than the operating current of the power management unit 12 in the system working state.
  • the corresponding threshold for detecting abnormal power supply is different from the aforementioned shutdown threshold. It can be understood that the abnormal power supply threshold has a certain margin compared with the shutdown threshold, so that the detected abnormal power supply will not trigger power management. Unit 12 is powered off.
  • the power supply abnormality information may include information indicating that a low voltage phenomenon occurs on the power supply side of the system 1.
  • the abnormality detection unit 1022 compares the input/output voltage of the power management unit 12 received from the transceiver unit 106a with the undervoltage threshold, and if the input/output voltage is lower than the undervoltage threshold, the abnormality detection unit 1022 generates undervoltage abnormal information .
  • the power supply abnormality information may also include information indicating that the power supply side of the system 1 has excessive current, excessive power consumption, or excessive current and excessive power consumption.
  • the abnormality detection unit 1022 compares the operating current and power consumption of the power management unit 12 received from the transceiver unit 106a with the overcurrent threshold and the high power consumption threshold, respectively. If the operating current is greater than the overcurrent threshold and the power consumption is greater than the high power consumption, If the threshold value, or both the operating current and the power consumption are greater than the threshold value, the abnormality detection unit 1022 generates corresponding power supply abnormality information.
  • the abnormality detection unit 1022 receives the operating current and output voltage of the power management unit 12 from the transceiver unit 106a, and detects the power consumption according to the operating current and voltage, or according to the overcurrent threshold and the overvoltage threshold. Check whether the power consumption is too large.
  • the power supply abnormality information may further include information indicating that the temperature of the power supply side and/or the load side of the system 1 is too high or too low.
  • the abnormality detection unit 1022 compares the temperature information of the system 1 received from the transceiver unit 106a with a temperature threshold, where the temperature information may include at least one of the temperature of the power management unit 12, the temperature of the motherboard, or the temperature of the system on chip 14 ,
  • the temperature threshold may include at least one of thresholds corresponding to various temperature information.
  • the temperature information may include a weighted average of the temperature of the power management unit 12, the temperature of the motherboard or the temperature of the system on chip 14, and the temperature threshold may include a corresponding temperature threshold corresponding to the averaged temperature.
  • the abnormality detection unit 1022 compares the received temperature information with a low temperature threshold or a high temperature threshold. If the temperature is lower than the low temperature threshold, the abnormality detection unit 1022 generates low temperature abnormality information, and if the temperature is higher than the high temperature threshold, generates high temperature abnormality information.
  • the abnormality detection device 102 optionally includes an abnormality encoding unit 1024.
  • an abnormality encoding unit 1024 For the description of the abnormal coding unit 1024, reference may be made to the related descriptions of FIGS. 1a-1d, which will not be repeated here.
  • the abnormality detection device 102 may further include one or more units in the abnormality processing device 104 shown in FIGS. 1a-1d and 2b-2d.
  • the exception handling device 104 is described below with reference to FIGS. 2b-2d.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • Figure 2b shows a block diagram of another example power supply protection device that can implement one or more of the features described herein.
  • the power supply protection device shown in FIGS. 2b-2d is the abnormality handling device 104.
  • the abnormality handling device 104 sends a control signal according to the power supply abnormality information, and sends the control signal to the parameter adjustment device/module of the system 1 through the transceiver unit 106b, so that the system can pass the temperature
  • the parameter adjustment devices/modules of adjustment 211, voltage adjustment 212, load performance adjustment 213, current adjustment 214, and power consumption adjustment 215 adjust the corresponding working parameters of the system to prevent the system 1 from restarting or shutting down due to abnormal power supply.
  • the abnormal power supply information includes various examples of abnormal power supply information listed in the foregoing description of FIGS. 1a-1d and 2a.
  • various power supply abnormalities or combinations of abnormalities in the system can be adjusted by one or more adjustment devices/modules. For example, when the temperature is abnormal and the temperature is too high, you can reduce the system load, reduce the operating frequency, reduce the operating voltage, limit the system power consumption, or trigger the system to cool down physically; when the temperature is too low, you can increase the system load and change Working frequency, increasing working voltage, increasing system power consumption, can also trigger the system to physically heat up.
  • the abnormality processing unit 1042 sends a control signal to reduce the operating frequency of the load side of the system 1 and then reduce the operating voltage of the load side.
  • the amplitude of reducing the frequency and voltage is preset according to the working requirements of the system. For example, frequency reduction and voltage reduction can be performed for large load modules on the load side, such as CPU, GPU, multimedia, AI processor, etc., and voltage reduction is performed after the frequency reduction is completed.
  • the abnormality processing unit 1042 may also issue a reduction in the operating frequency of the load side of the system 1, and then reduce the load side The control signal of the working voltage.
  • the abnormality processing unit 1042 may send a variety of control signals according to the phenomenon of low temperature on the power supply side and/or the load side, including: increasing the output voltage of the power supply side, reducing the operating frequency of the load side, and increasing the power supply side. Increase the output voltage and reduce the operating frequency on the load side, and/or increase the temperature on the load side.
  • the abnormality processing unit 1042 may send various control signals, including: reducing the operating frequency of the load side and then reducing the operating voltage of the load side, and/or Reduce the temperature on the load side.
  • the increase and decrease of the frequency and voltage can be implemented by transmitting the control signal to the processor 142, or can be implemented by directly transmitting the control signal to the CRG 144 and the power management unit 12.
  • the temperature increase and decrease are implemented by transmitting control signals to the processor 142.
  • the above-mentioned various power supply abnormalities may be prioritized, and the power supply abnormalities may be further processed according to the priority.
  • the priority from high to low is as follows: overcurrent and/or excessive power consumption abnormalities, this scenario often occurs during normal work, and the probability of occurrence is the greatest; undervoltage abnormalities, this scenario is when the power supply voltage is low (For example, when the battery voltage is low), it has a relatively large impact on the system; high temperature is abnormal, this scenario requires the system to work under high load for a certain period of time, which causes the temperature to rise, and the temperature rise time is from a few hundred milliseconds to the second The speed of voltage, current, and power consumption changes is slow; the last is low temperature abnormality.
  • This scenario generally occurs when the ambient temperature changes, and the working temperature drops from normal temperature to low temperature for at least seconds.
  • a system with a power supply protection device is compared with an existing system without the device, for example, in the same low-temperature scenario, even if the battery capacity of the system described herein is more than 10% lower than that of the existing system. %, you can also keep the system running without shutting down. In the test, the existing system shuts down at -10°C and at 18% power, while the system with the power supply protection device shuts down at -10°C and 9% power.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • FIG. 3 shows a flowchart of an example method 300 of power supply protection according to some embodiments.
  • the method 300 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d.
  • some or all of the method 500 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d.
  • different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 300.
  • the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
  • the power supply abnormality information is encoded and decoded.
  • a control signal is generated to reduce the frequency of the load-side device of the electronic equipment, and then reduce the output voltage of the power-supply-side device according to the power supply abnormal information indicating that the power supply side device in the working state of the electronic device is under-voltage.
  • a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the parameter adjuster includes the processor 142, the CRG 144, or the control circuit of the power management unit 12.
  • control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection.
  • the CRG 144 After the CRG 144 receives the control signal, it will respond to heavy load modules such as CPU, GPU, multimedia, AI processor, etc. on the load side. Perform frequency reduction processing.
  • the power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
  • the amplitude of reducing the frequency and voltage is preset according to the working requirements of the system.
  • the hardware connection directly sends control signals to the CRG 144 and the power management unit 12 to handle the power supply abnormality, which can achieve rapid response to the power supply abnormality. For example, directly using the CRG 144 frequency reduction can achieve a response speed of nanoseconds, and the power management unit 12 can achieve a response speed of microseconds.
  • control signal may be transmitted to the processor 142, and the processor 142 executes an interrupt after receiving the control signal, and then invokes the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
  • the operating frequency and the output voltage can be adjusted more flexibly and carefully, so that the processing of the abnormal power supply is more accurate and flexible.
  • the difference between the input/output voltage of the undervoltage of the power management unit 12 and the shutdown voltage threshold of the power management unit 12 is greater than a predetermined value. Greater than the predetermined value, it can be considered that the margin between the undervoltage input/output voltage and the shutdown voltage threshold is large, and the shutdown risk is low; if the difference is less than the predetermined value, it can be considered that the input/output voltage and the shutdown voltage threshold are different The margin is small and the shutdown risk is high.
  • the predetermined value can be preset by factors such as system work requirements and work environment.
  • the control signal may be transmitted to the processor 142,
  • the processor 142 executes an interrupt after receiving the control signal, and then calls the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
  • the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will affect the load side such as CPU, GPU, multimedia, AI processor, etc.
  • the load module performs frequency reduction processing.
  • the power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
  • the control signal can be first transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the corresponding frequency reduction and voltage reduction operations are completed, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
  • the system can be effectively prevented from shutting down without affecting the operation of the system as much as possible.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • FIG. 4 shows a flowchart of an example method 400 of power supply protection according to some embodiments.
  • the method 400 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d.
  • some or all of the method 400 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d.
  • different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 400.
  • the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
  • the power supply abnormality information is encoded and decoded.
  • a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the parameter adjuster includes the processor 142, the CRG 144, or the control circuit of the power management unit 12.
  • control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection.
  • the CRG 144 After the CRG 144 receives the control signal, it will respond to heavy load modules such as CPU, GPU, multimedia, AI processor, etc. on the load side. Perform frequency reduction processing.
  • the power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
  • the amplitude of reducing the frequency and voltage is preset according to the working requirements of the system.
  • the hardware connection directly sends control signals to the CRG 144 and the power management unit 12 to handle the power supply abnormality, which can achieve rapid response to the power supply abnormality. For example, directly using the CRG 144 frequency reduction can achieve a response speed of nanoseconds, and the power management unit 12 can achieve a response speed of microseconds.
  • control signal may be transmitted to the processor 142, and the processor 142 executes an interrupt after receiving the control signal, and then invokes the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
  • the operating frequency and the output voltage can be adjusted more flexibly and carefully, so that the processing of the abnormal power supply is more accurate and flexible.
  • the predetermined value can be preset by factors such as system work requirements and work environment.
  • the control signal can be transmitted to the processor 142.
  • the processor 142 executes an interrupt after receiving the control signal, and then calls the system's power supply control application to the load module. Perform frequency reduction and reduce the output voltage of the power management unit 12. If the difference is less than the predetermined value, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection.
  • the load module performs frequency reduction processing.
  • the power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
  • the control signal may be transmitted through the hardware connection first.
  • the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
  • the system can be effectively prevented from shutting down without affecting the operation of the system as much as possible.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • FIG. 5 shows a flowchart of an example method 500 of power supply protection according to some embodiments.
  • the method 500 is implemented on an electronic device, for example, on the system 1 shown in FIGS. 1a-1d.
  • some or all of the method 500 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d.
  • different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 500.
  • the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
  • the power supply abnormality information is encoded and decoded.
  • a control signal for increasing the output voltage of the power supply side device is generated to reduce the load side device. At least one of a control signal for the frequency of the device, a control signal for increasing the output voltage of the power supply side device and lowering the frequency of the load side device, and a control signal for increasing the temperature of the load side device.
  • a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the means of reducing the operating frequency of the load side and increasing/decreasing the output voltage of the power supply side can be referred to the description in the above method implementation, which will not be repeated here.
  • Increasing/decreasing the temperature on the load side can control the main board and the system-on-chip 14 and cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) or heating equipment on the load/power supply side through software or hardware.
  • cooling equipment for example, air-cooled, water-cooled or oil-cooled equipment, etc.
  • heating equipment on the load/power supply side through software or hardware.
  • the predetermined value can be preset by factors such as system work requirements and work environment.
  • the control signal may be transmitted to the processor 142, and the processor 142 may execute an interrupt after receiving the control signal, and then Invoke the power supply control application of the system to reduce the frequency of the load module and/or increase the output voltage of the power management unit 12. While performing the above operations or alternatively, the processor 142 sends a temperature increase signal to the temperature regulator after receiving the control signal. After receiving the instruction, the temperature regulator controls the heating device to heat the power supply side and/or the load side.
  • the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection.
  • the CRG 144 After the CRG 144 receives the control signal, it will affect the load side such as CPU, GPU, multimedia, AI processor, etc.
  • the load module performs frequency reduction processing.
  • the power management unit 12 After receiving the control signal, the power management unit 12 increases the output voltage, thereby increasing the working voltage on the load side.
  • the control signal can be transmitted to the temperature regulator through the hardware connection, and after receiving the signal, the temperature regulator controls the heating device to heat the power supply side and/or the load side.
  • the control signal can be transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection first, and then the corresponding frequency reduction is completed. After the voltage increase or temperature increase operation, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage increased through the power supply control application.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • FIG. 6 shows a flowchart of an example method 600 of power supply protection according to some embodiments.
  • the method 600 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d.
  • some or all of the method 600 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d.
  • different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 600.
  • the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
  • the power supply abnormality information is encoded and decoded.
  • a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  • the means of reducing the operating frequency of the load side and increasing/decreasing the output voltage of the power supply side can be referred to the description in the above method implementation, which will not be repeated here.
  • Increasing/decreasing the temperature on the load side can control the main board and the system-on-chip 14 and cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) or heating equipment on the load/power supply side through software or hardware.
  • cooling equipment for example, air-cooled, water-cooled or oil-cooled equipment, etc.
  • heating equipment on the load/power supply side through software or hardware.
  • the control signal may be transmitted to the processor 142, and the processor 142 may execute an interrupt after receiving the control signal, and then Invoke the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
  • the processor 142 receives the control signal and sends an instruction to reduce the temperature to the temperature regulator, After receiving the instruction, the temperature regulator controls the cooling equipment to cool down the power supply side and/or the load side.
  • the control signal can be transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection.
  • the CRG 144 receives the control signal, it processes the CPU, GPU, multimedia, and AI on the load side.
  • the heavy load module such as the device performs frequency reduction processing.
  • the power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module. While performing the above operations or alternatively, the control signal can be transmitted to the temperature regulator through the hardware connection, and after receiving the signal, the temperature regulator controls the cooling device to cool the power supply side and/or the load side.
  • the control signal can be first transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection, and the corresponding frequency reduction is completed. After the voltage reduction or temperature reduction operation, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
  • the main board and the system on chip 14 and the cooling equipment can be controlled by software or hardware to perform physical cooling.
  • the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
  • the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios.
  • the system of the equipment maintains lower voltage operation without shutting down.
  • the device 700 may include one or more processors 702.
  • the device 700 may also include a memory 704 and a communication interface 706 coupled to the processor 702.
  • the memory may be integrated in the processor.
  • the processor 702 may include one or more single-core or multi-core processors.
  • the processor 702 may include any combination of a general-purpose processor and a special-purpose processor (for example, a graphics processor, an application processor, a baseband processor, etc.).
  • the processor 702 may be configured to execute one or more embodiments according to the various embodiments shown in FIGS. 3-6.
  • the memory 704 may be used to load and store, for example, data and/or instructions for the device 700.
  • the memory 704 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
  • DRAM dynamic random access memory
  • the memory 704 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions.
  • the memory 704 may include, but is not limited to, a non-transitory tangible arrangement of objects manufactured or formed by machines or equipment, which includes storage media, such as hard disks, any other types of disks, including floppy disks, optical disks, compact disk read-only memory (CD-ROM), compact disk rewritable (CD-RW) and magneto-optical disk; semiconductor devices such as read only memory (ROM), such as dynamic random access memory (DRAM) and static random access memory (SRAM) Random access memory (RAM), erasable programmable read-only memory (EPROM), flash memory, electrically erasable programmable read-only memory (EEPROM); phase change memory (PCM); magnetic or optical card; or Any other type of medium suitable for storing electronic instructions.
  • ROM read only memory
  • DRAM dynamic random access memory
  • SRAM static random access memory
  • RAM erasable programmable read
  • the memory 704 may contain instructions or contain design data, such as a hardware description language (HDL), which defines the structures, circuits, devices, processors, and/or system features described herein. These embodiments are also called program products.
  • HDL hardware description language
  • the memory 704 may include storage resources that are physically part of the installation device 700, or it may be accessed by the device 700, but not necessarily a part of the device 700.
  • the storage 704 can be accessed through the network via the communication interface 706.
  • the memory 704 may specifically include temporary or permanent copies of instructions.
  • the instructions may include instructions that, when executed by at least one processor 702, cause the device 700 to implement the power supply protection method described with reference to FIGS. 3-6.
  • the communication interface 706 may include any transceiving unit as shown in FIGS. 1a-2d to provide a signal transmission interface for the device 700.
  • Program code can be applied to input instructions to perform the functions described herein and generate output information.
  • the output information can be applied to one or more output devices in a known manner.
  • a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • the program code can be implemented in a high-level programming language or an object-oriented programming language to communicate with the processing system.
  • assembly language or machine language can also be used to implement the program code.
  • the mechanisms described in this article are not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.
  • IP cores can be stored on a tangible computer-readable storage medium and provided to multiple customers or production facilities to be loaded into the manufacturing machine that actually manufactures the logic or processor.
  • the instruction converter can be used to convert instructions from the source instruction set to the target instruction set.
  • the instruction converter may transform (for example, use static binary transformation, dynamic binary transformation including dynamic compilation), deform, emulate, or otherwise convert the instruction into one or more other instructions to be processed by the core.
  • the instruction converter can be implemented by software, hardware, firmware, or a combination thereof.
  • the instruction converter may be on the processor, off the processor, or part on the processor and part off the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Protection Of Static Devices (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Power Sources (AREA)

Abstract

A power supply protection method, and a system with a power supply protection function. The system comprises: a transmitting-receiving unit (106) and an abnormality detection unit (1022), wherein the transmitting-receiving unit (106) receives measurement information in various parameters for an electronic device in a working state, and the measurement information is obtained, by means of the transmitting-receiving unit (106), from a sensor located in at least one of a power supply side apparatus and a load side apparatus of the electronic device; and the abnormality detection unit (1022) detects, by means of respectively comparing the measurement information received by the transmitting-receiving unit (106) with corresponding threshold values and according to a comparison result, whether an abnormality occurs in the electronic device, and generates, in the case where it is detected that an abnormality occurs in the electronic device, corresponding power supply abnormality information to indicate that there is a power supply abnormality phenomenon related to at least one parameter of at least two parameters in the electronic device. The present method and system can comprehensively and accurately determine a power supply abnormality of the system, and can provide power supply protection more accurately, such that the system of the electronic device keeps running without shutting down in scenarios of a low temperature, a low voltage, a high current, etc.

Description

供电保护方法和具有供电保护功能的系统Power supply protection method and system with power supply protection function 技术领域Technical field
本申请的一个或多个实施例通常涉及电子设备的供电保护领域,具体涉及一种供电保护方法和具有供电保护功能的系统。One or more embodiments of the present application generally relate to the field of power supply protection of electronic equipment, and specifically relate to a power supply protection method and a system with a power supply protection function.
背景技术Background technique
当今,随着电子设备的系统负载增加,例如,手机运行应用的负载在快速增加的趋势,电子设备的高负载场景,低压大电流场景会越来越多。Nowadays, as the system load of electronic devices increases, for example, the load of mobile phone applications is rapidly increasing, and there will be more and more high-load scenarios, low-voltage and high-current scenarios of electronic devices.
现有技术中,通常通过电源管理单元(Power Management Unit,简称PMU)/电源管理集成电路(Power Management Integrated Circuit,简称PMIC)为电子设备提供供电保护,其中,PMIC是对PMU高度集成的集成电路芯片。PMU一般通过欠/过压、过流、过温等保护电路进行供电异常的处理,达到保护电子设备的目的。当出现上述异常时,保护电路一般会使PMU停止提供电源,导致电子设备的重启或关机。In the prior art, a power management unit (PMU)/power management integrated circuit (PMIC) is usually used to provide power supply protection for electronic equipment. Among them, PMIC is an integrated circuit that highly integrates the PMU. chip. PMU generally uses protection circuits such as under/overvoltage, overcurrent, and overtemperature to handle abnormal power supply to protect electronic equipment. When the above-mentioned abnormality occurs, the protection circuit generally causes the PMU to stop providing power, causing the electronic device to restart or shut down.
一些现有技术通过判断电池的温度,来处理电子设备的大电流场景。但是现有技术通过检测温度判断电子设备是否正在大电流状态下工作,实时性不够高,对供电异常的响应速度较慢,在一些情况下,由于供电异常处理可能不及时,导致PMU的保护电路介入,从而使得系统重启或关机。其次,现有技术通过检测电池温度来判断供电异常,由于只使用单维度信息判断供电异常,容易形成供电保护方案的过度设计,从而导致过度保护。例如,在低温场景下,由于电池内阻变高,导致电池电压下降,如果仅从温度维度判断供电异常,很有可能判断为欠压异常,但是在电池电量充足时,可能并不会发生欠压异常,此时,如果根据欠压异常的判断进行供电保护,便会造成过度保护。Some existing technologies deal with high current scenarios of electronic devices by judging the temperature of the battery. However, the prior art judges whether the electronic device is working under a high current state by detecting the temperature. The real-time performance is not high enough, and the response speed to the abnormal power supply is slow. In some cases, the processing of the abnormal power supply may not be timely, resulting in the protection circuit of the PMU. Intervene to restart or shut down the system. Secondly, the prior art judges power supply abnormality by detecting the battery temperature. Since only one-dimensional information is used to determine the power supply abnormality, it is easy to form an overdesign of the power supply protection scheme, resulting in overprotection. For example, in a low temperature scenario, the battery voltage drops due to the high internal resistance of the battery. If the abnormal power supply is judged only from the temperature dimension, it is likely to be judged as an abnormal undervoltage, but when the battery is fully charged, the undervoltage may not occur. If the power supply protection is performed according to the judgment of the under-voltage abnormality, it will cause over-protection.
发明内容Summary of the invention
本申请的一些实施方式提供了一种供电保护方法和具有供电保护功能的系统。以下从多个方面介绍本申请,以下多个方面的实施方式和有益效果可互相参考。Some embodiments of the present application provide a power supply protection method and a system with power supply protection function. The following describes the application from multiple aspects, and the implementation and beneficial effects of the following multiple aspects can be referred to each other.
第一方面,本申请的实施方式提供了一种具有供电保护功能的系统,该系统包括收发单元和检测单元,收发单元用于接收针对电子设备在工作状态下的多种参数中的测量信息,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,多种参数包括:电流、电压、功耗、频率以及温度,其中所述测量信息包括多种参数中的至少两种参数的测量结果。检测单元,用于通过将所述收发单元接收到的所述测量信息分别与对应的阈值相比较,根据比较结果来检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成相应的供电异常信息以指示所述电子设备存在与所述至少两种参数中的至少一种参数相关的供电异常现象。In the first aspect, the embodiments of the present application provide a system with power supply protection function. The system includes a transceiving unit and a detection unit. The transceiving unit is used to receive measurement information on various parameters of the electronic device under working conditions. The measurement information is obtained from the sensor located in at least one of the power supply side device and the load side device of the electronic equipment through the transceiver unit. Various parameters include: current, voltage, power consumption, frequency, and temperature. The measurement information includes multiple Measurement results of at least two of these parameters. The detection unit is configured to compare the measurement information received by the transceiving unit with corresponding thresholds, and detect whether the electronic device is abnormal according to the comparison result, and when the electronic device is detected to be abnormal In this case, corresponding power supply abnormality information is generated to indicate that the electronic device has a power supply abnormality related to at least one of the at least two parameters.
根据本申请的实施方式,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。According to the implementation of the present application, by detecting various power supply related parameters of the electronic equipment system in the working state, it is possible to comprehensively and accurately determine the power supply abnormality of the system, to provide power supply protection more accurately, and to avoid using only single dimension The information judges that the power supply is abnormal and avoids the formation of over-design of the power supply protection scheme, resulting in over-protection.
在一些实施方式中,供电异常信息可以包括指示所述电子设备的供电侧装置出现所述电压过低现象的信息。In some embodiments, the power supply abnormality information may include information indicating that the undervoltage phenomenon occurs in the power supply side device of the electronic device.
在一些实施方式中,供电异常信息还可以包括指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象的信息。In some embodiments, the power supply abnormality information may further include an indication that the current is too high in the power supply side device of the electronic device, the power consumption of the power supply side device is too large, or the current flow of the power supply side device is too large. Information about the phenomenon of excessive power consumption.
在一些实施方式中,供电异常信息还可以包括指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高或者过低现象的信息。In some embodiments, the power supply abnormality information may further include information indicating that at least one of the power supply side device and the load side device of the electronic device has the phenomenon of excessively high or low temperature.
在一些实施方式中,该系统还包括处理单元,处理单元根据上述各种供电异常信息,发出相应的控制信号以控制所述电子设备调节所述多种参数中的至少一种参数。In some embodiments, the system further includes a processing unit, which sends corresponding control signals to control the electronic device to adjust at least one of the multiple parameters according to the various power supply abnormal information described above.
在一些实施方式中,要调节的至少一种参数包括所述频率和所述电压。In some embodiments, the at least one parameter to be adjusted includes the frequency and the voltage.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。In some embodiments, the processing unit may further indicate that the voltage is too low on the power supply side device of the electronic device according to the power supply abnormality information, and send a reduction in the frequency of the load side device of the electronic device, and then The control signal for reducing the output voltage of the power supply side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device The phenomenon that the current is too large and the power consumption is too large, sends out the control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,发出提高所述供电侧装置的输出电压的所述控制信号,降低所述负载侧装置的所述频率的所述控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的所述控制信号,和,提高所述负载侧装置的所述温度的所述控制信号中的至少一个。In some embodiments, the processing unit may further indicate that at least one of the power supply-side device and the load-side device of the electronic equipment has the phenomenon that the temperature is too low according to the power supply abnormality information, and issue an increase in the power supply side device. The control signal of the output voltage, the control signal of reducing the frequency of the load-side device, increasing the output voltage of the power supply-side device, and reducing the frequency of the load-side device Signal, and, at least one of the control signal to increase the temperature of the load-side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中至少一个出现所述温度过高的现象,发出降低所述负载侧装置的所述频率然后降低所述供电侧装置的输出电压的所述控制信号,和降低所述负载侧装置的所述温度的所述控制信号中的至少一个。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that at least one of the power supply side device and the load side device of the electronic equipment has the over-temperature phenomenon, and send out a reduction in the load side device. The frequency then reduces at least one of the control signal to lower the output voltage of the power supply side device, and the control signal to lower the temperature of the load side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,判断所述供电侧装置的所述电压与所述供电侧装置的关机电压阈值的差值是否大于预定值;如果所述差值大于所述预定值,则向所述电子设备的负载侧装置的处理器发送所述控制信号,以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的时钟复位发生器(CRG)发出降低所述频率的所述控制信号,以及向所述供电侧装置的电源管理单元(PMU)发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响 应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further indicate that the voltage is too low in the power supply side device of the electronic equipment according to the power supply abnormality information, and determine that the voltage of the power supply side device and the power supply side device Whether the difference between the shutdown voltage thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt In order to execute instructions to reduce the frequency of the load-side device and reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the load-side device clock reset generator (CRG ) Send the control signal to lower the frequency, and send the control signal to lower the output voltage to the power management unit (PMU) of the power supply side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle power supply abnormalities, which can achieve rapid response to power supply abnormalities. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,判断所述电子设备的供电侧装置的工作电流和所述功耗中的至少一个与所述供电侧装置的关机电流阈值和关机功耗阈值中的至少一个的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device If the current is too large and the power consumption is too large, it is determined that at least one of the operating current and the power consumption of the power supply side device of the electronic equipment is related to the shutdown current threshold and shutdown power consumption of the power supply side device Whether the difference of at least one of the thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt to perform the reduction The frequency of the load-side device and an instruction to reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the CRG of the load-side device is issued the instruction to reduce the frequency A control signal and the control signal for reducing the output voltage to the PMU of the power supply side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行提高所述供电侧装置的输出电压,降低所述负载侧装置的所述频率和提高所述负载侧装置的所述温度的指令中的至少一个;如果所述差值小于预定值,则向所述供电侧装置的PMU发出提高所述输出电压的所述控制信号,向所述负载侧装置的CRG发出降低所述频率的所述控制信号,和向所述负载侧装置的温度调节器发出提高所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further determine that the temperature is too low in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormality information, and determine that the power supply side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device A control signal to interrupt the processor to execute at least one of an instruction to increase the output voltage of the power supply side device, reduce the frequency of the load side device, and increase the temperature of the load side device; If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的 输出电压,和降低所述负载侧装置的所述温度的指令中的至少一个;如果所述差值小于所述预定值,则向所述电子设备的所述负载侧装置的CRG发出降低所述频率的所述控制信号,向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号,和向所述负载侧装置的温度调节器发出降低所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further determine that the temperature is too high in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormal information Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device Control signals to interrupt the processor to execute at least one of instructions to reduce the frequency of the load-side device, reduce the output voltage of the power supply-side device, and reduce the temperature of the load-side device If the difference is less than the predetermined value, send the control signal to reduce the frequency to the CRG of the load-side device of the electronic device, and send the PMU of the power supply side device to reduce the output At least one of the control signal for voltage and the control signal for lowering the temperature to a temperature regulator of the load side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,在所述供电异常信息指示存在与所述至少两种参数相关的供电异常现象的情况下,按照供电异常发生几率、对系统的影响程度和发生的快慢来确定优先级,具体根据下列优先级来处理所述供电异常信息:与所述电流过大和所述功耗过大中的至少一个相关的所述优先级高于与所述电压过低相关的所述优先级;与所述电压过低相关的所述优先级高于与所述温度过高相关的所述优先级;以及与所述温度过高相关的所述优先级高于与所述温度过低相关的所述优先级。In some embodiments, when the power supply abnormality information indicates that there is a power supply abnormality related to the at least two parameters, the priority is determined according to the probability of the power supply abnormality, the degree of influence on the system, and the speed of occurrence, The power supply abnormality information is specifically processed according to the following priority: the priority related to at least one of the excessive current and the excessive power consumption is higher than the priority related to the undervoltage; The priority related to the excessively low voltage is higher than the priority related to the excessively high temperature; and the priority related to the excessively high temperature is higher than the priority related to the excessively low temperature The priority.
在一些实施方式中,该系统还包括编码单元和解码单元,在生成供电异常信息后编码单元将所述供电异常信息编码,产生经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后,解码单元进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the system further includes an encoding unit and a decoding unit. After generating the power supply abnormal information, the encoding unit encodes the power supply abnormal information to generate the encoded power supply abnormal information, and then the encoded power supply abnormal information After transmitting other modules of the electronic device, the decoding unit decodes to obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,该系统包括所述电子设备的PMU、SOC或主板。In some embodiments, the system includes the PMU, SOC, or main board of the electronic device.
第二方面,本申请提供了一种具有供电保护功能的系统,该系统包括,处理单元和收发单元,其中,处理单元用于根据供电异常信息,发出控制信号以控制电子设备调节多种参数中的至少一种参数,供电异常信息是通过将接收到的测量信息分别与对应的阈值相比较而获得的,测量信息包括对所述电子设备在工作状态下的所述多种参数中的至少两种参数的测量结果,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,所述多种参数包括:电流、电压、功耗、频率以及温度。收发单元向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。In the second aspect, the present application provides a system with power supply protection function. The system includes a processing unit and a transceiver unit. The processing unit is used to send control signals to control electronic equipment to adjust various parameters based on abnormal power supply information. The power supply abnormality information is obtained by comparing the received measurement information with corresponding threshold values, and the measurement information includes at least two of the multiple parameters of the electronic device in the working state. The measurement results of various parameters are obtained from the sensor located in at least one of the power supply side device and the load side device of the electronic equipment through the transceiver unit, and the multiple parameters include: current, voltage, power consumption, frequency, and temperature . The transceiver unit sends the control signal to a parameter adjuster of at least one of the power supply side device and the load side device.
在本申请的实施方式中,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。In the embodiments of the present application, by detecting various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided. Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
在一些实施方式中,供电异常信息可以包括指示所述电子设备的供电侧装置出现所述电压过低现象的信息。In some embodiments, the power supply abnormality information may include information indicating that the undervoltage phenomenon occurs in the power supply side device of the electronic device.
在一些实施方式中,供电异常信息还可以包括指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象的信息。In some embodiments, the power supply abnormality information may further include an indication that the current is too high in the power supply side device of the electronic device, the power consumption of the power supply side device is too large, or the current flow of the power supply side device is too large. Information about the phenomenon of excessive power consumption.
在一些实施方式中,供电异常信息还可以包括指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高或者过低现象的信息。In some embodiments, the power supply abnormality information may further include information indicating that at least one of the power supply side device and the load side device of the electronic device has the phenomenon of excessively high or low temperature.
在一些实施方式中,该系统还包括检测单元,检测单元将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象。In some embodiments, the system further includes a detection unit, which compares the received measurement information with corresponding thresholds, detects whether the electronic device is abnormal, and detects that the electronic device is abnormal. In the case of, the power supply abnormality information is generated to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
在一些实施方式中,要调节的至少一种参数包括所述频率和所述电压。In some embodiments, the at least one parameter to be adjusted includes the frequency and the voltage.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。In some embodiments, the processing unit may further indicate that the voltage is too low on the power supply side device of the electronic device according to the power supply abnormality information, and send a reduction in the frequency of the load side device of the electronic device, and then The control signal for reducing the output voltage of the power supply side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,判断所述供电侧装置的所述电压与所述供电侧装置的关机电压阈值的差值是否大于预定值;如果所述差值大于所述预定值,则向所述电子设备的负载侧装置的处理器发送所述控制信号,以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的时钟复位发生器(CRG)发出降低所述频率的所述控制信号,以及向所述供电侧装置的电源管理单元(PMU)发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further indicate that the voltage is too low in the power supply side device of the electronic equipment according to the power supply abnormality information, and determine that the voltage of the power supply side device and the power supply side device Whether the difference between the shutdown voltage thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt In order to execute instructions to reduce the frequency of the load-side device and reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the load-side device clock reset generator (CRG ) Send the control signal to lower the frequency, and send the control signal to lower the output voltage to the power management unit (PMU) of the power supply side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device The phenomenon that the current is too large and the power consumption is too large, sends out the control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,判断所述电子设备的供电侧装置的工作电流和所述功耗中的至少一个与所述供电侧装置的关机电流阈值和关机功耗阈值中的至少一个的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异 常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that the power supply side device of the electronic device has the excessive current, the power consumption of the power supply side device is too large, or the power supply side device If the current is too large and the power consumption is too large, it is determined that at least one of the operating current and the power consumption of the power supply side device of the electronic equipment is related to the shutdown current threshold and shutdown power consumption of the power supply side device Whether the difference of at least one of the thresholds is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt to perform the reduction The frequency of the load-side device and an instruction to reduce the output voltage of the power-supply-side device; if the difference is less than the predetermined value, the CRG of the load-side device is issued the instruction to reduce the frequency A control signal and the control signal for reducing the output voltage to the PMU of the power supply side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and power management unit through the hardware connection to handle power supply abnormalities, which can achieve rapid response to power supply abnormalities. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,发出提高所述供电侧装置的输出电压的所述控制信号,降低所述负载侧装置的所述频率的所述控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的所述控制信号,和,提高所述负载侧装置的所述温度的所述控制信号中的至少一个。In some embodiments, the processing unit may further indicate that at least one of the power supply-side device and the load-side device of the electronic equipment has the phenomenon that the temperature is too low according to the power supply abnormality information, and issue an increase in the power supply side device. The control signal of the output voltage, the control signal of reducing the frequency of the load-side device, increasing the output voltage of the power supply-side device, and reducing the frequency of the load-side device Signal, and, at least one of the control signal to increase the temperature of the load-side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行提高所述供电侧装置的输出电压,降低所述负载侧装置的所述频率和提高所述负载侧装置的所述温度的指令中的至少一个;如果所述差值小于预定值,则向所述供电侧装置的PMU发出提高所述输出电压的所述控制信号,向所述负载侧装置的CRG发出降低所述频率的所述控制信号,和向所述负载侧装置的温度调节器发出提高所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further determine that the temperature is too low in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormality information, and determine that the power supply side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device A control signal to interrupt the processor to execute at least one of an instruction to increase the output voltage of the power supply side device, reduce the frequency of the load side device, and increase the temperature of the load side device; If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中至少一个出现所述温度过高的现象,发出降低所述负载侧装置的所述频率然后降低所述供电侧装置的输出电压的所述控制信号,和降低所述负载侧装置的所述温度的所述控制信号中的至少一个。In some embodiments, the processing unit may further indicate, according to the power supply abnormality information, that at least one of the power supply side device and the load side device of the electronic equipment has the over-temperature phenomenon, and send out a reduction in the load side device. The frequency then reduces at least one of the control signal to lower the output voltage of the power supply side device, and the control signal to lower the temperature of the load side device.
在一些实施方式中,处理单元还可以根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压,和降低所述负载侧装置的所述温度的指令中的至少一个;如果所述差值小于所述预定值,则向所述电子设备的所述负载侧装置的CRG发出降低所述频率的所述控制信号,向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号,和向所述负载侧装置的温度调节器发出降低所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送 控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。In some embodiments, the processing unit may further determine that the temperature is too high in at least one of the power supply side device and the load side device of the electronic equipment according to the power supply abnormal information Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, send the said temperature to the processor of the load side device Control signals to interrupt the processor to execute at least one of instructions to reduce the frequency of the load-side device, reduce the output voltage of the power supply-side device, and reduce the temperature of the load-side device If the difference is less than the predetermined value, send the control signal to reduce the frequency to the CRG of the load-side device of the electronic device, and send the PMU of the power supply side device to reduce the output At least one of the control signal for voltage and the control signal for lowering the temperature to a temperature regulator of the load side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle power supply abnormalities, which can achieve rapid response to power supply abnormalities. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
在一些实施方式中,在所述供电异常信息指示存在与所述至少两种参数相关的供电异常现象的情况下,按照供电异常发生几率、对系统的影响程度和发生的快慢来确定优先级,具体根据下列优先级来处理所述供电异常信息:与所述电流过大和所述功耗过大中的至少一个相关的所述优先级高于与所述电压过低相关的所述优先级;与所述电压过低相关的所述优先级高于与所述温度过高相关的所述优先级;以及与所述温度过高相关的所述优先级高于与所述温度过低相关的所述优先级。In some embodiments, when the power supply abnormality information indicates that there is a power supply abnormality related to the at least two parameters, the priority is determined according to the probability of the power supply abnormality, the degree of influence on the system, and the speed of occurrence, The power supply abnormality information is specifically processed according to the following priority: the priority related to at least one of the excessive current and the excessive power consumption is higher than the priority related to the undervoltage; The priority related to the excessively low voltage is higher than the priority related to the excessively high temperature; and the priority related to the excessively high temperature is higher than the priority related to the excessively low temperature The priority.
在一些实施方式中,该系统还包括编码单元和解码单元,在生成供电异常信息后编码单元将所述供电异常信息编码,产生经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后,解码单元进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the system further includes an encoding unit and a decoding unit. After generating the power supply abnormal information, the encoding unit encodes the power supply abnormal information to generate the encoded power supply abnormal information, and then the encoded power supply abnormal information After transmitting other modules of the electronic device, the decoding unit decodes to obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,该系统包括所述电子设备的PMU、SOC或主板。In some embodiments, the system includes the PMU, SOC, or main board of the electronic device.
第三方面,本申请提供一种供电保护方法,该方法包括根据指示电子设备在工作状态下的供电侧装置出现电压过低的供电异常信息,生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号,其中电子设备可以包括常见的消费电子产品,也可以包括工业控制产品和车辆内部的电子设备,供电侧装置通常包括电子设备的电源和PMU,电源以电池为主,负载侧装置通常包括片上系统和各类接口,例如,显示面板接口、音频接口、成像模块接口和网络通信接口等。之后向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号,其中参数调节器可以调节电子设备的电压、电流、频率、功耗和温度。In a third aspect, the present application provides a power supply protection method. The method includes generating and reducing the frequency of the load-side device of the electronic device based on abnormal information indicating that the power supply-side device of the electronic device is in a working state. Then reduce the control signal of the output voltage of the power supply side device. The electronic equipment can include common consumer electronic products, industrial control products and electronic equipment inside the vehicle. The power supply side device usually includes the power supply and PMU of the electronic equipment. The power source is mainly a battery, and the load-side device usually includes a system on a chip and various interfaces, such as a display panel interface, an audio interface, an imaging module interface, and a network communication interface. Then, the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device, where the parameter adjuster can adjust the voltage, current, frequency, power consumption, and temperature of the electronic device.
在本申请的实施方式中,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。In the embodiments of the present application, by detecting various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided. Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
在一些实施方式中,电压过低的供电异常信息还可以指示电子设备工作时的环境温度过低,例如,在寒冷环境中供电侧装置和负载侧装置中的至少一个的温度过低。In some embodiments, the power supply abnormality information that the voltage is too low may also indicate that the environmental temperature when the electronic device is working is too low, for example, the temperature of at least one of the power supply side device and the load side device is too low in a cold environment.
在一些实施方式中,供电异常信息由电子设备工作时的多种参数确定。具体地,接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,其中,所述多种参数包括:电流,电压,功耗、频率以及温度。In some embodiments, the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
在一些实施方式中,将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象。In some implementations, the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
在一些实施方式中,还可以在生成供电异常信息后将所述供电异常信息编码,产生 经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后,进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding. To obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,所述生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号还包括:判断所述供电侧装置的所述电压与所述供电侧装置的关机电压阈值的差值是否大于预定值,通过判断电压和关机电压阈值之间的余量大小,设置不同的处理门限,根据门限提供多样化的供电异常处理手段。In some embodiments, the generating a control signal that reduces the frequency of the load-side device of the electronic device, and then reduces the output voltage of the power supply side device, further includes: judging the voltage of the power supply side device and the Whether the difference between the shutdown voltage threshold of the power supply side device is greater than a predetermined value, by judging the margin between the voltage and the shutdown voltage threshold, different processing thresholds are set, and diversified power supply abnormal processing methods are provided according to the thresholds.
具体地,如果所述差值大于所述预定值,则向所述电子设备的所述负载侧装置的处理器发送所述控制信号,以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的时钟复位发生器(CRG)发出降低所述频率的所述控制信号,以及向所述供电侧装置的电源管理单元(PMU)发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。Specifically, if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device, so that the processor is interrupted in order to perform the load-side reduction. The frequency of the device and the instruction to reduce the output voltage of the power supply side device; if the difference is less than the predetermined value, the clock reset generator (CRG) of the load side device is issued to reduce the The frequency of the control signal, and the control signal for reducing the output voltage to the power management unit (PMU) of the power supply side device. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
第四方面,本申请的实施方式提供了一种供电保护方法,该包括当电子设备在工作状态下的供电侧装置出现工作电流过大,功耗过大或者所述工作电流过大且所述功耗过大的供电异常时,生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号。通常,上述供电异常的出现与负载侧装置运行大负载应用相关,例如,高渲染的网络游戏,高清流媒体播放等。之后向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。In a fourth aspect, the embodiments of the present application provide a power supply protection method, which includes when the power supply side device of the electronic equipment is in the working state, the working current is too large, the power consumption is too large, or the working current is too large and the When the power supply is abnormal with excessive power consumption, a control signal is generated to reduce the frequency of the load-side device of the electronic equipment, and then reduce the output voltage of the power supply-side device. Generally, the occurrence of the above-mentioned power supply abnormality is related to the operation of heavy load applications on the load side device, for example, high-rendering network games, high-definition streaming media playback, etc. Then, the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
在本申请的实施方式中,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。In the embodiments of the present application, by detecting various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided. Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
在一些实施方式中,供电异常信息由电子设备工作时的多种参数确定。具体地,接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,其中,所述多种参数包括:电流,电压,功耗、频率以及温度。In some embodiments, the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
在一些实施方式中,将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象。In some implementations, the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
在一些实施方式中,还可以在生成供电异常信息后将所述供电异常信息编码,产生经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后, 进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding. To obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,所述生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号还包括:判断所述电子设备的所述供电侧装置的所述工作电流和所述功耗中的至少一个与所述供电侧装置的关机电流阈值和关机功耗阈值中的至少一个的差值是否大于预定值,通过判断工作电流和功耗中的至少一个和关机阈值之间的余量大小,设置不同的处理门限,根据门限提供多样化的供电异常处理手段。In some embodiments, the generating a control signal that reduces the frequency of the load-side device of the electronic equipment, and then reduces the output voltage of the power supply-side device, further includes: determining all of the power supply-side device of the electronic equipment Whether the difference between at least one of the operating current and the power consumption and at least one of the shutdown current threshold and the shutdown power consumption threshold of the power supply side device is greater than a predetermined value, by determining at least one of the operating current and the power consumption Set different processing thresholds for the margin between the shutdown threshold and the shutdown threshold, and provide diversified power supply exception processing methods according to the thresholds.
具体地,如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令;如果所述差值小于所述预定值,则向所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。Specifically, if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform the frequency reduction of the load-side device and An instruction to reduce the output voltage of the power supply side device; if the difference is less than the predetermined value, the control signal for reducing the frequency is sent to the CRG of the load side device and the control signal is sent to the power supply side The PMU of the device sends out the control signal to lower the output voltage. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
第五方面,本申请的实施方式提供了一种供电保护方法,该方法包括,当在工作状态下的电子设备的供电侧装置和负载侧装置中的至少一个出现温度过低的供电异常时,可以通过提高系统负载,更改工作频率,提升工作电压,提升系统功耗,也可以触发系统进行物理升温。具体地,生成提高所述供电侧装置的输出电压的控制信号,降低所述负载侧装置的频率的控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的控制信号,和,提高所述负载侧装置的所述温度的控制信号中的至少一个。然后向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。In a fifth aspect, the embodiments of the present application provide a power supply protection method, the method includes, when at least one of the power supply side device and the load side device of the electronic equipment in the working state has an abnormally low temperature power supply, You can increase the system load, change the operating frequency, increase the operating voltage, increase the system power consumption, or trigger the system to physically heat up. Specifically, a control signal for increasing the output voltage of the power supply side device is generated, a control signal for reducing the frequency of the load side device is generated, the output voltage of the power supply side device is increased, and the output voltage of the load side device is reduced. At least one of a frequency control signal and a control signal to increase the temperature of the load side device. Then, the control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
在本申请的实施方式中,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。In the embodiments of the present application, by detecting various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided. Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
在一些实施方式中,供电异常信息由电子设备工作时的多种参数确定。具体地,接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,其中,所述多种参数包括:电流,电压,功耗、频率以及温度。In some embodiments, the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
在一些实施方式中,将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象。In some implementations, the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
在一些实施方式中,还可以在生成供电异常信息后将所述供电异常信息编码,产生 经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后,进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding. To obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,所述生成提高所述供电侧装置的所述输出电压的控制信号,降低所述负载侧装置的频率的所述控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的所述控制信号,和提高所述负载侧装置的所述温度的所述控制信号中的至少一个,还包括:判断所述供电侧装置和所述负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值,通过判断供电侧装置和负载侧装置中的至少一个的温度和关机阈值之间的余量大小,设置不同的处理门限,根据门限提供多样化的供电异常处理手段。In some embodiments, the generating a control signal for increasing the output voltage of the power supply side device, the control signal for reducing the frequency of the load side device, increasing the output voltage of the power supply side device and At least one of the control signal for reducing the frequency of the load-side device and the control signal for increasing the temperature of the load-side device further includes: judging the power supply-side device and the load Whether the difference between the temperature of at least one of the side devices and the shutdown temperature of the electronic device is greater than a predetermined value is determined by determining the margin between the temperature of at least one of the power supply side device and the load side device and the shutdown threshold , Set different processing thresholds, and provide diversified power supply exception processing methods according to the thresholds.
具体地,如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行提高所述供电侧装置的所述输出电压的指令,降低所述负载侧装置的所述频率的所述指令和提高所述负载侧装置的所述温度的所述指令中的至少一个;如果所述差值小于预定值,则向所述供电侧装置的PMU发出提高所述输出电压的所述控制信号,向所述负载侧装置的CRG发出降低所述频率的所述控制信号,和向所述负载侧装置的温度调节器发出提高所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。Specifically, if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform increasing the output voltage of the power supply-side device At least one of the instruction to reduce the frequency of the load-side device and the instruction to increase the temperature of the load-side device; if the difference is less than a predetermined value, send to the The PMU of the power supply side device sends out the control signal to increase the output voltage, sends out the control signal to reduce the frequency to the CRG of the load side device, and sends out the increase rate to the temperature regulator of the load side device. At least one of the control signals for the temperature. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
第六方面,本申请提供了一种供电保护方法,该方法包括,当电子设备在工作状态下的供电侧装置和负载侧装置中的至少一个出现温度过高的供电异常时,可以通过降低系统负载,降低工作频率,降低工作电压,限制系统功耗,也可以触发系统进行物理降温。具体地,生成降低所述负载侧装置的频率然后降低所述供电侧装置的输出电压的所述控制信号,和降低所述负载侧装置的所述温度的所述控制信号中的至少一个;然后向所述供电侧装置和/或所述负载侧装置中的参数调节器发送所述控制信号。In a sixth aspect, the present application provides a power supply protection method. The method includes that when at least one of the power supply side device and the load side device of the electronic equipment in the working state has a power supply abnormality that is too high, the system can be reduced Load, reduce the operating frequency, reduce the operating voltage, limit the system power consumption, and also trigger the system to physically cool down. Specifically, generating at least one of the control signal that lowers the frequency of the load-side device and then the output voltage of the power supply-side device, and the control signal that lowers the temperature of the load-side device; then The control signal is sent to the parameter regulator in the power supply side device and/or the load side device.
在本申请的实施方式中,通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免只使用单维度信息判断供电异常,避免形成供电保护方案的过度设计,造成过度保护。In the embodiments of the present application, by detecting various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately, and the power supply protection can be avoided. Dimensional information judges power supply abnormalities and avoids over-design of power supply protection schemes, resulting in over-protection.
在一些实施方式中,供电异常信息由电子设备工作时的多种参数确定。具体地,接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息,这些测量信息通过收发单元从位于电子设备的供电侧装置和负载侧装置中的至少一个的感应器获得,其中,所述多种参数包括:电流,电压,功耗、频率以及温度。In some embodiments, the power supply abnormality information is determined by various parameters when the electronic device is working. Specifically, receiving measurement information for at least two of the multiple parameters of the electronic device in the working state, and the measurement information is transmitted from at least one of the power supply side device and the load side device of the electronic device through the transceiver unit. The sensor is obtained, where the various parameters include: current, voltage, power consumption, frequency and temperature.
在一些实施方式中,将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电 异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象。In some implementations, the received measurement information is compared with corresponding thresholds respectively to detect whether the electronic device has an abnormality, and in the case where the electronic device is detected to be abnormal, the power supply abnormality is generated Information to indicate that the electronic device has a power supply abnormality related to at least one of the two parameters.
在一些实施方式中,还可以在生成供电异常信息后将所述供电异常信息编码,产生经编码的所述供电异常信息,之后将编码后的供电异常信息传输电子设备的其他模块后,进行解码,获得供电异常信息。通常电子设备内部的信息传输的带宽有限,通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。In some embodiments, the abnormal power supply information may be encoded after the abnormal power supply information is generated to generate the encoded abnormal power supply information, and then the encoded abnormal power supply information is transmitted to other modules of the electronic device for decoding. To obtain power supply abnormal information. Generally, the bandwidth of information transmission inside the electronic device is limited. By encoding the abnormal power supply information, the information capacity can be reduced, the bandwidth occupation during information transmission can be reduced, and the information transmission efficiency can be improved.
在一些实施方式中,所述生成降低所述负载侧装置的频率然后降低所述供电侧装置的输出电压的控制信号,和降低所述负载侧装置的温度的所述控制信号中的至少一个,还包括:判断所述供电侧装置和所述负载侧装置中的至少一个的温度与所述电子设备的关机温度的差值是否大于预定值,通过判断供电侧装置和负载侧装置中的至少一个的温度和关机阈值之间的余量大小,设置不同的处理门限,根据门限提供多样化的供电异常处理手段。In some embodiments, at least one of generating a control signal that reduces the frequency of the load-side device and then reduces the output voltage of the power supply-side device, and the control signal that reduces the temperature of the load-side device, It further includes: determining whether the difference between the temperature of at least one of the power supply side device and the load side device and the shutdown temperature of the electronic equipment is greater than a predetermined value, by determining at least one of the power supply side device and the load side device Set different processing thresholds for the margin between the temperature and the shutdown threshold, and provide diversified power supply exception processing methods according to the thresholds.
具体地,如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令,和降低所述负载侧装置的所述温度的所述指令中的至少一个;如果所述差值小于预定值,则向所述电子设备的所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号,和向所述负载侧装置的温度调节器发出降低所述温度的所述控制信号中的至少一个。通过向处理器传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。通过硬件连线直接向CRG和电源管理单元发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG降频可以实现纳秒级别的响应速度,通过电源管理单元可以实现微秒级别的响应速度。通过进一步设置供电异常处理的多个条件,并通过采用多种供电异常处理手段,根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。Specifically, if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform the frequency reduction of the load-side device and At least one of an instruction to reduce the output voltage of the power supply-side device and the instruction to reduce the temperature of the load-side device; if the difference is less than a predetermined value, send the instruction to the electronic device The CRG of the load-side device sends out the control signal to reduce the frequency, sends the control signal to reduce the output voltage to the PMU of the power supply-side device, and sends out to the temperature regulator of the load-side device At least one of the control signals to lower the temperature. By transmitting control signals to the processor to handle power supply abnormalities, the operating frequency and output voltage can be adjusted more flexibly and carefully, making the processing of power supply abnormalities more precise and flexible. Directly send control signals to the CRG and the power management unit through the hardware connection to handle the abnormal power supply, which can realize a quick response to the abnormal power supply. For example, direct CRG frequency reduction can achieve nanosecond response speed, and the power management unit can achieve microsecond response speed. By further setting multiple conditions for power supply abnormality processing, and by adopting multiple power supply abnormal processing methods, combining and applying power supply abnormal processing methods based on multiple conditions, the power supply protection device's ability to handle power supply abnormalities in complex work scenarios can be improved.
第七方面,本申请提供了一种计算机可读存储介质,该存储介质可以是非易失性的。该存储介质中包含指令,该指令在执行后实施如前述任意一个方面或实施方式所描述的方法。In a seventh aspect, the present application provides a computer-readable storage medium, which may be non-volatile. The storage medium contains instructions that, after being executed, implement the method described in any one of the foregoing aspects or implementation manners.
第八方面,本申请提供了一种供电保护设备,该设备包括存储器和处理器,其中,存储器用于存储供电保护设备的一个或多个处理器执行的指令;处理器用于执行存储器中的指令,指令在执行后实施如前述任意一个方面或实施方式所描述的方法。In an eighth aspect, the present application provides a power supply protection device, which includes a memory and a processor, where the memory is used to store instructions executed by one or more processors of the power supply protection device; the processor is used to execute instructions in the memory After the instruction is executed, it implements the method described in any one of the foregoing aspects or implementations.
第九方面,本申请提供了一种电子设备,例如移动终端等。该电子设备包括供电侧装置、负载侧装置以及如前述任意一个方面或实施方式所描述的具有供电保护功能的系统。In a ninth aspect, this application provides an electronic device, such as a mobile terminal. The electronic equipment includes a power supply-side device, a load-side device, and the system with a power supply protection function as described in any one of the foregoing aspects or embodiments.
在一些实施方式中,该系统可以设置在供电侧装置中。In some embodiments, the system may be provided in a power supply side device.
在一些实施方式中,该系统可以设置在负载侧装置中。In some embodiments, the system may be provided in a load-side device.
在一些实施方式中,该系统可以设置在供电侧装置和负载侧装置中。In some embodiments, the system may be provided in the power supply side device and the load side device.
在一些实施方式中,供电侧装置包括电池和PMU。In some embodiments, the power supply side device includes a battery and a PMU.
在一些实施方式中,负载侧装置包括SoC和主板。In some embodiments, the load-side device includes an SoC and a motherboard.
本申请根据本申请的一些方面,其效果包括,但不局限于:According to some aspects of this application, the effects of this application include, but are not limited to:
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流等场景,电子设备的系统保持运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, high current and other scenarios. The system of electronic equipment keeps running without shutting down.
附图说明Description of the drawings
图1a-1d示出了根据本申请示意性的实施例的具有供电保护装置的计算系统的模块示意图。Figures 1a-1d show schematic diagrams of modules of a computing system with a power supply protection device according to an exemplary embodiment of the present application.
图2a-2d示出了根据本申请示意性的实施例的供电保护装置的模块示意图。2a-2d show schematic diagrams of modules of a power supply protection device according to exemplary embodiments of the present application.
图3示出了根据本申请实施例的供电保护方法的流程示意图。Fig. 3 shows a schematic flowchart of a power supply protection method according to an embodiment of the present application.
图4示出根据本申请另一个实施例的供电保护方法的流程示意图。Fig. 4 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
图5示出根据本申请另一个实施例的供电保护方法的流程示意图。Fig. 5 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
图6示出根据本申请另一个实施例的供电保护方法的流程示意图。Fig. 6 shows a schematic flowchart of a power supply protection method according to another embodiment of the present application.
图7示出了根据本申请实施例的供电保护设备的模块示意图。Fig. 7 shows a schematic diagram of modules of a power supply protection device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的和技术方案更加清楚,下面将结合本申请实施例的附图,对本申请实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本申请的一部分实施例,而不是全部的实施例。基于所描述的本申请的实施例,本领域普通技术人员在无需创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose and technical solutions of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be described clearly and completely in conjunction with the drawings of the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the described embodiments of the application, all other embodiments obtained by a person of ordinary skill in the art without creative labor are within the protection scope of the application.
如本文所使用的,术语“模块或单元”可以指或者包括专用集成电路(ASIC)、电子电路、执行一个或多个软件或固件程序的处理器(共享的、专用的或组)和/或存储器(共享的、专用的或组)、组合逻辑电路、和/或提供所描述的功能的其他合适的组件,或者可以是专用集成电路(ASIC)、电子电路、执行一个或多个软件或固件程序的处理器(共享的、专用的或组)和/或存储器(共享的、专用的或组)、组合逻辑电路、和/或提供所描述的功能的其他合适的组件的一部分。As used herein, the term "module or unit" may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated or group) that executes one or more software or firmware programs, and/or Memory (shared, dedicated or group), combinational logic circuit, and/or other suitable components that provide the described functions, or may be an application specific integrated circuit (ASIC), electronic circuit, executing one or more software or firmware Part of the program's processor (shared, dedicated or group) and/or memory (shared, dedicated or group), combinational logic circuit, and/or other suitable components that provide the described functions.
图1a-1d是根据本申请实施方式的具有供电保护装置的计算系统的模块示意图。系统1包括,但不局限于,膝上型设备、台式机、手持PC、个人数字助理、工程工作站、服务器、网络设备、网络集线器、交换机、嵌入式处理器、数字信号处理器(Digital Signal Processor,简称DSP)、图形设备、视频游戏设备、机顶盒、微控制器、蜂窝电话、便携式媒体播放器、手持设备、可穿戴设备(例如,显示眼镜或护目镜,头戴式显示器(Head-Mounted Display,简称HMD),手表,头戴设备,臂带,珠宝等),虚拟现实(Virtual Reality,简称VR)和/或增强现实(Augment Reality,简称AR)设备,物联网(Internet of Things,IoT)设备,工业控制设备,车载信息娱乐设备,流媒体客户端设备,电子书阅读设备,POS机,电动车辆的控制系统,以及各种其他电子设备。一般地,能够包含本文中所公开的处理器和/或其它执行逻辑的多个装置和电子设备一般都是合适的。1a-1d are schematic diagrams of modules of a computing system with a power supply protection device according to embodiments of the present application. System 1 includes, but is not limited to, laptop devices, desktop computers, handheld PCs, personal digital assistants, engineering workstations, servers, network devices, network hubs, switches, embedded processors, and digital signal processors (Digital Signal Processors). , Referred to as DSP), graphics equipment, video game equipment, set-top boxes, microcontrollers, cellular phones, portable media players, handheld devices, wearable devices (for example, display glasses or goggles, head-mounted displays (Head-Mounted Display) , HMD for short), watches, headsets, armbands, jewelry, etc.), virtual reality (Virtual Reality, VR) and/or augmented reality (Augment Reality, AR) devices, Internet of Things (IoT) Equipment, industrial control equipment, in-vehicle infotainment equipment, streaming media client equipment, e-book reading equipment, POS machines, control systems for electric vehicles, and various other electronic equipment. Generally, multiple devices and electronic devices capable of containing the processor and/or other execution logic disclosed herein are generally suitable.
如图1a-1d所示,计算系统1可以包括电源管理单元(PMU)12和片上系统(System on Chip,简称SoC)14,其中,片上系统14可以包括一个或多个(图中仅示出一个)处理器142,处理器142可以包括但不限于中央处理器CPU(Central Processing Unit)、图像处理器GPU(Graphics Processing Unit)、数字信号处理器DSP、微处理器MCU(Micro-programmed Control Unit)、AI(Artificial Intelligence)处理器或可编程逻辑器件FPGA(Field Programmable Gate Array)等的处理模块或处理电路,和时钟复位发生器(Clock Reset Generator,简称CRG)144。As shown in Figures 1a-1d, the computing system 1 may include a power management unit (PMU) 12 and a system on chip (System on Chip, SoC) 14. The system on chip 14 may include one or more (only shown in the figure). A) The processor 142. The processor 142 may include, but is not limited to, a central processing unit (CPU), a graphics processor GPU (Graphics Processing Unit), a digital signal processor DSP, and a microprocessor MCU (Micro-programmed Control Unit). ), AI (Artificial Intelligence) processor or programmable logic device FPGA (Field Programmable Gate Array) and other processing modules or processing circuits, and clock reset generator (Clock Reset Generator, CRG) 144.
参考图1a,根据本申请的一种实施方式,系统1还可以包括供电保护装置10,其中,供电保护装置10包括异常检测单元1022、异常处理单元1042和收发单元106。如图1a所示,供电保护装置10、电源管理单元12和片上系统14可以相互独立设置在系统1中,虽然图1a中并未示出,可选地,供电保护装置10也可以设置在电源管理单元12或片上系统14中。1a, according to an embodiment of the present application, the system 1 may further include a power supply protection device 10, where the power supply protection device 10 includes an abnormality detection unit 1022, an abnormality processing unit 1042, and a transceiver unit 106. As shown in Figure 1a, the power supply protection device 10, the power management unit 12, and the system-on-chip 14 can be independently arranged in the system 1. Although not shown in Figure 1a, alternatively, the power supply protection device 10 can also be arranged in the power supply. In the management unit 12 or the system on chip 14.
参考图1a-1d,根据本申请的其他实施方式,供电保护装置10可以通过多种不同方式在系统1中实施,例如,供电保护装置10可以包括异常检测装置102和异常处理装置104。异常检测装置102包括异常检测单元1022和收发单元106a,在其他示例中,异常检测装置102可选地包括异常编码单元1024。异常处理装置104包括异常处理单元1042和收发单元106b,在其他示例中,异常处理装置104可选地包括异常解码单元1044。1a-1d, according to other embodiments of the present application, the power supply protection device 10 may be implemented in the system 1 in a variety of different ways. For example, the power supply protection device 10 may include an abnormality detection device 102 and an abnormality processing device 104. The abnormality detection device 102 includes an abnormality detection unit 1022 and a transceiving unit 106a. In other examples, the abnormality detection device 102 may optionally include an abnormality encoding unit 1024. The exception handling device 104 includes an exception handling unit 1042 and a transceiving unit 106b. In other examples, the exception handling device 104 may optionally include an exception decoding unit 1044.
进一步参考图1a-1d,示例性系统1中包括一个或多个异常检测装置102、102a-102c,一个或多个收发单元106、106a-106b,在图1a-1d和其余的附图中,引用编号之后的字母,例如“102a”,表示对具有该特定引用编号的元素的引用。文本中没有后续字母的引用编号,例如“102”,表示对带有该引用编号的元素的实施方式的总体引用。如图1b-1d所示,异常检测装置102可以存在于电源管理单元12中(例如,102a),或者存在于片上系统14中(例如,102c),或者存在与系统1的诸如主板的其他位置(例如,102b)。在不同的实施方式中,异常检测装置102也可以同时存在于电源管理单元12和片上系统14中(例如,102a和102c),或者同时存在于电源管理单元12、主板和片上系统14中(例如,102a-102c)。Further referring to FIGS. 1a-1d, the exemplary system 1 includes one or more abnormality detection devices 102, 102a-102c, and one or more transceiver units 106, 106a-106b. In FIGS. 1a-1d and the rest of the drawings, The letter after the reference number, such as "102a", indicates a reference to an element with that specific reference number. A reference number without subsequent letters in the text, such as "102", represents a general reference to the implementation of the element with the reference number. As shown in FIGS. 1b-1d, the abnormality detection device 102 may exist in the power management unit 12 (for example, 102a), or exist in the system-on-chip 14 (for example, 102c), or exist in other locations of the system 1, such as a motherboard. (For example, 102b). In different embodiments, the anomaly detection device 102 may also exist in the power management unit 12 and the system on chip 14 at the same time (for example, 102a and 102c), or exist in the power management unit 12, the motherboard and the system on chip 14 at the same time (for example, , 102a-102c).
进一步参考1b-1d,异常处理装置104可以存在于系统1的电源管理单元12、或者片上系统14,或者主板中。此外,如图1b-1c所示,当异常检测装置102和异常处理装置104同时存在于相同的器件中时,例如,在图1b中所示的,异常检测装置102和异常处理装置104同时存在于电源管理单元12中时,异常检测装置102和异常处理装置104可以通过作为诸如供电保护装置10的集成器件存在于电源管理单元12,也可以作为独立器件分别存在于电源管理单元12中,本申请在此不做具体限定。此外,系统1可以不包括图1a-1d中所示的一个或多个部件,或者可以包括图1a-1d中未示出的其他部件。With further reference to 1b-1d, the exception handling device 104 may exist in the power management unit 12 of the system 1, or the system on chip 14, or the motherboard. In addition, as shown in FIGS. 1b-1c, when the abnormality detection device 102 and the abnormality processing device 104 coexist in the same device, for example, as shown in FIG. 1b, the abnormality detection device 102 and the abnormality processing device 104 coexist. In the power management unit 12, the abnormality detection device 102 and the abnormality processing device 104 may exist in the power management unit 12 as integrated devices such as the power supply protection device 10, or may exist in the power management unit 12 as independent devices. The application is not specifically limited here. In addition, the system 1 may not include one or more components shown in FIGS. 1a-1d, or may include other components not shown in FIGS. 1a-1d.
在所示的实施方式中,供电保护装置10(异常检测装置102、异常处理装置104)、电源管理单元12和片上系统14相互耦接,电源管理单元12提供稳定电源使得系统1的各个部件可以正常工作。In the illustrated embodiment, the power supply protection device 10 (abnormal detection device 102, abnormal processing device 104), power management unit 12, and system on chip 14 are coupled to each other, and the power management unit 12 provides stable power so that the various components of the system 1 normal work.
片上系统14可以负责处理系统1的各项操作,包括关机操作。片上系统14除了包括处理器142和和CRG 144之外,还可以包括至少一个存储器,存储器用于存储片上系统临时加载的应用和处理器142运行应用产出的数据。The system on chip 14 may be responsible for processing various operations of the system 1, including shutdown operations. In addition to the processor 142 and the CRG 144, the system-on-chip 14 may also include at least one memory. The memory is used to store applications temporarily loaded by the system-on-chip and data generated by the application running by the processor 142.
在所示的实施方式中,处理器142可以运行系统1的操作系统,例如,Android、iOS、Windows OS、鸿蒙操作系统等。In the illustrated embodiment, the processor 142 may run the operating system of the system 1, for example, Android, iOS, Windows OS, Hongmeng operating system, etc.
时钟复位发生器(CRG)144可以接收处理器的指令,对系统和内核的时钟进行设置和复位。The clock reset generator (CRG) 144 can receive instructions from the processor to set and reset the clocks of the system and the core.
电源管理单元12可以是集成的复合电源管理单元,内部可以具有温度保护、过流和过压保护等模块/电路,电源管理单元12可以采用CMOS工艺实现。The power management unit 12 may be an integrated composite power management unit, which may have modules/circuits such as temperature protection, overcurrent and overvoltage protection, etc., and the power management unit 12 may be implemented by CMOS technology.
供电保护装置10(异常检测装置102、异常处理装置104)可以是可由处理器操作的代码和例程,以使得能够对系统1的供电异常进行检测和处理。在一些实施方式中,可以使用包括现场可编程门阵列(FPGA)或专用集成电路(ASIC)的硬件来实施供电保护装置10(异常检测装置102、异常处理装置104)。在一些实施方式中,可以使用硬件和软件的组合来实施供电保护装置10(异常检测装置102、异常处理装置104)。The power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104) may be codes and routines operable by a processor, so that the abnormality of the power supply of the system 1 can be detected and processed. In some embodiments, hardware including a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC) may be used to implement the power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104). In some embodiments, a combination of hardware and software may be used to implement the power supply protection device 10 (the abnormality detection device 102 and the abnormality processing device 104).
异常检测单元1022可以检测系统1在工作状态时的多种信息。在一些实施方式中,系统1的工作状态可以包括待机状态、以及正常工作状态,在一些实施例中,工作状态也包括低功耗状态(例如,省电模式等),但不包括完全下电状态,其中在工作状态时,系统1的各个器件可以实现部分功能或完整功能。The abnormality detection unit 1022 can detect a variety of information when the system 1 is working. In some embodiments, the working state of the system 1 may include a standby state and a normal working state. In some embodiments, the working state also includes a low power consumption state (for example, a power saving mode, etc.), but does not include a complete power-off state. State, where in the working state, each device of the system 1 can realize part of the function or the complete function.
在一个或多个实施方式中,在系统工作状态时的检测的信息可以包括系统1的电流、电压、功耗、负载以及温度的信息,这些信息可以包括系统1在工作状态时对每种信息的瞬时检测到的数据,在设定时间区间内持续检测、或在离散时间点上检测的多个数据的集合,或者多个数据的平均。在上下文中,如无特别说明和指定,电流、电压、功耗、负载以及温度的信息通常指示系统1在工作状态时的信息。In one or more embodiments, the detected information in the working state of the system may include information about the current, voltage, power consumption, load, and temperature of the system 1, and this information may include information about each type of information when the system 1 is in the working state. The instantaneously detected data is continuously detected within a set time interval, or a collection of multiple data detected at discrete time points, or the average of multiple data. In the context, unless otherwise specified or specified, the information of current, voltage, power consumption, load, and temperature generally indicates the information of the system 1 in the working state.
检测的信息可以来自电源管理单元12、片上系统14、主板以及其他器件中部分或全部。例如,信息可以包括电源管理单元12的工作电流(诸如,LDO电流、DC-DC输出电流,等)、输入/出电压、功耗和温度等信息,片上系统14的电流、电压、频率、负载、温度等信息,以及主板的温度信息等。The detected information may come from part or all of the power management unit 12, the system on chip 14, the motherboard and other devices. For example, the information may include the operating current (such as LDO current, DC-DC output current, etc.), input/output voltage, power consumption, and temperature of the power management unit 12, and the current, voltage, frequency, load of the system-on-chip 14 , Temperature and other information, and temperature information of the motherboard.
通过检测系统的多种工作信息,能够对系统供电异常的判断范围更全面,判断精度更高,能够更加精确地提供供电保护,避免过度保护。By detecting various working information of the system, the range of judgment for abnormal power supply of the system can be more comprehensive, the judgment accuracy is higher, and the power supply protection can be provided more accurately to avoid excessive protection.
异常检测单元1022还可以通过将检测的信息与对应的阈值比较,检测系统是否存在供电异常,如果检测到供电异常,则生成并提供供电异常信息,供电异常信息中指示系统1存在与至少一种信息相关的供电异常。The abnormality detection unit 1022 can also compare the detected information with the corresponding threshold to detect whether the system has power supply abnormality. If the power supply abnormality is detected, it generates and provides power supply abnormality information. The power supply abnormality information indicates that the system 1 has at least one The information-related power supply is abnormal.
在一些实施方式中,供电异常信息可以包括但不限于,电压的欠压异常和过压异常,电流的欠流异常和过流异常,温度的低温异常和高温异常,以及功耗过高异常等其他与上述检测信息相关的异常。In some embodiments, the power supply abnormality information may include, but is not limited to, voltage undervoltage abnormalities and overvoltage abnormalities, current undercurrent abnormalities and overcurrent abnormalities, low temperature abnormalities and high temperature abnormalities, and excessive power consumption abnormalities, etc. Other abnormalities related to the above detection information.
在一些实施方式中,供电异常的检测还可以通过深度学习模型的机器学习实施,机器学习可以增强供电异常的判断和检测。在一些实施方式中,机器学习可以在系统1的一个或多个组件上实施。上述检测的这些数据可以用作样本数据来训练机器学习模型,对于该样本数据,已经对数据中可能包含的用户数据进行脱敏,或从用户明确地获得利用这些样本数据进行训练的许可。基于样本数据,机器学习模型可以针对所接收的系统在工作状态的各项信息,预测系统的供电异常,然后将该异常作为预测异常来提供。In some embodiments, the detection of power supply abnormalities can also be implemented by machine learning of a deep learning model, and machine learning can enhance the judgment and detection of power supply abnormalities. In some embodiments, machine learning can be implemented on one or more components of the system 1. The above-mentioned detected data can be used as sample data to train a machine learning model. For the sample data, user data that may be contained in the data has been desensitized, or the user has explicitly obtained permission to use the sample data for training. Based on the sample data, the machine learning model can predict the power supply abnormality of the system according to the received various information of the system in the working state, and then provide the abnormality as a predicted abnormality.
异常处理单元1042根据供电异常信息,发出控制信号,使得系统1调节上述多种信 息中的至少一种,防止因供电异常导致系统1的重启或关机。在一些实施方式中,因供电异常导致系统1的重启或关机是由于,电源管理单元12的工作电流、输入/出电压、功耗或温度触发电源管理单元12的保护电路,使得电源管理单元12向片上系统14的处理器发出重启或关机指令,随后电源管理单元12关闭电源,或者在一些情况下,在触发保护电路后,电源管理单元12直接关闭电源。在所示的实施方式中,关机阈值指示系统1预先设置的触发保护电路造成电源关闭的临界值。The abnormality processing unit 1042 sends a control signal according to the abnormal power supply information, so that the system 1 adjusts at least one of the above-mentioned multiple types of information to prevent the system 1 from restarting or shutting down due to abnormal power supply. In some embodiments, the restart or shutdown of the system 1 due to abnormal power supply is due to the working current, input/output voltage, power consumption, or temperature of the power management unit 12 triggering the protection circuit of the power management unit 12, so that the power management unit 12 A restart or shutdown instruction is issued to the processor of the system-on-chip 14, and then the power management unit 12 turns off the power, or in some cases, after the protection circuit is triggered, the power management unit 12 directly turns off the power. In the illustrated embodiment, the shutdown threshold indicates the critical value that triggers the protection circuit preset by the system 1 to cause the power to shut down.
在一些实施方式中,异常处理单元1042发出的控制信号可以包括,提/降压信号、提/降频率(负载)信号以及升/降温度信号,以及CPU中断信号等。例如,提/降压信号可以提高或降低(Boost或Buck)电源管理单元12的输入/出电压,提/降频率(负载)信号可以提高或降低诸如CPU、GPU等处理单元的频率,升/降温度信号可以通过系统的温度调节设备对系统的一个或多个部件进行物理地温度调节。在一些实施方式中,温度调节器可以包括主板和片上系统14的冷却设备(例如,风冷、水冷或油冷设备等)和负载/供电侧的加热设备。在一些实施方式中,温度调节器可以接收来自处理器142的控制指令,或者通过硬件连线直接接收来自异常处理单元1042的升/降温度信号。In some embodiments, the control signal sent by the abnormality processing unit 1042 may include a voltage increase/decrease signal, a frequency increase/decrease (load) signal, a temperature increase/decrease signal, and a CPU interrupt signal. For example, the boost/decrease signal can increase or decrease (Boost or Buck) the input/output voltage of the power management unit 12, and the boost/decrease frequency (load) signal can increase or decrease the frequency of processing units such as CPU, GPU, etc. The temperature drop signal can physically adjust the temperature of one or more components of the system through the temperature adjustment device of the system. In some embodiments, the temperature regulator may include cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) of the motherboard and the system-on-chip 14 and heating equipment on the load/power supply side. In some embodiments, the temperature regulator may receive a control instruction from the processor 142, or directly receive a temperature increase/decrease signal from the abnormality processing unit 1042 through a hardware connection.
在一些实施方式中,供电保护装置中还可以包括异常编码单元1024和对应的异常解码单元1044。异常编码单元1024用于对异常检测单元1022提供的异常信息进行编码,产出编码后的供电异常信息。异常解码单元1044对编码后的供电异常信息进行解码,获得对应的供电异常信息。例如,编码方式可以采用二进制编码,诸如形成以下方式:过压:001、过流:010、高温:011、欠压:100、欠流:101、低温:110、其他:000。In some embodiments, the power supply protection device may further include an abnormality encoding unit 1024 and a corresponding abnormality decoding unit 1044. The anomaly encoding unit 1024 is configured to encode the anomaly information provided by the anomaly detection unit 1022 to generate encoded power supply anomaly information. The abnormality decoding unit 1044 decodes the encoded power supply abnormality information to obtain corresponding power supply abnormality information. For example, the encoding method may adopt binary encoding, such as forming the following methods: overvoltage: 001, overcurrent: 010, high temperature: 011, undervoltage: 100, undercurrent: 101, low temperature: 110, and others: 000.
在一些其他实施方式中,还可以对组合后的检测的信息进行编码。例如,对于电流信息,假设有L个数据,Cur_1,Cur_2…Cur_L;对于温度信息,假设有M个数据,Temp_1,Temp_2…Temp_M;对于电压信息,假设有N个数据,Vol_1,Vol_2…Vol_N;对于功耗信息,假设有O个数据,Pwr_1,Pwr_2…Pwr_O;对于负载性能信息,假设有P个数据,LDP_1,LDP_2…LDP_P。将这些信息组合后编码,总共有L*M*N*O*P个数据,然后将这些组合为二进制编码,编码方式不限,确保每个数据编码唯一。每个编码包括了电流,温度,电压,功耗和负载性能的全集数据,如{Cur_1,Temp_1,Vol_1,Pwr_1,LDP_1}。In some other implementations, the combined detected information may also be encoded. For example, for current information, suppose there are L data, Cur_1, Cur_2...Cur_L; for temperature information, suppose there are M data, Temp_1, Temp_2...Temp_M; for voltage information, suppose there are N data, Vol_1, Vol_2...Vol_N; For power consumption information, suppose there are 0 pieces of data, Pwr_1, Pwr_2...Pwr_O; for load performance information, suppose there are P pieces of data, LDP_1, LDP_2...LDP_P. Combine these information and encode, there are a total of L*M*N*O*P data, and then combine these into a binary code, the coding method is not limited, to ensure that each data code is unique. Each code includes the full set of data on current, temperature, voltage, power consumption and load performance, such as {Cur_1, Temp_1, Vol_1, Pwr_1, LDP_1}.
通过对供电异常信息进行编码,可以减小信息容量,降低信息在传送时的带宽占用,提高信息传送效率。By encoding the power supply abnormal information, the information capacity can be reduced, the bandwidth occupancy during information transmission can be reduced, and the information transmission efficiency can be improved.
进一步参考图1a-1d和图2c-2d,收发单元106用于接收系统1在工作状态时的上述各项信息,并传送给异常检测单元1022,收发单元106还用于接收异常检测单元1022生成的供电异常信息(未编码或已编码的),然后将该异常信息传送给异常处理单元1042,以及将异常处理单元1042生成的控制信号传送给电源管理单元12和/或片上系统14。可以理解地,收发单元106a-106b具有收发单元106部分或全部功能,例如,收发单元106a可以系统1在工作状态时的上述各项信息,并传送给异常检测单元1022,以及向异常处理单元1042传送异常检测单元1022生成的供电异常信息(未编码或已编码的)。收发单元106b可以接收来自异常检测单元1022生成的供电异常信息(未编码或已编码的),然后将该异常信息传送给异常处理单元1042,以及将异常处理单元1042生成的控制信号传送给电源管理单元12和/或片上系统14。With further reference to Figures 1a-1d and Figures 2c-2d, the transceiver unit 106 is used to receive the above-mentioned information of the system 1 in the working state, and transmit it to the abnormality detection unit 1022, and the transceiver unit 106 is also used to receive the abnormality detection unit 1022 to generate The abnormal power supply information (uncoded or coded) is transmitted to the abnormal processing unit 1042, and the control signal generated by the abnormal processing unit 1042 is transmitted to the power management unit 12 and/or the system on chip 14. It is understandable that the transceiving units 106a-106b have part or all of the functions of the transceiving unit 106. For example, the transceiving unit 106a can transmit the above-mentioned information of the system 1 in the working state to the abnormality detection unit 1022 and the abnormality processing unit 1042. The power supply abnormality information (uncoded or coded) generated by the abnormality detection unit 1022 is transmitted. The transceiver unit 106b can receive power supply abnormal information (uncoded or coded) generated from the abnormality detection unit 1022, and then transmit the abnormal information to the abnormality processing unit 1042, and transmit the control signal generated by the abnormality processing unit 1042 to the power management Unit 12 and/or System on Chip 14.
收发单元106(或106a-106b)可以通过电路实施,或者通过软件接口实施。如图 1a-1d和图2c-2d所示,收发单元可以存在于电源管理单元12中,或者存在于片上系统14中,或者存在与系统1的诸如主板的其他位置。根据另一种实施例,收发单元也可以同时存在于电源管理单元12和片上系统14中,或者同时存在于电源管理单元12、主板和片上系统14中。The transceiver unit 106 (or 106a-106b) can be implemented by a circuit or a software interface. As shown in FIGS. 1a-1d and FIGS. 2c-2d, the transceiver unit may exist in the power management unit 12, or exist in the system on chip 14, or exist in other positions of the system 1, such as a motherboard. According to another embodiment, the transceiver unit may also exist in the power management unit 12 and the system on chip 14 at the same time, or exist in the power management unit 12, the motherboard and the system on chip 14 at the same time.
在一些实施方式中,具有供电保护装置的系统与不具备该装置的现有系统相比,例如,在相同的低温场景,即使本文描述的系统的电池容量比现有系统的电池容量多下降10%,也可以保持系统运行不关机。在测试中,现有系统在-10℃下,在18%电量时,系统关机,而采用供电保护装置的系统在-10℃下,在9%电量时,系统关机。In some embodiments, a system with a power supply protection device is compared with an existing system without the device, for example, in the same low-temperature scenario, even if the battery capacity of the system described herein is more than 10% lower than that of the existing system. %, you can also keep the system running without shutting down. In the test, the existing system shuts down at -10°C and at 18% power, while the system with the power supply protection device shuts down at -10°C and 9% power.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子设备的系统保持更低的电压运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
图2a-2d示出了可以实施本文描述的一个或多个特征的示例供电保护装置的框图。在一些实施方式中,图2a、2c和2d示出的供电保护装置可以是异常检测装置102。Figures 2a-2d show block diagrams of example power protection devices that can implement one or more of the features described herein. In some embodiments, the power supply protection device shown in FIGS. 2a, 2c, and 2d may be the abnormality detection device 102.
如参考图1a-1d和图2c-2d中所述,异常检测装置102通过收发单元106a接收系统1的温度信息201、电压信息202、负载信息203、电流信息204以及功耗信息205。这些信息来自位于系统1的供电侧的电源管理单元12,位于系统1的负载侧的片上系统14,和主板等其他器件中至少一部分。As described with reference to FIGS. 1a-1d and FIGS. 2c-2d, the abnormality detection device 102 receives the temperature information 201, voltage information 202, load information 203, current information 204, and power consumption information 205 of the system 1 through the transceiver unit 106a. This information comes from at least a part of the power management unit 12 located on the power supply side of the system 1, the system on chip 14 located on the load side of the system 1, and other devices such as motherboards.
在一些实施方式中,上述信息通过布置在系统1中的感应器件/模块获取,例如,分别布置在电源管理单元12、片上系统14和主板的温度传感器、电流/电压感应模块等。In some embodiments, the above-mentioned information is acquired through sensing devices/modules arranged in the system 1, for example, temperature sensors, current/voltage sensing modules, etc. respectively arranged in the power management unit 12, the system on chip 14 and the motherboard.
通过检测系统的多种工作信息,能够对系统供电异常的判断范围更全面,判断精度更高,能够更加精确地提供供电保护,避免过度保护。By detecting various working information of the system, the range of judgment for abnormal power supply of the system can be more comprehensive, the judgment accuracy is higher, and the power supply protection can be provided more accurately to avoid excessive protection.
异常检测单元1022将接收到的信息与对应的阈值比较,检测系统是否存在供电异常。在一些实施方式中,阈值可以基于系统工作状态时的各项供电参数、温度参数进行设定,例如,供电侧的欠压阈值可以是低于系统工作状态下电源管理单元12的输入/出电压的特定电压值或特定百分比。同理,供电侧的过流阈值可以是高于系统工作状态下电源管理单元12的工作电流的特定电流值或特定百分比。在所示的实施方式中,检测供电异常的相应阈值与前述关机阈值不同,可以理解,供电异常阈值与关机阈值相比,具有一定余量,使得检测的供电异常时,并不会触发电源管理单元12关闭电源。The abnormality detection unit 1022 compares the received information with the corresponding threshold, and detects whether the system has abnormal power supply. In some embodiments, the threshold can be set based on various power supply parameters and temperature parameters in the working state of the system. For example, the undervoltage threshold on the power supply side may be lower than the input/output voltage of the power management unit 12 in the working state of the system. A specific voltage value or a specific percentage. Similarly, the overcurrent threshold on the power supply side may be a specific current value or a specific percentage higher than the operating current of the power management unit 12 in the system working state. In the illustrated embodiment, the corresponding threshold for detecting abnormal power supply is different from the aforementioned shutdown threshold. It can be understood that the abnormal power supply threshold has a certain margin compared with the shutdown threshold, so that the detected abnormal power supply will not trigger power management. Unit 12 is powered off.
在一些实施方式中,供电异常信息可以包括指示系统1的供电侧出现低压现象的信息。例如,异常检测单元1022将从收发单元106a接收的电源管理单元12的输入/出电压与欠压阈值进行比较,如果该输入/出电压低于欠压阈值,异常检测单元1022生成欠压异常信息。In some embodiments, the power supply abnormality information may include information indicating that a low voltage phenomenon occurs on the power supply side of the system 1. For example, the abnormality detection unit 1022 compares the input/output voltage of the power management unit 12 received from the transceiver unit 106a with the undervoltage threshold, and if the input/output voltage is lower than the undervoltage threshold, the abnormality detection unit 1022 generates undervoltage abnormal information .
在一些实施方式中,供电异常信息还可以包括指示系统1的供电侧出现电流过大、功耗过大或者电流过大且功耗过大现象的信息。例如,异常检测单元1022将从收发单元106a接收的电源管理单元12的工作电流、功耗分别与过流阈值和高功耗阈值相比较,如果工作电流大于过流阈值、功耗大于高功耗阈值,或者工作电流、功耗两者都大于阈值,则异常检测单元1022生成相应的供电异常信息。在不同的实施方式中,异常检测单 元1022将从收发单元106a接收的电源管理单元12的工作电流和输出电压,并根据工作电流和电压对功耗进行检测,或者根据过流阈值和过压阈值对功耗是否过大进行检测。In some embodiments, the power supply abnormality information may also include information indicating that the power supply side of the system 1 has excessive current, excessive power consumption, or excessive current and excessive power consumption. For example, the abnormality detection unit 1022 compares the operating current and power consumption of the power management unit 12 received from the transceiver unit 106a with the overcurrent threshold and the high power consumption threshold, respectively. If the operating current is greater than the overcurrent threshold and the power consumption is greater than the high power consumption, If the threshold value, or both the operating current and the power consumption are greater than the threshold value, the abnormality detection unit 1022 generates corresponding power supply abnormality information. In different embodiments, the abnormality detection unit 1022 receives the operating current and output voltage of the power management unit 12 from the transceiver unit 106a, and detects the power consumption according to the operating current and voltage, or according to the overcurrent threshold and the overvoltage threshold. Check whether the power consumption is too large.
在一些实施方式中,供电异常信息还可以包括指示系统1的供电侧和/或负载侧出现温度过高或者过低现象的信息。例如,异常检测单元1022将从收发单元106a接收的系统1的温度信息与温度阈值比较,其中,温度信息可以包括电源管理单元12的温度、主板的温度或片上系统14的温度中的至少一种,温度阈值可以包括与各种温度信息相对应的阈值中的至少一种。在不同的实施方式中,温度信息可以包括电源管理单元12的温度、主板的温度或片上系统14的温度的加权平均,温度阈值可以包括对应于该平均后的温度的相应温度阈值。异常检测单元1022将接收的温度信息与低温阈值或高温阈值相比较,如果温度低于低温阈值,则异常检测单元1022生成低温异常信息,如果温度高于高温阈值,则生成高温异常信息。In some embodiments, the power supply abnormality information may further include information indicating that the temperature of the power supply side and/or the load side of the system 1 is too high or too low. For example, the abnormality detection unit 1022 compares the temperature information of the system 1 received from the transceiver unit 106a with a temperature threshold, where the temperature information may include at least one of the temperature of the power management unit 12, the temperature of the motherboard, or the temperature of the system on chip 14 , The temperature threshold may include at least one of thresholds corresponding to various temperature information. In different embodiments, the temperature information may include a weighted average of the temperature of the power management unit 12, the temperature of the motherboard or the temperature of the system on chip 14, and the temperature threshold may include a corresponding temperature threshold corresponding to the averaged temperature. The abnormality detection unit 1022 compares the received temperature information with a low temperature threshold or a high temperature threshold. If the temperature is lower than the low temperature threshold, the abnormality detection unit 1022 generates low temperature abnormality information, and if the temperature is higher than the high temperature threshold, generates high temperature abnormality information.
在一些实施方式中,异常检测装置102可选地包括异常编码单元1024。异常编码单元1024的描述可以参考图1a-1d的相关说明,在此不再赘述。In some embodiments, the abnormality detection device 102 optionally includes an abnormality encoding unit 1024. For the description of the abnormal coding unit 1024, reference may be made to the related descriptions of FIGS. 1a-1d, which will not be repeated here.
在不同的实施方式中,异常检测装置102还可以包括图1a-1d、2b-2d中所示的异常处理装置104中一个或多个单元。以下参考图2b-2d描述异常处理装置104。In different embodiments, the abnormality detection device 102 may further include one or more units in the abnormality processing device 104 shown in FIGS. 1a-1d and 2b-2d. The exception handling device 104 is described below with reference to FIGS. 2b-2d.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection.
图2b示出了可以实施本文描述的一个或多个特征的另一示例供电保护装置的框图。在一些实施方式中,图2b-2d示出的供电保护装置是异常处理装置104。Figure 2b shows a block diagram of another example power supply protection device that can implement one or more of the features described herein. In some embodiments, the power supply protection device shown in FIGS. 2b-2d is the abnormality handling device 104.
如参考图1a-1d和图2c-2d中所述,异常处理装置104根据供电异常信息,发出控制信号,通过收发单元106b将控制信号发送给系统1的参数调节器件/模块,使得系统通过温度调节211、电压调节212、负载性能调节213、电流调节214以及功耗调节215的参数调节器件/模块,调节系统的相应工作参数,防止因供电异常导致系统1的重启或关机。供电异常信息包括前述描述图1a-1d、图2a时列举的各种供电异常信息的示例。As described with reference to Figures 1a-1d and Figures 2c-2d, the abnormality handling device 104 sends a control signal according to the power supply abnormality information, and sends the control signal to the parameter adjustment device/module of the system 1 through the transceiver unit 106b, so that the system can pass the temperature The parameter adjustment devices/modules of adjustment 211, voltage adjustment 212, load performance adjustment 213, current adjustment 214, and power consumption adjustment 215 adjust the corresponding working parameters of the system to prevent the system 1 from restarting or shutting down due to abnormal power supply. The abnormal power supply information includes various examples of abnormal power supply information listed in the foregoing description of FIGS. 1a-1d and 2a.
在一些实施方式中,对于系统的各种供电异常或异常的组合,可以通过一种或多种调节器件/模块进行调节。例如,对于温度异常,温度过高时,可以通过降低系统负载,降低工作频率,降低工作电压,限制系统功耗,也可以触发系统进行物理降温;温度过低时,可以通过提高系统负载,更改工作频率,提升工作电压,提升系统功耗,也可以触发系统进行物理升温。In some embodiments, various power supply abnormalities or combinations of abnormalities in the system can be adjusted by one or more adjustment devices/modules. For example, when the temperature is abnormal and the temperature is too high, you can reduce the system load, reduce the operating frequency, reduce the operating voltage, limit the system power consumption, or trigger the system to cool down physically; when the temperature is too low, you can increase the system load and change Working frequency, increasing working voltage, increasing system power consumption, can also trigger the system to physically heat up.
在一些实施方式中,根据供电侧出现电压过低的现象,异常处理单元1042发出降低系统1的负载侧的工作频率,然后降低负载侧的工作电压的控制信号。降低频率和电压的幅度根据系统工作需求预先设置。例如,降频和降压可以针对负载侧的大负载模块,诸如CPU、GPU、多媒体、AI处理器等模块进行,降压在降频完成之后进行。In some embodiments, according to the phenomenon that the voltage is too low on the power supply side, the abnormality processing unit 1042 sends a control signal to reduce the operating frequency of the load side of the system 1 and then reduce the operating voltage of the load side. The amplitude of reducing the frequency and voltage is preset according to the working requirements of the system. For example, frequency reduction and voltage reduction can be performed for large load modules on the load side, such as CPU, GPU, multimedia, AI processor, etc., and voltage reduction is performed after the frequency reduction is completed.
在一些实施方式中,根据供电侧出现电流过大、功耗过大或者电流和功耗都过大的现象,异常处理单元1042也可以发出降低系统1的负载侧的工作频率,然后降低负载侧的工作电压的控制信号。In some embodiments, according to the phenomenon of excessive current, excessive power consumption, or excessive current and power consumption on the power supply side, the abnormality processing unit 1042 may also issue a reduction in the operating frequency of the load side of the system 1, and then reduce the load side The control signal of the working voltage.
在一些实施方式中,根据供电侧和/或负载侧出现温度过低现象,异常处理单元1042可以发出多种控制信号,包括:提高供电侧的输出电压,降低负载侧的工作频率,提高供电侧的输出电压并降低负载侧的工作频率,和/或提高负载侧的温度。In some embodiments, the abnormality processing unit 1042 may send a variety of control signals according to the phenomenon of low temperature on the power supply side and/or the load side, including: increasing the output voltage of the power supply side, reducing the operating frequency of the load side, and increasing the power supply side. Increase the output voltage and reduce the operating frequency on the load side, and/or increase the temperature on the load side.
在一些实施方式中,根据供电侧和/或负载侧出现温度过高现象,异常处理单元1042可以发出多种控制信号,包括:降低负载侧的工作频率然后降低负载侧的工作电压,和/或降低负载侧的温度。In some embodiments, according to the phenomenon of excessively high temperature on the power supply side and/or the load side, the abnormality processing unit 1042 may send various control signals, including: reducing the operating frequency of the load side and then reducing the operating voltage of the load side, and/or Reduce the temperature on the load side.
在所示的实施方式中,频率和电压的提高和降低可以通过将控制信号传送到处理器142来实施,也可以通过将控制信号直接传送给CRG 144和电源管理单元12来实施。温度的提高和降低通过将控制信号传送到处理器142来实施。In the illustrated embodiment, the increase and decrease of the frequency and voltage can be implemented by transmitting the control signal to the processor 142, or can be implemented by directly transmitting the control signal to the CRG 144 and the power management unit 12. The temperature increase and decrease are implemented by transmitting control signals to the processor 142.
在一些实施方式中,可以对上述各种供电异常进行优先级的排序,并进一步根据该优先级来处理供电异常。在一些示例中,优先级由高到低依次为:过流和/或功耗过高的异常,此场景在正常工作时经常发生,发生几率最大;欠压异常,此场景在供电电压较低(比如电池电压较低时)发生,对系统有比较大影响;高温异常,此场景需要系统高负载工作一定时间,导致温度升高,且温度升高时间从几百毫秒级别到秒级别,比电压电流功耗变化的速度要慢;最后是低温异常,此场景一般出现在环境温度变化,工作温度从常温下降到低温至少为秒级别。In some embodiments, the above-mentioned various power supply abnormalities may be prioritized, and the power supply abnormalities may be further processed according to the priority. In some examples, the priority from high to low is as follows: overcurrent and/or excessive power consumption abnormalities, this scenario often occurs during normal work, and the probability of occurrence is the greatest; undervoltage abnormalities, this scenario is when the power supply voltage is low (For example, when the battery voltage is low), it has a relatively large impact on the system; high temperature is abnormal, this scenario requires the system to work under high load for a certain period of time, which causes the temperature to rise, and the temperature rise time is from a few hundred milliseconds to the second The speed of voltage, current, and power consumption changes is slow; the last is low temperature abnormality. This scenario generally occurs when the ambient temperature changes, and the working temperature drops from normal temperature to low temperature for at least seconds.
在一些实施方式中,具有供电保护装置的系统与不具备该装置的现有系统相比,例如,在相同的低温场景,即使本文描述的系统的电池容量比现有系统的电池容量多下降10%,也可以保持系统运行不关机。在测试中,现有系统在-10℃下,在18%电量时,系统关机,而采用供电保护装置的系统在-10℃下,在9%电量时,系统关机。In some embodiments, a system with a power supply protection device is compared with an existing system without the device, for example, in the same low-temperature scenario, even if the battery capacity of the system described herein is more than 10% lower than that of the existing system. %, you can also keep the system running without shutting down. In the test, the existing system shuts down at -10°C and at 18% power, while the system with the power supply protection device shuts down at -10°C and 9% power.
通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子设备的系统保持更低的电压运行不关机。By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
以下描述根据一些实施方式的供电保护方法。该方法可使用先前描述的供电保护装置来实现。The following describes power supply protection methods according to some embodiments. This method can be implemented using the previously described power supply protection device.
图3示出了根据一些实施方式的供电保护的示例方法300的流程图。在一些实施方式中,方法300例如在电子设备上实施,例如,如图1a-1d所示的系统1上实施。在一些实施方式中,方法500中的一些或全部在如图1a-1d中所示的电源管理单元12、供电保护装置10和/或片上系统14上实施。在一些实施方式中,供电保护装置10、异常检测装置102和/或异常处理装置104的不同组件实施方法300的不同块或其他部分。FIG. 3 shows a flowchart of an example method 300 of power supply protection according to some embodiments. In some embodiments, the method 300 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d. In some embodiments, some or all of the method 500 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d. In some embodiments, different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 300.
对于上述系统和装置实施方式中未描述的内容,可以参见下述方法实施方式;同样地,对于方法实施方式中未描述的内容,可参见上述系统和装置实施方式。For the content not described in the foregoing system and device implementation manners, refer to the following method implementation manners; similarly, for the content not described in the method implementation manners, refer to the foregoing system and device implementation manners.
在块302中,接收针对电子设备在工作状态下的多种参数中至少两种参数的测量信息。In block 302, receiving measurement information for at least two of the various parameters of the electronic device in the working state.
在块304中,将接收到的测量信息与对应的阈值相比较,检测电子设备是否存在异常;并在检测到电子设备存在异常的情况下,生成供电异常信息以指示电子设备存在与两种参数中的至少一种参数相关的供电异常现象。In block 304, the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
在块306中,可选地,对供电异常信息进行编码以及解码。In block 306, optionally, the power supply abnormality information is encoded and decoded.
在块308中,根据指示电子设备在工作状态下的供电侧装置出现电压过低的供电异常信息,生成降低电子设备的负载侧装置的频率,然后降低供电侧装置的输出电压的控制信号。In block 308, a control signal is generated to reduce the frequency of the load-side device of the electronic equipment, and then reduce the output voltage of the power-supply-side device according to the power supply abnormal information indicating that the power supply side device in the working state of the electronic device is under-voltage.
在块310中,向供电侧装置和负载侧装置中的至少一个的参数调节器发送控制信号。In block 310, a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
在一些实施方式中,参数调节器包括处理器142、CRG 144或电源管理单元12的控制电路。In some embodiments, the parameter adjuster includes the processor 142, the CRG 144, or the control circuit of the power management unit 12.
在一些实施方式中,控制信号可以通过硬件连线传送给CRG 144和电源管理单元12,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号并在降频完成后,降低输出电压,从而降低大负载模块的工作电压。其中,降低频率和电压的幅度根据系统工作需求预先设置。In some implementations, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will respond to heavy load modules such as CPU, GPU, multimedia, AI processor, etc. on the load side. Perform frequency reduction processing. The power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module. Among them, the amplitude of reducing the frequency and voltage is preset according to the working requirements of the system.
通过硬件连线直接向CRG 144和电源管理单元12发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG 144降频可以实现纳秒级别的响应速度,通过电源管理单元12可以实现微秒级别的响应速度。The hardware connection directly sends control signals to the CRG 144 and the power management unit 12 to handle the power supply abnormality, which can achieve rapid response to the power supply abnormality. For example, directly using the CRG 144 frequency reduction can achieve a response speed of nanoseconds, and the power management unit 12 can achieve a response speed of microseconds.
在一些实施方式中,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频以及降低电源管理单元12的输出电压。In some embodiments, the control signal may be transmitted to the processor 142, and the processor 142 executes an interrupt after receiving the control signal, and then invokes the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
通过向处理器142传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。By transmitting the control signal to the processor 142 to handle the abnormal power supply, the operating frequency and the output voltage can be adjusted more flexibly and carefully, so that the processing of the abnormal power supply is more accurate and flexible.
在一些不同的实施方式中,在出现欠压异常时,可以进一步判断电源管理单元12的欠压的输入/出电压与电源管理单元12的关机电压阈值的差值是否大于预定值,如果差值大于该预定值,可以认为欠压的输入/出电压与关机电压阈值之间的余量较大,关机风险较低;如果差值小于该预定值,可以认为输入/出电压与关机电压阈值之间的余量较小,关机风险较高。该预定值可以系统工作需求、工作环境等因素预先设置。In some different embodiments, when an undervoltage abnormality occurs, it can be further determined whether the difference between the input/output voltage of the undervoltage of the power management unit 12 and the shutdown voltage threshold of the power management unit 12 is greater than a predetermined value. Greater than the predetermined value, it can be considered that the margin between the undervoltage input/output voltage and the shutdown voltage threshold is large, and the shutdown risk is low; if the difference is less than the predetermined value, it can be considered that the input/output voltage and the shutdown voltage threshold are different The margin is small and the shutdown risk is high. The predetermined value can be preset by factors such as system work requirements and work environment.
在一些示例中,在欠压异常的现象发生时,如果电源管理单元12的输入/出电压与电源管理单元12的关机电压阈值的差值大于该预定值,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频以及降低电源管理单元12的输出电压。如果差值小于该预定值,控制信号可以通过硬件连线传送给CRG 144和电源管理单元12,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号并在降频完成后,降低输出电压,从而降低大负载模块的工作电压。In some examples, when an abnormal undervoltage phenomenon occurs, if the difference between the input/output voltage of the power management unit 12 and the shutdown voltage threshold of the power management unit 12 is greater than the predetermined value, the control signal may be transmitted to the processor 142, The processor 142 executes an interrupt after receiving the control signal, and then calls the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12. If the difference is less than the predetermined value, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will affect the load side such as CPU, GPU, multimedia, AI processor, etc. The load module performs frequency reduction processing. The power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
通过进一步设置供电异常处理的多个条件,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力。By further setting multiple conditions for power supply abnormality processing, it is possible to improve the power supply protection device's ability to handle power supply abnormalities in complex work scenarios.
在一些示例中,如果电源管理单元12的输入/出电压与电源管理单元12的关机电压阈值的差值小于该预定值,控制信号可以先通过硬件连线传送给CRG 144和电源管理单元12,在完成相应的降频和降压操作后,控制信号还可以传送给处理器142,通过供电控制应用进一步对系统进行降频和降压。In some examples, if the difference between the input/output voltage of the power management unit 12 and the shutdown voltage threshold of the power management unit 12 is less than the predetermined value, the control signal can be first transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the corresponding frequency reduction and voltage reduction operations are completed, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
在关机风险较高时,通过结合上述两种异常处理手段,能够在尽可能不影响系统工作的前提下,有效避免系统关机。When the shutdown risk is high, by combining the above two exception handling methods, the system can be effectively prevented from shutting down without affecting the operation of the system as much as possible.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子 设备的系统保持更低的电压运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
图4示出了根据一些实施方式的供电保护的示例方法400的流程图。在一些实施方式中,方法400例如在电子设备上实施,例如,如图1a-1d所示的系统1上实施。在一些实施方式中,方法400中的一些或全部在如图1a-1d中所示的电源管理单元12、供电保护装置10和/或片上系统14上实施。在一些实施方式中,供电保护装置10、异常检测装置102和/或异常处理装置104的不同组件实施方法400的不同块或其他部分。FIG. 4 shows a flowchart of an example method 400 of power supply protection according to some embodiments. In some embodiments, the method 400 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d. In some embodiments, some or all of the method 400 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d. In some embodiments, different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 400.
对于上述系统和装置实施方式中未描述的内容,可以参见下述方法实施方式;同样地,对于方法实施方式中未描述的内容,可参见上述系统和装置实施方式。For the content not described in the foregoing system and device implementation manners, refer to the following method implementation manners; similarly, for the content not described in the method implementation manners, refer to the foregoing system and device implementation manners.
在块402中,接收针对电子设备在工作状态下的多种参数中至少两种参数的测量信息。In block 402, measurement information for at least two of the various parameters of the electronic device in the working state is received.
在块404中,将接收到的测量信息与对应的阈值相比较,检测电子设备是否存在异常;并在检测到电子设备存在异常的情况下,生成供电异常信息以指示电子设备存在与两种参数中的至少一种参数相关的供电异常现象。In block 404, the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
在块406中,可选地,对供电异常信息进行编码以及解码。In block 406, optionally, the power supply abnormality information is encoded and decoded.
在块408中,根据指示电子设备在工作状态下的供电侧装置出现工作电流过大,供电侧装置的功耗过大或者供电侧装置的工作电流过大且功耗过大的供电异常信息,生成降低电子设备的负载侧装置的频率,然后降低供电侧装置的输出电压的控制信号。In block 408, according to the power supply abnormal information indicating that the power supply side device in the working state of the electronic device has excessive operating current, excessive power consumption of the power supply side device, or excessive operating current and excessive power consumption of the power supply side device, Generates a control signal that reduces the frequency of the load-side device of the electronic equipment and then reduces the output voltage of the power-supply-side device.
在块410中,向供电侧装置和负载侧装置中的至少一个的参数调节器发送控制信号。In block 410, a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
在一些实施方式中,参数调节器包括处理器142、CRG 144或电源管理单元12的控制电路。In some embodiments, the parameter adjuster includes the processor 142, the CRG 144, or the control circuit of the power management unit 12.
在一些实施方式中,控制信号可以通过硬件连线传送给CRG 144和电源管理单元12,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号并在降频完成后,降低输出电压,从而降低大负载模块的工作电压。其中,降低频率和电压的幅度根据系统工作需求预先设置。In some implementations, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will respond to heavy load modules such as CPU, GPU, multimedia, AI processor, etc. on the load side. Perform frequency reduction processing. The power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module. Among them, the amplitude of reducing the frequency and voltage is preset according to the working requirements of the system.
通过硬件连线直接向CRG 144和电源管理单元12发送控制信号来处理供电异常,能够实现对供电异常的快速响应。例如,直接通过CRG 144降频可以实现纳秒级别的响应速度,通过电源管理单元12可以实现微秒级别的响应速度。The hardware connection directly sends control signals to the CRG 144 and the power management unit 12 to handle the power supply abnormality, which can achieve rapid response to the power supply abnormality. For example, directly using the CRG 144 frequency reduction can achieve a response speed of nanoseconds, and the power management unit 12 can achieve a response speed of microseconds.
在一些实施方式中,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频以及降低电源管理单元12的输出电压。In some embodiments, the control signal may be transmitted to the processor 142, and the processor 142 executes an interrupt after receiving the control signal, and then invokes the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12.
通过向处理器142传送控制信号来处理供电异常,能够更加灵活和细致地调节工作频率和输出电压,使得对供电异常的处理更加精确和灵活。By transmitting the control signal to the processor 142 to handle the abnormal power supply, the operating frequency and the output voltage can be adjusted more flexibly and carefully, so that the processing of the abnormal power supply is more accurate and flexible.
在一些不同的实施方式中,在出现供电侧的电流过大,功耗过大或者供电侧的电流过大且功耗过大现象时,可以进一步判断电源管理单元12的过流的工作电流和/或功耗分别与电源管理单元12的对应的关机电流阈值和关机功耗阈值的差值是否大于预定值,如果差值大于该预定值,可以认为工作电流和/或功耗与关机电流阈值和关机功耗阈值的余量较大,关机风险较低;如果差值小于该预定值,可以认为工作电流和/或功耗与关机电流阈值和关机功耗阈值的余量较小,关机风险较高。该预定值可以系统工作需求、工 作环境等因素预先设置。In some different implementation manners, when the current on the power supply side is too large, the power consumption is too large, or the current on the power supply side is too large and the power consumption is too large, it is possible to further determine the sum of the overcurrent working current of the power management unit 12 / Or whether the difference between the power consumption and the corresponding shutdown current threshold and shutdown power consumption threshold of the power management unit 12 is greater than a predetermined value, if the difference is greater than the predetermined value, the operating current and/or power consumption and the shutdown current threshold can be considered The margin between the power consumption threshold and the shutdown power consumption threshold is large, and the shutdown risk is low; if the difference is less than the predetermined value, it can be considered that the margin between the operating current and/or power consumption and the shutdown current threshold and shutdown power consumption threshold is small, and the shutdown risk Higher. The predetermined value can be preset by factors such as system work requirements and work environment.
在一些示例中,出现供电侧的电流过大,功耗过大或者供电侧的电流过大且功耗过大现象时,如果电源管理单元12的工作电流和/或功耗分别与电源管理单元12的对应的关机电流阈值和关机功耗阈值的差值大于该预定值,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频以及降低电源管理单元12的输出电压。如果差值小于该预定值,控制信号可以通过硬件连线传送给CRG 144和电源管理单元12,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号并在降频完成后,降低输出电压,从而降低大负载模块的工作电压。In some examples, when the current on the power supply side is too large, the power consumption is too large, or the current on the power supply side is too large and the power consumption is too large, if the working current and/or power consumption of the power management unit 12 are respectively the same as those of the power management unit The difference between the corresponding shutdown current threshold of 12 and the shutdown power consumption threshold is greater than the predetermined value. The control signal can be transmitted to the processor 142. The processor 142 executes an interrupt after receiving the control signal, and then calls the system's power supply control application to the load module. Perform frequency reduction and reduce the output voltage of the power management unit 12. If the difference is less than the predetermined value, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will affect the load side such as CPU, GPU, multimedia, AI processor, etc. The load module performs frequency reduction processing. The power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module.
通过进一步设置供电异常处理的多个条件,能够提高供电保护装置在复杂工作场景中对供电异常现象处理能力。By further setting multiple conditions for power supply abnormality processing, it is possible to improve the power supply protection device's ability to handle power supply abnormalities in complex work scenarios.
在一些示例中,如果电源管理单元12的工作电流和/或功耗分别与电源管理单元12的关机电流阈值和关机功耗阈值的差值小于该预定值,控制信号可以先通过硬件连线传送给CRG 144和电源管理单元12,在完成相应的降频和降压操作后,控制信号还可以传送给处理器142,通过供电控制应用进一步对系统进行降频和降压。In some examples, if the difference between the working current and/or power consumption of the power management unit 12 and the shutdown current threshold and shutdown power consumption threshold of the power management unit 12 is less than the predetermined value, the control signal may be transmitted through the hardware connection first. For the CRG 144 and the power management unit 12, after completing the corresponding frequency reduction and voltage reduction operations, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
在关机风险较高时,通过结合上述两种异常处理手段,能够在尽可能不影响系统工作的前提下,有效避免系统关机。When the shutdown risk is high, by combining the above two exception handling methods, the system can be effectively prevented from shutting down without affecting the operation of the system as much as possible.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子设备的系统保持更低的电压运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
图5示出了根据一些实施方式的供电保护的示例方法500的流程图。在一些实施方式中,方法500例如在电子设备上实施,例如,如图1a-1d所示的系统1上实施。在一些实施方式中,方法500中的一些或全部在如图1a-1d中所示的电源管理单元12、供电保护装置10和/或片上系统14上实施。在一些实施方式中,供电保护装置10、异常检测装置102和/或异常处理装置104的不同组件实施方法500的不同块或其他部分。FIG. 5 shows a flowchart of an example method 500 of power supply protection according to some embodiments. In some embodiments, the method 500 is implemented on an electronic device, for example, on the system 1 shown in FIGS. 1a-1d. In some embodiments, some or all of the method 500 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d. In some embodiments, different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 500.
对于上述系统和装置实施方式中未描述的内容,可以参见下述方法实施方式;同样地,对于方法实施方式中未描述的内容,可参见上述系统和装置实施方式。For the content not described in the foregoing system and device implementation manners, refer to the following method implementation manners; similarly, for the content not described in the method implementation manners, refer to the foregoing system and device implementation manners.
如图5所示,在块502中,接收针对电子设备在工作状态下的多种参数中至少两种参数的测量信息。As shown in FIG. 5, in block 502, measurement information for at least two of the various parameters of the electronic device in the working state is received.
在块504中,将接收到的测量信息与对应的阈值相比较,检测电子设备是否存在异常;并在检测到电子设备存在异常的情况下,生成供电异常信息以指示电子设备存在与两种参数中的至少一种参数相关的供电异常现象。In block 504, the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
在块506中,可选地,对供电异常信息进行编码以及解码。In block 506, optionally, the power supply abnormality information is encoded and decoded.
在块508中,根据指示在工作状态下的电子设备的供电侧装置和负载侧装置中的至少一个出现温度过低的供电异常信息,生成提高供电侧装置的输出电压的控制信号,降低负载侧装置的频率的控制信号,提高供电侧装置的输出电压并降低负载侧装置的频率的控制信号,和,提高负载侧装置的温度的控制信号中的至少一个。In block 508, according to the power supply abnormal information indicating that at least one of the power supply side device and the load side device of the electronic equipment in the working state has an excessively low temperature, a control signal for increasing the output voltage of the power supply side device is generated to reduce the load side device. At least one of a control signal for the frequency of the device, a control signal for increasing the output voltage of the power supply side device and lowering the frequency of the load side device, and a control signal for increasing the temperature of the load side device.
在块510中,向供电侧装置和负载侧装置中的至少一个的参数调节器发送控制信号。In block 510, a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
降低负载侧的工作频率和提高/降低供电侧的输出电压的手段参见上述方法实施方式中的描述,在此不再赘述。The means of reducing the operating frequency of the load side and increasing/decreasing the output voltage of the power supply side can be referred to the description in the above method implementation, which will not be repeated here.
提高/降低负载侧的温度可以通过软件或硬件方式控制主板和片上系统14的和冷却设备(例如,风冷、水冷或油冷设备等)或负载/供电侧的加热设备。Increasing/decreasing the temperature on the load side can control the main board and the system-on-chip 14 and cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) or heating equipment on the load/power supply side through software or hardware.
在一些不同的实施方式中,在出现温度过高或过低异常时,可以进一步判断系统的温度与关机温度阈值的差值是否大于预定值,如果差值大于该预定值,可以认为温度与关机温度阈值的余量较大,关机风险较低;如果差值小于该预定值,可以认为温度与关机温度阈值的余量较小,关机风险较高。该预定值可以系统工作需求、工作环境等因素预先设置。In some different embodiments, when the temperature is too high or too low, it can be further judged whether the difference between the system temperature and the shutdown temperature threshold is greater than a predetermined value. If the difference is greater than the predetermined value, it can be considered that the temperature and shutdown The margin of the temperature threshold is large, and the shutdown risk is low; if the difference is less than the predetermined value, it can be considered that the margin between the temperature and the shutdown temperature threshold is small, and the shutdown risk is high. The predetermined value can be preset by factors such as system work requirements and work environment.
在一些示例中,在温度过低异常发生时,如果系统温度与的关机温度阈值的差值大于该预定值,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频和/或提高电源管理单元12的输出电压,在进行以上操作的同时或者替代地,处理器142接收到控制信号后向温度调节器发出提高温度的指令,温度调节器接到指令后,控制加热设备对供电侧和/或负载侧进行加热。In some examples, when an abnormally low temperature occurs, if the difference between the system temperature and the shutdown temperature threshold is greater than the predetermined value, the control signal may be transmitted to the processor 142, and the processor 142 may execute an interrupt after receiving the control signal, and then Invoke the power supply control application of the system to reduce the frequency of the load module and/or increase the output voltage of the power management unit 12. While performing the above operations or alternatively, the processor 142 sends a temperature increase signal to the temperature regulator after receiving the control signal. After receiving the instruction, the temperature regulator controls the heating device to heat the power supply side and/or the load side.
如果差值小于该预定值,控制信号可以通过硬件连线传送给CRG 144和电源管理单元12,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号后,提高输出电压,从而提高负载侧的工作电压。在进行以上操作的同时或者替代地,控制信号可以通过硬件连线传送到温度调节器,温度调节器接到信号后,控制加热设备对供电侧和/或负载侧进行加热。If the difference is less than the predetermined value, the control signal can be transmitted to the CRG 144 and the power management unit 12 through the hardware connection. After the CRG 144 receives the control signal, it will affect the load side such as CPU, GPU, multimedia, AI processor, etc. The load module performs frequency reduction processing. After receiving the control signal, the power management unit 12 increases the output voltage, thereby increasing the working voltage on the load side. While performing the above operations or alternatively, the control signal can be transmitted to the temperature regulator through the hardware connection, and after receiving the signal, the temperature regulator controls the heating device to heat the power supply side and/or the load side.
通过进一步设置供电异常处理的多个条件,能够提高供电保护装置在复杂工作场景中对供电异常现象处理能力。By further setting multiple conditions for power supply abnormality processing, it is possible to improve the power supply protection device's ability to handle power supply abnormalities in complex work scenarios.
在另一些示例中,如果系统温度距离的关机温度阈值的差值小于该预定值,控制信号可以先通过硬件连线传送给CRG 144、电源管理单元12和温度调节器,在完成相应的降频和提压或升温操作后,控制信号还可以传送给处理器142,通过供电控制应用进一步对系统进行降频和提压。In other examples, if the difference between the system temperature and the shutdown temperature threshold is less than the predetermined value, the control signal can be transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection first, and then the corresponding frequency reduction is completed. After the voltage increase or temperature increase operation, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage increased through the power supply control application.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子设备的系统保持更低的电压运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
图6示出了根据一些实施方式的供电保护的示例方法600的流程图。在一些实施方式中,方法600例如在电子设备上实施,例如,如图1a-1d所示的系统1上实施。在一些实施方式中,方法600中的一些或全部在如图1a-1d中所示的电源管理单元12、供电保护装置10和/或片上系统14上实施。在一些实施方式中,供电保护装置10、异常检测装置102和/或异常处理装置104的不同组件实施方法600的不同块或其他部分。FIG. 6 shows a flowchart of an example method 600 of power supply protection according to some embodiments. In some embodiments, the method 600 is implemented on an electronic device, for example, on the system 1 as shown in FIGS. 1a-1d. In some embodiments, some or all of the method 600 is implemented on the power management unit 12, the power supply protection device 10, and/or the system on chip 14 as shown in FIGS. 1a-1d. In some embodiments, different components of the power supply protection device 10, the abnormality detection device 102, and/or the abnormality processing device 104 implement different blocks or other parts of the method 600.
对于上述系统和装置实施方式中未描述的内容,可以参见下述方法实施方式;同样 地,对于方法实施方式中未描述的内容,可参见上述系统和装置实施方式。For the content not described in the foregoing system and device implementation manners, refer to the following method implementation manners; similarly, for the content not described in the method implementation manners, refer to the foregoing system and device implementation manners.
如图6所示,在块602中,接收针对电子设备在工作状态下的多种参数中至少两种参数的测量信息。As shown in FIG. 6, in block 602, measurement information for at least two of the various parameters of the electronic device in the working state is received.
在块604中,将接收到的测量信息与对应的阈值相比较,检测电子设备是否存在异常;并在检测到电子设备存在异常的情况下,生成供电异常信息以指示电子设备存在与两种参数中的至少一种参数相关的供电异常现象。In block 604, the received measurement information is compared with the corresponding threshold to detect whether the electronic device is abnormal; and when the electronic device is detected to be abnormal, power supply abnormal information is generated to indicate that the electronic device has two parameters Power supply abnormality related to at least one of the parameters.
在块606中,可选地,对供电异常信息进行编码以及解码。In block 606, optionally, the power supply abnormality information is encoded and decoded.
在块608中,根据指示电子设备在工作状态下的供电侧装置和负载侧装置中的至少一个出现温度过高的供电异常信息,生成降低负载侧装置的频率然后降低供电侧装置的输出电压的控制信号,和降低负载侧装置的温度的控制信号中的至少一个。In block 608, according to the power supply abnormal information indicating that at least one of the power supply side device and the load side device in the working state of the electronic equipment has an excessively high temperature, it is generated to reduce the frequency of the load side device and then reduce the output voltage of the power supply side device. At least one of a control signal and a control signal for lowering the temperature of the load-side device.
在块610中,向供电侧装置和负载侧装置中的至少一个的参数调节器发送控制信号。In block 610, a control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
降低负载侧的工作频率和提高/降低供电侧的输出电压的手段参见上述方法实施方式中的描述,在此不再赘述。The means of reducing the operating frequency of the load side and increasing/decreasing the output voltage of the power supply side can be referred to the description in the above method implementation, which will not be repeated here.
提高/降低负载侧的温度可以通过软件或硬件方式控制主板和片上系统14的和冷却设备(例如,风冷、水冷或油冷设备等)或负载/供电侧的加热设备。Increasing/decreasing the temperature on the load side can control the main board and the system-on-chip 14 and cooling equipment (for example, air-cooled, water-cooled or oil-cooled equipment, etc.) or heating equipment on the load/power supply side through software or hardware.
在一些示例中,在温度过高异常发生时,如果系统温度与的关机温度阈值的差值大于该预定值,控制信号可以传送给处理器142,处理器142接收到控制信号后执行中断,然后调用系统的供电控制应用对负载模块进行降频以及降低电源管理单元12的输出电压,在进行以上操作的同时或者替代地,处理器142接收到控制信号后向温度调节器发出降低温度的指令,温度调节器接到指令后,控制冷却设备对供电侧和/或负载侧进行降温。In some examples, when an abnormally high temperature occurs, if the difference between the system temperature and the shutdown temperature threshold is greater than the predetermined value, the control signal may be transmitted to the processor 142, and the processor 142 may execute an interrupt after receiving the control signal, and then Invoke the power supply control application of the system to reduce the frequency of the load module and reduce the output voltage of the power management unit 12. While or alternatively, the processor 142 receives the control signal and sends an instruction to reduce the temperature to the temperature regulator, After receiving the instruction, the temperature regulator controls the cooling equipment to cool down the power supply side and/or the load side.
如果差值小于该预定值,控制信号可以通过硬件连线传送给CRG 144、电源管理单元12和温度调节器,CRG 144接收到控制信号后,对负载侧的诸如CPU、GPU、多媒体、AI处理器等的大负载模块进行降频处理。电源管理单元12接收到控制信号并在降频完成后,降低输出电压,从而降低大负载模块的工作电压。在进行以上操作的同时或者替代地,控制信号可以通过硬件连线传送到温度调节器,温度调节器接到信号后,控制冷却设备对供电侧和/或负载侧进行降温。If the difference is less than the predetermined value, the control signal can be transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection. After the CRG 144 receives the control signal, it processes the CPU, GPU, multimedia, and AI on the load side. The heavy load module such as the device performs frequency reduction processing. The power management unit 12 receives the control signal and reduces the output voltage after the frequency reduction is completed, thereby reducing the working voltage of the heavy load module. While performing the above operations or alternatively, the control signal can be transmitted to the temperature regulator through the hardware connection, and after receiving the signal, the temperature regulator controls the cooling device to cool the power supply side and/or the load side.
通过进一步设置供电异常处理的多个条件,能够提高供电保护装置在复杂工作场景中对供电异常现象处理能力。By further setting multiple conditions for power supply abnormality processing, it is possible to improve the power supply protection device's ability to handle power supply abnormalities in complex work scenarios.
在另一些示例中,如果系统温度与的关机温度阈值的差值小于该预定值,控制信号可以先通过硬件连线传送给CRG 144、电源管理单元12和温度调节器,在完成相应的降频和降压或降温操作后,控制信号还可以传送给处理器142,通过供电控制应用进一步对系统进行降频和降压。In other examples, if the difference between the system temperature and the shutdown temperature threshold is less than the predetermined value, the control signal can be first transmitted to the CRG 144, the power management unit 12 and the temperature regulator through the hardware connection, and the corresponding frequency reduction is completed. After the voltage reduction or temperature reduction operation, the control signal can also be transmitted to the processor 142, and the system can be further reduced in frequency and voltage through the power supply control application.
在进行上述处理的同时,可以通过软件或硬件方式控制主板和片上系统14的和冷却设备进行物理降温。While performing the above processing, the main board and the system on chip 14 and the cooling equipment can be controlled by software or hardware to perform physical cooling.
通过对电子设备的系统在工作状态时的多种供电相关参数的检测,可以全面和准确地判断系统的供电异常,能够更加精确地提供供电保护,避免过度保护。通过采用多种供电异常处理手段,并根据多个条件来组合应用供电异常处理手段,能够提高供电保护装置在复杂工作场景中对供电异常的处理能力,实现在低温,低压,大电流场景,电子 设备的系统保持更低的电压运行不关机。Through the detection of various power supply-related parameters of the electronic equipment system in the working state, the abnormal power supply of the system can be judged comprehensively and accurately, and the power supply protection can be provided more accurately to avoid excessive protection. By adopting a variety of power supply exception handling methods, and combining the application of power supply exception handling methods based on multiple conditions, the power supply protection device can improve the ability of the power supply protection device to handle power supply exceptions in complex work scenarios, and achieve low temperature, low voltage, and high current scenarios. The system of the equipment maintains lower voltage operation without shutting down.
现在参考图7,所示为根据本申请的一个实施例的供电保护设备700的框图。设备700可以包括一个或多个处理器702。设备700还可包括耦合到处理器702的存储器704和通信接口706。或者,存储器可以被集成在处理器内。Referring now to FIG. 7, shown is a block diagram of a power supply protection device 700 according to an embodiment of the present application. The device 700 may include one or more processors 702. The device 700 may also include a memory 704 and a communication interface 706 coupled to the processor 702. Alternatively, the memory may be integrated in the processor.
处理器702可以包括一个或多个单核或多核处理器。处理器702可以包括通用处理器和专用处理器(例如,图形处理器,应用处理器,基带处理器等)的任何组合。在本文的实施例中,处理器702可以被配置为执行根据如图3-6所示的各种实施例的一个或多个实施例。The processor 702 may include one or more single-core or multi-core processors. The processor 702 may include any combination of a general-purpose processor and a special-purpose processor (for example, a graphics processor, an application processor, a baseband processor, etc.). In the embodiments herein, the processor 702 may be configured to execute one or more embodiments according to the various embodiments shown in FIGS. 3-6.
存储器704可以用于加载和存储例如,用于设备700的数据和/或指令,对于一个实施例的存储器704可以包括任何合适的易失性存储器,例如合适的动态随机存取存储器(DRAM)。The memory 704 may be used to load and store, for example, data and/or instructions for the device 700. For an embodiment, the memory 704 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
在另一些实施例中,例如,存储器704可以包括用于存储数据和/或指令的一个或多个有形的,非暂时性计算机可读介质。存储器704可以包括但不限于通过机器或设备制造或形成的物品的非瞬态的有形安排,其包括存储介质,诸如:硬盘任何其它类型的盘,包括软盘、光盘、紧致盘只读存储器(CD-ROM)、紧致盘可重写(CD-RW)以及磁光盘;半导体器件,例如只读存储器(ROM)、诸如动态随机存取存储器(DRAM)和静态随机存取存储器(SRAM)之类的随机存取存储器(RAM)、可擦除可编程只读存储器(EPROM)、闪存、电可擦除可编程只读存储器(EEPROM);相变存储器(PCM);磁卡或光卡;或适于存储电子指令的任何其它类型的介质。In other embodiments, for example, the memory 704 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. The memory 704 may include, but is not limited to, a non-transitory tangible arrangement of objects manufactured or formed by machines or equipment, which includes storage media, such as hard disks, any other types of disks, including floppy disks, optical disks, compact disk read-only memory ( CD-ROM), compact disk rewritable (CD-RW) and magneto-optical disk; semiconductor devices such as read only memory (ROM), such as dynamic random access memory (DRAM) and static random access memory (SRAM) Random access memory (RAM), erasable programmable read-only memory (EPROM), flash memory, electrically erasable programmable read-only memory (EEPROM); phase change memory (PCM); magnetic or optical card; or Any other type of medium suitable for storing electronic instructions.
存储器704可以包含指令或包含设计数据,诸如硬件描述语言(HDL),它定义本文中描述的结构、电路、装置、处理器和/或系统特征。这些实施例也被称为程序产品。The memory 704 may contain instructions or contain design data, such as a hardware description language (HDL), which defines the structures, circuits, devices, processors, and/or system features described herein. These embodiments are also called program products.
存储器704可以包括物理上是安装设备700的一部分的存储资源,或者它可以由设备700访问,但不一定是设备700的一部分。例如,可以经由通信接口706通过网络访问存储器704。The memory 704 may include storage resources that are physically part of the installation device 700, or it may be accessed by the device 700, but not necessarily a part of the device 700. For example, the storage 704 can be accessed through the network via the communication interface 706.
存储器704可以特别地包括指令的暂时或持久副本。指令可以包括当由至少一个处理器702执行时,导致设备700实现如参考图3-6所述的供电保护方法的指令。The memory 704 may specifically include temporary or permanent copies of instructions. The instructions may include instructions that, when executed by at least one processor 702, cause the device 700 to implement the power supply protection method described with reference to FIGS. 3-6.
通信接口706可以包括如图1a-2d中所示的任何收发单元,以为设备700提供信号传输接口。The communication interface 706 may include any transceiving unit as shown in FIGS. 1a-2d to provide a signal transmission interface for the device 700.
本申请的各方法实施方式均可以以软件、磁件、固件等方式实现。Each method implementation manner of the present application can be implemented in software, magnetic parts, firmware, etc.
可将程序代码应用于输入指令,以执行本文描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(DSP)、微控制器、专用集成电路(ASIC)或微处理器之类的处理器的任何系统。Program code can be applied to input instructions to perform the functions described herein and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本文中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。The program code can be implemented in a high-level programming language or an object-oriented programming language to communicate with the processing system. When needed, assembly language or machine language can also be used to implement the program code. In fact, the mechanisms described in this article are not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.
至少一个实施例的一个或多个方面可以由存储在计算机可读存储介质上的表示性指令来实现,指令表示处理器中的各种逻辑,指令在被机器读取时使得该机器制作用于执行本文所述的技术的逻辑。被称为“IP核”的这些表示可以被存储在有形的计算机可读 存储介质上,并被提供给多个客户或生产设施以加载到实际制造该逻辑或处理器的制造机器中。One or more aspects of at least one embodiment may be implemented by representative instructions stored on a computer-readable storage medium. The instructions represent various logics in the processor, and when the instructions are read by a machine, the machine makes Implement the logic of the techniques described in this article. These representations called "IP cores" can be stored on a tangible computer-readable storage medium and provided to multiple customers or production facilities to be loaded into the manufacturing machine that actually manufactures the logic or processor.
在一些情况下,指令转换器可用来将指令从源指令集转换至目标指令集。例如,指令转换器可以变换(例如使用静态二进制变换、包括动态编译的动态二进制变换)、变形、仿真或以其它方式将指令转换成将由核来处理的一个或多个其它指令。指令转换器可以用软件、硬件、固件、或其组合实现。指令转换器可以在处理器上、在处理器外、或者部分在处理器上且部分在处理器外。In some cases, the instruction converter can be used to convert instructions from the source instruction set to the target instruction set. For example, the instruction converter may transform (for example, use static binary transformation, dynamic binary transformation including dynamic compilation), deform, emulate, or otherwise convert the instruction into one or more other instructions to be processed by the core. The instruction converter can be implemented by software, hardware, firmware, or a combination thereof. The instruction converter may be on the processor, off the processor, or part on the processor and part off the processor.

Claims (35)

  1. 一种具有供电保护功能的系统,其特征在于,所述系统包括:A system with power supply protection function, characterized in that the system includes:
    收发单元,用于接收针对电子设备的测量信息,其中所述测量信息包括对所述电子设备在工作状态下的多种参数中的至少两种参数的测量结果,其中,所述多种参数包括:电流、电压、功耗、频率以及温度;以及The transceiver unit is configured to receive measurement information for an electronic device, where the measurement information includes measurement results of at least two of multiple parameters of the electronic device in a working state, wherein the multiple parameters include : Current, voltage, power consumption, frequency and temperature; and
    检测单元,用于通过将所述收发单元接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并用于在检测到所述电子设备存在异常的情况下,生成供电异常信息以指示所述电子设备存在与所述至少两种参数中的至少一种参数相关的供电异常现象。The detection unit is configured to detect whether the electronic device has an abnormality by comparing the measurement information received by the transceiver unit with corresponding thresholds, and used to detect whether the electronic device has an abnormality, when the electronic device is detected to be abnormal, Power supply abnormality information is generated to indicate that the electronic device has a power supply abnormality related to at least one of the at least two parameters.
  2. 根据权利要求1所述的系统,其特征在于,所述供电异常信息包括指示所述电子设备的供电侧装置出现所述电压过低现象的信息。The system according to claim 1, wherein the power supply abnormal information includes information indicating that the voltage is too low in a power supply side device of the electronic equipment.
  3. 根据权利要求1-2中任一项所述的系统,其特征在于,所述供电异常信息包括指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象的信息。The system according to any one of claims 1-2, wherein the power supply abnormal information includes an indication that the power supply side device of the electronic equipment has the excessive current, and the power supply side device has the power Information about the phenomenon that the power consumption is too large or the current of the power supply side device is too large and the power consumption is too large.
  4. 根据权利要求1-3中任一项所述的系统,其特征在于,所述供电异常信息包括指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高或者过低现象的信息。The system according to any one of claims 1 to 3, wherein the power supply abnormality information includes an indication that at least one of the power supply side device and the load side device of the electronic equipment has the temperature too high or too high. Low phenomenon information.
  5. 根据权利要求1-4中任一项所述的系统,其特征在于,所述系统还包括:The system according to any one of claims 1-4, wherein the system further comprises:
    处理单元,用于根据所述供电异常信息,发出控制信号以控制所述电子设备调节所述多种参数中的至少一种参数。The processing unit is configured to send a control signal to control the electronic device to adjust at least one of the multiple parameters according to the power supply abnormality information.
  6. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。According to the power supply abnormal information indicating that the voltage is too low on the power supply side device of the electronic equipment, it is issued to reduce the frequency of the load side device of the electronic equipment, and then reduce the output voltage of the power supply side device The control signal.
  7. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电压过低的现象,判断所述供电侧装置的所述电压与所述供电侧装置的关机电压阈值的差值是否大于预定值;According to the power supply abnormal information indicating that the voltage is too low in the power supply side device of the electronic equipment, it is determined whether the difference between the voltage of the power supply side device and the shutdown voltage threshold of the power supply side device is greater than a predetermined value value;
    如果所述差值大于所述预定值,则向所述电子设备的负载侧装置的处理器发送所述控制信号,以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低 所述供电侧装置的输出电压的指令;If the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt to perform the reduction of the frequency of the load-side device And an instruction to reduce the output voltage of the power supply side device;
    如果所述差值小于所述预定值,则向所述负载侧装置的时钟复位发生器(CRG)发出降低所述频率的所述控制信号,以及向所述供电侧装置的电源管理单元(PMU)发出降低所述输出电压的所述控制信号。If the difference is less than the predetermined value, the control signal to lower the frequency is sent to the clock reset generator (CRG) of the load side device, and the power management unit (PMU) of the power supply side device is sent ) Issue the control signal to lower the output voltage.
  8. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,发出降低所述电子设备的负载侧装置的所述频率,然后降低所述供电侧装置的输出电压的所述控制信号。According to the power supply abnormality information, it is indicated that the power supply side device of the electronic equipment has the excessive current, the power consumption of the power supply side device is too large, or the current of the power supply side device is too large and the power supply The phenomenon of excessive consumption is to issue the control signal for reducing the frequency of the load-side device of the electronic equipment, and then reducing the output voltage of the power supply-side device.
  9. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置出现所述电流过大,所述供电侧装置的所述功耗过大或者所述供电侧装置的所述电流过大且所述功耗过大现象,判断所述电子设备的供电侧装置的工作电流和所述功耗中的至少一个与所述供电侧装置的关机电流阈值和关机功耗阈值中的至少一个的差值是否大于预定值;According to the power supply abnormality information, it is indicated that the power supply side device of the electronic equipment has the excessive current, the power consumption of the power supply side device is too large, or the current of the power supply side device is too large and the power supply Excessive consumption, determining whether the difference between at least one of the operating current and the power consumption of the power supply side device of the electronic equipment and at least one of the shutdown current threshold and the shutdown power consumption threshold of the power supply side device is greater than Predetermined value
    如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压的指令;If the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt to perform the reduction of the frequency of the load-side device and the reduction of the The instruction of the output voltage of the power supply side device;
    如果所述差值小于所述预定值,则向所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号。If the difference is less than the predetermined value, then send the control signal to reduce the frequency to the CRG of the load side device and send the control signal to reduce the output voltage to the PMU of the power supply side device .
  10. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,发出提高所述供电侧装置的输出电压的所述控制信号,降低所述负载侧装置的所述频率的所述控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的所述控制信号,和,提高所述负载侧装置的所述温度的所述控制信号中的至少一个。According to the power supply abnormal information indicating that at least one of the power supply side device and the load side device of the electronic equipment has the phenomenon of the excessively low temperature, the control signal for increasing the output voltage of the power supply side device is issued to reduce the The control signal of the frequency of the load-side device, increase the output voltage of the power supply-side device and decrease the control signal of the frequency of the load-side device, and increase the load-side device At least one of the control signals for the temperature.
  11. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过低的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行提高所述供电侧装置的输出电压,降低所述负载侧装置的所述频率和提高所述负载侧装置的所述温度的指令中的至少一个;According to the power supply abnormality information indicating that the temperature of at least one of the power supply side device and the load side device of the electronic equipment is too low, determine the temperature of at least one of the power supply side device and the load side device Whether the difference between the shutdown temperature of the electronic device and the electronic device is greater than a predetermined value; if the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt So as to execute at least one of an instruction to increase the output voltage of the power supply-side device, reduce the frequency of the load-side device, and increase the temperature of the load-side device;
    如果所述差值小于预定值,则向所述供电侧装置的PMU发出提高所述输出电压的所述控制信号,向所述负载侧装置的CRG发出降低所述频率的所述控制信号,和向所述负载侧装置的温度调节器发出提高所述温度的所述控制信号中的至少一个。If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device.
  12. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中至少一个出现所述温度过高的现象,发出降低所述负载侧装置的所述频率然后降低所述供电侧装置的输出电压的所述控制信号,和降低所述负载侧装置的所述温度的所述控制信号中的至少一个。According to the power supply abnormality information indicating that at least one of the power supply side device and the load side device of the electronic equipment has the phenomenon of the excessive temperature, it is issued to reduce the frequency of the load side device and then reduce the power supply side device At least one of the control signal for outputting voltage and the control signal for reducing the temperature of the load-side device.
  13. 根据权利要求5所述的系统,其特征在于,所述处理单元具体用于:The system according to claim 5, wherein the processing unit is specifically configured to:
    根据所述供电异常信息指示所述电子设备的供电侧装置和负载侧装置中的至少一个出现所述温度过高的现象,判断所述供电侧装置和负载侧装置中的至少一个的所述温度与所述电子设备的关机温度的差值是否大于预定值;Determine the temperature of at least one of the power supply side device and the load side device according to the power supply abnormality information indicating that the temperature is too high in at least one of the power supply side device and the load side device of the electronic equipment Whether the difference with the shutdown temperature of the electronic device is greater than a predetermined value;
    如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的输出电压,和降低所述负载侧装置的所述温度的指令中的至少一个;If the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform lowering the frequency of the load-side device and lowering the At least one of the output voltage of the power supply-side device and an instruction to lower the temperature of the load-side device;
    如果所述差值小于所述预定值,则向所述电子设备的所述负载侧装置的CRG发出降低所述频率的所述控制信号,向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号,和向所述负载侧装置的温度调节器发出降低所述温度的所述控制信号中的至少一个。If the difference is less than the predetermined value, send the control signal to reduce the frequency to the CRG of the load-side device of the electronic equipment, and send the PMU of the power supply side device to reduce the output voltage At least one of the control signal of and the control signal for reducing the temperature to the temperature regulator of the load-side device.
  14. 根据权利要求1-13中任一项所述的系统,其特征在于,在所述供电异常信息指示存在与所述至少两种参数相关的供电异常现象的情况下,按照下列优先级来处理所述供电异常信息:The system according to any one of claims 1-13, wherein when the power supply abnormality information indicates that there is a power supply abnormality related to the at least two parameters, the processing is performed according to the following priority Abnormal power supply information:
    与所述电流过大和所述功耗过大中的至少一个相关的所述优先级高于与所述电压过低相关的所述优先级;The priority related to at least one of the excessive current and the excessive power consumption is higher than the priority related to the excessive low voltage;
    与所述电压过低相关的所述优先级高于与所述温度过高相关的所述优先级;以及The priority related to the undervoltage is higher than the priority related to the overtemperature; and
    与所述温度过高相关的所述优先级高于与所述温度过低相关的所述优先级。The priority related to the excessively high temperature is higher than the priority related to the excessively low temperature.
  15. 根据权利要求1-14中任一项所述的系统,其特征在于,所述系统还包括:The system according to any one of claims 1-14, wherein the system further comprises:
    编码单元,用于将所述供电异常信息编码,产生经编码的供电异常信息;和An encoding unit for encoding the power supply abnormal information to generate encoded power supply abnormal information; and
    解码单元,用于对所述经编码的供电异常信息进行解码,以获得所述供电异常信息。The decoding unit is configured to decode the encoded power supply abnormal information to obtain the power supply abnormal information.
  16. 一种供电保护方法,其特征在于,所述方法包括:A power supply protection method, characterized in that the method includes:
    根据指示电子设备在工作状态下的供电侧装置出现电压过低的供电异常信息,生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号;和Generating a control signal for reducing the frequency of the load-side device of the electronic device and then reducing the output voltage of the power supply-side device according to the power supply abnormality information indicating that the power supply side device of the electronic device is in the working state; and
    向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。The control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  17. 根据权利要求16所述的方法,其特征在于,所述供电异常信息还指示所述电子设备在所述工作状态下的所述供电侧装置和所述负载侧装置中的至少一个的温度过低。The method according to claim 16, wherein the power supply abnormality information further indicates that the temperature of at least one of the power supply side device and the load side device of the electronic device in the working state is too low .
  18. 根据权利要求16-17中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 16-17, further comprising:
    接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息;以及Receiving measurement information for at least two of the multiple parameters of the electronic device in the working state; and
    将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述两种参数中的至少一种参数相关的供电异常现象,The received measurement information is respectively compared with the corresponding threshold to detect whether the electronic device is abnormal, and if the electronic device is abnormal, the power supply abnormal information is generated to indicate the electronic device The equipment has an abnormal power supply related to at least one of the two parameters,
    其中,所述多种参数包括:电流,电压,功耗、频率以及温度。Among them, the multiple parameters include: current, voltage, power consumption, frequency, and temperature.
  19. 根据权利要求18所述的方法,其特征在于,还包括:The method according to claim 18, further comprising:
    将所述供电异常信息编码,产生经编码的所述供电异常信息;和Encoding the power supply abnormal information to generate the encoded power supply abnormal information; and
    对经编码的所述供电异常信息进行解码,以获得所述供电异常信息。Decoding the encoded power supply abnormal information to obtain the power supply abnormal information.
  20. 根据权利要求16-19中任一项所述的方法,其特征在于,所述生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号还包括:The method according to any one of claims 16-19, wherein the generating a control signal that reduces the frequency of the load-side device of the electronic equipment and then reduces the output voltage of the power supply-side device further comprises:
    判断所述供电侧装置的所述电压与所述供电侧装置的关机电压阈值的差值是否大于预定值;Determine whether the difference between the voltage of the power supply side device and the shutdown voltage threshold of the power supply side device is greater than a predetermined value;
    如果所述差值大于所述预定值,则向所述电子设备的所述负载侧装置的处理器发送所述控制信号,以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令;If the difference value is greater than the predetermined value, the control signal is sent to the processor of the load-side device of the electronic device to cause the processor to interrupt so as to perform all reductions in the load-side device. The frequency and an instruction to reduce the output voltage of the power supply side device;
    如果所述差值小于所述预定值,则向所述负载侧装置的时钟复位发生器(CRG)发出降低所述频率的所述控制信号,以及向所述供电侧装置的电源管理单元(PMU)发出降低所述输出电压的所述控制信号。If the difference is less than the predetermined value, the control signal to lower the frequency is sent to the clock reset generator (CRG) of the load side device, and the power management unit (PMU) of the power supply side device is sent ) Issue the control signal to lower the output voltage.
  21. 一种供电保护方法,其特征在于,所述方法包括:A power supply protection method, characterized in that the method includes:
    根据指示电子设备在工作状态下的供电侧装置出现工作电流过大,所述供电侧装置的功耗过大或者所述供电侧装置的所述工作电流过大且所述功耗过大的供电异常信息,生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号;和According to the power supply that indicates that the power supply side device in the working state of the electronic equipment has excessive working current, the power consumption of the power supply side device is too large, or the working current of the power supply side device is too large and the power consumption is too large Abnormal information, generating a control signal that reduces the frequency of the load-side device of the electronic equipment and then reduces the output voltage of the power supply-side device; and
    向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。The control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  22. 根据权利要求21所述的方法,其特征在于,还包括:The method according to claim 21, further comprising:
    接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息;以及Receiving measurement information for at least two of the multiple parameters of the electronic device in the working state; and
    将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,则生成所述供电异常信息以指示所述电子设备存在与所述至少两种参数中的至少一种参数相关的供电异常现象,The received measurement information is respectively compared with the corresponding threshold to detect whether the electronic device is abnormal, and if the electronic device is detected to be abnormal, the power supply abnormal information is generated to indicate the The electronic device has a power supply abnormal phenomenon related to at least one of the at least two parameters,
    其中,所述多种参数包括:电流,电压,功耗、频率以及温度。Among them, the multiple parameters include: current, voltage, power consumption, frequency, and temperature.
  23. 根据权利要求22所述的方法,其特征在于,还包括:The method according to claim 22, further comprising:
    将所述供电异常信息编码,产生经编码的所述供电异常信息;和Encoding the power supply abnormal information to generate the encoded power supply abnormal information; and
    对经编码的所述供电异常信息进行解码,以获得所述供电异常信息。Decoding the encoded power supply abnormal information to obtain the power supply abnormal information.
  24. 根据权利要求21-23中任一项所述的方法,其特征在于,所述生成降低所述电子设备的负载侧装置的频率,然后降低所述供电侧装置的输出电压的控制信号还包括:23. The method according to any one of claims 21-23, wherein the generating a control signal that reduces the frequency of the load-side device of the electronic equipment and then reduces the output voltage of the power supply-side device further comprises:
    判断所述电子设备的所述供电侧装置的所述工作电流和所述功耗中的至少一个与所述供电侧装置的关机电流阈值和关机功耗阈值中的至少一个的差值是否大于预定值;Determine whether the difference between at least one of the operating current and the power consumption of the power supply side device of the electronic equipment and at least one of the shutdown current threshold and the shutdown power consumption threshold of the power supply side device is greater than a predetermined value value;
    如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令;If the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform lowering the frequency of the load-side device and lowering the The instruction of the output voltage of the power supply side device;
    如果所述差值小于所述预定值,则向所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号。If the difference is less than the predetermined value, then send the control signal to reduce the frequency to the CRG of the load side device and send the control signal to reduce the output voltage to the PMU of the power supply side device .
  25. 一种供电保护方法,其特征在于,所述方法包括:A power supply protection method, characterized in that the method includes:
    根据指示在工作状态下的电子设备的供电侧装置和负载侧装置中的至少一个出现温度过低的供电异常信息,生成提高所述供电侧装置的输出电压的控制信号,降低所述负载侧装置的频率的控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的控制信号,和,提高所述负载侧装置的所述温度的控制信号中的至少一个;和According to the power supply abnormal information indicating that at least one of the power supply side device and the load side device of the electronic equipment in the working state has an excessively low temperature, a control signal for increasing the output voltage of the power supply side device is generated to lower the load side device The control signal for increasing the output voltage of the power supply side device and the control signal for decreasing the frequency of the load side device, and the control signal for increasing the temperature of the load side device at least One; and
    向所述供电侧装置和所述负载侧装置中的至少一个的参数调节器发送所述控制信号。The control signal is sent to a parameter adjuster of at least one of the power supply side device and the load side device.
  26. 根据权利要求25所述的方法,其特征在于,还包括:The method according to claim 25, further comprising:
    接收针对所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息;以及Receiving measurement information for at least two of the multiple parameters of the electronic device in the working state; and
    将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述至少两种参数中的至少一种参数相关的供电异常现象,The received measurement information is respectively compared with the corresponding threshold to detect whether the electronic device is abnormal, and if the electronic device is abnormal, the power supply abnormal information is generated to indicate the electronic device The device has a power supply abnormal phenomenon related to at least one of the at least two parameters,
    其中,所述多种参数包括:电流,电压,功耗、频率以及温度。Among them, the multiple parameters include: current, voltage, power consumption, frequency, and temperature.
  27. 根据权利要求26所述的方法,其特征在于,所述方法还包括:The method according to claim 26, wherein the method further comprises:
    将所述供电异常信息编码,产生经编码的所述供电异常信息;和Encoding the power supply abnormal information to generate the encoded power supply abnormal information; and
    对经编码的所述供电异常信息进行解码,以获得所述供电异常信息。Decoding the encoded power supply abnormal information to obtain the power supply abnormal information.
  28. 根据权利要求25-27中任一项所述的方法,其特征在于,所述生成提高所述供电侧装置的所述输出电压的控制信号,降低所述负载侧装置的频率的所述控制信号,提高所述供电侧装置的所述输出电压并降低所述负载侧装置的所述频率的所述控制信号,和提高所述负载侧装置的所述温度的所述控制信号中的至少一个,还包括:The method according to any one of claims 25-27, wherein the generating a control signal for increasing the output voltage of the power supply side device, and the control signal for reducing the frequency of the load side device , At least one of the control signal for increasing the output voltage of the power supply side device and reducing the frequency of the load side device, and the control signal for increasing the temperature of the load side device, Also includes:
    判断所述供电侧装置和所述负载侧装置中的至少一个的所述温度与所述电子设备的 关机温度的差值是否大于预定值;Determining whether the difference between the temperature of at least one of the power supply side device and the load side device and the shutdown temperature of the electronic device is greater than a predetermined value;
    如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行提高所述供电侧装置的所述输出电压的指令,降低所述负载侧装置的所述频率的所述指令和提高所述负载侧装置的所述温度的所述指令中的至少一个;If the difference is greater than the predetermined value, sending the control signal to the processor of the load-side device to interrupt the processor to execute the instruction to increase the output voltage of the power supply-side device, At least one of the instruction to reduce the frequency of the load-side device and the instruction to increase the temperature of the load-side device;
    如果所述差值小于预定值,则向所述供电侧装置的PMU发出提高所述输出电压的所述控制信号,向所述负载侧装置的CRG发出降低所述频率的所述控制信号,和向所述负载侧装置的温度调节器发出提高所述温度的所述控制信号中的至少一个。If the difference is less than a predetermined value, send the control signal to increase the output voltage to the PMU of the power supply side device, and send the control signal to lower the frequency to the CRG of the load side device, and At least one of the control signals for increasing the temperature is sent to a temperature regulator of the load-side device.
  29. 一种供电保护方法,其特征在于,所述方法包括:A power supply protection method, characterized in that the method includes:
    根据指示电子设备在工作状态下的供电侧装置和负载侧装置中的至少一个出现温度过高的供电异常信息,生成降低所述负载侧装置的频率然后降低所述供电侧装置的输出电压的所述控制信号,和降低所述负载侧装置的所述温度的所述控制信号中的至少一个;和According to the power supply abnormal information indicating that at least one of the power supply side device and the load side device in the working state of the electronic equipment has an excessively high temperature, it is generated to reduce the frequency of the load side device and then reduce the output voltage of the power supply side device. At least one of the control signal, and the control signal to lower the temperature of the load-side device; and
    向所述供电侧装置和/或所述负载侧装置中的参数调节器发送所述控制信号。The control signal is sent to the parameter regulator in the power supply side device and/or the load side device.
  30. 根据权利要求29所述的方法,其特征在于,所述方法还包括:The method according to claim 29, wherein the method further comprises:
    接收对于所述电子设备在所述工作状态下的多种参数中至少两种参数的测量信息;以及Receiving measurement information of at least two of the multiple parameters of the electronic device in the working state; and
    将接收到的所述测量信息分别与对应的阈值相比较,检测所述电子设备是否存在异常,并且在检测到所述电子设备存在异常的情况下,生成所述供电异常信息以指示所述电子设备存在与所述至少两种参数中的至少一种参数相关的供电异常现象,The received measurement information is respectively compared with the corresponding threshold to detect whether the electronic device is abnormal, and if the electronic device is abnormal, the power supply abnormal information is generated to indicate the electronic device The device has a power supply abnormal phenomenon related to at least one of the at least two parameters,
    其中,所述多种参数包括:电流,电压,功耗、频率以及温度。Among them, the multiple parameters include: current, voltage, power consumption, frequency, and temperature.
  31. 根据权利要求30所述的方法,其特征在于还包括:The method according to claim 30, further comprising:
    对经编码的所述供电异常信息进行解码,以获得所述供电异常信息;和Decode the encoded power supply abnormal information to obtain the power supply abnormal information; and
    将所述供电异常信息编码,产生经编码的所述供电异常信息。Encoding the power supply abnormal information to generate the encoded power supply abnormal information.
  32. 根据权利要求29-31中任一项所述的方法,其特征在于,所述生成降低所述负载侧装置的频率然后降低所述供电侧装置的输出电压的控制信号,和降低所述负载侧装置的温度的所述控制信号中的至少一个,还包括:The method according to any one of claims 29-31, wherein the generating a control signal that reduces the frequency of the load side device and then reduces the output voltage of the power supply side device, and reduces the load side device At least one of the control signals of the temperature of the device further includes:
    判断所述供电侧装置和所述负载侧装置中的至少一个的温度与所述电子设备的关机温度的差值是否大于预定值;Determining whether the difference between the temperature of at least one of the power supply side device and the load side device and the shutdown temperature of the electronic device is greater than a predetermined value;
    如果所述差值大于所述预定值,则向所述负载侧装置的处理器发送所述控制信号以使所述处理器发生中断以便执行降低所述负载侧装置的所述频率以及降低所述供电侧装置的所述输出电压的指令,和降低所述负载侧装置的所述温度的所述指令中的至少一个;If the difference is greater than the predetermined value, the control signal is sent to the processor of the load-side device to cause the processor to interrupt in order to perform lowering the frequency of the load-side device and lowering the At least one of the instruction of the output voltage of the power supply-side device and the instruction of reducing the temperature of the load-side device;
    如果所述差值小于预定值,则向所述电子设备的所述负载侧装置的CRG发出降低所述频率的所述控制信号以及向所述供电侧装置的PMU发出降低所述输出电压的所述控制信号,和向所述负载侧装置的温度调节器发出降低所述温度的所述控制信号中的至 少一个。If the difference is less than the predetermined value, the control signal to reduce the frequency is sent to the CRG of the load-side device of the electronic equipment and the PMU of the power supply side device is sent to the PMU of the power supply-side device to reduce the output voltage. At least one of the control signal, and the control signal to lower the temperature to a temperature regulator of the load-side device.
  33. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有指令,该指令在计算机上执行时使所述计算机执行根据权利要求16-32中任一项所述的供电保护方法。A computer-readable storage medium, characterized in that instructions are stored on the computer-readable storage medium, which when executed on a computer cause the computer to execute the power supply according to any one of claims 16-32 Protection method.
  34. 一种供电保护设备,其特征在于,包括:A power supply protection device, characterized in that it comprises:
    存储器,用于存储由所述供电保护设备的一个或多个处理器执行的指令,以及A memory for storing instructions executed by one or more processors of the power supply protection device, and
    处理器,用于执行所述存储器中的所述指令,以执行根据权利要求16-32中任一项所述的供电保护方法。The processor is configured to execute the instructions in the memory to execute the power supply protection method according to any one of claims 16-32.
  35. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    供电侧装置;Power supply side device;
    负载侧装置;以及Load side device; and
    根据权利要求1-15中任一项所述的具有供电保护功能的系统。The system with power supply protection function according to any one of claims 1-15.
PCT/CN2019/095665 2019-07-12 2019-07-12 Power supply protection method, and system with power supply protection function WO2021007682A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980097059.8A CN113906648A (en) 2019-07-12 2019-07-12 Power supply protection method and system with power supply protection function
PCT/CN2019/095665 WO2021007682A1 (en) 2019-07-12 2019-07-12 Power supply protection method, and system with power supply protection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/095665 WO2021007682A1 (en) 2019-07-12 2019-07-12 Power supply protection method, and system with power supply protection function

Publications (1)

Publication Number Publication Date
WO2021007682A1 true WO2021007682A1 (en) 2021-01-21

Family

ID=74210072

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095665 WO2021007682A1 (en) 2019-07-12 2019-07-12 Power supply protection method, and system with power supply protection function

Country Status (2)

Country Link
CN (1) CN113906648A (en)
WO (1) WO2021007682A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837646A (en) * 2021-02-02 2021-05-25 海信视像科技股份有限公司 Display device and control method thereof
CN114899788A (en) * 2022-05-17 2022-08-12 深圳英众世纪智能科技有限公司 Power supply control method and electronic equipment
CN116914926A (en) * 2023-07-11 2023-10-20 江苏诚一科技集团有限公司 Multi-power intelligent monitoring equipment applicable to multiple scenes and monitoring system thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028207B (en) * 2022-05-16 2024-04-12 荣耀终端有限公司 Scheduling policy determination method, device, equipment and storage medium
CN115237243B (en) * 2022-07-19 2023-04-07 中昊芯英(杭州)科技有限公司 Chip protection method, device, medium and computing equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017688A (en) * 2006-07-05 2008-01-24 Kd Power Co Ltd Digital electric distribution panel
CN101174715A (en) * 2007-09-28 2008-05-07 深圳先进技术研究院 Power battery management system with control and protection function and method thereof
CN102832716A (en) * 2012-09-14 2012-12-19 南京莱斯信息技术股份有限公司 Intelligent power supply device
CN103455120A (en) * 2012-05-28 2013-12-18 鸿富锦精密工业(深圳)有限公司 Power supply control system and method
CN104049709A (en) * 2013-03-15 2014-09-17 广达电脑股份有限公司 Power management method of server system
CN104765288A (en) * 2015-02-06 2015-07-08 深圳市昌遂科技有限公司 Power distribution unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017688A (en) * 2006-07-05 2008-01-24 Kd Power Co Ltd Digital electric distribution panel
CN101174715A (en) * 2007-09-28 2008-05-07 深圳先进技术研究院 Power battery management system with control and protection function and method thereof
CN103455120A (en) * 2012-05-28 2013-12-18 鸿富锦精密工业(深圳)有限公司 Power supply control system and method
CN102832716A (en) * 2012-09-14 2012-12-19 南京莱斯信息技术股份有限公司 Intelligent power supply device
CN104049709A (en) * 2013-03-15 2014-09-17 广达电脑股份有限公司 Power management method of server system
CN104765288A (en) * 2015-02-06 2015-07-08 深圳市昌遂科技有限公司 Power distribution unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837646A (en) * 2021-02-02 2021-05-25 海信视像科技股份有限公司 Display device and control method thereof
CN114899788A (en) * 2022-05-17 2022-08-12 深圳英众世纪智能科技有限公司 Power supply control method and electronic equipment
CN116914926A (en) * 2023-07-11 2023-10-20 江苏诚一科技集团有限公司 Multi-power intelligent monitoring equipment applicable to multiple scenes and monitoring system thereof
CN116914926B (en) * 2023-07-11 2024-04-05 江苏诚一科技集团有限公司 Multi-power intelligent monitoring equipment applicable to multiple scenes and monitoring system thereof

Also Published As

Publication number Publication date
CN113906648A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
WO2021007682A1 (en) Power supply protection method, and system with power supply protection function
US10007321B2 (en) Enhancing power-performance efficiency in a computer system when bursts of activity occurs when operating in low power
US6889332B2 (en) Variable maximum die temperature based on performance state
US8284205B2 (en) Methods and apparatuses for load balancing between multiple processing units
US9852714B2 (en) Energy conservation in a controller using dynamic frequency selection
US10222851B2 (en) System maximum current protection
TWI489270B (en) Apparatus, method and system for maintaining operational stability on a system on a chip
US20150015589A1 (en) Device and method of power management for graphic processing unit
US20220335127A1 (en) Side-channel exploit detection
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN103782269B (en) Effective frequency accelerates operation
EP2671227A1 (en) Integrated circuit device, voltage regulation circuitry and method for regulating a voltage supply signal
TW201405915A (en) Charging a battery
US10534420B2 (en) Electronic devices, electronic systems, and control methods therefor
US9501299B2 (en) Minimizing performance loss on workloads that exhibit frequent core wake-up activity
US9798369B2 (en) Indicating critical battery status in mobile devices
US20160342354A1 (en) Saving the Architectural State of a Computing Device using Sectors
US20140157022A1 (en) Electronic device and method for reducing cpu power consumption
CN110148992B (en) Charging control method, terminal device and storage medium
CN111210012B (en) Data processing method and device and related products
CN110581920A (en) Equipment operation mode control method and device
US9785218B2 (en) Performance state selection for low activity scenarios
WO2021120015A1 (en) Power limit determination method and apparatus
CN115296255A (en) Low power consumption method, threshold determination method, current protection method and electronic equipment
CN117811150A (en) Battery rapid charging method, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19938031

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19938031

Country of ref document: EP

Kind code of ref document: A1