CN108400621A - The detection method and device of charge fault - Google Patents

The detection method and device of charge fault Download PDF

Info

Publication number
CN108400621A
CN108400621A CN201710067195.5A CN201710067195A CN108400621A CN 108400621 A CN108400621 A CN 108400621A CN 201710067195 A CN201710067195 A CN 201710067195A CN 108400621 A CN108400621 A CN 108400621A
Authority
CN
China
Prior art keywords
charging
current
preset relation
relation
peripheral circuit
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
CN201710067195.5A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710067195.5A priority Critical patent/CN108400621A/en
Priority to PCT/CN2017/089801 priority patent/WO2018145390A1/en
Publication of CN108400621A publication Critical patent/CN108400621A/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
    • 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
    • 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/007Regulation of charging or discharging current or voltage

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of detection method of charge fault and devices.Wherein, this method includes:When mobile terminal is in charged state, multiple current charge parameters of the charging module of mobile terminal are obtained, wherein charging module includes charging main circuit and charging peripheral circuit;Obtain corresponding with charging module preset relation, wherein preset relation is when charging peripheral circuit normal operation, the restriction relation that multiple charge parameters of charging module have;In the case where multiple current charge parameters are unsatisfactory for preset relation, determine that peripheral circuit breaks down.The present invention solves the technical issues of failure that can not detect charging peripheral circuit in time in the related technology.

Description

