CN102522990A - Method and system for improving ADC calibration precision of mobile terminal - Google Patents

Method and system for improving ADC calibration precision of mobile terminal Download PDF

Info

Publication number
CN102522990A
CN102522990A CN2011104233844A CN201110423384A CN102522990A CN 102522990 A CN102522990 A CN 102522990A CN 2011104233844 A CN2011104233844 A CN 2011104233844A CN 201110423384 A CN201110423384 A CN 201110423384A CN 102522990 A CN102522990 A CN 102522990A
Authority
CN
China
Prior art keywords
current
portable terminal
power supply
charging current
charging
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
CN2011104233844A
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 CN2011104233844A priority Critical patent/CN102522990A/en
Publication of CN102522990A publication Critical patent/CN102522990A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a method and a system for improving an analog-to-digital converter (ADC) calibration precision of a mobile terminal. The method comprises the following steps that: a charging current of a charging output port of a dual output power source is arranged as an initial charging current; a supply current that is connected to a mobile terminal is obtained; the size of the supply current is determined; and when the supply current is zero, the charging current output by the dual output power source is directly output to an ADC port of the mobile terminal; when the supply current is greater than zero, the charging current output by the dual output power source is increased and then the suitable charging current is output to the ADC port of the mobile terminal; therefore, during the calibration process of the mobile terminal, when the dual output power source outputs the supply current, the charging current of the dual output power source is increased and the effect of the charging current is used to weaken the effect of the supply current, so that line loss between the dual output power source and the mobile terminal can be ignored and thus ADC calibration precision of the mobile terminal can be improved.

Description

