CN109560581A - Charging method, charging process circuit, electronic equipment and storage medium - Google Patents

Charging method, charging process circuit, electronic equipment and storage medium Download PDF

Info

Publication number
CN109560581A
CN109560581A CN201811347508.3A CN201811347508A CN109560581A CN 109560581 A CN109560581 A CN 109560581A CN 201811347508 A CN201811347508 A CN 201811347508A CN 109560581 A CN109560581 A CN 109560581A
Authority
CN
China
Prior art keywords
charging
output
interface
pin
signals
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.)
Granted
Application number
CN201811347508.3A
Other languages
Chinese (zh)
Other versions
CN109560581B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811347508.3A priority Critical patent/CN109560581B/en
Publication of CN109560581A publication Critical patent/CN109560581A/en
Application granted granted Critical
Publication of CN109560581B publication Critical patent/CN109560581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/448End of discharge regulating measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • H02J7/0032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits disconnection of loads if battery is not under charge, e.g. in vehicle if engine is not running
    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • 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
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

It includes: the connection status of acquisition and charging equipment that the embodiment of the present application, which provides a kind of charging method, charging process circuit, electronic equipment and storage medium, charging method,;When the connection status is connected status, communicated with the charging equipment;After communicating successfully with the charging equipment, charging signals are exported;When being not-connected status with the charging equipment communication failure or the connection status, stop output charging signals.Charging unit in the unconnected state, does not export charging signals, at this time, even if charging output interface will not result in charging interface short circuit into foreign matter or feed liquor, and can save power consumption, in connected status and after communicating successfully, charging signals are just exported, realization charges normal.

Description

