Plug-in detection circuit applied to data interface and electronic equipment

By introducing pull-up resistors and unidirectional switching devices into the data interface, combined with the detection module design, the plug-in detection is achieved while the corrosion resistance is improved, solving the problem that plug-in detection and corrosion resistance are difficult to achieve simultaneously in the existing technology.

CN223842102UActive Publication Date: 2026-01-27DONGGUAN HUABEL ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423319709.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2026-01-27
Estimated Expiration
2034-12-31

AI Technical Summary

Technical Problem

Existing plug-in testing methods cannot simultaneously meet the requirements of plug-in testing and corrosion prevention, especially in humid environments where data interfaces are easily corroded.

Method used

The design employs a plug-in detection circuit that includes a first data interface, a pull-up resistor, a detection module, and a switching device (such as a diode) with unidirectional conduction characteristics. Through the cooperation of the detection module and the switching device, the plug-in status is detected, and the data interface voltage is kept to zero when not plugged in to prevent corrosion.

Benefits of technology

While enabling plug-in detection, it also improves the corrosion resistance of the data interface, avoiding corrosion problems caused by voltage on the data interface when it is not plugged in, and ensuring effective protection of the data interface even in humid environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223842102U_ABST
    Figure CN223842102U_ABST
Patent Text Reader

Abstract

The utility model relates to the field of power electronic devices, in particular to a plug-in detection circuit applied to a data interface and electronic equipment, which comprise a first data interface, a pull-up resistor, a detection module and a switching device with a one-way conduction characteristic, the detection module is respectively connected with one end of the pull-up resistor and one end of the switching device; the other end of the pull-up resistor is connected with a power supply; the other end of the switching device is connected with one end of a ground wire pin of the first data interface; the other end of the ground wire pin of the first data interface is used as a plugging inlet; and the conduction direction of the switching device is from the detection module to the first data interface. The plug-in detection device is used for solving the problem that plug-in detection and corrosion prevention are difficult to meet at the same time in an existing plug-in detection mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of power electronic devices, and in particular to a plug-in detection circuit and electronic device for data interfaces. Background Technology

[0002] Data interfaces are widely used in terminal devices due to their high-speed data transmission capabilities. For example, in existing technologies, a data interface is typically installed in the terminal device, and a corresponding data interface is installed in the line used for charging or data transmission. In use, the data interface on the terminal side is plugged into the data interface on the line side, connecting the line to the terminal to perform operations such as charging or data transmission. The terminal detects the data interface plugging to determine if a connection has been established between the line-side data interface and its own data interface.

[0003] However, in existing connection detection methods, when the line is not plugged into the terminal, the data interface on the terminal side continues to have voltage, making it susceptible to corrosion in humid environments. Therefore, existing connection detection methods struggle to simultaneously satisfy both connection detection and corrosion prevention requirements. Utility Model Content

[0004] This utility model discloses a plug-in detection circuit and electronic device for data interfaces, which solves the problem that existing plug-in detection methods cannot simultaneously meet the requirements of plug-in detection and corrosion prevention.

[0005] This utility model embodiment provides a plug-in detection circuit for a data interface, including:

[0006] The first data interface, pull-up resistor, detection module, and switching device with unidirectional conduction characteristics;

[0007] The detection module is connected to one end of the pull-up resistor and one end of the switching device; the other end of the pull-up resistor is connected to the power supply.

[0008] The other end of the switching device is connected to one end of the ground pin of the first data interface;

[0009] The other end of the ground pin of the first data interface serves as the insertion port;

[0010] The conduction direction of the switching device is from the detection module to the first data interface.

[0011] Optionally, the switching device includes a diode;

[0012] The anode of the diode is connected to the pull-up resistor and the detection module, respectively.

[0013] The cathode of the diode is connected to one end of the ground pin of the first data interface.

[0014] Optionally, a second data interface may also be included;

[0015] One end of the ground pin of the second data interface is grounded;

[0016] The other end of the ground pin of the second data interface is used to connect to the ground pin of the first data interface.

[0017] Optionally, the detection module is provided with a GPIO interface;

[0018] The GPIO interface is connected to one end of the switching device and one end of the pull-up resistor, respectively.

[0019] Optionally, the detection module includes a central processing unit;

[0020] The central processing unit is connected to one end of the switching device and one end of the pull-up resistor through the GPIO interface.

[0021] Optionally, the first data interface is a USB interface.

[0022] Optionally, the second data interface is a USB interface.

[0023] Optionally, the USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

[0024] Optionally, the USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

[0025] This invention also provides an electronic device, including any of the above-described insertion detection circuits.

[0026] As can be seen from the above technical solutions, the embodiments of this utility model have the following advantages:

[0027] This invention provides a plug-in detection circuit for a data interface, comprising: a first data interface, a pull-up resistor, a detection module, and a switching device with unidirectional conduction characteristics; the detection module is connected to one end of the pull-up resistor and one end of the switching device; the other end of the pull-up resistor is connected to a power supply; the other end of the switching device is connected to one end of the ground pin of the first data interface; the other end of the ground pin of the first data interface serves as a plug-in entry point; the conduction direction of the switching device is from the detection module to the first data interface.

[0028] In this invention, the other end of the ground pin of the first data interface serves as a plug-in port for connection with other data interfaces. When the plug-in port is connected to another data interface, the detection module, switching device, first data interface, and other data interfaces form a closed loop, thereby pulling down the voltage level of the interface connected to the pull-up resistor in the detection module. When the plug-in port is not connected to another data interface and remains floating, the detection module, switching device, and first data interface do not form a closed loop, the switching device is cut off, thus making the voltage of the plug-in port zero, and the voltage level of the interface connected to the pull-up resistor in the detection module remains high. Therefore, in the plug-in detection circuit provided by this invention, the plug-in status of the plug-in port can be fed back based on the voltage change of the interface connected to the pull-up resistor in the detection module, realizing plug-in detection. Furthermore, when the plug-in port is floating, the voltage of the plug-in port can be made zero based on the cut-off switching device, improving the corrosion resistance of the first data interface and avoiding the situation in the prior art where the data interface on the terminal side continuously has voltage when the line is not plugged into the terminal, making the data interface on the terminal side susceptible to corrosion.

[0029] Therefore, the plug-in detection circuit for data interfaces provided by this utility model can be used to realize plug-in detection and has the function of corrosion prevention, which solves the problem that existing plug-in detection methods cannot simultaneously meet the requirements of plug-in detection and corrosion prevention. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of a plug-in detection circuit for a data interface provided in an embodiment of the present invention;

[0032] Figure 2 This is another structural schematic diagram of a plug-in detection circuit for a data interface provided in an embodiment of the present utility model;

[0033] Figure 3 This is a schematic diagram of the plug-in detection circuit without diodes provided in an embodiment of this utility model. Detailed Implementation

[0034] This invention provides a plug-in detection circuit and electronic device for data interfaces, which solves the problem that existing plug-in detection methods cannot simultaneously meet the requirements of plug-in detection and corrosion prevention.

[0035] The technical solution of this utility model will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.

[0036] In the description of this utility model, it should be noted that the terms "front," "rear," "upper," "lower," "both ends," "center," "horizontal," "inner," and "outer," etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model. Relational terms such as "first," "second," etc., are only used to distinguish one entity from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities.

[0037] Unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," "fixing," and "setting" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, a direct connection, or an indirect connection through an intermediate medium; or they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.

[0038] Please see Figure 1 An embodiment of a plug-in detection circuit for a data interface provided in this utility model includes: a first data interface 1, a pull-up resistor R1, a detection module 2, and a switching device 3 with unidirectional conduction characteristics;

[0039] The detection module 2 is connected to one end of the pull-up resistor R1 and one end of the switching device 3; the other end of the pull-up resistor R1 is connected to the power supply.

[0040] The other end of the switching device 3 is connected to one end of the ground pin of the first data interface 1;

[0041] The other end of the ground pin of the first data interface 1 serves as the insertion port;

[0042] The conduction direction of the switching device 3 is from the detection module 2 to the first data interface 1.

[0043] It should be noted that the power supply voltage can be selected according to the actual situation. In one example, the power supply voltage can be 1.8V.

[0044] The switching device 3 has a unidirectional conduction characteristic, with its conduction direction being from the detection module 2 to the first data interface 1. Based on this characteristic, when the detection module 2, the switching device 3, and the first data interface 1 are in a closed loop, the detection module 2 is connected to the first data interface 1 through the switching device 3. When the detection module 2, the switching device 3, and the first data interface 1 are not in a closed loop, the switching device 3 is turned off, and the detection module 2 is disconnected from the first data interface 1.

[0045] In this embodiment, the other end of the ground pin of the first data interface 1 serves as a plug-in port for plugging into other data interfaces.

