CN106451594B - The method for measuring charged and device of USB type C equipment - Google Patents

The method for measuring charged and device of USB type C equipment Download PDF

Info

Publication number
CN106451594B
CN106451594B CN201610620650.5A CN201610620650A CN106451594B CN 106451594 B CN106451594 B CN 106451594B CN 201610620650 A CN201610620650 A CN 201610620650A CN 106451594 B CN106451594 B CN 106451594B
Authority
CN
China
Prior art keywords
voltage
usb type
equipment
configuration signal
detecting
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.)
Active
Application number
CN201610620650.5A
Other languages
Chinese (zh)
Other versions
CN106451594A (en
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.)
Analogix Semiconductor Beijing Inc
Analogix International LLC
Original Assignee
Analogix Semiconductor Beijing Inc
Analogix International LLC
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 Analogix Semiconductor Beijing Inc, Analogix International LLC filed Critical Analogix Semiconductor Beijing Inc
Priority to CN201610620650.5A priority Critical patent/CN106451594B/en
Publication of CN106451594A publication Critical patent/CN106451594A/en
Application granted granted Critical
Publication of CN106451594B publication Critical patent/CN106451594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source

Abstract

The invention discloses the method for measuring charged and device of a kind of USB type C equipment.Wherein, this method comprises: obtaining the voltage for configuring signal in USB type C equipment;Whether the voltage of detection configuration signal is more than first threshold;In the case where detecting that the voltage of configuration signal is more than first threshold, forbid carrying out high-voltage charging to USB type C equipment;And in the case where detecting that the voltage of configuration signal is less than first threshold, allow to carry out high-voltage charging to USB type C equipment.The present invention solves USB type C equipment in the related technology and carries out the technical problem that configuration pickup electrode is easy to damage when high-voltage charging.

Description

