A bidirectional charging circuit and device

By adding Type-C interface and two-way charging circuit to the AR host, the problem of not supporting Type-C interface in the existing technology is solved, and two-way charging is realized, which reduces resource waste and upgrade costs, and ensures safe charging of the power module.

CN113690967BActive Publication Date: 2025-08-05HUIZHOU TCL CLOUD INTERNET CORP TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110926408.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-12
Publication Date
2025-08-05
Estimated Expiration
2041-08-12

AI Technical Summary

Technical Problem

The existing technology only supports two-way charging of USB Micro-B interface on the AR Glass host of RK3229+RK816, and does not support the Type-C interface, resulting in increased platform upgrade costs and waste of resources.

Method used

Add a Type-C interface to the AR host, and bidirectional charging between the power supply module and external electronic devices or power adapter is realized through a two-way charging circuit, including a first transmission module, a main control module, a logic control module and a power supply module. The detection unit and a transformer unit detect the interface type are used to control the charging and discharging mode of the power supply module.

Benefits of technology

It effectively reduces resource waste and platform upgrade costs, realizes two-way charging of the Type-C interface, and ensures safe charging of the power module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113690967B_ABST
    Figure CN113690967B_ABST
Patent Text Reader

Abstract

The present invention discloses a bidirectional charging circuit and device, which includes a first transmission module, a main control module, a power module and a logic control module; the logic control module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device; the first transmission module is used to connect to an external electronic device or a power adapter, and output a second detection signal to the main control module when it detects that the power adapter is connected; the main control module is used to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal; the power module is used to provide power to the external electronic device via the first transmission module according to the first control signal, or receive power input from the power adapter via the first transmission module according to the second control signal to provide power to the main control module; the present invention reduces resource waste by adding the first transmission module to bidirectionally charge the power module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic circuits, and in particular to a bidirectional charging circuit and device. Background Art

[0002] On the AR Glass host based on RK3229+RK816, the existing technology only supports bidirectional charging through the USB Micro-B interface, but not through the Type-C interface. To improve the above problem, other powerful platforms have adopted the technical solution of canceling the Micro-B interface and only supporting the Type-C interface. However, this has led to increased platform upgrade costs and waste of resources.

[0003] Therefore existing technology still needs to be improved and improved. Summary of the Invention

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a bidirectional charging circuit and device, which can realize bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing resource waste and platform upgrade costs.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A bidirectional charging circuit is connected to a power adapter or an external electronic device, and includes a first transmission module, a main control module, a power module and a logic control module; the main control module is respectively connected to the first transmission module and the power module, the logic control module is also connected to the power module, and the first transmission module is also connected to the logic control module and the power module; the logic control module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device; the first transmission module is used to connect to an external electronic device or a power adapter, and output a second detection signal to the main control module when it detects that the power adapter is connected; the main control module is used to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal; the power module is used to provide power to the external electronic device via the first transmission module according to the first control signal, or receive power input from the power adapter via the first transmission module according to the second control signal.

[0007] The bidirectional charging circuit also includes a second transmission module; the second transmission module is respectively connected to the first transmission module, the logic control module and the main control module; the second transmission module is used to output the first detection signal output by the logic control module to the main control module.

[0008] In the bidirectional charging circuit, the first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the voltage transformation unit and the logic control module; the detection unit is used to output a first access signal to the logic control module when the external electronic device is connected, and output a second access signal to the main control module when the power adapter is connected.

[0009] In the bidirectional charging circuit, the logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to a power module; the control unit is used to output the first detection signal to the main control module according to the first access signal; and the pull-up unit is used to provide a high-level signal to the control unit.

[0010] In the bidirectional charging circuit, the main control module includes a main control chip; the main control chip is connected to the detection unit and is used to control the power module to provide power to the external electronic device via the first transmission module based on the first detection signal output by the detection unit, or to first generate a second detection signal based on the second access signal output by the detection unit, and then control the power module to receive power input from the power adapter via the first transmission module based on the second detection signal.

[0011] In the bidirectional charging circuit, the detection unit includes a first interface, a first resistor, a second resistor, a third resistor, a fourth resistor, a first electrostatic tube, a second electrostatic tube, a third electrostatic tube, a fourth electrostatic tube, a fifth electrostatic tube, a transient diode, a first capacitor, a second capacitor and a third capacitor; one end of the first electrostatic tube is connected to the A8 signal port of the first interface, one end of the second electrostatic tube and one end of the first resistor are both connected to the A5 signal end of the first interface, one end of the third electrostatic tube and one end of the second resistor are both connected to the B5 signal end of the first interface, the A5 signal end and the B5 signal end of the first interface are also connected to the logic control module, the other end of the first electrostatic tube, the other end of the second electrostatic tube, the other end of the third electrostatic tube, the other end of the first resistor and the other end of the second resistor are all grounded; one end of the fourth electrostatic tube is connected to the first The A6 and B6 signal ends of the interface are connected, the A6 and B6 signal ends of the first interface are also connected to the transformer unit, and the other end of the fourth electrostatic tube is grounded; one end of the fifth electrostatic tube is connected to the A7 and B7 signal ends of the first interface, the A7 and B7 signal ends of the first interface are also connected to the transformer unit, and the other end of the fifth electrostatic tube is grounded; one end of the first capacitor, one end of the second capacitor, one end of the transient diode and one end of the third resistor are all connected to the A9 signal end of the first interface, the A9 signal end of the first interface is also connected to the power supply, the other end of the third resistor is connected to one end of the fourth resistor, one end of the third capacitor and the second transmission module, the other end of the first capacitor, the other end of the second capacitor, the other end of the transient diode, the other end of the fourth resistor and the other end of the third capacitor are all grounded.

