Insertion detection structure, insertion detection method and terminal equipment
By incorporating the second detection pin of the pre-detection component in the charging interface of the terminal device, the parasitic capacitance changes are detected for insertion pre-detection, which solves the problems of electrochemical corrosion and electrostatic damage in the insertion detection of the charging interface, and improves the detection accuracy and Antistatic ability.
Patent Information
- Application Number
- CN202310802511.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
In the prior art, the insertion detection method of the charging interface of the terminal device is prone to electrochemical corrosion of the detection pin, and the anti-static release capability of the pre-detection device is poor, affecting the accuracy of the insertion detection.
Using the pre-detection component, the second detection pin is built into the insulator of the charging interface, and the capacitance change of the parasitic capacitor is detected for insertion pre-detection, triggering the first detection pin for insertion detection, reducing the first detection pin Electrochemical corrosion and improve antistatic capacity.
It effectively reduces the electrochemical corrosion of the first detection pin, improves the insertion detection accuracy of the charging interface, reduces the electrochemical corrosion probability of the second detection pin, and enhances its anti-static ability.
Smart Images

Figure CN119224656A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to an insertion detection structure, an insertion detection method and a terminal device. Background Art
[0002] In order to display the connection status of the charging interface of the terminal device, the terminal device usually controls the detection pin in the charging interface (such as the CC pin in the Type-C charging interface) to be energized for a long time, so as to detect the insertion of the charging interface according to the voltage change of the detection pin. When this insertion detection method makes the detection pin prone to electrochemical corrosion, it will not be able to detect normally.
[0003] Although the pre-detection device in the related art can reduce the corrosion of the detection pin due to long-term charging, the pre-detection device needs to occupy the functional metal pin in the charging interface, which affects the terminal device. In addition, due to the poor anti-static release ability of the pre-detection device, it is easy to be damaged by static electricity, resulting in the problem that the charging interface cannot realize insertion detection. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an insertion detection structure, an insertion detection method and a terminal device.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an insertion detection structure, including:
[0006] A charging interface having a first detection pin;
[0007] A pre-detection component connected to the first detection pin;
[0008] Wherein, the pre-detection component has a second detection pin, and the second detection pin is at least partially built into the insulating member of the charging interface;
[0009] The pre-detection component is used to perform insertion pre-detection on the charging interface using the second detection pin, and trigger the first detection pin to perform insertion detection based on the pre-detection result.
[0010] Optionally, a parasitic capacitance is formed between the second detection pin and the charging interface and / or the external device;
[0011] The pre-detection component is used to detect the capacitance change of the parasitic capacitance formed by the second detection pin, wherein, when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
[0012] Optionally, the pre-detection component includes:
[0013] a power supply component, connected to the second detection pin, and used to output an electrical signal to the second detection pin, wherein the electrical signal is used to charge and / or discharge the parasitic capacitance formed by the second detection pin;
[0014] The charge and discharge detection component is connected to the second detection pin and is used to detect the charge and discharge parameters of the second detection pin during the charge and discharge process, and determine the capacitance change based on the charge and discharge parameters.
[0015] Optionally, the second detection pin and the charging interface form a first parasitic capacitor; the second detection pin and the external device form a second parasitic capacitor; the capacitance value of the second parasitic capacitor is negatively correlated with the distance between the second detection pin and the external device;
[0016] The charge and discharge detection component is used to determine the capacitance change based on the charge and discharge parameters and preset parameters, wherein the preset parameters are the charge and discharge parameters corresponding to the first parasitic capacitance.
[0017] Optionally, the power supply component is an AC power supply component, which is used to output an AC signal to the second detection pin, and the AC signal is at least used to suppress electrochemical corrosion of the second detection pin.
[0018] Optionally, the charging interface includes:
[0019] outer shell;
[0020] An insulating tongue piece is fixedly disposed in the outer shell, and a surface of the insulating tongue piece is at least provided with a power pin and a ground pin;
[0021] The second detection pin is disposed in the insulating tongue piece, and the second detection pin is located between the power pin and the ground pin.
[0022] Optionally, the pre-detection component includes:
[0023] The processing module is connected to the charge and discharge detection component and the first detection pin, and is used to control the first detection pin to be charged when the capacitance change detected by the charge and discharge detection component indicates that the charging interface is inserted into the external device.
[0024] Optionally, the power supply component is connected to the charge and discharge detection component, and is used to output a synchronization signal to the charge and discharge detection component, and the synchronization signal is used to synchronize the time of the charge and discharge process of the second detection pin detected by the charge and discharge detection component.
[0025] According to a second aspect of an embodiment of the present disclosure, a terminal device is provided, including:
[0026] The insertion detection structure described in the first aspect above.
[0027] According to a third aspect of an embodiment of the present disclosure, there is provided an insertion detection method, which is applied to the insertion detection structure described in the first aspect, and the method includes:
[0028] Perform insertion pre-detection on the charging interface using the second detection pin of the pre-detection component;
[0029] When the pre-detection result indicates that the charging interface is in an inserted state, the pre-detection component triggers the first detection pin to perform an insertion detection on the charging interface.
[0030] Optionally, the using the second detection pin of the pre-detection component to perform insertion pre-detection on the charging interface includes:
[0031] Using a power supply component to charge and / or discharge the parasitic capacitance formed by the second detection pin;
[0032] During the charging and discharging process, the charging and discharging parameters of the second detection pin are detected by the charging and discharging detection component, and the capacitance change is determined based on the charging and discharging parameters; wherein, when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
[0033] Optionally, the charging and discharging parameters include: charging time and / or discharging time;
[0034] During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises:
[0035] During the charging process, the charging and discharging detection component is used to detect the charging time required for the voltage of the second detection pin to rise to the first voltage threshold; based on the comparison result of the charging time and the preset charging time, the capacitance change is determined; the preset charging time is: the time required for the voltage of the first parasitic capacitor to rise to the first voltage threshold during the charging process;
[0036] and / or,
[0037] During the discharge process, the charge and discharge detection component is used to detect the discharge time required for the voltage of the second detection pin to drop to the second voltage threshold; based on the comparison result of the discharge time and the preset discharge time, the capacitance change is determined; the preset discharge time is: the time required for the voltage of the first parasitic capacitor to drop to the second voltage threshold during the discharge process.
[0038] Optionally, the charging and discharging parameters include: voltage parameters;
[0039] During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises:
[0040] After charging or discharging for a preset time, using the charge and discharge detection component to detect the voltage parameter of the second detection pin;
[0041] The capacitance change is determined based on a comparison result between a voltage parameter of the second detection pin and a preset voltage parameter; the preset voltage parameter is: a voltage parameter of the first parasitic voltage after the first parasitic capacitor is charged or discharged for a preset time.
[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0043] The disclosed embodiment detects the capacitance change of the parasitic capacitance formed by the second detection pin (with the charging interface and / or the external device) through a pre-detection component, and determines whether a peripheral device is inserted into the charging interface based on the capacitance change of the parasitic capacitance. On the one hand, the pre-detection component is used to implement pre-detection of the insertion of the charging interface, thereby reducing the electrochemical corrosion of the first detection pin. On the other hand, since the second detection pin does not need to be in direct contact with the external device, pre-detection of the insertion of the charging interface can be implemented, which is convenient for reducing the area of the second detection pin exposed to the external humid air, and even the second detection pin can be completely isolated from the external humid air, further reducing the electrochemical corrosion of the second detection pin.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0046] Figure 1 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 1 .
[0047] Figure 2 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 2 .
[0048] Figure 3 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 3 .
[0049] Figure 4The figure is a schematic diagram of an internal pin structure of a charging interface according to an exemplary embodiment.
[0050] Figure 5 It is a flowchart of an insertion detection method according to an exemplary embodiment.
[0051] Figure 6 The present invention is a structural block diagram of a terminal device according to an exemplary embodiment. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0053] The present disclosure provides an insertion detection structure, such as Figure 1 As shown, Figure 1 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 1 The insertion detection structure comprises:
[0054] A charging interface having a first detection pin 101a;
[0055] A pre-detection component 102 connected to the first detection pin 101a;
[0056] The pre-detection component 102 has a second detection pin 102a, and the second detection pin 102a is at least partially built into the insulating member 101b of the charging interface;
[0057] The pre-detection component 102 is used to perform insertion pre-detection on the charging interface using the second detection pin 102a, and trigger the first detection pin 101a to perform insertion detection based on the pre-detection result.
[0058] In the disclosed embodiment, the insertion detection structure includes: a charging interface and a pre-detection component;
[0059] Wherein, the charging interface has a first detection pin, and the first detection pin is used to perform insertion detection on the charging interface; here, the insertion detection may include: detecting whether an external device is inserted; detecting the insertion direction of the external device, etc.
[0060] It should be noted that in the related art, in order to detect the insertion of the charging interface, the first detection pin is usually controlled to be charged for a long time, so as to determine whether an external device is plugged in according to the voltage change of the first detection pin. However, since the first detection pin is exposed to the external humid air and is charged for a long time, the first detection pin contacts the electrolyte solution film attached to the surface to cause an electrochemical reaction, resulting in electrochemical corrosion.
[0061] Although an additional comparator is introduced into the terminal device, the comparator is connected to the ground pin of the charging interface, and a lower pull-up voltage is provided at the input of the comparator; since the input of the comparator will be pulled down by the connection of the ground pin of the external device, the comparator triggers the first detection pin to be energized, and uses the first detection pin to perform normal insertion detection; that is, the low voltage at the input of the comparator is used to pre-detect the insertion of the charging interface to reduce the corrosion of the detection pin due to long-term electrification, but this method can only alleviate the electrochemical corrosion of the charging interface, and since the input of the comparator has poor anti-static release ability, it is easy to be damaged by static electricity, resulting in the problem that the charging interface cannot achieve insertion detection, and the ground pin in the charging interface needs to be occupied, which is inconsistent with the current fast charging demand.
[0062] The disclosed embodiment sets a pre-detection component and utilizes the pre-detection component to perform pre-detection of the charging interface. Here, the pre-detection component has a second detection pin, and the electrical parameters of the second detection pin are different when an external device is inserted into the charging interface or when no external device is inserted into the charging interface.
[0063] Here, the electrical parameter of the second detection pin may be a current parameter, a voltage parameter, etc., which is not limited in the embodiment of the present disclosure.
[0064] The pre-detection component can implement insertion pre-detection of the charging interface by detecting changes in the electrical parameters of the second detection pin, and determine whether to trigger the first detection pin to perform insertion detection based on the pre-detection result.
[0065] It can be understood that if the pre-detection result indicates that the charging interface is inserted into an external device, the pre-detection component triggers the first detection pin to perform insertion detection on the charging interface; if the pre-detection result indicates that the charging interface is not inserted into an external device, the pre-detection component does not trigger the first detection pin.
[0066] The second detection pin is at least partially embedded in the insulating member of the charging interface; it can be understood that by embedding the second detection pin at least partially in the insulating member, the contact area between the second detection pin and the external humid air is reduced, thereby reducing the probability of electrochemical corrosion of the second detection pin.
[0067] On the one hand, the embodiment of the present disclosure provides a pre-detection component, connects the pre-detection component to the first detection pin of the charging interface, performs insertion pre-detection on the charging interface through the pre-detection component, and triggers the first detection pin to perform insertion detection on the charging interface according to the pre-detection result, thereby reducing the electrochemical corrosion of the first detection pin caused by the first detection pin being energized for a long time; on the other hand, by at least partially embedding the second detection pin of the pre-detection component into the insulating layer of the charging interface, while using the second detection pin to implement insertion pre-detection, the contact area between the second detection pin and the external humid air is reduced, thereby reducing the probability of electrochemical corrosion of the second detection pin, and can also improve the anti-static ability of the second detection pin, reducing the problem of being unable to insert detection due to electrostatic damage to the second detection pin.
[0068] Alternatively, if Figure 1 As shown, a parasitic capacitor 102b is formed between the second detection pin 102a and the charging interface and / or the external device 201;
[0069] The pre-detection component 102 is used to detect the capacitance change of the parasitic capacitance 102b formed by the second detection pin 102a, wherein when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
[0070] In the embodiment of the present disclosure, a parasitic capacitance is formed between the second detection pin and the charging interface and / or the external device; it should be noted that the parasitic capacitance formed between the second detection pin and the ground of the charging interface and / or the external device is also called self-capacitance.
[0071] It should be noted that when the charging interface is in an inserted state, parasitic capacitance is formed between the second detection pin and the charging interface and the external device, that is, the second detection pin forms multiple parasitic capacitances; when the charging interface is in an uninserted state, the second detection pin only forms a parasitic capacitance with the charging interface.
[0072] The capacitance of the parasitic capacitor formed by the second detection pin when the charging interface is in an inserted state is greater than the capacitance of the parasitic capacitor formed by the second detection pin when the charging interface is in an uninserted state.
[0073] The pre-detection component can determine whether an external device is plugged into the charging interface by detecting the capacitance change of the parasitic capacitance formed by the second detection pin; it can be understood that when the capacitance change of the detected parasitic capacitance shows an increasing trend, it indicates that the charging interface is in an inserted state.
[0074] The disclosed embodiment detects the capacitance change of the parasitic capacitance formed by the second detection pin (with the charging interface and / or the external device) through a pre-detection component, and determines whether a peripheral device is inserted into the charging interface based on the capacitance change of the parasitic capacitance. On the one hand, the pre-detection component is used to implement pre-detection of the insertion of the charging interface, thereby reducing the electrochemical corrosion of the first detection pin. On the other hand, since the second detection pin does not need to be in direct contact with the external device, pre-detection of the insertion of the charging interface can be implemented, which is convenient for reducing the area of the second detection pin exposed to the external humid air, and even the second detection pin can be completely isolated from the external humid air, further reducing the electrochemical corrosion of the second detection pin.
[0075] Alternatively, if Figure 2 As shown, Figure 2 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 2 The pre-detection component 102 includes:
[0076] A power supply component 1021, connected to the second detection pin 102a, and configured to output an electrical signal to the second detection pin 102a, wherein the electrical signal is used to charge and / or discharge the parasitic capacitor 102b formed by the second detection pin 102a;
[0077] The charge and discharge detection component 1022 is connected to the second detection pin 102a, and is used to detect the charge and discharge parameters of the second detection pin 102a during the charge and discharge process, and determine the capacitance change based on the charge and discharge parameters.
[0078] In the disclosed embodiment, the pre-detection component includes: a power supply component and a charge and discharge detection component;
[0079] Here, the power supply component is connected to the second detection pin, and the power supply component outputs an electrical signal to the second detection pin, so as to charge and / or discharge the parasitic capacitance formed by the second detection pin using the electrical signal.
[0080] The charge and discharge detection component is connected to the second detection pin and is used to detect the charge and discharge parameters of the second detection pin during the charge and discharge process, so as to determine the capacitance change of the parasitic capacitance formed by the second detection pin based on the charge and discharge parameters of the second detection pin.
[0081] Here, the charging and discharging parameters may include: current parameters, voltage parameters, charging time and / or discharging time, etc.
[0082] Charging parameters and / or discharging parameters; the charging parameters may include: charging current, charging time and the voltage of the second detection pin, etc.; the discharging parameters may include: discharging current, discharging time and the voltage of the second detection pin, etc.
[0083] During the charging (or discharging) process, as the amount of electricity in the parasitic capacitor increases (or decreases), the current parameter and voltage parameter of the second detection pin (ie, the voltage across the parasitic capacitor) will also change accordingly.
[0084] Taking the current parameter as an example, during the charging process, when the amount of charge in the parasitic capacitor exceeds the first threshold value (that is, the parasitic capacitor is about to be fully charged), the current parameter of the second detection pin (that is, the charging current) will gradually decrease until the parasitic capacitor is fully charged and the current parameter of the second detection pin becomes zero; similarly, during the discharging process, when the amount of charge in the parasitic capacitor is lower than the second threshold value, the current parameter of the second detection pin (that is, the discharge current) will also gradually decrease until the parasitic capacitor itself is completely discharged and the current parameter of the second detection pin becomes zero.
[0085] The current state of the parasitic capacitor can be determined by detecting changes in the current parameters and / or voltage parameters of the second detection pin, that is, determining whether the parasitic capacitor is fully charged or whether the parasitic capacitor is fully discharged; based on the current state of the parasitic capacitor, the charging time and / or discharging time of the parasitic capacitor can be determined.
[0086] It should be noted that if the capacitance of the parasitic capacitor formed by the second detection pin changes, the charging time and / or discharging time required for the parasitic capacitor will also change during the charging and discharging process. Therefore, the capacitance change of the parasitic capacitor formed by the second detection pin can be determined based on the charging time and / or discharging time of the parasitic capacitor to achieve pre-detection of insertion of the charging interface.
[0087] In some embodiments, after the parasitic capacitor formed by the second detection pin is charged or discharged for a preset time, the voltage parameter of the second detection pin can be detected to determine whether the capacitance of the parasitic capacitor formed by the second detection pin has changed. It can be understood that when the charging interface is electrically connected to the external device, due to the increase in the capacitance of the parasitic capacitor formed by the second detection pin, the voltage parameter of the second detection pin can reach the preset voltage parameter after the parasitic capacitor formed by the second detection pin is charged (or discharged) for a preset time; but the voltage of the second detection pin actually detected is less than the preset voltage parameter (or greater than the preset voltage parameter), so that it is possible to directly determine whether the charging interface is in the inserted state from the voltage of the second detection pin, and realize the insertion pre-detection of the charging interface.
[0088] Optionally, the second detection pin and the charging interface form a first parasitic capacitor; the second detection pin and the external device form a second parasitic capacitor; the capacitance value of the second parasitic capacitor is negatively correlated with the distance between the second detection pin and the external device;
[0089] The charge and discharge detection component is used to determine the capacitance change based on the charge and discharge parameters and preset parameters, wherein the preset parameters are the charge and discharge parameters corresponding to the first parasitic capacitance.
[0090] In the embodiment of the present disclosure, the parasitic capacitance formed by the second detection pin may include: a first parasitic capacitance and / or a second parasitic capacitance; wherein the first parasitic capacitance is formed between the second detection pin and the charging interface, and the second parasitic capacitance is formed between the second detection pin and the external device.
[0091] It should be noted that, since the second detection pin is disposed in the charging interface, the second detection pin and the charging interface are relatively stationary, so that the capacitance of the first parasitic capacitor formed by the second detection pin and the charging interface is fixed. That is, the first parasitic capacitor is a fixed capacitor.
[0092] The capacitance of the second parasitic capacitor formed by the second detection pin and the external device will change as the distance between the second detection pin and the external device changes, that is, the second parasitic capacitor is a variable capacitor.
[0093] It is understandable that when the external device is close to the second detection pin, the capacitance of the second parasitic capacitor increases accordingly, and when the external device is far away from the second detection pin, the capacitance of the second parasitic capacitor decreases accordingly. It is even possible that the second parasitic capacitor will not be formed between the second detection pin and the external device because the distance between the second detection pin and the external device is too far.
[0094] Here, the preset parameters are the charge and discharge parameters corresponding to the first parasitic capacitor. It is understandable that when the charging interface is not plugged in, the charge and discharge detection component can detect the charge and discharge parameters of the second detection pin in advance. Since the charging interface is not plugged in, the second detection pin may only form the first parasitic capacitor with the charging interface. Therefore, the charge and discharge parameters of the second detection pin detected by the charge and discharge detection component are the charge and discharge parameters of the first parasitic capacitor.
[0095] In the subsequent insertion pre-detection process, the charge and discharge detection component can detect the charge and discharge parameters of the second detection pin, and compare the detected charge and discharge parameters with the preset parameters. If the charge and discharge parameters are different from the preset parameters, it means that the capacitance of the parasitic capacitor formed by the second detection pin has changed, that is, the second detection pin may form a second parasitic capacitor, which means that the distance between the second detection pin and the external device is relatively close, and the charging interface may be in an inserted state.
[0096] Alternatively, if Figure 3 As shown, Figure 3 is a schematic diagram of a local structure of an insertion detection structure according to an exemplary embodiment Figure 3The power supply component 1021 is an AC power supply component 1021a, which is used to output an AC signal to the second detection pin 102a, and the AC signal is at least used to suppress electrochemical corrosion of the second detection pin 102a.
[0097] In the embodiment of the present disclosure, the power supply component may be an AC power supply component, which outputs an AC signal and uses the AC signal to periodically charge and discharge the parasitic capacitance formed by the second detection pin.
[0098] It should be noted that a thin layer of water film (i.e., weak electrolyte) is adsorbed on the surface of the metal pin exposed to humid air, and the action of the water film and the air causes a layer of electrolyte solution film to form on the surface of the metal pin; when the metal pin is charged, an electrochemical reaction occurs when the metal pin contacts the electrolyte solution film, causing the metal pin to ionize and thus corrode.
[0099] The disclosed embodiment outputs an AC signal through an AC power supply component. Since the polarity of the AC signal changes periodically, the current direction of the AC signal also changes periodically, thereby preventing charged particles from moving in one direction (i.e., directional movement), thereby effectively preventing electrochemical corrosion of the second detection pin.
[0100] Optionally, the charging interface includes:
[0101] outer shell;
[0102] An insulating tongue piece is fixedly disposed in the outer shell, and a surface of the insulating tongue piece is at least provided with a power pin and a ground pin;
[0103] The second detection pin is disposed in the insulating tongue piece, and the second detection pin is located between the power pin and the ground pin.
[0104] In the disclosed embodiment, the charging interface comprises: an outer shell and an insulating tongue;
[0105] The outer shell forms the outer facade of the charging interface, and an opening is formed at one end of the outer shell for an external device to be inserted into the charging interface through the opening; the interior of the outer shell is a hollow cavity, and the outer shell is sleeved on the outside of the insulating tongue, and one end of the insulating tongue is fixed to the outer shell, and the other end extends toward the opening of the outer shell.
[0106] The surface of the insulating tongue may be provided with a plurality of strip-shaped metal parts, namely metal pins; when the charging interface is plugged into an external device, the metal pins in the external device are constructed with the metal pins on the insulating tongue to realize the electrical connection between the external device and the charging interface, so as to transmit signals between the external device and the charging interface.
[0107] Here, a plurality of metal pins may be embedded in the insulating tongue piece by insert injection molding.
[0108] The multiple metal pins include at least: a power pin and a ground pin; it can be understood that the power pin is used to transmit power signals, and the ground pin is used for grounding.
[0109] The second detection pin can be arranged in the insulating tongue. It can be understood that by embedding the second detection pin in the insulating tongue, the second detection pin is prevented from being exposed to the outside, so that the second detection pin has no contact with the external humid air, thereby reducing the probability of electrochemical corrosion of the second detection pin.
[0110] In the embodiment of the present disclosure, the second detection pin is located within the insulating tongue between the power pin and the ground pin, thereby reducing the probability of electrochemical corrosion of the second detection pin and reducing the impact on the normal charging function of the charging interface.
[0111] For example, Figure 4 As shown, Figure 4 This is a schematic diagram of the internal pin structure of a charging interface according to an exemplary embodiment. Taking the Type-C charging interface as an example, the Type-C charging interface has 24 metal pins, that is, 12 symmetrically on the upper and lower sides; among them, there are 4 pairs of TX / RX differential lines, 2 pairs of USB D+ / D- signal lines, 2 CC signal lines, a pair of SBU signal lines, 4 VBUS power lines and 4 GND ground lines. Since there are 2 pairs of unused differential lines in the Type-C charging interface, the second detection pin can be set at the position corresponding to the differential line, that is, only 2 pairs of TX / RX differential lines are set in the Type-C charging interface, and the second detection pin is built into the insulating tongue piece, and the position of the second detection pin in the insulating tongue piece is the position corresponding to the other 2 pairs of TX / RX differential lines, that is, between the VBUS power line and the GND ground line, so that the second detection pin in the charging interface can be used to realize the insertion pre-detection, and the occupation of the metal pins with fixed uses in the Type-C charging interface can be reduced, reducing the interference with the normal operation of the charging interface.
[0112] Alternatively, if Figure 3 As shown, the pre-detection component 102 includes:
[0113] The processing module 1023 is connected to the charge and discharge detection component 1022 and the first detection pin 101a, and is used to control the first detection pin 101a to be charged when the capacitance change detected by the charge and discharge detection component 1022 indicates that the charging interface is inserted into the external device 201.
[0114] In the embodiment of the present disclosure, the pre-detection component includes: a processing module; the processing module is respectively connected to the charge and discharge detection component and the first detection pin.
[0115] When the charge and discharge detection component detects that the capacitance of the parasitic capacitor formed by the second detection pin has changed, and the capacitance change of the parasitic capacitor indicates that the charging interface is inserted into an external device, in order to further determine the connection status of the charging interface, the charge and discharge component can output a trigger signal to the processing module to trigger the processing module to control the first detection pin to be energized, so as to realize the insertion detection of the charging interface by detecting the voltage change of the first detection pin.
[0116] It is understandable that in the related art, in order to realize the insertion detection of the charging interface, the first detection pin needs to be energized for a long time, but it is also easy to cause electrochemical corrosion of the first detection pin; the embodiment of the present disclosure uses a charge and discharge detection component and a processing module, and utilizes the charge and discharge detection component to detect the capacitance change of the parasitic capacitance formed by the second detection pin. Since the capacitance change of the parasitic capacitance formed by the second detection pin can reflect the distance change between the external device and the second detection pin to a certain extent, the charging interface can be pre-detected for insertion based on the capacitance change of the parasitic capacitance formed by the second detection pin.
[0117] When the charge and discharge detection component detects that the capacitance change of the parasitic capacitance indicates that the charging interface may be inserted into an external device, the charge and discharge detection component triggers the processing module, so that the processing module controls the first detection pin to be energized and performs insertion detection, thereby effectively reducing the charging time of the first detection pin, thereby realizing insertion detection of the charging interface and reducing electrochemical corrosion caused by the first detection pin being energized for a long time.
[0118] Alternatively, if Figure 3 As shown, the power supply component 1021 is connected to the charge and discharge detection component 1022, and is used to output a synchronization signal to the charge and discharge detection component 1022, and the synchronization signal is used to synchronize the charge and discharge process of the second detection pin 102a detected by the charge and discharge detection component 1022.
[0119] In the embodiment of the present disclosure, the power supply component is connected to the charge and discharge detection component, and the power supply component can output a synchronization signal to the charge and discharge detection component; it can be understood that the power supply component can output a synchronization signal to the charge and discharge detection component while outputting an electrical signal to the second detection component, so that the charge and discharge detection component can determine the start time of charging and discharging the parasitic capacitance formed by the second detection pin based on the synchronization signal.
[0120] Since the charge and discharge detection component determines the capacitance change of the parasitic capacitance formed by the second detection pin by detecting the change of the electrical parameters of the second detection pin during the charge and discharge process, and outputs a synchronization signal to the charge and discharge detection component through the power supply component, so that the charge and discharge detection component can synchronize the time of the detected charge and discharge process of the second detection pin, so as to accurately determine whether the change of the electrical parameters of the second detection pin is caused by the charge and discharge switching of the power supply component or by the insertion of an external device into the charging interface, thereby effectively improving the detection accuracy of the insertion pre-detection.
[0121] The present disclosure provides an insertion detection method, such as Figure 5 As shown, Figure 5 is a flow chart of an insertion detection method according to an exemplary embodiment, the method comprising:
[0122] Step S101, using the second detection pin of the pre-detection component to perform insertion pre-detection on the charging interface;
[0123] Step S102: When the pre-detection result indicates that the charging interface is in an inserted state, the pre-detection component triggers the first detection pin to perform an insertion detection on the charging interface.
[0124] The insertion detection method shown in the embodiment of the present disclosure may be applied to the insertion detection structure described in one or more of the above embodiments.
[0125] A second detection pin of the pre-detection component is provided in the charging interface within the insertion detection structure. Since the electrical parameters of the second detection pin are different when an external device is inserted into the charging interface or when no external device is inserted into the charging interface, the pre-detection component can perform pre-detection of the charging interface by detecting changes in the electrical parameters of the second detection pin.
[0126] The pre-detection component determines whether to trigger the first detection pin for insertion detection based on the pre-detection result. If the pre-detection result indicates that the charging interface is in an inserted state, the first detection pin in the charging interface is triggered to perform insertion detection on the charging interface using the first detection pin; if the pre-detection result indicates that the charging interface is not inserted into an external device, the pre-detection component does not trigger the first detection pin.
[0127] It can be understood that the pre-detection component and the second detection pin are used to implement the insertion pre-detection of the charging interface, and according to the pre-detection result, the first detection pin is triggered to perform insertion detection on the charging interface, thereby reducing the electrochemical corrosion of the first detection pin caused by the first detection pin being charged for a long time;
[0128] Furthermore, since the second detection pin is at least partially built into the insulating part of the charging interface, while the second detection pin is used to implement pre-insertion detection, the contact area between the second detection pin and the external humid air is reduced, thereby reducing the probability of electrochemical corrosion of the second detection pin, and can also improve the anti-static ability of the second detection pin, reducing the problem of being unable to insert detection due to electrostatic damage to the second detection pin.
[0129] Optionally, the using the second detection pin of the pre-detection component to perform insertion pre-detection on the charging interface includes:
[0130] Using a power supply component to charge and / or discharge the parasitic capacitance formed by the second detection pin;
[0131] During the charging and discharging process, the charging and discharging parameters of the second detection pin are detected by the charging and discharging detection component, and the capacitance change is determined based on the charging and discharging parameters; wherein, when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
[0132] It should be noted that a parasitic capacitance is formed between the second detection pin and the charging interface and / or the external device; it should be noted that the parasitic capacitance formed between the second detection pin and the ground of the charging interface and / or the external device is also called self-capacitance.
[0133] The second detection pin is connected to the power supply component and the charge and discharge detection component respectively. The power supply component outputs an electrical signal to the second detection pin to charge and / or discharge the parasitic capacitance formed by the second detection pin using the electrical signal.
[0134] When the charging interface is in an unplugged state, the parasitic capacitance formed by the second detection pin is the first parasitic capacitance formed between the second detection pin and the charging interface, and since the second detection pin and the charging interface are relatively stationary, the capacitance value of the first parasitic capacitance is fixed.
[0135] When the charging interface is in the inserted state, the parasitic capacitance formed by the second detection pin includes: a first parasitic capacitance and a second parasitic capacitance, and the second parasitic capacitance is a parasitic capacitance formed between the second detection pin and the external device; and the capacitance of the second parasitic capacitance will change with the change of the distance between the second detection pin and the external device, that is, the second parasitic capacitance is a variable capacitance.
[0136] It can be understood that when the external device is close to the second detection pin and inserted into the charging port, the capacitance of the second parasitic capacitor increases accordingly; when the external device is unplugged and away from the second detection pin, the capacitance of the second parasitic capacitor decreases accordingly, and the second parasitic capacitor may not be formed between the second detection pin and the external device even because the distance between the second detection pin and the external device is too far.
[0137] During the charging and discharging process of the parasitic capacitance, the charging and discharging detection component is used to detect the charging and discharging parameters of the second detection pin, so as to determine the capacitance change of the parasitic capacitance formed by the second detection pin based on the charging and discharging parameters of the second detection pin; when it is determined based on the charging and discharging parameters of the second detection pin that the capacitance change of the parasitic capacitance formed by the second detection pin shows an increasing trend, it can be determined that there is an external device close to the second detection pin, that is, the distance between the second detection pin and the external device is relatively close, and the charging interface may be in an inserted state, which can trigger the first detection pin to perform insertion detection on the charging interface to determine the connection state of the charging interface.
[0138] The disclosed embodiment charges and / or discharges the parasitic capacitance formed by the second detection pin through the power supply component, and during the charging and discharging process, the charging and discharging detection component is used to detect the charging and discharging parameters of the second detection pin, and the capacitance change of the parasitic capacitance of the second detection pin is determined according to the charging and discharging parameters; based on the capacitance change of the parasitic capacitance, the distance change between the external device and the second detection pin is determined to achieve the insertion pre-detection of the charging interface. Since the second detection pin does not need to be in direct contact with the external device during the entire insertion pre-detection process, it is convenient to reduce the area of the second detection pin exposed to the external humid air, and even the second detection pin can be completely isolated from the external humid air, further reducing the electrochemical corrosion of the second detection pin.
[0139] Optionally, the charging and discharging parameters include: charging time and / or discharging time;
[0140] During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises:
[0141] During the charging process, the charging and discharging detection component is used to detect the charging time required for the voltage of the second detection pin to rise to the first voltage threshold; based on the comparison result of the charging time and the preset charging time, the capacitance change is determined; the preset charging time is: the time required for the voltage of the first parasitic capacitor to rise to the first voltage threshold during the charging process;
[0142] and / or,
[0143] During the discharge process, the charge and discharge detection component is used to detect the discharge time required for the voltage of the second detection pin to drop to the second voltage threshold; based on the comparison result of the discharge time and the preset discharge time, the capacitance change is determined; the preset discharge time is: the time required for the voltage of the first parasitic capacitor to drop to the second voltage threshold during the discharge process.
[0144] In the embodiment of the present disclosure, the charge and discharge parameter of the second detection pin detected by the charge and discharge detection component may be a charging time and / or a discharging time.
[0145] In the process of charging the parasitic capacitance formed by the second detection pin by using the power supply component, the charging and discharging detection component is used to detect the charging time required for the voltage of the second detection pin to rise to the first voltage threshold.
[0146] Here, the first voltage threshold can be set according to actual needs, and the first voltage threshold should be less than or equal to the maximum voltage of the first parasitic capacitor.
[0147] The charging time detected by the charge and discharge detection component can be compared with the preset charging time, and the capacitance change of the parasitic capacitance formed by the second detection component can be determined based on the comparison result.
[0148] Here, the preset charging time is: the time required for the voltage of the first parasitic capacitor to rise to the first voltage threshold; it can be understood that when the charging interface is not plugged in, the first parasitic capacitor can be charged using the power supply component, and the second detection pin can be detected using the charge and discharge detection component to obtain the preset charging time.
[0149] It is understandable that if the charging time detected by the charge-discharge detection component is greater than the preset charging time, it can be determined that the capacitance change of the parasitic capacitance formed by the second detection component is increasing, indicating that the charging interface may be in an inserted state. If the charging time detected by the charge-discharge detection component is the same as or similar to the preset charging time, it can be determined that the capacitance of the parasitic capacitance formed by the second detection component does not change, indicating that the charging interface may remain in an uninserted state.
[0150] When the parasitic capacitance formed by the second detection component is in a fully charged state, the power supply component can be used to discharge the parasitic capacitance formed by the second detection pin, and during the discharge process, the charge and discharge detection component is used to detect the discharge time required for the voltage of the second detection pin to drop to the second voltage threshold.
[0151] Here, the second voltage threshold can be set according to actual needs, and the second voltage threshold should be smaller than the maximum voltage of the first parasitic capacitor.
[0152] The discharge time detected by the charge and discharge detection component can be compared with the preset discharge time, and the capacitance change of the parasitic capacitance formed by the second detection component can be determined according to the comparison result.
[0153] Here, the preset discharge time is: the time required for the voltage of the first parasitic capacitor in a fully charged state to drop to the second voltage threshold; it can be understood that when the charging interface is not plugged in, the first parasitic capacitor can be charged by the power supply component, and after the first parasitic capacitor is fully charged, the first parasitic capacitor is discharged, and during the discharge process, the second detection pin is detected by the charge and discharge detection component to obtain the preset discharge time.
[0154] It can be understood that if the discharge time detected by the charge and discharge detection component is greater than the preset discharge time, it can be determined that the capacitance change of the parasitic capacitance formed by the second detection component is increasing, indicating that the charging interface may be in the plugged-in state. If the discharge time detected by the charge and discharge detection component is the same as or similar to the preset discharge time, it can be determined that there is no change in the capacitance of the parasitic capacitance formed by the second detection component, indicating that the charging interface may remain in the unplugged state.
[0155] The disclosed embodiment charges and / or discharges the parasitic capacitance formed by the second detection pin through the power supply component, and during the charging and discharging process, uses the charging and discharging detection component to detect the charging time and / or discharging time of the second detection pin, and compares the detected charging time and / or discharging time with the preset charging time and / or preset discharging time corresponding to the first parasitic capacitance formed in the charging interface in an uninserted state to determine the capacitance change of the parasitic capacitance of the second detection pin; based on the capacitance change of the parasitic capacitance, the distance change between the external device and the second detection pin is determined to achieve pre-detection of insertion of the charging interface.
[0156] Optionally, the charging and discharging parameters include: voltage parameters;
[0157] During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises:
[0158] After charging or discharging for a preset time, using the charge and discharge detection component to detect the voltage parameter of the second detection pin;
[0159] The capacitance change is determined based on a comparison result between a voltage parameter of the second detection pin and a preset voltage parameter; the preset voltage parameter is: a voltage parameter of the first parasitic voltage after the first parasitic capacitor is charged or discharged for a preset time.
[0160] In the embodiment of the present disclosure, the charge and discharge parameter of the second detection pin detected by the charge and discharge detection component may be a voltage parameter.
[0161] The parasitic capacitance formed by the second detection pin can be charged or discharged for a preset period of time using a power supply component, and then the voltage parameters of the second detection pin can be detected using a charge and discharge detection component. The voltage parameters of the second detection pin are compared with the preset voltage parameters, and the capacitance change of the parasitic capacitance formed by the second detection pin is determined based on the comparison result.
[0162] Here, the preset voltage parameter is: the voltage parameter of the first parasitic voltage after the first parasitic capacitor is charged or discharged for a preset time. It is understandable that when the charging interface is not plugged in, the first parasitic capacitor (the voltage across the first parasitic capacitor is equal to zero) can be charged for a preset time using the power supply component, or the first parasitic capacitor (the voltage across the first parasitic capacitor is equal to the voltage of the power supply component) can be discharged for a preset time using the power supply component, and the second detection pin can be detected using the charge and discharge detection component to obtain the preset voltage parameter.
[0163] It is understandable that during the charging process, if the voltage parameter of the second detection pin is less than the preset voltage parameter after the power supply component charges the parasitic capacitor formed by the second detection pin for a preset time, it can be determined that the capacitance change of the parasitic capacitor formed by the second detection component is increasing, indicating that the charging interface may be in an inserted state. If the voltage parameter of the second detection pin is the same as or similar to the preset voltage parameter, it can be determined that the capacitance of the parasitic capacitor formed by the second detection component does not change, indicating that the charging interface may remain in an uninserted state.
[0164] During the discharge process, if the voltage parameter of the second detection pin is greater than the preset voltage parameter after the power supply component discharges the parasitic capacitance formed by the second detection pin for a preset time, it can be determined that the capacitance change of the parasitic capacitance formed by the second detection component is increasing, indicating that the charging interface may be in an inserted state. If the voltage parameter of the second detection pin is the same as or similar to the preset voltage parameter, it can be determined that the capacitance of the parasitic capacitance formed by the second detection component does not change, indicating that the charging interface may remain in an uninserted state.
[0165] The disclosed embodiment charges and / or discharges the parasitic capacitance formed by the second detection pin for a preset time period through a power supply component, and after the charging and discharging is completed, uses the charge and discharge detection component to detect the voltage parameters of the second detection pin, and compares the detected voltage parameters with the preset voltage parameters corresponding to the first parasitic capacitance formed in the charging interface in an uninserted state to determine the capacitance change of the parasitic capacitance of the second detection pin; based on the capacitance change of the parasitic capacitance, the distance change between the external device and the second detection pin is determined to achieve pre-insertion detection of the charging interface.
[0166] An embodiment of the present disclosure provides a terminal device, comprising: an insertion detection structure shown in one or more of the above technical solutions.
[0167] The insertion detection structure shown in the embodiment of the present disclosure can be applied in a terminal device, and the insertion detection structure is used to perform insertion detection on the charging interface of the terminal device.
[0168] It should be noted that the charging interface can be pre-detected for insertion through a pre-detection component connected to the first detection pin of the charging interface, and based on the pre-detection result, the first detection pin is triggered to perform insertion detection on the charging interface, thereby reducing the electrochemical corrosion of the first detection pin caused by the first detection pin being energized for a long time.
[0169] Furthermore, since the second detection pin of the pre-detection component is at least partially built into the insulating layer of the charging interface, while the second detection pin is used to implement insertion pre-detection, the contact area between the second detection pin and the external humid air is reduced, thereby reducing the probability of electrochemical corrosion of the second detection pin, and can also improve the anti-static ability of the second detection pin, reducing the problem of inability to insert detection due to electrostatic damage to the second detection pin.
[0170] Figure 6 It is a structural block diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 800 can be a mobile phone, a mobile computer, etc.
[0171] Reference Figure 6 The terminal device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0172] The processing component 802 generally controls the overall operation of the terminal device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0173] The memory 804 is configured to store various types of data to support operations on the terminal device 800. Examples of such data include instructions for any application or method operating on the terminal device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0174] The power supply component 806 provides power to various components of the terminal device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 800.
[0175] The multimedia component 808 includes a screen that provides an output interface between the terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0176] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0177] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0178] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal device 800, the relative positioning of the components, such as the display and keypad of the terminal device 800, and the sensor assembly 814 can also detect the position change of the terminal device 800 or a component of the terminal device 800, the presence or absence of contact between the user and the terminal device 800, the orientation or acceleration / deceleration of the terminal device 800, and the temperature change of the terminal device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0179] The communication component 816 is configured to facilitate wired or wireless communication between the terminal device 800 and other devices. The terminal device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0180] In an exemplary embodiment, the terminal device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0181] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of a terminal device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0182] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present disclosure, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments.
[0183] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0184] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0185] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0186] In addition, all functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately configured as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0187] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0188] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An insertion detection structure, characterized in that: The insertion detection structure comprises: A charging interface having a first detection pin; A pre-detection component connected to the first detection pin; Wherein, the pre-detection component has a second detection pin, and the second detection pin is at least partially built into the insulating member of the charging interface; The pre-detection component is used to perform insertion pre-detection on the charging interface using the second detection pin, and trigger the first detection pin to perform insertion detection based on the pre-detection result.
2. The insertion detection structure according to claim 1, characterized in that: A parasitic capacitance is formed between the second detection pin and the charging interface and / or the external device; The pre-detection component is used to detect the capacitance change of the parasitic capacitance formed by the second detection pin, wherein, when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
3. The insertion detection structure according to claim 2, characterized in that: The pre-detection component comprises: a power supply component connected to the second detection pin, and used to output an electrical signal to the second detection pin, wherein the electrical signal is used to charge and / or discharge the parasitic capacitance formed by the second detection pin; A charge and discharge detection component is connected to the second detection pin and is used to detect the charge and discharge parameters of the second detection pin during the charge and discharge process, and determine the capacitance change based on the charge and discharge parameters.
4. The insertion detection structure according to claim 3, characterized in that: The second detection pin and the charging interface form a first parasitic capacitor; the second detection pin and the external device form a second parasitic capacitor; the capacitance value of the second parasitic capacitor is negatively correlated with the distance between the second detection pin and the external device; The charge and discharge detection component is used to determine the capacitance change based on the charge and discharge parameters and preset parameters, wherein the preset parameters are the charge and discharge parameters corresponding to the first parasitic capacitance.
5. The insertion detection structure according to claim 3, characterized in that: The power supply component is an AC power supply component, which is used to output an AC signal to the second detection pin, and the AC signal is at least used to suppress electrochemical corrosion of the second detection pin.
6. The insertion detection structure according to claim 1, characterized in that: The charging interface comprises: outer shell; An insulating tongue piece is fixedly disposed in the outer shell, and a surface of the insulating tongue piece is at least provided with a power pin and a ground pin; The second detection pin is disposed in the insulating tongue piece, and the second detection pin is located between the power pin and the ground pin.
7. The insertion detection structure according to claim 3, characterized in that: The pre-detection component comprises: The processing module is connected to the charge and discharge detection component and the first detection pin, and is used to control the first detection pin to be charged when the capacitance change detected by the charge and discharge detection component indicates that the charging interface is inserted into the external device.
8. The insertion detection structure according to claim 3, characterized in that: The power supply component is connected to the charge and discharge detection component and is used to output a synchronization signal to the charge and discharge detection component, and the synchronization signal is used to synchronize the time of the charge and discharge process of the second detection pin detected by the charge and discharge detection component.
9. A terminal device, characterized in that: The terminal device comprises: An insertion detection structure as claimed in any one of claims 1 to 8.
10. An insertion detection method, characterized in that: Applied to the insertion detection structure according to any one of claims 1 to 8, the method comprises: Perform insertion pre-detection on the charging interface using the second detection pin of the pre-detection component; When the pre-detection result indicates that the charging interface is in an inserted state, the pre-detection component triggers the first detection pin to perform an insertion detection on the charging interface.
11. The method according to claim 10, characterized in that The method of using the second detection pin of the pre-detection component to perform insertion pre-detection on the charging interface includes: Using a power supply component to charge and / or discharge the parasitic capacitance formed by the second detection pin; During the charging and discharging process, the charging and discharging parameters of the second detection pin are detected by the charging and discharging detection component, and the capacitance change is determined based on the charging and discharging parameters; wherein, when the capacitance change shows an increasing trend, the charging interface is in an inserted state.
12. The method according to claim 11, characterized in that The charging and discharging parameters include: charging time and / or discharging time; During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises: During the charging process, the charging and discharging detection component is used to detect the charging time required for the voltage of the second detection pin to rise to the first voltage threshold; based on the comparison result of the charging time and the preset charging time, the capacitance change is determined; the preset charging time is: the time required for the voltage of the first parasitic capacitor to rise to the first voltage threshold during the charging process; and / or, During the discharge process, the charge and discharge detection component is used to detect the discharge time required for the voltage of the second detection pin to drop to the second voltage threshold; based on the comparison result of the discharge time and the preset discharge time, the capacitance change is determined; the preset discharge time is: the time required for the voltage of the first parasitic capacitor to drop to the second voltage threshold during the discharge process.
13. The method according to claim 11, characterized in that The charging and discharging parameters include: voltage parameters; During the charging and discharging process, detecting the charging and discharging parameters of the second detection pin by a charging and discharging detection component, and determining the capacitance change based on the charging and discharging parameters, comprises: After charging or discharging for a preset time, using the charge and discharge detection component to detect the voltage parameter of the second detection pin; The capacitance change is determined based on a comparison result between a voltage parameter of the second detection pin and a preset voltage parameter; the preset voltage parameter is: a voltage parameter of the first parasitic voltage after the first parasitic capacitor is charged or discharged for a preset time.
Citation Information
Cited By
Water vapor detection circuit and electronic equipment
CN121347939A