CN204794261U - A charging circuit and portable power source for portable power source - Google Patents

A charging circuit and portable power source for portable power source Download PDF

Info

Publication number
CN204794261U
CN204794261U CN201520551140.8U CN201520551140U CN204794261U CN 204794261 U CN204794261 U CN 204794261U CN 201520551140 U CN201520551140 U CN 201520551140U CN 204794261 U CN204794261 U CN 204794261U
Authority
CN
China
Prior art keywords
power supply
circuit
charging
interface
battery
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.)
Expired - Fee Related
Application number
CN201520551140.8U
Other languages
Chinese (zh)
Inventor
王峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Goertek Co Ltd
Original Assignee
Qingdao Goertek 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 Qingdao Goertek Co Ltd filed Critical Qingdao Goertek Co Ltd
Priority to CN201520551140.8U priority Critical patent/CN204794261U/en
Application granted granted Critical
Publication of CN204794261U publication Critical patent/CN204794261U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本实用新型公开了一种用于移动电源的充电电路及移动电源,用于接收外部输入电源的充电接口、用于外接负载的放电接口、用于储存电能的内置电池以及用于检测所述充电接口和放电接口的插接状态的检测电路;所述检测电路在检测到所述充电接口上有输入电源接入时,切断所述电池向所述放电接口的电流输出;所述输入电源连通放电接口的电源引脚,在所述放电接口上有负载接入时,为所述负载充电。通过设计移动电源在有输入电源接入时,直接利用外接的输入电源为插入到移动电源上的负载充电,由此可以降低移动电源的耗散功率,减少移动电源的发热量,保证移动电源内部的电子器件不会因工作温度的过高而导致其性能的下降,提高了移动电源工作的可靠性。

The utility model discloses a charging circuit for a mobile power supply and a mobile power supply, a charging interface for receiving an external input power supply, a discharge interface for an external load, a built-in battery for storing electric energy, and a charging interface for detecting the charging The detection circuit of the plug state of the interface and the discharge interface; when the detection circuit detects that there is an input power supply on the charging interface, it cuts off the current output of the battery to the discharge interface; the input power is connected to discharge The power supply pin of the interface charges the load when a load is connected to the discharge interface. By designing the mobile power supply, when there is an input power supply, it directly uses the external input power supply to charge the load inserted into the mobile power supply, thereby reducing the power dissipation of the mobile power supply, reducing the heat generation of the mobile power supply, and ensuring that the internal power supply of the mobile power supply The performance of the electronic device will not be degraded due to the high working temperature, which improves the reliability of the mobile power supply.

Description

用于移动电源的充电电路及移动电源Charging circuit for mobile power supply and mobile power supply

技术领域 technical field

本实用新型属于充放电电路技术领域,具体地说,是涉及一种适用于移动电源的充电电路的线路设计。 The utility model belongs to the technical field of charging and discharging circuits, and in particular relates to a circuit design suitable for a charging circuit of a mobile power supply.

背景技术 Background technique

随着穿戴类电子产品的日益大众化,其种类也日益繁多,功能也日益多样化,人们对穿戴类电子产品的使用也越来越频繁。由于穿戴类电子产品的体积一般较小,因而内部为电池预留的布设空间非常有限,不可能选用体积较大的电池为该类电子产品供电。受电池体积的限制,电池的容量不会太大,这就导致穿戴类电子产品的续航时间大大受限,需要经常性地为其进行充电。 With the increasing popularity of wearable electronic products, their types are becoming more and more diverse, and their functions are becoming more and more diversified, and people use the wearable electronic products more and more frequently. Since wearable electronic products are generally small in size, the space reserved for batteries inside is very limited, and it is impossible to use larger batteries to power such electronic products. Limited by the volume of the battery, the capacity of the battery will not be too large, which will greatly limit the battery life of wearable electronic products and require frequent charging.

为了方便消费者对穿戴类电子产品或者其他便携式数码产品充电,移动充电设备(或简称移动电源)应运而生。该类移动电源由于体积小,携带方便,因而可以随时随地的为该类负载(例如穿戴类电子产品、数码产品等)补充电力,以满足消费者对该类电子产品连续使用的需求。 In order to facilitate consumers to charge wearable electronic products or other portable digital products, mobile charging devices (or mobile power for short) have emerged as the times require. This type of mobile power supply is small in size and easy to carry, so it can supplement power for such loads (such as wearable electronic products, digital products, etc.) anytime and anywhere to meet consumers' needs for continuous use of such electronic products.

目前的移动电源,考虑到安全性问题,电池容量一般设计在2200mAh以内,在满电情况下可以为两到三个小容量的负载充电。当移动电源的电池电量消耗后,需要外接输入电源为移动电源补充电力。在移动电源补充电力的期间内,有时会遇到需要移动电源同时为与其外接的负载充电的情况。在这种情况下,现有的移动电源大多采用“边充边放”的设计方式,即,在利用外部的输入电源为移动电源的内置电池充电的同时,控制移动电源的内置电池为外接负载充电。这种“边充边放”的设计方式不仅会导致充电效率的降低,而且在移动电源上会产生较大的耗散功率,导致移动电源发热严重。当移动电源的工作温度升高时,会对移动电源内部的电子器件的性能造成影响,并且工作温度越高,电子器件的性能越低,严重影响了移动电源的性能和工作的可靠性。 The current mobile power supply, considering the safety issue, the battery capacity is generally designed within 2200mAh, and it can charge two to three small-capacity loads when fully charged. When the battery power of the mobile power supply is exhausted, an external input power supply is required to supplement the power for the mobile power supply. During the period when the mobile power supply is supplementing power, sometimes it is necessary for the mobile power supply to charge the load connected to it at the same time. In this case, most of the existing mobile power supplies adopt the design method of "charging while discharging", that is, while using an external input power source to charge the built-in battery of the mobile power supply, the built-in battery of the mobile power supply is controlled as an external load. Charge. This "charging while discharging" design method will not only reduce the charging efficiency, but also generate a large power dissipation on the mobile power supply, resulting in serious heating of the mobile power supply. When the operating temperature of the mobile power supply rises, it will affect the performance of the electronic devices inside the mobile power supply, and the higher the operating temperature, the lower the performance of the electronic devices, which seriously affects the performance and reliability of the mobile power supply.

发明内容 Contents of the invention

本实用新型的目的在于提供一种用于移动电源的充电电路,在移动电源同时外接输入电源和负载的情况下,改变传统的“边充边放”的充电模式,改由外接的输入电源直接为负载充电,从而提升了充电效率,减少了移动电源的发热量。 The purpose of this utility model is to provide a charging circuit for a mobile power supply. When the mobile power supply is connected to an external input power supply and a load at the same time, the traditional charging mode of "charging while discharging" is changed, and the external input power supply is directly connected to the charging circuit. Charge the load, thereby improving the charging efficiency and reducing the heat generated by the mobile power supply.

为解决上述技术问题,本实用新型采用以下技术方案予以实现: In order to solve the above-mentioned technical problems, the utility model adopts the following technical solutions to achieve:

一种用于移动电源的充电电路,包括用于接收外部输入电源的充电接口、用于外接负载的放电接口、用于储存电能的内置电池以及用于检测所述充电接口和放电接口的插接状态的检测电路;所述检测电路在检测到所述充电接口上有输入电源接入时,切断所述电池向所述放电接口的电流输出;所述输入电源连通放电接口的电源引脚,在所述放电接口上有负载接入时,为所述负载充电。 A charging circuit for a mobile power supply, including a charging interface for receiving external input power, a discharging interface for external loads, a built-in battery for storing electric energy, and a plug for detecting the charging interface and the discharging interface state detection circuit; the detection circuit cuts off the current output of the battery to the discharge interface when it detects that there is an input power supply on the charging interface; the input power supply is connected to the power pin of the discharge interface. When a load is connected to the discharge interface, the load is charged.

为了控制所述电池在有输入电源接入时,停止向插接到放电接口上的负载充电,本实用新型提出以下三种优选设计方案: In order to control the battery to stop charging the load plugged into the discharge interface when the input power is connected, the utility model proposes the following three optimal design schemes:

方案一,将所述电池连接一升压电路,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述升压电路停止运行,以切断所述电池向所述放电接口的电流输出。 Option 1: Connect the battery to a boost circuit, and when the detection circuit detects that there is an input power supply connected to the charging interface, the output signal controls the boost circuit to stop running, so as to cut off the power supply of the battery to the The current output of the above discharge interface.

作为所述检测电路的一种优选电路设计,在所述检测电路中设置有一NMOS管,所述NMOS管的栅极接收所述的输入电源,源极接地,漏极连接升压电路的使能引脚,所述升压电路在其使能引脚的电位为低时停止运行。 As a preferred circuit design of the detection circuit, an NMOS transistor is arranged in the detection circuit, the gate of the NMOS transistor receives the input power supply, the source is grounded, and the drain is connected to the enabling of the boost circuit. pin, the boost circuit stops running when the potential of its enable pin is low.

为了使移动电源的内置电池在无输入电源接入时,能够正常地为外接负载充电,本实用新型在所述检测电路中还设置有一控制电路,所述控制电路连接放电接口的状态引脚和电源引脚,在检测到所述充电接口上有负载接入并且所述负载尚未充满电时,输出高电平的控制信号至所述升压电路的使能引脚,控制升压电路在无输入电源接入时使能运行,对电池电压进行升压变换,以满足外接负载的充电要求;当所述控制电路在检测到所述充电接口上有负载接入并且所述负载已充满电时,置所述升压电路的使能引脚的电位为低,停止向外接负载充电。 In order to enable the built-in battery of the mobile power supply to charge the external load normally when there is no input power supply, the utility model is also provided with a control circuit in the detection circuit, and the control circuit is connected to the status pin of the discharge interface and The power supply pin, when it is detected that a load is connected to the charging interface and the load is not fully charged, outputs a high-level control signal to the enable pin of the boost circuit to control the boost circuit in the absence of When the input power is connected, it is enabled to run, and the battery voltage is boosted to meet the charging requirements of the external load; when the control circuit detects that there is a load connected to the charging interface and the load is fully charged , setting the potential of the enable pin of the boost circuit to be low, and stopping charging the external load.

方案二,所述电池在连通所述放电接口的通路中设置有一开关电路,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述开关电路切断所述通路,以切断所述电池向所述放电接口的电流输出。 Solution 2, the battery is provided with a switch circuit in the path connected to the discharge interface, and when the detection circuit detects that there is an input power supply connected to the charging interface, the output signal controls the switch circuit to cut off the path , so as to cut off the current output of the battery to the discharge interface.

作为所述开关电路的一种优选电路设计,在所述开关电路中设置有第一PMOS管和第二PMOS管,通过所述电池输出的电流首先传输至第一PMOS管的源极,第一PMOS管的漏极连接第二PMOS管的漏极,第二PMOS管的源极连通所述放电接口的电源引脚,在每一个PMOS管的源极和漏极之间均连接有反并联的寄生二极管,第一PMOS管和第二PMOS管的栅极连接所述检测电路;作为所述检测电路的一种优选电路设计,在所述检测电路中设置有第一NMOS管和第二NMOS管,第一NMOS管的栅极接收所述的输入电源,源极接地,漏极连接第二NMOS管的栅极;第二NMOS管的源极接地,漏极连接所述第一PMOS管和第二PMOS管的栅极。 As a preferred circuit design of the switch circuit, a first PMOS transistor and a second PMOS transistor are arranged in the switch circuit, the current output by the battery is first transmitted to the source of the first PMOS transistor, and the first PMOS transistor The drain of the PMOS transistor is connected to the drain of the second PMOS transistor, the source of the second PMOS transistor is connected to the power supply pin of the discharge interface, and an antiparallel connection is connected between the source and the drain of each PMOS transistor. Parasitic diodes, the gates of the first PMOS transistor and the second PMOS transistor are connected to the detection circuit; as a preferred circuit design of the detection circuit, the detection circuit is provided with a first NMOS transistor and a second NMOS transistor The gate of the first NMOS transistor receives the input power, the source is grounded, and the drain is connected to the gate of the second NMOS transistor; the source of the second NMOS transistor is grounded, and the drain is connected to the first PMOS transistor and the second NMOS transistor. The grid of the two PMOS transistors.

为了使移动电源的内置电池在无输入电源接入时,能够正常地为外接负载充电,本实用新型在所述检测电路中还设置有一控制电路,所述控制电路连接放电接口的状态引脚和电源引脚,在所述充电接口上有负载接入并且所述负载尚未充满电时,输出高电平的控制信号至所述第二NMOS管的栅极,控制第二NMOS管在无输入电源接入时导通,连通所述电池与外接负载之间的电流通路,利用所述电池为负载充电;当所述控制电路在检测到所述充电接口上有负载接入并且所述负载已充满电时,置所述第二NMOS管的栅极电位为低,切断所述电池与外接负载之间的电流通路,使所述电池停止向外接负载充电,以节约电池电量。 In order to enable the built-in battery of the mobile power supply to charge the external load normally when there is no input power supply, the utility model is also provided with a control circuit in the detection circuit, and the control circuit is connected to the status pin of the discharge interface and Power supply pin, when a load is connected to the charging interface and the load is not fully charged, output a high-level control signal to the gate of the second NMOS transistor to control the second NMOS transistor when there is no input power It is turned on when it is connected, and the current path between the battery and the external load is connected, and the battery is used to charge the load; when the control circuit detects that there is a load connected to the charging interface and the load is fully charged When powering on, set the gate potential of the second NMOS transistor to be low, cut off the current path between the battery and the external load, and stop the battery from charging the external load, so as to save battery power.

方案三,将所述电池连接一升压电路的输入端,升压电路的输出端通过一开关电路连通所述放电接口的电源引脚,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述升压电路停止运行并控制所述开关电路关断,以切断所述电池向所述放电接口的电流输出。 Solution 3: Connect the battery to the input terminal of a boost circuit, the output terminal of the boost circuit is connected to the power supply pin of the discharge interface through a switch circuit, and the detection circuit detects that there is an input terminal on the charging interface. When the power supply is connected, the output signal controls the step-up circuit to stop running and controls the switch circuit to turn off, so as to cut off the current output of the battery to the discharge interface.

作为所述开关电路的一种优选电路设计,在所述开关电路中设置有第一PMOS管和第二PMOS管,第一PMOS管的源极连接所述升压电路的输出端,第一PMOS管的漏极连接第二PMOS管的漏极,第二PMOS管的源极连通所述放电接口的电源引脚,在每一个PMOS管的源极和漏极之间均连接有反并联的寄生二极管,第一PMOS管和第二PMOS管的栅极连接所述检测电路;作为所述检测电路的一种优选电路设计,在所述检测电路中设置有第一NMOS管和第二NMOS管,第一NMOS管的栅极接收所述的输入电源,源极接地,漏极分别连接所述升压电路的使能引脚和第二NMOS管的栅极;所述第二NMOS管的源极接地,漏极连接所述第一PMOS管和第二PMOS管的栅极。 As a preferred circuit design of the switch circuit, a first PMOS transistor and a second PMOS transistor are arranged in the switch circuit, the source of the first PMOS transistor is connected to the output terminal of the boost circuit, and the first PMOS transistor The drain of the transistor is connected to the drain of the second PMOS transistor, the source of the second PMOS transistor is connected to the power supply pin of the discharge interface, and an antiparallel parasitic is connected between the source and the drain of each PMOS transistor. Diodes, the gates of the first PMOS transistor and the second PMOS transistor are connected to the detection circuit; as a preferred circuit design of the detection circuit, a first NMOS transistor and a second NMOS transistor are arranged in the detection circuit, The gate of the first NMOS transistor receives the input power, the source is grounded, and the drain is respectively connected to the enable pin of the boost circuit and the gate of the second NMOS transistor; the source of the second NMOS transistor The drain is connected to the gates of the first PMOS transistor and the second PMOS transistor.

为了使移动电源的内置电池在无输入电源接入时,能够正常地为外接负载充电,本实用新型在所述检测电路中还设置有一控制电路,所述控制电路连接放电接口的状态引脚和电源引脚,在检测到所述充电接口上有负载接入并且所述负载尚未充满电时,输出高电平的控制信号分别传输至所述升压电路的使能引脚以及所述第二NMOS管的栅极,控制所述升压电路使能运行,将电池电压升压变换到外接负载所需的充电电压值上,并同时控制第二NMOS管导通,使所述第一PMOS管和第二PMOS管接通所述电池与所述放电接口之间的电流通路,为外接负载充电;当所述控制电路检测到所述充电接口上有负载接入并且所述负载已充满电时,置所述升压电路的使能引脚以及所述第二NMOS管的栅极电位为低,使所述电池停止向外接负载充电,以节约电池电量。 In order to enable the built-in battery of the mobile power supply to charge the external load normally when there is no input power supply, the utility model is also provided with a control circuit in the detection circuit, and the control circuit is connected to the status pin of the discharge interface and The power supply pin, when it is detected that a load is connected to the charging interface and the load is not fully charged, the control signal outputting a high level is transmitted to the enable pin of the boost circuit and the second The gate of the NMOS transistor controls the boost circuit to enable operation, boosts the battery voltage to the charging voltage value required by the external load, and simultaneously controls the second NMOS transistor to turn on, so that the first PMOS transistor Connect the current path between the battery and the discharge interface with the second PMOS tube to charge the external load; when the control circuit detects that a load is connected to the charging interface and the load is fully charged and setting the enable pin of the boost circuit and the gate potential of the second NMOS transistor to be low, so that the battery stops charging the external load, so as to save battery power.

基于上述充电电路的线路设计,本实用新型还提出了一种采用上述充电电路设计的移动电源,包括用于接收外部输入电源的充电接口、用于外接负载的放电接口、用于储存电能的内置电池以及用于检测所述充电接口和放电接口的插接状态的检测电路;所述检测电路在检测到所述充电接口上有输入电源接入时,切断所述电池向所述放电接口的电流输出;所述输入电源连通放电接口的电源引脚,在所述放电接口上有负载接入时,为所述负载充电。 Based on the circuit design of the above-mentioned charging circuit, the utility model also proposes a mobile power supply using the above-mentioned charging circuit design, including a charging interface for receiving external input power, a discharging interface for external loads, and a built-in battery for storing electric energy. A battery and a detection circuit for detecting the plug-in status of the charging interface and the discharging interface; when the detecting circuit detects that the charging interface has an input power supply, it cuts off the current from the battery to the discharging interface Output: the input power is connected to the power supply pin of the discharge interface, and when a load is connected to the discharge interface, the load is charged.

