Movatterモバイル変換


[0]ホーム

URL:


CN119937760A - A low-power MCU power management unit implemented using asynchronous circuits - Google Patents

A low-power MCU power management unit implemented using asynchronous circuits
Download PDF

Info

Publication number
CN119937760A
CN119937760ACN202510062760.3ACN202510062760ACN119937760ACN 119937760 ACN119937760 ACN 119937760ACN 202510062760 ACN202510062760 ACN 202510062760ACN 119937760 ACN119937760 ACN 119937760A
Authority
CN
China
Prior art keywords
ldo
rstn
hsi
iso
dly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510062760.3A
Other languages
Chinese (zh)
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.)
Jiangsu Huachuang Micro System Co ltd
Original Assignee
Jiangsu Huachuang Micro System 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 Jiangsu Huachuang Micro System Co ltdfiledCriticalJiangsu Huachuang Micro System Co ltd
Priority to CN202510062760.3ApriorityCriticalpatent/CN119937760A/en
Publication of CN119937760ApublicationCriticalpatent/CN119937760A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明涉及芯片设计领域,具体涉及一种使用异步电路实现的低功耗MCU电源管理单元。本发明通过触发器和一系列延时链异步地实现了隔离单元控制、稳压电源控制、HSI时钟控制和VCORE域复位控制。相较于基于状态机实现的PMU,本发明专利为全异步设计,工作时无需时钟,减少了PMU的动态功耗,节省了低功耗模式下为了维持时钟运行所需的功耗。相较于状态机实现的PMU需要等待时钟稳定后开始工作,本发明专利在唤醒标志有效后即开始工作,有效缩短了芯片的唤醒响应时间。

The present invention relates to the field of chip design, and in particular to a low-power MCU power management unit implemented using an asynchronous circuit. The present invention asynchronously implements isolation unit control, voltage-stabilized power supply control, HSI clock control, and VCORE domain reset control through triggers and a series of delay chains. Compared with a PMU implemented based on a state machine, the present invention is a fully asynchronous design that does not require a clock when working, reduces the dynamic power consumption of the PMU, and saves the power consumption required to maintain the clock operation in a low-power mode. Compared with a PMU implemented by a state machine that needs to wait for the clock to stabilize before starting to work, the present invention starts working after the wake-up flag is valid, effectively shortening the wake-up response time of the chip.

Description

Low-power consumption MCU power management unit realized by using asynchronous circuit
Technical Field
The invention relates to the field of chip design, in particular to a low-power consumption MCU power management unit realized by using an asynchronous circuit.
Background
With the continuous development of the internet of things technology, MCUs play an increasingly important role in the technology. The important index for measuring the MCU is the power consumption, and the reduction of the power consumption of the MCU can not only prolong the working time of the Internet of things system in a battery power supply environment, but also reduce the working temperature of the MCU chip and prolong the service life of the chip. The main low-power consumption processing method at present is to divide a chip into a plurality of power domains, and then shut off clocks and power supplies inside the MCU as far as possible when the CPU does not work, which usually realizes the control of the low-power consumption of the MCU by a Power Management Unit (PMU) in cooperation with clocks, reset, isolation units, power switches and the like. In existing schemes, PMUs are typically implemented based on state machines, completing circuit control by jumping to a different state. This implementation generally has two drawbacks. One is that state machines are sequential circuits, clocks are needed during operation, PMUs implemented based on state machines can generate a large amount of dynamic power consumption during operation, and even in a low power consumption mode, all clock sources cannot be turned off, otherwise, the PMUs cannot perform wake-up operation. In addition, even though the clock source can be turned off in the low power mode by adopting an asynchronous wake-up circuit, the PMU needs to wait for clock recovery before starting operation, so that the recovery time of the chip in wake-up is increased.
Disclosure of Invention
The invention aims to solve the problem of the prior MCU power management unit realization technology, and provides a power management unit realized by an asynchronous circuit so as to effectively reduce the power consumption and the area cost and shorten the response time of waking up from a low power consumption mode.
The invention provides the following technical scheme:
The invention provides a low-power consumption MCU power management unit realized by using an asynchronous circuit, which is called PMU for short, wherein the MCU comprises LDO, HSI, ISO, VCORE domains and HSION registers;
the PMU comprises an isolation control module, a power-on control module and a delay wake-up module;
the isolation control module outputs an Iso_on to the ISO as an enabling signal of the ISO;
The isolation control module is configured to:
When the Por_ rstn _dly is in a power-on reset state or the Iso_clamp is in an active state, the Iso_on is in an active state, wherein the Por_ rstn _dly is a Por_ rstn which is released in a delayed manner, the Por_ rstn is a power-on reset signal, the Iso_clamp is a signal obtained by delaying a standby_en through a delay chain, and the standby_en is a low-power-consumption mode switching enabling signal;
When the first condition is changed from the unsatisfied state to the satisfied state, after the delay chain is delayed, the Iso_on is set to be in an invalid state, the content of the first condition is that Port_ rstn _dly is in a reset release state and standby_ rstn is in an invalid state, wherein standby_ rstn is a VCORE domain reset signal, and when standby_ rstn is valid, the VCORE domain is reset;
the power-on control module outputs Ldo _on to the LDO as an enabling signal of the LDO;
The power-on control module is configured to:
when the Porj rstn _dly is in a power-on reset state or a wake-up condition is met, ldo _on is set to be in an active state, wherein the wake-up condition comprises that a wake-up flag signal Stdby_ wkup _src is in an active state, and Ldo _on_dly is Ldo _on after delay by a delay chain;
When the Iso_on_dly is changed from invalid to valid, ldo _on is set to an invalid state, wherein the Iso_on_dly is the Iso_on after being delayed by a delay chain;
The delay wake-up module outputs standby_ rstn;
The delayed wakeup module is configured to:
When Port_ rstn _dly is in a power-on reset state, standby_ rstn is set to an invalid state;
When the wake-up condition is changed from unsatisfied to satisfied, standby_ rstn is set to an active state, and when a preset wake-up time is delayed, standby_ rstn is set to an inactive state.
According to the scheme, the core circuit of the invention completes all time sequence control by using a plurality of delay chains, is independent of a clock, reduces the dynamic power consumption of the PMU, and has simpler structure compared with the PMU circuit realized by a state machine. Compared with the PMU realized by a state machine, which needs to wait for the clock to be stable and then start to work, the invention starts to work after the wake-up mark is valid, thereby effectively shortening the wake-up response time of the chip.
Further, when the enabling signals sent to the HSI by the LDO and HSION registers are valid, the HSI is started, otherwise, the HSI is closed;
The external wiring of the PMU is configured to:
When the port_ rstn _dly is in a power-on reset state or the standby_ rstn is in an active state, the VCORE domain is reset, and the HSION register is reset, so that an enable signal sent to the HSI by the HSION register is set to be active.
The scheme indirectly controls the HSI clock source to enable by controlling the LDO to enable and the standby_ rstn, so that the HSI can be controlled by hardware, and the control of software on the HSI is not influenced.
Further, when the time delay wake-up module delays a preset wake-up time, the clock signal Hsi_clk generated by the HSI is used for timing.
The scheme uses the clock signal Hsi_clk to clock, thereby ensuring that the VCORE domain reset is released after the HSI clock is stable.
Further, the wake-up condition further includes Ldo _on_dly being in an inactive state.
The scheme shields the wake-up mark signal before the end of the power-off flow (Ldo _on_dly is not changed into an invalid state), and avoids the circuit from being awakened by mistake.
Further, the isolation control module comprises a DFF trigger ISO_ON and a delay chain;
The data input end D of the ISO_ON is constant to be 1, and the positive output end Q is connected with the Iso_ON;
Delaying the standby_en by using a delay chain to obtain an Iso_clamp, performing logical OR operation ON the Iso_clamp and the inverted Por_ rstn _dly, and then accessing the Iso_clamp and the inverted Por_ rstn _dly to an ISO_ON high-level effective reset input end;
After carrying out logical AND operation ON Por_ rstn _dly and standby_ rstn, accessing a rising edge trigger clock input end of ISO_ON after a delay chain delays an operation result;
the iso_on and standby_ rstn are low-level active, standby_en is high-level active, the Por_ rstn _dly power-ON reset state is low-level, and the reset release state is high-level;
further, the power-ON control module comprises a DFF trigger LDO_ON and a delay chain;
The data input end D of LDO_ON is constant at 1, and the inverting output end QN is connected with Ldo _on;
The falling edge of the LDO_ON is connected to the clock input end after the delay chain is used for delaying the Iso_on;
After carrying out time delay ON Ldo _on by using a time delay chain, obtaining Ldo _on_dly, carrying out logical AND operation ON the inverted Ldo _on_dly and Stdby_ wkup _src to obtain Ldo _on_set, carrying out logical AND operation ON the inverted Ldo _on_set and Por_ rstn _dly, and accessing the low-level effective reset input end of LDO_ON;
The reset control circuit comprises a reset control circuit, a reset control circuit and a reset control circuit, wherein Ldo _on and Stdby_ wkup _src are high-level effective, iso_on is low-level effective, por_ rstn _dly is powered ON and reset, and a reset release state is high-level;
further, the delay wake-up module comprises a DFF trigger LDO_HSI_ON, a counter standby_ rstn _cnt, a comparator and a delay chain;
The data input end D of LDO_HSI_ON is constant at 1, the positive output end Q is connected with Ldo _hsi_on, and the reverse output end QN is connected with standby_ rstn; the method comprises the steps of using a result of Ldo _on_dly inverted and Stdby_ wkup _src to carry out logic AND operation, accessing a rising edge trigger input end of LDO_HSI_ON, wherein Ldo _on_dly is Ldo _on after delay of a delay chain, ldo _hsi_on is enabled input end of a standby_ rstn _cnt after synchronization, using a clock signal Hsi_clk generated by HSI to access the rising edge trigger clock input end of standby_ rstn _cnt, using a count value Hsi_cnt generated by standby_ rstn _cnt to connect the input end of a comparator, and using an output end of the comparator to connect Hsi_cnt signal, when Hsi_cnt is equal to a set threshold value n, hsi_stat is set 1, otherwise, hsi_stat is set 0;
the standby_ rstn is active low, ldo _hsi_on, ldo_on and Stdby_ wkup _src are active high, the Por_ rstn _dly power-ON reset state is active low, the reset release state is active high, and when the LDO_HSI_ON is reset, ldo _hsi_on is set to 0 and standby_rstn is set to 1.
The invention realizes isolation unit control, regulated power supply control, HSI clock control and VCORE domain reset control asynchronously through the trigger and a series of delay chains. Compared with a PMU realized based on a state machine, the PMU is designed in a fully asynchronous mode, a clock is not needed during operation, the dynamic power consumption of the PMU is reduced, and the power consumption required for maintaining the clock to run in a low power consumption mode is saved. Compared with the PMU realized by a state machine, which needs to wait for the clock to be stable and then start to work, the invention starts to work after the wake-up mark is valid, thereby effectively shortening the wake-up response time of the chip. From a circuit scale, the core circuit of the invention only uses 3 triggers, 1 counter and a plurality of delay chains to complete all time sequence control, and compared with a PMU circuit structure realized by a state machine, the PMU circuit structure is simpler. The invention can reset and release the VCORE domain during wake-up, and automatically reset the internal counter after wake-up without software reset. The invention indirectly controls the HSI clock source to enable by controlling the LDO to enable and the standby_ rstn, thereby realizing the control of the HSI through hardware and not affecting the control of the HSI by software. Finally, the invention can shield the wake-up sign signal before the end of the power-off process, thereby avoiding the circuit from being awakened by mistake.
Drawings
FIG. 1 is a block diagram of one embodiment of a power management unit in accordance with the present invention;
FIG. 2 is a block diagram of one embodiment of a peripheral circuit of a power management unit according to the present invention;
FIG. 3 is a timing control diagram of a power management unit according to an embodiment of the invention;
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the embodiments described below are only some embodiments of the present invention, not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
A low-power consumption MCU power management unit realized by an asynchronous circuit is abbreviated as PMU, wherein the MCU comprises an LDO (linear stabilized power supply), an HSI (high-speed internal oscillator), an ISO (isolation unit), a VCORE domain and a HSION register, wherein an output signal of the VCORE domain is output to other modules after passing through the ISO;
the PMU comprises an isolation control module, a power-on control module and a delay wake-up module;
the isolation control module outputs an Iso_on to the ISO as an enabling signal of the ISO;
The isolation control module is configured to:
When the Por_ rstn _dly is in a power-on reset state or the Iso_clamp is in an active state, the Iso_on is in an active state, wherein the Por_ rstn _dly is a Por_ rstn which is released in a delayed manner, the Por_ rstn is a power-on reset signal, the Iso_clamp is a signal obtained by delaying a standby_en through a delay chain, and the standby_en is a low-power-consumption mode switching enabling signal;
When the first condition is changed from the unsatisfied state to the satisfied state, after the delay chain is delayed, the Iso_on is set to be in an invalid state, the content of the first condition is that Port_ rstn _dly is in a reset release state and standby_ rstn is in an invalid state, wherein standby_ rstn is a VCORE domain reset signal, and when standby_ rstn is valid, the VCORE domain is reset;
the power-on control module outputs Ldo _on to the LDO as an enabling signal of the LDO;
The power-on control module is configured to:
when the Porj rstn _dly is in a power-on reset state or a wake-up condition is met, ldo _on is set to be in an active state, wherein the wake-up condition comprises a wake-up flag signal Stdby_ wkup _src being in an active state and Ldo _on_dly being in an inactive state, and Ldo _on_dly being Ldo _on after delay by a delay chain;
When the Iso_on_dly is changed from invalid to valid, ldo _on is set to an invalid state, wherein the Iso_on_dly is the Iso_on after being delayed by a delay chain;
The delay wake-up module outputs standby_ rstn;
The delayed wakeup module is configured to:
When Port_ rstn _dly is in a power-on reset state, standby_ rstn is set to an invalid state;
When the wake-up condition is changed from unsatisfied to satisfied, setting standby_ rstn to be in an effective state, and setting standby_ rstn to be in an ineffective state when delaying a preset wake-up time;
The external wiring of the PMU is configured to:
When the port_ rstn _dly is in a power-on reset state or the standby_ rstn is in an active state, the VCORE domain is reset, and the HSION register is reset, so that an enable signal sent to the HSI by the HSION register is set to be active.
More specific embodiments are described below:
The PMU is located in a 3.3V digital normally-open power domain of the MCU, the power domain is powered by a chip power pin, and power is kept when the MCU enters a low-power mode.
The VCORE domain is located in a 1.1V digital power-down domain, comprises an MCU core, a bus and various 1.1V digital peripherals, and is powered off when the chip enters a low-power consumption mode.
The circuit architecture of the PMU is shown in FIG. 1, and consists of 3 DFF triggers (ISO_ON, LDO_ON, LDO_HSI_ON), 1 counter (standby_ rstn _cnt), 1 digital Comparator (COMP), 5 groups of delay chains, a plurality of logic gates and a synchronizer. The PMU completes asynchronous power-on and power-off time sequence control through 5 groups of delay chains, and a clock is not needed. The counter counts with clock signal hsi_clk to release VCORE domain reset after Hsi clock has stabilized.
The PMU controls the enabling signals Iso_on and Ldo _on of the ISO and LDO to be set to 0 when the chip enters the low power mode, controls Ldo _on to be set to 1 when the chip exits the low power mode, controls the VCORE domain reset signal standby_ rstn to be set to 0 and to be set to 1 after a period of time, and finally controls the Iso_on to be set to 1 to remove isolation from the VCORE domain.
The Iso_on is an active low ISO enable signal, isolates output signals of all VCORE domains when Iso_on is 0, and de-isolates the VCORE domains when Iso_on is 1.
The Ldo _on is an active high LDO enable signal, which enables the LDO to resume power to the VCORE domain when Ldo _on is 1, and disables the LDO to power down the VCORE domain when Ldo _on is 0.
The standby_ rstn is an active-low VCORE domain reset signal, resets the VCORE domain when standby_ rstn is 0, and releases the VCORE domain reset when standby_ rstn is 1.
The circuit connection relationship of the PMU is shown in FIG. 1, and Por_ rstn _dly and standby_ rstn are connected to the rising edge trigger clock input end of the ISO_ON trigger after the Iso_Release_in is obtained and is delayed by a group of delay chains. The standby_en signal is delayed by a set of delay chains to obtain an iso_clamp, an iso_clamp and an inverted port_ rstn _dly or to obtain an iso_on_rst, which is connected to the high-level active reset input of the iso_on flip-flop. The data input terminal D of the ISO_ON trigger is constant to be 1, and the positive output terminal Q is connected with Iso_on. Iso_on is obtained after a group of delay chains and is input to the falling edge trigger clock input end of the LDO_ON trigger. The data input end D of LDO_ON is constant at 1, and the inverted output end QN is connected with Ldo _on to control the enabling of the 1.1V regulated power supply. Ldo _on goes through a set of delay chains to obtain Ldo _on_dly, ldo _on_dly, inverted and wake-up flag signal stdby_ wkup _src and Ldo _on_set. Ldo _on_set is inverted and summed with por_ rstn _dly to obtain an active low reset input signal Ldo _on_ rstn for the LDO_ON flip-flop. Ldo _on_set is simultaneously connected with the rising edge trigger clock input end of the LDO_HSI_ON trigger, and the data input end D of the LDO_HSI_ON trigger is constant to be 1. The positive output end Q of the LDO_HSI_ON trigger is connected with Ldo _Hsi_on and Ldo _Hsi_on, the positive output end Q of the LDO_HSI_ON trigger is synchronized to an HSI clock through a two-stage synchronizer and then is used as an enabling signal of a standby_ rstn _cnt counter, the inverted output end QN of the LDO_HSI_ON trigger is connected with a standby_ rstn signal, and the VCORE domain is reset when the signal is 0. The rising edge of the standby_ rstn _cnt counter triggers the clock input to connect to hsi_clk, and when the enable signal EN of the standby_ rstn _cnt counter is 1, the hsi_clk starts to be counted up. The count value Hsi_cnt output by the standby_ rstn _cnt is connected with the input end of the comparator, and the output end of the comparator is connected with the Hsi_stable signal. When Hsi_cnt is equal to the set threshold value n, hsi_stable is set to 1, otherwise Hsi_stable is set to 0.Hsi_stable is delayed by a group of delay chains to obtain Hsi_stable_dly, after the Hsi_stable_dly is inverted, and Por_ rstn _dly and obtain a low-level effective reset input end of Ldo _hsi_on_ rstn, ldo _hsi_on_ rstn input LDO_HSI_ON trigger and a low-level effective reset input end of Ldo _hsi_on_ rstn input standby_ rstn _cnt.
The peripheral circuitry of the PMU is shown in FIG. 2, port_ rstn _dly and standby_ rstn and the active low reset input connected to the HSION register and the VCORE domain, the output of the HSION register being Hsi_on, the reset value being 1, i.e., active. HSION registers are configurable by software. Ldo _on is connected to the enabling end of the LDO of the regulated power supply, when the output voltage of the LDO reaches a threshold value of 10us, an enabling signal VCORE_OK_HV sent by the LDO to the HSI is set to be 1, namely, the active state is achieved, and the VCORE_OK_HV and Hsi_on are obtained after being phase-separated, and then En_hsi is input to the enabling end of the HSI clock source. HSI starts to operate when en_hsi is 1, and outputs clock hsi_clk, otherwise clock output is disabled. The standby_en signal output by the VCORE domain when 1 indicates that the PMU is enabled to enter a low power mode. The output signal of the VCORE domain is output to other modules after passing through the ISO isolation unit, and the isolation unit is effective when the Iso_on is in a low level. The APB bus of the VCORE domain output is connected to HSION registers after ISO for configuration HSION registers.
As shown in fig. 3, the control flow of the PMU in this embodiment is described as follows:
1) Port_ rstn _dly is Port_ rstn that is released with a delay through Hsi_clk clock counting. Port_ rstn is a power-on reset signal. The Por_ rstn _dly power-on reset state defaults to low and resets all flip-flops, counters of the PMU, where Iso_on and Hsi_cnt reset to 0, ldo_on and standby_ rstn reset to 1, enabling LDO output and isolating the VCORE domain.
2) After the output voltage of the LDO reaches a threshold of 10us, VCORE_OK_HV is set to 1, enabling the HSI oscillator to generate a clock.
The and state of the port_ rstn _dly and the standby_ rstn is taken as the iso_release_in, and the reset release state of the port_ rstn _dly is high, so that the iso_release_in is set to 1.
3) Iso_Release_in generates Iso_Release through a delay chain, and the rising edge of Iso_Release triggers Iso_on to set 1, and ISO is changed from the enable just powering on to not enable.
4) When the low power consumption mode is entered, a low power consumption mode switching enabling signal standby_en is set to 1, after delay of a delay chain, an Iso_clamp is set to 1, an Iso_clamp high level triggers Iso_on to set to 0, and ISO is enabled to clamp standby_en to 0.
Meanwhile, since the PMU does not depend on a clock signal, the HSI is turned off by passing through the APB bus through the ISO configuration HSION register before the VCORE domain issues the standby_en.
5) After the Iso_on passes through the delay chain, the Iso_on_dly is set to 0, the falling edge of the Iso_on_dly triggers the LDO_ON output Ldo _on to set to 0, and the LDO is turned off, so that the whole power-down process is completed.
6) When the low power mode is exited, the input wake-up flag signal stdby_ wkup _src is set to 1.Ldo _on_dly is Ldo _on generated by a delay chain, and the wake-up condition is met when Ldo _on is 0. Ldo _on_set is set to 1 when Ldo _on_dly is 0 and stdby_ wkup _src is 1.
7) After Ldo _on_set is set to 1, the LDO_ON trigger is reset, ldo _on is set to 1, and the LDO is turned ON. After the LDO output is active, VCORE_OK_HV is set to 1.
Meanwhile, the Ldo _on_set rising edge triggers Ldo _Hsi_on to set 1, an enable counter counts Hsi_clk, the Ldo _on_set rising edge triggers LDO_HSI_ON inverted output end standby_ rstn to set 0, a VCORE domain register is reset, and meanwhile a HSION register is reset, so that Hsi_on is set 1, and an HSI oscillator generates a clock.
8) When the hsi_cnt count value reaches the comparator threshold, hsi_stable is set to 1, and the ldo_hsi_on flip-flop and counter are reset.
9) The ldo_hsi_on trigger reset enables Ldo _hsi_on to stop counting at 0, while standby_ rstn to 1 releases the VCORE domain reset.
10 Iso_release_in will vary with standby_ rstn, and a rising edge will be generated when standby_ rstn is released.
11 After the rising edge of the Iso_Release_in is delayed, the rising edge of the Iso_Release is generated, the Iso_on is triggered to be set to 1, and the whole low-power consumption wake-up process is completed.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (7)

Translated fromChinese
1.一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,所述MCU包括LDO、HSI、ISO、VCORE域、HSION寄存器;VCORE域的输出信号经过ISO后再输出到其他模块;1. A low-power MCU power management unit implemented using an asynchronous circuit, referred to as PMU, wherein the MCU includes LDO, HSI, ISO, VCORE domain, and HSION register; the output signal of the VCORE domain is output to other modules after passing through ISO;其特征在于,所述PMU包括隔离控制模块、上电控制模块、延时唤醒模块;Characterized in that the PMU includes an isolation control module, a power-on control module, and a delayed wake-up module;其中,隔离控制模块向ISO输出Iso_on,作为ISO的使能信号;Among them, the isolation control module outputs Iso_on to ISO as an enable signal of ISO;隔离控制模块被配置为:The Isolation Control Module is configured as:当Por_rstn_dly为上电复位状态或Iso_clamp为有效状态时,Iso_on置为有效状态;其中,Por_rstn_dly为经过延时释放的Por_rstn,Por_rstn为上电复位信号;Iso_clamp为Standby_en经过延时链延迟后得到的信号,Standby_en为低功耗模式切换使能信号;When Por_rstn_dly is in the power-on reset state or Iso_clamp is in the valid state, Iso_on is set to the valid state; wherein, Por_rstn_dly is Por_rstn released after delay, and Por_rstn is the power-on reset signal; Iso_clamp is the signal obtained by Standby_en after delay chain delay, and Standby_en is the low power mode switching enable signal;当第一条件由不满足状态变为满足状态时,经过延时链延迟后,Iso_on置为无效状态,第一条件的内容为Por_rstn_dly为复位释放状态且Standby_rstn为无效状态;其中,Standby_rstn为VCORE域复位信号,当Standby_rstn有效时,对VCORE域进行复位;When the first condition changes from an unsatisfied state to a satisfied state, after a delay in the delay chain, Iso_on is set to an invalid state, and the content of the first condition is that Por_rstn_dly is in a reset release state and Standby_rstn is in an invalid state; wherein Standby_rstn is a VCORE domain reset signal, and when Standby_rstn is valid, the VCORE domain is reset;其中,上电控制模块向LDO输出Ldo_on,作为LDO的使能信号;The power-on control module outputs Ldo_on to the LDO as an enable signal of the LDO;上电控制模块被配置为:The power-on control module is configured as:当Por_rstn_dly为上电复位状态或唤醒条件满足时,Ldo_on置为有效状态;其中,唤醒条件包括唤醒标志信号Stdby_wkup_src为有效状态,其中Ldo_on_dly为经过延时链延迟后的Ldo_on;When Por_rstn_dly is in the power-on reset state or the wake-up condition is met, Ldo_on is set to the valid state; wherein the wake-up condition includes the wake-up flag signal Stdby_wkup_src being in the valid state, wherein Ldo_on_dly is Ldo_on after being delayed by the delay chain;当Iso_on_dly由无效变为有效时,Ldo_on置为无效状态;其中,Iso_on_dly为经过延时链延迟后的Iso_on;When Iso_on_dly changes from invalid to valid, Ldo_on is set to invalid state; where Iso_on_dly is Iso_on after being delayed by the delay chain;其中,延时唤醒模块输出Standby_rstn;Among them, the delayed wake-up module outputs Standby_rstn;延时唤醒模块被配置为:The delayed wake-up module is configured as:当Por_rstn_dly为上电复位状态时,Standby_rstn置为无效状态;When Por_rstn_dly is in the power-on reset state, Standby_rstn is set to the invalid state;当唤醒条件由不满足变为满足时,Standby_rstn置为有效状态,在延时预设的唤醒时间时,Standby_rstn置为无效状态。When the wake-up condition changes from not satisfied to satisfied, Standby_rstn is set to a valid state. When the preset wake-up time is delayed, Standby_rstn is set to an invalid state.2.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特征在于,当LDO与HSION寄存器向HSI发出的使能信号均为有效时,HSI开启,否则HSI关闭;LDO在输出电压达到阈值且持续预设时间后,向HSI发出的使能信号为有效;2. According to claim 1, a low-power MCU power management unit implemented using an asynchronous circuit, referred to as PMU, is characterized in that when the enable signals sent by the LDO and HSION registers to the HSI are both valid, the HSI is turned on, otherwise the HSI is turned off; after the output voltage of the LDO reaches a threshold and lasts for a preset time, the enable signal sent to the HSI is valid;所述PMU的外部接线被配置为:The external wiring of the PMU is configured as:Por_rstn_dly为上电复位状态或Standby_rstn为有效状态时,对VCORE域进行复位,以及对HSION寄存器进行复位,使得HSION寄存器向HSI发送的使能信号置为有效。When Por_rstn_dly is in the power-on reset state or Standby_rstn is in the valid state, the VCORE domain is reset, and the HSION register is reset, so that the enable signal sent by the HSION register to the HSI is set valid.3.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特征在于,所述延时唤醒模块在延时预设的唤醒时间时,使用HSI产生的时钟信号Hsi_clk进行计时。3. According to a low-power MCU power management unit implemented using an asynchronous circuit, referred to as PMU, according to claim 1, it is characterized in that the delayed wake-up module uses the clock signal Hsi_clk generated by HSI for timing when delaying the preset wake-up time.4.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特在于,所述唤醒条件还包括Ldo_on_dly为无效状态。4. A low-power MCU power management unit (PMU) implemented using an asynchronous circuit according to claim 1, wherein the wake-up condition also includes Ldo_on_dly being in an invalid state.5.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特在于,隔离控制模块包括DFF触发器ISO_ON、延时链;5. According to a low-power MCU power management unit implemented using an asynchronous circuit, referred to as PMU, according to claim 1, the isolation control module includes a DFF trigger ISO_ON and a delay chain;ISO_ON的数据输入端D恒为1,正输出端Q连接Iso_on;The data input terminal D of ISO_ON is always 1, and the positive output terminal Q is connected to Iso_on;使用延时链对Standby_en进行延时,得到Iso_clamp,将Iso_clamp和反相的Por_rstn_dly进行逻辑或运算后接入ISO_ON的高电平有效复位输入端;Use a delay chain to delay Standby_en to get Iso_clamp, perform a logical OR operation on Iso_clamp and the inverted Por_rstn_dly, and then connect it to the high-level active reset input of ISO_ON;Por_rstn_dly和Standby_rstn进行逻辑与运算后,运算结果经过延时链延时后,接入ISO_ON的上升沿触发时钟输入端;After the logical AND operation of Por_rstn_dly and Standby_rstn is performed, the operation result is delayed by the delay chain and then connected to the rising edge trigger clock input terminal of ISO_ON;其中Iso_on、Standby_rstn为低电平有效,Standby_en为高电平有效,Por_rstn_dly上电复位状态为低电平,复位释放状态为高电平;ISO_ON复位时Iso_on置0。Among them, Iso_on and Standby_rstn are valid at low level, Standby_en is valid at high level, Por_rstn_dly power-on reset state is low level, and reset release state is high level; Iso_on is set to 0 when ISO_ON is reset.6.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特在于,上电控制模块包括DFF触发器LDO_ON、延时链;6. A low-power MCU power management unit implemented using an asynchronous circuit according to claim 1, referred to as PMU, wherein the power-on control module includes a DFF trigger LDO_ON and a delay chain;LDO_ON的数据输入端D恒为1,反相输出端QN连接Ldo_on;The data input terminal D of LDO_ON is always 1, and the inverting output terminal QN is connected to Ldo_on;使用延时链对Iso_on进行延时后接入LDO_ON的下降沿触发时钟输入端;Use a delay chain to delay Iso_on and then connect it to the falling edge trigger clock input of LDO_ON;使用延时链对Ldo_on进行延时后,得到Ldo_on_dly,将Ldo_on_dly反相后和Stdby_wkup_src进行逻辑与的运算,得到Ldo_on_set,将Ldo_on_set反相后和Por_rstn_dly进行逻辑与运算后接入LDO_ON的低电平有效复位输入端;After delaying Ldo_on using a delay chain, Ldo_on_dly is obtained. After Ldo_on_dly is inverted, a logical AND operation is performed with Stdby_wkup_src to obtain Ldo_on_set. After Ldo_on_set is inverted, a logical AND operation is performed with Por_rstn_dly, and then connected to the low-level effective reset input terminal of LDO_ON.其中,Ldo_on、Stdby_wkup_src为高电平有效,Iso_on为低电平有效;Por_rstn_dly上电复位状态为低电平,复位释放状态为高电平;LDO_ON复位时Ldo_on置1。Among them, Ldo_on and Stdby_wkup_src are valid at high level, and Iso_on is valid at low level; the power-on reset state of Por_rstn_dly is low level, and the reset release state is high level; Ldo_on is set to 1 when LDO_ON is reset.7.根据权利要求1所述的一种使用异步电路实现的低功耗MCU电源管理单元,简称PMU,其特在于,延时唤醒模块包括DFF触发器LDO_HSI_ON、计数器Standby_rstn_cnt、比较器、延时链;7. According to a low-power MCU power management unit implemented using an asynchronous circuit, referred to as PMU, according to claim 1, wherein the delayed wake-up module includes a DFF trigger LDO_HSI_ON, a counter Standby_rstn_cnt, a comparator, and a delay chain;LDO_HSI_ON的数据输入端D恒为1,正输出端Q连接Ldo_hsi_on,反相输出端QN连接Standby_rstn;使用Ldo_on_dly反相后和Stdby_wkup_src进行逻辑与运算后的结果,接入LDO_HSI_ON的上升沿触发输入端,其中Ldo_on_dly为经过延时链延迟后的Ldo_on;Ldo_hsi_on经过同步后输入Standby_rstn_cnt的使能输入端,使用HSI产生的时钟信号Hsi_clk接入Standby_rstn_cnt的上升沿触发时钟输入端,Standby_rstn_cnt产生的计数值Hsi_cnt连接比较器的输入端,比较器的输出端连接Hsi_stable信号,当Hsi_cnt等于设定的阈值n时,Hsi_stable置1,否则Hsi_stable置0;使用延时链对Hsi_stable延时后得到Hsi_stable_dly,对Hsi_stable_dly反相后和Por_rstn_dly进行逻辑与的操作后,得到Ldo_hsi_on_rstn,将Ldo_hsi_on_rstn输入LDO_HSI_ON触发器的低电平有效复位输入端,Ldo_hsi_on_rstn输入Standby_rstn_cnt的低电平有效复位输入端;The data input terminal D of LDO_HSI_ON is always 1, the positive output terminal Q is connected to Ldo_hsi_on, and the inverting output terminal QN is connected to Standby_rstn; the result of the inverted Ldo_on_dly and the logical AND operation with Stdby_wkup_src is connected to the rising edge trigger input terminal of LDO_HSI_ON, where Ldo_on_dly is Ldo_on after the delay chain delay; Ldo_hsi_on is synchronized and input to the enable input terminal of Standby_rstn_cnt, and the clock signal Hsi_clk generated by HSI is connected to the rising edge trigger clock input terminal of Standby_rstn_cnt, and the count value H generated by Standby_rstn_cnt is si_cnt is connected to the input of the comparator, and the output of the comparator is connected to the Hsi_stable signal. When Hsi_cnt is equal to the set threshold n, Hsi_stable is set to 1, otherwise Hsi_stable is set to 0. Hsi_stable is delayed by a delay chain to obtain Hsi_stable_dly. Hsi_stable_dly is inverted and logically ANDed with Por_rstn_dly to obtain Ldo_hsi_on_rstn. Ldo_hsi_on_rstn is input to the low-level effective reset input of the LDO_HSI_ON trigger, and Ldo_hsi_on_rstn is input to the low-level effective reset input of Standby_rstn_cnt.其中Standby_rstn为低电平有效,Ldo_hsi_on、Ldo_on、Stdby_wkup_src为高电平有效;Por_rstn_dly上电复位状态为低电平,复位释放状态为高电平;LDO_HSI_ON复位时,Ldo_hsi_on置0,Standby_rstn置1。Among them, Standby_rstn is valid at a low level, Ldo_hsi_on, Ldo_on, and Stdby_wkup_src are valid at a high level; the power-on reset state of Por_rstn_dly is a low level, and the reset release state is a high level; when LDO_HSI_ON is reset, Ldo_hsi_on is set to 0 and Standby_rstn is set to 1.
CN202510062760.3A2025-01-152025-01-15 A low-power MCU power management unit implemented using asynchronous circuitsPendingCN119937760A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202510062760.3ACN119937760A (en)2025-01-152025-01-15 A low-power MCU power management unit implemented using asynchronous circuits

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202510062760.3ACN119937760A (en)2025-01-152025-01-15 A low-power MCU power management unit implemented using asynchronous circuits

Publications (1)

Publication NumberPublication Date
CN119937760Atrue CN119937760A (en)2025-05-06

Family

ID=95542491

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202510062760.3APendingCN119937760A (en)2025-01-152025-01-15 A low-power MCU power management unit implemented using asynchronous circuits

Country Status (1)

CountryLink
CN (1)CN119937760A (en)

Similar Documents

PublicationPublication DateTitle
US5926641A (en)Clock frequency change circuit
EP0242010B1 (en)Clock circuit for a data processor
US20160109901A1 (en)Low Power Asynchronous Counters in a Synchronous System
US7454632B2 (en)Reducing computing system power through idle synchronization
US7181188B2 (en)Method and apparatus for entering a low power mode
US6989695B2 (en)Apparatus and method for reducing power consumption by a data synchronizer
WO1998050844A1 (en)Processor with sleep and deep sleep modes
CN101859173A (en) Power-saving device of computer mainboard in standby sleep state and mainboard thereof
US9276566B2 (en)Dual edge-triggered retention flip-flop
US7032120B2 (en)Method and apparatus for minimizing power requirements in a computer peripheral device while in suspend state and returning to full operation state without loss of data
CN106020721A (en)Memory device and energy-saving control method thereof
US7131092B2 (en)Clock gating circuit
US8443224B2 (en)Apparatus and method for decoupling asynchronous clock domains
US9780644B1 (en)Methods and apparatus for always on domain finite state machine shutdown using a clock source from a power managed domain
TWI470410B (en)Electronic system and power management method
CN106020417A (en)memory device and energy-saving control method thereof
CN104793723A (en)Low-power-consumption control circuit based on level detection
KR100895543B1 (en) Power Management System and Power Management Methods
Ruhl et al.IA-32 processor with a wide-voltage-operating range in 32-nm CMOS
CN119937760A (en) A low-power MCU power management unit implemented using asynchronous circuits
US12231120B1 (en)Apparatus, system, and method for improving latency or power consumption
CN220671926U (en) A PMU, wake-up circuit and MCU
CN114696809B (en) Signal generating circuit and operating system
CN220795674U (en)Low-power consumption timer of MCU
CN119311106A (en) A clock-free wake-up circuit and method for low-power MCU

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp