[go: up one dir, main page]

CN116300546A - Circuit structure for realizing MCU low-power consumption power management and switching method thereof - Google Patents

Circuit structure for realizing MCU low-power consumption power management and switching method thereof Download PDF

Info

Publication number
CN116300546A
CN116300546A CN202111569033.4A CN202111569033A CN116300546A CN 116300546 A CN116300546 A CN 116300546A CN 202111569033 A CN202111569033 A CN 202111569033A CN 116300546 A CN116300546 A CN 116300546A
Authority
CN
China
Prior art keywords
low
unit
power consumption
field effect
logic
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.)
Granted
Application number
CN202111569033.4A
Other languages
Chinese (zh)
Other versions
CN116300546B (en
Inventor
张怀志
冯雪阳
曹旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRM ICBG Wuxi Co Ltd
Original Assignee
CRM ICBG Wuxi 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 CRM ICBG Wuxi Co Ltd filed Critical CRM ICBG Wuxi Co Ltd
Priority to CN202111569033.4A priority Critical patent/CN116300546B/en
Publication of CN116300546A publication Critical patent/CN116300546A/en
Application granted granted Critical
Publication of CN116300546B publication Critical patent/CN116300546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Dc-Dc Converters (AREA)
  • Logic Circuits (AREA)

Abstract

本发明涉及一种实现MCU低功耗电源管理的电路结构,其中,所述的电路结构包括:第一低压差线性稳压单元(LDOA),用于在接收到外部数字逻辑单元(logic)发送的高电平信号后开启电路进行工作,并输出大电流使得所述的电路结构进入高性能模式;以及第二低压差线性稳压单元(LDOB),用于在接收到外部数字逻辑单元(logic)发送的低电平信号后开启电路进行工作,输出低电流使得所述的电路结构进入超低功耗模式。本发明还涉及一种相应的切换方法。采用了本发明的该实现MCU低功耗电源管理的电路结构及其切换方法,结构简单,所需的电路器件少,节省了芯片面积,并且切换过程简单易实现,能够有效提高芯片良品率。

Figure 202111569033

The present invention relates to a circuit structure for realizing low-power consumption power management of MCU, wherein said circuit structure includes: a first low-dropout linear voltage regulator unit (LDOA), which is used to receive an external digital logic unit (logic) to send Turn on the circuit to work after the high-level signal of the high level signal, and output a large current to make the circuit structure enter the high-performance mode; and the second low-dropout linear voltage regulator unit (LDOB), used to receive the external digital logic ) to start the circuit to work after sending the low-level signal, and output a low current so that the circuit structure enters an ultra-low power consumption mode. The invention also relates to a corresponding switching method. The circuit structure and switching method for realizing MCU low-power consumption power management of the present invention have a simple structure, fewer required circuit devices, save chip area, and the switching process is simple and easy to implement, which can effectively improve the chip yield.

Figure 202111569033

Description

实现MCU低功耗电源管理的电路结构及其切换方法Circuit Structure and Switching Method for Realizing MCU Low Power Consumption Power Management

技术领域technical field

本发明涉及电子技术领域,尤其涉及电源管理技术领域,具体是指一种实现MCU低功耗电源管理的电路结构及其切换方法。The invention relates to the field of electronic technology, in particular to the field of power management technology, in particular to a circuit structure and a switching method for realizing low-power consumption power management of an MCU.

背景技术Background technique

在MCU(micro controller unit)设计过程中,如何实现高性能和低功耗一直是设计难点,特别是现在的MCU电路规模越来越大,MCU的功耗问题也愈加凸显,低功耗设计更成为了MCU设计热点及难点。实现MCU的低功耗设计,不仅能在使用电池供电的应用场景中大大增加设备的续航时间,而且能降低MCU工作时的温度、延长设备的使用寿命。In the MCU (micro controller unit) design process, how to achieve high performance and low power consumption has always been a difficult point in the design, especially now that the scale of the MCU circuit is getting larger and larger, and the problem of power consumption of the MCU is becoming more prominent, and the design of low power consumption is even more difficult. It has become a hot and difficult point in MCU design. Realizing the low power consumption design of the MCU can not only greatly increase the battery life of the device in application scenarios powered by batteries, but also reduce the temperature of the MCU during operation and prolong the service life of the device.

在现有的MCU设计中,大多采用低功耗模式来降低MCU睡眠时的功耗电流,具体的,通过在设备工作任务少或者无任务时将MCU的工作频率切换到低频模式,同时关闭部分数字模块,来降低MCU待机时的功耗电流,但该方式仍存在功耗较高的缺陷,并不能满足要求更高的超低功耗要求,且切换模式过程复杂,因此急需寻找一种能够实现MCU低功耗电源管理的电路结构及切换方法。In the existing MCU design, most of the low power consumption mode is used to reduce the power consumption current when the MCU sleeps, specifically, by switching the operating frequency of the MCU to the low frequency mode when the device has few or no tasks, and at the same time turning off some The digital module is used to reduce the power consumption current of the MCU during standby, but this method still has the defect of high power consumption, which cannot meet the higher ultra-low power consumption requirements, and the switching mode process is complicated, so it is urgent to find a method that can The circuit structure and switching method to realize the low power consumption power management of MCU.

发明内容Contents of the invention

本发明的目的是克服了上述现有技术的缺点,提供了一种结构简单及功耗较低的实现MCU低功耗电源管理的电路结构及其切换方法。The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art, and provide a circuit structure and a switching method for realizing MCU low power consumption power management with simple structure and low power consumption.

为了实现上述目的,本发明的实现MCU低功耗电源管理的电路结构及其切换方法如下:In order to achieve the above object, the circuit structure and switching method thereof for realizing MCU low power consumption power management of the present invention are as follows:

该实现MCU低功耗电源管理的电路结构,其主要特点是,所述的电路结构包括:This realizes the circuit structure of MCU low power consumption power management, and its main feature is that described circuit structure comprises:

第一低压差线性稳压单元,用于在接收到外部数字逻辑单元发送的高电平信号后开启电路进行工作,并输出大电流使得所述的电路结构进入高性能模式;以及The first low-dropout linear voltage stabilizing unit is used to start the circuit to work after receiving the high-level signal sent by the external digital logic unit, and output a large current so that the circuit structure enters a high-performance mode; and

第二低压差线性稳压单元,用于在接收到外部数字逻辑单元发送的低电平信号后开启电路进行工作,输出低电流使得所述的电路结构进入超低功耗模式;The second low-dropout linear voltage stabilizing unit is used to start the circuit to work after receiving the low-level signal sent by the external digital logic unit, and output a low current so that the circuit structure enters an ultra-low power consumption mode;

且所述的第一低压差线性稳压单元的输出端与第二低压差线性稳压单元的输出端均与后端的数字电路相连接,用于对所述的数字电路的小负载以及/或者大负载的工作状态进行控制处理。And the output end of the first low-dropout linear voltage stabilizing unit and the output end of the second low-dropout linear voltage stabilizing unit are both connected to the digital circuit at the rear end, and are used for the small load of the digital circuit and/or The working state of heavy load is controlled and processed.

较佳地,还包括中央处理器,所述中央处理器包括所述的外部数字逻辑单元,其中,Preferably, it also includes a central processing unit, the central processing unit includes the external digital logic unit, wherein,