The method for measuring charged and device of USB type C equipment
Technical field
The present invention relates to electronic technology fields, in particular to a kind of method for measuring charged of USB type C equipment And device.
Background technique
With the continuous renewal of USB device, the updating apparatus USB of USB type A equipment has been had already appeared currently on the market Type C equipment has two kinds in the related technology and is turned by USB type C equipment in order to enable can be compatible between two kinds of equipment The cable of USB type A equipment, the configuration signal CC of USB type C equipment interface is connected by 56K resistance in standard cable It is connected to the signal Vbus of transmission power supply, as shown in Figure 1, and configuring signal CC in non-standard cable and being directly connected to transmission power supply Signal Vbus, as shown in Figure 2.In actual use, USB type C equipment interface can be directly connected to USB type C equipment, USB type A equipment interface can be directly connected to USB type A equipment.Under normal circumstances, in USB type C There is the pull down resistor of 5.1K on the CC of equipment, after having the power supply of 5V on Vbus, due to there is the partial pressure of 56K resistance, on CC Voltage does not exceed 1V, this is very safe to the CC signal of USB type C equipment.But if using off-gauge cable, due to There is no the electric resistance partial pressure of 56K, there is the voltage of 5V on CC.The USB type C equipment and USB type A equipment branch especially having The charge protocol of high-voltage charging is held, two equipment can request USB by the communication on D+ and D- signal, USB type C equipment Type A equipment is increased to Vbus voltage that 9V is even higher to charge, and in the case, 5V, 9V, 12V, 20 is had on CC High pressure thus easily damages CC signal.
Pickup electrode problem easy to damage is configured when carrying out high-voltage charging for USB type C equipment in the related technology, at present Not yet put forward effective solutions.
Summary of the invention
The embodiment of the invention provides the method for measuring charged and device of a kind of USB type C equipment, at least to solve phase USB type C equipment carries out the technical problem that configuration pickup electrode is easy to damage when high-voltage charging in the technology of pass.
According to an aspect of an embodiment of the present invention, a kind of method for measuring charged of USB type C equipment is provided, is wrapped It includes: obtaining the voltage for configuring signal in USB type C equipment;Whether the voltage of detection configuration signal is more than first threshold;It is examining Measure configuration signal voltage be more than first threshold in the case where, forbid to USB type C equipment carry out high-voltage charging;And In the case where detecting that the voltage of configuration signal is less than first threshold, allow to carry out high pressure to USB type C equipment to fill Electricity.
Further, in the case where detecting that the voltage of configuration signal is less than first threshold, allow to USB type When C equipment carries out high-voltage charging, this method further include: whether the voltage of detection configuration signal is located in predeterminated voltage section;? When detecting that the voltage of configuration signal is located in predeterminated voltage section, the charging of USB type C equipment Yu USB type A is determined Device has connected, wherein predeterminated voltage section is [0.25,2.04].
Further, when detecting that the voltage of configuration signal is located in predeterminated voltage section, this method further include: detection Configure the voltage subinterval where the voltage of signal, wherein corresponding one of each voltage subinterval is for characterizing charging ability Current value;And the charging ability according to the voltage subinterval detection USB type C equipment where the voltage of configuration signal.
Further, according to the charging energy of the voltage subinterval detection USB type C equipment where the voltage of configuration signal Power includes: to determine USB type C equipment with the first electricity when the voltage for detecting configuration signal falls within first voltage subinterval Flow valuve carries out high-voltage charging, wherein first voltage subinterval is [0.25,0.66], and the first current value is 900 milliamperes;Work as detection When falling within voltage subinterval to the voltage for configuring signal, determine that USB type C equipment carries out high-voltage charging with the second current value, Wherein, second voltage subinterval is [0.70,1.23], and the second current value is 1.5 peaces;When the voltage for detecting configuration signal is fallen within When tertiary voltage subinterval, determine that USB type C equipment carries out high-voltage charging with third current value, wherein tertiary voltage sub-district Between be [1.31,2.04], third current value be 3.0 peace.
Further, first threshold is 2.04 volts.
According to another aspect of an embodiment of the present invention, a kind of charging detection device of USB type C equipment is additionally provided, It include: acquiring unit, for obtaining the voltage for configuring signal in USB type C equipment;First detection unit is matched for detecting Whether the voltage of confidence number is more than first threshold;Forbid unit, for detecting that the voltage of configuration signal is more than first threshold In the case where, forbid carrying out high-voltage charging to USB type C equipment;And allow unit, for detecting configuration signal In the case that voltage is less than first threshold, allow to carry out high-voltage charging to USB type C equipment.
Further, the device further include: second detection unit, for detecting that the voltage of configuration signal is less than the In the case where one threshold value, when allowing to carry out high-voltage charging to USB type C equipment, whether the voltage of detection configuration signal is located at In predeterminated voltage section;Determination unit, for determining when detecting that the voltage of configuration signal is located in predeterminated voltage section USB type C equipment and the charger of USB type A have connected, wherein predeterminated voltage section is [0.25,2.04].
Further, the device further include: third detection unit, for detecting that it is default that the voltage of configuration signal is located at Voltage subinterval when in voltage range, where the voltage of detection configuration signal, wherein each voltage subinterval is one corresponding For characterizing the current value of charging ability;And the 4th detection unit, for voltage where the voltage according to configuration signal The charging ability of section detection USB type C equipment.
Further, the 4th detection unit includes: the first determining module, for falling within when the voltage for detecting configuration signal When first voltage subinterval, determine that USB type C equipment carries out high-voltage charging with the first current value, wherein first voltage sub-district Between be [0.25,0.66], the first current value be 900 milliamperes;Second determining module, for being fallen when the voltage for detecting configuration signal When voltage subinterval, determine that USB type C equipment carries out high-voltage charging with the second current value, wherein second voltage subinterval For [0.70,1.23], the second current value is 1.5 peaces;Third determining module, for falling within the when the voltage that detect configuration signal When three voltage subintervals, determine that USB type C equipment carries out high-voltage charging with third current value, wherein tertiary voltage subinterval For [1.31,2.04], third current value is 3.0 peaces.
Further, first threshold is 2.04 volts.
In embodiments of the present invention, using the voltage for obtaining configuration signal in USB type C equipment;Detection configuration signal Voltage whether be more than first threshold;In the case where detecting that the voltage of configuration signal is more than first threshold, forbid to USB Type C equipment carries out high-voltage charging;And in the case where detecting that the voltage of configuration signal is less than first threshold, allow Whether the mode that high-voltage charging is carried out to USB type C equipment, the voltage by detection configuration signal are more than first threshold to sentence It is disconnected whether high-voltage charging to be carried out to USB type C equipment, reach the safety for improving the configuration signal of USB type C equipment Purpose, thus realize improve USB type C equipment turn USB type A equipment reliability and safety technology effect Fruit, and then solve the technology that configuration pickup electrode is easy to damage when USB type C equipment carries out high-voltage charging in the related technology and ask Topic.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, 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 is the schematic diagram of standard cable according to prior art;
Fig. 2 is the schematic diagram of non-standard cable according to prior art;
Fig. 3 is the flow chart of the method for measuring charged of USB type C equipment according to an embodiment of the present invention;And
Fig. 4 is the schematic diagram of the charging detection device of USB type C equipment according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for the method for measuring charged of USB type C equipment is provided, It should be noted that step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence execute shown or described step.
Fig. 3 is the flow chart of the method for measuring charged of USB type C equipment according to an embodiment of the present invention, such as Fig. 3 institute Show, this method comprises the following steps:
Step S102 obtains the voltage that signal is configured in USB type C equipment;
Whether the voltage of step S104, detection configuration signal are more than first threshold;
Step S106 forbids in the case where detecting that the voltage of configuration signal is more than first threshold to USB type C Equipment carries out high-voltage charging;
Step S108 allows in the case where detecting that the voltage of configuration signal is less than first threshold to USB type C equipment carries out high-voltage charging.
Through the above steps, the voltage of signal is configured in USB type C equipment by obtaining;The electricity of detection configuration signal Whether pressure is more than first threshold;In the case where detecting that the voltage of configuration signal is more than first threshold, forbid to USB type C equipment carries out high-voltage charging;And in the case where detecting that the voltage of configuration signal is less than first threshold, allow to USB Type C equipment carries out high-voltage charging, solves USB type C equipment in the related technology and carries out configuring pickup electrode when high-voltage charging Technical problem easy to damage realizes the safety for improving the configuration signal of USB type C equipment, and then improves USB type C equipment turns the reliability of USB type A equipment and the technical effect of safety.
In the scheme that step S102 is provided, USB type C equipment is the equipment of one of USB device type.USB Type C equipment interface is that USB organizes the interface newly defined, and following a few class signals are defined in the interface: transmission USB 3.0/ 3.1 high speed signal, TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-;Transmit the high speed signal of USB 2.0, D + and D-;Transmit the signal of power supply, VBUS;Auxiliary signal, SBU1 and SBU2;Configure signal, CC1 and CC2.The embodiment can be with Pass through the voltage on voltage check device detection configuration signal, wherein the embodiment of the present invention to the type of voltage check device not It is specifically limited, for example, voltmeter etc..The embodiment can obtain the voltage of configuration signal in real time, be prevented with reaching with confidence Number overtension when, damage configuration signal.
Step S104 provide scheme in, the embodiment obtain USB type C equipment on configure signal voltage it Afterwards, can be judged whether according to the voltage of the configuration signal can to USB type C equipment carry out high-voltage charging specifically can To judge to configure whether the voltage of signal is more than first threshold, herein it should be noted that first threshold can be according to actually answering Specifically it is arranged or is adjusted with scene, it is 2.04 volts that first threshold, which is optionally arranged, in the embodiment of the present invention, wherein when configuration signal Voltage when being more than 2.04 volts, the cable that can determine that USB type C equipment turns USB type A equipment is non-standard cable, USB type C equipment not can be carried out high-voltage charging at this time, otherwise will damage configuration signal;When the voltage of configuration signal does not surpass When crossing 2.04 volts, the cable that can determine that USB type C equipment turns USB type A equipment is standard cable, at this time USB Type C equipment can carry out high-voltage charging, to reach the speed improved to USB type C equipment charge.Distinguishingly, if USB type C equipment cannot distinguish between the case where voltage of configuration signal is more than 1.31 volts and 2.04 volts, in order to guarantee to configure signal Safety, the embodiment can determine first threshold be 1.31 volts, and when configure signal voltage be more than 1.31 volts when can The cable for determining that USB type C equipment turns USB type A equipment is non-standard cable, and USB type C equipment cannot be at this time Horizontal high voltage charging.
In the scheme that step S106 and step S108 are provided, which is detecting that the voltage of configuration signal is more than the When one threshold value, such as when the voltage for configuring signal is more than 2.04 volts, it can determine that USB type C equipment turns USB type A The cable of equipment is non-standard cable, forbids carrying out high-voltage charging to USB type C equipment at this time;The embodiment is detecting When the voltage of configuration signal is less than first threshold, such as when the voltage for configuring signal is less than 2.04 volts, it can determine USB The cable that type C equipment turns USB type A equipment is standard cable, can permit carry out height to USB type C equipment at this time Pressure charging.
The embodiment passes through whether the voltage for judging to configure signal is more than first threshold, determines whether to USB type C equipment carries out high-voltage charging, can realize without adding any hardware protection device in USB type C equipment to configuration The high voltage protective of signal, not only increases the safety of configuration signal, and reduces costs consumption.
Permit as a kind of optionally embodiment in the case where detecting that the voltage of configuration signal is less than first threshold Perhaps to USB type C equipment carry out high-voltage charging when, the embodiment can with the following steps are included:
Whether the voltage of step S11, detection configuration signal are located in predeterminated voltage section;
Step S12 determines USB type C equipment when detecting that the voltage of configuration signal is located in predeterminated voltage section It is had connected with the charger of USB type A, wherein predeterminated voltage section is [0.25,2.04].
In above-mentioned steps, the predeterminated voltage section in the embodiment can be [0.25,2.04], wherein the section Upper limit voltage value is the first threshold in the embodiment of the present invention, and the lower voltage limit value in the section is USB type C equipment and USB Voltage value when the charger connection of type A on configuration signal.The embodiment is detecting the voltage of configuration signal lower than 0.25 Fu Shi can determine that the charger of USB type C equipment and USB type A are not connected;In the voltage for detecting configuration signal When higher than 2.04 volts, the cable that can determine that USB type C equipment turns USB type A equipment is non-standard cable, is forbidden pair USB type C equipment carries out high-voltage charging;It is in predeterminated voltage section in the voltage for detecting configuration signal, i.e. configuration signal Voltage when being more than or equal to 0.25 volt and being less than or equal to 2.04 volts, can determine filling for USB type C equipment and USB type A Electric appliance is in connection status, and it is standard cable that USB type C equipment, which turns the cable of USB type A equipment, allows at this time pair USB type C equipment carries out high-voltage charging.
As a kind of optional embodiment, when detecting that the voltage of configuration signal is located in predeterminated voltage section, the reality Apply example can with the following steps are included:
Step S111, the voltage subinterval where the voltage of detection configuration signal, wherein each voltage subinterval is corresponding One for characterizing the current value of charging ability;
Step S112, the charging energy of the voltage subinterval detection USB type C equipment where the voltage of configuration signal Power.
In above-mentioned steps, the predeterminated voltage section in the embodiment may include multiple voltage subintervals, each electricity Pressure subinterval can correspond to one for characterizing the current value of charging ability, which can be according to the current value to USB Type C equipment carries out high-voltage charging.The embodiment detect configuration signal voltage be located in predeterminated voltage section when, into One step detects which voltage subinterval it is located at, with according to the corresponding current value in voltage subinterval to USB type C equipment into Row charging, can be reached for USB type C equipment and provide the charging ability of a variety of grades, can more meet different users Demand, and then achieve the purpose that improve flexibility and the practicability for carrying out USB type C equipment high-voltage charging.
As a kind of optional embodiment, step S112 is detected according to the voltage subinterval where the voltage of configuration signal The charging ability of USB type C equipment may comprise steps of:
Step S1121 determines that USB type C is set when the voltage for detecting configuration signal falls within first voltage subinterval It is standby that high-voltage charging is carried out with the first current value, wherein first voltage subinterval is [0.25,0.66], and the first current value is 900 millis Peace;
Step S1122, when detect configuration signal voltage fall within voltage subinterval when, determine USB type C equipment with Second current value carries out high-voltage charging, wherein second voltage subinterval is [0.70,1.23], and the second current value is 1.5 peaces;
Step S1123 determines that USB type C is set when the voltage for detecting configuration signal falls within tertiary voltage subinterval It is standby that high-voltage charging is carried out with third current value, wherein tertiary voltage subinterval is [1.31,2.04], and third current value is 3.0 Peace.
In above-mentioned steps, predeterminated voltage section can be divided into three voltage subintervals, respectively first voltage subinterval [0.25,0.66], second voltage subinterval are [0.70,1.23] and tertiary voltage subinterval is [1.31,2.04], wherein Corresponding first current value in first voltage subinterval [0.25,0.66] is 900 milliamperes;Second voltage subinterval be [0.70, 1.23] corresponding second current value is 1.5 peaces;Tertiary voltage subinterval is that [1.31,2.04] corresponding third current value is 3.0 Peace.It should be noted that the embodiment is a kind of alternative embodiment of the invention, predeterminated voltage section can also carry out other It divides, no longer illustrates one by one herein.The embodiment detect configuration signal voltage be located in predeterminated voltage section when, It can further judge which voltage subinterval it is particularly located in, and according to the corresponding relationship in voltage subinterval and current value Corresponding current value is determined, in order to can fill according to different current values when high pressure is filled to USB type C equipment Electricity.
It should be noted that predeterminated voltage section can according to USB type C equipment and USB type A charger it Between the charge protocol of the Quick Charge supported divided, as shown in the table.USB type C equipment can basis The voltage on signal CC is configured to judge the charging ability at the end charger.
Detection Min voltage Max voltage Threshold
vRa -0.25V 0.15V 0.2V
vRd-Connect 0.25V 2.04V
vRd-USB 0.25V 0.61V 0.66V
vRd-1.5 0.70V 1.16V 1.23V
vRd-3.0 1.31V 2.04V
For example, vRd-1.5 indicates the maximum charge ability at the end charger when the voltage on CC is between 0.7V and 1.23V It is 1.5A.
When using standard cable, the voltage on CC is 0.25 between 0.66V, and USB type C equipment may determine that line Cable is standard cable, and vRd-USB is indicated can be normal through Quick charge agreement application high-voltage charging (vbus is greater than 5V).
When using non-standard cable, the voltage on CC is greater than 2.04V, and USB type C equipment may determine that cable is non- Standard cable, USB type C equipment cannot pass through quick Charge agreement application high-voltage charging.
It should be noted that if there is USB type C equipment cannot distinguish between higher than 1.31V and be higher than two kinds of feelings of 2.04V Condition, for the sake of security, when the voltage of CC is greater than 1.31V, USB type C equipment may determine that cable is non-standard cable, USB type C equipment cannot pass through quick Charge agreement application high-voltage charging.
The method for measuring charged of the USB type C equipment of the embodiment of the present invention does not need to add in USB type C equipment Add any protection device that can realize to the high voltage protective of CC signal, has saved cost, improved USB type C equipment Security performance.
According to embodiments of the present invention, the device for additionally providing a kind of charging detection device of USB type C equipment is implemented Example, it should be noted that the charging detection device of the USB type C equipment can be used for executing the USB in the embodiment of the present invention The method for measuring charged of the method for measuring charged of type C equipment, the USB type C equipment in the embodiment of the present invention can be at this It is executed in the charging detection device of USB type C equipment.
Fig. 4 is the schematic diagram of the charging detection device of USB type C equipment according to an embodiment of the present invention, such as Fig. 4 institute Show, the apparatus may include:
Acquiring unit 22, for obtaining the voltage for configuring signal in USB type C equipment;First detection unit 24, is used for Whether the voltage of detection configuration signal is more than first threshold;Forbid unit 26, for detect configuration signal voltage be more than In the case where first threshold, forbid carrying out high-voltage charging to USB type C equipment;And allow unit 28, for detecting In the case that the voltage of configuration signal is less than first threshold, allow to carry out high-voltage charging to USB type C equipment.
It should be noted that the acquiring unit 22 in the embodiment can be used for executing the step in the embodiment of the present application S102, the first detection unit 24 in the embodiment can be used for executing the step S104 in the embodiment of the present application, the embodiment In forbid unit 26 to can be used for executing the step S106 in the embodiment of the present application, the permission unit 28 in the embodiment can be with For executing the step S108 in the embodiment of the present application.The example and application scenarios phase that above-mentioned module is realized with corresponding step Together, but it is not limited to the above embodiments disclosure of that.
In acquiring unit 22, USB type C equipment is the equipment of one of USB device type.USB type C is set Standby interface is that USB organizes the interface newly defined, and following a few class signals are defined in the interface: the height of transmission USB 3.0/3.1 Fast signal, TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-;Transmit the high speed signal of USB 2.0, D+ and D-; Transmit the signal of power supply, VBUS;Auxiliary signal, SBU1 and SBU2;Configure signal, CC1 and CC2.The embodiment can pass through electricity Press the voltage on detection device detection configuration signal, wherein the embodiment of the present invention does not do specifically the type of voltage check device It limits, for example, voltmeter etc..The embodiment can obtain the voltage of configuration signal in real time, to reach the electricity for preventing configuration signal When pressing through high, damage configuration signal.
In first detection unit 24, which is obtained in USB type C equipment using acquiring unit 22 with confidence Number voltage after, can use that first detection unit 24 judges whether according to the voltage of the configuration signal can be to USB type C equipment carries out high-voltage charging, specifically, it can be determined that whether the voltage for configuring signal is more than first threshold, needs to illustrate herein , first threshold specifically can be arranged or adjust according to practical application scene, and the embodiment of the present invention is optionally arranged first Threshold value is 2.04 volts, wherein when the voltage for configuring signal is more than 2.04 volts, can determine that USB type C equipment turns USB The cable of type A equipment is non-standard cable, and USB type C equipment not can be carried out high-voltage charging at this time, otherwise will damage Configure signal;When the voltage for configuring signal is less than 2.04 volts, it can determine that USB type C equipment turns USB type A and sets Standby cable is standard cable, and USB type C equipment can carry out high-voltage charging at this time, is improved with reaching to USB type C The speed of equipment charge.Distinguishingly, if USB type C equipment cannot distinguish between configuration signal voltage be more than 1.31 volts with 2.04 volts of the case where, in order to guarantee to configure the safety of signal, which can determine that first threshold is 1.31 volts, and when configuration The voltage of signal can determine that USB type C equipment turns USB type A equipment cable when being more than 1.31 volts is non-standard Cable, USB type C equipment not can be carried out high-voltage charging at this time.
Forbidding unit 26 and allowing in unit 28, which is detecting configuration signal using first detection unit 24 Voltage be more than first threshold when, such as when configure signal voltage be more than 2.04 volts when, can determine USB type C equipment The cable for turning USB type A equipment is non-standard cable, can use unit 26 is forbidden to forbid to USB type C equipment at this time Carry out high-voltage charging;The embodiment is less than first threshold in the voltage for detecting configuration signal using first detection unit 24 When, such as when the voltage for configuring signal is less than 2.04 volts, can determine that USB type C equipment turns USB type A equipment Cable be standard cable, can use at this time allow unit 28 allow to USB type C equipment carry out high-voltage charging.
The embodiment passes through whether the voltage for judging to configure signal is more than first threshold, determines whether to USB type C equipment carries out high-voltage charging, can realize without adding any hardware protection device in USB type C equipment to configuration The high voltage protective of signal, not only increases the safety of configuration signal, and reduces costs consumption.
It can also include: second detection unit as a kind of optionally embodiment, the embodiment, for detecting configuration In the case that the voltage of signal is less than first threshold, when allowing to carry out high-voltage charging to USB type C equipment, detection configuration Whether the voltage of signal is located in predeterminated voltage section;Determination unit, for detecting that it is default that the voltage of configuration signal is located at When in voltage range, determine that USB type C equipment and the charger of USB type A have connected, wherein predeterminated voltage section is [0.25,2.04].
In said units, the predeterminated voltage section in the embodiment can be [0.25,2.04], wherein the section Upper limit voltage value is the first threshold in the embodiment of the present invention, and the lower voltage limit value in the section is USB type C equipment and USB Voltage value when the charger connection of type A on configuration signal.The embodiment is detecting the voltage of configuration signal lower than 0.25 Fu Shi can determine that the charger of USB type C equipment and USB type A are not connected;In the voltage for detecting configuration signal When higher than 2.04 volts, the cable that can determine that USB type C equipment turns USB type A equipment is non-standard cable, is forbidden pair USB type C equipment carries out high-voltage charging;It is in predeterminated voltage section in the voltage for detecting configuration signal, i.e. configuration signal Voltage when being more than or equal to 0.25 volt and being less than or equal to 2.04 volts, can determine filling for USB type C equipment and USB type A Electric appliance is in connection status, and it is standard cable that USB type C equipment, which turns the cable of USB type A equipment, allows at this time pair USB type C equipment carries out high-voltage charging.
As a kind of optional embodiment, which can also include: third detection unit, for detecting configuration Voltage subinterval when the voltage of signal is located in predeterminated voltage section, where the voltage of detection configuration signal, wherein each Corresponding one of voltage subinterval is for characterizing the current value of charging ability;And the 4th detection unit, for according to configuration signal Voltage where voltage subinterval detection USB type C equipment charging ability.
In said units, the predeterminated voltage section in the embodiment may include multiple voltage subintervals, each electricity Pressure subinterval can correspond to one for characterizing the current value of charging ability, which can be according to the current value to USB Type C equipment carries out high-voltage charging.The embodiment detect configuration signal voltage be located in predeterminated voltage section when, into One step detects which voltage subinterval it is located at, with according to the corresponding current value in voltage subinterval to USB type C equipment into Row charging, can be reached for USB type C equipment and provide the charging ability of a variety of grades, can more meet different users Demand, and then achieve the purpose that improve flexibility and the practicability for carrying out USB type C equipment high-voltage charging.
As a kind of optional embodiment, the 4th detection unit may include module:
First determining module, for determining USB when the voltage for detecting configuration signal falls within first voltage subinterval Type C equipment carries out high-voltage charging with the first current value, wherein first voltage subinterval is [0.25,0.66], the first electric current Value is 900 milliamperes;
Second determining module, for determining USB type when the voltage for detecting configuration signal falls within voltage subinterval C equipment carries out high-voltage charging with the second current value, wherein second voltage subinterval is [0.70,1.23], and the second current value is 1.5 peace;
Third determining module, for determining USB when the voltage for detecting configuration signal falls within tertiary voltage subinterval Type C equipment carries out high-voltage charging with third current value, wherein tertiary voltage subinterval is [1.31,2.04], third electric current Value is 3.0 peaces.
In above-mentioned module, predeterminated voltage section can be divided into three voltage subintervals, respectively first voltage subinterval [0.25,0.66], second voltage subinterval are [0.70,1.23] and tertiary voltage subinterval is [1.31,2.04], wherein Corresponding first current value in first voltage subinterval [0.25,0.66] is 900 milliamperes;Second voltage subinterval be [0.70, 1.23] corresponding second current value is 1.5 peaces;Tertiary voltage subinterval is that [1.31,2.04] corresponding third current value is 3.0 Peace.It should be noted that the embodiment is a kind of alternative embodiment of the invention, predeterminated voltage section can also carry out other It divides, no longer illustrates one by one herein.The embodiment detect configuration signal voltage be located in predeterminated voltage section when, It can further judge which voltage subinterval it is particularly located in, and according to the corresponding relationship in voltage subinterval and current value Corresponding current value is determined, in order to can fill according to different current values when high pressure is filled to USB type C equipment Electricity.
The charging detection device of the USB type C equipment of the embodiment is able to solve USB type C in the related technology and sets It is standby to carry out the technical problem that configuration pickup electrode is easy to damage when high-voltage charging, realize the configuration signal for improving USB type C equipment Safety, and then improve USB type C equipment turn the reliability of USB type A equipment and the technical effect of safety.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (6)

1. a kind of method for measuring charged of USB type C equipment characterized by comprising
Obtain the voltage that signal is configured in USB type C equipment;
Whether the voltage for detecting the configuration signal is more than first threshold;
In the case where detecting that the voltage of the configuration signal is more than the first threshold, forbid setting the USB type C It is standby to carry out high-voltage charging;And
In the case where detecting that the voltage of the configuration signal is less than the first threshold, allow to the USB type C Equipment carries out high-voltage charging;
Wherein, in the case where detecting that the voltage of the configuration signal is less than the first threshold, allow to the USB When type C equipment carries out high-voltage charging, the method also includes: whether the voltage of the detection configuration signal is located at default electricity In pressure area;When detecting that the voltage of the configuration signal is located in the predeterminated voltage section, the USB type is determined C equipment and the charger of the USB type A have connected, wherein the predeterminated voltage section is [0.25,2.04];
Wherein, when detecting that the voltage of the configuration signal is located in the predeterminated voltage section, the method also includes: inspection Survey the voltage subinterval where the voltage of the configuration signal, wherein corresponding one of each voltage subinterval is filled for characterizing The current value of electric energy power;And the USB type C is detected according to the voltage subinterval where the voltage of the configuration signal and is set Standby charging ability.
2. the method according to claim 1, wherein according to the voltage sub-district where the voltage of the configuration signal Between detect the charging ability of the USB type C equipment and include:
When the voltage for detecting the configuration signal falls within first voltage subinterval, determine the USB type C equipment with the One current value carries out high-voltage charging, wherein the first voltage subinterval is [0.25,0.66], and first current value is 900 Milliampere;
When the voltage for detecting the configuration signal falls within second voltage subinterval, determine the USB type C equipment with the Two current values carry out high-voltage charging, wherein the second voltage subinterval is [0.70,1.23], and second current value is 1.5 Peace;
When the voltage for detecting the configuration signal falls within tertiary voltage subinterval, determine the USB type C equipment with the Three current values carry out high-voltage charging, wherein the tertiary voltage subinterval is [1.31,2.04], and the third current value is 3.0 Peace.
3. method according to any one of claim 1 to 2, which is characterized in that wherein, the first threshold is 2.04 Volt.
4. a kind of charging detection device of USB type C equipment characterized by comprising
Acquiring unit, for obtaining the voltage for configuring signal in USB type C equipment;
First detection unit, whether the voltage for detecting the configuration signal is more than first threshold;
Forbid unit, for forbidding to institute in the case where detecting that the voltage of the configuration signal is more than the first threshold It states USB type C equipment and carries out high-voltage charging;And
Allow unit, for allowing pair in the case where detecting that the voltage of the configuration signal is less than the first threshold The USB type C equipment carries out high-voltage charging;
Wherein, described device further include: second detection unit, for detecting that it is described that the voltage of the configuration signal is less than In the case where first threshold, when allowing to carry out high-voltage charging to the USB type C equipment, the electricity of the configuration signal is detected Whether pressure is located in predeterminated voltage section;Determination unit, for detecting that it is described default that the voltage of the configuration signal is located at When in voltage range, determine that the USB type C equipment and the charger of the USB type A have connected, wherein described pre- If voltage range is [0.25,2.04];
Wherein, described device further include: third detection unit, for detecting that it is described pre- that the voltage of the configuration signal is located at If when in voltage range, detecting the voltage subinterval where the voltage of the configuration signal, wherein each voltage subinterval pair Answer the current value for being used to characterize charging ability;And the 4th detection unit, for the voltage institute according to the configuration signal Voltage subinterval detect the charging ability of the USB type C equipment.
5. device according to claim 4, which is characterized in that the 4th detection unit includes:
First determining module, described in determining when the voltage for detecting the configuration signal falls within first voltage subinterval USB type C equipment carries out high-voltage charging with the first current value, wherein and the first voltage subinterval is [0.25,0.66], First current value is 900 milliamperes;
Second determining module, described in determining when the voltage for detecting the configuration signal falls within second voltage subinterval USB type C equipment carries out high-voltage charging with the second current value, wherein and the second voltage subinterval is [0.70,1.23], Second current value is 1.5 peaces;
Third determining module, described in determining when the voltage for detecting the configuration signal falls within tertiary voltage subinterval USB type C equipment carries out high-voltage charging with third current value, wherein and the tertiary voltage subinterval is [1.31,2.04], The third current value is 3.0 peaces.
6. the device according to any one of claim 4 to 5, which is characterized in that wherein, the first threshold is 2.04 Volt.
CN201610620650.5A 2016-07-29 2016-07-29 The method for measuring charged and device of USB type C equipment Active CN106451594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610620650.5A CN106451594B (en) 2016-07-29 2016-07-29 The method for measuring charged and device of USB type C equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610620650.5A CN106451594B (en) 2016-07-29 2016-07-29 The method for measuring charged and device of USB type C equipment

Publications (2)

Publication Number Publication Date
CN106451594A CN106451594A (en) 2017-02-22
CN106451594B true CN106451594B (en) 2019-04-09

Family

ID=58184370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610620650.5A Active CN106451594B (en) 2016-07-29 2016-07-29 The method for measuring charged and device of USB type C equipment

Country Status (1)

Country Link
CN (1) CN106451594B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549459B (en) * 2016-12-29 2019-12-31 硅谷数模半导体(北京)有限公司 Determination method of charging voltage and mobile terminal
TWI641221B (en) * 2017-05-08 2018-11-11 聯發科技股份有限公司 Interface circuit of an electronic device
FR3070797A1 (en) * 2017-09-01 2019-03-08 Stmicroelectronics (Rousset) Sas HIGH VOLTAGE PROTECTION CIRCUIT FOR USB TYPE C RECEIVER
CN110445094A (en) * 2018-05-04 2019-11-12 立锜科技股份有限公司 Adapt to the power transmission system of multi-transmission interface specification and its by electricity side's circuit
CN108663590A (en) * 2018-05-15 2018-10-16 硅谷数模半导体(北京)有限公司 The test device and method of USB-C equipment
JP7148293B2 (en) * 2018-06-29 2022-10-05 キヤノン株式会社 Electronic device, electronic device control method, and imaging device
CN111930431B (en) * 2020-07-10 2024-04-05 深圳市广和通无线股份有限公司 Mobile terminal, control method thereof, computer device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6479968B1 (en) * 2000-09-27 2002-11-12 Motorola, Inc. Method of charging a battery utilizing dynamic cable compensation
US6859014B2 (en) * 2002-12-17 2005-02-22 Motorola, Inc. Method for rapid charge control in lithium batteries
CN104901401A (en) * 2015-05-22 2015-09-09 深圳天珑无线科技有限公司 Charging method and charging system
CN205377389U (en) * 2016-02-01 2016-07-06 珠海格力电器股份有限公司 Quick charging device of mobile terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6479968B1 (en) * 2000-09-27 2002-11-12 Motorola, Inc. Method of charging a battery utilizing dynamic cable compensation
US6859014B2 (en) * 2002-12-17 2005-02-22 Motorola, Inc. Method for rapid charge control in lithium batteries
CN104901401A (en) * 2015-05-22 2015-09-09 深圳天珑无线科技有限公司 Charging method and charging system
CN205377389U (en) * 2016-02-01 2016-07-06 珠海格力电器股份有限公司 Quick charging device of mobile terminal and system