与现有技术相比,本实用新型的优点和积极效果是:本实用新型通过设计移动电源在有输入电源接入时,直接利用外接的输入电源为插入到移动电源上的负载充电,而不再通过移动电源的内置电池为外接负载充电,由此可以显著降低移动电源的耗散功率,减少移动电源的发热量,保证移动电源内部的电子器件不会因工作温度的过高而导致其性能的下降,提高了移动电源工作的可靠性。与此同时,相比传统的“边充边放”充电模式,采用本实用新型的充电电路可以显著提升移动电源的充电效率,加快负载的充电速度,且电路设计简单,易于实现。 Compared with the prior art, the advantages and positive effects of this utility model are: the utility model directly uses the external input power supply to charge the load inserted into the mobile power supply through the design of the mobile power supply when the input power supply is connected, without Then the external load is charged by the built-in battery of the mobile power supply, which can significantly reduce the power dissipation of the mobile power supply, reduce the calorific value of the mobile power supply, and ensure that the electronic devices inside the mobile power supply will not be affected by their performance due to excessive operating temperature. The decline of the power bank improves the reliability of the mobile power supply. At the same time, compared with the traditional "charging while discharging" charging mode, the charging circuit of the utility model can significantly improve the charging efficiency of the mobile power supply, accelerate the charging speed of the load, and the circuit design is simple and easy to implement.

结合附图阅读本实用新型实施方式的详细描述后,本实用新型的其他特点和优点将变得更加清楚。 After reading the detailed description of the embodiments of the utility model in conjunction with the accompanying drawings, other features and advantages of the utility model will become clearer.

附图说明 Description of drawings

图1是本实用新型所提出的充电电路的第一种实施例的电路原理图; Fig. 1 is the circuit schematic diagram of the first embodiment of the charging circuit proposed by the utility model;

图2是本实用新型所提出的充电电路的第二种实施例的电路原理图; Fig. 2 is the circuit schematic diagram of the second embodiment of the charging circuit proposed by the utility model;

图3是本实用新型所提出的充电电路的第三种实施例的电路原理图。 Fig. 3 is a schematic circuit diagram of a third embodiment of the charging circuit proposed by the present invention.

具体实施方式 Detailed ways

下面结合附图对本实用新型的具体实施方式作进一步详细地说明。 Below in conjunction with accompanying drawing, the specific embodiment of the present utility model is described in further detail.

本实用新型为了解决现有移动电源采用“边充边放”的充电模式,导致移动电源充电效率降低、耗散功率大、发热严重的问题,提出了一种在移动电源外接输入电源的情况下,直接利用接入的输入电源为移动电源的外接负载供电,待负载充电完毕后再为移动电源的内置电池充电;或者,利用接入的输入电源直接为外接负载充电的同时,一并为移动电源的内置电池充电,由此可以保证充电效率达到70%以上,提高负载的充电速度。 In order to solve the problems that the existing mobile power supply adopts the charging mode of "charging while discharging", which leads to the reduction of charging efficiency of the mobile power supply, large power dissipation and serious heat generation, the utility model proposes a mobile power supply in the case of an external input power supply. , directly use the connected input power to supply power to the external load of the mobile power supply, and then charge the built-in battery of the mobile power supply after the load is fully charged; or, use the connected input power to directly charge the external load at the same time as the mobile The built-in battery of the power supply is charged, so that the charging efficiency can be guaranteed to reach more than 70%, and the charging speed of the load can be improved.

为了实现上述设计目的,需要在移动电源中设计检测电路,用于对移动电源上的充电接口和放电接口的插接状态进行检查,进而根据输入电源和外部负载的实际插接情况,控制移动电源中的电池在充电接口上有输入电源接入时,停止向连接在充电接口上的负载充电,而仅在充电接口上无输入电源接入且放电接口上有负载插入时,通过移动电源的内置电池为外接负载充电,以保证电池的充电效率。 In order to achieve the above design purpose, it is necessary to design a detection circuit in the mobile power supply to check the plug-in status of the charging interface and discharge interface on the mobile power supply, and then control the mobile power supply according to the actual plug-in status of the input power supply and the external load. When the battery in the charging interface has an input power supply, it stops charging the load connected to the charging interface, and only when there is no input power supply on the charging interface and a load is inserted on the discharge interface, the built-in mobile power supply The battery charges the external load to ensure the charging efficiency of the battery.

下面通过三个具体的实施例,来详细阐述本实用新型所提出的移动电源中充电电路的具体线路设计及其工作原理。 The specific circuit design and working principle of the charging circuit in the mobile power supply proposed by the utility model will be described in detail below through three specific embodiments.

实施例一,参见图1所示,本实施例在移动电源上设计有用于外接输入电源的充电接口USB_1和用于外接负载的放电接口USB_2。所述放电接口USB_2可以设置一路,也可以设置多路。为了使通过充电接口USB_1接入的输入电源USB_IN能够直接为外接负载充电,本实施例将充电接口USB_1的电源引脚VBUS与放电接口USB_2的电源引脚Vbus连通,使输入电源VBUS_IN可以在接入到移动电源上后,直接经由放电接口USB_2的电源引脚Vbus传输至外接负载,为其充电。为了防止移动电源内部的电流反灌至输入电源VBUS_IN,本实施例在充电接口USB_1的电源引脚VBUS上串联了一颗防反偏二极管D1,利用防反偏二极管D1的反向截止特性,在保证输入电源USB_IN的充电电流向放电接口USB_2正常输送的同时,避免移动电源向外部的输入电源反向充电。 Embodiment 1, as shown in FIG. 1 , in this embodiment, a charging interface USB_1 for external input power and a discharge interface USB_2 for external load are designed on the mobile power supply. The discharge interface USB_2 can be provided with one channel or multiple channels. In order to enable the input power supply USB_IN connected through the charging interface USB_1 to directly charge the external load, this embodiment connects the power supply pin VBUS of the charging interface USB_1 with the power supply pin Vbus of the discharge interface USB_2, so that the input power supply VBUS_IN can be connected to After being connected to the mobile power supply, it is directly transmitted to the external load through the power pin Vbus of the discharge interface USB_2 to charge it. In order to prevent the internal current of the mobile power supply from being fed back to the input power supply VBUS_IN, this embodiment connects an anti-reverse bias diode D1 in series on the power supply pin VBUS of the charging interface USB_1, and utilizes the reverse cut-off characteristic of the anti-reverse bias diode D1. Ensure that the charging current of the input power supply USB_IN is normally delivered to the discharge interface USB_2, and at the same time prevent the mobile power supply from charging the external input power supply in reverse.

为了控制移动电源的内置电池在充电接口USB_1上有输入电源USB_IN接入时,停止向外接负载充电,本实施例在移动电源中设置检测电路。本实施例针对内置电池的输出电压小于外接负载所需要的充电电压的情况,在所述检测电路中设置了一个升压电路BOOST和一个NMOS管Q1。将所述升压电路BOOST的输入端VIN连接至电池的正极BATTERY+,输出端VOUT连通放电接口USB_2的电源引脚Vbus,使能端EN连接NMOS管Q1的漏极,所述NMOS管Q1的源极接地,栅极接收所述的输入电源USB_IN,可以利用由分压电阻R4和R5组成的分压电路对输入电源USB_IN进行分压后,再传输至所述NMOS管Q1的栅极,以控制所述NMOS管Q1在有输入电源USB_IN时导通,继而拉低升压电路BOOST的使能端电位,控制升压电路BOOST停止运行,以达到切断电池向外接负载充电的设计目的。 In order to control the built-in battery of the mobile power supply to stop charging the external load when the input power supply USB_IN is connected to the charging interface USB_1, this embodiment sets a detection circuit in the mobile power supply. In this embodiment, for the case where the output voltage of the built-in battery is lower than the charging voltage required by the external load, a boost circuit BOOST and an NMOS transistor Q1 are provided in the detection circuit. Connect the input terminal VIN of the boost circuit BOOST to the positive pole BATTERY+ of the battery, the output terminal VOUT is connected to the power supply pin Vbus of the discharge interface USB_2, the enable terminal EN is connected to the drain of the NMOS transistor Q1, and the source of the NMOS transistor Q1 The pole is grounded, and the gate receives the input power supply USB_IN, and the input power supply USB_IN can be divided by a voltage divider circuit composed of voltage divider resistors R4 and R5, and then transmitted to the gate of the NMOS transistor Q1 to control The NMOS transistor Q1 is turned on when there is an input power supply USB_IN, and then pulls down the potential of the enable terminal of the boost circuit BOOST to control the boost circuit BOOST to stop running, so as to achieve the design purpose of cutting off the battery from charging the external load.

