A master-slave flip circuit based on USB2.0 communication

By integrating Type C and Type A interfaces through a master-slave switching circuit based on USB 2.0 communication, intelligent power supply and power control in the master-slave mode of the vehicle's infotainment system are realized. This solves the problem of limited USB interface resources in the vehicle system, ensures smooth charging and communication of devices, prevents reverse power supply, and supports data interaction between multiple devices.

CN224343215UActive Publication Date: 2026-06-09FORYOU MULTIMEDIA ELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
FORYOU MULTIMEDIA ELECTRONICS
Filing Date
2025-07-04
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing in-vehicle systems suffer from limited USB interface resources, making it impossible to support simultaneous data interaction and charging of multiple devices. This limits functional expansion and fails to meet the increasingly complex needs of in-vehicle systems.

Method used

The system adopts a master-slave switching circuit based on USB 2.0 communication. The Type C and Type A interfaces are integrated into a single communication signal through a HUB IC. The intelligent power supply of the vehicle's master-slave switching circuit is realized through a switching detection circuit and a VBUS level control circuit, which solves the limitations of vehicle chip resources and single USB interface communication.

Benefits of technology

It enables intelligent switching between master and slave modes of the vehicle infotainment system, ensuring smooth charging and communication of the device, while preventing reverse power supply and avoiding interference to the vehicle infotainment system in inappropriate modes, thus providing more possibilities for the development of in-vehicle systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224343215U_ABST
    Figure CN224343215U_ABST
Patent Text Reader

Abstract

This application provides a master-slave switching circuit based on USB 2.0 communication, including a communication circuit module and a charging circuit module. The charging circuit module includes a rectifier and filter circuit, a reverse connection protection circuit, a DC-DC circuit, and a Block MOSFET circuit connected in sequence. Power is supplied through a power connector to the rectifier and filter circuit, and then output to the HUB IC by the Block MOSFET circuit. The communication circuit module includes a Type-C interface and a Type-A interface, both integrated into a single communication signal transmitted to the vehicle's infotainment system via the HUB IC. Furthermore, a switching detection circuit and an output VBUS level control circuit are connected between the HUB IC and the vehicle's infotainment system for power management of the master-slave switching circuit. Through precise level detection and control, this application enables intelligent power switching, ensuring safe communication between the vehicle's infotainment system and external devices, enhancing device protection, and improving the user experience. This circuit design not only optimizes power management but also provides higher reliability and security for the vehicle's infotainment system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of circuit protection technology, specifically relating to a master-slave switching circuit based on USB 2.0 communication. Background Technology

[0002] With the development of automotive intelligence, in-vehicle systems have gradually become one of the core functions of automobiles. In-car infotainment systems integrate various applications and services, such as multimedia playback, vehicle connectivity, navigation, and DVR storage, providing users with a convenient and diverse driving experience. Traditionally, the various functions in in-vehicle systems often exchange and record data via USB interfaces, but current technology has certain limitations in this regard.

[0003] Currently, during vehicle production, in-vehicle infotainment systems are programmed via USB. After leaving the factory, these systems rely on the USB interface for multimedia playback, in-vehicle connectivity, navigation, DVR storage, and other functions, typically using two signal lines (D+ and D-) to connect to the USB port for data communication. While this method is simple and effective, with the increasing complexity of in-vehicle systems, the USB interface has gradually revealed some shortcomings.

[0004] Firstly, due to resource limitations, current automotive infotainment chips can only support communication via one USB interface. This makes in-vehicle systems inadequate to meet the growing demands of modern consumers. As in-vehicle connectivity features become increasingly sophisticated, users need to utilize multiple USB interfaces simultaneously to support the connection and data exchange of various devices. For example, the connection of devices such as smartphones, tablets, in-vehicle hard drives, and dashcams all require data transfer and charging via USB interfaces. However, current technology cannot simultaneously support the communication needs of multiple USB interfaces, thus limiting the functional expansion of in-vehicle systems and failing to meet market demands. Utility Model Content

[0005] To address the shortcomings of the existing technologies, this application proposes a master-slave switching circuit based on USB 2.0 communication. This circuit integrates the Type-C and Type-A interfaces into a single communication signal transmitted to the vehicle's infotainment system via a HUB IC. Through a switching detection circuit and a VBUS level control circuit, intelligent power supply for the vehicle's master-slave switching circuit is achieved. This overcomes the limitations of existing technologies, such as the constraints of vehicle chip resources and the limitations of single USB interface communication, providing more possibilities for the future development of in-vehicle systems. Especially in the context of increasingly sophisticated intelligent vehicles and rich in-vehicle connectivity functions, this invention possesses significant technological innovation value.