Promote the method and system of the ADC calibration accuracy of portable terminal
Technical field
The present invention relates to the ADC collimation technique of portable mobile termianl, particularly a kind of method and system that promotes the ADC calibration accuracy of portable terminal.
Background technology
The portable electronic portable terminal all need be calibrated ADC (analog to digital converter) sampled voltage in the process of research and development of products and production.When calibration, generally adopt power supply to serve as false battery and supply power, and in power supply, calibrate to portable terminal.
Prior art is as shown in Figure 1; When portable terminal is calibrated; Cell phone mainboard 10 needs to be fixed on the anchor clamps 20 through the thimble on the anchor clamps 20, and cell phone mainboard 10 connects through power line and programmable power supply 30 and PC (personal computer, personal computer) machine 40; PC 40 is connected with programmable power supply 30, reads the voltage of sampled voltage and programmable power supply 30 outputs on the cell phone mainboard 10 through PC 40.
But; Because all there are certain impedance in the thimble on the anchor clamps 20, connection programmable power supply 40 and the power line of cell phone mainboard 10 and the PCB cabling on the cell phone mainboard 10; The voltage that the feasible final voltage that gets into the VBAT ADC input of mobile phone of these impedance meetings is exported less than programmable power supply 40; The magnitude of voltage that causes calibrating out is less than normal than actual value, and visible these line losses can influence the ADC calibration accuracy of portable terminal.
Summary of the invention
In view of the weak point of above-mentioned prior art, the object of the present invention is to provide a kind of method and system of ADC calibration accuracy of portable terminal, to solve prior art because line loss causes ADC to calibrate inaccurate problem.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of method that promotes the ADC calibration accuracy of portable terminal, said portable terminal is connected with the power supply output port with the charging output port of dual output power supply, and said PC is connected with the dual output power supply with portable terminal, and described method may further comprise the steps:
The charging current of the charging output port of A, dual output power supply is set to initial charge current;
B, obtain the supply current that is connected to portable terminal;
The size of C, the said supply current of judgement;
D, when said supply current is zero; The charging current of dual output power supply output is directly outputed to the ADC port of portable terminal; When said supply current greater than zero the time, increase the charging current of dual output power supply output, the charging current that is fit to of output is to the ADC port of portable terminal again.
In the method for the ADC calibration accuracy of above-mentioned lifting portable terminal, when supply current greater than zero the time, after the charging current that increases the output of dual output power supply, described method also comprises: the size of judging the charging current after increasing; When charging current during greater than the standard charging current of portable terminal, the output charging current is to the ADC port of portable terminal; When charging current during, return step B less than the standard charging current of portable terminal.
In the method for the ADC calibration accuracy of above-mentioned lifting portable terminal, in step D, the each charging current that increases of dual output power supply is 50mA.
In the method for the ADC calibration accuracy of above-mentioned lifting portable terminal, said initial charge current is 80-120mA.
In the method for the ADC calibration accuracy of above-mentioned lifting portable terminal, said standard charging current is 0.7-1A.
A kind of system that is used to promote the ADC calibration accuracy of portable terminal, said portable terminal is connected with the power supply output port with the charging output port of dual output power supply, and said PC is connected with the dual output power supply with portable terminal, is provided with in the said PC:
Electric current is provided with the unit, is used to be provided with the charging current of the charging output port of dual output power supply;
The electric current reading unit is used to read the charging output port of dual output power supply and the current value of power supply output port;
The electric current judging unit is used to judge whether the power supply output port of dual output power supply has supply current;
Electric current increases the unit, is used for when the power supply output port of electric current judgment unit judges dual output power supply has supply current, increasing the charging current of said charging output port.
Whether the above-mentioned system that is used for promoting the ADC calibration accuracy of portable terminal, the charging current that said electric current judging unit also is used to judge said charging output port output be greater than the standard charging current of portable terminal.
The above-mentioned system that is used for promoting the ADC calibration accuracy of portable terminal, it is 50mA that said electric current increases the each charging current that increases in unit.
The above-mentioned system that is used for promoting the ADC calibration accuracy of portable terminal, the initial charge current that said electric current is provided with the unit setting is 80-120mA.
The above-mentioned system that is used for promoting the ADC calibration accuracy of portable terminal, said standard charging current is 0.7-1A.
Compared to prior art, the present invention provides a kind of method and system of ADC calibration accuracy of portable terminal, and its method is set to initial charge current through the charging current of the charging output port of dual output power supply; Obtain the supply current that is connected to portable terminal, judge the size of said supply current afterwards again, when said supply current is zero; The charging current of dual output power supply output is directly outputed to the ADC port of portable terminal, when said supply current greater than zero the time, increase the charging current of dual output power supply output; The suitable charging current of output arrives the ADC port of portable terminal again; When the dual output power supply has supply current output, with the effect that is used for weakening supply current of charging current, thereby when portable terminal is calibrated; Make from the dual output power supply and can ignore, promoted the ADC calibration accuracy of portable terminal greatly to the line loss the portable terminal.
Description of drawings
Fig. 1 is the ADC calibrating installation sketch map of prior art portable terminal.
Fig. 2 promotes the method flow diagram of the ADC calibration accuracy of portable terminal for the present invention.
Fig. 3 promotes the method specific embodiment flow chart of the ADC calibration accuracy of portable terminal for the present invention.
Fig. 4 promotes the structured flowchart of system of the ADC calibration accuracy of portable terminal for the present invention.
Fig. 5 promotes the structured flowchart of PC inner function module of system of the ADC calibration accuracy of portable terminal for the present invention.
Embodiment
The present invention provides a kind of method and system of ADC calibration accuracy of portable terminal, and is clearer, clear and definite for making the object of the invention, technical scheme and effect, below develops simultaneously embodiment to further explain of the present invention with reference to accompanying drawing.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
When portable terminal being carried out the ADC calibration, said portable terminal is supplied power by the dual output power supply, and reads calibration data through PC.Said portable terminal is connected with the power supply output port with the charging output port of dual output power supply; Said PC is through UART (Universal Asynchronous Receiver/Transmitter; Universal asynchronous reception/dispensing device) bus is connected with portable terminal; This PC is connected with the dual output power supply through GPIB (General-Purpose Interface Bus, general-purpose interface bus) bus.Main purpose of the present invention is when portable terminal is calibrated, and ignores the impedance the ADC port from the dual output power supply to portable terminal, thereby promotes the ADC calibration accuracy of portable terminal.
See also Fig. 2, it promotes the method flow diagram of the ADC calibration accuracy of portable terminal for the present invention, and as shown in the figure, the method for the ADC calibration accuracy of lifting portable terminal provided by the invention comprises:
The charging current of the charging output port of S110, dual output power supply is set to initial charge current;
S120, PC obtain the supply current that is connected to portable terminal through gpib bus;
The size of S130, the said supply current of judgement; This step is mainly used in judges that whether supply current is zero, judges with this whether supply current exists line loss to the calibration of portable terminal;
S140, when said supply current is zero; The charging current of dual output power supply output is directly outputed to the ADC port of portable terminal; When said supply current greater than zero the time; Increase the charging current of dual output power supply output, when being increased to suitable charging current, be about to the ADC port that suitable charging current outputs to portable terminal.
In order to weaken the effect of supply current, reduce the influence of supply current to portable terminal ADC calibration, when supply current greater than zero the time, the concrete grammar that increases the charging current of dual output power supply output is: the size of judging the charging current after increasing; Charging current after increasing is during greater than the standard charging current of portable terminal, and the output charging current is to the ADC port of portable terminal; When charging current during less than the standard charging current of portable terminal; Continue to obtain the supply current that is connected to portable terminal; Judge again whether supply current is zero; Supply current be zero or increasing electric current after charging current during greater than the standard charging current of portable terminal, charging current is outputed to the ADC port of portable terminal.
In the embodiment of the invention, said initial charge current is 80-120mA, and said standard charging current is 0.7-1A, and the each charging current that increases of dual output power supply is 50mA.
Below be that the standard charging current that the each charging current that increases of 100mA, dual output power supply is 50mA, portable terminal is that 0.8A is the application implementation example with the initial charge current; The method that the present invention is promoted the ADC calibration accuracy of portable terminal is elaborated; As shown in Figure 3, it comprises:
The first step, with the charging current I of the charging output port of dual output power supply 1Be set to 100mA;
Second step, PC obtain the supply current I on the portable terminal that is connected to of dual output power supply through gpib bus 2
In the 3rd step, judge whether the supply current of dual output power supply output is zero;
The 4th step, when supply current is zero (being that the dual output power supply does not have supply current output), the charging current of dual output power supply output is directly outputed to the ADC port of portable terminal; When said supply current greater than zero the time, the charging current of charging output port is increased 50mA, judge the size of charging current again;
The 5th step, as the charging current I of charging output port output 1During greater than 0.8A, charging current is exported to the ADC port of portable terminal; As charge power supply I 1During less than 0.8A; Returned for second step and continue to obtain the supply current that outputs on the portable terminal; And judge the size of supply current on the dual output power supply, not have supply current output, perhaps in charging current during greater than 0.8A; The voltage of dual output power supply output just can be similar to the voltage on the portable terminal ADC port, thereby has promoted the calibration accuracy of ADC.
Based on above-mentioned method, the embodiment of the invention is also corresponding to provide a kind of system that is used to promote the ADC calibration accuracy of portable terminal, sees also Fig. 4 and Fig. 5, and said portable terminal 11 is by 21 power supplies of dual output power supply, and reads calibration data through PC 31.The charging output port 211 of said dual output power supply 21 is connected with the charging input end mouth 111 of portable terminal 11; The power supply output port 212 of dual output power supply 21 is connected with the power supply input port 112 of portable terminal 11; Said PC 31 is connected with portable terminal 11 through the UART bus, and this PC 31 is connected with dual output power supply 21 through gpib bus.Wherein, be provided with electric current in the said PC 31 unit 111, electric current reading unit 112, electric current judging unit 113 and electric current increase unit 114 are set.
Said electric current is provided with the charging current that unit 111 is used to be provided with the charging output port 211 of dual output power supply 21; Electric current reading unit 112 is used to read the charging output port 211 of dual output power supply 21 and the current value of power supply output port 212; Electric current judging unit 113 is used to judge whether the power supply output port 212 of dual output power supply 21 has supply current, and the charging current of judging 211 outputs of said charging output port overgauge charging current whether; Electric current increases unit 114 and is used for when electric current judging unit 113 judges that the power supply output port 212 of dual output power supply 21 has supply current, increasing the charging current of said charging output port 211.
In the embodiment of the invention, the initial charge current that said electric current is provided with unit 111 settings is 80-120mA, and said standard charging current is 0.7-1A, and it is 50mA that said electric current increases unit 114 each charging currents that increase.
In sum, the present invention is set to initial charge current through the charging current of the charging output port of dual output power supply; Obtain the supply current that is connected to portable terminal, judge the size of said supply current afterwards again, when said supply current is zero; The charging current of dual output power supply output is directly outputed to the ADC port of portable terminal; When said supply current greater than zero the time, increase the charging current of dual output power supply output, the charging current that is fit to of output is to the ADC port of portable terminal again; When the dual output power supply has supply current output; With the effect that is used for weakening supply current of charging current, just the charging current on the dual output power supply is exported to portable terminal, thereby when portable terminal is calibrated; Make from the dual output power supply and can ignore, promoted the ADC calibration accuracy of portable terminal greatly to the line loss the portable terminal.
It is understandable that, concerning those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. method that promotes the ADC calibration accuracy of portable terminal; Said portable terminal is connected with the power supply output port with the charging output port of dual output power supply; Said PC is connected with the dual output power supply with portable terminal, it is characterized in that described method may further comprise the steps:
The charging current of the charging output port of A, dual output power supply is set to initial charge current;
B, obtain the supply current that is connected to portable terminal;
The size of C, the said supply current of judgement;
D, when said supply current is zero; The charging current of dual output power supply output is directly outputed to the ADC port of portable terminal; When said supply current greater than zero the time, increase the charging current of dual output power supply output, export the ADC port of suitable charging current again to portable terminal.
2. the method for the ADC calibration accuracy of lifting portable terminal according to claim 1; It is characterized in that; When supply current greater than zero the time, after the charging current that increases the output of dual output power supply, described method also comprises: the size of judging the charging current after increasing; When charging current during greater than the standard charging current of portable terminal, the output charging current is to the ADC port of portable terminal; When charging current during, return step B less than the standard charging current of portable terminal.
3. the method for the ADC calibration accuracy of lifting portable terminal according to claim 1 is characterized in that, in step D, the each charging current that increases of dual output power supply is 50mA.
4. the method for the ADC calibration accuracy of lifting portable terminal according to claim 1 is characterized in that, said initial charge current is 80-120mA.
5. the method for the ADC calibration accuracy of lifting portable terminal according to claim 2 is characterized in that, said standard charging current is 0.7-1A.
6. system that is used to promote the ADC calibration accuracy of portable terminal; Said portable terminal is connected with the power supply output port with the charging output port of dual output power supply; Said PC is connected with the dual output power supply with portable terminal, it is characterized in that, is provided with in the said PC:
Electric current is provided with the unit, is used to be provided with the charging current of the charging output port of dual output power supply;
The electric current reading unit is used to read the charging output port of dual output power supply and the current value of power supply output port;
The electric current judging unit is used to judge whether the power supply output port of dual output power supply has supply current;
Electric current increases the unit, is used for when the power supply output port of electric current judgment unit judges dual output power supply has supply current, increasing the charging current of said charging output port.
7. the system that is used to promote the ADC calibration accuracy of portable terminal according to claim 5 is characterized in that, whether the charging current that said electric current judging unit also is used to judge said charging output port output is greater than the standard charging current of portable terminal.
8. the system that is used to promote the ADC calibration accuracy of portable terminal according to claim 5 is characterized in that, it is 50mA that said electric current increases the each charging current that increases in unit.
9. the system that is used to promote the ADC calibration accuracy of portable terminal according to claim 5 is characterized in that the initial charge current that said electric current is provided with the unit setting is 80-120mA.
10. the system that is used to promote the ADC calibration accuracy of portable terminal according to claim 7 is characterized in that said standard charging current is 0.7-1A.
CN2011104233844A 2011-12-16 2011-12-16 Method and system for improving ADC calibration precision of mobile terminal Pending CN102522990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104233844A CN102522990A (en) 2011-12-16 2011-12-16 Method and system for improving ADC calibration precision of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104233844A CN102522990A (en) 2011-12-16 2011-12-16 Method and system for improving ADC calibration precision of mobile terminal