The detection method and device of charge fault
Technical field
The present invention relates to field of fault detection, in particular to the detection method and device of a kind of charge fault.
Background technology
In the mobile phone that client retracts, part mobile phone is retracted the reason is that being burnt or hand since short circuit occurs in mobile phone USB port Part electric leakage, which occurs, in the peripheral circuit of machine charging circuit causes mobile phone charging slow.Charging circuit short circuit or electric leakage, Qing Zheke It can cause mobile phone that cannot charge or charge slowly, severe one may lead to problems such as to expand as fire, cause the disaster of bigger.But It is in the prior art, to have no the technical side of the short circuit of coherent detection charging circuit or electric leakage (i.e. charging circuit breaks down) Case to notify user to stop charging in time when there is the short circuit of charging peripheral circuit or electric leakage, and carries out necessary Refuge Point Reason.
The technical issues of for the failure that can not detect charging peripheral circuit in time in the related technology, not yet proposes have at present The solution of effect.
Invention content
An embodiment of the present invention provides a kind of detection method of charge fault and device, at least solve in the related technology without Method detects the technical issues of failure of charging peripheral circuit in time.
One side according to the ... of the embodiment of the present invention, provides a kind of detection method of charge fault, and this method includes: When mobile terminal is in charged state, multiple current charge parameters of the charging module of mobile terminal are obtained, wherein charging module Including charging main circuit and charging peripheral circuit;Obtain preset relation corresponding with charging module, wherein preset relation is charging When peripheral circuit normal operation, restriction relation that multiple charge parameters of charging module have;Multiple current charge parameters not In the case of meeting preset relation, determine that peripheral circuit breaks down.
Further, multiple charge parameters include charging voltage and charging current, and multiple current charge parameters include current Charging voltage and current charging current, method further include:It is pre- to judge whether multiple current charge parameters meet in the following way If relationship:Pass through preset relation and determine corresponding with current charging voltage target charge current, wherein in current charging current and In the case that difference between target charge current is more than the first preset value, determine that multiple current charge parameters are unsatisfactory for default pass System;Or, passing through preset relation determines corresponding with current charging current target charging voltage, wherein in current charging voltage and In the case that difference between target charging voltage is more than the second preset value, determine that multiple current charge parameters are unsatisfactory for default pass System.
Further, obtaining preset relation corresponding with charging module includes:Obtain the function for indicating preset relation Relational expression;Or, obtaining the curve for indicating preset relation.
Further, it obtains for indicating that the curve of preset relation includes:Charging module is detected under multiple test electric currents Multiple test voltages, wherein the current differential between two neighboring test electric current is third preset value, and each electric current of testing corresponds to In a test voltage;It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains curve.
Further, it obtains for indicating that the functional relation of preset relation includes:Charging module is detected in multiple tests Multiple test voltages under electric current, wherein the current differential between two neighboring test electric current is third preset value, each test electricity Stream corresponds to a test voltage;Function Fitting is carried out to multiple test electric currents and multiple test voltages, obtains functional relation.
Further, after determining that peripheral circuit breaks down, method further includes:Pass through the audio interface of mobile terminal And/or video interface pushes prompt message, wherein prompt message is for prompting peripheral circuit to break down.
Further, charging peripheral circuit includes USB connector, ESD protections and surge protection circuit.
Other side according to the ... of the embodiment of the present invention, provides a kind of detection device of charge fault, which includes: First acquisition unit, for when mobile terminal is in charged state, obtaining the multiple of the charging module of mobile terminal and currently filling Electrical parameter, wherein charging module includes charging main circuit and charging peripheral circuit;Second acquisition unit, for obtaining and charging The corresponding preset relation of module, wherein when preset relation is charging peripheral circuit normal operation, multiple chargings ginseng of charging module The restriction relation that number has;Determination unit, it is outer in the case where multiple current charge parameters are unsatisfactory for preset relation, determining Enclose circuit malfunctions.
Further, multiple charge parameters include charging voltage and charging current, and multiple current charge parameters include current Charging voltage and current charging current, determination unit include:First determining module, for being determined by preset relation and currently being filled The corresponding target charge current of piezoelectric voltage, wherein it is pre- that the difference between current charging current and target charge current is more than first If in the case of value, determine that multiple current charge parameters are unsatisfactory for preset relation;Or, the second determining module, for by default Relationship determines target charging voltage corresponding with current charging current, wherein between current charging voltage and target charging voltage Difference be more than the second preset value in the case of, determine that multiple current charge parameters are unsatisfactory for preset relation.
Further, second acquisition unit includes:First acquisition module, for obtaining the function for indicating preset relation Relational expression;Second acquisition module, for obtaining the curve for indicating preset relation.
Further, the second acquisition module is additionally operable to:Detect multiple tests electricity of the charging module under multiple test electric currents Pressure, wherein the current differential between two neighboring test electric current is third preset value, and each electric current of testing corresponds to a test electricity Pressure;It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains curve.
Further, the first acquisition module is additionally operable to:Detect multiple tests electricity of the charging module under multiple test electric currents Pressure, wherein the current differential between two neighboring test electric current is third preset value, and each electric current of testing corresponds to a test electricity Pressure;Function Fitting is carried out to multiple test electric currents and multiple test voltages, obtains functional relation.
Further, which further includes:Push unit is connect with determination unit, for the audio by mobile terminal Interface and/or video interface push prompt message, wherein prompt message is for prompting peripheral circuit to break down.
Further, charging peripheral circuit includes USB connector, ESD protections and surge protection circuit.
According to another embodiment of the invention, a kind of storage medium is provided, storage medium can be set to store Program code for executing following steps:When mobile terminal is in charged state, the charging module of mobile terminal is obtained Multiple current charge parameters, wherein charging module includes charging main circuit and charging peripheral circuit;It obtains corresponding with charging module Preset relation, wherein when preset relation is charging peripheral circuit normal operation, what multiple charge parameters of charging module had Restriction relation;In the case where multiple current charge parameters are unsatisfactory for preset relation, determine that peripheral circuit breaks down.
In embodiments of the present invention, when mobile terminal is in charged state, the more of the charging module of mobile terminal are obtained A current charge parameter, wherein charging module includes charging main circuit and charging peripheral circuit;It obtains corresponding with charging module Preset relation, wherein when preset relation is charging peripheral circuit normal operation, pact that multiple charge parameters of charging module have Beam relationship;In the case where multiple current charge parameters are unsatisfactory for preset relation, determine that peripheral circuit breaks down, to solve The technical issues of failure of charging peripheral circuit in the related technology can not be detected in time, realizes detection charging peripheral circuit The technique effect of failure.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of mobile terminal according to the ... of the embodiment of the present invention;
Fig. 2 is the flow chart of the detection method of charge fault according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of the detection method of optional charge fault according to the ... of the embodiment of the present invention;
Fig. 4 is the schematic diagram of the charging system of mobile terminal according to the ... of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the matched curve of mobile terminal according to the ... of the embodiment of the present invention;
Fig. 6 is the schematic diagram of the detection device of charge fault according to the ... of the embodiment of the present invention.
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on mobile terminals, as shown in Figure 1, mobile terminal may include one or more (Fig. 1 In only show one) (processor 101 can include but is not limited to Micro-processor MCV or programmable logic device to processor 101 The processing unit of FPGA etc.), memory 103 for storing data and the transmitting device 105 for communication function.Ability Domain those of ordinary skill is appreciated that structure shown in FIG. 1 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device It is fixed.
Memory 103 can be used for storing the software program and module of application software, such as the equipment in the embodiment of the present invention The corresponding program instruction/module of control method, processor 101 by operation be stored in the software program in memory 103 with And module realizes above-mentioned method to perform various functions application and data processing.Memory may include that high speed is random Memory may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile Property solid-state memory.In some instances, memory can further comprise the memory remotely located relative to processor, these Remote memory can pass through network connection to terminal.The example of above-mentioned network includes but not limited to internet, enterprise Intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device is used to receive via a network or transmission data.Above-mentioned network specific example may include calculating The wireless network that the communication providers of machine terminal provide.In an example, transmitting device includes a network adapter (Network Interface Controller, referred to as NIC), can be connected with other network equipments by base station so as to It is communicated with internet.In an example, transmitting device can be radio frequency (Radio Frequency, referred to as RF) mould Block is used to wirelessly be communicated with internet.
Currently, mobile phone protection is concentrated mainly on the detection to battery abnormal conditions and protection, generally there are temperature protection, overcurrent Protect, overcharge protection, Cross prevention etc..In addition, generally also having the protections such as temperature protection and coherent detection measure to charging chip. But short circuit or electric leakage phase are lacked to the peripheral circuit of charging circuit (such as protection of USB connector, ESD and surge protection circuit) Close detection and safeguard procedures.
The protection of the above-mentioned protection to battery either battery core can only ensure that battery itself or charging chip itself do not go out Existing safety problem, but for the USB connector of charging circuit periphery, ESD (Electro-Static Discharge, electrostatic Discharge either electrostatic impedor) the effective short-circuit or detection of electrical leakage of the circuits shortage such as protection and surge protection circuit, USB connections The short circuit or electric leakage of the peripheral circuits such as device, ESD protections and surge protection circuit, which also result in, does not charge, charges and slowly even expand Greatly fire the problems such as, therefore, it is necessary to be protected to the USB connector of charging, ESD and surge protection circuit is in charging Short circuit or electric leakage etc. are abnormal to be detected.
In order to realize above-mentioned detection, according to embodiments of the present invention, a kind of side of the detection method of charge fault is provided Method embodiment, it should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions Computer system in execute, although also, logical order is shown in flow charts, in some cases, can be with Shown or described step is executed different from sequence herein.
Fig. 2 is the flow chart of the detection method of charge fault according to the ... of the embodiment of the present invention, as shown in Fig. 2, this method packet Include following steps:
Step S201 obtains the multiple of the charging module of mobile terminal and currently fills when mobile terminal is in charged state Electrical parameter, charging module include charging main circuit and charging peripheral circuit.
Step S202, obtains preset relation corresponding with charging module, and preset relation is charging peripheral circuit normal operation When, restriction relation that multiple charge parameters of charging module have.
Step S203 determines that event occurs for peripheral circuit in the case where multiple current charge parameters are unsatisfactory for preset relation Barrier.
By above-described embodiment the multiple of the charging module of mobile terminal are obtained when mobile terminal is in charged state Current charge parameter, wherein charging module includes charging main circuit and charging peripheral circuit;It obtains corresponding with charging module pre- If relationship, wherein when preset relation is charging peripheral circuit normal operation, constraint that multiple charge parameters of charging module have Relationship;In the case where multiple current charge parameters are unsatisfactory for preset relation, determine that peripheral circuit breaks down, to solve The technical issues of failure of charging peripheral circuit can not be detected in time in the related technology, realizes the event of detection charging peripheral circuit The technique effect of barrier.
Optionally, the executive agent of above-mentioned steps can be mobile terminal, such as mobile phone, tablet computer, MID, music Device, video player etc. can also be the charging equipment of mobile terminal, but not limited to this.
Optionally, the execution sequence of step S201 and step S202 can be interchanged, you can to first carry out step S202, Then S201 is executed again;Step S201 and step S202 can also be put into the same step and are performed simultaneously.
It should be noted that establish the restriction relation of the electric current and voltage when charging normal, need when mobile phone is normal into Row, mobile phone is normal when such as assuming to start to charge up every time, can measure and fit curve or letter when each charging starts Number.
Then Timing measurement charging voltage and electric current again in charging process, when the constraint of voltage and current and above-mentioned foundation When relationship is not inconsistent, judgement has electrical leakage problems.
Above-mentioned charging main circuit realizes charge function, the forms such as linear charging and switched charge.Charge peripheral circuit Refer to some auxiliary circuits realized other than charge function, mainly there is interface and defencive function etc., generally comprises USB interface, ESD is protected Protection circuit and surge protection circuit etc., but it is not limited to above-mentioned three enumerated circuit.
It should be noted that above-mentioned multiple charge parameters include charging voltage and charging current, preset relation describes Charging voltage and charging current between restriction relation, multiple current charge parameters include current charging voltage and current charging electricity Stream;In addition, multiple charge parameters can also be charging voltage and charge power, charging current and charge power etc., it can be according to need It is selected, the application is illustrated by taking charging voltage and charging current as an example;Charging peripheral circuit include USB connector, ESD is protected and surge protection circuit.
In step s 201, the multiple current charge parameters for obtaining the charging module of mobile terminal, can be mobile terminals Actively be detected by itself having circuit (can not have to change have circuit structure, reduce cost, while ensureing in this way There is the stability of circuit).
Optionally, in step S202, obtaining preset relation corresponding with charging module includes:It obtains for indicating default The functional relation of relationship;Or, obtaining the curve for indicating preset relation.
In an alternative embodiment, it obtains for indicating that the curve of preset relation includes:Charging module is detected more Multiple test voltages under a test electric current, wherein the current differential between two neighboring test electric current is third preset value, each It tests electric current and corresponds to a test voltage;It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains curve.
In another optional embodiment, acquisition includes for indicating the functional relation of preset relation:Detection charging Multiple test voltages of the module under multiple test electric currents, wherein the current differential between two neighboring test electric current is that third is pre- If value, each electric current of testing corresponds to a test voltage;Function Fitting is carried out to multiple test electric currents and multiple test voltages, Obtain functional relation.
After obtaining multiple test electric currents and multiple test voltages, multiple surveys of the Function Fitting model to obtaining can be utilized It tries electric current and multiple test voltages carries out Function Fitting, obtain above-mentioned function.
Function Fitting model herein includes fitting a straight line regression equation, quadratic polynomial fitting regression equation, more three times Item formula fitting regression equation, semilog fitting regression equation, Log-Log fitting regression equations etc..
In step S203, it can judge whether multiple current charge parameters meet preset relation in the following way:Pass through Preset relation determines target charge current corresponding with current charging voltage, wherein in current charging current and target charging electricity In the case that difference between stream is more than the first preset value, determine that multiple current charge parameters are unsatisfactory for preset relation;Or, by pre- If relationship determines target charging voltage corresponding with current charging current, wherein in current charging voltage and target charging voltage Between difference be more than the second preset value in the case of, determine that multiple current charge parameters are unsatisfactory for preset relation.
Optionally, after determining that peripheral circuit breaks down, in order to remind user to take measures on customs clearance in time, can pass through The audio interface and/or video interface of mobile terminal push prompt message, wherein prompt message is for prompting peripheral circuit Failure.
The technical solution for introducing the application by taking mobile phone is charged with adapter by USB data line as an example below, such as Fig. 3 institutes Show:
Step S301, the access charging adapter of USB data line one, and adapter connect electricity, USB data line it is another Head insertion mobile phone.
This Shen is described in detail in case of a mobile phone is charged with the adapter of 5V/2A by USB data line below Technical solution please, it is assumed that the internal resistance of VBUS lines and connector contact resistance R1 are equivalent to 150mohm (i.e. 150 millis in USB data line Europe), the internal resistance of GND lines and connector contact resistance R2 are equivalent to 100mohm (i.e. 100 milliohms), and adapter can be in 2A loading ranges Interior stable output 5V voltages.The schematic diagram of mobile phone charging short circuit and detection of electrical leakage is as shown in Figure 4.
Step S302, mobile phone have detected adapter insertion, have not started to charge up at this time that the charging voltage for measuring mobile phone side is VBUS0, at this time corresponding charging current should be 0, be denoted as I0
Step S303, detects the maximum current that this charger can be supported, maximum current is denoted as In, corresponding in mobile phone at this time The charging voltage of side is VBUSn
After being electrically charged the data line of equipment (such as mobile phone, tablet, music player) insertion adapter or computer, entering Before charging, the charging voltage for measuring mobile phone side when not charging is VBUS0, at this time corresponding charging current should be 0, be denoted as I0
Step S304 detects multiple test electric currents and multiple test voltages, in I0-InBetween current uniform between n Every being denoted as I1、I2…In-1, control charging circuit charging current I successively at this time1、I2…In-1, write down corresponding mobile phone side charging Voltage value is respectively VBUS1、VBUS2…VBUSn-1
The maximum current that this charger can be supported is detected, maximum current is denoted as In, at this point, the corresponding charging in mobile phone side Voltage is VBUSn, then in I0-InBetween current uniform at n be spaced, be denoted as I1、I2…In-1, control charging successively at this time Circuit charging current I1、I2…In-1, it is respectively VBUS to write down corresponding mobile phone side charging voltage value1、VBUS2…VBUSn-1, by In the limitation of the fan-out capability of adapter or the USB of apparatus such as computer, in addition the internal resistance of charging data line, the contact of connector The presence of resistance, data line may be under the influence of different charging currents, in the correspondence charging voltage value that mobile phone side measures It is different.The table for thus establishing the corresponding mobile phone side charging voltage of a charging current can be intended according to this table Close out the curve of mobile phone side a charging voltage VBUS and charging current.
Step S305, the VBUS and I obtained according to measurement fit an original mobile phone side charging voltage VBUS and charging The curve of electric current.
It is assumed that data line starts formal charging after being inserted into before, mobile phone is intact, leak resistance R3, at this time electric leakage electricity It is minimum to flow I_leakage, can be ignored, the electric current I_CHG on charging wire is equal to the actual charge current I_BUS of mobile phone. It is assumed that taking the electric current of 5 points altogether, and the correspondence table of electric current and voltage as shown in Table 1 can be measured according to Ohm's law, and The curve that an original voltage and current is fitted according to these data, as (horizontal axis indicates that charging current, the longitudinal axis indicate to Fig. 5 Charging voltage) shown in.
Table 1
I_CHG(A) VBUS(V)
2 4.5
1.5 4.625
1 4.75
0.5 4.875
0 5
Step S306, into normal charging condition, the charging current on timing detection data line and mobile phone side charging voltage.
Step S307 goes in primitive curve to go to search corresponding charging current with mobile phone side charging voltage for index, if The charging current measured includes that USB connector, esd protection circuit and anti-surge circuit etc. are all than this mobile phone charging peripheral circuit The maximum allowable leakage current of peripheral circuit then will may determine that short circuit or electric leakage generate greatly.
VBUS and I_CHG are periodically monitored in charging process, it is assumed that a certain moment USB connector short circuit occurs and causes to leak Electricity, leakage current I_leakage=1.5A, if I_CHG=0.5A at this time, the VBUS=5V- (I_CHG+I_ that measure Leakage) * 250mohm=5V-2A*250mohm=4.5V, and go in curve to index according to VBUS=4.5V, at this time correctly I_CHG should be 2A, and the charging current value measured is less than theoretical current value 2A-0.5A=1.5A.
Step S308, after having detected that short circuit or electric leakage generate, software stopping executes charging, and sends out alarm letter to user Breath, asks user to make emergency processing.
It is assumed that this mobile phone charging peripheral circuit includes all peripheries such as USB connector, esd protection circuit and anti-surge circuit The maximum allowable leakage current of circuit is I_leakage (MAX)=200mA, and practical leakage current 1.5A alreadys exceed maximum Allow leakage current.So software can determine whether out that short circuit or electric leakage occurs in charging peripheral circuit at this time, and stopping executes charging, and Warning information is sent out to user, user is asked to make emergency processing.
In above-mentioned steps S307, it can also be changed to electric current (measuring the sum of electric current and maximum allowable leakage current) as rope Draw, go in primitive curve to go to search corresponding charging voltage, if the charging voltage ratio measured measures electric current and maximum allowable leakage Voltage after electric current in corresponding original charging curve wants small, then may determine that short circuit or electric leakage generate.In this way Modification can reach same effect, there is no substantial differences for said program.
In the technical solution of the application, after mobile phone enters normal charging condition, in charging process, in addition to conventional fixed When detection flow into except electric current, cell voltage, temperature etc. of battery, along on detection data line charging current and mobile phone side Charging voltage, be then that index removes the mobile phone side charging voltage VBUS and data line current that established just now with electric current or voltage If curve searches the corresponding voltage voltage that either electric current is found out up or current value deviates virgin curve more than certain Range then judges that short circuit or drain conditions occurs in charging process in mobile phone charging peripheral circuit.
Using the technical solution of the application, hardware modifications need not be done in many common charging schemes, as long as increasing The short circuit or detection of electrical leakage of charging peripheral circuit such as USB connector etc. can be realized in some software steps flows, avoids connecting because of USB Connecing the short circuits such as device leads to more major break down and loss.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing The part that technology contributes can be expressed in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of detection device of charge fault is additionally provided in the embodiment of the present invention.The device is for realizing above-described embodiment And preferred embodiment, carried out repeating no more for explanation.As used below, term " module " may be implemented to make a reservation for The combination of the software and/or hardware of function.It is hard although device described in following embodiment is preferably realized with software The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 6 is the schematic diagram of the detection device of charge fault according to the ... of the embodiment of the present invention.As shown in fig. 6, the device can To include:First acquisition unit 61, second acquisition unit 62 and determination unit 63.
First acquisition unit 61, for when mobile terminal is in charged state, obtaining the charging module of mobile terminal Multiple current charge parameters, wherein charging module includes charging main circuit and charging peripheral circuit.
Second acquisition unit 62 is connect with first acquisition unit 61, for obtaining preset relation corresponding with charging module, Wherein, when preset relation is charging peripheral circuit normal operation, restriction relation that multiple charge parameters of charging module have.
Determination unit 63 is connect with second acquisition unit 62, for being unsatisfactory for preset relation in multiple current charge parameters In the case of, determine that peripheral circuit breaks down.
Pass through above-described embodiment, first acquisition unit, for when mobile terminal is in charged state, obtaining mobile terminal Charging module multiple current charge parameters, wherein charging module include charging main circuit and charging peripheral circuit;Second obtains Unit is taken, for obtaining preset relation corresponding with charging module, wherein preset relation is charging peripheral circuit normal operation When, restriction relation that multiple charge parameters of charging module have;Determination unit, for being unsatisfactory in multiple current charge parameters It in the case of preset relation, determines that peripheral circuit breaks down, can not be detected in time in the related technology outside charging to solve The technical issues of enclosing the failure of circuit realizes the technique effect of the failure of detection charging peripheral circuit.
It should be noted that above-mentioned multiple charge parameters include charging voltage and charging current, preset relation describes Charging voltage and charging current between restriction relation, multiple current charge parameters include current charging voltage and current charging electricity Stream;In addition, multiple charge parameters can also be charging voltage and charge power, charging current and charge power etc., it can be according to need It is selected, the application is illustrated by taking charging voltage and charging current as an example;Charging peripheral circuit include USB connector, ESD is protected and surge protection circuit.
Optionally, second acquisition unit includes:First acquisition module, for obtaining the function pass for indicating preset relation It is formula;Second acquisition module, for obtaining the curve for indicating preset relation.
In an alternative embodiment, the second acquisition module is additionally operable to:Charging module is detected under multiple test electric currents Multiple test voltages, wherein the current differential between two neighboring test electric current is third preset value, and each electric current of testing corresponds to In a test voltage;It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains curve.
In another optional embodiment, the first acquisition module is additionally operable to:Charging module is detected in multiple test electric currents Under multiple test voltages, wherein the current differential between two neighboring test electric current is third preset value, each to test electric current pair Ying Yuyi test voltage;Function Fitting is carried out to multiple test electric currents and multiple test voltages, obtains functional relation.
In the above-described embodiments, determination unit includes:First determining module, for being determined by preset relation and currently being filled The corresponding target charge current of piezoelectric voltage, wherein it is pre- that the difference between current charging current and target charge current is more than first If in the case of value, determine that multiple current charge parameters are unsatisfactory for preset relation;Or, the second determining module, for by default Relationship determines target charging voltage corresponding with current charging current, wherein between current charging voltage and target charging voltage Difference be more than the second preset value in the case of, determine that multiple current charge parameters are unsatisfactory for preset relation.
Optionally, in order to remind user to carry out relevant operation in time, the device of the application can also include:Push unit, It is connect with determination unit, for after determining that peripheral circuit breaks down, stopping charging, and connect by the audio of mobile terminal Mouth and/or video interface push prompt message, wherein prompt message is for prompting peripheral circuit to break down.
Using the technical solution of the application, hardware modifications need not be done in many common charging schemes, as long as increasing The short circuit or detection of electrical leakage of charging peripheral circuit such as USB connector etc. can be realized in some software steps flows, avoids connecting because of USB Connecing the short circuits such as device leads to more major break down and loss.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary The form of combination is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can To be arranged to store the program code for executing following steps:
S1 obtains multiple current charge parameters of the charging module of mobile terminal when mobile terminal is in charged state, Wherein, charging module includes charging main circuit and charging peripheral circuit;
S2 obtains preset relation corresponding with charging module, wherein preset relation is charging peripheral circuit normal operation When, restriction relation that multiple charge parameters of charging module have;
S3 determines that peripheral circuit breaks down in the case where multiple current charge parameters are unsatisfactory for preset relation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is executed according to stored program code in storage medium:Mobile whole When end is in charged state, multiple current charge parameters of the charging module of mobile terminal are obtained, wherein charging module includes filling Electric main circuit and charging peripheral circuit;Obtain preset relation corresponding with charging module, wherein preset relation is charging periphery electricity When the normal operation of road, restriction relation that multiple charge parameters of charging module have;It is unsatisfactory in multiple current charge parameters pre- If in the case of relationship, determining that peripheral circuit breaks down.
Optionally, the specific example in the present embodiment can refer to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of detection method of charge fault, which is characterized in that including:
When mobile terminal is in charged state, multiple current charge parameters of the charging module of the mobile terminal are obtained, In, the charging module includes charging main circuit and charging peripheral circuit;
Obtain preset relation corresponding with the charging module, wherein the preset relation is that the charging peripheral circuit is normal When operation, restriction relation that multiple charge parameters of the charging module have;
In the case where multiple current charge parameters are unsatisfactory for the preset relation, determine that event occurs for the peripheral circuit Barrier.
2. according to the method described in claim 1, it is characterized in that, multiple charge parameters include charging voltage and charging electricity Stream, multiple current charge parameters include current charging voltage and current charging current, and the method further includes:By as follows Mode judges whether multiple current charge parameters meet the preset relation:
Target charge current corresponding with the current charging voltage is determined by the preset relation, wherein described current In the case that difference between charging current and the target charge current is more than the first preset value, multiple current chargings are determined Parameter is unsatisfactory for the preset relation;Or,
Determine target charging voltage corresponding with the current charging current by the preset relation, wherein it is described currently In the case that difference between charging voltage and the target charging voltage is more than the second preset value, multiple current chargings are determined Parameter is unsatisfactory for the preset relation.
3. method according to claim 1 or 2, which is characterized in that obtain preset relation corresponding with the charging module Including:
Obtain the functional relation for indicating the preset relation;Or,
Obtain the curve for indicating the preset relation.
4. according to the method described in claim 3, it is characterized in that, acquisition includes for indicating the curve of the preset relation:
Detect multiple test voltages of the charging module under multiple test electric currents, wherein the two neighboring test electric current Between current differential be third preset value, each test electric current is corresponding to a test voltage;
It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains the curve.
5. according to the method described in claim 3, it is characterized in that, obtaining the functional relation for indicating the preset relation Including:
Detect multiple test voltages of the charging module under multiple test electric currents, wherein the two neighboring test electric current Between current differential be third preset value, each test electric current is corresponding to a test voltage;
Function Fitting is carried out to multiple test electric currents and multiple test voltages, obtains the functional relation.
6. described according to the method described in claim 1, it is characterized in that, after determining that the peripheral circuit breaks down Method further includes:
Prompt message is pushed by the audio interface and/or video interface of the mobile terminal, wherein the prompt message is used for The peripheral circuit is prompted to break down.
7. according to the method described in claim 1, it is characterized in that, the charging peripheral circuit includes USB connector, ESD guarantors Shield and surge protection circuit.
8. a kind of detection device of charge fault, which is characterized in that including:
First acquisition unit, for when mobile terminal is in charged state, obtaining the more of the charging module of the mobile terminal A current charge parameter, wherein the charging module includes charging main circuit and charging peripheral circuit;
Second acquisition unit, for obtaining preset relation corresponding with the charging module, wherein the preset relation is described When the peripheral circuit normal operation that charges, restriction relation that multiple charge parameters of the charging module have;
Determination unit, it is described outer in the case where multiple current charge parameters are unsatisfactory for the preset relation, determining Enclose circuit malfunctions.
9. device according to claim 8, which is characterized in that multiple charge parameters include charging voltage and charging electricity Stream, multiple current charge parameters include current charging voltage and current charging current, and the determination unit includes:
First determining module, it is electric for determining that target corresponding with the current charging voltage charges by the preset relation Stream, wherein in the case that the difference between the current charging current and the target charge current is more than the first preset value, really Fixed multiple current charge parameters are unsatisfactory for the preset relation;Or,
Second determining module, for determining that target charging corresponding with the current charging current is electric by the preset relation Pressure, wherein in the case that the difference between the current charging voltage and the target charging voltage is more than the second preset value, really Fixed multiple current charge parameters are unsatisfactory for the preset relation.
10. device according to claim 8 or claim 9, which is characterized in that the second acquisition unit includes:
First acquisition module, for obtaining the functional relation for indicating the preset relation;
Second acquisition module, for obtaining the curve for indicating the preset relation.
11. device according to claim 10, which is characterized in that second acquisition module is additionally operable to:
Detect multiple test voltages of the charging module under multiple test electric currents, wherein the two neighboring test electric current Between current differential be third preset value, each test electric current is corresponding to a test voltage;
It carries out curve fitting to multiple test electric currents and multiple test voltages, obtains the curve.
12. device according to claim 10, which is characterized in that the first acquisition module is additionally operable to:
Detect multiple test voltages of the charging module under multiple test electric currents, wherein the two neighboring test electric current Between current differential be third preset value, each test electric current is corresponding to a test voltage;
Function Fitting is carried out to multiple test electric currents and multiple test voltages, obtains the functional relation.
13. device according to claim 8, which is characterized in that described device further includes:
Push unit is connect with the determination unit, for being pushed away by the audio interface and/or video interface of the mobile terminal Send prompt message, wherein the prompt message is for prompting the peripheral circuit to break down.
14. device according to claim 8, which is characterized in that the charging peripheral circuit includes USB connector, ESD guarantors Shield and surge protection circuit.
CN201710067195.5A 2017-02-07 2017-02-07 The detection method and device of charge fault Pending CN108400621A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710067195.5A CN108400621A (en) 2017-02-07 2017-02-07 The detection method and device of charge fault
PCT/CN2017/089801 WO2018145390A1 (en) 2017-02-07 2017-06-23 Fault detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710067195.5A CN108400621A (en) 2017-02-07 2017-02-07 The detection method and device of charge fault