Charging method, charging process circuit, electronic equipment and storage medium
Technical field
This application involves electronic technology field more particularly to a kind of charging methods, charging process circuit, electronic equipment And storage medium.
Background technique
Currently, the charging output interface of charging unit has been able to integrate data transmission and charge function, charging dress Setting can be the adapter to charge to mobile terminal.After charging unit is electrically connected with city, the charging output interface of charging unit has Charging voltage is exported, when the charging output interface feed liquor of charging unit or when into foreign matter, be easy to cause charging output interface short circuit, It in turn results in charging output interface or adapter is burnt.
Summary of the invention
The embodiment of the present application provides a kind of charging method, charging process circuit, electronic equipment and storage medium, can be with Protection charging output interface.
The embodiment of the present application provides a kind of charging method comprising:
Obtain the connection status with charging equipment;
When the connection status is connected status, communicated with the charging equipment;
After communicating successfully with the charging equipment, charging signals are exported;
When being not-connected status with the charging equipment communication failure or the connection status, stop output charging letter Number.
The embodiment of the present application also provides a kind of charging methods comprising:
Obtain the connection status with charging unit;
When the connection status is connected status, communicated with the charging unit;
After being communicated successfully with the charging unit, control the charging unit from stop output charging signals be switched to it is defeated Charging signals out.
The embodiment of the present application also provides a kind of charging process circuits comprising:
Charge output interface, and the charging output interface with the charging input interface of charging equipment for connecting;
Detection module, the detection module are connect with the charging output interface, and the detection module is described for obtaining The connection status of charging output interface and the charging input interface;
Output control module, the charging output interface and the detection module are connect with the output control module, When the connection status is not-connected status, stop exporting charging signals by the charging output interface, when the connection When state is connected status, is communicated with the charging equipment, and when the communication is successful, pass through the charging output interface Charging signals are exported, when communication failure, stop exporting charging signals by the charging output interface.
The embodiment of the present application also provides a kind of charging process circuits comprising:
Charging input interface, the charging input interface with the charging output interface of charging unit for connecting;
Second detection module, second detection module are connect with the charging input interface, second detection module For obtaining the connection status of the charging output interface and the charging input interface;
Second output control module, the charging input interface and second detection module are controlled with second output The connection of molding block communicates, and when the communication is successful when the connection status is connected status with the charging unit, It controls the charging unit and is switched to output charging signals from output charging signals are stopped.
The embodiment of the present application also provides a kind of electronic equipment comprising shell and charging process circuit, the juice point Circuit is managed in the shell, charging process circuit charging process circuit as described above.
The embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer program, described The step of charging method as described above is realized when program is executed by processor.
Charging method, charging process circuit, electronic equipment and storage medium provided by the embodiments of the present application, are obtained first Take the connection status with charging equipment;When the connection status is connected status, communicated with the charging equipment;When After communicating successfully with the charging equipment, charging signals are exported;When with the charging equipment communication failure or the connection When state is not-connected status, stop output charging signals.Charging unit in the unconnected state, does not export charging signals, At this point, even if charging output interface will not result in charging interface short circuit into foreign matter or feed liquor and power consumption can be saved, Connection status and after communicating successfully, just exports charging signals, realization charges normal.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the first structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 2 is second of structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of Type-C interface provided by the embodiments of the present application.
Fig. 4 is the third structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 5 is the 4th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 6 is the 5th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 7 is the 6th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 8 is the 7th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.
Fig. 9 is the flow diagram of charging method provided by the embodiments of the present application.
Figure 10 is another flow diagram of charging method provided by the embodiments of the present application
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
The embodiment of the present application provides a kind of charging method, charging process circuit, electronic equipment and storage medium.Below It will be described in detail respectively.
Referring to Fig. 1, Fig. 1 is the first structural schematic diagram of charging process circuit provided by the embodiments of the present application.Charging Processing circuit includes charging output interface 210, detection module 220 and output control module 230.
Wherein, charging output interface 210 with the charging input interface 310 of charging equipment 300 for connecting.Charging output Interface 210 can be universal serial bus (Universal Serial Bus, USB) interface.Specifically, charging output interface 210 can be Micro USB interface or Type-C interface etc., certainly, charging output interface 210 or other interfaces.When When the output interface 210 that charges is Type-C interface, since the pin of Type-C interface is more, and the width of Type-C interface has Limit, therefore the spacing between Type-C interface pin is smaller, when into foreign matter or feed liquor, be easy to cause micro-short circuit, so as to cause The temperature of Type-C interface rises, to burn out charging output interface 210.
Detection module 220 with charging output interface 210 connect, detection module 220 for obtain charging output interface 210 and The connection status of charging input interface 310.Detection module 220 be used to detect the charging output interface 210 of charging unit 200 with to The connection status of the charging input interface 310 of charging unit 200.Connection status includes connected status and not-connected status, Connection status indicates that charging unit 200 and device to be charged 200 have been carried out physical connection, and the charging such as charging unit 200 is defeated The charging input interface 310 of the insertion charging equipment 300 of outgoing interface 210.Not-connected status then indicates charging unit 200 and wait fill Physical connection is also not implemented in electric installation 200, and the charging output interface 210 such as charging unit 200 is hanging, no and charging equipment 300 connections.
Charging output interface 210 and detection module 220 are connect with output control module 230, when connection status is not connect When connecing state, stop exporting charging signals by charging output interface 210, when connection status is connected status, and wait fill Electric equipment 300 communicates, and when the communication is successful, exports charging signals by charging output interface 210, when communication failure, Stop exporting charging signals by charging output interface 210.
When connection status is not-connected status, stop output charging signals.When charging unit 200 and charging equipment 300 be not-connected status when, that is, when the charging output interface 210 of charging unit 200 does not connect charging equipment 300, equally Stop output charging signals.
When connection status is connected status, i.e., after charging unit 200 and 300 physical connection of charging equipment, charging The beginning of device 200 is communicated with charging equipment 300.For example, can be set with 200 active transmission connection request of charging unit to be charged Standby 300, it also can receive the connection request of the transmission of charging equipment 300.When charging unit 200 is communicated with charging equipment 300 After success, charging signals are exported.Specifically, receiving to be charged set after can be understood as the transmission connection request of charging unit 200 After the standby 300 reception solicited messages returned, after identifying the reception solicited message, determination is communicated successfully, then exports charging signals. It is also understood that after receiving the connection request that charging equipment 300 is sent for charging unit 200, after identifying the connection request, It returns and receives solicited message to charging equipment 300, so that it is determined that communicating successfully, then export charging signals.
When communicating with charging equipment 300, charging unit 200 receives the connection request of the transmission of charging equipment 300 Afterwards, the connection request or the connection request can not be identified for illegal connection request, then it is assumed that communication failure.It is also possible that charging Device 200 sends connection request and is not received by the reception solicited message of return to charging equipment 300, or receives non- The reception solicited message of method, then it also hold that communication failure.After communication failure, then stop exporting charging signals.
Referring to Fig. 2, Fig. 2 is second of structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, charging output interface 210 includes the first output pin SBU1 and the second output pin SBU2, the first output pin SBU1 is connect with the second output pin SBU2 by the first function element R1, the first output pin SBU1 and the second output pin SBU2 is formed into a loop by charging input interface 310.
Detection module 220 is connect with the second output pin SBU2, and obtain the second output pin SBU2 detection voltage or Electric current is detected, detection module 220 is used for through detection voltage or detects the variation of electric current, obtains charging output interface 210 and fills The connection status of electric input interface 310.
Wherein, the first function element R1 can also can be the elements such as capacitor for outside resistance.First output pin SBU1 and By the first function element R1 connection between second output pin SBU2, charge output interface 210 and the company of charging input interface 310 Before connecing, charging unit 200 to the first output pin SBU1 and the second output pin SBU2 power supply or does not provide fixed value, charging After output interface 210 and charging input interface 310 connect, charging input interface 310 provides voltage to the second output pin SBU2, And be grounded the first output pin SBU1, to be formed into a loop.Charging output interface 210 and charging input interface 310 do not connect Before connecing, the first output pin SBU1 and the second output pin SBU2 do not have voltage and current or the second output pin SBU2 tool There is fixed voltage and current.After forming circuit, the voltage and current of the second output pin SBU2 changes, and then detects Obtain the detection voltage or detection electric current of the second output pin SBU2.When the detection voltage or detection electricity of the second output pin SBU2 When stream is 0 or is fixed value, it is determined that connection status is not-connected status, detection voltage or inspection as the second output pin SBU2 When survey electric current is the value after variation, it is determined that connection status is connected status.
It should be noted that the first output pin and the second output pin can be non-powered pin in the present embodiment, with For Type-C interface, as shown in figure 3, the first output pin can be for outside SBU1, it can also be as needed for pin GND, TX1 +, one in TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-, SBU2, CC1, CC2, the second output pin can be Outside SBU2, can also as needed for pin TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-, SBU1, CC1, One in CC2.
In some other embodiment, the second function element R2 and the first function element R1 of charging input interface 310 are gone here and there Connection, i.e. the second input pin in charging input interface 310 are connect by third function element with the second output pin SBU2.Its In, the second function element R2 can also can be the elements such as capacitor for outside resistance.
Referring to Fig. 4, Fig. 4 is the third structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, the first output pin SBU1 and the second output pin SBU2 also pass through five-function element R5, second switch member Part 250 connects.
One end of five-function element R5 connects the first output pin SBU1, the other end connection of five-function element R5 the The input terminal of two switch elements 250, the output end of second switch element 250 connect the second output pin SBU2, second switch member The control terminal connecting detection module 220 of part 250.
Pass through five-function element R5 and second switch member between first output pin SBU1 and the second output pin SBU2 Part 250 connects, and five-function element R5 and the first function element R1 are in parallel.Detection module 220 detects that connection status is to have connected When connecing state, second switch element 250 is controlled from conducting and is switched to disconnection, or is switched to conducting from disconnection, to change first Impedance between output pin SBU1 and the second output pin SBU2, to change voltage and current.Detection module 220 detects After variation, new voltage or new electric current are sent to charging equipment 300, to prompt charging unit 200 for original-pack charging dress Set 200.When for original-pack charging unit 200, powerful fast charge can be carried out, it, can be with when for non-original-pack charging unit 200 Carry out low power trickle charge.
In some embodiments, charging input interface 310 includes the first input pin and the second input pin, the first input Pin ground connection, the first input pin connect with the first output pin SBU1, the second input pin pass through the second function element R2 and Second output pin SBU2 connection, the second input pin have voltage.
Charging equipment 300 provides voltage to the second input pin, and the second input pin is connected by the second function element R2 It meets the second output pin SBU2, the second output pin SBU2 and passes through first function element R1 connection the first output pin SBU1, the One output pin SBU1 is grounded by the first input pin, to realize circuit.First function element R1 and the second function element R2 partial pressure, by the second input pin of detection or the voltage of the second output pin SBU2, so that it is determined that current connection status is Connected status or not-connected status.
Referring to Fig. 5, Fig. 5 is the 4th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, charging output interface 210 includes third output pin and the 4th output pin, third output pin and the 4th defeated Pin is connected by charging input interface 210 out, and charging unit 200 transmits identification signal by third output pin, when the 4th When output pin detects identification signal, determine that the connection status of charging output interface 210 and charging input interface 310 is to have connected Connect state.
By taking Typc-C interface as an example, third output pin can be CC pin, and the 4th output pin can be power input Pin VBUS issues an identification signal (such as pulse signal) in CC pin at regular intervals.It charging input interface 310 and fills After electricity output interface 210 connects, CC pin and power supply output pin VBUS are connected 310 one end of charging input interface, in this way, electric Source output pin VBUS will receive an identification signal, and charging unit 200 detects this identification signal, charging unit 200, which pass through D+/-, sends charge request to charging equipment 300.After starting to be charged, the CC pin of charging unit 200 is stopped Issue pulse signal.In some other embodiment, power supply output pin VBUS and CC pin can be replaced with other pins.
Referring to Fig. 6, Fig. 6 is the 5th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, charging output interface 210 includes communications pins, communications pins periodicity sending connection request, when receive to When the reception solicited message that charging equipment 300 is returned according to connection request, charging output interface 210 and charging input interface are determined 310 connection status is connected status.
The communications pins of charging output interface 210 can be D+ pin or D- pin, and the charging of charging unit 200 is allowed to export D+ the or D- pin of interface 210 sends out a signal (such as connection request) to charging equipment 300 at regular intervals, and request is filled Electricity, after charging unit 200 is connect with charging equipment 300, charging equipment 300 receives the request, between the two can be with Communication is established, charging unit 200 exports charging signals, charges to charging equipment 300.
Referring to Fig. 7, Fig. 7 is the 6th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, charging process circuit is applied to charging equipment 300, and charging process circuit includes charging input interface 310, the Two detection modules 320 and the second output control module 330.
Charging input interface 310 with the charging output interface 210 of charging unit 200 for connecting.Charging input interface 310 It is cooperatively connected with charging output interface 210, for example, charging input interface 310 can be respectively with charging output interface 210 The male connector and female of Type-C interface.
Second detection module 320 is connect with charging input interface 310, and the second detection module 320 is for obtaining charging output The connection status of interface 210 and charging input interface 310.
Charging input interface 310 and the second detection module 320 are connect with the second output control module 330, when connection shape It when state is connected status, is communicated with charging unit 200, and when the communication is successful, control charging unit 200 is exported from stopping Charging signals are switched to output charging signals.
In some embodiments, charging input interface 310 includes communications pins, and the connection of communications pins periodicity sending is asked It asks, when receiving the reception solicited message that charging unit 200 is returned according to connection request, determines charging 210 He of output interface The connection status of charging input interface 310 is connected status.
The communications pins of charging input interface 310 can be D+ pin or D- pin, make the charging of charging equipment 300 defeated D+ the or D- pin of incoming interface 310 sends out a signal (such as connection request) to adapter at regular intervals, request charging, when filling After electric installation 200 is connect with charging equipment 300, charging unit 200 receives the request, can establish communication between the two, Charging unit 200 exports charging signals, charges to charging equipment 300.
Referring to Fig. 8, Fig. 8 is the 7th kind of structural schematic diagram of charging process circuit provided by the embodiments of the present application.One In a little embodiments, charging input interface 310 includes third input pin and the 4th input pin, third input pin and the 4th defeated Enter pin to be connected by charging output interface 210, charging equipment 300 transmits identification signal by third input pin, when the When four input pins detect identification signal, determine that the connection status of charging output interface 210 and charging input interface 310 is Connection status.
By taking Typc-C interface as an example, third input pin can be CC pin, and the 4th input pin can be power input Pin VBUS issues an identification signal (such as pulse signal) in CC pin at regular intervals.It charging input interface 310 and fills After electric input interface 210 connects, CC pin and power input pin VBUS are connected for charging 210 one end of output interface, in this way, electric Source input pin VBUS will receive an identification signal, and charging equipment 300 detects this identification signal, to be charged Equipment 300 passes through D+/- and sends charge request to charging unit 200.After starting to be charged, the CC of charging equipment 300 is stopped Issue pulse signal.In some other embodiment, power input pin VBUS and CC pin can be replaced with other pins.
The embodiment of the present application also provides a kind of electronic equipment, and electronic equipment includes shell and charging circuit, and charging circuit is set It sets in shell.In some embodiments, electronic equipment can according to need as charging unit.In some other embodiment, Electronic equipment can according to need as charging equipment.Wherein, charging unit 200 can be the devices such as adapter, charging base. Charging equipment 300 can be the equipment such as smart phone, tablet computer, can also be game station, AR (Augmented Reality, augmented reality) equipment, audio playing apparatus, video play device etc..
Referring to Fig. 9, Fig. 9 is the flow diagram of charging method provided by the embodiments of the present application.The present embodiment Charging method can be applied in charging unit.Charging method specifically includes:
101, obtain the connection status with charging equipment.
Connection status includes connected status and not-connected status, and connected status indicates charging unit and device to be charged Physical connection is had been carried out, such as the charging input interface of the charging output interface insertion charging equipment of charging unit.It is not connected State then indicates that physical connection is also not implemented in charging unit and device to be charged, and the charging output interface such as charging unit is hanging, It is not connect with charging equipment.Can through the foregoing embodiment in various ways obtain and the connection shape of charging equipment State.
102, when connection status is connected status, communicated with charging equipment.
When connection status is connected status, i.e., after charging unit and charging equipment physical connection, charging unit is opened Beginning communicates with charging equipment.For example, can with charging unit active transmission connection request to charging equipment, also can receive to The connection request that charging equipment is sent.
103, after communicating successfully with charging equipment, export charging signals.
After charging unit communicates successfully with charging equipment, charging signals are exported.Specifically, can be understood as charging dress It sets after sending connection request, after the reception solicited message for receiving charging equipment return, after identifying the reception solicited message, really It communicates successfully calmly, then exports charging signals.It is also understood that being asked for the connection that charging unit receives charging equipment transmission After asking, after identifying the connection request, returns and receive solicited message to charging equipment, so that it is determined that communicating successfully, then export Charging signals.
In some embodiments, after being communicated successfully with charging equipment, export charging signals the step of after, also wrap It includes:
When receiving the information of charging complete, stop output charging signals.
Charging unit charges to charging equipment, after charging equipment charging complete, sends the letter of charging complete Breath when charging unit receives the information of charging complete, stops output charging signals.Power consumption can be saved, while preventing from treating Charging equipment overcharges.
104, when being not-connected status with charging equipment communication failure or connection status, stop output charging signals.
When being communicated with charging equipment, after charging unit receives the connection request of charging equipment transmission, Wu Fashi The connection request or the connection request are not illegal connection request, then it is assumed that communication failure.It is also possible that charging unit is sent Connection request is not received by the reception solicited message of return to charging equipment, or receives illegal reception request letter Breath, then it also hold that communication failure.After communication failure, then stop exporting charging signals.
In some embodiments, when connection status is not-connected status, stop output charging signals.When charging unit with When charging equipment is not-connected status, that is, when the charging output interface of charging unit does not connect charging equipment, equally stop Only export charging signals.
Referring to Fig. 10, Figure 10 is another flow diagram of charging method provided by the embodiments of the present application.This reality The charging method for applying example can be applied in charging equipment.Charging method specifically includes:
201, obtain the connection status with charging unit.
Connection status includes connected status and not-connected status, and connected status indicates charging unit and device to be charged Physical connection is had been carried out, such as the charging input interface of the charging output interface insertion charging equipment of charging unit.It is not connected State then indicates that physical connection is also not implemented in charging unit and device to be charged, and the charging input interface such as charging equipment is outstanding Sky is not connect with charging unit.Can through the foregoing embodiment in various ways obtain and the connection shape of charging equipment State.
202, when connection status is connected status, communicated with charging unit.
When connection status is connected status, i.e., after charging unit and charging equipment physical connection, charging unit is opened Beginning communicates with charging equipment.For example, charging unit transmission can also can receive with charging equipment active transmission connection request Connection request.
203, after communicating successfully with charging unit, control charging unit is switched to output from stopping output charging signals and fills Electric signal.
After charging unit communicates successfully with charging equipment, control charging unit is switched to from output charging signals are stopped Export charging signals.Specifically, receiving connecing for charging unit return after can be understood as charging equipment transmission connection request After receiving solicited message, after identifying the reception solicited message, determination is communicated successfully, then controls charging unit from stopping output charging Signal is switched to output charging signals.
After can be understood as the connection request that charging equipment receives charging unit transmission, the reception solicited message is identified Afterwards, it returns and receives solicited message, while determination communicates successfully, then control charging unit and be switched to from output charging signals are stopped Export charging signals.It may include control instruction in the reception solicited message of return, the control instruction is for controlling charging unit Output charging signals are switched to from output charging signals are stopped.After can also communicating successfully, then retransmit control instruction.
In some embodiments, after communicating successfully with charging unit, control charging unit exports charging signals from stopping The step of being switched to output charging signals, comprising:
After being communicated successfully with charging unit, pop-up charging confirmation interface;
According to the determination charge information that charging confirmation interface obtains, charging unit is controlled from stopping output charging signals switching To output charging signals;
According to the determination communication information that charging confirmation interface obtains, control charging unit keeps stopping output charging signals.
After being communicated successfully with charging unit, charging confirmation interface can be popped up, then user is waited to operate.Its In, it may include charging virtual push button, data transmission button on charging confirmation interface, when charging virtual push button is triggered by user When, it obtains determining charge information, and then control charging unit and be switched to output charging signals from output charging signals are stopped.Work as number It when being triggered according to transmission button, obtains determining the communication information, keeps stopping output charging signals to control charging unit, simultaneously Carry out data exchange.
In some embodiments, before the step of obtaining the connection status with charging unit, further includes:
When receiving charge initiation instruction, start the communication module communicated with charging unit, and periodicity sending connects Request.
Charge initiation instruction can be to recognize long-pressing power key, Macintosh or other modes of operation.Obtain charge initiation The communication module that instruction starting is communicated with charging unit, and periodicity sending connection request wait charging unit to return corresponding Information.
In some embodiments, after communicating successfully with charging unit, control charging unit exports charging signals from stopping After the step of being switched to output charging signals, further includes:
After charging complete, control charging unit stops output charging signals.
Charging unit charges to charging equipment, after charging equipment charging complete, sends the letter of charging complete Breath stops output charging signals to control charging unit.Power consumption can be saved, while preventing from overcharging charging equipment.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the charging method in any of the above-described embodiment, such as: it obtains With the connection status of charging equipment;When the connection status is connected status, communicated with the charging equipment;When with After the charging equipment communicates successfully, charging signals are exported;When with the charging equipment communication failure or the connection shape When state is not-connected status, stop output charging signals.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
It should be noted that for the charging method of the embodiment of the present application, this field common test personnel can be with Understand all or part of the process for realizing the charging method of the embodiment of the present application, is that can be controlled by computer program Relevant hardware is completed, and the computer program can be stored in a computer-readable storage medium, be such as stored in electronics It in the memory of equipment, and is executed by least one processor in the electronic equipment, in the process of implementation may include such as charging The process of the embodiment of processing method.Wherein, the storage medium can be magnetic disk, CD, read-only memory, arbitrary access note Recall body etc..
It to a kind of charging method, charging process circuit provided by the embodiment of the present application, electronic equipment and deposits above Storage media is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, The description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for the skill of this field Art personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this Description should not be construed as the limitation to the application.

