Parallel charging method for double-channel Type-C interface

By building a hardware environment and using a domestic chip combination, parallel charging of dual-channel Type-C interfaces is achieved, and supply chain risks, high costs and charging conflicts caused by relying on imported chip combinations in the existing technology are solved, which significantly improves the stability and compatibility of the system.

CN120237773APending Publication Date: 2025-07-01EMDOOR CHINESE ACAD OF SCI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510547789.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The existing Type-C fast charging solutions rely on imported chip combinations, resulting in high supply chain stability risks, high cost, and difficult to effectively solve the conflict problems during parallel charging of dual-channel Type-C interfaces, poor compatibility and high development costs.

Method used

By building a hardware environment, a domestic chip combination is selected, including an ANX7447 Type-C controller and Yihewei FIC6288 EC chip, a communication connection is established using the SMBUS channel, configuration parameters, detect the VBUS power state, determine the interface insertion status and set the charging power to realize parallel charging of the dual-channel Type-C interface.

Benefits of technology

There is no need to rely on imported chips, which greatly reduces the supply chain stability risks and production costs, improves the stability of dual-channel power supply and system reliability, and solves the problems of parallel charging conflicts and high development costs of dual-channel Type-C interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120237773A_ABST
    Figure CN120237773A_ABST
Patent Text Reader

Abstract

The invention provides a parallel charging method for a double-channel Type-C interface, and the method comprises the steps: selecting a Type-C controller of which the model is ANX7447 and an EC chip of which the model is Yishi micro FIC6288, and building the communication connection between the EC chip and the Type-C controller through an SMBUS channel; and configuring a GPIO port of the EC chip as an interrupt source of the Type-C controller, detecting an on state of a VBUS power supply, judging an insertion state of a Type-C interface, and setting charging power specifically corresponding to a Type-C0 interface and a Type-C1 interface according to values of typecc0 and typecc1. The Type-C interface parallel charging method has the beneficial effects that parallel charging of the two-way Type-C interface can be realized without depending on an imported chip, the supply chain stability risk and the production cost are reduced, and the two-way power supply stability and the system reliability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of charging, and in particular to a parallel charging method for a dual Type-C interface. Background Art

[0002] Type-C is a connection interface of the USB interface. It can be inserted regardless of the front and back sides, with a size of approximately 8.3 mm × 2.5 mm, and like other interfaces, it supports functions such as USB-standard charging, data transmission, and display output. Type-C is formulated by the USB Implementers Forum and began to be popularized after being supported by manufacturers such as Apple, Google, Intel, and Microsoft in 2014.

[0003] Currently, the mainstream Type-C fast charging solutions generally adopt imported chip combinations. For example, a Type-C controller based on the US TI series of chips, or a Type-C controller based on the British Infineon Cypress series of chips, is paired with an EC chip of the ITE series, and products with such chip combinations generally have multiple Type-C interfaces.

[0004] In the process of daily use, not everyone is aware of the multiple Type-C interfaces of these chip combination products. Many times, users may insert multiple high-power adapters into multiple Type-C interfaces simultaneously to charge other electronic devices, which may cause risks such as overload, system crash, and even hardware damage to the electronic device with multiple Type-C interfaces for power supply. Moreover, such electronic devices using imported chip combinations also have the following defects:

[0005] 1. Seriously rely on imported chips, with risks in the stability of the supply chain and high costs;

[0006] 2. Since the source code of the imported Type-C controller is closed and cannot be independently expanded, it is difficult to solve the conflict problems generated during the parallel charging process of the dual Type-C interfaces. It is necessary to rely on the original imported factory to customize the firmware, resulting in poor compatibility and a significant increase in development costs. Summary of the Invention

[0007] To solve the problems in the prior art, the present invention provides a parallel charging method for a dual-channel Type-C interface. By building a hardware environment, configuring parameters, detecting the VBUS power-on state, determining the insertion state of the Type-C interface, and setting the charging power, parallel charging of the dual-channel Type-C interface can be achieved without relying on imported chips, greatly reducing the supply chain stability risk and production cost, and greatly improving the stability of dual-channel power supply and system reliability. It solves the problems of parallel charging conflicts of dual-channel Type-C interfaces and high production and development costs in the prior art where Type-C fast charging solutions generally use imported chip combinations.

[0008] A parallel charging method for a dual-channel Type-C interface of the present invention includes the following steps:

[0009] Step 1, build a hardware environment, select a Type-C controller of model ANX7447 and an EC chip of model Yihewei FIC6288, and use the SMBUS channel to establish a communication connection between the EC chip and the Type-C controller;

[0010] Step 2, configure parameters, configure the GPIO port of the EC chip as the interrupt source of the Type-C controller for quickly responding to plugging and unplugging events of multiple Type-C interfaces;

[0011] Step 3, detect the VBUS power-on state, and detect whether the VBUS power of at least one Type-C interface is turned on among multiple Type-C interfaces through the PD protocol source code opened by the Type-C controller;

[0012] Step 4, determine the insertion state of the Type-C interface. When it is detected that the VBUS power of at least one Type-C interface is turned on among multiple Type-C interfaces, judge the insertion states of the Type-C0 interface and the Type-C1 interface among the multiple Type-C interfaces according to the port_id of the turned-on VBUS power. If the Type-C0 interface is inserted, the corresponding typecc0 parameter value is set to 1. If the Type-C1 interface is inserted, the corresponding typecc1 parameter value is set to 1;

[0013] Step 5, set the charging power, and set the charging powers of the corresponding Type-C0 interface and the corresponding Type-C1 interface according to the values of typecc0 and typecc1.

[0014] The present invention is further improved. In step 3, when the VBUS power supply of at least one Type-C interface among multiple Type-C interfaces is not turned on, it is detected whether the VBUS power supply of at least one Type-C interface among the multiple Type-C interfaces is disconnected. At the same time, according to the port_id of the disconnected VBUS power supply, the unplugging states of the Type-C0 interface and the Type-C1 interface among the multiple Type-C interfaces are judged. If the Type-C0 interface is unplugged, the corresponding typecc0 parameter value is set to 0. If the Type-C1 interface is unplugged, the corresponding typecc1 parameter value is set to 0. Then, step 5 is executed.

[0015] The present invention is further improved. In step 5, when the value of typecc0 is 1 and the value of typecc1 is 0, the charging power of the Type-C0 interface is set to 20V * 5A = 100W.

[0016] The present invention is further improved. In step 5, when the value of typecc0 is 0 and the value of typecc1 is 1, the charging power of the Type-C1 interface is set to 20V * 5A = 100W.

[0017] The present invention is further improved. In step 5, when the value of typecc0 is 1 and the value of typecc1 is 1, the Type-C0 interface is defaulted to have a high priority. The charging power of the Type-C0 interface is set to 20V * 5A = 100W, and the charging power of the Type-C1 interface is set to 5V * 0.9A = 4.5W.

[0018] The present invention is further improved. In step 5, when the value of typecc0 is 0 and the value of typecc1 is 0, the power supply connection to the Type-C0 interface is disconnected, and the power supply connection to the Type-C1 interface is disconnected.

[0019] The present invention is further improved. In step 1, each Type-C controller controls one Type-C interface, and the EC chip establishes a communication connection with multiple Type-C controllers through the SMBUS channel.

[0020] The present invention is further improved. In steps 2, 3, and 4, the multiple Type-C interfaces are two, namely the Type-C0 interface and the Type-C1 interface.

[0021] The beneficial effects of the present invention are as follows: A parallel charging method for a dual-channel Type-C interface provided by the present invention can achieve parallel charging of the dual-channel Type-C interface by building a hardware environment, configuring parameters, detecting the VBUS power-on state, determining the insertion state of the Type-C interface, and setting the charging power. By using a combination of domestic chips, the EC chip is selected as the Yihewei FIC6288, and the Type-C controller is the ANX7447, eliminating the need to rely on imported chips, significantly reducing the supply chain stability risk and production cost; based on the Type-C controller of the ANX7447 chip, the manufacturer provides an open-source architecture, which can flexibly solve the conflict problem during parallel charging of the two Type-C interfaces without relying on the original manufacturer's customized firmware, significantly improving product compatibility and reducing development costs, greatly enhancing the stability of dual-channel power supply and system reliability, and solving the problems of parallel charging conflicts and high production and development costs existing in the prior art for Type-C fast charging solutions that generally use imported chip combinations. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flowchart of a parallel charging method for a dual-channel Type-C interface of the present invention;

[0023] Figure 2 It is a schematic diagram of the code of a specific embodiment of a parallel charging method for a dual-channel Type-C interface of the present invention;

[0024] Figure 3 It is a schematic diagram of the code of a specific embodiment of a parallel charging method for a dual-channel Type-C interface of the present invention;

[0025] Figure 4 It is a schematic diagram of the code of a specific embodiment of a parallel charging method for a dual-channel Type-C interface of the present invention;

[0026] Figure 5 It is a schematic diagram of the code of a specific embodiment of a parallel charging method for a dual-channel Type-C interface of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0027] The present invention will be further described in detail below with reference to the drawings and embodiments.

[0028] Please refer to Figures 1-5 , a parallel charging method for a dual-channel Type-C interface of the present invention includes the following steps:

[0029] Step 1: Build the hardware environment. Select a Type-C controller of model ANX7447 and an EC chip of model Yihewei FIC6288, and use the SMBUS channel to establish a communication connection between the EC chip and the Type-C controller. Each Type-C controller controls one Type-C interface, and the EC chip establishes communication connections with multiple Type-C controllers through the SMBUS channel.

[0030] Step 2: Configure parameters. Configure the GPIO port of the EC chip as the interrupt source of the Type-C controller to quickly respond to the plug and unplug events of multiple Type-C interfaces. Among them, there are two Type-C interfaces, namely Type-C0 interface and Type-C1 interface.

[0031] Step 3: Detect the VBUS power-on state. Through the PD protocol source code opened by the Type-C controller, detect whether the VBUS power of at least one Type-C interface among multiple Type-C interfaces is turned on. When it is detected that the VBUS power of at least one Type-C interface among multiple Type-C interfaces is not turned on, detect whether the VBUS power of at least one Type-C interface among multiple Type-C interfaces is disconnected. At the same time, judge the unplug state of the Type-C0 interface and the Type-C1 interface among multiple Type-C interfaces according to the port_id of the disconnected VBUS power. If the Type-C0 interface is unplugged, the corresponding typecc0 parameter value is set to 0. If the Type-C1 interface is unplugged, the corresponding typecc1 parameter value is set to 0, and then go to Step 5. In this embodiment, detect whether the VBUS power is disconnected (that is, judge the unplug state of the Type-C0 interface and the Type-C1 interface), and clear the parameters corresponding to the unplugged Type-C interface, so as to supply power normally in the state of a single Type-C interface.

[0032] Step 4: Determine the insertion state of the Type-C interface. When it is detected that the VBUS power of at least one Type-C interface among multiple Type-C interfaces is turned on, judge the insertion state of the Type-C0 interface and the Type-C1 interface among multiple Type-C interfaces according to the port_id of the turned-on VBUS power. If the Type-C0 interface is inserted, the corresponding typecc0 parameter value is set to 1. If the Type-C1 interface is inserted, the corresponding typecc1 parameter value is set to 1.

[0033] Step 5: Set the charging power. According to the values of typecc0 and typecc1, set the charging power corresponding to the Type-C0 interface and the Type-C1 interface. When the value of typecc0 is 1 and the value of typecc1 is 0, set the charging power of the Type-C0 interface to 20V * 5A = 100W. When the value of typecc0 is 0 and the value of typecc1 is 1, set the charging power of the Type-C1 interface to 20V * 5A = 100W. When the value of typecc0 is 1 and the value of typecc1 is 1, by default, the Type-C0 interface has a higher priority. Set the charging power of the Type-C0 interface to 20V * 5A = 100W and set the charging power of the Type-C1 interface to 5V * 0.9A = 4.5W. When the value of typecc0 is 0 and the value of typecc1 is 0, disconnect the power supply connection to the Type-C0 interface and the power supply connection to the Type-C1 interface. In this embodiment, as Figures 2-5 shown, it is a screenshot of the specific implementation code of this embodiment. Through the PD protocol source code opened by the Type-C controller, detect the VBUS power-on state, then determine the insertion state or disconnection state of the Type-C interface, and at the same time set the parameter values of typecc0 and typecc1. Finally, according to the values of typecc0 and typecc1, set the charging power corresponding to the Type-C0 interface and the Type-C1 interface. Among them, the function of setting the charging power is divided into two parts, namely the dual-port insertion processing and the single-port insertion processing. The dual-port insertion processing part detects whether the Type-C0 interface and the Type-C1 interface have both inserted adapters by judging whether the variables typecc0 and typecc1 are both 1, and then configures the Type-C port with a higher priority to 20V 5A, and the Type-C interface with a lower priority is assigned 5V 0.9A, so as to solve the conflict problem during parallel charging of the dual Type-C ports. The single-port insertion processing is to handle the normal single Type-C insertion event and configure the PDO parameters of 20V 5A by default.

[0034] As can be seen from the above, the beneficial effects of the present invention are as follows: A parallel charging method for a dual-channel Type-C interface provided by the present invention can achieve parallel charging of the dual-channel Type-C interface by building a hardware environment, configuring parameters, detecting the VBUS power-on state, determining the insertion state of the Type-C interface, and setting the charging power. By using a domestic chip combination, with the EC chip selected as the FIC6288 from Yihe Microelectronics and the Type-C controller using the ANX7447, it does not rely on imported chips, significantly reducing the supply chain stability risk and production cost; based on the Type-C controller of the ANX7447 chip, the manufacturer provides an open-source architecture, which can flexibly solve the conflict problem during parallel charging of the two Type-C interfaces without relying on the original manufacturer's customized firmware, significantly improving product compatibility and reducing development costs, greatly enhancing the stability of dual-channel power supply and system reliability, and solving the problems of parallel charging conflicts of dual-channel Type-C interfaces, high production and development costs existing in the prior art Type-C fast charging solutions that generally use imported chip combinations.

[0035] The specific embodiments described above are the preferred embodiments of the present invention, and do not limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to this specific embodiment. All equivalent changes made in accordance with the present invention are within the protection scope of the present invention.

Claims

1. A parallel charging method for dual-channel Type-C interface, characterized in that: The steps include: Step 1: Build the hardware environment, select the Type-C controller model ANX7447 and the EC chip model FIC6288 of Yihewei, and use the SMBUS channel to establish a communication connection between the EC chip and the Type-C controller; Step 2: Configure parameters to configure the GPIO port of the EC chip as the interrupt source of the Type-C controller to quickly respond to multiple Type-C interface plug-in and unplug events; Step 3, detecting the VBUS power on status, and detecting whether the VBUS power of at least one Type-C interface among multiple Type-C interfaces is turned on through the PD protocol source code open by the Type-C controller; Step 4, determine the insertion status of the Type-C interface. When it is detected that the VBUS power of at least one Type-C interface among multiple Type-C interfaces is turned on, determine the insertion status of the Type-C0 interface and the Type-C1 interface among multiple Type-C interfaces according to the port_id of the VBUS power turned on. If the Type-C0 interface is inserted, the corresponding typecc0 parameter value is set to 1, and if the Type-C1 interface is inserted, the corresponding typecc1 parameter value is set to 1. Step 5. Set the charging power. According to the values ​​of typecc0 and typecc1, set the charging power corresponding to the Type-C0 interface and the corresponding Type-C1 interface.

2. The parallel charging method for dual Type-C interfaces according to claim 1, characterized in that: In step 3, when it is detected that the VBUS power of at least one Type-C interface among multiple Type-C interfaces is not turned on, it is detected whether the VBUS power of at least one Type-C interface among multiple Type-C interfaces is disconnected, and at the same time, the unplugging status of the Type-C0 interface and the Type-C1 interface among multiple Type-C interfaces is judged according to the port_id of the disconnected VBUS power. If the Type-C0 interface is unplugged, the corresponding typecc0 parameter value is set to 0, and if the Type-C1 interface is unplugged, the corresponding typecc1 parameter value is set to 0, and then step 5 is executed.

3. The parallel charging method for dual Type-C interfaces according to claim 2, characterized in that: In step 5, when the value of typecc0 is 1 and the value of typecc1 is 0, the charging power of the Type-C0 interface is set to 20V*5A=100W.

4. The parallel charging method for dual Type-C interfaces according to claim 3, characterized in that: In step 5, when the value of typecc0 is 0 and the value of typecc1 is 1, the charging power of the Type-C1 interface is set to 20V*5A=100W.

5. The parallel charging method for dual Type-C interfaces according to claim 4, characterized in that: In step 5, when the value of typecc0 is 1 and the value of typecc1 is 1, the Type-C0 interface is set to high priority by default, and the charging power of the Type-C0 interface is set to 20V*5A=100W, and the charging power of the Type-C1 interface is set to 5V*0.9A=4.5W.

6. The parallel charging method for dual Type-C interfaces according to claim 6, characterized in that: In step 5, when the value of typecc0 is 0 and the value of typecc1 is 0, the power supply connection to the Type-C0 interface is disconnected, and the power supply connection to the Type-C1 interface is disconnected.

7. The parallel charging method for dual Type-C interfaces according to claim 6, characterized in that: In step 1, each Type-C controller controls a Type-C interface, and the EC chip establishes a communication connection with multiple Type-C controllers through an SMBUS channel.

8. The parallel charging method for dual Type-C interfaces according to claim 7, characterized in that: In step 2, step 3 and step 4, there are two Type-C interfaces, namely a Type-C0 interface and a Type-C1 interface.