CN107508330A - A kind of electronic installation and its charging method - Google Patents

A kind of electronic installation and its charging method Download PDF

Info

Publication number
CN107508330A
CN107508330A CN201710543068.8A CN201710543068A CN107508330A CN 107508330 A CN107508330 A CN 107508330A CN 201710543068 A CN201710543068 A CN 201710543068A CN 107508330 A CN107508330 A CN 107508330A
Authority
CN
China
Prior art keywords
charger
type
charging
charge
signal line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710543068.8A
Other languages
Chinese (zh)
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.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology 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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710543068.8A priority Critical patent/CN107508330A/en
Publication of CN107508330A publication Critical patent/CN107508330A/en
Pending legal-status Critical Current

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
    • 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/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Abstract

The invention discloses a kind of electronic installation and its charging method.Charging method includes:The type for identifying charger, the charge protocol supported using the type identification charger of charger and the charge protocol that is recognized with correspondence are charged;Wherein identifying the type of charger includes identification port type and charger type.Therefore, the present invention can compatible a variety of charge protocols so that electronic installation can use different chargers to carry out quick charge, substantially increase the charge efficiency of electronic installation.

Description

A kind of electronic installation and its charging method
Technical field
The present invention relates to field of electronic devices, more particularly to a kind of electronic installation and its charging method.
Background technology
The electronic installations such as existing mobile phone, flat board are more and more spread in daily life.As mobile phone is put down The screen enlarging of the electronic installations such as plate, the development of high definition high-brightness, often out of power needs are charged its supplying cell soon.By Being frequently necessary to long time in common charging modes could be fully charged by battery, reduces the experience of user, so quickly filling Electrically start more and more to be applied to the electronic installations such as mobile phone, flat board.
Existing fast charge method includes:(PEP fast charges are assisted for high pass fast charge agreement (QC fast charges agreement), MTK fast charges agreement View), Huawei's fast charge agreement (FCP fast charges agreement), voltage open loop multistep constant-current charge agreement (VOOC fast charges agreement) etc. it is a variety of fast Fill charging modes.However, existing electronic installation typically all only supports a kind of fast charge agreement, can not compatible other fast charge associations View, the fast charge agreement that this fast charge agreement for resulting in charger support is supported with electronic installation can not be carried out quickly when mismatching Charging.
The content of the invention
The present invention solves the technical problem of a kind of electronic installation and its charging method is provided, enable electronic installation Compatible a variety of charge protocols, so as to it is a variety of charger matched, carry out quick charge.
In order to solve the above technical problems, one aspect of the present invention is:A kind of charging of electronic installation is provided Method, including:Identify the type of charger, including identification port type and charger type;Known using the type of charger The charge protocol that other charger is supported;And charged using the corresponding charge protocol recognized.
Wherein, the charge protocol that identification charger is supported includes:
Identification signal is inputted to the positive signal line of charger charging port, by detect charger charging port it is negative The type of the feedback signal identification charger of pole signal wire;Or
Identification signal is inputted to the negative signal line of charger charging port, by detecting the charging port of charger just The type of the feedback signal identification charger of pole signal wire.
Wherein, identifying the type of charger includes:
Identify whether that there is VBUS power lines to identify whether the port type of charger is serial bus port;
If to recognize port type be serial bus port, pass through BC1.2 protocol identification charger types.
Wherein, included by BC1.2 protocol identification charger types:
Identification signal is inputted to the positive signal line of charger charging port, by detect charger charging port it is negative The type of the feedback signal identification charger of pole signal wire;Or
Identification signal is inputted to the negative signal line of charger charging port, by detecting the charging port of charger just The type of the feedback signal identification charger of pole signal wire.
Wherein, identification signal includes the voltage signal of positive signal line or the voltage signal of negative signal line.
Wherein, feedback signal includes voltage signal.
Wherein, charge protocol includes common charge protocol or fast charge protocol.
Wherein, common charge protocol is charging current and all immovable charge protocol of charging voltage, and maximum charge is electric It is 0.9A to press as 5V and/or maximum charging current.
Wherein, fast charge protocol includes PEP fast charges agreement, QC2.0 fast charges agreement, VOOC fast charges agreement and FCP fast charges Any one or more in agreement.
Wherein, the association of shaking hands that the identification method of fast charge protocol matches using charger and fast charge protocol View carries out handshake communication, by detecting whether handshake communication can be realized to confirm whether charger supports fast charge protocol.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of memory is provided to be used to deposit Routine data is stored up, routine data can be performed to realize the method as described in any one above
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of electronic installation is provided, including Memory, processor and the routine data that runs on a memory of storage, realize as above during computing device routine data Charging method described in any one.
The beneficial effects of the invention are as follows:The situation of prior art is different from, the present invention proposes a kind of electronic installation and its filled Method for electrically.The charging method of electronic installation comprises the following steps, and identifies the type of charger first, and type includes identification port class Type and charger type, the charge protocol then supported using the type identification charger of charger, finally using corresponding The charge protocol recognized is charged.Therefore, electronic equipment of the invention can use to enter with charger matched charging current Row charging so that electronic installation can compatible a variety of charge protocols, so as to it is a variety of charger matched, carry out quick charge, Improve the charge efficiency of electronic installation.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the embodiment of charging method one of electronic installation of the present invention;
Fig. 2 is a kind of schematic flow sheet of another embodiment of the charging method of electronic installation of the present invention;
Fig. 3 is a kind of structural representation of the another embodiment of the charging method of electronic installation of the present invention;
Fig. 4 is a kind of structural representation for charging system that yet another embodiment of the invention provides.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing.
Refering to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the embodiment of charging method one of electronic installation of the present invention.It is worth note Meaning, the charging method of the electronic installation of the present embodiment is that electronic installation provides charging scheme to be filled for the battery of outside Electricity.Charging method shown in the present embodiment comprises the following steps:
S101:Identify the type of charger.
Wherein, identifying the type of charger includes the port type and charger type of identification charger.Wherein, charge The port type of device includes USB (USB) port and non-USB port.USB port include positive signal line USB_DP, Negative signal line USB_DN, VBUS power line and ground wire GND.VBUS power lines output voltage is 5V.Alternatively, USB ends Mouth type can include any one in USB Type A/B/C/Mini/Micro.Wherein USB Type A types port is filled Electrical equipment is mainly used in field of mobile phones.
This step is specifically when charger electrically connects with electronic installation, by identifying whether charger has VBUS power supplys Line determines whether the port of charger is USB port, wherein, if recognizing charger and there is VBUS power lines determine to charge The port of device is USB port, if recognizing no VBUS power lines, continues to identify.
For the charger with USB port, further the type of charger is identified by BC1.2 agreements.Its Middle BC1.2 agreements can support data transfer and each interface output charging voltage is 5V and maximum charging current is 1.5A.This Step can go out the one of which that charger belongs to following charger by BC1.2 protocol identifications:Charge standard down port (SDP) Device, charging downlink port (CDP) charger and special charging port (DCP) charger.
Recognition methods can be:Identification signal is inputted to the positive signal line of charger charging port first, filled by detection The type of the feedback signal identification charger of the negative signal line of the charging port of electrical equipment;Or charger charging port is born Pole signal wire input identification signal, the feedback signal identification charger of the positive signal line of the charging port by detecting charger Type.Wherein, feedback signal includes voltage signal.
Specifically, can be by the positive signal line USB_DP of charger voltage high to 0.6V, while detect negative pole letter Whether number line USB_DN voltage is pulled high to 0.6V, if negative signal line USB_DN is driven high 0.6V, illustrates charger It is non-SDP types charger;If negative signal line USB_DN voltage is not driven high, it is the charging of SDP types to illustrate charger Device.
Wherein, SDP types charger includes standard USB-style charger and non-standard USB-style charger.Further to SDP The type of type charger is identified.Recognition methods is:Whether it is that standard USB-style fills using USB Handshake Protocols identification charger Electrical equipment.Wherein, it can realize that the charger to communicate is then standard USB-style charger with USB Handshake Protocols;It can not be shaken hands with USB The charger then criteria of right and wrong USB-style charger of protocol realization communication.
For non-SDP types charger, the voltage of the negative signal line of charger is drawn high, while detects the anti-of positive signal line Feedthrough voltage value, it is CDP type chargers that this charger is illustrated if the feedback voltage level of positive signal line is low level;If just The feedback voltage level of pole signal wire be raised to negative signal line identical voltage, then prove this charger for DCP types charge Device.It is CDP types if the feedback voltage level of positive signal line is 0V for example, by the voltage high of negative signal line to 0.6V Charger;It is DCP type chargers if the feedback voltage level of positive signal line is 0.6V.
S102:The charge protocol supported using the type identification charger of charger;
Wherein, the charge protocol that identification charger is supported includes identification tri- kinds of chargers of SDP, CDP and DCP and supported Agreement.Charge protocol includes common charge protocol and fast charge protocol, wherein, common charge protocol be charging current and The all immovable charge protocol of charging voltage, and maximum charging voltage is 5V and/or maximum charging current is 0.9A;Quick charge Agreement includes any one in PEP fast charges agreement, QC2.0 fast charges agreement, VOOC fast charges agreement and FCP fast charge agreements or more Kind.Wherein, PEP fast charges agreement, VOOC fast charges agreement and FCP fast charge agreements are filling of changing of charging voltage and/or charging current Electric agreement.Specific recognition methods is as follows:
The identification for the agreement supported for SDP chargers includes:To standard USB-style charger and non-standard USB-style The charge protocol that charger is supported is identified.
Specifically, the method that the charge protocol supported for standard USB-style charger is identified is:Held using USB Handball Association's view is communicatively coupled with charger, determines that the charge type that charger is supported is by factors such as communication transfer speeds USB2.0 types charger or USB3.0 type chargers.Wherein, USB2.0 types charger supports USB2.0 charge protocols, and theory is most High transmission speed is 480Mbps (about 60MB/s), maximum charging current 0.5A;USB3.0 types charger supports USB3.0 chargings association View, theoretical highest transmission speed is 5Gbps (about 500MB/s), maximum charging current 1A.
For non-standard USB-style charger, the charge protocol supported provides that the maximum charging current of charger is 0.5A.
For CDP chargers, the charge protocol supported provides that the maximum charging current of charger is 1.5A
The identification for the agreement supported for DCP chargers includes:To PEP fast charges agreement, QC2.0 fast charges agreement, VOOC The identification of fast charge agreement and FCP fast charge agreements.Specific method is:The association of shaking hands to be matched using charger and fast charge protocol View carries out handshake communication, by detecting whether handshake communication can be realized to confirm whether charger supports fast charge protocol.
For QC2.0 fast charge agreements, to 0.6V and 1S is maintained by drawing high the identification voltage of positive signal line of charger More than and, the charger of QC2.0 fast charge agreements is supported to disconnect the connection of positive signal line and negative signal line and charging equipment State simultaneously connects pull down resistor to reduce the output voltage of charger respectively.Now further confirm that the charging that the charger is supported Agreement, it is embodied in, sets the positive signal line and negative signal line voltage value of charger, while detects VBUS power lines Output voltage, if the output voltage values matching of VBUS power lines provides above-mentioned positive signal line with bearing according to QC2.0 fast charges agreement Pole line voltage signal value corresponds to the output voltage values of VBUS power lines, then can confirm that this charger supports QC2.0 fast charge agreements.
Alternatively, positive signal line and negative signal line voltage value and corresponding QC2.0 fast charges agreement VBUS power lines Output voltage values are as shown in table 1, and wherein table 1 is QC2.0 fast charge agreement power supply signal tables.For example, if positive signal line exports 0.6V identification signals, negative signal line output 0.6V identification signals, if detection VBUS power line voltage output 12V feedback letters Number, then the charger supports QC2.0 fast charge agreements.
The QC2.0 fast charge agreement power supply signal tables of table 1
Positive signal line voltage Negative signal line voltage VBUS power line voltages
0.6V 0.6V 12V
3.3V 0.6V 9V
3.3V 3.3V 20V
0.6V 0V 5V (initial value)
For PEP fast charge agreements, the charger for supporting PEP fast charge agreements is the current impulse using the transmission of VBUS power lines Carry out transmission signal, the size of current impulse can be represented with 0 and 1.Specific recognition methods is:To charger input current pulse, Whether the signal for judging the output of VBUS power lines is the voltage signal to match with the current impulse, and the voltage signal is Voltage corresponding to PEP agreements, if the result judged is yes, it is determined that charger supports PEP fast charge agreements.
For VOOC fast charge agreements, the charger positive signal line of VOOC fast charge agreements is supported to transmit clock signal, negative pole Signal wire transmits data-signal.When VOOC fast charge agreements are identified, to the positive signal line input clock signal of charger, Negative signal line input data signal, the charge protocol supported with the charger are shaken hands.If shaking hands success, filled with this Electrical equipment realizes communication, then illustrates that this charger supports VOOC fast charge agreements.
For FCP fast charge agreements, the output signal of the positive signal line of charger, the negative signal line at charger end are set Connect pull down resistor.After preset time, electric power management circuit sends burst requests signal, detection negative pole letter on negative signal line Number line feedback signal, confirm that this charger supports FCP fast charge agreements if feedback signal and FCP fast charge agreements match.
S103:Charged with the corresponding charge protocol recognized.
The charge protocol supported according to charger is recognized, voltage x current value corresponding to control charger output are filled Electrical activity.Specific manifestation is as follows:
For SDP type chargers, if criteria of right and wrong USB-style charger, charger output maximum charge stream is 0.5A Charging signals charging equipment, such as battery are charged;For standard USB-style charger, if supporting USB3.0 to fill The charger of the electric agreement charging signals that then charger output maximum charge stream is 0.9A charge to charging equipment, if branch The charger charging signals that then charger output maximum charge stream is 0.5A for holding USB2.0 charge protocols fill to charging equipment Electricity;
The charging signals for being 1.5A for CDP types charger output maximum charge stream charge to charging equipment;
Treat and fill for charging signals as defined in the DCP types charger charge protocol that then match cognization is supported to charger Electric equipment charges;Charge protocol is included in PEP fast charges agreement, QC2.0 fast charges agreement, VOOC fast charges agreement and FCP fast charge agreements Any one or more;
If detecting charger type and not meeting a kind of any of the above described charger, treated using common charge protocol Charging equipment charges.Wherein, common charge protocol includes charging current and all immovable charge protocol of charging voltage.
It is different from prior art and proposes a kind of charging method of electronic installation, this method is by identifying different chargings The type of device, further identifies the charge protocol that charger is supported, charging circuit is controlled further according to the charge protocol recognized Charging voltage and current etc. charged to device to be charged, charging device can be treated by a variety of charge protocols by the method and filled Electricity, can avoid the occurrence of the charge protocol of charger it is incompatible with device to be charged and the problem of can not charge.
Refering to Fig. 2, Fig. 2 is a kind of schematic flow sheet of another embodiment of the charging method of electronic installation of the present invention.This reality The charging method for applying example comprises the following steps that:
S21:Charger is electrically connected with electronic installation to be charged to battery.
S22:Identify whether there are VBUS power lines.To determine the port type of charger.
Wherein, the port type of charger includes USB-style port and non-USB-style port.USB ports include positive signal Line USB_DP, negative signal line USB_DN, VBUS power line and ground wire GND.
This step is particular by detecting whether to determine whether charger port is USB-style end with VBUS power lines Mouthful.There is VBUS power lines if detecting the port of charger, it is USB-style charger to illustrate this charger, then jumps to step Rapid S23, if detecting, the port of charger does not have VBUS power lines, and it is non-USB-style charger to illustrate this charger, then returns Return, re-recognize the port type of charger.
S23:The type of charger is identified by BC1.2 agreements.
Wherein, BC1.2 agreements can support data transfer and each interface to export charging voltage as 5V and maximum charge electricity Flow the charging signals for 1.5A.
BC1.2 agreements may recognize that charger is to belong to following one kind:SDP chargers, CDP chargers and DCP chargings Device.The type of charger is identified with order identified below for the present embodiment:SDP chargers, CDP chargers and DCP fill Electrical equipment.
It should be understood that among other embodiment, the type of charger can also be identified with other recognition sequences, this Invention is not restricted to the recognition sequence of the type of charger.
S24:Identify whether as SDP type chargers.
Specific recognition methods is:It can be detected simultaneously by the positive signal line USB_DP of charger voltage high to 0.6V Whether negative signal line USB_DN voltage is pulled high to 0.6V, if negative signal line USB_DN is driven high 0.6V, identifies It is non-SDP types charger to charger, jumps to step S25;If negative signal line USB_DN voltage is not driven high, It is SDP type chargers to recognize charger, jumps to step S241, i.e., further detects the particular type of SDP type chargers.
Wherein SDP types charger includes standard USB-style charger and non-standard USB-style charger.
S241:Identify whether as standard USB-style charger;
This step is specially to carry out handshake communication using USB Handshake Protocols and charger, is standard if communicating successfully USB-style charger, step S242 is jumped to, determine whether standard USB-style charger for USB3.0 types charger still USB2.0 type chargers;The criteria of right and wrong USB-style charger if communication is unsuccessful, jumps to step 2410.
S242:Identify whether to support USB3.0 agreements.
Using supporting the Handshake Protocol of USB3.0 agreements to carry out handshake communication with charger, it is if it can realize communication USB3.0 type chargers, jump to step S2420.If communication can not be realized, step S243 is jumped to.
S243:Whether USB2.0 agreement is supported.
Using supporting the Handshake Protocol of USB2.0 agreements to carry out handshake communication with charger, it is if it can realize communication USB2.0 type chargers, jump to step S2430.If communication can not be realized, charging terminates.Step S2410:Charger is set Maximum charging current for 0.5A to battery charge.
It should be understood that first identifying whether to support USB3.0 agreements in the present embodiment, then identify whether to support USB2.0 again Agreement.Among other embodiment, it can also be entered with the charge protocol that other recognition sequences are supported standard USB-style charger Row identification, the recognition sequence for the charge protocol that the present invention is not supported standard USB-style charger are restricted.
Step S2420:The maximum current of charger is set to be charged for 0.9A to battery.
Step S2430:The maximum current of charger is set to be charged for 0.5A to battery.
S25:Identify whether as CDP type chargers.
To non-SDP types charger, identify whether its type is CDP type chargers.Specific method is:Draw high to charger The voltage of negative signal line, while the feedback voltage level of positive signal line is detected, if the feedback voltage level of positive signal line is Low level then illustrates that this charger is CDP type chargers;If the feedback voltage level of positive signal line be raised to and draw high Negative signal line identical voltage after voltage, then it is DCP type chargers to prove this charger.For example, the electricity by negative signal line Pressure draws high 0.6V, is CDP type chargers if the feedback voltage level of positive signal line is 0V, then jumps to step S250; It is DCP type chargers if the feedback voltage level of positive signal line is 0.6V, jumps to step S261, be i.e. further identification The charge protocol that DCP type chargers are supported.
In the present embodiment, it is identified with the charge protocol that order identified below is supported DCP type chargers:QC2.0 Fast charge agreement, PEP fast charges agreement, VOOC fast charges agreement and FCP fast charge agreements.Specific method is:Using charger with quickly filling Handshake Protocol that electric agreement matches carries out handshake communication, by detecting whether handshake communication can be realized to confirm that charger is No support fast charge protocol.
It should be understood that among other embodiment, the charging that can also be supported with other recognition sequences DCP type chargers Agreement is identified, and the recognition sequence for the charge protocol that the present invention is not supported DCP type chargers is restricted.
Step S250:The maximum charging current for setting charger is 0.5A.
S261:Whether identification DCP types charger supports QC2.0 fast charge agreements;
This step is specially:Draw high first the identification voltage of the positive signal line of charger to 0.6V and maintain 1S and with On, judge whether charger can disconnect positive signal line and the connection status of negative signal line and electronic installation and connect drop-down respectively Resistance reduces the output voltage of charger.The positive signal line of charger is further set if being to be if the result judged with bearing Pole line voltage signal value, while detect the output voltage of VBUS power lines, and judge VBUS power lines output voltage whether with QC2.0 fast charge agreements assigned voltage matches, if matching, confirms that this charger supports QC2.0 fast charge agreements, then jumps to step S2610, if mismatching, jump to step S262.The magnitude of voltage of specific positive signal line, the magnitude of voltage of negative signal line and The setting of the output voltage of VBUS power lines will not be repeated here as described in table 1 above.Step S2610:QC2.0 agreements are set Defined charging index charges to battery.
S262:Whether identification DCP types charger supports PEP fast charge agreements;Wherein, PEP agreements are to utilize VBUS power lines The current impulse of transmission carrys out transmission signal, and the size of current impulse can be represented with 0 and 1.
The specific recognition methods of this step is:To charger input current pulse, judging the signal of VBUS power lines output is The no voltage signal to match with the current impulse, and the voltage signal is voltage corresponding to PEP agreements.If the knot judged Fruit is yes, it is determined that charger supports PEP fast charge agreements, jumps to step S2620;If the result judged is no, jump to Step S263.
Step S2620:Charging index as defined in PEP agreements is set to charge battery.
S263:Whether identification DCP types charger supports VOOC fast charge agreements;
To the positive signal line input clock signal of charger, negative signal line input data signal, with the charger institute The charge protocol of support is shaken hands.If shaking hands success, realize and communicate with the charger, then illustrate that this charger supports VOOC Fast charge agreement, jump to step S2630.If it is unsuccessful to shake hands, step S264 is jumped to.
S2630:Charging index as defined in VOOC agreements is set to charge battery.
S264:Whether identification DCP types charger supports FCP fast charge agreements;
The output signal of the positive signal line of charger is set, the negative signal line of charger connects pull down resistor.Default After time, send burst requests signal on negative signal line, detect negative signal line feedback signal, if feedback signal with FCP fast charge agreements match, confirm this charger support FCP fast charge agreements, jump to step S2640, if feedback signal with FCP fast charges agreement, which mismatches, then illustrates that DCP types charger does not support QC2.0 fast charges agreement, PEP fast charges agreement, VOOC fast charges association View and FCP fast charge agreements, jump to step S27.
Step S2640:Charging index as defined in FCP agreements is set to charge battery.
S27:Regulation charging voltage is that 5V charges to battery.Wherein charging current
Step S261, S262, S263 and S264 can make the adjustment in recognition sequence according to design requirement.For example, Step S262 can be first carried out and identify whether support whether support PEP fast charge agreements, step S261 is then performed and identify whether to prop up Hold and whether support QC2.0 fast charge agreements, then perform step S263 and identify whether to support VOOC fast charge agreements, finally perform step S264 identifies whether to support FCP fast charge agreements.It is clear that, above-mentioned 4 steps are coordinations, and recognition sequence can appoint Meaning adjustment.
The present embodiment identifies a variety of charge protocols by detecting the type of charger, and controls charger output to recognize Charge protocol as defined in charging current voltage to battery charge, substantially increase compatibility of the electronic equipment to charge protocol, A variety of charge protocols can be supported to charge battery, improve the charge efficiency of electronic installation.
In yet another embodiment, it is proposed that a kind of memory, memory are used for storage program data, wherein memory with Processor is connected by communication bus.It is refering to Fig. 3, Fig. 3.Memory 303 passes through connection communication bus 302 and processor 301 Electrical connection.The routine data stored in memory 303, processor 301 realize any embodiment above when performing the routine data Described charging method.Concrete application scene is as described below.
Refering to Fig. 4, Fig. 4 is a kind of structural representation for charging system that yet another embodiment of the invention provides.Charging system 40 include charger 401, electronic installation 402 and battery 403.
Wherein, charger 401 includes charger port 4011, charger port 4011 include positive signal line USB_DP, Negative signal line USB_DN, VBUS power line and ground wire GND.
Electronic installation 402 is electrically connected by charger port 4011 with charger 401, while connects battery 403, with control Charger 401 charges to battery 403.Electronic installation 402 includes processor (CPU) 4021, electric power management circuit 4022 and filled Circuit 4023.Processor 4021 and electric power management circuit 4022 and charging circuit 4023 intercouple electrical connection, battery 403 Electrically connected with charging circuit, cooperate and realize the charging method described in embodiment above.
Specifically, charging circuit 4023 electrically connects charger 401 and battery 403, the VBUS electricity that charger is provided Battery 403 is supplied to after the conversion of source.
Electric power management circuit 4022 is connected to the VBUS power lines of charger 401, for whether detecting charging circuit 4023 It is connected with charger 401.Electric power management circuit 4022 further connects the positive signal line USB_DP of charger 401, negative pole letter Number line USB_DN.Further to the port type of charger 401 after detecting charger 401 and being connected with charging circuit 4023 It is identified, and the charge protocol that further detection charger 401 is supported, and then the charge protocol that it is supported is sent to Processor 4021.Processor 4021 connects positive signal line USB_DP, the negative signal line USB_DN of charger, processor 4021 Control electric power management circuit 4022 goes to provide identification signal to positive signal line USB_DP or negative signal line USB_DN, and controls Electric power management circuit 4022 obtains feedback signal from positive signal line USB_DP or negative signal line USB_DN, with according to feedback letter Number the type of charger 401 is determined, further identify the charge protocol that charger 401 is supported.The class of specific charger 401 The recognition methods of type and the charge protocol supported is as it was noted above, will not be repeated here.Finally control power management module 4022 and the maximum charge that is absorbed from charger 401 of charge protocol configuration charging circuit 4023 supported according to charger 401 Electric current, to be charged to battery.
In other implementations, electronic installation 402 can also include battery 403.Specifically, electronic installation 402 Including processor (CPU) 4021, electric power management circuit 4022, charging circuit 4023 and battery 403.Wherein, battery 403, place Reason device 4021, electric power management circuit 4022, charging circuit 4023 may be provided inside electronic installation 402, processor 4021, power supply Management circuit 4022 and charging circuit 4023 intercouple electrical connection, the connection battery 403 of charging circuit 4023, electronic installation 402 can be the mobile terminals such as mobile phone, flat board, wearable device.Electronic installation is by connecting charger using embodiment institute above The charging method stated charges to battery.
In summary, electronic installation of the invention can treat charging device with the charger of Matching supporting difference charge protocol Charging, device to be charged is improved to different chargers compatibility, improves charge efficiency.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. charging method of electronic installation, it is characterised in that including:
    Identify the type of charger, including identification port type and charger type;
    The charge protocol supported using charger described in the type identification of the charger;And
    Charged using the charge protocol recognized described in correspondence.
  2. 2. according to the method for claim 1, it is characterised in that
    The type of the identification charger includes:
    Identify whether that there is VBUS power lines to identify whether the port type of the charger is serial bus port;
    If to recognize the port type be the serial bus port, pass through charger type described in BC1.2 protocol identifications.
  3. 3. according to the method for claim 2, it is characterised in that
    It is described to be included by charger type described in BC1.2 protocol identifications:
    Identification signal is inputted to the positive signal line of the charger charging port, by the charging port for detecting the charger The feedback signal of negative signal line identify the type of the charger;Or
    Identification signal is inputted to the negative signal line of the charger charging port, by the charging port for detecting the charger The feedback signal of positive signal line identify the type of the charger.
  4. 4. according to the method for claim 3, it is characterised in that
    The identification signal includes the voltage signal of the positive signal line or the voltage signal of negative signal line;The feedback Signal includes voltage signal.
  5. 5. according to the method for claim 1, it is characterised in that
    The charge protocol includes common charge protocol or fast charge protocol.
  6. 6. according to the method for claim 5, it is characterised in that
    The common charge protocol is charging current and all immovable charge protocol of charging voltage, and maximum charging voltage is 5V And/or maximum charging current is 0.9A.
  7. 7. according to the method for claim 5, it is characterised in that
    The fast charge protocol is included in PEP fast charges agreement, QC2.0 fast charges agreement, VOOC fast charges agreement and FCP fast charge agreements Any one or more.
  8. 8. according to the method for claim 7, it is characterised in that
    The identification method of the fast charge protocol is held using the charger with what the fast charge protocol matched Handball Association's view carries out handshake communication, by detecting whether the handshake communication can be realized to confirm whether the charger supports institute State fast charge protocol.
  9. 9. a kind of memory, it is characterised in that the memory is used for storage program data, and described program data can be performed To realize charging method according to any one of claims 1 to 8.
  10. 10. a kind of electronic installation, including memory, processor and the routine data run on the memory is stored in, its It is characterised by, the charging method as described in claim any one of 1-8 is realized during the computing device described program data.
