USB signal switching circuit using standard USB hub and operation method thereof

The signal path control method that combines the USB hub and the switching circuit solves the shortcomings of USB device role reversal and signal path switching in the existing technology, realizes flexible connection and multi-port management between USB devices, and improves the flexibility of the system. performance and scalability.

CN112969982BActive Publication Date: 2024-08-23INFINEON TECHNOLOGIES AMERICAS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980073701.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-24
Filing Date
2019-09-19
Publication Date
2024-08-23
Estimated Expiration
2039-09-19

AI Technical Summary

Technical Problem

Existing USB hubs are deficient in supporting USB device role reversal or swapping, and cannot effectively manage signal path switching and port switching between multiple USB peripheral devices and host devices, resulting in complex and inconvenient device connections.

Method used

Using a signal path control method that combines USB hubs and switching circuits, the switching unit and control circuit realize signal path switching and port switching between USB devices, supporting the flexible switching of USB devices between the roles of host and peripheral device, using the switcher Multiplex USB D+/D- signals with repeaters to provide multi-port connections and signal relay.

Benefits of technology

It realizes flexible signal path switching and port switching between USB devices, supports simultaneous connection of multiple USB peripheral devices and host devices, simplifies the device connection process, and improves the flexibility and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112969982B_ABST
    Figure CN112969982B_ABST
Patent Text Reader

Abstract

A universal serial bus (USB) device, comprising: a USB hub; a first switching unit, which includes a first end coupled to a USB peripheral device port of a first device; a second switching unit, which includes a second end and a first end, the second end being coupled to the USB hub and the first switching unit, and the first end of the second switching unit being configured to be coupled to the first USB device; and a control circuit, which is capable of operating to provide control signals to the first switching unit and the second switching unit, wherein when the first USB device operates as a USB host, the first control signal causes the first switching unit and the second switching unit to provide connectivity between the USB peripheral device port of the first device and the first USB device, and the control circuit provides a second control signal, and when the first USB device operates as a USB peripheral device, the second control signal is used to provide connectivity between the USB host port and the first USB device via the USB hub.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] priority

[0002] This application is an international application of U.S. non-provisional application No. 16 / 450,528 filed on June 24, 2019, which claims priority and the benefit of U.S. Provisional Application No. 62 / 823,966 filed on March 26, 2019 and U.S. Provisional Application No. 62 / 758,252 filed on November 9, 2018 under Section 119e of the U.S. Patent Act, all of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present disclosure relates generally to Universal Serial Bus (USB) devices and systems. More specifically, the present disclosure relates to USB signal path control and port switching embodiments using a standard USB hub and switch circuitry, and methods of operation thereof. Background Art

[0004] The USB standard is an easy-to-use, universal interface for electronic devices (e.g., personal computers (PCs), tablet computers, hubs, smart phones, etc.) and has been widely accepted. It is becoming increasingly common to incorporate USB connections into automotive infotainment systems for the purpose of power delivery and interaction with mobile electronic devices (e.g., smart phones). In embodiments, the infotainment system can take on the role of a USB host when connected to a mobile electronic device. In some embodiments, a mobile electronic device (e.g., ) can take on the role of a USB host and control at least the on-dash vehicle display portion of the infotainment system. Therefore, a USB hub and switching logic circuits are needed to allow an electronic system or device (e.g., an infotainment system) to be connected to both (multiple) USB peripheral devices and (multiple) USB host devices simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings.

[0006] Figure 1 is a schematic diagram showing a USB hub according to one embodiment of the subject matter;

[0007] Figure 2 is a schematic diagram illustrating a USB system according to one embodiment of the subject matter;

[0008] Figure 3 is a schematic diagram illustrating a USB system according to one embodiment of the subject matter;

[0009] Figures 4A-4Cis a schematic diagram showing a USB system and signal paths to a USB host and peripheral devices according to an embodiment of the subject matter;

[0010] Figures 5A-5E is a schematic diagram showing a USB system having a USB hub and corresponding switching circuitry according to an embodiment of the subject matter;

[0011] Figure 6 is a schematic diagram showing a USB system having a USB hub and corresponding switching circuitry according to one embodiment of the subject matter;

[0012] Figure 7 is a representative flow chart illustrating a method for implementing signal switching and port swapping in a USB system according to one embodiment of the subject matter;

[0013] Fig. 8A is a schematic diagram showing a USB system having a USB hub and corresponding switching circuitry according to one embodiment of the subject matter;

[0014] Figure 8B is a schematic diagram illustrating a USB D+ / D- switch or switching unit according to one embodiment of the subject matter;

[0015] Fig.9A is a schematic diagram showing a USB system having a USB hub and corresponding switching circuitry according to one embodiment of the subject matter;

[0016] Fig. 9B is a schematic diagram illustrating a USB D+ / D- switch or switching unit according to one embodiment of the subject matter; and

[0017] Fig.10 is a schematic diagram showing an application of a USB control and switching circuit in an automobile according to an embodiment of the subject matter. DETAILED DESCRIPTION

[0018] The following description sets forth many specific details (e.g., examples of specific systems, components, methods, etc.) to provide a good understanding of several embodiments of the subject matter. However, it will be apparent to those skilled in the art that at least some embodiments may be practiced without these specific details. In other examples, well-known components or methods are not described in detail, or well-known components or methods are presented in a simple block diagram format to avoid unnecessarily obscuring the technology described herein. Therefore, the specific details set forth below are merely exemplary. A specific implementation may be different from these exemplary details, and it may still be expected that the specific implementation is within the spirit and scope of the subject matter.

[0019] Unless otherwise specifically stated, as will be apparent from the following discussion, it will be appreciated that throughout the specification discussion, terms such as "generate," "detect," "process," "calculate," "compute," "determine," and the like are utilized to refer to actions and / or processes of a computer or computing system or similar electronic computing device that manipulate data represented as physical quantities (e.g., electronic quantities) within registers and / or memories of the computing system and / or transform such data into other data similarly represented as physical quantities within memories, registers, or other such information storage devices, transmission devices, or display devices of the computing system. Various units, circuits, or other components may be described or claimed as being "configured to" or "configurable to" perform one or more tasks. In such contexts, the phrases "configured to" or "configurable to" are used to represent a structure by indicating that a unit / circuit / component includes a structure (e.g., circuitry) that performs one or more tasks during operation. Thus, even when a specified unit / circuit / component is not currently operating (e.g., not turned on), the unit / circuit / component may be considered to be configured to perform a task or to be configurable to perform a task. Units / circuits / components used with the "configured to" or "configurable to" language include hardware - e.g., circuits, memory storing program instructions executable to implement operations, etc. Reference to a unit / circuit / component being "configured to" perform one or more tasks or "configurable to" perform one or more tasks is expressly intended to not trigger the sixth paragraph of Section 112 of the United States Patent Act with respect to that unit / circuit / component. Additionally, "configured to" or "configurable to" may include a general structure (e.g., a general circuit) that is manipulated by software and / or firmware (e.g., an FPGA or general purpose processor executing software) to operate in a manner capable of performing the task(s) in question. "Configured to" may also include adapting a manufacturing process (e.g., a semiconductor manufacturing facility) to manufacture a device (e.g., an integrated circuit) suitable for implementing or performing one or more tasks. “Configurable to” is expressly intended not to apply to blank media, an unprogrammed processor or unprogrammed general purpose computer, or an unprogrammed programmable logic device, an unprogrammed programmable gate array, or other unprogrammed device unless it is accompanied by programmed media that imparts the ability for the unprogrammed device to be configured to perform the disclosed function(s).

[0020] Theme Overview

[0021] Examples, implementations, and embodiments described herein may provide signal path switching and port swapping for USB devices and systems and methods of operating the same.

[0022] According to one embodiment, the subject USB device may include: a USB hub having an upstream port and a plurality of downstream ports, the upstream port being coupled to a USB host port of a first device; a first switching unit having a first end and a second end, wherein the first end is coupled to a USB peripheral device port of the first device; a second switching unit having a second end, the second end of the second switching unit being coupled to the first downstream port of the USB hub and the second end of the first switching unit. The second switching unit also has a first end, the first end of the second switching unit is configured to be coupled to the first USB device, and the control circuit is operable to provide a first control signal to the first switching unit and the second switching unit. In one embodiment, when the first USB device operates as a USB host, the first control signal may enable the first switching unit and the second switching unit to provide connectivity between the USB peripheral device port of the first device and the first USB device. In one embodiment, the control circuit may also provide a second control signal to at least the second switching unit, wherein when the first USB device operates as a USB peripheral device, the second control signal may enable the second switching unit to provide connectivity between the USB host port and the first USB device via the first downstream port of the USB hub.

[0023] In one embodiment, the aforementioned USB device may further include a third switching unit having a second end and a first end, the second end of the third switching unit being coupled to the second downstream port of the USB hub and the second end of the first switching unit, and the first end of the third switching unit being configured to be coupled to a second USB device.

[0024] In one embodiment, the control circuit may be operable to provide a third control signal to the first switching unit and the third switching unit, wherein the third control signal may cause the first switching unit and the third switching unit to provide connectivity between the USB peripheral device port of the first device and the second USB device when the second USB device operates as a USB host. In another embodiment, the control circuit may be operable to provide a fourth control signal to at least the third switching unit, wherein the fourth control signal may cause the third switching unit to provide connectivity between the USB host port of the first device and the second USB device via the second downstream port of the USB hub when the second USB device operates as a USB peripheral device.

[0025] In one embodiment, the control circuit may have a USB device function and be coupled to a third downstream port of the USB hub. The control circuit may be configured to receive a USB signal command from the first device through the USB host port and the USB hub.

[0026] In another embodiment, the control circuit may be coupled to the first USB device via a serial interface.

[0027] In another embodiment, the control circuit may be part of the first device.

[0028] In one embodiment, the first switching unit and / or the second switching unit is configured to multiplex USB D+ / D- signals.

[0029] In one embodiment, each of the first switching unit, the second switching unit, and the third switching unit may have a two-input and two-output (2×2) USB 2.0 switch.

[0030] In one embodiment, the USB peripheral device port of the first device may be a USB On-The-Go (OTG) port, and the first USB device may be an OTG device.

[0031] In one embodiment, the first USB device may be coupled to the first device via a USB Type-C receptacle.

[0032] According to one embodiment, the operating method of the subject USB device / system may include the following steps: coupling a USB peripheral device port of a first device to a first USB device via a first switching unit and a second switching unit to establish a first signal path; coupling a USB host port of the first device to the first USB device via a USB hub and a second switching unit to establish a second signal path; when the first USB device operates as a USB host, disconnecting the USB hub and the first USB device using the second switching unit to deactivate the second signal path; and activating the first signal path using the first switching unit and the second switching unit when the first USB device operates as a USB host.

[0033] In one embodiment, the aforementioned method may further include the following steps: coupling a USB peripheral device port of the first device to a second USB device through a first switching unit and a third switching unit to establish a third signal path; coupling a USB host port of the first device to a second USB device through a USB hub and a third switching unit to establish a fourth signal path; when the second USB device operates as a USB host, disconnecting the USB hub and the second USB device using the third switching unit to deactivate the fourth signal path; and activating the third signal path using the first switching unit and the third switching unit when the second USB device operates as a USB host.

[0034] In one embodiment, when the first device operates as a USB host to the first USB device and as a USB peripheral to the second USB device, the second signal path and the third signal path may be configured to be activated simultaneously.

[0035] In another embodiment, when the first device operates as a USB peripheral device to the first USB device and as a USB host to the second USB device, the first signal path and the fourth signal path may be configured to be activated simultaneously.

[0036] In one embodiment, the aforementioned method may further include the following steps: sending a control signal from the control circuit to the first switching unit and the second switching unit, wherein the control signal is configured to cause the second switching unit to disconnect the USB hub from the first USB device. When the first USB device operates as a USB host, the control signal may also cause the first switching unit and the second switching unit to connect the USB peripheral device port of the first device to the first USB device.

[0037] According to one embodiment, the subject USB system may include: a head unit of a car infotainment system, which may have a USB host port and a USB peripheral port; a USB hub having an upstream port coupled to the USB host port; a switching circuit configured to switch and multiplex USB D+ / D- signals; a control circuit configured to send a control signal to the switching circuit; and a vehicle center console including a first USB Type-C port and a second USB Type-C port. In one embodiment, when a first USB device operates as a USB host and is coupled to the first USB Type-C port, the control signal may be configured to cause the switching circuit to disconnect the USB hub from the first USB device and enable a connection between the USB peripheral port and the first USB device.

[0038] In one embodiment, the first USB device may be a USB device that is enabled of And the USB peripheral device port of the head unit may be a USB On-The-Go (OTG) port.

[0039] In one embodiment, the switching circuit may include a first signal repeater, a second signal repeater, and a third signal repeater, wherein the first signal repeater may be coupled to a USB peripheral device port, and the second signal repeater and the third signal repeater may each be coupled to one of the downstream ports of the USB hub and the first signal repeater. In one embodiment, the first signal repeater, the second signal repeater, and the third signal repeater may each include a two-input and two-output (2×2) USB2.0 switch.

[0040] In another embodiment, the switching circuit may have a two-input and three-output (3×2) USB 2.0 switch, wherein a USB D+ / D- top signal and a USB D+ / - bottom signal coupled to a first USB Type-C port may be shorted to form a first D+ / D- input, and a USB D+ / D- top signal and a USB D+ / D- bottom signal coupled to a second USB Type-C port may be shorted to form a second D+ / D- input. In one embodiment, two D+ / D- outputs of the 3×2 USB 2.0 switch may be coupled to a USB hub, and the last D+ / D- output may be coupled to a USB peripheral port of a head unit.

[0041] In one embodiment, when the second USB device operates as a USB peripheral device and is coupled to the second USB Type-C port, the control signal may be configured to cause the switching circuit to enable a connection between the USB host port and the second USB device through the USB hub.

[0042] In another embodiment, when the second USB device operates as a USB host and is coupled to the second USB Type-C port, the control signal may be configured to cause the switching circuit to enable a connection between the USB peripheral port and the second USB device.

[0043] In one embodiment, the head unit can simultaneously and independently operate as a USB peripheral device to a first USB device and as a USB host to a second USB device, or vice versa.

[0044] Figure 11 is a schematic diagram showing a USB hub according to one embodiment of the subject matter. A USB hub is a device that expands a single USB port into several USB ports, so that more ports are available for connecting devices to a host system. In one embodiment, a USB hub 100 may include a USB hub logic 104, an upstream universal transceiver macrocell interface (UTMI) transceiver 102a, and downstream UTMI transceivers 102b to 102d. The USB hub logic 104 may be coupled to the upstream UTMI transceiver 102a at the upstream end, and to multiple downstream UTMI transceivers 102b to 102d at the downstream end. In some embodiments, the upstream UTMI transceiver 102a may be coupled to a host device / system via an upstream socket (not shown), and the downstream UTMI transceivers 102b to 102d may be coupled to (multiple) peripheral devices, respectively, via a downstream socket (not shown). In other embodiments, a transceiver using logic level signals other than UTMI may be used. In one embodiment, a downstream port power management circuit (not shown) may also be coupled between the USB hub logic 104 and the downstream socket. It will be understood that Figure 1 The configuration shown in the USB hub 100 and the number of upstream ports and downstream ports in the USB hub 100 are for illustrative purposes and should not be construed as limiting. Upstream UTMI transceivers and downstream UTMI transceivers 102a to 102d can provide a physical layer interface (PHY) between the USB signaling on the USB interface and the logic signaling used inside the USB hub logic 104. For example, upstream UTMI transceivers and downstream UTMI transceivers 102a to 102d can provide an interface between the D+USB signal and the D-USB signal from the host or peripheral device and the 8-bit or 16-bit UTMI logic signal bus connected to the USB hub logic 104. The control and operation of the USB hub 100 can be realized using control logic, digital circuits, analog circuits, and processors, microcontrollers, state machines, or other execution units. Instructions can be loaded into a memory and executed by a processor, and can make the USB hub 100 perform the functions described herein or configure the USB hub 100 to perform the functions described herein. Processors, control logic, and circuits can be included in the USB hub logic 104. The USB hub logic 104 may determine how the USB hub 100 will perform USB communications.

[0045] Typically, a standard USB hub (e.g., USB hub 100) can be configured to allow multiple USB peripheral devices to be coupled (via downstream ports) and controlled by a single host device / system (via upstream ports). With continued upgrades and improvements, many USB devices (e.g., mobile phones, tablet computers, digital audio players, cameras, etc.) can be used as hosts or peripherals in different situations. However, a standard USB hub (e.g., USB hub 100) may not support such a reversal or swap of host / peripheral roles in its configuration.

[0046] Figure 2 is a schematic diagram showing an electronic system that supports USB standards (e.g., USB 2.0, USB 3.0, USB 3.1, USB Type-C, and USB On-The-Go (OTG)). In one embodiment, Figure 2 The electronic system in the embodiment may be a head unit 200 of an infotainment system in a car. The head unit 200 may include a CPU 202 coupled to a USB host control logic 206 and a USB peripheral control logic 208. The USB host control logic 206 is also coupled to a USB host port 210, and the USB peripheral control logic 208 is coupled to a USB peripheral port 212. In one embodiment, when the head unit 200 is coupled to a peripheral device (e.g., an MP3 player) via the USB host port 210, the head unit 200 may function as a USB host. In one embodiment, the USB host control logic 206 may control a data link in which data is broadcast to and received from the connected (multiple) USB peripheral devices. In another embodiment, when the head unit 200 is coupled to a device having the ability to function as a USB host via the USB peripheral port 212, the head unit 200 may function as a USB peripheral device. For example, the head unit 200 may be coupled to a smart phone (not shown), wherein the smart phone may control a vehicle display on the dashboard, such as the display 204 of the head unit 200. The USB peripheral control logic 208 may provide control over data received from and sent to the smartphone via the USB peripheral port 212. In one embodiment, the head unit 200 may simultaneously act as a USB host device and a USB peripheral device, and each of the USB host and peripheral device operations may be performed independently. It will be appreciated that the head unit 200 is only Figure 2 An example of an electronic system is shown in FIG. Figure 2 The electronic system in the present invention can be any device or system having the capability and requirement to act as both a USB host and a USB peripheral device (eg, a USB OTG device), such as a personal computer, a monitor, a smart phone.

[0047] Figure 3 300 is a schematic diagram illustrating a USB system according to one embodiment of the subject matter. In one embodiment, the USB system 300 may include a head unit 302 of a car, which is similar to Figure 2 2. The head unit 200 in FIG. The head unit 302 may have a USB host port 310 and a USB peripheral device port 308 separated from each other. In one embodiment, the USB peripheral device port 308 may be a USB OTG port in addition or alternatively. The USB OTG specification enables USB peripheral devices to assume the role of a USB host as required, so that the USB data stream can be better controlled, but the OTG model requires that the default host (e.g., host 302) changes to a USB peripheral device role while the device changes to a USB host role. In one embodiment, the head unit 302 is coupled to several USB devices 306a to 306d via a USB control and switching device 304. The USB control and switching device 304 may have USB Type-C sockets 308a to 308d for coupling to USB devices 306a to 306d, respectively. In other embodiments, one or more of the sockets 308a to 308d may be USB Type-A sockets or other types of USB sockets. The USB devices 306a to 306d may be USB host devices or USB peripheral devices or USB OTG devices. As an example, USB device 306a may be a USB peripheral device. In one embodiment, USB control and switching device 304 may provide an active signal path or communication link between head unit 302 and USB device 306a via USB host port 310. In this particular example, USB control and switching device 304 may behave like a standard USB hub (e.g., Figure 1In another embodiment, the USB device 306b can be a USB host device coupled to the USB control and switching device 304 via the socket 308b. In this example, the USB control and switching device 304 can provide an active signal path or communication link between the head unit 302 and the USB device 306b via the USB peripheral device port 308, so that the USB device 306b can serve as the control of one or more aspects of the head unit 302 function and the established signal path. In one embodiment, the USB control and switching device 304 can provide appropriate active signal paths to the connected USB devices 306a to 306d according to the USB role (host or peripheral device) they play. In another embodiment, the USB control and switching device 304 can have the ability to provide a signal path switching function when the connected USB device (e.g., USB device 306a) switches its role from a peripheral device to a host device, and vice versa. The details of the USB control and switching device 304 are discussed below.

[0048] FIG. 4A to FIG. 4C is a representative block diagram illustrating signal path switching using a USB hub according to one embodiment of the subject matter. Figure 4A , the infotainment head unit 402 may have a USB host port 404 and a USB peripheral port 406. In one embodiment, the USB peripheral port 406 may support the USB OTG standard. The vehicle center console 412 may have several sockets for coupling to USB devices. In an embodiment, the sockets may be USB Type-C or other types of USB sockets. When the USB peripheral devices 410a and 410b are coupled to the USB ports or sockets in the vehicle center console 412, the head unit 402 may act as a USB host and establish an active signal path between the USB host port 404 and the upstream port of the USB hub 408. The USB hub 408 may then be coupled to the USB peripheral devices 410a and 410b via its downstream port and the USB sockets in the vehicle center console 412. It will be understood that for purposes of illustration only, in Figure 4A and Figure 4C Only two downstream ports and USB devices are shown in FIG. The number of downstream ports, sockets and USB devices may vary depending on system and usage requirements without departing from the broader spirit and scope of the present disclosure.

[0049] refer to Figure 4B , the USB host device 412a is coupled to the left socket of the vehicle center console 412, and the USB peripheral device 410c is coupled to the right socket. In one embodiment, the USB host device 412a can be a smart phone (e.g., Apple ), or a device with USB host capability or a USB OTG device. In one embodiment, a first signal path can be established between the USB host port 404 of the head unit 402 via the USB hub 408. The head unit 402 is the USB host of the communication link to the USB peripheral device 410c. At the same time, a second signal path can be established between the head unit 402 and the USB host device 412a. In one embodiment, the second signal path is a point-to-point link that bypasses the USB hub 408, and the communication link is controlled by the USB host device 412a. In one embodiment, Figure 4B There are two hosts in the system, one of which is included in the head unit 402, which controls a first signal path to the USB peripheral device 410c via the USB hub 408. The other host is a USB host device 412a, which controls a second signal path to the USB peripheral device port 406 of the head unit 402. In an embodiment where the USB host device 412a is a USB OTG device, the USB peripheral device port 406 may also be an OTG port, and there may be additional signal paths (not shown) known in the art to implement and support OTG role exchange between the head unit 402 and the USB host device 412a.

[0050] refer to Figure 4C , the USB peripheral device 410d is coupled to the left socket, and the USB host device 412b or USB OTG device is coupled to the right socket. In one embodiment, similar to Figure 4B In the embodiment of FIG. 4 , a point-to-point signal path can be established between the USB peripheral device / OTG port 406 of the head unit 402 and the USB host device 412 b, bypassing the USB hub 408. A host signal path can be established between the USB host port 404 and the USB peripheral device 410 d via the USB hub 408. In one embodiment, the two signal paths can be operated simultaneously and independently without interruption, and the head unit 402 can simultaneously play the role of a USB host and a USB peripheral device.

[0051] like FIG. 4A to FIG. 4C In order for a USB system with a standard USB hub to operate as described, it may be required to have dedicated USB peripheral and host ports at the vehicle center console 412, or to unplug the USB cable. In another embodiment, it may be required to rearrange the signal path to accommodate FIG. 4A to FIG. 4C All three embodiments in .

[0052] FIG. 5A to FIG. 5C is a representative block diagram illustrating a USB system according to an embodiment of the subject matter. Figure 5A, the head unit 502 may be part of an in-vehicle infotainment system or a device having both USB host capability and peripheral device capability and compatibility. In one embodiment, the head unit 502 may have separate USB host ports 526 and USB peripheral device ports 522, which may additionally or alternatively be OTG ports. The head unit 502 may be coupled to a USB hub 504 and a switching circuit 520, which may perform operations with the USB hub 504 and the switching circuit 520. Figure 3 In one embodiment, the USB hub and switching circuit 520 may include a USB hub 504 having an upstream port 518 and downstream ports 520a to 520c. The USB hub 504 may be a USB hub having a plurality of ports 518a to 520c. Figure 1The USB hub 100 of the present invention or other embodiments practiced in the art is a standard USB hub with similar structural features and functions. In one embodiment, the upstream port 518 and the downstream ports 520a to 520c provide a physical layer interface between USB D+ / D- signaling to UTMI (or other similar) signaling inside the USB hub 504. In one embodiment, the USB host port 526 of the head unit 502 is coupled to the upstream port 518 of the USB hub for USB D+ / D- signal transmission. The downstream port 520a is coupled to multiple input / output terminals of a first switching unit or signal repeater or multiplexer (hereinafter referred to as "signal repeater") 518, and the downstream port 520c is coupled to multiple input / output terminals of a second signal repeater 516. The USB peripheral device port 522 of the head unit 502 is coupled to a single input / output terminal of a third signal repeater 514. Then, the third signal repeater 514 is coupled to the multiple input / output terminals of each of the first signal repeater and the second signal repeater at the corresponding multiple input / output terminals of the first signal repeater and the second signal repeater. In one embodiment, the first signal repeater 518, the second signal repeater 516 and the third signal repeater 514 can have similar structural features, and these signal repeaters can be multiplexers, passive double-pole double-throw (DPDT) switches, active D+ / D- signal repeaters or combinations thereof. The main function of the first signal repeater 518, the second signal repeater 516 and the third signal repeater 514 is to switch, multiplex and / or relay input / output signals to / from one of the multiple signal paths by multiplexing or switching USB D+ / D- signals, as configured by the control signal. In an embodiment, the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514 can be a 1×2 USB 2.0 switch or a 2×2 USB 2.0 switch for Type-C connection, which will be discussed in detail below. In one embodiment, the control circuit 506 is coupled to the downstream port 520b and sends a control signal to each of the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514 to configure (multiple) active signal paths. The control circuit 506 can be a USB device, including a USB peripheral device controller function, thereby receiving USB commands from the head unit 502 through the USB host port 526 and the USB hub 504. The single input / output end of the first signal repeater 518 and the second signal repeater 516 is coupled to a socket located in the vehicle center console 508. The vehicle center console 508 may include USB sockets 524a and 524b for coupling to (multiple) USB devices 510 and / or 512. In an embodiment, the USB sockets 524a and 524b may be USB Type-C sockets, USB Type-A sockets, or other USB type sockets.

[0053] refer to Figure 5A , USB devices 510 and 512 can be coupled to a socket located in the vehicle center console 508. In one embodiment, USB devices 510 and 512 can both be USB peripheral devices. Head unit 502 can start an enumeration process and identify that USB devices 510 and 512 are both USB peripheral devices, and the head unit 502 can play the role of a USB host. USB commands can be sent from head unit 502 to control circuit 506 via USB hub 504 and downstream port 520b, and in response, the control circuit 506 can then send control signals to the first signal repeater 518, the second signal repeater 516 or the third signal repeater 514, respectively. In one embodiment, USB peripheral device port 522 can be disabled or disconnected. Additionally or alternatively, the third signal repeater 514 can be disabled by a control signal so that there is no active signal path from / to the USB peripheral device port 522. The first signal repeater 518 and the second signal repeater 516 may be configured to switch or repeat or multiplex the USB D+ / D- signals to and from the downstream ports 520a and 520c, respectively, through control signals. Figure 5A Indicated by the dotted lines in , two corresponding active signal paths are established between the USB host port 526 and the USB devices 510 and 512. In one embodiment, the head unit 502 can play the role of the USB host and control the established communication link and / or the USB devices 510 and 512. In an alternative embodiment, only one USB device 510 or 512 is connected to a socket located in the vehicle center console 508. The control circuit 506 can deactivate the second signal repeater 516 or the first signal repeater 518. In one embodiment, the signal repeaters 514, 516 and 518 can support multiplexing / relaying LS, FS, HS and SS USB D+ / D- signals (speed up to at least 480MHz), while meeting the demanding timing and matching requirements of the USB specification. It will be understood that for simplicity, only two active signal paths (to / from USB devices 510 and 512) are included, and it should not be interpreted as a limitation. The embodiment with more than two ports / sockets in the vehicle center console 508 will be discussed below.

[0054] In one embodiment, the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514 and the control circuit 506 can be integrated into a single integrated circuit (IC) and mounted on a circuit board in the vehicle center console 508 of the vehicle together with the USB hub 504 IC, or mounted elsewhere in the vehicle (not shown). One USB cable can connect the upstream port 518 of the USB hub 504 to the head unit 502, which can be in the dashboard. Another USB cable can connect a single IC to the peripheral device / OTG port 522 of the head unit 502. In one embodiment, the two USB cables can share a single insulating sleeve and thus physically appear as one cable. Within the shared sleeve, there can be two sets of conductors, each set of conductors having its own shielding, although in some embodiments, the two sets of conductors can share power and / or ground conductors. Sockets 524a and 524b can be USB Type-C sockets. USB Type-C is defined in various releases and / or versions of the USB Type-C specification (e.g., Release 1.0 on August 11, 2014, Release 1.1 on April 3, 2015, etc.). The USB Type-C specification defines a Type-C receptacle, a Type-C plug, and a Type-C cable that can support USB communications and power delivery via the newer USB power delivery protocol defined in various revisions / versions of the USB-PD specification. Examples of USB Type-C features and requirements may include, but are not limited to, data and other communications in accordance with USB 2.0 and USB 3.0 / 3.1, electromechanical definitions and performance requirements for Type-C cables, electromechanical definitions and performance requirements for Type-C receptacles, electromechanical definitions and performance requirements for Type-C plugs, requirements for Type-C to legacy cable assemblies and adapters, requirements for Type-C based device detection and interface configuration, requirements for optimized power delivery for Type-C connectors, etc. According to (multiple) USB Type-C specifications, the Type-C port provides VBUS lines, D+ lines, D- lines, GND lines, SSTX+ lines, SSTX- lines, SSRX+ lines, and SSRX- lines, as well as other lines. Additionally, the Type-C port also provides a sideband use (denoted as SBU) line for signaling of sideband functions, and a configuration channel (denoted as CC) line for discovering, configuring, and managing connections across Type-C cables. The Type-C port can be associated with a Type-C plug and / or a Type-C receptacle. For ease of use, the Type-C plug and Type-C receptacle are designed as a reversible pair that can operate regardless of the orientation of the plug to the receptacle.Therefore, a standard USB Type-C connector set as a standard Type-C plug or Type-C receptacle provides pins for four VBUS lines, four ground return (GND) lines, two D+ lines (DP1 and DP2), two D- lines (DN1 and DN2), two SSTX+ lines (SSTXP1 and SSTXP2), two SSTX- lines (SSTXN1 and SSTXN2), two SSRX+ lines (SSRXP1 and SSRXP2), two SSRX- lines (SSRXN1 and SSRXN2), two CC lines (CC1 and CC2) and two SBU lines (SBU1 and SBU2), as well as other lines.

[0055] refer to Figure 5B , characterized by a USB system 550 similar to the USB system 500. In one embodiment, the USB host device 510' and the USB peripheral device 512 can be coupled to the sockets 524a and 524b located in the vehicle center console 508, respectively. During the USB enumeration process, the USB host port 526 in the head unit 502 can identify the device (USB host device 510') coupled to the USB socket 524a as capable of USB host operation. In one embodiment, the head unit 502 can send the USB command signal to the control circuit 506 via the USB host port 526 via the USB hub 504. In turn, the control circuit 506 can send a control signal to the signal repeater 514 so that a (peripheral device) signal path is established between the multiple input / output terminals of the USB peripheral device port 522 to the first signal repeater 518. The control circuit 506 can also send another control signal to the first signal repeater 518 so that only the USB signal to / from the peripheral device port 522 is relayed. Thus, a point-to-point signal path is established between the head unit 502 and the USB host device 510', bypassing the USB hub 504. In this example, the USB host device 510' can control the established active signal path and thus control certain functions of the head unit 502, such as controlling information displayed in the vehicle display unit on the dashboard.

[0056] In a specific embodiment, the USB host device 510 may be a smart phone or a tablet computer. More specifically, the USB host device 510 may be a USB enabled of or (hereinafter referred to as "Apple product"). In an alternative embodiment, the USB host device 510 may be a USB enabled of Telephone yes A proprietary standard that enables a car head unit to function as both a display and a controller for iOS devices or other USB peripherals. The standard requires that the USB system operate in some fashion similar to a standard USB hub, but must also support one or more downstream USB ports that can "reverse" and become USB host ports, while the other downstream ports remain connected to the head unit as USB hosts. Figure 5B When the Apple product is initially coupled to the receptacle 524a, it may appear as a USB peripheral device and connected to the USB host port 526 of the head unit 502 via the USB hub 504. When the head unit 502 detects that the Apple product is connected, the head unit 502 may provide the user with an activation App options. If the user chooses not to activate mode, the Apple product can continue to play the role of a peripheral device. In an alternative embodiment, enabling It can be automatic and triggered by coupling. When the Apple product is in peripheral mode, in response to data exchanged between the head unit 502 and the Apple product, it can initiate mode, and similar to the above description, the head unit 502 can send the USB command signal to the control circuit 506 via the USB host port 526 via the USB hub 504. In turn, the control circuit 506 can send the control signal to the third signal repeater 514 and the first signal repeater 518, so that a point-to-point signal path is established between the peripheral device port 522 and the Apple product via the third signal repeater 514 and the first signal repeater 518 and the socket 524a in the vehicle center console 508. In one embodiment, the Apple product can act as a USB host and control the established active signal path, thereby controlling certain functions of the head unit 502, for example, controlling the information displayed in the vehicle display unit on the dashboard. Although the USB peripheral device port 522 can also be a USB OTG port, since the USB hub 504 may not provide any OTG support, a non-standard method (e.g., bypassing the USB hub 504) may be required to allow the Apple product to switch from the peripheral device mode to the host mode. In one embodiment, the Apple product can then become a USB host and enumerate the head unit 502 as a USB peripheral device via the USB peripheral device port 522. At the same time, the USB peripheral device 512 can also be coupled to the socket 524b located in the vehicle center console 508. In one embodiment, the head unit 502 can send a USB command signal to the control circuit 506, which can in turn send a control signal to the second signal repeater 516 to select or switch to the USB D+ / D- signal conductor from the USB hub 504 instead of from the third signal repeater 514. Thus, a host signal path can be established between the head unit 502 and the USB peripheral device 512 via the USB host port 526, the USB hub 504, the downstream port 520c, and the socket 524b in the vehicle center console 508, which is similar to a standard USB hub operation. In one embodiment, even when the USB peripheral device port 522 is turned on, the head unit 502 can still use the USB host port 526 to connect to the USB hub 504. mode, the USB peripheral device 512 and any other (multiple) USB devices connected to another downstream USB port of the system ( Figure 5B ) can also continue uninterrupted USB peripheral device operations through the USB host port 526.

[0057] refer to Figure 5C , USB peripheral device 510 is coupled to socket 524a, and USB host device 512' is coupled to socket 524b. In one embodiment, USB host device 512' may be an Apple product. The operation of USB system 580 may be similar to Figure 5BIn one embodiment, the head unit 502 can send a USB command signal to the control circuit 506, which can in turn send a control signal to the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514. A host signal path can be established between the head unit 502 and the USB peripheral device 510 through the USB host port 526, the USB hub 504, the downstream port 520a, and the first signal repeater 518, wherein the head unit 502 acts as a USB host. Simultaneously and independently, after enabling the USB peripheral device 510 through the third signal repeater 514 and the second signal repeater 516, the head unit 502 can also establish a host signal path between the head unit 502 and the USB peripheral device 510 through the USB host port 526, the USB hub 504, the downstream port 520a, and the first signal repeater 518. After the mode, a peripheral signal path can be established between the USB peripheral / OTG port 522 of the head unit 502 and the Apple product 512', where the Apple product 512' acts as a USB host and the head unit 502 acts as a USB peripheral. In one embodiment, there can be two USB hosts in the USB system 580, namely, the head unit 502 (to the host signal path and USB device 510) and the Apple product or USB host device 512' (to the peripheral signal path and the head unit 502).

[0058] In an alternative embodiment (not shown), when the head unit 502 detects that both receptacles 524a and 524b are coupled to an Apple product or a USB host device, the head unit 502 may select one of the USB host devices for operation. mode operation, or can provide the user with the option of selecting which USB host device to Opportunity to operate in mode.

[0059] refer to FIG. 5A to FIG. 5C In various embodiments, each of the sockets 524a and 524b (or additional ports / sockets) can be coupled to a USB peripheral device, a USB host device, a USB OTG device, or Any mode The head unit 502 and control circuit 506 may generate appropriate control signals for the signal repeater to establish a host signal path to the USB host port 526 or a peripheral signal path to the USB peripheral / OTG port 522 .

[0060] refer to Figure 5D , showing something like Figure 5AIn one embodiment, the control circuit 602 may not be a USB device and may not be coupled to any downstream port of the USB hub 504. In one embodiment, the head unit 502 generates commands using a serial interface including but not limited to I2C or SPI and sends the commands directly to the control circuit 602, and the control circuit 602 may in turn send control signals to the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514 to implement the above-mentioned FIG. 5A to FIG. 5C The signal path switching and control functions described in .

[0061] refer to Figure 5E , characterized in another alternative USB system 700. In one embodiment, a control signal is generated and sent directly from the head unit 502 to the first signal repeater 518, the second signal repeater 516, and the third signal repeater 514 to achieve the following. FIG. 5A to FIG. 5C The signal path switching and control functions described in .

[0062] refer to Figure 6 , the USB system 800 may be similar to Figure 5B 506 and allows simultaneous coupling to three USB devices and the control circuit 506. In one embodiment, an additional socket 656 (which may be a USB Type-C socket or other USB type of socket) is mounted on the vehicle center console 508, and an additional downstream port 654 is mounted in the USB hub 504. In addition, a fourth signal repeater 652 may be coupled between the USB device 650 and the USB host port 526 via the USB hub 504, or between the USB device 650 and the peripheral device port 522 via the third signal repeater 514. In one embodiment, if the USB device 650 is a peripheral device, the head unit 502 may send a USB command to the control circuit 506, which may in turn configure the fourth signal repeater 652 to select the USB D+ / D- signal from the USB hub 504 to establish a host signal path between the USB host port 526 and the USB device 650. In another embodiment, if the USB device 650 is a USB host device, an OTG device, or a peripheral device port 522, the fourth signal repeater 652 may be coupled between the USB device 650 and the USB host port 526 via the third signal repeater 514. Mode The head unit 502 may then select or allow the user to select whether the USB host device 510' or the USB device 650 should be the host and establish the peripheral device signal path accordingly. In an alternative embodiment, one or more additional sockets or ports may be added to the vehicle center console 508 through circuit modifications similar to the socket 654 so that one or more USB devices may be coupled to the head unit 502. In an alternative embodiment, the USB system 800 may be implemented as previously described in Figure 5D and Figure 5E and control circuit and control signal configuration embodiments discussed in its description.

[0063] Figure 7 is a representative flow chart illustrating a method for implementing signal switching and port swapping in a USB system (eg, USB system 500) according to one embodiment of the subject matter. Figure 7 , a USB device (e.g., a head unit) may have a USB host port and a USB peripheral port, and the USB peripheral port may also be an OTG port. In step 702, the USB host port may be coupled to an upstream port of a USB hub, and the USB peripheral port may be coupled to a first switching unit, which may be a switch, a multiplexer, or a signal repeater ("mux") or a combination thereof. Subsequently, a second multiplexer may be coupled to one downstream port of the USB hub, and a third multiplexer may be coupled to another downstream port. In step 704, the second multiplexer and the third multiplexer are also coupled to the first multiplexer at multiple input / output terminals of the first multiplexer. In step 704, the second multiplexer is also configured to couple to the first USB device, and the third multiplexer is also configured to couple to the second USB device. In one embodiment, in step 706, similar to Figure 5A The control block of the control circuit 506 in may be configured to send control signals to the first multiplexer, the second multiplexer, and the third multiplexer to control their respective signal switching operations.

[0064] In one embodiment, in step 708, the head unit may detect whether the first USB device can be used as a host. A control signal may be sent to the second multiplexer so that if the first USB device is used as a USB host, the USB hub may be disconnected from the first USB device. In step 712, the second multiplexer and / or the first multiplexer may also be configured by the control signal to implement a communication link from the peripheral device port to the first USB device. If the first USB device is not a USB host, then in step 710, the head unit may detect whether the second USB device can be used as a host. In an alternative embodiment, the host may detect whether the second USB device can be used as a host even when the first USB device plays the role of a host.

[0065] In one embodiment, a control signal may be sent to the third multiplexer so that if the first USB device is used as a USB host, the USB hub may be disconnected from the second USB device. In step 714, the third multiplexer and / or the first multiplexer may also be configured by the control signal to implement a connection link from the USB peripheral device port to the second USB device. If the second USB device is not a USB host, then in step 716, the communication link between the USB peripheral device port of the head unit and the second multiplexer and the third multiplexer may be disconnected. In one embodiment, in step 718, when both the first USB device and the second USB device are used as USB peripheral devices, the head unit may be used as a USB host for both the first USB device and the second USB device via the USB hub.

[0066] refer to Fig. 8A , USB system 820 is similar to Figure 5A , and is USB Type-C compatible. In one embodiment, the USB switches 850a to 850c can perform functions similar to the signal repeaters 514, 516, and 518, and adapt the top and bottom D+ / D- USB signals from each of the Type-C ports. In one embodiment, the switching circuit formed by the USB switches 850a to 850c can be a four-input and three-output (3×4) USB switch, for example, a 3×4 USB 2.0 switch. The switching circuit can route the top and bottom D+ / D- lines (four inputs) of each of the two USB Type-C ports to two downstream ports of the USB hub and the USB peripheral device / OTG port (three outputs) of the head unit. The operation of the switching circuit can be similar to Figure 7 and the embodiments disclosed in the corresponding description thereof.

[0067] Figure 8Bis a schematic diagram showing a USB switch 850a according to one embodiment of the subject matter. In one embodiment, USB switches 850a to 850c may have similar structural features, and USB switch 850a is shown as an example herein. In one embodiment, USB switch 850a may be a two-input and two-output (2×2) USB switch, for example, a 2×2 USB 2.0 switch. The two inputs may be the D+ top / D- top and D+ bottom / D- bottom of a Type-C port / socket, and the two outputs may be routed to the downstream port of the USB hub and the USB switch 850c, respectively. In one embodiment, the USB switch 850a may have eight separate switches 856, wherein the operation of each switch 856 is configured by a control signal from a control circuit. Each signal path (e.g., D+ top) to a USB peripheral device / OTG port may have to pass through two stubs 852, 854 and a switch 856. In one embodiment, the active peripheral signal path between the USB peripheral / OTG port and the Type-C port may have to pass through four stubs 852 or 854 and two switches 856 (in USB switches 850a and 850c or 850b and 850c). In one embodiment, when switches and, to a lesser extent, stubs are present in the signal path, the USB signal may be degraded. When fewer stubs and / or switches are present in the signal path, signal integrity may be preserved.

[0068] refer to Fig.9A , shows a USB Type-C compatible USB system 900. In one embodiment, the system shown is similar to Fig. 8A In one embodiment, the USB system 820 includes two Type-C ports / receptacles. Figure 5A and Fig. 8A Instead of using three 2×2 USB switches 850a to 850c as shown in FIG. 1 , a single two-input, three-output (3×2) USB switching circuit 902 can be used to route the appropriate signal path(s) to the USB host port and peripheral device / OTG port of the head unit corresponding to the connected USB device(s) ( Fig.9A In one embodiment, the D+ / D- top and bottom signals of each of the Type-C ports are shorted at stub 904 to form two inputs to the USB switching circuit 902. The USB switching circuit 902 can route the D+ / D- signals to one of the two downstream ports of the USB hub or to the peripheral device / OTG port of the head unit.

[0069] refer to Fig. 9B, the USB switching circuit 902 may include eight switches S1 to S8, and the operation of the switches S1 to S8 may be controlled by the control circuit. In each Type-C port, the D+ top line and the D+ bottom line are shorted at the stub line 904, and similarly for the D- top line and the D- bottom line, to form a D+ / D- input of the USB switching circuit 902. In one embodiment, the operation of the USB switching circuit 902 is summarized as follows:

[0070]

[0071] Table 1:

[0072] In one embodiment, when a USB peripheral device is coupled to Type-C port 1 and When coupled to Type-C port 2, the D+ signal path from Type-C port 1 can pass through switch S2 and the D- signal path can pass through switch S6. In one embodiment, the point-to-point signal path from Type-C port 2 to the USB peripheral / OTG port of the head unit can pass through only a single switch (S3 for D+ and S7 for D-) and three stubs 904. Fig. 8A Compared to the 3×4 USB switch featured in the , fewer switches and stubs along the signal path can help reduce USB signal degradation and maintain signal integrity. In one embodiment, when both ports are coupled to a USB host or OTG device (e.g., ), the USB system 900 may allow the user to select one of the two devices as the USB host for the head unit, or may automatically revert to one of the previous three configurations.

[0073] Fig.10 is a schematic diagram showing an application of a USB control and switching circuit in a car according to an embodiment of the subject matter. Fig.10 , the automotive USB system 1000 includes a center console or front seat power delivery (PD) charger 1050 (which may be part of the vehicle display on the dashboard), and a rear seat PD charger 1060. In one embodiment, the center console PD charger 1050 may include a control and switching circuit 1002a, which may have a Figure 5A USB system 500, Fig. 8A 3×4 USB switch in or Fig.9AThe USB device 1010a may include a control circuit coupled to one downstream port of the USB hub 1006. The other two downstream ports of the USB hub 1006 may be coupled to the control and switching circuit 1002a, and another downstream port may be coupled to the USB device (control circuit) of the rear seat PD charger 1002b. Figure 5A , the peripheral device / OTG port of the head unit 1050 is coupled to the control and switching circuit 1002a, and the USB host port is coupled to the upstream port of the USB hub 1006. USB Type-C sockets / ports 1008a and 1008b are configured to provide coupling with mobile USB devices (not shown). Additionally, power delivery circuit 1004 is also coupled to sockets 1008a and 1008b to provide charging up to ~20V in fixed PDO mode and up to ~21V in PPS PDO mode to the connected mobile USB device, or to provide other voltages (e.g., voltages supported by USB-PD and / or USB-C specifications). In an alternative embodiment, there may be more than two sockets in the center console PD charger 1050, and the embodiment may be similar to Figure 6 The feature embodiments in .

[0074] In one embodiment, the control and switching circuit 1002a can perform signal path control and switching between the head unit (via the USB host port or peripheral device / OTG port) to the connected mobile USB device(s). When a USB or another mobile phone (not shown) is coupled to the socket 1008a, it may initially appear as a USB peripheral device and the signal path is controlled by the head unit (not shown) via the center console PD charger 1050. , it can provide users with the ability to enable Once the options are applied. Enabled The control and switching circuit 1002a can be used to connect the USB peripheral device / OTG port to the A signal path / communication link is established between is a USB host. In an alternative embodiment, the aforementioned port switching can occur automatically. In one embodiment, another mobile USB device (not shown) can be coupled to the receptacle 1008b and appear to the head unit as a USB peripheral device via the USB host port. As discussed, the operation of the host signal path (USB host port to receptacle 1008b) and the peripheral device signal path (USB peripheral device / OTG port to ) operations can exist simultaneously but operate independently. In an alternative embodiment, it is possible to replace Coupled to 1008b, and a peripheral mobile USB device is coupled to socket 1008a.

[0075] In one embodiment, the signal path can be extended to the back seat PD charger 1060 through cascading. The control and switching circuit 1002b can be configured to the host signal path of the sockets 1008c and 1008d for coupling to peripheral mobile USB devices. Additionally, the power delivery circuit 1004 can also provide charging up to ~20V in fixed PDO mode and up to ~21V in PPS PDO mode to these devices, or provide other voltages (e.g., voltages supported by USB-PD and / or USB-C specifications). In one embodiment, the sockets 1008c and 1008d may not support OTG operation, have of and other USB host operations.

[0076] Embodiments of the subject matter include various operations described herein. These operations can be performed by hardware components, software, firmware, or a combination thereof.

[0077] Although the present disclosure has been described with reference to specific exemplary embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the present disclosure. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

[0078] The disclosure abstract is provided to comply with 37 CFR §1.72(b), which requires an abstract that will allow the reader to quickly ascertain the nature of one or more embodiments of the technical disclosure. The abstract is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Additionally, in the foregoing detailed description, it can be seen that various features are grouped together in a single embodiment for the purpose of simplifying the disclosure. The method of disclosure should not be interpreted as reflecting an intention that the claimed embodiments require more features than those expressly recited in each claim. Rather, as reflected in the appended claims, the inventive subject matter lies in less than all the features of a single disclosed embodiment. Therefore, the claims are hereby incorporated into the detailed description, with each claim independently serving as a separate embodiment.

[0079] Reference to one embodiment or an embodiment in the specification means that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the circuit or method. The phrase "one embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment.

[0080] In the foregoing description, the subject matter has been described with reference to specific exemplary embodiments of the subject matter. However, it will be apparent that various modifications and changes may be made thereto without departing from the broader spirit and scope of the subject matter as set forth in the appended claims. Accordingly, the description and drawings should be regarded in an illustrative rather than a restrictive sense.

Claims

1. A universal serial bus (USB) device, comprising: a USB hub including a plurality of downstream ports and an upstream port for coupling to a USB host port of a head unit device; a first switching unit coupled to a USB peripheral device port of the head unit device; a second switching unit configured to be coupled to a first USB device, coupled to a first downstream port of the USB hub, and coupled to the first switching unit; as well as a control circuit operable to provide a first control signal to the first switching unit and the second switching unit, wherein the first control signal causes the first switching unit and the second switching unit to provide connectivity between the USB peripheral device port of the head unit device and the first USB device bypassing the USB hub when the first USB device operates as a USB host, and the control circuit provides a second control signal to at least the second switching unit, wherein the second control signal causes the second switching unit to provide connectivity between the USB host port of the head unit device and the first USB device via a first downstream port of the USB hub when the first USB device operates as a USB peripheral device.

2. The USB device according to claim 1, further comprising: The third switching unit is configured to be coupled to the second USB device, coupled to the second downstream port of the USB hub, and coupled to the first switching unit.

3. The USB device according to claim 2, wherein: The control circuit is further operable to: providing a third control signal to the first switch unit and the third switch unit, wherein the third control signal causes the first switch unit and the third switch unit to provide connectivity between the USB peripheral device port of the head unit device and the second USB device when the second USB device operates as a USB host; and A fourth control signal is provided to at least the third switching unit, wherein the fourth control signal causes the third switching unit to provide connectivity between the USB host port of the head unit device and the second USB device via the second downstream port of the USB hub when the second USB device operates as a USB peripheral device.

4. The USB device according to claim 1, wherein: The control circuit includes USB device functionality and is coupled to a third downstream port of the USB hub, and wherein the control circuit is configured to receive USB signal commands from the head unit device through the USB host port of the head unit device and the USB hub.

5. The USB device according to claim 1, wherein: The control circuit is coupled to the first USB device via a serial interface.

6. The USB device according to claim 1, wherein: The first switching unit and the second switching unit are configured to multiplex USB D+ / D- signals.

7. The USB device according to claim 2, wherein: The third switching unit is configured to multiplex USB D+ / D- signals.

8. The USB device according to claim 2, wherein: Each of the first switching unit, the second switching unit, and the third switching unit includes a two-input and two-output (2×2) USB 2.0 switch.

9. The USB device according to claim 1, wherein: The control circuit is part of the head unit device.

10. The USB device according to claim 1, wherein: The USB peripheral device port of the head unit device is a USB On-The-Go (OTG) port, and the first USB device is an OTG device.

11. The USB device according to claim 1, wherein: The first USB device is coupled to the head unit device via a USB Type-C receptacle.

12. A method for performing signal path switching, comprising: coupling a universal serial bus (USB) peripheral device port of the head unit device to a first USB device via a first switching unit and a second switching unit to establish a first signal path; coupling the USB host port of the head unit device to the first USB device through the USB hub and the second switching unit to establish a second signal path; When the first USB device operates as a USB host, a control circuit sends a first control signal to the first switching unit and the second switching unit to activate the first signal path between the USB peripheral device port of the head unit device and the first USB device and bypass the USB hub; as well as When the first USB device operates as a USB peripheral device, the control circuit sends a second control signal to at least the second switching unit to activate the second signal path and connect the USB host port of the head unit device to the first USB device via the first downstream port of the USB hub.

13. The method according to claim 12, further comprising: coupling the USB peripheral device port of the head unit device to a second USB device via the first switch unit and the third switch unit to establish a third signal path; coupling the USB host port of the head unit device to the second USB device through the USB hub and the third switch unit to establish a fourth signal path; When the second USB device operates as a USB host, disconnecting the USB hub and the second USB device using the third switching unit to deactivate the fourth signal path; as well as When the second USB device operates as a USB host, the third signal path is activated using the first switching unit and the third switching unit.

14. The method according to claim 13, wherein: The second signal path and the third signal path are configured to be simultaneously activated when the head unit device operates as a USB host to the first USB device and as a USB peripheral to the second USB device.

15. The method according to claim 13, wherein: The first signal path and the fourth signal path are configured to be simultaneously activated when the head unit device operates as a USB peripheral device with respect to the first USB device and as a USB host with respect to the second USB device.

16. A universal serial bus (USB) system, comprising: A head unit for an automotive infotainment system including a USB host port and a USB peripheral port; a USB hub including an upstream port coupled to the USB host port of the head unit; a switching circuit configured to switch and multiplex USB D+ / D- signals; a control circuit configured to send a control signal to the switching circuit; as well as a vehicle center console including a first USB Type-C port and a second USB Type-C port; Wherein, when a first USB device operates as a USB host and is coupled to the first USB Type-C port, the control signal is configured to cause the switching circuit to disconnect the USB hub from the first USB device and enable a connection between the USB peripheral device port of the head unit and the first USB device.

17. The USB system according to claim 16, wherein: The first USB device is enabled of And wherein the USB peripheral device port of the head unit is a USB On-The-Go (OTG) port.

18. The USB system according to claim 16, wherein: The switching circuit includes a first signal repeater, a second signal repeater and a third signal repeater, wherein the first signal repeater is coupled to the USB peripheral device port, and the second signal repeater and the third signal repeater are each coupled to one of the downstream ports of the USB hub and the first signal repeater, and wherein the first signal repeater, the second signal repeater and the third signal repeater each include a two-input and two-output (2×2) USB 2.0 switch.

19. The USB system according to claim 16, wherein: The switching circuit includes a two-input and three-output (3×2) USB 2.0 switch, wherein a USB D+ / D- top signal and a USB D+ / D- bottom signal coupled to the first USB Type-C port are short-circuited to form a first D+ / D- input, wherein a USB D+ / D- top signal and a USB D+ / D- bottom signal coupled to the second USB Type-C port are short-circuited to form a second D+ / D- input, and wherein two D+ / D- outputs of the 3×2 USB 2.0 switch are coupled to the USB hub and one D+ / D- output is coupled to the USB peripheral device port of the head unit.

20. The USB system according to claim 16, wherein: When a second USB device operates as a USB peripheral device and is coupled to the second USB Type-C port, the control signal is configured to cause the switching circuit to enable a connection between the USB host port of the head unit and the second USB device through the USB hub.

21. The USB system according to claim 16, wherein: When a second USB device operates as a USB host and is coupled to the second USB Type-C port, the control signal is configured to cause the switching circuit to enable a connection between the USB peripheral device port of the head unit and the second USB device.

22. The USB system according to claim 20, wherein: The head unit simultaneously and independently operates as a USB peripheral device for the first USB device and as a USB host for the second USB device.