Pogopin protection methods, devices, electronic devices, and storage media

By using resistors and MOSFETs to detect voltage signal changes in the Pogopin protection device of electronic devices, the problem of electrochemical corrosion caused by moisture or water ingress at the connector interface is solved, achieving timely protection and extended lifespan of the Pogopin.

CN116345247BActive Publication Date: 2026-05-26HUAQIN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAQIN TECH CO LTD
Filing Date
2023-03-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Connector interfaces of electronic devices are prone to electrochemical corrosion in humid or water-infiltrated conditions. Existing technologies lack effective detection methods, resulting in a shortened lifespan of connector interfaces.

Method used

A Pogopin protection device is adopted, including a first resistor, a second resistor, a third resistor, a first field-effect transistor, and a detection and control module. It determines whether the Pogopin is wet by detecting changes in the voltage signal, and reduces the voltage of the power supply pin to reduce electrochemical corrosion when it is wet.

Benefits of technology

It enables timely detection and treatment of moisture conditions in Pogopins, reduces the likelihood of electrochemical corrosion, and extends the service life of Pogopins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116345247B_ABST
    Figure CN116345247B_ABST
Patent Text Reader

Abstract

This application relates to the field of electronic equipment technology, and discloses a method, apparatus, electronic device, and storage medium for protecting a Pogopin. In this apparatus, a first end of a first resistor is connected to a power supply voltage input terminal, and a second end of the first resistor is connected to a first end of a second resistor; a first end of a third resistor is connected to a detection pin of the target Pogopin, and a second end of the third resistor is connected to a second end of the second resistor; the gate of a first field-effect transistor is connected to a control signal input terminal, and its drain is connected to the connection point of the first and second resistors; a voltage detection terminal is connected to the connection point of the second and third resistors; the voltage signal input to the control signal input terminal is defaulted to a high level; a detection control module is used to detect the voltage signal output from the voltage detection terminal, and when its voltage value exceeds a first preset threshold, it determines that the target Pogopin is damp. This allows for timely detection of moisture or water ingress into the connector interface of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to a method, apparatus, electronic device, and storage medium for protecting a Pogopin. Background Technology

[0002] In today's fast-paced world, electronic devices have become indispensable tools for people's lives, studies, work, entertainment, and leisure. During use, liquids such as water, raindrops, or sweat may enter the connector interfaces, including the charging port. In such cases, the Pogopins of the connector interface are prone to electrochemical corrosion, damaging the connector interface and affecting the normal use of the electronic device.

[0003] However, most electronic devices in China currently lack moisture detection capabilities for their connector interfaces. This significantly hinders the resolution of connector moisture issues and greatly increases the likelihood of connector interface corrosion. Therefore, how to detect and assess moisture or water ingress in electronic device connector interfaces has become an urgent problem to solve. Summary of the Invention

[0004] The purpose of this application is to provide a method, apparatus, electronic device, and storage medium for protecting Pogopins, for detecting when the connector interface of an electronic device is damp or infiltrated by water.

[0005] To achieve the above objectives, embodiments of this application provide a protection device for a Pogopin, comprising: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and a detection and control module; wherein, a first end of the first resistor is connected to a power supply voltage input terminal, and a second end of the first resistor is connected to a first end of the second resistor; a first end of the third resistor is connected to a detection pin of the target Pogopin, and a second end of the third resistor is connected to a second end of the second resistor; the gate of the first FET is connected to a control signal input terminal, and the drain of the first FET is connected to the junction of the first resistor and the second resistor; a voltage detection terminal is connected to the junction of the second resistor and the third resistor; the voltage signal input to the control signal input terminal is defaulted to a high level; the detection and control module is used to detect the voltage signal output by the voltage detection terminal, and when the voltage value of the detected voltage signal exceeds a first preset threshold, it determines that the target Pogopin is damp.

[0006] To achieve the above objectives, embodiments of this application also provide a method for protecting a Pogopin, applied to a detection and control module in a Pogopin protection device. The Pogopin protection device includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and the detection and control module. The first end of the first resistor is connected to a power supply voltage input terminal, and the second end of the first resistor is connected to the first end of the second resistor. The first end of the third resistor is connected to a detection pin of the target Pogopin, and the second end of the third resistor is connected to the second end of the second resistor. The gate of the first FET is connected to a control signal input terminal, and the drain of the first FET is connected to the junction of the first and second resistors. The voltage detection terminal is connected to the junction of the second and third resistors. The voltage signal input to the control signal input terminal is defaulted to a high level. The method includes: detecting the voltage signal output from the voltage detection terminal; and determining that the target Pogopin is damp when the detected voltage value exceeds a first preset threshold.

[0007] To achieve the above objectives, embodiments of this application also provide an electronic device, including: a protection device for the Pogopin as described above.

[0008] To achieve the above objectives, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for protecting the Pogopin.

[0009] In an embodiment of this application, the protection device for the Pogopin includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and a detection and control module. The first end of the first resistor is connected to the power supply voltage input terminal, and the second end of the first resistor is connected to the first end of the second resistor. The first end of the third resistor is connected to the detection pin of the target Pogopin, and the second end of the third resistor is connected to the second end of the second resistor. The gate of the first FET is connected to the control signal input terminal, and the drain of the first FET is connected to the connection point of the first and second resistors. A voltage detection terminal is connected to the connection point of the second and third resistors. The voltage signal input to the control signal input terminal is defaulted to a high level. The detection and control module is used to detect the voltage signal output from the voltage detection terminal, and when the detected voltage value exceeds a first preset threshold, it determines that the target Pogopin is damp. Based on the above protection device for the Pogopin, the voltage output from the detection terminal is equal to VBUSxR2 / (R2+R3+RLiquid), that is, the product of the voltage applied to the power supply pin and the resistance value of the second resistor divided by the sum of the impedances between the second resistor, the third resistor, and the detection pin and the power supply pin. When the target Pogopin is damp, its detection and power supply pins are connected by liquid, reducing the impedance RLiquid between the two pins. This leads to an increase in the voltage output from the voltage detection terminal. Therefore, the detection control module monitors the voltage signal output from the voltage detection terminal to promptly detect Pogopin dampness. This allows for timely intervention to reduce the likelihood of electrochemical corrosion and extend the lifespan of the Pogopin.

[0010] In some embodiments, the detection control module is further configured to configure the voltage signal of the power supply pin of the target Pogopin to a low level after determining that the target Pogopin is damp. The detection control module can automatically configure the voltage signal (i.e., VBUS) of the power supply pin of the target Pogopin to a low level after determining that the target Pogopin is damp. Compared to when the power supply pin is at a high level, this can reduce the electrochemical corrosion effect and effectively protect the power supply pin of the target Pogopin.

[0011] In some embodiments, the detection control module is further configured to, after determining that the target Pogopin is damp, configure the voltage signal input to the control signal input terminal to a low level, and when the detected voltage value of the voltage signal exceeds a second preset threshold, determine that the target Pogopin is no longer damp, and switch the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal to a high level. When it is determined that the target Pogopin is no longer damp, the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal are switched to a high level to facilitate continued dampness detection of the target Pogopin.

[0012] In some embodiments, the protection device for the Pogopin further includes an analog switch. A first terminal of the third resistor and the detection pin of the target Pogopin are connected via the analog switch. A first output terminal of the analog switch is connected to the first terminal of the third resistor, and a second output terminal of the analog switch is connected to the identification signal acquisition terminal. The analog switch can connect the path between the detection pin and the identification signal acquisition terminal when the signal from the detection pin is needed for identification, and can connect the path between the detection pin and the third resistor at other times (or when protection of the target Pogopin is required), ensuring the normal operation of the original function of the electronic device including the target Pogopin.