CN201710543068.8A 2017-07-05 2017-07-05 A kind of electronic installation and its charging method Pending CN107508330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710543068.8A CN107508330A (en) 2017-07-05 2017-07-05 A kind of electronic installation and its charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710543068.8A CN107508330A (en) 2017-07-05 2017-07-05 A kind of electronic installation and its charging method

Publications (1)

Publication Number Publication Date
CN107508330A true CN107508330A (en) 2017-12-22

Family

ID=60678725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710543068.8A Pending CN107508330A (en) 2017-07-05 2017-07-05 A kind of electronic installation and its charging method

Country Status (1)

Country Link
CN (1) CN107508330A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal
CN109687545A (en) * 2018-12-06 2019-04-26 Oppo广东移动通信有限公司 Charge control method, device, computer storage medium and mobile power source
CN110112799A (en) * 2019-04-19 2019-08-09 华为技术有限公司 A kind of high-voltage charging system, apparatus and method
CN110556884A (en) * 2018-06-01 2019-12-10 Oppo广东移动通信有限公司 charging management method, device, medium and electronic equipment applying method
CN110718948A (en) * 2019-10-22 2020-01-21 艾体威尔电子技术(北京)有限公司 Charging management method for intelligent POS equipment
CN111490578A (en) * 2020-05-29 2020-08-04 维沃移动通信有限公司 Charging control method and device
CN112199313A (en) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 USB fast charging switching device and method
CN112448450A (en) * 2020-11-16 2021-03-05 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and storage medium
CN112448423A (en) * 2019-08-28 2021-03-05 北京小米移动软件有限公司 Charging method and device, electronic equipment and storage medium
CN112825401A (en) * 2019-11-20 2021-05-21 北京小米移动软件有限公司 Charging line, charger, charging control method and charging device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622314A (en) * 2011-01-27 2012-08-01 快捷半导体(苏州)有限公司 Mobile device peripheral detection with independent state machines
US20160072335A1 (en) * 2013-04-12 2016-03-10 Nokia Technologies Oy A wireless charger
CN106100023A (en) * 2016-06-21 2016-11-09 深圳天珑无线科技有限公司 Charger, charging identification circuit and method
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger
CN106329654A (en) * 2016-09-26 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Electronic device and charging method thereof
CN106655415A (en) * 2017-03-14 2017-05-10 成都智朴思互联科技有限公司 Intelligent universal charging identification and control device based on USB interface
CN106684986A (en) * 2016-12-26 2017-05-17 建荣半导体(深圳)有限公司 Charging equipment and fast-charging protocol analytic method and system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622314A (en) * 2011-01-27 2012-08-01 快捷半导体(苏州)有限公司 Mobile device peripheral detection with independent state machines
US20160072335A1 (en) * 2013-04-12 2016-03-10 Nokia Technologies Oy A wireless charger
CN205725104U (en) * 2015-12-30 2016-11-23 北京新兆民科技有限公司 A kind of battery bridge joint charger
CN106100023A (en) * 2016-06-21 2016-11-09 深圳天珑无线科技有限公司 Charger, charging identification circuit and method
CN106329654A (en) * 2016-09-26 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Electronic device and charging method thereof
CN106684986A (en) * 2016-12-26 2017-05-17 建荣半导体(深圳)有限公司 Charging equipment and fast-charging protocol analytic method and system thereof
CN106655415A (en) * 2017-03-14 2017-05-10 成都智朴思互联科技有限公司 Intelligent universal charging identification and control device based on USB interface

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110556884A (en) * 2018-06-01 2019-12-10 Oppo广东移动通信有限公司 charging management method, device, medium and electronic equipment applying method
CN109687545B (en) * 2018-12-06 2021-11-12 Oppo广东移动通信有限公司 Charging control method and device, computer storage medium and mobile power supply
CN109687545A (en) * 2018-12-06 2019-04-26 Oppo广东移动通信有限公司 Charge control method, device, computer storage medium and mobile power source
CN113852153B (en) * 2018-12-06 2024-03-08 Oppo广东移动通信有限公司 Charging control method and device, computer storage medium and mobile power supply
CN113852152B (en) * 2018-12-06 2024-02-13 Oppo广东移动通信有限公司 Charging control method and device, computer storage medium and mobile device
CN113852153A (en) * 2018-12-06 2021-12-28 Oppo广东移动通信有限公司 Charging control method and device, computer storage medium and mobile power supply
CN113852152A (en) * 2018-12-06 2021-12-28 Oppo广东移动通信有限公司 Charging control method and device, computer storage medium and mobile device
CN109560591A (en) * 2019-01-25 2019-04-02 维沃移动通信有限公司 Charging method, device and terminal
CN110112799A (en) * 2019-04-19 2019-08-09 华为技术有限公司 A kind of high-voltage charging system, apparatus and method
CN110112799B (en) * 2019-04-19 2021-10-08 荣耀终端有限公司 High-voltage charging system, equipment and method
CN112448423A (en) * 2019-08-28 2021-03-05 北京小米移动软件有限公司 Charging method and device, electronic equipment and storage medium
CN110718948A (en) * 2019-10-22 2020-01-21 艾体威尔电子技术(北京)有限公司 Charging management method for intelligent POS equipment
CN112825401A (en) * 2019-11-20 2021-05-21 北京小米移动软件有限公司 Charging line, charger, charging control method and charging device
WO2021239102A1 (en) * 2020-05-29 2021-12-02 维沃移动通信有限公司 Charging control method and apparatus
CN111490578A (en) * 2020-05-29 2020-08-04 维沃移动通信有限公司 Charging control method and device
CN112199313A (en) * 2020-10-13 2021-01-08 重庆品胜科技有限公司 USB fast charging switching device and method
CN112448450A (en) * 2020-11-16 2021-03-05 Oppo广东移动通信有限公司 Charging control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107508330A (en) A kind of electronic installation and its charging method
EP3309924B1 (en) A terminal with two charging circuits
CN104393627B (en) USB charger, mobile terminal and charge control method
CN105553001B (en) Charging method and intelligent terminal
EP2985856B1 (en) Usb charging system with variable charging voltage, charger, and intelligent terminal
CN107742912A (en) Charging method, fast fill device and computer-readable recording medium
CN207116873U (en) Fast charge adapter and fast charge cable structure
CN109768599B (en) Charging method based on multiple USB-C interfaces and main equipment
CN106849230A (en) Protocol conversion system and method, chip and data wire are filled soon
CN104253456A (en) Charging apparatus, power supply method, terminal device and charging method
CN107706685A (en) A kind of connector
CN110401248A (en) Fast charge method and device, electronic equipment, computer readable storage medium
CN104065144A (en) System and method for dynamically adjusting output voltage and output current of USB charger through VBUS signal
CN106329654A (en) Electronic device and charging method thereof
CN104917267A (en) Two-in-one charging circuit compatible with MTK and QC2.0 charging schemes
CN110138022A (en) Charging unit, battery charge controller, terminal device and charging method
CN112087014B (en) Combination of battery pack and adapter
CN106100023A (en) Charger, charging identification circuit and method
CN106300549A (en) Electronic installation and charging method thereof
CN207652075U (en) A kind of OTG power supply and wireless charging compatible circuit and terminal device
CN205509156U (en) Charger data line
CN211209320U (en) Module for realizing quick charge by simulating QC communication protocol through comparator
CN105490333A (en) Rapid charging control circuit for battery, adapter and mobile equipment
CN105978061A (en) Method and system for automatically setting smart terminal
CN209842612U (en) Circuit structure for automatically realizing Hua Dy and san Yang quick charging protocol based on TYPE-C interface

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222