CN111404227A - Charging method, OTG cable and electronic equipment - Google Patents
Charging method, OTG cable and electronic equipment Download PDFInfo
- Publication number
- CN111404227A CN111404227A CN202010236909.2A CN202010236909A CN111404227A CN 111404227 A CN111404227 A CN 111404227A CN 202010236909 A CN202010236909 A CN 202010236909A CN 111404227 A CN111404227 A CN 111404227A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- signal
- data line
- otg cable
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention provides a charging method, an OTG cable and electronic equipment, wherein the charging method is applied to first electronic equipment and comprises the following steps: under the condition that the first electronic device is in charging connection with the second electronic device through the OTG cable, the first electronic device detects a time sequence simulated by the OTG cable according to a first signal, the first signal is a signal sent by the second electronic device, and the first electronic device controls the magnitude of charging current according to the time sequence. According to the charging method provided by the embodiment of the invention, a user can input a corresponding first signal to the OTG cable according to the magnitude of the required charging current, the OTG cable simulates a corresponding time sequence according to the first signal, and the first electronic equipment can control the magnitude of the charging current according to the detected time sequence simulated by the OTG cable, so that the user can select different charging currents according to the requirement, and the charging is convenient for the user.
Description
Technical Field
The invention relates to the technical field of charging, in particular to a charging method, an OTG cable and electronic equipment.
Background
OTG (ON-The-Go) is a technology developed in recent years, and is mainly used for connection between various devices or mobile devices to exchange data. Mobile terminal can carry out reverse charging through the OTG function, and when two mobile terminal passed through OTG line interconnect and charged, the user can only carry out the undercurrent generally and charges, and charge efficiency is lower, and is long, can not dispose the regulation as required, can't select suitable charging current's size as required, charges for the user and brings inconvenience.
Disclosure of Invention
In view of this, the present invention provides a charging method, an OTG cable, and an electronic device, so as to solve the problem that when a user charges through an OTG cable, the user cannot select a proper charging current according to the requirement, which is inconvenient for the user to charge.
In order to solve the technical problems, the invention adopts the following technical scheme:
in a first aspect, a charging method according to an embodiment of the present invention is applied to a first electronic device, and includes:
under the condition that a first electronic device is connected with a second electronic device through an OTG cable in a charging mode, the first electronic device detects a time sequence of the OTG cable according to simulation of a first signal, wherein the first signal is a signal sent by the second electronic device;
and the first electronic equipment controls the magnitude of the charging current according to the time sequence.
In a second aspect, a charging method according to an embodiment of the present invention is applied to an OTG cable, and the charging method includes:
under the condition that the OTG cable is connected with second electronic equipment, the OTG cable receives a first signal, wherein the first signal is a signal sent by the second electronic equipment;
the OTG cable simulates timing according to the first signal.
In a third aspect, a first electronic device according to an embodiment of the present invention includes:
the detection module is used for detecting a time sequence of the OTG cable according to simulation of a first signal, wherein the first signal is a signal sent by second electronic equipment;
and the charging module is used for controlling the magnitude of the charging current according to the time sequence.
In a fourth aspect, a second electronic device according to an embodiment of the present invention includes:
and the sending module is used for sending a first signal, and under the condition that the second electronic equipment is connected with the OTG cable, the OTG cable simulates a time sequence according to the first signal.
The device further comprises an input module used for inputting a target charging current value, and the transmitting module transmits the first signal according to the target charging current value.
The OTG charging system further comprises an identification module used for identifying the type of the OTG cable, and the input module determines the target charging current value according to the type of the OTG cable.
In a fifth aspect, an OTG cable according to an embodiment of the present invention includes:
a charging wire;
the first connection interface and the second connection interface are respectively arranged at two ends of the charging wire, the first connection interface is used for being connected with a charging end of first electronic equipment, and the second connection interface is used for being connected with a power receiving end of second electronic equipment;
the control module is used for simulating a time sequence according to a first signal sent by the second electronic equipment so that the first electronic equipment controls the magnitude of the charging current input to the second electronic equipment according to the time sequence.
Wherein the OTG cable further comprises:
a data line connected between the first connection interface and the second link interface, the data line including a first data line and a second data line;
the control module includes:
a detection unit for detecting output voltages of the first data line and the second data line;
the control unit is connected with the detection unit, a first port and a second port are arranged on the control unit, and the control unit is used for controlling the connection or disconnection between the first port and the first data line and the connection or disconnection between the second port and the second data line according to the first signal;
the control unit is used for controlling the output voltage of the first port and/or the second port according to the output voltage of the first data line;
and/or the control unit is used for controlling the output voltage of the first port and/or the second port according to the output voltage of the second data line;
the control unit simulates a timing by controlling on/off between the first port and the first data line and between the second port and the second data line, and according to an output voltage of the first port and/or the second port.
Wherein, still include:
a first end of the first connection line is connected with the first data line, and a second end of the first connection line is connected with the first port;
a second connection line, a first end of which is connected to the second data line and a second end of which is connected to the second port;
a first detection line, a first end of which is connected with the first data line, and a second end of which is connected with the detection unit;
and a first end of the second detection line is connected with the second data line, and a second end of the second detection line is connected with the detection unit.
Wherein, still include:
and the identification foot is used for identifying the type of the OTG cable.
The technical scheme of the invention has the following beneficial effects:
the charging method is applied to first electronic equipment, and under the condition that the first electronic equipment is in charging connection with second electronic equipment through an OTG cable, the first electronic equipment detects the time sequence of the OTG cable according to simulation of a first signal, wherein the first signal is a signal sent by the second electronic equipment; and the first electronic equipment controls the magnitude of the charging current according to the time sequence. In the use, the user can be according to the corresponding first signal of the size of required charging current through second electronic equipment to the OTG cable input, and the corresponding chronogenesis of OTG cable simulation according to first signal, first electronic equipment can be according to the chronogenesis control charging current's that detects OTG cable simulation size for the user can select different charging current as required, and the user of being convenient for charges.
Drawings
Fig. 1 is a schematic flow chart of a charging method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first electronic device and a second electronic device according to an embodiment of the invention;
FIG. 3 is another diagram illustrating a first electronic device connected to a second electronic device according to an embodiment of the invention;
fig. 4 is another schematic diagram of the connection between the first electronic device and the second electronic device according to the embodiment of the invention.
Reference numerals
A charging wire 10;
a control unit 20; a first port 21; a second port 22; a detection unit 23;
a first electronic device 30; a detection module 31; a charging module 32;
a second electronic device 40; a sending module 41; an input module 42; an identification module 43;
a first data line 51; a second data line 52;
a first connecting line 61; a second connecting line 62;
a first detection line 71; a second detection line 72;
the foot 80 is identified.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
The charging method according to the embodiment of the present invention is specifically described below.
According to the charging method of the embodiment of the invention, which is applied to the first electronic device, as shown in fig. 1 and fig. 2, the charging method includes:
step S1, when the first electronic device 30 is connected to the second electronic device 40 through the OTG cable, the first electronic device 30 detects a timing sequence simulated by the OTG cable according to a first signal, where the first signal is a signal sent by the second electronic device 40;
in step S2, the first electronic device 30 controls the magnitude of the charging current according to the timing.
In the using process, a user may input a corresponding first signal to the OTG cable according to the magnitude of the required charging current, for example, the user may input the corresponding first signal to the OTG cable through the second electronic device 40, the OTG cable simulates a corresponding time sequence according to the first signal, and the first electronic device 30 may control the magnitude of the charging current to the second electronic device 40 according to the detected time sequence simulated by the OTG cable.
In some embodiments of the present invention, the second electronic device 40 may transmit the first signal to the OTG cable according to the target charging current value. The user can send corresponding first signal to the OTG cable according to the size of the required charging current, for example, when the target charging current of the user is a large charging current, the corresponding first signal can be sent to the OTG cable through the second electronic device 40, the OTG cable simulates a DCP time sequence according to the first signal, the first electronic device 30 can detect the time sequence simulated by the OTG cable according to the first signal, and the first electronic device 30 controls the size of the charging current according to the time sequence simulated by the first signal, so that the user can charge according to the required charging current.
In other embodiments of the present invention, the second electronic device 40 may identify the type of the OTG cable, determine the target charging current value according to the type of the OTG cable, and the second electronic device 40 sends the first signal to the OTG cable according to the target charging current value. The OTG cable can be divided into two types, namely a USB _ B TO USB _ B (B2B) cable and a USB _ C TO USB _ C (C2C) cable, and the charging current which can be met by the OTG cable is judged according TO the type of the OTG cable, for example, whether the charging with large current can be met can be judged.
In an embodiment of the present invention, the timing may include DCP timing, SDP timing, or CDP timing. The different timings may correspond to different current magnitudes, for example, the SDP timing corresponds to 500mA and 900mA charging currents, the CDP timing corresponds to 1.5A charging currents, and the DCP timing corresponds to 2A charging currents.
For example, when the target charging current of the user is a large charging current, the second electronic device 40 may send a first signal to the OTG cable, the OTG cable simulates a DCP timing according to the first input signal, the first electronic device 30 detects the DCP timing simulated by the OTG cable, and the first electronic device controls the charging current to be a 2A charging current corresponding to the DCP timing according to the simulated DCP timing, so that the user can charge according to the required charging current.
The embodiment of the invention provides a charging method, which is applied to an OTG cable and comprises the following steps:
under the condition that the OTG cable is connected to the second electronic device 40, the OTG cable receives a first signal, where the first signal is a signal sent by the second electronic device 40; the OTG cable simulates timing according to the first signal.
In the case that the first electronic device 30 and the second electronic device 40 are connected through the OTG cable in a charging manner, the first electronic device 30 detects a timing sequence simulated by the OTG cable according to the first signal, where the timing sequence may include a DCP timing sequence, an SDP timing sequence, or a CDP timing sequence, and the first electronic device 30 controls the magnitude of the charging current according to the timing sequence. The user can send a corresponding first signal to the OTG cable through the second electronic device 40 according to the magnitude of the required charging current, the OTG cable simulates a corresponding time sequence according to the first signal, and the first electronic device 30 can control the magnitude of the charging current to the second electronic device 40 according to the detected time sequence simulated by the OTG cable.
An embodiment of the present invention provides a first electronic device, and as shown in fig. 3, a first electronic device 30 includes a detection module 31 and a charging module 32, where the detection module 31 may detect a time sequence simulated by an OTG cable according to a first signal, where the first signal is a signal sent by a second electronic device 40, and the charging module 32 may control a magnitude of a charging current according to the time sequence. Under the condition that the first electronic device 30 and the second electronic device 40 are connected through the OTG cable in a charging manner, a user can input a corresponding first signal to the OTG cable through the second electronic device 40, the OTG cable simulates a corresponding time sequence according to the first signal, the time sequence may include a DCP time sequence, an SDP time sequence or a CDP time sequence, and the charging module 32 in the first electronic device 30 can control the magnitude of the charging current to the second electronic device 40 according to the time sequence simulated by the OTG cable detected by the detection module 31, so that the user can select different charging currents according to needs, and the user can conveniently charge the second electronic device 40 through the OTG cable.
An embodiment of the present invention provides a second electronic device, as shown in fig. 3, where the second electronic device 40 may include a sending module 41, the sending module 41 may send a first signal, and when the second electronic device 40 is connected to an OTG cable, the OTG cable simulates a timing sequence according to the first signal, where the timing sequence may include a DCP timing sequence, an SDP timing sequence, or a CDP timing sequence. Under the condition that the first electronic device 30 is connected with the second electronic device 40 through the OTG cable in a charging manner, the sending module 41 sends the first signal, the OTG cable simulates a time sequence according to the first signal, and the first electronic device 30 can control the magnitude of the charging current to the second electronic device 40 according to the detected time sequence simulated by the OTG cable, so that a user can select different charging currents as required, and the user can conveniently charge the second electronic device 40 through the OTG cable.
In some embodiments of the present invention, as shown in fig. 3, the second electronic device 40 further includes an input module 42, the input module 42 may be connected to the transmitting module 41, the input module 42 may input the target charging current value, and the transmitting module 41 transmits a corresponding first signal according to the target charging current value. The user can send a corresponding first signal to the OTG cable through the input module 42 according to the magnitude of the required charging current, the OTG cable simulates a corresponding time sequence according to the first signal, and the first electronic device 30 can control the magnitude of the charging current to the second electronic device 40 according to the detected time sequence simulated by the OTG cable, so that the user can select different charging currents as required.
In the embodiment of the present invention, as shown in fig. 3, the second electronic device 40 further includes an identification module 43, the identification module 43 may be connected with the input module 42, the identification module 43 may identify the type of the OTG cable, and the input module 42 determines the target charging current value according to the type of the OTG cable, so that the OTG cable can meet the charging current requirement of the target charging current value, so as to meet the high-current charging. An OTG cable according to an embodiment of the present invention includes, as shown in fig. 4, a charging wire 10, a first connection interface, a second connection interface, and a control module, where the first connection interface and the second connection interface are respectively disposed at two ends of the charging wire 10, the first connection interface is used for being connected to a charging end of a first electronic device 30, the second connection interface is used for being connected to a receiving end of a second electronic device 40, and the control module is used for simulating a timing according to a first signal sent by the second electronic device 40, so that the first electronic device 30 controls a magnitude of a charging current input to the second electronic device 40 according to the timing.
That is to say, the OTG cable mainly comprises charging wire 10, first connection interface, second connection interface and control module, control module can be connected with charging wire 10, can be the control module power supply through charging wire 10, first connection interface and second connection interface set up respectively in the both ends of charging wire 10, can connect equipment through first connection interface and second connection interface, for example, when charging to second electronic equipment 40 through first electronic equipment 30, first connection interface can be connected with the end of charging of first electronic equipment 30, second connection interface can be connected with the end of receiving electric of second electronic equipment 40. The control module may simulate a timing according to the first signal transmitted by the second electronic device 40, so that the first electronic device 30 controls the magnitude of the charging current input to the second electronic device 40 according to the simulated timing. In the using process, the user can send a corresponding first signal through the second electronic device 40 according to the required charging current, the control module simulates a corresponding time sequence according to the first signal, different time sequences can correspond to different charging currents, the first electronic device 30 controls the size of the charging current input to the second electronic device 40 according to the simulated time sequence, so that the user can select different charging currents according to needs, the user can select large-current charging or small-current charging, and the user can conveniently charge the second electronic device 40 through the OTG cable.
In an embodiment of the present invention, the OTG cable may further include a data line, the data line may be connected between the first connection interface and the second connection interface, the data line includes a first data line 51(DP) and a second data line 52(DM), a first switch k1 that may be turned on or off may be disposed on the first data line 51, a second switch k2 that may be turned on or off may be disposed on the second data line 52, the control module may control the first switch k1 and the second switch k2 to be turned on or off, and data may be transmitted between the first electronic device 30 and the second electronic device 40 through the data line. The OTG cable may further include a ground line (GND) to facilitate grounding.
As shown in FIG. 4, the control module comprises a detection unit 23 and a control unit 20, the output voltage of a first data line 51 and a second data line 52 can be detected by the detection unit 23, the control unit 20 is connected with the detection unit 23, the control unit 20 can be connected with a charging wire 10 by a voltage regulator (L DO), the control unit 20 and the detection unit 23 can be powered by the charging wire 10, the control unit 20 can control the conduction or disconnection of a first switch k1 and a second switch k2, the control unit 20 is provided with a first port 21 and a second port 22, the control unit 20 can control the conduction or disconnection between the first port 21 and the first data line 51 and between the second port 22 and the second data line 52 according to a first signal, the control unit 20 can control the output voltage of the first port 21 and/or the second port 22 according to the output voltage of the first data line 51, and/or the control the output voltage of the second port 22 according to the output voltage of the first data line 51, and/or control the output voltage of the second port 21 and/or the second port 22 according to the output voltage of the second data line 52, so that the analog current of the first port 21 and the second port 22 can be controlled according to the timing sequence of the analog input/or analog current of the charging device, the timing sequence of the second port 22, the analog control unit 20 can be implemented according to the timing sequence of the analog input data line 52, the analog data line, and the analog input/analog data line, so that the analog input/or analog circuit is different timing sequence of the analog input data.
In some embodiments of the present invention, as shown in fig. 4, the OTG cable may further include a first connection line 61, a second connection line 62, a first detection line 71 and a second detection line 72, wherein a first end of the first connection line 61 is connected to the first data line 51, a second end of the first connection line 61 is connected to the first port 21, a first end of the second connection line 62 is connected to the second data line 52, a second end of the second connection line 62 is connected to the second port 22, a first end of the first detection line 71 is connected to the first data line 51, a second end of the first detection line 71 is connected to the detection unit 23, a first end of the second detection line 72 is connected to the second data line 52, and a second end of the second detection line 72 is connected to the detection unit 23. The first data line 51 and the second data line 52 can be connected with the control unit 20 through connection lines, so that the control unit 20 can control the connection or disconnection between the first port 21 and the first data line 51 and between the second port 22 and the second data line 52; the first and second data lines 51 and 52 may be connected to the sensing unit 23 through sensing lines, so that the output voltages of the first and second data lines 51 and 52 may be sensed through the sensing unit 23.
In an embodiment of the present invention, the timing sequence may include a DCP timing sequence, an SDP timing sequence, or a CDP timing sequence, and the different timing sequences may correspond to different current magnitudes, for example, the SDP timing sequence corresponds to 500mA and 900mA charging currents, the CDP timing sequence corresponds to 1.5A charging current, and the DCP timing sequence corresponds to 2A charging current.
In some embodiments of the present invention, the OTG cable may further include an identification pin 80, the identification pin 80 may be an ID pin or a CC pin, and the identification pin 80 may be used TO identify the type of the OTG cable, and the OTG cable may be of two types, USB _ B TO USB _ B (abbreviated as B2B) cable and USB _ C TO USB _ C (abbreviated as C2C) cable.
In the process of simulating the time sequence, the process of simulating different time sequences is different, and the specific process of simulating the DCP time sequence is as follows:
the control unit 20 controls to open the first switch k1 and the second switch k2, and the control unit 20 shorts the first port 21 and the second port 22 together;
after detecting the output voltage 0.6v of the first data line 51 through the first detection line 71 connected to the detection unit 23, the control unit 20 may delay 100ms, and when detecting the output voltage 0.6v of the second data line 52 through the second detection line 72, control the first switch k1 and the second switch k2 to be closed and conducted, so as to configure the first port 21 and the second port 22 to be high impedance, and not to affect the normal transmission communication of the data lines.
The specific process of simulating the SDP timing sequence is as follows:
the control unit 20 controls to open the first switch k1 and the second switch k2, the control unit 20 conducts the first port 21 with the first data line 51, and the control unit 20 conducts the second port 22 with the second data line 52;
when the output voltage of 0.6V of the first data line 51 is detected through the first detection line 71 connected to the detection unit 23, the second port 22 is output as 0V or output as low level.
The specific process of simulating the CDP timing sequence is as follows:
the control unit 20 controls to open the first switch k1 and the second switch k2, the control unit 20 conducts the first port 21 with the first data line 51, and the control unit 20 conducts the second port 22 with the second data line 52;
when the output voltage of the first data line 51 is detected to be 0.6V through the first detection line 71 connected with the detection unit 23, the second port 22 is output to be 0.6V;
when the output voltage of 0.6V of the second data line 52 is detected through the second detection line 72 connected to the detection unit 23, the first port 21 is output as 0V or output as low level.
The OTG cable in the embodiment of the present invention may be applied to the charging method in the above embodiment, and the time sequence simulated in the charging method may include a DCP time sequence, an SDP time sequence, or a CDP time sequence, or may be simulated according to the process of the above simulation time sequence.
In the application process, when the OTG cable is a B2B cable, the first connection interface of the OTG cable is connected to the charging end of the first electronic device 30, and the second connection interface is connected to the receiving end of the second electronic device 40, and when the connection is completed and the charging is ready, the first switch K1 and the second switch K2 are closed; when the detection unit 23 detects that the identification pin (for example, the ID pin) is pulled down, the user may send a first signal through the second electronic device 40 according to the magnitude of the required charging current, and the control module 20 simulates a corresponding timing sequence, for example, a DCP timing sequence, an SDP timing sequence, or a CDP timing sequence, according to the first signal; after a delay of 500ms, the first switch K1, the second switch K2 are closed by the control module 20 and the first port 21 and the second port 22 are configured to be high impedance, after which the control module may be in sleep mode; the first electronic device 30 may charge the second electronic device 40 according to the identified timing signals simulated by the control module and the currents corresponding to the identified timing (for example, the SDP timing corresponds to 500mA and 900mA charging currents, the CDP timing corresponds to 1.5A charging currents, and the DCP timing corresponds to 2A charging currents), so that the user can select a desired charging current, which is convenient for the user to charge.
When the OTG cable is a C2C cable, a first connection interface of the OTG cable is connected to a charging end of the first electronic device 30, a second connection interface is connected to a receiving end of the second electronic device 40, and when the connection is completed and charging is ready, the first switch K1 and the second switch K2 are closed; when the detecting unit 23 detects that the level of the identification pin (for example, the CC pin) is within the OTG threshold range, the user may send a first signal through the second electronic device 40 according to the magnitude of the required charging current, and the control module 20 simulates a corresponding timing sequence according to the first signal, for example, a DCP timing sequence, an SDP timing sequence, or a CDP timing sequence; after a delay of 500ms, the first switch K1, the second switch K2 are closed by the control module 20 and the first port 21 and the second port 22 are configured to be high impedance, after which the control module 20 may be in sleep mode; the first electronic device 30 may charge the second electronic device 40 according to the identified timing signal simulated by the control module 20 and the current corresponding to the identified timing (for example, the SDP timing corresponds to the charging currents of 500mA and 900mA, the CDP timing corresponds to the charging current of 1.5A, and the DCP timing corresponds to the charging current of 2A), so that the user can select the required charging current, which is convenient for the user to charge.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A charging method applied to a first electronic device is characterized by comprising the following steps:
under the condition that a first electronic device is in charging connection with a second electronic device through an OTG cable, the first electronic device detects a time sequence of the OTG cable according to simulation of a first signal, wherein the first signal is a signal sent to the OTG cable by the second electronic device;
and the first electronic equipment controls the magnitude of the charging current according to the time sequence.
2. A charging method is applied to an OTG cable and is characterized by comprising the following steps:
under the condition that a first electronic device is in charging connection with a second electronic device through an OTG cable, the OTG cable receives a first signal, wherein the first signal is a signal sent by the second electronic device;
the OTG cable simulates timing according to the first signal.
3. A first electronic device, comprising:
the detection module is used for detecting a time sequence of the OTG cable according to simulation of a first signal, wherein the first signal is a signal sent by second electronic equipment;
and the charging module is used for controlling the magnitude of the charging current according to the time sequence.
4. A second electronic device, comprising:
and the sending module is used for sending a first signal, and under the condition that the second electronic equipment is connected with the OTG cable, the OTG cable simulates a time sequence according to the first signal.
5. The second electronic device of claim 4, further comprising:
the input module is used for inputting a target charging current value, and the transmitting module transmits the first signal according to the target charging current value.
6. The second electronic device of claim 5, further comprising:
and the input module is used for determining the target charging current value according to the type of the OTG cable.
7. An OTG cable, comprising:
a charging wire;
the first connection interface and the second connection interface are respectively arranged at two ends of the charging wire, the first connection interface is used for being connected with a charging end of first electronic equipment, and the second connection interface is used for being connected with a power receiving end of second electronic equipment;
the control module is used for simulating a time sequence according to a first signal sent by the second electronic equipment so that the first electronic equipment controls the magnitude of the charging current input to the second electronic equipment according to the time sequence.
8. The OTG cable of claim 7, further comprising:
a data line connected between the first connection interface and the second link interface, the data line including a first data line and a second data line;
the control module includes:
a detection unit for detecting output voltages of the first data line and the second data line;
the control unit is connected with the detection unit, a first port and a second port are arranged on the control unit, and the control unit is used for controlling the connection or disconnection between the first port and the first data line and the connection or disconnection between the second port and the second data line according to the first signal;
the control unit is used for controlling the output voltage of the first port and/or the second port according to the output voltage of the first data line;
and/or the control unit is used for controlling the output voltage of the first port and/or the second port according to the output voltage of the second data line;
the control unit simulates a timing by controlling on/off between the first port and the first data line and between the second port and the second data line, and according to an output voltage of the first port and/or the second port.
9. The OTG cable of claim 8, further comprising:
a first end of the first connection line is connected with the first data line, and a second end of the first connection line is connected with the first port;
a second connection line, a first end of which is connected to the second data line and a second end of which is connected to the second port;
a first detection line, a first end of which is connected with the first data line, and a second end of which is connected with the detection unit;
and a first end of the second detection line is connected with the second data line, and a second end of the second detection line is connected with the detection unit.
10. The OTG cable of claim 7, further comprising:
and the identification foot is used for identifying the type of the OTG cable.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010236909.2A CN111404227A (en) | 2020-03-30 | 2020-03-30 | Charging method, OTG cable and electronic equipment |
PCT/CN2021/083897 WO2021197310A1 (en) | 2020-03-30 | 2021-03-30 | Charging method, otg cable, and electronic devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010236909.2A CN111404227A (en) | 2020-03-30 | 2020-03-30 | Charging method, OTG cable and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111404227A true CN111404227A (en) | 2020-07-10 |
Family
ID=71431390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010236909.2A Pending CN111404227A (en) | 2020-03-30 | 2020-03-30 | Charging method, OTG cable and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111404227A (en) |
WO (1) | WO2021197310A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021197310A1 (en) * | 2020-03-30 | 2021-10-07 | 维沃移动通信有限公司 | Charging method, otg cable, and electronic devices |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106300466A (en) * | 2015-05-26 | 2017-01-04 | 联想移动通信科技有限公司 | Method, device and the terminal of a kind of OTG quick charge |
CN106340780A (en) * | 2016-09-21 | 2017-01-18 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and control method thereof |
CN108631401A (en) * | 2018-05-23 | 2018-10-09 | 北京小米移动软件有限公司 | Charging circuit, method, electronic equipment and storage medium |
CN109254210A (en) * | 2018-08-21 | 2019-01-22 | Oppo广东移动通信有限公司 | Electronic device port type detection method, apparatus, detection circuit and electronic equipment |
CN110417069A (en) * | 2018-04-28 | 2019-11-05 | 华为技术有限公司 | Charging equipment and USB cable and charging system |
US20190373952A1 (en) * | 2018-05-15 | 2019-12-12 | Lucas Michael Todd | Portable Vaporizer Device with Integrated Multi-Port Charging System |
CN110829523A (en) * | 2019-10-31 | 2020-02-21 | 华为技术有限公司 | Electronic equipment and reverse charging method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170098946A1 (en) * | 2014-09-18 | 2017-04-06 | Bernard Walls | Cell phone energy exchange device/ system and method |
CN109167216B (en) * | 2018-09-27 | 2021-03-30 | 北京小米移动软件有限公司 | Electronic device, charging device and charging method |
CN111404227A (en) * | 2020-03-30 | 2020-07-10 | 维沃移动通信有限公司 | Charging method, OTG cable and electronic equipment |
-
2020
- 2020-03-30 CN CN202010236909.2A patent/CN111404227A/en active Pending
-
2021
- 2021-03-30 WO PCT/CN2021/083897 patent/WO2021197310A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106300466A (en) * | 2015-05-26 | 2017-01-04 | 联想移动通信科技有限公司 | Method, device and the terminal of a kind of OTG quick charge |
CN106340780A (en) * | 2016-09-21 | 2017-01-18 | 奇酷互联网络科技(深圳)有限公司 | Terminal device and control method thereof |
CN110417069A (en) * | 2018-04-28 | 2019-11-05 | 华为技术有限公司 | Charging equipment and USB cable and charging system |
US20190373952A1 (en) * | 2018-05-15 | 2019-12-12 | Lucas Michael Todd | Portable Vaporizer Device with Integrated Multi-Port Charging System |
CN108631401A (en) * | 2018-05-23 | 2018-10-09 | 北京小米移动软件有限公司 | Charging circuit, method, electronic equipment and storage medium |
CN109254210A (en) * | 2018-08-21 | 2019-01-22 | Oppo广东移动通信有限公司 | Electronic device port type detection method, apparatus, detection circuit and electronic equipment |
CN110829523A (en) * | 2019-10-31 | 2020-02-21 | 华为技术有限公司 | Electronic equipment and reverse charging method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021197310A1 (en) * | 2020-03-30 | 2021-10-07 | 维沃移动通信有限公司 | Charging method, otg cable, and electronic devices |
Also Published As
Publication number | Publication date |
---|---|
WO2021197310A1 (en) | 2021-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101674366B (en) | Mobile terminal USB, or charger inserting identification method and identification device thereof | |
CN106502939B (en) | USB adapter and data transmission equipment | |
EP3086433A1 (en) | Charging method, alternating current adaptor, charging management device and terminal | |
CN201550170U (en) | USB/charger insert recognition device of mobile terminal | |
CN111817380B (en) | Charger, data line, charging equipment and electronic equipment | |
TW200908509A (en) | Power source detection system, charger can provide power source detection and the detection method thereof | |
WO2008090378A1 (en) | Battery connection unit | |
CN108123519A (en) | Power supply transfer equipment and its control method, device and electric power system | |
EP4119965B1 (en) | Charging test apparatus and method | |
CN115237235B (en) | USB equipment shift-out identification circuit and method and power supply system | |
CN201563242U (en) | Identifier for mobile communication terminal chargers | |
CN111404227A (en) | Charging method, OTG cable and electronic equipment | |
CN107819344A (en) | Charging control circuit, charge control method and mobile terminal | |
CN107942125B (en) | Power utilization testing circuit of built-in battery type electronic product and control method thereof | |
CN106706998A (en) | Terminal test system and terminal test method | |
CN106856289B (en) | Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal processing system | |
CN106200442B (en) | Method and device for realizing connection control | |
TW201814543A (en) | Apparatus and method for USB charge and communication | |
US8266348B2 (en) | System and method of communicating with portable devices | |
CN205508390U (en) | Collection system of bluetooth serial port equipment and mechanical piano information of playing | |
CN105161925A (en) | Method and device for identifying front and back of magnetic connector | |
CN107706977B (en) | Method for detecting charging current and charging device | |
CN214626428U (en) | Charging unit showing battery percentage | |
WO2019084812A1 (en) | Adapter, charging cable, electronic device and charging system | |
CN112910041B (en) | Charging circuit of terminal equipment, terminal equipment and terminal system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200710 |