Dual type-c intelligent variable voltage charging and discharging control circuit, device and method
By independently controlling charging and discharging in a dual Type-C system, and utilizing a combination of a PD protocol control module and a discharge control unit, the problem of underutilization of the Type-C source discharge capability in traditional systems is solved, thus meeting the needs of multiple scenarios and providing a superior user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN XINLONGPENG TECH CO LTD
- Filing Date
- 2022-04-29
- Publication Date
- 2026-07-03
AI Technical Summary
In traditional dual Type-C charging and discharging systems, charging and discharging are mostly done at the same level, which results in the Type-C power source's discharge capacity not being fully utilized and failing to meet the needs of diverse usage scenarios.
The maximum discharge capacity of the Type-C source is obtained through the PD protocol control module. When there are two Type-C sources, their discharge capacity is determined and they are configured as a discharge device and a receiving device. The independent control of charging and discharging is achieved by using the switching states of the first discharge control unit, the second discharge control unit, etc.
This maximizes the discharge capability of the Type-C power source, meets diverse usage needs, and improves the user experience.
Smart Images

Figure CN114709901B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of dual Type-C technology, and in particular to a dual Type-C intelligent transformer charging and discharging control circuit, device and method. Background Technology
[0002] USB Type-C is a USB interface standard that is smaller than both Type-A and Type-B. It can be used in both PCs (host devices) and external devices (slave devices, such as mobile phones). USB Type-C has 4 pairs of TX / RX pins, 2 pairs of USB D+ / D- pins, 1 pair of SBU pins, 2 CC pins, 4 VBUS pins, and 4 ground pins.
[0003] Traditional dual Type-C charge / discharge display systems mostly use the same charging and discharging level, which results in insufficient utilization of the Type-C source's discharge capability. For example, if source C0 has a discharge capability of 5 / 9V / 12V / 20V and source C1 has a charging capability of 5V, then charging and discharging can only occur at the 5V level. If charging and discharging are controlled separately, the discharge capability of the Type-C source can be maximized. For example, with the same source C0 and source C1, source C0 can discharge at 20V while source C1 charges at 5V, thus meeting the needs of more usage scenarios. Therefore, inventing a reliable dual Type-C intelligent transformer charge / discharge control circuit is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a dual Type-C intelligent transformer charging and discharging control circuit, device, and method. In this solution, when only one Type-C source is inserted, the PD protocol control module obtains the maximum discharge capacity of the Type-C source and controls the discharge module to discharge to the system power module. When two Type-C sources are inserted simultaneously, the PD protocol control module determines the discharge capacity of the two Type-C sources and configures the two Type-C sources as a discharge device and a power receiving device. By controlling the switching states of the first discharge control unit, the second discharge control unit, the third discharge control unit, the fourth discharge control unit, the first charging control unit, the second charging control unit, the third charging control unit, and the fourth charging control unit, the discharge capacity of the Type-C sources is maximized, meeting the usage needs of different scenarios and providing a high-quality user experience.
[0005] To address the aforementioned technical issues, this application provides a dual Type-C intelligent transformer charging and discharging control circuit, comprising: a first Type-C female connector, a second Type-C female connector, a PD protocol control module, a charging module, a transformer control module, a system power supply module, and a discharging module;
[0006] The discharge module includes a first discharge control unit, a second discharge control unit, a third discharge control unit, and a fourth discharge control unit;
[0007] The charging module includes a first charging control unit, a second charging control unit, a third charging control unit, and a fourth charging control unit;
[0008] The first Type-C female connector is electrically connected to the PD protocol control module, the first discharge control unit, the fourth discharge control unit, the first charging control unit, and the fourth charging control unit, respectively; the PD protocol control module is electrically connected to the transformer control module, the first discharge control unit, the second discharge control unit, the third discharge control unit, the fourth discharge control unit, the first charging control unit, the second charging control unit, the third charging control unit, and the fourth charging control unit, respectively.
[0009] The first discharge control unit is electrically connected to the second discharge control unit, the second discharge control unit is electrically connected to the third discharge control unit, the third discharge control unit is electrically connected to the fourth discharge control unit, and both the second discharge control unit and the third discharge control unit are electrically connected to the transformer control module.
[0010] The first charging control unit is electrically connected to the second charging control unit, the second charging control unit is electrically connected to the third charging control unit, the third charging control unit is electrically connected to the fourth charging control unit, and both the second charging control unit and the third charging control unit are electrically connected to the transformer control module.
[0011] When the first Type-C female connector is electrically connected to the first Type-C power source and the second Type-C female connector is passively inserted, the PD protocol control module is used to obtain the maximum discharge capability of the first Type-C power source, the first discharge control unit and the second discharge control unit are turned on, the third discharge control unit and the fourth discharge control unit are turned off, and the discharge module is used to discharge to the system power module.
[0012] When the second Type-C female connector is electrically connected to the second Type-C power source and the first Type-C female connector is passively inserted, the PD protocol control module is used to obtain the maximum discharge capability of the second Type-C power source, the first discharge control unit and the second discharge control unit are turned off, the third discharge control unit and the fourth discharge control unit are turned on, and the discharge module is used to discharge to the system power module.
[0013] When the first TypeC female connector and the second TypeC female connector are simultaneously connected to a TypeC power source, the PD protocol control module is used to determine the discharge capacity of the first TypeC power source and the second TypeC power source, and set the TypeC power source with the larger discharge capacity as the discharge device. The first discharge control unit and the fourth discharge control unit are turned off, and the second discharge control unit and the third discharge control unit are turned on. The discharge module is used to discharge to the system power module.
[0014] If a Type-C source with a small discharge capacity is set as a charging device, the first charging control unit and the second charging control unit are turned on, while the third charging control unit and the fourth charging control unit are turned off, and the charging module is used for charging control.
[0015] If the second Type-C source is used as a charging device, the first charging control unit and the second charging control unit are turned off, while the third charging control unit and the fourth charging control unit are turned on, and the charging module is used for charging control.
[0016] The PD protocol control module is used to control the transformer control module to output the rated power supply voltage during charging.
[0017] Preferably, the dual Type-C intelligent transformer charging and discharging control circuit further includes a voltage detection module, which includes a first voltage detection unit and a second voltage detection unit;
[0018] The first voltage detection unit is electrically connected to the first Type-C female connector and the PD protocol control module, respectively;
[0019] The second voltage detection unit is electrically connected to the second Type-C female connector and the PD protocol control module, respectively.
[0020] Preferably, the first discharge control unit includes a first enhancement-mode MOSFET, a first NMOS transistor, a first diode, a first resistor, a second resistor, and a third resistor;
[0021] The first end of the first resistor is electrically connected to the PD protocol control module, the second end of the first resistor is electrically connected to the source of the first NMOS transistor, the gate of the first NMOS transistor is grounded, the drain of the first NMOS transistor is electrically connected to the first end of the second resistor and the first end of the third resistor, the second end of the second resistor is electrically connected to the gate of the first enhancement-mode MOSFET, the drain of the first enhancement-mode MOSFET is electrically connected to the first Type-C socket and the anode of the first diode, and the source of the first enhancement-mode MOSFET is electrically connected to the second end of the third resistor, the cathode of the first diode, and the second discharge control unit.
[0022] Preferably, the second discharge control unit includes a second enhancement-mode MOSFET, a second NMOS transistor, a fourth resistor, a fifth resistor, and a sixth resistor;
[0023] The first end of the fourth resistor is electrically connected to the PD protocol control module, the second end of the fourth resistor is electrically connected to the source of the second NMOS transistor, the gate of the second NMOS transistor is grounded, the drain of the second NMOS transistor is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor, the second end of the fifth resistor is electrically connected to the gate of the second enhancement-mode MOSFET, the drain of the second enhancement-mode MOSFET is electrically connected to the transformer control module and the third discharge control unit, and the source of the second enhancement-mode MOSFET is electrically connected to the second end of the sixth resistor and the first discharge control unit.
[0024] Preferably, the first charging control unit includes a third enhancement-mode MOSFET, a third NMOS transistor, a seventh resistor, an eighth resistor, and a ninth resistor;
[0025] The first terminal of the seventh resistor is electrically connected to the PD protocol control module, the second terminal of the seventh resistor is electrically connected to the source of the third NMOS transistor, the gate of the third NMOS transistor is grounded, the drain of the third NMOS transistor is electrically connected to the first terminal of the eighth resistor and the first terminal of the ninth resistor, the second terminal of the eighth resistor is electrically connected to the gate of the third enhancement-mode MOSFET, the drain of the third enhancement-mode MOSFET is electrically connected to the first Type-C female connector, and the source of the third enhancement-mode MOSFET is electrically connected to the second terminal of the ninth resistor and the second charging control unit.
[0026] Preferably, the second charging control unit includes a fourth enhancement-mode MOSFET, a fourth NMOS transistor, a tenth resistor, an eleventh resistor, and a twelfth resistor;
[0027] The first terminal of the tenth resistor is electrically connected to the PD protocol control module, the second terminal of the tenth resistor is electrically connected to the source of the fourth NMOS transistor, the gate of the fourth NMOS transistor is grounded, the drain of the fourth NMOS transistor is electrically connected to the first terminal of the eleventh resistor and the first terminal of the twelfth resistor, the second terminal of the eleventh resistor is electrically connected to the gate of the fourth enhancement-mode MOSFET, the drain of the fourth enhancement-mode MOSFET is electrically connected to the transformer control module and the third charging control unit, and the source of the fourth enhancement-mode MOSFET is electrically connected to the second terminal of the twelfth resistor and the first charging control unit.
[0028] Preferably, the first voltage detection unit includes a thirteenth resistor and a fourteenth resistor;
[0029] The first end of the thirteenth resistor is electrically connected to the first Type-C female connector, the second end of the thirteenth resistor is electrically connected to the first end of the fourteenth resistor and the PD protocol control module, and the second end of the fourteenth resistor is grounded.
[0030] Preferably, the second voltage detection unit includes a fifteenth resistor and a sixteenth resistor;
[0031] The first end of the fifteenth resistor is electrically connected to the second Type-C female connector, the second end of the fifteenth resistor is electrically connected to the first end of the sixteenth resistor and the PD protocol control module, and the second end of the sixteenth resistor is grounded.
[0032] To address the aforementioned technical problems, this application provides a dual Type-C intelligent transformer charging and discharging control device, including the aforementioned dual Type-C intelligent transformer charging and discharging control circuit.
[0033] To address the aforementioned technical problems, this application provides a dual Type-C intelligent transformer charging and discharging control method, applied to the aforementioned dual Type-C intelligent transformer charging and discharging control circuit. The control method includes:
[0034] When the first Type-C source is connected to the first Type-C female connector and the second Type-C female connector is passively inserted, the PD protocol control module is controlled to obtain the maximum discharge capability of the first Type-C source, the first discharge control unit and the second discharge control unit are turned on, and the third discharge control unit and the fourth discharge control unit are turned off.
[0035] The discharge module is controlled to discharge the system power module based on the maximum discharge capability of the first Type C source;
[0036] When the second Type-C source is connected to the second Type-C female connector and the first Type-C female connector is not passively inserted, the PD protocol control module is controlled to obtain the maximum discharge capability of the second Type-C source, the first discharge control unit and the second discharge control unit are turned off, and the third discharge control unit and the fourth discharge control unit are turned on.
[0037] The discharge module is controlled to discharge the system power module based on the maximum discharge capability of the second Type C source;
[0038] When the first TypeC female connector and the second TypeC female connector are simultaneously connected to a TypeC source, the PD protocol control module is controlled to determine the discharge capability of the first TypeC source and the second TypeC source.
[0039] A Type-C source with high discharge capacity is set as a discharge device. The first discharge control unit and the fourth discharge control unit are turned off, while the second discharge control unit and the third discharge control unit are turned on, controlling the discharge module to discharge to the system power module.
[0040] If a Type-C source with a small discharge capacity is set as a charging device, the first charging control unit and the second charging control unit are turned on, while the third charging control unit and the fourth charging control unit are turned off, and the charging module performs charging control.
[0041] If the first Type-C source is used as a charging device, the first charging control unit and the second charging control unit are turned off, while the third charging control unit and the fourth charging control unit are turned on, and the charging module performs charging control.
[0042] The dual Type-C intelligent transformer charging and discharging control circuit of the present invention has the following beneficial effects. The dual Type-C intelligent transformer charging and discharging control circuit disclosed in this invention includes: a first Type-C female connector, a second Type-C female connector, a PD protocol control module, a charging module, a transformer control module, a system power supply module, and a discharging module; the discharging module includes a first discharging control unit, a second discharging control unit, a third discharging control unit, and a fourth discharging control unit; the charging module includes a first charging control unit, a second charging control unit, a third charging control unit, and a fourth charging control unit. This invention separates the charging and discharging control in the dual Type-C system, maximizing the utilization of the Type-C power source's discharge capacity, meeting the usage needs of different scenarios, and providing a superior user experience. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort:
[0044] Figure 1 This is a schematic diagram of the structure of a dual Type-C intelligent transformer charging and discharging control circuit according to a preferred embodiment of the present invention;
[0045] Figure 2 This is a schematic diagram of the structure of a dual Type-C intelligent transformer charging and discharging control circuit according to a preferred embodiment of the present invention;
[0046] Figure 3 This is a circuit diagram of the voltage detection module of a dual Type-C intelligent transformer charging and discharging control circuit according to a preferred embodiment of the present invention.
[0047] Figure 4 This is a circuit diagram of the discharge module of a dual Type-C intelligent transformer charging and discharging control circuit according to a preferred embodiment of the present invention.
[0048] Figure 5 This is a circuit diagram of a charging module of a dual Type-C intelligent transformer charging and discharging control circuit according to a preferred embodiment of the present invention.
[0049] Figure 6 This is a flowchart of a preferred embodiment of the present invention, showing a dual Type-C intelligent transformer charging and discharging control method. Detailed Implementation
[0050] The core of this application is to provide a dual Type-C intelligent transformer charging and discharging control circuit, device, and method. In this solution, when only one Type-C source is inserted, the PD protocol control module obtains the maximum discharge capacity of the Type-C source and controls the discharge module to discharge to the system power module. When two Type-C sources are inserted simultaneously, the PD protocol control module determines the discharge capacity of the two Type-C sources and configures the two Type-C sources as a discharge device and a power receiving device. By controlling the switching states of the first discharge control unit, the second discharge control unit, the third discharge control unit, the fourth discharge control unit, the first charging control unit, the second charging control unit, the third charging control unit, and the fourth charging control unit, the discharge capacity of the Type-C sources is maximized, meeting the usage needs of different scenarios and providing a high-quality user experience.
[0051] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] Please see Figure 1 , Figure 1 A schematic diagram of a dual Type-C intelligent transformer charging and discharging control circuit provided in this application includes a first Type-C female connector 1, a second Type-C female connector 2, a PD protocol control module 3, a charging module 4, a transformer control module 5, a system power supply module 6, and a discharging module 7.
[0053] The discharge module 7 includes a first discharge control unit 71, a second discharge control unit 72, a third discharge control unit 73, and a fourth discharge control unit 74;
[0054] The charging module 4 includes a first charging control unit 41, a second charging control unit 42, a third charging control unit 43, and a fourth charging control unit 44;
[0055] The first Type-C female connector 1 is electrically connected to the PD protocol control module 3, the first discharge control unit 71, the fourth discharge control unit 74, the first charging control unit 41, and the fourth charging control unit 44, respectively; the PD protocol control module 3 is electrically connected to the transformer control module 5, the first discharge control unit 71, the second discharge control unit 72, the third discharge control unit 73, the fourth discharge control unit, the first charging control unit 41, the second charging control unit 42, the third charging control unit 43, and the fourth charging control unit 44, respectively.
[0056] The first discharge control unit 71 is electrically connected to the second discharge control unit 72, the second discharge control unit 72 is electrically connected to the third discharge control unit 73, the third discharge control unit 73 is electrically connected to the fourth discharge control unit, and both the second discharge control unit 72 and the third discharge control unit 73 are electrically connected to the transformer control module 5.
[0057] The first charging control unit 41 is electrically connected to the second charging control unit 42, the second charging control unit 42 is electrically connected to the third charging control unit 43, the third charging control unit 43 is electrically connected to the fourth charging control unit 44, and both the second charging control unit 42 and the third charging control unit 43 are electrically connected to the transformer control module 5.
[0058] When the first Type-C female connector 1 is electrically connected to the first Type-C power source and the second Type-C female connector 2 is passively inserted, the PD protocol control module 3 is used to obtain the maximum discharge capability of the first Type-C power source, the first discharge control unit 71 and the second discharge control unit 72 are turned on, the third discharge control unit 73 and the fourth discharge control unit 74 are turned off, and the discharge module 7 is used to discharge to the system power module 6.
[0059] When the second Type C female connector 2 is electrically connected to the second Type C power source and the first Type C female connector 1 is passively inserted, the PD protocol control module 3 is used to obtain the maximum discharge capability of the second Type C power source, the first discharge control unit 71 and the second discharge control unit 72 are cut off, the third discharge control unit 73 and the fourth discharge control unit 74 are turned on, and the discharge module 7 is used to discharge to the system power module 6.
[0060] When the first TypeC female connector 1 and the second TypeC female connector 2 are connected to a TypeC source at the same time, the PD protocol control module 3 is used to determine the discharge capacity of the first TypeC source and the second TypeC source, and sets the TypeC source with the larger discharge capacity as the discharge device. The first discharge control unit 71 and the fourth discharge control unit 74 are turned off, the second discharge control unit 72 and the third discharge control unit 73 are turned on, and the discharge module 7 is used to discharge to the system power module 6.
[0061] If a Type-C source with a small discharge capacity is set as a charging device, the first charging control unit 41 and the second charging control unit 42 are turned on, while the third charging control unit 43 and the fourth charging control unit 44 are turned off, and the charging module 4 is used for charging control.
[0062] If the second Type-C source is used as a charging device, the first charging control unit 41 and the second charging control unit 42 are turned off, and the third charging control unit 43 and the fourth charging control unit 44 are turned on, and the charging module 4 is used to perform charging control.
[0063] The PD protocol control module 3 is used to control the transformer control module 5 to output the rated power supply voltage during charging.
[0064] In existing technologies, dual Type-C charge / discharge display systems mostly use the same charging and discharging level, which results in insufficient utilization of the Type-C source's discharge capability. For example, if source C0 has a discharge capability of 5 / 9V / 12V / 20V, and source C1 has a charging capability of 5V, then charging and discharging can only occur at the 5V level. If charging and discharging are controlled separately, the discharge capability of the Type-C source can be maximized.
[0065] To address the aforementioned shortcomings, this application achieves independent control of the two Type-C interfaces through the cooperation of the first Type-C female connector 1, the second Type-C female connector 2, the PD protocol control module 3, the charging module 4, the transformer control module 5, the system power supply module 6, and the discharge module 7. This effectively avoids short-circuit faults in the Type-C interface, protects the two Type-C interfaces, and extends the service life of the two Type-C devices.
[0066] In summary, this application of the present invention provides a dual Type-C intelligent transformer charging and discharging control circuit. In this solution, when only one Type-C source is inserted, the PD protocol control module 3 obtains the maximum discharge capacity of the Type-C source and controls the discharge module 7 to discharge the system power module 6. When two Type-C sources are inserted simultaneously, the PD protocol control module 3 determines the discharge capacity of the two Type-C sources and configures the two Type-C sources as a discharge device and a power receiving device. By controlling the switching states of the first discharge control unit 71, the second discharge control unit 72, the third discharge control unit 73, the fourth discharge control unit 74, the first charging control unit 41, the second charging control unit 42, the third charging control unit 43, and the fourth charging control unit 44, the discharge capacity of the Type-C sources is maximized, meeting the usage needs of different scenarios and providing a high user experience.
[0067] Based on the above embodiments:
[0068] Please refer to Figure 2 , Figure 2 This application provides a schematic diagram of the structure of a dual Type-C intelligent transformer charging and discharging control circuit.
[0069] Preferably, a dual Type-C intelligent transformer charging and discharging control circuit further includes a voltage detection module 8, which includes a first voltage detection unit 81 and a second voltage detection unit 82.
[0070] The first voltage detection unit 81 is electrically connected to the first Type-C female connector 1 and the PD protocol control module 3 respectively;
[0071] The second voltage detection unit 82 is electrically connected to the second Type-C female connector 2 and the PD protocol control module 3, respectively.
[0072] Specifically, the voltage detection module is used to detect the instantaneous voltage when the Type-C source is inserted, preventing the Type-C female connector from being damaged by sudden high voltage changes. The first voltage detection unit 81 is used to detect the voltage of the first Type-C female connector 1, and the second voltage detection unit 82 is used to detect the voltage of the second Type-C female connector 2. The PD protocol control module is used to acquire the voltage divider from the first voltage detection unit 81 and the second voltage detection unit 82, and determine whether the voltage divider is within a preset range.
[0073] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the discharge module provided in this application.
[0074] Preferably, the first discharge control unit 71 includes a first enhancement-mode MOSFET U14, a first NMOS transistor Q11, a first diode Q19, a first resistor R69, a second resistor R63, and a third resistor R57;
[0075] The first terminal of the first resistor R69 is electrically connected to the PD protocol control module 3. The second terminal of the first resistor R69 is electrically connected to the source of the first NMOS transistor Q11. The gate of the first NMOS transistor Q11 is grounded. The drain of the first NMOS transistor Q11 is electrically connected to the first terminal of the second resistor R63 and the first terminal of the third resistor R57. The second terminal of the second resistor R63 is electrically connected to the gate of the first enhancement-mode MOSFET U14. The drain of the first enhancement-mode MOSFET U14 is electrically connected to the first Type C socket 1 and the anode of the first diode Q19. The source of the first enhancement-mode MOSFET U14 is electrically connected to the second terminal of the third resistor R57, the cathode of the first diode Q19, and the second discharge control unit 72.
[0076] Preferably, the second discharge control unit 72 includes a second enhancement-mode MOSFET U15, a second NMOS transistor Q13, a fourth resistor R71, a fifth resistor R59, and a sixth resistor R64;
[0077] The first terminal of the fourth resistor R71 is electrically connected to the PD protocol control module 3. The second terminal of the fourth resistor R71 is electrically connected to the source of the second NMOS transistor Q13. The gate of the second NMOS transistor Q13 is grounded. The drain of the second NMOS transistor Q13 is electrically connected to the first terminal of the fifth resistor R59 and the first terminal of the sixth resistor R64. The second terminal of the fifth resistor R59 is electrically connected to the gate of the second enhancement-mode MOSFET U15. The drain of the second enhancement-mode MOSFET U15 is electrically connected to the transformer control module 5 and the third discharge control unit 73. The source of the second enhancement-mode MOSFET U15 is electrically connected to the second terminal of the sixth resistor R64 and the first discharge control unit 71.
[0078] Specifically, the third discharge control unit 73 and the fourth discharge control unit 74 are implemented using the third enhancement-mode MOSFET U16 and the fourth enhancement-mode MOSFET U17, respectively. Their circuit structures are identical to those of the first discharge control unit 71 and the second discharge control unit 72. See details... Figure 4 This will not be elaborated upon here.
[0079] Specifically, once the Type-C power source is inserted into the Type-C female connector, the PD protocol control module 3 and the Type-C power source have completed communication, and the discharge module 7 begins to work, with the following possible scenarios:
[0080] 1) The first Type C source is a discharge device. When Pin 13 / Pin 14 of the PD protocol control module 3 becomes high and Pin 15 / Pin 16 becomes low, the first enhancement MOSFET U14 and the second enhancement MOSFET U15 are turned on, and the third enhancement MOSFET U16 and the fourth enhancement MOSFET U17 are turned off. The first Type C female connector 1 discharges to the system power module 6.
[0081] 2) The second Type C source is a discharge device. When Pin 13 / Pin 14 of the PD protocol control module 3 goes low and Pin 15 / Pin 16 of the PD protocol control module 3 goes high, the first enhancement MOSFET U14 and the second enhancement MOSFET U15 are turned off, and the third enhancement MOSFET U16 and the fourth enhancement MOSFET U17 are turned on. The second Type C socket 2 discharges to the system power module 6.
[0082] 3) When the first Type C source and the second Type C source need to switch from charging devices to discharging devices, Pin 3 / Pin 4 of the PD protocol control module 3 communicates with the first Type C source C0 via CC, and Pin 6 / Pin 7 of the PD protocol control module 3 communicates with C1 via CC. The one with the greater discharge capacity between C0 and C1 becomes the discharging device, and the other becomes the charging device. Pin 14 / Pin 15 of the PD protocol control module 3 goes low; Pin 13 / Pin 16 of the PD protocol control module 3 goes high. The first enhancement-mode MOSFET U14 and the fourth enhancement-mode MOSFET U17 are turned off, while the second enhancement-mode MOSFET U15 and the third enhancement-mode MOSFET U1 are turned on. The one with the higher voltage between the first Type C source C0 and the second Type C source C1 outputs to the system through a diode, ensuring that the system does not suddenly lose power.
[0083] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the discharge module provided in this application.
[0084] Preferably, the first charging control unit 41 includes a third enhancement-mode MOSFET U10, a third NMOS transistor Q12, a seventh resistor R68, an eighth resistor R53, and a ninth resistor R52.
[0085] The first terminal of the seventh resistor R68 is electrically connected to the PD protocol control module 3. The second terminal of the seventh resistor R68 is electrically connected to the source of the third NMOS transistor Q12. The gate of the third NMOS transistor Q12 is grounded. The drain of the third NMOS transistor Q12 is electrically connected to the first terminal of the eighth resistor R53 and the first terminal of the ninth resistor R52. The second terminal of the eighth resistor R53 is electrically connected to the gate of the third enhancement-mode MOSFET U10. The drain of the third enhancement-mode MOSFET U10 is electrically connected to the first Type C female connector 1. The source of the third enhancement-mode MOSFET U10 is electrically connected to the second terminal of the ninth resistor R52 and the second charging control unit 42.
[0086] Preferably, the second charging control unit 42 includes a fourth enhancement-mode MOSFET U11, a fourth NMOS transistor Q14, a tenth resistor R70, an eleventh resistor R55, and a twelfth resistor R54.
[0087] The first terminal of the tenth resistor R70 is electrically connected to the PD protocol control module 3. The second terminal of the tenth resistor R70 is electrically connected to the source of the fourth NMOS transistor Q14. The gate of the fourth NMOS transistor Q14 is grounded. The drain of the fourth NMOS transistor Q14 is electrically connected to the first terminal of the eleventh resistor R55 and the first terminal of the twelfth resistor R54. The second terminal of the eleventh resistor R55 is electrically connected to the gate of the fourth enhancement-mode MOSFET U11. The drain of the fourth enhancement-mode MOSFET U11 is electrically connected to the transformer control module 5 and the third charging control unit 43. The source of the fourth enhancement-mode MOSFET U11 is electrically connected to the second terminal of the twelfth resistor R54 and the first charging control unit 41.
[0088] Specifically, the third charging control unit 43 and the fourth charging control unit 44 are implemented using the seventh enhancement-mode MOSFET U12 and the eighth enhancement-mode MOSFET U13, respectively. Their circuit structures are the same as those of the first charging control unit 41 and the second charging control unit 42. See details... Figure 5 This will not be elaborated upon here.
[0089] Specifically, when the Type-C source has been inserted into the Type-C female connector and the PD protocol control module 3 has completed communication with the Type-C source, the following situations may occur:
[0090] 1) When the first Type C source is a charging device, Pin 17 / Pin 18 of the PD protocol control module 3 becomes high level, Pin 21 / Pin 22 of the PD protocol control module 3 becomes low level, the fifth enhancement MOSFET U10 and the sixth enhancement MOSFET U11 are turned on, and the seventh enhancement MOSFET U12 and the eighth enhancement MOSFET U13 are turned off, and the first Type C source is charging;
[0091] 2) When the second Type C source is a charging device, Pin 17 / Pin 18 of the PD protocol control module 3 becomes low level, Pin 21 / Pin 22 of the PD protocol control module 3 becomes high level, the fifth enhancement MOSFET U10 and the sixth enhancement MOSFET U11 are cut off, and the seventh enhancement MOSFET U12 and the eighth enhancement MOSFET U13 are turned on, and the second Type C source is charged.
[0092] 3) When only the first or second Type-C source is inserted, the PD protocol control module 3 pulls Pin 17 / Pin 18 / Pin 21 / Pin 22 high, and the module does not work.
[0093] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the voltage detection module provided in this application.
[0094] Preferably, the first voltage detection unit 81 includes a thirteenth resistor R28 and a fourteenth resistor R35;
[0095] The first end of the thirteenth resistor R28 is electrically connected to the first Type-C female connector 1, the second end of the thirteenth resistor R28 is electrically connected to the first end of the fourteenth resistor R35 and the PD protocol control module 3 respectively, and the second end of the fourteenth resistor R35 is grounded.
[0096] Preferably, the second voltage detection unit 82 includes a fifteenth resistor R29 and a sixteenth resistor R36;
[0097] The first end of the fifteenth resistor R29 is electrically connected to the second Type-C female connector 2, the second end of the fifteenth resistor R29 is electrically connected to the first end of the sixteenth resistor R36 and the PD protocol control module 3 respectively, and the second end of the sixteenth resistor R36 is grounded.
[0098] Specifically, the thirteenth resistor R28, the fourteenth resistor R3, the fifteenth resistor R29, and the sixteenth resistor R36 serve as voltage dividers. The PD protocol control module 3 is used to obtain the voltage dividers from the first voltage detection unit 81 and the second voltage detection unit 82, and to determine whether the voltage dividers are within the preset range.
[0099] In a preferred embodiment, the chip model of the PD protocol control module 3 is LDR6282, which plays the role of protocol communication and main control IC as described above in this application. The chip model of the PD protocol control module 3 is not specifically limited here.
[0100] In summary, in this solution, when two Type-C sources are inserted simultaneously, the PD protocol control module determines the discharge capacity of the two Type-C sources and configures them as a discharge device and a power receiving device. By controlling the switching states of the first discharge control unit 71, the second discharge control unit 72, the third discharge control unit 73, the fourth discharge control unit 74, the first charging control unit 41, the second charging control unit 42, the third charging control unit 43, and the fourth charging control unit 44, the discharge capacity of the Type-C sources is maximized, meeting the usage needs of different scenarios and providing a high-quality user experience.
[0101] This application provides a dual Type-C intelligent transformer charging and discharging control device, including a dual Type-C intelligent transformer charging and discharging control circuit.
[0102] Please refer to Figure 6 , Figure 6 A flowchart of a dual Type-C intelligent transformer charging and discharging control provided in this application.
[0103] This application provides a dual Type-C intelligent transformer charging and discharging control method, applied to a dual Type-C intelligent transformer charging and discharging control circuit. The control method includes:
[0104] S1. When the first Type C source is connected to the first Type C female connector 1 and the second Type C female connector 2 is not passively inserted, the PD protocol control module 3 is controlled to obtain the maximum discharge capability of the first Type C source, the first discharge control unit and the second discharge control unit are turned on, and the third discharge control unit and the fourth discharge control unit are turned off.
[0105] S2. Based on the maximum discharge capability of the first Type C source, control the discharge module 7 to discharge the system power module 6;
[0106] S3. When the second TypeC source is connected to the second TypeC female connector 2 and the first TypeC female connector 1 is passively inserted, the PD protocol control module 3 is controlled to obtain the maximum discharge capability of the second TypeC source, the first discharge control unit and the second discharge control unit are turned off, and the third discharge control unit and the fourth discharge control unit are turned on.
[0107] S4. Based on the maximum discharge capability of the second Type C source, control the discharge module 7 to discharge the system power module 6.
[0108] S5. When the first TypeC female connector 1 and the second TypeC female connector 2 are simultaneously connected to a TypeC source, the PD protocol control module 3 determines the discharge capacity of the first TypeC source and the second TypeC source.
[0109] S6. Set the Type C source with a large discharge capacity as the discharge device, cut off the first discharge control unit 71 and the fourth discharge control unit, turn on the second discharge control unit 72 and the third discharge control unit 73, and control the discharge module 7 to discharge to the system power module 6.
[0110] S7. Set the Type C source with small discharge capacity as a charging device. If the first Type C source is used as a charging device, the first charging control unit 41 and the second charging control unit 42 are turned on, the third charging control unit 43 and the fourth charging control unit 44 are turned off, and the charging module 4 performs charging control.
[0111] S8. If the first Type-C source is used as a charging device, the first charging control unit 41 and the second charging control unit 42 are turned off, the third charging control unit 43 and the fourth charging control unit 44 are turned on, and the charging module 4 performs charging control.
[0112] For a description of the control device 7 for manual and automatic charging in a charging pile provided in this application, please refer to the above embodiments; further details will not be repeated here.
[0113] It should be noted that, in this specification, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0114] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A dual Type-C intelligent variable-voltage charging and discharging control circuit, characterized in that, include: First Type-C female connector, second Type-C female connector, PD protocol control module, charging module, transformer control module, system power supply module and discharge module; The discharge module includes a first discharge control unit, a second discharge control unit, a third discharge control unit, and a fourth discharge control unit; The charging module includes a first charging control unit, a second charging control unit, a third charging control unit, and a fourth charging control unit; The first Type-C female connector is electrically connected to the PD protocol control module, the first discharge control unit, and the first charging control unit, respectively; the PD protocol control module is electrically connected to the transformer control module, the first discharge control unit, the second discharge control unit, the third discharge control unit, the fourth discharge control unit, the first charging control unit, the second charging control unit, the third charging control unit, and the fourth charging control unit, respectively. The first discharge control unit is electrically connected to the second discharge control unit, the second discharge control unit is electrically connected to the third discharge control unit, the third discharge control unit is electrically connected to the fourth discharge control unit, and both the second discharge control unit and the third discharge control unit are electrically connected to the transformer control module. The first charging control unit is electrically connected to the second charging control unit, the second charging control unit is electrically connected to the third charging control unit, the third charging control unit is electrically connected to the fourth charging control unit, and both the second charging control unit and the third charging control unit are electrically connected to the transformer control module. When the first Type-C female connector is electrically connected to the first Type-C power source and the second Type-C female connector is passively inserted, the PD protocol control module is used to obtain the maximum discharge capability of the first Type-C power source. The PD protocol control module controls the first discharge control unit and the second discharge control unit to be turned on, and the PD protocol control module controls the third discharge control unit and the fourth discharge control unit to be turned off. The discharge module is used to discharge to the system power module. When the second Type-C female connector is electrically connected to the second Type-C power source and the first Type-C female connector is passively inserted, the PD protocol control module is used to obtain the maximum discharge capability of the second Type-C power source, the first discharge control unit and the second discharge control unit are turned off, the third discharge control unit and the fourth discharge control unit are turned on, and the discharge module is used to discharge to the system power module. When the first Type-C female connector and the second Type-C female connector are simultaneously connected to a Type-C power source, the PD protocol control module is used to determine the discharge capabilities of the first Type-C power source and the second Type-C power source, and set the Type-C power source with the larger discharge capability as the discharge device. When the first Type-C power source has a larger discharge capability, the third discharge control unit and the fourth discharge control unit are turned off, and the first discharge control unit and the second discharge control unit are turned on. When the second Type-C power source has a larger discharge capability, the first discharge control unit and the second discharge control unit are turned off, and the third discharge control unit and the fourth discharge control unit are turned on. The discharge module is used to discharge to the system power module. If a Type-C source with a small discharge capacity is set as a charging device, the first charging control unit and the second charging control unit are turned on, while the third charging control unit and the fourth charging control unit are turned off, and the charging module is used for charging control. If the second Type-C source is used as a charging device, the first charging control unit and the second charging control unit are turned off, while the third charging control unit and the fourth charging control unit are turned on, and the charging module is used for charging control. The PD protocol control module is used to control the transformer control module to output the rated power supply voltage during charging.
2. The dual Type-C intelligent variable voltage charging and discharging control circuit according to claim 1, characterized in that, The dual Type-C intelligent transformer charging and discharging control circuit further includes a voltage detection module, which includes a first voltage detection unit and a second voltage detection unit. The first voltage detection unit is electrically connected to the first Type-C female connector and the PD protocol control module, respectively; The second voltage detection unit is electrically connected to the second Type-C female connector and the PD protocol control module, respectively.
3. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 1, characterized in that, The first discharge control unit includes a first enhancement-mode MOSFET, a first NMOS transistor, a first diode, a first resistor, a second resistor, and a third resistor; The first end of the first resistor is electrically connected to the PD protocol control module, the second end of the first resistor is electrically connected to the source of the first NMOS transistor, the gate of the first NMOS transistor is grounded, the drain of the first NMOS transistor is electrically connected to the first end of the second resistor and the first end of the third resistor, the second end of the second resistor is electrically connected to the gate of the first enhancement-mode MOSFET, the drain of the first enhancement-mode MOSFET is electrically connected to the first Type-C socket and the anode of the first diode, and the source of the first enhancement-mode MOSFET is electrically connected to the second end of the third resistor, the cathode of the first diode, and the second discharge control unit.
4. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 1, characterized in that, The second discharge control unit includes a second enhancement-mode MOSFET, a second NMOS transistor, a fourth resistor, a fifth resistor, and a sixth resistor; The first end of the fourth resistor is electrically connected to the PD protocol control module, the second end of the fourth resistor is electrically connected to the source of the second NMOS transistor, the gate of the second NMOS transistor is grounded, the drain of the second NMOS transistor is electrically connected to the first end of the fifth resistor and the first end of the sixth resistor, the second end of the fifth resistor is electrically connected to the gate of the second enhancement-mode MOSFET, the drain of the second enhancement-mode MOSFET is electrically connected to the transformer control module and the third discharge control unit, and the source of the second enhancement-mode MOSFET is electrically connected to the second end of the sixth resistor and the first discharge control unit.
5. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 1, characterized in that, The first charging control unit includes a third enhancement-mode MOSFET, a third NMOS transistor, a seventh resistor, an eighth resistor, and a ninth resistor; The first terminal of the seventh resistor is electrically connected to the PD protocol control module, the second terminal of the seventh resistor is electrically connected to the source of the third NMOS transistor, the gate of the third NMOS transistor is grounded, the drain of the third NMOS transistor is electrically connected to the first terminal of the eighth resistor and the first terminal of the ninth resistor, the second terminal of the eighth resistor is electrically connected to the gate of the third enhancement-mode MOSFET, the drain of the third enhancement-mode MOSFET is electrically connected to the first Type-C female connector, and the source of the third enhancement-mode MOSFET is electrically connected to the second terminal of the ninth resistor and the second charging control unit.
6. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 1, characterized in that, The second charging control unit includes a fourth enhancement-mode MOSFET, a fourth NMOS transistor, a tenth resistor, an eleventh resistor, and a twelfth resistor; The first terminal of the tenth resistor is electrically connected to the PD protocol control module, the second terminal of the tenth resistor is electrically connected to the source of the fourth NMOS transistor, the gate of the fourth NMOS transistor is grounded, the drain of the fourth NMOS transistor is electrically connected to the first terminal of the eleventh resistor and the first terminal of the twelfth resistor, the second terminal of the eleventh resistor is electrically connected to the gate of the fourth enhancement-mode MOSFET, the drain of the fourth enhancement-mode MOSFET is electrically connected to the transformer control module and the third charging control unit, and the source of the fourth enhancement-mode MOSFET is electrically connected to the second terminal of the twelfth resistor and the first charging control unit.
7. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 2, characterized in that, The first voltage detection unit includes a thirteenth resistor and a fourteenth resistor; The first end of the thirteenth resistor is electrically connected to the first Type-C female connector, the second end of the thirteenth resistor is electrically connected to the first end of the fourteenth resistor and the PD protocol control module, and the second end of the fourteenth resistor is grounded.
8. The dual Type-C intelligent transformer charging and discharging control circuit according to claim 2, characterized in that, The second voltage detection unit includes a fifteenth resistor and a sixteenth resistor; The first end of the fifteenth resistor is electrically connected to the second Type-C female connector, the second end of the fifteenth resistor is electrically connected to the first end of the sixteenth resistor and the PD protocol control module, and the second end of the sixteenth resistor is grounded.
9. A dual Type-C intelligent transformer charging and discharging control device, characterized in that, Includes a dual Type-C intelligent transformer charging and discharging control circuit as described in any one of claims 1-8.
10. A dual Type-C intelligent transformer charging and discharging control method, characterized in that, The control method, applied to a dual Type-C intelligent transformer charging and discharging control circuit according to any one of claims 1-8, comprises: When the first Type-C source is connected to the first Type-C female connector and the second Type-C female connector is not passively inserted, the PD protocol control module is controlled to obtain the maximum discharge capability of the first Type-C source. The PD protocol control module controls the first discharge control unit and the second discharge control unit to be turned on, and the PD protocol control module controls the third discharge control unit and the fourth discharge control unit to be turned off. The discharge module is controlled to discharge the system power module based on the maximum discharge capability of the first Type C source; When the second Type-C source is connected to the second Type-C female connector and the first Type-C female connector is not passively inserted, the PD protocol control module is controlled to obtain the maximum discharge capability of the second Type-C source, the first discharge control unit and the second discharge control unit are turned off, and the third discharge control unit and the fourth discharge control unit are turned on. The discharge module is controlled to discharge the system power module based on the maximum discharge capability of the second Type C source; When the first TypeC female connector and the second TypeC female connector are simultaneously connected to a TypeC source, the PD protocol control module is controlled to determine the discharge capability of the first TypeC source and the second TypeC source. A Type-C source with a large discharge capacity is set as a discharge device. When the first Type-C source is large, the third discharge control unit and the fourth discharge control unit are turned off, and the first discharge control unit and the second discharge control unit are turned on. When the second Type-C source is large, the first discharge control unit and the second discharge control unit are turned off, and the third discharge control unit and the fourth discharge control unit are turned on. The discharge module is used to discharge to the system power module. If a Type-C source with a small discharge capacity is set as a charging device, the first charging control unit and the second charging control unit are turned on, while the third charging control unit and the fourth charging control unit are turned off, and the charging module performs charging control. If the second Type-C source is used as a charging device, the first charging control unit and the second charging control unit are turned off, while the third charging control unit and the fourth charging control unit are turned on, and the charging module performs charging control.