CN108023376B - Charging wire, charging assembly, charging method and device - Google Patents

Charging wire, charging assembly, charging method and device Download PDF

Info

Publication number
CN108023376B
CN108023376B CN201711090071.5A CN201711090071A CN108023376B CN 108023376 B CN108023376 B CN 108023376B CN 201711090071 A CN201711090071 A CN 201711090071A CN 108023376 B CN108023376 B CN 108023376B
Authority
CN
China
Prior art keywords
charging
pin
connector
circuit
charged
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
CN201711090071.5A
Other languages
Chinese (zh)
Other versions
CN108023376A (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.)
Joyetech Europe Holding GmbH
Original Assignee
Joyetech Europe Holding GmbH
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 Joyetech Europe Holding GmbH filed Critical Joyetech Europe Holding GmbH
Priority to CN201711090071.5A priority Critical patent/CN108023376B/en
Publication of CN108023376A publication Critical patent/CN108023376A/en
Application granted granted Critical
Publication of CN108023376B publication Critical patent/CN108023376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or 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
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/342The other DC source being a battery actively interacting with the first one, i.e. battery to battery charging

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging wire, a charging assembly, a charging method and a charging device, and belongs to the technical field of electronics. The charging wire comprises a first connector and a second connector, and the second connector is used for being connected with equipment to be charged; the first connector comprises a grounding pin and a first ID pin, and the grounding pin is electrically connected with the first ID pin; after the first connector is connected with an interface of the mobile equipment, a second ID pin in the interface is connected with the first ID pin, so that the second ID pin is grounded, and the mobile equipment outputs electric energy through the interface. The problem of the user go out and can not charge when not carrying the treasured that charges in the correlation technique electron cigarette is solved.

Description