所述的外部数字逻辑单元的第一使能输入端用于输入低功耗模式信号;The first enable input terminal of the external digital logic unit is used to input a low power consumption mode signal;

所述的外部数字逻辑单元的第二使能输入端用于输入线性稳压信号;The second enable input terminal of the external digital logic unit is used to input a linear voltage regulation signal;

所述的外部数字逻辑单元的第一使能输出端用于通过所述的中央处理器向所述的第二低压差线性稳压单元输入第一逻辑控制信号;The first enable output terminal of the external digital logic unit is used to input a first logic control signal to the second low dropout linear voltage stabilizing unit through the central processing unit;

所述的外部数字逻辑单元的第二使能输出端用于通过所述的中央处理器向所述的第一低压差线性稳压单元输入第二逻辑控制信号。The second enabling output terminal of the external digital logic unit is used to input a second logic control signal to the first low dropout linear voltage stabilizing unit through the central processing unit.

较佳地,所述的第一低压差线性稳压单元具体包括:Preferably, the first low dropout linear voltage stabilizing unit specifically includes:

运算放大器,所述的运算放大器的第一端用于接收带隙基准电路输出的第一基准电压;An operational amplifier, the first end of which is used to receive the first reference voltage output by the bandgap reference circuit;

第三PMOS场效应管,所述的第三PMOS场效应管的栅极与所述的运算放大器的输出端相连接,所述的第三PMOS场效应管的漏极用于接入电源电压;The third PMOS field effect transistor, the gate of the third PMOS field effect transistor is connected to the output terminal of the operational amplifier, and the drain of the third PMOS field effect transistor is used to access the power supply voltage;

第一可调电阻以及第二电阻;a first adjustable resistor and a second resistor;

所述的第二电阻接在所述的运算放大器的第二端以及所述的第三PMOS场效应管的源极之间;The second resistor is connected between the second terminal of the operational amplifier and the source of the third PMOS field effect transistor;

所述的第一可调电阻接在所述的第二电阻与地之间。The first adjustable resistor is connected between the second resistor and ground.

较佳地,所述的电路结构还设置有一控制信号,所述的控制信号用于设置所述的第一可调电阻的电阻值。Preferably, the circuit structure is further provided with a control signal, and the control signal is used to set the resistance value of the first adjustable resistor.

较佳地,所述的第二低压差线性稳压单元具体包括:Preferably, the second low dropout linear voltage stabilizing unit specifically includes:

第一PMOS场效应管,所述的第一PMOS场效应管的栅极用于接入所述的第一逻辑控制信号,所述的第一PMOS场效应管的漏极用于输出偏置电流;The first PMOS field effect transistor, the gate of the first PMOS field effect transistor is used to access the first logic control signal, and the drain of the first PMOS field effect transistor is used to output a bias current ;

第二PMOS场效应管,所述的第二PMOS场效应管的栅极接地,所述的第二PMOS场效应管的漏极用于接入电源电压;The second PMOS field effect transistor, the gate of the second PMOS field effect transistor is grounded, and the drain of the second PMOS field effect transistor is used to access the power supply voltage;

第二NMOS场效应管,所述的第二NMOS场效应管的栅极与漏极均与所述的第一PMOS场效应管的源极相连接;A second NMOS field effect transistor, the gate and drain of the second NMOS field effect transistor are connected to the source of the first PMOS field effect transistor;

第一NMOS场效应管,所述的第一NMOS场效应管的栅极与漏极均与所述的第二NMOS场效应管的源极相连接;以及A first NMOS field effect transistor, the gate and drain of the first NMOS field effect transistor are both connected to the source of the second NMOS field effect transistor; and

第三NMOS场效应管,所述的第三NMOS场效应管的漏极与所述的第二PMOS场效应管的源极相连接,所述的第三NMOS场效应管的栅极与所述的第二NMOS场效应管的栅极与漏极相连接,且所述的第三NMOS场效应管的源极接在所述的第三PMOS场效应管与第二电阻之间。A third NMOS field effect transistor, the drain of the third NMOS field effect transistor is connected to the source of the second PMOS field effect transistor, and the gate of the third NMOS field effect transistor is connected to the source of the second PMOS field effect transistor. The gate of the second NMOS field effect transistor is connected to the drain, and the source of the third NMOS field effect transistor is connected between the third PMOS field effect transistor and the second resistor.

较佳地,通过所述的控制信号调整所述的第一可调电阻的阻值,以使得所述的第二低压差线性稳压单元输出所需的低功耗电压驱动电流。Preferably, the resistance value of the first adjustable resistor is adjusted through the control signal, so that the second low dropout linear voltage stabilizing unit outputs the required low power consumption voltage driving current.

该利用上述电路结构实现双LDO结构低功耗切换的方法,其主要特点是,所述的方法包括以下步骤:The method of utilizing the above-mentioned circuit structure to realize the low-power switching of the dual LDO structure is characterized in that the method includes the following steps:

(1)芯片进入第一工作周期,电路结构处于高性能模式,所述的第一低压差线性稳压单元和第二低压差线性稳压单元执行该模式下的电路处理;(1) The chip enters the first working cycle, and the circuit structure is in a high-performance mode, and the first low-dropout linear voltage stabilizing unit and the second low-dropout linear voltage stabilizing unit perform circuit processing in this mode;

(2)判断微控制单元是否接收到外部发送的切换低功耗模式命令,如果是,则进入步骤(3),否则,继续保持步骤(1)的处理;(2) Judging whether the micro-control unit has received the switch low-power mode command sent from the outside, if yes, then enter step (3), otherwise, continue to maintain the processing of step (1);

(3)所述的微控制单元发出切换低功耗命令;(3) the micro-control unit sends a switching low power consumption command;

(4)芯片进入第二工作周期,所述的第二低压差线性稳压单元根据接收到的低功耗命令进入超低功耗模式,并执行该模式下的电路处理。(4) The chip enters the second working cycle, and the second low dropout linear voltage stabilizing unit enters an ultra-low power consumption mode according to the received low power consumption command, and executes circuit processing in this mode.

较佳地,所述的步骤(1)具体包括以下步骤:Preferably, the step (1) specifically includes the following steps:

(1.1)所述的微控制单元将所述的低功耗模式信号置为截止状态,将所述的线性稳压信号置为导通状态;(1.1) The micro control unit sets the low power consumption mode signal to an off state, and sets the linear voltage regulator signal to an on state;

(1.2)经所述的外部数字逻辑单元处理后,所述的第一逻辑控制信号输出低电平信号,所述的第二逻辑控制信号输出高电平信号;(1.2) After being processed by the external digital logic unit, the first logic control signal outputs a low-level signal, and the second logic control signal outputs a high-level signal;

(1.3)所述的运算放大器接收所述的第二逻辑控制信号输出的高电平信号,所述的第一低压差线性稳压单元开始工作;(1.3) The operational amplifier receives the high-level signal output by the second logic control signal, and the first low-dropout linear voltage stabilizing unit starts to work;

(1.4)所述的第一PMOS场效应管接收所述的第一逻辑控制信号输出的低电平信号,所述的第二低压差线性稳压单元开始工作。(1.4) The first PMOS field effect transistor receives the low-level signal output by the first logic control signal, and the second low-dropout linear regulator unit starts to work.

较佳地,所述的步骤(4)具体包括以下步骤:Preferably, said step (4) specifically includes the following steps:

(4.1)所述的第二低压差线性稳压单元接收所述的微控制单元发送的低功耗命令;(4.1) The second low dropout linear voltage stabilizing unit receives the low power consumption command sent by the micro control unit;

(4.2)所述的微控制单元将所述的低功耗命令置为低电平,并关闭非维持芯片基础功能的大负载电路,随后进入延时状态;(4.2) The micro control unit sets the low power consumption command to a low level, and closes the large load circuit that does not maintain the basic function of the chip, and then enters the delay state;

(4.3)待延时结束后,所述的微控制单元将所述的低功耗模式信号和线性稳压信号均置为导通状态;(4.3) After the delay is over, the micro-control unit sets both the low-power mode signal and the linear voltage regulation signal to a conduction state;

(4.4)经所述的外部数字逻辑单元处理后,所述的第一逻辑控制信号输出低电平信号,所述的第二逻辑控制信号输出低电平信号;(4.4) After being processed by the external digital logic unit, the first logic control signal outputs a low-level signal, and the second logic control signal outputs a low-level signal;

(4.5)所述的运算放大器接收所述的第二逻辑控制信号输出的低电平信号后,所述的第一低压差线性稳压单元关闭电路;(4.5) After the operational amplifier receives the low-level signal output by the second logic control signal, the first low-dropout linear regulator unit closes the circuit;

(4.6)所述的第一PMOS场效应管接收所述的第一逻辑控制信号输出的低电平信号,所述的第二低压差线性稳压单元继续保持工作状态。(4.6) The first PMOS field effect transistor receives the low-level signal output by the first logic control signal, and the second low-dropout linear regulator unit continues to work.

较佳地,所述的第一低压差线性稳压单元和第二低压差线性稳压单元输出的驱动电流为uA级别,以实现所述的电路结构满足超低功耗的要求。Preferably, the driving current outputted by the first low dropout linear voltage stabilizing unit and the second low dropout linear voltage stabilizing unit is uA level, so as to realize that the circuit structure meets the requirement of ultra-low power consumption.

采用了本发明的该实现MCU低功耗电源管理的电路结构及其切换方法,当电路工作频率降低,处于低功耗模式时采用低功耗LDO结构,进一步降低功耗,低功耗LDO结构简单易实现,电路结构添加的电路器件少,不需要额外的偏置电压,仅需要5个MOS管,集成到芯片内部大大节约了芯片面积。新的低功耗LDO结构可以与高性能LDO同时工作,不会相互影响,相较于现有技术而言切换过程简单易实现,能够有效提高芯片良品率。Adopting the circuit structure and switching method thereof for realizing MCU low power consumption power management of the present invention, when the operating frequency of the circuit is reduced and in the low power consumption mode, a low power consumption LDO structure is adopted to further reduce power consumption, and the low power consumption LDO structure Simple and easy to realize, the circuit structure adds few circuit components, no additional bias voltage is needed, only 5 MOS tubes are needed, and the integration into the chip greatly saves the chip area. The new low-power LDO structure can work simultaneously with the high-performance LDO without mutual influence. Compared with the existing technology, the switching process is simple and easy to implement, which can effectively improve the chip yield.

附图说明Description of drawings

图1为本发明的实现MCU低功耗电源管理的电路结构示意图。FIG. 1 is a schematic diagram of a circuit structure for realizing low power consumption power management of an MCU according to the present invention.

图2为本发明的实现双LDO结构低功耗切换的方法的示意图。FIG. 2 is a schematic diagram of a method for realizing low-power switching of a dual LDO structure according to the present invention.

图3为本发明的双LDO结构低功耗切换的时序图。FIG. 3 is a timing diagram of low power switching of the double LDO structure of the present invention.

附图标记reference sign

LDOA 第一低压差线性稳压单元LDOA The first low dropout linear voltage regulator unit

LDOB 第二低压差线性稳压单元LDOB second low dropout linear regulator unit

logic 数字逻辑单元logic digital logic unit

CPU 中央处理器CPU central processing unit

STANDBY_ENH 低功耗模式信号STANDBY_ENH low power mode signal

LDO15_PDN 线性稳压信号LDO15_PDN linear regulator signal

PDN 第一逻辑控制信号PDN first logic control signal

STANDBY 第二逻辑控制信号STANDBY Second logic control signal

AMP 运算放大器AMP operational amplifier

BGR 带隙基准电路BGR Bandgap Reference Circuit

VBG 第一基准电压VBG first reference voltage

VDDD50 电源电压VDDD50 supply voltage

mp1 第一PMOS场效应管mp1 The first PMOS field effect transistor

mp2 第二PMOS场效应管mp2 The second PMOS field effect transistor

mp3 第三PMOS场效应管mp3 The third PMOS field effect transistor

mn1 第一NMOS场效应管mn1 The first NMOS field effect transistor

mn2 第二NMOS场效应管mn2 The second NMOS field effect transistor

Native_mn3 第三NMOS场效应管Native_mn3 The third NMOS field effect transistor

R1 第一可调电阻R1 first adjustable resistor

R2 第二电阻R2 second resistor

LDO15_TRIM<4:0> 控制信号LDO15_TRIM<4:0> Control Signal

MCU 微控制单元MCU micro control unit

ENZ 低功耗命令ENZ Low Power Command

STANDBY_ENH 低功耗模式信号STANDBY_ENH low power mode signal

具体实施方式Detailed ways

为了能够更清楚地描述本发明的技术内容,下面结合具体实施例来进行进一步的描述。In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

在详细说明根据本发明的实施例前,应该注意到的是,在下文中,第一和第二之类的关系术语仅仅用来区分一个实体或动作与另一个实体或动作,而不一定要求或暗示这种实体或动作之间的任何实际的这种关系或顺序。术语“包括”、“包含”或任何其他变体旨在涵盖非排他性的包含,由此使得包括一系列要素的过程、方法、物品或者设备不仅包含这些要素,而且还包含没有明确列出的其他要素,或者为这种过程、方法、物品或者设备所固有的要素。Before describing the embodiments according to the present invention in detail, it should be noted that in the following, relative terms such as first and second are only used to distinguish one entity or action from another entity or action, and do not necessarily require or Any actual such relationship or order between such entities or actions is implied. The terms "comprising", "comprising" or any other variant are intended to cover a non-exclusive inclusion whereby a process, method, article or apparatus comprising a set of elements includes not only those elements but also other elements not expressly listed elements, or elements inherent in such a process, method, article, or apparatus.

请参阅图1所示,该实现MCU低功耗电源管理的电路结构,其中,所述的电路结构包括:Please refer to shown in Fig. 1, this realizes the circuit structure of MCU low power consumption power management, wherein, described circuit structure comprises:

第一低压差线性稳压单元LDOA,用于在接收到外部数字逻辑单元logic发送的高电平信号后开启电路进行工作,并输出大电流使得所述的电路结构进入高性能模式;以及The first low-dropout linear regulator unit LDOA is used to start the circuit to work after receiving the high-level signal sent by the external digital logic unit logic, and output a large current so that the circuit structure enters a high-performance mode; and

第二低压差线性稳压单元LDOB,用于在接收到外部数字逻辑单元logic发送的低电平信号后开启电路进行工作,输出低电流使得所述的电路结构进入超低功耗模式;The second low-dropout linear voltage stabilizing unit LDOB is used to start the circuit to work after receiving the low-level signal sent by the external digital logic unit logic, and output a low current so that the circuit structure enters an ultra-low power consumption mode;

且所述的第一低压差线性稳压单元LDOA的输出端与第二低压差线性稳压单元LDOB的输出端均与后端的数字电路相连接,用于对所述的数字电路的小负载以及/或者大负载的工作状态进行控制处理。And the output end of the first low-dropout linear voltage stabilizing unit LDOA and the output end of the second low-dropout linear voltage stabilizing unit LDOB are both connected to the digital circuit at the rear end, and are used for the small load of the digital circuit and / Or the working state of heavy load is controlled and processed.

作为本发明的优选实施方式,还包括中央处理器CPU,所述中央处理器CPU包括所述的外部数字逻辑单元logic,其中,As a preferred embodiment of the present invention, it also includes a central processing unit CPU, and the central processing unit CPU includes the external digital logic unit logic, wherein,

所述的外部数字逻辑单元logic的第一使能输入端用于输入低功耗模式信号STANDBY_ENH;The first enable input terminal of the external digital logic unit logic is used to input the low power consumption mode signal STANDBY_ENH;

所述的外部数字逻辑单元logic的第二使能输入端用于输入线性稳压信号LDO15_PDN;The second enable input terminal of the external digital logic unit logic is used to input the linear voltage regulation signal LDO15_PDN;

所述的外部数字逻辑单元logic的第一使能输出端用于通过所述的中央处理器CPU向所述的第二低压差线性稳压单元LDOB输入第一逻辑控制信号PDN;The first enabling output terminal of the external digital logic unit logic is used to input a first logic control signal PDN to the second low dropout linear voltage stabilizing unit LDOB through the central processing unit CPU;

所述的外部数字逻辑单元logic的第二使能输出端用于通过所述的中央处理器CPU向所述的第一低压差线性稳压单元LDOA输入第二逻辑控制信号STANDBY。The second enabling output terminal of the external digital logic unit logic is used to input a second logic control signal STANDBY to the first low dropout linear voltage stabilizing unit LDOA through the central processing unit CPU.

作为本发明的优选实施方式,所述的第一低压差线性稳压单元LDOA具体包括:As a preferred embodiment of the present invention, the first low-dropout linear regulator unit LDOA specifically includes:

运算放大器AMP,所述的运算放大器AMP的第一端用于接收带隙基准电路BGR输出的第一基准电压VBG;Operational amplifier AMP, the first end of the operational amplifier AMP is used to receive the first reference voltage VBG output by the bandgap reference circuit BGR;

第三PMOS场效应管mp3,所述的第三PMOS场效应管mp3的栅极与所述的运算放大器AMP的输出端相连接,所述的第三PMOS场效应管mp3的漏极用于接入电源电压VDDD50;The third PMOS field effect transistor mp3, the gate of the third PMOS field effect transistor mp3 is connected to the output terminal of the operational amplifier AMP, and the drain of the third PMOS field effect transistor mp3 is used to connect Input power supply voltage VDDD50;

第一可调电阻R1以及第二电阻R2;a first adjustable resistor R1 and a second resistor R2;

所述的第二电阻R2接在所述的运算放大器AMP的第二端以及所述的第三PMOS场效应管mp3的源极之间;The second resistor R2 is connected between the second end of the operational amplifier AMP and the source of the third PMOS field effect transistor mp3;

所述的第一可调电阻R1接在所述的第二电阻R2与地之间。The first adjustable resistor R1 is connected between the second resistor R2 and ground.

在实际应用当中,LDOA由运算放大器AMP、MOS管mp3、电阻R2、R1组成。R1是可调电阻,通过设置LDO15_TRIM<4:0>可以设置电阻值,改变VDDD15的输出电压。AMP可以通过信号线STANDBY高电平开启。另外LDOA需要一个偏置电压VBG,这个电压一般由带隙基准电路BRG产生。在图1的LDOA工作原理是,在运放AMP的反馈下,Vp=VBG=Vbias,所以在VDDD15的电压为:In practical application, LDOA is composed of operational amplifier AMP, MOS tube mp3, resistors R2 and R1. R1 is an adjustable resistor. By setting LDO15_TRIM<4:0>, the resistor value can be set to change the output voltage of VDDD15. AMP can be turned on by the high level of the signal line STANDBY. In addition, the LDOA needs a bias voltage VBG, which is generally generated by the bandgap reference circuit BRG. The working principle of the LDOA in Figure 1 is that under the feedback of the operational amplifier AMP, Vp=VBG=V bias , so the voltage at VDDD15 is:

VDDD15=Vbias×(R2+R1)/R1;VDDD15= Vbias ×(R2+R1)/R1;

通过调节R2、R1的电阻,可以将VDDD15的电压调到1.5V。By adjusting the resistance of R2 and R1, the voltage of VDDD15 can be adjusted to 1.5V.

作为本发明的优选实施方式,所述的电路结构还设置有一控制信号LDO15_TRIM<4:0>,所述的控制信号LDO15_TRIM<4:0>用于设置所述的第一可调电阻R1的电阻值。As a preferred embodiment of the present invention, the circuit structure is also provided with a control signal LDO15_TRIM<4:0>, and the control signal LDO15_TRIM<4:0> is used to set the resistance of the first adjustable resistor R1 value.

作为本发明的优选实施方式,所述的第二低压差线性稳压单元LDOB具体包括:As a preferred embodiment of the present invention, the second low dropout linear voltage stabilization unit LDOB specifically includes:

第一PMOS场效应管mp1,所述的第一PMOS场效应管mp1的栅极用于接入所述的第一逻辑控制信号PDN,所述的第一PMOS场效应管mp1的漏极用于输出偏置电流IBIAS0;The first PMOS field effect transistor mp1, the gate of the first PMOS field effect transistor mp1 is used to access the first logic control signal PDN, and the drain of the first PMOS field effect transistor mp1 is used for Output bias current IBIAS0;

第二PMOS场效应管mp2,所述的第二PMOS场效应管mp2的栅极接地,所述的第二PMOS场效应管mp2的漏极用于接入电源电压VDDD50;The second PMOS field effect transistor mp2, the gate of the second PMOS field effect transistor mp2 is grounded, and the drain of the second PMOS field effect transistor mp2 is used to access the power supply voltage VDDD50;

第二NMOS场效应管mn2,所述的第二NMOS场效应管mn2的栅极与漏极均与所述的第一PMOS场效应管mp1的源极相连接;A second NMOS field effect transistor mn2, the gate and drain of the second NMOS field effect transistor mn2 are both connected to the source of the first PMOS field effect transistor mp1;

第一NMOS场效应管mn1,所述的第一NMOS场效应管mn1的栅极与漏极均与所述的第二NMOS场效应管mn2的源极相连接;以及a first NMOS field effect transistor mn1, the gate and drain of the first NMOS field effect transistor mn1 are both connected to the source of the second NMOS field effect transistor mn2; and