[0006] Specifically, this application provides a master-slave switching circuit based on USB 2.0 communication, the circuit including: a communication circuit module and a charging circuit module;

[0007] The charging circuit module includes: a rectifier and filter circuit, a reverse connection protection circuit, a DC-DC circuit, and a Block MOSFET circuit connected in sequence; wherein, after the power supply enters the rectifier and filter circuit through the power supply connector, it is output to the Type-C interface by the Block MOSFET circuit.

[0008] The communication circuit module includes a Type-C interface and a Type-A interface; both the Type-C interface and the Type-A interface are integrated into a single communication signal via a HUB IC to supply the vehicle's infotainment system.

[0009] The vehicle infotainment system is connected to the Type A interface via a Block MOSFET1 circuit.

[0010] Both the Block MOSFET circuit and the Block MOSFET1 circuit are communicatively connected to the HUB IC.

[0011] The HUB IC is also connected to the vehicle's infotainment system via a flip detection circuit and an output VBUS level control circuit; the vehicle's infotainment system master-slave flip circuit is powered through the flip detection circuit and the output VBUS level control circuit.

[0012] Preferably, the flip detection circuit includes: a resistor R6, a resistor R2, a diode D1, and a transistor Q1 connected in sequence;

[0013] The other end of resistor R6 is connected to the VBUS_P0 pin of the vehicle's infotainment system.

[0014] The collector (C) of transistor Q1 is connected to the HUB IC via resistor R2;

[0015] The emitter (E) of transistor Q1 is grounded;

[0016] The base (B) of transistor Q1 is connected to diode D1.

[0017] Preferably, the flip detection circuit further includes a filter circuit; the filter circuit includes a capacitor C1 and a resistor R3 connected in parallel.

[0018] The filter circuit is connected to the base (B) and emitter (E) of transistor Q1, respectively.

[0019] Preferably, the output VBUS level control circuit includes: PMOS transistor Q2, PMOS transistor Q3, and PMOS transistor Q4;

[0020] The gate of the PMOS transistor Q3 is connected to the HUB IC;

[0021] The drain of PMOS transistor Q3 is connected to the gate of PMOS transistor Q3 and the gate of PMOS transistor Q4.

[0022] The source (S) of the PMOS transistor Q3 is grounded.

[0023] Preferably, the output VBUS level control circuit further includes: resistors R4, R5, R7, and R8;

[0024] One end of the resistor R4 is connected to the drain (D) of the PMOS transistor Q3, and the other end is connected to the gate (G) of the PMOS transistor Q4.

[0025] One end of resistor R5 is connected to resistor R4, and the other end is connected to the source (S) of PMOS transistor Q3 and the source (S) of PMOS transistor Q4.

[0026] One end of the resistor R7 is connected to the drain (D) terminal of the PMOS transistor Q3, and the other end is connected to the source (S) terminal of the PMOS transistor Q3.

[0027] One end of the resistor R8 is connected to the gate (G) of PMOS transistor Q3, and the other end is connected to the drain (D) of PMOS transistor Q4.

[0028] Preferably, the step of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit further includes:

[0029] When the vehicle infotainment system is in main mode, the system sets the VBUS_P0 pin to a high level of 5V and outputs it to the Type A interface. Through the flip detection circuit, the level is converted, and the DET_VBUS_P0 signal is output as 0V to the HUB IC. At the same time, the HUB IC outputs the control signal CTL_VBUS_P1 to a high level to the output VBUS level control circuit to supply power to the electrical appliances.

[0030] Preferably, the HUB IC output control signal CTL_VBUS_P1 is a high level for the output VBUS level control circuit, and further includes:

[0031] When PMOS transistor Q3 receives a high level, its drain and source terminals are turned on, and the left end of resistor R4 is pulled to ground. This turns on PMOS transistors Q2 and Q4, and VBUS_P0 outputs 5V to VBUS_P1 to power the electrical appliances.

[0032] Preferably, the step of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit further includes:

[0033] When the vehicle's infotainment system is in factory mode, multiple taps on the screen will enter factory mode. In this mode, the system has no output, and the VBUS_P0 pin is at a low level (0V). A level shifting circuit is used to convert the voltage, outputting a 3.3V DET_VBUS_P0 signal to the hub. Simultaneously, the hub outputs a 0V CTL_VBUS_P1 signal to the VBUS level control circuit.

[0034] Preferably, the HUB IC outputs CTL_VBUS_P1 to 0V to control the VBUS level, including:

[0035] With the drain and source terminals of PMOS transistor Q3 not conducting and the left end of PMOS transistor R4 not grounded, PMOS transistors Q2 and Q4 are not conducting. The 5V VBUS_P1 of the electrical appliance cannot reverse-charge the vehicle's VBUS_P0. At this time, the laptop can flash the software to the vehicle's infotainment system.

[0036] In summary, the circuit design using PMOS transistor control in this application can effectively control the power flow. In master mode, PMOS transistor Q3 is turned on, ensuring that VBUS_P0 outputs a 5V voltage to supply power to VBUS_P1, thereby powering the electrical appliances. In slave mode, PMOS transistor Q3 is turned off through level control, and PMOS transistors Q2 and Q4 are also turned off, thus preventing reverse power supply and avoiding interference to the vehicle system in inappropriate modes.

[0037] Compared with the prior art, the advantages of this application are as follows:

[0038] This application utilizes a master-slave switching circuit based on USB 2.0 communication. Through a switching detection circuit and an output VBUS level control circuit, it can intelligently switch between master and slave modes of the vehicle infotainment system and automatically adjust the power supply. In master mode, the vehicle infotainment system outputs 5V power to the Type-A interface via the VBUS_P0 pin, ensuring smooth charging and communication. In slave mode, the vehicle infotainment system uses a switching detection circuit to perform level conversion with the HUB IC, ensuring that the system does not output incorrect voltage and avoiding the risk of reverse power flow. Furthermore, through precise switching detection and level control, this application effectively prevents 5V power from flowing backward through VBUS_P1 to the VBUS_P0 pin of the vehicle infotainment system in slave mode, ensuring that the system is not affected by power supply interference during software flashing. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of a master-slave switching circuit based on USB 2.0 communication in one embodiment of this application.

[0040] Figure 2 This is a master-slave switching circuit diagram based on USB 2.0 communication in one embodiment of this application.

[0041] Figure 3 This is a flip detection circuit in one embodiment of this application.

[0042] Figure 4 The diagram shows an embodiment of the output VBUS level control circuit of this application. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions will be clearly and completely described below in conjunction with the embodiments of this application. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0044] Example 1, as Figure 1-2 As shown, this application provides a master-slave switching circuit based on USB 2.0 communication, the circuit including: a communication circuit module and a charging circuit module;

[0045] The charging circuit module includes: a rectifier and filter circuit, a reverse connection protection circuit, a DC-DC circuit, and a Block MOSFET circuit connected in sequence; wherein, after the power supply enters the rectifier and filter circuit through the power supply connector, it is output to the Type-C interface by the Block MOSFET circuit.

[0046] The communication circuit module includes a Type-C interface and a Type-A interface; both the Type-C interface and the Type-A interface are integrated into a single communication signal via a HUB IC to supply the vehicle's infotainment system.

[0047] The vehicle infotainment system is connected to the Type A interface via a Block MOSFET1 circuit.

[0048] Both the Block MOSFET circuit and the Block MOSFET1 circuit are communicatively connected to the HUB IC.

[0049] The HUB IC is also connected to the vehicle's infotainment system via a flip detection circuit and an output VBUS level control circuit; the vehicle's infotainment system master-slave flip circuit is powered through the flip detection circuit and the output VBUS level control circuit.

[0050] like Figure 2 As shown, the product created in this application is divided into a communication circuit module and a charging circuit module.

[0051] Charging circuit module: The vehicle's 12V power supply enters through the power connector, passes through a rectification and filtering circuit and a reverse connection protection circuit, then to a DC-DC circuit, and finally outputs through a Block MOSFET. The USB charging protocol is integrated into the HUB IC. When a device is plugged in, the HUB chip detects a level change in pin CC1 or CC2 and initiates the charging process.

[0052] Communication circuit module: Two USB interfaces, a Type C interface and a Type A interface. Two USB communication signals DP, DM, DP1, and DM1 are connected to the HUB IC and integrated into one DP2, DM2 channel for the vehicle's infotainment system.

[0053] Preferred, such as Figure 3 As shown, the flip detection circuit includes: resistor R6, resistor R2, diode D1 and transistor Q1 connected in sequence;

[0054] The other end of resistor R6 is connected to the VBUS_P0 pin of the vehicle's infotainment system.

[0055] The collector (C) of transistor Q1 is connected to the HUB IC via resistor R2;

[0056] The emitter (E) of transistor Q1 is grounded;

[0057] The base (B) of transistor Q1 is connected to diode D1.

[0058] Preferably, the flip detection circuit further includes a filter circuit; the filter circuit includes a capacitor C1 and a resistor R3 connected in parallel.

[0059] The filter circuit is connected to the base (B) and emitter (E) of transistor Q1, respectively.

[0060] Preferred, such as Figure 4 As shown, the output VBUS level control circuit includes: PMOS transistor Q2, PMOS transistor Q3, and PMOS transistor Q4;

[0061] The gate of the PMOS transistor Q3 is connected to the HUB IC;

[0062] The drain of PMOS transistor Q3 is connected to the gate of PMOS transistor Q3 and the gate of PMOS transistor Q4.

[0063] The source (S) of the PMOS transistor Q3 is grounded.

[0064] Preferably, the output VBUS level control circuit further includes: resistors R4, R5, R7, and R8;

[0065] One end of the resistor R4 is connected to the drain (D) of the PMOS transistor Q3, and the other end is connected to the gate (G) of the PMOS transistor Q4.

[0066] One end of resistor R5 is connected to resistor R4, and the other end is connected to the source (S) of PMOS transistor Q3 and the source (S) of PMOS transistor Q4.

[0067] One end of the resistor R7 is connected to the drain (D) terminal of the PMOS transistor Q3, and the other end is connected to the source (S) terminal of the PMOS transistor Q3.

[0068] One end of the resistor R8 is connected to the gate (G) of PMOS transistor Q3, and the other end is connected to the drain (D) of PMOS transistor Q4.

[0069] Preferably, the step of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit further includes:

[0070] When the vehicle infotainment system is in main mode, the system sets the VBUS_P0 pin to a high level of 5V and outputs it to the Type A interface. Through the flip detection circuit, the level is converted, and the DET_VBUS_P0 signal is output as 0V to the HUB IC. At the same time, the HUB IC outputs the control signal CTL_VBUS_P1 to a high level to the output VBUS level control circuit to supply power to the electrical appliances.

[0071] Preferably, the HUB IC output control signal CTL_VBUS_P1 is a high level for the output VBUS level control circuit, and further includes:

[0072] When PMOS transistor Q3 receives a high level, its drain and source terminals are turned on, and the left end of resistor R4 is pulled to ground. This turns on PMOS transistors Q2 and Q4, and VBUS_P0 outputs 5V to VBUS_P1 to power the electrical appliances.

[0073] Preferably, the step of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit further includes:

[0074] When the vehicle's infotainment system is in factory mode, multiple taps on the screen will enter factory mode. In this mode, the system has no output, and the VBUS_P0 pin is at a low level (0V). A level shifting circuit is used to convert the voltage, outputting a 3.3V DET_VBUS_P0 signal to the hub. Simultaneously, the hub outputs a 0V CTL_VBUS_P1 signal to the VBUS level control circuit.

[0075] Preferably, the HUB IC outputs CTL_VBUS_P1 to 0V to control the VBUS level, including:

[0076] With the drain and source terminals of PMOS transistor Q3 not conducting and the left end of PMOS transistor R4 not grounded, PMOS transistors Q2 and Q4 are not conducting. The 5V VBUS_P1 of the electrical appliance cannot reverse-charge the vehicle's VBUS_P0. At this time, the laptop can flash the software to the vehicle's infotainment system.

[0077] In summary, the circuit design using PMOS transistor control in this application can effectively control the power flow. In master mode, PMOS transistor Q3 is turned on, ensuring that VBUS_P0 outputs a 5V voltage to supply power to VBUS_P1, thereby powering the electrical appliances. In slave mode, PMOS transistor Q3 is turned off through level control, and PMOS transistors Q2 and Q4 are also turned off, thus preventing reverse power supply and avoiding interference to the vehicle system in inappropriate modes.

[0078] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.

[0079] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0080] Although the description of this application has been given in conjunction with the specific embodiments described above, it will be apparent to those skilled in the art that many substitutions, modifications, and variations can be made based on the foregoing. Therefore, all such substitutions, modifications, and variations are included within the spirit and scope of the appended claims.

Claims

1. A master-slave switching circuit based on USB 2.0 communication, characterized in that, The circuit includes: a communication circuit module and a charging circuit module; The charging circuit module includes: a rectifier and filter circuit, a reverse connection protection circuit, a DC-DC circuit, and a Block MOSFET circuit connected in sequence; wherein, after the power supply enters the rectifier and filter circuit through the power supply connector, it is output to the Type-C interface by the Block MOSFET circuit. The communication circuit module includes a Type-C interface and a Type-A interface; both the Type-C interface and the Type-A interface are integrated into a single communication signal via a HUB IC to supply the vehicle's infotainment system. The vehicle infotainment system is connected to the Type A interface via a Block MOSFET1 circuit. Both the Block MOSFET circuit and the Block MOSFET1 circuit are communicatively connected to the HUB IC. The HUB IC is also connected to the vehicle's infotainment system via a flip detection circuit and an output VBUS level control circuit; the vehicle's infotainment system master-slave flip circuit is powered through the flip detection circuit and the output VBUS level control circuit.

2. The master-slave switching circuit based on USB 2.0 communication according to claim 1, characterized in that, The flip detection circuit includes: a resistor R6, a resistor R2, a diode D1, and a transistor Q1 connected in sequence; The other end of resistor R6 is connected to the VBUS_P0 pin of the vehicle's infotainment system. The collector (C) of transistor Q1 is connected to the HUB IC via resistor R2; The emitter (E) of transistor Q1 is grounded; The base (B) of transistor Q1 is connected to diode D1.

3. The master-slave switching circuit based on USB 2.0 communication according to claim 2, characterized in that, The flip detection circuit further includes a filter circuit; the filter circuit includes a capacitor C1 and a resistor R3 connected in parallel. The filter circuit is connected to the base (B) and emitter (E) of transistor Q1, respectively.

4. The master-slave switching circuit based on USB 2.0 communication according to claim 3, characterized in that, The output VBUS level control circuit includes: PMOS transistor Q2, PMOS transistor Q3, and PMOS transistor Q4; The gate of the PMOS transistor Q3 is connected to the HUB IC; The drain of PMOS transistor Q3 is connected to the gate of PMOS transistor Q3 and the gate of PMOS transistor Q4. The source (S) of the PMOS transistor Q3 is grounded.

5. The master-slave switching circuit based on USB 2.0 communication according to claim 4, characterized in that, The output VBUS level control circuit further includes: resistors R4, R5, R7, and R8; One end of the resistor R4 is connected to the drain (D) of the PMOS transistor Q3, and the other end is connected to the gate (G) of the PMOS transistor Q4. One end of resistor R5 is connected to resistor R4, and the other end is connected to the source (S) of PMOS transistor Q3 and the source (S) of PMOS transistor Q4. One end of the resistor R7 is connected to the drain (D) terminal of the PMOS transistor Q3, and the other end is connected to the source (S) terminal of the PMOS transistor Q3. One end of the resistor R8 is connected to the gate (G) of PMOS transistor Q3, and the other end is connected to the drain (D) of PMOS transistor Q4.

6. The master-slave switching circuit based on USB 2.0 communication according to claim 5, characterized in that, The method of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit also includes: When the vehicle infotainment system is in main mode, the system sets the VBUS_P0 pin to a high level of 5V and outputs it to the Type A interface. Through the flip detection circuit, the level is converted, and the DET_VBUS_P0 signal is output as 0V to the HUB IC. At the same time, the HUB IC outputs the control signal CTL_VBUS_P1 to a high level to the output VBUS level control circuit to supply power to the electrical appliances.

7. The master-slave switching circuit based on USB 2.0 communication according to claim 6, characterized in that, The HUBIC output control signal CTL_VBUS_P1 is a high-level signal used to control the output VBUS level of the circuit, and also includes: When PMOS transistor Q3 receives a high level, its drain and source terminals are turned on, and the left end of resistor R4 is pulled to ground. This turns on PMOS transistors Q2 and Q4, and VBUS_P0 outputs 5V to VBUS_P1 to power the electrical appliances.

8. The master-slave switching circuit based on USB 2.0 communication according to claim 7, characterized in that, The method of supplying power to the vehicle infotainment system master-slave switching circuit through the switching detection circuit and the output VBUS level control circuit also includes: When the vehicle's infotainment system is in slave mode, it can enter factory mode by clicking the screen multiple times. At this time, the system has no output, and the VBUS_P0 pin is at a low level of 0V. Through the flip detection circuit, the level is converted, and the DET_VBUS_P0 signal is output as 3.3V to the HUB IC. At the same time, the HUB IC outputs CTL_VBUS_P1 as 0V to the output VBUS level control circuit.

9. A master-slave switching circuit based on USB 2.0 communication according to claim 8, characterized in that, The HUBIC output CTL_VBUS_P1 is 0V, which controls the output VBUS level, including: With the drain and source terminals of PMOS transistor Q3 not conducting and the left end of PMOS transistor R4 not grounded, PMOS transistors Q2 and Q4 are not conducting. The 5V VBUS_P1 of the electrical appliance cannot reverse-charge the vehicle's VBUS_P0. At this time, the laptop can flash the software to the vehicle's infotainment system.