在本实施例中,所述升压电路BOOST可以由分立元件组建而成,也可以直接选用集成芯片进行电路设计,本实施例对此不进行具体限制。 In this embodiment, the boost circuit BOOST may be formed by discrete components, or an integrated chip may be directly selected for circuit design, which is not specifically limited in this embodiment.

为了使移动电源的内置电池在充电接口USB_1上无输入电源USB_IN接入且放电接口USB_2上有外部负载插入时,能够正常地为外接负载充电,并且在外接负载充满电后,能够自动停止充电过程,本实施例在所述检测电路中还设置有控制电路,包括控制器MCU、上拉电阻R1、采样电阻、电流检测芯片U1等部分。将放电接口USB_2的状态引脚Shield通过上拉电阻R1连接至直流电源VCC,或者与电阻R2串联后再通过上拉电阻R1连接至直流电源VCC。所述直流电源VCC可以直接由移动电源内部的电池提供,或者将电池电压经稳压器稳压变换后提供。对于不配置电阻R2的情况,可以直接将放电接口USB_2的状态引脚Shield连接至控制器MCU,例如MCU的其中一路GPIO口PI02;对于配置有电阻R2的情况,可以将电阻R2与上拉电阻R1的中间节点连接至控制器MCU的所述GPIO口PI02,由于在有外部负载插入到放电接口USB_2上时,负载的内部电路会将放电接口USB_2的状态引脚Shield的电位拉低或者直接接地,进而使控制器MCU的PI02口的电位由未插入负载时的高电平跳变成插入负载后的低电平。控制器MCU可以根据其PI02口的高低电平变化准确地判断出移动电源上是否有负载插入,并在检测到有负载插入时,通过其PI01口输出高电平的控制信号VEN至升压电路BOOST的使能端EN,在没有输入电源USB_IN接入的情况下,控制升压电路BOOST使能运行,利用移动电源的内置电池为外接负载充电。 In order to enable the built-in battery of the mobile power supply to charge the external load normally when there is no input power USB_IN on the charging interface USB_1 and an external load is inserted on the discharge interface USB_2, and to automatically stop the charging process after the external load is fully charged , In this embodiment, a control circuit is also provided in the detection circuit, including a controller MCU, a pull-up resistor R1, a sampling resistor, a current detection chip U1 and other parts. Connect the status pin Shield of the discharge interface USB_2 to the DC power supply VCC through the pull-up resistor R1, or connect it in series with the resistor R2 to the DC power supply VCC through the pull-up resistor R1. The DC power supply VCC can be provided directly by a battery inside the mobile power supply, or after the voltage of the battery is regulated and transformed by a voltage regulator. For the case where the resistor R2 is not configured, the status pin Shield of the discharge interface USB_2 can be directly connected to the controller MCU, such as one of the GPIO ports PI02 of the MCU; for the case where the resistor R2 is configured, the resistor R2 can be connected with the pull-up resistor The middle node of R1 is connected to the GPIO port PI02 of the controller MCU, because when an external load is inserted into the discharge interface USB_2, the internal circuit of the load will pull down the potential of the status pin Shield of the discharge interface USB_2 or directly ground it , and then make the potential of the PI02 port of the controller MCU jump from the high level when the load is not inserted to the low level after the load is inserted. The controller MCU can accurately judge whether there is a load inserted on the mobile power supply according to the high and low level changes of its PI02 port, and when it detects that a load is inserted, it outputs a high-level control signal VEN to the boost circuit through its PI01 port The enable terminal EN of BOOST, when there is no input power supply USB_IN, controls the boost circuit BOOST to enable operation, and uses the built-in battery of the mobile power supply to charge the external load.

为了对负载的充电状态实现检测,本实施例在放电接口USB_2的电源引脚Vbus上串联了一个采样电阻R3,将电流检测芯片U1连接在采样电阻R3的两端,检测采样电阻R3两端的电位差,进而根据检测到的电位差结合采样电阻R3的阻值即可计算出充电电流的大小。当电流检测芯片U1检测到充电电流小于预设的下限值时,向控制器MCU的另外一路IO口AI01反馈高电平信号IOUT_CUR,以通知控制器MCU充电已满。在控制器MCU检测到负载充电已满时,将通过其PI01口输出的控制信号VEN置为低电平,以控制升压电路BOOST停止运行,继而控制电池停止向外接负载充电,以节约电池电量。 In order to detect the charging state of the load, this embodiment connects a sampling resistor R3 in series with the power supply pin Vbus of the discharge interface USB_2, connects the current detection chip U1 to both ends of the sampling resistor R3, and detects the potential at both ends of the sampling resistor R3 difference, and then according to the detected potential difference combined with the resistance value of the sampling resistor R3, the magnitude of the charging current can be calculated. When the current detection chip U1 detects that the charging current is less than the preset lower limit, it feeds back a high-level signal I OUT _CUR to another IO port AI01 of the controller MCU to notify the controller that the MCU is fully charged. When the controller MCU detects that the load is fully charged, it sets the control signal VEN output through its PI01 port to low level to control the boost circuit BOOST to stop running, and then controls the battery to stop charging the external load to save battery power. .

下面结合图1,对本实施例的移动电源的具体工作原理进行详细说明。 The specific working principle of the mobile power supply of this embodiment will be described in detail below with reference to FIG. 1 .

移动电源在启动运行后,控制器MCU自动检测充电接口USB_2上是否有负载插入,若无负载插入,则置控制信号VEN为低电平,控制升压电路BOOST处于不工作状态。此时,若移动电源的充电接口USB_1上无输入电源USB_IN接入,则移动电源处于待机状态;若充电接口USB_1上有输入电源USB_IN接入,则进入移动电源自充电过程,即利用接入的输入电源USB_IN为移动电源的内置电池充电。具体可以在移动电源中内置电源管理芯片,连接在充电接口USB_1与电池之间,对电池的充电进程进行控制。 After the mobile power supply is started and running, the controller MCU automatically detects whether there is a load inserted into the charging interface USB_2. If no load is inserted, the control signal VEN is set to low level, and the boost circuit BOOST is controlled to be in an inactive state. At this time, if there is no input power supply USB_IN connected to the charging interface USB_1 of the mobile power supply, the mobile power supply is in the standby state; The input power USB_IN charges the built-in battery of the power bank. Specifically, a power management chip can be built in the mobile power supply and connected between the charging interface USB_1 and the battery to control the charging process of the battery.

在充电接口USB_1上有输入电源USB_IN接入的期间内,若有负载插入到移动电源的放电接口USB_2上,则此时,控制器MCU置其输出的控制信号VEN为高电平,但此时,由于输入电源USB_IN的存在,使NMOS管Q1的栅极电压为高而进入饱和导通状态,进而拉低升压电路BOOST的使能端EN的电位,控制升压电路BOOST保持不工作状态,阻止通过移动电源的内置电池为外接负载充电,而采用外接的输入电源USB_IN直接为负载充电。即,通过移动电源的充电接口USB_1接入的输入电源USB_IN经由防反偏二极管D1和采样电阻R3传输至外接负载,为外接负载充电。 During the period when the input power supply USB_IN is connected to the charging interface USB_1, if a load is inserted into the discharge interface USB_2 of the mobile power supply, at this time, the controller MCU sets the output control signal VEN to a high level, but at this time , due to the existence of the input power supply USB_IN, the gate voltage of the NMOS transistor Q1 is high and enters a saturated conduction state, and then pulls down the potential of the enable terminal EN of the boost circuit BOOST, and controls the boost circuit BOOST to maintain an inactive state. Prevent the external load from being charged by the built-in battery of the mobile power supply, and use the external input power USB_IN to directly charge the load. That is, the input power USB_IN connected through the charging interface USB_1 of the mobile power supply is transmitted to the external load through the anti-reverse bias diode D1 and the sampling resistor R3 to charge the external load.

在利用输入电源USB_IN为外接负载充电的过程中,可以同时利用输入电源USB_IN为移动电源的内置电池同步充电,也可以在外接负载充满电后,再为移动电源的内置电池充电。在采用后一种设计方式时,可以利用控制器MCU检测外接负载的充电状态,即通过采样电阻R3和电流检测芯片U1检测负载的充电电流,在充电电流小于预设的下限值时,判定负载已充满电,继而控制连接在输入电源USB_IN与电池之间的电源管理芯片启动运行,开始为移动电源的内置电池充电。 In the process of using the input power supply USB_IN to charge the external load, the input power supply USB_IN can be used to simultaneously charge the built-in battery of the mobile power supply, or the built-in battery of the mobile power supply can be charged after the external load is fully charged. When the latter design method is adopted, the controller MCU can be used to detect the charging state of the external load, that is, the charging current of the load is detected through the sampling resistor R3 and the current detection chip U1, and when the charging current is less than the preset lower limit value, it is judged The load is fully charged, and then controls the power management chip connected between the input power supply USB_IN and the battery to start running, and starts to charge the built-in battery of the mobile power supply.

当控制器MCU检测到放电接口USB_2上有负载插入,但充电接口USB_1上无输入电源USB_IN接入时,此时NMOS管Q1由于其栅极电压为低而处于截止状态,控制器MCU则因其PI02口的电位由高电平变为低电平而通过其PI01口输出高电平的控制信号VEN,继而控制升压电路BOOST使能运行,对电池电压进行升压变换后,输出充电电压(例如5V等)经由放电接口USB_2为负载充电。待负载充满电后,控制器MCU置控制信号VEN为低电平,控制升压电路BOOST停止运行,进而停止充电过程,保存电池电量。 When the controller MCU detects that there is a load inserted on the discharge interface USB_2, but there is no input power supply USB_IN on the charging interface USB_1, at this time the NMOS transistor Q1 is in the cut-off state because its gate voltage is low, and the controller MCU because of The potential of the PI02 port changes from high level to low level and outputs a high level control signal VEN through its PI01 port, and then controls the boost circuit BOOST to enable operation, and after the battery voltage is boosted, the output charging voltage ( For example, 5V, etc.) to charge the load via the discharge interface USB_2. After the load is fully charged, the controller MCU sets the control signal VEN to a low level, controls the boost circuit BOOST to stop running, and then stops the charging process to save battery power.

在本实施例中,所述充电接口USB_1和放电接口USB_2可以选用目前业内普遍使用的USB接口。为了方便消费者区分,可以选用USB插口作为所述的充电接口USB_1,选用USB插头作为所述的放电接口USB_2。当然,本实施例并不仅限于以上举例。 In this embodiment, the charging interface USB_1 and the discharging interface USB_2 may be USB interfaces commonly used in the industry at present. In order to facilitate consumers to distinguish, a USB socket can be selected as the charging interface USB_1, and a USB plug can be selected as the discharging interface USB_2. Of course, this embodiment is not limited to the above examples.

实施例二,参见图2所示,本实施例在移动电源上同样设计有用于外接输入电源的充电接口USB_1和用于外接负载的放电接口USB_2。充电接口USB_2的电源引脚VBUS与防反偏二极管D1串联后,连通放电接口USB_2的电源引脚Vbus,在充电接口USB_1上有输入电源USB_IN接入时,直接为插入到放电接口USB_2上的负载充电。 Embodiment 2, as shown in FIG. 2 , in this embodiment, a charging interface USB_1 for external input power and a discharge interface USB_2 for external load are also designed on the mobile power supply. After the power supply pin VBUS of the charging interface USB_2 is connected in series with the anti-reverse bias diode D1, the power supply pin Vbus of the discharge interface USB_2 is connected. When the input power supply USB_IN is connected to the charging interface USB_1, the load inserted into the discharge interface USB_2 is directly Charge.

为了控制移动电源的内置电池在充电接口USB_1上有输入电源USB_IN接入时,停止向外接负载充电,本实施例首先在电池连接所述放电接口USB_2的电源引脚Vbus的通路中设计了一个开关电路,所述开关电路可以采用两个PMOS管连接而成,或者直接采用一个反向串联的PMOS对管Q3进行电路设计。当然,也可以采用其他具有开关作用的电子器件连接在所述电池与放电接口USB_2的电源引脚Vbus之间,对电池输出的充电电流进行通断控制。 In order to control the built-in battery of the mobile power supply to stop charging the external load when the input power supply USB_IN is connected to the charging interface USB_1, this embodiment first designs a switch in the path where the battery is connected to the power pin Vbus of the discharge interface USB_2 circuit, the switch circuit can be formed by connecting two PMOS transistors, or directly adopt a reverse series PMOS pair transistor Q3 for circuit design. Of course, other electronic devices with switching functions can also be used to connect between the battery and the power pin Vbus of the discharge interface USB_2 to control the charging current output by the battery on and off.

本实施例以采用一个反向串联的PMOS对管Q3为例进行说明。将通过电池输出的充电电压VBAT(所述充电电压VBAT可以是电池直接输出的电压,也可以是电池电压经转换后的电压,只要所述充电电压VBAT的伏值能够满足外接负载的充电要求即可)传输至PMOS对管Q3中的第一PMOS管的源极,第一PMOS管的漏极连接第二PMOS管的漏极,第二PMOS管的源极连接放电接口USB_2的电源引脚Vbus,或者经采样电阻R3连接至放电接口USB_2的电源引脚Vbus。在每一个PMOS管中,均设置有一个寄生二极管D2、D3,所述寄生二极管D2、D3反并联在PMOS管的源极和漏极之间,即寄生二极管D2、D3的阴极连接PMOS管的源极,寄生二极管D2、D3的阳极连接PMOS管的漏极,两个PMOS管的栅极连接检测电路,利用检测电路对两个PMOS管进行通断控制。 In this embodiment, a PMOS pair transistor Q3 in reverse series is used as an example for illustration. The charging voltage VBAT output by the battery (the charging voltage VBAT can be the voltage directly output by the battery, or the voltage after the battery voltage is converted, as long as the voltage value of the charging voltage VBAT can meet the charging requirements of the external load. Can) transmit to the source of the first PMOS transistor in the PMOS pair Q3, the drain of the first PMOS transistor is connected to the drain of the second PMOS transistor, and the source of the second PMOS transistor is connected to the power supply pin Vbus of the discharge interface USB_2 , or connect to the power supply pin Vbus of the discharge interface USB_2 through the sampling resistor R3. In each PMOS transistor, a parasitic diode D2, D3 is provided, and the parasitic diode D2, D3 is connected in antiparallel between the source and the drain of the PMOS transistor, that is, the cathode of the parasitic diode D2, D3 is connected to the PMOS transistor. The source, the anodes of the parasitic diodes D2 and D3 are connected to the drains of the PMOS transistors, the gates of the two PMOS transistors are connected to the detection circuit, and the detection circuit is used to control the on-off of the two PMOS transistors.

在本实施例的检测电路中设置有第一NMOS管Q1、第二NMOS管Q2和控制电路,所述控制电路可以仿照实施例一中的控制电路的设计方式,即包括控制器MCU、上拉电阻R1、采样电阻R3和电流检测芯片U1等主要部分,用于实现外接负载的插入检测以及负载是否充满电的检测判断。所述控制电路的具体连接关系可参见实施例一中的相关描述。 The detection circuit of this embodiment is provided with a first NMOS transistor Q1, a second NMOS transistor Q2 and a control circuit, and the control circuit can follow the design method of the control circuit in Embodiment 1, that is, it includes a controller MCU, a pull-up The main parts such as resistor R1, sampling resistor R3 and current detection chip U1 are used to realize the insertion detection of an external load and the detection and judgment of whether the load is fully charged. For the specific connection relationship of the control circuit, refer to the relevant description in the first embodiment.

利用通过充电接口USB_1接入的输入电源USB_IN对第一NMOS管Q1进行通断控制,具体可以在第一NMOS管Q1的栅极上连接分压电阻R4、R5,利用分压电阻R4、R5对输入电源USB_IN进行分压后,施加到第一NMOS管Q1的栅极,控制第一NMOS管Q1通断。将所述第一NMOS管Q1的源极接地,漏极连接第二NMOS管Q2的栅极。所述第二NMOS管Q2的栅极同时连接控制器MCU的PI01口,接收控制器MCU输出的控制信号VEN。将所述第二NMOS管Q2的源极接地,漏极连接所述PMOS对管Q3的栅极,并通过电阻R6连接PMOS对管Q3的漏极。 Use the input power supply USB_IN connected through the charging interface USB_1 to perform on-off control on the first NMOS transistor Q1. Specifically, the gate of the first NMOS transistor Q1 can be connected to the voltage dividing resistors R4 and R5, and the voltage dividing resistors R4 and R5 can be used to control the After the input power supply USB_IN is divided, it is applied to the gate of the first NMOS transistor Q1 to control the first NMOS transistor Q1 to be turned on and off. The source of the first NMOS transistor Q1 is grounded, and the drain is connected to the gate of the second NMOS transistor Q2. The gate of the second NMOS transistor Q2 is connected to the PI01 port of the controller MCU at the same time, and receives the control signal VEN output by the controller MCU. The source of the second NMOS transistor Q2 is grounded, the drain is connected to the gate of the PMOS pair transistor Q3, and the drain of the PMOS pair transistor Q3 is connected through a resistor R6.

下面结合图2,对本实施例的移动电源的具体工作原理进行详细说明。 The specific working principle of the mobile power supply of this embodiment will be described in detail below with reference to FIG. 2 .

移动电源在启动运行后,控制器MCU根据其PI02口的高低电平状态,判断充电接口USB_2上是否有负载插入,若无负载插入,则置控制信号VEN为低电平,控制第二NMOS管Q2截止,继而使PMOS对管Q3保持关断状态,切断电池向充电接口USB_2的电流通路。此时,若移动电源的充电接口USB_1上无输入电源USB_IN接入,则移动电源处于待机状态;若充电接口USB_1上有输入电源USB_IN接入,则进入移动电源自充电过程,即利用接入的输入电源USB_IN为移动电源的内置电池充电。具体可以在移动电源中内置电源管理芯片,连接在充电接口USB_1与电池之间,对电池的充电进程进行控制。 After the mobile power supply is started and running, the controller MCU judges whether there is a load inserted into the charging interface USB_2 according to the high or low level state of its PI02 port. If there is no load inserted, it sets the control signal VEN to a low level to control the second NMOS tube. Q2 is turned off, and then the PMOS transistor Q3 is kept in the off state, cutting off the current path from the battery to the charging interface USB_2. At this time, if there is no input power supply USB_IN connected to the charging interface USB_1 of the mobile power supply, the mobile power supply is in the standby state; The input power USB_IN charges the built-in battery of the power bank. Specifically, a power management chip can be built in the mobile power supply and connected between the charging interface USB_1 and the battery to control the charging process of the battery.

