Multi-USB-interface system with USB mode switching function, multi-USB-interface device, vehicle and equipment
By designing a multi-USB interface system and adopting a collaborative architecture of ARM module, switching module and interface module, intelligent management of USB interfaces is achieved, solving the problem of balancing performance and functionality in smart police car products, improving system availability and stability, and supporting multi-device access.
Patent Information
- Application Number
- CN202423224751.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2034-12-24
AI Technical Summary
The existing USB interface design of smart police car products faces a challenge in balancing performance and functionality. High-performance ARM modules with only a single USB interface cannot meet the needs of multiple device access. ARM modules with multiple USB interfaces on the market have low performance and a narrow selection range, pose significant supply chain risks, and are difficult to meet the system's stability and processing power requirements.
The system design employs multiple USB interfaces, including an ARM module, a switching module, and an interface module. Inter-module linkage control is achieved through a first control electrical signal, dynamically adjusting the USB working mode to ensure optimal connection between peripherals and the ARM module.
It enables intelligent management of USB interfaces, quickly responds to peripheral access needs, improves system availability and stability, supports multiple device access, and solves the balance problem between performance and functionality.
Smart Images

Figure CN223552097U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of embedded system peripheral interface management technology, and in particular to a system with multiple USB interfaces and USB mode switching function, a multiple USB interface device, a vehicle, and equipment. Background Technology
[0002] With the rapid development of smart police car product technology, its control system needs to support the simultaneous connection of multiple USB devices and have system upgrade detection capabilities. This requires the system to provide multiple USB HOST interfaces to support the connection of peripherals such as cameras and storage devices, and to realize functions such as device detection and system upgrades through USB interfaces, in order to meet the increasing functional needs and management requirements of vehicles.
[0003] The current standard circuitry uses an ARM module that supports multiple USB host interfaces and a Type-C interface, which meets the needs of smart police car products for multiple USB devices. In practical applications, the control system directly connects to and manages the connections and data transmission of various peripherals through the interfaces provided by the ARM module, without the need for additional interface expansion circuitry.
[0004] However, this approach has significant limitations and practical application difficulties. First, the selection of ARM modules with multiple USB host interfaces and Type-C interfaces is limited, hindering material procurement management and posing a risk of supply chain shortages. Second, existing multi-USB interface ARM modules on the market generally have low performance, failing to meet the stringent requirements of smart police car product systems in terms of processing power and stability. High-performance ARM modules, on the other hand, often only have a single USB interface, unable to meet the needs of multiple device connections. This design makes it difficult to achieve a balance between performance and functionality, limiting the product's practicality and reliability. Utility Model Content
[0005] The main objective of this invention is to propose a system, device, vehicle, and equipment with multiple USB interfaces and USB mode switching function, aiming to solve the technical problem of how to achieve a balance between performance and functionality in USB circuits.
[0006] To achieve the above objectives, this utility model proposes a system with multiple USB interfaces and USB mode switching function, the system with multiple USB interfaces and USB mode switching function includes: an ARM module, a switching module and an interface module;
[0007] The USB interface of the ARM module is connected to the interface module, one end of the switching module is connected to the interface module, and the other end of the switching module is connected to the USB interface of the ARM module.
[0008] The interface module is used to connect to several peripherals and send a first control electrical signal to the switching module according to the connected peripherals.
[0009] The switching module is used to send the first control electrical signal to the ARM module, and switch the connection structure between the ARM module and the interface module according to the first control electrical signal, thereby switching the USB mode of the interface module.
[0010] The ARM module is used to enable the corresponding USB mode according to the first control electrical signal.
[0011] In one embodiment, the interface module includes: a USB Type-C interface and a USB interface module;
[0012] The USB Type-C interface and the USB interface module are connected to the USB interface terminal of the ARM module via the switching module. The USB Type-C interface is also connected to the power signal detection terminal of the ARM module.
[0013] The USB Type-C interface is used to connect to a peripheral device and send the first control signal to the switching module according to the connected peripheral device.
[0014] The switching module is further configured to switch the connection structure between the ARM module and the USB interface module according to the first control electrical signal, thereby switching the USB mode of the USB interface module;
[0015] The USB interface module is used to connect several USB devices.
[0016] In one embodiment, the switching module includes: a control chip and a switching switch;
[0017] The detection port of the control chip is connected to the USB Type-C interface, the control port of the control chip is connected to the switch and the ARM module, one end of the switch is connected to the USB Type-C interface and the USB interface module, and the other end of the switch is connected to the USB interface of the ARM module.
[0018] The control chip is used to send the first control electrical signal to the ARM module, generate a second control electrical signal according to the first control electrical signal, and send the second control electrical signal to the switching switch;
[0019] The switch is used to switch the connection mode between the ARM module and the USB interface module based on the second control electrical signal, thereby switching the USB mode of the USB interface module.
[0020] In one embodiment, the USB interface module includes: a USB hub;
[0021] The USB hub is connected to the USB interface of the ARM module;
[0022] The USB hub is used to connect several USB devices.
[0023] In one embodiment, the system with multiple USB interfaces and USB mode switching function further includes: a power module;
[0024] One end of the power module is connected to the ARM module, and the other end of the power module is connected to the USB Type-C interface;
[0025] The power module is used to provide power to the USB Type-C interface according to the third control electrical signal output by the ARM module.
[0026] In addition, to achieve the above objectives, this utility model also proposes a multi-USB interface device, which includes the aforementioned multi-USB interface system with USB mode switching function.
[0027] In addition, to achieve the above objectives, this utility model also proposes a vehicle, which includes the aforementioned system with multiple USB interfaces and USB mode switching function.
[0028] In addition, to achieve the above objectives, this utility model also proposes a device with multiple USB interfaces and USB mode switching function, wherein the device with multiple USB interfaces and USB mode switching function includes the aforementioned system with multiple USB interfaces and USB mode switching function.
[0029] In this system, the interface module, through direct connection with peripherals, can detect the connection status of peripherals in real time and generate corresponding first control electrical signals. These signals are transmitted to the ARM module via a switching module. Simultaneously, the switching module adjusts the connection structure between the ARM module and the interface module based on this signal, thereby enabling USB mode switching for the interface module. Specifically, when a peripheral is connected, the interface module generates a corresponding first control electrical signal based on the peripheral's type and requirements. Upon receiving this signal, the switching module forwards it to the ARM module to prepare it for the appropriate USB operating mode. Simultaneously, it reconstructs its own connection path based on the signal content, ensuring a correct connection structure is established between the ARM module and the interface module. The ARM module then activates the corresponding USB operating mode based on the received first control electrical signal, completing normal communication with the peripheral. This entire process forms a complete closed-loop control system for signal detection, mode switching, and connection management.
[0030] In the solution of this application, due to the adoption of a three-module collaborative architecture based on an ARM module, a switching module, and an interface module, and through the first control electrical signal to achieve linkage control between modules, it is possible to quickly establish a correct communication channel between the ARM module and the peripheral device through the dynamic connection structure adjustment of the switching module at the first time when the interface module detects the access requirement of the peripheral device, effectively solving the technical problems such as slow switching response and fixed connection structure of the traditional USB interface. Through the unified scheduling of the switching module, the system can dynamically adjust the USB working mode according to actual needs, ensuring that the optimal connection state is always maintained between the peripheral device and the ARM module. Furthermore, a complete and intelligent USB interface management solution is realized, significantly improving the usability and stability of the system, and providing reliable technical support for various application scenarios that require flexible USB interface management. It solves the technical problem of how to achieve the balance between performance and function in the USB circuit. Brief Description of the Drawings
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0032] Figure 1 It is a schematic diagram of a functional module structure provided for Embodiment 1 of the system with a USB mode switching function for multiple USB interfaces of this application;
[0033] Figure 2 It is a schematic diagram of a functional module structure provided for Embodiment 2 of the system with a USB mode switching function for multiple USB interfaces of this application.
[0034] Explanation of the reference numerals in the drawings:
[0035]
[0036]
[0037] The realization of the purpose, functional features, and advantages of the present invention will be further described in conjunction with the embodiments and the accompanying drawings. Detailed Embodiment
[0038] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present utility model.
[0039] It should be noted that if the embodiments of this utility model involve directional indicators (such as up, down, left, right, front, and back), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.
[0040] Furthermore, if the embodiments of this utility model involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.
[0041] This application presents a schematic diagram of a system structure with multiple USB interfaces and USB mode switching function according to a first embodiment. Please refer to... Figure 1 The system with multiple USB interfaces and USB mode switching function includes: ARM module 10, switching module 20 and interface module 30;
[0042] The USB interface of ARM module 10 is connected to interface module 30, one end of switching module 20 is connected to interface module 30, and the other end of switching module 20 is connected to the USB interface of ARM module 10.
[0043] The interface module 30 is used to connect several peripheral devices and send a first control electrical signal to the switching module 20 according to the connected peripheral devices;
[0044] The switching module 20 is used to send a first control electrical signal to the ARM module 10, and switch the connection structure between the ARM module 10 and the interface module 30 according to the first control electrical signal, thereby switching the USB mode of the interface module 30.
[0045] The ARM module 10 is used to enable the corresponding USB mode according to the first control electrical signal.
[0046] In this context, ARM module 10 represents the core processing unit of the system, referring to the ARM-based main controller used to execute the system's main control and data processing functions. This module typically consists of a high-performance ARM processor, memory, a power management unit, and a USB controller, and has functions such as configuring the USB interface operating mode, handling USB data transfer, and responding to peripheral requests. In practical applications, an ARM processor with USB OTG functionality, such as an ARM Cortex-A series or Cortex-M series processor, can be selected.
[0047] The switching module 20 refers to a functional unit used to manage and switch USB signal paths, representing a circuit system capable of dynamically adjusting the USB data cable connection state based on control signals. This module typically includes a USB switching switch 201 chip and related control circuitry, enabling it to select different signal paths based on received control signals. In specific implementations, a multi-channel USB switching switch 201 chip, such as the TS3USB30E or a similar USB signal switcher, can be used.
[0048] Interface module 30 represents the functional unit that enables physical connection and signal exchange between the system and external devices. It refers to the interface circuit system including a USB Type-C interface and a USB hub. This module is responsible for detecting the connection status of peripheral devices, identifying USB operating mode requirements, and expanding multiple USB host interfaces through the USB hub. In practical applications, a standard USB Type-C interface and a USB hub chip (such as USB2514 or a similar chip) are typically used.
[0049] The ARM module 10 is responsible for the core control and data processing of the system. It manages USB data transmission through its internal USB controller and can switch USB operating modes based on received control signals. The switching module 20, upon receiving a control signal, reconstructs the physical connection path of the USB signal to ensure data is correctly transmitted to the target device. The interface module 30 is responsible for establishing physical connections with peripherals, detecting connection status, and providing multiple USB interfaces through the USB hub. Specifically, when a peripheral is connected via a Type-C interface, the switching module 20 detects the pin status of the interface module 30 and generates a control signal. Upon receiving this signal, the switching module 20 adjusts the USB signal path, switching the USB signal of the ARM module 10 to the corresponding channel and simultaneously transmitting mode information to the ARM module 10. The ARM module 10 then configures the corresponding USB operating mode and establishes communication with the peripheral. When multiple USB devices are needed, the switching module 20 switches the signal to the USB hub channel, enabling multi-interface expansion.
[0050] In some embodiments, the USB mode switching and data processing functions of the ARM module 10 can be implemented in several ways: Optionally, the operating mode of the USB controller can be configured by software, the corresponding register values can be set, the USB protocol stack can be initialized, and then the data transmission process can be started; alternatively, automatic mode detection and switching can be implemented by hardware circuitry, using a dedicated USB mode switching controller to automatically adjust the USB operating mode according to external signals without software intervention. It is understood that other methods can also be used to implement the functions of the ARM module 10, which are not limited here.
[0051] In some embodiments, signal path management of the switching module 20 can be implemented in several ways: Optionally, an analog switch array can be used to construct the switching circuit, and different switching paths can be selected by control signals to achieve flexible switching of USB signals; Optionally, a dedicated USB switching chip can be used, and the signal path can be selected by configuring the chip's control register, and signal integrity protection can be provided. It is understood that other methods can also be used to implement the function of the switching module 20, which are not limited here.
[0052] In some embodiments, the connection detection and interface expansion of the interface module 30 can be implemented in various ways: Optionally, a dedicated detection chip can be added to the Type-C interface circuit to automatically detect the CC pin status and generate an interrupt signal; alternatively, a microcontroller can be used to sample the pin level and a software algorithm can be used to determine the connection status and operating mode requirements. It is understood that other methods can also be used to implement the functionality of the interface module 30, and these are not limited here.
[0053] In this system, the interface module 30 can detect the access status of the peripheral in real time and generate a corresponding first control electrical signal through direct connection with the peripheral; this signal is transmitted to the ARM module 10 via the switching module 20, and at the same time, the switching module 20 adjusts the connection structure between the ARM module 10 and the interface module 30 according to this signal, thereby realizing the USB mode switching of the interface module 30. Specifically, when the peripheral is connected, the interface module 30 generates a corresponding first control electrical signal according to the type and requirements of the peripheral; after receiving this signal, the switching module 20 forwards it to the ARM module 10 on the one hand to make it prepare the corresponding USB working mode, and on the other hand, reconstructs its own connection path according to the signal content to ensure a correct connection structure is established between the ARM module 10 and the interface module 30; the ARM module 10 then enables the corresponding USB working mode according to the received first control electrical signal to complete normal communication with the peripheral. The whole process forms a complete closed-loop control system for signal detection, mode switching and connection management.
[0054] In the solution of this application, due to the adoption of a three-module collaborative architecture based on the ARM module 10, the switching module 20 and the interface module 30, and through the first control electrical signal to achieve inter-module linkage control, it is possible to quickly establish a correct communication channel between the ARM module 10 and the peripheral at the first time when the interface module 30 detects the access requirement of the peripheral by adjusting the dynamic connection structure of the switching module 20, effectively solving the technical problems such as slow response and fixed connection structure of traditional USB interface switching. Through the unified scheduling of the switching module 20, the system can dynamically adjust the USB working mode according to actual needs to ensure that the optimal connection state is always maintained between the peripheral and the ARM module 10. Furthermore, a complete and intelligent USB interface management solution is realized, significantly improving the usability and stability of the system, and providing reliable technical support for various application scenarios that require flexible USB interface management. It solves the technical problem of how to achieve the balance between performance and function in the USB circuit.
[0055] Based on the first embodiment of this application, in the second embodiment of this application, the same or similar content as the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 2 , based on the first embodiment, the structure of a more specific system with USB mode switching function for multiple USB interfaces proposed in this embodiment is as follows:
[0056] The interface module 30 includes: a USB TypeC interface 302 and a USB interface module 301;
[0057] USB Type-C interface 302 and USB interface module 301 are connected to the USB interface end of ARM module 10 via switching module 20. USB Type-C interface 302 is also connected to the power signal detection end of ARM module 10.
[0058] The switching module 20 includes: a control chip 202 and a switching switch 201;
[0059] The detection port of the control chip 202 is connected to the USB Type-C interface 302, the control port of the control chip 202 is connected to the switch 201 and the ARM module 10, one end of the switch 201 is connected to the USB Type-C interface 302 and the USB interface module 301, and the other end of the switch 201 is connected to the USB interface of the ARM module 10.
[0060] The system with multiple USB ports and USB mode switching function also includes: power module 40;
[0061] One end of the power module 40 is connected to the ARM module 10, and the other end of the power module 40 is connected to the USB Type-C interface 302.
[0062] The USB Type-C interface 302 and USB interface module 301 represent the physical interface portion of the system, referring to standardized interface components used for peripheral connection and signal transmission. The USB Type-C interface 302 refers to a new generation USB interface standard that supports reversible insertion and multiple functions, featuring CC1 and CC2 detection pins to automatically identify the connection direction and operating mode. The USB interface module 301 refers to multiple standard USB interfaces extended by a USB hub chip, used to connect multiple USB devices simultaneously, such as Ethernet chips, USB flash drives, and other peripherals.
[0063] The control chip 202 and the switch 201 represent the USB signal routing control system, which is the core component responsible for managing USB signal switching and mode conversion. The control chip 202 monitors the connection status of the USB Type-C interface 302 and generates control signals, while the switch 201 selects different signal paths based on the control signals to ensure that the USB signal is correctly transmitted to the target device. In practical applications, a dedicated USB switching controller and a high-performance analog switch can be used to achieve this.
[0064] Power module 40 represents the system's power management unit, a functional module capable of providing appropriate power according to system requirements. This module is responsible for providing the necessary power support to USB devices in different operating modes, including 5V power supply and power status detection. In its implementation, it typically includes components such as a power management chip, voltage conversion circuitry, and protection circuitry.
[0065] These modules work together to manage the system's USB functionality. Specifically, when a peripheral device is connected via the USB Type-C interface 302, the control chip 202 identifies the connection type and operating mode by detecting the voltage levels of the CC1 and CC2 pins. Based on the detection results, the control chip 202 generates corresponding control signals, which on the one hand notify the ARM module 10 to adjust the USB operating mode, and on the other hand control the switch 201 to select the appropriate signal path. Simultaneously, the power module 40 provides the necessary power to the peripheral device based on the control signals from the ARM module 10. When the system needs to use multiple USB devices, the switch 201 switches the signal to the channel of the USB interface module 301, thereby enabling the USB interface module 301.
[0066] Furthermore, this embodiment provides a more detailed control flow, please refer to... Figure 2 ,as follows:
[0067] In terms of hardware connectivity, the USB interface (D+ and D- data lines) of the ARM module 10 is connected to the chip of the switch 201. The switch 201 has two output channels: the USB A channel is connected to the USB Type-C interface 302, and the USB B channel is connected to the USB interface module 301.
[0068] For operating mode detection, the system determines the current connection status and required operating mode by monitoring the CC1 and CC2 pin levels of the USB Type-C interface 302. The specific detection logic is as follows:
[0069] When no peripheral device is connected to the USB Type-C interface 302, both the CC1 and CC2 pins are open, indicating that no peripheral device is connected, and the system enters HUB HOST mode. At this time: the control chip 202 sets the EN pin of the switch 201 low, switching it to the USB B channel; at the same time, it disconnects the USB_CC1 pin from the ARM module 10, making the USB_CC1 pin of the ARM module 10 open; the ARM module 10 then switches to HUB HOST mode, and the USB interface module 301 is in HUB HOST mode, allowing the system to recognize and manage multiple USB devices connected to the USB interface module 301.
[0070] When a peripheral device is connected to the USB Type-C interface 302, the CC1 pin is pulled down while the CC2 pin is open, or the CC1 pin is open while the CC2 pin is pulled down, but the USB Type-C interface 302 does not detect the power supply voltage input from the peripheral device. At this time, the system enters the HUB HOST mode. Then: the control chip 202 sets the EN pin of the switch 201 high, switching to the USBA channel; the control chip 202 pulls the USB_CC1 pin down to ground; the POWER_EN pin of the ARM module 10 is set high to control the power module 40 to provide 5V power to the connected USB Type-C device; the ARM module 10 recognizes the peripheral device connection and switches to USB HOST mode, at which point the USB interface module 301 is in HUB HOST mode.
[0071] When a peripheral device is connected to the USB Type-C interface 302, the CC1 and CC2 pins are simultaneously pulled down, and the power supply voltage provided by the peripheral device is detected. At this time, the system enters the USB DEVICE mode. At this time, the control chip 202 sets the EN pin of the switch 201 high, switching to the USBA channel; the control chip 202 makes the USB_CC1 pin float; the ARM module 10 recognizes the peripheral device connection and detects the external power supply, and then switches to the USB DEVICE mode.
[0072] This design enables intelligent switching and mode adaptation of the USB interface, automatically adjusting the operating mode based on the connection status of peripherals. It also expands to multiple host interfaces via a USB hub, meeting the needs of multiple device connections. The system's control logic is clear and responsive, ensuring stable operation in various usage scenarios.
[0073] In some embodiments, the connection detection and mode recognition of the USB Type-C interface 302 can be implemented in several ways: Optionally, a dedicated CC detection chip can be used to automatically detect the CC pin status through hardware circuitry and notify the control system of the detection result via an interrupt signal; alternatively, the CC pin level can be directly sampled through the GPIO of a microcontroller, and the connection status and operating mode can be determined through a software algorithm. It is understood that other methods can also be used to implement the functionality of the USB Type-C interface 302, and these are not limited here.
[0074] In some embodiments, signal management of the control chip 202 and the switch 201 can be implemented in various ways: Optionally, an integrated USB switching controller chip can be used, with the operating mode configured via an I2C or SPI interface to automatically manage signal switching; alternatively, an FPGA can be used to implement the control logic, flexibly controlling signal routing through programmable circuits. It is understood that other methods can also be used to implement signal switching control, which are not limited here.
[0075] In some embodiments, power management of the power module 40 can be implemented in several ways: optionally, an intelligent power management chip can be used to control the output voltage through a digital interface and provide overcurrent protection; optionally, a switching power supply circuit can be designed using discrete components and voltage regulation and protection functions can be achieved through PWM control. It is understood that other methods can also be used to implement power management functions, which are not limited here.
[0076] Optionally, the USB interface module 301 may include: a USB hub;
[0077] The USB hub connects to the USB interface of the ARM module 10;
[0078] Among them, a USB hub refers to a core functional module used to expand the number of USB interfaces. It is an integrated circuit system that can expand a single USB uplink port into multiple downlink ports.
[0079] The primary function of a USB hub is to expand and manage USB interfaces. Specifically, when a system needs to connect multiple USB devices, the USB hub connects to the USB interface of the ARM module 10 via its upstream port, expanding a single USB interface into multiple downstream ports. Each downstream port can operate independently, supporting the connection of different types of USB devices, such as Ethernet adapters, storage devices, and external devices. The controller inside the USB hub manages the data transmission of each port, ensuring that data packets are correctly transmitted between the upstream port and each downstream port. Simultaneously, the hub also handles port power management, device enumeration, and bandwidth allocation, ensuring stable operation of all connected devices.
[0080] In some embodiments, the functionality of a USB hub can be implemented in several ways: Optionally, a USB hub chip with integrated power management can be used to automatically handle port power supply and overcurrent protection through hardware, configure the corresponding device descriptors and endpoint descriptors, and then initiate the device enumeration process; alternatively, a programmable USB hub solution can be adopted, using an MCU to control port enable and power distribution to achieve more flexible port management and status monitoring. It is understood that other methods can also be used to implement the functionality of a USB hub, and this is not limited here.
[0081] In summary, the system workflow of this embodiment can be described in detail as follows: The entire system is centered around the ARM module 10, and peripheral connections are achieved through the USB Type-C interface 302 and the USB interface module 301. The control chip 202, the switch 201, and the power module 40 work together. When a peripheral is connected, the system first identifies the connection type by detecting the voltage levels of the CC1 and CC2 pins of the USB Type-C interface 302. When no peripheral is connected (both CC1 and CC2 pins are open), the control chip 202 causes the switch 201 to select the USB B channel, and the system enters USB HOST mode. When CC1 is pulled down and CC2 is open, or CC1 is open and CC2 is pulled down, the control chip 202 controls the switch 201 to select the USB A channel, and the ARM module 10 controls the power module 40 to provide 5V power to the USB Type-C interface 302. At this time, the system enters USB HOST mode. When debug accessory mode is detected (CC1 and CC2 are simultaneously pulled down and external power is detected), the system automatically switches to DEVICE mode. Throughout the process, the control chip 202 is responsible for generating control signals, coordinating the working states of the ARM module 10, the switch 201, and the power module 40, ensuring that the system can automatically adjust its working mode according to different connection scenarios, and realize flexible access and management of multiple devices.
[0082] In this embodiment, by employing an automatic mode recognition mechanism based on the level detection of the CC1 and CC2 pins of the USB Type-C interface 302, combined with signal path control of the switching switch 201 controlled by the control chip 202, the system can automatically identify the connection status and operating mode requirements of USB devices and dynamically switch the signal path. This effectively solves the problems of traditional USB systems requiring manual mode switching and limited interface expansion capabilities, thereby achieving intelligent management of the USB interface and support for multi-device access. Specifically, this design brings the following innovative values: First, automatic identification of connection status and mode is achieved through the level detection of the CC1 and CC2 pins, without user intervention; second, the switching switch 201 enables flexible switching of the USB signal path, supporting dynamic conversion between HOST and DEVICE modes; third, power management functions are integrated, which can automatically adjust the power supply status according to the operating mode; finally, the number of interfaces is expanded through the USB hub to meet the needs of simultaneous access of multiple devices. These innovative designs make the system more user-friendly, more scalable, and more compatible, significantly improving the user experience.
[0083] This application also provides a multi-USB interface device, which includes the above-mentioned multi-USB interface system with USB mode switching function.
[0084] This application also provides a vehicle, which includes the aforementioned system with multiple USB interfaces and USB mode switching function.
[0085] This application also provides a device with multiple USB interfaces and USB mode switching function, wherein the instant verification device is equipped with the aforementioned system with multiple USB interfaces and USB mode switching function.
[0086] The above description is merely an exemplary embodiment of the present utility model and does not limit the patent scope of the present utility model. Any equivalent structural transformations made based on the technical concept of the present utility model and the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.
Claims
1. A system with multiple USB interfaces and USB mode switching function, characterized in that, The system with USB mode switching function and multiple USB interfaces includes: an ARM module, a switching module, and an interface module; The USB interface of the ARM module is connected to the interface module, one end of the switching module is connected to the interface module, and the other end of the switching module is connected to the USB interface of the ARM module. The interface module is used to connect to several peripherals and send a first control electrical signal to the switching module according to the connected peripherals. The switching module is used to send the first control electrical signal to the ARM module, and switch the connection structure between the ARM module and the interface module according to the first control electrical signal, thereby switching the USB mode of the interface module. The ARM module is used to enable the corresponding USB mode according to the first control electrical signal.
2. The system with USB mode switching function for multiple USB interfaces as described in claim 1, characterized in that, The interface module includes: a USB Type-C interface and a USB interface module; The USB Type-C interface and the USB interface module are connected to the USB interface terminal of the ARM module via the switching module. The USB Type-C interface is also connected to the power signal detection terminal of the ARM module. The USB Type-C interface is used to connect to a peripheral device and send the first control signal to the switching module according to the connected peripheral device. The switching module is further configured to switch the connection structure between the ARM module and the USB interface module according to the first control electrical signal, thereby switching the USB mode of the USB interface module; The USB interface module is used to connect several USB devices.
3. The system with multiple USB interfaces and USB mode switching function as described in claim 2, characterized in that, The switching module includes: a control chip and a switching switch; The detection port of the control chip is connected to the USB Type-C interface, the control port of the control chip is connected to the switch and the ARM module, one end of the switch is connected to the USB Type-C interface and the USB interface module, and the other end of the switch is connected to the USB interface of the ARM module. The control chip is used to send the first control electrical signal to the ARM module, generate a second control electrical signal according to the first control electrical signal, and send the second control electrical signal to the switching switch; The switch is used to switch the connection mode between the ARM module and the USB interface module based on the second control electrical signal, thereby switching the USB mode of the USB interface module.
4. The system with multiple USB interfaces and USB mode switching function as described in claim 2, characterized in that, The USB interface module includes: a USB hub; The USB hub is connected to the USB interface of the ARM module; The USB hub is used to connect several USB devices.
5. The system with USB mode switching function for multiple USB interfaces as described in claim 3, characterized in that, The system with multiple USB interfaces and USB mode switching function also includes: a power module; One end of the power module is connected to the ARM module, and the other end of the power module is connected to the USB Type-C interface; The power module is used to provide power to the USB Type-C interface according to the third control electrical signal output by the ARM module.
6. A multi-USB interface device, characterized in that, The multi-USB interface device includes a system with USB mode switching function as described in any one of claims 1 to 5.
7. A vehicle, characterized in that, The vehicle includes a system with multiple USB interfaces and USB mode switching function as described in any one of claims 1 to 5.
8. A device with multiple USB interfaces and USB mode switching function, characterized in that, The aforementioned device with multiple USB interfaces and USB mode switching function includes the system with multiple USB interfaces and USB mode switching function as described in any one of claims 1 to 5.