[0012] In the bidirectional charging circuit, the voltage conversion unit includes a fifth resistor, a sixth resistor, and a transformer; the first pin of the transformer is connected to one end of the sixth resistor, the fourth pin of the transformer is connected to the other end of the sixth resistor and the second transmission module, the second pin of the transformer is connected to one end of the fifth resistor and the second transmission module, and the third pin of the transformer is connected to the other end of the fifth resistor.

[0013] In the bidirectional charging circuit, the control unit includes a logic control chip, a seventh resistor, an eighth resistor and a fourth capacitor. Pins 1 and 2 of the logic control chip are both connected to the first transmission module, and pins 7, 8, 9 and 11 of the logic control chip are all connected to the pull-up unit. Pin 9 of the logic control chip is also connected to the second transmission module and the pull-up unit. One end of the seventh resistor is connected to pin 6 of the logic control chip and one end of the fourth capacitor, and the other end of the seventh resistor and pin 12 of the logic control chip are both connected to the power supply. The eighth resistor is connected to pins 5 and 12 of the logic control chip, and pin 12 of the logic control chip is also connected to the power supply.

[0014] In the bidirectional charging circuit, the pull-up unit includes a ninth resistor, a tenth resistor, an eleventh resistor, and a twelfth resistor, one end of the ninth resistor, one end of the tenth resistor, one end of the eleventh resistor, and one end of the twelfth resistor are all connected to the power port, and the other end of the ninth resistor, the other end of the tenth resistor, the other end of the eleventh resistor, and the other end of the twelfth resistor are all connected to the second transmission module.

[0015] A bidirectional charging device includes a PCB board, on which the bidirectional charging circuit as described above is arranged.

[0016] Compared with the prior art, the present invention provides a bidirectional charging circuit and device, which includes a first transmission module, a main control module, a power module and a logic control module; the first transmission module is used to connect to an external electronic device or a power adapter; the logic control module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device, or output a second detection signal to the main control module when it detects that the first transmission module is connected to a power adapter; the main control module is used to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal; the power module is used to provide power to the external electronic device via the first transmission module according to the first control signal, or receive power input from the power adapter via the first transmission module according to the second control signal to provide power to the main control module; the present invention reduces resource waste by adding the first transmission module to bidirectionally charge the power module. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A structural block diagram of the bidirectional charging circuit provided by the present invention;

[0018] Figure 2-3 A circuit diagram of the first transmission module in the bidirectional charging circuit provided by the present invention;

[0019] Figure 4 A circuit diagram of a logic control module in a bidirectional charging circuit provided by the present invention;

[0020] Figure 5 A circuit diagram of the second transmission module in the bidirectional charging circuit provided by the present invention;

[0021] Figure 6 This is a circuit diagram of the interface module in the bidirectional charging circuit provided by the present invention.

[0022] Figure 1: 10: bidirectional charging circuit; 20: power adapter; 30: external power supply; 40: external electronic device; 100: first transmission module; 110: detection unit; 120: voltage conversion unit; 200: logic control module; 210: control unit; 220: pull-up unit; 300: main control module; 400: power module; 500: second transmission module; 600: interface module; R1: first resistor; R2: second resistor; R3: third resistor; R4: fourth resistor; R5: fifth resistor; R6: sixth resistor; R7: seventh resistor; R8: eighth resistor; R9: ninth resistor; R10: tenth resistor; R11: eleventh resistor; R12: twelfth resistor; R13: thirteenth resistor; R14: The fourteenth resistor; R15: the fifteenth resistor; R16: the sixteenth resistor; R17: the seventeenth resistor; R18: the eighteenth resistor; R19: the nineteenth resistor; R20: the twentieth resistor; D1: the first electrostatic tube; D2: the second electrostatic tube; D3: the third electrostatic tube; D4: the fourth electrostatic tube; D5: the fifth electrostatic tube; D6: the sixth electrostatic tube; TVS: transient voltage diode; S1: the first switch; C1: the first capacitor; C2: the second capacitor; C3: the third capacitor; C4: the fourth capacitor; C5: the fifth capacitor; C6: the sixth capacitor; C7: the seventh capacitor; C8: the eighth capacitor; C9: the ninth capacitor; C10: the tenth capacitor; J1: the first interface; J2: the second interface; J3: the third interface; U1: the logic control chip. DETAILED DESCRIPTION

[0023] The present invention provides a bidirectional charging circuit and device, which can realize bidirectional charging by adding a Type-C interface to the original AR host, thereby effectively reducing resource waste and platform upgrade costs.

[0024] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0025] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.

[0026] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0027] The following describes the RF front-end circuit design solution through specific exemplary embodiments. It should be noted that the following embodiments are only used to illustrate the technical solution of the invention and are not intended to be limiting.