[0046] When the other end of the ground pin of the first data interface 1 is not connected to other data interfaces and remains floating, the switching device 3, the ground pin of the first data interface 1, and the detection module 2 do not form a closed loop. Therefore, the switching device 3 is in the off state, which de-energizes the other end of the ground pin of the first data interface 1. Based on the connection relationship between the power supply and the pull-up resistor R1, and the connection relationship between the pull-up resistor R1 and the detection module 2, the interface in the detection module 2 connected to the pull-up resistor R1 is at a high level under the action of the power supply and the pull-up resistor R1.

[0047] When the other end of the ground pin of the first data interface 1 is connected to other data interfaces, since the switching device 3 has unidirectional conduction characteristics and the conduction direction of the switching device 3 is from the detection module 2 to the first data interface 1, the detection module 2, the switching device 3, the ground pin of the first data interface 1, and the other data interfaces form a closed conduction loop, and the level at the interface in the detection module 2 connected to the pull-up resistor R1 is pulled low.

[0048] Therefore, based on the voltage level change at the interface connected to the pull-up resistor R1 of the detection module 2, it can be determined whether the first data interface 1 is plugged into its data interface, thus realizing plug-in detection. Simultaneously, when the first data interface 1 is not plugged into its data interface, there is no voltage at the other end of the ground pin of the first data interface 1. This avoids the situation in existing plug-in detection methods where a continuous voltage exists on the data interface on the terminal side when the line is not plugged into the terminal, which can easily cause corrosion. This improves the corrosion resistance of the data interface.

[0049] Therefore, the plug-in detection circuit for data interfaces provided by this utility model can be used to realize plug-in detection and has the function of corrosion prevention, which solves the problem that existing plug-in detection methods cannot simultaneously meet the requirements of plug-in detection and corrosion prevention.

[0050] In a specific embodiment, such as Figure 2 As shown, the switching device includes diode D1;

[0051] The anode of diode D1 is connected to pull-up resistor R1 and the detection module, respectively;

[0052] The cathode of diode D1 is connected to one end of the ground pin of the first data interface 1.

[0053] It should be noted that when the first data interface 1 is connected to other data interfaces, diode D1 is turned on. When the first data interface 1 is not connected to other data interfaces, the cathode of diode D1 is floating, so diode D1 is turned off, and the ground pin of the first data interface 1 has no voltage.

[0054] In one specific embodiment, a second data interface 4 is also included;

[0055] One end of the ground pin of the second data interface 4 is grounded;

[0056] The other end of the ground pin of the second data interface 4 is used to connect to the ground pin of the first data interface 1.

[0057] It should be noted that when the first data interface 1 and the second data interface 4 are connected, the ground pin of the first data interface 1 is grounded through the second data interface 4, forming a closed loop. This causes diode D1 to conduct, pulling down the voltage level of the interface connected to the pull-up resistor R1 in the detection module. When the first data interface 1 and the second data interface 4 are not connected, the other end of the ground pin of the first data interface 1 remains floating, causing the cathode of diode D1 to float and diode D1 to be cut off. This disconnects the ground pin of the first data interface 1 from the power supply VCC, therefore, there is no voltage at the other end of the ground pin of the first data interface 1.

[0058] In one specific embodiment, the detection module is provided with a GPIO interface;

[0059] The GPIO interface is connected to one end of the switching device and one end of the pull-up resistor R1.

[0060] Specifically, when the switching device is diode D1, the GPIO interface is connected to the anode of diode D1.

[0061] In one specific embodiment, the detection module includes a central processing unit;

[0062] The central processing unit is connected to one end of the switching device and one end of the pull-up resistor R1 through the GPIO interface.

[0063] like Figure 2 As shown, the CPU's GPIO interface is connected to the anode of diode D1.

[0064] In one specific embodiment, the first data interface 1 is a USB interface.

[0065] In one specific embodiment, the USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

[0066] It should be noted that the first data interface 1 can be a USB interface. When the first data interface 1 is a USB interface, it can specifically adopt a UCB Type-C interface.

[0067] When the first data interface 1 is a UCB Type-C interface, the ground pin of the first data interface 1 (i.e., the ground pin of the UCB Type-C interface) is pin B12. It is understood that existing Type-C interfaces have 24 pins, and each pin has a unique number; in this embodiment, the ground pin is pin B12.

[0068] In one specific embodiment, the second data interface 4 is a USB interface.

