CN107959325B - USB charging system and control method thereof - Google Patents

USB charging system and control method thereof Download PDF

Info

Publication number
CN107959325B
CN107959325B CN201711188205.7A CN201711188205A CN107959325B CN 107959325 B CN107959325 B CN 107959325B CN 201711188205 A CN201711188205 A CN 201711188205A CN 107959325 B CN107959325 B CN 107959325B
Authority
CN
China
Prior art keywords
power supply
control switch
detection unit
usb interface
unit
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
CN201711188205.7A
Other languages
Chinese (zh)
Other versions
CN107959325A (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.)
EVERFLOURISH SMART TECHNOLOGY Corp.,Ltd.
Original Assignee
Zhejiang Everflourish Electrical 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 Zhejiang Everflourish Electrical Co ltd filed Critical Zhejiang Everflourish Electrical Co ltd
Priority to CN201711188205.7A priority Critical patent/CN107959325B/en
Publication of CN107959325A publication Critical patent/CN107959325A/en
Application granted granted Critical
Publication of CN107959325B publication Critical patent/CN107959325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/0021
    • H02J7/0026
    • 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

Abstract

The invention relates to the technical field of USB charging, in particular to a USB charging system and a control method thereof, and the USB charging system comprises a central processing unit, a switch power supply circuit, a control switch unit, a current detection unit and a USB charging interface, wherein the control switch unit and the current detection unit are electrically connected with the central processing unit, a power supply end of the USB interface is connected to a power supply end of the switch power supply circuit through the control switch unit, a grounding end of the USB interface is connected to a grounding end of the switch power supply circuit through the current detection unit, and the USB charging system is characterized in that: the USB interface power supply device further comprises an equipment connection detection unit, wherein the equipment connection detection unit is electrically connected with the central processing unit, and the equipment connection detection unit is respectively connected with the power supply end of the USB interface and the power supply end of the switch power supply circuit. The USB charging system and the method are convenient to use.

Description