Also Published As

Publication number Publication date
CN106451594A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106451594B (en) The method for measuring charged and device of USB type C equipment
CN106207687B (en) The conversion method and device of data-interface
CN106030961B (en) The method of power supply adaptor, terminal and processing charge circuit impedance exception
US10424954B2 (en) Power adaptor, terminal and charging system
US11807105B1 (en) Mixed-level electric vehicle supply equipment (EVSE) and associated charging methods for multi-type electric vehicles and non-electric vehicle devices
CN106165236B (en) The processing method of terminal, power supply adaptor and charging exception
CN104701937B (en) charging method, terminal device and adapter
US9785214B2 (en) System and method for compensating for cable voltage loss at various output voltages
CN104009265B (en) A kind of battery activated method and apparatus of mobile terminal
CN109768601A (en) Power supply adaptor and terminal
CN106030962B (en) Fast charge method, power supply adaptor and mobile terminal
CN104467118A (en) Charging method and device, charger, equipment to be charged and charging system
CN107005062A (en) Charging method, mobile terminal and charging device
CN107086623B (en) A kind of charging method and charging unit of charging unit
CN104426194A (en) Charging method and charging equipment
US20200033385A1 (en) Dead front connector having a voltage indicator
CN108496289B (en) Battery charging control method, charging equipment, user terminal equipment and system
CN106972558B (en) Charging control method and electronic equipment
CN109148986A (en) A kind of charging method and device
CN105406554B (en) A kind of charge control method and battery charge controller
CN106199222A (en) A kind of contactless near field region electricity-testing method and device
WO2014078242A4 (en) Apparatus and method for discharging a battery and determining a condition of the battery
CN104793147A (en) Battery, electronic equipment and method for detecting standard battery of electronic equipment
CN105743180B (en) Method and electronic equipment for charging for electronic equipment
CN108490243A (en) Overhead transmission line type electroscopic device and blocking device

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