USB Hub Host Detection via Power Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

USB hubs face difficulties in determining whether a USB type C port is upstream or downstream due to the bi-directional nature of USB type C connectors, leading to challenges in correctly connecting USB devices and hosts, especially with dual-role elements like smartphones that can act as both hosts and devices.

Innovation Solution

A processor-based apparatus that identifies attached USB elements by their power operations and classifies them to assign port settings, allowing for dynamic reconfiguration of ports as upstream or downstream based on power production and consumption, and initiating enumeration processes to determine host or device roles, enabling multiple host connections and proper power management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If USB type C connectors are used with bidirectional capability, then adaptability and versatility are improved, but difficulty in detecting and measuring host versus device roles worsens

Engineering Contradiction:
Improvedual-role capabilityVSAvoidhost detection
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The hub performs preliminary actions by detecting power flow direction before establishing the USB connection role. The system proactively determines whether the connected device is a host or device by monitoring power operations (power consumption vs. power production) during the connection establishment phase, before full enumeration occurs. This preliminary detection resolves the role ambiguity inherent in bidirectional USB type C connectors.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring power operations and using this information to dynamically determine host versus device roles. The hub observes power flow characteristics and uses this feedback to correctly identify the connected element's role, enabling proper USB protocol operation despite the bidirectional connector capability.

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If dynamic port reconfiguration is implemented, then adaptability is improved, but device complexity increases

Engineering Contradiction:
Improveport reconfigurationVSAvoidhub control logic
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The USB hub implements self-service by autonomously detecting power operations and automatically reconfiguring port roles without external intervention. The system monitors power consumption and production patterns, then independently determines the correct host/device assignment and reconfigures the USB controller accordingly. This self-service approach enables dynamic adaptability while minimizing the need for complex external control logic.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system changes operational parameters by monitoring power-related parameters (power consumption, power production) to determine role assignments. By basing port reconfiguration decisions on power operation parameters rather than static connector types, the system achieves dynamic adaptability. The hub modifies its operational state (upstream/downstream assignment) based on detected power flow characteristics.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11237989B2Host-detecting USB hub
Publication Date: 2022.02.01 MICROCHIP TECHNOLOGY INC
  • US11237989B2 patent drawing
  • US11237989B2 patent drawing
  • US11237989B2 patent drawing

AI summary

An apparatus includes a processor and a machine-readable medium coupled to the processor and comprising instructions. The instructions, when loaded into the processor and executed, configure the processor to identify that a USB element has attached to a USB hub at a port, classify the USB element according to power operations of the USB element, and assign an upstream or downstream setting of the port based upon the classification of the USB element based on power operations of the USB element. The instructions may further configure the processor to classify the USB element as only a producer of power, evaluate whether an enumeration process is initiated within a timeout period, and if so, assign the USB element as a USB host.