[go: up one dir, main page]

CN103440018B - Power control method, power control circuit and energy-saving system - Google Patents

Power control method, power control circuit and energy-saving system Download PDF

Info

Publication number
CN103440018B
CN103440018B CN201310378463.7A CN201310378463A CN103440018B CN 103440018 B CN103440018 B CN 103440018B CN 201310378463 A CN201310378463 A CN 201310378463A CN 103440018 B CN103440018 B CN 103440018B
Authority
CN
China
Prior art keywords
signal
power consumption
battery management
consumption mode
management chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310378463.7A
Other languages
Chinese (zh)
Other versions
CN103440018A (en
Inventor
刘新宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Digital Power Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310378463.7A priority Critical patent/CN103440018B/en
Publication of CN103440018A publication Critical patent/CN103440018A/en
Application granted granted Critical
Publication of CN103440018B publication Critical patent/CN103440018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a power control method, a power control circuit and an energy-saving system. In order to the solve the problems that according to a battery management chip of an existing terminal, when a controller of the terminal is powered down, due to the fact that the terminal can not enter a low-power consumption mode, the power consumption is increased, and the probability that a battery is damaged is increased, the method comprises the steps of being free of generating signals for delayed restarting any more when periodic pulse signals coming from the controller of the terminal are not detected in preset duration, determining the signals which are not generated for the delayed restarting in delayed duration, and after the delayed duration is ended, outputting a conditioning signal of a first level to a low-power consumption mode register in the battery management chip of the terminal, wherein the conditioning signal of the first level can allow the battery management chip to enter the low-power consumption mode.

Description

一种功率控制方法、功率控制电路和节能系统A power control method, power control circuit and energy-saving system

技术领域technical field

本发明涉及电路设计技术领域,尤其涉及一种功率控制方法、功率控制电路和节能系统。The invention relates to the technical field of circuit design, in particular to a power control method, a power control circuit and an energy-saving system.

背景技术Background technique

目前,有一些芯片可以运行在低功耗模式,例如,电池管理芯片,在电池不用(即电池不充电,也不给移动终端供电)或者是电池电量较低时可以运行在低功耗模式下,以节省电能,从而延长电池的使用时间。由于当电池的电量较低时,如果不能及时给电池充电,则由于芯片会从电池不停的取电,导致电池损坏。如果电池电量较低时,芯片运行在低功耗模式下,那么由于电池的使用时间延长了,给电池充电的机会就会增加,这样可以降低电池损坏的几率。Currently, there are some chips that can run in low power consumption mode. For example, battery management chips can run in low power consumption mode when the battery is not in use (that is, the battery is not charging and does not supply power to the mobile terminal) or the battery power is low. , to save power and prolong battery life. Because when the power of the battery is low, if the battery cannot be charged in time, the chip will continuously take power from the battery, causing the battery to be damaged. If the chip runs in low-power mode when the battery is low, the chances of recharging the battery increase due to the extended battery life, which reduces the chance of battery damage.

目前常用的电池管理芯片有两种,一种可以工作在待机模式、测量模式和监视模式。当其处于待机模式时,除串口和稳压器电路外,其他电路都处在关闭状态,这时该电池管理芯片的电流处在最小状态。当其运行在测量模式或者监视模式时,如果需要进入待机模式,中央处理单元(CPU,Center ProcessingUnit)通过串行外设接口(SPI,Serial Peripheral Interface)将该电池管理芯片的待机模式的寄存器的工作周期配置位设置为待机模式所需电平信号,从而使该电池管理芯片进入待机模式。另一种电池管理芯片,可以工作在睡眠模式,当其工作在睡眠模式时,该芯片的耗电量最小。CPU可以通过SPI将该电池管理芯片的睡眠模式的寄存器的可控输入输出口设置为睡眠模式所需电平信号,从而使该电池管理芯片进入睡眠模式。There are two commonly used battery management chips at present, one can work in standby mode, measurement mode and monitoring mode. When it is in standby mode, except for the serial port and the voltage regulator circuit, other circuits are in the off state, and the current of the battery management chip is at the minimum state at this time. When it is running in the measurement mode or monitoring mode, if it needs to enter the standby mode, the central processing unit (CPU, Center Processing Unit) will use the serial peripheral interface (SPI, Serial Peripheral Interface) to register the standby mode of the battery management chip The duty cycle configuration bit is set to the level signal required by the standby mode, so that the battery management chip enters the standby mode. Another battery management chip can work in sleep mode. When it works in sleep mode, the chip consumes the least amount of power. The CPU can set the controllable input and output port of the sleep mode register of the battery management chip to a level signal required by the sleep mode through the SPI, so that the battery management chip enters the sleep mode.

上述的两种电池管理芯片在进入低功耗模式时,都需要CPU在芯片的低功耗模式寄存器写入一定的值,才能进入低功耗模式。此时,如果CPU异常掉电,CPU没有来得及向芯片的低功耗模式寄存器中写入相应的值,那么芯片无法进入低功耗模式,此时,芯片的耗电量就会比较大,电池的电量会很快被芯片耗光,这会导致电池被损坏的几率增加。When the above two battery management chips enter the low power consumption mode, the CPU needs to write a certain value in the low power consumption mode register of the chip to enter the low power consumption mode. At this time, if the CPU is abnormally powered off, and the CPU has not had time to write the corresponding value to the low-power mode register of the chip, then the chip cannot enter the low-power mode. At this time, the power consumption of the chip will be relatively large, and the battery The power will be quickly drained by the chip, which will increase the chance of the battery being damaged.

综上所述,现有的电池管理芯片,需要在终端的控制器,如CPU的控制下才能进入低功耗模式,而如果控制器异常掉电,则电池管理芯片无法进入低功耗模式,这会使得电池的电量很快被耗光,从而导致电池被损坏的几率增加。To sum up, the existing battery management chip can only enter the low power consumption mode under the control of the terminal controller, such as the CPU, and if the controller loses power abnormally, the battery management chip cannot enter the low power consumption mode. This will cause the battery's power to be drained quickly, resulting in an increased chance of the battery being damaged.

发明内容Contents of the invention

本发明实施例提供了一种功率控制方法、功率控制电路及节能系统,用以解决现有的电池管理芯片,在终端的控制器掉电时,无法进入低功耗模式,使得耗电量增加,从而导致电池被损坏的几率增加的问题。The embodiment of the present invention provides a power control method, a power control circuit and an energy-saving system, which are used to solve the problem that the existing battery management chip cannot enter the low power consumption mode when the controller of the terminal is powered off, resulting in increased power consumption , resulting in an increased chance of the battery being damaged.

第一方面,提供一种功率控制方法,包括:In a first aspect, a power control method is provided, including:

在预设时长内未检测到来自终端的控制器的周期性脉冲信号时,不再生成延时重启的信号;When the periodic pulse signal from the terminal controller is not detected within the preset duration, the delayed restart signal will no longer be generated;

确定在一个延时时长内未生成延时重启的信号,在该延时时长结束后,向所述终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式;It is determined that no delayed restart signal is generated within a delay period, and after the delay period ends, an adjustment signal of the first level is output to the low power consumption mode register in the battery management chip of the terminal, and the first level A level adjustment signal can enable the battery management chip to enter a low power consumption mode;

其中,所述延时时长的开始时刻早于或等于所述预设时长的结束时刻,所述延时时长大于或等于所述预设时长,所述预设时长大于所述周期性脉冲信号的一个脉冲宽度。Wherein, the start time of the delay time is earlier than or equal to the end time of the preset time length, the delay time is greater than or equal to the preset time length, and the preset time length is longer than the periodic pulse signal a pulse width.

结合第一方面,在第一种可能的实现方式中,确定在一个延时时长内未生成延时重启的信号之前,所述方法还包括:With reference to the first aspect, in a first possible implementation manner, before it is determined that a delayed restart signal is not generated within a delay period, the method further includes:

在预设时长内检测到的所述周期性脉冲信号的脉冲的个数小于N时,不再生成延时重启的信号,其中,预设时长等于所述周期性脉冲信号的N个周期的长度。When the number of pulses of the periodic pulse signal detected within the preset duration is less than N, the delayed restart signal is no longer generated, wherein the preset duration is equal to the length of N cycles of the periodic pulse signal .

结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括:With reference to the first possible implementation of the first aspect, in a second possible implementation, the method further includes:

在预设时长内检测到的所述周期性脉冲信号的脉冲的个数大于或等于N时,生成延时重启的信号;When the number of pulses of the periodic pulse signal detected within the preset duration is greater than or equal to N, a delayed restart signal is generated;

在生成延时重启的信号后的一个延时时长内,向所述电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,所述第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式的信号。Within a delay period after the delayed restart signal is generated, an adjustment signal of a second level is output to the low power consumption mode register in the battery management chip, and the adjustment signal of the second level can enable the The signal for the battery management chip to exit the low power consumption mode.

第二方面,提供另一种功率控制方法,包括:In the second aspect, another power control method is provided, including:

确定未接收到终端的控制器输出的控制信号,所述控制信号用于使得所述终端的电池管理芯片进入低功耗模式或者退出低功耗模式;determining that the control signal output by the controller of the terminal has not been received, and the control signal is used to make the battery management chip of the terminal enter a low power consumption mode or exit a low power consumption mode;

向所述终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式。Outputting an adjustment signal of a first level to a low power consumption mode register in the battery management chip of the terminal, where the adjustment signal of the first level can cause the battery management chip to enter a low power consumption mode.

结合第二方面,在第一种可能的实现方式中,向所述电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号之前,所述方法还包括:With reference to the second aspect, in a first possible implementation manner, before outputting the adjustment signal of the first level to the low power consumption mode register in the battery management chip, the method further includes:

确定接收到所述终端的控制器输出的第一预设电压的控制信号。It is determined that the control signal of the first preset voltage output by the controller of the terminal is received.

结合第二方面,在第二种可能的实现方式中,所述方法还包括:With reference to the second aspect, in a second possible implementation manner, the method further includes:

确定接收到所述终端的控制器输出的第二预设电压的控制信号;determining to receive a control signal of a second preset voltage output by the controller of the terminal;

向所述电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,所述第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式。Outputting an adjustment signal of a second level to a low power consumption mode register in the battery management chip, the second level adjustment signal enables the battery management chip to exit the low power consumption mode.

第三方面,提供一种功率控制电路,包括检测生成电路和输出电路,所述检测生成电路连接终端的控制器中用于输出周期性脉冲信号的端口和所述输出电路,所述输出电路连接所述终端的电池管理芯片中的低功耗模式寄存器;In a third aspect, a power control circuit is provided, including a detection generation circuit and an output circuit, the detection generation circuit is connected to a port for outputting a periodic pulse signal in the controller of the terminal and the output circuit, and the output circuit is connected to a low power consumption mode register in the battery management chip of the terminal;

所述检测生成电路,用于在预设时长内未检测到来自终端的控制器的周期性脉冲信号时,不再生成延时重启的信号;所述预设时长大于所述周期性脉冲信号的一个脉冲宽度;The detection generation circuit is configured to no longer generate a delayed restart signal when the periodic pulse signal from the controller of the terminal is not detected within a preset duration; the preset duration is longer than the period of the periodic pulse signal a pulse width;

所述输出电路,用于确定在一个延时时长内未生成延时重启的信号,在该延时时长结束后,向所述终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式;所述延时时长的开始时刻早于或等于所述预设时长的结束时刻,所述延时时长大于或等于所述预设时长。The output circuit is configured to determine that no delayed restart signal is generated within a delay period, and output the first level to the low power consumption mode register in the battery management chip of the terminal after the delay period ends The adjustment signal of the first level can make the battery management chip enter the low power consumption mode; the start time of the delay time is earlier than or equal to the end time of the preset time length, and the delay time The duration is greater than or equal to the preset duration.

结合第三方面,在第一种可能的实现方式中,所述检测生成电路还用于:With reference to the third aspect, in a first possible implementation manner, the detection generation circuit is further configured to:

确定在一个延时时长内未生成延时重启的信号之前,若预设时长内检测到的所述周期性脉冲信号的脉冲的个数小于N,不再生成延时重启的信号,其中,预设时长等于所述周期性脉冲信号的N个周期的长度。It is determined that before a delayed restart signal is not generated within a delay duration, if the number of pulses of the periodic pulse signal detected within a preset duration is less than N, a delayed restart signal is no longer generated, wherein the preset It is assumed that the duration is equal to the length of N periods of the periodic pulse signal.

结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述检测生成电路还用于:With reference to the first possible implementation of the third aspect, in a second possible implementation, the detection generation circuit is further configured to:

在预设时长内检测到的周期性脉冲信号的脉冲的个数大于或等于N时,生成延时重启的信号;When the number of pulses of the periodic pulse signal detected within the preset duration is greater than or equal to N, a delayed restart signal is generated;

所述输出电路,还用于在生成延时重启的信号后的一个延时时长内,向所述电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,所述第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式的信号。The output circuit is further configured to output a second-level adjustment signal to a low-power mode register in the battery management chip within a delay period after the delayed restart signal is generated, and the second power A flat adjustment signal can cause the battery management chip to exit the low power consumption mode.

第四方面,提供另一种功率控制电路,包括接收电路和传输电路,所述接收电路连接终端的控制器中用于输出控制信号的端口和所述传输电路,所述传输电路连接所述终端的电池管理芯片中的低功耗模式寄存器;In a fourth aspect, another power control circuit is provided, including a receiving circuit and a transmission circuit, the receiving circuit is connected to a port for outputting a control signal in the controller of the terminal and the transmission circuit, and the transmission circuit is connected to the terminal The low-power mode register in the battery management chip;

所述接收电路,用于接收所述终端的控制器输出的控制信号,所述控制信号用于使得所述终端的电池管理芯片进入低功耗模式或者退出低功耗模式;The receiving circuit is configured to receive a control signal output by a controller of the terminal, where the control signal is used to enable the battery management chip of the terminal to enter a low power consumption mode or exit a low power consumption mode;

所述传输电路,用于在所述接收电路确定未接收到所述控制器输出的控制信号时,向所述电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式。The transmission circuit is configured to output an adjustment signal of a first level to a low power consumption mode register in the battery management chip when the receiving circuit determines that the control signal output by the controller has not been received, the The adjustment signal of the first level can cause the battery management chip to enter a low power consumption mode.

结合第四方面,在第一种可能的实现方式中,所述传输电路还用于:With reference to the fourth aspect, in a first possible implementation manner, the transmission circuit is further configured to:

在所述接收电路确定接收到所述控制器输出的第一预设电压的控制信号时,向所述电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式。When the receiving circuit determines to receive the control signal of the first preset voltage output by the controller, it outputs an adjustment signal of a first level to the low power consumption mode register in the battery management chip, and the first The level adjustment signal can make the battery management chip enter a low power consumption mode.

结合第四方面,在第二种可能的实现方式中,所述传输电路还用于:With reference to the fourth aspect, in a second possible implementation manner, the transmission circuit is also used for:

在所述接收电路确定接收到所述终端的控制器输出的第二预设电压的控制信号时,向所述电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,所述第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式。When the receiving circuit determines to receive the control signal of the second preset voltage output by the controller of the terminal, it outputs an adjustment signal of a second level to the low power consumption mode register in the battery management chip, the said The adjustment signal of the second level can cause the battery management chip to exit the low power consumption mode.

结合第四方面,在第三种可能的实现方式中,所述接收电路包括第一电阻单元;With reference to the fourth aspect, in a third possible implementation manner, the receiving circuit includes a first resistance unit;

所述第一电阻单元的一端连接所述控制器中用于输出控制信号的端口,所述第一电阻单元的另一端将接收到的控制信号向所述传输单元输出。One end of the first resistance unit is connected to a port of the controller for outputting a control signal, and the other end of the first resistance unit outputs the received control signal to the transmission unit.

结合第四方面,在第四种可能的实现方式中,所述传输电路包括第二电阻单元和第三电阻单元,所述第二电阻单元的一端接收设定电压信号,所述第二电阻单元的另一端与第三电阻单元的一端相连,并接收所述接收单元的信号;若所述设定电压信号和第一电平的调整信号均为高电平信号,或者,均为低电平信号,则所述第三电阻单元的另一端连接所述终端的电池管理芯片中的低功耗模式寄存器。With reference to the fourth aspect, in a fourth possible implementation manner, the transmission circuit includes a second resistance unit and a third resistance unit, one end of the second resistance unit receives a set voltage signal, and the second resistance unit The other end of the second resistance unit is connected to one end of the third resistance unit, and receives the signal of the receiving unit; if the set voltage signal and the adjustment signal of the first level are both high-level signals, or both are low-level signal, the other end of the third resistor unit is connected to the low power consumption mode register in the battery management chip of the terminal.

结合第四方面,在第五种可能的实现方式中,若所述设定电压信号为高电平信号,第一电平的调整信号为低电平信号,或者,所述设定电压信号为低电平信号,第一电平的调整的信号为高电平信号;则所述输出电路还包括取反电路,所述第三电阻单元的另一端通过所述取反电路连接所述终端的电池管理芯片中的低功耗模式寄存器。With reference to the fourth aspect, in a fifth possible implementation manner, if the set voltage signal is a high-level signal, the adjustment signal of the first level is a low-level signal, or the set voltage signal is low-level signal, the adjusted signal of the first level is a high-level signal; then the output circuit also includes an inversion circuit, and the other end of the third resistance unit is connected to the terminal through the inversion circuit Low power mode register in the battery management chip.

第五方面,提供一种节能系统,包括终端的控制器、该终端的电池管理芯片、以及第三方面、第三方面的第一种可能的实现方式至第三方面的第二种可能的实现方式、第四方面和第四方面的第一种可能的实现方式至第四方面的第五种可能的实现方式中的任意一种功率控制电路。A fifth aspect provides an energy-saving system, including a terminal controller, a battery management chip of the terminal, and the third aspect, the first possible implementation of the third aspect to the second possible implementation of the third aspect method, the fourth aspect, and any one of the power control circuits in the first possible implementation manner of the fourth aspect to the fifth possible implementation manner of the fourth aspect.

本发明实施例的有益效果包括:The beneficial effects of the embodiments of the present invention include:

本发明实施例提供了一种功率控制方法、功率控制电路和节能系统,若若终端的控制器异常掉电,不能输出周期性脉冲信号,则通过在预设时长内未检测到来自终端的控制器的周期性脉冲信号时,不再生成延时重启的信号,并确定在一个延时时长内未生成延时重启的信号,在该延时时长结束后,向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,该第一电平的调整信号能够使得该电池管理芯片进入低功耗模式;或者,通过在确定未接收到终端的控制器输出的控制信号后,该控制信号用于使得所述终端的电池管理芯片进入低功耗模式或者退出低功耗模式;向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,该第一电平的调整信号能够使得该电池管理芯片进入低功耗模式;从而使得终端的电池管理芯片能够进入低功耗模式,进而降低耗电量,延长电池的使用时间,最终降低电池被损坏的几率。The embodiment of the present invention provides a power control method, a power control circuit and an energy-saving system. If the controller of the terminal is abnormally powered off and cannot output a periodic pulse signal, then the control signal from the terminal cannot be detected within a preset period of time. When the periodic pulse signal of the device, the delayed restart signal is no longer generated, and it is determined that the delayed restart signal is not generated within a delay time. After the delay time is over, the battery management chip of the terminal The low power consumption mode register outputs an adjustment signal of a first level, and the adjustment signal of the first level can cause the battery management chip to enter a low power consumption mode; Afterwards, the control signal is used to make the battery management chip of the terminal enter the low power consumption mode or exit the low power consumption mode; output the adjustment signal of the first level to the low power consumption mode register in the battery management chip of the terminal, The adjustment signal of the first level can enable the battery management chip to enter a low power consumption mode; thereby enabling the battery management chip of the terminal to enter a low power consumption mode, thereby reducing power consumption, prolonging battery life, and finally reducing battery consumption. chance of damage.

附图说明Description of drawings

图1为本发明实施例提供的功率控制方法的流程图之一;FIG. 1 is one of the flowcharts of the power control method provided by the embodiment of the present invention;

图2为本发明实施例提供的功率控制方法的流程图之二;FIG. 2 is the second flowchart of the power control method provided by the embodiment of the present invention;

图3为本发明实施例提供的功率控制方法的流程图之三;FIG. 3 is the third flowchart of the power control method provided by the embodiment of the present invention;

图4为本发明实施例提供的功率控制方法的流程图之四;FIG. 4 is the fourth flowchart of the power control method provided by the embodiment of the present invention;

图5为本发明实施例提供的功率控制方法的流程图之五;FIG. 5 is the fifth flowchart of the power control method provided by the embodiment of the present invention;

图6为本发明实施例提供的功率控制方法的流程图之六;FIG. 6 is the sixth flowchart of the power control method provided by the embodiment of the present invention;

图7为本发明实施例提供的功率控制方法应用于实际中的流程图之一;Fig. 7 is one of the flow charts of the power control method provided by the embodiment of the present invention applied in practice;

图8为本发明实施例提供的功率控制方法应用于实际中的流程图之二;Fig. 8 is the second flow chart of the power control method provided by the embodiment of the present invention applied in practice;

图9本发明实施例提供的功率控制电路的结构示意图之一;FIG. 9 is one of the structural schematic diagrams of the power control circuit provided by the embodiment of the present invention;

图10本发明实施例提供的功率控制电路的结构示意图之二;FIG. 10 is the second structural schematic diagram of the power control circuit provided by the embodiment of the present invention;

图11本发明实施例提供的功率控制电路的结构示意图之三;Fig. 11 is the third structural schematic diagram of the power control circuit provided by the embodiment of the present invention;

图12a为本发明实施例提供的功率控制电路的结构示意图之四;Fig. 12a is the fourth structural schematic diagram of the power control circuit provided by the embodiment of the present invention;

图12b为本发明实施例提供的功率控制电路的结构示意图之五。Fig. 12b is the fifth structural schematic diagram of the power control circuit provided by the embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种功率控制方法、功率控制电路和节能系统,通过在预设时长内未检测到来自终端的控制器的周期性脉冲信号时,确定终端的控制器发生故障,无法控制电池管理芯片进入低功耗模式,不再生成延时重启的信号,若在一个延时时长内未生成延时重启的信号,则在该延时时长结束后,向所述终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式;所述延时时长的开始时刻早于或等于所述预设时长的结束时刻,所述延时时长大于或等于所述预设时长,所述预设时长大于所述周期性脉冲信号的一个脉冲宽度。或者,通过在确定未接收到终端的控制器输出的控制信号后,向所述终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式;所述控制信号用于使得所述终端的电池管理芯片进入低功耗模式或者退出低功耗模式,从而在终端的控制器发生故障,无法控制电池管理芯片进入低功耗模式时,向终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,控制终端的电池管理芯片进入低功耗模式,从而降低耗电量。Embodiments of the present invention provide a power control method, a power control circuit, and an energy-saving system. When the periodic pulse signal from the controller of the terminal is not detected within a preset period of time, it is determined that the controller of the terminal is faulty and cannot be controlled. The battery management chip enters the low power consumption mode and no longer generates a delayed restart signal. If the delayed restart signal is not generated within a delay time, after the delay time ends, the battery management chip of the terminal The low power consumption mode register in the output first level adjustment signal, the adjustment signal of the first level can make the battery management chip enter the low power consumption mode; the start time of the delay time is earlier than or equal to At the end moment of the preset duration, the delay duration is greater than or equal to the preset duration, and the preset duration is longer than a pulse width of the periodic pulse signal. Or, by outputting an adjustment signal of a first level to a low power consumption mode register in the battery management chip of the terminal after determining that the control signal output by the controller of the terminal has not been received, the adjustment of the first level The signal can make the battery management chip enter a low power consumption mode; the control signal is used to make the battery management chip of the terminal enter a low power consumption mode or exit a low power consumption mode, so that the terminal controller fails and cannot When controlling the battery management chip to enter the low-power mode, output the first level adjustment signal to the low-power mode register in the battery management chip of the terminal, and control the battery management chip of the terminal to enter the low-power mode, thereby reducing power consumption .

下面结合说明书附图,对本发明实施例提供的一种功率控制方法、功率控制电路及节能系统的具体实施方式进行说明。The specific implementation manners of a power control method, a power control circuit and an energy-saving system provided by the embodiments of the present invention will be described below with reference to the drawings in the description.

本发明实施例提供的一种功率控制方法,如图1所示,具体包括以下步骤:A power control method provided by an embodiment of the present invention, as shown in FIG. 1 , specifically includes the following steps:

S101、在预设时长内未检测到来自终端的控制器的周期性脉冲信号时,不再生成延时重启的信号;S101. When the periodic pulse signal from the controller of the terminal is not detected within the preset time period, no longer generate a delayed restart signal;

S102、确定在一个延时时长内未生成延时重启的信号,在该延时时长结束后,向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,第一电平的调整信号能够使得该电池管理芯片进入低功耗模式;S102. It is determined that no delayed restart signal is generated within a delay period, and after the delay period ends, an adjustment signal of the first level is output to the low power consumption mode register in the battery management chip of the terminal, the first The level adjustment signal can make the battery management chip enter a low power consumption mode;

其中,延时时长的开始时刻早于或等于预设时长的结束时刻,延时时长大于或等于预设时长,预设时长大于所述周期性脉冲信号的一个脉冲宽度。Wherein, the start time of the delay time is earlier than or equal to the end time of the preset time length, the delay time length is greater than or equal to the preset time length, and the preset time length is longer than one pulse width of the periodic pulse signal.

这样可以在终端的控制器,如CPU等,异常断电时,由于控制器不能输出周期性脉冲信号,从而控制终端的电池管理芯片进入低功耗模式。In this way, when the controller of the terminal, such as the CPU, is powered off abnormally, since the controller cannot output periodic pulse signals, the battery management chip of the terminal can be controlled to enter a low power consumption mode.

其中,周期性脉冲信号可以为时钟信号,或者其它的周期性信号等。第一电平的调整信号可以为高电平信号,也可以为低电平信号,具体取决于终端的电池管理芯片进入低功耗模式时所需的信号的电平。Wherein, the periodic pulse signal may be a clock signal, or other periodic signals. The adjustment signal of the first level may be a high level signal or a low level signal, depending on the level of the signal required when the battery management chip of the terminal enters the low power consumption mode.

进一步地,本发明实施例提供的功率控制方法,如图2所示,在S102之前,还包括:Further, the power control method provided by the embodiment of the present invention, as shown in FIG. 2 , before S102, further includes:

S101a、在预设时长内检测到的周期性脉冲信号的脉冲的个数小于N时,不再生成延时重启的信号,其中,预设时长等于该周期性脉冲信号的N个周期的长度。S101a. When the number of pulses of the periodic pulse signal detected within the preset duration is less than N, no longer generate a delayed restart signal, wherein the preset duration is equal to the length of N cycles of the periodic pulse signal.

可选地,本发明实施例提供的功率控制方法,如图3所示,还包括:Optionally, the power control method provided in the embodiment of the present invention, as shown in FIG. 3 , further includes:

S301、在预设时长内检测到的来自终端的控制器的周期性脉冲信号的脉冲的个数大于或等于N时,生成延时重启的信号;S301. When the number of pulses of the periodic pulse signal from the controller of the terminal detected within the preset duration is greater than or equal to N, generate a delayed restart signal;

S302、在生成延时重启的信号后的一个延时时长内,向该终端的电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,第二电平的调整信号能够使得该电池管理芯片退出低功耗模式。S302. Within a delay period after the delayed restart signal is generated, output an adjustment signal of a second level to the low power consumption mode register in the battery management chip of the terminal, and the adjustment signal of the second level can make the The battery management chip exits the low power consumption mode.

当第一电平的调整信号为高电平信号时,第二电平的调整信号为低电平信号;当第一电平的调整信号为低电平时,第二电平的调整信号为高电平信号。When the adjustment signal of the first level is a high level signal, the adjustment signal of the second level is a low level signal; when the adjustment signal of the first level is a low level signal, the adjustment signal of the second level is a high level signal level signal.

本发明实施例提供的另一种功率控制方法,如图4所示,包括:Another power control method provided by an embodiment of the present invention, as shown in FIG. 4 , includes:

S401、确定未接收到终端的控制器输出的控制信号,控制信号用于使得该终端的电池管理芯片进入低功耗模式或者退出低功耗模式;S401. Determine that the control signal output by the controller of the terminal has not been received, and the control signal is used to make the battery management chip of the terminal enter a low power consumption mode or exit the low power consumption mode;

S402、向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式。S402. Output an adjustment signal of a first level to a low power consumption mode register in the battery management chip of the terminal, where the adjustment signal of the first level can cause the battery management chip to enter a low power consumption mode.

可选地,本发明实施例提供的功率控制方法,如图5所示,在S402之前还包括:Optionally, the power control method provided in the embodiment of the present invention, as shown in FIG. 5 , also includes before S402:

S401a、确定接收到终端的控制器输出的第一预设电压的控制信号。S401a. Determine that the control signal of the first preset voltage output by the controller of the terminal is received.

其中,第一预设电压的信号可以为高电平信号,也可以为低电平信号。Wherein, the signal of the first preset voltage may be a high-level signal or a low-level signal.

可选地,本发明实施例提供的功率控制方法,如图6所示,还包括:Optionally, the power control method provided in this embodiment of the present invention, as shown in FIG. 6 , further includes:

S601、确定接收到终端的控制器输出的第二预设电压的控制信号;S601. Determine to receive the control signal of the second preset voltage output by the controller of the terminal;

S602、向终端的电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式。S602. Output an adjustment signal of a second level to a low power consumption mode register in the battery management chip of the terminal, where the adjustment signal of the second level can enable the battery management chip to exit the low power consumption mode.

当第一预设电压的控制信号为高电平信号时,第二预设电压的控制信号为低电平信号;当第一预设电压的控制信号为低电平信号时,第二预设电压的控制信号为高电平信号。When the control signal of the first preset voltage is a high-level signal, the control signal of the second preset voltage is a low-level signal; when the control signal of the first preset voltage is a low-level signal, the second preset The voltage control signal is a high level signal.

为了进一步说明本发明实施例提供的功率控制方法,下面以该功率控制方法应用于实际中为例进行说明。In order to further illustrate the power control method provided by the embodiment of the present invention, the following uses an example in which the power control method is applied in practice for description.

本发明实施例提供的一种功率控制方法应用于实际中的流程图如图7所示,包括:A practical flow chart of a power control method provided by an embodiment of the present invention is shown in Figure 7, including:

S701、判断是否接收到来自终端的控制器的控制信号,该控制信号用于使得该终端的电池管理芯片进入低功耗模式或者退出低功耗模式,若是,执行S702,否则,执行S703;S701. Determine whether a control signal from the terminal controller is received, the control signal is used to enable the battery management chip of the terminal to enter the low power consumption mode or exit the low power consumption mode, if so, execute S702, otherwise, execute S703;

S702、判断接收到的来自该控制器的控制信号是否为第一预设电压的控制信号,若是,执行S703,否则,即控制信号为第二预设电压的控制信号,执行S704;S702. Determine whether the received control signal from the controller is a control signal of the first preset voltage, if yes, execute S703, otherwise, that is, the control signal is a control signal of the second preset voltage, execute S704;

S703、向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式;S703. Output an adjustment signal of a first level to a low power consumption mode register in the battery management chip of the terminal, where the adjustment signal of the first level can enable the battery management chip to enter a low power consumption mode;

S704、向终端的电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式。S704. Output an adjustment signal of a second level to a low power consumption mode register in the battery management chip of the terminal, where the adjustment signal of the second level can cause the battery management chip to exit the low power consumption mode.

本发明实施例提供的另一种功率控制方法应用于实际中的流程图如图8所示,包括:A flowchart of another power control method provided by an embodiment of the present invention applied in practice is shown in FIG. 8 , including:

S801、判断预设时长内检测到的来自终端的控制器的周期性脉冲信号的脉冲的个数是否大于或等于N,若是,则执行S802,否则,执行S804;其中,预设时长等于控制信号的N个周期的长度;S801. Determine whether the number of pulses of the periodic pulse signal detected from the terminal controller within the preset duration is greater than or equal to N, if so, execute S802, otherwise, execute S804; wherein, the preset duration is equal to the control signal The length of N cycles of ;

S802、生成延时重启的信号;S802. Generate a delayed restart signal;

S803、在生成延时重启的信号后的一个延时时长内,向该终端的电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,第二电平的调整信号能够使得该电池管理芯片退出低功耗模式的信号;该延时时长的开始时刻早于或等于该预设时长的结束时刻,该延时时长大于或等于该预设时长;S803. Within a delay period after the delayed restart signal is generated, output an adjustment signal of a second level to the low power consumption mode register in the battery management chip of the terminal, and the adjustment signal of the second level can make the terminal A signal for the battery management chip to exit the low power consumption mode; the start time of the delay time is earlier than or equal to the end time of the preset time length, and the delay time length is greater than or equal to the preset time length;

S804、不再生成延时重启的信号;S804, the delayed restart signal is no longer generated;

S805、若在一个延时时长内未生成延时重启的信号,则在该延时时长结束后,向该终端的电池管理芯片中的低功耗模式寄存器输出第一电平的调整信号,第一电平的调整信号能够使得该电池管理芯片进入低功耗模式。S805. If no delayed restart signal is generated within a delay time, after the delay time ends, output the first level adjustment signal to the low power consumption mode register in the battery management chip of the terminal, the first An adjustment signal of a level can enable the battery management chip to enter a low power consumption mode.

基于同一发明构思,本发明实施例还提供了一种功率控制电路及节能系统,由于这些电路和系统所解决问题的原理与前述控制方法相似,因此这些电路和系统的实施可以参见前述方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present invention also provides a power control circuit and an energy-saving system. Since the principles of the problems solved by these circuits and systems are similar to the aforementioned control methods, the implementation of these circuits and systems can refer to the implementation of the aforementioned methods. , the repetitions will not be repeated.

本发明实施例提供的一种功率控制电路,如图9所示,包括检测生成电路91和输出电路92;检测生成电路91连接终端的控制器90中用于输出周期性脉冲信号的端口和输出电路92,输出电路92连接终端的电池管理芯片93中的低功耗模式寄存器;A power control circuit provided by an embodiment of the present invention, as shown in FIG. 9 , includes a detection generation circuit 91 and an output circuit 92; the detection generation circuit 91 is connected to the port and output port for outputting a periodic pulse signal in the controller 90 of the terminal A circuit 92, the output circuit 92 is connected to the low power consumption mode register in the battery management chip 93 of the terminal;

检测生成电路91,用于在预设时长内未检测到来自终端的控制器90的周期性脉冲信号时,不再生成延时重启的信号;所述预设时长大于所述周期性脉冲信号的一个脉冲宽度;The detection generating circuit 91 is configured to no longer generate a delayed restart signal when the periodic pulse signal from the controller 90 of the terminal is not detected within the preset duration; the preset duration is longer than the period of the periodic pulse signal a pulse width;

输出电路92,用于确定在一个延时时长内未生成延时重启的信号,在该延时时长结束后,向终端的电池管理芯片93中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得电池管理芯片93进入低功耗模式;所述延时时长的开始时刻早于或等于所述预设时长的结束时刻,所述延时时长大于或等于所述预设时长。The output circuit 92 is configured to determine that a delayed restart signal is not generated within a delay period, and after the delay period ends, output the adjustment of the first level to the low power consumption mode register in the battery management chip 93 of the terminal Signal, the adjustment signal of the first level can make the battery management chip 93 enter the low power consumption mode; the start time of the delay time is earlier than or equal to the end time of the preset time length, and the delay time is longer than or equal to the preset duration.

其中,检测生成电路91和输出电路92可以位于电池管理芯片中,也可以位于电池管理芯片之外。图9中,以检测生成电路和输出电路位于具有低功耗模式的芯片之外为例进行说明。Wherein, the detection generation circuit 91 and the output circuit 92 can be located in the battery management chip, or can be located outside the battery management chip. In FIG. 9 , an example is described in which the detection generation circuit and the output circuit are located outside the chip with the low power consumption mode.

可选地,检测生成电路91,还用于在输出电路92确定在一个延时时长内未生成延时重启的信号之前,若预设时长内检测到的所述周期性脉冲信号的脉冲的个数小于N,不再生成延时重启的信号,其中,预设时长等于所述周期性脉冲信号的N个周期的长度。Optionally, the detection generation circuit 91 is further configured to, before the output circuit 92 determines that the delayed restart signal is not generated within a delay time length, if the number of pulses of the periodic pulse signal detected within a preset time length If the number is less than N, the delayed restart signal is no longer generated, wherein the preset duration is equal to the length of N cycles of the periodic pulse signal.

可选地,检测生成电路91,还用于在预设时长内检测到的周期性脉冲信号的脉冲的个数大于或等于N时,生成延时重启的信号;Optionally, the detection generation circuit 91 is also used to generate a delayed restart signal when the number of pulses of the periodic pulse signal detected within the preset duration is greater than or equal to N;

输出电路92,还用于在生成延时重启的信号后的一个延时时长内,向所述电池管理芯片中的低功耗模式寄存器输出第二电平的调整信号,所述第二电平的调整信号能够使得所述电池管理芯片退出低功耗模式的信号。The output circuit 92 is further configured to output an adjustment signal of a second level to the low power consumption mode register in the battery management chip within a delay period after the delayed restart signal is generated, and the second level The adjustment signal can cause the battery management chip to exit the low power consumption mode.

本发明实施例提供的另外一种功率控制电路,如图10所示,包括接收电路101和传输电路102,接收电路101连接终端的控制器90中用于输出控制信号的端口和传输电路102,传输电路102连接终端的电池管理芯片93中的低功耗模式寄存器;Another power control circuit provided by an embodiment of the present invention, as shown in FIG. 10 , includes a receiving circuit 101 and a transmission circuit 102. The receiving circuit 101 is connected to a port for outputting control signals in the controller 90 of the terminal and the transmission circuit 102. The transmission circuit 102 is connected to the low power consumption mode register in the battery management chip 93 of the terminal;

接收电路101,用于接收终端的控制器90输出的控制信号,所述控制信号用于使得终端的电池管理芯片93进入低功耗模式或者退出低功耗模式;The receiving circuit 101 is configured to receive a control signal output by the controller 90 of the terminal, where the control signal is used to enable the battery management chip 93 of the terminal to enter a low power consumption mode or exit the low power consumption mode;

传输电路102,用于在所述接收电路101确定未接收到控制器90输出的控制信号时,向电池管理芯片93中的低功耗模式寄存器输出第一电平的调整信号,所述第一电平的调整信号能够使得电池管理芯片93进入低功耗模式。The transmission circuit 102 is configured to output an adjustment signal of a first level to the low power consumption mode register in the battery management chip 93 when the receiving circuit 101 determines that the control signal output by the controller 90 has not been received, and the first level The level adjustment signal can enable the battery management chip 93 to enter a low power consumption mode.

可选地,传输电路102,还用于在接收电路101确定接收到控制器90输出的第一预设电压的控制信号时,向电池管理芯片93中的低功耗模式寄存器输出第一电平的调整信号,第一电平的调整信号能够使得所述电池管理芯片进入低功耗模式。Optionally, the transmission circuit 102 is also configured to output the first level to the low power consumption mode register in the battery management chip 93 when the receiving circuit 101 determines to receive the control signal of the first preset voltage output by the controller 90 The adjustment signal of the first level can cause the battery management chip to enter a low power consumption mode.

可选地,传输电路102,还用于在接收电路101确定接收到终端的控制器90输出的第二预设电压的控制信号时,向电池管理芯片93中的低功耗模式寄存器输出第二电平的调整信号,第二电平的调整信号能够使得所述电池管理芯片93退出低功耗模式。Optionally, the transmission circuit 102 is also configured to output the second preset voltage to the low power consumption mode register in the battery management chip 93 when the receiving circuit 101 determines to receive the control signal of the second preset voltage output by the controller 90 of the terminal. The adjustment signal of the second level can make the battery management chip 93 exit the low power consumption mode.

可选地,如图11所示,接收电路101包括第一电阻单元1011;第一电阻单元1011的一端连接控制器90中用于输出控制信号的端口,第一电阻单元1011的另一端将接收到的控制信号向传输单元102输出。其中,第一电阻单元为一些串\并联的电阻的网络。Optionally, as shown in FIG. 11 , the receiving circuit 101 includes a first resistance unit 1011; one end of the first resistance unit 1011 is connected to a port for outputting a control signal in the controller 90, and the other end of the first resistance unit 1011 will receive The received control signal is output to the transmission unit 102. Wherein, the first resistance unit is a network of series/parallel resistances.

可选地,如图12a所示,传输电路102包括第二电阻单元1021和第三电阻单元1022,第二电阻单元1021的一端接收设定电压信号V,第二电阻单元1021的另一端与第三电阻单元1022的一端相连,并接收接收单元102的信号;若设定电压信号V和第一电平的调整信号均为高电平信号,或者,均为低电平信号,则第三电阻单元1022的另一端连接终端的电池管理芯片93中的低功耗模式寄存器。Optionally, as shown in FIG. 12a, the transmission circuit 102 includes a second resistance unit 1021 and a third resistance unit 1022, one end of the second resistance unit 1021 receives the set voltage signal V, and the other end of the second resistance unit 1021 is connected to the third resistance unit 1022. One end of the three resistor unit 1022 is connected to receive the signal of the receiving unit 102; if the setting voltage signal V and the adjustment signal of the first level are both high-level signals, or both are low-level signals, the third resistor The other end of the unit 1022 is connected to the low power consumption mode register in the battery management chip 93 of the terminal.

其中,设定电压信号V可以为接地信号,也可以为预先设定电压值的电压信号,根据该设定电压信号可以生成高电平信号。第二电阻单元为一些串\并联的电阻的网络,第三电阻单元为一些串\并联的电阻的网络。Wherein, the set voltage signal V can be a ground signal, or a voltage signal with a preset voltage value, and a high-level signal can be generated according to the set voltage signal. The second resistance unit is a network of resistors connected in series/parallel, and the third resistance unit is a network of resistors connected in series/parallel.

当设定电压信号V为接地信号,电池管理芯片93在其中的低功耗模式寄存器置0时,即低功耗模式寄存器中存储低电平信号时才能进入低功耗模式,即能够使电池管理芯片93进入低功耗模式的信号为低电平信号,则当第一电阻单元1011未接收到控制信号时,第一电阻单元1011无法向输出电路102输出控制信号,而由于第二电阻单元1021的一端接收设定电压信号V,即接地,因此,第三电阻单元1022能够输出低电平信号,第二电阻单元1021为下拉电阻。当预设信号V为预先设定电压值的电压信号,电池管理芯片93在其中的低功耗模式寄存器置1时,即低功耗模式寄存器中存储高电平信号时才能进入低功耗模式,即能够使电池管理芯片93进入低功耗模式的信号为高电平信号,则当第一电阻单元1011未接收到控制信号时,第一电阻单元1011无法向输出电路102输出控制信号,而由于第二电阻单元1021的一端接收设定电压信号V,即接收预先设定电压值的电压信号,因此,第三电阻单元1022能够输出高电平信号,第二电阻单元1021为上拉电阻。When the voltage signal V is set as a ground signal, when the low power consumption mode register of the battery management chip 93 is set to 0, that is, the low power consumption mode can only be entered when a low level signal is stored in the low power consumption mode register, that is, the battery can be The signal that the management chip 93 enters the low power consumption mode is a low-level signal, then when the first resistance unit 1011 does not receive the control signal, the first resistance unit 1011 cannot output the control signal to the output circuit 102, and because the second resistance unit One end of 1021 receives the set voltage signal V, that is, is grounded. Therefore, the third resistor unit 1022 can output a low level signal, and the second resistor unit 1021 is a pull-down resistor. When the preset signal V is a voltage signal with a preset voltage value, the battery management chip 93 can enter the low power consumption mode when the low power consumption mode register is set to 1, that is, the low power consumption mode register stores a high level signal , that is, the signal that enables the battery management chip 93 to enter the low power consumption mode is a high-level signal, then when the first resistance unit 1011 does not receive the control signal, the first resistance unit 1011 cannot output the control signal to the output circuit 102, and Since one end of the second resistor unit 1021 receives the set voltage signal V, that is, a voltage signal with a preset voltage value, the third resistor unit 1022 can output a high level signal, and the second resistor unit 1021 is a pull-up resistor.

可选地,如图12b所示,若设定电压信号为高电平信号,第一电平的调整信号为低电平信号,或者,设定电压信号为低电平信号,第一电平的调整的信号为高电平信号;则所述输出电路还包括取反电路1023,第三电阻单元1022的另一端通过取反电路1023连接终端的电池管理芯片93中的低功耗模式寄存器。Optionally, as shown in Figure 12b, if the set voltage signal is a high-level signal, the adjustment signal of the first level is a low-level signal, or, if the set voltage signal is a low-level signal, the first level The adjusted signal is a high level signal; then the output circuit further includes an inversion circuit 1023, and the other end of the third resistance unit 1022 is connected to the low power consumption mode register in the battery management chip 93 of the terminal through the inversion circuit 1023.

当设定电压信号V为接地信号,电池管理芯片93在其中的低功耗模式寄存器置1时,即低功耗模式寄存器中存储高电平信号时才能进入低功耗模式,即能够使电池管理芯片93进入低功耗模式的信号为高电平信号,则当第一电阻单元1011未接收到控制信号时,第一电阻单元1011无法向输出电路102输出控制信号,而由于第二电阻单元1021的一端接收设定电压信号V,即接地,因此,第三电阻单元1022能够输出低电平信号,第二电阻单元1021为下拉电阻。因此,输出电路102包括取反电路1023,该取反电路1023可以将输入的低电平信号转换为高电平信号。当预设信号V为预先设定电压值的电压信号,电池管理芯片93在其中的低功耗模式寄存器置0时,即低功耗模式寄存器中存储低电平信号时才能进入低功耗模式,即能够使电池管理芯片93进入低功耗模式的信号为低电平信号,则当第一电阻单元1011未接收到控制信号时,第一电阻单元1011无法向输出电路102输出控制信号,而由于第二电阻单元1021的一端接收设定电压信号V,即接收预先设定电压值的电压信号,因此,第三电阻单元1022能够输出高电平信号,第二电阻单元1021为上拉电阻。因此,输出电路102包括取反电路1023,该取反电路1023可以将输入的高电平信号转换为低电平信号。When the voltage signal V is set as a ground signal, the battery management chip 93 can enter the low-power mode when the low-power mode register is set to 1, that is, when a high-level signal is stored in the low-power mode register, that is, the battery can be activated. The signal that the management chip 93 enters the low power consumption mode is a high-level signal, then when the first resistance unit 1011 does not receive the control signal, the first resistance unit 1011 cannot output the control signal to the output circuit 102, and because the second resistance unit One end of 1021 receives the set voltage signal V, that is, is grounded. Therefore, the third resistor unit 1022 can output a low level signal, and the second resistor unit 1021 is a pull-down resistor. Therefore, the output circuit 102 includes an inversion circuit 1023, which can convert the input low-level signal into a high-level signal. When the preset signal V is a voltage signal with a preset voltage value, the low power consumption mode register of the battery management chip 93 is set to 0, that is, the low power consumption mode can only be entered when a low level signal is stored in the low power consumption mode register. , that is, the signal that enables the battery management chip 93 to enter the low power consumption mode is a low-level signal, then when the first resistance unit 1011 does not receive the control signal, the first resistance unit 1011 cannot output the control signal to the output circuit 102, and Since one end of the second resistor unit 1021 receives the set voltage signal V, that is, a voltage signal with a preset voltage value, the third resistor unit 1022 can output a high level signal, and the second resistor unit 1021 is a pull-up resistor. Therefore, the output circuit 102 includes an inversion circuit 1023, which can convert the input high-level signal into a low-level signal.

本发明实施例还提供一种节能系统,包括终端的控制器、该终端的电池管理芯片、以及本发明实施例提供的任一功率控制电路。An embodiment of the present invention also provides an energy-saving system, including a terminal controller, a battery management chip of the terminal, and any power control circuit provided in the embodiments of the present invention.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明实施例可以通过硬件实现,也可以借助软件加必要的通用硬件平台的方式来实现。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the embodiments of the present invention can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.), Several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments of the present invention.