[0013] In some embodiments, the protection device of the Pogopin further includes a comparator, a fourth resistor, and a fifth resistor; wherein, the first input terminal of the comparator is connected to the connection point of the second and third resistors, the second input terminal of the comparator is connected to the first terminal of the fourth resistor, the second terminal of the fourth resistor is connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is connected to the voltage detection terminal, and the output terminal of the comparator is connected to the connection point of the fourth and fifth resistors. The comparator and the fourth resistor constitute a voltage follower, which can adjust the magnitude of the voltage signal when the input voltage signal exceeds a preset value, thus protecting devices such as ADCs (analog-to-digital converters) used to acquire voltage signals at the voltage detection terminal. Furthermore, the fifth resistor can act as a voltage divider for the signal output by the voltage follower, further protecting subsequent devices used to acquire voltage signals. Attached Figure Description

[0014] One or more embodiments are illustrated by way of example with the corresponding pictures in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0015] Figure 1 This is a schematic diagram of the protective device for Pogopin according to one embodiment of this application;

[0016] Figure 2 This is a circuit block diagram of the protection device for Pogopin according to one embodiment of this application;

[0017] Figure 3a According to one embodiment of this application, the voltage divider circuit is equivalent. Figure 1 ;

[0018] Figure 3b According to one embodiment of this application, the voltage divider circuit is equivalent. Figure 2 ;

[0019] Figure 4 This is a flowchart illustrating a method for protecting a Pogopin according to an embodiment of this application.

[0020] Figure 5 This is a flowchart illustrating a method for protecting a Pogopin according to another embodiment of this application. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the various embodiments of this application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been presented in the various embodiments of this application to enable the reader to better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments.

[0022] In the description of this invention, it should be understood that the terms “comprising” and “having” as used herein, and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.

[0023] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature.

[0024] In this application, unless otherwise expressly specified and limited, the terms "connection" and "linkage" should be interpreted broadly. For example, they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; they can refer to the internal connection of two components or the interaction between two components. Unless otherwise expressly limited, those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0025] In order to address the problem in related technologies that it is difficult to detect when the connector interface of electronic devices is damp or water-damaged, which leads to a shortened lifespan of the connector interface, one embodiment of this application provides a protection device for Pogopin.

[0026] The implementation details of the Pogopin protection device in this embodiment are described below. The following content is only for understanding the implementation details of this solution and is not essential for implementing this solution. The structure of the device can be as follows: Figure 1 As shown, the device may include: a first resistor (see...) Figure 1 R1 shown in the diagram), and the second resistor (see...) Figure 1 R2 shown in the diagram), and the third resistor (see...) Figure 1 R3 shown in the diagram), the first field-effect transistor (see...) Figure 1 Q1 shown in the diagram), detection control module ( Figure 1 (not shown in the image);

[0027] Wherein, the first end of the first resistor is connected to the power supply voltage input terminal (see Figure 1 The second end of the first resistor is connected to the first end of the second resistor; the first end of the third resistor is connected to the detection pin of the target Pogopin (see the port indicated by VCC). Figure 1 The second terminal of the third resistor is connected to the second terminal of the second resistor; the gate of the first field-effect transistor (see DET) Figure 1 The G terminal of Q1 is connected to the control signal input terminal (see...). Figure 1 CTRL1 shown in the diagram, the drain of the first field-effect transistor (see CTRL1). Figure 1 The D terminal of Q1 is connected to the junction of the first resistor and the second resistor; the voltage detection terminal (see...) Figure 1 The port indicated by the VADC is connected to the junction of the second resistor and the third resistor.

[0028] To better illustrate the connection relationship between the target Pogopin and the protection device for the Pogopin provided in this embodiment, please refer to... Figure 2 The circuit block diagram of the protection device for Pogopin is shown. Figure 2The leftmost box represents the target Pogopin, where VBUS indicates the power supply pin of the target Pogopin, ID indicates the detection pin of the target Pogopin, and GND indicates the ground pin of the target Pogopin.

[0029] When liquid enters or comes into contact with the connector, the liquid connects the power supply pin and the detection pin together. Therefore, when the connector comes into contact with liquid, the voltage VBUS applied to the power supply pin will be transmitted through a process such as... Figure 1 The DET port in the diagram transmits data to the protection device of the Pogopin. Simultaneously, since the voltage signal input to the control signal input terminal is high, the first field-effect transistor is in the conducting state. The equivalent diagram of the voltage divider circuit at this time is shown below. Figure 3a As shown. Based on as Figure 3a The voltage divider circuit can be used to obtain the voltage output from the voltage detection terminal:

[0030] VADC=VBUSxR2 / (R2+R3+RLiquid).

[0031] RLiquid is the impedance between the detection pin and the power supply pin of the target Pogopin. Since the liquid connects the power supply pin and the detection pin together, the impedance value RLiquid decreases, which in turn increases the voltage signal output by the voltage detection terminal.

[0032] The detection and control module included in the protection device of the Pogopin detects the voltage signal output by the voltage detection terminal, and determines that the target Pogopin is wet when the voltage value of the detected voltage signal exceeds a first preset threshold.

[0033] It should be noted that the first preset threshold involved here can be determined based on the actual resistance value of each resistor, the voltage value applied to the power supply pin, and the voltage value of VCC.

[0034] In some embodiments, the detection and control module included in the Pogopin protection device provided in this embodiment is further configured to set the voltage signal of the power supply pin of the target Pogopin to a low level after determining that the target Pogopin is damp. In this embodiment, the detection and control module can automatically set the voltage signal (i.e., VBUS) of the power supply pin of the target Pogopin to a low level after determining that the target Pogopin is damp. Compared with the power supply pin being at a high level, this can reduce the electrochemical corrosion effect and effectively protect the power supply pin of the target Pogopin.

[0035] In addition, in some embodiments, after determining that the target Pogopin is damp, the detection control module can automatically issue a connector interface dampness alarm signal to remind the user of the electronic device to deal with the damp area in a timely manner, thereby further reducing the probability of electrochemical corrosion of the connector interface.

[0036] In some embodiments, the detection control module is further configured to, after determining that the target Pogopin is wet, configure the voltage signal input to the control signal input terminal to a low level, and when the voltage value of the detected voltage signal exceeds a second preset threshold, determine that the target Pogopin is no longer wet, and switch the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal to a high level.

[0037] In this embodiment, both the voltage signal input to the control signal input terminal and the voltage signal (i.e., VBUS) of the power supply pin of the target Pogopin are at a low level. At this time, the first field-effect transistor is cut off, and the equivalent diagram of the voltage divider circuit is shown below. Figure 3b As shown. Based on as Figure 3b The voltage divider circuit can be used to obtain the voltage output from the voltage detection terminal:

[0038] VADC = VCC x (R3 + RLiquid) / (R1 + R2 + R3 + RLiquid). As the liquid in contact with the Pogopin gradually dries, the impedance RLiquid between the detection pin and the power supply pin of the target Pogopin gradually increases, which in turn leads to an increase in the voltage VADC output from the voltage detection terminal. Therefore, in this example, when the detected VADC exceeds the second preset threshold, it is determined that the target Pogopin is no longer wet. At this time, the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal can be switched to a high level to continue the moisture detection of the target Pogopin.

[0039] In some embodiments, the protection device for the Pogopin further includes an analog switch (see...). Figure 1 The analog switch shown in the diagram connects the first terminal of the third resistor and the detection pin of the target Pogopin via the analog switch. The first output terminal of the analog switch is connected to the first terminal of the third resistor, and the second output terminal of the analog switch is connected to the identification signal acquisition terminal (see [reference]). Figure 1 (The port indicated by GPIO_ID shown in the diagram). In this example, the analog switch can connect the path between the detection pin and the identification signal acquisition terminal when the signal from the detection pin is needed for identification, and can connect the path between the detection pin and the third resistor at other times (or when the target Pogopin needs to be protected), ensuring the normal functioning of the electronic device including the target Pogopin.

[0040] In some embodiments, the protection device for the Pogopin may further include a comparator (see...). Figure 1 The comparator shown in the diagram), and the fourth resistor (see...). Figure 1 R4 shown in the diagram) and the fifth resistor (see...) Figure 1 R5 is shown in the figure; wherein, the first input terminal of the comparator is connected to the connection of the second resistor and the third resistor, the second input terminal of the comparator is connected to the first terminal of the fourth resistor, the second terminal of the fourth resistor is connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is connected to the voltage detection terminal, and the output terminal of the comparator is connected to the connection of the fourth resistor and the fifth resistor.

[0041] In this embodiment, the comparator and the fourth resistor constitute a voltage follower. This voltage follower can adjust the magnitude of the voltage signal when the input voltage signal exceeds a preset value, thus protecting devices such as ADCs (analog-to-digital converters) used to acquire voltage signals at the voltage detection terminal. Furthermore, the fifth resistor can divide the signal output by the voltage follower, further protecting subsequent devices used to acquire voltage signals.

[0042] In addition, it should be noted that Figure 1 The pull-up resistor R6 shown is used to control the first MOSFET in conjunction with the control voltage input. Additionally, the Pogopin protection device includes a first capacitor, a second capacitor, and a third capacitor (see [link to Pogopin protection device]). Figure 1 C1, C2, and C3 (shown in the diagram) are used to filter the signals transmitted in the circuit. Furthermore, as... Figure 1 and Figure 2 The protection device for the Pogopin shown also includes other ports and devices, which are not the focus of this application and will not be described here.

[0043] Furthermore, the detection control module involved in this embodiment is exemplified as follows: Figure 2 The SOC (System on Chip) shown is shown in the image.

[0044] In this embodiment, the protection device for the Pogopin includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and a detection and control module. The first end of the first resistor is connected to the power supply voltage input terminal, and the second end of the first resistor is connected to the first end of the second resistor. The first end of the third resistor is connected to the detection pin of the target Pogopin, and the second end of the third resistor is connected to the second end of the second resistor. The gate of the first FET is connected to the control signal input terminal, and the drain of the first FET is connected to the connection point of the first and second resistors. The voltage detection terminal is connected to the connection point of the second and third resistors. The voltage signal input to the control signal input terminal is defaulted to a high level. The detection and control module detects the voltage signal output from the voltage detection terminal and determines that the target Pogopin is damp when the detected voltage value exceeds a first preset threshold. Based on the above protection device for the Pogopin, the voltage output from the detection terminal is equal to VBUSxR2 / (R2+R3+RLiquid), that is, the product of the voltage applied to the power supply pin and the resistance value of the second resistor divided by the sum of the impedances between the second resistor, the third resistor, and the detection pin and the power supply pin. When the target Pogopin is damp, its detection and power supply pins are connected by liquid, reducing the impedance RLiquid between the two pins. This leads to an increase in the voltage output from the voltage detection terminal. Therefore, the detection control module monitors the voltage signal output from the voltage detection terminal to promptly detect Pogopin dampness. This allows for timely intervention to reduce the likelihood of electrochemical corrosion and extend the lifespan of the Pogopin.

[0045] One embodiment of this application relates to a protection method for a Pogopin, applied to a detection and control module in a Pogopin protection device. The Pogopin protection device includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and the detection and control module; wherein, a first terminal of the first resistor is connected to a power supply voltage input terminal, and a second terminal of the first resistor is connected to a first terminal of the second resistor; a first terminal of the third resistor is connected to a detection pin of the target Pogopin, and a second terminal of the third resistor is connected to a second terminal of the second resistor; the gate of the first FET is connected to a control signal input terminal, and the drain of the first FET is connected to the junction of the first and second resistors; the voltage detection terminal is connected to the junction of the second and third resistors; the voltage signal input to the control signal input terminal is defaulted to a high level.

[0046] The implementation details of the Pogopin protection method in this embodiment are described below. The following content is only for understanding the implementation details of this solution and is not essential for implementing this solution. A flowchart of the method can be shown below. Figure 4 As shown, the method may include the following steps:

[0047] Step 401: Detect the voltage signal output from the voltage detection terminal;

[0048] Step 402: When the voltage value of the detected voltage signal exceeds a first preset threshold, the target Pogopin is determined to be damp.

[0049] In some embodiments, after determining that the target Pogopin is damp in step 402, the method may further include configuring the voltage signal of the power supply pin of the target Pogopin to a low level. In this embodiment, after determining that the target Pogopin is damp, automatically configuring the voltage signal (i.e., VBUS) of the power supply pin of the target Pogopin to a low level can reduce the electrochemical corrosion effect compared to when the power supply pin is at a high level, effectively protecting the power supply pin of the target Pogopin.

[0050] In some embodiments, after determining that the target Pogopin is wet in step 402, the method may further include configuring the voltage signal input to the control signal input terminal to a low level, and determining that the target Pogopin is no longer wet when the detected voltage value of the voltage signal exceeds a second preset threshold, and switching the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal to a high level. In this example, when the detected VADC exceeds the second preset threshold, it is determined that the target Pogopin is no longer wet. At this time, the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal can be switched to a high level to facilitate continued moisture detection of the target Pogopin.

[0051] The flowchart illustrating the Pogopin protection method provided in this example can be seen as follows: Figure 5 As shown in the example, the Pogopin protection method provided in this example can continuously and automatically detect and handle whether the Pogopin is damp, which helps to extend the service life of the Pogopin.

[0052] It should be noted that the technical details involved in the foregoing embodiments are still applicable in this embodiment, and will not be repeated in this embodiment to reduce repetition.

[0053] The Pogopin protection method provided in this embodiment is applied to the detection and control module in a Pogopin protection device. The Pogopin protection device includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and the detection and control module. The first end of the first resistor is connected to a power supply voltage input terminal, and the second end of the first resistor is connected to the first end of the second resistor. The first end of the third resistor is connected to the detection pin of the target Pogopin, and the second end of the third resistor is connected to the second end of the second resistor. The gate of the first FET is connected to a control signal input terminal, and the drain of the first FET is connected to the junction of the first and second resistors. The voltage detection terminal is connected to the junction of the second and third resistors. The voltage signal input to the control signal input terminal is defaulted to a high level. The method includes: detecting the voltage signal output by the voltage detection terminal; and determining that the target Pogopin is damp when the detected voltage value exceeds a first preset threshold. The voltage output from the detection terminal is equal to VBUSxR2 / (R2+R3+RLiquid), which is the product of the voltage applied to the power supply pin and the resistance of the second resistor, divided by the sum of the second resistor, the third resistor, and the impedance between the detection pin and the power supply pin. When the target Pogopin is wet, the detection pin and the power supply pin of the target Pogopin are connected together by liquid, and the impedance RLiquid between the two pins decreases, which in turn leads to an increase in the voltage output from the voltage detection terminal. Therefore, by detecting the voltage signal output from the voltage detection terminal based on the method provided in this embodiment, it is possible to detect the Pogopin being wet in a timely manner, which is beneficial for timely handling of the wet Pogopin situation, thereby helping to reduce the probability of electrochemical corrosion of the Pogopin and extend the service life of the Pogopin.

[0054] Embodiments of this application also provide an electronic device including the Pogopin protection device described in the foregoing embodiments. It is worth noting that the Pogopin protection device provided in this application has strong portability; therefore, the electronic device involved in this embodiment can include various types of consumer electronics products on the market. Furthermore, it should be noted that the technical details involved in the foregoing embodiments are still applicable in this embodiment, and will not be repeated here to reduce repetition.

[0055] The above-mentioned products can perform the methods provided in the embodiments of this application, and have the corresponding functional modules and beneficial effects of performing the methods. For technical details not described in detail in this embodiment, please refer to the methods provided in the embodiments of this application.

