EP4641397A1 - Detection method of universal serial bus type-c - Google Patents
Detection method of universal serial bus type-cInfo
- Publication number
- EP4641397A1 EP4641397A1 EP25158235.9A EP25158235A EP4641397A1 EP 4641397 A1 EP4641397 A1 EP 4641397A1 EP 25158235 A EP25158235 A EP 25158235A EP 4641397 A1 EP4641397 A1 EP 4641397A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- connection state
- serial bus
- universal serial
- host system
- detection method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2207/00—Details of circuit arrangements for charging or discharging batteries or supplying loads from batteries
- H02J2207/30—Charge provided using DC bus or data bus of a computer
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J7/90—Regulation of charging or discharging current or voltage
- H02J7/92—Regulation of charging or discharging current or voltage with prioritisation of loads or sources
Definitions
- the present disclosure relates to a detection method of universal serial bus Type-C.
- USB Type-C Universal serial bus
- USB Type-C is widely used in data and image transmission and charging procedures between multiple devices.
- a re-plugging operation typically needs to be performed to eliminate the abnormality.
- One aspect of the present disclosure includes a detection method of universal serial bus Type-C.
- the detection method of universal serial bus Type-C includes identifying a first connection state between a universal serial bus Type-C and a connection port through a host system; determining whether the first connection state is consistent with a default connection state through the host system; and when a result of the determination is no, transferring a first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port; and transferring a second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state.
- the default connection state is defined by a charging port type and a power delivery.
- the detection method of universal serial bus Type-C further includes when the result of the determination is no, sending an identification error signal through the host system.
- transferring the first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port includes transferring the first command to switch the default connection state to a second connection state.
- the types of the connection port in the second connection state includes Micro-USB, Mini-USB, USB-B, and USB-A.
- transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes transferring the second command such that the type of the connection port is switched back to USB Type-C.
- transferring the first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port includes cutting off a power supply.
- transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes recovering the power supply.
- cutting off and recovering the power supply further includes changing a voltage of a Vbus pin of the universal serial bus Type-C.
- cutting off and recovering the power supply further includes switching a switch of a Vbus pin electrically connected to the universal serial bus Type-C.
- Another aspect of the present disclosure is a detection method of universal serial bus Type-C.
- the detection method of universal serial bus Type-C includes identifying a first connection state between a universal serial bus Type-C and a connection port through a host system; determining whether the first connection state is consistent with a default connection state through the host system; and when a result of the determination is no, transferring a first command through the host system to switch the default connection state to a second connection state; and transferring a second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state.
- the default connection state is defined by a charging port type and a power delivery.
- the detection method of universal serial bus Type-C of claim 11 further includes when the result of the determination is no, sending an identification error signal through the host system.
- the types of the connection port in the second connection state comprises Micro-USB, Mini-USB, USB-B, and USB-A.
- transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes transferring the second command such that the type of the connection port is switched back to USB Type-C.
- the detection method of universal serial bus Type-C of claim 11 further includes after transferring the first command through the host system to switch the default connection state to the second connection state, determining whether the second connection state is consistent with a default connection state through the host system.
- transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state further includes recovering the power supply.
- cutting off and recovering the power supply includes changing a voltage of a Vbus pin of the universal serial bus Type-C.
- cutting off and recovering the power supply includes switching a switch of a Vbus pin electrically connected to the universal serial bus Type-C.
- Universal Serial Bus Type-C can be correctly identified without re-plugging and unplugging the Universal Serial Bus Type-C.
- an identification error occurs, it automatically reconnects the universal serial bus Type-C and the connection port by switching the connection status or switching the power supply to prevent the host system from being unable to perform normal charging, discharging or data transmission through the universal serial bus Type-C.
- Fig. 1 is a flow chart of a detection method 100 of a universal serial bus (USB) Type-C according to one embodiment of the present disclosure.
- Fig. 2 is a block diagram of a host system and an USB Type-C according to one embodiment of the present disclosure. Reference is made to Fig. 1 and Fig. 2 .
- the detection method 100 of the universal serial bus Type-C 200 is applied to the host system 300 that can be connected to the universal serial bus Type-C 200.
- the host system 300 is, for example, a desktop computer, a notebook computer, or a smartphone, etc.
- the host system 300 is coupled to the universal serial bus Type-C 200 through the connection port 310.
- the detection method 100 Type-C 200 can be installed on the devices such as screens, power supplies, hard drives, or USB hubs, etc.
- the detection method 100 of the universal serial bus Type-C 200 is used for reconnection when an identification error is detected, thereby preventing the host system 300 from having a universal serial bus Type-C 200 identification error and being unable to perform charging, discharging, or data transmission normally through the universal serial bus Type-C 200.
- the detection method 100 of the universal serial bus Type-C 200 starts to be executed.
- the detection method 100 of the universal serial bus Type-C starts from step S1, the host system 300 identifies the first connection state between the universal serial bus Type-C 200 and the connection port 310.
- the first connection state includes, for example, a charging port type and a power delivery type.
- the detection method 100 of the universal serial bus Type-C 200 continues to step S2, the host system 300 determines whether the first connection state is consistent with the default connection state.
- the default connection state is defined by the charging port type and the power delivery to which the connection port 310 of the host system 300 is expected to be connected.
- Charging port types include, for example, Charging Downstream Port (CDP), Dedicated Charging Port (DCP), Standard Downstream Port (SDP), and ACA (Accessary Charge Adapter), etc.
- Different charging port types each have specific maximum currents and current ranges that vary with voltage.
- the power delivery includes, for example, programmable power supply (PPS), Data Role definition, and Power Role definition.
- Data Role definitions can include Downstream Facing Port (DFP), Upstream Facing Port (UFP), or Dual Role Data (DRD).
- Power Role definition can include power supply (Source), power supply (Sink), and dual role port (Dual Role Power, DRP).
- the first connection status detected by the host system 300 is consistent with the default connection status, it means that the device connected to the universal serial bus Type-C 200 can be used normally.
- the first connection status detected by the host system 300 is not consistent with the default connection status, it means that the host system 300 cannot identify the correct connection status or cannot be connected, and the device connected to the host system 300 through the universal serial bus Type-C 200 cannot be used normally.
- the default connection state is to connect via universal serial bus Type-C 200 to a device which is charged at 12 volts and 3 amps.
- the host system 300 has an error in identifying the universal serial bus Type-C 200, and the first connection state detected may be a device charging with a voltage of 5 volts and a current of 0.1 amps. In the case of identification error, the device connected to universal serial bus Type-C 200 cannot be used normally.
- step S2 determines whether the determination result of step S2 is no. Therefore, when the determination result of step S2 is no, the universal serial bus Type-C detection method 100 continues to step S3, and the host system 300 sends an identification error message.
- the universal serial bus Type-C detection method 100 continues to step S4, sending a first command through the host system 300 to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310.
- the first command to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310 can switch the default connection state to the second connection state.
- the second connection state is different from the first connection state.
- the connection type corresponding to the connection port 310 in the second connection state may include Micro-USB, Mini-USB, USB-B, USB-A, etc. In other words, as long as it is a USB type other than the USB Type-C.
- the first command causes the host system 300 to control the connection port 310 to connect the universal serial bus Type-C 200 in the second connection state, which is equivalent to causing the connection port 310 of the host system 300 not to connect to the universal serial bus Type-C 200.
- the universal serial bus Type-C detection method 100 continues to step S5, and a second command is sent through the host system 300 to connect the universal serial bus Type-C 200 and the connection port 310 in a default connection state.
- a second command is sent in step S5 to switch the connection type corresponding to the connection port 310 back to Type-C.
- This approach is equivalent to restarting the connection state between port 310 and universal serial bus Type-C 200 without re-plugging universal serial bus Type-C 200.
- the first command to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310 in step S4 is used to cut off the power supply.
- the second command to connect the universal serial bus Type-C 200 and the connection port 310 with a preset connection type is used to restore power supply.
- Fig. 3 is a circuit diagram of a universal serial bus Type-C 200 according to one embodiment of the present disclosure.
- the power supply can be cut off and restored by switching the switch 210 connected to the Vbus pin of the universal serial bus Type-C 200, so that the switch 210 is turned off (power OFF) and then turned on (power ON).
- Fig. 4A is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure.
- Fig. 4A shows the voltage when the first connection state in step S2 is not consistent with the default connection state.
- the Vbus pin voltage of universal serial bus Type-C 200 is not completely pulled down and does not drop to 0 volts.
- Fig. 4B is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure.
- Fig. 4B illustrates the voltages in steps S4 and S5.
- the method of cutting off and restoring the power supply can change the voltage value of the Vbus pin of universal serial bus Type-C 200, so that the voltage of the Vbus pin of universal serial bus Type-C 200 is pulled down to 0 volts and then returned to 5 volts. This approach is equivalent to retrying the connection between port 310 and universal serial bus Type-C 200 without re-plugging universal serial bus Type-C 200.
- the method of switching the default connection state to the second connection state and then switching back to the default connection state can be performed successively with the method of cutting off and then restoring the power supply to increase the success rate of correctly connecting the universal serial bus Type-C 200.
- step S2 After completing the aforementioned steps S1 to S5, the universal serial bus Type-C detection method 100 returns to step S2, and determining whether the first connection status is consistent with the default connection status through the host system 300 is performed again.
- steps S3 to step S5 of the universal serial bus Type-C detection method 100 are continuously executed until the determination result of step S2 is yes.
- universal serial bus Type-C can be correctly identified without re-plugging and unplugging the universal serial bus Type-C.
- an identification error occurs, it automatically reconnects the universal serial bus TYPE-C and the connection port by switching the connection status or switching the power supply to prevent the host system from being unable to perform normal charging, discharging or data transmission through the universal serial bus Type-C.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Information Transfer Systems (AREA)
- Power Sources (AREA)
Abstract
A detection method of universal serial bus Type-C includes identifying a first connection state between a universal serial bus Type-C and a connection port through a host system, determining whether the first connection state accords with a default connection state through the host system. When a result of the determination is no, transferring a first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port, and transferring a second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state.
Description
- The present disclosure relates to a detection method of universal serial bus Type-C.
- Universal serial bus (USB) has become a mainstream communication interface. USB Type-C is widely used in data and image transmission and charging procedures between multiple devices. However, if the host system encounters an abnormality during Type-C identification, a re-plugging operation typically needs to be performed to eliminate the abnormality.
- Therefore, it is of critical importance to automatically identify the connection error in Type-C and to correct the connection error.
- One aspect of the present disclosure includes a detection method of universal serial bus Type-C.
- In some embodiments, the detection method of universal serial bus Type-C includes identifying a first connection state between a universal serial bus Type-C and a connection port through a host system; determining whether the first connection state is consistent with a default connection state through the host system; and when a result of the determination is no, transferring a first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port; and transferring a second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state.
- In some embodiments, the default connection state is defined by a charging port type and a power delivery.
- In some embodiments, the detection method of universal serial bus Type-C further includes when the result of the determination is no, sending an identification error signal through the host system.
- In some embodiments, transferring the first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port includes transferring the first command to switch the default connection state to a second connection state.
- In some embodiments, the types of the connection port in the second connection state includes Micro-USB, Mini-USB, USB-B, and USB-A.
- In some embodiments, transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes transferring the second command such that the type of the connection port is switched back to USB Type-C.
- In some embodiments, transferring the first command through the host system to cutoff the first connection state between the universal serial bus Type-C and the connection port includes cutting off a power supply.
- In some embodiments, transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes recovering the power supply.
- In some embodiments, cutting off and recovering the power supply further includes changing a voltage of a Vbus pin of the universal serial bus Type-C.
- In some embodiments, cutting off and recovering the power supply further includes switching a switch of a Vbus pin electrically connected to the universal serial bus Type-C.
- Another aspect of the present disclosure is a detection method of universal serial bus Type-C.
- In some embodiments, the detection method of universal serial bus Type-C includes identifying a first connection state between a universal serial bus Type-C and a connection port through a host system; determining whether the first connection state is consistent with a default connection state through the host system; and when a result of the determination is no, transferring a first command through the host system to switch the default connection state to a second connection state; and transferring a second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state.
- In some embodiments, the default connection state is defined by a charging port type and a power delivery.
- In some embodiments, the detection method of universal serial bus Type-C of claim 11 further includes when the result of the determination is no, sending an identification error signal through the host system.
- In some embodiments, the types of the connection port in the second connection state comprises Micro-USB, Mini-USB, USB-B, and USB-A.
- In some embodiments, transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state includes transferring the second command such that the type of the connection port is switched back to USB Type-C.
- In some embodiments, the detection method of universal serial bus Type-C of claim 11 further includes after transferring the first command through the host system to switch the default connection state to the second connection state, determining whether the second connection state is consistent with a default connection state through the host system.
- In some embodiments, after determining whether the second connection state is consistent with a default connection state through the host system, cutting off a power supply when a result of the determination is no.
- In some embodiments, transferring the second command through the host system to connect the universal serial bus Type-C and the connection port in the default connection state further includes recovering the power supply.
- In some embodiments, cutting off and recovering the power supply includes changing a voltage of a Vbus pin of the universal serial bus Type-C.
- In some embodiments, cutting off and recovering the power supply includes switching a switch of a Vbus pin electrically connected to the universal serial bus Type-C.
- In the aforementioned embodiments, through the Universal Serial Bus Type-C detection method of the present disclosure, Universal Serial Bus Type-C can be correctly identified without re-plugging and unplugging the Universal Serial Bus Type-C. When an identification error occurs, it automatically reconnects the universal serial bus Type-C and the connection port by switching the connection status or switching the power supply to prevent the host system from being unable to perform normal charging, discharging or data transmission through the universal serial bus Type-C.
-
-
Fig. 1 is a flow chart of a detection method of a universal serial bus (USB) Type-C according to one embodiment of the present disclosure. -
Fig. 2 is a block diagram of a host system and an USB Type-C according to one embodiment of the present disclosure. -
Fig. 3 is a circuit diagram of a universal serial bus Type-C according to one embodiment of the present disclosure. -
Fig. 4A is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure. -
Fig. 4B is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure. - Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
-
Fig. 1 is a flow chart of a detection method 100 of a universal serial bus (USB) Type-C according to one embodiment of the present disclosure.Fig. 2 is a block diagram of a host system and an USB Type-C according to one embodiment of the present disclosure. Reference is made toFig. 1 andFig. 2 . The detection method 100 of the universal serial bus Type-C 200 is applied to the host system 300 that can be connected to the universal serial bus Type-C 200. The host system 300 is, for example, a desktop computer, a notebook computer, or a smartphone, etc. The host system 300 is coupled to the universal serial bus Type-C 200 through the connection port 310. The detection method 100 Type-C 200 can be installed on the devices such as screens, power supplies, hard drives, or USB hubs, etc. - The detection method 100 of the universal serial bus Type-C 200 is used for reconnection when an identification error is detected, thereby preventing the host system 300 from having a universal serial bus Type-C 200 identification error and being unable to perform charging, discharging, or data transmission normally through the universal serial bus Type-C 200.
- When the host system 300 is connected to the universal serial bus Type-C 200, the detection method 100 of the universal serial bus Type-C 200 starts to be executed. Reference is made to
Fig. 1 , the detection method 100 of the universal serial bus Type-C starts from step S1, the host system 300 identifies the first connection state between the universal serial bus Type-C 200 and the connection port 310. The first connection state includes, for example, a charging port type and a power delivery type. - The detection method 100 of the universal serial bus Type-C 200 continues to step S2, the host system 300 determines whether the first connection state is consistent with the default connection state. The default connection state is defined by the charging port type and the power delivery to which the connection port 310 of the host system 300 is expected to be connected. Charging port types include, for example, Charging Downstream Port (CDP), Dedicated Charging Port (DCP), Standard Downstream Port (SDP), and ACA (Accessary Charge Adapter), etc. Different charging port types each have specific maximum currents and current ranges that vary with voltage.
- The power delivery includes, for example, programmable power supply (PPS), Data Role definition, and Power Role definition. Data Role definitions can include Downstream Facing Port (DFP), Upstream Facing Port (UFP), or Dual Role Data (DRD). Power Role definition can include power supply (Source), power supply (Sink), and dual role port (Dual Role Power, DRP).
- When the first connection status detected by the host system 300 is consistent with the default connection status, it means that the device connected to the universal serial bus Type-C 200 can be used normally. When the first connection status detected by the host system 300 is not consistent with the default connection status, it means that the host system 300 cannot identify the correct connection status or cannot be connected, and the device connected to the host system 300 through the universal serial bus Type-C 200 cannot be used normally.
- For example, the default connection state is to connect via universal serial bus Type-C 200 to a device which is charged at 12 volts and 3 amps. The host system 300 has an error in identifying the universal serial bus Type-C 200, and the first connection state detected may be a device charging with a voltage of 5 volts and a current of 0.1 amps. In the case of identification error, the device connected to universal serial bus Type-C 200 cannot be used normally.
- Therefore, when the determination result of step S2 is no, the universal serial bus Type-C detection method 100 continues to step S3, and the host system 300 sends an identification error message.
- The universal serial bus Type-C detection method 100 continues to step S4, sending a first command through the host system 300 to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310.
- In one embodiment, the first command to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310 can switch the default connection state to the second connection state. The second connection state is different from the first connection state. For example, the connection type corresponding to the connection port 310 in the second connection state may include Micro-USB, Mini-USB, USB-B, USB-A, etc. In other words, as long as it is a USB type other than the USB Type-C. The first command causes the host system 300 to control the connection port 310 to connect the universal serial bus Type-C 200 in the second connection state, which is equivalent to causing the connection port 310 of the host system 300 not to connect to the universal serial bus Type-C 200.
- The universal serial bus Type-C detection method 100 continues to step S5, and a second command is sent through the host system 300 to connect the universal serial bus Type-C 200 and the connection port 310 in a default connection state.
- Continuing from the above embodiment, after switching the default connection state to the second connection state in step S4, a second command is sent in step S5 to switch the connection type corresponding to the connection port 310 back to Type-C. This approach is equivalent to restarting the connection state between port 310 and universal serial bus Type-C 200 without re-plugging universal serial bus Type-C 200.
- In another embodiment, the first command to cut off the first connection state between the universal serial bus Type-C 200 and the connection port 310 in step S4 is used to cut off the power supply. In step S5, the second command to connect the universal serial bus Type-C 200 and the connection port 310 with a preset connection type is used to restore power supply.
-
Fig. 3 is a circuit diagram of a universal serial bus Type-C 200 according to one embodiment of the present disclosure. For example, the power supply can be cut off and restored by switching the switch 210 connected to the Vbus pin of the universal serial bus Type-C 200, so that the switch 210 is turned off (power OFF) and then turned on (power ON). -
Fig. 4A is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure.Fig. 4A shows the voltage when the first connection state in step S2 is not consistent with the default connection state. The Vbus pin voltage of universal serial bus Type-C 200 is not completely pulled down and does not drop to 0 volts. -
Fig. 4B is a schematic diagram of the Vbus pin voltage of the universal serial bus Type-C according to one embodiment of the present disclosure.Fig. 4B illustrates the voltages in steps S4 and S5. The method of cutting off and restoring the power supply can change the voltage value of the Vbus pin of universal serial bus Type-C 200, so that the voltage of the Vbus pin of universal serial bus Type-C 200 is pulled down to 0 volts and then returned to 5 volts. This approach is equivalent to retrying the connection between port 310 and universal serial bus Type-C 200 without re-plugging universal serial bus Type-C 200. - In another embodiment, the method of switching the default connection state to the second connection state and then switching back to the default connection state can be performed successively with the method of cutting off and then restoring the power supply to increase the success rate of correctly connecting the universal serial bus Type-C 200.
- After completing the aforementioned steps S1 to S5, the universal serial bus Type-C detection method 100 returns to step S2, and determining whether the first connection status is consistent with the default connection status through the host system 300 is performed again. When the determination result of step S2 is no, steps S3 to step S5 of the universal serial bus Type-C detection method 100 are continuously executed until the determination result of step S2 is yes.
- In summary, through the universal serial bus Type-C detection method of the present disclosure, universal serial bus Type-C can be correctly identified without re-plugging and unplugging the universal serial bus Type-C. When an identification error occurs, it automatically reconnects the universal serial bus TYPE-C and the connection port by switching the connection status or switching the power supply to prevent the host system from being unable to perform normal charging, discharging or data transmission through the universal serial bus Type-C.
Claims (10)
- A detection method of universal serial bus (USB) Type-C (100), comprising:identifying a first connection state between a USB Type-C (200) and a connection port (310) through a host system (300);determining whether the first connection state is consistent with a default connection state through the host system (300); andwhen a result of the determination is no:transferring a first command through the host system (300) to cutoff the first connection state between the USB Type-C (200) and the connection port (310); andtransferring a second command through the host system to connect the USB Type-C (200) and the connection port (310) in the default connection state.
- The detection method of USB Type-C (100) of claim 1, wherein the default connection state is defined by a charging port type and a power delivery.
- The detection method of USB Type-C (100) of one of claims 1~2, further comprising:
when the result of the determination is no, sending an identification error signal through the host system (300). - The detection method of USB Type-C (100) of one of claims 1~3, wherein transferring the first command through the host system (300) to cutoff the first connection state between the USB Type-C (200) and the connection port (310) comprises:
transferring the first command to switch the default connection state to a second connection state. - The detection method of USB Type-C (100) of claim 4, wherein types of the connection port in the second connection state comprise Micro-USB, Mini-USB, USB-B, and USB-A.
- The detection method of USB Type-C (100) of claim 4, wherein transferring the second command through the host system (300) to connect the USB Type-C (200) and the connection port (310) in the default connection state comprises:
transferring the second command such that a type of the connection port (310) is switched back to the USB Type-C (200). - The detection method of USB Type-C (100) of one of claims 1~3, wherein transferring the first command through the host system (300) to cutoff the first connection state between the USB Type-C (200) and the connection port (310) comprises:
cutting off a power supply. - The detection method of USB Type-C (100) of claim 7, wherein transferring the second command through the host system (300) to connect the USB Type-C (200) and the connection port (310) in the default connection state comprises:
recovering the power supply. - The detection method of USB Type-C (100) of claim 8, wherein cutting off and recovering the power supply comprises:
changing a voltage of a Vbus pin of the USB Type-C (200). - The detection method of USB Type-C (100) of claim 8, wherein cutting off and recovering the power supply comprises:
switching a switch (210) of a Vbus pin electrically connected to the USB Type-C (200).
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410510630.7A CN120849193A (en) | 2024-04-26 | 2024-04-26 | Universal Serial Bus Type-C Detection Method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP4641397A1 true EP4641397A1 (en) | 2025-10-29 |
Family
ID=94687957
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP25158235.9A Pending EP4641397A1 (en) | 2024-04-26 | 2025-02-17 | Detection method of universal serial bus type-c |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250335389A1 (en) |
| EP (1) | EP4641397A1 (en) |
| CN (1) | CN120849193A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115622177B (en) * | 2022-09-30 | 2023-10-27 | 荣耀终端有限公司 | Charging method, mobile terminal and storage medium |
| CN117767487A (en) * | 2023-12-25 | 2024-03-26 | Oppo广东移动通信有限公司 | Charging control method, device, equipment and storage medium |
-
2024
- 2024-04-26 CN CN202410510630.7A patent/CN120849193A/en active Pending
-
2025
- 2025-01-07 US US19/011,734 patent/US20250335389A1/en active Pending
- 2025-02-17 EP EP25158235.9A patent/EP4641397A1/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115622177B (en) * | 2022-09-30 | 2023-10-27 | 荣耀终端有限公司 | Charging method, mobile terminal and storage medium |
| CN117767487A (en) * | 2023-12-25 | 2024-03-26 | Oppo广东移动通信有限公司 | Charging control method, device, equipment and storage medium |
Non-Patent Citations (2)
| Title |
|---|
| "Battery Charging Specification Revision 1.2", 7 December 2010 (2010-12-07), XP055081243, Retrieved from the Internet <URL:http://www.usb.org/developers/devclass_docs> [retrieved on 20130926] * |
| AVYGDOR MOISE: "usb_20_0702115.zip.pdf", vol. 1704, 8 December 2014 (2014-12-08), pages 1, XP068302927, Retrieved from the Internet <URL:https://ieee-sa.imeetcentral.com/p/aQAAAAACfL4O> [retrieved on 20150522] * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120849193A (en) | 2025-10-28 |
| US20250335389A1 (en) | 2025-10-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1171824B1 (en) | Hot plug control of multiprocessor based computer system | |
| US5210855A (en) | System for computer peripheral bus for allowing hot extraction on insertion without disrupting adjacent devices | |
| EP3101763B1 (en) | Terminal, power adapter, and method for processing charging exception | |
| US8065539B2 (en) | System and method for adjusting information handling system over current protection with a common power cable | |
| US11249537B2 (en) | USB type-C power delivery management | |
| US10936034B2 (en) | Information handling system multiple port power source management | |
| US11333716B2 (en) | Electronic device and power receiving control method thereof | |
| US11023030B2 (en) | Electronic device and control method thereof | |
| US10019049B2 (en) | Information handling system multiport power management | |
| CN108886261B (en) | Adjust the connection and disconnection of the charging port | |
| US7539808B2 (en) | Information processing apparatus, information processing system, and program | |
| US10281967B2 (en) | Information handling system reversible charge port and magnetic charge connector | |
| US10139881B2 (en) | Information handling system port power management and cable detect | |
| US11146074B2 (en) | Controller, control method, and control program | |
| KR20210147973A (en) | Power supply combination having heterogeneous power supplies | |
| US20200004307A1 (en) | Electronic device | |
| EP4641397A1 (en) | Detection method of universal serial bus type-c | |
| CN104953631A (en) | Current control method and terminal device | |
| US7984201B2 (en) | Communication apparatus and control method for the communication apparatus | |
| TWI901098B (en) | Detection method of universal serial bus type-c | |
| TWI830559B (en) | Connecting port docking station that reduces the time of fast role swap | |
| US11449121B2 (en) | Product detection device, product detection system and product detection method applied thereto | |
| EP3451182A1 (en) | Connection circuit | |
| US20050177780A1 (en) | Powered interface card and method of providing backup power supply | |
| EP3916518B1 (en) | Power supply combination having heterogeneous power supplies |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20260114 |