第三NMOS场效应管Native_mn3,所述的第三NMOS场效应管Native_mn3的漏极与所述的第二PMOS场效应管mp2的源极相连接,所述的第三NMOS场效应管Native_mn3的栅极与所述的第二NMOS场效应管mn2的栅极与漏极相连接,且所述的第三NMOS场效应管Native_mn3的源极接在所述的第三PMOS场效应管mp3与第二电阻R2之间。The third NMOS field effect transistor Native_mn3, the drain of the third NMOS field effect transistor Native_mn3 is connected to the source of the second PMOS field effect transistor mp2, the gate of the third NMOS field effect transistor Native_mn3 The pole is connected to the gate and drain of the second NMOS field effect transistor mn2, and the source of the third NMOS field effect transistor Native_mn3 is connected to the third PMOS field effect transistor mp3 and the second between resistor R2.

作为本发明的优选实施方式,通过所述的控制信号LDO15_TRIM<4:0>调整所述的第一可调电阻R1的阻值,以使得所述的第二低压差线性稳压单元LDOB输出所需的低功耗电压驱动电流。As a preferred embodiment of the present invention, the resistance value of the first adjustable resistor R1 is adjusted through the control signal LDO15_TRIM<4:0>, so that the second low dropout linear regulator unit LDOB outputs the required low power voltage drive current.

在实际应用当中,LDOB由两个P型MOS管mp1、mp2和三个N型MOS管mn1、mn2、Native_mn3组成,工作原理是在IBIAS0偏置电流作用下,mn1、mn2管采用二极管接法,在Vp点产生一个1.5V的电压。mn3管是native管,是常开管,在其源端(V15)也是1.5V。LDOB需要一个偏置电流,这个偏置电流来源于低频振荡器,所有的MCU芯片都会有低频振荡器,不需要额外的偏置电路,不像LDOA这种结构需要额外的带隙基准电路。LDOB的电路结构十分简单,所需的基本器件(电阻、电容、MOS管)很少,集成到芯片内部时将占用很小的面积,这意味着更低的成本。这个结构产生的1.5V电压驱动电流只有uA级别,整个电路的功耗电流也很小,满足超低功耗要求。In practical application, LDOB is composed of two P-type MOS transistors mp1, mp2 and three N-type MOS transistors mn1, mn2, Native_mn3. A voltage of 1.5V is generated at Vp. The mn3 tube is a native tube, a normally open tube, and its source (V15) is also 1.5V. LDOB needs a bias current, which comes from a low-frequency oscillator. All MCU chips will have a low-frequency oscillator, and no additional bias circuit is required. Unlike the structure of LDOA, which requires an additional bandgap reference circuit. The circuit structure of LDOB is very simple, and the basic components (resistors, capacitors, MOS tubes) required are few, and when integrated into the chip, it will occupy a small area, which means lower cost. The 1.5V voltage drive current generated by this structure is only uA level, and the power consumption current of the whole circuit is also very small, meeting the ultra-low power consumption requirement.

该利用上述所述的电路结构实现双LDO结构低功耗切换的方法,其中,所述的方法包括以下步骤:The method for realizing low-power switching of a dual LDO structure by using the circuit structure described above, wherein the method includes the following steps:

(1)芯片进入第一工作周期,电路结构处于高性能模式,所述的第一低压差线性稳压单元LDOA和第二低压差线性稳压单元LDOB执行该模式下的电路处理;(1) The chip enters the first working cycle, and the circuit structure is in a high-performance mode, and the first low-dropout linear voltage stabilizing unit LDOA and the second low-dropout linear voltage stabilizing unit LDOB perform circuit processing in this mode;

(2)判断微控制单元MCU是否接收到外部发送的切换低功耗模式命令,如果是,则进入步骤(3),否则,继续保持步骤(1)的处理;(2) Judging whether the micro-control unit MCU receives the switch low-power mode command sent from the outside, if so, then enter step (3), otherwise, continue to maintain the processing of step (1);

(3)所述的微控制单元MCU发出切换低功耗命令ENZ;(3) the micro control unit MCU sends a switch low power consumption command ENZ;

(4)芯片进入第二工作周期,所述的第二低压差线性稳压单元LDOB根据接收到的低功耗命令ENZ进入超低功耗模式,并执行该模式下的电路处理。(4) The chip enters the second working cycle, and the second low dropout linear voltage stabilizing unit LDOB enters an ultra-low power consumption mode according to the received low power consumption command ENZ, and executes circuit processing in this mode.

作为本发明的优选实施方式,所述的步骤(1)具体包括以下步骤:As a preferred embodiment of the present invention, described step (1) specifically includes the following steps:

(1.1)所述的微控制单元MCU将所述的低功耗模式信号STANDBY_ENH置为截止状态,将所述的线性稳压信号LDO15_PDN置为导通状态;(1.1) The micro control unit MCU sets the low power consumption mode signal STANDBY_ENH to an off state, and sets the linear voltage regulator signal LDO15_PDN to an on state;

(1.2)经所述的外部数字逻辑单元logic处理后,所述的第一逻辑控制信号PDN输出低电平信号,所述的第二逻辑控制信号STANDBY输出高电平信号;(1.2) After being processed by the external digital logic unit logic, the first logic control signal PDN outputs a low-level signal, and the second logic control signal STANDBY outputs a high-level signal;

(1.3)所述的运算放大器AMP接收所述的第二逻辑控制信号STANDBY输出的高电平信号,所述的第一低压差线性稳压单元LDOA开始工作;(1.3) The operational amplifier AMP receives the high-level signal output by the second logic control signal STANDBY, and the first low-dropout linear regulator unit LDOA starts to work;

(1.4)所述的第一PMOS场效应管mp1接收所述的第一逻辑控制信号PDN输出的低电平信号,所述的第二低压差线性稳压单元LDOB开始工作。(1.4) The first PMOS field effect transistor mp1 receives the low-level signal output by the first logic control signal PDN, and the second low dropout linear regulator unit LDOB starts to work.

作为本发明的优选实施方式,所述的步骤(4)具体包括以下步骤:As a preferred embodiment of the present invention, described step (4) specifically includes the following steps:

(4.1)所述的第二低压差线性稳压单元LDOB接收所述的微控制单元MCU发送的低功耗命令ENZ;(4.1) The second low dropout linear regulator unit LDOB receives the low power consumption command ENZ sent by the micro control unit MCU;

(4.2)所述的微控制单元MCU将所述的低功耗命令ENZ置为低电平,并关闭非维持芯片基础功能的大负载电路,随后进入延时状态;(4.2) The micro control unit MCU sets the low power consumption command ENZ to low level, and closes the large load circuit that does not maintain the basic function of the chip, and then enters the delay state;

(4.3)待延时结束后,所述的微控制单元MCU将所述的低功耗模式信号STANDBY_ENH和线性稳压信号LDO15_PDN均置为导通状态;(4.3) After the delay is over, the micro control unit MCU sets both the low power consumption mode signal STANDBY_ENH and the linear voltage regulator signal LDO15_PDN to a conduction state;

(4.4)经所述的外部数字逻辑单元logic处理后,所述的第一逻辑控制信号PDN输出低电平信号,所述的第二逻辑控制信号STANDBY输出低电平信号;(4.4) After being processed by the external digital logic unit logic, the first logic control signal PDN outputs a low-level signal, and the second logic control signal STANDBY outputs a low-level signal;

(4.5)所述的运算放大器AMP接收所述的第二逻辑控制信号STANDBY输出的低电平信号后,所述的第一低压差线性稳压单元LDOA关闭电路;(4.5) After the operational amplifier AMP receives the low-level signal output by the second logic control signal STANDBY, the first low-dropout linear regulator unit LDOA closes the circuit;

(4.6)所述的第一PMOS场效应管mp1接收所述的第一逻辑控制信号PDN输出的低电平信号,所述的第二低压差线性稳压单元LDOB继续保持工作状态。(4.6) The first PMOS field effect transistor mp1 receives the low-level signal output by the first logic control signal PDN, and the second low dropout linear regulator unit LDOB keeps working.

作为本发明的优选实施方式,所述的第一低压差线性稳压单元LDOA和第二低压差线性稳压单元LDOB输出的驱动电流为uA级别,以实现所述的电路结构满足超低功耗的要求。As a preferred embodiment of the present invention, the driving current output by the first low-dropout linear voltage stabilizing unit LDOA and the second low-dropout linear voltage stabilizing unit LDOB is uA level, so as to realize that the circuit structure meets ultra-low power consumption requirements.

在实际应用当中,当MCU进入第一工作周期时,芯片处于高性能模式时,数字电路需要大电流,此时STANDBY_ENH=0,LDO15_PDN=1,经过数字单元logic处理后PDN输出低电平,STANDBY输出高电平,AMP接收到高电平后电路开启,LDOA开始工作,输出大电流。mp1是P型MOS管,接收到PDN低电平会开启,LDOB电路也开始工作。由于LDOA的输出电流相对于LDOB很大,LDOB对VDDD15供电电流的贡献很小,此时可以认为LDOB不工作。In practical applications, when the MCU enters the first working cycle and the chip is in the high-performance mode, the digital circuit needs a large current. At this time, STANDBY_ENH=0, LDO15_PDN=1, after the digital unit logic processing, the PDN outputs a low level, and the STANDBY Output high level, after AMP receives high level, the circuit is turned on, LDOA starts to work, and outputs large current. mp1 is a P-type MOS tube, it will be turned on when it receives the low level of PDN, and the LDOB circuit will also start to work. Because the output current of LDOA is larger than that of LDOB, and the contribution of LDOB to the supply current of VDDD15 is very small, it can be considered that LDOB does not work at this time.

在实际应用当中,当MCU进入第二工作周期时,芯片要进入超低功耗模式时,MCU发出命令ENZ,关闭非维持芯片基础功能的大负载电路,延时一段时间后(为保障双LDO结构的顺利切换,该延时时间需保证尽可能长一点),然后MCU将使STANDBY_ENH=1,LDO15_PDN=1,数字单元logic处理后PDN输出低电平,STANDBY输出低电平,AMP接收到低电平后电路关闭。LDOB由于PDN还是低电平,电路继续工作,输出小的电流保证芯片的低功耗运行。In practical applications, when the MCU enters the second working cycle and the chip is about to enter the ultra-low power consumption mode, the MCU issues a command ENZ to turn off the heavy load circuit that does not maintain the basic functions of the chip, and after a delay for a period of time (in order to ensure that the dual LDO The smooth switching of the structure, the delay time needs to be as long as possible), then the MCU will set STANDBY_ENH=1, LDO15_PDN=1, after the digital unit logic processing, the PDN outputs a low level, the STANDBY outputs a low level, and the AMP receives a low level level after the circuit is closed. Since LDOB is still at low level due to PDN, the circuit continues to work and outputs a small current to ensure low power consumption of the chip.

请参阅图2所示,在本发明的一具体实施方式中,低功耗切换过程中,由于LDOB只能输出uA级别的电流,如果不考虑负载的变化直接切换,会导致VDDD15掉电,芯片失效复位,因此从正常工作切换到低功耗模式时需要做一个切换顺序。MCU收到切换低功耗模式命令,MCU首先会发出低功耗命令ENZ,将ENZ置为低电平,数字电路的大负载电路模块会当即关闭,但其中所涉及的小负载电路不能马上关闭,需要一段延时时间,待MCU延时一段时间后,数字电路中只有一些维持芯片工作的小负载电路模块,只需要很小的电流,然后MCU将STANDBY拉成低电平,LDOA关闭,MCU进入低功耗模式。Please refer to Fig. 2, in a specific embodiment of the present invention, in the low power switching process, since the LDOB can only output uA level current, if the direct switching without considering the change of the load will cause VDDD15 to lose power, the chip Fail-Reset, so a switching sequence is required when switching from normal operation to low-power mode. When the MCU receives the command to switch the low-power mode, the MCU will first issue the low-power command ENZ, set ENZ to low level, and the large-load circuit module of the digital circuit will be turned off immediately, but the small-load circuit involved cannot be turned off immediately , it takes a delay time, after the MCU delays for a period of time, there are only some small load circuit modules in the digital circuit that maintain the chip's work, and only need a small current, then the MCU pulls STANDBY to low level, LDOA is turned off, and the MCU Enter low power mode.

可以看出,本技术方案在正常工作和低功耗模式中LDOB是一直工作的,因此整个切换过程很简单。MCU需要重新恢复功能正常工作模式时,只需要先开启LDOA,等一段稳定时间后,MCU在打开所有的数字电路即可。It can be seen that in the technical solution, the LDOB works all the time in the normal operation and the low power consumption mode, so the whole switching process is very simple. When the MCU needs to resume its normal working mode, it only needs to turn on the LDOA first, and after a period of stabilization, the MCU turns on all the digital circuits.

请参阅图3所示,在本发明的一具体实施方式中,双LDO结构低功耗切换的时序图如图3所示:Please refer to FIG. 3. In a specific embodiment of the present invention, the timing diagram of the low-power switching of the dual LDO structure is shown in FIG. 3:

当电路结构接收到MCU发出的低功耗命令ENZ时,会立即被置于低电平状态,随后会进入到一段延时状态中,在该过程中,第一逻辑控制信号PDN始终维持低电平状态,即所述的第二低压差线性稳压单元LDOB无论是在正常工作模式下还是低功耗模式下均处于工作状态;而第二逻辑控制信号STANDBY在经过同样的延时时间之后,则从原来的高电平状态切换为低电平状态,即当前电路进入低功耗模式,所述的第一低压差线性稳压单元LDOA停止工作。When the circuit structure receives the low power consumption command ENZ issued by the MCU, it will be placed in a low-level state immediately, and then enter a delay state. During this process, the first logic control signal PDN always maintains a low power state. The flat state, that is, the second low dropout linear regulator unit LDOB is in the working state no matter in the normal working mode or the low power consumption mode; and the second logic control signal STANDBY after the same delay time, Then switch from the original high level state to the low level state, that is, the current circuit enters the low power consumption mode, and the first low dropout linear voltage stabilizing unit LDOA stops working.