在充电接口USB_1上有输入电源USB_IN接入的期间内,若有负载插入到移动电源的放电接口USB_2上,则此时,控制器MCU置其输出的控制信号VEN为高电平,但此时,由于输入电源USB_IN的存在,使第一NMOS管Q1的栅极电压为高而进入饱和导通状态,进而拉低第二NMOS管Q2的栅极电位,使第二NMOS管Q2处于截止状态,控制PMOS对管Q3保持关断状态,阻止通过移动电源的内置电池为外接负载充电,而采用外接的输入电源USB_IN直接为负载充电。即,通过移动电源的充电接口USB_1接入的输入电源USB_IN经由防反偏二极管D1和采样电阻R3传输至外接负载,为外接负载充电。此时,由于寄生二极管D3的存在,可以阻止输入电源USB_IN经由PMOS对管Q3流向电池。 During the period when the input power supply USB_IN is connected to the charging interface USB_1, if a load is inserted into the discharge interface USB_2 of the mobile power supply, at this time, the controller MCU sets the output control signal VEN to a high level, but at this time , due to the existence of the input power supply USB_IN, the gate voltage of the first NMOS transistor Q1 is high and enters a saturated conduction state, and then the gate potential of the second NMOS transistor Q2 is pulled down, so that the second NMOS transistor Q2 is in an off state, Control the PMOS to keep the transistor Q3 in the off state, prevent the external load from being charged by the built-in battery of the mobile power supply, and use the external input power supply USB_IN to directly charge the load. That is, the input power USB_IN connected through the charging interface USB_1 of the mobile power supply is transmitted to the external load through the anti-reverse bias diode D1 and the sampling resistor R3 to charge the external load. At this time, due to the existence of the parasitic diode D3, the input power USB_IN can be prevented from flowing to the battery through the PMOS transistor Q3.

当控制器MCU检测到放电接口USB_2上有负载插入,但充电接口USB_1上无输入电源USB_IN接入时,此时第一NMOS管Q1由于其栅极电压为低而进入截止状态,控制器MCU则因其PI02口的电位由高电平变为低电平而通过其PI01口输出高电平的控制信号VEN,继而控制第二NMOS管Q2饱和导通,拉低PMOS对管Q3的栅极电位,控制PMOS对管Q3导通,接通电池与放电接口USB_2之间的充电回路,利用电池为外接负载充电。待负载充满电后,控制器MCU置控制信号VEN为低电平,控制第二NMOS管Q2截止,进而使PMOS对管Q3关断,停止电池向外接负载的充电过程,以节约电池电量。 When the controller MCU detects that there is a load inserted into the discharge interface USB_2, but there is no input power supply USB_IN connected to the charging interface USB_1, at this time the first NMOS transistor Q1 enters the cut-off state because its gate voltage is low, and the controller MCU then Because the potential of the PI02 port changes from high level to low level, the high level control signal VEN is output through the PI01 port, and then the second NMOS transistor Q2 is controlled to be saturated and turned on, and the gate potential of the PMOS transistor Q3 is lowered. , control the conduction of the PMOS transistor Q3, connect the charging circuit between the battery and the discharge interface USB_2, and use the battery to charge the external load. After the load is fully charged, the controller MCU sets the control signal VEN to a low level, controls the second NMOS transistor Q2 to turn off, and then turns off the PMOS transistor Q3 to stop the charging process of the battery to the external load to save battery power.

实施例三,参见图3所示,本实施例在移动电源上同样设计有用于外接输入电源的充电接口USB_1和用于外接负载的放电接口USB_2。充电接口USB_2的电源引脚VBUS与防反偏二极管D1串联后,连通放电接口USB_2的电源引脚Vbus,在充电接口USB_1上有输入电源USB_IN接入时,直接为插入到放电接口USB_2上的负载充电。 Embodiment 3, as shown in FIG. 3 , in this embodiment, a charging interface USB_1 for external input power and a discharge interface USB_2 for external load are also designed on the mobile power supply. After the power supply pin VBUS of the charging interface USB_2 is connected in series with the anti-reverse bias diode D1, the power supply pin Vbus of the discharge interface USB_2 is connected. When the input power supply USB_IN is connected to the charging interface USB_1, the load inserted into the discharge interface USB_2 is directly Charge.

为了控制移动电源的内置电池在充电接口USB_1上有输入电源USB_IN接入时,停止向外接负载充电,本实施例在电池连接所述放电接口USB_2的电源引脚Vbus的通路中设计了一个升压电路BOOST和一个开关电路,所述升压电路BOOST可以由分立元件组建而成,也可以直接选用集成芯片进行电路设计。将所述升压电路BOOST的输入端VIN连接至电池的正极BATTERY+,输出端VOUT连接所述开关电路,并通过所述开关电路连通放电接口USB_2的电源引脚Vbus。将升压电路BOOST的使能端EN与开关电路的控制端连接至检测电路,利用检测电路对升压电路BOOST的工作状态以及开关电路的通断状态进行控制。 In order to control the built-in battery of the mobile power supply to stop charging the external load when the input power supply USB_IN is connected to the charging interface USB_1, this embodiment designs a boost in the path where the battery is connected to the power pin Vbus of the discharge interface USB_2 The circuit BOOST and a switch circuit, the boost circuit BOOST can be formed by discrete components, or integrated chips can be directly selected for circuit design. The input terminal VIN of the boost circuit BOOST is connected to the positive pole BATTERY+ of the battery, the output terminal VOUT is connected to the switch circuit, and connected to the power pin Vbus of the discharge interface USB_2 through the switch circuit. Connect the enable end EN of the boost circuit BOOST and the control end of the switch circuit to the detection circuit, and use the detection circuit to control the working state of the boost circuit BOOST and the on-off state of the switch circuit.

在本实施例中,所述开关电路可以仿照实施例二中的开关电路的设计方式,即采用两个PMOS管或者一个PMOS对管Q3或者其他具有开关作用且支持较大电流通过的开关元件设计而成。本实施例仍以一个PMOS对管Q3为例进行说明,其连接关系与实施例二的不同之处仅在于将第一PMOS管的源极连接至升压电路BOOST的输出端VOUT。 In this embodiment, the switching circuit can be designed in the same manner as the switching circuit in Embodiment 2, that is, two PMOS transistors or a PMOS pair transistor Q3 or other switching elements that have a switching function and support the passage of a large current are designed. made. In this embodiment, a PMOS transistor Q3 is still used as an example for illustration, and its connection relationship is different from that of Embodiment 2 only in that the source of the first PMOS transistor is connected to the output terminal VOUT of the boost circuit BOOST.

本实施例的检测电路可以采用如实施例二中的检测电路相同设计方式,即,将第一NMOS管Q1的栅极经由分压电阻R4、R5连接输入电源USB_IN,源极接地,漏极连接第二NMOS管Q2的栅极。将所述第二NMOS管Q2的栅极分别与升压电路BOOST的使能端EN以及控制器MCU的PI01口相连接,接收控制器MCU输出的控制信号VEN。将所述第二NMOS管Q2的源极接地,漏极连接所述PMOS对管Q3的栅极,并通过电阻R6连接PMOS对管Q3的漏极。 The detection circuit of this embodiment can be designed in the same manner as the detection circuit in Embodiment 2, that is, the gate of the first NMOS transistor Q1 is connected to the input power supply USB_IN through the voltage dividing resistors R4 and R5, the source is grounded, and the drain is connected to The gate of the second NMOS transistor Q2. Connect the gate of the second NMOS transistor Q2 to the enable terminal EN of the boost circuit BOOST and the PI01 port of the controller MCU to receive the control signal VEN output by the controller MCU. The source of the second NMOS transistor Q2 is grounded, the drain is connected to the gate of the PMOS pair transistor Q3, and the drain of the PMOS pair transistor Q3 is connected through a resistor R6.

下面结合图3,对本实施例的移动电源的具体工作原理进行详细说明。 The specific working principle of the mobile power supply of this embodiment will be described in detail below with reference to FIG. 3 .

移动电源在启动运行后,控制器MCU根据其PI02口的高低电平状态,判断充电接口USB_2上是否有负载插入,若无负载插入,则置控制信号VEN为低电平,控制升压电路BOOST处于不工作状态,并控制第二NMOS管Q2截止,继而使PMOS对管Q3保持关断状态,以切断电池向充电接口USB_2的电流通路。此时,若移动电源的充电接口USB_1上无输入电源USB_IN接入,则移动电源处于待机状态;若充电接口USB_1上有输入电源USB_IN接入,则进入移动电源自充电过程,即利用接入的输入电源USB_IN为移动电源的内置电池充电。 After the mobile power supply is started and running, the controller MCU judges whether there is a load inserted into the charging interface USB_2 according to the high and low level status of its PI02 port. If there is no load inserted, the control signal VEN is set to low level to control the boost circuit BOOST It is in the non-working state, and controls the second NMOS transistor Q2 to be cut off, and then keeps the PMOS transistor Q3 in the off state, so as to cut off the current path from the battery to the charging interface USB_2. At this time, if there is no input power supply USB_IN connected to the charging interface USB_1 of the mobile power supply, the mobile power supply is in the standby state; The input power USB_IN charges the built-in battery of the power bank.

