WO2017063459A1 - Usb控制装置及设备 - Google Patents

Usb控制装置及设备 Download PDF

Info

Publication number
WO2017063459A1
WO2017063459A1 PCT/CN2016/097739 CN2016097739W WO2017063459A1 WO 2017063459 A1 WO2017063459 A1 WO 2017063459A1 CN 2016097739 W CN2016097739 W CN 2016097739W WO 2017063459 A1 WO2017063459 A1 WO 2017063459A1
Authority
WO
WIPO (PCT)
Prior art keywords
usb
module
pin
level signal
switch
Prior art date
Application number
PCT/CN2016/097739
Other languages
English (en)
French (fr)
Inventor
董粮
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2017063459A1 publication Critical patent/WO2017063459A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Definitions

  • the present invention relates to the field of electronic communications, and in particular, to a USB control device and device.
  • a mobile terminal such as a mobile phone or a tablet computer can be connected to a USB port of a terminal device via a USB (Universal Serial Bus) data line for data communication and charging.
  • USB Universal Serial Bus
  • the data signals of the two data lines D+ and D- of the USB interface are detected, and the data mode is entered by default.
  • the USB 2.0 protocol stipulates that the USB port can only output 500mA
  • the powered device such as a mobile phone actively reduces the standard charging current from 1.5A or 1A to 500mA through its own power management system (PMU).
  • PMU power management system
  • Most of today's smartphones have a battery capacity of more than 2000mAh, so I want to fill the large-capacity battery with the default 500mA current. Compared with the standard 1.5A or 1A charging current of the charger, the actual charging speed will be very slow in the USB interface data mode. .
  • the present invention provides a USB control device and device, which solves the technical problem that the USB port is slow in charging speed in the prior art.
  • a USB control device including a USB port, a USB interface module, a detection module, a USB switch control module, and a shorting module, wherein the USB port is used to connect with an external device through a USB data line.
  • the USB interface module is configured to provide USB data transmission
  • the detection module is configured to detect an input high level signal and a low level signal
  • the USB switch control module is connected to the detection module, and configured to receive the Detecting a level signal detected by the module, and connecting the switch to the USB interface module according to the received high level signal switching switch, and connecting to the short circuit module according to the received low level signal switching switch
  • the shorting module shorts its data port through a resistor.
  • the resistance of the resistor is less than 200 ohms.
  • the USB control device further includes a level signal output module connected to the detecting module, configured to output a high level signal and a low level signal.
  • the level signal output module is a bus expander, and the bus expander is configured to output a high level signal and a low level signal according to the control instruction.
  • the bus expander is configured to output a high level signal and a low level signal according to a control instruction of a CPU, software or an application.
  • the level signal output module is a dial switch, and the dial switch can control the output of the high level signal and the low level signal.
  • the USB switch control module is an electronic switch
  • the first pin of the electronic switch is connected to the detection module
  • the D+ and D-data pins are respectively connected with the data ports D+ and D- of the USB interface module.
  • the HSD1+ and HSD1-pin are connected to the short-circuit module
  • the HSD2+ and HSD2-pin are connected to the USB port.
  • the first pin SEL is high
  • the D+ and D- pins are respectively associated with the HSD1+.
  • the HSD1-pin switch is turned on.
  • the first pin SEL is low
  • the D+ and D- pins are respectively connected to the HSD2+ and HSD2-pin switches.
  • the electronic switch The pin and GND pin are referenced to ground, and the VCC pin is connected to the power supply.
  • the USB switch control module is an electronic switch of the model FSUSB30MUX, and the first pin SEL is connected to the detection module.
  • the pin and the GND pin are grounded, the VCC pin is connected to the power supply, and the D+ and D- data pins are respectively connected to the D+ and D- ports of the USB interface module, and the HSD1+, HSD1-pin and the short-circuit module are respectively connected.
  • HSD2+, HSD2-pin are connected to the USB port, when the first pin SEL is high level, the D+ and D- pins are respectively connected to the HSD1+, HSD1-pin switch, the first tube When the pin SEL is low, the D+ and D- pins are respectively connected to the HSD2+ and HSD2-pin switches.
  • an apparatus having a USB port including the USB control device described above.
  • the USB control device and device provided by the invention switch the USB switch control module to the USB interface module and the short circuit module respectively through the high and low level control signals detected by the detection module, and change the signals of the D+ terminal and the D- terminal of the USB data port, so that
  • the USB port device is considered to be plugged into the standard charger interface to provide 5V/2A output, to realize the switching of the USB port data transmission module and the fast charging mode, and to increase the charging speed of the USB port device.
  • FIG. 1 is a schematic structural view of a USB control device in a first embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a USB switch control module of a USB control device in a first embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing the pin of the USB switch control module of the USB control device in the first embodiment of the present invention.
  • FIG. 4 is a S-pin of a USB switch control module of a USB control device according to a first embodiment of the present invention.
  • FIG. 5 is a schematic diagram of control of a USB switch control module of a USB control device according to a first embodiment of the present invention.
  • Fig. 6 is a detailed circuit diagram of a USB control device in the first embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a USB control device according to a second embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a USB control device according to a third embodiment of the present invention.
  • FIG. 9 is a circuit diagram of a level signal output module shift switch of a USB control device according to a third embodiment of the present invention.
  • FIG. 10 is a detailed circuit diagram of a USB control device in a third embodiment of the present invention.
  • the general inventive concept of the present invention is: switching the high-low level control signal through the bus expander GPIO or the electronic dial switch to switch the electronic switch respectively to connect with the USB interface module and the short-circuit module, and change the USB data port D+ end and D- Signal, so that the USB port device is considered to be plugged into the standard charger interface to provide 5V/2A output, realize the switching of the USB port data transmission module and the fast charging mode, and improve the charging speed of the USB port.
  • the USB port 20 is configured to be connected to an external device through a USB data line
  • the USB interface module 30 is configured to provide a USB data transmission mode.
  • the data line interface of the mobile phone and the USB port 20 of the notebook computer are connected through a USB mobile phone data cable.
  • the mobile phone and the notebook computer can transmit data through the USB interface module 30, and can also utilize the 500 mA provided by the USB port 20 of the notebook computer.
  • the current charges the mobile phone, and it can be seen that the USB port 20 can realize two working modes of data transmission mode and charging mode.
  • the detecting module 40 is configured to detect an input high level signal and a low level signal.
  • the input high level signal and low level signal are according to a CPU (Central Processing Unit), an MCU (Microcontroller Unit), and a GPIO (General Purpose Input Output). , bus expander), electronic dial switch or other control component configuration command configuration generated control level signal.
  • the detecting module 40 is connected to the corresponding control component connection control signal output port for detecting the high and low level signals of the output thereof.
  • the USB switch control module 50 is connected to the detection module 40, the USB interface module 30, and the USB port 20, and is configured to receive a level signal detected by the detection module 40, and switch according to the received high level signal.
  • the switch is connected to the USB interface module 30, and is connected to the shorting module 60 according to the received low level signal switching switch.
  • the data ports D+ and D- are respectively connected to the D+ and D- ports of the USB interface module 30, and the USB interface module 30 is connected.
  • a data transmission mode is provided to the external device through the USB port 20.
  • the shorting module 60 shorts its data ports D+ and D- through a resistor, and the resistance of the resistor is less than 200 ohms, but generally does not use 0 ohms to improve system compatibility.
  • the switch of the USB switch control module 50 is connected to the short circuit module 60
  • the data ports D+ and D- are respectively connected to the D+ and D- ports of the short circuit module 60
  • the short circuit module is connected.
  • 60 shorts its data ports D+ and D- through a resistor and shorts the resistance value to less than 200 ohms, so that the USB port 20 detects that the data ports D+, D- have no USB signal and the impedance of the two ports is less than 200 ohms.
  • the USB port device considers that the charger is inserted and the output 5V/2A is implemented to implement the fast charging mode.
  • the detecting module 40 first detects the input high level signal and the low level signal, and the USB switch control module 50 receives the level signal detected by the detecting module 40, and according to the received
  • the high level signal switching switch is connected to the USB interface module 30, and is connected to the shorting module 60 according to the received low level signal switching switch.
  • the USB port 20 detects that the D+ and D- ports have no USB signal and the impedance of the two ports is less than 200 ohms, the device considers that The charger is inserted and the output is 5V/2A for fast charging mode.
  • USB switch control module 50 is an electronic switch of the model FSUSB30MUX, which includes an S pin. Pin, VCC pin, HSD1+ pin, HSD1-pin, HSD2+ pin, HSD2-pin, D+ pin, D-pin and GND pin, where The pin and GND pin are referenced to ground, and the VCC pin is connected to the power supply.
  • FIG. 3 is a schematic diagram showing the pin description of the electronic switch of the USB switch control module 50 of the USB control device according to the first embodiment of the present invention.
  • the pin is the output enable
  • the S pin is the select input
  • D+, D-, HSDn+, HSDn- are the data ports
  • the NC is not connected.
  • FIG. 4 is a S-pin of a USB switch control module 50 of a USB control device according to a first embodiment of the present invention; A schematic diagram of the true value of the pin, where: When the pin is H high, the D+ and D- ports are not connected; when the S pin and When the pin is L low, the D+ and D- ports are connected to the HSD1+ and HSD1-switch respectively; when the S pin is H high and When the pin is L low, the D+ and D- ports are connected to the HSD2+ and HSD2-switches, respectively.
  • FIG. 5 is a schematic diagram of control of the USB switch control module 50 of the USB control device in the first embodiment of the present invention.
  • the pin ground is low, so controlling the high and low levels of the S pin can control the switch-on pins of the D+ and D- ports, respectively.
  • FIG. 6 a detailed circuit diagram of a USB control device in a first embodiment of the present invention is shown.
  • the first switch SEL of the electronic switch of the USB switch control module 50 is connected to the detection module 40, and the D+ and D-data pins are respectively connected with the data ports D+ and D- of the USB interface module 30, HSD1+, HSD1.
  • a pin is connected to the shorting module 60, and an HSD2+, HSD2-pin is connected to the USB port 20.
  • the SEL pin receives a high level signal, according to the S pin and the USB switch control module 50 of FIG.
  • the true value of the pin when the S pin is H high and When the pin is L low, the D+ and D- ports are respectively connected to the HSD2+ and HSD2-switches, and the HSD2+ and HSD2- are connected to the USB port 20, so that the USB switch control module 50 controls the D+ and D-ports.
  • the USB port 20 is connected to the USB port 20, and the USB port 20 is in a data transmission mode.
  • the SEL pin When the detection module 40 detects a low level signal, the SEL pin receives a low level signal, according to the S pin and the USB switch control module 50 of FIG.
  • the true value of the pin when the S pin is L low and When the pin is L low, the D+ and D- ports are respectively connected to the HSD1+ and HSD1-switches, and the HSD1+ and HSD1- are connected to the shorting module 60, so that the USB switch control module 50 controls D+ and D-.
  • the port is connected to the shorting module 60, and the USB port device considers that the standard charger interface is inserted to provide an output of 5V/2A, and the USB port 20 is in the fast charging mode.
  • the USB can be passed.
  • the electronic switch of the switch control module 50 enables fast switching of the data transfer mode and the fast charge mode of the USB port 20, and increases the charging speed of the USB port device.
  • the USB switch control module 50 uses an electronic switch of the model FSUSB30MUX, but the present invention is not limited to this type of electronic switch, and other embodiments of the present invention may also adopt other An electronic switch having a similar control switch function, the electronic switch pin and control definition can also be similarly defined and illustrated with reference to FIGS. 3, 4 and 5, the first pin of the electronic switch being connected to the detection module 40, D+ The D-data pins are respectively connected to the D+ and D- ports of the USB interface module, the HSD1+ and HSD1-pins are connected to the short-circuit module, and the HSD2+ and HSD2-pins are connected to the USB port.
  • the D+ and D- pins are respectively connected to the HSD1+ and HSD1-pin switches, and when the first pin SEL is at a low level, the D+ and D- pins are respectively associated with the HSD2+, The HSD2-pin switch is turned on.
  • FIG. 7 is a schematic structural diagram of a USB control device according to a second embodiment of the present invention.
  • the USB control device in order to achieve high and low control of the input level signal, the USB control device further includes a level signal output module 70, and the level signal output module 70 and The detecting module 40 is connected to output a high level signal and a low level signal.
  • the level signal output module is a bus expander GIPO
  • the bus expander GIPO configures a high level signal and a low level according to a control instruction of a CPU, a software, an application APP, or other control components. signal. That is, the user may transmit a control command through a CPU, software, an application APP, or other control component, the control command including switching a data transfer mode and a fast charge mode of the USB port 20, the bus expander GIPO being configured according to a control instruction Outputs a high level signal and a low level signal. Specifically, when the control instruction is to switch to the data transmission mode, the bus expander GIPO configures to output a high level signal; when the control instruction is to switch to the fast charging mode, the bus expander GIPO configures to output a low level signal.
  • FIG. 8 is a schematic structural diagram of a USB control device according to a third embodiment of the present invention.
  • the USB control device further includes a level signal output module 70, the level signal output The module 70 is coupled to the detection module 40 for outputting a high level signal and a low level signal.
  • FIG. 9 is a circuit diagram of the level signal output module 70 of the USB control device in the third embodiment of the present invention.
  • the level signal output module 70 is a dial switch 90.
  • One end contact 3 of the dial switch 90 is grounded through a resistor R4, and the other end contact 2 is input through a current limiting resistor R5 and 3.3V. Power connection, the dial 1 can be connected with the contact 3 to generate a low level signal, and the dial 1 can be connected with the contact 2 to generate high power. Flat signal.
  • FIG 10 is a detailed circuit diagram of a USB control device in a third embodiment of the present invention.
  • the dial end of the dial switch 70 is connected to the detecting module 40, and the detecting module 40 is connected to the SEL pin of the USB switch control module 50, and the USB switch control module 50D+ and D- pins respectively Connected to the D+ and D- ports of the USB interface module 30, the HSD1+ and HSD1-pins are connected to the short-circuit module 60, and the HSD2+ and HSD2-pins are connected to the USB port 20.
  • the SEL pin receives a high level signal, according to the USB switch control module 50 of FIG. S pin and The true value of the pin, when the S pin is H high and When the pin is L low, the D+ and D- ports are respectively connected to the HSD2+ and HSD2-switches, and the HSD2+ and HSD2- are connected to the USB port 20, so that the USB switch control module 50 controls the D+ and D-ports.
  • the USB port 20 is connected to the USB port 20, and the USB port 20 is in a data transmission mode.
  • the SEL pin receives a low level signal, according to the S pin and the USB switch control module 50 of FIG.
  • the true value of the pin when the S pin is L low and When the pin is L low, the D+ and D- ports are respectively connected to the HSD1+ and HSD1-switches, and the HSD1+ and HSD1- are connected to the shorting module 60, so that the USB switch control module 50 controls D+ and D-.
  • the port is connected to the shorting module 60, and the USB port device considers that the standard charger interface is inserted to provide an output of 5V/2A, and the USB port 20 is in the fast charging mode.
  • the data of the USB port 20 can be realized by the electronic switch of the USB switch control module 50 as long as the level signals generated and outputted by the dial switch 90 are controlled to be high and low. Fast switching between transfer mode and fast charge mode and increased charging speed for USB port devices.
  • USB control device of the present invention can be used alone as a control component of the USB port device, or can be embedded as a control module of the USB port into any electronic device having a USB port as a communication port control component.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Information Transfer Systems (AREA)
  • Power Sources (AREA)

Abstract

一种USB控制装置,包括USB端口(20)、USB接口模块(30)、检测模块(40)、USB开关控制模块(50)和短接模块(60)。USB端口用于通过USB数据线与外界设备连接,USB接口模块用于提供USB数据传输,检测模块用于检测输入的高电平信号和低电平信号,USB开关控制模块与检测模块连接,用于接收检测模块检测到的电平信号,并根据接收到的高电平信号切换开关与USB接口模块连接接通,以及根据接收到的低电平信号切换开关与短接模块连接接通,短接模块通过电阻将其数据端口短接。该USB控制装置可将USB端口快速切换至快速充电模式,提高了USB端口设备的充电速度。

Description

USB控制装置及设备
本申请要求2015年10月15日提交的申请号为:201510666094.0、发明名称为“USB控制装置及设备”的中国专利申请的优先权,其全部内容合并在此。
技术领域
本发明涉及电子通信领域,尤其涉及一种USB控制装置及设备。
背景技术
在USB协议下,移动终端比如手机、平板电脑可通过USB(Universal Serial Bus,通用串行总线)数据线连接终端设备的USB端口进行数据通信和充电。当手机通过USB2.0接口连接到笔记本上时,检测到USB接口的两根数据线D+和D-的数据信号,默认进入数据模式。由于USB 2.0协议规定USB端口只能出500mA的电流,所以手机等受电设备会通过自身的电源管理系统(PMU)主动的把标准的充电电流由1.5A或1A降低到500mA。现今大多智能手机的电池容量都超过2000mAh,所以想通过默认的500mA的电流充满大容量电池,与充电器标准的1.5A或1A充电电流相比,USB接口数据模式下实际充电速度会非常之慢。
因此,有必要提供一种USB控制装置,提高现有USB端口的充电速度。
发明内容
为此,本发明提供一种USB控制装置及设备,解决现有技术中USB端口充电速度慢的技术问题。
在本发明的一个实施例中,提供一种USB控制装置,包括USB端口、USB接口模块、检测模块、USB开关控制模块和短接模块,所述USB端口用于通过USB数据线与外界设备连接,所述USB接口模块用于提供USB数据传输,所述检测模块用于检测输入的高电平信号和低电平信号,所述USB开关控制模块与所述检测模块连接,用于接收所述检测模块检测到的电平信号,并根据接收到的高电平信号切换开关与所述USB接口模块连接接通,以及根据接收到的低电平信号切换开关与所述短接模块连接接通,所述短接模块通过电阻将其数据端口短接。
优选的,所述电阻的阻值小于200欧姆。
优选的,所述的USB控制装置还包括与所述检测模块连接的电平信号输出模块,用于输出高电平信号和低电平信号。
优选的,所述电平信号输出模块为总线拓展器,所述总线拓展器根据控制指令配置输出高电平信号和低电平信号。
优选的,所述总线拓展器可根据CPU、软件或应用的控制指令配置输出高电平信号和低电平信号。
优选的,所述电平信号输出模块为拨档开关,所述拨档开关可控制输出高电平信号和低电平信号。
优选的,所述USB开关控制模块为电子开关,所述电子开关的第一管脚与所述检测模块连接,D+、D-数据管脚分别与所述USB接口模块的数据端口D+、D-连接,HSD1+、HSD1-管脚与所述短接模块连接,HSD2+、HSD2-管脚与所述USB端口连接,所述第一管脚SEL为高电平时,D+、D-管脚分别与HSD1+、HSD1-管脚开关接通,所述第一管脚SEL为低电平时,D+、D-管脚分别与HSD2+、HSD2-管脚开关接通。
优选的,所述电子开关的
Figure PCTCN2016097739-appb-000001
管脚、GND管脚参考接地,VCC管脚与电源连接。
优选的,所述USB开关控制模块为型号FSUSB30MUX的电子开关,第一管脚SEL与所述检测模块连接,
Figure PCTCN2016097739-appb-000002
管脚、GND管脚参考接地,VCC管脚与电源连接,D+、D-数据管脚分别与所述USB接口模块的D+、D-端口连接,HSD1+、HSD1-管脚与所述短接模块连接,HSD2+、HSD2-管脚与所述USB端口连接,所述第一管脚SEL为高电平时,D+、D-管脚分别与HSD1+、HSD1-管脚开关接通,所述第一管脚SEL为低电平时,D+、D-管脚分别与HSD2+、HSD2-管脚开关接通。
在本发明的另一个实施例中,还提供一种设备,具有USB端口,其包括上述的USB控制装置。
本发明提供的USB控制装置及设备,通过检测模块检测到的高低电平控制信号切换USB开关控制模块分别与USB接口模块和短接模块连接,改变USB数据端口D+端和D-端的信号,这样USB端口设备认为是插入标准充电器接口而提供5V/2A的输出,实现USB端口的数据传输模块和快速充电模式的切换,并提升USB端口设备的充电速度。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得 其他的附图。
图1为本发明第一实施例中USB控制装置的结构示意图。
图2为本发明第一实施例中USB控制装置的USB开关控制模块的示意图。
图3为本发明第一实施例中USB控制装置的USB开关控制模块的管脚说明示意图。
图4为本发明第一实施例中USB控制装置的USB开关控制模块的S管脚和
Figure PCTCN2016097739-appb-000003
管脚的真值示意图。
图5为本发明第一实施例中USB控制装置的USB开关控制模块的控制示意图。
图6为本发明第一实施例中USB控制装置的详细电路示意图。
图7为本发明第二实施例中USB控制装置的结构示意图。
图8为本发明第三实施例中USB控制装置的结构示意图。
图9为本发明第三实施例中USB控制装置的电平信号输出模块拨档开关的电路示意图。
图10为本发明第三实施例中USB控制装置的详细电路示意图。
具体实施方式
下面结合附图和具体实施方式对本发明的技术方案作进一步更详细的描述。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
本发明的总体发明构思是:通过总线拓展器GPIO或电子拨档开关输出高低电平控制信号切换电子开关分别与USB接口模块和短接模块连接接通,改变USB数据端口D+端和D-的信号,这样USB端口设备认为是插入标准充电器接口而提供5V/2A的输出,实现USB端口的数据传输模块和快速充电模式的切换,提升USB端口的充电速度。
参见图1,本发明第一实施例提供一种USB控制装置,包括USB端口20、USB接口模块30、检测模块40、USB开关控制模块50和短接模块60。
其中,所述USB端口20用于通过USB数据线与外界设备连接,所述USB接口模块30用于提供USB数据传输模式。比如通过USB手机数据线连接手机的数据线接口和笔记本电脑USB端口20,在USB协议下手机和笔记本电脑通过所述USB接口模块30可进行数据传输,还可以利用笔记本电脑USB端口20提供的500mA的电流对手机进行充电,可见USB端口20可以实现数据传输模式和充电模式两种工作模式。
所述检测模块40用于检测输入的高电平信号和低电平信号。具体的,所述输入的高电平信号和低电平信号为根据CPU(Central Processing Unit,中央处理器)、MCU(Microcontroller Unit,微控制单元)、GPIO(General Purpose Input Output,通用输入/输出、总线拓展器)、电子拨档开关或其他的控制组件的控制指令配置生成的控制电平信号。所述检测模块40与相应的控制组件连接控制信号输出端口连接,用于检测其输出的高低电平信号。
所述USB开关控制模块50,与所述检测模块40、USB接口模块30和USB端口20连接,用于接收所述检测模块40检测到的电平信号,并根据接收到的高电平信号切换开关与所述USB接口模块30连接接通,以及根据接收到的低电平信号切换开关与所述短接模块60连接接通。
当所述USB开关控制模块50切换开关与所述USB接口模块30连接时,数据端口D+、D-分别与所述USB接口模块30的D+、D-端口连接接通,所述USB接口模块30通过所述USB端口20对外部设备提供数据传输模式。
在本实施例中,所述短接模块60通过电阻将其数据端口D+和D-短接,所述电阻的阻值小于200欧姆,但一般不采用0欧姆提高系统的兼容性。当所述USB开关控制模块50切换开关与所述短接模块60连接时,数据端口D+、D-分别与所述短接模块60的D+、D-端口连接接通,而所述短接模块60通过电阻将其数据端口D+和D-短接且短接阻值小于200欧姆,这样所述USB端口20会检测到数据端口D+、D-并无USB信号且两端口阻抗小于200欧姆,则USB端口设备认为插入的是充电器而输出5V/2A实现快速充电模式。
在本发明实施例中,所述检测模块40首先检测输入的高电平信号和低电平信号,所述USB开关控制模块50接收所述检测模块40检测到的电平信号,并根据接收到的高电平信号切换开关与所述USB接口模块30连接接通,以及根据接收到的低电平信号切换开关与所述短接模块60连接接通。当所述USB开关控制模块50切换开关与所述短接模块60连接接通时,所述USB端口20会检测到D+、D-端口并无USB信号且两端口阻抗小于200欧姆,则设备认为插入的是充电器而输出5V/2A实现快速充电模式。
图2为本发明第一实施例中USB控制装置USB开关控制模块50的示意图,在本实施例中,所述USB开关控制模块50为型号FSUSB30MUX的电子开关,其包括S管脚、
Figure PCTCN2016097739-appb-000004
管脚、VCC管脚、HSD1+管脚、HSD1-管脚、HSD2+管脚、HSD2-管脚、D+管脚、 D-管脚和GND管脚,其中
Figure PCTCN2016097739-appb-000005
管脚、GND管脚参考接地,VCC管脚与电源连接。
图3为本发明第一实施例中USB控制装置的USB开关控制模块50电子开关的管脚说明示意图,
Figure PCTCN2016097739-appb-000006
管脚为输出使能端、S管脚为选择输入,D+、D-、HSDn+、HSDn-为数据端口、NC为不连接。
图4为本发明第一实施例中USB控制装置的USB开关控制模块50的S管脚和
Figure PCTCN2016097739-appb-000007
管脚的真值示意图,其中:当
Figure PCTCN2016097739-appb-000008
管脚为H高电平时,D+和D-端口不连接;当S管脚和
Figure PCTCN2016097739-appb-000009
管脚都为L低电平时,D+和D-端口分别和HSD1+和HSD1-开关接通;当S管脚为H高电平且
Figure PCTCN2016097739-appb-000010
管脚为L低电平时,D+和D-端口分别和HSD2+和HSD2-开关接通。
图5分别为本发明第一实施例中USB控制装置的USB开关控制模块50的控制示意图。在本实施例中,
Figure PCTCN2016097739-appb-000011
管脚接地为低电平,因此控制S管脚的电平的高和低就可以分别控制D+和D-端口的开关接通管脚。
参见图6本发明第一实施例中USB控制装置的详细电路示意图。所述USB开关控制模块50的电子开关第一管脚SEL与所述检测模块40连接,D+、D-数据管脚分别与所述USB接口模块30的数据端口D+、D-连接,HSD1+、HSD1-管脚与所述短接模块60连接,HSD2+、HSD2-管脚与所述USB端口20连接,
Figure PCTCN2016097739-appb-000012
和GND管脚接地,VCC管脚通过电阻R2接3.3V电源。
具体的,
Figure PCTCN2016097739-appb-000013
接地为低电平,当所述检测模块40检测到高电平信号时,SEL管脚接收到高电平信号,根据图4的所述USB开关控制模块50的S管脚和
Figure PCTCN2016097739-appb-000014
管脚的真值示意图,当S管脚为H高电平且
Figure PCTCN2016097739-appb-000015
管脚为L低电平时,D+和D-端口分别和HSD2+和HSD2-开关接通,而HSD2+和HSD2-与所述USB端口20连接,这样所述USB开关控制模块50控制D+和D-端口与所述USB端口20连接接通,此时所述USB端口20为数据传输模式。
当所述检测模块40检测到低电平信号时,SEL管脚接收到低电平信号,根据图4的所述USB开关控制模块50的S管脚和
Figure PCTCN2016097739-appb-000016
管脚的真值示意图,当S管脚为L低电平且
Figure PCTCN2016097739-appb-000017
管脚为L低电平时,D+和D-端口分别和HSD1+和HSD1-开关接通,而HSD1+和HSD1-与所述短接模块60连接,这样所述USB开关控制模块50控制D+和D-端口与所述短接模块60连接接通,USB端口设备认为是插入标准充电器接口而提供5V/2A的输出,此时所述USB端口20处于快速充电模式。
因此,在本发明实施例中,只要控制输入的电平信号的高和低,就可以通过所述USB 开关控制模块50的电子开关实现所述USB端口20的数据传输模式和快速充电模式的快速切换,并提高了USB端口设备的充电速度。
需要说明的是,本发明实施例中所述USB开关控制模块50采用的是型号FSUSB30MUX的电子开关,但本发明并不限于此型号的电子开关,在本发明的其他实施例中还可以采用其他具有类似控制开关功能的电子开关,所述电子开关管脚和控制定义同样可参见图3、4和5作类似定义和说明,所述电子开关第一管脚与所述检测模块40连接,D+、D-数据管脚分别与所述USB接口模块的D+、D-端口连接,HSD1+、HSD1-管脚与所述短接模块连接,HSD2+、HSD2-管脚与所述USB端口连接,所述第一管脚SEL为高电平时,D+、D-管脚分别与HSD1+、HSD1-管脚开关接通,所述第一管脚SEL为低电平时,D+、D-管脚分别与HSD2+、HSD2-管脚开关接通。
图7为本发明第二实施例中USB控制装置的结构示意图。在本发明第一实施例的基础上,为了实现对所述输入电平信号的高和低的控制,所述USB控制装置还包括电平信号输出模块70,所述电平信号输出模块70与所述检测模块40连接,用于输出高电平信号和低电平信号。
在本发明实施例中,所述电平信号输出模块为总线拓展器GIPO,所述总线拓展器GIPO根据CPU、软件、应用APP或其他控制组件的控制指令配置输出高电平信号和低电平信号。即,用户可通过CPU、软件、应用APP或其他控制组件的发送控制指令,所述控制指令包括切换所述USB端口20的数据传输模式和快速充电模式,所述总线拓展器GIPO根据控制指令配置输出高电平信号和低电平信号。具体的,当控制指令为切换到数据传输模式时,总线拓展器GIPO配置输出高电平信号;当控制指令为切换到快速充电模式时,总线拓展器GIPO配置输出低电平信号。
图8为本发明第三实施例中USB控制装置的结构示意图。在本发明第一实施例的基础上,同样地,为了实现对所述输入电平信号的高和低的控制,所述USB控制装置还包括电平信号输出模块70,所述电平信号输出模块70与所述检测模块40连接,用于输出高电平信号和低电平信号。
图9本发明第三实施例中USB控制装置的电平信号输出模块70拨档开关90的电路示意图。在本发明实施例中,所述电平信号输出模块70为拨档开关90,所述拨档开关90一端触点3通过电阻R4接地,另一端触点2通过限流电阻R5与3.3V输入电源连接,可拨档片1拨档与触点3连接生成低电平信号,可拨档片1拨档与触点2连接生成高电 平信号。
图10本发明第三实施例中USB控制装置的详细电路示意图。所述拨档开关70的拨档片端与所述检测模块40连接,所述检测模块40与所述USB开关控制模块50的SEL管脚连接,所述USB开关控制模块50D+、D-管脚分别与所述USB接口模块30的D+、D-端口连接,HSD1+、HSD1-管脚与所述短接模块60连接,HSD2+、HSD2-管脚与所述USB端口20连接,
Figure PCTCN2016097739-appb-000018
和GND管脚接地,VCC管脚通过电阻R2接3.3V电源。
具体的,
Figure PCTCN2016097739-appb-000019
接地为低电平,当所述检测模块40检测到所述拨档开关90生成的高电平信号时,SEL管脚接收到高电平信号,根据图4的所述USB开关控制模块50的S管脚和
Figure PCTCN2016097739-appb-000020
管脚的真值示意图,当S管脚为H高电平且
Figure PCTCN2016097739-appb-000021
管脚为L低电平时,D+和D-端口分别和HSD2+和HSD2-开关接通,而HSD2+和HSD2-与所述USB端口20连接,这样所述USB开关控制模块50控制D+和D-端口与所述USB端口20连接接通,此时所述USB端口20为数据传输模式。
当所述检测模块40检测到所述拨档开关90生成的低电平信号时,SEL管脚接收到低电平信号,根据图4的所述USB开关控制模块50的S管脚和
Figure PCTCN2016097739-appb-000022
管脚的真值示意图,当S管脚为L低电平且
Figure PCTCN2016097739-appb-000023
管脚为L低电平时,D+和D-端口分别和HSD1+和HSD1-开关接通,而HSD1+和HSD1-与所述短接模块60连接,这样所述USB开关控制模块50控制D+和D-端口与所述短接模块60连接接通,USB端口设备认为是插入标准充电器接口而提供5V/2A的输出,此时所述USB端口20为快速充电模式。
因此,在本发明实施例中,只要控制所述拨档开关90生成和输出的电平信号的高和低,就可以通过所述USB开关控制模块50的电子开关实现所述USB端口20的数据传输模式和快速充电模式的快速切换,并提高了USB端口设备的充电速度。
可以理解的是,本发明所述的USB控制装置可以作为USB端口设备的控制部件单独使用,也可以作为USB端口的控制模块嵌入到任意具有USB端口的电子设备中作为通讯端口控制部件使用。
以上所揭露的仅为本发明实施例中的较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (10)

  1. 一种USB控制装置,其特征在于,包括USB端口、USB接口模块、检测模块、USB开关控制模块和短接模块,所述USB端口用于通过USB数据线与外界设备连接,所述USB接口模块用于提供USB数据传输,所述检测模块用于检测输入的高电平信号和低电平信号,所述USB开关控制模块与所述检测模块连接,用于接收所述检测模块检测到的电平信号,并根据接收到的高电平信号切换开关与所述USB接口模块连接接通,以及根据接收到的低电平信号切换开关与所述短接模块连接接通,所述短接模块通过电阻将其数据端口短接。
  2. 如权利要求1所述的USB控制装置,其特征在于,所述电阻的阻值小于200欧姆。
  3. 如权利要求1所述的USB控制装置,其特征在于,还包括与所述检测模块连接的电平信号输出模块,用于输出高电平信号和低电平信号。
  4. 如权利要求3所述的USB控制装置,其特征在于,所述电平信号输出模块为总线拓展器,所述总线拓展器根据控制指令配置输出高电平信号和低电平信号。
  5. 如权利要求4所述的USB控制装置,其特征在于,所述总线拓展器可根据CPU、软件或应用的控制指令配置输出高电平信号和低电平信号。
  6. 如权利要求3所述的USB控制装置,其特征在于,所述电平信号输出模块为拨档开关,所述拨档开关可控制输出高电平信号和低电平信号。
  7. 如权利要求1至6任一项所述的USB控制装置,其特征在于,所述USB开关控制模块为电子开关,所述电子开关的第一管脚与所述检测模块连接,D+、D-数据管脚分别与所述USB接口模块的数据端口D+、D-连接,HSD1+、HSD1-管脚与所述短接模块连接,HSD2+、HSD2-管脚与所述USB端口连接,所述第一管脚SEL为高电平时,D+、D-管脚分别与HSD1+、HSD1-管脚开关接通,所述第一管脚SEL为低电平时,D+、D-管脚分别与HSD2+、HSD2-管脚开关接通。
  8. 如权利要求7所述的USB控制装置,其特征在于,所述电子开关的
    Figure PCTCN2016097739-appb-100001
    管脚、GND管脚参考接地,VCC管脚与电源连接。
  9. 如权利要求1至6任一项所述的USB控制装置,其特征在于,所述USB开关控制模块为型号FSUSB30MUX的电子开关,第一管脚SEL与所述检测模块连接,
    Figure PCTCN2016097739-appb-100002
    管脚、GND管脚参考接地,VCC管脚与电源连接,D+、D-数据管脚分别与所述USB接口模块的D+、D-端口连接,HSD1+、HSD1-管脚与所述短接模块连接,HSD2+、HSD2-管脚与所述USB 端口连接,所述第一管脚SEL为高电平时,D+、D-管脚分别与HSD1+、HSD1-管脚开关接通,所述第一管脚SEL为低电平时,D+、D-管脚分别与HSD2+、HSD2-管脚开关接通。
  10. 一种设备,具有USB端口,其特征在于,其包括如权利要求1至6任一项所述的USB控制装置。