[0028] See also Figure 1The present invention provides a bidirectional charging circuit 10, which is connected to a power adapter 20, an external power supply 30 or an external electronic device 40. The bidirectional charging circuit includes a first transmission module 100, a logic control module 200, a main control module 300 and a power module 400; the main control module 300 is respectively connected to the first transmission module 100 and the power module 400, the logic control module 200 is also connected to the power module 400, and the first transmission module 100 is also connected to the logic control module 200 and the power module 400; the logic control module 200 is used to output a first detection signal to the main control module 300 when it detects that the first transmission module 100 is connected to the external electronic device 40, and is also used to output a first current detection signal to the main control module 300 when it detects that the first transmission module 100 is connected to the external power supply 30 or output a second current detection signal to the main control module 300 when it detects that the first transmission module 100 is connected to the power adapter 20; the first transmission module 100 is used to Connect an external electronic device 40 or a power adapter 20, and output a second detection signal to the main control module 300 when detecting that the power adapter 20 is connected; the main control module 300 is used to output a first control signal to the power module 400 according to the first detection signal, or output a second control signal to the power module 400 according to the second detection signal, and the main control module 300 is also used to output a first current control signal to the power module 400 according to the first current detection signal or output a second current control signal to the power module 400 according to the second current detection signal; the power module 400 is used to provide power to the external electronic device 40 via the first transmission module 100 according to the first control signal, or receive power input from the power adapter 20 via the first transmission module 100 according to the second control signal, and the power module 400 is also used to provide power to itself in the first current mode configured according to the first current control information or to provide power to itself in the second current mode configured according to the second current control information.

[0029] Among them, the first detection information is a low-level signal; the second detection information is a high-level signal; the first control information is DFP (Downstream Facing Port) mode information or OTG (OTG: On-The-Go: Plug and Play) mode information; the second control information is UFP (Upstream Facing Port: Upstream Port) mode information; the first current detection information is a low-current signal; the second current information is a large-current signal; the first control signal is a low-current mode signal; the second control signal is a medium-current mode signal or a high-current mode signal; the first current mode is a low-current mode; the second current mode is a medium or high-current mode.

[0030] Specifically, when the first transmission module 100 is connected to the external electronic device 40, first, the logic control module 200 outputs a first detection signal to the main control module 300, secondly, the main control module 300 outputs a first control information to the power module 400 according to the first detection signal, and finally, the power module 400 provides power to the external electronic device 40 through the first transmission module 100 according to the first control information.

[0031] When the first transmission module 100 is connected to the external power supply 30, the logic control module 200 outputs a first current detection signal to the main control module 300, and the main control module 300 outputs first current control information to the power supply module 400 according to the first current detection signal. The power supply module 400 is configured to a first current mode according to the first current control information to provide power to itself.

[0032] When the first transmission module 100 is connected to the power adapter 20, first, the first transmission module 100 outputs a second detection signal to the main control module 300, and at the same time, the logic control module 200 outputs a second current detection signal to the main control module 300; secondly, the main control module 300 outputs a second control signal to the power module 400 according to the second detection signal, and outputs a second current control signal to the power module 400 according to the second current detection signal; finally, the power module 400 receives the electric energy input from the power adapter 20 through the first transmission module 100 according to the second control signal, and is configured to the second current mode according to the second current control information to provide electric energy for itself.

[0033] In the present invention, the logic control module 200 outputs different level signals to the main control module 300 according to whether the first transmission module 100 is connected to the external electronic device 40 or the power adapter 20. The main control module 300 then controls the power module 400 to reversely provide power to the external electronic device 40 through the first transmission module 100 when the first transmission module 100 is connected to the external electronic device 40; and controls the power adapter 20 to charge the power module 400 through the first transmission module 100 when the first transmission module 100 is connected to the power adapter 20, thereby The bidirectional charging of the first transmission module 100 is realized simply and efficiently; similarly, the logic control module 200 outputs different current detection signals to the main control module 300 according to whether the first transmission module 100 is connected to an external power supply 30 or a power adapter 20. The main control module 300 controls the power module 400 according to the current detection signal and configures the corresponding current mode according to different current control information to provide power to the power module 400 itself, thereby effectively ensuring the safety of the power module 400 when charging.

[0034] Furthermore, the bidirectional charging circuit also includes a second transmission module 500; the second transmission module 500 is respectively connected to the first transmission module 100, the logic control module 200, the power module 400 and the main control module 300; the second transmission module 500 is used to output the first detection signal output by the logic control module 200 to the main control module 300.

[0035] Specifically, when the first transmission module 100 is connected to the external electronic device 40, the logic control module 200 outputs a first detection signal to the second transmission module 500, and the second transmission module 500 then transmits the first detection signal to the main control module 300 so that the main control module 300 can perform the next operation; the second transmission module 500 is mainly used to transmit the first detection signal to the main control module 300 to notify the main control module 300 that an external electronic device 40 is connected.

[0036] Furthermore, the bidirectional charging circuit also includes an interface module 600, which is connected to the first transmission module 100, the power module 400 and the logic control module 200. The interface module 600 is used to output the first current detection signal and the second current detection signal output by the logic control module 200 to the main control module 300.

[0037] Specifically, when the first transmission module 100 is connected to the external power supply 30, first, the logic control module 200 outputs a first current detection signal to the interface module 600, and secondly, the interface module 600 transmits the first current detection signal to the main control module 300. Then, the main control module 300 outputs a first current control signal to the power supply module 400 according to the first current detection signal. Finally, the power supply module 400 is configured to the first current mode according to the first current control information to provide power for itself.

[0038] When the first transmission module 100 is connected to the power adapter 20, first, the logic control module 200 outputs a second current detection signal to the interface module 600, then, the interface module 600 transmits the second current detection signal to the main control module 300, then, the main control module 300 outputs a second current control signal to the power module 400 according to the second current detection signal, and finally, the power module 400 is configured to the second current mode according to the second current control information to provide power to itself.

[0039] The first current detection signal and the second current detection signal are output to the main control module 300 through the interface module 600 to notify the main control module 300 that an external power source 30 or a power adapter 20 is connected.

[0040] Further, see Figure 2 and Figure 3 The first transmission module 100 includes a detection unit 110 and a voltage transformation unit 120; the detection unit 110 is connected to the voltage transformation unit 120 and the logic control module 200; the detection unit 110 is used to output a first access signal to the logic control module 200 when the external electronic device 40 is connected, and output a second access signal to the main control module 300 when the power adapter 20 is connected.

[0041] Specifically, when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs a first access signal to the logic control module 200 so that the logic control module 200 can perform the next operation. Similarly, when the detection unit 110 is connected to the power adapter 20, the detection unit 110 outputs a second access signal to the main control module 300 so that the main control module 300 can perform the next operation. The detection unit 110 is configured to output different access signals when it detects that the external electronic device 40 or the power adapter 20 is connected to it, thereby effectively generating an access signal that matches the external electronic device 40 or the power adapter 20 connected to the circuit.

[0042] Further, please participate Figure 4The logic control module 200 includes a control unit 210 and a pull-up unit 220; the control unit 210 is connected to the detection unit 110, the second transmission module 500, the power module 400 and the pull-up unit 220; the pull-up unit 220 is also connected to the second transmission module 500 and the power module 400; the control unit 210 is used to output the first detection signal to the main control module 300 according to the first access signal; the pull-up unit 220 is used to provide the second detection signal to the control unit 210.

[0043] Specifically, when the detection unit 110 is connected to the external electronic device 40, the detection unit 110 outputs a first access signal to the control unit 210, and the control unit 210 controls the pull-up unit 220 to output a first detection signal to the second transmission module 500 according to the first access signal. The second transmission module 500 then transmits the first detection signal to the main control module 300, and the main control module 300 outputs first control information to the power module 400 according to the first detection signal. The power module 400 provides power to the external electronic device 40 through the first transmission module 100 according to the first control information; the pull-up unit 220 outputs the first detection signal to the second transmission module 500 according to the first access signal through the control unit 210, thereby effectively converting the first access signal into a first detection signal that can be transmitted by the second transmission module 500, that is, converting the information of connecting the external electronic device 40 into a low-level signal that can be transmitted by the USB interface.

[0044] Furthermore, the main control module 300 includes a main control chip; the main control chip is connected to the detection unit 110, and is used to control the power module 400 to provide power to the external electronic device 40 through the first transmission module 100 according to the first detection signal output by the detection unit 110, or to first generate a second detection signal according to the second access signal output by the detection unit 110, and then control the power module 400 to receive the power input by the power adapter 20 through the first transmission module 100 according to the second detection signal. The main control chip is also used to control the power module 400 to be configured as a first current mode to provide power to itself according to the first current detection signal, or to control the power module 400 to be configured as a second current mode to provide power to itself according to the second current detection signal.

[0045] Specifically, when the second transmission module 500 transmits the first detection signal to the main control chip, the main control chip outputs the first control information to the power module 400 according to the first detection signal, and the power module 400 provides power to the external electronic device 40 through the first transmission module 100 according to the first control information.

[0046] When the control unit 210 outputs a first current detection signal to the main control chip, the main control chip outputs first current control information to the power module 400 according to the first current detection signal, and the power module 400 is configured to a first current mode according to the first current control information to provide power to itself.

[0047] When the detection unit 110 is connected to the power adapter 20, the detection unit 110 outputs a second access signal to the main control chip. The main control chip generates a second detection signal based on the second access signal, and then outputs a second control signal to the power module 400 based on the second detection signal. The power module 400 receives the power input from the power adapter 20 through the first transmission module 100 according to the second control information.

[0048] The main control chip controls the power adapter 20 to supply power to the power module 400 via the first transmission module 100, or controls the power module 400 to reversely charge the external electronic device 40 via the first transmission module 100, thereby effectively achieving bidirectional charging of the first transmission module 100. The main control chip is the RK3229 chip, a high-performance quad-core application processor mainly used for smart TV boxes.

[0049] Furthermore, the power module 400 includes a power control unit and a battery pack; the power control unit is connected to the main control module 300, the first transmission module 100 and the battery pack; the battery control unit 210 is used to control the battery pack to provide reverse current according to the first control information, and to control the battery pack to receive charging current to charge the battery pack itself according to the second control information; the battery pack is used to provide current to the external electronic device 40 or receive current from the power adapter 20.

[0050] Specifically, when the main control chip outputs first control information to the power control unit according to the first detection signal, the power control unit controls the battery pack to provide power to the external electronic device 40 through the first transmission module 100 according to the first control information.

[0051] When the main control chip generates a second detection signal according to the second access signal, and then outputs a second control signal to the power control unit according to the second detection signal, the power control unit controls the battery pack to receive the power input from the power adapter 20 through the first transmission module 100 according to the second control information.

[0052] When the main control chip outputs first current control information to the power control unit according to the first current detection signal, the power control unit is configured to a first current mode according to the first current control information to provide power to the battery pack.

[0053] When the main control module 300 outputs a second current control signal to the power control unit according to the second current detection signal, the power control unit is configured to a second current mode according to the second current control information to provide power to the battery pack.

[0054] The power control unit controls whether the battery pack charges itself or reversely supplies power according to different control information, thereby effectively controlling the charge and discharge state of the battery pack according to different control information. Furthermore, the power control unit controls the battery pack to match different charging current modes according to different current control information, thereby effectively controlling the charging current mode of the battery pack according to different current control information. The power control unit is an RK816 chip, a power management chip primarily used in conjunction with the RK3229 chip.

[0055] For further information, please refer to Figure 2 and Figure 3, the detection unit 110 includes a first interface J1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first electrostatic tube D1, a second electrostatic tube D2, a third electrostatic tube D3, a fourth electrostatic tube D4, a fifth electrostatic tube D5, a transient diode TVS, a first capacitor C1, a second capacitor C2 and a third capacitor C3; one end of the first electrostatic tube D1 is connected to the A8 signal port of the first interface J1, one end of the second electrostatic tube D2 and one end of the first resistor R1 are both connected to the A5 signal end of the first interface J1, one end of the third electrostatic tube D3 and one end of the second resistor R2 are both connected to the B5 signal end of the first interface J1, the A5 signal end and the B5 signal end of the first interface J1 are also connected to the logic control module 200, the other end of the first electrostatic tube D1, the other end of the second electrostatic tube D2, the other end of the third electrostatic tube D3, the other end of the first resistor R1 and the other end of the second resistor R2 are all grounded; one end of the fourth electrostatic tube D4 is connected to the first The A6 and B6 signal ends of the first interface J1 are connected, the A6 and B6 signal ends of the first interface J1 are also connected to the transformer unit 120, and the other end of the fourth electrostatic tube D4 is grounded; one end of the fifth electrostatic tube D5 is connected to the A7 and B7 signal ends of the first interface J1, the A7 and B7 signal ends of the first interface J1 are also connected to the transformer unit 120, and the other end of the fifth electrostatic tube D5 is grounded; one end of the first capacitor C1, one end of the second capacitor C2, one end of the transient diode TVS and one end of the third resistor R3 are all connected to the A9 signal end of the first interface J1, and the A9 signal end of the first interface J1 is also connected to the power supply, the other end of the third resistor R3 is connected to one end of the fourth resistor R4, one end of the third capacitor C3 and the second transmission module 500, and the other end of the first capacitor C1, the other end of the second capacitor C2, the other end of the transient diode TVS, the other end of the fourth resistor R4 and the other end of the third capacitor C3 are all grounded.

[0056] Specifically, when the A5 signal terminal and the B5 signal terminal of the first interface J1 (the TYPE_CC1 and TYPE_CC2 ports in this embodiment) are connected to the external electronic device 40, the first interface J1 outputs a first access signal to the control unit 210 via the A5 signal terminal and the B5 signal terminal of the first interface J1, so that the control unit 210 performs the next operation.

[0057] When the A5 signal terminal and the B5 signal terminal of the first interface J1 are connected to the external power supply 30, the control unit 210 outputs a first current detection signal to the interface module 600, and the interface module 600 transmits the first current detection signal to the main control chip so that the main control chip can perform the next operation.

[0058] When the A5 and B5 signal terminals of the first interface J1 are connected to the power adapter 20, the first interface J1 outputs a second detection signal to the main control chip through the A5 and B5 signal terminals of the first interface J1. At the same time, the control unit 210 outputs a second current detection signal to the interface module 600, and the interface module 600 transmits the second current detection signal to the main control chip so that the main control chip can perform the next operation; wherein, the first interface J1 is a Type-C interface. The transient diode TVS is used to reduce various surge pulses; the electrostatic tube is used to reduce the impact of ESD (electro-static discharge).

[0059] Furthermore, the transformation unit 120 includes a fifth resistor R5, a sixth resistor R6 and a transformer; the first pin of the transformer is connected to one end of the sixth resistor R6, the fourth pin of the transformer is connected to the other end of the sixth resistor R6 and the second transmission module 500, the second pin of the transformer is connected to one end of the fifth resistor R5 and the second transmission module 500, and the third pin of the transformer is connected to the other end of the fifth resistor R5.

[0060] For further information, please refer to Figure 4 The control unit 210 includes a logic control chip U1, a seventh resistor R7, an eighth resistor R8, and a fourth capacitor C4. Pins 1 and 2 of the logic control chip U1 are connected to the first transmission module 100, and pins 7, 8, 9, and 11 of the logic control chip U1 are connected to the pull-up unit 220. Pin 9 of the logic control chip U1 is also connected to the second transmission module 500 and the pull-up unit 220; one end of the seventh resistor R7 is connected to pin 6 of the logic control chip U1 and one end of the fourth capacitor C4, and the other end of the seventh resistor R7 and pin 12 of the logic control chip U1 are both connected to a power supply; the eighth resistor R8 is connected to pins 5 and 12 of the logic control chip U1, and pin 12 of the logic control chip U1 is also connected to a power supply.

[0061] Specifically, when the first interface J1 is connected to the external electronic device 40, the first interface J1 outputs a first access signal to the logic control chip U1. The logic control chip U1 controls the pull-up unit 220 according to the first access signal to output a first detection signal to the second transmission module 500 through the 9th pin of the logic control chip U1 (the OTG_ID port in this embodiment), so that the second transmission module 500 performs the next operation.

[0062] When the first interface J1 is connected to the external power supply 30 , the 7th and 8th pins of the logic control chip U1 output a first current detection signal to the interface module 600 so that the interface module 600 can perform the next operation.

[0063] When the first interface J1 is connected to the power adapter 20 , similarly, the 7th and 8th pins of the logic control chip U1 output a second current detection signal to the interface module 600 so that the interface module 600 can perform the next operation.

[0064] When the external electronic device 40 , the external power supply 30 or the power adapter 20 is connected to the first interface J1 through the logic control chip U1 , a corresponding detection signal is generated, thereby effectively reflecting the type of the device connected to the interface.

[0065] Furthermore, the pull-up unit 220 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11 and a twelfth resistor R12, one end of the ninth resistor R9, one end of the tenth resistor R10, one end of the eleventh resistor R11 and one end of the twelfth resistor R12 are all connected to the power supply module 400, and the other end of the ninth resistor R9, the other end of the tenth resistor R10, the other end of the eleventh resistor R11 and the other end of the twelfth resistor R12 are all connected to the second transmission module 500.

[0066] Further, see Figure 5 The second transmission module 500 includes a second interface J2, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a fifth capacitor C5, a sixth capacitor C6 and a seventh capacitor C7; one end of the thirteenth resistor R13 is connected to the V11 signal terminal of the second interface J2, one end of the fourteenth resistor R14 is connected to the V10 signal terminal of the second interface J2, one end of the fifth capacitor C5 is connected to the T10 signal terminal of the second interface J2 and the power module 400, and the other end of the thirteenth resistor R13, the other end of the fourteenth resistor R14 and the other end of the fifth capacitor C5 are all grounded; one end of the fifteenth resistor R15 is connected to one end of the sixth capacitor C6 and the T11 signal terminal of the second interface J2, the other end of the fifteenth resistor R15 is connected to one end of the seventh capacitor C7 and the power module 400, and the other end of the sixth capacitor C6 and the other end of the seventh capacitor C7 are both grounded.

[0067] Specifically, when the logic control chip U1 controls the pull-up unit 220 to output the first detection signal based on the first access signal, the first detection signal is transmitted to the second interface J2 via the R11 signal terminal of the second interface J2. The second interface J2 then transmits the first detection signal to the main control chip so that the main control chip can perform the next step. The first detection signal output by the logic control chip U1 is effectively and stably transmitted to the main control chip via the second interface J2, thereby notifying the main control chip that an external electronic device 40 is connected; the second interface J2 is a USB interface.

[0068] Further, see Figure 6 The interface module 600 includes a third interface J3, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor, a nineteenth resistor, a twentieth resistor R20, an eighth capacitor C8, a ninth capacitor C9, a tenth capacitor C10, a sixth electrostatic tube D6 and a first switch S1; the N20 signal end of the third interface J3 is connected to one end of the eighth capacitor C8, the U10 signal end of the third interface J3 is connected to one end of the ninth capacitor C9, one end of the sixteenth resistor R16, one end of the seventeenth resistor R17 and the first transmission module 100, the G14 signal end of the third interface J3 and one end of the tenth capacitor C10 are both connected to the power module 400, and the K19 signal end of the third interface J3 is connected to One end of the eighteenth resistor is connected, the L20 signal end of the third interface J3 is connected to one end of the nineteenth resistor, the H16 signal end of the third interface J3 is connected to one end of the twentieth resistor R20, the G16, G17 and G19 signal ends of the third interface J3 are all connected to the logic control module 200, the other end of the eighth capacitor C8, the other end of the ninth capacitor C9 and the other end of the tenth capacitor C10 are all grounded, the other end of the sixteenth resistor R16 is connected to the power supply, the other end of the seventeenth resistor R17 is connected to one end of the sixth electrostatic tube D6 and one end of the first switch S1, and the other end of the sixth electrostatic tube D6 and the other end of the first switch S1 are all grounded.

[0069] Specifically, when the first interface J1 is connected to the external power supply 30, the logic control chip U1 outputs a first current detection signal to the third interface J3, and the third interface J3 then transmits the first current detection signal to the main control chip so that the main control chip performs the next operation.

[0070] When the first interface J1 is connected to the power adapter 20, the logic control chip U1 outputs a second current detection signal to the third interface J3, and the third interface J3 then transmits the second current detection signal to the main control chip so that the main control chip can perform the next operation.

[0071] Different detection signals output by the logic control chip U1 are effectively and stably transmitted to the main control chip through the third interface J3, thereby notifying the first interface J1 that different charging devices are connected; wherein the third interface J3 is a GPIO interface.

[0072] In order to better understand the present invention, the following Figure 1-4 The working principle of the RF front-end circuit of the present invention is described in detail:

[0073] When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to an external electronic device 40, first, the Type-C interface outputs a first access signal to the logic control chip U1 via pins 1 and 2 of the logic control chip U1. The logic control chip U1 outputs a low-level signal to the USB interface via the OTG_ID port of the logic control chip U1 according to the first access signal. Secondly, the USB interface transmits the low-level signal to the main control chip. The main control chip outputs DFP mode information to the power control unit according to the low-level signal. Finally, the power control unit controls the battery pack to provide power to the external electronic device 40 through the Type-C interface according to the DFP mode information.

[0074] When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the Type-C interface outputs a second access signal to the main control chip, the main control chip generates a high-level signal according to the second access signal, and then outputs UFP mode information to the power control unit according to the high-level signal. Finally, the power control unit controls the battery pack to receive the power input by the power adapter 20 through the Type-C interface according to the UFP mode information.

[0075] That is, when the Type-C interface is connected to an external electronic device 40, the logic control chip U1 outputs a low-level signal and transmits it to the main control chip via the USB interface to notify the main control chip that an external electronic device 40 is connected. The main control chip outputs DFP mode information to the power control unit. At this time, the power control unit controls the battery pack to provide power to the external electronic device 40 through the Type-C interface; when the Type-C interface is connected to the power adapter 20, the main control chip outputs UFP mode information to the power control unit. At this time, the power control unit controls the battery pack to receive the power input from the power adapter 20 via the Type-C interface.

[0076] When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the external power supply 30, first, the logic control chip U1 outputs a low current signal to the GPIO interface, and the GPIO interface transmits the low current signal to the main control chip. Secondly, the main control chip outputs a low current mode signal to the power control unit according to the low current signal. Finally, the power control unit is configured to a low current mode according to the low current mode signal to receive the external power supply 30 to provide power to the battery pack.

[0077] When the TYPE_CC1 and TYPE_CC2 ports of the Type-C interface are connected to the power adapter 20, first, the logic control chip U1 outputs a high current signal to the GPIO interface, and the GPIO interface transmits the high current signal to the main control chip. Secondly, if a low-power power adapter 20 is connected, the main control chip outputs a medium current mode signal to the power control unit according to the high current signal; if a high-power power adapter 20 is connected, the main control chip outputs a high current mode signal to the power control unit according to the high current signal; finally, the power control unit is configured to the medium current mode or the high current mode according to the medium current mode signal or the high current mode signal to receive the power adapter 20 to provide power to the battery pack.

[0078] That is, when the Type-C interface is connected to an external power source 30, the logic control chip U1 outputs a low-current signal and transmits it to the main control chip via the GPIO interface. The main control chip outputs a low-current mode signal to the power control unit based on the low-current signal. At this time, the power control unit is configured to a low-current mode based on the low-current mode signal to receive the external power source 30 to provide power to the battery pack. When the Type-C interface is connected to a power adapter 20, the logic control chip U1 outputs a high-current signal and transmits it to the main control chip via the GPIO interface. At this time, the main control chip will prioritize determining the power of the power adapter 20. If it is low power, it outputs a medium-current mode signal to the power control unit. The power control unit is configured to a medium-current mode based on the medium-current mode signal to receive the external power source 30 to provide power to the battery pack. If it is high power, it outputs a high-current mode signal to the power control unit. The power control unit is configured to a high-current mode based on the high-current mode signal to receive the external power source 30 to provide power to the battery pack.

[0079] Furthermore, the present invention also provides a bidirectional charging device, including a PCB board, on which the bidirectional charging circuit 10 as described above is provided. Since the circuit has been described in detail above, it will not be repeated here.

[0080] In summary, the present invention provides a bidirectional charging circuit and device, which includes a first transmission module, a main control module, a power module and a logic control module; the logic control module is used to output a first detection signal to the main control module when it detects that the first transmission module is connected to an external electronic device; the first transmission module is used to connect to an external electronic device or a power adapter, and output a second detection signal to the main control module when it detects that the power adapter is connected; the main control module is used to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal; the power module is used to provide power to the external electronic device through the first transmission module according to the first control signal, or receive power input from the power adapter through the first transmission module according to the second control signal to provide power to the main control module; the present invention reduces resource waste by adding the first transmission module to the power module for bidirectional charging.

[0081] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A bidirectional charging circuit, characterized in that: Connected to a power adapter, an external power supply or an external electronic device, the bidirectional charging circuit includes a first transmission module, a main control module, a power module, a logic control module, a second transmission module and an interface module; The main control module is connected to the first transmission module and the power module respectively, the logic control module is also connected to the power module, and the first transmission module is also connected to the logic control module and the power module; The logic control module is configured to output a first detection signal to the main control module when detecting that the first transmission module is connected to an external electronic device; The logic control module is further configured to output a first current detection signal to the main control module when detecting that the first transmission module is connected to an external power supply, or output a second current detection signal to the main control module when detecting that the first transmission module is connected to a power adapter; The first transmission module is used to connect to an external electronic device or a power adapter, and output a second detection signal to the main control module when detecting that a power adapter is connected; The first transmission module includes a detection unit and a voltage transformation unit; the detection unit is connected to the logic control module, and the detection unit is connected to the second transmission module via the voltage transformation unit; the detection unit is configured to output a first access signal to the logic control module when detecting that the external electronic device is connected, and output a second access signal to the main control module when the power adapter is connected; The main control module is configured to output a first control signal to the power module according to the first detection signal, or output a second control signal to the power module according to the second detection signal; The main control module is further configured to output a first current control signal to the power module according to the first current detection signal or output a second current control signal to the power module according to the second current detection signal; The power module is used to provide power to the external electronic device via the first transmission module according to the first control signal, or to receive power input from the power adapter via the first transmission module according to the second control signal; The power supply module is further configured to provide power to itself in a first current mode according to the first current control signal or to provide power to itself in a second current mode according to the second current control signal; The second transmission module is connected to the first transmission module, the logic control module and the main control module respectively; the second transmission module is used to output the first detection signal output by the logic control module to the main control module; The interface module is used to output the first current detection signal and the second current detection signal output by the logic control module to the main control module.

2. The bidirectional charging circuit according to claim 1, characterized in that: The logic control module includes a control unit and a pull-up unit; the control unit is connected to the first transmission module and the pull-up unit; the pull-up unit is also connected to the power supply module; the control unit is used to output the first detection signal to the main control module according to the first access signal; the pull-up unit is used to provide a high-level signal to the control unit.

3. The bidirectional charging circuit according to claim 1, wherein: The main control module includes a main control chip; the main control chip is connected to the detection unit, and is used to control the power module to provide power to the external electronic device through the first transmission module according to the first detection signal, or to control the power module to receive power input from the power adapter through the first transmission module according to the second detection signal.

4. The bidirectional charging circuit according to claim 1, wherein: The detection unit includes a first interface, a first resistor, a second resistor, a third resistor, a fourth resistor, a first electrostatic tube, a second electrostatic tube, a third electrostatic tube, a fourth electrostatic tube, a fifth electrostatic tube, a transient diode, a first capacitor, a second capacitor and a third capacitor; One end of the first electrostatic tube is connected to the A8 signal port of the first interface, one end of the second electrostatic tube and one end of the first resistor are both connected to the A5 signal terminal of the first interface, one end of the third electrostatic tube and one end of the second resistor are both connected to the B5 signal terminal of the first interface, the A5 signal terminal and the B5 signal terminal of the first interface are also connected to the logic control module, and the other end of the first electrostatic tube, the other end of the second electrostatic tube, the other end of the third electrostatic tube, the other end of the first resistor and the other end of the second resistor are all grounded; One end of the fourth electrostatic tube is connected to the A6 and B6 signal terminals of the first interface, and the A6 and B6 signal terminals of the first interface are also connected to the voltage conversion unit, and the other end of the fourth electrostatic tube is grounded; One end of the fifth electrostatic tube is connected to the A7 and B7 signal terminals of the first interface, which are also connected to the voltage conversion unit, and the other end of the fifth electrostatic tube is grounded; One end of the first capacitor, one end of the second capacitor, one end of the transient diode, and one end of the third resistor are all connected to the A9 signal terminal of the first interface, and the A9 signal terminal of the first interface is also connected to a power supply. The other end of the third resistor is connected to one end of the fourth resistor, one end of the third capacitor, and the second transmission module. The other end of the first capacitor, the other end of the second capacitor, the other end of the transient diode, the other end of the fourth resistor, and the other end of the third capacitor are all grounded.

5. The bidirectional charging circuit according to claim 1, wherein: The transformation unit includes a fifth resistor, a sixth resistor and a transformer; the first pin of the transformer is connected to one end of the sixth resistor and the second transmission module, the fourth pin of the transformer is connected to the other end of the sixth resistor and the detection unit, the second pin of the transformer is connected to one end of the fifth resistor and the second transmission module, and the third pin of the transformer is connected to the other end of the fifth resistor and the detection unit.

6. The bidirectional charging circuit according to claim 2, characterized in that: The control unit includes a logic control chip, a seventh resistor, an eighth resistor, and a fourth capacitor. Pins 1 and 2 of the logic control chip are connected to the first transmission module. Pins 7, 8, 9, and 11 of the logic control chip are connected to the pull-up unit. Pin 9 of the logic control chip is also connected to the second transmission module. One end of the seventh resistor is connected to pin 6 of the logic control chip, and the other end of the seventh resistor is connected to pin 12 of the logic control chip and one end of the fourth capacitor; the eighth resistor is connected to pin 5 and pin 12 of the logic control chip, and pin 12 of the logic control chip is also connected to the power supply.

7. The bidirectional charging circuit according to claim 2, characterized in that: The pull-up unit includes a ninth resistor, a tenth resistor, an eleventh resistor and a twelfth resistor, one end of the ninth resistor, one end of the tenth resistor, one end of the eleventh resistor and one end of the twelfth resistor are all connected to the power supply module, the other end of the ninth resistor, the other end of the tenth resistor and the other end of the twelfth resistor are all connected to the interface module, and the other end of the eleventh resistor is connected to the second transmission module.

8. A bidirectional charging device, comprising a PCB board, characterized in that: The PCB board is provided with a bidirectional charging circuit as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Portable power source device and charge-discharge processing method

    CN105449731A