WO2018133410A1 - Power management circuit, electronic device, and method for controlling electronic device - Google Patents
Power management circuit, electronic device, and method for controlling electronic device Download PDFInfo
- Publication number
- WO2018133410A1 WO2018133410A1 PCT/CN2017/098603 CN2017098603W WO2018133410A1 WO 2018133410 A1 WO2018133410 A1 WO 2018133410A1 CN 2017098603 W CN2017098603 W CN 2017098603W WO 2018133410 A1 WO2018133410 A1 WO 2018133410A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- interface
- chip
- electronic device
- power management
- power
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Definitions
- the present invention relates to the field of power management technologies, and in particular, to a power management circuit, an electronic device, and an electronic device control method.
- the power management circuit of the electronic device generally includes a power management chip and an interface detection chip for connecting to the TYPE_C interface.
- the power management chip detects the power input and controls the electronic device to be powered on.
- the power management chip may be triggered, causing the electronic device to be powered on.
- the embodiments of the present invention provide a power management circuit, an electronic device, and an electronic device control method, which are used to solve the problem that the TYPE_C cable of the unconnected power device is inserted into the interface detection chip, causing the electronic device to be powered on.
- the embodiment of the invention provides a power management circuit, which is applied to an electronic device, including a power management chip, an interface detection chip for connecting the TYPE_C interface, and a control circuit.
- the interface detection chip includes a power detection pin and an enable pin, and the power detection pin is electrically connected to the power management chip, and the control circuit is electrically connected to the enable pin for closing the interface detection chip when the electronic device is powered off. And enabling the interface detection chip after the electronic device is powered on.
- Embodiments of the present invention also provide an electronic device including a power management circuit.
- the power management circuit is as described above.
- the embodiment of the invention further provides an electronic device control method, including:
- the interface detection chip When the electronic device is in a shutdown state, receiving a shutdown signal sent by the control circuit to close the interface detection chip, the interface detection chip is electrically connected to the TYPE_C interface, and the TYPE_C interface is electrically connected to the power management chip;
- the control circuit controls the interface to detect that the chip is in the off state. Therefore, if the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip at this time, the power management chip is not triggered to be turned on, thereby solving the problem that the TYPE_C cable inserted into the unconnected power device is turned off and the electronic device is turned on by mistake.
- FIG. 1 is a block diagram showing the structure of a power management circuit according to a first embodiment of the present invention
- Figure 2 is a circuit diagram of Figure 1;
- Figure 3 is a schematic diagram of a circuit that causes a false boot
- FIG. 4 is a schematic flow chart of a method for controlling an electronic device according to a first embodiment of the present invention.
- the term “if” can be interpreted as “when” or “on” or “in response to determining” or “in response to detecting” depending on the context. .
- the phrase “if determined” or “if detected [condition or event described]” may be interpreted in context to mean “once determined” or “in response to determining” or “once detected [condition or event described] ] or “in response to detecting [conditions or events described]”.
- the terminals described in this embodiment of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers or tablet computers having touch sensitive surfaces (eg, touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer having a touch sensitive surface (eg, a touch screen display and/or a touch pad).
- the terminal including a display and a touch sensitive surface is described.
- the terminal can include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
- FIG. 1 is a structural block diagram of a power management circuit according to a first embodiment of the present invention.
- the power management circuit is applied to an electronic device such as a mobile terminal.
- the power management circuit can include:
- a filter circuit 10 configured to connect to a power source; wherein the power source is used to provide power to the power management circuit;
- the interface detecting chip 12 is configured to connect to the TYPE_C interface, and includes a power detecting pin and an enable pin, and the power detecting pin is electrically connected to the power management chip 11;
- the control circuit 13 is electrically connected to the enable pin for turning off the interface detecting chip 12 when the electronic device is turned off, and enabling the interface detecting chip 12 after the electronic device is turned on.
- control circuit 13 includes a central processing unit 131 and an isolation circuit 132.
- the isolation circuit 132 is electrically connected to the central processing unit 131 and an enable pin for inverting the level signal output by the central processing unit 131. Specifically, when the electronic device is powered off, the central processing unit 131 sends a first level signal to the isolation circuit 132, and the isolation circuit 132 converts the first level signal into a second level signal and outputs the signal to the interface detection chip 12. The pin is enabled to turn off the interface detection chip 12.
- the interface detecting chip 12 includes a pin 1, a pin 2, and a pin 4.
- Pin 1 and pin 2 are a first configuration channel pin CC1 and a second configuration channel pin CC2, respectively, for connecting to the TYPE_C interface 14, and the TYPE_C device accesses the interface detection chip 12 through the TYPE_C interface 14;
- 4 is a power detection pin VBUSDET for electrically connecting to the power management chip 11, and a resistor R1 is connected in series between the pin 4 and the power management chip 11;
- pin 10 is a ground pin GND;
- pin 11 is The pin ENB is used to electrically connect to the isolation circuit 132 of the control circuit 13;
- the pin 12 is a power input pin VDD for electrically connecting to the filter circuit 10.
- the filter circuit 10 includes a first capacitor C1 and a second capacitor C2.
- the first capacitor C1 and the second capacitor C2 are connected in parallel, and one end connected in parallel is connected to a power source VPH_PWR that supplies power to the entire power management circuit.
- the power supply input pin VDD (ie, pin 12) of the interface detecting chip 12, and the other end connected in parallel is grounded.
- the isolation circuit 132 includes a first resistor R2, a second resistor R3, a third resistor R4, and a switch Q1.
- One end of the first resistor R2 is electrically connected to a power source VPH_PWR, and the other end is grounded through a second resistor R3 and a third resistor R4.
- the node A between the first resistor R2 and the second resistor R3 is electrically connected to the switch transistor Q1 and the enable pin ENB (ie, pin 11), and the node B between the second resistor R3 and the third resistor R4 is electrically connected. It is connected to the central processing unit 131 and the switching transistor Q1.
- the switch transistor Q1 is an N-type field effect transistor, the drain thereof is grounded, and the gate is electrically connected to the node B between the second resistor R3 and the third resistor R4, and the source is electrically connected first. Node A between resistor R2, second resistor R3, and enable pin ENB (ie, pin 11).
- FIG. 3 and FIG. 2 please refer to FIG. 3 and FIG. 2 to better illustrate the working principle of the present invention:
- the central processing unit 231 transmits a low level signal and transmits it to the interface detecting chip 22 through the enable pin (ie, pin 11) of the interface detecting chip 22 to enable the interface detecting chip 22.
- the electronic device is automatically shut down due to power exhaustion, if the TYPE_C interface 24 is connected to the unpowered device through the TYPE_C cable (ie, the pure TYPE_C cable is inserted through the TYPE_C interface), since the pure TYPE_C cable has a default 5.1K inside.
- Resistor R5 (which is specified by the standard TYPE_C protocol) will divide the power supply VPH_PWR with the internal resistor R6 of the interface detecting chip 22.
- the internal resistor R6 has one end connected to the power input pin VDD (ie, pin 12), and the other end connected to the power detecting pin VBUSDET (ie, pin 4) and the first configuration channel pin CC1 (ie, pin 1). At this time, it is detected that the voltage between the resistor R5 and the resistor R6 is about 0.9V. The voltage of about 0.9V will be reversed to the power management chip through the power detection pin VBUSDET (ie, pin 4). 21, because the power management chip 21 triggers the voltage of the electronic device to be turned on too low, so the voltage of about 0.9V triggers the boot, which causes a false boot.
- an embodiment of the present invention provides a control circuit 13 as shown in FIG. 2, which includes a central processing unit 131 and an isolation circuit 132.
- the central processing unit 131 outputs a first level signal (ie, a low level signal) from the node B to the isolation circuit 132, and the first level signal is converted into a second level signal after passing through the isolation circuit 132 (ie, high power)
- the flat signal that is, the low level signal turns off Q1, at which time the potential of the enable pin ENB is at a high level, thereby turning off the interface detecting chip 12.
- the electronic device when the electronic device is turned off, if the pure TYPE_C cable is inserted through the TYPE_C interface 14, since the interface detecting chip 12 has been turned off, the 0.9 of the power management chip 11 as described above is not generated. The voltage around V, thus solving the problem of false booting.
- the charging device When the inserted TYPE_C cable is connected to the charging device, the charging device outputs a normal voltage, for example, 5V, 12V, etc., to the power management chip 11, so that the power management chip 11 controls the terminal to be normally turned on.
- the central processing unit 131 After the terminal is normally turned on, the central processing unit 131 outputs a second level signal (ie, a high level signal) to the isolation circuit 132, and the isolation circuit 132 converts it into a first level signal (ie, a low level signal), ie, The high level signal output by the central processing unit 131 turns on Q1. At this time, the enable pin ENB is grounded through Q1, thereby enabling the interface detecting chip 12.
- an embodiment of the present invention further provides an electronic device.
- the electronic device includes a power management circuit.
- the electronic device includes a power management circuit.
- the control circuit of the power management circuit controls the interface to detect that the chip is in the off state. Therefore, if the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip at this time, the power management chip is not triggered to be turned on, thereby solving the problem that the TYPE_C cable inserted into the unconnected power device is turned off and the electronic device is turned on by mistake.
- FIG. 4 it is a schematic flowchart of a method for controlling an electronic device according to a first embodiment of the present invention. As shown in the figure, the method may include:
- the isolation circuit receives the first level signal sent by the central processing unit
- the isolation circuit converts the first level signal into a second level signal, where the second level signal is a shutdown signal;
- the isolation circuit outputs a shutdown signal to an enable pin of the interface detection chip, the interface detection chip is electrically connected to the TYPE_C interface, and the TYPE_C interface is electrically connected to the power management chip;
- S105 Receive an insertion of the TYPE_C device to keep the interface detection chip in a closed state or enable the interface detection chip.
- the interface detecting chip is turned off, the power management chip does not detect the power input, and does not trigger the electronic device to be powered on, thereby solving the TYPE_C of the unconnected power device.
- the cable insertion interface detects the problem of the wrong boot caused by the chip; when the TYPE_C cable that receives the connected power device (such as a charger or a computer) is inserted, the power management chip detects the power input, triggers the electronic device to be turned on, and the center
- the processor enables the interface to detect the chip.
- the shutdown signal sent by the control circuit is first received to close the interface detection chip, and then the insertion of the TYPE_C device is received to keep the interface detection chip in the off state or the interface detection chip is enabled.
- the type of the inserted TYPE_C device is considered to maintain the off state of the interface detection chip or enable the interface detection chip, thereby controlling whether to input a voltage to the power management chip, thereby controlling the electronic device to remain powered off or Normally power on, solve the problem that the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip and causes the wrong boot.
- the disclosed terminal and method may be implemented in other manners.
- the device embodiments described above are merely illustrative
- the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be ignored. Or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Power Sources (AREA)
Abstract
Description
本发明涉及电源管理技术领域,尤其涉及一种电源管理电路、电子设备及电子设备控制方法。The present invention relates to the field of power management technologies, and in particular, to a power management circuit, an electronic device, and an electronic device control method.
随着技术的发展,TYPE_C接口已成为高端电子设备的标配。相应地,该电子设备的电源管理电路一般包括电源管理芯片及用于连接TYPE_C接口的接口检测芯片。当电子设备由于电力耗尽自动关机后,若该TYPE_C接口通过TYPE_C线缆连接至电源设备,例如充电器或者电脑时,该电源管理芯片检测到电源输入则会控制电子设备开机。但是,若该TYPE_C线缆并未连接电源设备时,也可能会触发电源管理芯片,导致电子设备误开机。With the development of technology, the TYPE_C interface has become the standard for high-end electronic devices. Correspondingly, the power management circuit of the electronic device generally includes a power management chip and an interface detection chip for connecting to the TYPE_C interface. When the electronic device is automatically turned off due to power exhaustion, if the TYPE_C interface is connected to a power device such as a charger or a computer through a TYPE_C cable, the power management chip detects the power input and controls the electronic device to be powered on. However, if the TYPE_C cable is not connected to the power supply device, the power management chip may be triggered, causing the electronic device to be powered on.
发明内容Summary of the invention
本发明实施例提供一种电源管理电路、电子设备及电子设备控制方法,以解决未连接电源设备的TYPE_C线缆插入接口检测芯片时导致电子设备误开机的问题。The embodiments of the present invention provide a power management circuit, an electronic device, and an electronic device control method, which are used to solve the problem that the TYPE_C cable of the unconnected power device is inserted into the interface detection chip, causing the electronic device to be powered on.
本发明实施例提供了一种电源管理电路,应用于一电子设备,包括电源管理芯片、用于连接TYPE_C接口的接口检测芯片及控制电路。其中,接口检测芯片包括电源检测引脚以及使能引脚,电源检测引脚电性连接至电源管理芯片,控制电路电性连接至使能引脚,用于在电子设备关机时关闭接口检测芯片,并在电子设备开机后使能所述接口检测芯片。The embodiment of the invention provides a power management circuit, which is applied to an electronic device, including a power management chip, an interface detection chip for connecting the TYPE_C interface, and a control circuit. The interface detection chip includes a power detection pin and an enable pin, and the power detection pin is electrically connected to the power management chip, and the control circuit is electrically connected to the enable pin for closing the interface detection chip when the electronic device is powered off. And enabling the interface detection chip after the electronic device is powered on.
本发明实施例还提供了一种电子设备,包括电源管理电路。其中,该电源管理电路如上所述。Embodiments of the present invention also provide an electronic device including a power management circuit. Wherein, the power management circuit is as described above.
本发明实施例还提供了一种电子设备控制方法,包括:The embodiment of the invention further provides an electronic device control method, including:
当电子设备处于关机状态时,接收控制电路发送的关闭信号以关闭接口检测芯片,该接口检测芯片电性连接至TYPE_C接口,该TYPE_C接口电性连接至电源管理芯片;When the electronic device is in a shutdown state, receiving a shutdown signal sent by the control circuit to close the interface detection chip, the interface detection chip is electrically connected to the TYPE_C interface, and the TYPE_C interface is electrically connected to the power management chip;
接收TYPE_C设备的插入以保持接口检测芯片处于关闭状态或使能接口 检测芯片。Receive the insertion of the TYPE_C device to keep the interface detection chip off or enable the interface Detect the chip.
本发明实施例中,当电子设备关机时,控制电路控制接口检测芯片处于关闭状态。因此,若此时未连接电源设备的TYPE_C线缆插入接口检测芯片,也不会触发电源管理芯片开机,从而解决了关机时插入未连接电源设备的TYPE_C线缆导致电子设备误开机的问题。In the embodiment of the present invention, when the electronic device is powered off, the control circuit controls the interface to detect that the chip is in the off state. Therefore, if the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip at this time, the power management chip is not triggered to be turned on, thereby solving the problem that the TYPE_C cable inserted into the unconnected power device is turned off and the electronic device is turned on by mistake.
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图1是本发明第一实施例提供的电源管理电路的结构框图;1 is a block diagram showing the structure of a power management circuit according to a first embodiment of the present invention;
图2是图1的电路图;Figure 2 is a circuit diagram of Figure 1;
图3是导致误开机的电路原理图;Figure 3 is a schematic diagram of a circuit that causes a false boot;
图4是本发明第一实施例提供的电子设备控制方法的示意流程图。FIG. 4 is a schematic flow chart of a method for controlling an electronic device according to a first embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。The use of the terms "comprising", "comprising", "","," The presence or addition of a plurality of other features, integers, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It is also to be understood that the terminology of the present invention is to be construed as a The singular forms "", ",",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和 /或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that the term "and" is used in the description of the invention and the appended claims. / or "" refers to any combination of one or more of the associated items and all possible combinations, and includes such combinations.
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "on" or "in response to determining" or "in response to detecting" depending on the context. . Similarly, the phrase "if determined" or "if detected [condition or event described]" may be interpreted in context to mean "once determined" or "in response to determining" or "once detected [condition or event described] ] or "in response to detecting [conditions or events described]".
具体实现中,本发明实施例中描述的终端包括但不限于诸如具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,所述设备并非便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。In particular implementations, the terminals described in this embodiment of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers or tablet computers having touch sensitive surfaces (eg, touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer having a touch sensitive surface (eg, a touch screen display and/or a touch pad).
在接下来的讨论中,描述了包括显示器和触摸敏感表面的终端。然而,应当理解的是,终端可以包括诸如物理键盘、鼠标和/或控制杆的一个或多个其它物理用户接口设备。In the following discussion, a terminal including a display and a touch sensitive surface is described. However, it should be understood that the terminal can include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
请参考图1,是本发明第一实施例提供一种电源管理电路的结构框图。该电源管理电路应用于移动终端等电子设备。如图所示,该电源管理电路可包括:Please refer to FIG. 1 , which is a structural block diagram of a power management circuit according to a first embodiment of the present invention. The power management circuit is applied to an electronic device such as a mobile terminal. As shown, the power management circuit can include:
滤波电路10,用于连接电源;其中,该电源用于为电源管理电路提供电力;a
电源管理芯片11;
接口检测芯片12,用于连接TYPE_C接口,包括电源检测引脚以及使能引脚,且该电源检测引脚电性连接至电源管理芯片11;The
控制电路13,电性连接至使能引脚,用于在电子设备关机时关闭接口检测芯片12,并在电子设备开机后使能接口检测芯片12。The
进一步地,控制电路13包括中央处理器131及隔离电路132。该隔离电路132电性连接至中央处理器131及使能引脚,用于对中央处理器131输出的电平信号进行翻转。具体地,在电子设备关机时,中央处理器131发送第一电平信号至隔离电路132,该隔离电路132将第一电平信号转换为第二电平信号,并输出至接口检测芯片12的使能引脚以关闭接口检测芯片12。Further, the
进一步地,请参考图2,接口检测芯片12包括引脚1、引脚2、引脚4、
引脚10、引脚11及引脚12。其中,引脚1和引脚2分别为第一配置通道引脚CC1和第二配置通道引脚CC2,用于连接TYPE_C接口14,TYPE_C设备通过该TYPE_C接口14接入接口检测芯片12;引脚4为电源检测引脚VBUSDET,用于电性连接至电源管理芯片11,且引脚4与电源管理芯片11之间串接有一电阻R1;引脚10为接地引脚GND;引脚11为使能引脚ENB,用于电性连接至控制电路13的隔离电路132;引脚12为电源输入引脚VDD,用于电性连接至滤波电路10。Further, referring to FIG. 2, the
具体地,如图2所示,滤波电路10包括第一电容C1及第二电容C2,第一电容C1及第二电容C2并联,且并联后的一端连接为整个电源管理电路提供电力的电源VPH_PWR以及接口检测芯片12的电源输入引脚VDD(即引脚12),并联后的另一端则接地。Specifically, as shown in FIG. 2, the
隔离电路132包括第一电阻R2、第二电阻R3、第三电阻R4及开关管Q1,第一电阻R2的一端电性连接一电源VPH_PWR,另一端依次通过第二电阻R3及第三电阻R4接地;第一电阻R2与第二电阻R3之间的节点A电性连接开关管Q1及使能引脚ENB(即引脚11),第二电阻R3与第三电阻R4之间的节点B电性连接至中央处理器131以及开关管Q1。其中,在本实施例中,开关管Q1为N型场效应管,其漏极接地,栅极电性连接第二电阻R3与第三电阻R4之间的节点B,源极电性连接第一电阻R2、第二电阻R3及使能引脚ENB(即引脚11)之间的节点A。The
下面,请参考图3及图2以更好地阐述本发明的工作原理:In the following, please refer to FIG. 3 and FIG. 2 to better illustrate the working principle of the present invention:
如图3所示,中央处理器231发送低电平信号,并通过接口检测芯片22的使能引脚(即引脚11)输送至接口检测芯片22,以使能该接口检测芯片22。当电子设备因电力耗尽自动关机后,若TYPE_C接口24通过TYPE_C线缆连接至未带电源的设备(即通过TYPE_C接口插入纯TYPE_C线缆),由于纯TYPE_C线缆内部有个默认5.1K的电阻R5(该电阻阻值是标准TYPE_C协议规定的),该电阻R5将与接口检测芯片22的内部电阻R6对电源VPH_PWR进行分压。其中,该内部电阻R6的一端连接电源输入引脚VDD(即引脚12),另一端连接电源检测引脚VBUSDET(即引脚4)和第一配置通道引脚CC1(即引脚1)。此时,检测出电阻R5和电阻R6之间电压为0.9V左右。该0.9V左右的电压将会通过电源检测引脚VBUSDET(即引脚4)反灌至电源管理芯片
21,又由于电源管理芯片21触发电子设备开机的电压过低,因此,0.9V左右的电压便触发开机,从而导致了误开机。As shown in FIG. 3, the
基于此,本发明实施例提供了如图2所示的控制电路13,其包括中央处理器131及隔离电路132。中央处理器131从节点B向隔离电路132输出第一电平信号(即低电平信号),该第一电平信号经过隔离电路132后将会被转换为第二电平信号(即高电平信号),即,低电平信号使Q1截止,此时使能引脚ENB的电位为高电平,从而关闭接口检测芯片12。该种情况下,当电子设备关机后,若通过TYPE_C接口14插入纯TYPE_C线缆,由于接口检测芯片12已被关闭,所以不会产生如前所述的、反灌至电源管理芯片11的0.9V左右的电压,因此解决了误开机的问题。而当插入的TYPE_C线缆连接有充电设备时,此时充电设备输出正常电压,例如5V、12V等,至电源管理芯片11,使得电源管理芯片11控制终端正常开机。在终端正常开机后,中央处理器131则输出第二电平信号(即高电平信号)至隔离电路132,隔离电路132将其转换为第一电平信号(即低电平信号),即,中央处理器131输出的高电平信号使Q1导通,此时使能引脚ENB通过Q1接地,从而使能接口检测芯片12。Based on this, an embodiment of the present invention provides a
相应地,本发明实施例还提供了一种电子设备。该电子设备包括电源管理电路。具体地,该电源管理电路的内部结构及相应功能请参考前述对图1及图2的描述,在此不再赘述。Correspondingly, an embodiment of the present invention further provides an electronic device. The electronic device includes a power management circuit. For details, refer to the foregoing description of FIG. 1 and FIG. 2 for the internal structure and corresponding functions of the power management circuit, and details are not described herein again.
本发明实施例中,当电子设备关机时,电源管理电路的控制电路控制接口检测芯片处于关闭状态。因此,若此时未连接电源设备的TYPE_C线缆插入接口检测芯片,也不会触发电源管理芯片开机,从而解决了关机时插入未连接电源设备的TYPE_C线缆导致电子设备误开机的问题。In the embodiment of the present invention, when the electronic device is powered off, the control circuit of the power management circuit controls the interface to detect that the chip is in the off state. Therefore, if the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip at this time, the power management chip is not triggered to be turned on, thereby solving the problem that the TYPE_C cable inserted into the unconnected power device is turned off and the electronic device is turned on by mistake.
请参考图4,是本发明第一实施例提供一种电子设备控制方法的示意流程图,如图所示,该方法可以包括:Referring to FIG. 4, it is a schematic flowchart of a method for controlling an electronic device according to a first embodiment of the present invention. As shown in the figure, the method may include:
S101,当电子设备处于关机状态时,隔离电路接收中央处理器发送的第一电平信号;S101, when the electronic device is in a shutdown state, the isolation circuit receives the first level signal sent by the central processing unit;
S102,隔离电路将第一电平信号转换为第二电平信号,该第二电平信号为关闭信号; S102. The isolation circuit converts the first level signal into a second level signal, where the second level signal is a shutdown signal;
S103,隔离电路将关闭信号输出至接口检测芯片的使能引脚,接口检测芯片电性连接至TYPE_C接口,TYPE_C接口电性连接至电源管理芯片;S103, the isolation circuit outputs a shutdown signal to an enable pin of the interface detection chip, the interface detection chip is electrically connected to the TYPE_C interface, and the TYPE_C interface is electrically connected to the power management chip;
S104,接收隔离电路发送的关闭信号以关闭接口检测芯片;其中,中央处理器和隔离电路构成控制电路;S104, receiving a shutdown signal sent by the isolation circuit to close the interface detection chip; wherein the central processing unit and the isolation circuit form a control circuit;
S105,接收TYPE_C设备的插入以保持接口检测芯片处于关闭状态或使能接口检测芯片。具体地,当接收未连接电源设备的TYPE_C线缆插入时,保持接口检测芯片处于关闭状态,电源管理芯片不会检测到电源输入,不会触发电子设备开机,从而解决了未连接电源设备的TYPE_C线缆插入接口检测芯片所导致误开机的问题;当接收连接电源设备(例如充电器或电脑)的TYPE_C线缆插入时,此时电源管理芯片会检测到电源输入,触发电子设备开机,同时中央处理器使能接口检测芯片。S105. Receive an insertion of the TYPE_C device to keep the interface detection chip in a closed state or enable the interface detection chip. Specifically, when the TYPE_C cable that receives the unconnected power device is inserted, the interface detecting chip is turned off, the power management chip does not detect the power input, and does not trigger the electronic device to be powered on, thereby solving the TYPE_C of the unconnected power device. The cable insertion interface detects the problem of the wrong boot caused by the chip; when the TYPE_C cable that receives the connected power device (such as a charger or a computer) is inserted, the power management chip detects the power input, triggers the electronic device to be turned on, and the center The processor enables the interface to detect the chip.
需要说明的是,由于本实施例中检测方法所涉及的电路部分及具体工作流程已在前面做了详述,故在此不再赘述。It should be noted that, since the circuit part and the specific working process involved in the detection method in this embodiment have been described in detail above, they are not described herein again.
本发明实施例,当电子设备处于关机状态时,先接收控制电路发送的关闭信号以关闭接口检测芯片,再接收TYPE_C设备的插入以保持接口检测芯片处于关闭状态或使能接口检测芯片。本发明实施例在触发开机时考虑了插入的TYPE_C设备的类型来保持接口检测芯片的关闭状态或使能该接口检测芯片,从而可以控制是否向电源管理芯片输入电压,进而控制电子设备保持关机或正常开机,解决未连接电源设备的TYPE_C线缆插入接口检测芯片所导致误开机的问题。In the embodiment of the present invention, when the electronic device is in the power-off state, the shutdown signal sent by the control circuit is first received to close the interface detection chip, and then the insertion of the TYPE_C device is received to keep the interface detection chip in the off state or the interface detection chip is enabled. In the embodiment of the present invention, the type of the inserted TYPE_C device is considered to maintain the off state of the interface detection chip or enable the interface detection chip, thereby controlling whether to input a voltage to the power management chip, thereby controlling the electronic device to remain powered off or Normally power on, solve the problem that the TYPE_C cable that is not connected to the power device is inserted into the interface detection chip and causes the wrong boot.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
此外,在本申请所提供的几个实施例中,应该理解到,所揭露的、终端和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意 性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In addition, in the several embodiments provided in the present application, it should be understood that the disclosed terminal and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be ignored. Or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例终端中的单元可以根据实际需要进行合并、划分和删减。The units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention by any person skilled in the art. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710042588.0 | 2017-01-20 | ||
| CN201710042588.0A CN106844238A (en) | 2017-01-20 | 2017-01-20 | A kind of electric power management circuit, electronic equipment and control method of electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018133410A1 true WO2018133410A1 (en) | 2018-07-26 |
Family
ID=59120920
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/098603 Ceased WO2018133410A1 (en) | 2017-01-20 | 2017-08-23 | Power management circuit, electronic device, and method for controlling electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106844238A (en) |
| WO (1) | WO2018133410A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106844238A (en) * | 2017-01-20 | 2017-06-13 | 深圳市金立通信设备有限公司 | A kind of electric power management circuit, electronic equipment and control method of electronic device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201514611U (en) * | 2009-10-19 | 2010-06-23 | 广东欧珀电子工业有限公司 | Handheld device startup and shutdown circuit |
| CN105867593A (en) * | 2016-05-17 | 2016-08-17 | 深圳慧能泰半导体科技有限公司 | USB Type-C interface circuit and control device thereof |
| US20160308527A1 (en) * | 2015-04-17 | 2016-10-20 | Samsung Electronics Co., Ltd. | Integrated circuit and cable assembly including the same |
| CN106844238A (en) * | 2017-01-20 | 2017-06-13 | 深圳市金立通信设备有限公司 | A kind of electric power management circuit, electronic equipment and control method of electronic device |
-
2017
- 2017-01-20 CN CN201710042588.0A patent/CN106844238A/en not_active Withdrawn
- 2017-08-23 WO PCT/CN2017/098603 patent/WO2018133410A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201514611U (en) * | 2009-10-19 | 2010-06-23 | 广东欧珀电子工业有限公司 | Handheld device startup and shutdown circuit |
| US20160308527A1 (en) * | 2015-04-17 | 2016-10-20 | Samsung Electronics Co., Ltd. | Integrated circuit and cable assembly including the same |
| CN105867593A (en) * | 2016-05-17 | 2016-08-17 | 深圳慧能泰半导体科技有限公司 | USB Type-C interface circuit and control device thereof |
| CN106844238A (en) * | 2017-01-20 | 2017-06-13 | 深圳市金立通信设备有限公司 | A kind of electric power management circuit, electronic equipment and control method of electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106844238A (en) | 2017-06-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20180356873A1 (en) | Method to enhance device policy management (dpm) power sharing for usb type-c (usb-c) only devices | |
| CN107957966B (en) | Electronic device supporting USB interface and method for controlling USB interface | |
| CN110352530B (en) | Method and apparatus for managing battery of electronic device | |
| US10860522B2 (en) | Method and apparatus for controlling USB-C connectors on system with multiple host controllers | |
| WO2018093209A1 (en) | Interface device | |
| CN108604218B (en) | Method and terminal device for establishing connection between devices with universal serial bus USB Type-C interface | |
| US11231937B2 (en) | Autonomous host detection for communication port management | |
| WO2018147703A1 (en) | Device for supplying power to external device and method therefor | |
| US20190036365A1 (en) | Method, apparatus and system to enhance a device policy manager to manage devices based on battery condition | |
| CN105790356A (en) | Data line having charging circuit | |
| US10719469B2 (en) | Inband messaging method for integrated type-C universal serial bus detection using enhanced serial peripheral interconnect | |
| CN105874682A (en) | Charging method and charging apparatus for electronic device | |
| WO2018034381A1 (en) | Electronic device and electronic device control method | |
| KR102544778B1 (en) | Method for detecting leakage current and electronic device supporting the same | |
| KR102538837B1 (en) | Electrnic device for overvoltage prevention | |
| WO2017142211A1 (en) | Electronic device for supporting usb interface and method for controlling usb interface | |
| CN106532876A (en) | Power supply control method and device and computer equipment | |
| WO2020088388A1 (en) | Charging control circuit, charging circuit and charging control method | |
| TWI531133B (en) | Charging method and electronic device | |
| KR102631533B1 (en) | Method for detecting water in conncting terminal of electronic device and electronic device for supporting the same | |
| WO2018133410A1 (en) | Power management circuit, electronic device, and method for controlling electronic device | |
| CN112290640B (en) | Interface circuit and electronic equipment charge | |
| CN108631377B (en) | Power-on control circuit and mobile power supply device using the same | |
| WO2018133409A1 (en) | Power management circuit, electronic device, and method for controlling electronic device | |
| CN203038282U (en) | Universal serial bus (USB) interface protective device and terminal equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17892521 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17892521 Country of ref document: EP Kind code of ref document: A1 |