CN109787299A - The fast charge mode triggering method and system of universal serial bus device - Google Patents
The fast charge mode triggering method and system of universal serial bus device Download PDFInfo
- Publication number
- CN109787299A CN109787299A CN201711103747.XA CN201711103747A CN109787299A CN 109787299 A CN109787299 A CN 109787299A CN 201711103747 A CN201711103747 A CN 201711103747A CN 109787299 A CN109787299 A CN 109787299A
- Authority
- CN
- China
- Prior art keywords
- data terminal
- terminal
- power
- negative
- positive
- 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.)
- Pending
Links
Landscapes
- Power Sources (AREA)
Abstract
Description
技术领域technical field
本发明所揭露的内容是有关通用串行总线(universal serial bus,USB)装置的充电模式触发方法,尤其有关通用串行总线装置的快速充电模式触发方法及系统。The content disclosed in the present invention relates to a method for triggering a charging mode of a universal serial bus (USB) device, and more particularly, to a method and system for triggering a fast charging mode of a universal serial bus device.
背景技术Background technique
通用串行总线(USB)是一种能支持数据传输(透过USB的正数据端D+和负数据端D-)及电力供应(透过USB的电源端VBUS)的电子装置连接接口,其具有热插入(hot plug)、即插即用(plug and play)、连接装置数量多、数据传输速度快、支持充电功能等等优点。因此,USB接口已成为现在最普遍的电子装置连接接口之一。Universal Serial Bus (USB) is an electronic device connection interface that can support data transmission (through the positive data terminal D+ and negative data terminal D- of USB) and power supply (through the power supply terminal VBUS of USB). Hot plug, plug and play, a large number of connected devices, fast data transfer speed, support for charging functions, etc. Therefore, the USB interface has become one of the most common electronic device connection interfaces.
在USB的电池充电规范(battery charging specification,BC规范)中,共区分为三种充电类型:标准下行埠(standard downstream port,SDP)、充电下行埠(chargingdownstream port,CDP)及专用充电埠(dedicated charging port,DCP)。SDP在形式上即为一般的USB数据传输模式,但其能提供的最大电流为500mA。CDP类似SDP,惟其能提供的最大电流为1500mA。另外,DCP只能用于充电,无法进行数据传输,其能提供的最大电流可达1500mA。DCP还称为快速充电模式或快充模式。In the battery charging specification (BC specification) of USB, there are three types of charging: standard downstream port (SDP), charging downstream port (CDP) and dedicated charging port (dedicated). charging port, DCP). SDP is a general USB data transfer mode in form, but the maximum current it can provide is 500mA. CDP is similar to SDP, but the maximum current it can provide is 1500mA. In addition, the DCP can only be used for charging and cannot transmit data, and the maximum current it can provide can reach 1500mA. DCP is also known as fast charge mode or fast charge mode.
目前针对安卓(Android)系统而设计的充电装置大致可分为下列二种模式:(1)若充电装置不需支持数据通信,则使用USB BC规范的DCP充电模式(其可供应较大电流),也就是将正数据端D+及负数据端D-固定(例如短路),以使下游装置(如手机)能辨识此充电装置的充电能力;及(2)若充电装置需支持数据通信,则使用USB BC规范的SDP充电模式,也就是保留正数据端D+及负数据端D-的原本数据传输功能。然而,在上述二种模式中的正数据端D+及负数据端D-的状态并不兼容(例如:连接组态、电阻设定、通信协议皆不同),故大多数的Android下游装置在同一时间仅可支持上述充电模式其中一种。此外,目前也尚未有将此二种模式进行整合或同时支持上述二种模式的方法或系统。The charging devices currently designed for the Android system can be roughly divided into the following two modes: (1) If the charging device does not need to support data communication, the DCP charging mode of the USB BC specification is used (which can supply a larger current) , that is, the positive data terminal D+ and the negative data terminal D- are fixed (for example, short-circuited), so that the downstream device (such as a mobile phone) can identify the charging capability of the charging device; and (2) If the charging device needs to support data communication, then Using the SDP charging mode of the USB BC specification, that is, retaining the original data transmission function of the positive data terminal D+ and the negative data terminal D-. However, the states of the positive data terminal D+ and the negative data terminal D- in the above two modes are not compatible (for example, the connection configuration, resistance setting, and communication protocol are different), so most Android downstream devices are in the same Time can only support one of the above charging modes. In addition, there is no method or system for integrating the two modes or supporting the above two modes at the same time.
本发明的详细内容及优点将在以下发明内容及实施方式章节之中进一步叙述。惟应了解到,以下叙述仅作为易于了解本发明的说明目的,而非限制本发明的范围。The details and advantages of the present invention are further described in the following Summary and Embodiments sections. However, it should be understood that the following description is only for the purpose of illustration to facilitate understanding of the present invention, rather than limiting the scope of the present invention.
发明内容SUMMARY OF THE INVENTION
本发明即是在以上所述背景下所产生,其涉及一种通用串行总线装置的快速充电模式触发方法及系统,以克服上述问题。The present invention is made under the above-mentioned background, and relates to a method and system for triggering a fast charging mode of a USB device to overcome the above-mentioned problems.
本案发明人提出一种通用串行总线装置的快速充电模式触发方法及系统,其通过将USB电源端上的电力开关短时间断开然后闭合,致使下游装置重置并进入新的操作模式,因而能同时供应下游装置充电及与下游装置进行通信。以此方式,能在符合USB BC规范的情况下,在同一个USB通道上,同时达到支持“供应下游装置大电流充电(快速充电)”及“与下游装置进行数据通信(触发App)”的功能。App即为应用程序(application)。The inventor of the present application proposes a method and system for triggering a fast charging mode of a USB device, which can cause the downstream device to reset and enter a new operation mode by opening and closing the power switch on the USB power end for a short period of time. It can supply charging and communicate with downstream devices at the same time. In this way, under the condition of conforming to the USB BC specification, on the same USB channel, it can achieve the requirements of "supplying high current charging to downstream devices (fast charging)" and "data communication with downstream devices (triggering App)" at the same time. Function. App is an application.
在本发明的一实施态样中,提供一种通用串行总线装置的快速充电模式触发方法。所述方法包含:待机步骤,将通用串行总线的电源端上的电力开关闭合,并使通用串行总线的正数据端及负数据端呈开路,此时正数据端及负数据端为SE0状态;列举步骤,继续将电源端上的电力开关保持闭合,并使正数据端及负数据端呈开路,当下游装置插入通用串行总线时,进行通用串行总线的列举程序,此时正数据端及负数据端为J状态;通信步骤,继续将电源端上的电力开关保持闭合,并使正数据端及负数据端呈开路,以进行通用串行总线的通信程序,此时正数据端及负数据端为J状态;第一处理步骤,将电源端上的电力开关断开,并使正数据端及负数据端呈短路;第二处理步骤,将电源端上的电力开关闭合,并继续使正数据端及负数据端呈短路,此时下游装置侦测到正数据端及负数据端为短路状态,然后触发下游装置的快速充电模式;第三处理步骤,继续将电源端上的电力开关保持闭合,并使正数据端及负数据端呈开路,以进行通信及侦测下游装置是否拔除,此时正数据端及负数据端为J状态;及第四处理步骤,将电源端上的电力开关断开,并使正数据端及负数据端呈开路。In an embodiment of the present invention, a method for triggering a fast charge mode of a USB device is provided. The method includes: a standby step, closing the power switch on the power supply terminal of the USB, and making the positive data terminal and the negative data terminal of the USB open circuit, at this time, the positive data terminal and the negative data terminal are SE0 state; enumeration step, continue to keep the power switch on the power supply side closed, and make the positive data terminal and the negative data terminal open, when the downstream device is inserted into the universal serial bus, carry out the enumeration procedure of the universal serial bus, at this time the positive The data terminal and the negative data terminal are in the J state; in the communication step, the power switch on the power supply terminal is kept closed, and the positive data terminal and the negative data terminal are opened to carry out the communication procedure of the universal serial bus. At this time, the positive data In the first processing step, the power switch on the power supply terminal is disconnected, and the positive data terminal and the negative data terminal are short-circuited; in the second processing step, the power switch on the power supply terminal is closed, And continue to short-circuit the positive data terminal and the negative data terminal. At this time, the downstream device detects that the positive data terminal and the negative data terminal are in a short-circuit state, and then triggers the fast charging mode of the downstream device. The power switch is kept closed, and the positive data terminal and the negative data terminal are open to communicate and detect whether the downstream device is unplugged. At this time, the positive data terminal and the negative data terminal are in the J state; and the fourth processing step is to connect the power The power switch on the terminal is disconnected, and the positive data terminal and the negative data terminal are opened.
在本发明的其他实施方式中,在第一处理步骤、第二处理步骤及第四处理步骤期间,正数据端及负数据端的状态为任意状态。此外,在通信步骤及第三处理步骤期间,若正数据端及负数据端为SE0状态,则回到待机步骤。此外,当第四处理步骤的持续期间计时结束时,则回到待机步骤。此外,列举步骤、通信步骤、第一处理步骤、第二处理步骤、第三处理步骤及第四处理步骤的持续期间是依应用需求而预先分别设定。In other embodiments of the present invention, during the first processing step, the second processing step and the fourth processing step, the states of the positive data terminal and the negative data terminal are arbitrary states. In addition, during the communication step and the third processing step, if the positive data terminal and the negative data terminal are in the SE0 state, the process returns to the standby step. In addition, when the duration time of the fourth processing step expires, it returns to the standby step. In addition, the durations of the enumeration step, the communication step, the first processing step, the second processing step, the third processing step and the fourth processing step are respectively preset according to application requirements.
在本发明的另一实施态样中,提供一种通用串行总线装置的快速充电模式触发系统。所述系统包含:电源转换器,配置以提供直流电力,其至少包括正电源输出端与负电源输出端;电力开关,配置以使通用串行总线的电力导通或不导通,其包括输入端、输出端及控制端;及微控制单元,配置以执行上述的通用串行总线装置的快速充电模式触发方法,其至少包含正输入/输出埠、负输入/输出埠及开关控制埠。电源转换器的负电源输出端与通用串行总线的接地端连接。电源转换器的正电源输出端与电力开关的输入端连接。电力开关的输出端与通用串行总线的电源端连接。电力开关的控制端与微控制单元的开关控制端口连接。微控制单元的正输入/输出埠与通用串行总线的正数据端连接。微控制单元的负输入/输出埠与通用串行总线的负数据端连接。In another embodiment of the present invention, a fast charging mode triggering system of a USB device is provided. The system includes: a power converter configured to provide DC power including at least a positive power output and a negative power output; a power switch configured to turn on or off the power of the USB, including an input A terminal, an output terminal and a control terminal; and a micro-control unit, configured to execute the fast charging mode triggering method of the USB device, which at least includes a positive input/output port, a negative input/output port and a switch control port. The negative power output terminal of the power converter is connected to the ground terminal of the universal serial bus. The positive power output terminal of the power converter is connected with the input terminal of the power switch. The output end of the power switch is connected with the power end of the universal serial bus. The control terminal of the power switch is connected with the switch control port of the micro-control unit. The positive input/output port of the microcontroller unit is connected to the positive data terminal of the universal serial bus. The negative input/output port of the microcontroller unit is connected to the negative data terminal of the universal serial bus.
在本发明的其他实施方式中,电力开关可整合于电源转换器内。此外,电源转换器是交流/直流转换器或直流/直流转换器。In other embodiments of the present invention, the power switch may be integrated into the power converter. Also, the power converter is an AC/DC converter or a DC/DC converter.
本发明实施例还提供一种计算机程序产品,其中,所述计算机程序产品包含计算机可读取记录媒体,所述计算机可读取记录媒体用以储存计算机程序,当将所述计算机程序加载并执行后,可完成上述的通用串行总线装置的快速充电模式触发方法。An embodiment of the present invention also provides a computer program product, wherein the computer program product includes a computer-readable recording medium, and the computer-readable recording medium is used to store a computer program, and when the computer program is loaded and executed After that, the above-mentioned method for triggering the fast charging mode of the USB device can be completed.
附图说明Description of drawings
现在将参考附图并以举例且非限制性的方式来详细叙述本发明的实施方式。在阅读以下详细实施方式及图式后,应更能理解本发明的特征及优点。Embodiments of the present invention will now be described in detail, by way of example and not limitation, with reference to the accompanying drawings. The features and advantages of the present invention should be better understood after reading the following detailed description and drawings.
图1表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发方法的流程图。FIG. 1 is a flowchart illustrating a method for triggering a fast charge mode of a USB device according to an embodiment of the present invention.
图2表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发方法的时序图。FIG. 2 is a timing diagram illustrating a method for triggering a fast charge mode of a USB device according to an embodiment of the present invention.
图3A表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发系统的示意图。FIG. 3A is a schematic diagram of a fast charge mode trigger system of a USB device according to an embodiment of the present invention.
图3B表示根据本发明的另一实施态样的通用串行总线装置的快速充电模式触发系统的示意图。FIG. 3B is a schematic diagram of a fast charge mode trigger system of a USB device according to another embodiment of the present invention.
图4A表示通用串行总线的正数据端D+及负数据端D-两者的连接组态为开路(opencircuit)的示意图。FIG. 4A is a schematic diagram showing that the connection between the positive data terminal D+ and the negative data terminal D- of the USB is configured as an open circuit.
图4B表示通用串行总线的正数据端D+及负数据端D-两者的连接组态为短路(short circuit)的示意图。FIG. 4B is a schematic diagram showing that the connection between the positive data terminal D+ and the negative data terminal D- of the USB is configured as a short circuit.
图4C表示通用串行总线的正数据端D+及负数据端D-两者的状态为单端0(singleended zero,SE0)状态时的示意图。FIG. 4C shows a schematic diagram when both the positive data terminal D+ and the negative data terminal D- of the USB are in a single-ended zero (SE0) state.
图4D表示通用串行总线的正数据端D+及负数据端D-两者的状态为J状态时的示意图。FIG. 4D shows a schematic diagram when the states of both the positive data terminal D+ and the negative data terminal D- of the USB are in the J state.
图4E表示通用串行总线的电源端VBUS导通时的示意图(电力开关闭合)。FIG. 4E shows a schematic diagram when the power supply terminal VBUS of the USB is turned on (the power switch is closed).
图4F表示通用串行总线的电源端VBUS不导通时的示意图(电力开关断开)。FIG. 4F shows a schematic diagram when the power supply terminal VBUS of the universal serial bus is not conducting (the power switch is turned off).
附图标记说明:Description of reference numbers:
100-快速充电模式触发方法;102-步骤;104-步骤;106-步骤;108-步骤;110-步骤;112-步骤;114-步骤;116-步骤;200-快速充电模式触发方法的时序图;30A-快速充电模式触发系统;30B-快速充电模式触发系统;31-微控制单元;33A-电源转换器;33B-电源转换器;35-电力开关;41-微控制单元;43-电源转换器;45-电力开关;47-下游装置。100-quick charge mode triggering method; 102-step; 104-step; 106-step; 108-step; 110-step; 112-step; 114-step; 116-step; ;30A-Quick Charge Mode Trigger System;30B-Quick Charge Mode Trigger System;31-Micro Control Unit;33A-Power Converter;33B-Power Converter;35-Power Switch;41-Micro Control Unit;43-Power Conversion 45-power switch; 47-downstream device.
具体实施方式Detailed ways
首先,参考图4A~图4F,其表示根据本发明的实施方式的通用串行总线(USB)的各种连接组态的示意图。图4A表示微控制单元41(micro control unit,MCU)将正数据端D+及负数据端D-的连接组态设成开路(open circuit)的情况。图4B表示微控制单元41将正数据端D+及负数据端D-的连接组态设成短路(short circuit)的情况。First, reference is made to FIGS. 4A-4F, which illustrate schematic diagrams of various connection configurations of a Universal Serial Bus (USB) according to an embodiment of the present invention. FIG. 4A shows a situation where the micro control unit 41 (micro control unit, MCU) sets the connection configuration of the positive data terminal D+ and the negative data terminal D- as an open circuit. FIG. 4B shows the case where the micro-control unit 41 configures the connection configuration of the positive data terminal D+ and the negative data terminal D- as a short circuit.
图4C表示微控制单元41侦测正数据端D+及负数据端D-的状态为SE0状态的情况,此时无下游装置插入。图4D表示微控制单元41侦测正数据端D+及负数据端D-的状态为J状态的情况,此时下游装置47(如手机)插入通用串行总线。FIG. 4C shows the situation where the micro-control unit 41 detects that the state of the positive data terminal D+ and the negative data terminal D- is the SE0 state, and no downstream device is inserted at this time. 4D shows that the micro-control unit 41 detects the state of the positive data terminal D+ and the negative data terminal D- as the J state, and the downstream device 47 (such as a mobile phone) is plugged into the universal serial bus at this time.
图4E表示微控制单元41输出开关控制信号EN,以使电力开关45闭合。在此情况下,通用串行总线的电源端VBUS与电源转换器43的正电源输出端VDD之间导通,故可提供电力至下游装置。图4F表示微控制单元41输出开关控制信号EN,以使电力开关45断开。在此情况下,通用串行总线的电源端VBUS与电源转换器43的正电源输出端VDD之间不导通,故无法提供电力至下游装置。FIG. 4E shows that the micro-control unit 41 outputs the switch control signal EN to close the power switch 45 . In this case, the power supply terminal VBUS of the universal serial bus and the positive power output terminal VDD of the power converter 43 are turned on, so that power can be supplied to downstream devices. FIG. 4F shows that the micro-control unit 41 outputs the switch control signal EN to turn off the power switch 45 . In this case, there is no conduction between the power terminal VBUS of the USB and the positive power output terminal VDD of the power converter 43 , so that power cannot be supplied to the downstream devices.
本发明的一实施态样涉及通用串行总线装置的快速充电模式触发方法。参考图1,其表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发方法的流程图。通用串行总线装置的快速充电模式触发方法100包含下述各步骤。首先,于待机步骤102,将通用串行总线的电源端VBUS上的电力开关闭合,以使电源端VBUS导通。此外,将通用串行总线的正数据端D+及负数据端D-的连接组态设成开路。此时,正数据端D+及负数据端D-的状态为SE0(single ended zero,单端0)状态。An embodiment of the present invention relates to a method for triggering a fast charge mode of a USB device. Referring to FIG. 1 , it shows a flowchart of a method for triggering a fast charge mode of a USB device according to an embodiment of the present invention. The method 100 for triggering a fast charge mode of a USB device includes the following steps. First, in the standby step 102, the power switch on the power supply terminal VBUS of the USB is turned on, so that the power supply terminal VBUS is turned on. In addition, the connection configuration of the positive data terminal D+ and the negative data terminal D- of the universal serial bus is set as an open circuit. At this time, the states of the positive data terminal D+ and the negative data terminal D- are SE0 (single ended zero, single-ended 0) states.
接着,当下游装置(如手机)插入通用串行总线时,则进入列举步骤104(enumeration)。于此步骤,继续将电源端VBUS上的电力开关保持闭合,并将正数据端D+及负数据端D-的连接组态保持开路,以进行通用串行总线的列举程序。此时,正数据端D+及负数据端D-的状态为J状态,且系统处于SDP模式。Next, when the downstream device (such as a mobile phone) is inserted into the USB, the enumeration step 104 (enumeration) is entered. In this step, the power switch on the power supply terminal VBUS is kept closed, and the connection configuration of the positive data terminal D+ and the negative data terminal D- is kept open, so as to carry out the enumeration procedure of the universal serial bus. At this time, the state of the positive data terminal D+ and the negative data terminal D- is the J state, and the system is in the SDP mode.
当列举程序完成后,根据个别系统进行通信步骤。若为Apple系统,则例如基于iAP2通信协议(iPod accessory protocol 2.0)来进行通信步骤106;若为Android系统,则例如基于AOA通信协议(Android open accessory protocol)来进行通信步骤108。在此步骤,继续将电源端VBUS上的电力开关保持闭合,并将正数据端D+及负数据端D-的连接组态保持开路,以进行通用串行总线的通信程序。此时,正数据端D+及负数据端D-的状态为J状态,且系统处于SDP模式。此外,若在通信步骤106或通信步骤108期间,侦测到正数据端D+及负数据端D-的状态为SE0状态时,则回到待机步骤102。另一方面,应注意到在Apple系统的情况下,可通过通信过程来设定快速充电模式。When the enumeration procedure is completed, the communication steps are performed according to the individual system. In the case of the Apple system, the communication step 106 is performed based on, for example, the iAP2 communication protocol (iPod accessory protocol 2.0); in the case of the Android system, the communication step 108 is performed based on, for example, the AOA communication protocol (Android open accessory protocol). In this step, keep the power switch on the power supply terminal VBUS closed, and keep the connection configuration of the positive data terminal D+ and the negative data terminal D- open, so as to carry out the communication procedure of the universal serial bus. At this time, the state of the positive data terminal D+ and the negative data terminal D- is the J state, and the system is in the SDP mode. In addition, during the communication step 106 or the communication step 108, if it is detected that the state of the positive data terminal D+ and the negative data terminal D- is the SE0 state, the process returns to the standby step 102. On the other hand, it should be noted that in the case of the Apple system, the fast charging mode can be set through a communication process.
接着,当通信程序完成或预定时间计时结束时,进行第一处理步骤110。在此步骤,将电源端VBUS上的电力开关断开,以使电源端VBUS不导通。此外,将正数据端D+及负数据端D-的连接组态设成短路。Next, when the communication procedure is completed or the predetermined time counting ends, the first processing step 110 is performed. In this step, the power switch on the power supply terminal VBUS is turned off, so that the power supply terminal VBUS is not turned on. In addition, the connection configuration of the positive data terminal D+ and the negative data terminal D- is set as a short circuit.
然后,当预定时间计时结束时,进行第二处理步骤112。在此步骤,将电源端VBUS上的电力开关闭合,以使电源端VBUS重新导通。此外,继续将正数据端D+及负数据端D-的连接组态保持短路。此时,下游装置侦测到正数据端D+及负数据端D-的连接组态为短路,因而触发下游装置的快速充电模式。Then, when the predetermined time counts up, the second processing step 112 is performed. In this step, the power switch on the power supply terminal VBUS is closed, so that the power supply terminal VBUS is turned on again. In addition, continue to keep the connection configuration of the positive data terminal D+ and the negative data terminal D- short-circuited. At this time, the downstream device detects that the connection configuration between the positive data terminal D+ and the negative data terminal D- is a short circuit, thereby triggering the fast charging mode of the downstream device.
然后,当预定时间计时结束时,进行第三处理步骤114。在此步骤,继续将电源端VBUS上的电力开关保持闭合,并将正数据端D+及负数据端D-的连接组态设成开路,以进行通信及侦测下游装置是否拔除。此时,正数据端D+及负数据端D-的状态为J状态,且系统已处于DCP模式。Then, when the predetermined time counts up, a third processing step 114 is performed. In this step, continue to keep the power switch on the power supply terminal VBUS closed, and set the connection configuration of the positive data terminal D+ and the negative data terminal D- as an open circuit to communicate and detect whether the downstream device is unplugged. At this time, the state of the positive data terminal D+ and the negative data terminal D- is the J state, and the system is already in the DCP mode.
然后,当侦测到下游装置被拔除或预定时间计时结束时,进行第四处理步骤116。在此步骤,将电源端VBUS上的电力开关断开,以使电源端VBUS不导通。此外,将正数据端D+及负数据端D-的连接组态设成开路。之后,当预定时间计时结束时,回到待机步骤102。Then, when it is detected that the downstream device is removed or the predetermined time expires, the fourth processing step 116 is performed. In this step, the power switch on the power supply terminal VBUS is turned off, so that the power supply terminal VBUS is not turned on. In addition, the connection configuration of the positive data terminal D+ and the negative data terminal D- is set as an open circuit. After that, when the predetermined time has elapsed, the process returns to the standby step 102 .
应注意到,在上述第一处理步骤110、第二处理步骤112及第四处理步骤116期间,通用串行总线的正数据端D+及负数据端D-可为任意状态(don’t care)。此外,在通信步骤108及第三处理步骤114期间,若侦测到正数据端D+及负数据端D-的状态为SE0状态时,也就是下游装置被拔除,则回到待机步骤102。It should be noted that during the first processing step 110, the second processing step 112 and the fourth processing step 116, the positive data terminal D+ and the negative data terminal D- of the USB can be in any state (don't care) . In addition, during the communication step 108 and the third processing step 114 , if it is detected that the positive data terminal D+ and the negative data terminal D- are in the SE0 state, that is, the downstream device is unplugged, the process returns to the standby step 102 .
现在参考图2,其表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发方法的时序图。快速充电模式触发方法的时序图200中的各个步骤对应于快速充电模式触发方法100。在图2之中,显示了各个步骤期间的电源端VBUS的连接组态(导通或不导通)、正数据端D+及负数据端D-的连接组态(开路或短路)、以及正数据端D+及负数据端D-上的信号状态(SE0或J状态)。此外,各个步骤的持续期间可如下列(但不限于此):列举步骤104可小于0.5秒、通信步骤106可小于0.5秒、第一处理步骤110可小于0.5秒、第二处理步骤112可小于0.5秒、第三处理步骤114可大于180秒或任意时间及第四处理步骤116可小于0.5秒。这些步骤的持续期间也可依应用需求而预先分别设定。Referring now to FIG. 2 , a timing diagram of a method for triggering a fast charge mode of a USB device according to an embodiment of the present invention is shown. The various steps in the timing diagram 200 of the fast charging mode triggering method correspond to the fast charging mode triggering method 100 . In FIG. 2, the connection configuration (conducting or non-conducting) of the power supply terminal VBUS, the connection configuration (open circuit or short circuit) of the positive data terminal D+ and the negative data terminal D-, and the positive data terminal D- and the negative data terminal D- during each step are shown Signal state (SE0 or J state) on data terminal D+ and negative data terminal D-. Additionally, the duration of each step may be as follows (but is not limited to): enumeration step 104 may be less than 0.5 seconds, communication step 106 may be less than 0.5 seconds, first processing step 110 may be less than 0.5 seconds, and second processing step 112 may be less than 0.5 seconds 0.5 seconds, the third processing step 114 may be greater than 180 seconds or any time and the fourth processing step 116 may be less than 0.5 seconds. The durations of these steps can also be preset separately according to application requirements.
本发明的另一实施态样涉及通用串行总线装置的快速充电模式触发系统。参考图3A,其表示根据本发明的一实施态样的通用串行总线装置的快速充电模式触发系统的示意图。通用串行总线装置的快速充电模式触发系统30A可包含:电源转换器33A、电力开关35及微控制单元31(MCU)。电源转换器33A配置以提供直流电力输出,其至少可包括正电源输出端VDD与负电源输出端VSS。电力开关35配置以使通用串行总线的电力导通或不导通,其可包括输入端、输出端及控制端。微控制单元31配置以执行如上述的通用串行总线装置的快速充电模式触发方法100,其至少可包含正输入/输出埠、负输入/输出埠及开关控制埠。Another aspect of the present invention relates to a fast charge mode trigger system for a USB device. Referring to FIG. 3A , it shows a schematic diagram of a fast charge mode triggering system of a USB device according to an embodiment of the present invention. The fast charge mode trigger system 30A of the USB device may include a power converter 33A, a power switch 35 and a microcontroller unit 31 (MCU). The power converter 33A is configured to provide a DC power output, which may include at least a positive power output terminal VDD and a negative power output terminal VSS. The power switch 35 is configured to turn on or off the power of the USB, and may include an input terminal, an output terminal and a control terminal. The micro-control unit 31 is configured to execute the fast charging mode triggering method 100 of the USB device as described above, which may at least include a positive input/output port, a negative input/output port and a switch control port.
如图所示,电源转换器33A的负电源输出端VSS与通用串行总线的接地端GND连接。电源转换器33A的正电源输出端VDD与电力开关35的输入端连接。电力开关35的输出端与通用串行总线的电源端VBUS连接。电力开关35的控制端与微控制单元31的开关控制埠连接。微控制单元31的正输入/输出埠与通用串行总线的正数据端D+连接。微控制单元31的负输入/输出埠与通用串行总线的负数据端D-连接。以此,微控制单元31可控制正数据端D+及负数据端D-的连接组态(开路或短路),并且侦测正数据端D+及负数据端D-上的信号状态(SE0或J状态)。微控制单元31还可输出开关控制信号EN来控制电力开关35的闭合或断开,以使电源端VBUS导通或不导通。当电源端VBUS导通时,可提供下游装置电力。As shown, the negative power output terminal VSS of the power converter 33A is connected to the ground terminal GND of the universal serial bus. The positive power output terminal VDD of the power converter 33A is connected to the input terminal of the power switch 35 . The output terminal of the power switch 35 is connected to the power terminal VBUS of the universal serial bus. The control terminal of the power switch 35 is connected to the switch control port of the micro-control unit 31 . The positive input/output port of the microcontroller unit 31 is connected to the positive data terminal D+ of the universal serial bus. The negative input/output port of the microcontroller unit 31 is connected to the negative data terminal D- of the universal serial bus. In this way, the micro-control unit 31 can control the connection configuration (open circuit or short circuit) of the positive data terminal D+ and the negative data terminal D-, and detect the signal state (SE0 or J) on the positive data terminal D+ and the negative data terminal D- state). The micro-control unit 31 can also output a switch control signal EN to control the power switch 35 to be turned on or off, so that the power terminal VBUS is turned on or off. When the power terminal VBUS is turned on, the downstream device power can be provided.
根据本发明的另一实施方式,快速充电模式触发系统的电力开关也可整合于电源转换器内。如图3B所示,通用串行总线装置的快速充电模式触发系统30B的电力开关是整合于电源转换器33B之中。因此,微控制单元31的开关控制信号EN连接至电源转换器33B,以控制整合于电源转换器33B之中的电力开关,从而决定电源端VBUS是否供电或不供电。According to another embodiment of the present invention, the power switch of the fast charging mode trigger system can also be integrated into the power converter. As shown in FIG. 3B , the power switch of the fast charging mode trigger system 30B of the USB device is integrated into the power converter 33B. Therefore, the switch control signal EN of the micro-control unit 31 is connected to the power converter 33B to control the power switch integrated in the power converter 33B, thereby determining whether the power supply terminal VBUS supplies power or not.
此外,电源转换器33A及电源转换器33B可为交流/直流转换器或直流/直流转换器。In addition, the power converter 33A and the power converter 33B may be AC/DC converters or DC/DC converters.
根据本发明的另一实施态样,快速充电模式触发系统30A也可包含计算机可读取记录媒体(其还可包含在微控制单元31之中)。所述计算机可读取记录媒体的内部可储存计算机可读取程序代码。当微控制单元31加载程序代码并执行后,可完成如上述的通用串行总线装置的快速充电模式触发方法100。According to another aspect of the present invention, the fast charging mode trigger system 30A may also include a computer-readable recording medium (which may also be included in the micro-control unit 31 ). The computer-readable recording medium can store computer-readable program codes inside. After the micro-control unit 31 loads and executes the program code, the method 100 for triggering the fast charging mode of the USB device as described above can be completed.
经由以上详细说明后,应可了解到本发明的各种特征及优点。可透过上述各种实施态样来完成通用串行总线装置的快速充电模式触发。通过上述的电力开关操作方式,当下游装置插入通用串行总线时,可使下游装置进入快速充电模式,并且进行通信。因此,本发明能达到在符合现行USB BC规范的DCP充电模式的情况下,同时达到支持“提供下游装置快速充电或大电流充电”及“与下游装置进行通信”的用户体验的功能。Various features and advantages of the present invention should become apparent from the foregoing detailed description. The fast charge mode triggering of the USB device can be accomplished through the various implementation aspects described above. Through the above-described power switch operation, when the downstream device is plugged into the USB, the downstream device can enter the fast charging mode and communicate. Therefore, the present invention can achieve the functions of supporting the user experience of "providing fast charging or high-current charging of downstream devices" and "communicating with downstream devices" while complying with the DCP charging mode of the current USB BC specification.
虽然已就数个实施方式来叙述本发明,惟相关领域中具有通常技术者应可了解基于以上教示内容而能对本发明做许多修改及变化。相关领域中具有通常技术者也应了解本发明涵盖所有如此的修改、变化、添加、置换及其均等者。因此,本发明并不限于这些实施方式,而是包括随附的权利要求的真正范围及精神所包含的内容。While the present invention has been described in terms of several embodiments, those of ordinary skill in the relevant art will appreciate that many modifications and variations of the present invention are possible based on the above teachings. It should also be understood by those of ordinary skill in the relevant art that the present invention covers all such modifications, variations, additions, permutations and their equivalents. Therefore, the present invention is not limited to these embodiments, but includes what is encompassed by the true scope and spirit of the appended claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711103747.XA CN109787299A (en) | 2017-11-10 | 2017-11-10 | The fast charge mode triggering method and system of universal serial bus device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711103747.XA CN109787299A (en) | 2017-11-10 | 2017-11-10 | The fast charge mode triggering method and system of universal serial bus device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109787299A true CN109787299A (en) | 2019-05-21 |
Family
ID=66485317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711103747.XA Pending CN109787299A (en) | 2017-11-10 | 2017-11-10 | The fast charge mode triggering method and system of universal serial bus device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109787299A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1364265A (en) * | 1999-12-24 | 2002-08-14 | 皇家菲利浦电子有限公司 | Emulsion of disconnect of device |
CN102055223A (en) * | 2009-11-03 | 2011-05-11 | 马克西姆综合产品公司 | USB special charger recognition circuit |
CN102388520A (en) * | 2009-02-27 | 2012-03-21 | 飞兆半导体公司 | Peripheral device host charging |
WO2015073294A1 (en) * | 2013-11-18 | 2015-05-21 | Qualcomm Incorporated | Devices and methods for facilitating usb charger detection |
CN104756350A (en) * | 2012-10-29 | 2015-07-01 | 高通股份有限公司 | High voltage dedicated charging port |
CN106208260A (en) * | 2016-08-31 | 2016-12-07 | 维沃移动通信有限公司 | A kind of charging circuit, data wire and charging inlet |
-
2017
- 2017-11-10 CN CN201711103747.XA patent/CN109787299A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1364265A (en) * | 1999-12-24 | 2002-08-14 | 皇家菲利浦电子有限公司 | Emulsion of disconnect of device |
CN102388520A (en) * | 2009-02-27 | 2012-03-21 | 飞兆半导体公司 | Peripheral device host charging |
CN102055223A (en) * | 2009-11-03 | 2011-05-11 | 马克西姆综合产品公司 | USB special charger recognition circuit |
CN104756350A (en) * | 2012-10-29 | 2015-07-01 | 高通股份有限公司 | High voltage dedicated charging port |
WO2015073294A1 (en) * | 2013-11-18 | 2015-05-21 | Qualcomm Incorporated | Devices and methods for facilitating usb charger detection |
CN106208260A (en) * | 2016-08-31 | 2016-12-07 | 维沃移动通信有限公司 | A kind of charging circuit, data wire and charging inlet |
Non-Patent Citations (1)
Title |
---|
何立民: "《单片机应用技术选编》", 31 January 2004 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10671135B2 (en) | Intelligent mobile power supply and method for USB data communication therewith | |
US9904267B2 (en) | Method and apparatus for determining direction of power delivery | |
CN106291210B (en) | USB interface detector, USB interface detection method, USB connector and electronic equipment | |
US9201480B2 (en) | Method and system for determining an arbitrary charging protocol in USB charging ports | |
US9483093B2 (en) | Electronic device and method for controlling a setting of a maximum consumption current | |
CN103259300B (en) | Portable electronic device and its charging method | |
US9128691B2 (en) | Method and terminal for selecting internal circuit according to USB interface status | |
CN104242390B (en) | A kind of charging method, charging circuit and mobile terminal | |
CN104837091B (en) | Charging and audio use | |
CN105934865B (en) | Method and device for controlling charging and electronic equipment | |
EP2480043A1 (en) | Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal | |
US9018896B2 (en) | Method and system for determining whether a portable device is charging | |
WO2012167677A1 (en) | Device and method for communication and charging for external device via usb interface | |
CN104081368A (en) | Mobile device automatic detection apparatus and method | |
JP2013109410A (en) | Determination circuit | |
TW200908509A (en) | Power source detection system, charger can provide power source detection and the detection method thereof | |
CN101702146B (en) | The method of distinguishing charger and data line of universal serial bus and unit | |
CN207320876U (en) | A kind of charging circuit and charger | |
US10141760B2 (en) | Power supply circuit, charge circuit, charging system, power supplying method, and charging method | |
CN107516919A (en) | A charging method and charger | |
CN105762883B (en) | Method and electronic device for charging an electronic device | |
TWI640873B (en) | Method for triggering fast charging mode of usb device and system and storage medium thereof | |
CN208656444U (en) | Wireless headset charging box with mobile phone charging function | |
CN107706977A (en) | Method for detecting charging current and charging device | |
CN109787299A (en) | The fast charge mode triggering method and system of universal serial bus device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190521 |
|
WD01 | Invention patent application deemed withdrawn after publication |