CN106451637A - Charge indicating lamp control method and system and mobile terminal - Google Patents

Charge indicating lamp control method and system and mobile terminal Download PDF

Info

Publication number
CN106451637A
CN106451637A CN201610954949.4A CN201610954949A CN106451637A CN 106451637 A CN106451637 A CN 106451637A CN 201610954949 A CN201610954949 A CN 201610954949A CN 106451637 A CN106451637 A CN 106451637A
Authority
CN
China
Prior art keywords
current
charging
indicator light
mobile terminal
charging indicator
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
CN201610954949.4A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610954949.4A priority Critical patent/CN106451637A/en
Publication of CN106451637A publication Critical patent/CN106451637A/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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition

Abstract

The invention discloses a charge indicating lamp control method and system and a mobile terminal. The charge indicating lamp control method comprises the steps of detecting charging current inputted into the mobile terminal, comparing the charging current with first preset current and second preset current, and turning off a charge indicating lamp if the charging current is lower than the first preset current; and turning on the charge indicating lamp if the charging current is higher than the second preset current. The charge indicating lamp control method can enable control for the charge indicating lamp to be more visual, simpler and more accurate, thereby improving the development efficiency, and providing debugging and development convenience for a manufacturer of the mobile terminal.

Description

A kind of control method of charging indicator light, system and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly to a kind of control method of charging indicator light, system and shifting Dynamic terminal.
Background technology
The commonly used rechargeable battery of mobile terminal at present, charging is one of the most frequently used regular job of mobile terminal, is Preferably indicate charged state, mobile terminal can be indicated by an indicator lamp, and such as indicator lamp is bright, fills Electricity, indicator lamp goes out and is not then charging.
It is a complicated process due to charging, charging process includes various states, such as:Constant-current charge, pressure limiting are filled Electricity, current-limiting charge, trickle charge, constant-voltage charge, pulse charge etc., will include one or more above-mentioned shape in charging process State;Therefore, in the exploitation of charging indicator light, need carefully to the control adding charging indicator light in various charged states, Therefore, charging indicator light control is more complicated, simultaneously with the continuous innovation of charging technique, for the new charging of appearance in future State cannot be estimated.Therefore, existing charging indicator light control process is complex, has much room for improvement and development.
Thus prior art could be improved and improves.
Content of the invention
A kind of in view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide controlling party of charging indicator light Method, system and mobile terminal, can make the control of charging indicator light more directly perceived, simply, accurately;Thus improving development efficiency, it is Mobile terminal manufacturer provides debugging, the convenience of exploitation.
In order to achieve the above object, this invention takes technical scheme below:
A kind of control method of charging indicator light, it comprises the steps:
A, the charging current of detection input to mobile terminal, and compare charging current and the first predetermined current and the second predetermined current Size, if charging current be less than the first predetermined current, execution step B;If charging current is higher than the second predetermined current, execute step Rapid C;
B, charge closing indicator lamp;
C, unlatching charging indicator light.
In the control method of described charging indicator light, described step A includes step:
A1, every Preset Time detection input to mobile terminal charging current;
A2, compare the size of charging current and the first predetermined current and the second predetermined current, if charging current is less than first presetting Electric current, execution step B;If charging current is higher than the second predetermined current, execution step C.
In the control method of described charging indicator light, described step A1 includes step:
A11, obtain the voltage difference being connected to detection resistance two ends between mobile terminal and charger every Preset Time;
A12, the charging current obtaining inputting according to the resistance of described voltage difference and detection resistance to mobile terminal.
In the control method of described charging indicator light, described step B specifically includes:Whether judge current charging indicator light It is in opening, if so, then charge closing indicator lamp.
In the control method of described charging indicator light, described step C specifically includes:Whether judge current charging indicator light It is closed, if so, then open charging indicator light.
A kind of control system of charging indicator light, it includes:
Detection module, for the charging current of detection input to mobile terminal, and compare charging current and the first predetermined current and The size of the second predetermined current;
Closedown module, for the charge closing indicator lamp when charging current is less than the first predetermined current;
Opening module, for opening charging indicator light when charging current is higher than the second predetermined current.
In the control system of described charging indicator light, described detection module includes:
Current detecting unit, for the charging current every Preset Time detection input to mobile terminal;
Comparison judgment unit, for comparing the size of charging current and the first predetermined current and the second predetermined current.
In the control system of described charging indicator light, described current detecting unit includes:
It is connected to the detection resistance between mobile terminal and charger;
Voltage obtains subelement, for obtaining the voltage difference at detection resistance two ends every Preset Time;
Current calculation subelement, for obtaining inputting according to the resistance of described voltage difference and detection resistance to the charging of mobile terminal Electric current.
In the control system of described charging indicator light, described closedown module specifically for judging current charging indicator light is No be in opening, if so, then charge closing indicator lamp;Described opening module specifically for judging current charging indicator light is No be closed, if so, then open charging indicator light.
A kind of portable power source, it includes the control system of charging indicator light as above.
Compared to prior art, in the control method of charging indicator light, system and mobile terminal that the present invention provides, described The control method of charging indicator light passes through detection input to the charging current of mobile terminal, and it is default with first to compare charging current Electric current and the size of the second predetermined current, if charging current is less than the first predetermined current, charge closing indicator lamp;If charging electricity Stream is higher than the second predetermined current, then open charging indicator light, the control of charging indicator light can be made more directly perceived, simply, accurately;From And improve development efficiency, the convenience of debugging, exploitation is provided for mobile terminal manufacturer.
Brief description
The flow chart of the control method of the charging indicator light that Fig. 1 provides for the present invention.
The structured flowchart of the control system of the charging indicator light that Fig. 2 provides for the present invention.
The structured flowchart of detection module in the control system of the charging indicator light that Fig. 3 provides for the present invention.
Specific embodiment
In view of the shortcomings of in prior art, charging indicator light controls more complicated, it is an object of the invention to provide one kind is filled The control method of electric indicator lamp, system and mobile terminal, can make the control of charging indicator light more directly perceived, simply, accurately;Thus Improve development efficiency, the convenience of debugging, exploitation is provided for mobile terminal manufacturer.
For making the purpose of the present invention, technical scheme and effect clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention further describes.It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to Limit the present invention.
Refer to Fig. 1, the control method of the charging indicator light that the present invention provides comprises the steps:
S100, the charging current of detection input to mobile terminal, and it is default with the first predetermined current and second to compare charging current The size of electric current, if charging current is less than the first predetermined current, execution step S200;If charging current is higher than the second default electricity Stream, execution step S300;
S200, charge closing indicator lamp;
S300, unlatching charging indicator light.
The present invention passes through the charging current of detection input mobile terminal, and compares charging current and the first predetermined current and the The size of two predetermined current, specifically, described first predetermined current is less than the second predetermined current, for example, the default electricity of setting first Flow for 10mA, the second predetermined current is 50mA, will execute when current input mobile terminal charging current is detected and being less than 10mA Step S200, charge closing indicator lamp;When current input mobile terminal charging current is detected and being higher than 50mA by execution step S300, opens charging indicator light, the size according to charging current can achieve the control of simple charging indicator light, thus improving Development efficiency, provides the convenience of debugging, exploitation for mobile terminal manufacturer.
Further, described step S100 includes:
S101, every Preset Time detection input to mobile terminal charging current;
S102, compare the size of charging current and the first predetermined current and the second predetermined current, if charging current to be less than first pre- If electric current, execution step S200;If charging current is higher than the second predetermined current, execution step S300.
In charging process, detect the charging current once inputting to mobile terminal every Preset Time, for example every 10s detection once it is ensured that the real-time of charging indicator light control, compares charging current pre- with the first predetermined current and second afterwards If the size of electric current, the size according to charging current controls the opening and closing of charging indicator light, makes the control of charging indicator light More directly perceived, simply, accurately.
Specifically, described S101 includes:
S1011, obtain the voltage difference being connected to detection resistance two ends between mobile terminal and charger every Preset Time;
S1012, the charging current obtaining inputting according to the resistance of described voltage difference and detection resistance to mobile terminal.
When being embodied as, a detection resistance is set between mobile terminal and charger, one end of detection resistance connects to be filled Electrical equipment, the other end connects mobile terminal, obtains the voltage difference at detection resistance two ends every Preset Time, further according to described voltage difference Obtain inputting with the resistance of detection resistance to the charging current of mobile terminal, specially by described voltage difference divided by detection resistance Resistance obtains inputting to the charging current of mobile terminal, described detection resistance, should not select larger resistance, it is to avoid lead to flow through Certain pressure drop is produced during electric current thus directly affecting normal charge function on this resistance;It is preferred that described detection resistance Resistance is 10 milliohms.
Further, described step S200 specifically includes and judges whether current charging indicator light is in opening, if so, Then charge closing indicator lamp;Described step S300 specifically includes and judges whether current charging indicator light is closed, if so, Then open charging indicator light.
When the charging current of input to mobile terminal is less than the first predetermined current, whether first judge current charging indicator light It is in opening, if so, then charge closing indicator lamp, if it is not, then not operating, by first judging that current charging indicator light is No for open mode, it is to avoid repeat in the case of being turned off charging indicator light arrange closed mode.In the same manner, when input is extremely mobile When the charging current of terminal is more than the second predetermined current, first judge whether current charging indicator light is closed, if so, then Open charging indicator light, if it is not, then not operating.
The present invention correspondingly provides a kind of control system of charging indicator light, as shown in Figures 2 and 3, described instruction of charging The control system of lamp includes detection module 10, closedown module 20 and opening module 30, described closedown module 20 and opening module 30 It is all connected with detection module 10, wherein, described detection module 10 is used for detection input to the charging current of mobile terminal, and compares and fill Electric current and the size of the first predetermined current and the second predetermined current;Described closedown module 20 is used for being less than first in charging current Charge closing indicator lamp during predetermined current;Described opening module 30 is used for opening when charging current is higher than the second predetermined current fills Electric indicator lamp.Specifically refer to the corresponding embodiment of said method.
Further, described detection module 10 includes current detecting unit 101 and comparison judgment unit 102, described electric current Detector unit 101 connects comparison judgment unit 102, and described current detecting unit 101 is used for every Preset Time detection input extremely The charging current of mobile terminal;Described comparison judgment unit 102 is used for comparing charging current pre- with the first predetermined current and second If the size of electric current.Specifically refer to the corresponding embodiment of said method.
Specifically, described current detecting unit 101 includes detection resistance(In figure is not shown), voltage obtain subelement 1011 With Current calculation subelement 1012, described detection resistance is connected between mobile terminal and charger, and it is single that described voltage obtains son Unit 1011 connection Current calculation subelement 1012, wherein, described voltage obtains subelement 1011 and is used for obtaining every Preset Time The voltage difference at detection resistance two ends;Described Current calculation subelement 1012 is used for the resistance according to described voltage difference and detection resistance Obtain inputting to the charging current of mobile terminal.Specifically refer to the corresponding embodiment of said method.
Further, described closedown module 20 is specifically for judging whether current charging indicator light is in opening, if It is, then charge closing indicator lamp;Described opening module 30 specifically for judging whether current charging indicator light is closed, If so, then open charging indicator light.Specifically refer to the corresponding embodiment of said method.
The present invention correspondingly provides a kind of portable power source, and it includes the control system of charging indicator light as above, by The control system of described charging indicator light is described in detail in above, has not been described further herein.
In sum, in the present invention provides the control method of charging indicator light, system and mobile terminal, described charging refers to Show that the control method of lamp passes through detection input to the charging current of mobile terminal, and compare charging current and the first predetermined current and The size of the second predetermined current, if charging current is less than the first predetermined current, charge closing indicator lamp;If charging current is higher than Second predetermined current, then open charging indicator light, the control of charging indicator light can be made more directly perceived, simply, accurately;Thus improving Development efficiency, provides the convenience of debugging, exploitation for mobile terminal manufacturer.
It is understood that for those of ordinary skills, with technology according to the present invention scheme and its can send out Bright design in addition equivalent or change, and all these change or replace the guarantor that all should belong to appended claims of the invention Shield scope.