USB charging system and control method thereof
Technical Field
The invention relates to the technical field of USB charging, in particular to a USB charging system and a control method thereof.
Background
The USB charging is a conventional charging means at present, and the USB charging device is mainly used for charging digital products. Although the USB charging device in the prior art has the function of charging protection, the USB charging device in the prior art cannot identify whether the product after charging protection is pulled out, that is, when another product to be charged is plugged in, the USB charging device needs to be manually reset by a user to continue charging the product, so that the USB charging device is inconvenient to use.
Disclosure of Invention
The invention aims to solve the technical problems that: a USB charging system with convenient use is provided.
The invention adopts a technical scheme that: the utility model provides a USB charging system, including central processing unit, switching power supply circuit, the control switch unit, current detecting unit and USB interface that charges, control switch unit and current detecting unit all are connected with central processing unit electricity, and the feed end of USB interface is connected to the feed end of switching power supply circuit through the control switch unit, the earthing terminal of USB interface is connected to the earthing terminal of switching power supply circuit through current detecting unit, it still includes equipment connection detecting unit, equipment connection detecting unit is connected with central processing unit electricity, and equipment connection detecting unit is connected with the feed end of USB interface and the feed end of switching power supply circuit respectively and is connected.
Compared with the prior art, the invention has the following advantages by adopting the structure: through having set up equipment connection and having listened the unit, whether detect the battery charging outfit after filling up still to connect on the USB interface through equipment connection and listened the unit, like this when battery charging outfit pulls out the USB interface after, equipment connection is listened the unit and can be monitored, then control switch unit resets, can normally charge after next battery charging outfit inserts the USB interface like this, and need not set up reset switch, and the user uses more conveniently like this.
Preferably, the USB interface includes a main USB interface and a plurality of secondary USB interfaces, two circuits are connected in parallel between the power supply terminals of the plurality of secondary USB interfaces and the power supply terminal of the switching power supply circuit, the two circuits are divided into a first circuit and a second circuit, the first circuit includes a first control switch and a current limiting unit connected in series, the second circuit includes a second control switch, and the first control switch and the second control switch are both electrically connected to the central processing unit. The current limiting units are arranged on the secondary USB interfaces, so that the current intensity of the main USB interface can be guaranteed, the current detecting unit is arranged on the main USB interface to judge whether equipment is charged on the main USB interface, the secondary USB interfaces do not limit current if the main USB interface is not connected with the charging equipment, and the secondary USB interfaces are limited current if the main USB interface is connected with the charging equipment, so that the current intensity of the main USB interface is guaranteed.
The invention aims to solve another technical problem that: the control method of the USB charging system is provided, and the USB charging system is more convenient to use by adopting the method.
The other technical scheme adopted by the invention is as follows: a control method of a USB charging system comprises the following steps:
s1, the central processing unit controls the control switch unit to be conducted, then the current detection unit is controlled to work, if the detected current is smaller than a set threshold value, it is judged that no charging equipment is connected, and the current detection unit continues to detect; if the detected current is larger than the set threshold value, judging that charging equipment is accessed, and jumping to the next step;
s2, the current detection unit continues to detect, if the detected current is larger than a set threshold value, the charging equipment is judged to be still charging, and the current detection unit continues to detect; if the detected current is smaller than the set threshold value, judging that the charging equipment is full, controlling the control switch unit to be disconnected by the central processing unit, and then jumping to the next step;
s3, the equipment connection detection unit works, if the detected voltage is smaller than a set threshold value, the full charging equipment is judged to be still plugged on the USB interface, and the equipment connection detection unit is controlled to continue to detect; if the detected voltage is larger than the set threshold value, the charged charging equipment is judged to be pulled out, and the central processing unit controls the control switch unit to be conducted.
The step S1 further includes the steps of:
s11, firstly, controlling the current detection unit connected with the main USB interface to work;
s12, if the detected current is smaller than the set threshold, judging that no charging equipment is connected, and controlling the first control switch to be switched off and simultaneously controlling the second control switch to be switched on by the central processing unit; if the detected current is larger than the set threshold value, the charging equipment is judged to be connected, and the central processing unit controls the first control switch to be connected and simultaneously controls the second control switch to be disconnected.
Compared with the prior art, the method has the following advantages that: whether the charging equipment is connected or not is judged through the current detection unit, then whether the charging equipment is full of the charging equipment or not is judged through the current detection unit, then charging protection is carried out after the charging equipment is full of the charging equipment, whether the full-filled equipment is pulled out or not is judged through the equipment connection detection unit, if the full-filled equipment is pulled out, automatic reset is carried out, therefore, a user does not need to manually reset a USB interface which is subjected to charging protection, and the user is convenient to use.
And whether equipment is charging at the main USB interface is judged according to the current detection unit on the main USB interface, if the current-limiting secondary USB interface exists, and if the current-limiting secondary USB interface does not exist, the current of the main USB interface can be ensured, so that a product inserted on the main USB interface can be charged better.
Drawings
Fig. 1 is a connection block diagram of a single USB interface of the USB charging system of the present invention.
Fig. 2 is a connection block diagram of a plurality of USB interfaces of the USB charging system according to the present invention.
Detailed Description
The present invention will be further described with reference to the following detailed description and drawings, but the present invention is not limited to the following detailed description.
The utility model provides a USB charging system, including central processing unit, switching power supply circuit, the control switch unit, current detecting unit and USB interface that charges, control switch unit and current detecting unit all are connected with central processing unit electricity, and the feed end of USB interface is connected to the feed end of switching power supply circuit through the control switch unit, the earthing terminal of USB interface is connected to the earthing terminal of switching power supply circuit through current detecting unit, it still includes equipment connection detecting unit, equipment connection detecting unit is connected with central processing unit electricity, and equipment connection detecting unit is connected with the feed end of USB interface and the feed end of switching power supply circuit respectively and is connected.
The switching power supply circuit is an AC-DC or DC-DC switching power supply module. The control switch unit adopts an MOS tube with the model of AO3416, so that the CPU can conveniently control the on-off of the MOS tube. The MOS pipe is connected with a large resistor in parallel, the resistance value is 100K, the device connection detection unit mainly detects the voltage between the large resistor and the power supply end of the USB interface, the voltage detected at the moment is 5V when the control switch unit is disconnected or the USB interface is not connected with the charging device, and if the USB interface is connected with the charging device, the voltage detected at the moment is about 4.7V, and the two are different. A small resistor with the resistance value of 0.1K is arranged between the grounding end of the USB interface and the ground, and the current detection unit is mainly used for monitoring the current between the small resistor and the grounding end of the USB interface.
The USB interface comprises a main USB interface and a plurality of secondary USB interfaces, two circuits are arranged between the power supply ends of the secondary USB interfaces and the power supply end of the switching power supply circuit in parallel, the two circuits are divided into a first circuit and a second circuit, the first circuit comprises a first control switch and a current-limiting unit which are connected in series, the second circuit comprises a second control switch, and the first control switch and the second control switch are electrically connected with the central processing unit. The current limiting unit is composed of a CW3047 current limiting chip and an auxiliary circuit thereof, and the two control switches are MOS transistors with model number AO 3416.
A control method of a USB charging system is characterized by comprising the following steps:
s1, the central processing unit controls the control switch unit to be conducted, then the current detection unit is controlled to work, if the detected current is smaller than a set threshold value, it is judged that no charging equipment is connected, and the current detection unit continues to detect; if the detected current is larger than the set threshold value, judging that charging equipment is accessed, and jumping to the next step;
s2, the current detection unit continues to detect, if the detected current is larger than a set threshold value, the charging equipment is judged to be still charging, and the current detection unit continues to detect; if the detected current is smaller than the set threshold value, judging that the charging equipment is full, controlling the control switch unit to be disconnected by the central processing unit, and then jumping to the next step;
s3, the equipment connection detection unit works, if the detected voltage is smaller than a set threshold value, the full charging equipment is judged to be still plugged on the USB interface, and the equipment connection detection unit is controlled to continue to detect; if the detected voltage is larger than the set threshold value, the charged charging equipment is judged to be pulled out, and the central processing unit controls the control switch unit to be conducted.
The step S1 further includes the following steps:
s11, firstly, controlling the current detection unit connected with the main USB interface to work; because the grounding end of each USB interface is provided with the current detection unit, the current detection unit is also arranged on the main USB interface.
S12, if the detected current is smaller than the set threshold, judging that no charging equipment is connected, and controlling the first control switch to be switched off and simultaneously controlling the second control switch to be switched on by the central processing unit; if the detected current is larger than the set threshold value, the charging equipment is judged to be connected, and the central processing unit controls the first control switch to be connected and simultaneously controls the second control switch to be disconnected. The current to the main USB interface is guaranteed to be 2.4A.