Claims (15)

1. a kind of charging method characterized by comprising
Obtain the connection status with charging equipment;
When the connection status is connected status, communicated with the charging equipment;
After communicating successfully with the charging equipment, charging signals are exported;
When being not-connected status with the charging equipment communication failure or the connection status, stop output charging signals.
2. charging method according to claim 1, which is characterized in that communicated successfully when with the charging equipment Afterwards, after the step of exporting charging signals, further includes:
When receiving the information of charging complete, stop output charging signals.
3. a kind of charging method characterized by comprising
Obtain the connection status with charging unit;
When the connection status is connected status, communicated with the charging unit;
After being communicated successfully with the charging unit, controls the charging unit and be switched to output from output charging signals are stopped and fill Electric signal.
4. charging method according to claim 3, which is characterized in that after being communicated successfully with the charging unit, It controls the charging unit and is switched to the step of exporting charging signals from output charging signals are stopped, comprising:
After being communicated successfully with the charging unit, pop-up charging confirmation interface;
According to the determination charge information that charging confirmation interface obtains, the charging unit is controlled from stopping and exports charging signals It is switched to output charging signals;
According to the determination communication information that charging confirmation interface obtains, controls the charging unit and keep stopping output charging letter Number.
5. charging method according to claim 3, which is characterized in that obtain the step with the connection status of charging unit Before rapid, further includes:
When receiving charge initiation instruction, start the communication module communicated with the charging unit, and periodicity sending connects Request.
6. charging method according to claim 3, which is characterized in that after being communicated successfully with the charging unit, The charging unit is controlled after stopping the step of output charging signals are switched to output charging signals, further includes:
After charging complete, controls the charging unit and stop output charging signals.
7. a kind of charging process circuit characterized by comprising
Charge output interface, and the charging output interface with the charging input interface of charging equipment for connecting;
Detection module, the detection module are connect with the charging output interface, and the detection module is for obtaining the charging The connection status of output interface and the charging input interface;
Output control module, the charging output interface and the detection module are connect with the output control module, work as institute State connection status be not-connected status when, stop by the charging output interface output charging signals, when the connection status It when for connected status, is communicated with the charging equipment, and when the communication is successful, passes through the charging output interface and export Charging signals stop exporting charging signals by the charging output interface when communication failure.
8. charging process circuit according to claim 7, which is characterized in that
The charging output interface includes the first output pin and the second output pin, the first output pin and the second output pin Between connected by the first function element, first output pin and second output pin are inputted by the charging and are connect Mouth forming circuit;
The detection module is connect with first output pin, and obtains detection voltage or the detection of first output pin Electric current, the detection module are used for the variation by the detection voltage or the detection electric current, obtain the charging output and connect The connection status of mouth and the charging input interface.
9. charging process circuit according to claim 8, which is characterized in that
First output pin also passes through five-function element with second output pin, second switch element connects,
One end of the five-function element connects first output pin, and the other end of the five-function element connects institute State the input terminal of second switch element, the output end of the second switch element connects second output pin, and described second The control terminal of switch element connects the detection module.
10. charging process circuit according to claim 8, which is characterized in that
The charging input interface includes the first input pin and the second input pin, and the first input pin ground connection is described First input pin is connect with first output pin, and second input pin passes through the second function element and described second Output pin connection, second input pin have voltage.
11. charging process circuit according to claim 7, which is characterized in that
The charging output interface includes third output pin and the 4th output pin, the third output pin and the described 4th Output pin is connected by the charging input interface, identification signal is transmitted by the third output pin, when the described 4th When output pin detects the identification signal, the connection status of the charging output interface and the charging input interface is determined For connected status.
12. charging process circuit according to claim 7, which is characterized in that
The charging output interface includes communications pins, the communications pins periodicity sending connection request, described when receiving When the reception solicited message that charging equipment is returned according to the connection request, the charging output interface and the charging are determined The connection status of input interface is connected status.
13. a kind of charging process circuit characterized by comprising
Charging input interface, the charging input interface with the charging output interface of charging unit for connecting;
Second detection module, second detection module are connect with the charging input interface, and second detection module is used for Obtain the connection status of the charging output interface and the charging input interface;
Second output control module, the charging input interface and second detection module control mould with second output Block connection communicates, and when the communication is successful when the connection status is connected status with the charging unit, controls The charging unit is switched to output charging signals from output charging signals are stopped.
14. a kind of electronic equipment, which is characterized in that including shell and charging process circuit, the charging process circuit is described In shell, the described in any item charging process circuits of the charging process circuit such as claim 7-13.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed It realizes when device executes such as the step of charging method as claimed in any one of claims 1 to 6.
CN201811347508.3A 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device, and storage medium Active CN109560581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811347508.3A CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811347508.3A CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109560581A true CN109560581A (en) 2019-04-02
CN109560581B CN109560581B (en) 2020-12-01

Family

ID=65866029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811347508.3A Active CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109560581B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113113959A (en) * 2020-01-09 2021-07-13 广东小天才科技有限公司 A charger
WO2021213286A1 (en) * 2020-04-24 2021-10-28 深圳市韶音科技有限公司 Charging control circuit and acoustic output device
CN114710738A (en) * 2022-03-31 2022-07-05 深圳市微源半导体股份有限公司 Sweat detection method of TWS earphone based on communication mode

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259300A (en) * 2012-02-15 2013-08-21 宏达国际电子股份有限公司 Portable electronic devices and charging method thereof
CN103413986A (en) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 Method and device for automatically stopping charging after full charge of mobile terminal
CN104505921A (en) * 2015-01-16 2015-04-08 九五堂科技(深圳)有限公司 Charging device and charging management method
CN105576744A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Charge pal switching implementation method and charge pal
EP3093945A1 (en) * 2015-05-14 2016-11-16 MediaTek, Inc Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
CN106300690A (en) * 2015-06-12 2017-01-04 西安中兴新软件有限责任公司 A kind of wireless charging method, equipment and terminal
CN106340932A (en) * 2016-10-17 2017-01-18 惠州Tcl移动通信有限公司 Mobile terminal connection detection method and system based on USB interface charger
CN106786994A (en) * 2017-02-20 2017-05-31 维沃移动通信有限公司 A kind of charging method, charger and mobile terminal
CN106828171A (en) * 2017-03-08 2017-06-13 广州车电网新能源有限公司 Charging pile and the identification system and method for electric automobile wireless telecommunications
CN106877462A (en) * 2017-04-21 2017-06-20 维沃移动通信有限公司 A kind of method and charger for detecting charged state
WO2018068323A1 (en) * 2016-10-14 2018-04-19 华为技术有限公司 Charger

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259300A (en) * 2012-02-15 2013-08-21 宏达国际电子股份有限公司 Portable electronic devices and charging method thereof
CN103413986A (en) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 Method and device for automatically stopping charging after full charge of mobile terminal
CN104505921A (en) * 2015-01-16 2015-04-08 九五堂科技(深圳)有限公司 Charging device and charging management method
EP3093945A1 (en) * 2015-05-14 2016-11-16 MediaTek, Inc Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
CN106300690A (en) * 2015-06-12 2017-01-04 西安中兴新软件有限责任公司 A kind of wireless charging method, equipment and terminal
CN105576744A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Charge pal switching implementation method and charge pal
WO2018068323A1 (en) * 2016-10-14 2018-04-19 华为技术有限公司 Charger
CN106340932A (en) * 2016-10-17 2017-01-18 惠州Tcl移动通信有限公司 Mobile terminal connection detection method and system based on USB interface charger
CN106786994A (en) * 2017-02-20 2017-05-31 维沃移动通信有限公司 A kind of charging method, charger and mobile terminal
CN106828171A (en) * 2017-03-08 2017-06-13 广州车电网新能源有限公司 Charging pile and the identification system and method for electric automobile wireless telecommunications
CN106877462A (en) * 2017-04-21 2017-06-20 维沃移动通信有限公司 A kind of method and charger for detecting charged state

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113113959A (en) * 2020-01-09 2021-07-13 广东小天才科技有限公司 A charger
WO2021213286A1 (en) * 2020-04-24 2021-10-28 深圳市韶音科技有限公司 Charging control circuit and acoustic output device
CN114710738A (en) * 2022-03-31 2022-07-05 深圳市微源半导体股份有限公司 Sweat detection method of TWS earphone based on communication mode

Also Published As

Publication number Publication date
CN109560581B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
RU2562914C1 (en) Plug pin configuration methods
KR100928905B1 (en) Accessory control interface
US8095716B2 (en) Method and system for communicating capability information from an accessory to a media player
US9258024B2 (en) SIM card connector and mobile terminal
CN104063348B (en) Realize the device and method of compatible USB communications and voice communication
CN109560581A (en) Charging method, charging process circuit, electronic equipment and storage medium
CN104272216A (en) Electronic device and control method therefor
CN103329365A (en) Connector assembly with a 180 degree mating freedom
CN107453428B (en) A kind of method of automatic identification apple and Android device
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
US10236697B2 (en) Charge storage and power routing for dongles and adapters
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN108733609B (en) Switching circuit, intelligent switching device and switching method of double USB interfaces
CN107543994A (en) The test system of Type C interface
CN108054541B (en) Switching device, multi-equipment detection system and detection method thereof
CN111817378B (en) Charger, data line and charging equipment
CN106374309B (en) USB transmission line, mobile terminal and USB charging method
US20150253828A1 (en) Electronic system
CN115237841A (en) Electronic equipment, quick charging method, device, system and readable storage medium
CN211017659U (en) USB connects converting circuit and connects converter
CN111509815B (en) Data line and charging equipment
CN105098893A (en) Terminal equipment and battery thereof
KR20210033758A (en) Method for power supply and an electronic device thereof
CN109218880A (en) Earphone charging two-in-one circuit and control method, terminal
CN216530587U (en) Power supply connector for supplying power to master equipment and slave equipment

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