CN111756091A - Power switching circuit and smart door lock - Google Patents

Power switching circuit and smart door lock Download PDF

Info

Publication number
CN111756091A
CN111756091A CN202010614444.XA CN202010614444A CN111756091A CN 111756091 A CN111756091 A CN 111756091A CN 202010614444 A CN202010614444 A CN 202010614444A CN 111756091 A CN111756091 A CN 111756091A
Authority
CN
China
Prior art keywords
circuit
power supply
terminal
powered
supply circuit
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
CN202010614444.XA
Other languages
Chinese (zh)
Other versions
CN111756091B (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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202010614444.XA priority Critical patent/CN111756091B/en
Publication of CN111756091A publication Critical patent/CN111756091A/en
Application granted granted Critical
Publication of CN111756091B publication Critical patent/CN111756091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/855Circuit arrangements for charging or discharging batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0057Feeding

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Dc-Dc Converters (AREA)

Abstract

The embodiment of the application provides a power supply switching circuit and intelligent lock relates to the electronic equipment field, and this power supply switching circuit includes: the first wiring end of the DC-DC power supply circuit is connected with the to-be-supplied equipment, the inverting circuit is connected with the second wiring end of the LDO power supply circuit, the second wiring end of the inverting circuit is connected with the control circuit, and the second wiring end of the DC-DC power supply circuit is connected with the control circuit. The application utilizes the control circuit to realize the switching of the LDO power supply circuit and the DC-DC power supply circuit, and the service efficiency of the power supply can be improved to a certain extent.

Description

电源切换电路及智能门锁Power switching circuit and smart door lock

技术领域technical field

本申请涉及电子设备技术领域,具体涉及一种电源切换电路及智能门锁。The present application relates to the technical field of electronic equipment, and in particular to a power switching circuit and an intelligent door lock.

背景技术Background technique

随着科技的快速发展,越来越多的电子设备进入人们的生活。目前大多数电子设备,特别是低功耗的电子设备,通常可以进行多路电源供电,从而方便用户对电子设备的使用。然而,当使用多路电源对电子设备进行供电时,由于各路电源的供电电压不同,往往会造成电源损耗增大。With the rapid development of science and technology, more and more electronic devices have entered people's lives. At present, most electronic devices, especially electronic devices with low power consumption, can usually be powered by multiple power sources, so as to facilitate the use of electronic devices by users. However, when multiple power sources are used to supply power to electronic devices, the power loss is often increased due to the different power supply voltages of the power sources.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种电源切换电路及智能门锁,通过电源切换电路不仅可以提升电源的使用效率,而且电源切换电路设计简单、灵活更容易实现。The purpose of the present application is to provide a power switching circuit and an intelligent door lock. The power switching circuit can not only improve the use efficiency of the power supply, but also has a simple, flexible and easy to implement power switching circuit design.

第一方面,本申请实施例提供了一种电源切换电路,该电源切换电路包括:LDO供电电路,LDO供电电路的第一接线端与待供电设备连接;DC-DC供电电路,DC-DC供电电路的第一接线端与待供电设备连接;取反电路,取反电路的第一接线端与LDO供电电路的第二接线端连接;控制电路,取反电路的第二接线端与控制电路连接,DC-DC供电电路的第二接线端与控制电路连接,待供电设备处于休眠状态时,控制电路发送低电平信号至取反电路,并利用取反电路将低电平信号切换为高电平信号,使得LDO供电电路为待供电设备供电,待供电设备处于唤醒状态时,控制电路分别发送高电平信号至取反电路和DC-DC供电电路,并利用取反电路将高电平信号切换为低电平信号,使得LDO供电电路与待供电设备截止,并控制DC-DC供电电路为待供电设备供电。In a first aspect, an embodiment of the present application provides a power supply switching circuit, the power supply switching circuit includes: an LDO power supply circuit, a first terminal of the LDO power supply circuit is connected to a device to be powered; a DC-DC power supply circuit, a DC-DC power supply circuit The first terminal of the circuit is connected with the equipment to be powered; the inversion circuit, the first terminal of the inversion circuit is connected with the second terminal of the LDO power supply circuit; the control circuit, the second terminal of the inversion circuit is connected with the control circuit , the second terminal of the DC-DC power supply circuit is connected to the control circuit. When the power supply device is in a dormant state, the control circuit sends a low-level signal to the inversion circuit, and uses the inversion circuit to switch the low-level signal to a high-level signal. level signal, so that the LDO power supply circuit supplies power to the device to be powered. When the device to be powered is in the wake-up state, the control circuit sends a high-level signal to the inversion circuit and the DC-DC power supply circuit respectively, and uses the inversion circuit to convert the high-level signal. Switching to a low level signal makes the LDO power supply circuit and the device to be powered off, and controls the DC-DC power supply circuit to supply power to the device to be powered.

进一步地,LDO供电电路包括第一控制单元,第一控制单元用于在LDO供电电路与待供电设备导通时为待供电设备供电,DC-DC供电电路包括第二控制单元,第二控制单元用于在DC-DC供电电路与待供电设备导通时为待供电设备供电;取反电路的第一接线端与第一控制单元的使能端连接,第二控制单元的使能端与控制电路连接。Further, the LDO power supply circuit includes a first control unit, the first control unit is used to supply power to the device to be powered when the LDO power supply circuit is connected to the device to be powered, the DC-DC power supply circuit includes a second control unit, the second control unit It is used to supply power to the device to be powered when the DC-DC power supply circuit is connected to the device to be powered; the first terminal of the inversion circuit is connected to the enabling end of the first control unit, and the enabling end of the second control unit is connected to the control unit. circuit connection.

进一步地,取反电路包括三极管,三极管的集电极与第一控制单元的使能端连接,三极管的基极与控制电路连接,三极管的发射极接地。Further, the inversion circuit includes a triode, the collector of the triode is connected to the enabling terminal of the first control unit, the base of the triode is connected to the control circuit, and the emitter of the triode is grounded.

进一步地,LDO供电电路还包括第一电阻,第一电阻与第一电源连接,第一电阻的第二接线端分别与第一控制单元的使能端和三极管的集电极连接。Further, the LDO power supply circuit further includes a first resistor, the first resistor is connected to the first power supply, and the second terminals of the first resistor are respectively connected to the enable terminal of the first control unit and the collector of the triode.

进一步地,取反电路还包括第二电阻,第二电阻的第一接线端分别与第一控制单元的使能端和第一电阻的第二接线端连接,第二电阻的第二接线端与三极管的集电极连接。Further, the inversion circuit also includes a second resistor, the first terminal of the second resistor is respectively connected to the enable terminal of the first control unit and the second terminal of the first resistor, and the second terminal of the second resistor is connected to the The collector connection of the triode.

进一步地,取反电路还包括二极管,二极管的正极分别与三极管的基极和控制电路连接,二极管的负极与第二电源连接。Further, the inversion circuit further includes a diode, the anode of the diode is respectively connected to the base of the triode and the control circuit, and the cathode of the diode is connected to the second power supply.

进一步地,DC-DC供电电路与防倒灌电路连接,防倒灌电路用于防止第一电源与第三电源之间出现倒灌电流。Further, the DC-DC power supply circuit is connected to the anti-backflow circuit, and the anti-backflow circuit is used to prevent backflow current between the first power supply and the third power supply.

进一步地,防倒灌电路包括:第一MOS管和第二MOS管;第一MOS管的漏极与LDO供电电路或者DC-DC供电电路连接,第一MOS管的源极与第二MOS管的源极连接,第一MOS管的栅极接地;第二MOS管的源极第三电源连接,第二MOS管的栅极接地。Further, the anti-backflow circuit includes: a first MOS tube and a second MOS tube; the drain of the first MOS tube is connected to the LDO power supply circuit or the DC-DC power supply circuit, and the source of the first MOS tube is connected to the second MOS tube. The source is connected, the gate of the first MOS tube is grounded; the source of the second MOS tube is connected to the third power source, and the gate of the second MOS tube is grounded.

进一步地,DC-DC供电电路还包括电感和第一电容,电感的第一接线端与DC-DC供电电路的第二控制单元的电感电流输入端连接,电感的第二接线端与第一MOS管的漏极连接。Further, the DC-DC power supply circuit also includes an inductor and a first capacitor, the first terminal of the inductor is connected to the inductor current input terminal of the second control unit of the DC-DC power supply circuit, and the second terminal of the inductor is connected to the first MOS. Drain connection of the tube.

第二方面,本申请实施例提供了一种智能门锁,该智能门锁系统包括智能门锁和第一方面的电源切换电路,智能门锁与电源切换电路电性连接。In a second aspect, an embodiment of the present application provides a smart door lock. The smart door lock system includes a smart door lock and the power switching circuit of the first aspect, and the smart door lock is electrically connected to the power switching circuit.

本申请提供的电源切换电路及智能门锁,通过设置控制电路和取反电路来实现对LDO供电电路和DC-DC供电电路的切换。其中,LDO供电电路的第一接线端与待供电设备连接,DC-DC供电电路的第一接线端与待供电设备连接,取反电路的第一接线端与LDO供电电路的第二接线端连接,取反电路的第二接线端与控制电路连接,DC-DC供电电路的第二接线端与控制电路连接,待供电设备处于休眠状态时,控制电路发送低电平信号至取反电路,并利用取反电路将低电平信号切换为高电平信号,使得LDO供电电路为待供电设备供电,待供电设备处于唤醒状态时,控制电路分别发送高电平信号至取反电路和DC-DC供电电路,并利用取反电路将高电平信号切换为低电平信号,使得LDO供电电路与待供电设备截止,并控制DC-DC供电电路为待供电设备供电。本申请通过引入控制电路能够更加快速有效实现对LDO供电电路和DC-DC供电电路切换,在提升电源使用效率的同时可以降低电源浪费。The power supply switching circuit and the smart door lock provided by the present application realize the switching of the LDO power supply circuit and the DC-DC power supply circuit by setting a control circuit and an inversion circuit. The first terminal of the LDO power supply circuit is connected to the equipment to be powered, the first terminal of the DC-DC power supply circuit is connected to the equipment to be powered, and the first terminal of the inversion circuit is connected to the second terminal of the LDO power supply circuit. , the second terminal of the inversion circuit is connected to the control circuit, and the second terminal of the DC-DC power supply circuit is connected to the control circuit. When the power supply device is in a dormant state, the control circuit sends a low-level signal to the inversion circuit, and The inversion circuit is used to switch the low-level signal to a high-level signal, so that the LDO power supply circuit supplies power to the device to be powered. When the device to be powered is in the wake-up state, the control circuit sends a high-level signal to the inversion circuit and DC-DC respectively. The power supply circuit is used to switch the high-level signal to a low-level signal by an inversion circuit, so that the LDO power supply circuit is cut off from the equipment to be powered, and the DC-DC power supply circuit is controlled to supply power to the equipment to be powered. In the present application, by introducing a control circuit, the switching of the LDO power supply circuit and the DC-DC power supply circuit can be realized more quickly and effectively, and the power waste can be reduced while improving the use efficiency of the power supply.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本申请一种实施例提供的电源切换电路的原理框图;1 is a schematic block diagram of a power supply switching circuit provided by an embodiment of the present application;

图2是本申请一种实施例提供的电源切换电路中LDO供电电路的原理图;2 is a schematic diagram of an LDO power supply circuit in a power supply switching circuit provided by an embodiment of the present application;

图3是本申请一种实施例提供的电源切换电路中DC-DC供电电路的原理图;3 is a schematic diagram of a DC-DC power supply circuit in a power supply switching circuit provided by an embodiment of the present application;

图4是本申请另一种实施例提供的电源切换电路的原理框图;4 is a schematic block diagram of a power supply switching circuit provided by another embodiment of the present application;

图5是本申请另一种实施例提供的电源切换电路中DC-DC供电电路的原理图;5 is a schematic diagram of a DC-DC power supply circuit in a power supply switching circuit provided by another embodiment of the present application;

图6是本申请一种实施例提供智能门锁系统的结构示意图。FIG. 6 is a schematic structural diagram of a smart door lock system provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.

因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

在本申请的描述中,需要说明的是,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In the description of the present application, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

在本申请的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "arrangement", "installation", "connection" and "connection" should be interpreted in a broad sense, for example, it may be a fixed connection, It can also be a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or the internal communication between the two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific situations.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

目前为提高低功耗设备的用电效率,一般采用低功耗LDO(Low DropoutRegulator,低压差线性稳压器)供电,在休眠时,外围器件处于断开状态;在唤醒时,增加DC-DC为外围器件供电。休眠状态时,LDO的消耗的电流为uA级别,虽然效率低,但由于电流较小,所以消耗的能量较低,但在唤醒状态时,LDO消耗的电流为mA级别,此时能量消耗比较大,特别是在输入与输出电压差比较大的情况下,该损耗还会进一步增大。At present, in order to improve the power efficiency of low-power devices, a low-power LDO (Low Dropout Regulator) is generally used for power supply. When sleeping, peripheral devices are in a disconnected state; when waking up, DC-DC is added. Powers peripheral devices. In the sleep state, the current consumed by the LDO is at the level of uA. Although the efficiency is low, the energy consumption is low due to the small current. However, in the wake-up state, the current consumed by the LDO is at the level of mA, and the energy consumption is relatively large at this time. , especially when the input and output voltage difference is relatively large, the loss will further increase.

因此,针对于上述问题,发明人提出了本申请实施例中的电源切换电路及智能门锁,下面将结合附图具体描述本申请的各实施例。Therefore, in view of the above problems, the inventor proposes the power switching circuit and the smart door lock in the embodiments of the present application, and each embodiment of the present application will be described in detail below with reference to the accompanying drawings.

参阅图1,图1示出了本申请实施例提供一种电源切换电路的原理框图,该电源切换电路可以包括LDO供电电路110、DC-DC供电电路120、控制电路140和待供电设备150。其中,LDO供电电路110的第一接线端与待供电设备150连接,LDO供电电路110的第二接线端与控制电路140连接,DC-DC供电电路120的第一接线端与待供电设备150连接,DC-DC供电电路120的第二接线端与控制电路140连接。Referring to FIG. 1 , FIG. 1 shows a schematic block diagram of a power supply switching circuit provided by an embodiment of the present application. The power supply switching circuit may include an LDO power supply circuit 110 , a DC-DC power supply circuit 120 , a control circuit 140 and a device to be powered 150 . The first terminal of the LDO power supply circuit 110 is connected to the device to be powered 150 , the second terminal of the LDO power supply circuit 110 is connected to the control circuit 140 , and the first terminal of the DC-DC power supply circuit 120 is connected to the device to be powered 150 , the second terminal of the DC-DC power supply circuit 120 is connected to the control circuit 140 .

作为一种方式,取反电路130的第一接线端与LDO供电电路110的第二接线端连接,而取反电路130的第二接线端与控制电路140连接。本申请实施例中,控制电路140分别与取反电路130和DC-DC供电电路120连接,待供电设备150处于休眠状态时,控制电路140发送低电平信号至取反电路130,并利用所述取反电路130将所述低电平信号切换为高电平信号,使得LDO供电电路110为待供电设备150供电。In one way, the first terminal of the inversion circuit 130 is connected to the second terminal of the LDO power supply circuit 110 , and the second terminal of the inversion circuit 130 is connected to the control circuit 140 . In the embodiment of the present application, the control circuit 140 is connected to the inversion circuit 130 and the DC-DC power supply circuit 120 respectively. When the power supply device 150 is in a dormant state, the control circuit 140 sends a low-level signal to the inversion circuit 130, and uses all the The inversion circuit 130 switches the low-level signal to a high-level signal, so that the LDO power supply circuit 110 supplies power to the device 150 to be powered.

作为一种方式,待供电设备150处于唤醒状态时,控制电路140分别发送高电平信号至取反电路130和DC-DC供电电路120,并利用所述取反电路130将所述高电平信号切换为低电平信号,使得所述LDO供电电路110与所述待供电设备150截止,同时控制电路140还可以控制所述DC-DC供电电路120为所述待供电设备150供电,其中,LDO的型号可以是SGM2202,DC-DC可以是SY8120。可选地,待供电设备150处于休眠状态可以用高电平“0”表示,而待供电设备150处于整机唤醒状态可以用低电平“1”表示,控制电路140获取到的状态不同,则为待供电设备150提供电源的电路也不相同。In one way, when the device to be powered 150 is in the wake-up state, the control circuit 140 sends a high-level signal to the inversion circuit 130 and the DC-DC power supply circuit 120 respectively, and uses the inversion circuit 130 to convert the high-level signal. The signal is switched to a low level signal, so that the LDO power supply circuit 110 and the device to be powered 150 are turned off, and the control circuit 140 can also control the DC-DC power supply circuit 120 to supply power to the device to be powered 150, wherein, The model of the LDO can be SGM2202, and the DC-DC can be SY8120. Optionally, the device 150 to be powered can be represented by a high level "0" in a dormant state, and the device to be powered 150 in a wake-up state can be represented by a low level "1", the states obtained by the control circuit 140 are different, Then the circuit for supplying power to the device 150 to be powered is also different.

作为一种方式,待供电设备150可以包括至少一个子设备,每个所述子设备上配置有电压端,而控制电路140则可以检测每个子设备上电压端的电压是否小于电压阈值,如果子设备上电压端的电压小于电压阈值,则表明待供电设备150的子设备处于休眠状态,此时控制电路140即可判定出待供电设备150处于休眠状态。而当待供电设备150的子设备电压端的电压大于电压阈值,则表明待供电设备150处于整机唤醒状态。As a method, the device 150 to be powered may include at least one sub-device, each of which is configured with a voltage terminal, and the control circuit 140 may detect whether the voltage of the voltage terminal on each sub-device is less than a voltage threshold, if the sub-device is If the voltage of the upper voltage terminal is less than the voltage threshold, it indicates that the sub-devices of the device to be powered 150 are in a dormant state, and the control circuit 140 can then determine that the device to be powered 150 is in a dormant state. And when the voltage of the sub-device voltage terminal of the device to be powered 150 is greater than the voltage threshold, it means that the device to be powered 150 is in a state of wake-up.

作为一种方式,待供电设备150的子设备上可以配置有使能端,当使能端的电压为低电压时,表明待供电设备150的子设备处于休眠状态,即待供电设备150处于休眠状态,而当使能端的电压为高电压时,则表明待供电设备150的子设备处于唤醒状态,即待供电设备150处于整机唤醒状态。As a method, the sub-device of the device to be powered 150 may be configured with an enable terminal. When the voltage of the enable terminal is low, it indicates that the sub-device of the device to be powered 150 is in a dormant state, that is, the device to be powered 150 is in a dormant state , and when the voltage of the enable terminal is a high voltage, it indicates that the sub-devices of the device to be powered 150 are in the wake-up state, that is, the device to be powered 150 is in the wake-up state of the whole machine.

作为一种方式,控制电路140也可以根据待供电设备150发送的设备参数确定其状态,即当待供电设备150发送的设备参数是第一参数时,待供电设备150处于休眠状态,当待供电设备150发送的设备参数是第二参数时,待供电设备150处于整机唤醒状态。其中,第一参数和第二参数可以是待供电设备150的子设备在不同状态下的参数。例如,电脑的屏幕在休眠状态时,其参数为第一参数,而电脑的屏幕在唤醒状态时,其参数为第二参数,因电脑在休眠和唤醒状态时电压不同,故第一参数和第二参数不同。因此,控制电路140可以根据待供电设备150发送的第一参数和第二参数确定其处于什么状态,其中,第一参数和第二参数可以通过配置电压或者电阻等电子设备进行获取。As a method, the control circuit 140 can also determine its state according to the device parameters sent by the device to be powered 150, that is, when the device parameter sent by the device to be powered 150 is the first parameter, the device to be powered 150 is in a dormant state, and when the device to be powered 150 is sent When the device parameter sent by the device 150 is the second parameter, the device 150 to be powered is in a state of wake-up. The first parameter and the second parameter may be parameters of the sub-devices of the device to be powered 150 in different states. For example, when the computer's screen is in the sleep state, its parameter is the first parameter, and when the computer's screen is in the wake-up state, its parameter is the second parameter. Because the voltage of the computer is different when the computer is in the sleep state and the wake-up state, the first parameter and the first parameter are in the wake-up state. The two parameters are different. Therefore, the control circuit 140 can determine the state of the device to be powered 150 according to the first parameter and the second parameter sent by the device to be powered, wherein the first parameter and the second parameter can be obtained by configuring electronic devices such as voltage or resistance.

在一些实施例中,如图2所示,LDO供电电路110可以包括第一控制单元U1,所述第一控制单元U1的输入端与第一电源V1连接,其中,第一电源V1可以是VCC_BAT,该第一控制单元主要用于在LDO供电电路110与待供电设备150导通时为待供电设备150供电。第一控制单元U1的使能端可以与取反电路130连接,第一控制单元U1的零电势端接地,本申请中LDO供电电路110可以通过测试点TP1与待供电设备150连接。如图3所示,DC-DC供电电路120可以包括第二控制单元U2,所述第二控制单元U2的输入端与第一电源V1连接,第二控制单元U2的使能端可以与控制电路140连接,第二控制单元U2的零电势端接地,该第二控制单元U2用于在所述DC-DC供电电路120与待供电设备150导通时为所述待供电设备150供电,本申请中DC-DC供电电路120可以通过测试点TP2与待供电设备150连接。In some embodiments, as shown in FIG. 2 , the LDO power supply circuit 110 may include a first control unit U1, the input terminal of the first control unit U1 is connected to a first power supply V1, wherein the first power supply V1 may be VCC_BAT , the first control unit is mainly used for supplying power to the device 150 to be powered when the LDO power supply circuit 110 is connected to the device 150 to be powered. The enabling terminal of the first control unit U1 can be connected to the inversion circuit 130, and the zero-potential terminal of the first control unit U1 is grounded. In this application, the LDO power supply circuit 110 can be connected to the device to be powered 150 through the test point TP1. As shown in FIG. 3 , the DC-DC power supply circuit 120 may include a second control unit U2, the input end of the second control unit U2 is connected to the first power supply V1, and the enabling end of the second control unit U2 may be connected to the control circuit 140 is connected, and the zero-potential end of the second control unit U2 is grounded. The second control unit U2 is used to supply power to the device to be powered 150 when the DC-DC power supply circuit 120 is connected to the device to be powered 150. This application The middle DC-DC power supply circuit 120 can be connected to the device to be powered 150 through the test point TP2.

在一些实施方式中,第一控制单元U1的使能端的电平状态和第二控制单元U2的使能端的电平状态可以相同,也可以不相同,即第一控制单元U1的使能端可以是高电平有效的使能端,第一控制单元U1的使能端也可以是低电平有效的使能端。同理,第二控制单元U2的使能端可以是高电平有效的使能端,第二控制单元U1的使能端也可以是低电平有效的使能端。In some embodiments, the level state of the enable terminal of the first control unit U1 and the level state of the enable terminal of the second control unit U2 may be the same or different, that is, the enable terminal of the first control unit U1 may be It is an enable terminal with active high level, and the enable terminal of the first control unit U1 may also be an enable terminal with active low level. Similarly, the enable terminal of the second control unit U2 may be an enable terminal that is active at a high level, and the enable terminal of the second control unit U1 may also be an enable terminal that is active at a low level.

本申请实施例中,第一控制单元U1和第二控制单元U2的使能端的电平状态相同时,因此,电源切换电路100可以包括取反电路130,此时,第一控制单元U1的使能端是高电平有效的使能端,且第二控制单元U2的使能端也是高电平有效的使能端;或者,第一控制单元U1的使能端是低电平有效的使能端,且第二控制单元U2的使能端也是低电平有效的使能端,即第一控制单元U1的使能端与取反电路130的第一接线端连接。In the embodiment of the present application, when the level states of the enable terminals of the first control unit U1 and the second control unit U2 are the same, the power switching circuit 100 may include an inversion circuit 130. At this time, the enable terminal of the first control unit U1 The enable terminal is a high-level active enable terminal, and the enable terminal of the second control unit U2 is also a high-level active enable terminal; or, the enable terminal of the first control unit U1 is a low-level active enable terminal. The enable terminal of the second control unit U2 is also an enable terminal with active low level, that is, the enable terminal of the first control unit U1 is connected to the first terminal of the inversion circuit 130 .

作为一种方式,第一控制单元U1可以为低压差线性稳压器LDO,而第二控制单元U2可以为DC-DC,第一控制单元U1使能端的电平状态和第二控制单元U2使能端的电平状态相同时,第一控制单元U1可以与取反电路130连接。其中,取反电路130可以包括三级管Q1,所述三极管Q1的集电极与第一控制单元U1的使能端连接,所述三极管Q1的基极可以与控制电路140连接,而三极管Q1的发射极接地。As a way, the first control unit U1 may be a low dropout linear regulator LDO, and the second control unit U2 may be DC-DC, the level state of the enable terminal of the first control unit U1 and the second control unit U2 enable When the level states of the energy terminals are the same, the first control unit U1 may be connected to the inversion circuit 130 . The inversion circuit 130 may include a triode Q1, the collector of the triode Q1 is connected to the enable terminal of the first control unit U1, the base of the triode Q1 may be connected to the control circuit 140, and the The emitter is grounded.

作为一种方式,LDO供电电路110还可以包括第一电阻R1,所述第一电阻R1与第一电源V1连接,所述第一电阻R1的第二接线端分别与所述第一控制单元U1的使能端和三极管Q1的集电极连接。另外,取反电路130还包括第二电阻R2,所述第二电阻R2的第一接线端分别与所述第一控制单元U1的使能端和所述第一电阻R1的第二接线端连接,所述第二电阻R2的第二接线端与所述三极管Q1的集电极连接。As an example, the LDO power supply circuit 110 may further include a first resistor R1, the first resistor R1 is connected to the first power supply V1, and the second terminals of the first resistor R1 are respectively connected to the first control unit U1 The enable terminal is connected to the collector of the transistor Q1. In addition, the inversion circuit 130 further includes a second resistor R2, and the first terminal of the second resistor R2 is connected to the enable terminal of the first control unit U1 and the second terminal of the first resistor R1 respectively. , the second terminal of the second resistor R2 is connected to the collector of the transistor Q1.

作为一种方式,取反电路130还包括二极管D1,所述二极管D1的正极分别与所述三极管Q1的基极和控制电路140连接,所述二极管D1的负极与第二电源V2连接,其中,第二电源V2可以是VCC_3V3_DISCONTINUE。In one way, the inversion circuit 130 further includes a diode D1, the anode of the diode D1 is connected to the base of the transistor Q1 and the control circuit 140, respectively, and the cathode of the diode D1 is connected to the second power supply V2, wherein, The second power supply V2 may be VCC_3V3_DISCONTINUE.

需要说明的是,第一控制单元U1使能端的电平状态和第二控制单元U2使能端的电平状态不相同时,第一控制单元U1的使能端与控制电路140连接,第二控制单元U2的使能端也与控制电路140连接。具体的,当第一控制单元U1的使能端是高电平使能端,而第二控制单元U2的使能端是低电平使能端时,第一控制单元U1的高电平使能端与控制电路140连接,第二控制单元U2的低电平使能端与控制电路140连接;当第一控制单元U1的使能端是低电平使能端,而第二控制单元U2的使能端是高电平使能端时,第一控制单元U1的低电平使能端与控制电路140连接,第二控制单元U2的高电平使能端与控制电路140连接。It should be noted that, when the level state of the enable terminal of the first control unit U1 is different from the level state of the enable terminal of the second control unit U2, the enable terminal of the first control unit U1 is connected to the control circuit 140, and the second control unit U1 is connected to the control circuit 140. The enable terminal of the unit U2 is also connected to the control circuit 140 . Specifically, when the enable terminal of the first control unit U1 is a high-level enable terminal, and the enable terminal of the second control unit U2 is a low-level enable terminal, the high-level enable terminal of the first control unit U1 The energy terminal is connected to the control circuit 140, and the low-level enable terminal of the second control unit U2 is connected to the control circuit 140; when the enable terminal of the first control unit U1 is a low-level enable terminal, the second control unit U2 When the enable terminal of the first control unit U1 is a high-level enable terminal, the low-level enable terminal of the first control unit U1 is connected to the control circuit 140 , and the high-level enable terminal of the second control unit U2 is connected to the control circuit 140 .

作为一种方式,如图2所示LDO供电电路110还可以包括第二电容C2和第三电容C3,其中,所述第二电容C2和第三电容C3的第一接线端分别与所述第一电源V1连接,所述第二电容C2和第三电容C3的第二接线端分别与第一控制单元的输出端连接。另外,LDO供电电路110还可以包括第四电容C4、第五电容C5和第六电容C6,其中,第四电容C4的第一接线端与所述第一控制单元U1的旁路端连接,所述第四电容C4的第二接线端与第一控制单元的输出端连接,第五电容C5的第一接线端和第六电容C6的第一接线端分别与所述第一控制单元U1的输出端连接,所述第六电容C6的第一接线端与第四电源V4连接。其中,第四电源V4可以是VCC_3V3_SGM2202。As an example, as shown in FIG. 2, the LDO power supply circuit 110 may further include a second capacitor C2 and a third capacitor C3, wherein the first terminals of the second capacitor C2 and the third capacitor C3 are respectively connected to the first terminals of the second capacitor C2 and the third capacitor C3. A power supply V1 is connected, and the second terminals of the second capacitor C2 and the third capacitor C3 are respectively connected to the output terminal of the first control unit. In addition, the LDO power supply circuit 110 may further include a fourth capacitor C4, a fifth capacitor C5 and a sixth capacitor C6, wherein the first terminal of the fourth capacitor C4 is connected to the bypass terminal of the first control unit U1, so The second terminal of the fourth capacitor C4 is connected to the output terminal of the first control unit, and the first terminal of the fifth capacitor C5 and the first terminal of the sixth capacitor C6 are respectively connected to the output of the first control unit U1. The first terminal of the sixth capacitor C6 is connected to the fourth power supply V4. Wherein, the fourth power supply V4 may be VCC_3V3_SGM2202.

作为一种方式,取反电路130还可以包括第三电阻R3、第四电阻R4和第五电阻R5,所述第三电阻R3第一接线端与所述三极管Q1的基极连接,所述第三电阻R3第二接线端与所述第五电阻R5的第一接线端连接,所述第五电阻R5的第二接线端与所述控制电路140连接,所述第五电阻R5的第一接线端还与二极管D1的第一接线端连接。第四电阻R4的第一接线端分别与三极管Q1的基极和第三电阻R3的第一接线端连接,所述第四电阻R4的第二接线端接地。另外,取反电路130还可以包括第六电容C6,所第六电容C6的第一接线端分别与三极管Q1的基极和第三电阻R3的第一接线端连接,所述第六电容C6的第二接线端接地,第六电容C6的第一接线端还与第三电阻R3的第一接线端连接。In one way, the inversion circuit 130 may further include a third resistor R3, a fourth resistor R4 and a fifth resistor R5, the first terminal of the third resistor R3 is connected to the base of the transistor Q1, and the first terminal of the third resistor R3 is connected to the base of the transistor Q1. The second terminal of the third resistor R3 is connected to the first terminal of the fifth resistor R5, the second terminal of the fifth resistor R5 is connected to the control circuit 140, and the first connection of the fifth resistor R5 The terminal is also connected to the first terminal of the diode D1. The first terminal of the fourth resistor R4 is respectively connected to the base of the transistor Q1 and the first terminal of the third resistor R3, and the second terminal of the fourth resistor R4 is grounded. In addition, the inversion circuit 130 may further include a sixth capacitor C6, the first terminal of the sixth capacitor C6 is respectively connected to the base of the transistor Q1 and the first terminal of the third resistor R3, and the sixth capacitor C6 The second terminal is grounded, and the first terminal of the sixth capacitor C6 is also connected to the first terminal of the third resistor R3.

申请实施例提供的电源切换电路,通过设置控制电路来实现对LDO供电电路和DC-DC供电电路的切换。其中,LDO供电电路的第一接线端与待供电设备连接,DC-DC供电电路的第一接线端与待供电设备连接,取反电路的第一接线端与LDO供电电路的第二接线端连接,取反电路的第二接线端与控制电路连接,DC-DC供电电路的第二接线端与控制电路连接,待供电设备处于休眠状态时,控制电路发送低电平信号至取反电路,并利用取反电路将低电平信号切换为高电平信号,使得LDO供电电路为待供电设备供电,待供电设备处于唤醒状态时,控制电路分别发送高电平信号至取反电路和DC-DC供电电路,并利用取反电路将高电平信号切换为低电平信号,使得LDO供电电路与待供电设备截止,并控制DC-DC供电电路为待供电设备供电。本申请通过引入控制电路能够更加快速有效实现对LDO供电电路和DC-DC供电电路切换,在提升电源使用效率的同时可以降低电源浪费。另外,本申请引入三极管、二极管以及电阻等器件使得电源切换更加方便有效,且在一定程度上可以提高电源切换电路的稳定性。In the power switching circuit provided by the application embodiment, the switching of the LDO power supply circuit and the DC-DC power supply circuit is realized by setting the control circuit. The first terminal of the LDO power supply circuit is connected to the equipment to be powered, the first terminal of the DC-DC power supply circuit is connected to the equipment to be powered, and the first terminal of the inversion circuit is connected to the second terminal of the LDO power supply circuit. , the second terminal of the inversion circuit is connected to the control circuit, and the second terminal of the DC-DC power supply circuit is connected to the control circuit. When the power supply device is in a dormant state, the control circuit sends a low-level signal to the inversion circuit, and The inversion circuit is used to switch the low-level signal to a high-level signal, so that the LDO power supply circuit supplies power to the device to be powered. When the device to be powered is in the wake-up state, the control circuit sends a high-level signal to the inversion circuit and DC-DC respectively. The power supply circuit is used to switch the high-level signal to a low-level signal by an inversion circuit, so that the LDO power supply circuit and the device to be powered are cut off, and the DC-DC power supply circuit is controlled to supply power to the device to be powered. In the present application, by introducing a control circuit, the switching of the LDO power supply circuit and the DC-DC power supply circuit can be realized more quickly and effectively, and the power waste can be reduced while improving the power use efficiency. In addition, the introduction of transistors, diodes, resistors and other devices in the present application makes the power switching more convenient and effective, and can improve the stability of the power switching circuit to a certain extent.

参阅图4,图4示出了本申请另一种实施例提供的电源切换电路的原理框图,从图4可以看出电源切换电路100可以包括防倒灌电路160,DC-DC供电电路120与防倒灌电路160连接,该防倒灌电路160主要用于防止第一电源V1与第三电源V3之间出现倒灌电流。Referring to FIG. 4, FIG. 4 shows a schematic block diagram of a power supply switching circuit provided by another embodiment of the present application. It can be seen from FIG. 4 that the power supply switching circuit 100 may include an anti-backflow circuit 160, a DC-DC power supply circuit 120 and a The backflow circuit 160 is connected, and the anti-backflow circuit 160 is mainly used to prevent backflow current between the first power supply V1 and the third power supply V3.

作为一种方式,DC-DC供电电路120与防倒灌电路160连接,所述防倒灌电路160可以包括第一MOS管Q2和第二MOS管Q3。其中,第一MOS管Q2的漏极与DC-DC供电电路120连接,第一MOS管Q2的源极与第二MOS管Q3的源极连接,第二MOS管Q3的源极第三电源V3连接。其中,第三电源V3可以是VCC_3V3_CONTINUE。In one way, the DC-DC power supply circuit 120 is connected to an anti-backflow circuit 160, and the anti-backflow circuit 160 may include a first MOS transistor Q2 and a second MOS transistor Q3. The drain of the first MOS transistor Q2 is connected to the DC-DC power supply circuit 120, the source of the first MOS transistor Q2 is connected to the source of the second MOS transistor Q3, and the source of the second MOS transistor Q3 is connected to the third power supply V3 connect. Wherein, the third power supply V3 may be VCC_3V3_CONTINUE.

请参阅图5,防倒灌电路160的第一MOS管Q2的漏极与DC-DC供电电路120的第二控制单元U2的电感电流输入端连接。另外,防倒灌电路160还可以包括第九电阻R9、第十电阻R10以及三极管Q4、,其中,第九电阻R9的第一接线端与第一MOS管Q2的源极连接,所述第九电阻R9的第二接线端分别与第一MOS管Q2的栅极和三极管Q4连接;所述第十电阻R10的第一接线端与第二MOS管Q3的栅极连接,所述第十电阻R10的第二接线端分别与第一MOS管Q2的栅极、第九电阻R9的第二接线端和三极管Q4连接;所述三极管Q4的发射极与第二控制单元U2的接地端连接,所述三级管的集电极分别与第一MOS管Q1的栅极、第十电阻R10的第二接线端以及第九电阻R9的第二接线端连接。Referring to FIG. 5 , the drain of the first MOS transistor Q2 of the anti-backflow circuit 160 is connected to the inductor current input end of the second control unit U2 of the DC-DC power supply circuit 120 . In addition, the anti-backflow circuit 160 may further include a ninth resistor R9, a tenth resistor R10 and a triode Q4, wherein the first terminal of the ninth resistor R9 is connected to the source of the first MOS transistor Q2, and the ninth resistor The second terminal of R9 is connected to the gate of the first MOS transistor Q2 and the triode Q4 respectively; the first terminal of the tenth resistor R10 is connected to the gate of the second MOS transistor Q3, and the tenth resistor R10 The second terminal is respectively connected to the gate of the first MOS transistor Q2, the second terminal of the ninth resistor R9 and the transistor Q4; the emitter of the transistor Q4 is connected to the ground terminal of the second control unit U2, the three The collector of the stage transistor is respectively connected to the gate of the first MOS transistor Q1, the second terminal of the tenth resistor R10 and the second terminal of the ninth resistor R9.

作为一种方式,DC-DC供电电路120还包括电感L1和第一电容C1,电感L1的第一接线端与第二控制单元U2的电感电流输入端连接,电感L1的第二接线端与第一MOS管Q2的漏极连接。DC-DC供电电路120还包括第六电阻R6、第七电阻R7和第八电阻R8,所述第六电阻R6的第一接线端分别与所述电感L1的第二接线端和第一MOS管Q2的漏极连接,所述第六电阻R6的第二接线端分别与所述第七电阻R7的第一接线端和所述第二控制单元U2的反馈端连接,所述第七电阻R7的第一接线端与所述第二控制单元U2的反馈端连接,所述第七电阻R7的第二接线端与所述三极管Q4的发射极的第二接线端连接,所述第八电阻R8的第一接线端分别与所述第二控制单元U2的使能端和控制电路140连接,所述第八电阻R8的第二接线端分别与第七电阻的第二接线端和三极管Q4的发射极连接。In one way, the DC-DC power supply circuit 120 further includes an inductor L1 and a first capacitor C1, the first terminal of the inductor L1 is connected to the inductor current input terminal of the second control unit U2, and the second terminal of the inductor L1 is connected to the first terminal of the inductor L1. The drain of a MOS transistor Q2 is connected. The DC-DC power supply circuit 120 further includes a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8, the first terminal of the sixth resistor R6 is respectively connected with the second terminal of the inductor L1 and the first MOS transistor The drain of Q2 is connected, the second terminal of the sixth resistor R6 is connected to the first terminal of the seventh resistor R7 and the feedback terminal of the second control unit U2, respectively, the seventh resistor R7 The first terminal is connected to the feedback terminal of the second control unit U2, the second terminal of the seventh resistor R7 is connected to the second terminal of the emitter of the transistor Q4, and the eighth resistor R8 is connected to the second terminal of the emitter of the transistor Q4. The first terminal is respectively connected to the enable terminal of the second control unit U2 and the control circuit 140, the second terminal of the eighth resistor R8 is respectively connected to the second terminal of the seventh resistor and the emitter of the transistor Q4 connect.

作为一种方式,DC-DC供电电路120还包括第七电容C7和第八电容C8,其中,所述第七电容C7和第八电容C8的第一接线端分别与所述第一电源V1连接,所述第七电容C7的第二接线端和第八电容C8的第二接线端分别与第七电阻R7的第二接线端、第八电阻R8的第二接线端以及三极管Q4的发射极连接。In one way, the DC-DC power supply circuit 120 further includes a seventh capacitor C7 and an eighth capacitor C8, wherein the first terminals of the seventh capacitor C7 and the eighth capacitor C8 are respectively connected to the first power supply V1 , the second terminal of the seventh capacitor C7 and the second terminal of the eighth capacitor C8 are respectively connected to the second terminal of the seventh resistor R7, the second terminal of the eighth resistor R8 and the emitter of the transistor Q4 .

作为一种方式,DC-DC供电电路120还包括第九电容C9、第十一电阻R11和第十二电阻R12,其中,所述第九电容C9和第十一电阻R11的第一接线端分别与所电感L1的第二接线端和所述第一MOS管Q2的漏极连接,所述第十一电阻R11的第一接线端与第二电源V2连接,所述第十一电阻R11的第二接线端分别与第十二电阻R12的第一接线端和三极管Q4的基极连接。所述第九电容C9和第十二电阻的第二接线端分别与第七电容C7的第二接线端、第八电容C8的第二接线端、第七电阻R7的第二接线端、第八电阻R8的第二接线端以及三极管Q4的发射极连接,所述第十二电阻R12的第二接线端接地。In one way, the DC-DC power supply circuit 120 further includes a ninth capacitor C9, an eleventh resistor R11 and a twelfth resistor R12, wherein the first terminals of the ninth capacitor C9 and the eleventh resistor R11 are respectively It is connected to the second terminal of the inductor L1 and the drain of the first MOS transistor Q2, the first terminal of the eleventh resistor R11 is connected to the second power supply V2, and the first terminal of the eleventh resistor R11 is connected to the second power supply V2. The two terminals are respectively connected to the first terminal of the twelfth resistor R12 and the base of the transistor Q4. The second terminals of the ninth capacitor C9 and the twelfth resistor are respectively connected with the second terminal of the seventh capacitor C7, the second terminal of the eighth capacitor C8, the second terminal of the seventh resistor R7, and the eighth capacitor C7. The second terminal of the resistor R8 and the emitter of the transistor Q4 are connected, and the second terminal of the twelfth resistor R12 is grounded.

作为一种示例,本申请实施例中控制电路140可以包括信号输出端,通过该信号输出端控制电路可以分别输出控制信号至LDO供电电路110和DC-DC供电电路120,其中,控制电路140的信号输出端可以是EC_3V3_DISCONTINUE。换句话说,控制电路140可以通过信号输出端分别与LDO供电电路110和DC-DC供电电路120连接。As an example, in this embodiment of the present application, the control circuit 140 may include a signal output terminal, through which the control circuit may output control signals to the LDO power supply circuit 110 and the DC-DC power supply circuit 120 respectively, wherein the control circuit 140 The signal output can be EC_3V3_DISCONTINUE. In other words, the control circuit 140 can be respectively connected with the LDO power supply circuit 110 and the DC-DC power supply circuit 120 through the signal output terminals.

作为一种示例,当第二控制单元U2输出3.3V电压建立稳定时,VCC_3V3_DISCONTINUE状态为1,由于EN_3V3_DISCONTINUE在唤醒状态下也为1,故可驱动三极管Q1导通,将第一控制单元U1使能端置低,避免第一控制单元U1有电流损耗;当第二控制单元U2输出的3.3V电压未建立稳定时,VCC_3V3_DISCONTINUE状态为0,虽然EN_3V3_DISCONTINUE在唤醒状态下也为1,但VCC_3V3_DISCONTINUE会嵌位三极管Q1,此时三极管Q1截止,第一控制单元U1正常供电避免系统掉电。As an example, when the 3.3V output voltage of the second control unit U2 is established and stabilized, the state of VCC_3V3_DISCONTINUE is 1. Since EN_3V3_DISCONTINUE is also 1 in the wake-up state, the transistor Q1 can be driven to conduct, and the first control unit U1 can be enabled The terminal is set low to avoid current loss of the first control unit U1; when the 3.3V voltage output by the second control unit U2 is not stable, the VCC_3V3_DISCONTINUE state is 0, although EN_3V3_DISCONTINUE is also 1 in the wake-up state, but VCC_3V3_DISCONTINUE will be clamped The transistor Q1, at this time, the transistor Q1 is turned off, and the first control unit U1 supplies power normally to prevent the system from being powered down.

申请实施例提供的电源切换电路,通过设置控制电路来实现对LDO供电电路和DC-DC供电电路的切换。其中,LDO供电电路的第一接线端与待供电设备连接,DC-DC供电电路的第一接线端与待供电设备连接,LDO供电电路的第二接线端与控制电路连接,DC-DC供电电路的第二接线端与控制电路连接,控制电路用于在待供电设备处于休眠状态的情况下,控制LDO供电电路为待供电设备供电,控制电路用于在待供电设备处于整机唤醒状态的情况下,控制DC-DC供电电路为待供电设备供电。本申请通过引入控制电路能够更加快速有效实现对LDO供电电路和DC-DC供电电路切换,在提升电源使用效率的同时可以降低电源浪费。另外,本申请引入防倒灌电路,其不仅能够避免由于多路电源电势不同产生电流倒灌,还能节省能耗,保证设备高效率充电,同时本申请可以根据第二控制单元的稳定性判断是否将第一控制单元完全截止的动作完全是由硬件电路触发使能,相比用软件控制具有更高的稳定性。In the power switching circuit provided by the application embodiment, the switching of the LDO power supply circuit and the DC-DC power supply circuit is realized by setting the control circuit. The first terminal of the LDO power supply circuit is connected to the equipment to be powered, the first terminal of the DC-DC power supply circuit is connected to the equipment to be powered, the second terminal of the LDO power supply circuit is connected to the control circuit, and the DC-DC power supply circuit The second terminal of the LDO is connected to the control circuit. The control circuit is used to control the LDO power supply circuit to supply power to the equipment to be powered when the equipment to be powered is in a dormant state. Next, control the DC-DC power supply circuit to supply power to the device to be powered. In the present application, by introducing a control circuit, the switching of the LDO power supply circuit and the DC-DC power supply circuit can be realized more quickly and effectively, and the power waste can be reduced while improving the power use efficiency. In addition, the present application introduces an anti-backflow circuit, which can not only avoid current backflow due to different potentials of multiple power supplies, but also save energy consumption and ensure high-efficiency charging of the equipment. The action of the first control unit being completely turned off is completely triggered and enabled by the hardware circuit, which has higher stability than software control.

参阅图6,图6示出了本申请实施例提供一种供智能门锁系统的结构示意图,该智能门锁系统包括智能门锁和上述电源切换电路,所述智能门锁与所述电源切换电路电性连接。Referring to FIG. 6, FIG. 6 shows a schematic structural diagram of a smart door lock system provided by an embodiment of the present application. The smart door lock system includes a smart door lock and the above-mentioned power supply switching circuit, and the smart door lock and the power supply switch The circuit is electrically connected.

申请实施例提供的电源切换电路,通过设置控制电路来实现对LDO供电电路和DC-DC供电电路的切换。其中,LDO供电电路的第一接线端与待供电设备连接,DC-DC供电电路的第一接线端与待供电设备连接,取反电路的第一接线端与LDO供电电路的第二接线端连接,取反电路的第二接线端与控制电路连接,DC-DC供电电路的第二接线端与控制电路连接,待供电设备处于休眠状态时,控制电路发送低电平信号至取反电路,并利用取反电路将低电平信号切换为高电平信号,使得LDO供电电路为待供电设备供电,待供电设备处于唤醒状态时,控制电路分别发送高电平信号至取反电路和DC-DC供电电路,并利用取反电路将高电平信号切换为低电平信号,使得LDO供电电路与待供电设备截止,并控制DC-DC供电电路为待供电设备供电。本申请通过引入控制电路能够更加快速有效实现对LDO供电电路和DC-DC供电电路切换,在提升电源使用效率的同时可以降低电源浪费,同时这些设备之间的电路连接简单且易于实现,即本申请实施例提出的电源切换电路设计简单、灵活且成本低。In the power switching circuit provided by the application embodiment, the switching of the LDO power supply circuit and the DC-DC power supply circuit is realized by setting the control circuit. The first terminal of the LDO power supply circuit is connected to the equipment to be powered, the first terminal of the DC-DC power supply circuit is connected to the equipment to be powered, and the first terminal of the inversion circuit is connected to the second terminal of the LDO power supply circuit. , the second terminal of the inversion circuit is connected to the control circuit, and the second terminal of the DC-DC power supply circuit is connected to the control circuit. When the power supply device is in a dormant state, the control circuit sends a low-level signal to the inversion circuit, and The inversion circuit is used to switch the low-level signal to a high-level signal, so that the LDO power supply circuit supplies power to the device to be powered. When the device to be powered is in the wake-up state, the control circuit sends a high-level signal to the inversion circuit and DC-DC respectively. The power supply circuit is used to switch the high-level signal to a low-level signal by an inversion circuit, so that the LDO power supply circuit and the device to be powered are cut off, and the DC-DC power supply circuit is controlled to supply power to the device to be powered. In this application, by introducing a control circuit, the switching of the LDO power supply circuit and the DC-DC power supply circuit can be realized more quickly and effectively, and the power waste can be reduced while improving the use efficiency of the power supply. At the same time, the circuit connection between these devices is simple and easy to implement. The power switching circuit proposed in the embodiments of the application is simple in design, flexible and low in cost.

以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.

Claims (10)

1. A power switching circuit, comprising:
the LDO power supply circuit (110), a first terminal of the LDO power supply circuit (110) is connected with a device to be powered (150);
a DC-DC power supply circuit (120), a first terminal of the DC-DC power supply circuit (120) is connected with the equipment to be powered (150);
an inverting circuit (130), a first terminal of the inverting circuit (130) being connected to a second terminal of the LDO supply circuit (110);
a control circuit (140), a second terminal of the inverting circuit (130) is connected to the control circuit (140), a second terminal of the DC-DC power supply circuit (120) is connected to the control circuit (140), when the device to be powered (150) is in a sleep state, the control circuit (140) sends a low level signal to the inverting circuit (130), and switches the low level signal to a high level signal by using the inverting circuit (130), so that the LDO power supply circuit (110) supplies power to the device to be powered (150), when the device to be powered (150) is in an awake state, the control circuit (140) sends high level signals to the inverting circuit (130) and the DC-DC power supply circuit (120), and switches the high level signal to a low level signal by using the inverting circuit (130), the LDO power supply circuit (110) is cut off from the device to be powered (150), and the DC-DC power supply circuit (120) is controlled to supply power to the device to be powered (150).
2. The power switching circuit according to claim 1, wherein the LDO power supply circuit (110) comprises a first control unit (U1), the first control unit (U1) being configured to power the device to be powered (150) when the LDO power supply circuit (110) is conductive with the device to be powered (150), the DC-DC power supply circuit (120) comprising a second control unit (U2), the second control unit (U2) being configured to power the device to be powered (150) when the DC-DC power supply circuit (120) is conductive with the device to be powered (150);
the first terminal of the inverting circuit (130) is connected with the enabling terminal of the first control unit (U1), and the enabling terminal of the second control unit (U2) is connected with the control circuit (140).
3. The power switching circuit according to claim 2, wherein the inverting circuit (130) comprises a transistor (Q1), a collector of the transistor (Q1) is connected to the enable terminal of the first control unit (U1), a base of the transistor (Q1) is connected to the control circuit (140), and an emitter of the transistor (Q1) is grounded.
4. The power switching circuit of claim 3, wherein the LDO power supply circuit (110) further comprises a first resistor (R1), the first resistor (R1) is connected to a first power supply (V1), and a second terminal of the first resistor (R1) is connected to an enable terminal of the first control unit (U1) and a collector of a transistor (Q1), respectively.
5. The power switching circuit according to claim 4, wherein the inverting circuit (130) further comprises a second resistor (R2), a first terminal of the second resistor (R2) is connected to the enable terminal of the first control unit (U1) and a second terminal of the first resistor (R1), respectively, and a second terminal of the second resistor (R2) is connected to the collector of the transistor (Q1).
6. The power switching circuit according to claim 3, wherein the inverting circuit (130) further comprises a diode (D1), the anodes of the diode (D1) are respectively connected to the base of the transistor (Q1) and the control circuit (140), and the cathode of the diode (D1) is connected to the second power supply (V2).
7. The power switching circuit according to any one of claims 1 to 6, wherein the DC-DC power supply circuit (120) is connected to a reverse flow prevention circuit (160), and the reverse flow prevention circuit (160) is configured to prevent a reverse flow between the first power supply (V1) and the third power supply (V3).
8. The power switching circuit of claim 7, wherein the back-flow prevention circuit (160) comprises: a first MOS transistor (Q2) and a second MOS transistor (Q3);
the drain electrode of the first MOS tube (Q2) is connected with the LDO power supply circuit (110) or the DC-DC power supply circuit (120), the source electrode of the first MOS tube (Q2) is connected with the source electrode of the second MOS tube (Q3), and the gate electrode of the first MOS tube (Q2) is grounded;
the source electrode of the second MOS tube (Q3) is connected with a third power supply (V3), and the grid electrode of the second MOS tube (Q3) is grounded.
9. The power switching circuit according to claim 8, wherein the DC-DC power supply circuit (120) further comprises an inductor (L1) and a first capacitor (C1), a first terminal of the inductor (L1) is connected to an inductor current input terminal of a second control unit (U2) of the DC-DC power supply circuit (120), and a second terminal of the inductor (L1) is connected to the drain of the first MOS transistor (Q2).
10. An intelligent door lock system, characterized in that the intelligent door lock system (100) comprises an intelligent door lock (210) and the power switching circuit (100) according to any one of claims 1 to 9, wherein the intelligent door lock (210) is electrically connected with the power switching circuit (100).
CN202010614444.XA 2020-06-30 2020-06-30 Power switching circuit and smart door lock Active CN111756091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614444.XA CN111756091B (en) 2020-06-30 2020-06-30 Power switching circuit and smart door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010614444.XA CN111756091B (en) 2020-06-30 2020-06-30 Power switching circuit and smart door lock

Publications (2)

Publication Number Publication Date
CN111756091A true CN111756091A (en) 2020-10-09
CN111756091B CN111756091B (en) 2025-09-05

Family

ID=72676750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010614444.XA Active CN111756091B (en) 2020-06-30 2020-06-30 Power switching circuit and smart door lock

Country Status (1)

Country Link
CN (1) CN111756091B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558677A (en) * 2020-12-09 2021-03-26 思瑞浦微电子科技(苏州)股份有限公司 Low dropout regulator based on reverse current protection
CN114265464A (en) * 2022-03-02 2022-04-01 南京沁恒微电子股份有限公司 Low-power-consumption power supply system with pre-charging function and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203324738U (en) * 2013-07-12 2013-12-04 青岛歌尔声学科技有限公司 Low-quiescent current level switching circuit and electronic equipment provided therewith
CN109194112A (en) * 2018-11-09 2019-01-11 深圳市云威物联科技有限公司 Power circuit, power circuit method of supplying power to and intelligent door lock system
CN110676830A (en) * 2019-10-31 2020-01-10 深圳市欧瑞博科技有限公司 Current anti-backflow circuit and intelligent door lock system
CN110969730A (en) * 2019-11-05 2020-04-07 杭州亿强科技有限公司 Low-power-consumption circuit system applied to intelligent door lock and control method thereof
CN212462838U (en) * 2020-06-30 2021-02-02 深圳市欧瑞博科技股份有限公司 Power supply switching circuit and intelligent door lock system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203324738U (en) * 2013-07-12 2013-12-04 青岛歌尔声学科技有限公司 Low-quiescent current level switching circuit and electronic equipment provided therewith
CN109194112A (en) * 2018-11-09 2019-01-11 深圳市云威物联科技有限公司 Power circuit, power circuit method of supplying power to and intelligent door lock system
CN110676830A (en) * 2019-10-31 2020-01-10 深圳市欧瑞博科技有限公司 Current anti-backflow circuit and intelligent door lock system
CN110969730A (en) * 2019-11-05 2020-04-07 杭州亿强科技有限公司 Low-power-consumption circuit system applied to intelligent door lock and control method thereof
CN212462838U (en) * 2020-06-30 2021-02-02 深圳市欧瑞博科技股份有限公司 Power supply switching circuit and intelligent door lock system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558677A (en) * 2020-12-09 2021-03-26 思瑞浦微电子科技(苏州)股份有限公司 Low dropout regulator based on reverse current protection
CN114265464A (en) * 2022-03-02 2022-04-01 南京沁恒微电子股份有限公司 Low-power-consumption power supply system with pre-charging function and control method thereof

Also Published As

Publication number Publication date
CN111756091B (en) 2025-09-05

Similar Documents

Publication Publication Date Title
WO2002027905A1 (en) Power supply
CN109840006B (en) Main control chip power supply device
CN110676830A (en) Current anti-backflow circuit and intelligent door lock system
CN101576767A (en) Main board power supply circuit
CN201589807U (en) A voltage detection circuit of a reset circuit
CN101222176A (en) Direct-current power supply conversion circuit and mode switching method
US7444527B2 (en) Circuit for saving power of a battery within an electronic equipment while the electronic equipment is powered off
US20100277146A1 (en) Computer power supply and standby voltage discharge circuit thereof
CN212462838U (en) Power supply switching circuit and intelligent door lock system
CN220022612U (en) Switching circuit of low-power consumption standby power supply
CN111756091B (en) Power switching circuit and smart door lock
CN108110835B (en) A low-power control circuit for high-voltage battery systems
CN211701852U (en) A step-down module and mobile terminal
CN110323825B (en) Power circuit switching device and method and Internet of things equipment
US8773086B1 (en) Circuits and methods for dynamic voltage management
CN213585190U (en) Power control circuit with standby low power consumption
CN110768518A (en) Power isolation circuit and intelligent door lock system
CN222981263U (en) Switch circuit, battery management system and vehicle
CN212992000U (en) Battery power supply control circuit
CN104679214A (en) Voltage regulating circuit
CN222071175U (en) A low-cost standby conversion circuit
CN101281419A (en) Power Supply Module for Computer Devices
CN207691781U (en) Level shifting circuit
CN206992680U (en) Undervoltage protection circuit
CN210724204U (en) Current backflow prevention circuit and intelligent door lock system

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