在充电接口USB_1上有输入电源USB_IN接入的期间内,若控制器MCU检测到有负载插入到移动电源的放电接口USB_2上,则此时,控制器MCU置其输出的控制信号VEN为高电平,但此时,由于输入电源USB_IN的存在,使第一NMOS管Q1的栅极电压为高而进入饱和导通状态,进而拉低升压电路BOOST的使能端EN电位,并使第二NMOS管Q2的栅极电位为低。由于升压电路BOOST的使能端EN为低电平,因此升压电路BOOST停止运行,同时由于第二NMOS管Q2的栅极电位为低,因而第二NMOS管Q2处于截止状态,继而控制PMOS对管Q3保持关断状态,阻断电池向外接负载的充电通路,而采用外接的输入电源USB_IN直接为负载充电。 During the period when the input power supply USB_IN is connected to the charging interface USB_1, if the controller MCU detects that a load is inserted into the discharge interface USB_2 of the mobile power supply, at this time, the controller MCU sets the output control signal VEN to a high voltage. However, at this time, due to the existence of the input power supply USB_IN, the gate voltage of the first NMOS transistor Q1 is high and enters a saturated conduction state, and then pulls down the EN potential of the enable terminal EN of the boost circuit BOOST, and makes the second The gate potential of the NMOS transistor Q2 is low. Since the enable terminal EN of the boost circuit BOOST is at a low level, the boost circuit BOOST stops operating, and at the same time, because the gate potential of the second NMOS transistor Q2 is low, the second NMOS transistor Q2 is in an off state, and then controls the PMOS The tube Q3 is kept in the off state to block the charging path from the battery to the external load, and the external input power supply USB_IN is used to directly charge the load.

当控制器MCU检测到放电接口USB_2上有负载插入,但充电接口USB_1上无输入电源USB_IN接入时,此时第一NMOS管Q1由于其栅极电压为低而进入截止状态,控制器MCU则因其PI02口的电位由高电平变为低电平而通过其PI01口输出高电平的控制信号VEN,继而控制升压电路BOOST使能运行,并使第二NMOS管Q2饱和导通,拉低PMOS对管Q3的栅极电位,控制PMOS对管Q3导通。此时,电池电压经由升压电路BOOST进行升压变换后,通过PMOS对管Q3中的第一PMOS的源极、漏极以及第二PMOS管的寄生二极管D3,并经由采样电阻R3传输至放电接口USB_2,为插入到放电接口USB_2上的负载充电。待负载充满电后,控制器MCU置控制信号VEN为低电平,控制升压电路BOOST停止运行,并控制第二NMOS管Q2截止,进而使PMOS对管Q3关断,停止电池向外接负载的充电过程,以节约电池电量。 When the controller MCU detects that there is a load inserted into the discharge interface USB_2, but there is no input power supply USB_IN connected to the charging interface USB_1, at this time the first NMOS transistor Q1 enters the cut-off state because its gate voltage is low, and the controller MCU then Because the potential of the PI02 port changes from high level to low level, a high level control signal VEN is output through its PI01 port, and then the booster circuit BOOST is controlled to enable operation, and the second NMOS transistor Q2 is saturated and turned on. The gate potential of the PMOS pair transistor Q3 is pulled down to control the PMOS pair transistor Q3 to be turned on. At this time, after the battery voltage is boosted and transformed by the boost circuit BOOST, it passes through the source and drain of the first PMOS in the PMOS transistor Q3 and the parasitic diode D3 of the second PMOS transistor, and is transmitted to the discharge terminal via the sampling resistor R3. The interface USB_2 charges the load inserted into the discharge interface USB_2. After the load is fully charged, the controller MCU sets the control signal VEN to a low level, controls the booster circuit BOOST to stop running, and controls the second NMOS transistor Q2 to cut off, and then turns off the PMOS transistor Q3 to stop the battery from connecting the load to the outside. Charging process to save battery power.

在利用输入电源USB_IN为外接负载充电的过程中,同样可以利用输入电源USB_IN同时为移动电源的内置电池进行同步充电,也可以在外接负载充满电后,再为移动电源的内置电池充电。对于所述的充电接口USB_1和放电接口USB_2,同样可以选用目前业内普遍使用的USB接口。为了方便消费者区分,可以选用USB插口作为所述的充电接口USB_1,选用USB插头作为所述的放电接口USB_2。当然,本实施例并不仅限于以上举例。 In the process of using the input power supply USB_IN to charge the external load, the input power supply USB_IN can also be used to simultaneously charge the built-in battery of the mobile power supply, or the built-in battery of the mobile power supply can be charged after the external load is fully charged. For the charging interface USB_1 and the discharging interface USB_2, the USB interfaces generally used in the industry can also be selected. In order to facilitate consumers to distinguish, a USB socket can be selected as the charging interface USB_1, and a USB plug can be selected as the discharging interface USB_2. Of course, this embodiment is not limited to the above examples.

当然,对于检测电路中的NMOS管Q1、Q2也可以选用NPN型三极管、可控硅或者其他开关元件进行替换,本实施例对此不进行具体限制。 Of course, the NMOS transistors Q1 and Q2 in the detection circuit can also be replaced by NPN transistors, thyristors or other switching elements, which is not specifically limited in this embodiment.

本实用新型所提出的移动电源充电电路结构简单,成本低,性能可靠,功耗低,适合应用在各种移动电源产品中。 The mobile power charging circuit proposed by the utility model has the advantages of simple structure, low cost, reliable performance and low power consumption, and is suitable for application in various mobile power products.

当然,上述说明并非是对本实用新型的限制,本实用新型也并不仅限于上述举例,本技术领域的普通技术人员在本实用新型的实质范围内所做出的变化、改型、添加或替换,也应属于本实用新型的保护范围。 Of course, the above description is not a limitation of the present utility model, and the present utility model is not limited to the above-mentioned examples. Those of ordinary skill in the art may make changes, modifications, additions or replacements within the essential scope of the present utility model. It should also belong to the protection scope of the present utility model.

Claims (10)