[0056] Embodiments of this application also provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the above-described Pogopin protection method.

[0057] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0058] The above embodiments are provided for those skilled in the art to implement and use this application. Those skilled in the art can make various modifications or changes to the above embodiments without departing from the inventive concept provided in this application. Therefore, the protection scope of this application is not limited to the above embodiments, but should conform to the maximum scope of the innovative features mentioned in the claims.

Claims

1. A protective device for Pogopin, characterized in that, include: First resistor, second resistor, third resistor, first field-effect transistor, detection and control module; Wherein, the first end of the first resistor is connected to the power supply voltage input terminal, and the second end of the first resistor is connected to the first end of the second resistor; the first end of the third resistor is connected to the detection pin of the target Pogopin, and the second end of the third resistor is connected to the second end of the second resistor; the gate of the first field-effect transistor is connected to the control signal input terminal, and the drain of the first field-effect transistor is connected to the junction of the first resistor and the second resistor; the voltage detection terminal is connected to the junction of the second resistor and the third resistor; the voltage signal input to the control signal input terminal is high level by default; The detection control module is used to detect the voltage signal output by the voltage detection terminal, and when the voltage value of the detected voltage signal exceeds a first preset threshold, it determines that the target Pogopin is wet. The detection control module is also used to configure the voltage signal of the power supply pin of the target Pogopin to a low level after determining that the target Pogopin is wet; The detection and control module is further configured to, after determining that the target Pogopin is wet, configure the voltage signal input to the control signal input terminal to a low level, and when the voltage value of the detected voltage signal exceeds a second preset threshold, determine that the target Pogopin is no longer wet, and switch the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal to a high level.

2. The protective device for Pogopins according to claim 1, characterized in that It also includes an analog switch, the first end of the third resistor and the detection pin of the target Pogopin are connected through the analog switch, the first output end of the analog switch is connected to the first end of the third resistor, and the second output end of the analog switch is connected to the identification signal acquisition end.

3. The protective device for Pogopins according to claim 2, characterized in that It also includes a comparator, a fourth resistor, and a fifth resistor; The comparator's first input terminal is connected to the junction of the second and third resistors; the comparator's second input terminal is connected to the first terminal of the fourth resistor; the second terminal of the fourth resistor is connected to the first terminal of the fifth resistor; the second terminal of the fifth resistor is connected to the voltage detection terminal; and the comparator's output terminal is connected to the junction of the fourth and fifth resistors.

4. A method of protecting Pogopin, characterized by, A detection and control module is used in a protection device for a Pogopin. The Pogopin protection device includes: a first resistor, a second resistor, a third resistor, a first field-effect transistor (FET), and the detection and control module. The first terminal of the first resistor is connected to a power supply voltage input terminal, and the second terminal of the first resistor is connected to the first terminal of the second resistor. The first terminal of the third resistor is connected to the detection pin of the target Pogopin, and the second terminal of the third resistor is connected to the second terminal of the second resistor. The gate of the first FET is connected to a control signal input terminal, and the drain of the first FET is connected to the junction of the first and second resistors. A voltage detection terminal is connected to the junction of the second and third resistors. The voltage signal input to the control signal input terminal is defaulted to a high level. The method includes: The voltage signal output from the voltage detection terminal is detected; When the voltage value of the detected voltage signal exceeds a first preset threshold, the target Pogopin is determined to be damp. After determining that the target Pogopin is wet, the method further includes: Configure the voltage signal of the power supply pin of the target Pogopin to a low level; After determining that the target Pogopin is wet, the method further includes: The voltage signal input to the control signal input terminal is configured to a low level, and when the detected voltage value of the voltage signal exceeds a second preset threshold, it is determined that the target Pogopin is no longer wet, and the voltage signal of the power supply pin and the voltage signal input to the control signal input terminal are switched to a high level.

5. An electronic device, characterized in that, include: The protective device for Pogopin as described in any one of claims 1 to 3.

6. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the Pogopin protection method as described in claim 4.