CN104767180B - The guard method of USB interface large current charge and system - Google Patents

The guard method of USB interface large current charge and system Download PDF

Info

Publication number
CN104767180B
CN104767180B CN201510125801.5A CN201510125801A CN104767180B CN 104767180 B CN104767180 B CN 104767180B CN 201510125801 A CN201510125801 A CN 201510125801A CN 104767180 B CN104767180 B CN 104767180B
Authority
CN
China
Prior art keywords
usb
usb interface
line
usb line
temperature
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
CN201510125801.5A
Other languages
Chinese (zh)
Other versions
CN104767180A (en
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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201510125801.5A priority Critical patent/CN104767180B/en
Publication of CN104767180A publication Critical patent/CN104767180A/en
Application granted granted Critical
Publication of CN104767180B publication Critical patent/CN104767180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The guard method of USB interface large current charge and system, for detecting the temperature at USB interface both ends, if being not above threshold value, export charging current by distinguishing set temperature detection module at the both ends of USB interface.If more than threshold value, the electric current output of USB interface is cut off.Thus can avoid because electric current is excessive cause temperature excessively high due to burn out USB interface, so as to fulfill the protecting effect of USB interface large current charge.

Description

The guard method of USB interface large current charge and system
Technical field
The present invention relates to big circuit charge protections, are protected more particularly to a kind of USB interface large current charge easy to operate Maintaining method and system.
Background technology
The electric current to be charged at present by USB line is set within 2A mostly, and a large current charge device of light treasured volume production is most High current is 5V/3A, but it does not do any protection on USB interface.For large current charge, if not on interface Certain protection is done, once USB interface is micro- short or loose contact, it is excessive easily to occur local pyrexia at USB interface, so as to cause USB burns mouth failure even on fire.Such as the charger of 5V/3A, it, will when the micro- short resistance value for generating 2 ohm of positive electrode and negative electrode Generate the heating power of 5*5/2=12.5W.USB interface cannot bear so big calorific value.
Invention content
Based on this, it is necessary to provide a kind of USB interface large current charge guard method easy to operate.
A kind of USB interface large current charge guard method, includes the following steps:
The both ends temperature of USB interface is detected, and judges the temperature of detection whether more than threshold value;
If so, cut off the electric current output of the USB interface;If it is not, then the USB interface exports charging current;
After the electric current output of the USB interface is cut off, by time rating, the temperature detecting module inspection is judged again Whether the temperature of survey is more than threshold value, repeats the above steps and exports charging current to the USB interface.
It is additionally included in one of the embodiments, in the adapter being connect with USB interface and standard configuration USB line identification mould is set Block, if the USB line that the identification module recognizes is standard configuration USB line, the output high current externally charges;If identification module The USB line recognized is not standard configuration USB line, then exports low current and externally charge, wherein, the standard configuration USB line is used with being adapted to The corresponding communication protocol of device.
It further includes in one of the embodiments, and the adapter and the USB interface is encrypted.
In one of the embodiments, by the D+D- of UBS interfaces two be encrypted between communication line and adapter.
Increase PIN foot in USB interface in one of the embodiments, and be used for coded communication.
In addition, also provide a kind of USB interface large current charge protection system easy to operate.
A kind of USB interface large current charge protects system, including temperature detecting module, control module and current switch mould Block;
The temperature detecting module is arranged on the both ends of USB interface, and the temperature for detecting the USB interface both ends; The control module is used to receive the temperature of the temperature detecting module detection, and judges the temperature of the temperature detecting module detection Whether degree is more than threshold value, if so, the control module is used for the electricity that the current switch module is controlled to cut off the USB interface Stream output;If it is not, then the control module makes the USB interface output charging for the current switch module to be controlled to be connected Electric current;
After the electric current output of the USB interface is cut off, by time rating, the control module is used to judge institute again Whether the temperature for stating temperature detecting module detection is more than threshold value, repeats to judge to export charging current to the USB interface.
It is additionally included in the standard configuration USB line identification set in the adapter being connect with USB interface in one of the embodiments, Module;If the USB line that identification module recognizes is standard configuration USB line, the output high current externally charges;If identification module is known The USB line being clipped to not is standard configuration USB line, then exports low current and externally charge, wherein, the standard configuration USB line uses and adapter Corresponding communication protocol.
It is encrypted between the adapter and the USB interface in one of the embodiments,.
In one of the embodiments, by the D+D- of UBS interfaces two be encrypted between communication line and adapter.
Increase PIN foot in USB interface in one of the embodiments, and be used for coded communication.
Above-mentioned USB interface large current charge guard method and system are examined by distinguishing set temperature at the both ends of USB interface Module is surveyed, for detecting the temperature at USB interface both ends, if being not above threshold value, exports charging current.If more than threshold value, Cut off the electric current output of USB interface.Can thus avoid because electric current is excessive cause temperature excessively high due to burn out USB interface, so as to real The protecting effect of existing USB interface large current charge.
Description of the drawings
Fig. 1 is the flow chart of USB interface large current charge guard method;
Fig. 2 is the module map that USB interface large current charge protects system.
Specific embodiment
As shown in Figure 1, the flow chart for USB interface large current charge guard method.
The charge path of USB interface is from adapter-USB port-USB line-B/C mouthfuls-charging terminals of USB.Usually Two interfaces of A mouthfuls of USB and USB B/C mouths can be burnt out because temperature is excessively high.Because the two interface male seats are all on USB line, Therefore, it is set in USB line line for detecting the temperature detecting module of port temperature, for according to port temperature control current switch Module is connected with the control module of cut-off and for controlling current switch module of the USB interface electric discharge with stopping electric discharge.
Specifically, a kind of USB interface large current charge guard method, includes the following steps:
Whether step S110, detects the both ends temperature of USB interface, and judge the temperature of detection more than threshold value.
Specifically, the temperature using temperature detecting module detection USB interface both ends.Temperature detecting module is NTC (Negative Temperature Coefficient, negative temperature coefficient) resistance, NTC resistance are used to detect temperature.If end Mouth fever is serious, just closes current switch module to cut off electric current output.After placing a period of time, then go detection port temperature Degree.Such iterative cycles, it is ensured that port temperature would not burn out port less than temperature threshold.It if it is desired, can also be only in USB B/C mouthfuls or USB A mouthfuls put NTC resistance, only detect the temperature of one end.
Step S120;If so, cut off the electric current output of the USB interface;If it is not, the then USB interface output charging Electric current.
Step S130 after the electric current output of the USB interface is cut off, by time rating, judges the temperature again Whether the temperature of detection module detection is more than threshold value, repeats the above steps and exports charging current to the USB interface.
USB interface large current charge guard method is additionally included in setting standard configuration USB line in the adapter being connect with USB interface Identification module, if the USB line that the identification module recognizes is standard configuration USB line, the output high current externally charges;If know The USB line that other module recognizes not is standard configuration USB line, then exports low current and externally charge, wherein, the standard configuration USB line uses Communication protocol corresponding with adapter.
Although having done protection processing on USB line, really provide heating power is adapter, therefore high current adapter USB line connection carry out large current charge can cause burn mouth problem.So as to introduce standard configuration USB line identification module in adapter, When the USB line that adapter recognizes standard can export a high current.When adapter is unidentified arrives standard configuration USB line, then limit A smaller electric current (such as 1A) may only be exported by determining adapter.It can ensure that even if adapter coordinates common USB in this way Line will not cause serious burning mouth problem after having done current limliting processing.
USB interface large current charge guard method further includes, and the adapter and the USB interface are encrypted.
The guard method of USB interface large current charge is added the D+D- two of UBS interfaces between communication line and adapter It is close.Without changing USB interface.
USB interface large current charge guard method increases PIN foot for coded communication in USB interface.So as to not influence Normal usb communication.
Either encrypted using optic communication.By the optical signal (such as infrared ray) of adapter/USB line transmitting lead USB line/ In adapter, encryption identification is completed by optic communication.So as to not influence normal usb communication, it is not required to change USB interface.
Either using the encryption of the wireless communications such as bluetooth.So as to not influence normal usb communication, it is not required to change USB interface.
Based on above-mentioned all embodiments, by doing temperature protection function on USB line, USB line encryption is done on adapter Identification function realizes the interface protection of large current charge.Adapter identifies whether as standard configuration USB line, cooperation non-standard configuration USB line When limit output current.The USB line of matching standard can export high current, and it is online in increase circuit protection port.
As shown in Fig. 2, the module map of system is protected for USB interface large current charge.
Based on above-mentioned all embodiments, a kind of USB interface large current charge protection system include temperature detecting module 101, Control module 102 and current switch module 103.
The temperature detecting module 101 is arranged on the both ends of USB interface, and the temperature for detecting the USB interface both ends Degree;The control module 102 is used to receive the temperature that the temperature detecting module 101 detects, and judge the temperature detection mould Whether the temperature that block 101 detects is more than threshold value, if so, the control module 102 is used to control the current switch module 103 Cut off the electric current output of the USB interface;If it is not, then the control module 102 is used to that the current switch module 103 to be controlled to lead It is logical, make the USB interface output charging current.
After the electric current output of the USB interface is cut off, by time rating, the control module 102 is used to sentence again Whether the temperature that the disconnected temperature detecting module 101 detects is more than threshold value, repeats to judge to export charging electricity to the USB interface Stream.
USB interface large current charge protection system is additionally included in the standard configuration USB set in the adapter being connect with USB interface Line identification module;If the USB line that identification module recognizes is standard configuration USB line, the output high current externally charges;If identification The USB line that module recognizes then exports low current and externally charges not for standard configuration USB line, wherein, the standard configuration USB line use with The corresponding communication protocol of adapter.
It is encrypted between adapter and the USB interface described in USB interface large current charge protection system.
USB interface large current charge protection system is added the D+D- two of UBS interfaces between communication line and adapter It is close.
USB interface large current charge protection system increases PIN foot for coded communication in USB interface.
Above-mentioned USB interface large current charge guard method and system are examined by distinguishing set temperature at the both ends of USB interface Module 101 is surveyed, for detecting the temperature at USB interface both ends, if being not above threshold value, exports charging current.If more than threshold value, Then cut off the electric current output of USB interface.Thus can avoid because electric current is excessive cause temperature excessively high due to burn out USB interface, so as to Realize the protecting effect of USB interface large current charge.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (8)

1. a kind of USB interface large current charge guard method, suitable for USB line and adapter, includes the following steps:
The temperature of two end interface of USB line is detected, and judges the temperature of detection whether more than threshold value;
If so, cut off the electric current output of the USB line;If it is not, then the USB line exports charging current;
After the electric current output of the USB line is cut off, by time rating, judging the temperature of temperature detecting module detection again is No is more than threshold value, repeats the above steps and exports charging current to the USB line;
Identification module for identifying standard configuration USB line is set in the adapter being connect with USB interface, if the identification module is known The USB line being clipped to is standard configuration USB line, then exports high current and externally charge;If the USB line that identification module recognizes is not standard configuration USB line then exports low current and externally charges.
2. USB interface large current charge guard method according to claim 1, which is characterized in that further including will be described suitable Orchestration is encrypted with USB interface.
3. USB interface large current charge guard method according to claim 2, which is characterized in that by the D+ of USB interfaces D- two is encrypted between communication line and adapter.
4. USB interface large current charge guard method according to claim 2, which is characterized in that increase in USB interface PIN foot is used for coded communication.
5. a kind of USB interface large current charge protects system, including USB line and adapter, which is characterized in that the USB line packet Include temperature detecting module, control module and current switch module;
The temperature detecting module is arranged on two end interface of USB line, and the temperature for detecting two end interface of USB line;Institute Control module is stated for receiving the temperature of the temperature detecting module detection, and judges the temperature of the temperature detecting module detection Whether it is more than threshold value, if so, the electric current that the control module is used to that the current switch module to be controlled to cut off the USB line is defeated Go out;If it is not, then the control module makes the USB line output charging current for the current switch module to be controlled to be connected;
After the electric current output of the USB line is cut off, by time rating, the control module is used to judge the temperature again Whether the temperature of detection module detection is more than threshold value, repeats to judge to export charging current to the USB line;
Identification module for identifying standard configuration USB line is set in the adapter being connect with USB interface;If the identification module is known The USB line being clipped to is standard configuration USB line, then exports high current and externally charge;If the USB line that the identification module recognizes not is mark With USB line, then export low current and externally charge.
6. USB interface large current charge according to claim 5 protects system, which is characterized in that the adapter and USB It is encrypted between interface.
7. USB interface large current charge according to claim 5 protects system, which is characterized in that by the D+ of USB interfaces D- two is encrypted between communication line and adapter.
8. USB interface large current charge according to claim 5 protects system, which is characterized in that increases in USB interface PIN foot is used for coded communication.
CN201510125801.5A 2015-03-20 2015-03-20 The guard method of USB interface large current charge and system Active CN104767180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510125801.5A CN104767180B (en) 2015-03-20 2015-03-20 The guard method of USB interface large current charge and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510125801.5A CN104767180B (en) 2015-03-20 2015-03-20 The guard method of USB interface large current charge and system

Publications (2)

Publication Number Publication Date
CN104767180A CN104767180A (en) 2015-07-08
CN104767180B true CN104767180B (en) 2018-06-08

Family

ID=53648874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510125801.5A Active CN104767180B (en) 2015-03-20 2015-03-20 The guard method of USB interface large current charge and system

Country Status (1)

Country Link
CN (1) CN104767180B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3142215B1 (en) 2015-03-27 2019-08-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd Charge control method and apparatus, and charge cable
SG11201700719PA (en) 2015-03-27 2017-02-27 Guangdong Oppo Mobile Telecomm Electric power management method and apparatus, and electronic device
CN105785817B (en) * 2016-03-24 2018-08-03 成都芯源系统有限公司 Power supply circuit and power supply method
CN106058959A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Charging line and charger
CN106058958A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Charger
CN106786837A (en) * 2016-11-09 2017-05-31 上海与德信息技术有限公司 Charge protector and charge protection method
CN106786942A (en) * 2016-12-30 2017-05-31 深圳天珑无线科技有限公司 A kind of charge protection device and charging system
CN107394836A (en) * 2017-07-21 2017-11-24 上海东鑫瑞能能源科技有限公司 A kind of charging equipment, it is electrically charged equipment and charging method
CN109980460B (en) * 2019-02-22 2020-07-21 维沃移动通信有限公司 USB interface protection circuit and protection method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771178A (en) * 2008-12-29 2010-07-07 深圳易拓科技有限公司 Charging method adopting USB interfaces
CN102122739A (en) * 2010-12-29 2011-07-13 华为终端有限公司 Charging method and user equipment
CN102439816A (en) * 2011-08-22 2012-05-02 华为终端有限公司 Hand held device, usb charger, and method for hand held device to identify usb charger
CN104103868A (en) * 2014-07-21 2014-10-15 Tcl通讯(宁波)有限公司 Charging method and system for charger of mobile terminal
US8981731B1 (en) * 2013-10-24 2015-03-17 Panasonic Intellectual Property Corporation Of America Charger and electronic apparatus system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9515498B2 (en) * 2012-03-08 2016-12-06 Panasonic Intellectual Property Management Co., Ltd. Charging cable

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771178A (en) * 2008-12-29 2010-07-07 深圳易拓科技有限公司 Charging method adopting USB interfaces
CN102122739A (en) * 2010-12-29 2011-07-13 华为终端有限公司 Charging method and user equipment
CN102439816A (en) * 2011-08-22 2012-05-02 华为终端有限公司 Hand held device, usb charger, and method for hand held device to identify usb charger
US8981731B1 (en) * 2013-10-24 2015-03-17 Panasonic Intellectual Property Corporation Of America Charger and electronic apparatus system
CN104103868A (en) * 2014-07-21 2014-10-15 Tcl通讯(宁波)有限公司 Charging method and system for charger of mobile terminal

Also Published As

Publication number Publication date
CN104767180A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN104767180B (en) The guard method of USB interface large current charge and system
US20180364291A1 (en) Electronic device
JP2017503520A (en) Battery assembly for electronic cigarette, electronic cigarette and control method thereof
CN207200350U (en) A kind of excess temperature overvoltage crowbar and intelligent terminal
CN106100027A (en) Charger and the short-circuit protection circuit for charging inlet
CN102984368B (en) A kind of mobile terminal for automatically identifying genuine battery and recognition methods thereof
US20150180221A1 (en) Protection of cables and connectors
WO2018076623A1 (en) Method and device for detecting charging abnormality and power adapter
TWI629488B (en) Recharging cable
CN106786942A (en) A kind of charge protection device and charging system
EP2863648A1 (en) Method, device, and electronic signature tool for audio interface self-adaptation
CN107276040A (en) A kind of electronic equipment, overheat protector system and method
CN104078807A (en) Data line with automatic power off function and power off control method thereof
CN102291879B (en) Control circuit, method and device for charging indicator light as well as charging device
CN107431314A (en) A kind of safe and intelligent socket
CN104101808A (en) Charger detecting system and detecting method thereof and mobile terminal
JP2021534553A (en) A method for recognizing poor contact with a battery pack, and a system for implementing this method.
CN104167790B (en) The charge control system and its charge control method of charger, mobile terminal
CN207410011U (en) A kind of control circuit and charging wire
US10965131B2 (en) Charging protection device and method thereof
CN106655389A (en) Charging protection method, device and circuit
CN104460378A (en) Novel electronic cigarette controller having open and short circuit detection function
CN102998590A (en) Connector detecting device and connector detecting method
CN207662993U (en) A kind of detection device of feeder ear wiring condition, conduction charging system and electric vehicle
CN208190282U (en) A kind of protection system for the straight charging circuit of battery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant