Detection circuit and terminal
By setting up a switch and detection module in the Type-C interface to detect the impedance between ungrounded pins, the problem of short circuits and corrosion caused by moisture or liquid ingress in the Type-C interface is solved, and efficient detection and early warning of the interface are achieved.
Patent Information
- Application Number
- CN202422911466.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2034-11-27
AI Technical Summary
Existing technologies struggle to detect pin short circuits and corrosion issues in Type-C interfaces caused by moisture or liquid ingress, especially when the amount of liquid ingress is small, making it difficult to accurately assess the risk of short circuits.
By setting up first and second switches in the Type-C interface, connecting the non-grounded pin to the power supply and ground respectively, the control module controls the closed state of the switches, and the detection module detects the impedance between the pins to determine whether a short circuit exists.
It enables impedance detection between any two non-grounded pins in a Type-C interface, which can more accurately determine whether there is liquid ingress, prevent pin short circuits and corrosion, and improve the reliability and accuracy of detection.
Smart Images

Figure CN223815423U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of communication, and in particular, to a detection circuit and a terminal. BACKGROUND
[0002] The Type-C interface of a terminal has a corrosion problem caused by moisture and liquid ingress.
[0003] In the related art, the ground (GND) impedance of the pins in the Type-C interface can be detected to determine whether the interface has a short circuit risk. However, this method can only accurately determine the short circuit risk when the pins in the interface form a loop to the ground, but some pins in the Type-C interface are far away from the ground pins, and only in the case of a large amount of liquid ingress in the interface can the loop be successfully detected.
[0004] When a small amount of liquid enters the interface, the amount of liquid can cause short circuit of pins that are close to each other, and the related art currently has difficulty in detecting this situation. UTILITY MODEL CONTENT
[0005] To overcome the problems in the related art, the present disclosure provides a detection circuit and a terminal, which can solve the above problems.
[0006] According to a first aspect of an embodiment of the present disclosure, a detection circuit is provided, the circuit comprising: a first switch, a second switch, and a power supply; wherein a first end of the first switch is connected to a non-ground pin in a Type-C interface, and a second end of the first switch is connected to the power supply; a first end of the second switch is connected to the non-ground pin, and a second end of the second switch is grounded; a control module for controlling a first switch corresponding to a first pin in the non-ground pin to be closed, and controlling a second switch corresponding to a second pin in the non-ground pin to be closed; and a detection module connected to the second end of the first switch, for detecting the impedance between the first pin and the second pin according to a signal received at the second end of the first switch.
[0007] According to a second aspect of an embodiment of the present disclosure, a terminal is provided, comprising the detection circuit of the first aspect.
[0008] The technical solution provided by the embodiments of the present disclosure can include the following beneficial effects:
[0009] The disclosure can set a corresponding first switch and a second switch for any non-ground pin in the Type-C interface, wherein the first end of the first switch is connected to the non-ground pin in the Type-C interface, the second end of the first switch is connected to the power supply; the first end of the second switch is connected to the non-ground pin, and the second end of the second switch is grounded. When the control module controls the first switch of the first pin to be closed and the second switch of the second pin to be closed, the first pin is connected to the power supply, and the second pin is connected to the ground. If a short circuit occurs between the first pin and the second pin, the power supply can be grounded through the first pin and the second pin, thereby forming a loop; if no short circuit occurs between the first pin and the second pin, the power supply is not connected to the ground, and a loop cannot be formed. In this case, the impedance between the first pin and the second pin can be determined by detecting the signal received by the second end of the first switch, and then whether the power supply is grounded and whether a short circuit occurs between the first pin and the second pin can be determined by the impedance.
[0010] It should be understood that the general description above and the detailed description below are only exemplary and explanatory, and cannot limit the disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0011] The accompanying drawings, which are incorporated into the specification and constitute a part of the disclosure, show embodiments consistent with the disclosure and, together with the specification, serve to explain the principles of the disclosure.
[0012] Figure 1 is a structural schematic diagram of a Type-C interface according to an exemplary embodiment of the disclosure.
[0013] Figure 2 is a schematic diagram of a detection circuit according to an exemplary embodiment of the disclosure.
[0014] Figure 3 is a schematic diagram of a detection circuit according to an exemplary embodiment of the disclosure. DETAILED DESCRIPTION
[0015] The exemplary embodiments will be described in detail hereinafter with reference to the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the disclosure as detailed in the appended claims.
[0016] The terminology used in the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in the description of the disclosure and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and / or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0017] It should be understood that although the terms first, second, third, etc. can be employed in this disclosure to describe various information, such information should not be limited by these terms. These terms are only used to distinguish one piece of information from another. For example, a first information can also be termed a second information without departing from the scope of the present disclosure, similarly, a second information can also be termed a first information. Depending on the context, the word “if’ as used herein can be interpreted as meaning “when” or “in response to determining” as used herein.
[0018] The Type-C interface of the terminal has a corrosion problem caused by moisture, liquid ingress, etc., and interface corrosion can cause terminal failure.
[0019] Since the insertion detection of the Type-C interface needs to rely on a CC signal pin in the interface, the device access and direction are determined by detecting the electrical signal on the pin, which makes the two CC signals in the Type-C interface still in a charged state when the interface is not working. Since the CC signal always maintains high and low levels alternately in standby state, after liquid ingress in the Type-C interface, ionization corrosion may occur in the CC signal pin due to the charge, and after a long time or multiple occurrences, it causes interface abnormalities, and in serious cases, it may cause the signal function of the pin to fail, causing terminal function abnormalities.
[0020] In one embodiment, liquid has entered the Type-C interface, but the user is unaware, and in the case of liquid ingress in the Type-C interface, a charger is connected for charging, in which case the power (VBUS) pin of the charger is charged, with a voltage of at least 5V (relatively, the voltage of the CC signal pin is only 3.3V), and a higher voltage will accelerate the occurrence of ionization corrosion, causing corrosion in the interface.
[0021] Figure 1 is a structural schematic diagram of a Type-C interface according to an embodiment of the present disclosure.
[0022] As shown in Figure 1 , the Type-C interface contains two main ground (GND) pins, corresponding to a total of four GND pins (A1, A12, B12 and B1 in Figure 1 , on the other hand, the iron shell of the interface is also grounded.
[0023] In some embodiments, the ground impedance of each pin in the interface can be detected, and whether a short circuit occurs can be determined by detecting the impedance.
[0024] However, this method only works when a loop is formed between the pin and the ground, and some pins in the interface (such as CC1, CC2, D+, D-, SBU1, SBU2) are far away from the ground pin. Only when a large amount of liquid enters the interface can a connection loop be formed, and the embodiment can be detected.
[0025] The above embodiment can also detect the case where the pin is connected to the interface shell through the liquid due to the liquid entering the interface.
[0026] However, in actual scenarios, the distance between the pin on the interface female tongue and the interface shell is still large, and it is still difficult for the pin to form a liquid short circuit with the shell. In the protocol specification of the Type-C interface, the total thickness of the interface female cavity is 2.56 mm, and the thickness of the middle tongue is 0.6 mm. It can be determined that the distance from the metal pin on the tongue to the shell is (2.56-0.6) / 2=0.98 mm, which is still large.
[0027] Therefore, when the amount of liquid is small, the pin cannot be in contact with the shell through the liquid, and the embodiment cannot be detected.
[0028] However, the distance between the pins of the Type-C interface is small, generally only about 0.5 mm, so only a small amount of liquid can cover two adjacent pins, causing a short circuit. Based on actual after-sales feedback, the common failure of the Type-C interface is a short circuit and corrosion between two pins, and less failure caused by a short circuit between the pin and the shell.
[0029] To solve the above technical problems, the present disclosure provides a detection circuit.
[0030] Figure 2 is a schematic diagram of a detection circuit according to an embodiment of the present disclosure. The detection circuit can be provided in a terminal, including but not limited to a mobile phone, a tablet computer, a wearable device, a sensor, an Internet of Things device, and the like.
[0031] As shown in Figure 2 The circuit includes:
[0032] a first switch 220, a second switch 230, and a power supply 210; wherein a first end of the first switch 220 is connected to a non-ground pin in a Type-C interface, and a second end of the first switch 220 is connected to the power supply 210; a first end of the second switch 230 is connected to the non-ground pin, and a second end of the second switch 230 is grounded.
[0033] a control module configured to control a first switch 220 corresponding to a first pin among the non-grounded pins to be closed, and control a second switch 230 corresponding to a second pin among the non-grounded pins to be closed;
[0034] a detection module 240 connected to a second end of the first switch 220, configured to detect impedance between the first pin and the second pin according to a signal received at the second end of the first switch 220.
[0035] In some embodiments, the Type-C interface can include a Type-C female socket.
[0036] On the Type-C female socket, as shown in FIG. 1, a ferrule and a tongue in the middle are included, and 12 pins are arranged on both sides of the tongue, of which the two outermost pins are grounded pins, and the remaining pins are non-grounded pins. Figure 1
[0037] In some embodiments, a first end of the first switch 220 is connected to a non-grounded pin in the Type-C interface, and a second end of the first switch 220 is connected to the power supply 210.
[0038] The present disclosure does not limit the number of non-grounded pins. The first switch 220 corresponds to each non-grounded pin whose impedance needs to be detected. For example, if there are 10 non-grounded pins whose impedance needs to be detected, then there can be 10 corresponding first switches 220; if only the impedance of the CC1 (A5) pin needs to be detected, then one first switch 220 can be provided, with a first end connected to the CC1 pin and a second end connected to the power supply 210.
[0039] In some embodiments, a first end of the second switch 230 is connected to the non-grounded pin, and a second end of the second switch 230 is grounded.
[0040] The first switch 220 and the second switch 230 are connected to both ends of the non-grounded pin. In the case of the closed first switch, the power supply can output a voltage to the non-grounded pin; in the case of the closed second switch, the non-grounded pin is grounded, and the voltage can be output to the ground, forming a loop, thereby forming a current.
[0041] It should be noted that the non-grounded pin connected to the second switch can be different from the non-grounded pin connected to the first switch. For example, the non-grounded pins in the Type-C interface include A2-A11, and as a feasible embodiment, the A2-A6 pins can be connected to the first switch, and the A3-A11 pins can be connected to the second switch.
[0042] In some embodiments, the control module is configured to control the first switch 220 corresponding to the first non-ground pin to be closed, and control the second switch 230 corresponding to the second non-ground pin to be closed.
[0043] The control module can control any first switch 220 to be in a closed state or an open state, and can also control any second switch 230 to be in a closed state or an open state.
[0044] When the first switch 220 corresponding to the first pin is closed, the control module needs to control the second switch 230 corresponding to the first pin to be open, otherwise if the second switch 230 is closed, the first pin is connected to the power supply at one end and to the ground at the other end, and the first pin alone forms a loop, in which case the detection module 240 cannot detect the impedance between the first pin and other pins, and cannot determine whether the first pin and other pins are short-circuited according to the detected impedance.
[0045] When the first switch 220 corresponding to the first pin is closed, the control module can control the second switch 230 corresponding to the second pin to be closed, and the first switch 220 corresponding to the second pin to be open. In this case, if there is no short circuit between the first pin and the second pin, a loop cannot be formed between the power supply 210, the first pin, the second pin, and the ground, and if there is a short circuit between the first pin and the second pin, for example, because of liquid ingress, the first pin and the second pin are connected by the liquid, a loop can be formed between the power supply 210, the first pin, the second pin, and the ground, and the impedance will change.
[0046] In some embodiments, the detection module 240 is connected to the second end of the first switch 220, and is configured to detect the impedance between the first pin and the second pin according to a signal received at the second end of the first switch 220.
[0047] The detection module 240 can detect the impedance between the first pin and the second pin according to a signal received at the second end of the first switch 220, and determine whether a loop is formed according to the detected impedance.
[0048] Based on the above embodiments, the disclosure can detect the impedance between any two non-ground pins in the Type-C interface, so as to facilitate subsequent determination of whether the non-ground pins are short-circuited based on the detected impedance, and thus more accurately determine whether there is liquid between any two non-ground pins, and thus determine whether there is a liquid ingress problem in the Type-C interface.
[0049] In some embodiments, the power supply 210 includes a current source and a voltage source.
[0050] In the case that the power supply 210 is a current source, a constant current can be outputted, and in the case that the power supply 210 is a voltage source, a constant voltage can be provided.
[0051] In some embodiments, the circuit further comprises a first resistor 250, a first end of the first resistor 250 being connected to the power supply 210, and a second end of the first resistor 250 being connected to the second end of the first switch 220.
[0052] The first resistor 250 can comprise a pull-up resistor, which is used to pull the voltage of the detection module 240 to be close to the voltage of the power supply 210 in the case that the first pin and the second pin are not grounded, so as to be at a higher voltage level. In the case that the first pin and the second pin are short-circuited, a loop is formed between the power supply 210, the first pin, the second pin and the ground, and the first resistor 250 can function as a voltage divider, and the detection module 240 can determine the impedance of the first pin and the second pin according to the change of the current (and / or voltage) at the second end of the first resistor 250.
[0053] In some embodiments, the detection module 240 is configured to detect the voltage at the second end of the first switch 220.
[0054] The detection module 240 can detect the voltage at the second end of the first switch 220, and determine the impedance according to the detected voltage. It should be noted that the detection module 240 can also determine the impedance by detecting the current or other signals.
[0055] Figure 3 is a schematic diagram of a detection circuit according to an embodiment of the present disclosure.
[0056] In some embodiments, the circuit further comprises a determination module connected to the detection module 240, configured to receive the detection result of the detection module 240, and determine whether the first pin and the second pin are short-circuited according to the detection result.
[0057] In some embodiments, after the detection module 240 determines the detection result, the detection result can be sent to the determination module, and the determination module can determine whether the first pin and the second pin are short-circuited according to the detection result and a preset impedance threshold.
[0058] In some embodiments, the determination of whether the first pin and the second pin are short-circuited according to the detection result comprises: in the case that the impedance is less than the impedance threshold, determining that the first pin and the second pin are short-circuited; and in the case that the impedance is greater than or equal to the impedance threshold, determining that the first pin and the second pin are not short-circuited.
[0059] As Figure 3As shown, the control module controls the first switch of the A4 pin to be closed, and controls the second switch of the A5 pin to be closed, and the detection module can detect the impedance between the first pin and the second pin according to the signal received at the second end of the first switch 220, and send the detection result to the determination module.
[0060] If the first pin and the second pin do not short circuit, the other end of the first pin is not grounded, and the detected impedance value should be greater than or equal to the impedance threshold value; and if the first pin and the second pin short circuit, as shown, the first pin is grounded through the second pin to form a loop, and in this case the detected impedance value is small, less than the impedance threshold value. Therefore, whether the first pin and the second pin short circuit can be determined by the size relationship between the impedance and the impedance threshold value. Figure 3
[0061] In some embodiments, the distance between the first pin and the second pin is less than a distance threshold value.
[0062] The distance threshold value can be an actual distance or a number of interval pins. For example, the distance threshold value can be 2mm, or 2 interval pins.
[0063] In some embodiments, the second pin is adjacent to the first pin.
[0064] If the first pin and the adjacent pin do not short circuit, it is highly likely that the first pin and other pins far apart do not short circuit, so the impedance between the first pin and the adjacent pin can be determined first. When the first pin and the second pin do not short circuit, the detected impedance is close to infinity, and when the first pin and the second pin short circuit, the detection module 240 can detect the specific impedance.
[0065] In some embodiments, the number of first pins is at least 1, and / or the number of second pins is at least 1.
[0066] Since the number of non-grounded pins in the interface is multiple, if the impedance between two pins is detected each time, the detection times are more and the operation is troublesome. Therefore, the number of first pins and second pins can be multiple, so that whether the impedance between multiple groups of pins is short-circuited is detected at one time.
[0067] For example, the first pin of the closed first switch is pin A2-A6, and the second pin of the closed second switch is A7-A11. It should be noted that the second switch corresponding to the first pin of the closed first switch is in an open state, and the first switch corresponding to the second pin of the closed second switch is also in an open state. In this case, the detection module 240 detects the impedance according to the signal of the second end of the first switch. If there is no contact between the first pin and the second pin, the measured impedance is infinite. If the impedance can be detected and the impedance is less than the impedance threshold, it indicates that there is at least one short circuit between the first switch and the second switch.
[0068] In some embodiments, when the number of first pins is multiple and / or the number of second pins is multiple, the determination module can determine whether the first pin and the second pin are short-circuited.
[0069] The determination module can determine whether a short circuit occurs according to the detection result, without having to determine which pin in the first pin and which pin in the second pin are short-circuited. In the case where it is determined that there is a short circuit, a prompt can be sent to the user to remind the user to check the interface or clean the interface.
[0070] In some embodiments, when it is determined that the first pin and the second pin are not short-circuited, the first pin and / or the second pin can be replaced to determine whether the replaced first pin and the second pin are short-circuited.
[0071] If the detected impedance is infinite, it only indicates that the currently detected first pin and second pin are not short-circuited, but it cannot guarantee that there is no short circuit risk in the interface. Therefore, the first pin and / or the second pin can be replaced, and multiple detections can be performed to ensure that there is no short circuit risk between the pins in the interface.
[0072] In some embodiments, when the number of first pins is multiple and / or the number of second pins is multiple, the first pins and the second pins are arranged at intervals.
[0073] To ensure there is no short circuit between any two pins in the interface through a single test, all non-grounded pins in the interface can be assigned as pin 1 and pin 2, spaced apart. For example, if the non-grounded pins include A2-A11, then A2, A4, A6, A8, and A10 can be assigned as pin 1, closing the corresponding first switch, while A3, A5, A7, A9, and A11 can be assigned as pin 2, closing the corresponding second switch. If a short circuit is caused by liquid ingress, the two closest adjacent pins are more likely to short circuit. Therefore, by assigning pin 1 and pin 2 at intervals, a single test can be performed to check the impedance between all adjacent pins. If the impedance is less than an impedance threshold, it indicates that at least two adjacent pins are short-circuited; if the impedance is greater than or equal to the impedance threshold, it indicates that there is no risk of short circuit in the interface.
[0074] In some embodiments, the detection module includes an analog-to-digital converter.
[0075] The detection module 240 may include an analog-to-digital converter (ADC) to determine the impedance.
[0076] It should be noted that this disclosure... Figure 2 and Figure 3 The detection circuit for pins (A1-A12) on the Type-C interface side is shown as an example only. In fact, the detection circuit for pins (B1-B12) on the opposite side is also within the scope of protection of this disclosure. The illustrations and embodiments of this disclosure do not constitute a limitation.
[0077] Embodiments of this disclosure also propose a terminal including a detection circuit as described in any of the above embodiments.
[0078] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0079] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
[0080] It is to be noted that, in the present text, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0081] The above describes in detail the method and device provided by the embodiments of the present disclosure. The principles and implementation manners of the present disclosure are described by using specific examples. The above description of the embodiments is only used to help understand the method of the present disclosure and its core idea. Meanwhile, for those skilled in the art, according to the idea of the present disclosure, the specific implementation manners and application ranges can be changed. In summary, the content of the present description should not be understood as a limitation of the present disclosure.
Claims
1. A detection circuit, characterized by, The circuit comprises: a first switch, a second switch, and a power supply; wherein a first end of the first switch is connected to a non-ground pin in a Type-C interface, and a second end of the first switch is connected to the power supply; a first end of the second switch is connected to the non-ground pin, and a second end of the second switch is grounded; a control module configured to control a first switch corresponding to a first pin in the non-ground pin to be closed, and control a second switch corresponding to a second pin in the non-ground pin to be closed; a detection module connected to the second end of the first switch, configured to detect an impedance between the first pin and the second pin according to a signal received at the second end of the first switch.
2. The circuit of claim 1, wherein, The circuit further comprises: a first resistor, a first end of the first resistor being connected to the power supply, and a second end of the first resistor being connected to the second end of the first switch.
3. The circuit of claim 1, wherein the detection module is configured to detect a voltage at the second end of the first switch.
4. The circuit of claim 1, wherein, Further comprising a determination module connected to the detection module, configured to receive a detection result of the detection module, and determine whether the first pin and the second pin are short-circuited according to the detection result.
5. The circuit of claim 4, wherein, The determination whether the first pin and the second pin are short-circuited according to the detection result comprises: in a case where the impedance is less than an impedance threshold, determining that the first pin and the second pin are short-circuited; in a case where the impedance is greater than or equal to the impedance threshold, determining that the first pin and the second pin are not short-circuited.
6. The circuit of claim 1, wherein, The distance between the first pin and the second pin is less than a distance threshold.
7. The circuit of claim 6, wherein the second pin is adjacent to the first pin.
8. The circuit of any one of claims 1-7, wherein, The number of the first pins is at least 1, and / or the number of the second pins is at least 1.
9. The circuit of any one of claims 1-7, wherein, The detection module comprises an analog-to-digital converter.
10. A terminal, characterized by comprising: The terminal comprises the detection circuit of any one of claims 1-9.