1.一种用于移动电源的充电电路,包括用于接收外部输入电源的充电接口、用于外接负载的放电接口、用于储存电能的内置电池以及用于检测所述充电接口和放电接口的插接状态的检测电路;其特征在于:所述检测电路在检测到所述充电接口上有输入电源接入时,切断所述电池向所述放电接口的电流输出;所述输入电源连通放电接口的电源引脚,在所述放电接口上有负载接入时,为所述负载充电。 1. A charging circuit for a mobile power supply, comprising a charging interface for receiving an external input power supply, a discharge interface for an external load, a built-in battery for storing electric energy, and a device for detecting the charging interface and the discharging interface A detection circuit for a plugged state; it is characterized in that: the detection circuit cuts off the current output of the battery to the discharge interface when it detects that the input power is connected to the charging interface; the input power is connected to the discharge interface When a load is connected to the discharge interface, the power supply pin charges the load. 2.根据权利要求1所述的用于移动电源的充电电路,其特征在于:所述电池连接一升压电路,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述升压电路停止运行,以切断所述电池向所述放电接口的电流输出。 2. The charging circuit for a mobile power supply according to claim 1, wherein the battery is connected to a boost circuit, and the detection circuit outputs The signal controls the step-up circuit to stop running, so as to cut off the current output of the battery to the discharge interface. 3.根据权利要求2所述的用于移动电源的充电电路,其特征在于:在所述检测电路中设置有一NMOS管,所述NMOS管的栅极接收所述的输入电源,源极接地,漏极连接升压电路的使能引脚,所述升压电路在其使能引脚的电位为低时停止运行。 3. The charging circuit for mobile power according to claim 2, characterized in that: an NMOS transistor is arranged in the detection circuit, the gate of the NMOS transistor receives the input power, the source is grounded, The drain is connected to the enable pin of the boost circuit, and the boost circuit stops running when the potential of the enable pin is low. 4.根据权利要求1所述的用于移动电源的充电电路,其特征在于:所述电池在连通所述放电接口的通路中设置有一开关电路,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述开关电路切断所述通路,以切断所述电池向所述放电接口的电流输出。 4. The charging circuit for mobile power supply according to claim 1, characterized in that: the battery is provided with a switch circuit in the path connected to the discharge interface, and the detection circuit detects that the charging interface is connected to the charging circuit. When the input power is connected, the output signal controls the switch circuit to cut off the path, so as to cut off the current output of the battery to the discharge interface. 5.根据权利要求4所述的用于移动电源的充电电路,其特征在于: 5. The charging circuit for mobile power supply according to claim 4, characterized in that: 在所述开关电路中设置有第一PMOS管和第二PMOS管,通过所述电池输出的电流传输至第一PMOS管的源极,第一PMOS管的漏极连接第二PMOS管的漏极,第二PMOS管的源极连通所述放电接口的电源引脚,在每一个PMOS管的源极和漏极之间均连接有反并联的寄生二极管,第一PMOS管和第二PMOS管的栅极连接所述检测电路; The switch circuit is provided with a first PMOS transistor and a second PMOS transistor, the current output by the battery is transmitted to the source of the first PMOS transistor, and the drain of the first PMOS transistor is connected to the drain of the second PMOS transistor , the source of the second PMOS tube is connected to the power supply pin of the discharge interface, and an antiparallel parasitic diode is connected between the source and drain of each PMOS tube, and the first PMOS tube and the second PMOS tube The gate is connected to the detection circuit; 在所述检测电路中设置有第一NMOS管和第二NMOS管,第一NMOS管的栅极接收所述的输入电源,源极接地,漏极连接第二NMOS管的栅极;第二NMOS管的源极接地,漏极连接所述第一PMOS管和第二PMOS管的栅极。 A first NMOS transistor and a second NMOS transistor are arranged in the detection circuit, the gate of the first NMOS transistor receives the input power supply, the source is grounded, and the drain is connected to the gate of the second NMOS transistor; The source of the transistor is grounded, and the drain is connected to the gates of the first PMOS transistor and the second PMOS transistor. 6.根据权利要求5所述的用于移动电源的充电电路,其特征在于:在所述检测电路中还设置有一控制电路,所述控制电路连接放电接口的状态引脚和电源引脚,在检测到所述充电接口上有负载接入并且所述负载尚未充满电时,输出高电平的控制信号至所述第二NMOS管的栅极。 6. The charging circuit for mobile power supply according to claim 5, characterized in that: a control circuit is also provided in the detection circuit, the control circuit is connected to the status pin and the power pin of the discharge interface, and the When it is detected that a load is connected to the charging interface and the load is not fully charged, output a high-level control signal to the gate of the second NMOS transistor. 7.根据权利要求1所述的用于移动电源的充电电路,其特征在于:所述电池连接一升压电路的输入端,升压电路的输出端通过一开关电路连通所述放电接口的电源引脚,所述检测电路在检测到所述充电接口上有输入电源接入时,输出信号控制所述升压电路停止运行并控制所述开关电路关断,以切断所述电池向所述放电接口的电流输出。 7. The charging circuit for a mobile power supply according to claim 1, wherein the battery is connected to an input terminal of a boost circuit, and the output terminal of the boost circuit is connected to the power supply of the discharge interface through a switch circuit pin, when the detection circuit detects that there is an input power supply on the charging interface, the output signal controls the step-up circuit to stop running and controls the switch circuit to turn off, so as to cut off the discharge of the battery to the Interface current output. 8.根据权利要求7所述的用于移动电源的充电电路,其特征在于: 8. The charging circuit for mobile power according to claim 7, characterized in that: 在所述开关电路中设置有第一PMOS管和第二PMOS管,第一PMOS管的源极连接所述升压电路的输出端,第一PMOS管的漏极连接第二PMOS管的漏极,第二PMOS管的源极连通所述放电接口的电源引脚,在每一个PMOS管的源极和漏极之间均连接有反并联的寄生二极管,第一PMOS管和第二PMOS管的栅极连接所述检测电路; A first PMOS transistor and a second PMOS transistor are arranged in the switch circuit, the source of the first PMOS transistor is connected to the output terminal of the boost circuit, and the drain of the first PMOS transistor is connected to the drain of the second PMOS transistor , the source of the second PMOS tube is connected to the power supply pin of the discharge interface, and an antiparallel parasitic diode is connected between the source and drain of each PMOS tube, and the first PMOS tube and the second PMOS tube The gate is connected to the detection circuit; 在所述检测电路中设置有第一NMOS管和第二NMOS管,第一NMOS管的栅极接收所述的输入电源,源极接地,漏极分别连接所述升压电路的使能引脚和第二NMOS管的栅极;所述第二NMOS管的源极接地,漏极连接所述第一PMOS管和第二PMOS管的栅极。 A first NMOS transistor and a second NMOS transistor are arranged in the detection circuit, the gate of the first NMOS transistor receives the input power supply, the source is grounded, and the drain is respectively connected to the enable pin of the boost circuit and the gate of the second NMOS transistor; the source of the second NMOS transistor is grounded, and the drain is connected to the gates of the first PMOS transistor and the second PMOS transistor. 9.根据权利要求8所述的用于移动电源的充电电路,其特征在于:在所述检测电路中还设置有一控制电路,所述控制电路连接放电接口的状态引脚和电源引脚,在检测到所述充电接口上有负载接入并且所述负载尚未充满电时,输出高电平的控制信号分别传输至所述升压电路的使能引脚以及所述第二NMOS管的栅极。 9. The charging circuit for mobile power supply according to claim 8, characterized in that: a control circuit is also provided in the detection circuit, the control circuit is connected to the status pin and the power pin of the discharge interface, and the When it is detected that a load is connected to the charging interface and the load is not fully charged, output a high-level control signal and transmit it to the enable pin of the boost circuit and the gate of the second NMOS transistor respectively . 10.一种移动电源,其特征在于:设置有如权利要求1至9中任一项所述的用于移动电源的充电电路。 10. A mobile power supply, characterized in that it is provided with a charging circuit for a mobile power supply according to any one of claims 1 to 9.
CN201520551140.8U 2015-07-28 2015-07-28 A charging circuit and portable power source for portable power source Expired - Fee Related CN204794261U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520551140.8U CN204794261U (en) 2015-07-28 2015-07-28 A charging circuit and portable power source for portable power source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520551140.8U CN204794261U (en) 2015-07-28 2015-07-28 A charging circuit and portable power source for portable power source

Publications (1)

Publication Number Publication Date
CN204794261U true CN204794261U (en) 2015-11-18

Family

ID=54534239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520551140.8U Expired - Fee Related CN204794261U (en) 2015-07-28 2015-07-28 A charging circuit and portable power source for portable power source

Country Status (1)

Country Link
CN (1) CN204794261U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634060A (en) * 2016-01-27 2016-06-01 深圳市思远半导体有限公司 Charge-discharge system and charge-discharge method for mobile power supply
CN106410905A (en) * 2016-10-25 2017-02-15 歌尔科技有限公司 Power supply control circuit for portable power source and portable power source
CN110311429A (en) * 2018-03-27 2019-10-08 深圳市美好创亿医疗科技有限公司 Low-power dissipation power supply management system and management method
CN112014654B (en) * 2019-05-29 2023-06-23 惠州拓邦电气技术有限公司 Power supply port load detection circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634060A (en) * 2016-01-27 2016-06-01 深圳市思远半导体有限公司 Charge-discharge system and charge-discharge method for mobile power supply
CN105634060B (en) * 2016-01-27 2018-04-24 深圳市思远半导体有限公司 The charge-discharge system and its method of mobile power
CN106410905A (en) * 2016-10-25 2017-02-15 歌尔科技有限公司 Power supply control circuit for portable power source and portable power source
CN106410905B (en) * 2016-10-25 2023-08-04 歌尔科技有限公司 Power supply control circuit for mobile power supply and mobile power supply
CN110311429A (en) * 2018-03-27 2019-10-08 深圳市美好创亿医疗科技有限公司 Low-power dissipation power supply management system and management method
CN112014654B (en) * 2019-05-29 2023-06-23 惠州拓邦电气技术有限公司 Power supply port load detection circuit

Similar Documents

Publication Publication Date Title
CN104967191B (en) For the charging circuit and portable power source of portable power source
CN103607009B (en) A kind of charge-discharge circuit with automatic protection functions
US20150027466A1 (en) Usb charger for an electronic cigarette
CN203522260U (en) Cell power-supplying control circuit and a double-power-supply power supplying device
CN103296880B (en) Low-power-consumption boost DC-DC converter started at ultralow voltage
CN101179198A (en) A synchronous rectification battery charging circuit and its protection circuit
CN205355935U (en) Dual supply automatic switchover power supply and prevent circuit that power joins conversely
CN102761239B (en) Constant current and voltage starting circuit of switch power supply controller
CN206742951U (en) A kind of electric equipment and its timing continuation of the journey and restoring circuit
CN204794261U (en) A charging circuit and portable power source for portable power source
CN103699200A (en) Power-off control circuit and electronic product
CN206559133U (en) Power supply switch circuit
CN102739044B (en) DC/DC boost converter and LED driver
CN205304393U (en) Little incessant stand -by power supply switching circuit of consumption
CN104062907A (en) Low power consumption standby circuit and air conditioner comprising same
CN203481855U (en) Portable power supply device
CN201167243Y (en) Charging circuit and mobile communication device having said charging circuit
CN204118850U (en) A kind of flowmeter electric power system
CN103457314A (en) Control chip for charging and boosting discharging of switch-type single lithium battery
CN103117649A (en) Method and device of starting circuit control with zero power consumption
CN211351757U (en) A low-power standby circuit, mobile power supply and robot
CN104821653A (en) Ammeter and power supply circuit therein, and power supply control method inside the ammeter
CN206820654U (en) A kind of boost control circuit
CN204465135U (en) The power supply circuits of ammeter and inside thereof
CN203734530U (en) Grading starting type mining intrinsic safety power supply

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151118

CF01 Termination of patent right due to non-payment of annual fee