Low-power circuit, control method, chip and electronic device based on multiple power domains
By designing low-power circuits with multiple power domains in digital-analog hybrid chips, using reset circuits and mode detection technology to dynamically manage power states, the problem of difficult reduction of static power consumption in traditional designs is solved, and the effect of low power consumption is achieved. .
Patent Information
- Application Number
- CN202211400710.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-11-09
AI Technical Summary
In the low-power design of existing digital-analog hybrid chips, the static power consumption of the normally-on power domain is difficult to meet the ultimate low-power consumption requirements. Especially when the device quiescent current is large, traditional multi-power domain circuit design cannot effectively reduce Standby power consumption.
A low-power circuit based on multiple power domains is designed. By allocating functional modules between the normally-on power domain and the switching power domain, the power domain is realized by using components such as reset circuits, interface circuits, instruction recognition modules, and registers. between synchronization and mode detection, dynamically managing power states to reduce static power consumption.
It achieves the reduction of working circuits in the normally-on power supply domain, reduces the static power consumption of the chip, and achieves the technical effect of low power consumption. By setting some functional modules in the switching power supply domain, the area and power consumption of the normally-on power supply domain are reduced.
Smart Images

Figure CN118012252B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to a low-power circuit, a control method, a chip and an electronic device based on multiple power domains. Background Art
[0002] With the development of chip technology, the feature size of integrated circuits continues to shrink and the scale gradually expands. However, in the application of portable products, due to the limitation of battery capacity, the low-power design of chips has been paid attention to by the industry, and power consumption has become an important indicator for measuring chips. In certain occasions, the chip only needs to work intermittently and is in standby state for part of the time. Reducing the power consumption in standby state can also achieve low power consumption of the chip. In digital-analog hybrid chips, multiple voltage domains are set for low-power design: the always-on power domain will only reset when the power supply is reversed, and remain always on at other times; the switched power domain will enter power-down mode or be awakened under the control of the signal of the always-on power domain. The smaller the feature size, the greater the static current of the device, so the static power consumption can be reduced by turning off the power of certain circuits. The common low-power design implementation scheme of digital-analog hybrid multi-power domain circuits, because it is necessary to monitor the working status of the entire circuit and read the data stored in the NVM when powered on, so the working mode detection circuit, the circuit communicating with the NVM, and the register all work in the always-on power domain, and the power-off and wake-up of the switching power domain are controlled by the signal of the power switch. In normal working mode, the switch power domain is normally turned on, and when not working, the switch power domain is powered off. Only simple control signals pass between the normally-on power domain and the switch power domain, and few level shifters are required. As a result, the entire circuit only has the static power consumption of the normally-on power domain in sleep mode. In some mixed-signal chips, there are not many working modes, and there is no need for very complex control logic to jump the state machine during work, so there will be working circuits that are not enabled for a long time in the normally-on power domain. In some circuits that require extremely low power consumption, the static power consumption index requirements cannot be met.
[0003] Therefore, it is necessary to improve the existing digital-analog hybrid chips and control circuits based on multiple power domains. Summary of the invention
[0004] In view of the above-mentioned technical problems existing in the prior art, the present application provides a low-power circuit based on multiple power domains, including: a normally-on power domain, including a first reset circuit, an interface circuit, an instruction recognition module and a first register, wherein the input end of the first reset circuit is configured to be connected to an external power supply for detecting the external power supply, and can generate a POR signal when the external power supply is detected to reset the normally-on power domain; the input end of the interface circuit is configured to receive an external communication signal and receive an instruction, and its output end is connected to the input end of the instruction recognition module, and the output end of the instruction recognition module is connected to the first register, and the first register can store and update information of the operation logic of the functional module that controls the low-power circuit; and a switching power domain , including a second reset circuit, a state detection circuit, a second register and a functional module, the second reset circuit, the input end is configured to be connected to the external power supply and the instruction recognition module, for detecting the external power supply, and can generate a POR signal when the external power supply is detected, reset the switch power domain, and can output a signal based on the instruction of the instruction recognition module; the state detection circuit is connected to the second reset circuit, and can determine the working mode of the low-power circuit based on the output signal of the second reset circuit, the second register is connected to the state detection circuit, the first register and the functional module, can issue instructions based on the working mode, update the information of the first register table, and control the operation of the functional module.
[0005] Optionally, the first reset circuit includes a first power supply detection circuit and a first asynchronous reset synchronous release module, the output end of the first power supply detection circuit is connected to the first asynchronous reset synchronous release module, and the input end is configured to be connected to an external power supply for detecting the external power supply, and can generate a POR signal when the external power supply is detected to reset the normally open power domain; the output end of the asynchronous reset synchronous release module is respectively connected to the interface circuit, the instruction recognition module and the first register, and it can synchronize the clock signals of the interface circuit, the instruction recognition module and the first register when receiving the POR signal.
[0006] Optionally, the second reset circuit includes an instruction receiving module, a second power supply detection circuit and a second asynchronous reset synchronous release module. The instruction receiving module is connected to the instruction recognition module and can receive instructions from the instruction recognition module. The second power supply detection circuit is configured to detect the power-on state of the low-power circuit, and its output end and the output end of the instruction receiving module are connected to two input ends of an AND gate. The signal output by the AND gate triggers the second asynchronous reset synchronous release module to synchronize the clock of the switching power domain.
[0007] Optionally, the state detection circuit includes a state machine, an NVM communication control module and an NVM. The input end of the state machine is connected to the output end of the second reset circuit, and the output end is connected to the input end of the NVM communication control module, and can output an output signal representing the working mode of the low-power circuit. The NVM communication control module can send a control signal for reading data to the NVM connected thereto based on the output signal. After receiving the control signal, the NVM loads the data into the second register to update the data.
[0008] Optionally, the first register is connected to the state machine and can send a reset flag bit to it indicating that the low-power circuit has been powered on. The signal is used to indicate that the entire circuit has been powered on once, that is, the NVM data has been read once to the second register and loaded into the first register through a handshake mechanism. When the switching power domain is powered on again, in response to receiving the reset flag bit, the second register communicates with the first register, updates local data through a handshake signal, and the low-power circuit enters a normal working mode in which the normally-on power domain and the switching power domain are enabled at the same time.
[0009] In order to achieve the above-mentioned purpose of the invention, the present application also provides a chip, which applies the low-power circuit based on multiple power domains mentioned above.
[0010] In order to achieve the above-mentioned invention object, the present application also provides a control method of a low-power circuit, which applies the low-power circuit based on multiple power domains described above, and the method comprises the steps of:
[0011] S1, the normally-on power domain and the switch power domain perform power detection simultaneously, and in response to the power supply, both power domains are reset by the POR signal generated by the corresponding power detection circuit;
[0012] S2, detection working mode;
[0013] S3, based on the working mode, reading data stored in NVM in the switch power domain;
[0014] S4, updating the read NVM storage data to the second register of the switch power domain;
[0015] S5, updating the data in the second register in S4 to the first register of the normally-on power domain through a handshake signal;
[0016] S6. Work in a predetermined working mode.
[0017] Optionally, the working modes in S2 are divided into three types: a power-on mode, in which the low-power circuit is powered on and a clock is established; a normal working mode, in which the normally-on power domain and the switch power domain are both turned on and perform normal work; and a low-power working mode, in which the normally-on power domain remains powered on, the switch power domain is powered off and can be awakened under the control of the normally-on power domain.
[0018] Optionally, if the low-power circuit is not powered on for the first time, the control method comprises the steps of:
[0019] S01, the interface circuit of the normally-on power domain receives an instruction to turn off or turn on the switch power domain, and performs power-off or power-on operation on the switch power domain, thereby realizing a power-on reset of the switch power domain; and
[0020] S02: In response to receiving the power-on flag of the first register stored in the normally-on power domain, after the working mode is detected, skip the step of reading data from the NVM and directly enter the normal working mode.
[0021] To sum up, the present application provides a low-power circuit based on multiple power domains and a control method thereof, which can achieve the following beneficial effects: the present design sets some functional modules originally set in the normally-on power domain in the switching circuit domain, thereby greatly reducing the area of the normally-on power domain, and the static power consumption of the circuit is also greatly reduced, thereby achieving the technical effect of low power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of the structure of a low power consumption circuit based on multiple power domains provided in an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a power-on process for a low-power circuit based on multiple power domains provided in an embodiment of the present invention;
[0024] Figure 3 A schematic diagram of a method for powering on a low-power circuit based on multiple power domains provided in an embodiment of the present invention;
[0025] Figure 4 The present invention is a flowchart of a normally-on power domain controlling a switch power domain to power on according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0027] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0028] In order to realize a low-power circuit based on multiple power domains, this embodiment reduces the static power consumption of the chip to the greatest extent by reducing the working circuits of the normally-on power domain. Specifically, this embodiment provides a low-power circuit based on multiple power domains, such as Figure 1 As shown, it includes a normally-on power domain 100, including a first reset circuit 110, an interface circuit 120, an instruction recognition module 130 and a first register 140; and a switching power domain 200, including a second reset circuit 210, a state detection circuit 220, a second register 230 and a functional module 240.
[0029] Below, the structure and working principle of the low-power circuit based on multiple power domains are specifically described, wherein the first reset circuit 110 includes a power detection circuit 111 and an asynchronous reset synchronous release module 112, the output end of the first power detection circuit 111 is connected to the first asynchronous reset synchronous release module 112, the input end of the first power detection circuit 111 is configured to be connected to an external power supply for detecting the external power supply, and can generate a POR (Power on reset) signal when detecting that the external power supply is supplied, so as to reset the normally open power domain 100.
[0030] The output end of the asynchronous reset synchronous release module 112 is respectively connected to the interface circuit 120, the instruction recognition module 130 and the first register 140. When receiving the POR signal, it is not synchronized by the clock signal when the POR signal arrives, but is synchronized by the clock signal when the POR signal is released, thereby realizing the clock signal synchronization of the interface circuit 120, the instruction recognition module 130 and the first register 140.
[0031] The input end of the interface circuit 120 is configured to receive external communication signals and instructions, and its output end is connected to the input end of the instruction recognition module 130. The output end of the instruction recognition module 130 is connected to the first register 140. The first register 140 can store and update information of the operating logic of the functional module 240 that controls the low power consumption circuit.
[0032] The second reset circuit 210 includes an instruction receiving module 211, a second power supply detection circuit 212 and a second asynchronous reset synchronous release module 213. The instruction receiving module 211 is connected to the instruction identification module 130 and can receive instructions from the instruction identification module 130. The second power supply detection circuit 212 is configured to detect the power-on state of the low-power circuit. Its output end and the output end of the instruction receiving module 211 are connected to two input ends of the AND gate. The output end of the AND gate is connected to the second asynchronous reset synchronous release module 213. The output signal can trigger the second asynchronous reset synchronous release module 213 to synchronize the clock of the switching power domain.
[0033] Optionally, the instruction received by the instruction receiving module 211 is to turn on / off the switch power domain 200 .
[0034] Optionally, in this embodiment, the specific functions of the functional module 240 are not limited, and those skilled in the art may define them based on application scenarios.
[0035] Optionally, the state detection circuit 220 includes a state machine 221, an NVM communication control module 222 and an NVM 223. The input end of the state machine 221 is connected to the output end of the second reset circuit 210, and the output end of the state machine 221 is connected to the input end of the NVM communication control module 222. The state machine 221 can output an output signal representing the working mode of the low-power circuit. The NVM communication control module 222 can send a control signal for reading data to the NVM 223 connected thereto based on the output signal. After receiving the control signal, the NVM 223 loads the data into the second register 230 for data update.
[0036] Among them, the working modes include: a power-on mode, in which the entire chip is powered on and the clock is established; a normal working mode, in which the normally-on power domain 100 and the switch power domain 200 are both turned on and perform normal work; a low-power working mode, in which the normally-on power domain 100 remains powered on, the switch power domain 200 is powered off and can be awakened under the control of the normally-on power domain 100.
[0037] The control / switching of the working mode is performed by the interface circuit 120 arranged in the normally-on power domain by receiving instructions for reading and writing registers or controlling the working mode, and the state machine 221 responds to the instruction and sends a state signal representing the working mode to the NVM.
[0038] The second register 230 is connected to the first register 140 and the functional module 240 respectively. On the one hand, it can control the operation of the functional module 240 based on the data stored therein, and on the other hand, by handshaking with the first register 140, update its information to the first register 140 of the normally-on power domain 100.
[0039] Optionally, this embodiment further provides a chip (not shown), which applies the low-power circuit based on multiple power domains described above, includes a variety of operating modes to choose from, and can achieve low power consumption in static state.
[0040] Optionally, this embodiment further provides an electronic device, which applies the low-power circuit or chip based on multiple power domains described above.
[0041] Next, combine Figure 2 The power-on workflow of the low-power circuit (the chip using it) based on multiple power domains is described below:
[0042] First, the normally-on power domain and the switch power domain perform power detection at the same time. Here, the external power supplies are respectively referred to as analog circuit power supply 1 (corresponding to the normally-on power domain) and analog circuit power supply 2 (corresponding to the switch power domain). Both power domains are detected by the corresponding power detection circuits (e.g. Figure 1 The POR signal generated by the first power detection circuit and the second power detection circuit in the switching power domain is reset; the switching power domain completes the circuit power-on operation and performs the working mode detection; in the normally-on power domain, wait for the interface circuit to accept the read and write register or control the working mode instruction. After confirming the working mode (assuming it is the normal working mode), read the data stored in NVM223 in the switching power domain. Update the read NVM223 storage data to the register of the switching power domain. Update the register table of the second register of the switching power domain to the register table of the first register of the normally-on power domain through the handshake signal, and then start the normal working mode.
[0043] Correspondingly, this embodiment provides a control method for a low power consumption circuit based on multiple power domains, such as Figure 3 As shown, it includes the steps of:
[0044] S1, the normally-on power domain 100 and the switch power domain 200 simultaneously perform external power detection, and in response to detecting the external power supply, both power domains are reset by the POR signal generated by the corresponding power detection circuit;
[0045] S2, detection working mode;
[0046] S3, based on the working mode, reading the data stored in NVM 223 in the switch power domain 200;
[0047] S4, updating the read NVM 223 storage data to the second register 230 of the switch power domain 200;
[0048] S5, updating the data in the second register 230 in S4 to the first register 140 of the normally-on power domain 100 through a handshake signal;
[0049] S6. Work in a predetermined working mode.
[0050] Optionally, in this embodiment, the working mode is detected in the switch power domain 200, so that the corresponding hardware module can be set in the switch power domain, thereby achieving low power consumption of the circuit.
[0051] Alternatively, if Figure 4 As shown, when the low-power circuit based on multiple power domains is not powered on for the first time, that is, the normally-on power domain 100 maintains a normal working state and no power-on reset occurs; its working process includes the steps of:
[0052] S01 . The interface circuit of the normally-on power domain 100 receives an instruction to turn off or on the switch power domain 200 , and performs a power-off or power-on operation on the switch power domain 200 , so that the switch power domain 200 is powered on and reset.
[0053] S02, receiving a power-on flag (non-first power-on flag signal) stored in the first register of the normally-on power domain 100, and in response to the signal, after the working mode is detected, skipping the NVM data reading step and directly entering the normal working mode.
[0054] The power-on flag is used to indicate that the entire circuit has been powered on once, that is, the NVM data has been read once into the second register 230 and loaded into the first register 140 through the handshake mechanism.
[0055] With such configuration, there is no need to read data from the NVM, which can simplify the process of the normally-on power domain 100 controlling the switch power domain 200 to power on.
[0056] To sum up, this embodiment provides a low-power circuit based on multiple power domains and a control method thereof, which can achieve the following beneficial effects: This design sets some functional modules originally set in the normally-on power domain in the switching circuit domain, thereby greatly reducing the area of the normally-on power domain, and the static power consumption of the circuit is also greatly reduced.
[0057] The technical contents and technical features of the present invention have been disclosed as above, and those skilled in the art can still make various substitutions and modifications without departing from the spirit of the present invention based on the teachings and disclosures of the present invention. Therefore, the protection scope of the present invention is not limited to the contents disclosed in the embodiments, but should include various substitutions and modifications without departing from the present invention, and be covered by the claims of this patent application.
Claims
1. A low power circuit based on multiple power domains, It is characterized in that include: A normally open power domain, comprising a first reset circuit, an interface circuit, an instruction recognition module and a first register, wherein the first reset circuit has an input end configured to be connected to an external power supply for detecting the external power supply, and can generate a POR signal when the external power supply is detected to reset the normally open power domain; the input end of the interface circuit is configured to receive an external communication signal and receive an instruction, and the output end thereof is connected to the input end of the instruction recognition module, and the output end of the instruction recognition module is connected to the first register, and the first register can store and update information of the operation logic of the functional module controlling the low power consumption circuit; as well as A switch power domain, comprising a second reset circuit, a state detection circuit, a second register and a functional module, wherein the second reset circuit, the input end of which is configured to be connected to an external power supply and the instruction recognition module, is used to detect the external power supply, and can generate a POR signal when detecting that the external power supply is supplied, reset the switch power domain, and can output a signal based on the instruction of the instruction recognition module; the state detection circuit is connected to the second reset circuit, and can determine the working mode of the low power circuit based on the output signal of the second reset circuit; the second register is connected to the state detection circuit, the first register and the functional module, and can issue an instruction based on the working mode, update the information of the first register table, and control the operation of the functional module; The state detection circuit includes a state machine, an NVM communication control module and an NVM. The input end of the state machine is connected to the output end of the second reset circuit, and the output end is connected to the input end of the NVM communication control module, and can output an output signal representing the working mode of the low-power circuit. The NVM communication control module can send a control signal for reading data to the NVM connected thereto based on the output signal. After receiving the control signal, the NVM loads the data into the second register to update the data.
2. The low power consumption circuit based on multiple power domains as claimed in claim 1, It is characterized in that The first reset circuit includes a first power supply detection circuit and a first asynchronous reset synchronous release module. The output end of the first power supply detection circuit is connected to the first asynchronous reset synchronous release module, and the input end is configured to be connected to an external power supply for detecting the external power supply, and can generate a POR signal when the external power supply is detected to be powered on, so as to reset the normally open power domain; the output end of the asynchronous reset synchronous release module is respectively connected to the interface circuit, the instruction recognition module and the first register, and it can synchronize the clock signals of the interface circuit, the instruction recognition module and the first register when receiving the POR signal.
3. The low power consumption circuit based on multiple power domains as claimed in claim 1, It is characterized in that The second reset circuit includes an instruction receiving module, a second power supply detection circuit and a second asynchronous reset synchronous release module. The instruction receiving module is connected to the instruction recognition module and can receive instructions from the instruction recognition module. The second power supply detection circuit is configured to detect the power-on state of the low-power circuit. The output end of the second power supply detection circuit and the output end of the instruction receiving module are connected to two input ends of an AND gate. The signal output by the AND gate triggers the second asynchronous reset synchronous release module to synchronize the clock of the switch power domain.
4. The low power consumption circuit based on multiple power domains as claimed in claim 1, It is characterized in that The first register is connected to the state machine and can send a reset flag bit indicating that the low-power circuit has been powered on to the state machine. When the switch power domain is powered on again, in response to receiving the reset flag bit, the second register communicates with the first register and updates local data through a handshake signal, and the low-power circuit enters a normal working mode in which the normally-on power domain and the switch power domain are enabled at the same time.
5. A chip, It is characterized in that A low-power consumption circuit based on multiple power domains as described in any one of claims 1 to 4 is applied.
6. An electronic device, It is characterized in that A low-power consumption circuit based on multiple power domains as described in any one of claims 1 to 4 is applied.
7. A control method for a low power consumption circuit, It is characterized in that The method of applying the low power consumption circuit based on multiple power domains according to any one of claims 1 to 4 comprises the steps of: S1, the normally-on power domain and the switch power domain perform power detection simultaneously, and in response to the power supply, both power domains are reset by the POR signal generated by the corresponding power detection circuit; S2, detection working mode; S3, based on the working mode, reading data stored in NVM in the switch power domain; S4, updating the read NVM storage data to the second register of the switch power domain; S5, updating the data in the second register in S4 to the first register of the normally-on power domain through a handshake signal; S6. Work in a predetermined working mode.
8. The control method of the low power consumption circuit as claimed in claim 7, It is characterized in that There are three working modes described in S2: Power-on mode, in which the low-power circuit is powered on and a clock is established; Normal working mode, in which the normally-on power domain and the switch power domain are both turned on to perform normal work; as well as A low power consumption working mode, in which the normally-on power domain remains powered on, and the switch power domain is powered off and can be awakened under the control of the normally-on power domain.
9. The control method of the low power consumption circuit as claimed in claim 8, It is characterized in that If the low-power circuit is not powered on for the first time, the control method comprises the steps of: S01, the interface circuit of the normally-on power domain receives an instruction to turn off or turn on the switch power domain, and performs a power-off or power-on operation on the switch power domain, thereby achieving a power-on reset of the switch power domain; as well as S02: In response to receiving the power-on flag of the first register stored in the normally-on power domain, after the working mode is detected, skip the step of reading data from the NVM and directly enter the normal working mode.
Citation Information
Patent Citations
Translation circuit from switching power supply domain parallel interface to normally-open power supply domain serial interface
CN107704418A
Chip power consumption optimization method and device, computer equipment and storage medium
CN112083791A
Cross-power-domain data transmission method
CN113093899A
Ultra-low power consumption optimization design method for industrial microcontroller
CN115114801A
Protecting against memory corruption and system freeze during power state transitions in a multi-power domain system
US10983851B1