本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the drawing is only a schematic diagram of a preferred embodiment, and the modules or processes in the drawing are not necessarily necessary for implementing the present invention.

本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, or can be located in one or more devices different from the embodiment according to corresponding changes. The modules in the above embodiments can be combined into one module, and can also be further split into multiple sub-modules.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (16)

1. a Poewr control method, is characterized in that, comprising:
When not detecting the cyclic pulse signal of the controller of self terminal in preset duration, the not regeneration time delay signal of restarting;
Determine not generate in a delay duration signal that time delay is restarted, after this delay duration terminates, export the adjustment signal of the first level to the low-power consumption mode register in the battery management chip of described terminal, the adjustment signal of described first level can make described battery management chip enter low-power consumption mode;
Wherein, start time of described delay duration early than or equal finish time of described preset duration, described delay duration is more than or equal to described preset duration, and described preset duration is greater than a pulse width of described cyclic pulse signal.
2. control method as claimed in claim 1, is characterized in that, before determining not generate in a delay duration signal that time delay restarts, described method also comprises:
When the number of the pulse of the described cyclic pulse signal detected in preset duration is less than N, the not regeneration time delay signal of restarting, wherein, preset duration equals the length in N number of cycle of described cyclic pulse signal.
3. control method as claimed in claim 2, it is characterized in that, described method also comprises:
When the number of the pulse of the described cyclic pulse signal detected in preset duration is more than or equal to N, generate the signal that time delay is restarted;
In a delay duration after the signal that generation time delay is restarted, export the adjustment signal of second electrical level to the low-power consumption mode register in described battery management chip, the adjustment signal of described second electrical level can make described battery management chip exit the signal of low-power consumption mode.
4. a Poewr control method, is characterized in that, comprising:
The control signal that the controller determining not receive terminal exports, the battery management chip that described control signal is provided for described terminal enters low-power consumption mode or exits low-power consumption mode;
Export the adjustment signal of the first level to the low-power consumption mode register in the battery management chip of described terminal, the adjustment signal of described first level can make described battery management chip enter low-power consumption mode.
5. control method as claimed in claim 4, it is characterized in that, export the adjustment signal of the first level to the low-power consumption mode register in described battery management chip before, described method also comprises:
The control signal of the first predeterminated voltage that the controller determining to receive described terminal exports.
6. control method as claimed in claim 4, it is characterized in that, described method also comprises:
The control signal of the second predeterminated voltage that the controller determining to receive described terminal exports;
Export the adjustment signal of second electrical level to the low-power consumption mode register in described battery management chip, the adjustment signal of described second electrical level can make described battery management chip exit low-power consumption mode.
7. a power control circuit, it is characterized in that, comprise and detect generative circuit and output circuit, described detection generative circuit connects for exporting the port of cyclic pulse signal and described output circuit in the controller of terminal, and described output circuit connects the low-power consumption mode register in the battery management chip of described terminal;
Described detection generative circuit, during for not detecting the cyclic pulse signal of the controller of self terminal in preset duration, the not regeneration time delay signal of restarting; Described preset duration is greater than a pulse width of described cyclic pulse signal;
Described output circuit, for determining not generate in a delay duration signal that time delay is restarted, after this delay duration terminates, export the adjustment signal of the first level to the low-power consumption mode register in the battery management chip of described terminal, the adjustment signal of described first level can make described battery management chip enter low-power consumption mode; Start time of described delay duration early than or equal finish time of described preset duration, described delay duration is more than or equal to described preset duration.
8. circuit as claimed in claim 7, is characterized in that, described detection generative circuit also for:
Before determining not generate in a delay duration signal that time delay restarts, if the number of the pulse of the described cyclic pulse signal detected in preset duration is less than N, the not regeneration time delay signal of restarting, wherein, preset duration equals the length in N number of cycle of described cyclic pulse signal.
9. circuit as claimed in claim 8, is characterized in that, described detection generative circuit also for:
When the number of the pulse of the cyclic pulse signal detected in preset duration is more than or equal to N, generate the signal that time delay is restarted;
Described output circuit, also in a delay duration after generating the time delay signal of restarting, export the adjustment signal of second electrical level to the low-power consumption mode register in described battery management chip, the adjustment signal of described second electrical level can make described battery management chip exit the signal of low-power consumption mode.
10. a power control circuit, it is characterized in that, comprise receiving circuit and transmission circuit, described receiving circuit connects for exporting the port of control signal and described transmission circuit in the controller of terminal, and described transmission circuit connects the low-power consumption mode register in the battery management chip of described terminal;
Described receiving circuit, the control signal that the controller for receiving described terminal exports, the battery management chip that described control signal is provided for described terminal enters low-power consumption mode or exits low-power consumption mode;
Described transmission circuit, during for determining the control signal not receiving the output of described controller at described receiving circuit, export the adjustment signal of the first level to the low-power consumption mode register in described battery management chip, the adjustment signal of described first level can make described battery management chip enter low-power consumption mode.
11. circuit as claimed in claim 10, is characterized in that, described transmission circuit also for:
When the control signal receiving the first predeterminated voltage that described controller exports determined by described receiving circuit, export the adjustment signal of the first level to the low-power consumption mode register in described battery management chip, the adjustment signal of described first level can make described battery management chip enter low-power consumption mode.
12. circuit as claimed in claim 10, is characterized in that, described transmission circuit also for:
When the control signal of the second predeterminated voltage that the controller that described receiving circuit determines to receive described terminal exports, export the adjustment signal of second electrical level to the low-power consumption mode register in described battery management chip, the adjustment signal of described second electrical level can make described battery management chip exit low-power consumption mode.
13. circuit as claimed in claim 10, it is characterized in that, described receiving circuit comprises the first resistance unit;
One end of described first resistance unit connects for exporting the port of control signal in described controller, and the control signal received exports to described transmission unit by the other end of described first resistance unit.
14. circuit as claimed in claim 10, it is characterized in that, described transmission circuit comprises the second resistance unit and the 3rd resistance unit, one end of described second resistance unit receives setting voltage signal, the other end of described second resistance unit is connected with one end of the 3rd resistance unit, and receives the signal of described receiving element; If the adjustment signal of described setting voltage signal and the first level is high level signal, or be low level signal, then the other end of described 3rd resistance unit connects the low-power consumption mode register in the battery management chip of described terminal.
15. circuit as claimed in claim 14, is characterized in that, if described setting voltage signal is high level signal, the adjustment signal of the first level is low level signal, or described setting voltage signal is low level signal, the signal of the adjustment of the first level is high level signal; Then described output circuit also comprises negate circuit, and the other end of described 3rd resistance unit connects the low-power consumption mode register in the battery management chip of described terminal by described negate circuit.
16. 1 kinds of energy conserving systems, is characterized in that, comprise the controller of terminal, the battery management chip of this terminal and the power control circuit as described in any one of claim 7 ~ 15.
CN201310378463.7A 2013-08-27 2013-08-27 Power control method, power control circuit and energy-saving system Active CN103440018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310378463.7A CN103440018B (en) 2013-08-27 2013-08-27 Power control method, power control circuit and energy-saving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310378463.7A CN103440018B (en) 2013-08-27 2013-08-27 Power control method, power control circuit and energy-saving system

Publications (2)

Publication Number Publication Date
CN103440018A CN103440018A (en) 2013-12-11
CN103440018B true CN103440018B (en) 2015-07-08

Family

ID=49693714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310378463.7A Active CN103440018B (en) 2013-08-27 2013-08-27 Power control method, power control circuit and energy-saving system

Country Status (1)

Country Link
CN (1) CN103440018B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746417B (en) * 2013-12-23 2016-07-06 中国科学院微电子研究所 Low-power-consumption control method and system of battery monitoring chip
CN109878377B (en) * 2019-04-19 2024-03-22 惠州市盛微电子有限公司 Battery management system
CN113268134A (en) * 2021-04-19 2021-08-17 瑞芯微电子股份有限公司 Power-down delay and power consumption saving method and device
CN113655843B (en) * 2021-07-01 2022-11-18 济南安时能源科技有限公司 Power chip management system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1781229A (en) * 2003-03-18 2006-05-31 高通股份有限公司 Battery management.
US20060221650A1 (en) * 2005-03-30 2006-10-05 Sanken Electric Co., Ltd. DC-DC converter
US20070146038A1 (en) * 2005-12-22 2007-06-28 Carl Werner Clock distribution network supporting low-power mode
CN101640476A (en) * 2009-03-25 2010-02-03 杭州矽力杰半导体技术有限公司 Power regulator and control method thereof
CN101640481A (en) * 2008-11-20 2010-02-03 杭州矽力杰半导体技术有限公司 Mixed power converter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1781229A (en) * 2003-03-18 2006-05-31 高通股份有限公司 Battery management.
US20060221650A1 (en) * 2005-03-30 2006-10-05 Sanken Electric Co., Ltd. DC-DC converter
US20070146038A1 (en) * 2005-12-22 2007-06-28 Carl Werner Clock distribution network supporting low-power mode
CN101640481A (en) * 2008-11-20 2010-02-03 杭州矽力杰半导体技术有限公司 Mixed power converter
CN101640476A (en) * 2009-03-25 2010-02-03 杭州矽力杰半导体技术有限公司 Power regulator and control method thereof

Also Published As

Publication number Publication date
CN103440018A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN109388339B (en) Memory controller and method of operating the same
US9189053B2 (en) Performance based power management of a memory and a data storage system using the memory
US9971395B2 (en) Low power connection detect method and system for USB charging
CN103440018B (en) Power control method, power control circuit and energy-saving system
CN104272217B (en) Principal and subordinate interface
JP2018529305A5 (en)
WO2021233219A1 (en) Automatic wake-up and diagnosis method for battery management system, battery management system, and vehicle
US9658667B2 (en) Power supply system for an information handling system
CN104571459A (en) Disk array storage device, server system and power management method thereof
WO2010069142A1 (en) Method for reducing standby power consumption of power source system and power source system
US9671849B2 (en) Controlling power supply unit selection based on calculated total on duration
EP2972660B1 (en) Controlling power supply unit power consumption during idle state
US8112645B2 (en) System and method for power management
CN103746417A (en) Low-power-consumption control method and system of battery monitoring chip
CN106292987A (en) A kind of processor power-off sequential control system and method
US20140380083A1 (en) Out-of-band signal detection by host interfaces of storage modules
US9733690B2 (en) Communication device which decreases power comsumption by powering off unused functions when device is inactive
JP2013006557A (en) Communication network system
CN109032319A (en) A kind of backup power supply system and storage system storing equipment
KR20110007660A (en) Dark current control device and control method in sleep mode
US10126968B2 (en) Efficient configuration of memory components
CN101938360B (en) Network interface device and related power saving method
US11966596B2 (en) Method of power management using an expander for a storage system
CN219872322U (en) Power consumption control system and chip
CN119396050A (en) A timed wake-up circuit for a vehicle controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211103

Address after: 518043 No. 01, 39th floor, building a, antuoshan headquarters building, No. 33, antuoshan Sixth Road, Xiang'an community, Xiangmihu street, Futian District, Shenzhen, Guangdong Province

Patentee after: Huawei Digital Energy Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right