Charging wire, charging assembly, charging method and device
Technical Field
The invention relates to the technical field of electronics, in particular to a charging wire, a charging assembly, a charging method and a charging device.
Background
The electronic cigarette is an electronic product simulating cigarettes, tobacco tar in a cigarette cartridge is heated through an atomizing device, the tobacco tar is atomized to generate smoke, and the smoke can be inhaled into a human body from a cigarette holder by a user, so that the aim of simulating smoking is fulfilled.
At present, when the electric quantity of electron cigarette is lower, the user generally uses the treasured that charges or the direct connection power charges for the electron cigarette. However, when the user goes out and does not carry the charger, the electronic cigarette cannot be charged.
Disclosure of Invention
In order to solve the problem that the electronic cigarette cannot be charged when a user goes out and does not carry a charger in the prior art, the embodiment of the invention provides a charging line, a charging assembly, a charging method and a charging device. The technical scheme is as follows:
in a first aspect, a charging cable is provided, the charging cable includes a first connector and a second connector, the second connector is used for connecting with a device to be charged;
the first connector comprises a grounding pin and a first ID pin, wherein the grounding pin is electrically connected with the first ID pin;
after the first connector is connected with an interface of the mobile equipment, a second ID pin in the interface is connected with the first ID pin, so that the second ID pin is grounded, and the mobile equipment outputs electric energy through the interface.
Optionally, a first mechanical switch is disposed on the charging line, and the grounding pin is electrically connected to the first ID pin through the first mechanical switch;
alternatively, the first and second electrodes may be,
the grounding pin is connected with the first ID pin through an electronic switch, and a control end of the electronic switch is connected with an MCU (micro controller Unit) in the charging wire.
Optionally, when receiving a switching signal or a switching instruction, the MCU controls the electronic switch to switch between an on state and an off state, where the switching instruction is sent by the mobile device or the device to be charged.
Optionally, the charging line further includes an energy storage unit, and a voltage input end of the energy storage unit is electrically connected to the first power pin of the first connector.
Optionally, a voltage output end of the energy storage unit is electrically connected to a second power pin of the second connector; and/or the presence of a gas in the gas,
the voltage output end of the energy storage unit is connected with the MCU in the charging wire, and the energy storage unit supplies power to the MCU through the voltage output end.
Optionally, at least one of a second mechanical switch, a third mechanical switch and a change-over switch is arranged in the charging line; wherein:
one end of the second mechanical switch is connected with the voltage output end of the energy storage unit, and the other end of the second mechanical switch is connected with a second power pin of the second connector;
one end of the third mechanical switch is connected with the voltage input end, and the other end of the third mechanical switch is connected with the first power supply pin;
one end of the change-over switch is connected with the first power supply pin, and the other end of the change-over switch is used for switching connection between a second power supply pin of the second connector and the voltage input end.
Optionally, the MCU in the charging line controls the on/off of the first circuit and/or the second circuit and/or the third circuit according to the reference electric quantity information; and/or the presence of a gas in the gas,
the MCU receives a control instruction sent by the mobile equipment or the equipment to be charged, and controls the on-off of the first circuit and/or the second circuit and/or the third circuit according to the control instruction, wherein the control instruction is generated according to the reference electric quantity information;
the reference electric quantity information comprises at least one of the residual electric quantity of the equipment to be charged, the residual electric quantity of the energy storage unit and the residual electric quantity of the mobile equipment, the first circuit is a circuit between the voltage input end of the energy storage unit and the first power supply pin, the second circuit is a circuit between the voltage output end of the energy storage unit and the second power supply pin of the second connector, and the third circuit is a circuit between the first power supply pin and the second power supply pin.
Optionally, when detecting that the first connector is suspended, the MCU controls a second circuit to be a path, where the second circuit is a circuit between the voltage output terminal of the energy storage unit and a second power pin of the second connector
In a second aspect, there is provided a charging method applied to a mobile device, where an interface of the mobile device is used to connect with a first connector of a charging line according to the first aspect or any optional implementation manner of the first aspect, the charging method including:
and when detecting that a second ID pin in the interface is grounded, outputting power through the interface.
Optionally, the outputting the electric energy through the interface includes:
acquiring a first residual capacity of the mobile equipment; stopping executing the step of outputting the electric energy through the interface under the condition that the first residual electric quantity is lower than a first numerical value; and/or the presence of a gas in the gas,
acquiring a second residual capacity of the equipment to be charged; and stopping executing the step of outputting the electric energy through the interface under the condition that the second residual electric quantity is higher than a second numerical value.
In a third aspect, a charging device is provided, the charging device comprising:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor, by loading and executing the at least one program instruction, implements the charging method recited in claim 9 or 10.
In a fourth aspect, a charging assembly is provided, the charging assembly comprising a device to be charged and a charging wire according to the first aspect or any one of the optional embodiments of the first aspect.
In a fifth aspect, a charging assembly is provided, which includes a mobile device and a charging cord according to the first aspect or any optional implementation manner of the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
after the first connector is connected with the interface of the mobile device through the electric connection between the grounding pin of the first connector of the charging wire and the first ID pin of the first connector, the second ID pin in the interface of the mobile device is connected with the first ID pin to enable the second ID pin to be grounded, and the mobile device outputs electric energy through the interface and provides the electric energy to the to-be-charged device connected with the second connector of the charging wire. The mobile device charging method and the mobile device charging system have the advantages that the user can directly charge the device to be charged (e.g., the electronic cigarette) by using the mobile device under the condition of carrying the mobile device (e.g., a mobile phone), the problem that the electronic cigarette cannot be charged when the user goes out and does not carry the charger in the related technology is solved, and the effect of enriching the charging mode of the electronic cigarette is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a pin distribution of an interface of a mobile device provided in one embodiment of the invention;
figure 2 is a schematic illustration of a pin distribution of a first connector of a charging cord provided in one embodiment of the invention;
figure 3 is a schematic illustration of a pin distribution of a first connector of a charging cord provided in another embodiment of the present invention;
figure 4 is a schematic diagram of the connection of a second mechanical switch to a retractable contact in a charging cord in accordance with another embodiment of the present invention.
Referring to table 1 for the names and designations of the various components of fig. 4, table 1 is as follows:
a second mechanical switch: 41 Transmission line: 42 The retractable contact: 43 A first connector: 44
The blocking structure: 45 The elastic structure is as follows: 46
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The "mobile device" referred to herein may include portable electronic devices such as a mobile phone, a tablet computer, an electronic book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3), an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4), and the like.
The embodiment of the invention provides a charging wire which comprises a first connector and a second connector, wherein the second connector is used for being connected with equipment to be charged, and the first connector is connected with an interface of mobile equipment.
The device to be charged can be a small-sized electric device such as an electronic cigarette, a shaver, an MP3 player, an MP4 player, and the like, and the interface of the mobile device can be a charging interface of the mobile device. The pin distribution of the interface of the mobile device is as shown in fig. 1, and a power pin 11, a data line positive electrode pin 12, a data line negative electrode pin 13, a ground pin 14, and a second ID pin 15 are arranged in the interface of the mobile device. Optionally, a display screen and/or a key may be disposed on the device to be charged.
The interface of The mobile device supports The OTG (english: On-The-Go) standard. When the mobile device detects that the second ID pin 15 in the interface is suspended, the mobile device is determined as a slave device and does not provide power for the interface; when the mobile device detects that the second ID pin 15 in its interface is grounded, it recognizes itself as a host device and supplies power to the interface.
The pin distribution of the first connector of the charging wire provided by the present embodiment is as shown in fig. 2. The first connector is provided with a ground pin 21, a first ID pin 22, and a first power supply pin 23, and the ground pin 21 is electrically connected to the first ID pin 22.
After the first connector of the charging line is connected with the interface of the mobile device, the second ID pin 15 in the interface of the mobile device is connected with the first ID pin 22 in the first connector, and at this time, the second ID pin 15 in the interface of the mobile device is grounded. When the mobile device detects that the second ID pin 15 in its interface is grounded, it supplies power to the interface, and can output power to the outside through the interface. For example, in the case that the second connector of the charging cord is connected to the device to be charged, the mobile device charges the device to be charged through the charging cord.
In summary, in the charging cable provided in the embodiments of the present invention, the ground pin of the first connector is electrically connected to the first ID pin of the first connector, so that after the first connector is connected to the interface of the mobile device, the second ID pin in the interface of the mobile device is connected to the first ID pin, so that the second ID pin is grounded, and the mobile device outputs electric energy through the interface to provide the electric energy to the device to be charged connected to the second connector of the charging cable. The mobile device charging method and the mobile device charging system have the advantages that the user can directly charge the device to be charged (e.g., the electronic cigarette) by using the mobile device under the condition of carrying the mobile device (e.g., a mobile phone), the problem that the electronic cigarette cannot be charged when the user goes out and does not carry the charger in the related technology is solved, and the effect of enriching the charging mode of the electronic cigarette is achieved.
An embodiment of the present invention further provides a charging method, where the charging method is applied to the mobile device, and the charging method includes: and when detecting that the second ID pin in the interface of the mobile device is grounded, the mobile device outputs power through the interface.
Wherein, through this interface output electric energy can be realized through following several kinds of modes:
firstly, acquiring a first residual electric quantity of the mobile equipment; and stopping executing the step of outputting the electric energy through the interface under the condition that the first residual electric quantity is lower than the first value so as to ensure the normal use of the mobile equipment.
The first value can be set by a developer, or can be set by a user in a mobile device connected with the charging wire, or can be set by the user in a device to be charged. For example, the first value may be 20%.
Secondly, acquiring a second residual electric quantity of the equipment to be charged; and stopping executing the step of outputting the electric energy through the interface under the condition that the second residual electric quantity is higher than the second value.
When the second remaining capacity of the device to be charged is higher than the second value, the second remaining capacity of the device to be charged is considered to be sufficient for the device to be charged to use for a period of time. The mobile device can stop outputting the electric energy to ensure the normal operation of the mobile device.
The second value can be set by a developer, a user can also set in a mobile device connected with the charging wire, and the user can also set in a device to be charged. For example, the two values may be 30%.
Thirdly, when detecting that the second ID pin in the interface is grounded and meets the charging confirmation condition, executing the step of outputting the electric energy through the interface.
The confirmation charging condition may be any one of the following: 1. acquiring a charging confirmation instruction, wherein the charging confirmation instruction can be an instruction generated when a user triggers a charging confirmation button in an application program on the mobile equipment; 2. the grounding duration of the second ID pin reaches a preset duration; 3. and acquiring a charging confirmation instruction, wherein the charging confirmation instruction can be an instruction generated when a charging confirmation button is triggered on the device to be charged by a user.
Optionally, an energy storage unit is further disposed in the charging wire, and a voltage input end of the energy storage unit is electrically connected to the first power pin of the first connector of the charging wire. Further, under the condition that the first connector of the charging line is connected with the interface of the mobile device, the mobile device can charge the energy storage unit in the charging line through the interface.
Optionally, a voltage output end of the energy storage unit is electrically connected to a second power pin of the second connector. Under the condition that the second connector of the charging wire is connected with the equipment to be charged, the energy storage unit in the charging wire can charge the equipment to be charged; under the condition that the first connector of charging wire is connected with the interface of mobile device, the second connector is connected with the equipment of waiting to charge, mobile device accessible this interface charges for energy storage unit and/or the equipment of waiting to charge in the charging wire, and the energy storage unit also can charge for the equipment of waiting to charge.
Optionally, a Micro Control Unit (MCU) is arranged in the charging wire, a voltage output end of an energy storage unit in the charging wire is connected with the MCU, and the energy storage unit can supply power to the MCU through the voltage output end.
Optionally, the first connector and the second connector of the charging line are respectively provided with a data line negative electrode pin and a data line positive electrode pin, and then the charging line can also be used for transmitting data.
In one example, as shown in fig. 3, a first mechanical switch 31 is provided inside the charging wire, and the ground pin 21 of the first connector is electrically connected to the first ID pin 22 of the first connector through the first mechanical switch 31. The user can make this first mechanical switch 31 closed through operating this first mechanical switch 31, makes this first ID pin 22 ground connection of charging wire for the first connector of charging wire possesses the function that triggers the mobile device to provide the electric energy.
A user can turn on the first mechanical switch 31 by operating the first mechanical switch 31, so that the first ID pin 22 is suspended, and when the charging wire is connected to the mobile device, the mobile device is a slave device and does not provide electric energy, and the charging wire can be used as a common connecting wire. For example, when the first connector of the charging line is connected to the mobile device and the second connector is connected to a USB (Universal Serial Bus) interface of the computer, the computer can charge the mobile device through the charging line, and can perform data transmission with the mobile device through the charging line. For another example, when the first connector of the charging cord is connected to the mobile device and the second connector is connected to a charger of the mobile device, the mobile device may be charged by the charger.
In one example, the charging wire is provided with an MCU, the MCU is connected with a control end of an electronic switch, and a grounding pin of the first connector is connected with a first ID pin of the first connector through the electronic switch. When this electron switch was closed, this first ID pin ground connection of charging wire for the first connector of charging wire possesses the function that triggers the mobile device and provide the electric energy. When the electronic switch is turned on, the charging wire can be used as a common connecting wire.
And when the MCU receives a switching signal or a switching instruction, the electronic switch is controlled to be switched between an open state and a closed state. The switching signal may be a signal generated when the switching key on the charging line is performed a predetermined operation, for example, the switching key may be a key such as a pressure key, a touch screen, a touch key, or the like; the switching instruction may be sent by the mobile device or the device to be charged.
For example, the switching key arranged on the charging line is used as a pressure key, and the predetermined operation is used as a pressing pressure key, when the electronic switch is in an on state, the MCU controls the electronic switch to be turned off when receiving an operation signal generated when the pressure key is pressed.
For another example, an application program for managing the charging line is installed on the mobile device, and the switching button is displayed in the application program. When detecting that the switching button is triggered, the mobile device sends a switching instruction to the MCU in the charging wire, and the MCU controls the electronic switch to switch between the on state and the off state according to the switching instruction.
Optionally, a physical key for triggering the MCU in the device to be charged to send a switching instruction to the MCU in the charging line may be provided on the device to be charged. Optionally, the device to be charged may further include a display screen, and an icon or a virtual button corresponding to the switching instruction may be displayed in the display screen; when the MCU in the charging equipment detects that the icon or the virtual button corresponding to the switching instruction is triggered, the MCU sends the switching instruction to the MCU in the charging line, and the MCU controls the electronic switch to be switched between the on state and the off state according to the switching instruction.
In one example, a second mechanical switch is disposed between the voltage output of the energy storage unit and the second power pin of the second connector. The user can control whether the energy storage unit supplies power to the equipment to be charged through the second connector or not by operating the second mechanical switch. Specifically, when the second mechanical switch is turned off, the energy storage unit can charge the device to be charged; when the second mechanical switch is turned on, the energy storage unit cannot charge the equipment to be charged;
in one example, a third mechanical switch is provided between the voltage input of the energy storage unit and the first power supply pin of the first connector of the charging line. The mobile device can charge the energy storage unit under the condition that the third mechanical switch is closed and the first connector is connected with the interface of the mobile device.
In one example, a changeover switch is provided in the charging line for alternatively connecting one of the voltage input of the energy storage unit and the second power supply pin of the second connector with the first power supply pin of the first connector. Therefore, a user can select whether to charge the energy storage unit or the device to be charged connected with the energy storage unit by operating the switch.
Alternatively, as shown in fig. 4, the second mechanical switch 41 is arranged inside the charging line on the transmission line 42 between the voltage output terminal of the energy storage unit and the second power supply pin of the second connector. The second mechanical switch 41 is connected to a retractable contact 43, part of the retractable contact 43 being located inside the charging cord, another part of the retractable contact 43 being located outside the charging cord, the other part being located beside the first connector 44.
When the first connector 44 is connected to the mobile device, the retractable contact 43 is pressed by the mobile device, and the retractable contact retracts into the housing of the charging cable, so as to drive the second mechanical switch 41 to be turned on, and the energy storage unit does not charge the device to be charged.
Optionally, a blocking structure 45 and an elastic structure 46 are further arranged in the charging cord. The resilient structure 46 is connected to the blocking structure 45 at one end and to the retractable contact 43 at the other end. Under the condition that the first connector 45 is suspended, the retractable contact 43 is not pressed, the blocking structure 45 and the elastic structure 46 provide thrust to the retractable contact 43, so that the retractable contact 43 extends out of the housing of the charging wire, and the second mechanical switch 41 is driven to be closed, so that the energy storage unit to-be-charged device is charged.
In one example, when the remaining capacity of the energy storage unit is lower than a preset first threshold, the MCU in the charging line sends a first indication message to the device to be charged or the mobile device connected thereto, where the first indication message is used to indicate that the energy storage unit needs to be charged. And the mobile equipment receiving the first indication message displays or broadcasts the first indication message in a voice mode. The device to be charged, which receives the first indication message, may also display or voice-broadcast the first indication message. So that the user operates the change-over switch or the third mechanical switch to charge the device to be charged by the mobile device.
In one example, when the device to be charged is fully charged, the device to be charged may provide a second indication message indicating that the device to be charged is fully charged. So that the user operates the change-over switch or the third mechanical switch to enable the mobile device to charge the energy storage unit.
The device to be charged can provide the indication message in the following ways:
first, a power indicator is provided on the device to be charged, and the power indicator is turned on when the device to be charged is charged. Optionally, the power indicator lights are lit when the device to be charged is charged and have a predetermined color, and the predetermined color may be red or green.
Secondly, the device to be charged displays or plays second indication information, and the second indication information may include at least one of characters and icons.
In one example, when the energy storage unit is fully charged, the MCU in the charging line transmits a third indication message to the device to be charged or the mobile device connected thereto, where the third indication message is used to indicate that the energy storage unit is fully charged. And the equipment to be charged or the mobile equipment displays or broadcasts the third indication message so that the user can operate the change-over switch according to the third indication message to stop the mobile equipment from charging the energy storage unit and the equipment to be charged.
In one example, the MCU in the charging line controls the on-off of the first circuit and/or the second circuit and/or the third circuit according to the reference electric quantity information.
The reference electric quantity information comprises at least one of the residual electric quantity of the equipment to be charged, the residual electric quantity of the energy storage unit and the residual electric quantity of the mobile equipment; the first circuit is a circuit between the voltage input end of the energy storage unit and the first power pin of the first connector, the second circuit is a circuit between the voltage output end of the energy storage unit and the second power pin of the second connector, and the third circuit is a circuit between the first power pin of the first connector and the second power pin of the second connector.
Specifically, an electronic switch can be respectively arranged in the first circuit, the second circuit and the third circuit, and the control end of each electronic switch is connected with the MCU in the charging wire.
For example, in the case that the remaining capacity of the device to be charged is lower than the preset second threshold, the energy storage unit does not need to be charged, and the first circuit is controlled to be open. For example, the second threshold may be 30%.
For another example, when the remaining power of the device to be charged is lower than the preset third threshold, in order to ensure that the mobile device operates normally, the MCU in the charging line controls the first circuit and the third circuit to be open circuits, so that the mobile device stops supplying power to the device to be charged and the energy storage unit. Furthermore, the MCU in the charging wire can control the second circuit to be a channel at the moment, so that the energy storage unit charges the device to be charged.
For another example, when the remaining capacity of the energy storage unit is lower than the preset fourth threshold, the MCU in the charging line may control the second circuit to be an open circuit, so that the energy storage unit stops charging the device to be charged. Furthermore, the MCU in the charging line can also control the first circuit to be a path, so that the mobile device can charge the energy storage unit.
For another example, when the remaining power of the device to be charged is higher than the fifth threshold (for example, 50%), and the remaining power of the device to be charged is lower than the preset third threshold, to ensure that the mobile device operates normally, the MCU in the charging line controls the first circuit and the third circuit to be open circuits, so that the mobile device stops supplying power to the device to be charged and the energy storage unit.
The MCU in the charging line can control the on-off of the first circuit and/or the second circuit and/or the third circuit according to the reference electric quantity information and a plurality of preset rules, wherein each preset rule comprises a preset condition and a preset operation. When reference electric quantity information acquired by the MCU in the charging wire meets a preset condition in a certain preset rule, the MCU executes a preset operation in the preset rule, and the preset operation comprises controlling the on-off of the first circuit and/or the second circuit and/or the third circuit. The preset rule may be set by a developer, or may be set by a user in an application program on the mobile device, or may be set by the user on the device to be charged. After receiving preset rules sent by the mobile device and/or the device to be charged, the MCU in the charging line stores the preset rules in a memory in the charging line.
In one example, in the case that the first connector is floating, the MCU in the charging line controls the second circuit to be a path, and the second circuit is a circuit between the voltage output terminal of the energy storage unit and the second power pin of the second connector. That is, in the case that the first connector on the charging line is not connected to the mobile device, the device to be charged is charged by the energy storage unit in the charging line at this time.
The MCU in the charging line can judge whether the first connector is suspended or not through the following modes.
First, be provided with pressure sensor on the first connector, this pressure sensor is connected with MCU in the charging wire. When the pressure value reported by the pressure sensor to the MCU in the charging wire is greater than a preset pressure threshold value, judging that the first connector is not suspended; and when the pressure value reported by the pressure sensor to the MCU in the charging wire is less than or equal to the pressure threshold value, determining that the first connector is suspended. Alternatively, the pressure threshold may be 0.
Secondly, detecting a resistance value between two pins preset in the first connector; when the resistance value is smaller than or equal to a preset resistance value threshold value, the first connector is judged not to be suspended; and when the resistance value is larger than a preset resistance value threshold value, determining that the first connector is suspended.
It should be noted that, a technician may preset that any two pins in the first connector are connected to the resistance detection component, and the resistance detection component may periodically detect the resistance value between the two pins; when the voltage input connector is not connected with the mobile device, the resistance value between the two preset pins is infinite. Therefore, when the resistance value is larger than the preset resistance threshold value, the first connector can be judged to be suspended.
The device to be charged in the present invention may include a processor for executing computer program instructions to perform various procedures and methods, and a memory for storing program instructions, which can implement the functions implemented by the device to be charged in any of the above embodiments by executing the program instructions.
The mobile device of the present invention may comprise a processor for executing computer program instructions to perform the various procedures and methods, and a memory for storing program instructions, the processor being capable of implementing the charging method as claimed in any of the above embodiments by executing the program instructions.
The invention also provides a charging assembly, which comprises the equipment to be charged according to any embodiment and the charging wire according to any embodiment.
The invention also provides another charging assembly which comprises the mobile device and the charging wire, wherein the mobile device and the charging wire are in accordance with any of the above embodiments.
The terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying a number of the indicated technical features. Thus, a defined feature of "first", "second", may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A charging wire is characterized by comprising a first connector and a second connector, wherein the second connector is used for being connected with a device to be charged;
the first connector comprises a grounding pin and a first ID pin, and the grounding pin is electrically connected with the first ID pin;
after the first connector is connected with an interface of mobile equipment, a second ID pin in the interface is connected with the first ID pin, so that the second ID pin is grounded, the mobile equipment outputs electric energy through the interface, and the electric energy is supplied to equipment to be charged connected with the second connector of a charging wire;
the charging line further comprises an energy storage unit, and a voltage input end of the energy storage unit is electrically connected with a first power pin of the first connector;
the voltage output end of the energy storage unit is electrically connected with a second power pin of the second connector; and
the voltage output end of the energy storage unit is connected with the MCU in the charging wire, and the energy storage unit supplies power to the MCU through the voltage output end;
the MCU in the charging wire controls the on-off of the first circuit and/or the second circuit and/or the third circuit according to the reference electric quantity information; and/or the presence of a gas in the gas,
the MCU receives a control instruction sent by the mobile equipment or the equipment to be charged, and controls the on-off of the first circuit and/or the second circuit and/or the third circuit according to the control instruction, wherein the control instruction is generated according to the reference electric quantity information;
the reference electric quantity information comprises at least one of the residual electric quantity of the equipment to be charged, the residual electric quantity of the energy storage unit and the residual electric quantity of the mobile equipment, the first circuit is a circuit between the voltage input end of the energy storage unit and the first power supply pin, the second circuit is a circuit between the voltage output end of the energy storage unit and the second power supply pin of the second connector, and the third circuit is a circuit between the first power supply pin and the second power supply pin.
2. The charging wire of claim 1, wherein the charging wire is provided with a first mechanical switch, and the ground pin is electrically connected with the first ID pin through the first mechanical switch;
alternatively, the first and second electrodes may be,
the grounding pin is connected with the first ID pin through an electronic switch, and a control end of the electronic switch is connected with a Micro Control Unit (MCU) in the charging wire.
3. The charging wire of claim 2, wherein the MCU controls the electronic switch to switch between an on state and an off state upon receiving a switching signal or a switching instruction, and the switching instruction is sent by the mobile device or the device to be charged.
4. The charging cord of claim 1, wherein at least one of a second mechanical switch, a third mechanical switch, and a diverter switch is disposed within the charging cord; wherein:
one end of the second mechanical switch is connected with the voltage output end of the energy storage unit, and the other end of the second mechanical switch is connected with a second power pin of the second connector;
one end of the third mechanical switch is connected with the voltage input end, and the other end of the third mechanical switch is connected with the first power supply pin;
one end of the change-over switch is connected with the first power supply pin, and the other end of the change-over switch is used for switching connection between a second power supply pin of the second connector and the voltage input end.
5. The charging cord of claim 1,
and the MCU controls a second circuit to be a channel when detecting that the first connector is suspended, wherein the second circuit is a circuit between the voltage output end of the energy storage unit and a second power pin of the second connector.
6. A charging method, characterized in that the charging method is applied to a mobile device, an interface of the mobile device is used for connecting with a first connector of a charging cable according to any one of claims 1 to 5, and the charging method comprises the following steps:
and when detecting that a second ID pin in the interface is grounded, outputting power through the interface.
7. The charging method of claim 6, wherein outputting the electrical energy through the interface comprises:
acquiring a first residual capacity of the mobile equipment; stopping executing the step of outputting the electric energy through the interface under the condition that the first residual electric quantity is lower than a first numerical value; and/or the presence of a gas in the gas,
acquiring a second residual capacity of the equipment to be charged; and stopping executing the step of outputting the electric energy through the interface under the condition that the second residual electric quantity is higher than a second numerical value.
8. A charging device, characterized in that the charging device comprises:
a memory and a processor;
at least one program instruction is stored in the memory;
the processor, by loading and executing the at least one program instruction, implements the charging method recited in claim 6 or 7.
9. A charging assembly, characterized in that the charging assembly comprises a device to be charged and a charging cord according to any of claims 1 to 5.
10. A charging assembly, characterized in that the charging assembly comprises a mobile device and a charging cord according to any one of claims 1 to 5.
CN201711090071.5A 2017-11-08 2017-11-08 Charging wire, charging assembly, charging method and device Active CN108023376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711090071.5A CN108023376B (en) 2017-11-08 2017-11-08 Charging wire, charging assembly, charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711090071.5A CN108023376B (en) 2017-11-08 2017-11-08 Charging wire, charging assembly, charging method and device

