CN208174340U - The power supply circuit and electronic product of portable electronic product with OTG function - Google Patents

The power supply circuit and electronic product of portable electronic product with OTG function Download PDF

Info

Publication number
CN208174340U
CN208174340U CN201820782845.4U CN201820782845U CN208174340U CN 208174340 U CN208174340 U CN 208174340U CN 201820782845 U CN201820782845 U CN 201820782845U CN 208174340 U CN208174340 U CN 208174340U
Authority
CN
China
Prior art keywords
battery
switch
power supply
power
electronic product
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.)
Active
Application number
CN201820782845.4U
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.)
Goertek Techology Co Ltd
Original Assignee
Weifang Goertek Electronics 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 Weifang Goertek Electronics Co Ltd filed Critical Weifang Goertek Electronics Co Ltd
Priority to CN201820782845.4U priority Critical patent/CN208174340U/en
Application granted granted Critical
Publication of CN208174340U publication Critical patent/CN208174340U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

本实用新型公开了一种具有OTG功能的便携式电子产品的供电电路及电子产品,包括接口、第一电池、第二电池、充电芯片、升压电路和应用处理器;所述接口用于外接OTG设备或充电器,包括电源引脚和检测引脚;所述充电芯片的电源输入端通过第一开关连接所述电源引脚,其中一个电源输出端连接第一电池,另外一个电源输出端通过第三开关连接第二电池;所述升压电路的输入端连接所述第二电池,输出端通过第二开关连接所述电源引脚;所述应用处理器根据所述检测引脚的电平状态检测出外接设备的类型,根据外接设备的类型控制三个开关的通断状态。本实用新型可以有效解决便携式电子产品的传统单电池供电设计在产品外接OTG设备时供电能力不足的问题。

The utility model discloses a power supply circuit of a portable electronic product with an OTG function and the electronic product, comprising an interface, a first battery, a second battery, a charging chip, a boost circuit and an application processor; the interface is used for externally connecting the OTG The device or charger includes a power supply pin and a detection pin; the power input terminal of the charging chip is connected to the power supply pin through the first switch, one of the power output terminals is connected to the first battery, and the other power output terminal is connected to the first battery through the first switch. The three switches are connected to the second battery; the input terminal of the boost circuit is connected to the second battery, and the output terminal is connected to the power supply pin through the second switch; the application processor according to the level state of the detection pin The type of the external device is detected, and the on-off status of the three switches is controlled according to the type of the external device. The utility model can effectively solve the problem of insufficient power supply capacity when the traditional single battery power supply design of the portable electronic product is externally connected to an OTG device.

Description

具有OTG功能的便携式电子产品的供电电路及电子产品Power supply circuit and electronic products of portable electronic products with OTG function

技术领域technical field

本实用新型属于便携式电子产品技术领域,具体地说,是涉及一种应用于便携式电子产品中的供电电路的线路设计。The utility model belongs to the technical field of portable electronic products, and in particular relates to a circuit design of a power supply circuit applied in portable electronic products.

背景技术Background technique

随着便携式电子技术的快速发展,便携式电子产品的种类日益繁多,例如手机、平板电脑、MP3、数码相机、VR产品(虚拟现实产品)、AR产品(增强现实产品)等。这些电子产品目前普遍采用USB接口作为充电和数据传输接口,支持热插拔功能,具有高达480Mbps甚至以上的数据传输速率,且具有数据传输稳定等特点。但是,USB标准是围绕PC 而开发的一套通用接口标准,不支持非PC的点对点连接,任何两个外设之间或者两个主机之间无法直接通信,仅支持主设备与从设备之间的数据访问功能。而OTG(On-The-Go的英文缩写)技术可以用于各种不同设备之间的联接,实现不同设备之间的数据交换。因此,OTG设备既可以充当主设备,也可以作为从设备进行操作,能够实现在无PC的情况下两个OTG 设备的直接相连,实现点对点的通信。因此,在目前的某些便携式电子产品中开始应用OTG技术。With the rapid development of portable electronic technology, there are more and more types of portable electronic products, such as mobile phones, tablet computers, MP3, digital cameras, VR products (virtual reality products), AR products (augmented reality products), etc. These electronic products currently generally use USB ports as charging and data transmission interfaces, support hot-swappable functions, have a data transmission rate of up to 480Mbps or more, and have the characteristics of stable data transmission. However, the USB standard is a set of general interface standards developed around PCs. It does not support non-PC point-to-point connections. It cannot communicate directly between any two peripherals or between two hosts. It only supports between the master device and the slave device. data access functionality. And OTG (the English abbreviation of On-The-Go) technology can be used in the connection between various different equipments, realize the data exchange between different equipments. Therefore, the OTG device can act as a master device or operate as a slave device, so that two OTG devices can be directly connected without a PC and realize point-to-point communication. Therefore, OTG technology has been applied in some current portable electronic products.

