CN109856456A - A kind of method, electronic equipment, power supply adaptor and system measuring impedance - Google Patents

A kind of method, electronic equipment, power supply adaptor and system measuring impedance Download PDF

Info

Publication number
CN109856456A
CN109856456A CN201811494003.XA CN201811494003A CN109856456A CN 109856456 A CN109856456 A CN 109856456A CN 201811494003 A CN201811494003 A CN 201811494003A CN 109856456 A CN109856456 A CN 109856456A
Authority
CN
China
Prior art keywords
line
power supply
impedance
electronic equipment
power source
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
CN201811494003.XA
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811494003.XA priority Critical patent/CN109856456A/en
Publication of CN109856456A publication Critical patent/CN109856456A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of method, electronic equipment, power supply adaptor and systems for measuring impedance, this programme includes: after sending impedance measurement signal to power supply adaptor, measure the first voltage of communication line and electronic equipment junction, measure the object load power source line at least one power supply line and the second voltage of electronic equipment junction, object load power source line and communication line are shorted, and impedance measurement signal is used to indicate power supply adaptor and is shorted at least one power supply line and communication line;The impedance of object load power source line is determined according to first voltage and second voltage.This programme enables electronic equipment by the voltage of communication line measurement object load power source line and power supply adaptor junction, meanwhile, measure the voltage of power supply line and electronic equipment junction.Electronic equipment can calculate the impedance of power supply line according to the voltage difference and charging current at power supply line both ends as a result,.This programme can measure the voltage value at power supply line both ends simultaneously, and the impedance measured has instantaneity, can effectively improve the impedance accuracy of measurement.

Description

A kind of method, electronic equipment, power supply adaptor and system measuring impedance
Technical field
The present invention relates to field of terminal more particularly to a kind of measure the method for impedance, electronic equipment, power supply adaptor and be System.
Background technique
With the development of electronic equipment, demand of the people to electronic equipment is continuously increased.Existing a variety of fast charge technologies, can mention The charge efficiency of high electronic equipment shortens the charging time.
For open loops charging techniques such as low-voltage, high-current charging technique, half pressure charging techniques, often need during the charging process It is periodically detected the impedance of data line, to guarantee that charging voltage is maintained in reasonable threshold range, data line is avoided to overheat And cause security risk.
How the impedance of accurate measurement data line, be urgent problem to be solved in the prior art.
Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of method, electronic equipment, power supply adaptor and system for measuring impedance, To improve the accuracy of measurement data line impedence.
In a first aspect, providing a kind of method for measuring impedance, it is applied to electronic equipment, the electronic equipment and power supply are suitable Orchestration is connected by data line, and the data line includes communication line and at least one power supply line, which comprises
After sending impedance measurement signal to power supply adaptor, the communication line and the electronic equipment junction are measured First voltage, and, measure the of object load power source line at least one power supply line and the electronic equipment junction Two voltages, the object load power source line and the communication line are shorted, and the impedance measurement signal is used to indicate the power supply adaptor At least one power supply line and the communication line are shorted;
The impedance of the object load power source line is determined according to the first voltage and the second voltage.
Second aspect provides a kind of method for measuring impedance, is applied to power supply adaptor, the power supply adaptor and electricity Sub- equipment is connected by data line, and the data line includes communication line and at least one power supply line, which comprises
Receive impedance measurement signal;
According to the impedance measurement signal, the object load power source line at least one power supply line is determined;
The object load power source line and communication line are shorted, make the electronic equipment by measuring the communication line and the electricity The second voltage of the first voltage of sub- equipment junction and the object load power source line and the electronic equipment junction determines institute State the impedance of object load power source line.
The third aspect provides a kind of electronic equipment, and the electronic equipment is connect with power supply adaptor by data line, institute Stating data line includes communication line and at least one power supply line, and the electronic equipment includes:
Measurement module, for power supply adaptor send impedance measurement signal after, measure the communication line with it is described The first voltage of electronic equipment junction, and, measure the object load power source line and the electronics at least one power supply line The second voltage of equipment junction, the object load power source line and the communication line are shorted, and the impedance measurement signal is used to indicate At least one power supply line and the communication line are shorted by the power supply adaptor;
First determining module, for determining the resistance of the object load power source line according to the first voltage and the second voltage It is anti-.
Fourth aspect provides a kind of power supply adaptor, and the power supply adaptor is connect with electronic equipment by data line, The data line includes communication line and at least one power supply line, and the power supply adaptor includes:
Receiving module, for receiving impedance measurement signal;
Determining module, for determining the object load power source line at least one power supply line according to the impedance measurement signal;
Short circuit module passes through the electronic equipment described in measurement for the object load power source line and communication line to be shorted The first voltage and the object load power source line of communication line and the electronic equipment junction and the electronic equipment junction Second voltage determines the impedance of the object load power source line.
5th aspect provides a kind of system for measuring impedance, comprising:
Electronic equipment as described in the third aspect;
Power supply adaptor as described in fourth aspect;And
The data line being connected between the electronic equipment and the power supply adaptor, the data line include communication line and At least one power supply line.
6th aspect, provides a kind of terminal device, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
7th aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium Calculation machine program, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
In the embodiment of the present application, to power supply adaptor send impedance measurement signal after, by with object load power source line Short circuit communication line measurement object load power source line and power supply adaptor junction first voltage, and, measure object load power source line and The second voltage of electronic equipment junction calculates the impedance of object load power source line according to first voltage and second voltage.The application side Case can measure the voltage value at object load power source line both ends simultaneously, and the impedance measured has instantaneity, can effectively improve measurement Impedance accuracy.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is one of the flow chart of method of the measurement impedance of one embodiment of the present of invention;
Fig. 1 b is one of the application scenarios schematic diagram of method of the measurement impedance of one embodiment of the present of invention;
Fig. 2 a is the two of the flow chart of the method for the measurement impedance of one embodiment of the present of invention;
Fig. 2 b is the two of the application scenarios schematic diagram of the method for the measurement impedance of one embodiment of the present of invention;
Fig. 3 is the three of the flow chart of the method for the measurement impedance of one embodiment of the present of invention;
Fig. 4 is the structural schematic diagram of the electronic equipment of one embodiment of the application;
Fig. 5 is the structural schematic diagram of the power supply adaptor of one embodiment of the application;
Fig. 6 is the system structure diagram of the measurement impedance of one embodiment of the application;
A kind of hardware structural diagram of Fig. 7 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
In existing open loop charging technique, pass through the scene that data line is electronic equipment charging using power supply adaptor Under, electronic equipment and power supply adaptor often periodically carry out data line impedance measurement during the charging process.
Specifically, sending data line impedance measuring signal to power supply adaptor by data line from electronic equipment first.So Afterwards, power supply adaptor is according to the impedance measurement signal measurement data line received and the voltage value of power supply adaptor junction, root Feedback information is generated according to the voltage value that measurement obtains, electronic equipment is sent back to by data line.Then, electronic equipment is further according to connecing The feedback information received parses voltage value, and calculates data line impedance according to current value, and then according to calculated data line Impedance generates charging voltage value and charging current value, is sent to power supply adaptor by data line.Finally, power supply adaptor according to Charging voltage value and the charging current value power supply received, realizes electronic equipment by data line and charges, electronic equipment is made to exist It charges under suitable voltage and current.
According to above-mentioned existing charging scheme it is found that every time measurement data line impedence when, electronic equipment and power supply adaptor It needs to carry out multiple data interaction.Data transmission generally requires to expend the regular hour, so that power supply adaptor measures voltage value With receive electronic equipment transmission charging voltage value and charging current value between there are the time differences.I.e. power supply adaptor receives When charging voltage value and charging current value, the voltage of data line and power supply adaptor junction is possible to not be to measure originally Voltage, the impedance of data line has occurred and that variation, so that charging voltage value and charging current value that power supply adaptor receives It is not suitable for current data line.If charged according to the charging voltage value and charging current value that receive, it is possible to make Situations such as at data line overheat, electronic equipment overheat, it is easy to appear security risk.
For above-mentioned problems of the prior art, the application provides a kind of method for measuring impedance, is applied to electronics Equipment, the electronic equipment are connect with power supply adaptor by data line, and the data line includes communication line and at least one electricity Source line the described method comprises the following steps as shown in Figure 1a:
S11: it after sending impedance measurement signal to power supply adaptor, measures the communication line and the electronic equipment connects The first voltage at place is connect, and, measure the object load power source line at least one power supply line and the electronic equipment junction Second voltage, the object load power source line and the communication line be shorted, and it is suitable that the impedance measurement signal is used to indicate the power supply At least one power supply line and the communication line are shorted by orchestration;
S12: the impedance of the object load power source line is determined according to the first voltage and the second voltage.
It include electronic equipment A, power supply adaptor B in figure specifically, Fig. 1 b shows a kind of this programme application scenario diagram, And it is connected to the data line C between electronic equipment A and power supply adaptor B.It in the present embodiment, include power supply in data line C Line a, power supply line d, communication line b and communication line c.
Before above-mentioned S11, impedance measurement signal is sent from electronic equipment to power supply adaptor, electronic equipment can pass through Wired or wireless mode sends the impedance measurement signal.The impedance measurement signal is used to indicate the power supply adaptor will at least One power supply line and communication line are shorted.Referring to Fig. 1 b, electronic equipment A can pass through communication line b and/or communication line shown in figure C sends impedance measurement signal to power supply adaptor B.It may include needing to be shorted in the impedance measurement signal that electronic equipment is sent The corresponding relationship of communication line and power supply line, the communication line and power supply that power supply adaptor is shorted according to the needs in impedance measurement signal The corresponding relationship of line is shorted corresponding communication line and power supply line.
When power supply line a and communication line b is shorted by impedance measurement signal indicator power adapter, referring to Fig. 1 b, power supply is suitable Orchestration passes through closure switch S1, make the junction a of power supply line a Yu power supply adaptor B1With the company of communication line b and power supply adaptor B Meet place b1Pass through switch S1It is shorted.
In above-mentioned S11, electronic equipment measures the first voltage of communication line and electronic equipment junction, and, measurement is extremely The second voltage of object load power source line and electronic equipment junction in a few power supply line.Referring to Fig. 1 b, as switch S1When closure, Power supply line a and communication line b is shorted, and object load power source line is power supply line a.Electronic equipment A measurement communication line b is connect with electronic equipment A Locate b2First voltage, and measure the second voltage of power supply line a Yu the junction electronic equipment A.
In the scene shown in Fig. 1 b, when power supply adaptor B is that electronic equipment A charges, charging current is by power adaptation Device B outflow reaches electronic equipment A by least one power supply line, by flowing back to after electronic equipment A by least one power supply line Power supply adaptor B.So that power supply adaptor B, electronic equipment A and at least two power supply lines, which are formed, to charge in charging process Circuit.
It follows that in the present solution, when communication line b and power supply line a are shorted by power supply adaptor B, without electricity in communication line b Stream passes through, so, communication line b and electronic equipment A junction b2, communication line b and power supply adaptor B junction b1And power supply line A and power supply adaptor B junction a1Current potential it is identical.
Electronic equipment A measuring node b2First voltage is obtained, measurement is equivalent to and has obtained node a1Voltage, in addition, electronics Equipment A also measures node a2Obtain second voltage.It is available by calculating the difference of above-mentioned first voltage and second voltage The voltage difference at the both ends data line a obtains the resistance of data line a by the ratio calculation of voltage difference and charging current according to charging current It is anti-.
Optionally, electronic equipment A can be by difference sampling module to node b2And node a2It is sampled, to survey Obtain above-mentioned first voltage and second voltage.It should be understood that electronic equipment A can also measure above-mentioned two section by other modules The voltage of point.
In the embodiment of the present application, to power supply adaptor send impedance measurement signal after, by with object load power source line Short circuit communication line measurement object load power source line and power supply adaptor junction first voltage, and, measure object load power source line and The second voltage of electronic equipment junction calculates the impedance of object load power source line according to first voltage and second voltage.The application side Case can measure the voltage value at power supply line both ends simultaneously, avoid that data are transmitted several times during calculating data line impedance, make to survey The impedance measured has instantaneity, can effectively improve the impedance accuracy of measurement.
Preferably, electronic equipment measures above-mentioned node a simultaneously2And b2Voltage, to measure power supply line a in synchronization The voltage at both ends can be further improved the timeliness of the impedance for the data line being calculated.
The scheme provided based on the above embodiment, optionally, the quantity of the power supply line are a plurality of, the number of the communication line Amount is a plurality of, the first communication line short circuit in the object load power source line and a plurality of communication line, the impedance measurement signal packet The time interval for measuring the impedance of a plurality of power supply line is included, as shown in Figure 2 a, method provided by the present application is further comprising the steps of:
S13: according to the time interval, the object load power source line in a plurality of power supply line is determined;
Wherein, in above-mentioned S11, the first voltage of the measurement communication line and the electronic equipment junction, comprising:
S111: according to the time interval, the first moment for measuring the first voltage is determined;
S112: at first moment, the first voltage of first communication line and the electronic equipment junction is measured.
B referring to fig. 2 further includes being connected in application scenarios shown in Fig. 2 b based on the application scenarios shown in above-mentioned Fig. 1 b Switch S between communication line b and power supply line d2.In figure 2b, there are two power supply lines, be power supply line a and power supply line d respectively.It is filling In electric process, this two power supply lines and electronic equipment, power supply adaptor are formed into a loop, and realize charge function.
In order to measure the impedance of power supply line a and power supply line d, in the present solution, the impedance measurement signal that electronic equipment is sent Time interval including measuring the impedance of a plurality of power supply line.Specifically, the time interval in impedance measurement signal can be 1 second, Then power supply adaptor B can successively be closed two switches of Fig. 2 b with 1 second according to preset sequence for interval.Preset sequence It can be set in advance in power supply adaptor B, for example, being first closed S1, then disconnect S1It is closed S2.As closure S1When, electronic equipment is surveyed Measure power supply line a and electronic equipment A junction (a2) second voltage.As disconnection S1It is closed S2When, electronic equipment measures power supply line d With electronic equipment A junction (d2) second voltage.
In above-mentioned S13, according to the time interval in impedance measurement signal, the object load power source line in a plurality of power supply line is determined. Specifically, when above-mentioned time interval is 1 second, determination is receiving the 1 of the impedance measurement signal in the scene shown in Fig. 2 b In second, object load power source line is power supply line a.It determines after receiving the impedance measurement signal 1 second, object load power source line is electricity Source line d.
Then, in step S111, since time interval is 1 second, hence, it can be determined that sending above-mentioned impedance measurement letter In 1 second after number, switch S1Closure, power supply line a and communication line b short circuit, can be by measuring figure interior joint b2Voltage realize To node a1Voltage measurement.Therefore, any moment sent in 1 second after above-mentioned impedance measurement signal can be determined For above-mentioned first moment.
Correspondingly, sending second second after above-mentioned impedance measurement signal in, switch S2Closure, power supply line d and communication Line b short circuit, can be by measuring figure interior joint b2Voltage realize to node d1Voltage measurement.
After determining for the first moment, S112 is executed, the first communication line is communication line b shown in figure in this example. At the first determining moment, communication line b and electronic equipment junction (b is measured2) first voltage.
Scheme provided by the present application determines object load power source line and the first moment according to time interval, thus in determination respectively The first moment realize measurement to object load power source line and the first voltage of power supply adaptor junction.This programme can pass through measurement The voltage of communication line and electronic equipment junction realizes the survey to a plurality of power supply line and the first voltage of power supply adaptor junction Amount.Measuring obtained first voltage has instantaneity, and accuracy is higher, makes electronic equipment according to the calculated resistance of the voltage measured Resist close to actual impedance.
The scheme based on the above embodiment, preferably, the impedance measurement signal further includes the resistance of a plurality of power supply line Anti- measuring sequence;
Wherein, above-mentioned S111 includes:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
B referring to fig. 2, for scene shown in figure, the measuring sequence in above-mentioned impedance measurement signal can be " first to measure Power supply line a, then measure power supply line d ".Specifically, electronic equipment is sent after impedance measurement signal when time interval is 1 second The 1st second in, determine that power supply line a is object load power source line, electronic equipment send impedance measurement signal after the 2nd second in, really Determining power supply line d is object load power source line.
Scheme provided by the present application can be when the quantity of power supply line be a plurality of, by electronic equipment by sending impedance measurement letter Number mode indicator power adapter specified power supply line is shorted according to measuring sequence, so that electronic equipment is true according to measuring sequence Set the goal power supply line, to realize the successively measurement to a plurality of power line impedance.
For the above-mentioned problems in the prior art, the application provides a kind of method for measuring impedance, is applied to power supply Adapter, the power supply adaptor are connect with electronic equipment by data line, and the data line includes communication line and at least one Power supply line, as shown in figure 3, the described method comprises the following steps:
S21: impedance measurement signal is received;
S22: according to the impedance measurement signal, the object load power source line at least one power supply line is determined;
S23: the object load power source line and the communication line are shorted, and make the electronic equipment by measuring the communication line With the second electricity of the first voltage of the electronic equipment junction and the object load power source line and the electronic equipment junction Pressure determines the impedance of the object load power source line.
In above-mentioned S21, impedance measurement signal can be received by wired or wireless mode, impedance measurement signal can be It is sent by the electronic equipment being connected with power supply adaptor.It, can be to impedance measurement after receiving impedance measurement signal Signal is parsed, and determines object load power source line.Specifically, referring to Fig. 1 b, it, can when determining object load power source line is power supply line a To pass through closure switch S1Mode be shorted power supply line a and communication line b so that node a1, node b1 and node b2 Current potential is equal, so that electronic equipment be enable to pass through the voltage value of communication line b measurement power supply line a and power supply adaptor junction.
Object load power source line and communication line can be shorted by scheme provided by the present application according to impedance measurement signal, so that electric Sub- equipment can measure simultaneously the voltage value at object load power source line both ends, to calculate impedance.The impedance tool obtained by this programme There are instantaneity and accuracy.
The method based on the above embodiment, the quantity of the power supply line be it is a plurality of, the quantity of the communication line is more The first communication line in item, the object load power source line and a plurality of communication line is shorted, and the impedance measurement signal includes measurement The time interval of the impedance of a plurality of power supply line;
Wherein, above-mentioned steps S22, comprising:
According to the time interval, the object load power source line at least one power supply line is determined.
B referring to fig. 2 includes power supply line a, power supply line d totally two power supply lines in application scenarios shown in figure, is connected to logical Believe the switch S between line b and power supply line a1And it is connected to the switch S between communication line b and power supply line d2.Impedance measurement signal In include time interval can be 1 second, then power supply adaptor B can be successively closed with 1 second for interval according to preset sequence Two switches of Fig. 2 b, for example, being closed S receiving in the after impedance measurement signal the 1st second1, receiving impedance measurement S is disconnected in the 2nd second after signal1It is closed S2.Short circuit electricity in the after impedance measurement signal the 1st second is being received to realize Source line a and communication line b are shorted power supply line d and communication line b receiving in the after impedance measurement signal the 2nd second.So as to electronics Equipment can according to demand measure the impedance of power supply line.
The method based on the above embodiment, the impedance measurement signal further includes the measurement of the impedance of a plurality of power supply line Sequentially;
Wherein, described according to the impedance measurement signal, determine the object load power source line at least one power supply line, comprising:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
B referring to fig. 2 includes power supply line a and power supply line d in figure, and the measuring sequence in impedance measurement signal can be " first to survey Power supply line a is measured, then measures power supply line d ".When time interval is 1 second, power supply adaptor is received after impedance measurement signal It in 1st second, determines that power supply line a is object load power source line, power supply line a and communication line b is shorted.Impedance is received in power supply adaptor It in the 2nd second after measuring signal, determines that power supply line d is object load power source line, power supply line d and communication line b is shorted.
It is determined when the quantity of power supply line is a plurality of according to impedance measurement signal by above scheme provided by the present application Object load power source line and communication line are shorted, according to time interval and measuring sequence so that electronic equipment can pass through by object load power source line Communication line measures the voltage value at object load power source line both ends, and then measures to target power line impedence, realizes to more The successively measurement of power line impedance.
Be directed to the above-mentioned problems in the prior art, the application provides a kind of electronic equipment, the electronic equipment with Power supply adaptor is connected by data line, and the data line includes communication line and at least one power supply line, as shown in figure 4, described Electronic equipment 40 includes:
Measurement module 41, for measuring the communication line and institute after sending impedance measurement signal to power supply adaptor The first voltage of electronic equipment junction is stated, and, measure the object load power source line and the electricity at least one power supply line The second voltage of sub- equipment junction, the object load power source line and the communication line are shorted, and the impedance measurement signal is for referring to Show that at least one power supply line and the communication line are shorted by the power supply adaptor;
First determining module 42, for determining the object load power source line according to the first voltage and the second voltage Impedance.
The electronic equipment based on the above embodiment, the quantity of the power supply line are a plurality of, the quantity of the communication line To be a plurality of, the first communication line in the object load power source line and a plurality of communication line is shorted, and the impedance measurement signal includes Measure the time interval of the impedance of a plurality of power supply line, the electronic equipment 40 further include:
Second determining module 43, for determining the object load power source line in a plurality of power supply line according to the time interval;
Wherein, the measurement module 41, is used for:
According to the time interval, the first moment for measuring the first voltage is determined;
At first moment, the first voltage of first communication line and the electronic equipment junction is measured.
The electronic equipment based on the above embodiment, the impedance measurement signal further includes the impedance of a plurality of power supply line Measuring sequence;
Wherein, second determining module 43, is used for:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
In the embodiment of the present application, electronic equipment can be surveyed simultaneously after sending impedance measurement signal to power supply adaptor The voltage value for measuring power supply line both ends, avoids that data are transmitted several times during calculating data line impedance, the resistance for obtaining measurement It is anti-that there is instantaneity, the impedance accuracy of measurement can be effectively improved.
It is directed to the above-mentioned problems in the prior art, the application also provides a kind of power supply adaptor, and the power supply is suitable Orchestration is connect with electronic equipment by data line, and the data line includes communication line and at least one power supply line, as shown in figure 5, The power supply adaptor 50 includes:
Receiving module 51, for receiving impedance measurement signal;
Determining module 52, for determining the object load power source line at least one power supply line according to the impedance measurement signal;
Short circuit module 53 makes the electronic equipment pass through measurement institute for the object load power source line and communication line to be shorted State first voltage and the object load power source line and the electronic equipment junction of communication line and the electronic equipment junction Second voltage determine the impedance of the object load power source line.
The power supply adaptor based on the above embodiment, the quantity of the power supply line are a plurality of, the number of the communication line Amount is a plurality of, the first communication line short circuit in the object load power source line and a plurality of communication line, the impedance measurement signal packet The time interval for measuring the impedance of a plurality of power supply line is included, the determining module 52 is used for:
According to the time interval, the object load power source line at least one power supply line is determined.
The power supply adaptor based on the above embodiment, the impedance measurement signal further includes the impedance of a plurality of power supply line Measuring sequence, the determining module 52 is used for:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
Object load power source line and communication line can be shorted by scheme provided by the present application according to impedance measurement signal, so that electric Sub- equipment can measure simultaneously the voltage value at object load power source line both ends, to calculate impedance.The impedance tool obtained by this programme There are instantaneity and accuracy.
For the above-mentioned problems in the prior art, as shown in fig. 6, the application provides a kind of system for measuring impedance, Include:
Any electronic equipment 61 described in above-described embodiment;
Any power supply adaptor 62 described in above-described embodiment;And
The data line 63 being connected between the electronic equipment 61 and the power supply adaptor 62, the data line include logical Believe line and at least one power supply line.
In above scheme provided by the present application, electronic equipment is after sending impedance measurement signal to power supply adaptor, energy The voltage value for measuring power supply line both ends simultaneously, avoids that data are transmitted several times during calculating data line impedance, makes to measure The impedance arrived has instantaneity, can effectively improve the impedance accuracy of measurement.In addition, power supply adaptor can be believed according to impedance measurement Number object load power source line and communication line are shorted, so that electronic equipment can measure the voltage value at object load power source line both ends simultaneously, To calculate impedance.There is instantaneity and accuracy by the impedance that this programme obtains.
A kind of hardware structural diagram of Fig. 7 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 700 includes but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, defeated Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor The components such as 710 and power supply 711.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, for measuring the communication line after sending impedance measurement signal to power supply adaptor With the first voltage of the electronic equipment junction, and, measure the object load power source line at least one power supply line and institute The second voltage of electronic equipment junction is stated, the object load power source line and the communication line are shorted, and the impedance measurement signal is used At least one power supply line and the communication line are shorted in the instruction power supply adaptor;According to the first voltage and institute State the impedance that second voltage determines the object load power source line.
In the embodiment of the present application, to power supply adaptor send impedance measurement signal after, by with object load power source line Short circuit communication line measurement object load power source line and power supply adaptor junction first voltage, and, measure object load power source line and The second voltage of electronic equipment junction calculates the impedance of object load power source line according to first voltage and second voltage.The application side Case can measure the voltage value at object load power source line both ends simultaneously, and the impedance measured has instantaneity, can effectively improve measurement Impedance accuracy.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071 Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching The type for touching event provides corresponding visual output on display panel 7061.Although in Fig. 7, touch panel 7071 and display Panel 7061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal Data are transmitted between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage Data in device 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709 is stored in On memory 709 and the computer program that can run on the processor 710, the computer program are executed by processor 710 A kind of above-mentioned each process for the embodiment of the method for measuring impedance of Shi Shixian, and identical technical effect can be reached, to avoid weight Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize a kind of each mistake of above-mentioned embodiment of the method for measuring impedance when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (13)

