USB Configuration Channel State Switching Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing USB interface connections between two apparatuses randomly determine a master and slave state, limiting data interaction as the slave apparatus cannot read from or write to the master apparatus, and this state cannot be switched once connected.
Innovation Solution
A method and apparatus that utilize a logic controller to switch the configuration channel level in a USB interface circuit from high to low or low to high based on a state switching instruction, allowing the apparatus to change between master and slave states, enabling bidirectional data interaction.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If USB interfaces of two apparatuses are connected via a connecting wire, then data interaction or electric quantity transmission can be achieved between the two apparatuses, but the slave apparatus cannot read data from or write data into the master apparatus
Solution Approach 1:
The patent applies the dynamics principle by enabling the USB interface states to switch dynamically between master and slave modes. The logic controller receives switching instructions and changes the configuration channel (CC) signal level accordingly, allowing the apparatus to transition from a fixed master-slave relationship to a dynamic, interchangeable role assignment. This resolves the contradiction by making the data interaction capability adaptable - either apparatus can become master or slave based on switching instructions, enabling bidirectional data access while maintaining efficient single-direction communication at any given time.
2Speed
If the master-slave state is randomly determined upon connection, then the USB interface can establish communication quickly, but the state cannot be switched and limits data interaction flexibility
Solution Approach 1:
The patent applies preliminary action by pre-configuring the logic controller to monitor for state switching instructions during the connection establishment phase. When a switching instruction is received, the controller proactively changes the CC signal level to switch between master and slave states before full data transmission begins. This allows the system to maintain quick connection establishment while adding the flexibility to switch states if needed, resolving the contradiction between fast connection and state flexibility.
3Reliability
If the configuration channel level is fixed during USB connection, then the master-slave relationship is stable and communication is reliable, but the apparatus cannot change its role based on user instructions
Solution Approach 1:
The patent applies feedback by implementing a control mechanism where the logic controller continuously monitors for state switching instructions from the user or system. When a switching instruction is detected, the controller adjusts the CC signal level to change the master-slave state. This feedback loop maintains communication stability during normal operation while enabling role switching when instructed, resolving the contradiction between reliable fixed-state communication and operational flexibility.
Data Source
AI summary
A method of switching an apparatus state of a first apparatus having a first universal serial bus (USB) interface connected via a connecting wire with a second USB interface of a second apparatus is provided. The method may include receiving a state switching instruction, setting a level of a configuration channel (CC) in a USB interface circuit corresponding to the first USB interface from a first high level to a first low level via a logic controller of the first apparatus when the state switching instruction instructs the first apparatus to perform a master-to-slave switch, and setting the level of the CC in the USB interface circuit corresponding to the first USB interface from the first low level to the first high level via the logic controller of the first apparatus when the state switching instruction instructs the first apparatus to perform a slave-to-master switch.