Claims (2)

1. A control method of a USB charging system comprises a central processing unit, a switching power supply circuit, a control switch unit, a current detection unit and a USB interface, wherein the control switch unit and the current detection unit are electrically connected with the central processing unit, the power supply end of the USB interface is connected to the power supply end of the switching power supply circuit through the control switch unit, the grounding end of the USB interface is connected to the grounding end of the switching power supply circuit through the current detection unit, the USB charging system further comprises an equipment connection detection unit, the equipment connection detection unit is electrically connected with the central processing unit, and the equipment connection detection unit is respectively connected with the power supply end of the USB interface and the power supply end of the switching power supply circuit; the USB interface comprises a main USB interface and a plurality of secondary USB interfaces, two parallel circuits are arranged between power supply ends of the plurality of secondary USB interfaces and a power supply end of a switch power supply circuit after the power supply ends of the plurality of secondary USB interfaces are connected, the two circuits are respectively a first circuit and a second circuit, the first circuit comprises a first control switch and a current limiting unit which are connected in series, the second circuit comprises a second control switch, and the first control switch and the second control switch are both electrically connected with a central processing unit, and the control method is characterized by comprising the following steps:
s1, the central processing unit controls the control switch unit to be conducted, then the current detection unit is controlled to work, the current of the USB interface is detected, if the detected current is smaller than a set threshold value, it is judged that no charging equipment is connected, and the current detection unit continues to detect; if the detected current is larger than the set threshold value, judging that charging equipment is accessed, and jumping to the next step;
s2, the current detection unit continues to detect, if the detected current is larger than a set threshold value, the charging equipment is judged to be still charging, and the current detection unit continues to detect; if the detected current is smaller than the set threshold value, judging that the charging equipment is full, controlling the control switch unit to be disconnected by the central processing unit, and then jumping to the next step;
s3, the equipment connection detection unit works to detect the voltage of the USB interface, if the detected voltage is smaller than a set threshold value, the full charging equipment is judged to be still plugged on the USB interface, and the equipment connection detection unit is controlled to continue to detect; if the detected voltage is larger than the set threshold value, the charged charging equipment is judged to be pulled out, and the central processing unit controls the control switch unit to be conducted.
2. The method of claim 1, wherein the method further comprises: the step S1 further includes the following steps:
s11, firstly, controlling the current detection unit connected with the main USB interface to work;
s12, if the detected current is smaller than the set threshold, judging that no charging equipment is connected, and controlling the first control switch to be switched off and simultaneously controlling the second control switch to be switched on by the central processing unit; if the detected current is larger than the set threshold value, the charging equipment is judged to be connected, and the central processing unit controls the first control switch to be connected and simultaneously controls the second control switch to be disconnected.
CN201711188205.7A 2017-11-24 2017-11-24 USB charging system and control method thereof Active CN107959325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711188205.7A CN107959325B (en) 2017-11-24 2017-11-24 USB charging system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711188205.7A CN107959325B (en) 2017-11-24 2017-11-24 USB charging system and control method thereof