现有的便携式电子产品,通常采用单电池供电的线路设计,即,利用一块电池对电子产品的整套系统电路供电。而OTG设备因功能定位不同,其工作电流一般在几百毫安左右。当便携式电子产品外接OTG设备时,需要对外接设备提供5V电源。而某些便携式电子产品本身运行时的功耗就比较大,例如VR/AR一体机中的电池需要对其内部的应用处理器、射频模块、编解码模块、显示屏等多个负载供电,继而经常会出现某些便携式电子产品无法向外部OTG设备提供足够电流的情况,导致与其外接的OTG设备无法正常工作,尤其是在电池电量较低的情况下,甚至会导致便携式电子产品因功耗过大而关机,同时引起整机发热量过高等问题,严重影响了用户的使用体验。Existing portable electronic products usually adopt a circuit design powered by a single battery, that is, a battery is used to supply power to the entire system circuit of the electronic product. However, due to different functional positioning of OTG equipment, its operating current is generally around several hundred milliamperes. When a portable electronic product is connected to an OTG device, a 5V power supply needs to be provided to the external device. However, some portable electronic products consume relatively large power consumption during operation. For example, the battery in a VR/AR all-in-one machine needs to supply power to multiple loads such as its internal application processor, radio frequency module, codec module, and display screen. It often happens that some portable electronic products cannot provide enough current to the external OTG device, resulting in the failure of the external OTG device to work normally, especially when the battery power is low, and even cause the portable electronic product to fail due to excessive power consumption. It is too large to shut down, and at the same time, it causes problems such as excessive heat generation of the whole machine, which seriously affects the user experience.

发明内容Contents of the invention

本实用新型针对具有OTG功能的便携式电子产品提出了一种全新的供电电路设计,有效解决了便携式电子产品在外接OTG设备工作时,供电能力不足的问题。The utility model proposes a brand-new power supply circuit design for portable electronic products with OTG functions, which effectively solves the problem of insufficient power supply capacity when the portable electronic products work with external OTG devices.

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

一方面,本实用新型提出了一种具有OTG功能的便携式电子产品的供电电路,包括接口、第一电池、第二电池、充电芯片、升压电路和应用处理器;所述接口用于外接OTG设备或充电器,包括电源引脚和检测引脚;所述充电芯片包括一个电源输入端和两个电源输出端,所述电源输入端通过第一开关连接所述接口的电源引脚,所述两个电源输出端的其中一个连接第一电池,另外一个通过第三开关连接第二电池;所述升压电路的输入端连接所述第二电池,输出端通过第二开关连接所述接口的电源引脚;所述应用处理器根据所述接口的检测引脚的电平状态检测出外接设备的类型,若所述接口外接充电器,则所述应用处理器控制所述第一开关和第三开关闭合,第二开关断开,并控制所述充电芯片运行,对所述第一电池和第二电池充电;若所述接口外接OTG设备,则所述应用处理器控制所述第一开关和第三开关断开,第二开关闭合,并控制所述升压电路运行,将第二电池的输出电压升压到OTG设备所需的供电电压,通过所述接口为外接OTG设备供电。On the one hand, the utility model proposes a power supply circuit of a portable electronic product with an OTG function, including an interface, a first battery, a second battery, a charging chip, a boost circuit and an application processor; the interface is used for connecting an OTG The device or charger includes a power pin and a detection pin; the charging chip includes a power input terminal and two power output terminals, the power input terminal is connected to the power pin of the interface through a first switch, and the One of the two power supply output terminals is connected to the first battery, and the other is connected to the second battery through the third switch; the input terminal of the boost circuit is connected to the second battery, and the output terminal is connected to the power supply of the interface through the second switch pin; the application processor detects the type of the external device according to the level state of the detection pin of the interface, and if the interface is connected to an external charger, the application processor controls the first switch and the third The switch is closed, the second switch is opened, and the operation of the charging chip is controlled to charge the first battery and the second battery; if the interface is externally connected to an OTG device, the application processor controls the first switch and the second battery. The third switch is turned off, the second switch is closed, and controls the operation of the boost circuit to boost the output voltage of the second battery to the power supply voltage required by the OTG device, and supply power to the external OTG device through the interface.

优选的,所述第一开关优选采用常闭开关,所述第二开关和第三开关优选采用常开开关。Preferably, the first switch is preferably a normally closed switch, and the second switch and the third switch are preferably normally open switches.

为了使本实用新型的便携式电子产品可以与目前的绝大多数数字设备外接,所述接口优选采用USB接口,所述检测引脚可以选用USB接口的差分数据引脚,连接所述应用处理器,实现对外接设备类型的检测。In order that the portable electronic product of the present utility model can be externally connected with most of the current digital devices, the interface preferably adopts a USB interface, and the detection pin can be selected from a differential data pin of the USB interface to connect to the application processor, Realize the detection of the external device type.

进一步的,在所述升压电路中包含有一升压芯片,所述升压芯片的使能端与第二开关的控制端连接应用处理器的同一路控制信号输出引脚,以对升压芯片的使能状态以及第二开关的闭合状态进行同步控制,减少对应用处理器的引脚资源的占用,方便系统电路的整体设计。Further, a boost chip is included in the boost circuit, and the enable terminal of the boost chip and the control terminal of the second switch are connected to the same control signal output pin of the application processor to control the boost chip The enabled state of the second switch and the closed state of the second switch are synchronously controlled, which reduces the occupation of pin resources of the application processor and facilitates the overall design of the system circuit.

为了保证第一电池和第二电池的使用寿命,所述第一电池的容量最好大于第二电池的容量,所述充电芯片在对所述第一电池和第二电池进行充电控制的过程中,优选配置充电芯片输出至第一电池的充电电流大于输出至第二电池的充电电流。In order to ensure the service life of the first battery and the second battery, the capacity of the first battery is preferably greater than the capacity of the second battery, and the charging chip is in the process of charging the first battery and the second battery. Preferably, the charging current output by the charging chip to the first battery is greater than the charging current output to the second battery.

为了延长便携式电子产品的续航时间,在所述供电电路中还设置有电池电量检测模块,连接所述第一电池,并将检测到的电池电量发送至所述应用处理器;所述应用处理器在检测到第一电池的剩余电量低于设定值且所述接口上无外接充电器和OTG设备时,控制所述第三开关闭合且控制所述充电芯片短接所述两个电源输出端,利用第一电池和第二电池共同为便携式电子产品的系统电路供电。In order to extend the battery life of the portable electronic product, a battery power detection module is also provided in the power supply circuit, connected to the first battery, and sends the detected battery power to the application processor; the application processor When it is detected that the remaining power of the first battery is lower than the set value and there is no external charger and OTG device on the interface, the third switch is controlled to be closed and the charging chip is controlled to short-circuit the two power output terminals , using the first battery and the second battery to supply power to the system circuit of the portable electronic product.

为了满足应用处理器的用电需求,在所述供电电路中还设置有电源管理电路,连接所述第一电池,将第一电池的输出电压转换成所述应用处理器所需的工作电压,为所述应用处理器供电。In order to meet the power demand of the application processor, a power management circuit is also provided in the power supply circuit, connected to the first battery, and converting the output voltage of the first battery into the working voltage required by the application processor, Power the application processor.

另一方面,本实用新型还提出了一种电子产品,包括供电电路和用电负载,所述供电电路包括接口、第一电池、第二电池、充电芯片、升压电路和应用处理器;所述接口用于外接OTG设备或充电器,包括电源引脚和检测引脚;所述充电芯片包括一个电源输入端和两个电源输出端,所述电源输入端通过第一开关连接所述接口的电源引脚,所述两个电源输出端的其中一个连接第一电池,另外一个通过第三开关连接第二电池;所述升压电路的输入端连接所述第二电池,输出端通过第二开关连接所述接口的电源引脚;所述应用处理器根据所述接口的检测引脚的电平状态检测出外接设备的类型,若所述接口外接充电器,则所述应用处理器控制所述第一开关和第三开关闭合,第二开关断开,并控制所述充电芯片运行,对所述第一电池和第二电池充电;若所述接口外接OTG设备,则所述应用处理器控制所述第一开关和第三开关断开,第二开关闭合,并控制所述升压电路运行,将第二电池的输出电压升压到OTG设备所需的供电电压,通过所述接口为外接OTG设备供电。On the other hand, the utility model also proposes an electronic product, including a power supply circuit and an electric load, and the power supply circuit includes an interface, a first battery, a second battery, a charging chip, a boost circuit and an application processor; The interface is used for external OTG equipment or charger, including power supply pins and detection pins; the charging chip includes a power input terminal and two power output terminals, and the power input terminal is connected to the interface through the first switch A power supply pin, one of the two power supply output terminals is connected to the first battery, and the other is connected to the second battery through the third switch; the input terminal of the boost circuit is connected to the second battery, and the output terminal is connected to the second battery through the second switch Connect the power supply pin of the interface; the application processor detects the type of the external device according to the level state of the detection pin of the interface, if the interface is connected with an external charger, the application processor controls the The first switch and the third switch are closed, the second switch is opened, and the operation of the charging chip is controlled to charge the first battery and the second battery; if the interface is externally connected to an OTG device, the application processor controls The first switch and the third switch are disconnected, the second switch is closed, and the operation of the boost circuit is controlled to boost the output voltage of the second battery to the power supply voltage required by the OTG device, and the external OTG device power supply.

与现有技术相比,本实用新型的优点和积极效果是:本实用新型通过在便携式电子产品中设置两块电池,并针对两块电池专门设计充放电电路,利用其中一块电池为电子产品的系统电路供电,利用另一块电池为外接的OTG设备供电,并使得系统供电与OTG供电互不影响,从而有效解决了便携式电子产品的传统单电池供电设计在产品外接OTG设备时供电能力不足的问题。Compared with the prior art, the advantages and positive effects of the utility model are: the utility model sets two batteries in the portable electronic product, and specially designs the charge and discharge circuit for the two batteries, and utilizes one of the batteries as the electronic product. The power supply of the system circuit uses another battery to power the external OTG device, and makes the system power supply and OTG power supply independent of each other, thus effectively solving the problem of insufficient power supply capacity of the traditional single-battery power supply design of portable electronic products when the product is connected to an OTG device .

结合附图阅读本实用新型实施方式的详细描述后,本实用新型的其他特点和优点将变得更加清楚。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 a functional block diagram of a single battery power supply circuit of an existing portable electronic product;

图2是本实用新型所提出的供电电路的一种实施例的电路原理图。Fig. 2 is a circuit schematic diagram of an embodiment of the power supply circuit proposed by the utility model.

具体实施方式Detailed ways

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