1. a kind of method for measuring impedance, which is characterized in that be applied to electronic equipment, the electronic equipment and power supply adaptor are logical Data line connection is crossed, the data line includes communication line and at least one power supply line, which comprises
After sending impedance measurement signal to power supply adaptor, the of the communication line and the electronic equipment junction is measured One voltage, and, measure the second electricity of the object load power source line and the electronic equipment junction at least one power supply line Pressure, the object load power source line and the communication line are shorted, and the impedance measurement signal is used to indicate the power supply adaptor for institute It states at least one power supply line and the communication line is shorted;
The impedance of the object load power source line is determined according to the first voltage and the second voltage.
2. the method as described in claim 1, which is characterized in that the quantity of the power supply line is a plurality of, the number of the communication line Amount is a plurality of, the first communication line short circuit in the object load power source line and a plurality of communication line, the impedance measurement signal packet The time interval for measuring the impedance of a plurality of power supply line is included, the method also includes:
According to the time interval, the object load power source line in a plurality of power supply line is determined;
Wherein, the first voltage of the measurement communication line and the electronic equipment junction, comprising:
According to the time interval, the first moment for measuring the first voltage is determined;
At first moment, the first voltage of first communication line and the electronic equipment junction is measured.
3. method according to claim 2, which is characterized in that the impedance measurement signal further includes the impedance of a plurality of power supply line Measuring sequence;
Wherein, described according to the time interval, determine the object load power source line in a plurality of power supply line, comprising:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
4. a kind of method for measuring impedance, which is characterized in that be applied to power supply adaptor, the power supply adaptor and electronic equipment It is connected by data line, the data line includes communication line and at least one power supply line, which comprises
Receive impedance measurement signal;
According to the impedance measurement signal, the object load power source line at least one power supply line is determined;
The object load power source line and the communication line are shorted, make the electronic equipment by measuring the communication line and the electricity The second voltage of the first voltage of sub- equipment junction and the object load power source line and the electronic equipment junction determines institute State the impedance of object load power source line.
5. method as claimed in claim 4, which is characterized in that the quantity of the power supply line is a plurality of, the number of the communication line Amount is a plurality of, the first communication line short circuit in the object load power source line and a plurality of communication line, the impedance measurement signal packet Include the time interval for measuring the impedance of a plurality of power supply line;
Wherein, described according to the impedance measurement signal, determine the object load power source line at least one power supply line, comprising:
According to the time interval, the object load power source line at least one power supply line is determined.
6. method as claimed in claim 5, which is characterized in that the impedance measurement signal further includes the impedance of a plurality of power supply line Measuring sequence;
Wherein, described according to the impedance measurement signal, determine the object load power source line at least one power supply line, comprising:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
7. a kind of electronic equipment, which is characterized in that the electronic equipment is connect with power supply adaptor by data line, the data Line includes communication line and at least one power supply line, and the electronic equipment includes:
Measurement module, for measuring the communication line and the electronics after sending impedance measurement signal to power supply adaptor The first voltage of equipment junction, and, measure the object load power source line and the electronic equipment at least one power supply line The second voltage of junction, the object load power source line and the communication line are shorted, and the impedance measurement signal is used to indicate described At least one power supply line and the communication line are shorted by power supply adaptor;
First determining module, for determining the impedance of the object load power source line according to the first voltage and the second voltage.
8. electronic equipment as claimed in claim 7, which is characterized in that the quantity of the power supply line is a plurality of, the communication line Quantity be it is a plurality of, the first communication line in the object load power source line and a plurality of communication line is shorted, the impedance measurement letter It number include the time interval for measuring the impedance of a plurality of power supply line, the electronic equipment further include:
Second determining module, for determining the object load power source line in a plurality of power supply line according to the time interval;
Wherein, the measurement module, is used for:
According to the time interval, the first moment for measuring the first voltage is determined;
At first moment, the first voltage of first communication line and the electronic equipment junction is measured.
9. electronic equipment as claimed in claim 8, which is characterized in that the impedance measurement signal further includes a plurality of power supply line The measuring sequence of impedance;
Wherein, second determining module, is used for:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
10. a kind of power supply adaptor, which is characterized in that the power supply adaptor is connect with electronic equipment by data line, described Data line includes communication line and at least one power supply line, and the power supply adaptor includes:
Receiving module, for receiving impedance measurement signal;
Determining module, for determining the object load power source line at least one power supply line according to the impedance measurement signal;
Short circuit module makes the electronic equipment by measuring the communication for the object load power source line and communication line to be shorted The first voltage and the object load power source line of line and the electronic equipment junction and the second of the electronic equipment junction Voltage determines the impedance of the object load power source line.
11. power supply adaptor as claimed in claim 10, which is characterized in that the quantity of the power supply line be it is a plurality of, it is described logical The quantity for believing line is a plurality of, the first communication line short circuit in the object load power source line and a plurality of communication line, the impedance survey Measuring signal includes the time interval for measuring the impedance of a plurality of power supply line, and the determining module is used for:
According to the time interval, the object load power source line at least one power supply line is determined.
12. power supply adaptor as claimed in claim 11, which is characterized in that the impedance measurement signal further includes a plurality of power supply The measuring sequence of the impedance of line, the determining module, is used for:
According to the time interval and the measuring sequence, the object load power source line in a plurality of power supply line is determined.
13. a kind of system for measuring impedance characterized by comprising
Such as the described in any item electronic equipments of claim 7~9;
Such as the described in any item power supply adaptors of claim 10~12;And
The data line being connected between the electronic equipment and the power supply adaptor, the data line include communication line and at least One power supply line.
CN201811494003.XA 2018-12-07 2018-12-07 A kind of method, electronic equipment, power supply adaptor and system measuring impedance Pending CN109856456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811494003.XA CN109856456A (en) 2018-12-07 2018-12-07 A kind of method, electronic equipment, power supply adaptor and system measuring impedance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811494003.XA CN109856456A (en) 2018-12-07 2018-12-07 A kind of method, electronic equipment, power supply adaptor and system measuring impedance