特别需要说明的是,在双LDO结构下,两个LDO结构之间的切换需要在电路已经处于低功耗模式且稳定之后再进行切换,这样做的好处在于由于LDOB的驱动电流很小,在关闭LDOA之前需要先将数字电路中功耗电流较大的模块关闭,待数字电路已经处于睡眠模式并稳定后再关闭LDOA。因此需要在两个LDO的切换时序上做一些要求。In particular, it should be noted that under the dual LDO structure, the switch between the two LDO structures needs to be switched after the circuit has been in low power consumption mode and stabilized. Before turning off the LDOA, it is necessary to turn off the modules with large power consumption in the digital circuit, and turn off the LDOA after the digital circuit is in sleep mode and stabilized. Therefore, it is necessary to make some requirements on the switching timing of the two LDOs.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行装置执行的软件或固件来实现。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the above-described embodiments, various steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成的,程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when executed , including one or a combination of the steps of the method embodiment.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

在本说明书的描述中,参考术语“一实施例”、“一些实施例”、“示例”、“具体示例”、或“实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "an embodiment", "some embodiments", "example", "specific example", or "embodiment" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

采用了本发明的该实现MCU低功耗电源管理的电路结构及其切换方法,当电路工作频率降低,处于低功耗模式时采用低功耗LDO结构,进一步降低功耗,低功耗LDO结构简单易实现,电路结构添加的电路器件少,不需要额外的偏置电压,仅需要5个MOS管,集成到芯片内部大大节约了芯片面积。新的低功耗LDO结构可以与高性能LDO同时工作,不会相互影响,相较于现有技术而言切换过程简单易实现,能够有效提高芯片良品率。Adopting the circuit structure and switching method thereof for realizing MCU low power consumption power management of the present invention, when the operating frequency of the circuit is reduced and in the low power consumption mode, a low power consumption LDO structure is adopted to further reduce power consumption, and the low power consumption LDO structure Simple and easy to realize, the circuit structure adds few circuit components, no additional bias voltage is needed, only 5 MOS tubes are needed, and the integration into the chip greatly saves the chip area. The new low-power LDO structure can work simultaneously with the high-performance LDO without mutual influence. Compared with the existing technology, the switching process is simple and easy to implement, which can effectively improve the chip yield.

在此说明书中,本发明已参照其特定的实施例作了描述。但是,很显然仍可以作出各种修改和变换而不背离本发明的精神和范围。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it is obvious that various modifications and changes can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.

Claims (10)

1. The circuit structure for realizing MCU low-power consumption power management is characterized by comprising:
the first low dropout linear voltage regulator unit (LDOA) is used for starting a circuit to work after receiving a high-level signal sent by an external digital logic unit (logic) and outputting a large current to enable the circuit structure to enter a high-performance mode; and
the second low dropout linear voltage regulator unit (LDOB) is used for starting a circuit to work after receiving a low-level signal sent by an external digital logic unit (logic) and outputting low current to enable the circuit structure to enter an ultra-low power consumption mode;
the output end of the first low dropout linear voltage stabilizing unit (LDOA) and the output end of the second low dropout linear voltage stabilizing unit (LDOB) are connected with a digital circuit at the rear end, and the digital circuit is used for controlling and processing the working state of a small load and/or a large load of the digital circuit.
2. The circuit structure for implementing MCU low power consumption power management of claim 1, further comprising a Central Processing Unit (CPU) including said external digital logic unit (logic), wherein,
the first enabling input end of the external digital logic unit (logic) is used for inputting a low power consumption mode signal (STANDBY_ENH);
the second enabling input end of the external digital logic unit (logic) is used for inputting a linear voltage stabilizing signal (LDO15_PDN);
the first enabling output end of the external digital logic unit (logic) is used for inputting a first logic control signal (PDN) to the second low dropout linear voltage stabilizing unit (LDOB) through the Central Processing Unit (CPU);
the second enable output end of the external digital logic unit (logic) is used for inputting a second logic control Signal (STANDBY) to the first low dropout linear voltage regulator unit (LDOA) through the Central Processing Unit (CPU).
3. The circuit structure for implementing MCU low power consumption power management as defined in claim 2, wherein said first low dropout linear regulator unit (LDOA) comprises:
an operational Amplifier (AMP), a first terminal of the operational Amplifier (AMP) being configured to receive a first reference Voltage (VBG) output by the bandgap reference circuit (BGR);
the grid electrode of the third PMOS field effect transistor (mp 3) is connected with the output end of the operational Amplifier (AMP), and the drain electrode of the third PMOS field effect transistor (mp 3) is used for being connected with a power supply voltage (VDDD 50);
a first adjustable resistor (R1) and a second resistor (R2);
the second resistor (R2) is arranged between the second end of the operational Amplifier (AMP) and the source electrode of the third PMOS field effect transistor (mp 3); the first adjustable resistor (R1) is arranged between the second resistor (R2) and the ground.
4. A circuit arrangement for implementing MCU low power consumption power management as defined in claim 3, further provided with a control signal (ldO15_TRIM <4:0 >), said control signal (ldO15_TRIM <4:0 >) being used to set the resistance of said first adjustable resistor (R1).
5. The circuit structure for implementing low power consumption power management of MCU as defined in claim 4, wherein said second low dropout linear regulator unit (LDOB) comprises:
the first PMOS field effect transistor (mp 1), the grid electrode of the first PMOS field effect transistor (mp 1) is used for being connected with the first logic control signal (PDN), and the drain electrode of the first PMOS field effect transistor (mp 1) is used for outputting bias current (IBIAS 0);
the grid electrode of the second PMOS field effect tube (mp 2) is grounded, and the drain electrode of the second PMOS field effect tube (mp 2) is used for being connected with a power supply voltage (VDDD 50);
the grid electrode and the drain electrode of the second NMOS field effect tube (mn 2) are connected with the source electrode of the first PMOS field effect tube (mp 1);
the grid electrode and the drain electrode of the first NMOS field effect tube (mn 1) are connected with the source electrode of the second NMOS field effect tube (mn 2); and
the drain electrode of the third NMOS field effect tube (native_mn3) is connected with the source electrode of the second PMOS field effect tube (mp 2), the grid electrode of the third NMOS field effect tube (native_mn3) is connected with the grid electrode of the second NMOS field effect tube (mn 2) and the drain electrode, and the source electrode of the third NMOS field effect tube (native_mn3) is arranged between the third PMOS field effect tube (mp 3) and the second resistor (R2).
6. The circuit structure for implementing low power consumption power management of MCU according to claim 5, wherein the resistance value of the first adjustable resistor (R1) is adjusted by the control signal (ldo15_trim <4:0 >) so that the second low dropout linear regulator unit (LDOB) outputs the required low power consumption voltage driving current.
7. A method for implementing low power switching of a dual LDO structure by using the circuit structure of any of claims 1 to 6, comprising the steps of:
(1) The chip enters a first working period, the circuit structure is in a high-performance mode, and the first low-dropout linear voltage stabilizing unit (LDOA) and the second low-dropout linear voltage stabilizing unit (LDOB) execute circuit processing in the mode;
(2) Judging whether a Micro Control Unit (MCU) receives an externally transmitted command for switching the low power consumption mode, if so, entering a step (3), otherwise, continuing to maintain the processing of the step (1);
(3) The Micro Control Unit (MCU) sends out a switching low power consumption command (ENZ);
(4) The chip enters a second working period, and the second low dropout linear voltage regulator unit (LDOB) enters an ultra-low power consumption mode according to a received low power consumption command (ENZ) and executes circuit processing under the mode.
8. The method for implementing low power switching of dual LDO structure as set forth in claim 7, wherein said step (1) comprises the steps of:
(1.1) the Micro Control Unit (MCU) sets the low power mode signal (standby_enh) to an off state and sets the linear voltage stabilizing signal (ldos15_pdn) to an on state;
(1.2) after processing by said external digital logic unit (logic), said first logic control signal (PDN) outputting a low level signal and said second logic control Signal (STANDBY) outputting a high level signal;
(1.3) said operational Amplifier (AMP) receiving a high level signal output by said second logic control Signal (STANDBY), said first low dropout linear regulator unit (LDOA) starting operation;
the first PMOS field-effect transistor (mp 1) of (1.4) receives the low-level signal output by the first logic control signal (PDN), and the second low dropout linear voltage regulator unit (LDOB) starts to operate.
9. The method for implementing low power switching of dual LDO structure as set forth in claim 8, wherein said step (4) comprises the steps of:
the second low dropout linear regulator unit (LDOB) described in (4.1) receives the low power consumption command (ENZ) sent by the Micro Control Unit (MCU);
(4.2) said Micro Control Unit (MCU) setting said low power command (ENZ) to low level and turning off the heavy load circuit which does not maintain the basic function of the chip, and then entering a delay state;
(4.3) after the delay is finished, the Micro Control Unit (MCU) sets the low power consumption mode signal (STANDBY_ENH) and the linear voltage stabilizing signal (LDO15_PDN) to be in a conducting state;
(4.4) after said external digital logic unit (logic) processing, said first logic control signal (PDN) outputting a low level signal and said second logic control Signal (STANDBY) outputting a low level signal;
after the operational Amplifier (AMP) receives the low level signal output by the second logic control Signal (STANDBY), the first low dropout linear regulator unit (LDOA) turns off the circuit;
the first PMOS field-effect transistor (mp 1) of (4.6) receives the low-level signal output by the first logic control signal (PDN), and the second low dropout linear voltage regulator unit (LDOB) continues to maintain the operating state.
10. The method of claim 7, wherein the driving currents output by the first low dropout linear voltage regulator (LDOA) and the second low dropout linear voltage regulator (LDOB) are of uA level, so as to achieve that the circuit structure meets the requirement of ultra low power consumption.
CN202111569033.4A 2021-12-21 2021-12-21 Circuit structure and switching method for realizing MCU low-power power management Active CN116300546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111569033.4A CN116300546B (en) 2021-12-21 2021-12-21 Circuit structure and switching method for realizing MCU low-power power management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111569033.4A CN116300546B (en) 2021-12-21 2021-12-21 Circuit structure and switching method for realizing MCU low-power power management