现有的便携式电子产品,一般采用单电池设计供电电路,如图1所示的VR/AR一体机,包括USB接口、充电芯片、电池BAT、电源管理电路等主要组成部分。其中,USB接口作为VR/AR一体机的充电兼数据接口,用于外接充电器、USB设备或OTG设备。当USB接口上外接充电器时,充电芯片将充电器输出的充电电流传送至电池BAT,对电池BAT进行充电控制。在无充电电流接入的情况下,系统电路中各用电负载所需的工作电源均由电池BAT提供。当USB接口上外接OTG设备时,电池BAT需要同时为系统电路和外接的OTG设备供电,此时系统功耗和OTG设备的功耗较大,导致电池BAT的输出电流较大,容易引起电池BAT的过流保护,继而导致系统关机,影响用户的正常使用。Existing portable electronic products generally adopt a single battery design power supply circuit, such as the VR/AR all-in-one machine shown in Figure 1, including USB interface, charging chip, battery BAT, power management circuit and other main components. Among them, the USB interface is used as the charging and data interface of the VR/AR all-in-one machine, and is used for external chargers, USB devices or OTG devices. When an external charger is connected to the USB interface, the charging chip transmits the charging current output by the charger to the battery BAT to control the charging of the battery BAT. In the case of no charging current access, the working power required by each load in the system circuit is provided by the battery BAT. When an external OTG device is connected to the USB interface, the battery BAT needs to supply power for the system circuit and the external OTG device at the same time. The overcurrent protection of the system will cause the system to shut down and affect the normal use of the user.

为了解决上述问题,本实施例采用双电池设计便携式电子产品的供电电路,如图2所示,包括接口、充电芯片、第一电池BAT1、第二电池BAT2、升压电路、第一开关S1、第二开关S2、第三开关S3、电源管理电路、应用处理器等主要组成部分。其中,接口用于外接充电器和OTG设备,至少包括用于传输充电电源或者OTG电源的电源引脚以及用于检测外接设备类型的检测引脚。作为本实施例的一种优选设计,为了提高接口的兼容性,满足更多类型设备的外接要求,本实施例优选采用USB连接器作为所述接口,可以外接充电器、OTG设备以及PC机等,以减少外围接口在便携式电子产品上的布设数量,简化电子产品的结构设计。当选用USB连接器作为所述接口时,可以将USB接口的差分数据引脚D+/D-作为检测引脚,实现对外接设备类型的检测。具体来讲,可以将USB接口的差分数据引脚D+/D-连接至应用处理器,当应用处理器检测到两个差分数据引脚D+、D-短接时,判定外接设备为充电器;当应用处理器检测到两个差分数据引脚D+、D-断开时,通过与外接设备进行数据通信,按照预先设定好的通讯协议,即可准确地识别出外接设备的具体类型,例如OTG设备或者PC机等。当然,应用处理器也可以根据差分数据引脚D+/D-的电平状态,采用现有的其他识别手段检测出外接设备的类型,本实施例并不仅限于以上举例。In order to solve the above problems, the present embodiment adopts dual batteries to design the power supply circuit of portable electronic products, as shown in Figure 2, including interface, charging chip, first battery BAT1, second battery BAT2, boost circuit, first switch S1, Main components such as the second switch S2, the third switch S3, the power management circuit, and the application processor. Wherein, the interface is used for external chargers and OTG devices, and at least includes power pins for transmitting charging power or OTG power and detection pins for detecting types of external devices. As a preferred design of this embodiment, in order to improve the compatibility of the interface and meet the external requirements of more types of equipment, this embodiment preferably uses a USB connector as the interface, which can be connected to external chargers, OTG equipment, and PCs, etc. , to reduce the number of layouts of peripheral interfaces on portable electronic products, and simplify the structural design of electronic products. When a USB connector is selected as the interface, the differential data pins D+/D- of the USB interface can be used as detection pins to detect the type of the external device. Specifically, the differential data pin D+/D- of the USB interface can be connected to the application processor, and when the application processor detects that the two differential data pins D+ and D- are short-circuited, it determines that the external device is a charger; When the application processor detects that the two differential data pins D+ and D- are disconnected, it can accurately identify the specific type of the external device through data communication with the external device according to the preset communication protocol, for example OTG equipment or PC, etc. Of course, the application processor can also detect the type of the external device by using other existing identification means according to the level state of the differential data pin D+/D-, and this embodiment is not limited to the above examples.

将USB接口的电源引脚VBUS通过串联的第一开关S1连接至充电芯片的电源输入端,所述充电芯片至少包括两个电源输出端OUT1、OUT2,将其中一个电源输出端OUT1连接至第一电池BAT1,另外一个电源输出端OUT2通过与其串联的第三开关S3连接至第二电池BAT2。将所述第二电池BAT2连接至升压电路的输入端,升压电路的输出端通过串联的第二开关S2连接至USB接口的电源引脚VBUS。Connect the power supply pin VBUS of the USB interface to the power supply input terminal of the charging chip through the first switch S1 connected in series. The battery BAT1, and another power supply output terminal OUT2 is connected to the second battery BAT2 through the third switch S3 connected in series with it. The second battery BAT2 is connected to the input terminal of the boost circuit, and the output terminal of the boost circuit is connected to the power supply pin VBUS of the USB interface through the second switch S2 connected in series.

为了实现供电线路的自动切换,所述的三个开关S1、S2、S3均选用电控开关,例如三极管、MOS管、开关芯片等。将三个开关S1、S2、S3的控制端连接至应用处理器,接收应用处理器输出的控制信号,根据控制信号的高低电平状态改变其自身的通断状态。在本实施例中,出于供电线路投切稳定性方面的考虑,所述第一开关S1优选使用常闭开关,所述第二开关S2和第三开关S3优选使用常开开关。In order to realize the automatic switching of the power supply lines, the three switches S1, S2, S3 are all selected electric control switches, such as triodes, MOS tubes, switch chips and the like. Connect the control ends of the three switches S1, S2, and S3 to the application processor, receive the control signal output by the application processor, and change its own on-off state according to the high or low level state of the control signal. In this embodiment, in consideration of the stability of power supply line switching, the first switch S1 is preferably a normally closed switch, and the second switch S2 and the third switch S3 are preferably normally open switches.