PCT/CN2016/097739 2015-10-15 2016-08-31 Usb控制装置及设备 WO2017063459A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510666094.0 2015-10-15
CN201510666094.0A CN105162213A (zh) 2015-10-15 2015-10-15 Usb控制装置及设备

Publications (1)

Publication Number Publication Date
WO2017063459A1 true WO2017063459A1 (zh) 2017-04-20

Family

ID=54803004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097739 WO2017063459A1 (zh) 2015-10-15 2016-08-31 Usb控制装置及设备

Country Status (2)

Country Link
CN (1) CN105162213A (zh)
WO (1) WO2017063459A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601287A (zh) * 2019-08-29 2019-12-20 惠州华阳通用电子有限公司 一种车机usb充电模式控制方法及装置
CN112109723A (zh) * 2019-08-30 2020-12-22 上汽通用五菱汽车股份有限公司 车辆自动驾驶模块即插即用的方法、装置和存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162213A (zh) * 2015-10-15 2015-12-16 上海斐讯数据通信技术有限公司 Usb控制装置及设备
CN105790026B (zh) * 2016-02-25 2018-01-23 广东欧珀移动通信有限公司 移动终端、通用串行总线接口及其制造方法
CN105701049B (zh) * 2016-03-23 2019-03-01 Oppo广东移动通信有限公司 写入充电标志位的系统、方法、装置和移动终端
CN106058983B (zh) * 2016-06-30 2019-01-29 维沃移动通信有限公司 一种充电控制电路、电子设备,及充电控制方法
US20200021116A1 (en) * 2016-09-30 2020-01-16 Shenzhen Royole Technologies Co. Ltd. Charging control method, charging control system, and computing device
CN109494822B (zh) * 2017-09-13 2024-05-24 西安中兴新软件有限责任公司 一种终端设备、充电器、充电系统和充电方法
CN110515867A (zh) * 2019-09-09 2019-11-29 中山市天启智能科技有限公司 一种集群核心板usb模式自动切换方法及线路

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232196A (zh) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 一种usb充电座中充电模式的控制电路及其方法
CN102820682A (zh) * 2011-06-09 2012-12-12 中兴通讯股份有限公司 一种通过usb接口通信并为外部设备充电的装置及方法
CN105162213A (zh) * 2015-10-15 2015-12-16 上海斐讯数据通信技术有限公司 Usb控制装置及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202068063U (zh) * 2011-05-18 2011-12-07 永山科技有限公司 同时支持电子装置快速充电及数据传输的线材模块
KR101278466B1 (ko) * 2012-06-21 2013-07-02 크레신 주식회사 쾌속 충전이 가능한 데이터 케이블
CN104796011A (zh) * 2014-01-21 2015-07-22 中兴通讯股份有限公司 一种充电方法、交流电适配器、充电管理装置及终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232196A (zh) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 一种usb充电座中充电模式的控制电路及其方法
CN102820682A (zh) * 2011-06-09 2012-12-12 中兴通讯股份有限公司 一种通过usb接口通信并为外部设备充电的装置及方法
CN105162213A (zh) * 2015-10-15 2015-12-16 上海斐讯数据通信技术有限公司 Usb控制装置及设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601287A (zh) * 2019-08-29 2019-12-20 惠州华阳通用电子有限公司 一种车机usb充电模式控制方法及装置
CN110601287B (zh) * 2019-08-29 2023-12-08 惠州华阳通用电子有限公司 一种车机usb充电模式控制方法
CN112109723A (zh) * 2019-08-30 2020-12-22 上汽通用五菱汽车股份有限公司 车辆自动驾驶模块即插即用的方法、装置和存储介质

Also Published As

Publication number Publication date
CN105162213A (zh) 2015-12-16

Similar Documents

Publication Publication Date Title
WO2017063459A1 (zh) Usb控制装置及设备
CN110829523B (zh) 一种电子设备及反向充电方法
CN106291210B (zh) Usb接口检测器、检测方法、usb连接器及电子设备
CN106716389B (zh) 用于快速usb充电的方法、电子装置及充电器设备
CN101359316B (zh) 一种实现通用串行总线usb otg的方法及装置
US10241935B2 (en) Portable device, cable assembly, and USB system
US7711870B2 (en) Interface detecting circuit and interface detecting method
EP1550045B1 (en) Device operable as both a host and a non-host (i.e. dual-mode device)
JP5283719B2 (ja) 電子機器及び電子機器システム
CN106571657B (zh) 终端、转换器以及连接转换系统和方法
TWI345342B (en) Detachable host accessory and portable system
TWI670897B (zh) 電源充電路徑切換電路及其電子設備
CN106502939B (zh) 一种usb转接头及数据传输设备
CN103106167A (zh) 一种usb设备及其控制方法
CN107643998B (zh) 基于智能模块实现otg和充电双功能的系统
WO2022012527A1 (zh) 充电器、数据线、充电设备和电子设备
TW201520754A (zh) 通用序列匯流排裝置的偵測系統及其方法
US8970175B2 (en) Charging circuit employing a southbridge microchip to control charging when the electronic apparatus is shut down
KR20110129202A (ko) 컴퓨터 시스템 및 이의 제어방법
KR20160081676A (ko) 트래블 어댑터
TWI394036B (zh) 主機板
KR100700532B1 (ko) 범용 직렬 버스 포트의 연결 장치 인식 방법과 범용 직렬버스 어댑터
JP2011233129A (ja) 急速充電装置
KR20150072248A (ko) Usb otg 메모리 장치
KR20150069659A (ko) 유에스비 연결 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16854841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16854841

Country of ref document: EP

Kind code of ref document: A1