An interface foreign matter detection circuit, charger and terminal device

By using an interface foreign object detection circuit, and utilizing a controller module, impedance detection module, and processor module, foreign objects on the interface are accurately identified and a detection signal is generated. This solves the electrochemical corrosion problem of the Type-C USB interface, improving product durability and user experience.

CN113359190BActive Publication Date: 2025-12-19NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110818068.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-20
Publication Date
2025-12-19
Estimated Expiration
2041-07-20

AI Technical Summary

Technical Problem

The Type-C USB interface suffers from abnormal contact due to electrochemical corrosion between the CC signal and adjacent pins, and existing technologies struggle to effectively detect and remove foreign objects.

Method used

The design includes an interface foreign object detection circuit, comprising a controller module, an impedance detection module, and a processor module. It detects the presence of foreign objects by detecting the impedance to ground and the signal level of the interface, generates a foreign object detection signal, and reminds the user to clean the interface via the screen or a buzzer.

Benefits of technology

It enables accurate and efficient detection of foreign objects on the interface, avoiding long-term corrosion and damage, and improving product durability and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113359190B_ABST
    Figure CN113359190B_ABST
Patent Text Reader

Abstract

The application discloses an interface foreign matter detection circuit, a charger and a terminal device, wherein the circuit comprises: a controller module, which is used for judging whether a device accessing the interface is a downlink port device according to a configuration channel signal; an impedance detection module, which is used for detecting whether the impedance of a sideband using interface to ground exceeds a preset value when the device is a non-downlink port device, and if yes, generating a first sideband using interface signal and a second sideband using interface signal through two preset impedance detection circuits to ground respectively; and a processor module, which is used for judging whether at least one low-level signal exists in the first sideband using interface signal and the second sideband using interface signal, and if yes, determining that the interface has foreign matter and generating a corresponding foreign matter detection signal. A humanized interface foreign matter detection scheme is realized, so that the interface can be cleaned in time, the durability of the product is improved, and the user experience is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of mobile communication, in particular to an interface foreign matter detection circuit, a charger and a terminal device. BACKGROUND

[0002] In the prior art, with the continuous development of intelligent terminal devices and the popularity of USB Type C interfaces, the plug can be inserted into the socket without distinguishing the front and back, greatly facilitating the daily plugging operation of people, and embodying the convenience of Type C interface. However, it is just because that Type C socket supports front and back insertion identification, Type C USB interface is designed by designing two CC configuration channel signals PIN pins on two rows of the socket respectively, for identifying the type and insertion direction of the plug device. Among them, since Type C terminal can supply power to external device DFP (Downstream Facing Port) downstream port, and can also support external power supply to charge itself UFP (Upstream Facing Port) upstream port, if both functions are supported, that is, DRP function (Dual Role Port) dual role port.

[0003] Considering that the CC signal on the Type C socket interface of the terminal needs to periodically detect the insertion of the external device, and then determine whether to supply power to the outside or accept external power to supply power (charge) to itself, therefore, the CC signal needs to exist working detection voltage in the state of terminal starting up;

[0004] Therefore, since there is always working voltage on the CC signal of the USB socket, if water or other conductive liquid is immersed between this PIN pin and other adjacent PIN pins, for example, in the daily use environment, mobile phones often encounter water vapor, sweat, and even raindrops sticking, and the metal contact for connecting external Type C interface will be attacked by these sewage, and the CC pin and other pins in the Type C interface will be electrochemically corroded due to the existence of voltage, resulting in corrosion problems of CC signal and adjacent signal PIN, and with the aggravation of corrosion, it will also cause various difficult-to-identify functional abnormal problems of USB socket due to contact problems. SUMMARY

[0005] In order to solve the above technical defects in the prior art, the present application provides an interface foreign matter detection circuit, which comprises:

[0006] A controller module is configured to determine whether the device connected to the interface is a downstream port device according to the configuration channel signal.

[0007] The impedance detection module is configured to detect whether the impedance to ground of the sideband usage interface exceeds a preset value when the device is a non-downstream port device, and if so, generate a first sideband usage interface signal and a second sideband usage interface signal through two preset impedance-to-ground detection circuits.

[0008] The processor module is configured to determine whether at least one low-level signal exists in the first sideband usage interface signal and the second sideband usage interface signal, and if so, determine that the interface has a foreign object and generate a corresponding foreign object detection signal.

[0009] Optionally, the interface is a Type C interface, and the controller module is further configured to poll the configuration channel signal at a preset detection period, and identify the type of the device accessed when the configuration channel signal detects that the interface has the device accessed.

[0010] Optionally, the controller module is further configured to perform preliminary work related to the downstream device when the device is determined to be a downstream port device according to the configuration channel signal, and perform start-up work related to the impedance detection module when the device is determined to be an upstream port device or a dual-role port device according to the configuration channel signal.

[0011] Optionally, the impedance detection module includes a first impedance-to-ground detection circuit and a second impedance-to-ground detection circuit, and the first impedance-to-ground detection circuit and the second impedance-to-ground detection circuit are both input high-resistance pin micro-short-circuit resistance detection circuits.

[0012] Optionally, the first impedance-to-ground detection circuit and the second impedance-to-ground detection circuit each include an impedance identification circuit, a comparison circuit, and a level matching circuit.

[0013] Optionally, the impedance identification circuit is a signal impedance identification circuit, and when the impedance detection module is not started, the first sideband usage interface and the second sideband usage interface both have high impedance, and the sideband usage interface signal works normally.

[0014] Optionally, if the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit outputs a high level, it is determined that the impedance to ground in the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit is infinite; and if the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit outputs a low level, it is determined that the impedance to ground in the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit is less than the preset value.

[0015] Optionally, the processor module is further configured to generate a screen content prompt signal corresponding to the foreign object detection signal to remind a user to clean the interface.

[0016] The application further provides a charger comprising the interface foreign matter detection circuit according to any one of the above; the charger further comprises a foreign matter detection signal lamp or a foreign matter detection buzzer for performing a light signal or an audio signal corresponding to the foreign matter detection signal.

[0017] The application further provides a terminal device comprising the interface foreign matter detection circuit according to any one of the above.

[0018] The interface foreign matter detection circuit, the charger and the terminal device of the application are implemented by providing an interface foreign matter detection circuit comprising a controller module for judging whether a device accessing the interface is a downstream port device according to a configuration channel signal; an impedance detection module for detecting whether the impedance to ground of a sideband use interface exceeds a preset value when the device is a non-downstream port device, and generating a first sideband use interface signal and a second sideband use interface signal through two preset impedance to ground detection circuits respectively if the impedance to ground exceeds the preset value; and a processor module for judging whether there is at least one low-level signal in the first sideband use interface signal and the second sideband use interface signal, and determining that there is foreign matter in the interface and generating a corresponding foreign matter detection signal if there is at least one low-level signal. A humanized interface foreign matter detection scheme is implemented, the detection of the interface foreign matter is more accurate and efficient, the interface can be cleaned in time, the interface is prevented from being corroded for a long time or further damaged, the durability of the product is improved, and the user experience is enhanced. BRIEF DESCRIPTION OF DRAWINGS

[0019] The application will be further described below with reference to the drawings and embodiments, in which:

[0020] Figure 1 is a module block diagram of the first embodiment of the interface foreign matter detection circuit of the application;

[0021] Figure 2 is a first impedance to ground detection circuit diagram of the second embodiment of the interface foreign matter detection circuit of the application;

[0022] Figure 3 is a second impedance to ground detection circuit diagram of the second embodiment of the interface foreign matter detection circuit of the application. DETAILED DESCRIPTION

[0023] It should be understood that the specific embodiments described herein are merely illustrative of the application and do not limit the application.

[0024] In the following description, the suffixes "module", "part" or "unit" used for an element are merely intended for facilitating explanation of the application, and do not have specific meanings or roles. Therefore, "module", "part" or "unit" can be mixedly used.

[0025] Embodiment one

[0026] Figure 1 is a module block diagram of the first embodiment of the interface foreign matter detection circuit of the present application. The embodiment proposes an interface foreign matter detection circuit, which comprises:

[0027] The controller module 10 is configured to determine whether the device accessing the interface is a downstream port device according to the configuration channel signal.

[0028] The impedance detection module 20 is configured to detect whether the impedance of the sideband use interface to ground exceeds a preset value when the device is a non-downstream port device, and if so, generate a first sideband use interface signal and a second sideband use interface signal through two preset impedance detection circuits to ground, respectively.

[0029] The processor module 30 is configured to determine whether there is at least one low-level signal in the first sideband use interface signal and the second sideband use interface signal, and if so, determine that there is foreign matter in the interface and generate a corresponding foreign matter detection signal.

[0030] Optionally, in the embodiment, based on the existing signals on the USB Type C socket, two detection and identification circuits are added to identify the foreign matter or liquid entering the USB socket, so as to adjust the signal state in the USB interface and the active prompt of the display interface of the device such as a mobile phone, thereby informing the user to clean the port in time.

[0031] Optionally, in the embodiment, based on the existing Type C USB PD controller (Power Deliver, power transmission), the controller module 10 of the embodiment is obtained, which is the circuit basis for detecting the type of Type C device; on this basis, the impedance detection module 20 for SBU (Side Band Use, sideband use) impedance detection is added.

[0032] Optionally, in the embodiment, when the controller module 10 periodically detects the Plug USB inserted device type, it is determined whether the inserted device type is Rd / NC, Rd / Ra, Ra / Ra (i.e., whether it is a UFP (Upstream Facing Port) upstream port) device. If so, the preparation work of the corresponding device type is performed; if not, the impedance detection module 20 for SBU impedance detection is started to work.

[0033] Optionally, in the embodiment, by judging the resistance value of the SBU PIN to GND, it is determined whether there is foreign matter immersed in the USB socket, thereby determining whether there is a micro-short circuit between the PIN and GND.

[0034] Optionally, in the embodiment, the controller module 10 comprises a CC signal unit for managing the opening and closing of the CC signal and the device type identification operation.

[0035] Optionally, in the embodiment, the SBU impedance detection impedance detection module 20 is used to identify the range of the impedance value of the SBU PIN to GND in the USB Type C interface, that is, to determine whether the impedance value exceeds the preset set value R, and if it exceeds, two detection signals, that is, SBU1_Liquid_In_det_N and SBU2_Liquid_In_det_N, are generated by the impedance detection module 20 and reported to the processor module 30.

[0036] Optionally, in the embodiment, the processor module is used to manage the entire operation process, and by managing the controller module, the impedance type of the USB C pin is identified, if it is a standard UFP device, it is not reported to the processor module 30; if it is not a standard UFP device, it is reported to the processor module 30, and the determination of the two detection signals is executed.

[0037] The beneficial effects of the embodiment are that by proposing an interface foreign matter detection circuit, the circuit comprises a controller module for judging whether the device accessing the interface is a downstream port device according to a configuration channel signal; an impedance detection module for detecting whether the impedance of the sideband usage interface to ground exceeds a preset value when the device is a non-downstream port device, and if it exceeds, a first sideband usage interface signal and a second sideband usage interface signal are respectively generated by the two preset ground impedance detection circuits; a processor module for judging whether there is at least one low-level signal in the first sideband usage interface signal and the second sideband usage interface signal, and if there is, it is determined that the interface has foreign matter, and a corresponding foreign matter detection signal is generated. A humanized interface foreign matter detection scheme is realized, the detection of interface foreign matter is more accurate and efficient, the interface can be cleaned in time, avoiding long-term corrosion or further damage, improving the durability of the product and enhancing the user experience.

[0038] Embodiment two

[0039] Based on the above embodiment, optionally, the interface is a Type C interface, and the controller module is further used to poll the configuration channel signal at a preset detection period, and identify the type of the device accessing the interface according to the detection of the configuration channel signal.

[0040] Optionally, the controller module is further configured to perform preliminary work related to the downstream device when the device is determined to be a downstream port device according to the configuration channel signal, and perform start-up work related to the impedance detection module when the device is determined to be an upstream port device or a dual-role port device according to the configuration channel signal.

[0041] Optionally, the impedance detection module comprises a first ground impedance detection circuit and a second ground impedance detection circuit, wherein the first ground impedance detection circuit and the second ground impedance detection circuit are both input high-resistance pin micro-short circuit resistance detection circuits.

[0042] Optionally, the first ground impedance detection circuit and the second ground impedance detection circuit each comprise an impedance identification circuit, a comparison circuit, and a level matching circuit.

[0043] Optionally, the impedance identification circuit is a signal impedance identification circuit, and when the impedance detection module is not started, the first sideband usage interface and the second sideband usage interface are both high impedance, and the sideband usage interface signal works normally.

[0044] Optionally, if the first ground impedance detection circuit or the second ground impedance detection circuit outputs a high level, it is determined that the ground impedance in the first ground impedance detection circuit or the second ground impedance detection circuit is infinite; and if the first ground impedance detection circuit or the second ground impedance detection circuit outputs a low level, it is determined that the ground impedance in the first ground impedance detection circuit or the second ground impedance detection circuit is less than the preset value.

[0045] Optionally, the processor module is further configured to generate a screen content prompt signal corresponding to the foreign matter detection signal to remind a user to clean the interface.

[0046] Specifically, please refer to Figure 2 and Figure 3 the first ground impedance detection circuit diagram and the second ground impedance detection circuit diagram of the second embodiment of the interface foreign matter detection circuit of the application.

[0047] In this embodiment, the Type C USB socket is a standard USB Type C socket, and two sets of SBU input high-resistance pin micro-short circuit resistance detection circuits are designed for the two SBUPINs in this embodiment. When liquid or foreign matter is immersed in the Type C socket, the SBU Pin and the GND Pin form a short circuit with a certain resistance value, and the circuit will detect and identify, and output a low level signal.

[0048] In this embodiment, the USB SBU1 / 2 ground impedance detection module comprises Figure 2 andFigure 3 The circuit schematic diagram constitutes, all are used for identifying Type C SBU PIN impedance if less than the set value value RL, then the event is reported to the processor module for processing; wherein, Figure 2 And Figure 3 RL in the above formula represents the resistance value of SBU PIN to ground.

[0049] In the embodiment, the above two circuits are composed of SBU PIN impedance identification circuit (R1VD1 and RL) (R3VD2 and RL), comparison circuit (D1 / D3Vref circuit, VDD power module), level matching circuit (R2 and D2 / R4 and D4). Among them, the impedance identification circuit (R1VD1 and RL) (R3VD2 and RL) circuit is a signal impedance identification circuit.

[0050] In the embodiment, VD1 and VD2 ensure that SBU1 and SBU2 are high impedance when the circuit module is not started, that is, the first sideband using interface and the second sideband using interface are both high impedance, which will not affect the normal work of SBU signal.

[0051] In the embodiment, D1 and D3 are comparator modules, and Vref is the reference voltage of the comparator. As can be seen, for the SBU PIN impedance identification circuit, if the RL of the embodiment is in the value of infinity, SBU1_Liquid_In_det_N and SBU2_Liquid_In_det_N will output high level, that is, the first ground impedance detection circuit or the second ground impedance detection circuit outputs high level; if RL is less than Vref, SBU1_Liquid_In_det_N and SBU2_Liquid_In_det_N will output low level, that is, the first ground impedance detection circuit or the second ground impedance detection circuit outputs low level. Therefore, the processor module 30 of the embodiment can combine the above mechanism, and identify whether there is micro short circuit or short circuit of SBU PIN to ground by detecting the level of SBU_Liquid_In_det_N signal of any one of the above.

[0052] As can be seen, the embodiment uses Type C PD controller reasonably, that is, the control module 10 of the embodiment has the ability of CC detection device type. Through the special detection process, when detecting and identifying abnormal UFP and normal DFP equipment insertion, the embodiment further adds SBU PIN impedance detection module identification, so as to more accurately identify whether there is foreign matter in the USB seat to cause USB gold finger short circuit and other problems.

[0053] As can be seen, in the embodiment, when the USB socket is detected to have a plug inserted into the Type C socket, the processor module 30 controls the control module 10 to start the detection of the CC signal, so as to identify the type of the inserted device, and then execute the relevant normal flow operation. That is, when the device type is detected to be a standard UFP device (Rd / NC, Ra / Ra, Rd / Ra), the normal operation flow is executed; if the CC1 and CC2 device values are detected to be out of the above range, that is, a non-standard UFP or a normal DFP device, the SBU impedance detection flow is started.

[0054] As can be seen, in the embodiment, if the SBU impedance to ground is less than the set value RL, the processor module 30 is informed that the USB socket is invaded by water and foreign matter, at the same time, on the one hand, the CC signal is turned off, and on the other hand, the user is reminded by the screen display that the USB port is invaded by liquid and foreign matter, and needs to be cleaned manually by the user.

[0055] As can be seen, in the embodiment, when the Type C PD controller, that is, the control module 10, detects that the current connected device is a normal UFP device, the impedance detection module 20 containing the SBU is not started, and the processor module 30 executes the normal operation flow.

[0056] In the embodiment, it can also be applied to the insertion scene of the charger device, and the SBU is used to judge whether the plug is invaded by water and foreign matter into the USB socket.

[0057] In the embodiment, when the impedance detection module 20 containing the SBU is not started, the impedance detection module 20 circuit has high impedance characteristics, so as not to affect the normal work of the SBU signal.