当应用处理器检测到USB接口上有充电器或者PC机接入时,保持第一开关S1的常闭状态以及第二开关S2的常开状态,并控制第三开关S3由默认的断开状态切换至闭合状态。同时,应用处理器输出使能信号EN1至充电芯片的使能端,控制充电芯片使能运行,接收充电器通过USB接口的电源引脚VBUS输入的充电电流,为第一电池BAT1和第二电池BAT2充电蓄能。在充电过程中,系统电路所需的供电由充电芯片输出提供,以有效控制电子产品的发热量。When the application processor detects that there is a charger or a PC connected to the USB interface, it keeps the normally closed state of the first switch S1 and the normally open state of the second switch S2, and controls the third switch S3 from the default disconnected state Switch to closed state. At the same time, the application processor outputs the enable signal EN1 to the enable terminal of the charging chip, controls the charging chip to enable operation, receives the charging current input by the charger through the power pin VBUS of the USB interface, and supplies power for the first battery BAT1 and the second battery. BAT2 charging energy storage. During the charging process, the power supply required by the system circuit is provided by the output of the charging chip to effectively control the heat generation of electronic products.

在本实施例中,第一电池BAT1是用来给便携式电子产品中的系统电路供电的,第二电池BAT2是用来给外接的OTG设备供电的。考虑到系统电路与OTG设备的功耗不同,因此,在选择第一电池BAT1和第二电池BAT2时,应针对系统电路和OTG设备的实际功耗选择不同容量的电池。例如,对于VR/AR一体机而言,由于一体机的系统电路的工作电流大于OTG设备的工作电流,因此,系统电路的功耗一般大于外接OTG设备的功耗,在选择第一电池BAT1和第二电池BAT2的容量时,需保证第一电池BAT1的放电时间大于第二电池BAT2的放电时间,即,选择第一电池BAT1的容量大于第二电池BAT2的容量,并合理地配置两个电池BAT1、BAT2的充电电流,以保证两个电池BAT1、BAT2的使用寿命。在本实施例中,可以通过对充电芯片的工作参数进行配置,以使其电源输出端OUT1输出至第一电池BAT1的充电电流大于通过其电源输出端OUT2输出至第二电池BAT2的充电电流。In this embodiment, the first battery BAT1 is used to supply power to the system circuit in the portable electronic product, and the second battery BAT2 is used to supply power to the external OTG device. Considering that the power consumption of the system circuit and the OTG device are different, when selecting the first battery BAT1 and the second battery BAT2, batteries with different capacities should be selected according to the actual power consumption of the system circuit and the OTG device. For example, for a VR/AR all-in-one machine, since the operating current of the system circuit of the all-in-one machine is greater than that of the OTG device, the power consumption of the system circuit is generally greater than the power consumption of the external OTG device. For the capacity of the second battery BAT2, it is necessary to ensure that the discharge time of the first battery BAT1 is greater than the discharge time of the second battery BAT2, that is, the capacity of the first battery BAT1 is selected to be greater than the capacity of the second battery BAT2, and the two batteries are reasonably configured The charging current of BAT1 and BAT2 is used to ensure the service life of the two batteries BAT1 and BAT2. In this embodiment, the operating parameters of the charging chip can be configured so that the charging current output from its power output terminal OUT1 to the first battery BAT1 is greater than the charging current output to the second battery BAT2 through its power output terminal OUT2.

当应用处理器检测到USB接口上有OTG设备接入时,控制第一开关S1断开,第二开关S2闭合,并保持第三开关S3的常开状态。同时,应用处理器控制升压电路启动运行,对第二电池BAT2的电池电压进行升压变换后,生成OTG设备所需的工作电源,例如+5V的直流电源,通过第二开关S2传输至USB接口的电源引脚VBUS,为外接的OTG设备供电。此时,便携式电子产品的系统电路由第一电池BAT1供电,由于系统电路的供电与OTG设备的供电互不影响,因此,可以很好地满足电子产品与外接OTG设备同时用电的需求,提升便携式电子产品的供电能力。When the application processor detects that an OTG device is connected to the USB interface, the first switch S1 is controlled to be turned off, the second switch S2 is turned on, and the third switch S3 is kept in a normally open state. At the same time, the application processor controls the boost circuit to start operation, and after the battery voltage of the second battery BAT2 is boosted and converted, the working power required by the OTG device is generated, such as +5V DC power, which is transmitted to the USB through the second switch S2 The power pin VBUS of the interface supplies power for the external OTG device. At this time, the system circuit of the portable electronic product is powered by the first battery BAT1. Since the power supply of the system circuit and the power supply of the OTG device do not affect each other, it can well meet the demand for simultaneous power consumption of the electronic product and the external OTG device. The power supply capability of portable electronic products.