Publications (2)

Publication Number Publication Date
CN116300546A true CN116300546A (en) 2023-06-23
CN116300546B CN116300546B (en) 2025-09-23

Family

ID=86801914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111569033.4A Active CN116300546B (en) 2021-12-21 2021-12-21 Circuit structure and switching method for realizing MCU low-power power management

Country Status (1)

Country Link
CN (1) CN116300546B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063000A (en) * 2013-03-22 2014-09-24 国民技术股份有限公司 System for configuring output current of low-drop-out regulator and chip
WO2015059974A1 (en) * 2013-10-24 2015-04-30 ソニー株式会社 Electronic apparatus
CN106249795A (en) * 2016-08-31 2016-12-21 电子科技大学 A kind of LDO circuit of output of floating
WO2020233382A1 (en) * 2019-05-17 2020-11-26 东南大学 Low-temperature-drift linear voltage stabilizer with extremely low power consumption
CN112286334A (en) * 2020-10-30 2021-01-29 广州鸿博微电子技术有限公司 Low-power power switching circuit for MCU and its realization method
WO2021232672A1 (en) * 2020-05-20 2021-11-25 苏州纳芯微电子股份有限公司 Protection circuit for common-mode transient immunity of digital isolator
CN113721695A (en) * 2021-08-20 2021-11-30 西安电子科技大学 Dual-mode low dropout regulator, circuit thereof and electronic product
CN113721690A (en) * 2021-09-24 2021-11-30 上海艾为电子技术股份有限公司 Band gap reference circuit, control method thereof and power supply circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063000A (en) * 2013-03-22 2014-09-24 国民技术股份有限公司 System for configuring output current of low-drop-out regulator and chip
WO2015059974A1 (en) * 2013-10-24 2015-04-30 ソニー株式会社 Electronic apparatus
CN106249795A (en) * 2016-08-31 2016-12-21 电子科技大学 A kind of LDO circuit of output of floating
WO2020233382A1 (en) * 2019-05-17 2020-11-26 东南大学 Low-temperature-drift linear voltage stabilizer with extremely low power consumption
WO2021232672A1 (en) * 2020-05-20 2021-11-25 苏州纳芯微电子股份有限公司 Protection circuit for common-mode transient immunity of digital isolator
CN112286334A (en) * 2020-10-30 2021-01-29 广州鸿博微电子技术有限公司 Low-power power switching circuit for MCU and its realization method
CN113721695A (en) * 2021-08-20 2021-11-30 西安电子科技大学 Dual-mode low dropout regulator, circuit thereof and electronic product
CN113721690A (en) * 2021-09-24 2021-11-30 上海艾为电子技术股份有限公司 Band gap reference circuit, control method thereof and power supply circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱智勇;段吉海;邓进丽;韦雪明;赵洪飞;: "一种超低功耗高性能的亚阈值全CMOS基准电压源", 半导体技术, no. 04, 3 April 2016 (2016-04-03) *

Also Published As

Publication number Publication date
CN116300546B (en) 2025-09-23

Similar Documents

Publication Publication Date Title
CN1900875B (en) Voltage Regulator
US10481625B2 (en) Voltage regulator
CN103092243B (en) Signal generating circuit
JP5353548B2 (en) Band gap reference circuit
KR20190124771A (en) Low-Dropout Regulator
US20170083034A1 (en) Voltage regulator using a multi-power and gain-boosting technique and mobile devices including the same
JP2012003678A (en) Regulator circuit
JP2010009547A (en) Series regulator circuit, voltage regulator circuit, and semiconductor integrated circuit
US9465394B2 (en) Low-drop regulator apparatus and buffer stage circuit having higher voltage transition rate
US9342085B2 (en) Circuit for regulating startup and operation voltage of an electronic device
CN108121392A (en) Voltage regulating circuit
TWI882106B (en) Controllers, methods of operating the same, and bandgap reference voltage systems
JP2006146421A (en) Regulator circuit
JP2010224825A (en) Semiconductor integrated circuit
TW201817167A (en) Compensation device for compensating PVT variations of an analog and/or digital circuit
CN108021169A (en) A kind of LDO circuit
CN115309221A (en) Fast transient response enhancement circuit applied to LDO (low dropout regulator)
JP2015028817A (en) Semiconductor integrated circuit
CN110658880B (en) Low Dropout Voltage Regulators
CN101825909B (en) Voltage stabilizing circuit
JP4032066B2 (en) Semiconductor integrated circuit
WO2005101156A1 (en) Reference voltage generating circuit
CN106843348B (en) Voltage regulator and mobile device including the same
CN116300546A (en) Circuit structure for realizing MCU low-power consumption power management and switching method thereof
CN115756061A (en) Ultra-low power consumption band gap reference starting circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant