A SOC power management circuit and control method
By designing the power management circuit in the SOC system and utilizing the collaborative work of the register unit, drive unit and reset unit to achieve accurate power supply and reset to the power module, the problem of excessive power consumption in the SOC system is solved and the power consumption is reduced. effect.
Patent Information
- Application Number
- CN201910366391.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-05
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-05-05
AI Technical Summary
The power consumption in the SOC system is too high, making it difficult to reliably and conveniently turn on and off unused modules, resulting in high current consumption and affecting ultra-low power design.
Design a SOC power management circuit, including a register unit and a drive unit. It controls the power supply of the power module through the enable signal, and uses the reset unit to compare the VDDA power supply voltage and the reference voltage to realize the normal operation and reset of the power module and ensure power management. precise control.
It effectively reduces the power consumption of the SOC system. It has a simple structure and is easy to manufacture. It enables the power module to turn off the power autonomously and achieve the lowest power consumption state.
Smart Images

Figure CN109976496B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of chip technology, and more specifically, relates to a SOC power management circuit and a control method. Background Art
[0002] In SOC design, as the chip size continues to grow and the line width continues to shrink, the leakage current becomes very considerable. At the same time, due to the increase in functional modules, there are also many modules that are not used temporarily, which will also consume a lot of current, making ultra-low power design difficult. How to reliably and conveniently turn on and off modules that are not used temporarily and minimize power consumption is becoming increasingly important.
[0003] For example, the patent with a publication date of July 4, 2012, publication number "CN102545574A", and patent name "A low-power power supply network design method for a SOC chip" proposed a solution by controlling the power supply device to complete the control of turning on and off different power supply networks of the chip to reduce the chip reset current.
[0004] For example, a patent with a publication date of May 29, 2018, a publication number of "CN108089689A", and a patent name of "A small SOC ultra-low power consumption control circuit and method" proposed another solution. By setting a low-power control module, when the SOC system needs to enter an idle state, the voltage value at the power supply end of the logic circuit system is reduced to a level that can only maintain the data state in the logic circuit system through the low-power control module in hardware, and the clock source in the logic circuit system is turned off at the same time, thereby eliminating the logic dynamic power consumption and minimizing the leakage power consumption.
[0005] Different from the above solutions, the present invention provides another solution to the problem of excessive power consumption in the SOC system. Summary of the invention
[0006] 1. Problem to be solved
[0007] In view of the problem of excessive power consumption of the SOC system in the prior art, the present invention provides a SOC power management circuit and a control method.
[0008] 2. Technical solution
[0009] In order to solve the above problems, the technical solution adopted by the present invention is as follows: a SOC power management circuit, used to control the power supply of a power module, comprises a register unit and a drive unit, wherein the output Q of the register unit is connected to the input of the drive unit;
[0010] The input of the register unit is connected to the external enable signal EN. When the enable signal EN is at a high level, the output Q of the register unit is at a high level, and the driving unit controls the VDDA power supply to supply power to the power-consuming module; the register unit receives the SHUTDOWN signal output by the power-consuming module. When the enable signal EN is at a low level and the SHUTDOWN signal is at a high level, the output Q is at a low level, and the driving unit controls the VDDA power supply to stop supplying power to the power-consuming module.
[0011] When the power module is turned on, the external enable signal EN is at a high level, the output Q of the register unit is at a high level, and the output signal Q passes through the drive unit and VDDA is powered to supply power to the power module;
[0012] When the power-consuming module is turned off, the external enable signal EN is at a low level, and the output Q of the register unit remains at a high level. At this time, the power-consuming module generates a SHUTDOWN signal, which changes the output Q of the register unit to a low level. After the low level passes through the driving unit, the power supply VDDA becomes a low level, and the power-consuming module is powered off.
[0013] Furthermore, the present invention also includes a reset unit, which is used to compare the voltage of the VDDA power supply with a reference voltage. When the voltage of the VDDA power supply is lower than the reference voltage, the reset unit generates a reset signal to the power-consuming module, and the power-consuming module is reset; when the voltage of the VDDA power supply is higher than the reference voltage, the reset unit does not output a reset signal, and the power-consuming module enters a normal working state.
[0014] Furthermore, the reset unit includes a voltage comparator C, the input of which is connected to the VDDA power supply and the reference voltage module, and the output of which is connected to the power consumption module. When the power is first supplied, VDDA starts to output a voltage but the voltage is in the climbing stage, the voltage output by VDDA is lower than the reference voltage, at which time VDDA cannot supply power normally, and the voltage comparator C outputs a reset signal to the power consumption module to reset it; when the voltage of VDDA is in a stable state where power can be supplied normally, the voltage of VDDA is higher than the reference voltage, at which time the voltage comparator C no longer outputs a reset signal, and the power consumption module starts to work normally.
[0015] Furthermore, the register unit includes a delay filter circuit BUF1, inverters INV2 and INV3, NMOS tubes N2 and N3, an external enable signal EN is connected to the input end of the delay filter circuit BUF1, the output end of the delay filter circuit BUF1 is connected to the gate of the NMOS tube N3, the source of the NMOS tube N3 is grounded, and its drain is respectively connected to the input of the inverter INV2 and the output of the inverter INV3, the output of the inverter INV2 is connected to the input of the inverter INV3 on the one hand, and is also connected to the drain of the NMOS tube N2 and the input of the driving unit on the other hand, the source of the NMOS tube N2 is grounded, and its gate receives the SHUTDOWN signal output by the power module.
[0016] When the power consumption module is turned on, the enable signal EN is set to a high level, and the NMOS tube N3 is turned on through the delay filter circuit BUF1. The drain of the NMOS tube N3 outputs a low level, and then passes through the inverter INV2. The output Q of INV2 is a high level, and then passes through the inverter INV4 and the NOT gate composed of the PMOS tube P1 and the NMOS tube N1, and outputs a high level to turn on the power supply VDDA. The power supply VDDA and the voltage of the reference voltage module are simultaneously given to the voltage comparator C. When the power supply is just started, VDDA starts to have voltage but the voltage is in the climbing stage. The voltage output by VDDA is lower than the reference voltage. At this time, VDDA cannot supply power normally, and the voltage comparator C outputs a reset signal to the power consumption module to reset it; when the voltage of VDDA is in a stable state where it can supply power normally, the voltage of VDDA is higher than the reference voltage. At this time, the voltage comparator C no longer outputs a reset signal, and the power consumption module starts to work normally.
[0017] When the power-consuming module is turned off and the corresponding function is completed, the SHUTDOWN signal can be used to turn off its own power supply to achieve the effect of reducing power consumption. The specific process is: the enable signal EN is first set to a low level. At this time, the signal output after the delay filter circuit BUF1 is still a low level, the NMOS tube N3 is turned off, and the inverter INV3 still outputs a low level signal due to its register function. The low level signal is still output Q after passing through the inverter INV2. High level; at this time, the power module generates a SHUTDOWN signal, the NMOS tube N2 is turned on, and the output Q of INV2 is forced to become a low level. The low level passes through the inverter INV4 and the NOT gate composed of the PMOS tube P1 and the NMOS tube N1, and then outputs a low level, turning off the power supply VDDA, and the power-consuming module is powered off.
[0018] In the present invention, the inverters INV2 and INV3 are inverters with weaker output drive. Thus, when the output Q of the inverter INV2 is at a high level, since the drain output of the NMOS tube N2 is at a low level after being turned on, the output Q of INV2 can be forced to become a low level. When the enable signal EN is at a high level, the NMOS tube N3 can force the output of the inverter INV3 to be pulled low. When the shutdown signal SHUTDOWN is at a high level, the NMOS tube N2 can force the output of the inverter INV2 to be pulled low. If the output drive of the inverters INV2 and INV3 is strong, not only the required functions cannot be achieved, but also the device will be damaged.
[0019] Further, the driving unit includes an inverter INV4, a PMOS tube P1 and an NMOS tube N1, wherein the source of the PMOS tube P1 is connected to the power supply, the source of the NMOS tube N1 is grounded, the output of the inverter INV4 is connected to the gates of the PMOS tube P1 and the NMOS tube N1, and after the drains of the PMOS tube P1 and the NMOS tube N1 are connected, they are used as a driving signal of the VDDA power supply; the output Q of the register unit is connected to the input of the inverter INV4. When the output of the driving unit is high level, VDDA has power output; otherwise, no power output.
[0020] Furthermore, the driving unit includes an inverter INV4, a PMOS tube P1 and an NMOS tube N1, wherein the source of the PMOS tube P1 is connected to the power supply, the source of the NMOS tube N1 is grounded, the output of the inverter INV4 is connected to the gates of the PMOS tube P1 and the NMOS tube N1, and after the drains of the PMOS tube P1 and the NMOS tube N1 are connected, they serve as a driving signal for the VDDA power supply; the output Q of the register unit is connected to the input of the inverter INV4.
[0021] The present invention also provides a power supply control method, comprising the following steps:
[0022] When the enable signal EN is at a high level, the register unit outputs a high level signal to the drive unit, and the drive unit controls the VDDA power supply to supply power to the power-consuming module;
[0023] After the power module completes its work, the register unit receives the SHUTDOWN signal output by the power module. When the enable signal EN is at a low level, the register unit outputs a low level to the drive unit, and the drive unit controls the VDDA power supply to stop supplying power to the power module.
[0024] Furthermore, the method further comprises: the reset unit compares the VDDA power supply voltage with the reference voltage, and if the VDDA power supply voltage is lower than the reference voltage, outputs a reset signal to the power-consuming module, and the power-consuming module is reset.
[0025] When the system is powered on, the voltage of VDDA is in the climbing stage. When it is lower than the reference voltage, the reset unit outputs a reset signal to the power-consuming module to reset it. When the voltage of VDDA is in a stable state, the reset unit no longer outputs a reset signal, and the power-consuming module enters a normal working state.
[0026] In the present invention, the power-consuming modules refer to all working modules that need power supply in a circuit system.
[0027] 3. Beneficial effects
[0028] (1) The present invention can utilize the power consumption module of the SOC system to send a signal to shut down its own power supply, thereby effectively reducing the power consumption of the entire SOC system;
[0029] (2) The present invention has a simple structure, reasonable design and is easy to manufacture. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a module block diagram of the present invention;
[0031] Figure 2 It is a schematic diagram of the operating state of the present invention. DETAILED DESCRIPTION
[0032] The present invention is further described below in conjunction with specific embodiments.
[0033] like Figure 1 and Figure 2 As shown, the present invention mainly includes: a register unit, a driving unit and a reset unit, wherein the register unit includes inverters INV2 and INV3, a delay filter circuit BUF1, NMOS tubes N2 and N3, an external enable signal EN is connected to the input end of the delay filter circuit BUF1, the output end of the delay filter circuit BUF1 is connected to the gate of the NMOS tube N3, the source of the NMOS tube N3 is grounded, and its drain is connected to the input of the inverter INV2 and the output of the inverter INV3, the output of the inverter INV2 is connected to the input of the inverter INV3 on the one hand, and is also connected to the drain of the NMOS tube N2 and the input of the inverter INV4 in the driving unit on the other hand, the source of the NMOS tube N2 is grounded, and its gate is connected to the SHUTDOWN signal output by the power module.
[0034] The driving unit includes an inverter INV4, a PMOS tube P1 and an NMOS tube N1, wherein the drains of the PMOS tube P1 and the NMOS tube N1 are connected, and the gates are also connected, the source of the PMOS tube P1 is connected to the power supply, and the source of the NMOS tube N1 is grounded to form a NOT gate, and the output of the inverter INV4 is connected to the gates of the PMOS tube P1 and the NMOS tube N1, and the drains of the PMOS tube P1 and the NMOS tube N1 serve as the output end of the driving unit to output a signal to control the power supply VDDA to power on or off the power-consuming module.
[0035] The reset unit includes a voltage comparator C, the output of the voltage comparator is connected to the power module, the power supply VDDA is connected to the input of the voltage comparator C, the voltage comparator C compares it with the voltage output by the reference voltage module, and then outputs a reset signal connected to the power module.
[0036] The specific working process is as follows: when the power consumption module is turned on, the enable signal EN is set to a high level, and the NMOS tube N3 is turned on through the delay filter circuit BUF1, and the drain of the NMOS tube N3 outputs a low level, and then passes through the inverter INV2, the output Q of INV2 becomes a high level, and then passes through the inverter INV4 and the NOT gate composed of the PMOS tube P1 and the NMOS tube N1, and outputs a high level, and the control power supply VDDA is turned on. The power supply VDDA and the reference voltage generated by the reference voltage module are simultaneously given to the voltage comparator C. When the power supply is first supplied, when the voltage of the power supply VDDA is in the climbing stage, the voltage output by VDDA is lower than the reference voltage. At this time, VDDA cannot normally supply power to the power consumption module, and the voltage comparator C outputs a reset signal to the power consumption module to reset it; when the voltage of VDDA is in a stable state where it can supply power normally, the voltage of VDDA is higher than the reference voltage. At this time, the voltage comparator C no longer outputs a reset signal, and the power consumption module starts to work normally.
[0037] When the power-consuming module completes the corresponding function, it can turn off its own power supply through the SHUTDOWN signal to achieve the effect of reducing power consumption. At this time, the enable signal EN is first set to a low level. At this time, the signal output after the delay filter circuit BUF1 is still a low level, the NMOS tube N3 is turned off, and the inverter INV3 outputs a low level signal due to its register function. The low level signal outputs Q after passing through the inverter INV2 is still a high level; the power-consuming module generates a SHUTDOWN signal, the NMOS tube N2 is turned on, and the output Q of INV2 is forced to become a low level. The low level passes through the inverter INV4 and the NOT gate composed of the PMOS tube P1 and the NMOS tube N1 in turn, and then outputs a low level, turning off the power supply VDDA, and the power-consuming module realizes power shutdown.
[0038] In the present invention, the inverters INV2 and INV3 are inverters with weaker output drive. Thus, when the output Q of the inverter INV2 is at a high level, the output Q of INV2 can be forced to be changed to a low level because the drain of the NMOS tube N2 outputs a low level to Q after the NMOS tube N2 is turned on. When the enable signal EN is at a high level, the NMOS tube N3 can force the output of the inverter INV3 to be pulled low regardless of whether the original output of INV3 is high or low. When the shutdown signal SHUTDOWN is at a high level, the NMOS tube N2 can force the output of the inverter INV2 to be pulled low regardless of whether the original output of INV2 is high or low. If the output drive of the inverters INV2 and INV3 is strong, the required functions cannot be achieved and the device may be damaged.
[0039] The present invention also provides a power supply control method, comprising the following steps:
[0040] When the enable signal EN is at a high level, the register unit outputs a high level signal to the driving unit, and the driving unit controls the VDDA power supply to supply power to the power-consuming module; the reset unit compares the VDDA power supply voltage with the reference voltage, and if the VDDA power supply voltage is lower than the reference voltage, it outputs a reset signal to the power-consuming module, and the power-consuming module is reset.
[0041] After the power module completes its work, the register unit receives the SHUTDOWN signal output by the power module. When the enable signal EN is at a low level, the register unit outputs a low level to the drive unit, and the drive unit controls the VDDA power supply to stop supplying power to the power module.
[0042] In this patent, the power module is the target of the patent to provide power, which refers to all working modules that need power in a circuit system. It is not included in the patent and provides a shutdown signal SHUTDOWN.
[0043] The above schematically describes the invention and its implementation methods. The description is not restrictive. Without departing from the spirit or basic features of the invention, the invention can be implemented in other specific forms. What is shown in the accompanying drawings is only one of the implementation methods of the invention. The actual structure is not limited to this. Any figure mark in the claims should not limit the claims involved. Therefore, if a person of ordinary skill in the art is inspired by it, without departing from the purpose of the invention, a structural method and an embodiment similar to the technical solution are designed without creativity, which should all fall within the scope of protection of this patent. In addition, the word "including" does not exclude other elements or steps, and the word "one" before the element does not exclude the inclusion of "multiple" elements. The multiple elements stated in the product claim can also be implemented by one element through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.
Claims
1. A power supply control method, based on a SOC power management circuit, is used to control the power supply of a power module, characterized in that: The SOC power management circuit includes a register unit and a driving unit, wherein the output Q of the register unit is connected to the input of the driving unit; The input of the register unit is connected to an external enable signal EN. When the enable signal EN is at a high level, the output Q of the register unit is at a high level, and the drive unit controls the VDDA power supply to supply power to the power-consuming module; the register unit receives a SHUTDOWN signal output by the power-consuming module. When the enable signal EN is at a low level and the SHUTDOWN signal is at a high level, the output Q is at a low level, and the drive unit controls the VDDA power supply to stop supplying power to the power-consuming module; A reset unit, the reset unit is used to compare the voltage of the VDDA power supply with the reference voltage. When the voltage of the VDDA power supply is lower than the reference voltage, the reset unit generates a reset signal to the power-consuming module, and the power-consuming module is reset; when the voltage of the VDDA power supply is higher than the reference voltage, the reset unit does not output the reset signal, and the power-consuming module enters a normal working state; The register unit includes a delay filter circuit BUF1, inverters INV2 and INV3, and NMOS tubes N2 and N3. The external enable signal EN is connected to the input end of the delay filter circuit BUF1, and the output end of the delay filter circuit BUF1 is connected to the gate of the NMOS tube N3. The source of the NMOS tube N3 is grounded, and its drain is respectively connected to the input of the inverter INV2 and the output of the inverter INV3. The output of the inverter INV2 is connected to the input of the inverter INV3 on the one hand, and is also connected to the drain of the NMOS tube N2 and the input of the driving unit on the other hand. The source of the NMOS tube N2 is grounded, and its gate receives the SHUTDOWN signal output by the power module; The driving unit includes an inverter INV4, a PMOS tube P1 and an NMOS tube N1, wherein the source of the PMOS tube P1 is connected to the power supply, the source of the NMOS tube N1 is grounded, the output of the inverter INV4 is connected to the gates of the PMOS tube P1 and the NMOS tube N1, and after the drains of the PMOS tube P1 and the NMOS tube N1 are connected, they serve as a driving signal of the VDDA power supply; the output Q of the register unit is connected to the input of the inverter INV4; The reset unit comprises a voltage comparator C, the input of the voltage comparator C is connected to the VDDA power supply and the reference voltage module, and the output of the voltage comparator C is connected to the power module; The power supply control method comprises the following steps: When the enable signal EN is at a high level, the register unit outputs a high level signal to the drive unit, and the drive unit controls the VDDA power supply to supply power to the power-consuming module; After the power module completes its work, the register unit receives the SHUTDOWN signal output by the power module. When the enable signal EN is at a low level, the register unit outputs a low level to the drive unit, and the drive unit controls the VDDA power supply to stop supplying power to the power module.
2. The power supply control method according to claim 1, characterized in that: Also includes: The reset unit compares the VDDA power supply voltage with the reference voltage. If the VDDA power supply voltage is lower than the reference voltage, a reset signal is output to the power-consuming module, and the power-consuming module is reset.
Citation Information
Patent Citations
Low-power consumption power network designing method for system on chip (SOC) chip
CN102545574A
Small-size SoC ultra-low power consumption control circuit and method
CN108089689A
Low-power-consumption self-cutting-off circuit and level switching circuit thereof
CN103412509A
Singlechip and on-chip power-on reset circuit thereof
CN103440027A
Function module level multi-threshold low-power-consumption control device and method
CN104639104A