[0069] In one specific embodiment, the USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

[0070] It should be noted that the second data interface 4 can be a USB interface. When the second data interface 4 is a USB interface, it can specifically adopt a UCB Type-C interface.

[0071] When the second data interface 4 is a UCB Type-C interface, the ground pin of the second data interface 4 (i.e., the ground pin of the UCB Type-C interface) is pin B12.

[0072] The following will explain the principle of the plug-in detection circuit provided by this utility model with specific examples.

[0073] Assume that the second data interface 4 is located in the data line, the first data interface 1 is located in the terminal, and the power supply VCC is 1.8V.

[0074] like Figure 2 As shown, when no data line is inserted, pin B12 of the first data interface 1 is floating. The CPU's GPIO port is at a high level by default under the action of pull-up resistor R1R1 and power supply VCC_1.8. Since the cathode of diode D1 is floating, diode D1 is cut off, and there is no voltage on pin B12 of the first data interface 1. Therefore, when the first data interface 1 is exposed to a humid environment, it is not easily corroded.

[0075] Since pin B12 of the second data interface 4 is grounded, when the data line is inserted, pin B12 of the first data interface 1 is connected to pin B12 of the second data interface 4 and grounded through the second data interface 4. Therefore, diode D1 is forward-biased, and the CPU's GPIO port level is pulled low, changing from high to low. Thus, the level change of the GPIO port can be used to determine whether the data line is inserted, realizing plug-in detection.

[0076] Compared to Figure 3 The diagram shows a connection detection circuit without a diode D1 between the B12 pin of the first data interface 1 and the connection path of the detection module. This embodiment solves the problem of existing connection detection methods failing to simultaneously meet the requirements of connection detection and corrosion prevention by placing a diode D1 between the B12 pin of the first data interface 1 and the connection path of the detection module. Furthermore, the detection circuit is simple and low-cost overall.

[0077] This invention also provides an electronic device, including a plug-in detection circuit as described in any of the above embodiments.

[0078] It should be noted that the electronic device in this embodiment is a device that supports a data interface, such as one or more of a mobile phone, tablet, and laptop, and includes other supporting devices for enabling plug-in. Taking a mobile phone as an example, the mobile phone body can be provided with a first data interface, a pull-up resistor, a detection module, and a switching device in the plug-in detection circuit, and a second data interface can be provided in the data cable used with the mobile phone.

[0079] The above provides a detailed description of the plug-in detection circuit and electronic device for data interfaces provided by this utility model. For those skilled in the art, based on the ideas of the embodiments of this utility model, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this utility model.

Claims

1. A connection detection circuit for a data interface, characterized in that, include: The first data interface, pull-up resistor, detection module, and switching device with unidirectional conduction characteristics; The detection module is connected to one end of the pull-up resistor and one end of the switching device; the other end of the pull-up resistor is connected to the power supply. The other end of the switching device is connected to one end of the ground pin of the first data interface; The other end of the ground pin of the first data interface serves as the insertion port; The conduction direction of the switching device is from the detection module to the first data interface.

2. The insertion detection circuit according to claim 1, characterized in that, The switching device includes a diode; The anode of the diode is connected to the pull-up resistor and the detection module, respectively. The cathode of the diode is connected to one end of the ground pin of the first data interface.

3. The insertion detection circuit according to claim 2, characterized in that, It also includes a second data interface; One end of the ground pin of the second data interface is grounded; The other end of the ground pin of the second data interface is used to connect to the ground pin of the first data interface.

4. The insertion detection circuit according to claim 1, characterized in that, The detection module is equipped with a GPIO interface; The GPIO interface is connected to one end of the switching device and one end of the pull-up resistor, respectively.

5. The insertion detection circuit according to claim 4, characterized in that, The detection module includes a central processing unit; The central processing unit is connected to one end of the switching device and one end of the pull-up resistor through the GPIO interface.

6. The insertion detection circuit according to claim 1, characterized in that, The first data interface is a USB interface.

7. The insertion detection circuit according to claim 3, characterized in that, The second data interface is a USB interface.

8. The insertion detection circuit according to claim 6, characterized in that, The USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

9. The insertion detection circuit according to claim 7, characterized in that, The USB interface is a UCB Type-C interface; the ground pin of the UCB Type-C interface is pin B12.

10. An electronic device, characterized in that, Includes the insertion detection circuit as described in any one of claims 1-9.