Publications (1)

Publication Number Publication Date
CN102522990A true CN102522990A (en) 2012-06-27

Family

ID=46293804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104233844A Pending CN102522990A (en) 2011-12-16 2011-12-16 Method and system for improving ADC calibration precision of mobile terminal

Country Status (1)

Country Link
CN (1) CN102522990A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103675652A (en) * 2012-09-21 2014-03-26 复旦大学 Test for ADC chip based on non-homogeneous time clock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489406A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Automatic correction compensation system and method for mobile terminal
CN1858957A (en) * 2005-04-29 2006-11-08 乐金电子(昆山)电脑有限公司 Charging control device and its method for portable terminal battery unit
CN100405691C (en) * 2004-10-29 2008-07-23 英业达股份有限公司 Method for dynamically adjusting charging current
CN102222956A (en) * 2011-06-21 2011-10-19 无敌科技(西安)有限公司 Intelligent device and method for regulating charging current based on system status
CN102280670A (en) * 2011-07-06 2011-12-14 惠州Tcl移动通信有限公司 Charging method for realizing automatic power control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489406A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Automatic correction compensation system and method for mobile terminal
CN100405691C (en) * 2004-10-29 2008-07-23 英业达股份有限公司 Method for dynamically adjusting charging current
CN1858957A (en) * 2005-04-29 2006-11-08 乐金电子(昆山)电脑有限公司 Charging control device and its method for portable terminal battery unit
CN102222956A (en) * 2011-06-21 2011-10-19 无敌科技(西安)有限公司 Intelligent device and method for regulating charging current based on system status
CN102280670A (en) * 2011-07-06 2011-12-14 惠州Tcl移动通信有限公司 Charging method for realizing automatic power control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103675652A (en) * 2012-09-21 2014-03-26 复旦大学 Test for ADC chip based on non-homogeneous time clock
CN103675652B (en) * 2012-09-21 2016-04-20 复旦大学 A kind of ADC chip testing based on non-homogeneous clock and collecting method

