Car miniUSB compatible with Type A USB automatic identification module
By retaining only the miniUSB mother seat on the PCB of automotive electronic system products, and using the USB power control unit and the MCU control unit to realize the automatic identification of miniUSB and type A USB interfaces, the problem of multiple USB interface configurations and electrical short circuit risks in the prior art is solved, and the effect of saving costs and reducing failure risks is achieved.
Patent Information
- Application Number
- CN202311431355.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2043-10-31
AI Technical Summary
The existing automotive electronic system products are equipped with two USB interfaces on the PCB, which increases the design cost and the risk of electrical short circuits. The exposure of structural windows brings the risk of failure of dust intrusion and ESD shock.
Through the optimization interface design, only the miniUSB mother seat is retained on the PCB, the A-type USB disk mother seat is cancelled, and the USB_OTG_ID port is formed using the USB power control unit and the MCU control unit to achieve automatic identification and compatibility of the miniUSB and A-type USB interfaces.
It realizes automatic identification of different USB connection functions, saves design costs, reduces layout placeholding and routing difficulties, and reduces the risk of failure caused by structural window opening.
Smart Images

Figure CN117435433B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automotive electronic technology, and specifically to a vehicle miniUSB compatible A-type USB automatic identification module. Background Art
[0002] The current automotive electronic products, such as automotive instruments, central control screens, and cockpits, have been developing towards multi-function, strong intelligence, cool UI, and high reliability, so the requirements for program data of electronic products are getting higher and higher. The built-in programs, parameters, UI files, and picture materials of the dashboard are also getting larger and larger. In the current automotive electronic products, Ethernet interfaces and networks are not available. In order to improve the download and writing speed and success rate of the program, generally, the online writing of the program needs to communicate with the computer host through miniUSB. In addition to the common UDS method of CAN bus, which is slower, offline upgrades can also be completed quickly and automatically by inserting a type A U disk to avoid the problems of slow CAN bus speed, load rate conflict, unstable connection, and easy interruption of upgrade operations in the vehicle environment. In order to meet the above requirements, most existing automotive electronic system products are designed and configured with two USB interfaces on the PCB at the same time, including: miniUSB female socket and A-type USB female socket, and windows are opened on the shell to meet the functional requirements of online burning and offline upgrades respectively.
[0003] In the prior art, electronic system products are configured with two USB interfaces on the PCB at the same time, and also include ESD, resistors, capacitors, beads and other related devices on the PCB board, which not only increases the design physical cost, layout space occupation and routing difficulty, but also increases the risk of failure caused by electrical short circuit, dust, external ESD impact, etc. due to the addition of a window on the outer shell. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, an embodiment of the present application provides a vehicle-use miniUSB compatible with Type A USB automatic identification module. By optimizing the interface design, only the miniUSB female socket is retained on the PCB, and the welding of the Type A USB female socket is cancelled, thereby realizing the functional requirements of the miniUSB interface and the Type A USB interface.
[0005] The embodiment of the present invention provides a vehicle miniUSB compatible A-type USB automatic identification module, comprising: a PCB board and a miniUSB female socket interface, wherein the miniUSB female socket interface is welded on the PCB board;
[0006] The PCB board includes a USB power control unit, a miniUSB female socket control unit and an MCU control unit; the miniUSB female socket interface is connected to the miniUSB female socket control unit; the USB power control unit is connected to the miniUSB female socket control unit to form a USB_OTG_ID port, and the MCU control unit automatically identifies the connection status of the miniUSB female socket interface by detecting the signal of the USB_OTG_ID port;
[0007] The connection status of the miniUSB female socket interface includes a current miniUSB connection status, a current A-type USB connection status, and a current no-load status.
[0008] According to the vehicle miniUSB compatible type A USB automatic identification module provided by the embodiment of the present invention, the USB power control unit includes a first chip U1, a first transistor Q1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C1 and a second capacitor C2;
[0009] Pin 1 of the first chip U1 is connected to a 5V power supply, pin 2 of the first chip U1 is grounded, pin 3 of the first chip U1 is connected to one end of the third resistor R3 and the fourth resistor R4, pin 4 of the first chip U1 is connected to one end of the sixth resistor R6 and the seventh resistor R7, pin 5 of the first chip U1 is connected to one end of the fifth resistor R5, and pin 6 of the first chip U1 is connected to a 5V_USB_VBUS power supply; the base of the first transistor Q1 is connected to one end of the first resistor R1, the emitter of the first transistor Q1 is connected to a 3V3 power supply, and the The collector of the first transistor Q1 is connected to the other end of the third resistor R3; the other end of the first resistor R1 is connected to the miniUSB socket control unit, the second resistor R2 is connected to the base and emitter of the first transistor Q1, the other end of the fourth resistor R4 is grounded, the other end of the fifth resistor R5 is grounded, the other end of the sixth resistor R6 is connected to the MCU control unit, and the other end of the seventh resistor R7 is connected to the 3V3 power supply; one end of the first capacitor C1 is connected to the 5V power supply, and the other end is grounded; one end of the second capacitor C2 is connected to the 5V_USB_VBUS power supply, and the other end is grounded.
[0010] According to the vehicle miniUSB compatible type A USB automatic identification module provided by the embodiment of the present invention, the miniUSB female socket control unit includes a first interface J1 and a second chip ESD;
[0011] Pin 1 of the first interface J1 is a 5V power port, pin 2 of the first interface J1 is a D- negative port, pin 3 of the first interface J1 is a D+ positive port, pin 4 of the first interface J1 is an ID port, and pin 5 of the first interface J1 is a GND ground port; pin 1 of the second chip ESD is a GND ground port, pin 2 of the second chip ESD is an IO port, pin 3 of the second chip ESD is an IO port, and pin 4 of the second chip ESD is a VCC power port;
[0012] Pin1 of the first interface J1 is connected to pin4 of the second chip ESD, pin2 of the first interface J1 is connected to pin3 of the second chip ESD, pin3 of the first interface J1 is connected to pin2 of the second chip ESD, pin5 of the first interface J1 is connected to pin1 of the second chip ESD, and pin4 of the first interface J1 is connected to the USB power control unit.
[0013] According to the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention, the miniUSB female socket interface realizes identification of compatibility with Type A USB access through an external transition harness with a Type A USB female socket interface; the second interface J2 of the transition harness with a Type A USB female socket interface is connected to the first interface J1.
[0014] According to the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention, the GND end of the second interface J2 is connected to pin5 of the first interface J1, the USB_DP end of the second interface J2 is connected to pin3 of the first interface J1, the USB_DN end of the second interface J2 is connected to pin2 of the first interface J1, and the USB_VBUS end of the second interface J2 is connected to pin1 of the first interface J1.
[0015] According to the vehicle miniUSB compatible type A USB automatic identification module provided by the embodiment of the present invention, the MCU control unit includes a third chip MCU, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, and an eleventh resistor R11;
[0016] The USB_DN end of the third chip MCU is connected to one end of the eighth resistor R8, and the other end of the eighth resistor is connected to pin3 of the second chip ESD; the USB_DP end of the third chip MCU is connected to one end of the ninth resistor R9, and the other end of the ninth resistor is connected to pin2 of the second chip ESD; the GPIO end of the third chip MCU is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to pin4 of the first interface J1; the USB_VBUS end of the third chip MCU is connected to the eleventh resistor, and the other end of the eleventh resistor is connected to pin4 of the second chip ESD; the GPIO end of the third chip MCU is also connected to the USB power control unit.
[0017] According to the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention, the first resistor R1 and pin4 of the first interface J1 are connected to form a USB_OTG_ID port; if the USB_OTG_ID port signal is at a high level, the state of the miniUSB female interface is no-load or connected to a host computer through a miniUSB wiring harness; if the USB_OTG_ID port signal is at a low level, the state of the miniUSB female interface is connected to a U disk through the transition wiring harness with the Type A USB female interface.
[0018] According to the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention, if the USB_OTG_ID port signal is at a high level, the USB power control unit does not output 5V_USB_VBUS power; if the USB_OTG_ID port signal is at a low level, the USB power control unit outputs 5V_USB_VBUS power.
[0019] According to the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention, the sixth resistor R6 is connected to the GPIO end of the MCU control unit to form a USB_FLG_IO port; if the USB_FLG_IO port signal is at a high level, the USB power control unit does not have an overcurrent fault; if the USB_FLG_IO port signal is at a low level, the USB power control unit has an overcurrent fault.
[0020] According to the automotive miniUSB compatible USB type A automatic identification module provided by the embodiment of the present invention, if the USB_FLG_IO port signal is at a low level, the third chip MCU controls the 3V3 power supply to be disconnected, and the 5V_USB_VBUS power supply is also disconnected at the same time.
[0021] The beneficial effects of the present invention are as follows: the miniUSB compatible type A USB automatic identification module for vehicles provided by the embodiment of the present invention is only provided with a miniUSB female socket interface, and the USB power control unit on the PCB board is connected with the miniUSB female socket control unit to form a USB_OTG_ID port. The connection state of the miniUSB female socket interface is automatically identified by directly monitoring the signal of the USB_OTG_ID port, and different USB connection functions are realized. There is no need to weld the type A USB female socket at the same time, which not only saves the design physical cost, reduces the layout space, reduces the difficulty of Layout routing, but also reduces the dust intrusion caused by the structural window exposure, abnormal electrical short circuit, and the failure risk caused by ESD impact. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0023] Figure 1 This is a circuit diagram of the vehicle miniUSB compatible Type A USB automatic identification module provided in this embodiment. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0025] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0026] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the various specific processes and material examples provided by the present application, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.
[0027] In view of the fact that the electronic system products of automobiles in the prior art are configured with two USB interfaces on the PCB at the same time, and the PCB board also includes related devices such as ESD, resistors and capacitors, and magnetic beads, which not only increases the design physical cost, Layout layout and routing difficulty, but also increases the risk of failure caused by electrical short circuit, dust, external ESD impact, etc. due to the addition of a window on the outer shell. An embodiment of the present invention provides a vehicle miniUSB compatible with type A USB automatic identification module. By optimizing the interface design, only the miniUSB female socket is retained on the PCB, and the welding of the type A U disk female socket is cancelled, so as to be compatible with the functional requirements of the miniUSB interface and the type A U disk interface.
[0028] Figure 1 This is a circuit diagram of the vehicle miniUSB compatible Type A USB automatic identification module provided in this embodiment.
[0029] like Figure 1 As shown, the automotive miniUSB compatible Type A USB automatic identification module provided by an embodiment of the present invention includes: a PCB board and a miniUSB female socket interface, and the miniUSB female socket interface is welded on the PCB board; wherein, the PCB board includes a USB power control unit, a miniUSB female socket control unit and an MCU control unit; the miniUSB female socket interface is connected to the miniUSB female socket control unit; the USB power control unit is connected to the miniUSB female socket control unit to form a USB_OTG_ID port, and the MCU control unit automatically identifies the connection status of the miniUSB female socket interface by detecting the signal of the USB_OTG_ID port; wherein, the connection status of the miniUSB female socket interface includes currently being connected to a miniUSB state, currently being connected to a Type A USB state and currently being in an unloaded state.
[0030] Specifically, the PCB board is composed of the USB power control unit, the miniUSB socket control unit and the MCU control unit. The USB power control unit provides power to the entire PCB board. The miniUSB socket control unit communicates with the medium through the miniUSB socket interface, and the MCU control unit controls and manages the PCB board. The automotive miniUSB compatible A-type USB automatic identification module provided by the embodiment of the present invention is only provided with a miniUSB socket interface. The USB power control unit on the PCB board is connected with the miniUSB socket control unit to form a USB_OTG_ID port. By directly monitoring the signal of the USB_OTG_ID port, the connection status of the miniUSB socket interface can be automatically identified, and different USB connection functions are realized. There is no need to weld the A-type USB socket at the same time, which not only saves the design physical cost, reduces the layout space, reduces the difficulty of Layout routing, but also reduces the dust intrusion caused by the structural window exposure, abnormal electrical short circuit, and ESD impact. Risk of failure caused by.
[0031] like Figure 1 As shown, in this embodiment, the USB power control unit includes a first chip U1, a first transistor Q1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C1 and a second capacitor C2;
[0032] Among them, pin1 of the first chip U1 is a Vin port, pin2 of the first chip U1 is a GND port, pin3 of the first chip U1 is an En port, pin4 of the first chip U1 is a FLG port, pin5 of the first chip U1 is an ILIM port, and pin6 of the first chip U1 is a Vout port.
[0033] Pin 1 of the first chip U1 is connected to a 5V power supply, pin 2 of the first chip U1 is grounded, pin 3 of the first chip U1 is connected to one end of the third resistor R3 and the fourth resistor R4, pin 4 of the first chip U1 is connected to one end of the sixth resistor R6 and the seventh resistor R7, pin 5 of the first chip U1 is connected to one end of the fifth resistor R5, and pin 6 of the first chip U1 is connected to a 5V_USB_VBUS power supply; the base of the first transistor Q1 is connected to one end of the first resistor R1, the emitter of the first transistor Q1 is connected to a 3V3 power supply, and the The collector of the first transistor Q1 is connected to the other end of the third resistor R3; the other end of the first resistor R1 is connected to the miniUSB socket control unit, the second resistor R2 is connected to the base and emitter of the first transistor Q1, the other end of the fourth resistor R4 is grounded, the other end of the fifth resistor R5 is grounded, the other end of the sixth resistor R6 is connected to the MCU control unit, and the other end of the seventh resistor R7 is connected to the 3V3 power supply; one end of the first capacitor C1 is connected to the 5V power supply, and the other end is grounded; one end of the second capacitor C2 is connected to the 5V_USB_VBUS power supply, and the other end is grounded.
[0034] Specifically, the miniUSB female socket control unit includes a first interface J1 and a second chip ESD;
[0035] Pin 1 of the first interface J1 is a 5V power port, pin 2 of the first interface J1 is a D- negative port, pin 3 of the first interface J1 is a D+ positive port, pin 4 of the first interface J1 is an ID port, and pin 5 of the first interface J1 is a GND ground port; pin 1 of the second chip ESD is a GND ground port, pin 2 of the second chip ESD is an IO port, pin 3 of the second chip ESD is an IO port, and pin 4 of the second chip ESD is a VCC power port;
[0036] Pin1 of the first interface J1 is connected to pin4 of the second chip ESD, pin2 of the first interface J1 is connected to pin3 of the second chip ESD, pin3 of the first interface J1 is connected to pin2 of the second chip ESD, pin5 of the first interface J1 is connected to pin1 of the second chip ESD, and pin4 of the first interface J1 is connected to the USB power control unit.
[0037] Specifically, the miniUSB female socket interface realizes identification of compatibility with Type A USB access by externally connecting a transition harness with a Type A USB female socket interface; the second interface J2 of the transition harness with a Type A USB female socket interface is connected to the first interface J1.
[0038] The GND end of the second interface J2 is connected to pin5 of the first interface J1, the USB_DP end of the second interface J2 is connected to pin3 of the first interface J1, the USB_DN end of the second interface J2 is connected to pin2 of the first interface J1, and the USB_VBUS end of the second interface J2 is connected to pin1 of the first interface J1.
[0039] In this embodiment, the transition harness with the A-type USB female interface is connected to the miniUSB female interface, and the miniUSB female control unit automatically recognizes that the transition harness with the A-type USB female interface is inserted. The media of the A-type USB interface include a USB flash drive, etc., which are connected to the transition harness with the A-type USB female interface to communicate with the PCB board. In this way, the function of using only one miniUSB female interface to be compatible with the A-type USB interface is realized, the interface space occupied by the A-type USB female interface is reduced, the difficulty of Layout routing is reduced, and the opening is reduced.
[0040] In this embodiment, the MCU control unit includes a third chip MCU, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, and an eleventh resistor R11;
[0041] The USB_DN end of the third chip MCU is connected to one end of the eighth resistor R8, and the other end of the eighth resistor is connected to pin3 of the second chip ESD; the USB_DP end of the third chip MCU is connected to one end of the ninth resistor R9, and the other end of the ninth resistor is connected to pin2 of the second chip ESD; the GPIO end of the third chip MCU is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to pin4 of the first interface J1; the USB_VBUS end of the third chip MCU is connected to the eleventh resistor, and the other end of the eleventh resistor is connected to pin4 of the second chip ESD; the GPIO end of the third chip MCU is also connected to the USB power control unit.
[0042] Specifically, the working scenarios, working principles and conditions of miniUSB and Type A USB are different. When the miniUSB harness is connected to the host computer including a PC, and the host computer software on the computer is used to burn programs or read data for the target products of the automotive electronic system (such as instruments, IVI central control and other cockpits), the computer is the host, providing a 5V working power supply for USB communication, and the target product of the automotive electronic system is the slave, and controls the 5V working power supply that does not need to be output for USB communication. When using the Type A USB interface, the connection with the host computer is disconnected, and the Type A USB interface medium including the Type A interface U disk is inserted into the target product of the automotive electronic system for program upgrades or data reading operations, the target product of the automotive electronic system is the host, and the 5V working power supply for USB communication needs to be controlled, and the Type A interface U disk is the slave.
[0043] In this embodiment, the first resistor R1 and pin4 of the first interface J1 are connected to form a USB_OTG_ID port; if the USB_OTG_ID port signal is high, the state of the miniUSB female interface is no-load or connected to the host computer through a miniUSB harness; if the USB_OTG_ID port signal is low, the state of the miniUSB female interface is connected to a U disk through the transition harness with a type A USB female interface.
[0044] If the USB_OTG_ID port signal is at a high level, the USB power control unit does not output 5V_USB_VBUS power; if the USB_OTG_ID port signal is at a low level, the USB power control unit outputs 5V_USB_VBUS power.
[0045] Specifically, in the target product of the automotive electronic system (such as the instrument, IVI central control and other cockpits), the automotive miniUSB compatible type A USB automatic identification module provided in this embodiment can automatically identify whether the USB end is connected to a host computer or a type A interface U disk, and according to the operation command, the corresponding predetermined function is executed according to the established USB protocol. If there is an abnormality during the period, a reset, exit and return mechanism is set. The control module in the target product of the automotive electronic system automatically identifies the type of connection medium and whether it belongs to the host or the slave through the USB_OTG_ID port signal state. That is, when the USB_OTG_ID port signal is high, the target product of the automotive electronic system determines that it is in the slave state, and the USB module is connected to the host computer or the unloaded and unconnected state at this time, and the output 5V_USB_VBUS power supply is controlled to be disconnected. When the USB_OTG_ID port signal is low, the target product of the automotive electronic system determines that it is the host, and the USB module is connected to the type A interface U disk at this time, and the output 5V_USB_VBUS power supply is controlled to be output.
[0046] In one embodiment, the sixth resistor R6 is connected to the GPIO terminal of the MCU control unit to form a USB_FLG_IO port; if the USB_FLG_IO port signal is high, the USB power control unit does not have an overcurrent fault; if the USB_FLG_IO port signal is low, the USB power control unit has an overcurrent fault. If the USB_FLG_IO port signal is low, the third chip MCU controls the 3V3 power supply to be disconnected, and the 5V_USB_VBUS power supply is also disconnected at the same time.
[0047] According to the automotive miniUSB compatible type A USB automatic identification module provided by the embodiment of the present invention, it is compatible with miniUSB and type A USB in circuit principle. And in the physical device, only the miniUSB female socket interface is retained on the PCB board. When connected to the host computer, the wiring harness can be directly plugged in at both ends; if a USB flash drive with a type A USB interface needs to be plugged in, it needs to be connected through an external transition harness. The automotive miniUSB compatible type A USB automatic identification module provided by the embodiment of the present invention is only provided with a miniUSB female socket interface, and the USB power control unit on the PCB board is connected to the miniUSB female socket control unit to form a USB_OTG_ID port. By directly monitoring the signal of the USB_OTG_ID port, the connection status of the miniUSB female socket interface can be automatically identified, and different USB connection functions are realized. There is no need to weld the type A USB female socket at the same time, which not only saves the design physical cost, reduces the layout space, reduces the difficulty of Layout routing, but also reduces the dust intrusion caused by the structural window exposure, abnormal electrical short circuit, and ESD impact. Risk of failure caused by.
[0048] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention. Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0049] The above is a detailed introduction to the automotive miniUSB compatible Type A USB automatic identification module provided in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A miniUSB compatible A-type USB automatic identification module for vehicles, characterized in that: include: A PCB board and a miniUSB female socket interface, wherein the miniUSB female socket interface is welded on the PCB board; The PCB board includes a USB power control unit, a miniUSB female socket control unit and an MCU control unit; the miniUSB female socket interface is connected to the miniUSB female socket control unit; the USB power control unit is connected to the miniUSB female socket control unit to form a USB_OTG_ID port, and the MCU control unit automatically identifies the connection status of the miniUSB female socket interface by detecting the signal of the USB_OTG_ID port; The connection status of the miniUSB female socket interface includes the current miniUSB connection status, the current A-type USB connection status and the current no-load status; The miniUSB female socket control unit includes a first interface J1 and a second chip ESD; Pin 1 of the first interface J1 is a 5V power port, pin 2 of the first interface J1 is a D- negative port, pin 3 of the first interface J1 is a D+ positive port, pin 4 of the first interface J1 is an ID port, and pin 5 of the first interface J1 is a GND ground port; pin 1 of the second chip ESD is a GND ground port, pin 2 of the second chip ESD is an IO port, pin 3 of the second chip ESD is an IO port, and pin 4 of the second chip ESD is a VCC power port; Pin 1 of the first interface J1 is connected to pin 4 of the second chip ESD, pin 2 of the first interface J1 is connected to pin 3 of the second chip ESD, pin 3 of the first interface J1 is connected to pin 2 of the second chip ESD, pin 5 of the first interface J1 is connected to pin 1 of the second chip ESD, and pin 4 of the first interface J1 is connected to the USB power control unit; The miniUSB female socket interface realizes identification of compatible A-type USB access by externally connecting a transition harness with an A-type USB female socket interface; the second interface J2 of the transition harness with an A-type USB female socket interface is connected to the first interface J1; The GND end of the second interface J2 is connected to pin5 of the first interface J1, the USB_DP end of the second interface J2 is connected to pin3 of the first interface J1, the USB_DN end of the second interface J2 is connected to pin2 of the first interface J1, and the USB_VBUS end of the second interface J2 is connected to pin1 of the first interface J1.
2. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 1, characterized in that: The USB power control unit includes a first chip U1, a first transistor Q1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first capacitor C1 and a second capacitor C2; Pin 1 of the first chip U1 is connected to a 5V power supply, pin 2 of the first chip U1 is grounded, pin 3 of the first chip U1 is connected to one end of the third resistor R3 and the fourth resistor R4, pin 4 of the first chip U1 is connected to one end of the sixth resistor R6 and the seventh resistor R7, pin 5 of the first chip U1 is connected to one end of the fifth resistor R5, and pin 6 of the first chip U1 is connected to a 5V_USB_VBUS power supply; the base of the first transistor Q1 is connected to one end of the first resistor R1, the emitter of the first transistor Q1 is connected to a 3V3 power supply, and the The collector of the first transistor Q1 is connected to the other end of the third resistor R3; the other end of the first resistor R1 is connected to the miniUSB socket control unit, the second resistor R2 is connected to the base and emitter of the first transistor Q1, the other end of the fourth resistor R4 is grounded, the other end of the fifth resistor R5 is grounded, the other end of the sixth resistor R6 is connected to the MCU control unit, and the other end of the seventh resistor R7 is connected to the 3V3 power supply; one end of the first capacitor C1 is connected to the 5V power supply, and the other end is grounded; one end of the second capacitor C2 is connected to the 5V_USB_VBUS power supply, and the other end is grounded.
3. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 2, characterized in that: The MCU control unit includes a third chip MCU, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, and an eleventh resistor R11; The USB_DN end of the third chip MCU is connected to one end of the eighth resistor R8, and the other end of the eighth resistor is connected to pin3 of the second chip ESD; the USB_DP end of the third chip MCU is connected to one end of the ninth resistor R9, and the other end of the ninth resistor is connected to pin2 of the second chip ESD; the GPIO end of the third chip MCU is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to pin4 of the first interface J1; the USB_VBUS end of the third chip MCU is connected to the eleventh resistor, and the other end of the eleventh resistor is connected to pin4 of the second chip ESD; the GPIO end of the third chip MCU is also connected to the USB power control unit.
4. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 2, characterized in that: The first resistor R1 and pin4 of the first interface J1 are connected to form a USB_OTG_ID port; if the USB_OTG_ID port signal is high, the miniUSB female interface is in a no-load state or is connected to a host computer through a miniUSB harness; if the USB_OTG_ID port signal is low, the miniUSB female interface is in a state of connecting to a U disk through the transition harness with a type A USB female interface.
5. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 4, characterized in that: If the USB_OTG_ID port signal is at a high level, the USB power control unit does not output 5V_USB_VBUS power; if the USB_OTG_ID port signal is at a low level, the USB power control unit outputs 5V_USB_VBUS power.
6. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 3, characterized in that: The sixth resistor R6 is connected to the GPIO end of the MCU control unit to form a USB_FLG_IO port; if the USB_FLG_IO port signal is at a high level, the USB power control unit has no overcurrent fault; if the USB_FLG_IO port signal is at a low level, the USB power control unit has an overcurrent fault.
7. The vehicle miniUSB compatible A-type USB automatic identification module according to claim 6, characterized in that: If the USB_FLG_IO port signal is at a low level, the third chip MCU controls the 3V3 power supply to be disconnected, and the 5V_USB_VBUS power supply is also disconnected at the same time.
Citation Information
Patent Citations
Circuit and method for detecting insertion of USB equipment
CN113900871A
CC detection function circuit of Type C
CN215986443U