CN104965139B - A kind of method and terminal of Intelligent Measurement adapter performance - Google Patents
A kind of method and terminal of Intelligent Measurement adapter performance Download PDFInfo
- Publication number
- CN104965139B CN104965139B CN201510367270.0A CN201510367270A CN104965139B CN 104965139 B CN104965139 B CN 104965139B CN 201510367270 A CN201510367270 A CN 201510367270A CN 104965139 B CN104965139 B CN 104965139B
- Authority
- CN
- China
- Prior art keywords
- adapter
- terminal
- performance
- voltage
- load resistance
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000005259 measurement Methods 0.000 title claims abstract description 14
- 238000001514 detection method Methods 0.000 claims abstract description 84
- 238000005070 sampling Methods 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 31
- 230000006870 function Effects 0.000 claims description 28
- 230000005611 electricity Effects 0.000 claims description 10
- 230000006978 adaptation Effects 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 claims 1
- 238000004904 shortening Methods 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 206010019233 Headaches Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 231100000869 headache Toxicity 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- NACPYYYBTUKNNL-YSKMNHBWSA-N interiorin Chemical group C=1([C@@]2(C(OC)=C(C(C=1)=O)OC)CO1)C[C@@H](C)[C@@H](C)[C@@H](OC(=O)C(\C)=C/C)C3=C2C1=C(OCO1)C1=C3 NACPYYYBTUKNNL-YSKMNHBWSA-N 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a kind of method and terminal of Intelligent Measurement adapter performance, methods described includes:Under adapter performance detection pattern, sampling obtains the floating voltage U1 of the adapter and real work voltage U2 at the load resistance two ends after the power output end offered load resistance of the adapter respectively, according to the floating voltage U1 and the real work voltage U2, the performance of the adapter is determined.The real work voltage U2 at the load resistance two ends after floating voltage U1 and offered load resistance that the present invention passes through collection adapter respectively, it is that can determine that whether the performance of the adapter is qualified according to the floating voltage U1 and the real work voltage U2, it is very convenient, avoid making the charging circuit and battery of terminal from connecting the adapter of upper poor performance so that the problems such as shortening battery life, greatly improves the Product Experience of user.
Description
Technical field
The present invention relates to circuit parameter detection technique field, and in particular to a kind of method of Intelligent Measurement adapter performance,
And it is related to a kind of terminal of Intelligent Measurement adapter performance.
Background technology
The popularization of intelligent machine and exploitation open android cause mobile phone fast development, and not only mountain vallage mobile phone layer goes out not
Thoroughly, the accessory of mountain vallage is also thick on the ground, and the accessory for generally wanting to try to win sb.'s favor a little is often all Hua Liaoqian and does not buy qualified products, order
People has a bad headache.So the adapter of the mountain vallage of in the market is exactly, and goes back just to be broken for several days useless by having bought adapter, Huo Zhexing
Requirement can not be reached at all, the interests of many consumers have been invaded.The factor of influence adapter performance has a lot, such as:Technique
Level, the material used etc., the size of its direct or indirect influence adapter internal resistance, i.e., circuit when adapter works are damaged
The equivalent loss resistance of consumption, in general, internal resistance is smaller, and adapter performance is better.But adapter internal resistance can not be by seeing
Examine the outward appearance of adapter or by judging that the weight of adapter is learnt, lack a kind of means of effective test adaptor performance.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal of Intelligent Measurement adapter performance, is asked to solve above technology
Topic.
For up to this purpose, the present invention uses following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of method of Intelligent Measurement adapter performance, including:
Terminal connects power supply by adapter;
Under adapter performance detection pattern, sampling respectively obtains the floating voltage U1 of the adapter and in the adaptation
The real work voltage U2 at the load resistance two ends after the power output end offered load resistance of device;
According to the floating voltage U1 and the real work voltage U2, the performance of the adapter is determined.
It is preferred that, the step:Under adapter performance detection pattern, sampling respectively obtains the floating voltage of the adapter
U1 and the real work voltage at the load resistance two ends after the power output end offered load resistance of the adapter
U2, is specifically included:
Terminal enters after adapter performance detection pattern, and sampling obtains the floating voltage U1 of the adapter;
The correspondence pass between the nominal output current pre-established and the load resistance of required loading is read from memory
System;
According to the corresponding relation and the nominal output current of the adapter pre-entered, it is determined that the load of required loading
Resistance;
Control the power output end of the adapter to connect the load resistance determined, the load resistance is powered;
Sampling obtains the real work voltage U2 at the load resistance two ends.
It is preferred that, the step:According to the floating voltage U1 and the real work voltage U2, the adapter is determined
Performance, specifically include:
Judge whether U1-U2 value is less than or equal to default voltage threshold;
If so, judging that the performance of the adapter is qualified, display adapter performance is qualified on the display screen of terminal leads to
Know information;
Otherwise, it is determined that the performance of the adapter is unqualified, display adapter performance is unqualified on the display screen of terminal
Announcement information.
It is preferred that, the step:According to the floating voltage U1 and the real work voltage U2, the adapter is determined
Performance, specifically include:
According to U1, U2 and the load resistance loaded resistance value, the resistance for the internal resistance for obtaining the adapter is calculated
Value;
The resistance value of the internal resistance of adapter described in display screen display in terminal.
It is preferred that, the step:Terminal is connected after power supply by adapter, in addition to:
Whether the adapter performance detection function of detection terminal opens;
If so, control terminal enters adapter performance detection pattern;
Otherwise, control terminal enters battery charging mode according to user.
It is preferred that, the step:Control terminal enters after battery charging mode according to user, in addition to:
The battery of terminal is charged.
It is preferred that, the step:Terminal is connected before power supply by adapter, in addition to:
Pre-set a voltage threshold;
Pre-establish the corresponding relation between the load resistance of nominal output current and required loading;
The corresponding relation and the voltage threshold are stored in the memory of terminal.
It is preferred that, the step:Terminal is connected before power supply by adapter, in addition to:
The nominal output current of the adapter of detection needed for pre-entering.
Second aspect, the embodiment of the present invention also provides a kind of terminal of Intelligent Measurement adapter performance, including:
Adapter performance parameter detects circuit, for connecting power supply by adapter in terminal, and works in adaptation
When under device performance detection pattern, sampling respectively obtains the floating voltage U1 of the adapter and defeated in the power supply of the adapter
Go out to hold the real work voltage U2 at the load resistance two ends after offered load resistance, and the obtained U1 and U2 that will sample is sent
To the numerical value processing module of terminal;
Numerical value processing module, for according to the floating voltage U1 and the real work voltage U2, determining the adaptation
The performance of device.
It is preferred that, the terminal also includes mode of operation switching switch, memory and current parameters input module;
The mode of operation switching switch is used for after terminal enters adapter performance detection pattern, joins adapter performance
The power input of number detection circuit connects the power output end of adapter;
The current parameters input module is used for the nominal output current of the adapter of detection needed for being inputted for user;
The memory is used to store pair between the nominal output current pre-established and the load resistance of required loading
Should be related to and adapter that user is inputted by the current parameters input module nominal output current;
The adapter performance parameter detection circuit includes load switch, load resistance and voltage sample module;
The voltage sample module is used for after terminal enters adapter performance detection pattern, and sampling obtains the sky of adapter
Voltage U1 is carried, and is sent to the numerical value processing module;
The numerical value processing module is additionally operable to after the floating voltage U1 that the voltage sample module is sent is received, from described
The nominal output current of the corresponding relation and the adapter of user's input is read in memory;It is additionally operable to be closed according to the correspondence
System and the nominal output current, it is determined that the load resistance of required loading;It is additionally operable to it is determined that the load resistance of required loading
Afterwards, the switch controlling signal for connecting the load resistance determined is sent to the load switch;
The load switch is used for after the switch controlling signal is received, and the power output end of control adapter connects true
Fixed load resistance, makes the load resistance be powered;
The voltage sample module is additionally operable to after the load resistance is powered, two after the load resistance energization of sampling
The real work voltage U2 at end, and send to the numerical value processing module.
It is preferred that, the terminal also includes display screen;
It is described according to the floating voltage U1 and real work voltage U2, determine the performance of adapter, specifically include:
The numerical value processing module judges whether U1-U2 value is less than or equal to default voltage threshold;If so, judging adaptation
The performance of device is qualified, and the qualified control signal of display adapter performance is sent to the display screen of terminal;Otherwise, it is determined that adapter
Performance is unqualified, and the underproof control signal of display adapter performance is sent to the display screen of terminal;
If the display screen is used to receive the qualified control signal of display adapter performance, in the display screen display of terminal
The qualified announcement information of adapter performance;If being additionally operable to receive the underproof control signal of display adapter performance, in terminal
The underproof announcement information of display adapter performance on display screen.
It is preferred that, it is described according to the floating voltage U1 and the real work voltage U2, determine the property of the adapter
Can, specifically include:
The numerical value processing module calculates according to U1, U2 and the load resistance of loading resistance value and obtains the adaptation
The resistance value of the internal resistance of device, and send to the display screen;
If the display screen is additionally operable to receive the resistance value for the internal resistance for calculating the obtained adapter, the adaptation is shown
The resistance value of the internal resistance of device.
It is preferred that, the terminal also includes performance detection functional switch, mode of operation control module, charging circuit and electricity
Pond;
The performance detection functional switch is used for the adapter performance detection function of being turned on and off terminal;Wherein, it is described
The on off state of performance detection functional switch includes the on off state for opening the adapter performance detection function of terminal and closed eventually
The on off state of the adapter performance detection function at end;
The mode of operation control module is additionally operable to connect after power supply by adapter, obtains the performance inspection
The on off state of brake switch, judges whether the adapter performance detection function of terminal opens;If so, switching to mode of operation
Switch sends the switch control that the power input for making adapter performance parameter detect circuit connects the power output end of adapter
Signal, control terminal enters adapter performance detection pattern;Otherwise, being sent to mode of operation switching switch makes the electricity of charging circuit
Source input connects the switch controlling signal of the power output end of adapter, and control terminal enters battery charging mode according to user;
The charging circuit is used for after terminal enters battery charging mode according to user, and the battery is charged;
Wherein, whether the adapter performance detection function of judging terminal opens, and specifically includes:
If the on off state obtained judges terminal to open the on off state of the adapter performance detection function of terminal
Adapter performance detection function is opened;
If the on off state obtained is the on off state for the adapter performance detection function of closing a terminal, terminal is judged
Adapter performance detection function is not opened.
It is preferred that, the terminal also includes:
Voltage threshold setup module, for pre-setting a voltage threshold;
Correspondence setting module, for pre-establishing pair between nominal output current and the load resistance of required loading
It should be related to.
Circuit parameter input module, the nominal output current of the adapter of detection needed for for being inputted for user.
It is preferred that, the voltage threshold is 0.2 volt.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:The present invention sets adapter performance in terminal
Electrical parameter detection circuit, after user's selection enters adapter performance detection pattern, circuit point is detected by adapter performance parameter
The real work voltage U2 at the load resistance two ends after the floating voltage U1 and offered load resistance of other collection adapter, and root
According to the floating voltage U1 and the real work voltage U2, the performance of the adapter is determined, and judges the performance of adapter
It is whether qualified, it is very convenient, it is to avoid the charging circuit and battery of terminal is connected the adapter of upper poor performance so that shortening battery
The problems such as life-span, greatly improve the Product Experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to present invention implementation
The content and these accompanying drawings of example obtain other accompanying drawings.
Fig. 1 is a kind of functional-block diagram of the terminal of Intelligent Measurement adapter performance provided in an embodiment of the present invention.
Fig. 2 is a kind of method flow diagram of Intelligent Measurement adapter performance provided in an embodiment of the present invention.
In figure:10th, terminal;11st, mode of operation control module;12nd, mode of operation switching switch;13rd, charging circuit;14、
Battery;15th, numerical value processing module;16th, memory;17th, circuit parameter input module;18th, performance detection functional switch;19th, show
Display screen;20th, adapter performance parameter detection circuit;21st, load switch;22nd, voltage sample module;23rd, load resistance;30th, fit
Orchestration;40th, power supply.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below
The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Fig. 1 is refer to, Fig. 1 is a kind of principle of the terminal 10 of Intelligent Measurement adapter performance provided in an embodiment of the present invention
Block diagram.Terminal 10 provided in an embodiment of the present invention includes mobile phone, E-book reader, MP3 (Moving Picture
Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving
Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) player, pen
Remember this computer, tablet personal computer etc..
Terminal 10 is specifically included:Mode of operation control module 11, mode of operation switching switch 12, charging circuit 13, battery
14th, numerical value processing module 15, memory 16, circuit parameter input module 17, performance detection functional switch 18, display screen 19 and
Adapter performance parameter detects circuit 20.
Wherein, adapter performance parameter detection circuit 20 has including load switch 21, voltage sample module 22 and load
Resistance 23.
Specifically, the 3rd end of mode of operation switching switch 12 connects the power output end and Working mould of adapter respectively
The level signal sampling end of formula control module 11, the 3rd end of mode of operation switching switch 12 is the charging inlet of terminal 10.Work
The first end of operation mode switching switch 12 connects the power input of charging circuit 13, the second end of mode of operation switching switch 12
Connect the power input that adapter performance parameter detects circuit 20, the 4th end connection Working mould of mode of operation switching switch 12
The control signal output of formula control module 11.
More specifically, mode of operation switching switch 12 can select relay or contactor, and for ease of understanding, mode of operation is cut
The 3rd end for changing switch 12 is movable contact, and mode of operation switching 12 first ends of switch are normally-closed contact, mode of operation switching switch
12 second ends are normally opened contact.
After the charging inlet of terminal 10 connects power supply 40 by adapter 30, the electricity of mode of operation control module 11
Ordinary mail sampling end samples high level signal, starts working, and whether real-time test adaptor performance detection function opens, i.e. root
Judge whether adapter performance detection function opens according to the on off state of performance detection functional switch 18;If so, being handled to numerical value
Module 15 sends the control signal started working, and provides high level for the 4th end that mode of operation switches switch 12, controls work
The movable contact of operation mode switching switch 12 is connected with the normally opened contact that mode of operation switches switch 12, and control terminal 10 works in suitable
Orchestration performance parameter detection pattern;Otherwise, the 4th end for switching switch 12 for mode of operation provides low level, controls mode of operation
The movable contact of switching switch 12 is connected with the normally-closed contact that mode of operation switches switch 12, and control terminal 10 works in battery charging
Pattern.Wherein, the on off state of performance detection functional switch 18 includes the switch for opening the adapter performance detection function of terminal
The on off state of state and the adapter performance detection function of closing a terminal.
Wherein, the implementation of performance detection functional switch 18 can have a variety of, such as setting one in terminal 10 opens
Key, or in the human-computer interaction interface built-in switch function button of terminal 10, for supplying user's selectively unlocking or closing a terminal
10 adapter performance parameter detection function.
Specifically, adapter performance parameter detection circuit 20 may include in one or more load resistances 23, the present embodiment,
Load resistance 23 includes the first load resistance R1, the second load resistance R2 and the 3rd load resistance R3.The of load switch 21
One end connects the first load resistance R1 first end, and the second end of load switch 21 connects the second load resistance R2 first end,
The load resistance R3 of three-terminal link the 3rd of load switch 21 first end, the first load resistance R1, the second load resistance R2 with
And the 3rd load resistance R3 the second end ground connection.The switch control letter of the 4th end connection numerical value processing module 15 of load switch 21
Number output end, the positive input terminal of the 5th end connection voltage sample module 22 of load switch 21, voltage sample module 22 it is negative defeated
Enter end ground connection.
In this implementation, load switch 21 can be realized using variable connector or MUX.For ease of understanding, load switch
21 the 5th end is movable contact, and the first end of load switch 21 or the second end or the 3rd end are stationary contact.The of load switch 21
Four ends are switch control terminal, for the switch controlling signal sent according to numerical value processing module 15, control the dynamic of load switch 21
Contact is connected or turned on corresponding stationary contact.
The positive input terminal of voltage sample module 22 connects the 5th end of load switch 21, the negative input of voltage sample module 22
End ground connection, wherein, the 5th end of load switch 21 is the power input that adapter performance parameter detects circuit 20.For ease of reason
Solution, voltage sample module 22 is voltmeter or the related device for measuring voltage.
When terminal 10 works in adapter performance parameter detection pattern, the power supply of adapter performance parameter detection circuit 20 is defeated
Enter end to connect with the power output end of adapter 30, now, the movable contact of load switch 21 is not connected with any one stationary contact,
Load switch 21 is off, and the voltage U1 that voltage sample module 22 is now sampled is the zero load electricity of adapter 30
Pressure.
Numerical value processing module 15 is received after the control signal of start-up operation, is started working, is obtained from voltage sample module 22
The floating voltage U1 for the adapter that sampling is obtained;The nominal output current prestored and required loading are read from memory 16
Load resistance 23 between corresponding relation;And according to the nominal output of the corresponding relation and the adapter pre-entered 30
Electric current, it is determined that the load resistance 23 of required loading;The switch control for connecting the load resistance 23 determined is sent to load switch 21
Signal.
Load switch 21 controls the dynamic of load switch 21 after the switch controlling signal of the transmission of numerical value processing module 15 is received
The stationary contact that the first end for the load resistance 23 that contacting is determined is connected, makes the load resistance 23 that adapter is the determination
Power supply.After load resistance 23 is powered, voltage sample module 22, which is sampled, obtains the real work electricity at two ends after load resistance 23 is powered
Press U2.
Numerical value processing module 15 obtains the reality at two ends after the energization of load resistance 23 that sampling is obtained from voltage sample module 22
Border operating voltage U2;Judge whether U1-U2 value is less than or equal to default voltage threshold;Shown if so, being sent to display screen 19
The qualified control signal of adapter performance;Otherwise, the underproof control signal of display adapter performance is sent to display screen 19.
The adapter of in the market is mainly that the adapter of 1A (peace), nominal output current are 1.5A including nominal output current
Adapter, nominal output current be 2A adapter, be respectively applied to different charging scenarios, such as, mobile phone is typically used
Nominal output current is 1A adapter, and tablet personal computer typically uses nominal output current for 2A adapter etc..Different
Charging scenarios, resistance value when terminal 10 charges is variant, and it is the negative of 1A adapter to preset and be applicable nominal output current
It is 5 ohm to carry resistance 23, and it is 1 to be applicable nominal output current.The load resistance 23 of 5A adapter is 3.33 ohm, is applicable nominal
The load resistance 23 for the adapter that output current is 2A is 2.5 ohm.
In the present embodiment, the first load resistance R1 is 5 ohm of resistance, and the second load resistance R2 is 3.33 ohm of electricity
Resistance, the 3rd load resistance R3 is 2.5 ohm of resistance, and voltage threshold is 0.2 volt.
Specifically, if the nominal output current of adapter is 1A, terminal 10 works in adapter performance parameter detection pattern
When, load switch 21 then controls the movable contact of load switch 21 to connect the stationary contact that the first load resistance R1 first end is connected
Point.Numerical value processing module 15 obtains sampling from voltage sample module 22 and obtains floating voltage U1 and the first load resistance R1 respectively
The real work voltage U2 at two ends after energization;Judge whether U1-U2 value is less than or equal to 0.2 volt;If so, being sent to display screen 19
The qualified control signal of display adapter performance, otherwise, sends the underproof control of display adapter performance to display screen 19 and believes
Number.
If display screen 19 is used to receive the underproof control signal of display adapter performance, in the display screen display of terminal
The underproof announcement information of adapter performance;If the qualified control signal of display adapter performance is received, in the display screen of terminal
The qualified announcement information of upper display adapter performance.
In addition, numerical value processing module 15 is additionally operable to the resistance value according to U1, U2 and the load resistance of loading 23, calculate
To the line loss power of adapter 30 and internal resistance, and send to display screen 19;If display screen 19 is additionally operable to receive the circuit
Loss power, the line loss power of display adapter 30 and internal resistance.
Specifically, when terminal 10 works in battery charging mode according to user, the power output end of adapter 30 and charging circuit 13
Power input is connected, and adapter 30 charges to battery 14.
It should be noted that in the present embodiment, because adapter 30 for terminal 30 when charging, there is certain internal resistance
RIt is interior, internal resistance RIt is interiorThat is the line resistance of adapter 30.Terminal 10 by adapter 30 when being charged, the charging circuit of terminal 10
13 and battery 14 equivalent to electrical equipment, it is equal to the load of certain resistance value, defines the negative of certain resistance value
Carry as charging resistor, and the resistance value of charging resistor measured can be drawn.Assuming that during terminal charge, the charging resistor
Resistance value is RLoad, pass through relational expressionIt can learn, RLoadOne timing, U1-U2 value and RIt is interiorSize
It is directly proportional, therefore, U1-U2 value is smaller, RIt is interiorSmaller, the performance of adapter 30 is better.Therefore by detecting that U1-U2 value can determine whether
The performance of adapter.In addition, can also calculate the internal resistance R of adapter 30It is interiorAnd the line loss power of adapter 30.This hair
It is bright only to need according to floating voltage U1 and real work voltage U2, it just can determine that the performance of adapter 30, and the floating voltage U1 that samples
Means with real work voltage U2 are also very convenient, wherein, the CPU of terminal 10 can be used in numerical value processing module 15, therefore real
Applying this programme only needs to increase several switch elements and resistance, the electronic circuit without setting complexity in terminal 10, cost phase
To cheap, while having no much influences to the PCB of terminal 10 layout;User can only need to the adapter to be used at any time
Performance detection, greatly improves the Product Experience of user.
Fig. 2 is refer to, Fig. 2 is a kind of method flow diagram of Intelligent Measurement adapter performance provided in an embodiment of the present invention.
Methods described includes:
S100, pre-establish corresponding relation between the load resistance of nominal output current and required loading.
This step is initialization step, and in different application scenarios, the adapter of different nominal output currents is measured respectively
The charging voltage and operating current of terminal 10, calculate the different adaptations of the correspondence of different terminals 10 during 30 correspondences different terminals 10
The charging resistor of device 30, the corresponding relation set up between a nominal output current and the load resistance 23 of required loading.By institute
State corresponding relation and adapter nominal output current calculates the resistance value of load resistance 23, and then learn required loading
Corresponding load resistance 23.
S101, the nominal output current for pre-entering the required adapter 30 detected.
When whether user needs the performance of test adaptor 30 to meet the requirements, it can be inputted by the circuit parameter of terminal 10
The nominal output current of the adapter 30 of detection needed for module 17 is inputted.
S102, terminal 10 connect power supply 40 by adapter 30.
After nominal output current input is finished, you can the charging inlet of terminal 10 is connected suitable by power line or data wire
The power output end of orchestration 30, meanwhile, the power input of adapter 30 connects power supply 40, wherein, power supply 40 is carried
For 220 volts of AC power.
Whether S110, the adapter performance detection function of detection terminal 10 open;If so, into step S140;Otherwise, enter
Enter step S120.
After the charging inlet of terminal 10 connects power supply 40 by adapter 30, the electricity of mode of operation control module 11
Ordinary mail sampling end samples high level signal, starts working, and whether real-time test adaptor performance detection function opens, if
Be, to numerical value processing module 15 send start working control signal, and control mode of operation switching switch 12 movable contact and
The normally opened contact of mode of operation switching switch 12 is connected, and control terminal 10 works in adapter performance parameter detection pattern;Otherwise,
The movable contact of control mode of operation switching switch 12 is connected with the normally-closed contact that mode of operation switches switch 12, the work of control terminal 10
Make in battery charging mode according to user.
S120, control terminal 10 enter battery charging mode according to user.
Specifically, when terminal 10 works in battery charging mode according to user, controlling the power output end and charging circuit of adapter 30
13 power input is connected.
S130, the battery to terminal 10 charge.
After the power output end of adapter 30 is connected with the power input of charging circuit 13, adapter 30 is charging circuit
13 power supplies, and then battery 14 is charged.
S140, control terminal enter adapter performance detection pattern;
When terminal 10 works in adapter performance parameter detection pattern, the power supply of adapter performance parameter detection circuit 20 is defeated
Enter end to connect with the power output end of adapter 30.
S150, sampling obtain the floating voltage U1 of adapter 30.
After the power input of adapter performance parameter detection circuit 20 is connected with the power output end of adapter 30, this
When, the movable contact of load switch 21 is not connected with any one stationary contact, and load switch 21 is off, voltage sample mould
The voltage U1 that block 22 is now sampled is the floating voltage of adapter 30.
S160, read from memory 16 between the nominal output current prestored and the load resistance 23 of required loading
Corresponding relation.
Numerical value processing module 15 is received after the control signal of start-up operation, is started working, and from voltage sample module 22
After the floating voltage U1 for obtaining the adapter 30 that sampling is obtained, the nominal output current prestored is read from memory 16
Corresponding relation between the load resistance 23 of required loading.
S170, according to the corresponding relation and the nominal output current of the adapter pre-entered, it is determined that required loading
Load resistance 23 resistance value.
Numerical value processing module 15 is according to the corresponding relation and the nominal output current of the adapter pre-entered 30, really
The load resistance 23 of loading needed for fixed;The switch controlling signal for connecting the load resistance 23 determined is sent to load switch 21.
S180, the corresponding load resistance 23 of resistance value for determining the power output end connection of adapter, are the load
Resistance is powered.
Load switch 21 controls the dynamic of load switch 21 after the switch controlling signal of the transmission of numerical value processing module 15 is received
The stationary contact that the first end for the load resistance 23 that contacting is determined is connected, makes the load resistance 23 that adapter is the determination
Power supply.
S190, sampling obtain the real work voltage U2 at two ends after load resistance is powered.
After load resistance 23 is powered, voltage sample module 22, which is sampled, obtains the real work at two ends after load resistance 23 is powered
Voltage U2.
S200, judge U1-U2 value whether be less than or equal to default voltage threshold;If so, into step S210;Otherwise,
Into step S220.
Numerical value processing module 15 obtains the reality at two ends after the energization of load resistance 23 that sampling is obtained from voltage sample module 22
Border operating voltage U2;Judge whether U1-U2 value is less than or equal to default voltage threshold;Shown if so, being sent to display screen 19
The qualified control signal of adapter performance, into step S210;Otherwise, it is unqualified to the transmission of display screen 19 display adapter performance
Control signal, into step S220.
S210, the qualified announcement information of display adapter performance on the display screen 19 of terminal 10.
If display screen 19 receives the qualified control signal of display adapter performance, the display adapter on display screen 19 immediately
The qualified announcement information of performance.
S220, the underproof announcement information of display adapter performance on the display screen 19 of terminal 10.
If display screen 19 receives the qualified control signal of display adapter performance, the display adapter in display screen 19 immediately
The underproof announcement information of performance.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, the program can be stored in a computer-readable storage medium
In matter, storage medium can include memory 16, disk or CD etc..
It is understood that the sequencing between above method step is not to immobilize, basic inventive concept
On step between sequencing exchange, all should be within protection scope of the present invention.
In the present embodiment, after step S190, in addition to step S230.
S230, the resistance value according to U1, U2 and the load resistance of loading 23, calculate the electricity for the internal resistance for obtaining adapter 30
Line loss power when resistance and work, and send to display screen 19.
Numerical value processing module 15 is additionally operable to the resistance value according to U1, U2 and the load resistance of loading 23, and calculating is fitted
Line loss power when the resistance value of the internal resistance of orchestration 30 and work, it is specific as follows:
When terminal 10 is charged by adapter 30, if the resistance value of load resistance 23 is RLoad 1, pass through relational expressionIt can learn, work as RLoad 1, the timing of U1, U2 mono-, the internal resistance R of adapter 30It is interiorIt can be fitted by calculating
Line loss power during the work of orchestration 30 isRIt is interiorIn the case of known, WLoad 1Also may be used
Learnt by calculating.
S240, the resistance value of the internal resistance of display adapter 30 and circuit during work are damaged on the display screen 19 of terminal 10
Wasted work rate.
If display screen receives line when resistance value and the work of the internal resistance of the adapter 30 of the transmission of numerical value processing module 15
Road loss power, the resistance value of the internal resistance of display adapter 30 and line loss power during work on display screen 19.
Above content is only presently preferred embodiments of the present invention, for one of ordinary skill in the art, according to the present invention's
Thought, will change in specific embodiments and applications, and this specification content should not be construed as to the present invention
Limitation.
Claims (13)
1. a kind of method of Intelligent Measurement adapter performance, it is characterised in that including:
Terminal connects power supply by adapter;
Terminal enters after adapter performance detection pattern, the power input and adapter of adapter performance parameter detection circuit
Power output end is connected, and control load switch disconnects, and floating voltage U1 is obtained by voltage sample module samples, from memory
The corresponding relation between the nominal output current pre-established and the load resistance of required loading is read, according to the corresponding relation
And the nominal output current of the adapter pre-entered, it is determined that the load resistance of required loading, controls the electricity of the adapter
Source output terminal connects the load resistance determined, the load resistance is powered, and sampling obtains the reality at the load resistance two ends
Operating voltage U2;
According to the floating voltage U1 and the real work voltage U2, the performance of the adapter is determined.
2. according to the method described in claim 1, it is characterised in that the step:According to the floating voltage U1 and the reality
Border operating voltage U2, determines the performance of the adapter, specifically includes:
Judge whether U1-U2 value is less than or equal to default voltage threshold;
If so, judging that the performance of the adapter is qualified, the notice letter that display adapter performance is qualified on the display screen of terminal
Breath;
Otherwise, it is determined that the performance of the adapter is unqualified, display adapter performance is underproof logical on the display screen of terminal
Know information.
3. according to the method described in claim 1, it is characterised in that the step:According to the floating voltage U1 and the reality
Border operating voltage U2, determines the performance of the adapter, specifically includes:
According to U1, U2 and the load resistance loaded resistance value, the resistance value for the internal resistance for obtaining the adapter is calculated;
The resistance value of the internal resistance of adapter described in display screen display in terminal.
4. according to the method described in claim 1, it is characterised in that the step:Terminal connects power supply by adapter
Afterwards, in addition to:
Whether the adapter performance detection function of detection terminal opens;
If so, control terminal enters adapter performance detection pattern;
Otherwise, control terminal enters battery charging mode according to user.
5. method according to claim 4, it is characterised in that the step:Control terminal enter battery charging mode according to user it
Afterwards, in addition to:
The battery of terminal is charged.
6. method as claimed in any of claims 1 to 5, it is characterised in that the step:Terminal passes through adapter
Connect before power supply, in addition to:
Pre-set a voltage threshold;
Pre-establish the corresponding relation between the load resistance of nominal output current and required loading;
The corresponding relation and the voltage threshold are stored in the memory of terminal.
7. method as claimed in any of claims 1 to 5, it is characterised in that the step:Terminal passes through adapter
Connect before power supply, in addition to:
The nominal output current of the adapter of detection needed for pre-entering.
8. a kind of terminal of Intelligent Measurement adapter performance, it is characterised in that including:
Adapter performance parameter detects circuit, for connecting power supply by adapter in terminal, and works in adapter
When under energy detection pattern, sampling respectively obtains the floating voltage U1 and the power output end in the adapter of the adapter
The real work voltage U2 at the load resistance two ends after offered load resistance, and the obtained U1 and U2 that will sample sent to end
The numerical value processing module at end;
Numerical value processing module, for according to the floating voltage U1 and the real work voltage U2, determining the adapter
Performance;
The terminal also includes mode of operation switching switch, memory and current parameters input module;
The mode of operation switching switch is used for after terminal enters adapter performance detection pattern, examines adapter performance parameter
The power input of slowdown monitoring circuit connects the power output end of adapter;
The current parameters input module is used for the nominal output current of the adapter of detection needed for being inputted for user;
The correspondence pass that the memory is used to store between the nominal output current pre-established and the load resistance of required loading
The nominal output current for the adapter that system and user are inputted by the current parameters input module;
The adapter performance parameter detection circuit includes load switch, load resistance and voltage sample module;
The voltage sample module is used for after terminal enters adapter performance detection pattern, and sampling obtains the zero load electricity of adapter
U1 is pressed, and is sent to the numerical value processing module;
The numerical value processing module is additionally operable to after the floating voltage U1 that the voltage sample module is sent is received, from the storage
The nominal output current of the corresponding relation and the adapter of user's input is read in device;Be additionally operable to according to the corresponding relation with
And the nominal output current, it is determined that the load resistance of required loading;It is additionally operable to it is determined that after the load resistance of required loading, to
The load switch sends the switch controlling signal for connecting the load resistance determined;
The load switch is used for after the switch controlling signal is received, and the power output end of control adapter connects what is determined
Load resistance, makes the load resistance be powered;
The voltage sample module is additionally operable to after the load resistance is powered, two ends after the load resistance of sampling is powered
Real work voltage U2, and send to the numerical value processing module.
9. terminal according to claim 8, it is characterised in that also including display screen;
It is described according to the floating voltage U1 and real work voltage U2, determine the performance of adapter, specifically include:
The numerical value processing module judges whether U1-U2 value is less than or equal to default voltage threshold;If so, judging adapter
Performance is qualified, and the qualified control signal of display adapter performance is sent to the display screen of terminal;Otherwise, it is determined that the performance of adapter
It is unqualified, send the underproof control signal of display adapter performance to the display screen of terminal;
If the display screen is used to receive the qualified control signal of display adapter performance, it is adapted in the display screen display of terminal
The qualified announcement information of device performance;If being additionally operable to receive the underproof control signal of display adapter performance, in the display of terminal
The underproof announcement information of screen display adapter performance.
10. terminal according to claim 8, it is characterised in that described according to the floating voltage U1 and the actual work
Make voltage U2, determine the performance of the adapter, specifically include:
The numerical value processing module calculates according to U1, U2 and the load resistance of loading resistance value and obtains the adapter
The resistance value of internal resistance, and send to the display screen;
If the display screen is additionally operable to receive the resistance value for the internal resistance for calculating the obtained adapter, the adapter is shown
The resistance value of internal resistance.
11. terminal according to claim 8, it is characterised in that also controlled including performance detection functional switch, mode of operation
Module, charging circuit and battery;
The performance detection functional switch is used for the adapter performance detection function of being turned on and off terminal;Wherein, the performance
The on off state of detection functional switch includes what is opened the on off state of the adapter performance detection function of terminal and close a terminal
The on off state of adapter performance detection function;
The mode of operation control module is additionally operable to connect after power supply by adapter, obtains the performance detection work(
The on off state that can be switched, judges whether the adapter performance detection function of terminal opens;Switched if so, switching to mode of operation
The power input that sending makes adapter performance parameter detect circuit connects the switch controlling signal of the power output end of adapter,
Control terminal enters adapter performance detection pattern;Otherwise, being sent to mode of operation switching switch makes the power supply of charging circuit defeated
Enter the switch controlling signal of the power output end of the logical adapter of termination, control terminal enters battery charging mode according to user;
The charging circuit is used for after terminal enters battery charging mode according to user, and the battery is charged;
Wherein, whether the adapter performance detection function of judging terminal opens, and specifically includes:
If the on off state obtained judges the adaptation of terminal to open the on off state of the adapter performance detection function of terminal
Device performance detection function is opened;
If the on off state obtained is the on off state for the adapter performance detection function of closing a terminal, the adaptation of terminal is judged
Device performance detection function is not opened.
12. the terminal according to any one in claim 8 to 11, it is characterised in that also include:
Voltage threshold setup module, for pre-setting a voltage threshold;
Correspondence setting module, the correspondence for pre-establishing between nominal output current and the load resistance of required loading is closed
System.
Circuit parameter input module, the nominal output current of the adapter of detection needed for for being inputted for user.
13. terminal according to claim 12, it is characterised in that the voltage threshold is 0.2 volt.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510367270.0A CN104965139B (en) | 2015-06-26 | 2015-06-26 | A kind of method and terminal of Intelligent Measurement adapter performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510367270.0A CN104965139B (en) | 2015-06-26 | 2015-06-26 | A kind of method and terminal of Intelligent Measurement adapter performance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104965139A CN104965139A (en) | 2015-10-07 |
CN104965139B true CN104965139B (en) | 2017-11-07 |
Family
ID=54219181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510367270.0A Expired - Fee Related CN104965139B (en) | 2015-06-26 | 2015-06-26 | A kind of method and terminal of Intelligent Measurement adapter performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104965139B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106597153A (en) * | 2016-12-08 | 2017-04-26 | 英业达科技有限公司 | Jig for detecting adapter |
CN108957159A (en) * | 2017-05-19 | 2018-12-07 | 硕天科技股份有限公司 | Test macro and its test circuit |
CN108964417A (en) | 2017-05-19 | 2018-12-07 | 硕天科技股份有限公司 | adapter |
KR102557297B1 (en) | 2018-09-30 | 2023-07-20 | 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 | Adapter functional test method and device, equipment, storage medium |
CN109633516B (en) * | 2018-12-26 | 2021-06-29 | 宁波三星智能电气有限公司 | Method for starting standard event detection function of electric energy meter |
CN109698537B (en) * | 2019-01-31 | 2021-01-29 | 深圳和而泰小家电智能科技有限公司 | Charging circuit, charging detection method and device |
CN111077387B (en) * | 2019-11-28 | 2021-12-07 | 深圳市元征科技股份有限公司 | Voltage detection system, method, control device and storage medium |
CN111781517A (en) * | 2020-07-21 | 2020-10-16 | 吴北平 | Battery detection method, system and equipment |
CN112948198B (en) * | 2021-04-09 | 2024-01-12 | 深圳市精泰达科技有限公司 | Automatic test method, equipment, system and storage medium for USB port |
CN114325462A (en) * | 2022-01-04 | 2022-04-12 | 成都泰盟软件有限公司 | Intelligent detection device and method for USB charging device |
CN117148023B (en) * | 2023-10-31 | 2024-01-26 | 威海海泰电子有限公司 | Intelligent power adapter production detection method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102854378A (en) * | 2011-06-30 | 2013-01-02 | 海洋王照明科技股份有限公司 | Current testing circuit |
CN103000965A (en) * | 2012-11-23 | 2013-03-27 | 华为终端有限公司 | Charging method and charger |
CN203720278U (en) * | 2013-12-30 | 2014-07-16 | 上海博泰悦臻网络技术服务有限公司 | Vehicle microphone status detecting circuit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63101770A (en) * | 1986-10-17 | 1988-05-06 | Toshiba Corp | Non-load detection circuit of semiconductive power circuit |
-
2015
- 2015-06-26 CN CN201510367270.0A patent/CN104965139B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102854378A (en) * | 2011-06-30 | 2013-01-02 | 海洋王照明科技股份有限公司 | Current testing circuit |
CN103000965A (en) * | 2012-11-23 | 2013-03-27 | 华为终端有限公司 | Charging method and charger |
CN203720278U (en) * | 2013-12-30 | 2014-07-16 | 上海博泰悦臻网络技术服务有限公司 | Vehicle microphone status detecting circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104965139A (en) | 2015-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104965139B (en) | A kind of method and terminal of Intelligent Measurement adapter performance | |
CN104242390B (en) | A kind of charging method, charging circuit and mobile terminal | |
CN107843802A (en) | Internal short-circuit detection method and device | |
CN104502854A (en) | Remaining electricity quantity display method and remaining electricity quantity display device for terminal | |
CN103151658B (en) | Data connecting line, for the control method of data connecting line and device | |
US6112105A (en) | Identification arrangement and method | |
CN107015163A (en) | The acquisition methods and device of a kind of battery capacity | |
CN104635164A (en) | Battery charging and discharging stability testing method of intelligent terminal and intelligent terminal | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN106169798A (en) | High-voltage charging system, high-voltage charging battery and terminal unit | |
CN106597303A (en) | Simulation charging system and method | |
CN106291179A (en) | Terminal discharge and recharge automatic test circuit and method of testing thereof | |
CN202906503U (en) | Control device for mobile power supply and mobile charging power supply | |
CN202025832U (en) | Charging battery and charging system | |
CN109802456B (en) | Automatic battery identification method | |
CN106706998A (en) | Terminal test system and terminal test method | |
CN106786959A (en) | Charge control method, device and terminal | |
CN104167795B (en) | A kind of mobile terminal and its charge control method | |
CN109606144A (en) | Wireless charging control method, wireless charger and automobile | |
CN207612080U (en) | Charging circuit and intelligent terminal | |
CN105896662A (en) | Single-port mobile power control circuit and control method thereof | |
CN107271766A (en) | A kind of power consumption detection method, consumption power detection circuit and mobile terminal | |
CN106904092A (en) | Charging pile and its charging method | |
CN217689369U (en) | Automatic calibration equipment that voltage switches | |
CN111431221A (en) | Charging device, resistance detection method and circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171107 |