Publications (2)

Publication Number Publication Date
CN108023376A CN108023376A (en) 2018-05-11
CN108023376B true CN108023376B (en) 2021-10-22

Family

ID=62079697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711090071.5A Active CN108023376B (en) 2017-11-08 2017-11-08 Charging wire, charging assembly, charging method and device

Country Status (1)

Country Link
CN (1) CN108023376B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109378872A (en) * 2018-10-30 2019-02-22 南京颂晨达电子有限公司 A kind of charging method and system of electronic product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104362687A (en) * 2014-10-24 2015-02-18 福建联迪商用设备有限公司 Bidirectional power balance method and device based on USB-OTG
CN204992169U (en) * 2015-09-30 2016-01-20 东莞市瀛通电线有限公司 Take USB line of accumulate
CN205039565U (en) * 2015-08-24 2016-02-17 上海与德通讯技术有限公司 Charger and electronic device
CN106502939A (en) * 2016-09-23 2017-03-15 北京小米移动软件有限公司 A kind of USB adapters and data transmission set
CN206370588U (en) * 2016-12-27 2017-08-01 周述瑶 Intelligent data line and electronic device charging system
CN107153456A (en) * 2017-06-20 2017-09-12 深圳市泰衡诺科技有限公司上海分公司 OTG connections control method, OTG connection control devices and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967174B (en) * 2015-07-07 2017-10-31 小米科技有限责任公司 Charge control method and device
CN206098993U (en) * 2016-07-07 2017-04-12 昆山龙腾光电有限公司 Connecting device and electric connected system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104362687A (en) * 2014-10-24 2015-02-18 福建联迪商用设备有限公司 Bidirectional power balance method and device based on USB-OTG
CN205039565U (en) * 2015-08-24 2016-02-17 上海与德通讯技术有限公司 Charger and electronic device
CN204992169U (en) * 2015-09-30 2016-01-20 东莞市瀛通电线有限公司 Take USB line of accumulate
CN106502939A (en) * 2016-09-23 2017-03-15 北京小米移动软件有限公司 A kind of USB adapters and data transmission set
CN206370588U (en) * 2016-12-27 2017-08-01 周述瑶 Intelligent data line and electronic device charging system
CN107153456A (en) * 2017-06-20 2017-09-12 深圳市泰衡诺科技有限公司上海分公司 OTG connections control method, OTG connection control devices and electronic equipment

Also Published As

Publication number Publication date
CN108023376A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN107465240B (en) A kind of intelligent movable power supplies and the method for carrying out usb data communication with it
CN103686531B (en) The method of the terminal and the operation terminal of earphone connection interface including earphone connection interface
CN100456208C (en) Entertainment system, cell charging system, entertainment apparatus, portable information terminal and external cell charger
CN109378878B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN101415043A (en) Mobile terminal aware of externally connected device and control method for the same
CN109450023B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN108964187A (en) The charging method of terminal and terminal room
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
CN108023376B (en) Charging wire, charging assembly, charging method and device
CN106706998B (en) Terminal test system and terminal test method
CN104035553A (en) Systems and methods for indicating that an interface is being touched
CN215897331U (en) Treasured charges with show function
EP2731224B1 (en) Method for processing power source state and terminal supporting the same
CN103701165B (en) A kind of method activating portable power source and device
CN105024422A (en) Power supply/charging arrangement method and system of controllable-user mobile intelligent terminal
CN106356913A (en) Electronic equipment charging control method and device
CN109586125B (en) Type-C adapter, terminal and electronic equipment
CN112910041B (en) Charging circuit of terminal equipment, terminal equipment and terminal system
CN206657657U (en) A kind of sound pick-up outfit
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN113991804A (en) Charging protocol handshaking circuit and electronic equipment
CN210270821U (en) Accessory device and writing equipment
CN112491100A (en) Charging system of TWS earphone
CN103532173A (en) Mobile equipment and charging system with the same
CN106776424B (en) Connector, control method and control device thereof, and electronic equipment

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
GR01 Patent grant
GR01 Patent grant