为了节约应用处理器的接口资源,优选利用应用处理器的一路GPIO口GPIO2输出有效的使能信号EN2(例如高电平),分别传输至升压电路的使能端以及第二开关S2的控制端,在控制第二开关S2由默认的常开状态切换至闭合状态的同时,控制升压电路使能运行,满足外接OTG设备的供电需求。而当USB接口上无OTG设备接入时,应用处理器置所述使能信号EN2为无效状态(例如低电平),控制第二开关S2断开,切断第二电池BAT2与USB接口的供电通路,并同时控制升压电路停止运行,以降低整机功耗。In order to save the interface resources of the application processor, it is preferable to use one GPIO port GPIO2 of the application processor to output an effective enable signal EN2 (such as high level), and transmit it to the enable terminal of the boost circuit and the control of the second switch S2 respectively At the end, while controlling the second switch S2 to switch from the default normally open state to the closed state, the boost circuit is controlled to enable operation to meet the power supply requirements of the external OTG device. And when there is no OTG device on the USB interface, the application processor sets the enable signal EN2 to an invalid state (such as low level), controls the second switch S2 to disconnect, and cuts off the power supply of the second battery BAT2 and the USB interface. access, and at the same time control the step-up circuit to stop running, so as to reduce the power consumption of the whole machine.

在本实施例中,所述升压电路优选采用升压芯片配合简单的外围电路设计而成,将第二电池BAT2的电池电压升压至稳定的5V电压,满足目前OTG设备的用电需求。In this embodiment, the boost circuit is preferably designed with a boost chip and a simple peripheral circuit to boost the battery voltage of the second battery BAT2 to a stable 5V voltage to meet the power demand of the current OTG equipment.

此外,在本实施例的供电电路中还可以进一步设置电量检测模块,连接第一电池BAT1,用于检测第一电池BAT1的剩余电量,并将检测结果发送至应用处理器。所述应用处理器在检测到USB接口上无任何设备接入时,若第一电池BAT1的电量过低,例如第一电池BAT1的电量低于设定值,则可以控制第二电池BAT2辅助第一电池BAT1共同为系统电路供电,以延长电子产品的续航时间。In addition, in the power supply circuit of this embodiment, a power detection module may be further provided, connected to the first battery BAT1, for detecting the remaining power of the first battery BAT1, and sending the detection result to the application processor. When the application processor detects that no device is connected to the USB interface, if the power of the first battery BAT1 is too low, for example, the power of the first battery BAT1 is lower than a set value, then it can control the second battery BAT2 to assist the second battery. A battery BAT1 jointly supplies power to the system circuit, so as to prolong the battery life of the electronic product.

为了达到上述设计目的,本实施例在第一电池BAT1和第二电池BAT2的正极之间跨接开关S4,所述开关S4可以是充电芯片中的内置开关,连接在充电芯片的两个电源输出端OUT1、OUT2之间,也可以独立于充电芯片单独配置。对于所述开关S4为充电芯片的内置开关的情况,应用处理器可以采用与充电芯片进行数据通信的方式,在控制充电芯片使能运行后,通知充电芯片短接其两个电源输出端OUT1、OUT2,并控制第三开关S3闭合,继而控制第一电池BAT1与第二电池BAT2并联,一起为电子产品的系统电路供电。具体来讲,可以将应用处理器的其中一路GPIO口GPIO1与充电芯片的使能端相连接,传输使能信号EN1,控制充电芯片的使能状态;同时,将应用处理器的其中一组数据接口DO通过数据线连接至充电芯片,通过与充电芯片进行数据交互,以控制电源输出端OUT1、OUT2的短接状态。In order to achieve the above design purpose, in this embodiment, a switch S4 is bridged between the positive poles of the first battery BAT1 and the second battery BAT2. The switch S4 can be a built-in switch in the charging chip and is connected to the two power outputs of the charging chip. Between terminals OUT1 and OUT2, it can also be configured independently of the charging chip. For the case where the switch S4 is a built-in switch of the charging chip, the application processor can communicate with the charging chip by means of data communication, and after controlling the charging chip to enable operation, notify the charging chip to short-circuit its two power output terminals OUT1, OUT2, and control the third switch S3 to close, and then control the parallel connection of the first battery BAT1 and the second battery BAT2 to supply power to the system circuit of the electronic product together. Specifically, one of the GPIO ports GPIO1 of the application processor can be connected to the enable terminal of the charging chip, and the enabling signal EN1 can be transmitted to control the enabling state of the charging chip; at the same time, a set of data of the application processor can be The interface DO is connected to the charging chip through a data line, and through data interaction with the charging chip, it can control the short-circuit state of the output terminals OUT1 and OUT2 of the power supply.

对于所述开关S4独立于充电芯片单独配置的情况,可以利用应用处理器的另外一路GPIO口生成开关控制信号,对所述开关S4的通断状态进行专门控制。当USB接口上无OTG设备接入且第一电池BAT1的电量小于设定值时,应用处理器通过其两个GPIO口输出两路开关信号,控制第三开关S3和第四开关S4闭合,以控制两个电池BAT1、BAT2并联,共同为系统电路供电。For the case where the switch S4 is configured independently of the charging chip, another GPIO port of the application processor can be used to generate a switch control signal to specifically control the on-off state of the switch S4. When no OTG device is connected to the USB interface and the power of the first battery BAT1 is less than the set value, the application processor outputs two switch signals through its two GPIO ports to control the third switch S3 and the fourth switch S4 to close, so as to Control the parallel connection of two batteries BAT1 and BAT2 to jointly supply power for the system circuit.

通过第一电池BAT1(或者第一电池BAT1和第二电池BAT2)输出的系统供电,可以首先传输至电源管理电路进行稳压变换,以转换成系统电路中不同用电负载所需的工作电源,为应用处理器以及其他负载供电。The system power supply output by the first battery BAT1 (or the first battery BAT1 and the second battery BAT2) can first be transmitted to the power management circuit for voltage stabilization and conversion, so as to convert it into the working power required by different power loads in the system circuit. Power application processors and other loads.

通过为第一电池BAT1和第二电池BAT2选择合适的电量,并合理地配置第一、第二、第三开关S1、S2、S3的通断时机,可以提高电池BAT1、BAT2的使用效率,延长电子产品的整机使用时长。By selecting the appropriate power for the first battery BAT1 and the second battery BAT2, and reasonably configuring the on-off timing of the first, second, and third switches S1, S2, and S3, the use efficiency of the batteries BAT1, BAT2 can be improved, and the battery life can be extended. The duration of use of the entire electronic product.

当然,上述说明并非是对本实用新型的限制,本实用新型也并不仅限于上述举例,本技术领域的普通技术人员在本实用新型的实质范围内所做出的变化、改型、添加或替换,也应属于本实用新型的保护范围。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 (8)

1. a kind of power supply circuit of the portable electronic product with OTG function, is characterized in that, including:
Interface is used for external OTG equipment or charger, including power pins and detection pin;
Charging chip a comprising power input and two power output ends, the power input pass through first switch The power pins of the interface are connected, the first battery of one of connection in described two power output ends, another is logical Cross third switch the second battery of connection;
Booster circuit, input terminal connect second battery, and output end connects the power supply of the interface by second switch Pin;
Application processor detects the type of external equipment according to the level state of the detection pin of the interface, if described Interface external charger, then the application processor controls the first switch and third closes the switch, and second switch disconnects, and The charging chip operation is controlled, is charged to first battery and the second battery;If the external OTG equipment of interface, institute It states application processor and controls the first switch and third switch disconnection, second switch closure, and control the booster circuit fortune Row, supply voltage needed for the output voltage of the second battery is boosted to OTG equipment are external OTG equipment by the interface Power supply.
2. the power supply circuit of the portable electronic product according to claim 1 with OTG function, which is characterized in that institute Stating first switch is normally closed switch, and the second switch and third switch are normal open switch.
3. the power supply circuit of the portable electronic product according to claim 1 with OTG function, which is characterized in that institute Stating interface is USB interface, and the detection pin is the differential data pin of USB interface, connects the application processor.
4. the power supply circuit of the portable electronic product according to claim 1 with OTG function, which is characterized in that It include a boost chip in the booster circuit, the enable end of the boost chip and the control terminal of second switch are connected and applied The same of processor controls signal output pin all the way, with the closed state of enabled state and second switch to boost chip into Row synchronously control.
5. the power supply circuit of the portable electronic product according to claim 1 with OTG function, which is characterized in that institute The capacity for stating the first battery is greater than the capacity of the second battery, and the charging chip is to first battery and the progress of the second battery During charge control, exports to the charging current of the first battery and be greater than the charging current of output to the second battery.
6. the power supply circuit of the portable electronic product according to any one of claim 1 to 5 with OTG function, It is characterized in that, further includes battery capacity detection module, connect first battery, and the battery capacity that will test is sent to institute State application processor;The application processor is in the remaining capacity for detecting the first battery lower than nothing in setting value and the interface When external charger and OTG equipment, controls the third and close the switch and control the described two power supplys of the charging chip short circuit Output end is powered using the circuit system that the first battery and the second battery are portable electronic product jointly.
7. the power supply circuit of the portable electronic product according to any one of claim 1 to 5 with OTG function, It is characterized in that, further includes electric power management circuit, connect first battery, the output voltage of the first battery is converted into described answer The operating voltage needed for processor is powered for the application processor.
8. a kind of electronic product, including power supply circuit and power load, which is characterized in that the power supply circuit is such as claim The power supply circuit of portable electronic product described in any one of 1 to 7 with OTG function.
CN201820782845.4U 2018-05-24 2018-05-24 The power supply circuit and electronic product of portable electronic product with OTG function Active CN208174340U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820782845.4U CN208174340U (en) 2018-05-24 2018-05-24 The power supply circuit and electronic product of portable electronic product with OTG function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820782845.4U CN208174340U (en) 2018-05-24 2018-05-24 The power supply circuit and electronic product of portable electronic product with OTG function

Publications (1)

Publication Number Publication Date
CN208174340U true CN208174340U (en) 2018-11-30

Family

ID=64364393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820782845.4U Active CN208174340U (en) 2018-05-24 2018-05-24 The power supply circuit and electronic product of portable electronic product with OTG function

Country Status (1)

Country Link
CN (1) CN208174340U (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587833A (en) * 2018-12-04 2019-04-05 歌尔股份有限公司 Electronic cigarette circuit and electronic cigarette
CN110237437A (en) * 2019-06-28 2019-09-17 哈尔滨盛世康虹生物技术有限公司 Portable laser physiotherapy device with mobile phone OTG function
CN110943510A (en) * 2019-11-15 2020-03-31 同方电子科技有限公司 Power supply controller applied to individual communication system
CN111245061A (en) * 2020-03-10 2020-06-05 深圳市鼎泰富科技有限公司 A charging circuit device for intelligently identifying single-cell lithium battery and double-cell lithium battery
CN113009358A (en) * 2019-12-20 2021-06-22 浙江宇视科技有限公司 Battery remaining capacity detection device
CN113078696A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Electronic device, charging method and device thereof, and readable storage medium
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 A kind of USB OTG test method
CN116154886A (en) * 2021-11-19 2023-05-23 广州视源电子科技股份有限公司 Device port identification device and electronic equipment
CN116979628A (en) * 2022-04-24 2023-10-31 影石创新科技股份有限公司 Charging and power supply circuit, control method, charging method and power supply method
CN117154863A (en) * 2022-12-20 2023-12-01 深圳市克为创新有限公司 A VR headband and control circuit with data transmission function and charging function
CN118889603A (en) * 2024-07-11 2024-11-01 陕西融和绿动汽车科技有限公司 Backup battery control method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587833A (en) * 2018-12-04 2019-04-05 歌尔股份有限公司 Electronic cigarette circuit and electronic cigarette
CN109587833B (en) * 2018-12-04 2024-03-08 潍坊正达实业有限公司 Electronic cigarette circuit and electronic cigarette
CN110237437A (en) * 2019-06-28 2019-09-17 哈尔滨盛世康虹生物技术有限公司 Portable laser physiotherapy device with mobile phone OTG function
CN110943510B (en) * 2019-11-15 2023-07-04 同方电子科技有限公司 Power supply controller applied to individual communication system
CN110943510A (en) * 2019-11-15 2020-03-31 同方电子科技有限公司 Power supply controller applied to individual communication system
CN113009358A (en) * 2019-12-20 2021-06-22 浙江宇视科技有限公司 Battery remaining capacity detection device
CN113078696A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Electronic device, charging method and device thereof, and readable storage medium
CN113078696B (en) * 2020-01-03 2024-05-07 北京小米移动软件有限公司 Electronic device and charging method, device and readable storage medium
CN111245061A (en) * 2020-03-10 2020-06-05 深圳市鼎泰富科技有限公司 A charging circuit device for intelligently identifying single-cell lithium battery and double-cell lithium battery
CN111245061B (en) * 2020-03-10 2024-04-05 深圳市鼎泰富科技有限公司 Charging circuit device for intelligently identifying single lithium battery and double lithium batteries
CN113820583A (en) * 2020-06-19 2021-12-21 北京君正集成电路股份有限公司 A kind of USB OTG test method
CN113820583B (en) * 2020-06-19 2024-02-27 北京君正集成电路股份有限公司 A USB OTG test method
CN116154886A (en) * 2021-11-19 2023-05-23 广州视源电子科技股份有限公司 Device port identification device and electronic equipment
CN116979628A (en) * 2022-04-24 2023-10-31 影石创新科技股份有限公司 Charging and power supply circuit, control method, charging method and power supply method
CN117154863A (en) * 2022-12-20 2023-12-01 深圳市克为创新有限公司 A VR headband and control circuit with data transmission function and charging function
CN118889603A (en) * 2024-07-11 2024-11-01 陕西融和绿动汽车科技有限公司 Backup battery control method and system

Similar Documents

Publication Publication Date Title
CN114498803B (en) Charging and discharging circuit and electronic equipment
CN202872406U (en) Interface multiplexing circuit and mobile terminal
CN101901201B (en) Method and device for realizing USB OTG function on electronic equipment
CN102820682B (en) A kind of communicated by USB interface and be external equipment charging device and method
CN108988431B (en) Multi-protocol charging device and multi-protocol charging method
CN104796011A (en) Charging method, AC adapter, charging managing device and terminal
CN111900780A (en) Mobile power supply quick charging protocol conversion device and control method thereof
CN211296239U (en) Multi-port adaptive charging and discharging mobile power circuit and mobile power
CN102437623A (en) Adapter, terminal equipment, USB connection equipment and charging base station
CN106532795A (en) Terminal usb interface setting method and terminal
CN102263423B (en) Universal serial bus charging system and charging method thereof
US20070075680A1 (en) Charging mode control circuit
CN110400982A (en) A kind of charging/discharging thereof and electronic equipment
CN108599530A (en) A power supply mode converter and a power supply mode conversion method
CN110380469A (en) Electronic equipment and method of supplying power to
CN105226754A (en) Battery charge/discharge control circuit and control method thereof
CN106921192A (en) Terminal and electricity sharing method
CN208608497U (en) A kind of connector of Type-C interface
CN113672067B (en) Thunderbolt docking station and configuration device
TW201814543A (en) Apparatus and method for USB charge and communication
WO2020187172A1 (en) Peripheral device
CN216290317U (en) a power supply system
CN214313802U (en) USB-A changes Type-C's converter that fills soon
CN222636608U (en) A power management circuit for a shared switch and a shared switch
CN107707016A (en) A kind of plug type Designing of Reinforced Computer based on double-battery charge discharge control system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 261205 Workshop No. 1, 3 and 5 of Edelle Light Industrial Products Processing Base, Weifang Comprehensive Free Trade Zone, east of Weifang Comprehensive Free Trade Zone, south of Yuqing East Street, Gaoxin Second Road, Shandong Province

Patentee after: Weifang Goertek Electronics Co.,Ltd.

Address before: 261031 No. 268 Dongfang Road, hi tech Industrial Development Zone, Shandong, Weifang

Patentee before: Weifang Goertek Electronics Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201016

Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building)

Patentee after: GoerTek Optical Technology Co.,Ltd.

Address before: 261205 Shandong province Weifang Comprehensive Bonded Zone Yuqing East Street to South High Tech two Road East Weifang Comprehensive Bonded Zone aide light industrial product processing base 1, 3, 5 workshop

Patentee before: Weifang Goertek Electronics Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221221

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Patentee after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building)

Patentee before: GoerTek Optical Technology Co.,Ltd.