A signal processing unit, a car machine system, a vehicle and a USB interface control method

By identifying device type and connection method through system-on-a-chip and multiplexer, the PD controller is eliminated, solving the problems of high cost and high energy consumption in existing technologies, realizing the switching between USB and DP protocols, and reducing the system cost of smart cockpits.

CN117725007BActive Publication Date: 2026-11-27NIO TECH ANHUI CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311753562.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2026-11-27
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

The use of three PD controller chips in the existing smart cockpit architecture leads to high cost and high energy consumption, making it difficult to meet the multi-functional needs of charging, data transmission and video output through a single interface.

Method used

The system-on-a-chip and multiplexer replace the PD controller, and the device type and connection method are identified through GPIO, I2C or UART interface to realize the switching between USB and DP protocols, thus eliminating the need for the internal PD controller.

Benefits of technology

It reduces system cost and complexity while enabling the identification of USB and DP protocols, meeting the requirements of a multi-functional interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117725007B_ABST
    Figure CN117725007B_ABST
Patent Text Reader

Abstract

The application relates to the field of car machine systems, and specifically provides a signal processing unit, a car machine system, a vehicle and a USB interface control method. The signal processing unit comprises a first interface; a system-level chip which determines the device type and the connection mode of an external user device based on the transmission state of signals from the first interface and generates corresponding control instructions based on the device type; and a multiplexer which selects the connection path of the system-level chip and the first interface based on the control instructions, so that the signals output by the system-level chip are transmitted to the external user device through the selected connection path, wherein the connection path comprises a USB path working based on a USB protocol and a DP path working based on a DP protocol. The application completely realizes the original usb / dp alt mode recognition function under the premise that the PD controller in the CDF is cancelled and the internal pipeline in the USB connection line is not increased, and is beneficial to reducing the cost and the system complexity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle infotainment systems, and specifically provides a signal processing unit, a vehicle infotainment system, a vehicle, and a USB interface control method. Background Technology

[0002] With the development of automotive intelligent cockpit technology, users' demands for the functional diversity of intelligent cockpits are increasing. In the design of new automotive intelligent cockpits, providing users with a rich variety of functional interfaces is a necessary condition to meet user needs. Generally, the interface functions that car passengers need to use include:

[0003] 1. Charging: The interfaces inside the cockpit need to meet the requirements of one or more people charging various electronic devices;

[0004] 2. Connect your phone: Connect your phone to the smart cockpit system via USB cable to enable high-speed data and file transfer between the two.

[0005] 3. Connect VR / AR glasses: Through the DP interface (display port), audio and video data is output from the smart cockpit system and played on VR / AR glasses, realizing the entrance to the in-vehicle metaverse and providing users with a high-quality audio and video experience.

[0006] Due to space constraints within the vehicle and for user convenience, it's ideal to use a single interface that meets all three functional requirements. USB Type-C is such a standard interface, conforming to a public protocol, defined by the USB Alliance, and fulfilling these requirements. It primarily achieves this through three basic technologies:

[0007] 1. USB PD charging protocol: USB PD (USB Power Delivery) is a power delivery concept based on the USB Type-C interface, and its charging capacity can reach up to 100 watts.

[0008] 2. USB3 Gen2 High-Speed ​​Data Transfer Protocol: Developed by the USB-IF standardization organization, this protocol uses the third-generation USB standard and has a transmission rate of approximately 10Gbps. USB3 Gen2: The USB-IF, or USB standardization organization, has used different names for its USB protocol standards, such as USB 1.0, USB 2.0, USB 3, and USB 4. USB3 Gen2 generally refers to a protocol using the third-generation USB standard with a transmission rate of around 10Gbps.

[0009] 3. DP protocol: DisplayPort, an interface used to transmit image display signals from the chip to the LCD screen; the DP interface can also transmit mixed video and audio signals.

[0010] Currently, to provide users with the above three different functions through the same Type-C interface, two CC pins must be used for device adaptive detection and identification. At both ends of the USB device, a PD controller chip needs to be designed. This pair of chips detects the signals on the CC pins, following the PD standard protocol, to identify the true identity of the device and establish a correct communication connection.

[0011] Taking the existing smart cockpit architecture as an example, such as Figure 1 As shown, the Cockpit Domain Function Unit (“CDF”) is the domain controller for the intelligent cockpit, and the USB junction box is an interface device that provides a USB Type-C interface for user equipment connection. The USB junction box provides power and also serves as a signal relay for communication. The CDF and the USB junction box are connected via a USB cable. User equipment is also connected to the USB junction box via a USB cable.

[0012] The existing smart cockpit architecture contains a total of 3 PD controller chips:

[0013] The PD controller in the user equipment (UE) acts as the device side, transmitting UE information via two CC pins (CC1 and CC2) on a Type-C 1 device, indicating connection status and sending / receiving VDM messages. The correct insertion orientation is determined by whether CC1 and CC2 are connected. For example, a connected CC1 indicates correct insertion, while a connected CC2 indicates incorrect insertion. The PD controller also notifies the host side via VDM messages whether the local device is a USB slave or a DP sink. Furthermore, the PD controller uses I2C signals to notify the DP / USB Mux chip to switch paths, enabling alt mode switching between DP and USB.

[0014] The PD controller in the USB junction box acts as a relay, negotiating with the PD in the user equipment via the two CC pins of Type-C 2 to confirm whether the VBus connection pins are correctly plugged in or out. It transmits and implements the PD protocol between Type-C 1 and Type-C 2 to complete the charging function. Simultaneously, it also notifies the CDF of the user equipment's connection status and device type.

[0015] The PD controller in the CDF identifies VDM messages from a Type-C 3 device via the CC pin of the Type-C4. It determines whether the user device is USB or DP, and then notifies the DP / USB MUX chip to switch to Alt mode.

[0016] The use of PD controller chips increases costs and energy consumption, so there is a need to develop a low-cost, low-energy method that can still achieve USB Alt mode recognition. Summary of the Invention

[0017] To overcome the above-mentioned shortcomings, this invention proposes a method for controlling a signal processing unit, vehicle system, vehicle, and USB interface, which can save a PD controller chip in the intelligent cockpit domain controller and help reduce the system cost of automotive intelligent cockpit.

[0018] In a first aspect, the present invention provides a signal processing unit, comprising:

[0019] A first interface, wherein the first interface conforms to the USB Type-C specification;

[0020] The system-on-a-chip (SoC) determines the device type and connection method of the external user equipment based on the transmission status from the first interface and generates corresponding control commands based on the device type; wherein, the SoC does not receive the transmission status of the signal from the first interface via the PD controller, and the transmission status of the signal is configured not to be determined based on the CC protocol.

[0021] A multiplexer selects the connection path between the system-on-a-chip and the first interface based on the control command, so as to transmit the signal output by the system-on-a-chip to the external user equipment via the selected connection path, wherein the connection path includes a USB path based on the USB protocol and a DP path based on the DP protocol.

[0022] Furthermore, the system-on-a-chip includes an input interface for receiving signals from the first interface.

[0023] Furthermore, the input interface is a GPIO interface, an I2C interface, or a UART interface.

[0024] Furthermore, the first interface includes CC1, CC2, Vbus, and GND pins connected to the input interface.

[0025] Furthermore, the system-on-a-chip includes an I2C interface for sending the control commands to the multiplexer.

[0026] Furthermore, the system-on-a-chip also includes: a DP interface;

[0027] The multiplexer includes: a DP input pin and an output pin;

[0028] The first interface includes: a TX pin and an RX pin;

[0029] The DP interface is connected to the DP input pin, and the output pin is connected to the corresponding TX and RX pins.

[0030] Furthermore, the system-on-a-chip also includes a USB 3.0 interface;

[0031] The multiplexer also includes: a USB input pin;

[0032] in,

[0033] The USB 3.0 interface is connected to the USB input pin.

[0034] Furthermore, the DP interface includes a first DP pin, a second DP pin, a third DP pin, and a fourth DP pin;

[0035] The TX pin and RX pin include a first TX pin, a second TX pin, a first RX pin, and a second RX pin.

[0036] in,

[0037] When the external user equipment is identified as a DP device, the DP path is a path that connects the first DP pin to the first RX pin, the second DP pin to the first TX pin, the third DP pin to the second TX pin, and the fourth DP pin to the second RX pin.

[0038] Furthermore, the USB 3.0 interface includes a first USB pin and a second USB pin;

[0039] The TX pin and RX pin include a first TX pin and a first RX pin.

[0040] in,

[0041] When the external user equipment is identified as a USB device, the USB path is a path that connects the first USB pin to the first TX pin and the second USB pin to the first RX pin.

[0042] Furthermore, the signal processing unit includes a cockpit domain controller.

[0043] In a second aspect, the present invention provides a vehicle infotainment system, comprising:

[0044] The aforementioned signal processing unit;

[0045] Interface unit, including:

[0046] A second interface communicates with the first interface, wherein the second interface conforms to the USB Type-C specification;

[0047] A third interface is used to communicate with the external user equipment, wherein the third interface conforms to the USB Type-C specification;

[0048] The PD controller is used to communicate with the external user equipment via the third interface to determine the device type and connection method of the external user equipment, and to notify the signal processing unit through the second interface.

[0049] In a third aspect, the present invention provides a method for controlling a USB interface, the method comprising:

[0050] The system-on-a-chip determines the device type and connection method of the external user device based on the transmission status of the signal from the first interface, and generates corresponding control commands based on the device type.

[0051] The system-on-a-chip (SoC) and the first interface are selected by a multiplexer based on the control command, so that the signal output by the SoC is transmitted to the external user equipment via the selected connection path. The connection path includes a USB path based on the USB protocol and a DP path based on the DP protocol.

[0052] Furthermore, including:

[0053] The PD controller communicates with the external user equipment via a third interface to determine the device type and connection method of the external user equipment;

[0054] The signal transmission status is set according to the determined device type and connection method;

[0055] The transmission status of the set signal is sent to the first interface through the second interface;

[0056] The system-on-a-chip determines the device type and connection method of the external user equipment by the transmission status of the signal received through the first interface, and generates the corresponding control command based on the device type.

[0057] The multiplexer selects the connection path between the system-on-a-chip and the first interface based on the control command;

[0058] Based on the determined device type of the external user equipment, a corresponding communication link is established between the signal processing unit, the interface unit, and the external user equipment.

[0059] Furthermore, establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes:

[0060] Once the external user device is identified as a USB device, a USB enumeration command is initiated through the system-on-a-chip.

[0061] In response to the USB enumeration command, a USB communication link is established through the signal processing unit, the interface unit, and the external user equipment.

[0062] Furthermore, establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes:

[0063] The external user equipment is identified as a DP device, and the DP boot protocol is initiated through the system-on-a-chip.

[0064] In response to the completion of the DP startup protocol by the signal processing unit and the external user equipment, a DP communication link is established through the processing unit, the interface unit, and the external user equipment.

[0065] The above-described technical solutions of the present invention have at least one or more of the following beneficial effects:

[0066] In this embodiment of the invention, the system-on-a-chip (SoC) determines the device type and connection mode of the external user equipment based on the transmission status of the signal from the first interface. Based on the device type, it generates corresponding control commands to control the multiplexer to select the connection path between the SoC and the first interface. This allows the signal output from the SoC to be transmitted to the external user equipment via the selected connection path. This invention enables the SoC to identify the user equipment type and connection mode solely through the signal status of the first interface, without relying on an external PD controller chip or utilizing existing CC protocols. Thus, by eliminating the PD controller inside the CDF and without adding internal wiring to the USB cable, the original USB / DP alt mode identification function is fully realized, which helps reduce cost and system complexity. Attached Figure Description

[0067] The disclosure of this invention will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this invention. Furthermore, similar numbers in the drawings are used to denote similar components, wherein:

[0068] Figure 1It is a topology diagram of a smart cockpit based on existing technologies;

[0069] Figure 2 This is a topology diagram of a vehicle infotainment system according to an embodiment of the present invention;

[0070] Figure 3 This is a topology diagram of a system-on-a-chip in a vehicle infotainment system according to an embodiment of the present invention;

[0071] Figure 4 This is a schematic diagram of the internal cables of a USB connector based on existing technology;

[0072] Figure 5 This is a schematic diagram of the internal cable of a USB connector according to an embodiment of the present invention;

[0073] Figure 6 This is a USB interface control method according to an embodiment of the present invention;

[0074] Figure 7 This is a USB interface control method according to another embodiment of the present invention. Detailed Implementation

[0075] Some embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0076] like Figure 2 As shown, one embodiment of the present invention provides a vehicle infotainment system, including a signal processing unit and an interface unit.

[0077] It should be noted that the signal processing unit in the embodiments of the present invention is exemplified by the Cockpit Domain Functional (CDF, ​​also known as the Intelligent Cockpit Domain Controller CDC) in the figure. However, those skilled in the art will understand that the signal processing unit can also be an Advanced Driver Assistance System Controller (ADC) or a Vehicle Domain Controller (VDC).

[0078] Interface units are typically located in the cockpit area in the form of a USB box (USB junction box) for easy user access, including:

[0079] The second interface (shown as type-c 3 in the diagram) communicates with the first interface of the CDF (shown as type-c 4 in the diagram).

[0080] The third interface (shown as type-c 2 in the diagram) communicates with external user equipment (shown as user equipment in the diagram).

[0081] The PD controller communicates with external user equipment (e.g., AR / VR virtual devices) via a third interface to determine the device type and connection method (e.g., orthogonal or reverse connection) of the external user equipment, and notifies the signal processing unit via a second interface. In a specific example, the third interface of the interface unit communicates with the fourth interface of the external user equipment (shown as type-c1 in the figure).

[0082] All four interfaces conform to the USB Type-C specification.

[0083] As shown in the figure, the signal processing unit, the interface unit, and the external user equipment are connected to each other via USB cables.

[0084] In the vehicle infotainment system according to an embodiment of the present invention, the structure of the interface unit and the external user equipment is no different from that of the prior art, and will not be described in detail here.

[0085] The main features of the embodiments of the present invention are the modification of the signal processing unit and the corresponding changes in the communication protocol and communication method, which are described in detail below.

[0086] In one specific embodiment, the signal processing unit, in addition to the first interface described above, further includes:

[0087] The system-on-a-chip (SOC) determines the device type and connection method of the external user equipment based on the transmission status of the signal from the first interface and generates corresponding control commands based on the device type. The SOC does not receive the transmission status of the signal from the first interface via the PD controller, and the transmission status of the signal is configured not to be determined based on the CC protocol.

[0088] A multiplexer (DP / USB MUX) selects the connection path between the system-on-a-chip (SoC) and the first interface based on the control command, so as to transmit the signal output by the SoC to the external user equipment via the selected connection path. The connection path includes a USB path operating based on the USB protocol and a DP path operating based on the DP protocol. The multiplexer provides switching functionality between DP mode and USB mode.

[0089] Reference Figure 1 In the prior art, the signal of the first interface (shown as type-c4 in the figure) is received by the PD controller in the cockpit domain functional unit. The present invention adopts the technical means of directly receiving the transmission status of the signal of the first interface by the system-on-a-chip (SOC), without going through the PD controller. This eliminates the PD controller connected to the first interface, which greatly reduces the cost.

[0090] The CC protocol originates from the existing USB standard protocol. In existing technology, the USB Type-C interface uses two CC pins to identify the roles of two connected devices. The USB Type-C interface uses PD controllers at both ends of the USB cable to identify whether the inserted device is USB or DP, whether it is the Host or Slave end, and whether it is correctly inserted or not. Communication between the two ends is established through negotiation. This invention eliminates one PD controller, and the transmission status of signals from the first interface is not determined using the aforementioned CC protocol based on two CC pins.

[0091] Furthermore, in one embodiment, such as Figure 3 As shown, the system-on-a-chip includes an input interface GPIO for receiving signals from a first interface. In a specific example, the GPIO includes four input pins, shown in the figure as CTL1, CTL2, CTL3, and HPD, which are respectively connected to the CC1, CC2, Vbus, and GND pins of the first interface.

[0092] Correspondingly, the CC1, CC2, Vbus and GND pins of the first interface are respectively connected to the CC1, CC2, Vbus and GND lines in the USB connection line between the signal processing unit and the interface unit.

[0093] It should be noted that when using GPIO as the input interface, the CC1, CC2, Vbus, and GND pins in the first interface and the CC1, CC2, Vbus, and GND lines in the USB connection cable are redefined.

[0094] In existing technology, the internal cable structure of a USB connector is as follows: Figure 4The interface includes one pair of low-speed signal lines for transmitting USB 2.0 signals, called D+ / D- lines (USB 2.0: According to the USB standardization organization's standards, USB 2.0 is also known as USB High Speed, which can achieve a bidirectional transmission rate of up to 480Mbps. It uses a pair of differential signal lines to transmit signals, called D+ / D-). Four pairs of high-speed signal lines are used to transmit USB SS (Super Speed) signals, or can be used to transmit DP signals. One pair of SBU auxiliary communication lines are used to transmit DP control commands. One pair of CC lines are used to identify the connection mode and transmit the PD (Power Delivery) protocol to achieve charging negotiation. One Vbus line is used to transmit power supply. One GND line is used for grounding. Specifically, the USB Type-C interface provides two CC lines, which are used for PD (Power Delivery) function, i.e., determining the insertion direction of the device (correct or incorrect), and can also be used to determine whether the externally inserted device is USB or DP. VBus: The USB interface can provide power to externally inserted devices. The positive (+) wire for power is called VBus, and the ground wire is called GND. External USB devices can be powered through VBus and GND, and can even be charged. SBU lines: A pair of auxiliary lines in the USB Type-C interface used to negotiate key information such as DPCD and EDID for the DP transmission protocol.

[0095] However, in this embodiment, since the PD controller inside the CDF is removed, the functions of the four lines CC1, CC2, vbus, and GND in the USB connection line between the signal processing unit and the interface unit are redefined and used as four GPIO lines, namely CTL1, CTL2, CTL3, and HPD, respectively. The changed functional definitions are as follows: Figure 5 As shown.

[0096] Correspondingly, when the USB junction box identifies the type of external user device, it updates the high and low levels of CTL1, CTL2, and CTL3 to notify the system-on-a-chip to correctly identify the user device type and connection method. CTL1, CTL2, and CTL3 are used to transmit control signals, including high or low wave signals, and HPD is for hot-plug detection.

[0097] CTL1, 2, and 3 serve as three GPIO lines, which can be set to either high or low levels. Specifically, the PD controller chip in the USB junction box first identifies the eight insertion states of the user device via the CC protocol (see Table 1 for the eight signal transmission states), and sets three GPIO lines to "high" or "low" for each insertion state, resulting in the GPIO truth table Table 1, which describes the eight different transmission states of the user device and the corresponding three GPIO line levels for each transmission state. The system-on-a-chip (SoC) can set the pins connected to these three GPIO lines to level-triggered mode. When a user device is inserted into the third interface, causing a change in the level state of any GPIO line (e.g., from "high" to "low"), the SoC can detect the latest transmission state on the third interface represented by the three GPIO lines after the level change, based on the GPIO truth table configuration in Table 1, thereby identifying the type and connection method of the inserted user device.

[0098] Table 1 is the truth table of the GPIO settings.

[0099] Table 1

[0100]

[0101] The truth table above can represent 2... by setting the "H" and "L" levels of the three GPIO lines. 3 =Eight signal transmission states, representing the connection states of different types of user devices inserted through different connection methods on the third interface. For example, setting the CTL1, 2, and 3 levels to "HHL" (high-high-low) indicates that the inserted device uses two connection protocols: USB 3.1 and DP. Each uses two pairs of high-speed transmission channels (Lane) and is inserted in the forward direction, named transmission state "G". If the user changes the inserted device to a USB 3.1 flash drive, inserted in the reverse direction, then the transmission state of the user device is "D", and the high / low level states of CTL1, 2, and 3 are set to "LHH". Therefore, when the high / low level states of CTL1, 2, and 3 change from "HHL" to "LHH", according to Table 1, the inserted device changes from a device supporting both USB 3.1 and DP protocols to a reverse-inserted USB 3.1 flash drive.

[0102] The HPD pin is used to notify the system-on-a-chip (SoC) that a DP device has been inserted and to initiate DP protocol initialization communication. The trigger condition for this HPD pin is initiated by the DP sink of the user's external device. The PD controller in the USB junction box receives and identifies the VDM message, then pulls a signal to the HPD pin of the second interface. The SoC detects the change through the HPD input of the first interface, acts as a DP source, and begins the DP protocol initialization operation.

[0103] In one embodiment, the system-on-a-chip (SoC) further includes an I2C interface for sending control commands generated by the SoC to a multiplexer. The SoC uses I2C control commands to notify the DP / USB mux chip to switch communication channels. When the SoC detects a change in the external user device's connection status, it must notify the DP / USB mux chip to change the connection state and switch communication channels. The SoC sends the switching control command through the I2C pin connected to the DP / USB mux chip. For example, if the external user device's transmission state changes from "G" to "D", the SoC detects this change through the high / low level changes of CTL1, 2, and 3, and then sends a "switching state" command through the I2C interface, thereby controlling the change in communication channel and implementing the USB / DP alt mode switching function.

[0104] like Figure 3 As shown, in one embodiment, the system-on-a-chip further includes: a DP interface (DP source) and a USB 3.0 interface (Host); the multiplexer includes: a USB input pin, a DP input pin, and an output pin; the first interface includes: a TX pin and an RX pin, wherein the DP interface is connected to the DP input pin, the USB 3.0 interface is connected to the USB input pin, and the output pin is connected to the corresponding TX pin and RX pin.

[0105] Furthermore, the DP interface includes a first DP pin, a second DP pin, a third DP pin, and a fourth DP pin (shown as DP0, DP1, DP2, and DP3 in the figure); the USB 3.0 interface includes a first USB pin (shown as SS tx1 in the figure) and a second USB pin (shown as SS tx1 in the figure). (shown as rx1); the TX and RX pins include a first TX pin, a second TX pin, a first RX pin, and a second RX pin (shown as tx1, tx2, rx1, rx2 in the figure). When the level states of CTL1, 2, and 3 are "LHL" (low-high-low) or "LHH" (low-high-high), the external user equipment is identified as a USB device, and the USB path is a path that connects the first USB pin to the first TX pin and the second USB pin to the first RX pin. When the external user equipment is identified as a DP device, the DP path is a path that connects the first DP pin to the first RX pin, the second DP pin to the first TX pin, the third DP pin to the second TX pin, and the fourth DP pin to the second RX pin.

[0106] It should be noted that the above embodiments use the GPIO interface as the input interface in the system-on-a-chip (SoC) for receiving the first interface signal. However, the embodiments of the present invention are not limited to this. In some embodiments, the input interface can be the I2C interface or UART interface in the SoC. Specifically, the SoC and the PD controller of the USB junction box establish a communication connection via I2C or UART. I2C and UART can transmit communication signals by multiplexing Vbus, GND, CC1, and CC2. The transmission method of the communication signals is the same as that using GPIO. Specifically, in the case described in the present invention, the signals transmitted by the four signal lines vbus, GND, CC1, and CC2 are GPIO signals. However, in other implementations, two of the four signal lines can be configured as an I2C external bus or as UART universal serial transmission signal lines. This can also transmit different user equipment insertion statuses to notify the SoC.

[0107] In this case, there is no need to redefine the CC1, CC2, Vbus, and GND pins in the first interface and the CC1, CC2, Vbus, and GND lines in the USB cable.

[0108] In the above embodiment, the PD controller chip inside the CDF is eliminated, retaining only the PD controller inside the USB junction box and the external user equipment. Although the PD controller chip inside the CDF is eliminated, the device type and connection method can still be identified. That is, the CDF and the external user equipment can still identify the device type and connection method and establish a correct communication link to realize the DP / USB altmode function. If the external user equipment is a smartphone, the high-speed signal line between the CDF, the USB junction box, and the external user equipment transmits the USB SS signal to identify the device type and the correct connection method. If the external user equipment is a DP device such as AR glasses, the high-speed signal line between the system-on-a-chip, the USB junction box, and the external user equipment transmits the DP signal.

[0109] In another embodiment of the present invention, it further includes:

[0110] A first USB cable for connecting the first interface and the second interface;

[0111] A second USB cable is used to connect the third interface and the external user equipment.

[0112] In another embodiment of the present invention, a vehicle is also provided, including the above-described vehicle infotainment system.

[0113] Based on the aforementioned changes to the signal processing unit structure, embodiments of the present invention also provide a USB interface control method, such as... Figure 6 As shown, it includes:

[0114] S601 determines the device type and connection method of the external user device based on the transmission status of the signal from the first interface through the system-on-a-chip and generates corresponding control commands based on the device type.

[0115] In one embodiment, referring to Table 1, CTL1, 2, and 3 are used as three GPIO lines. These three GPIO lines can be set to a high level or a low level state. The signal transmission state is the signal state from the three GPIO lines. In this embodiment, each GPIO line has two signal states: a "high level" signal state and a "low level" signal state.

[0116] The transmission state of the signal is determined based on the signal states of the three GPIO lines mentioned above. The transmission state of the signal includes one of the AH values ​​in Table 1, such as transmission state C, where C represents the device type of the external user device as USB and the connection method as positive plug.

[0117] The system-on-a-chip determines the device type of the external user device as USB and the connection method as positive plug based on the transmission status "LHH" of the signal from the first interface.

[0118] S602, the system selector selects the connection path between the system chip and the first interface based on the control command, so as to transmit the signal output by the system chip to the external user equipment via the selected connection path, wherein the connection path includes a USB path based on the USB protocol and a DP path based on the DP protocol.

[0119] This invention relates to a USB interface control method for automotive smart cockpits, which can replace the detection function of a PD controller. Utilizing the Vbus, GND, CC1, and CC2 pins of the USB Type-C interface, this invention fully realizes the original USB / DP alt mode identification function without increasing the internal wiring of the USB connection cable. Using this technology can save one PD controller chip in the smart cockpit domain controller, thus reducing the system cost of the automotive smart cockpit.

[0120] In another embodiment of the present invention, a USB interface control method is provided, such as... Figure 7 As shown, it includes:

[0121] S701 communicates with the external user equipment via the PD controller through the third interface to determine the device type and connection method of the external user equipment;

[0122] S702, Set the signal transmission status according to the determined device type and connection method;

[0123] In one embodiment, the PD controller determines that the device type of the external user device is USB and the connection method is positive plug, corresponding to the transmission state C in Table 1. The signals of CTL1, 2, and 3 corresponding to the transmission state C are "LHH", and sets the transmission state of the signals to the corresponding "LHH" state.

[0124] S703, the transmission status of the set signal is sent to the first interface through the second interface;

[0125] Based on the S702 embodiment, the second interface sends the signal transmission status "LHH" to the first interface.

[0126] S704, the system-on-a-chip determines the device type and connection method of the external user equipment by the transmission status of the signal received through the first interface, and generates the corresponding control command based on the device type;

[0127] Based on embodiments S702-S703, the system-on-a-chip determines the device type and connection method of the external user equipment by the transmission status of the set "LHH" signal, specifically the transmission status C in Table 1.

[0128] S705, the multiplexer selects the connection path between the system-on-a-chip and the first interface based on the control command;

[0129] S706, based on the determined device type of the external user equipment, establish a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment.

[0130] Furthermore, in one embodiment, establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes:

[0131] Once the external user device is identified as a USB device, a USB enumeration command is initiated through the system-on-a-chip.

[0132] In response to the USB enumeration command, a USB communication link is established through the signal processing unit, the interface unit, and the external user equipment.

[0133] Furthermore, in one embodiment, establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes:

[0134] The external user equipment is identified as a DP device, and the DP boot protocol is initiated through the system-on-a-chip.

[0135] In response to the completion of the DP startup protocol by the signal processing unit and the external user equipment, a DP communication link is established through the processing unit, the interface unit, and the external user equipment.

[0136] To better understand the solution of this invention, a specific application scenario is given below (please note that the GPIO interface is still used as an example in the following explanation).

[0137] 1. When no device is inserted by the user, the PD controller of the USB junction box recognizes that no device is inserted. Therefore, it sets the level state of CTL0, CTL1, and CTL2 to "HHH". The CDF recognizes that it is in state A through GPIO interrupt, indicating that no device is inserted.

[0138] 2. When a user inserts a smartphone into the third interface, the CC pin of the fourth interface (Type-C1) for communication between the third interface and the external user equipment will establish a connection, either correctly or incorrectly. The PD controller in the USB junction box detects the CC1 connection and identifies it as correctly inserted. Then, it initiates a VDM message on the CC pin, and the PD in the smartphone responds as a USB device.

[0139] 3. The PD controller of the USB junction box sets the CTL1 / 2 / 3 status of the second interface to "LHL", which is transmitted to the CDF via the GPIO line. The CDF's system-on-a-chip is triggered by an interrupt, reads the status of CTL1 / 2 / 3 as "LHL", recognizes the user device as USB, and confirms that it is plugged in correctly.

[0140] 4. The CDF system-on-a-chip controls the MUX chip to switch to the USB channel via the I2C interface. That is, it connects the SS tx1 of the USB 3.0 Host to the tx1 of the first interface, and connects the SS rx1 to the rx1 of the first interface.

[0141] 5. Once the link is established, the CDF's system-on-a-chip initiates the USB enumeration process on the USB 3.0 host. The user's mobile phone, connected to the external user device, acts as a USB slave and responds to the USB enumeration command. The CDF connects to the USB junction box to establish a USB communication link, enabling communication based on the USB protocol.

[0142] 6. If the user unplugs the phone and plugs the external user device AR glasses into the third interface, the PD of the USB junction box will detect a change in the CC pin and initially recognize it as reverse insertion (CC2 connection).

[0143] 7. The PD of the USB junction box initiates VDM on the CC of the third interface to negotiate with the PD of the external user equipment. It recognizes that the device currently inserted by the user is AR glasses, and the connection method is reverse insertion. The PD outputs the status "HLH" on CTL1 / 2 / 3 of the second interface.

[0144] 8. CDF, triggered via GPIO interrupt, detects a change in the external device. By reading the status "HLH", it confirms that the external device is a DP device (AR glasses). Therefore, the system-on-a-chip controls the MUX chip to switch connections via the I2C channel, connecting DP0 to rx1, DP1 to tx1, DP2 to tx2, and DP3 to rx2.

[0145] 9. After the USB junction box waits for the link to be established, it sets the HPD pin to "H". The first device recognizes that the DP link has been established through HPD GPIO, and the DP source of the system chip initiates the DP startup protocol on the SBU channel.

[0146] 10. The CDF and the external user equipment complete the DP startup protocol, establish a communication link through the DP channel, and the CDF's system-on-a-chip outputs image data to the AR glasses through the DP port, thus starting normal operation.

[0147] Using the above method, CDF can still identify the device type and connection method with external user equipment, establish the correct communication link, and realize the DP / USB alt mode function.

[0148] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will all fall within the scope of protection of the present invention.

Claims

1. A vehicle infotainment system, characterized in that, The vehicle infotainment system includes a signal processing unit and an interface unit; The signal processing unit includes: First interface; The system-on-a-chip (SoC) determines the device type and connection method of the external user device based on the transmission status of the signal from the first interface and generates corresponding control commands based on the device type. The SoC does not receive the transmission status of the signal from the first interface via the PD controller, and the transmission status of the signal is configured not to be determined based on the CC protocol. A multiplexer, based on the control command, selects the connection path between the system-on-a-chip and the first interface, so as to transmit the signal output by the system-on-a-chip to the external user equipment via the selected connection path; Furthermore, the interface unit includes: The second interface communicates with the first interface; The third interface communicates with the external user equipment; The PD controller is used to communicate with the external user equipment via the third interface to determine the device type and connection method of the external user equipment, and to notify the signal processing unit through the second interface.

2. The vehicle infotainment system according to claim 1, characterized in that, The system-on-a-chip includes an input interface for receiving signals from the first interface.

3. The vehicle infotainment system according to claim 2, characterized in that, The input interface is a GPIO interface, an I2C interface, or a UART interface.

4. The vehicle infotainment system according to claim 1, characterized in that, The first interface conforms to the USB Type-C specification.

5. The vehicle infotainment system according to claim 1, characterized in that, The connection channels include a USB channel based on the USB protocol and a DP channel based on the DP protocol.

6. The vehicle infotainment system according to claim 1, characterized in that, The system-on-a-chip also includes: a DP interface; The multiplexer includes: a DP input pin and an output pin; The first interface includes: a TX pin and an RX pin; The DP interface is connected to the DP input pin, and the output pin is connected to the corresponding TX and RX pins.

7. The vehicle infotainment system according to claim 6, characterized in that, The system-on-a-chip also includes: a USB 3.0 interface; The multiplexer also includes: a USB input pin; in, The USB 3.0 interface is connected to the USB input pin.

8. The vehicle infotainment system according to claim 6, characterized in that, The DP interface includes a first DP pin, a second DP pin, a third DP pin, and a fourth DP pin; The TX pin and RX pin include a first TX pin, a second TX pin, a first RX pin, and a second RX pin. in, When the external user equipment is identified as a DP device, the DP path is a path that connects the first DP pin to the first RX pin, the second DP pin to the first TX pin, the third DP pin to the second TX pin, and the fourth DP pin to the second RX pin.

9. The vehicle infotainment system according to claim 7, characterized in that, The USB 3.0 interface includes a first USB pin and a second USB pin; The TX pin and RX pin include a first TX pin and a first RX pin. in, When the external user equipment is identified as a USB device, the USB path is a path that connects the first USB pin to the first TX pin and the second USB pin to the first RX pin.

10. The vehicle infotainment system according to claim 1, characterized in that, The signal processing unit is a cockpit domain controller.

11. A USB interface control method, characterized in that, The system is applied to an in-vehicle infotainment system, which includes a signal processing unit and an interface unit. The signal processing unit includes a system-on-a-chip, a multiplexer, and a first interface. The interface unit includes a PD controller, a second interface, and a third interface. Applied to a PD controller, the method includes: The device communicates with the external user equipment via a third interface to determine the device type and connection method of the external user equipment. The signal transmission status is set according to the determined device type and connection method; The transmission status of the set signal is sent to the first interface through the second interface; Applied to a system-on-a-chip, the method includes: The device type and connection method of the external user equipment are determined by the transmission status of the signal received through the first interface, and a corresponding control command is generated based on the device type. Then, the multiplexer selects the connection path between the system-on-a-chip and the first interface based on the control command, and establishes a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment, so as to transmit the signal output by the system-on-a-chip to the external user equipment through the selected connection path.

12. The control method according to claim 11, characterized in that, The connection channels include a USB channel based on the USB protocol and a DP channel based on the DP protocol.

13. The method according to claim 11, characterized in that, The step of establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes: Once the external user device is identified as a USB device, a USB enumeration command is initiated through the system-on-a-chip. In response to the USB enumeration command, a USB communication link is established through the signal processing unit, the interface unit, and the external user equipment.

14. The method according to claim 11, characterized in that, The step of establishing a corresponding communication link between the signal processing unit, the interface unit, and the external user equipment based on the determined device type of the external user equipment includes: The external user equipment is identified as a DP device, and the DP boot protocol is initiated through the system-on-a-chip. In response to the completion of the DP startup protocol by the signal processing unit and the external user equipment, a DP communication link is established through the signal processing unit, the interface unit, and the external user equipment.

Citation Information

Patent Citations

  • In-vehicle infotainment system, vehicle-mounted interface multiplexing method, vehicle and storage medium

    CN115230620A

  • Detection of displayport alternate mode communication and connector plug orientation without use of a power distribution controller

    US20200019526A1