Summary of the invention
In order to solve the problem, the present invention proposes a kind of charging identification equipment and recognition methods thereof.
The present invention proposes a kind of charging identification equipment, it comprises: charger, for obtaining charging voltage from extraneous power supply; Data wire, is connected with charger; Mobile terminal, is connected with data wire, and obtains charging voltage by data wire from charger; Wherein, mobile terminal comprises identification circuit, identification circuit for identifying charger or/and whether data wire mates with mobile terminal.
Wherein, identification circuit comprises identification chip, and the first end of identification chip is connected with the identification end of charger by data wire, and whether identification chip mates with mobile terminal according to the first voltage identification charger of first end; Second end of identification chip is connected with the identification end of data wire, and is connected with the first reference voltage by the first resistance, and whether identification chip mates with mobile terminal according to the second voltage identification data wire of the second end.
Wherein, charger comprises the second resistance and the 3rd resistance, one end of second resistance is connected with the second reference voltage, the other end of the second resistance is connected with one end of the 3rd resistance, the other end ground connection of the 3rd resistance, the identification end of charger is connected between the second resistance and the 3rd resistance, and the first voltage meets following formula:
Wherein, V1be the first voltage, VCC is the second reference voltage, and R2 is the resistance of the second resistance, and R3 is the resistance of the 3rd resistance.
Wherein, data wire comprises the 4th resistance, and the identification end of data wire is by the 4th grounding through resistance, and the second voltage meets following formula:
Wherein, V2be the second voltage, VDD is the first reference voltage, and R1 is the resistance of the first resistance, and R4 is the resistance of the 4th resistance.
Wherein, whether identification chip mates with mobile terminal according to the first voltage identification charger of first end and comprises: the first voltage and the first threshold preset compare by identification chip; If the first voltage equals first threshold, then identification chip identification charger mates with mobile terminal; If the first voltage is not equal to first threshold, then identification chip identification charger does not mate with mobile terminal, and produces the first information; Whether identification chip mates with mobile terminal according to the second voltage identification data wire of the second end and comprises: the second voltage and the Second Threshold preset compare by identification chip; If the second voltage equals Second Threshold, then identification chip identification data line mates with mobile terminal; If the second voltage is not equal to Second Threshold, then identification chip identification data line does not mate with mobile terminal, and produces the second information.
Wherein, mobile terminal also comprises charging management chip, the 5th resistance and battery, the input of charging management chip obtains charging voltage by data wire from charger, the output of charging management chip is connected with battery by the 5th resistance, charging management chip is by the charging current of the 5th resistance detection battery, and judge whether charging current is 100% with the ratio of the current threshold preset, and if so, then charger and data wire mate with mobile terminal.
The invention allows for a kind of recognition methods, this recognition methods is applied to charging identification equipment, charging identification equipment comprises charger, data wire and mobile terminal, and this recognition methods comprises: mobile terminal identification charger is or/and whether data wire mates with mobile terminal; If not, then mobile terminal produces information.
Wherein, mobile terminal identification charger is or/and whether data wire mates with mobile terminal comprises: whether mobile terminal obtains the first voltage by data wire from charger, and mate with mobile terminal according to the first voltage identification charger; Whether mobile terminal obtains the second voltage from data wire, and mate with this terminal mobile according to the second voltage identification data wire.
Wherein, whether mate with mobile terminal according to the first voltage identification charger and comprise: the first voltage and the first threshold preset compare by mobile terminal; If the first voltage equals first threshold, then charger mates with mobile terminal; If the first voltage is not equal to first threshold, then charger does not mate with mobile terminal, and mobile terminal produces the first information; Whether mate with this terminal mobile according to the second voltage identification data wire and comprise: the second voltage and default Second Threshold compare by mobile terminal; If the second voltage equals Second Threshold, then data wire mates with mobile terminal; If the second voltage is not equal to Second Threshold, then data wire does not mate with mobile terminal, and mobile terminal produces the second information.
Wherein, mobile terminal identification charger is or/and whether data wire mates with mobile terminal comprises: the charging current of acquisition for mobile terminal mobile terminal charging, and judges whether charging current is 100% with the ratio of the current threshold preset; If so, then mobile terminal identification charger and data wire all mate with mobile terminal.
Pass through such scheme, the invention has the beneficial effects as follows: the present invention obtains charging voltage by charger from extraneous power supply, data wire is connected with charger, mobile terminal obtains charging voltage by data wire from charger, wherein the identification circuit identification charger of mobile terminal is or/and whether data wire mates with mobile terminal, thus the charger of reminding user coupling is or/and data wire charges again.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under performing creative labour prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the structural representation of the charging identification equipment of first embodiment of the invention.As shown in Figure 1, the charging identification equipment 1 that the present embodiment discloses comprises: charger 10, data wire 11 and mobile terminal 12, wherein, charger 10 is connected with extraneous power supply, for obtaining charging voltage Vbus from extraneous power supply, data wire 11 is connected with charger 10, mobile terminal 12 is connected with data wire 11, for obtaining charging voltage Vbus by data wire 11 from charger 10, mobile terminal 12 comprises identification circuit 13, for identifying the charger 10 be connected with mobile terminal 12 is or/and whether data wire 11 matches with mobile terminal 12.
In the present embodiment, charger 10 and extraneous power supply are electrically connected, for obtaining charging voltage Vbus from extraneous power supply.Charger 10 for pressing Ni-Cd battery charger, nickel-metal hydride battery charger, nickel-zinc cell charger, lead-acid battery charger, lithium battery charger or LiFePO4 charger etc. that rechargeable battery divides, or can press pure DC charger or the pulsating direct current charger of output type division.Charger 10 can be connected with the contact of extraneous power supply by Direct Plug-In or Table top type.
Wherein, data wire 11 is connected with charger 10, and such as, data wire 11 connects by USB (Universal Serial BUS, USB are called for short USB in full) interface with charger 10.Mobile terminal 12 is connected with data wire 11, for obtaining charging voltage Vbus by data wire 11 from charger 10, due to standardization trend, the charging inlet of existing mobile terminal 12 is mostly unified uses Micro-USB interface, both can realize charge function, and also can realize transfer of data.And, the charging inlet of mobile terminal 12 due to standardization, therefore user more renew mobile terminal 12 time, original charger 10, data wire 11 need not be changed, and then reduce costs, reduce electronic waste, be beneficial to environmental protection.
Wherein, mobile terminal 12 also comprises identification circuit 13, identification circuit 13 for identifying charger 10 or/and whether data wire 11 mates with mobile terminal 12.The charging inlet of mobile terminal 12 due to standardization, people usually use the data wire 11 of different model and charger 10 to charge to mobile terminal 12, mobile terminal 12 is by identification circuit 13, and identifiable design goes out charger 10 or/and whether data wire 11 matches with mobile terminal 12.Charger 10 is recognized or/and after data wire 11 do not mate with mobile terminal 12, mobile terminal 12 produces information, and the charger suitable with reminding user to replace is or/and data wire charges again at identification circuit 13.Information by showing charger 10 or/and data wire 11 does not mate with mobile terminal 12 on the screen of mobile terminal 12, or can carry out reminding user by speech play, also can be the setting that other serve as warning.
As shown in Figure 2, mobile terminal 12 comprises charging management chip PMU, inductance L, battery BAT and the 5th resistance R.Wherein, charging management chip PMU comprises input VBUS, output SW, BOOT end, CSIN end and CSOUT end.Input VBUS obtains charging voltage Vbus by data wire 11 from charger 10; Output SW is connected by inductance L one end with the 5th resistance R, and the other end of the 5th resistance R is connected with the positive pole of battery BAT, the minus earth of battery BAT.
Wherein, mobile terminal 12 also comprises electric capacity C1, electric capacity C2, electric capacity C3, electric capacity C4, electric capacity C5 and electric capacity C6.One end of electric capacity C1 links with input VBUS, the other end ground connection of electric capacity C1; One end of electric capacity C2 is connected with output SW, and the other end of electric capacity C2 is held with BOOT and is connected; One end of electric capacity C3 is connected between inductance L and the 5th resistance R, the other end ground connection of electric capacity C3; One end of electric capacity C4 is connected between the 5th resistance R and battery BAT, the other end ground connection of electric capacity C4; One end of electric capacity C5 is connected between the 5th resistance R and battery BAT, the other end ground connection of electric capacity C5; One end of electric capacity C6 is connected between the 5th resistance R and battery BAT, the other end ground connection of electric capacity C6.
Wherein, charging management chip PMU detects the charging current I of battery BAT by the 5th resistance R.Namely charging management chip PMU is connected between inductance L and the 5th resistance R by CSIN end, and CSOUT end is connected between the 5th resistance R and battery BAT, to obtain the both end voltage of the 5th resistance R.Charging management chip PMU holds the voltage of one end of detection the 5th resistance R to be V3 by CSIN, the voltage being held the other end of detection the 5th resistance R by CSOUT is that V4, charging current I and the 5th resistance R meet following formula:
Charging management chip PMU also judges whether charging current I is 100% with the ratio of the current threshold I1 preset, and charging current I and the ratio of the current threshold I1 preset is presented on the screen of mobile terminal 12 by the form of percentage.If so, then charging management chip PMU judges that charger 10 and data wire 11 mate with mobile terminal 12; If not, then charging management chip PMU judges that charger 10 and/data wire 11 do not mate with mobile terminal 12.
When charging management chip PMU judges charger 10 and/data wire 11 does not mate with mobile terminal 12, charging identification equipment 1 identifies charger 10 or/and data wire 11 does not mate with mobile terminal 12 by the identification circuit 13 of mobile terminal 12.
As shown in Figure 3, identification circuit 13 comprises identification chip 131 and the first resistance R1, the first end ADC1 of identification chip 131 is connected with the identification end D-of charger 10 by data wire 11, according to the first voltage V1 of first end ADC1, identification chip 131 identifies whether charger 10 mates with mobile terminal 12; Second end ADC2 of identification chip 131 is connected with the identification end ID of data wire 11, and is linked with the first reference voltage VDD by the first resistance R1, and whether identification chip 131 mates with mobile terminal 12 according to the second voltage V2 identification data line 11 of the second end ADC2.
Wherein, identification circuit 13 also comprises the second resistance R2 and the 3rd resistance R3 that are arranged on charger 10, and namely charger 10 comprises the second resistance R2 and the 3rd resistance R3.One end of second resistance R2 is connected with the second reference voltage VCC, the other end of the second resistance R2 is connected with one end of the 3rd resistance R3, the other end ground connection of the 3rd resistance R3, the identification end D-of charger 10 is connected between the second resistance R2 and the 3rd resistance R3, and the first voltage V1 meets following formula:
Wherein, the second reference voltage VCC is preferably charging voltage Vbus.
Identification circuit 13 also comprises the 4th resistance R4 being arranged on data wire 11, and namely data wire 11 comprises the 4th resistance R4.The identification end ID of data wire 11 is by the 4th resistance R4 ground connection, and the second voltage V2 meets following formula:
Wherein, according to the first voltage V1 of first end ADC1, identification chip 131 identifies whether charger 10 mates with mobile terminal 12, particularly: the first voltage V1 and the first threshold V5 preset compare by identification chip 131; If the first voltage V1 equals first threshold V5, then identification chip 131 identifies that charger 10 mates with mobile terminal 12; If the first voltage V1 is not equal to first threshold V5, then identification chip 131 identifies that charger 10 does not mate with mobile terminal 12, and produce the first information, and in display screen display first information of mobile terminal 12, change the charger of standard configuration in time with reminding user; Also the charger of reminding user to replace standard configurations can be warned by the speech play of mobile terminal 12 or other.
Whether identification chip 131 mates with mobile terminal 12 according to the second voltage V2 identification data line 11 of the second end ADC2, particularly: the second voltage V2 and the Second Threshold V6 preset compare by identification chip 131; If the second voltage V2 equals Second Threshold V6, then identification chip 131 identification data line 11 mates with mobile terminal 12; If the second voltage V2 is not equal to Second Threshold V6, then identification chip 131 identification data line 11 does not mate with mobile terminal 12, and produce the second information, and in display screen display second information of mobile terminal 12, change the data wire of standard configuration in time with reminding user; Also the data wire of reminding user to replace standard configurations can be warned by the speech play of mobile terminal 12 or other.
The present invention also provides a kind of recognition methods, and it is described on the basis of charging identification equipment 1.As shown in Figure 4, the recognition methods that the present embodiment discloses is applied to charging identification equipment 1, and recognition methods comprises:
S401: mobile terminal 12 identifies charger 10 or/and whether data wire 11 mates with mobile terminal 12;
S402: if not, then mobile terminal 12 produces information.
In S401, mobile terminal 12 also obtains the charging current I that mobile terminal 12 charges, and judges whether charging current I is 100% with the ratio of the current threshold I1 preset; If so, then mobile terminal 12 identifies that charger 10 and data wire 11 all mate with mobile terminal 12.
Mobile terminal 12 obtains the first voltage V1 by data wire 11 from charger 10, and identifies whether charger 10 mates with mobile terminal 11 according to the first voltage V1; Wherein, the first voltage V1 and the first threshold V5 preset compare by mobile terminal 12; If the first voltage V1 equals first threshold V5, then charger 10 mates with mobile terminal 12; If the first voltage V1 is not equal to first threshold V5, then charger 10 does not mate with mobile terminal 12, and mobile terminal 12 produces the first information.
Whether mobile terminal 12 obtains the second voltage V2 from data wire 11, and mate with this terminal 12 mobile according to the second voltage V2 identification data line 11; Wherein, the second voltage V2 and the Second Threshold V6 preset compare by mobile terminal 12; If the second voltage V2 equals Second Threshold V6, then data wire 11 mates with mobile terminal 12; If the second voltage V2 is not equal to Second Threshold V6, then data wire 11 does not mate with mobile terminal 12, and mobile terminal 12 produces the second information.
In sum, the present invention obtains charging voltage by charger 10 from extraneous power supply, data wire 11 is connected with charger 10, mobile terminal 12 obtains charging voltage by data wire 11 from charger 10, wherein the identification circuit 13 of mobile terminal 12 identifies charger 10 or/and whether data wire 11 mates with mobile terminal 12, thus reminding user selects the charger 10 of coupling or/and data wire 11 charges again.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.