Publications (2)

Publication Number Publication Date
CN107959325A CN107959325A (en) 2018-04-24
CN107959325B true CN107959325B (en) 2021-05-18

Family

ID=61961968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711188205.7A Active CN107959325B (en) 2017-11-24 2017-11-24 USB charging system and control method thereof

Country Status (1)

Country Link
CN (1) CN107959325B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413547A (en) * 2018-04-28 2019-11-05 鸿富锦精密电子(重庆)有限公司 The communication system of interface control unit and the application interface control unit
CN108539830A (en) * 2018-06-20 2018-09-14 深圳英集芯科技有限公司 A kind of charging control switching circuit and control method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011223669A (en) * 2010-04-06 2011-11-04 On Semiconductor Trading Ltd Charger for portable electronic apparatus
CN203326663U (en) * 2013-06-28 2013-12-04 向智勇 Electronic cigarette case
CN103954861B (en) * 2014-04-23 2016-04-20 四川虹微技术有限公司 Pick-up unit is inserted in a kind of two-way USB load
CN204030700U (en) * 2014-08-14 2014-12-17 钱剑科 Auto-breaking charger
CN104535851B (en) * 2014-12-12 2018-02-13 惠州Tcl移动通信有限公司 The quick determination method and system that a kind of Mobile terminal charger is extracted
CN105576744A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Charge pal switching implementation method and charge pal
CN106602645B (en) * 2016-12-13 2019-04-09 上海创功通讯技术有限公司 Charger

Also Published As

Publication number Publication date
CN107959325A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN111917163B (en) Multi-port charging control circuit and method, charging chip and power supply equipment
CN106026257B (en) A kind of mobile terminal
CN103802763B (en) A kind of armored vehicle high direct voltage big current combination power distribution protective device
US20210293897A1 (en) Short circuit and soft short protection for data interface charging
CN105978093B (en) A kind of mobile terminal
CN104767260A (en) Charger, terminal device and charging system
CN102231543A (en) System capable of identifying charging capability of charger and charging method thereof
WO2016153576A1 (en) Soft-short overvoltage protection for data lines in quick charge usb charger
CN104505890A (en) Mobile terminal
CN204407955U (en) Fast charging and discharging portable power source
CN107959325B (en) USB charging system and control method thereof
CN105762898A (en) Intelligent mobile phone charger
CN105846675A (en) Power supply system
US10554058B2 (en) Systems and methods for monitoring an operating status of a connector
CN204376458U (en) A kind of mobile terminal and charging device
CN104600763B (en) Under-voltage protecting circuit and lamps and lanterns
CN204376457U (en) A kind of mobile terminal
CN207426777U (en) USB charging circuits
WO2017099768A1 (en) Short circuit protection for data interface charging
CN211348432U (en) Processing circuit and power supply unit of power output end
CN209516714U (en) Charger
CN203241994U (en) Hot-plug control device
US9281679B2 (en) Electronic device
CN202978304U (en) Power adapter apparatus
CN106410759A (en) Method and device for communication overcurrent protection of AC wire controller

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No.77, Wuxiang East Road, Yinzhou District, Ningbo City, Zhejiang Province, 315105

Patentee after: EVERFLOURISH SMART TECHNOLOGY Corp.,Ltd.

Address before: 315105 Zhejiang province Ningbo five Yinzhou District Township Ren Village

Patentee before: ZHEJIANG EVERFLOURISH ELECTRICAL Co.,Ltd.