Publications (1)

Publication Number Publication Date
CN108400621A true CN108400621A (en) 2018-08-14

Family

ID=63094431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710067195.5A Pending CN108400621A (en) 2017-02-07 2017-02-07 The detection method and device of charge fault

Country Status (2)

Country Link
CN (1) CN108400621A (en)
WO (1) WO2018145390A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830394A (en) * 2020-07-02 2020-10-27 上海创功通讯技术有限公司 Charging circuit fault detection method, electronic device and computer readable storage medium
CN113922459A (en) * 2021-10-22 2022-01-11 北京小米移动软件有限公司 Charging protection method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009254165A (en) * 2008-04-08 2009-10-29 Panasonic Corp Battery state detection circuit, battery pack, and charging system
CN103728533A (en) * 2014-01-16 2014-04-16 北京航空航天大学 High-power non-contact charging system main circuit fault detection device
CN105634373A (en) * 2014-11-07 2016-06-01 中国石油化工股份有限公司 Oil pumping unit centralized control special-purpose inversion control device
CN105842554A (en) * 2016-01-29 2016-08-10 维沃移动通信有限公司 Hardware failure detection method and detection system for intelligent terminal and intelligent terminal
CN106374577A (en) * 2016-10-21 2017-02-01 努比亚技术有限公司 Charging protection method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122631A (en) * 2007-08-17 2008-02-13 中兴通讯股份有限公司 Method and device for testing battery charging effect and electronic product power consumption
CN105554212B (en) * 2015-12-03 2018-05-18 上海斐讯数据通信技术有限公司 A kind of mobile terminal of mobile terminal electrical leakage detecting method and electrical leakage detecting method
CN205610274U (en) * 2016-04-29 2016-09-28 维沃移动通信有限公司 Short -circuit protection circuit and electronic equipment charge

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009254165A (en) * 2008-04-08 2009-10-29 Panasonic Corp Battery state detection circuit, battery pack, and charging system
CN103728533A (en) * 2014-01-16 2014-04-16 北京航空航天大学 High-power non-contact charging system main circuit fault detection device
CN105634373A (en) * 2014-11-07 2016-06-01 中国石油化工股份有限公司 Oil pumping unit centralized control special-purpose inversion control device
CN105842554A (en) * 2016-01-29 2016-08-10 维沃移动通信有限公司 Hardware failure detection method and detection system for intelligent terminal and intelligent terminal
CN106374577A (en) * 2016-10-21 2017-02-01 努比亚技术有限公司 Charging protection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830394A (en) * 2020-07-02 2020-10-27 上海创功通讯技术有限公司 Charging circuit fault detection method, electronic device and computer readable storage medium
CN113922459A (en) * 2021-10-22 2022-01-11 北京小米移动软件有限公司 Charging protection method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018145390A1 (en) 2018-08-16

Similar Documents

Publication Publication Date Title
CN106740228B (en) Voltage consistency detection method and device and voltage equalization method and device
CN106537718B (en) Battery management
CN103545564B (en) Rechargeable battery cell and defect inspection method thereof
CN103311991B (en) A kind of battery management system and equilibrium state on-line monitoring method thereof
US20120126820A1 (en) Battery pack burn-in test system and method
CN205355895U (en) Battery protection circuit
CN108001270A (en) A kind of detection method of DC charging circuit and DC charging
CN108732448A (en) Wire break detection method and broken string in battery management system release detection method
US20130293995A1 (en) Non-sequential monitoring of battery cells in battery monitoring systems, and related components, systems, and methods
US20170346314A1 (en) Battery protection board, battery and mobile terminal
CN106463991A (en) Battery protection board, battery and mobile terminal
CN112104015B (en) Battery charging method and device, terminal equipment and storage medium
CN108400621A (en) The detection method and device of charge fault
CN105259458A (en) Device and method for verifying insulation monitoring accuracy and leakage protection of battery pack management system
WO2017203265A1 (en) Methods and apparatus for energy storage
CN114966454A (en) Method, system, equipment and storage medium for detecting virtual connection of battery sampling line
CN109557473A (en) Power battery pack delivery test system and method
CN115102266A (en) Control method of battery system, battery system and off-grid power supply system
KR102346813B1 (en) Test system and method for charging device
KR101539692B1 (en) System for testing Battery Management Unit using Field Effect Transistor sensing and method thereof
CN204925274U (en) BMS is at ring testing arrangement
US10539625B2 (en) Integrated standard-compliant data acquisition device
CN103515658B (en) Rechargeable battery cell and charging management method
JP7235423B2 (en) Methods, Battery Packs, Appliances, and Systems for Addressing Poor Contacts in Battery Packs
CN116788069A (en) Electric engineering vehicle and charging guiding method thereof

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