[0058] The embodiment has the beneficial effects that through the mutual cooperation of the above three modules, the invasion of water and foreign matter into the Type C socket can be judged in time, if there is an abnormality, the CC signal is actively turned off; if the charger is inserted, the CC is turned off accordingly, and the charger is informed to pay attention to the VBUS output, so as to effectively avoid the corrosion problem of the CC, VBUS and peripheral PIN in the Type C socket in the unknown state.

[0059] Embodiment three

[0060] Based on the above embodiment, the application further provides a charger, which comprises the interface foreign matter detection circuit according to any one of the above embodiments; the charger further comprises a foreign matter detection signal lamp or a foreign matter detection buzzer, which are used to execute a light signal or an audio signal corresponding to the foreign matter detection signal.

[0061] It should be noted that the above circuit embodiment and the charger embodiment belong to the same concept, the specific implementation process is seen from the circuit embodiment, and the technical features in the circuit embodiment are all applicable in the charger embodiment, which will not be repeated here.

[0062] Embodiment four

[0063] Based on the above embodiments, the application further proposes a terminal device, which comprises the interface foreign matter detection circuit according to any one of the above.

[0064] It should be noted that the above circuit embodiment and the terminal device embodiment belong to the same concept, the specific implementation process is seen from the circuit embodiment, and the technical features in the circuit embodiment are all applicable in the terminal device embodiment, which will not be repeated here.

[0065] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0066] The above embodiment numbers of the application are only for description, not representing the advantages and disadvantages of the embodiments.

[0067] The embodiments of the application are described above in combination with the drawings, but the application is not limited to the above specific embodiments, the above specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the application without departing from the purpose of the application and the scope protected by the claims, which all belong to the protection of the application.

Claims

1. An interface foreign object detection circuit, characterized by, The circuit comprises: a controller module configured to determine whether a device accessing the interface is a downstream port device according to a configuration channel signal; an impedance detection module configured to, when the device is a non-downstream port device, detect whether the impedance to ground of a sideband usage interface exceeds a preset value, and if so, generate a first sideband usage interface signal and a second sideband usage interface signal through two preset impedance-to-ground detection circuits respectively; a processor module configured to determine whether at least one low-level signal exists in the first sideband usage interface signal and the second sideband usage interface signal, and if so, determine that foreign matter exists in the interface and generate a corresponding foreign matter detection signal; the interface is a Type C interface, and the controller module is further configured to poll the configuration channel signal at a preset detection period, and identify the type of the device accessing the interface according to the configuration channel signal detection that the device accesses the interface; the controller module is further configured to, when the device is determined to be a downstream port device according to the configuration channel signal, perform preliminary work related to the downstream device, and when the device is determined to be an upstream port device or a dual-role port device according to the configuration channel signal, perform start-up work related to the impedance detection module; the impedance detection module comprises a first impedance-to-ground detection circuit and a second impedance-to-ground detection circuit, wherein the first impedance-to-ground detection circuit and the second impedance-to-ground detection circuit are both input-high-resistance pin micro-short-circuit resistance detection circuits; the first impedance-to-ground detection circuit and the second impedance-to-ground detection circuit each comprise an impedance identification circuit, a comparison circuit, and a level matching circuit; the impedance identification circuit is a signal impedance identification circuit, and when the impedance detection module is not started, the first sideband usage interface and the second sideband usage interface are both high impedance, and the sideband usage interface signal works normally; if the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit outputs a high level, it is determined that the impedance to ground in the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit is infinite; and if the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit outputs a low level, it is determined that the impedance to ground in the first impedance-to-ground detection circuit or the second impedance-to-ground detection circuit is less than the preset value.

2. The interface foreign object detection circuit of claim 1, wherein, The processor module is further configured to generate a screen content prompt signal corresponding to the foreign matter detection signal to remind a user to clean the interface.

3. A charger characterized by comprising: The charger comprises the interface foreign matter detection circuit of claim 1 or 2; and the charger further comprises a foreign matter detection signal lamp or a foreign matter detection buzzer configured to perform a light signal or an audio signal corresponding to the foreign matter detection signal.

4. A terminal device, characterized by comprising: The terminal device comprises the interface foreign matter detection circuit of claim 1 or 2.

Citation Information

Patent Citations

  • USB interface protection circuit, USB interface protection method, and mobile terminal

    CN109980460A

  • Charging interface device and mobile terminal

    CN112165136A