Claims (10)

1. a kind of control method of charging indicator light is it is characterised in that comprise the steps:
A, the charging current of detection input to mobile terminal, and compare charging current and the first predetermined current and the second predetermined current Size, if charging current be less than the first predetermined current, execution step B;If charging current is higher than the second predetermined current, execute step Rapid C;
B, charge closing indicator lamp;
C, unlatching charging indicator light.
2. the control method of charging indicator light according to claim 1 is it is characterised in that described step A includes step:
A1, every Preset Time detection input to mobile terminal charging current;
A2, compare the size of charging current and the first predetermined current and the second predetermined current, if charging current is less than first presetting Electric current, execution step B;If charging current is higher than the second predetermined current, execution step C.
3. the control method of charging indicator light according to claim 2 is it is characterised in that described step A1 includes step:
A11, obtain the voltage difference being connected to detection resistance two ends between mobile terminal and charger every Preset Time;
A12, the charging current obtaining inputting according to the resistance of described voltage difference and detection resistance to mobile terminal.
4. the control method of charging indicator light according to claim 1 is it is characterised in that described step B specifically includes:Sentence Whether the current charging indicator light that breaks is in opening, if so, then charge closing indicator lamp.
5. the control method of charging indicator light according to claim 1 is it is characterised in that described step C specifically includes:Sentence Whether the current charging indicator light that breaks is closed, and if so, then opens charging indicator light.
6. a kind of control system of charging indicator light is it is characterised in that include:
Detection module, for the charging current of detection input to mobile terminal, and compare charging current and the first predetermined current and The size of the second predetermined current;
Closedown module, for the charge closing indicator lamp when charging current is less than the first predetermined current;
Opening module, for opening charging indicator light when charging current is higher than the second predetermined current.
7. the control system of charging indicator light according to claim 6 is it is characterised in that described detection module includes:
Current detecting unit, for the charging current every Preset Time detection input to mobile terminal;
Comparison judgment unit, for comparing the size of charging current and the first predetermined current and the second predetermined current.
8. the control system of charging indicator light according to claim 7 is it is characterised in that described current detecting unit bag Include:
It is connected to the detection resistance between mobile terminal and charger;
Voltage obtains subelement, for obtaining the voltage difference at detection resistance two ends every Preset Time;
Current calculation subelement, for obtaining inputting according to the resistance of described voltage difference and detection resistance to the charging of mobile terminal Electric current.
9. charging indicator light according to claim 6 control system it is characterised in that described closedown module specifically for Judge whether current charging indicator light is in opening, if so, then charge closing indicator lamp;Described opening module specifically for Judge whether current charging indicator light is closed, if so, then open charging indicator light.
10. a kind of portable power source is it is characterised in that include the control of the charging indicator light as described in claim 6-9 any one System processed.
CN201610954949.4A 2016-11-03 2016-11-03 Charge indicating lamp control method and system and mobile terminal Pending CN106451637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610954949.4A CN106451637A (en) 2016-11-03 2016-11-03 Charge indicating lamp control method and system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610954949.4A CN106451637A (en) 2016-11-03 2016-11-03 Charge indicating lamp control method and system and mobile terminal

Publications (1)

Publication Number Publication Date
CN106451637A true CN106451637A (en) 2017-02-22

Family

ID=58180957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610954949.4A Pending CN106451637A (en) 2016-11-03 2016-11-03 Charge indicating lamp control method and system and mobile terminal

Country Status (1)

Country Link
CN (1) CN106451637A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509288A (en) * 2017-08-17 2017-12-22 惠州Tcl移动通信有限公司 Mobile terminal charging indicator light control method, storage device and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956487B2 (en) * 2002-08-23 2005-10-18 Motorola, Inc. Battery charging status indication circuit
CN201312131Y (en) * 2008-10-16 2009-09-16 上海华勤通讯技术有限公司 Cell phone charging circuit and cell phone battery charging system
CN101546918A (en) * 2008-03-25 2009-09-30 鸿富锦精密工业(深圳)有限公司 Device and method for charging USB
CN201528215U (en) * 2009-05-04 2010-07-14 中兴通讯股份有限公司 Circuit for controlling online charging of battery
CN203871616U (en) * 2014-04-01 2014-10-08 中国移动通信集团终端有限公司 USB data line
CN104302048A (en) * 2014-09-28 2015-01-21 小米科技有限责任公司 Lamp control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956487B2 (en) * 2002-08-23 2005-10-18 Motorola, Inc. Battery charging status indication circuit
CN101546918A (en) * 2008-03-25 2009-09-30 鸿富锦精密工业(深圳)有限公司 Device and method for charging USB
CN201312131Y (en) * 2008-10-16 2009-09-16 上海华勤通讯技术有限公司 Cell phone charging circuit and cell phone battery charging system
CN201528215U (en) * 2009-05-04 2010-07-14 中兴通讯股份有限公司 Circuit for controlling online charging of battery
CN203871616U (en) * 2014-04-01 2014-10-08 中国移动通信集团终端有限公司 USB data line
CN104302048A (en) * 2014-09-28 2015-01-21 小米科技有限责任公司 Lamp control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509288A (en) * 2017-08-17 2017-12-22 惠州Tcl移动通信有限公司 Mobile terminal charging indicator light control method, storage device and mobile terminal
CN107509288B (en) * 2017-08-17 2019-12-10 惠州Tcl移动通信有限公司 Mobile terminal charging indicator lamp control method, storage device and mobile terminal

Similar Documents

Publication Publication Date Title
CN104600796B (en) The mobile terminal and method of quick charge, system
CN104142466B (en) A kind of AUTOMOTIVE RELAY contact closure condition detecting system and its detection method
CN103941210B (en) The checking monitoring system of a kind of BMS and method thereof
CN104362406B (en) The charge control method of mobile terminal and mobile terminal
CN102457081A (en) Rechargeable battery pack
CN104101808B (en) Charger detection system and its detection method and mobile terminal
CN102655244A (en) Battery pack, electricity storage system, electronic apparatus, electrically driven vehicle, electric power system, and control system
CN104155609B (en) A kind of maintenance-free lead accumulator lossless detection method and nondestructive testing instrument
CN109728353A (en) The method and device of accurate screening lithium battery self discharge
AU2015411280A1 (en) Intelligent charger with diagnostic function and charging method
CN103777137B (en) Electronic circuit breaker with self-checking function and self-diagnosis method thereof
CN107069843A (en) Short-circuit protection charging inlet and its control method
CN106451637A (en) Charge indicating lamp control method and system and mobile terminal
CN106165243B (en) A kind of wearable device and method for being powered management
CN202906503U (en) Control device for mobile power supply and mobile charging power supply
CN106058971B (en) A kind of charge protection method and mobile terminal
CN111103480A (en) Device and method for rapidly detecting charging parameters of charger
CN104167790B (en) The charge control system and its charge control method of charger, mobile terminal
CN104836290B (en) The detection method and detecting system that a kind of Mobile terminal charger insertion is extracted
CN104242388B (en) Charging circuit, battery core and mobile terminal
CN105792423A (en) Network device indication lamp control method and system and network device
CN104333091A (en) Charging quantity display control method and system based on mobile terminal and mobile terminal
CN106292853A (en) A kind of charge protection method, electronic equipment and system
CN105006861A (en) Mobile terminal pre-charge screen display method and system
CN107994650A (en) charge control method, device and equipment

Legal Events

Date Code Title Description
C06 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

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication