CN114069801A - Quick charging connection circuit, quick charging connection device and charging control method - Google Patents

Quick charging connection circuit, quick charging connection device and charging control method Download PDF

Info

Publication number
CN114069801A
CN114069801A CN202111470267.3A CN202111470267A CN114069801A CN 114069801 A CN114069801 A CN 114069801A CN 202111470267 A CN202111470267 A CN 202111470267A CN 114069801 A CN114069801 A CN 114069801A
Authority
CN
China
Prior art keywords
charging
waveform generation
waveform
circuit
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111470267.3A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Xinhai Microelectronics Technology Co ltd
Original Assignee
Xi'an Xinhai Microelectronics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Xinhai Microelectronics Technology Co ltd filed Critical Xi'an Xinhai Microelectronics Technology Co ltd
Priority to CN202111470267.3A priority Critical patent/CN114069801A/en
Publication of CN114069801A publication Critical patent/CN114069801A/en
Pending legal-status Critical Current

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
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/02Contact members
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R31/00Coupling parts supported only by co-operation with counterpart
    • H01R31/06Intermediate parts for linking two coupling parts, e.g. adapter
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage

Landscapes

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

Abstract

The invention relates to the technical field of quick charging, and particularly discloses a quick charging connection circuit, a quick charging connection device and a charging control method. This fill connecting circuit soon includes: a charging circuit; the MCU is connected to the charging line and integrated with various fast charging protocols; the first waveform generation module is connected with the MCU and used for generating a corresponding protocol waveform according to the quick charge protocol called by the MCU; the first waveform generation module comprises a first waveform generation component and a second waveform generation component which are connected with the MCU, the first waveform generation component and the second waveform generation component respectively comprise a waveform generation sub-circuit or a plurality of waveform generation sub-circuits which are connected in parallel, and each waveform generation sub-circuit comprises one or a plurality of switching devices. Through the mode, the problem that the output voltage of the quick charging adapter cannot be adjusted according to requirements due to the fact that the quick charging protocol is fixed can be solved.

Description

Quick charging connection circuit, quick charging connection device and charging control method
Technical Field
The invention relates to the technical field of quick charging, in particular to a quick charging connection circuit, a quick charging connection device and a charging control method.
Background
With the development of science and technology, the quick charging technology is popularized in the mobile phone industry, and at present, one mobile phone power adapter supporting quick charging is used by a basic person, but for most people, the power adapter is only used for charging a mobile phone, and is hardly used for other purposes. However, for some electronic fevers or electronic industry practitioners, if one power adapter can meet the use scenarios of various voltage requirements, it will bring much convenience to their work.
The quick charging device in the background art can not change the output voltage of the adapter at will according to the requirement.
Disclosure of Invention
The invention provides a quick charge connecting circuit, a quick charge connecting device and a charge control method, which can solve the problem that a quick charge adapter cannot adjust output voltage according to requirements due to a fixed quick charge protocol.
In order to solve the technical problems, the invention adopts a technical scheme that: provided is a quick charge connection circuit, including:
a charging circuit;
the MCU is connected to the charging line and integrated with various fast charging protocols;
the first waveform generation module is connected with the MCU and used for generating a corresponding protocol waveform according to the quick charge protocol called by the MCU;
the first waveform generation module comprises a first waveform generation component and a second waveform generation component which are connected with the MCU, the first waveform generation component and the second waveform generation component respectively comprise a waveform generation sub-circuit or a plurality of waveform generation sub-circuits which are connected in parallel, and each waveform generation sub-circuit comprises one or a plurality of switching devices.
According to an embodiment of the invention, the fast charging connection circuit further comprises a detection module and a charging control module which are arranged on the charging circuit; the MCU comprises a sampling end, a signal end and a charging control end, wherein the sampling end is used for collecting detection signals of the detection module, the signal end is matched with the detection module and is used for generating interrupt signals, the charging control end is used for controlling the charging control module, the detection module is connected with the sampling end, the charging control module is connected with the charging control end, the MCU receives output current and/or output voltage of the charging circuit collected by the detection module through the sampling end and generates interrupt signals through the signal end, and the charging control module is controlled to be switched on or switched off through control signals output by the charging control end.
According to an embodiment of the present invention, the first waveform generating module is connected to a fast charging adapter, the fast charging adapter includes a first interface, the MCU includes a first communication terminal connected to the first interface, the first waveform generating component is connected to a GPIO pin of the first communication terminal and a DM pin of the first interface, and the second waveform generating component is connected to a GPIO pin of the first communication terminal and a DP pin of the first interface.
According to an embodiment of the present invention, the first waveform generation component includes a first waveform generation sub-circuit, a second waveform generation sub-circuit, and a third waveform generation sub-circuit connected in parallel to each other, and the second waveform generation component includes: a fourth waveform generation sub-circuit, a fifth waveform generation sub-circuit, and a sixth waveform generation sub-circuit connected in parallel with each other.
According to an embodiment of the present invention, each of the first waveform generation sub-circuit to the sixth waveform generation sub-circuit includes one or more switching devices, and the switching devices are MOS transistors, triodes, or analog switches.
According to an embodiment of the present invention, the rapid charging adapter includes a second interface, the MCU further includes a second communication terminal connected to the second interface, the rapid charging connection circuit further includes a second waveform generation module connected to the second interface and the second communication terminal, the second waveform generation module includes a third waveform generation component connected to the GPIO pin of the second communication terminal and the CC1 pin of the second interface, and a fourth waveform generation component connected to the GPIO pin of the second communication terminal and the CC2 pin of the second interface, each of the third waveform generation component and the fourth waveform generation component includes one waveform generation sub-circuit or a plurality of waveform generation sub-circuits connected in parallel, each of the waveform generation sub-circuits includes one or more switching devices.
According to one embodiment of the invention, the MCU further comprises a third communication terminal for receiving user input information and an extended communication terminal for connecting a functional device.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a quick charge connection device comprising: and the quick charging connection circuit is arranged.
In order to solve the technical problems, the invention adopts another technical scheme that: provided is a charge control method including:
when the quick charging connection device is connected with the quick charging adapter, the voltage or the current of a charging line is monitored in real time;
when the voltage or the current of the charging line is monitored, calling a quick charging protocol according to a preset priority order, generating a corresponding protocol waveform, and transmitting the protocol waveform to the quick charging adapter to identify the protocol waveform;
if the identification result is that the protocol waveform does not meet the preset quick-charging protocol of the quick-charging adapter, the next quick-charging protocol is circularly called according to the preset priority order and a corresponding protocol waveform is generated, the protocol waveform is transmitted to the quick-charging adapter, and the identification result is obtained again until the protocol waveform meets the preset quick-charging protocol of the quick-charging adapter.
According to an embodiment of the present invention, if the identification result is that the protocol waveform satisfies the preset fast charging protocol of the fast charging adapter, a control signal is output to control a charging control module to conduct the charging line to charge a fast charging device.
The invention has the beneficial effects that: through integrating multiple fast protocol in MCU, utilize first waveform generation subassembly and second waveform generation subassembly combination control in order to produce the agreement waveform that satisfies fast protocol of filling to the induced adapter of filling exports the required voltage of user, solved fast adapter of filling and can not adjust output voltage's problem because of fixed fast protocol of filling, make the adapter of filling can satisfy the use scene of various voltage demands, promote user experience.
Drawings
Fig. 1 is a schematic structural diagram of a fast charging connection circuit according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a fast charge circuit according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a fast charging connection circuit according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a fast charging connection circuit according to a fourth embodiment of the present invention;
FIG. 5 is a schematic diagram of a fast charge connection circuit according to an embodiment of the present invention generating protocol waveforms with different voltages on a DM signal line;
FIG. 6 is a schematic diagram of a fast charge circuit according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a fast charging connection circuit according to a sixth embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a quick charge coupling device according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating a charging control method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first", "second" and "third" in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. All directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Fig. 1 is a schematic structural diagram of a fast charge connection circuit according to an embodiment of the present invention, please refer to fig. 1, where the fast charge connection circuit 100 includes a charging line 10 connected to both a fast charge adapter 200 and a fast charge device 300, an MCU20 connected to the charging line 10 and integrated with multiple fast charge protocols, and a first waveform generation module 30 connected to the MCU20 and configured to generate a waveform according to the fast charge protocol called by the MCU20, where the first waveform generation module 30 includes a first waveform generation component 31 connected to the MCU20 and a second waveform generation component 32, the first waveform generation component 31 and the second waveform generation component 32 each include one waveform generation sub-circuit or multiple waveform generation sub-circuits connected in parallel, and each waveform generation sub-circuit includes one or multiple switching devices.
The quick charging adapter 200 of the present embodiment is used for outputting corresponding voltage and current to the quick charging device 300 according to the protocol waveform, and the quick charging device 300 includes, but is not limited to, a mobile phone, a tablet, a notebook, an MP3, an MP4, a mobile power supply, and other electronic products.
In an implementation, the fast charging connection circuit 100 may be provided in a separate fast charging connection device, or may be integrated with the fast charging adapter 200 or the fast charging device 300. The rapid charging adapter 200 of this embodiment stores one or more rapid charging protocols, the MCU20 is provided with a memory (not shown in the figure), the memory stores multiple rapid charging protocols, protocol waveform data sequences corresponding to the rapid charging protocols, and code functions simulating protocol waveforms, and the code functions can be called by a main program on the MCU20 at any time. The fast charging protocol of the embodiment includes, but is not limited to, QC, PD, VOOC, SCP, FPC, flashcharge, PE, MI Turbo Charge, and other fast charging protocols. The above-mentioned fast charging protocol is stored on MCU20 according to a preset priority order, and the preset priority order of this embodiment can be adjusted according to the actual needs of the user. For example, the priority order is QC, PD, VOOC, SCP, FPC, flashcharge, PE, MI Turbo Charge, when the MCU20 is connected to the fast charging adapter 200, the MCU20 monitors the voltage or current to trigger the MCU20 to start handshaking with the fast charging adapter 200, the MCU20 preferably handshakes with the QC fast charging protocol, and then handshakes with the fast charging protocols such as PD, VOOC, SCP, FPC, flashcharge, PE, MI Turbo Charge, and once the MCU20 successfully handshakes with a certain fast charging protocol, the MCU20 does not handshake with other fast charging protocols. If the MCU20 successfully handshakes with a certain fast charging protocol, the fast charging adapter 200 outputs a corresponding voltage and current, and if all the fast charging protocols are not successfully handshaked, the fast charging adapter 200 outputs a 5V standard voltage.
Referring to fig. 2, in an implementation embodiment, the fast charging connection circuit 100 further includes a detection module 40 and a charging control module 50, which are disposed on the charging line 10, the MCU20 includes a sampling terminal 21 for collecting a detection signal of the detection module 40, a signal terminal 27 cooperating with the detection module 40 for generating an interrupt signal, and a charging control terminal 22 for controlling the charging control module 50; detection module 40 is connected between charging line 10 and sampling end 21, MCU20 receives the output current and/or the output voltage of charging line 10 that detection module 40 gathered through sampling end 21, if there is electric current or voltage, signal end 27 produces interrupt signal INT, trigger MCU20 and fill adapter 200 soon and begin to handshake, charging control module 50 is connected between charging line 10 and charging control end 22, MCU20 controls charging control module 50 through the control signal of charging control end 22 output and switches on or break off charging line 10.
In one implementation, referring to fig. 2, the sampling module 40 may be a resistor and the charging control module 50 may be a control switch.
In an implementation example, referring to fig. 3, at least one fast charge protocol may be applied to the fast charge adapter 200, in this embodiment, if the fast charge adapter 200 may apply a QC fast charge protocol, the fast charge adapter 200 includes a first interface 201 (i.e., a USB interface), the MCU20 includes a first communication port 23 connected to the first interface 201, and the first waveform generation module 30 is connected between the first communication port 23 and the first interface 201.
In an implementation example, referring to fig. 3, the first waveform generating component 31 is connected between the GPIO pin of the first communication terminal 23 and the DM pin of the first interface 201, and the second waveform generating component 32 is connected between the GPIO pin of the first communication terminal 23 and the DP pin of the first interface 201.
The first waveform generation component 31 includes a first waveform generation sub-circuit 1, a second waveform generation sub-circuit 2, and a third waveform generation sub-circuit 3 that are connected in parallel to each other, and the second waveform generation component 32 includes: a fourth waveform generation sub-circuit 4, a fifth waveform generation sub-circuit 5, and a sixth waveform generation sub-circuit 6 connected in parallel with each other. The first waveform generation sub-circuit 1 to the sixth waveform generation sub-circuit 6 each include one or more switching devices, control terminals of the switching devices are connected to the first communication terminal 23, and signal output terminals of the switching devices are connected to the first interface 201. The switching device is an MOS tube, a triode or an analog switch.
In an embodiment, please refer to fig. 4, which takes a switching device as an example for detailed description, referring to fig. 4, the first waveform generating sub-circuit 1 includes a first MOS transistor Q1 and a first resistor R1, a pin GPIO-1 of the first communication terminal 23 is connected to a gate of the first MOS transistor Q1, a drain of the first MOS transistor Q1 is connected to a DM pin (D-pin) of the first interface 201 through the first resistor R1, and a source of the first MOS transistor Q1 is grounded; the second waveform generation sub-circuit 2 comprises a second MOS transistor Q2, a third MOS transistor Q3 and a second resistor R2, a pin GPIO-2 of the first communication terminal 23 is connected to a gate of the second MOS transistor Q2, a drain of the second MOS transistor Q2 is connected to a gate of the third MOS transistor Q3, a source of the second MOS transistor Q2 is grounded, a drain of the third MOS transistor Q3 is connected to a DM pin (D-pin) of the first interface 201 through the second resistor R2, and a source of the third MOS transistor Q3 is externally connected with a preset voltage-stabilizing power supply; the third waveform generation sub-circuit 3 includes a fourth MOS transistor Q4, a fifth MOS transistor Q5 and a third resistor R3, the GPIO-3 pin of the first communication terminal 23 is connected to the gate of the fourth MOS transistor Q4, the drain of the fourth MOS transistor Q4 is connected to the gate of the fifth MOS transistor Q5, the source of the fourth MOS transistor Q4 is grounded, the drain of the fifth MOS transistor Q5 is connected to the DM pin (D-pin) of the first interface 201 through the third resistor R3, and a source of the fifth MOS transistor Q5 is externally connected to a preset voltage-stabilizing power supply.
As shown in fig. 4 and 5, protocol waveforms having different voltages can be generated on the DM signal line by the combined control of the first waveform generating sub-circuit 1, the second waveform generating sub-circuit 2, and the third waveform generating sub-circuit 3. Specifically, the number of GPIO interfaces on the first communication terminal 23 may be reduced or increased according to actual needs. For example, if the GPIO interfaces are two pairs, each waveform generation sub-circuit includes two sets of switching devices.
In an implementation example, referring to fig. 4, the fourth waveform generation sub-circuit 4 includes a sixth MOS transistor Q6 and a fourth resistor R4, the GPIO-4 pin of the first communication terminal 23 is connected to the gate of the sixth MOS transistor Q6, the drain of the sixth MOS transistor Q6 is connected to the (D +) pin of the DP of the first interface 201 through the fourth resistor R4, and the source of the sixth MOS transistor Q6 is grounded; the fifth waveform generating sub-circuit 5 comprises a seventh MOS transistor Q7, an eighth MOS transistor Q8 and a fifth resistor R5, a pin GPIO-5 of the first communication terminal 23 is connected to a gate of the seventh MOS transistor Q7, a drain of the seventh MOS transistor Q7 is connected to a gate of the eighth MOS transistor Q8, a source of the seventh MOS transistor Q7 is grounded, a drain of the eighth MOS transistor Q8 is connected to a (D +) pin of the DP of the first interface 201 through the fifth resistor R5, and a source of the eighth MOS transistor Q8 is externally connected with a preset voltage-stabilizing power supply; the sixth waveform generating sub-circuit 6 includes a ninth MOS transistor Q9, a tenth MOS transistor Q10 and a sixth resistor R6, the pin GPIO-6 of the first communication terminal 23 is connected to the gate of the ninth MOS transistor Q9, the drain of the ninth MOS transistor Q9 is connected to the gate of the tenth MOS transistor Q10, the source of the ninth MOS transistor Q9 is grounded, the drain of the tenth MOS transistor Q10 is connected to the (D +) pin of the DP of the first interface 201 through the sixth resistor R6, and a regulated power supply is externally connected to the source of the tenth MOS transistor Q10. The preset regulated power supply of the embodiment is a 5V regulated power supply.
The QC quick-charging protocol is used for handshaking through voltage waveform combination on a DM/DP signal line, the voltage has three different gears of 0V, 0.6V and 3.3V, and the traditional GPIO only has one fixed voltage, so that multi-gear voltage adjustment is difficult to realize; the special quick charge identification unit module has higher cost and poor expandability. The protocol waveform meeting the QC quick-charging protocol is generated by utilizing two groups of waveform generating assemblies and controlling a combinational logic circuit consisting of MOS tubes through the logic combination of the two groups of waveform generating assemblies.
On the basis of the above embodiments, in an implementable embodiment, if the quick charge adapter 200 can adapt to QC and PD quick charge protocols, the quick charge adapter 200 further includes the second interface 202 (i.e. Type-C interface), as shown in fig. 6, the MCU20 further includes the second communication terminal 24 connected to the second interface 202, the quick charge connection circuit 100 further includes the second waveform generation module 60 connected between the second interface 202 and the second communication terminal 24, and the second waveform generation module 60 includes the third waveform generation component (not shown in the figure) connected between the GPIO pin of the second communication terminal 24 and the CC1 pin of the second interface 202, and the fourth waveform generation component (not shown in the figure) connected between the GPIO pin of the second communication terminal 24 and the CC2 pin of the second interface 202. The third waveform generating component and the first waveform generating component 31 of this embodiment have the same structure, the structure of the first waveform generating component 31 has been described in detail above, and is not described again here, the structure of the fourth waveform generating component is the same as the structure of the second waveform generating component 32, and the structure of the second waveform generating component 32 has been described in detail above, and is not described again here.
On the basis of the above-mentioned embodiment, in an implementable embodiment, please refer to fig. 7, the MCU20 further includes a third communication terminal 25 for receiving user input information and an extended communication terminal 26 for connecting functional devices.
The third communication terminal 25 of this embodiment is connected to the external control button 70 and/or the universal asynchronous transceiver 80, so that a user can input a required voltage through the external control button 70 or transmit required voltage information to the MCU20 through the universal asynchronous transceiver 80, and after the MCU20 obtains the input information through the third communication terminal 25, the first waveform generating module 30 is triggered to generate a corresponding protocol waveform, and the rapid charging adapter 200 is induced to output the corresponding voltage.
Further, the uart 80 may detect whether the protocol waveform output by the MCU20 is consistent with the protocol waveform transmitted by the MCU20, and if not, notify the MCU20 to correct the protocol waveform until the protocol waveform is detected to be consistent with the protocol waveform transmitted. If multiple anomalies are detected, indicating that the hardware connection may fail, MCU20 should immediately cease voltage-inducing action.
The MCU20 of this embodiment is a general MCU, and besides inducing the adapter 200 to output the corresponding voltage, other functions, such as LCD and sensor, may be extended by using GPIO of the MCU 20.
The fast charging connection circuit 100 of this embodiment integrates multiple fast charging protocols into the MCU20, and utilizes the combination control of the first waveform generating component 31 and the second waveform generating component 32 to generate a protocol waveform meeting the fast charging protocol, so as to induce the fast charging adapter 200 to output the voltage required by the user, thereby solving the problem that the fast charging adapter 200 cannot adjust the output voltage according to the requirement due to the fixed fast charging protocol, so that the fast charging adapter 200 can meet the use scenarios of various voltage requirements, and improving the user experience.
Referring to fig. 8, the fast charging connection apparatus 400 includes the fast charging connection circuit 100. The quick charging connection device 400 of the present embodiment is used as an independent device, the quick charging apparatus 300 is connected to the quick charging adapter 200 through the quick charging connection device 400, and in other embodiments, the quick charging connection device 400 may also be integrated as a functional module in the quick charging apparatus 300 or the quick charging adapter 200.
The embodiment of the invention also provides a charging control method, and fig. 9 is a schematic flow chart of the charging control method according to the embodiment of the invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 9 if the results are substantially the same. As shown in fig. 9, the method includes the steps of:
step S901: when the quick charging connecting device is connected with the quick charging adapter, the voltage or the current of the charging line is monitored in real time.
In step S901, if the quick charge connection device is provided with a detection module, the ADC1/2 of the MCU may collect voltage; if the quick charging connecting device is not provided with a detection module, the ADC1/2 of the MCU can only collect voltage. INT generates an interrupt signal if ADC1/2 acquires a voltage.
Step S902: when the voltage or the current of the charging line is monitored, the quick charging protocol is called according to the preset priority sequence, a corresponding protocol waveform is generated, and the protocol waveform is transmitted to the quick charging adapter to identify the protocol waveform.
In step S902, when the interrupt signal is detected, the fast charging connection device and the fast charging adapter are triggered to start handshaking.
Specifically, the MCU initiates the handshake process.
In an optional implementation manner, the fast charging protocol is called according to a preset priority order, a corresponding protocol waveform is generated, and the protocol waveform is transmitted to the fast charging adapter to identify the protocol waveform.
In the above embodiments, the fast charging protocol includes, but is not limited to, QC, PD, VOOC, SCP, FPC, flashcharge, PE, MI Turbo Charge, and other fast charging protocols. The rapid charging protocol is stored in the MCU according to a preset priority order, and the preset priority order of the embodiment can be adjusted according to the actual requirements of users. For example, the priority sequence is preset to be QC, PD, VOOC, SCP, FPC, FLASHCHARGER, PE and MI Turbo Charge, when the MCU is connected with the fast charging adapter, the MCU triggers the MCU to start handshaking with the fast charging adapter when monitoring a power supply signal, the MCU preferentially handshakes with the QC fast charging protocol, then handshakes with the fast charging protocols such as PD, VOOC, SCP, FPC, FLASHCHARGER, PE and MI Turbo Charge, and once the MCU handshakes with a certain fast charging protocol successfully, the MCU does not handshake with other fast charging protocols. During the process of handshaking between the MCU and the quick-charging protocol, the MCU calls the quick-charging protocol and generates a corresponding protocol waveform, the protocol waveform is transmitted to the quick-charging adapter to identify the protocol waveform, if the quick-charging adapter identifies that the received protocol waveform meets the preset quick-charging protocol, the handshaking is successful, if the MCU successfully handshakes with a certain quick-charging protocol, the quick-charging adapter outputs corresponding voltage and current, and if all the quick-charging protocols are not successfully handshaked, the quick-charging adapter outputs 5V standard voltage.
Step S903: and if the identification result is that the protocol waveform does not meet the preset quick-charging protocol of the quick-charging adapter, circularly calling the next quick-charging protocol according to the preset priority order and generating a corresponding protocol waveform, transmitting the protocol waveform to the quick-charging adapter and acquiring the identification result again until the protocol waveform meets the preset quick-charging protocol of the quick-charging adapter.
In step S903, the rapid charging adapter identifies the protocol waveform transmitted by the MCU, if the identification result is that the protocol waveform does not satisfy the preset rapid charging protocol of the rapid charging adapter, a handshake failure signal is fed back to the MCU, the MCU continues to round-robin the next rapid charging protocol according to the preset priority order after receiving the handshake failure signal and generates a corresponding protocol waveform, and transmits the new protocol waveform to the rapid charging adapter, and the rapid charging adapter identifies the new protocol waveform again until the identification result is that the new protocol waveform satisfies the preset rapid charging protocol of the rapid charging adapter, and if all the rapid charging protocols do not succeed in handshaking, the rapid charging adapter outputs a 5V standard voltage.
In some realizable embodiments, after receiving the handshake failure signal, the MCU may further receive a voltage required by an external control key input or a voltage information required by the transmission of the universal asynchronous transceiver through the third communication terminal, generate a corresponding protocol waveform according to the received input information, and induce the rapid charging adapter to output a corresponding voltage. Or directly receiving the voltage required by the input of an external control key or the voltage information required by the transmission of the universal asynchronous receiving and transmitting transmitter through the third communication terminal, generating a corresponding protocol waveform according to the received input information, and inducing the quick charging adapter to output the corresponding voltage.
For example, a user inputs a voltage/current of 9V/2A (corresponding to QC) through an external control key, and the MCU triggers the first waveform generation module to output a corresponding voltage waveform.
In some implementations, the uart may detect whether the protocol waveform output by the MCU is consistent with the protocol waveform it transmits, and if not, notify the MCU to modify the protocol waveform until it is detected that the protocol waveform output is consistent with the protocol waveform it transmits. If the abnormality is detected for multiple times, the hardware connection is indicated to be possibly failed, and the MCU should immediately stop the voltage inducing action.
In this embodiment, if the identification result is that the protocol waveform satisfies the preset fast charging protocol of the fast charging adapter, the control signal is output to control the charging control module to turn on a charging line to charge the fast charging device.
In some realizable embodiments, during the charging process of the quick charging device, the output current and the output voltage of a charging line during the charging process are detected in real time; calculating output power according to the output current and the output voltage and comparing the output power with the preset protocol power of the quick charging adapter; and if the output power is greater than the preset protocol power, modifying the protocol waveform and transmitting the modified protocol waveform to the quick charging adapter to adjust the output power.
In some realizable embodiments, after the step of detecting the output current and the output voltage in the charging circuit during the charging process in real time, the method further comprises the following steps:
when the output voltage is greater than the preset voltage threshold and the output current is greater than the preset current threshold, the output control signal controls the charging control module to disconnect the charging circuit to stop charging the quick charging device.
In this embodiment, when the output voltage is greater than the preset voltage threshold and the output current is greater than the preset current threshold, it indicates that the short circuit or other abnormal conditions exist in the fast charging device, and the MCU protects the fast charging device and the fast charging adapter from being damaged by controlling the disconnection of the charging control module.
According to the charging control method, when the handshake between the quick charging adapter and the MCU fails, the next quick charging protocol is called in a round-robin manner according to the preset priority order, the corresponding protocol waveform is generated, the new protocol waveform is transmitted to the quick charging adapter, the quick charging adapter identifies the new protocol waveform again, and the quick charging adapter is induced to output the fixed voltage until the identification result is that the new protocol waveform meets the preset quick charging protocol of the quick charging adapter, so that the problem that the output voltage of the quick charging adapter cannot be adjusted according to the requirement due to the fixed quick charging protocol is solved, the quick charging adapter can meet the use scenes of various voltage requirements, and the user experience is improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A fast charging connection circuit, comprising:
a charging circuit;
the MCU is connected to the charging line and integrated with various fast charging protocols;
the first waveform generation module is connected with the MCU and used for generating a corresponding protocol waveform according to the quick charge protocol called by the MCU;
the first waveform generation module comprises a first waveform generation component and a second waveform generation component which are connected with the MCU, the first waveform generation component and the second waveform generation component respectively comprise a waveform generation sub-circuit or a plurality of waveform generation sub-circuits which are connected in parallel, and each waveform generation sub-circuit comprises one or a plurality of switching devices.
2. The fast charging connection circuit of claim 1, further comprising a detection module and a charging control module disposed on the charging circuit; the MCU comprises a sampling end, a signal end and a charging control end, wherein the sampling end is used for collecting detection signals of the detection module, the signal end is matched with the detection module and is used for generating interrupt signals, the charging control end is used for controlling the charging control module, the detection module is connected with the sampling end, the charging control module is connected with the charging control end, the MCU receives output current and/or output voltage of the charging circuit collected by the detection module through the sampling end and generates interrupt signals through the signal end, and the charging control module is controlled to be switched on or switched off through control signals output by the charging control end.
3. The fast charging connection circuit of claim 1, wherein the first waveform generation module is connected to a fast charging adapter, the fast charging adapter comprises a first interface, the MCU comprises a first communication port connected to the first interface, the first waveform generation module is connected to a GPIO pin of the first communication port and a DM pin of the first interface, and the second waveform generation module is connected to a GPIO pin of the first communication port and a DP pin of the first interface.
4. A fast charging connection circuit according to claim 3, wherein the first waveform generation component comprises a first waveform generation sub-circuit, a second waveform generation sub-circuit and a third waveform generation sub-circuit connected in parallel, and the second waveform generation component comprises: a fourth waveform generation sub-circuit, a fifth waveform generation sub-circuit, and a sixth waveform generation sub-circuit connected in parallel with each other.
5. The fast charging connection circuit of claim 4, wherein the first waveform generation sub-circuit to the sixth waveform generation sub-circuit each comprise one or more switching devices, and the switching devices are MOS transistors, triodes, or analog switches.
6. The fast charging connection circuit of claim 3, wherein the fast charging adapter comprises a second interface, the MCU further comprises a second communication terminal connected to the second interface, the fast charging connection circuit further comprises a second waveform generation module connected to the second interface and the second communication terminal, the second waveform generation module comprises a third waveform generation component connected to a GPIO pin of the second communication terminal and a CC1 pin of the second interface, and a fourth waveform generation component connected to a GPIO pin of the second communication terminal and a pin of the second interface, the third waveform generation component and the fourth waveform generation component each comprise one waveform generation sub-circuit or a plurality of waveform generation sub-circuits connected in parallel, and each waveform generation sub-circuit comprises one or more switching devices.
7. The fast charging connection circuit of claim 1, wherein the MCU further comprises a third communication terminal for receiving user input information and an extended communication terminal for connecting to a functional device.
8. A fill connecting device soon characterized in that includes: a fast charging connection circuit as claimed in any one of claims 1 to 7.
9. A charge control method, comprising:
when the quick charging connection device is connected with the quick charging adapter, the voltage or the current of a charging line is monitored in real time;
when the voltage or the current of the charging line is monitored, calling a quick charging protocol according to a preset priority order, generating a corresponding protocol waveform, and transmitting the protocol waveform to the quick charging adapter to identify the protocol waveform;
if the identification result is that the protocol waveform does not meet the preset quick-charging protocol of the quick-charging adapter, the next quick-charging protocol is circularly called according to the preset priority order and a corresponding protocol waveform is generated, the protocol waveform is transmitted to the quick-charging adapter, and the identification result is obtained again until the protocol waveform meets the preset quick-charging protocol of the quick-charging adapter.
10. The charge control method according to claim 9, characterized by further comprising:
if the identification result is that the protocol waveform meets the preset quick-charging protocol of the quick-charging adapter, a control signal is output to control a charging control module to conduct the charging line so as to charge the quick-charging device.
CN202111470267.3A 2021-12-03 2021-12-03 Quick charging connection circuit, quick charging connection device and charging control method Pending CN114069801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111470267.3A CN114069801A (en) 2021-12-03 2021-12-03 Quick charging connection circuit, quick charging connection device and charging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111470267.3A CN114069801A (en) 2021-12-03 2021-12-03 Quick charging connection circuit, quick charging connection device and charging control method

Publications (1)

Publication Number Publication Date
CN114069801A true CN114069801A (en) 2022-02-18

Family

ID=80228577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111470267.3A Pending CN114069801A (en) 2021-12-03 2021-12-03 Quick charging connection circuit, quick charging connection device and charging control method

Country Status (1)

Country Link
CN (1) CN114069801A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115079771A (en) * 2022-06-17 2022-09-20 西安芯海微电子科技有限公司 Waveform generation method, waveform storage method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115079771A (en) * 2022-06-17 2022-09-20 西安芯海微电子科技有限公司 Waveform generation method, waveform storage method, device, equipment and storage medium
CN115079771B (en) * 2022-06-17 2024-04-12 西安芯海微电子科技有限公司 Waveform generation method, waveform storage device, waveform generation equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5717005B2 (en) Method and terminal for selecting an internal circuit according to the status of a USB interface
US10318270B2 (en) Method for upgrading firmware of adapter, apparatus, and system thereof
CN110829523B (en) Electronic equipment and reverse charging method
CN110100366A (en) Mobile terminal, peripheral equipment and its charging method
CN108228509B (en) USB interface switching device and electronic equipment
CN111817380B (en) Charger, data line, charging equipment and electronic equipment
CN103365388A (en) Power supply method of terminal device and terminal device
JP2013109410A (en) Determination circuit
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN108964187A (en) The charging method of terminal and terminal room
JP2018033244A (en) Electronic apparatus and control method therefor
KR20140101963A (en) System for performing charging and data communication
CN110520743B (en) Test board, test system and test method of charging device
JP6944172B1 (en) A connector and a method of performing charge control using the connector
CN114069801A (en) Quick charging connection circuit, quick charging connection device and charging control method
CN105093027A (en) Multifunctional test instrument and multifunctional test test method
CN106856289B (en) Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal processing system
CN107124012A (en) Charging method, device, charger, terminal and system
WO2017049556A1 (en) Data transmission method and mobile terminal
CN211017659U (en) USB connects converting circuit and connects converter
CN106026232A (en) Detecting method and apparatus for USB port type
CN111509815B (en) Data line and charging equipment
US10193286B2 (en) Electronic device and control method thereof
CN204706733U (en) USB connecting line
TW201516620A (en) Method for determining installation direction of electronic device and electronic 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