Similar Documents

Publication Publication Date Title
CN102957193B (en) A kind of charging management method, device and system
CN103269106B (en) Charging method for setting charging current automatically and mobile terminal
CN101562647A (en) Method for prompting mobile phone talk time under state of lacking electric quantity of mobile phone battery
CN104065124A (en) Mobile terminal with false battery function and false battery enabling and disabling method thereof
CN104991191B (en) The system and method for dynamic detection battery capacity of mobile terminal
CN103197170A (en) Test method, test device, control device and system of voltage stabilizer
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN112165143A (en) Wireless earphone charging method, device, equipment and storage medium
CN104300182A (en) Determination method and determination device of duration required by charging completion
CN102098368A (en) Mobile phone
CN101662519B (en) System and method for controlling current test of mobile telephone
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN101639521A (en) Method and system for testing charging performance of battery
CN204215116U (en) Liquid crystal display module proving installation
EP2511723A1 (en) Voltage indicating circuit of cellular phone battery
CN102522990A (en) Method and system for improving ADC calibration precision of mobile terminal
CN105896645A (en) Charging function detection method, apparatus, and system for mobile terminal
CN102507992B (en) Test line for testing charging current and downloaded data
CN209994141U (en) Chargeable electronic equipment and charging interface detection circuit structure
CN104569901B (en) A kind of detecting system of intelligent electric energy meter
CN202083745U (en) Function test device for frequency converter
CN204945360U (en) The accuracy detecting device of electric energy metered system
CN204405814U (en) A kind of electronic load tester with power meter function
CN102944846B (en) A kind of method and system detecting battery electric quantity in mobile terminal constant voltage charge process
CN204188699U (en) Transformer iron core grounding current on-line monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120627