Publications (1)

Publication Number Publication Date
CN109856456A true CN109856456A (en) 2019-06-07

Family

ID=66890765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811494003.XA Pending CN109856456A (en) 2018-12-07 2018-12-07 A kind of method, electronic equipment, power supply adaptor and system measuring impedance

Country Status (1)

Country Link
CN (1) CN109856456A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882742A (en) * 1987-08-12 1989-11-21 Siemens Aktiengesellschaft Method for measuring resistances, in particular resistances of subscriber's
JPH1073632A (en) * 1996-08-30 1998-03-17 Ricoh Co Ltd Method for extracting source/drain contact resistance measuring parameter
CN101701994A (en) * 2009-11-13 2010-05-05 航天东方红卫星有限公司 Conduction insulation test method for low-frequency cable network
CN102111006A (en) * 2011-03-24 2011-06-29 深圳可立克科技股份有限公司 Charging connector contact resistance detection device and charging control method
CN104377781A (en) * 2014-11-27 2015-02-25 上海芯导电子科技有限公司 Adapter, charging system comprising same and charging method using same
CN105703456A (en) * 2014-12-11 2016-06-22 联发科技股份有限公司 Electronic device and power adapter capable of communicating with each other, and associated charging system
CN106170710A (en) * 2015-04-29 2016-11-30 广东欧珀移动通信有限公司 Identify the method for type, power supply adaptor and the cable of cable
CN206147012U (en) * 2016-11-04 2017-05-03 赵伦松 Cable metallic shielding layer and conductor resistance compare test system
CN107219403A (en) * 2017-06-28 2017-09-29 深圳喜乐航科技有限公司 Terminal cable conducting resistance test system and method
CN108318741A (en) * 2018-03-14 2018-07-24 维沃移动通信有限公司 A kind of impedance detection circuit and detection method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882742A (en) * 1987-08-12 1989-11-21 Siemens Aktiengesellschaft Method for measuring resistances, in particular resistances of subscriber's
JPH1073632A (en) * 1996-08-30 1998-03-17 Ricoh Co Ltd Method for extracting source/drain contact resistance measuring parameter
CN101701994A (en) * 2009-11-13 2010-05-05 航天东方红卫星有限公司 Conduction insulation test method for low-frequency cable network
CN102111006A (en) * 2011-03-24 2011-06-29 深圳可立克科技股份有限公司 Charging connector contact resistance detection device and charging control method
CN104377781A (en) * 2014-11-27 2015-02-25 上海芯导电子科技有限公司 Adapter, charging system comprising same and charging method using same
CN105703456A (en) * 2014-12-11 2016-06-22 联发科技股份有限公司 Electronic device and power adapter capable of communicating with each other, and associated charging system
CN106170710A (en) * 2015-04-29 2016-11-30 广东欧珀移动通信有限公司 Identify the method for type, power supply adaptor and the cable of cable
CN206147012U (en) * 2016-11-04 2017-05-03 赵伦松 Cable metallic shielding layer and conductor resistance compare test system
CN107219403A (en) * 2017-06-28 2017-09-29 深圳喜乐航科技有限公司 Terminal cable conducting resistance test system and method
CN108318741A (en) * 2018-03-14 2018-07-24 维沃移动通信有限公司 A kind of impedance detection circuit and detection method

Similar Documents

Publication Publication Date Title
CN108255378A (en) A kind of display control method and mobile terminal
CN108347759A (en) A kind of anti-interference method and mobile terminal of flexible screen
CN107770760B (en) A kind of method and mobile terminal of the type identifying bluetooth equipment
CN109597558A (en) A kind of display control method and terminal device
CN107613139B (en) Schedule reminding method and mobile terminal
CN108347704A (en) Information recommendation method and mobile terminal
CN107608855A (en) Based reminding method and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN107992378B (en) A kind of document handling method and mobile terminal
CN108919883A (en) A kind of camera head protecting method and mobile terminal
CN109768810A (en) A kind of signal processing circuit, terminal device and signal processing method
CN107808107A (en) A kind of application message display methods and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN110519699A (en) A kind of air navigation aid and electronic equipment
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
CN109286720A (en) A kind of the main screen selection method and device of multi-screen mobile terminal
CN109005355A (en) A kind of image pickup method and mobile terminal
CN108989668A (en) A kind of working method and mobile terminal of camera
CN109639313A (en) A kind of communication control method, system and circuit
CN108600546A (en) A kind of environment light detection method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN109743449A (en) A kind of virtual key display methods and terminal
CN109101147A (en) A kind of message notification display method and terminal
CN109190501A (en) Operate recognition methods and terminal
CN107809515A (en) A kind of display control method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination