Connector corrosion identification method, device, earphone, charging box and storage medium
By collecting the voltage, current and impedance parameters of the TWS earphone connector when it is not connected and using the processor to determine the corrosion status, the problem of poor charging caused by corrosion of the TWS earphone connector is solved, and timely identification and prevention of poor contact are achieved.
Patent Information
- Application Number
- CN202110178035.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-09
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2041-02-09
AI Technical Summary
The connector of TWS earphones may corrode during use, resulting in poor charging. The existing technology lacks an effective identification mechanism, which affects normal use.
By collecting parameters such as voltage, current, and impedance of the connector when it is not connected, the corrosion state of the connector is determined using a processor, thereby achieving timely identification of connector corrosion.
It can timely identify the corrosion of the connector, reduce the impact of poor contact caused by connector corrosion, and ensure the normal charging and use of the headset.
Smart Images

Figure CN114910515B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to wireless communication technology, and in particular to a method, device, earphone, charging box and storage medium for identifying corrosion of a connector. Background Art
[0002] With the development of wireless communication technology, the use of wireless headphones is becoming more and more widespread. For example, the left and right earbuds of TWS headphones do not need to be connected by a cable, and can achieve wireless separation of the left and right Bluetooth channels.
[0003] Typically, there are two metal pins at the bottom of a TWS headset. These metal pins are connectors used to enable the charging box to charge the TWS headset and for communication between the two. This connector can be, for example, a POGO PIN. Common TWS headsets have two or three POGO PINs. When the TWS headset is placed in the charging box, the POGO PIN on the TWS headset and the POGO PIN on the charging box come into contact and conduct, thereby charging the TWS headset.
[0004] However, the connector of TWS earphones may be corroded during use, resulting in poor contact between the connector on the TWS earphones and the connector on the charging box, causing the charging box to charge the TWS earphones slowly or even fail to charge, affecting the normal use of the TWS earphones. However, there is currently a lack of an identification mechanism for whether the connector is corroded, making it difficult to remedy the situation in a timely manner. Summary of the Invention
[0005] The embodiments of the present application provide a method, device, earphones, charging box and storage medium for identifying corrosion of a connector, which can identify the corrosion status of the connector.
[0006] A method for identifying corrosion of a connector, the method comprising:
[0007] Obtaining a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to the second device;
[0008] A corrosion state of a connector of the first device is determined based on the first parameter.
[0009] A connector corrosion identification device, comprising:
[0010] an acquisition module, configured to acquire a first parameter of a connector of a first device; the first parameter being a parameter acquired when the first device is not connected to a second device;
[0011] The first determining module is configured to determine a corrosion state of the connector of the first device according to the first parameter.
[0012] A charging box, comprising: a processor, a power module and a connector, wherein the processor is connected to the power module and the connector respectively;
[0013] The processor is configured to perform the following steps:
[0014] Obtaining a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to the second device;
[0015] A corrosion state of a connector of the first device is determined based on the first parameter.
[0016] A headset comprises: a processor, a power module, a connector, and an audio module, wherein the processor is connected to the power module, the connector, and the audio module respectively;
[0017] The processor is configured to perform the following steps:
[0018] Obtaining a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to the second device;
[0019] A corrosion state of a connector of the first device is determined based on the first parameter.
[0020] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0021] Obtaining a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to the second device;
[0022] A corrosion state of a connector of the first device is determined based on the first parameter.
[0023] The above-mentioned connector corrosion identification method, device, earphones, charging box and storage medium obtain the first parameter of the connector of the first device collected when the first device is not connected to the second device, determine the corrosion state of the connector of the first device based on the first parameter, and determine whether the connector of the first device is corroded by the parameters of the connector of the first device collected when the first device is not connected to the second device. The corrosion condition of the connector of the first device can be identified in time, reducing the impact of poor contact and other effects caused by corrosion of the connector. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0025] Figure 1 A schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment;
[0026] Figure 2 A schematic diagram of an application environment of a method for identifying corrosion of a connector in another embodiment;
[0027] Figure 3 is a flow chart of a method for identifying corrosion of a connector in one embodiment;
[0028] Figure 4 is a flow chart of a method for identifying corrosion of a connector in one embodiment;
[0029] Figure 5 is a flow chart of a method for identifying corrosion of a connector in one embodiment;
[0030] Figure 6 is an equivalent circuit diagram of a charging box in one embodiment;
[0031] Figure 7 is an equivalent circuit diagram of a charging box in one embodiment;
[0032] Figure 8 This is an equivalent circuit diagram of an earphone placed in a charging box according to an embodiment;
[0033] Figure 9 is an equivalent circuit diagram of an earphone in one embodiment;
[0034] Figure 10 This is an equivalent circuit diagram of an earphone placed in a charging box according to an embodiment;
[0035] Figure 11 This is an equivalent circuit diagram of an earphone placed in a charging box according to an embodiment;
[0036] Figure 12 This is an equivalent circuit diagram of an earphone placed in a charging box according to an embodiment;
[0037] Figure 13 is an equivalent circuit diagram of a charging box in one embodiment;
[0038] Figure 14 is an equivalent circuit diagram of a charging box in one embodiment;
[0039] Figure 15 is an equivalent circuit diagram of a charging box in one embodiment;
[0040] Figure 16 is an equivalent circuit diagram of an earphone in one embodiment;
[0041] Figure 17 is an equivalent circuit diagram of a charging box in one embodiment;
[0042] Figure 18 This is an equivalent circuit diagram of an earphone placed in a charging box according to an embodiment;
[0043] Figure 19 A structural block diagram of a connector corrosion identification device provided by one embodiment;
[0044] Figure 20 A structural block diagram of a connector corrosion identification device provided by one embodiment;
[0045] Figure 21 A schematic diagram of the structure of a charging box provided in one embodiment;
[0046] Figure 22 A schematic diagram of the structure of an earphone provided in one embodiment;
[0047] Figure 23 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0049] It is understood that the terms "first," "second," and the like used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are merely used to distinguish a first element from another element. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of this application. The first client and the second client are both clients, but they are not the same client. The embodiments, implementation methods, and technical features of this application may be combined with each other if there is no conflict.
[0050] Figure 1 FIG. 1 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment. Figure 1As shown, the application environment includes a first device 1 and a second device 2. The first device 1 includes a connector 3, and the second device 2 includes a connector 4. The first device and the second device can be connected via the connector for charging and / or communication. The first device can charge the second device. The first device can be a charging box, a charging box holder, etc., and the second device can be a headset, such as a TWS headset. The second device can also be other devices such as a watch and AR glasses, but the embodiments of the present application are not limited to this.
[0051] like Figure 2 As shown, the first device is the charging box 3, and the second device is the earphone 4. The charging box 3 has an integrated mobile power supply. When the earphone 4 is out of power, just put the earphone 4 into the charging box 4 to charge. There are two metal pins at the bottom of the earphone, called POGO PINs. When the earphone is placed in the charging box, the POGO PIN of the earphone is in contact with the POGO PIN of the charging box to connect the circuit between the earphone and the charging box, thereby charging and communicating the earphone. Common devices have two POGO PINs or three POGO INs, which are located at corresponding positions on the earphone and the charging box respectively. When the earphone is placed in the charging box, the POGO PIN on the earphone and the POGO PIN on the charging box are in contact and conductive.
[0052] It should be noted that the corrosion identification method for the connector provided in the embodiment of the present application can be run on the first device or on the second device. The implementation principles of running on the first device and running on the second device are similar. Therefore, the following embodiments are mainly explained by taking running on the first device as an example.
[0053] Example 1
[0054] Figure 3 FIG. 1 is a flow chart of a method for identifying corrosion of a connector in one embodiment. The method for identifying corrosion of a connector in this embodiment is executed in Figure 1 The first device in the example is used for description. Figure 3 As shown, the corrosion identification method of the connector includes the following steps:
[0055] S301, obtaining a first parameter of a connector of a first device; the first parameter is a parameter of the connector of the first device collected when the first device is not connected to a second device.
[0056] The connector of the first device is a connector of the first device. For example, the connector of the first device may be a POGO pin, a spring-loaded plate, a terminal, or the like on the first device. The first parameter is a parameter of the connector of the first device collected when the connector of the first device and the connector of the second device are not in contact. The first parameter may be a parameter such as voltage, current, or impedance on the connector of the first device.
[0057] In this embodiment, before the first device and the second device are connected, the first device collects the current, voltage, impedance, etc. on the connector of the first device as the first parameter. The first device may be provided with various sensors, such as a current sensor and a voltage sensor, for collecting the first parameter.
[0058] Taking the first device as a charging box and the second device as an earphone as an example, before the earphone is placed in the charging box, at least one of the voltage, current, and impedance on the POGO PIN of the charging box is collected as the first parameter, or when the first device is an earphone and the second device can be an earphone box, before the earphone is placed in the charging box, at least one of the voltage, current, and impedance on the POGO PIN of the earphone is collected as the first parameter. This is not limited to the embodiments of the present application.
[0059] S302: Determine a corrosion state of a connector of a first device according to a first parameter.
[0060] The corrosion state is used to indicate whether the connector is corroded, and the corrosion state of the connector of the first device indicates whether the connector of the first device is corroded.
[0061] In this embodiment, when the first device and the second device are not connected, a first parameter of the connector of the first device is collected. The corrosion state of the connector of the first device can be determined based on the first parameter. Typically, when the connector is not corroded, the voltage, current, impedance, and other parameters on the connector are fixed. Once the connector is corroded, the voltage may drop, leakage may lead to excessive current, and impedance may decrease. Therefore, the collected first parameter can be compared with the parameter value when the connector is not corroded to determine the corrosion state of the connector of the first device.
[0062] For example, when the connector of a common headphone charging case is uncorroded, the voltage on the charging case connector is 5V. When the connector is corroded, it is equivalent to adding a resistor in parallel to the connector's resistance, which reduces the connector's resistance and its voltage. When the earphones are not placed in the charging case, the voltage value on the charging case's POGO pin can be collected. If the voltage value on the POGO pin is less than 5V, it is determined that the charging case connector is corroded. Alternatively, if the voltage value on the POGO pin is within a certain voltage range, it can be determined that the charging case connector is not corroded. For example, when the earphones are not placed in the charging case, if the voltage value on the charging case's POGO pin is within the range of 4.8V-5V, it is determined that the POGO pin is not corroded. If the voltage value on the charging case's POGO pin is less than 4.8V, it is determined that the POGO pin is corroded. For another example, when the connector of a common headphone charging box is not corroded, the current on the charging box connector is 2A. If the connector is corroded, leakage may occur, causing the current on the connector to increase. When the earphones are not placed in the charging box, the current on the POGO PIN of the charging box can be collected. If the current is greater than 2A, it is determined that the connector of the charging box is corroded. Alternatively, if the current on the POGO PIN is within a certain current range, it can be determined that the connector of the charging box is not corroded. For example, when the earphones are not placed in the charging box, the current on the POGO PIN of the charging box is within the range of 1.9A-2.1A, it is determined that the POGO PIN is not corroded. If the current on the POGO PIN of the charging box is greater than 2.1A, it is determined that the POGO PIN is corroded. When the first parameter is the collected voltage and current on the POGO PIN of the earphone, its implementation principle is similar to that of the earphone box and will not be repeated here.
[0063] It should be noted that when determining the corrosion state of the connector of the first device based on the first parameter, an appropriate first parameter and method can be selected according to actual conditions to determine the corrosion state of the connector of the first device, which is not limited in the embodiments of the present application.
[0064] It should be noted that, in the above embodiments, the method for identifying connector corrosion is mainly described by taking the first device as an earphone box and the second device as an earphone as an example. The implementation method when the first device is an earphone and the second device is an earphone is similar and will not be repeated here.
[0065] The connector corrosion identification method provided in the embodiment of the present application obtains a first parameter of the connector of the first device collected when the first device is not connected to the second device, determines the corrosion state of the connector of the first device based on the first parameter, and determines whether the connector of the first device is corroded by using the parameters of the connector of the first device collected when the first device is not connected to the second device. This method can timely identify the corrosion condition of the connector of the first device and reduce the impact of poor contact and other effects caused by corrosion of the connector.
[0066] Example 2
[0067] exist Figure 3 On the basis of the embodiment shown, it is also possible to further obtain the second parameter of the connector of the first device when the first device is connected to the second device, and determine the corrosion state of the connector of the second device based on the first parameter and the second parameter. Figure 4 As shown, the corrosion identification method of the connector may further include the following steps:
[0068] S401. Obtain a second parameter of a connector of a first device; the second parameter is a parameter collected when the first device and the second device are connected via the connector.
[0069] The second parameter is a parameter of the connector of the first device collected when the first device and the second device are connected via the connector. For example, the second parameter may be a parameter such as voltage, current, or resistance on the connector of the first device collected when the first device and the second device are connected via the connector.
[0070] Taking the first device as a charging box and the second device as an earphone as an example, after the earphone is placed in the charging box, at least one of the voltage, current, and impedance on the POGO PIN of the charging box is collected as the second parameter, or when the first device is an earphone and the second device can be an earphone box, after the earphone is placed in the charging box, at least one of the voltage, current, and impedance on the POGO PIN of the earphone is collected as the second parameter. This is not limited to the embodiments of the present application.
[0071] S402: Determine a corrosion state of a connector of a second device according to the first parameter and the second parameter.
[0072] In this embodiment, the values of the first parameter and the second parameter can be compared to determine the corrosion state of the connector of the second device. For example, if the first parameter includes collecting voltage A on the connector of the first device when the first and second devices are not connected, and the second parameter includes collecting voltage B on the connector of the first device when the first and second devices are connected via the connector, since connector corrosion may cause a decrease in voltage on the connector, if voltage B is less than voltage A, then the connector of the second device is determined to be corroded; if voltage B is equal to voltage A, then the connector of the second device is determined to be uncorroded. Alternatively, if the first parameter includes collecting current C on the connector of the first device when the first and second devices are not connected, and the second parameter includes collecting current D on the connector of the first device when the first and second devices are connected via the connector, since connector corrosion may cause leakage of the connector, resulting in excessive current, if current C is less than current D, then the connector of the second device is determined to be corroded; if current C is equal to current D, then the connector of the second device is determined to be uncorroded.
[0073] Alternatively, the corrosion state of the connector of the second device can also be determined by the degree of change in the values of the first parameter and the second parameter. If the first parameter includes collecting voltage A on the connector of the first device when the first and second devices are not connected, and the second parameter includes collecting voltage B on the connector of the first device when the first and second devices are connected via the connector, the voltage on the connector may decrease due to connector corrosion. If the difference between voltage B and voltage A is less than a preset voltage difference, that is, the voltage change on the connector of the first device is small before and after the first and second devices are connected, then it is determined that the second connector is not corroded. If the difference between voltage B and voltage A is greater than or equal to the preset voltage difference, that is, the voltage change on the connector of the first device is large before and after the first and second devices are connected, then it is determined that the second connector is corroded. Alternatively, the first parameter includes collecting the current C on the connector of the first device when the first device is not connected to the second device, and the second parameter includes collecting the current D on the connector of the first device when the first device is connected to the second device through the connector. Since the connector is corroded, the connector may leak and cause excessive current. Therefore, if the difference between the current C and the current D is greater than the preset current difference, it is determined that the connector of the second device is corroded; if the difference between the current C and the current D is less than or equal to the preset current difference, it is determined that the connector of the second device is not corroded.
[0074] The embodiment of the present application provides a method for identifying corrosion of a connector, which obtains a second parameter of a connector of a first device, and determines the corrosion status of the connector of the second device based on the first parameter and the second parameter. Since the first parameter is a parameter of the connector of the first device collected when the first device is not connected to the second device, and the second parameter is a parameter collected when the first device and the second device are connected via the connector, the corrosion status of the connector of the second device can be quickly determined by measuring the parameters of the connector of the first device before and after the connection between the first device and the second device, thereby reducing the effects of poor contact and the like caused by corrosion of the connector.
[0075] Example 3
[0076] exist Figure 3 On the basis of the embodiment shown, it is also possible to further obtain the second parameter of the connector of the first device when the first device is connected to the second device, and determine the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter. Figure 5 As shown, the corrosion identification method of the connector may further include the following steps:
[0077] S501. Obtain a second parameter of a connector of a first device; the second parameter is a parameter collected when the first device is connected to the second device through the connector.
[0078] The implementation principle of this embodiment can refer to step S401 in the second embodiment, and will not be repeated here.
[0079] S502: Determine the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter.
[0080] The corrosion state of the connector of the first device indicates whether the connector of the first device is corroded or not corroded, and the corrosion state of the connector of the second device indicates whether the connector of the second device is corroded.
[0081] In this embodiment, after determining the corrosion state of the connector of the first device, the corrosion state of the connector of the second device can be determined based on the corrosion state of the connector of the first device and the second parameter. For example, after determining the corrosion state of the connector of the first device, the corrosion state of the connector of the second device can be determined by comparing the value of the second parameter with a preset parameter threshold. Alternatively, the corrosion state of the connector of the second device can be determined by comparing the value of the first parameter with the value of the second parameter. Alternatively, the corrosion state of the connector of the second device can be determined by collecting certain parameters of the second device during the charging process.
[0082] Taking the charging case and earphones as an example, if it is determined that the charging case connector is not corroded, and if the earphone connector is also not corroded, then the voltage change on the charging case connector before and after the earphones are placed in the charging case is very small. If the earphone connector is corroded, then the voltage change on the charging case connector before and after the earphones are placed in the charging case will be relatively large. The voltage value a of the charging case connector when the earphones are placed in the charging case can be collected and compared with the voltage value b of the charging case connector when the earphones are not placed in the charging case. If the difference between the voltage values a and b is less than a certain threshold, then it is determined that the earphone connector is not corroded. If the difference between the voltage values a and b is greater than a certain threshold, then it is determined that the earphone connector is corroded. Alternatively, the voltage value a can be directly compared with a pre-set threshold. If the voltage value a is greater than or equal to the threshold, then it is determined that the earphone connector is not corroded. If the voltage value a is less than the threshold, then it is determined that the earphone connector is corroded. Similarly, when it is determined that the charging box is corroded, if the connector of the earphone is not corroded, the voltage change on the connector of the charging box before and after the earphone is placed in the charging box is very small. If the connector of the earphone is corroded, the voltage change on the connector of the charging box before and after the earphone is placed in the charging box will also be relatively large. The above-mentioned voltage value comparison method can also be used to determine whether the connector of the earphone is corroded. The difference is that the threshold value or the threshold value range is different. The embodiments of the present application are not limited to this.
[0083] Alternatively, after determining the corrosion state of the connector of the charging box, it is also possible to determine whether the connector of the earphone is corroded by measuring the change in current on the connector of the charging box before and after the earphone is placed in the charging box. For example, if the connector of the charging box is not corroded, the current of the connector of the charging box before the earphone is placed in the charging box is c, and the current of the connector of the charging box after the earphone is placed in the charging box is d. If the difference between the current c and the current d is less than a preset current threshold, it is determined that the connector of the earphone is not corroded. If the difference between the current c and the current d is greater than or equal to the current threshold, it is determined that the connector of the earphone is corroded. The embodiments of the present application are not limited to this.
[0084] The connector corrosion identification method provided in the embodiment of the present application obtains a first parameter of the connector of the first device when the first device is not connected to the second device, determines the corrosion state of the connector of the first device based on the first parameter, and obtains a second parameter of the connector of the first device when the first device is connected to the second device through the connector, determines the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter. This method can timely identify the corrosion condition of the connector of the second device and reduce the impact of poor contact and other effects caused by corrosion of the connector.
[0085] Example 4
[0086] exist Figure 3In the illustrated embodiment, there are multiple ways to determine the corrosion state of the connector of the first device based on the first parameter. In one embodiment, determining the corrosion state of the connector of the first device based on the first parameter includes: determining the corrosion state of the connector of the first device based on the first parameter and a preset threshold.
[0087] Among them, different first parameters correspond to different preset thresholds. For example, if the first parameter is current, the preset threshold is the preset current threshold; if the first parameter is voltage, the preset threshold is the preset voltage threshold; if the first parameter is resistance value, the preset threshold is the preset resistance threshold. Different preset thresholds can be determined according to actual needs, device parameters of the first device, device parameters of the second device, etc. For example, for devices charged at a normal rate, the requirement for charging time is low, then the preset threshold can be appropriately set to be smaller, or the range of the preset threshold can be appropriately larger. For the second device that requires fast charging, the requirement for charging time is high, then the preset threshold can be appropriately set to be larger, or the range of the preset threshold can be appropriately smaller. The embodiments of the present application are not limited to this.
[0088] In this embodiment, the first device can select a corresponding preset threshold value based on the type of the collected first parameter to determine the corrosion status of the first device's connector. The value of the first parameter can be compared with the preset threshold value, and the corrosion status of the first device's connector can be determined based on the relative magnitude of the first parameter value and the preset threshold value. For example, when the value of the first parameter is greater than the preset threshold value, the first device's connector is not corroded; when the value of the first parameter is less than the preset threshold value, the first device's connector is corroded. By comparing the first parameter and the preset threshold value, the corrosion status of the first device's connector can be quickly and easily determined, reducing the impact of connector corrosion on the first device.
[0089] Example 5
[0090] This embodiment focuses on the specific implementation process of determining the corrosion status of a connector of a first device when the first parameter is voltage. In this embodiment, the first parameter includes a first voltage, which is the voltage on the connector of the first device measured when the first device is not connected to a second device. The corrosion status of the connector of the first device is determined based on the first parameter and a preset threshold value. The process includes: determining that the connector of the first device is not corroded if the first voltage is greater than or equal to the preset first voltage threshold; and determining that the connector of the first device is corroded if the first voltage is less than the first voltage threshold.
[0091] In this embodiment, some resistors may be provided in the first device to collect the voltage on the connector of the first device. Figure 6As shown, the first device includes a first resistor R1 and a second resistor R2. The first end of the first resistor R1 is connected to a preset voltage V1, the second end of the first resistor R1 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is grounded. The first end of the second resistor R1 is also connected to the charging contact OPGO PIN+ of the connector of the first device, and the second end of the second resistor is also connected to the ground contact OPGO PIN- of the connector of the first device. In this embodiment, the charging contact OPGO PIN+ and the ground contact OPGO PIN- of the connector of the first device can be connected to the processor of the first device, and the voltage V2 can be collected by the processor of the first device.
[0092] The first resistor R1 and the second resistor R2 may be resistors specially set inside the first device, or may be equivalent resistors of other functional components in the first device, which is not limited in the embodiment of the present application.
[0093] like Figure 6 As shown, the equivalent circuit diagram includes voltage V1, resistor R1, resistor R2, voltage V2, and voltage V3. When the earphone box charges the earphones, power is provided by voltage V3. For example, voltage V3 can be a stable 5V voltage. To prevent the influence of voltage V3 or other charging voltages on the measured voltage on the OPGO PIN, the processor can generally collect voltage V2 as the first voltage when the earphone box is not charging the earphones or the charging process is disconnected. This first voltage is equivalent to V2 = V1 * R2 / (R1 + R2). When there is no corrosion between the POGO PIN+ and POGO PIN- of the charging box, the resistance R2 is large, and the voltage V2 is relatively high.
[0094] In this embodiment, the circuit when the connector of the charging box is corroded is equivalent to the following Figure 7 As shown in the circuit diagram, when there is corrosion between the POGO PIN+ and POGO PIN- of the charging box, it is equivalent to connecting a resistor in parallel with the resistor R2. Figure 7 The equivalent circuit diagram shown includes voltage V1, resistor R1, resistor R2, resistor R3, and voltage V2. When there is corrosion between POGO PIN+ and POGO PIN- of the charging box, it is similar to connecting a resistor R3 in parallel with resistor R2. The impedance between POGO PIN+ and POGOPIN- becomes smaller, V2 = V1*(R2 / / R3) / (R1+R2 / / R3), so the voltage of V2 becomes smaller.
[0095] In this embodiment, refer to Figure 6 and Figure 7The circuit principle shown can pre-set a first voltage threshold, collect the first voltage V2 across R2 when the earphones are not placed in the charging box, and when the first voltage V2 is greater than or equal to the first voltage threshold, determine that the connector of the charging box is not corroded, and when the second voltage V2 is less than the first voltage threshold, determine that the connector of the charging box is corroded. For example, when the connector of the earphone box is not corroded, the voltage on the connector is 5V, and the first voltage threshold can be set to 4.9V, 4.85V, 4.8, etc., which is not limited in the embodiment of the present application. The first voltage threshold can be obtained by collecting the voltages on the connectors of multiple first devices in uncorroded and corroded states, respectively, through multiple tests, or it can be calculated based on the equivalent circuit principle, which is not limited in the embodiment of the present application.
[0096] The connector corrosion method provided in the embodiment of the present application collects a first voltage on the connector of the first device when the first device is not connected to the second device. If the first voltage is greater than or equal to a preset first voltage threshold, it is determined that the connector of the first device is not corroded; if the first voltage is less than the first voltage threshold, it is determined that the connector of the first device is corroded. By comparing the first voltage with the preset first voltage threshold, the corrosion state of the connector of the first device can be quickly and accurately determined.
[0097] Example 6
[0098] Based on Example 3, this embodiment of the present application focuses on a specific implementation method for determining the corrosion state of the connector of the second device when both the first parameter and the second parameter are voltages. In this embodiment, the first parameter includes a first voltage, which is the voltage on the connector of the first device measured when the first and second devices are not connected, and the second parameter includes a second voltage, which is the voltage on the connector of the first device measured when the first and second devices are connected via the connector. Determining the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter includes:
[0099] If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the second voltage and a preset second voltage threshold; or determining the corrosion state of the connector of the second device based on a voltage difference between the first voltage and the second voltage;
[0100] If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the second voltage and a preset second voltage threshold; or, the corrosion state of the connector of the second device is determined based on the voltage difference between the first voltage and the second voltage.
[0101] In this embodiment, when a first device is connected to a second device, a second voltage is collected on the connector of the first device. If the connector of the first device is not corroded, the corrosion state of the connector of the second device can be determined based on the second voltage and a preset second voltage threshold. Alternatively, the voltage difference between the first voltage and the second voltage can be calculated, and the corrosion state of the connector of the second device can be determined based on the magnitude of the voltage difference. If the connector of the first device is corroded, the corrosion state of the connector of the second device can be determined based on the second voltage and the preset second voltage threshold, or based on the degree of change between the first voltage and the second voltage.
[0102] The following example illustrates the specific implementation of this solution, where the connector of the first device is not corroded and the corrosion state of the connector of the second device is determined based on the second voltage and the preset second voltage threshold. In this embodiment, the second device is an earphone, and the principle of identifying whether the POGO PIN of the earphone is corroded is that the POGO PIN of the earphone can be equivalent to a resistor R4. When the earphone is placed in the charging box, it is equivalent to connecting a resistor R4 in parallel to the POGO PIN+ and POGO PIN- of the charging box. The schematic diagram is shown as follows: Figure 8 The figure shows the earphones placed in the charging case with the POGO pin uncorroded. At this point, V2 = V1 * (R2 / / R4) / (R1 + R2 / / R4), where R4 represents the resistance across the earphones' POGO pin. When the earphones' POGO pin is uncorroded, R4's resistance is higher, and so is V2.
[0103] In this embodiment, when the POGO PIN of the earphone is corroded, Figure 9 As shown in the figure, the two ends of the earphone's POGO PIN are equivalent to a resistor in parallel, that is, a resistor R5 is connected in parallel at both ends of R4. When the earphone with POGO PIN corrosion is placed in the charging box with uncorroded POGO PIN, the equivalent circuit diagram is as follows: Figure 10 As shown, at this time, V2 = V1 * (R2 / / R5 / / R4) / (R1 + R2 / / R5 / / R4). Since the POGO PIN of the charging box is not corroded, the V2 voltage measured on the charging box is relatively high before inserting the earphones. However, the POGO PIN on the earphone end is corroded. At this time, the equivalent resistance R4 / / R5 of the POGO PIN on the earphone end is relatively small. Therefore, when inserting the earphones, the V2 voltage will become much lower. From this, we can conclude that the POGO PIN of the charging box itself is not corroded, but the POGO PIN of the earphones is corroded.
[0104] Based on the above circuit principle, a corresponding second voltage threshold or voltage difference can be set based on the voltage change of the POGO PIN of the earphone box before and after the earphone is placed in the charging box with uncorroded POGO PIN. After the earphone is placed in the charging box with uncorroded POGO PIN, the second voltage of the POGO PIN of the charging box collected is compared with the second voltage threshold to determine the corrosion condition of the earphone connector. Alternatively, the actual voltage difference of the POGO PIN of the charging box collected before and after the earphone is placed in the charging box with uncorroded POGO PIN is compared with the preset voltage difference threshold to determine the corrosion condition of the earphone connector.
[0105] In this embodiment, the corrosion state of the connector of the second device is determined based on the second voltage and a preset second voltage threshold, including: if the second voltage is greater than or equal to the second voltage threshold, determining that the connector of the second device is not corroded; if the second voltage is less than the second voltage threshold, determining that the connector of the second device is corroded.
[0106] In this embodiment, a second voltage threshold may be preset, and the second voltage may be compared with the second voltage threshold to determine the corrosion state of the connector of the second device. Figure 10 It shows that when the earphone is placed in the charging box, the second voltage V2 on the POGO PIN of the charging box is collected. When the second voltage V2 is greater than or equal to the second voltage threshold, it indicates that the resistance value on the POGO PIN of the earphone is relatively large, and it is determined that the POGO PIN of the earphone is not corroded; when the second voltage V2 is less than the second voltage threshold, it indicates that the resistance value on the POGO PIN of the earphone is relatively small, and it is determined that the POGO PIN of the earphone is corroded.
[0107] It should be noted that the second voltage threshold may be the same as the first voltage threshold, the second voltage threshold may also be different from the first voltage threshold, and the second voltage threshold may be lower than the first voltage threshold. For example, the second voltage threshold may be 4.85V, 4.8V, 4.75V, 4.7V, etc., and the embodiments of the present application are not limited thereto. The second voltage threshold may be obtained by collecting the voltage on the connector of the first device and the voltage on the connector of the second device under conditions such as when the connector of the first device is not corroded, when the connector of the second device is not corroded, and when the connector of the second device is corroded, respectively, through multiple measurement experiments, or may be calculated based on an equivalent circuit, and the embodiments of the present application are not limited thereto.
[0108] The connector corrosion identification method provided in the embodiment of the present application collects a second voltage on the connector of the first device when the first device is connected to the second device. If the second voltage is greater than or equal to a second voltage threshold, it is determined that the connector of the second device is not corroded; if the second voltage is less than the second voltage threshold, it is determined that the connector of the second device is corroded. By pre-setting the second voltage threshold, it is possible to simply and accurately determine whether the connector of the second device is corroded, thereby reducing the impact of connector corrosion on the second device.
[0109] Example 7
[0110] The above focuses on the implementation method of determining the corrosion state of the connector of the second device when the connector of the first device is not corroded. The following focuses on the implementation method of determining the corrosion state of the connector of the second device when the connector of the first device is corroded.
[0111] In this embodiment, the equivalent circuit when the connector of the charging box is corroded is as follows: Figure 7 As shown, Figure 11 As shown in the figure, when a charging box with corroded POGO PIN is placed with an earphone with uncorroded POGO PIN, it is equivalent to connecting a resistor R4 in parallel with resistors R2 and R3. At this time, V2 = V1 * (R2 / / R3 / / R4) / (R1 + R2 / / R3 / / R4). Because the charging box is corroded, the V2 voltage measured on the charging box is relatively low before the earphones are placed. However, the POGO PIN on the earphone end is not corroded, and the resistor R4 is still relatively large. In this way, the V2 voltage will not drop much lower when the earphones are placed. From this, we can conclude that when the POGO PIN of the charging box itself is corroded, the voltage V2 before and after the earphones are placed in the charging box changes relatively little, and the earphones' POGO PIN is not corroded.
[0112] In this embodiment, if Figure 12 As shown, when the POGO PIN of the charging box is corroded, after putting the corroded earphones in, it is equivalent to adding a resistor R5 in parallel on the basis of resistors R2, R3, and R4. At this time, V2 = V1*(R2 / / R3 / / R5 / / R4) / (R1+R2 / / R3 / / R5 / / R4). Because the POGO PIN of the charging box is corroded, the V2 voltage measured on the charging box before putting the earphones in is relatively low. However, the POGO PIN on the earphone end is corroded. At this time, the equivalent resistance R4 / / R5 of the POGO PIN on the earphone end is relatively small. In this way, when the earphones are put in, the V2 voltage will become much lower again. From this, it can be judged that when the POGO PIN of the charging box itself is corroded, if the voltage V2 before and after the earphones are put into the charging box changes significantly, the POGO PIN of the earphones is corroded.
[0113] Based on the above Figure 11 and Figure 12 Based on the principle of the equivalent circuit diagram shown, when the connector of the first device is corroded, the corrosion state of the connector of the second device can be determined based on either the second voltage and a preset second voltage threshold, or based on the voltage difference between the first and second voltages. Furthermore, in this embodiment, the corrosion state of the connector of the second device is determined based on the voltage difference between the first and second voltages, including: if the voltage difference is less than a preset first difference threshold, determining that the connector of the second device is not corroded; if the voltage difference is greater than or equal to the first difference threshold, determining that the connector of the second device is corroded.
[0114] In this embodiment, when the connector of the first device is corroded, if the voltage difference between the first voltage and the second voltage is less than a preset first difference threshold, the connector of the second device is determined to be uncorroded; if the voltage difference between the first voltage and the second voltage is greater than or equal to the first difference threshold, the connector of the second device is determined to be corroded. In other words, when the connector of the first device is corroded, if the difference between the voltage on the connector of the first device before the first device is connected to the second device and the voltage on the connector of the first device after the first device is connected to the second device is small, the connector of the second device is determined to be uncorroded; if the difference between the voltage on the connector of the first device before the first device is connected to the second device and the voltage on the connector of the first device after the first device is connected to the second device is large, the connector of the second device is determined to be corroded.
[0115] Taking the earphones and charging case as an example, if the POGO PIN of the charging case is corroded, the first difference threshold is 0.2V. If the first voltage of the POGO PIN of the charging case is 4.7V before the earphones are placed in the charging case, and the second voltage of the POGO PIN of the charging case is 4.6V after the earphones are placed in the charging case, and the voltage difference between the first and second voltages is 0.1V, and 0.1V is less than 0.2V, then the earphones' POGO PIN is determined to be uncorroded. If the first voltage of the POGO PIN of the charging case is 4.7V before the earphones are placed in the charging case, and the second voltage of the POGO PIN of the charging case is 4.4V after the earphones are placed in the charging case, and the voltage difference between the first and second voltages is 0.3V, and 0.3V is greater than 0.2V, then the earphones' POGO PIN is determined to be corroded.
[0116] The embodiment of the present application provides a method for identifying corrosion of a connector. When a connector of a first device is corroded, a first voltage of the connector of the first device when the first device is not connected to the second device and a second voltage of the connector of the first device when the first device is connected to the second device are collected, and a voltage difference between the first voltage and the second voltage is calculated. If the voltage difference is less than a preset first difference threshold, it is determined that the connector of the second device is not corroded; if the voltage difference is greater than or equal to the first difference threshold, it is determined that the connector of the second device is corroded. The corrosion state of the connector of the second device is identified by the degree of voltage change on the connector of the first device before and after the first device is connected to the second device. This method can simply and accurately identify the corrosion state of the connector of the second device and reduce the impact of corrosion of the connector of the second device on the second device.
[0117] The above embodiment focuses on the implementation of collecting the voltage on the connector of the first device and identifying the corrosion state of the connector based on the voltage. The following embodiment focuses on the implementation of collecting the current on the connector of the first device and identifying the corrosion state of the connector based on the current.
[0118] Example 8
[0119] In this embodiment, the locations where the current is collected are different, and the methods for identifying the corrosion status of the connector are also different. This embodiment focuses on the implementation method of collecting the current between the connector of the first device and the power supply or ground terminal.
[0120] In this embodiment, Figure 6 Based on the embodiment shown, Figure 13 As shown, the first device also includes a first current sensor, the input end of the first current sensor is connected to the preset voltage V1, and the output end of the first current sensor is connected to the first end of the first resistor R1. The equivalent circuit of the charging box may include a preset voltage V1, a resistor R1 and a resistor R2, and an ammeter is set between the voltage V1 and the resistor R1 to collect the current at the connector end of the charging box. Figure 6 and Figure 7 As shown, when the POGO pin of the charging case is corroded, it's equivalent to connecting resistor R3 in parallel with resistor R2, which reduces the resistance of the POGO pin. This increases the current flowing through the POGO pin. Therefore, when there are no earphones in the charging case, a small current indicates the POGO pin is not corroded. A large current indicates severe corrosion. After the earphones are placed in the charging case, a small change in current indicates the POGO pin is not corroded. However, a large change in current indicates severe corrosion.
[0121] In another embodiment, Figure 14 As shown, the first device also includes a second current sensor, the input end of the second current sensor is connected to the target common end, and the output end of the second current sensor is grounded; the target common end is the common end between the second end of the second resistor R2 and the ground contact POGO PIN- of the connector of the first device. The equivalent circuit of the charging box may include a voltage V1, a first resistor R1 and a second resistor R2, and a second current sensor may be set between POGO PIN- and the ground end to collect the current on the connector of the charging box. Its principle is similar to Figure 13 Similar, no further description is given here.
[0122] Based on Figure 13 and Figure 14 In the circuit principle shown, the first parameter includes a first current. The first current is the current between the connector of the first device and the power supply or ground terminal, which is collected when the first device is not connected to the second device. The corrosion state of the connector of the first device is determined based on the first parameter and a preset threshold value, including: if the first current is less than the preset first current threshold value, it is determined that the connector of the first device is not corroded; if the first current is greater than or equal to the first current threshold value, it is determined that the connector of the first device is corroded.
[0123] In this embodiment, when the first device and the second device are not connected, the first current between the connector of the first device and the power supply or ground terminal is collected. If the first current is less than a preset first current threshold, it is determined that the connector of the first device is not corroded; if the first current is greater than or equal to the first current threshold, it is determined that the connector of the first device is corroded. Figure 13 For example, when the earphones are not placed in the charging box, the current e between the voltage V1 of the charging box and the resistor R1 is collected. If the current e is less than the preset first current threshold, it is determined that the POGO PIN end of the charging box is not corroded; if the current e is greater than or equal to the first current threshold, it is determined that the POGO PIN end of the charging box is corroded. Or, Figure 13 For example, when the earphones are not placed in the charging box, the current f between the POGO PIN- and the ground terminal of the charging box is collected. If the current f is less than the preset first current threshold, it is determined that the POGO PIN terminal of the charging box is not corroded; if the current f is greater than or equal to the first current threshold, it is determined that the POGO PIN terminal of the charging box is corroded.
[0124] It should be noted that the first current threshold may be 2.1A, 2.05A, 2A, 1.9A, etc., and the embodiments of the present application are not limited thereto. The first current threshold may be obtained through multiple measurement experiments, respectively, of the current between the connector of the first device and the power supply or ground terminal, and the current on the connector of the second device, when the connector of the first device is not corroded, the connector of the second device is not corroded, and the connector of the second device is corroded, or it may be obtained by calculation based on an equivalent circuit, and the embodiments of the present application are not limited thereto.
[0125] The connector corrosion identification method provided in the embodiment of the present application collects a first current between the connector of the first device and the power supply or ground terminal when the first device and the second device are not connected. If the first current is less than a preset first current threshold, it is determined that the connector of the first device is not corroded; if the first current is greater than or equal to the first current threshold, it is determined that the connector of the first device is corroded. By collecting the current on the connector of the first device and comparing it with the preset current threshold, it is possible to quickly and accurately identify whether the connector of the first device is corroded, thereby avoiding the effects of poor contact, leakage, etc. caused by the corrosion of the connector of the first device.
[0126] Furthermore, after determining the corrosion state of the connector of the first device, the corrosion state of the connector of the second device can be determined based on the corrosion state of the connector of the first device and the current between the connector of the first device and the power supply or ground terminal when the first device and the second device are connected.
[0127] Embodiment 9
[0128] In this embodiment, the first parameter includes a first current, which is a current between a connector of the first device and a preset voltage or ground terminal, collected when the first device and the second device are not connected. The second parameter includes a third current, which is a current between the connector of the first device and a preset voltage or ground terminal, when the first device and the second device are connected. Determining the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter includes:
[0129] If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the third current and a preset third current threshold; or determining the corrosion state of the connector of the second device based on a first current difference between the first current and the third current;
[0130] If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the third current and a preset third current threshold; or, the corrosion state of the connector of the second device is determined based on a first current difference between the first current and the third current.
[0131] In this embodiment, when a first device is connected to a second device, a third current is collected between the connector of the first device and the power supply or ground terminal. If the connector of the first device is not corroded, the corrosion state of the connector of the second device can be determined based on the third current and a preset third current threshold, or based on a first current difference between the first current and the third current. If the connector of the first device is corroded, the corrosion state of the connector of the second device can be determined based on the third current and the preset third current threshold, or based on the degree of change between the first current and the third current, without limitation in the embodiments of the present application.
[0132] Furthermore, the corrosion state of the connector of the second device is determined based on the third current and a preset third current threshold, including: if the third current is less than the third current threshold, determining that the connector of the second device is not corroded; if the third current is greater than or equal to the third current threshold, determining that the connector of the second device is corroded.
[0133] In this embodiment, taking the charging box and earphones as an example, when the POGO PIN of the charging box is not corroded, the impedance of the POGO PIN of the charging box is relatively large, such as Figure 13 As shown in the figure, the voltage V1 of the charging box and the current between the resistor R1 are small. When the charging box with uncorroded POGO PIN is placed in the uncorroded earphone, the impedance of the earphone's POGO PIN is also relatively large. Therefore, the current between the voltage V1 and the resistor R1 is still relatively small. Based on this principle, when the earphone is placed in the charging box with uncorroded POGO PIN, Figure 13 As shown, the first current sensor collects the voltage V1 of the charging box and the current l between the resistor R1. If the current l is less than the third current threshold, it is determined that the POGO PIN of the headset is not corroded. If the current l is greater than or equal to the third current threshold, it is determined that the POGO PIN of the headset is corroded. Or, as Figure 14 As shown, the second current m between the POGOPIN- of the charging box and the ground terminal is collected by the second current sensor. If the current m is less than the third current threshold, it is determined that the POGO PIN of the earphone is not corroded. If the current m is greater than or equal to the third current threshold, it is determined that the POGO PIN of the earphone is corroded.
[0134] It should be noted that the third current threshold may be the same as or different from the first current threshold, and may be 2.1A, 2.05A, 2A, 1.9A, etc., and the embodiments of the present application are not limited thereto. The third current threshold may be obtained by collecting the current between the connector of the first device and the power supply or ground terminal, and the current on the connector of the second device, respectively, under the conditions where the connector of the first device is not corroded, the connector of the second device is not corroded, and the connector of the second device is corroded, through multiple measurement experiments, or may be calculated based on an equivalent circuit, and is not limited in the embodiments of the present application.
[0135] The connector corrosion identification method provided in an embodiment of the present application collects a third current between the connector of the first device and the power supply or ground terminal when a first device is connected to a second device. If the third current is less than a third current threshold, the connector of the second device is determined to be uncorroded. If the third current is greater than or equal to the third current threshold, the connector of the second device is determined to be corroded. When the first device and the second device are connected, the third current between the connector of the first device and the power supply or ground terminal is collected and compared with the third current threshold, which can quickly identify whether the connector of the second device is corroded.
[0136] Example 10
[0137] In the case where the connector of the first device is corroded, a third current is collected between the connector of the first device and the power supply or ground terminal when the first device is connected to the second device, and the corrosion state of the connector of the second device is determined based on the third current and a preset third current threshold. Alternatively, the first current is collected between the connector of the first device and the power supply or ground terminal when the first device is not connected to the second device, and the third current is collected between the connector of the first device and the power supply or ground terminal when the first device is connected to the second device, and the corrosion state of the connector of the second device is determined by the degree of change between the first current and the third current.
[0138] In this embodiment, the corrosion state of the connector of the second device is determined based on a first current difference between the first current and the third current, including: if the first current difference is less than a preset second difference threshold, determining that the connector of the second device is not corroded; if the first current difference is greater than or equal to the second difference threshold, determining that the connector of the second device is corroded.
[0139] In this embodiment, if the connector of the first device is corroded, if the difference between the first current and the third current is less than a preset second difference threshold, the connector of the second device is determined to be uncorroded; if the difference between the first current and the third current is greater than or equal to the second difference threshold, the connector of the second device is determined to be corroded. In other words, if the connector of the first device is corroded, if the current between the connector of the first device and the power supply or ground terminal before the first and second devices are connected is slightly different from the current between the connector of the first device and the power supply or ground terminal after the first and second devices are connected, the connector of the second device is determined to be uncorroded; if the current between the connector of the first device and the power supply or ground terminal before the first and second devices are connected is significantly different from the current between the connector of the first device and the power supply or ground terminal after the first and second devices are connected, the connector of the second device is determined to be corroded.
[0140] Taking the earphones and charging case as an example, if the POGO pin of the charging case is corroded, and the first difference threshold is 0.2A, if the first current of the POGO pin is 2.2A before the earphones are placed in the charging case, and the third current of the POGO pin is 2.3A after the earphones are placed in the charging case, and the current difference between the first and third currents is 0.1A, and 0.1A is less than 0.2A, then the earphones' POGO pin is determined to be uncorroded. If the first current of the POGO pin is 2.2A before the earphones are placed in the charging case, and the third current of the POGO pin is 2.5A after the earphones are placed in the charging case, and the current difference between the first and third currents is 0.3A, and 0.3A is greater than 0.2A, then the earphones' POGO pin is determined to be corroded.
[0141] The connector corrosion method provided in the embodiment of the present application collects a first current between the connector of the first device and the power supply or ground terminal when the first device is not connected to the second device, and a third current between the connector of the first device and the power supply or ground terminal when the first device is connected to the second device, and calculates a first current difference between the first current and the third current. If the first current difference is less than a preset second difference threshold, it is determined that the connector of the second device is not corroded; if the first current difference is greater than or equal to the second difference threshold, it is determined that the connector of the second device is corroded. The corrosion state of the connector of the second device is identified by the degree of current change on the connector of the first device before and after the first device is connected to the second device. This method can simply and accurately identify the corrosion state of the connector of the second device and reduce the impact of the corrosion of the connector of the second device on the second device.
[0142] Example 11
[0143] In this embodiment, the focus is on the method of collecting the current between the charging contact and the ground contact of the connector of the first device and identifying the corrosion status of the connector of the first device and the connector of the second device based on the current.
[0144] In this embodiment, Figure 6 Based on the embodiment shown, Figure 15 As shown, the first device further includes a third current sensor, the input end of the third current sensor is connected to the second end of the second resistor R2, and the output end of the second current sensor is grounded. The charging box circuit can be equivalent to the following Figure 15 As shown in the circuit diagram, an ammeter can be set between the POGO PIN- and R2 of the charging box to collect the current between the POGO PIN- and R2 of the charging box. That is, the ammeter collects the current flowing through R2. When the POGO PIN of the charging box is corroded, it is equivalent to connecting a resistor in parallel to R2, that is, the current flowing through R2 is shunted, and the current on R2 becomes smaller. Therefore, in this embodiment, when it is detected that the current between POGO PIN- and R2 becomes smaller, it is determined that the POGO PIN of the charging box is corroded.
[0145] Based on Figure 13 According to the circuit principle shown in the figure, in this embodiment, the first parameter includes a second current, and the second current is the current between the charging contact and the ground contact of the connector of the first device, which is collected when the first device and the second device are not connected. The corrosion state of the connector of the first device is determined based on the first parameter and the preset threshold value, including: if the second current is less than the preset second current threshold value, it is determined that the connector of the first device is corroded; if the second current is greater than or equal to the second current threshold value, it is determined that the connector of the first device is not corroded.
[0146] In this embodiment, when the first device and the second device are not connected, the second current between the charging contact and the grounding contact of the connector of the first device is collected. If the second current is less than a preset second current threshold, it is determined that the connector of the first device is corroded; if the second current is greater than or equal to the second current threshold, it is determined that the connector of the first device is not corroded. Figure 15 For example, when the earphones are not placed in the charging box, the current x between the POGO PIN- and R2 of the charging box is collected. If the current x is less than the preset second current threshold, it is determined that the POGO PIN end of the charging box is corroded; if the current x is greater than or equal to the second current threshold, it is determined that the POGO PIN end of the charging box is not corroded.
[0147] It should be noted that the second current threshold may be 2A, 1.9A, 1.8A, etc., and the embodiments of the present application are not limited thereto. The second current threshold may be obtained through multiple measurement experiments, respectively, of the current between the charging contact and the ground contact of the connector of the first device and the current on the connector of the second device, under conditions where the connector of the first device is not corroded, the connector of the first device is corroded, the connector of the second device is not corroded, and the connector of the second device is corroded, or it may be obtained by calculation based on an equivalent circuit, and is not limited in the embodiments of the present application.
[0148] The connector corrosion identification method provided in an embodiment of the present application collects a second current between the charging contact and the ground contact of the connector of the first device when the first device and the second device are not connected. If the second current is less than a preset second current threshold, the connector of the first device is determined to be corroded; if the second current is greater than or equal to the second current threshold, the connector of the first device is determined to be uncorroded. By collecting the current between the charging contact and the ground contact of the connector of the first device and comparing it with the preset second current threshold, it is possible to quickly and accurately identify whether the connector of the first device is corroded, thereby avoiding the effects of poor contact, leakage, etc. caused by the corrosion of the connector of the first device.
[0149] Example 12
[0150] After determining the corrosion state of the connector of the first device, the corrosion state of the connector of the second device can be determined based on the corrosion state of the connector of the first device and the current between the charging contact and the ground contact of the connector of the first device when the first device and the second device are connected.
[0151] In this embodiment, the first parameter includes a second current, which is a current between a charging contact and a ground contact of a connector of the first device, collected when the first device and the second device are not connected. The second parameter includes a fourth current, which is a current between the charging contact and the ground contact of the connector of the first device, when the first device and the second device are connected. Determining the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter includes:
[0152] If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the fourth current and a preset fourth current threshold; or determining the corrosion state of the connector of the second device based on a second current difference between the second current and the fourth current;
[0153] If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the fourth current and the preset fourth current threshold; or, the corrosion state of the connector of the second device is determined based on the second current difference between the second current and the fourth current.
[0154] In this embodiment, when a first device is connected to a second device, a fourth current is collected between the charging contact and the ground contact of the connector of the first device. If the connector of the first device is not corroded, the corrosion state of the connector of the second device can be determined based on the fourth current and a preset fourth current threshold, or based on a second current difference between the second current and the fourth current. If the connector of the first device is corroded, the corrosion state of the connector of the second device can be determined based on the fourth current and the preset fourth current threshold, or based on the degree of change between the third current and the fourth current.
[0155] Furthermore, the corrosion state of the connector of the second device is determined based on the fourth current and a preset fourth current threshold, including: if the fourth current is less than the fourth current threshold, determining that the connector of the second device is corroded; if the fourth current is greater than or equal to the fourth current threshold, determining that the connector of the second device is not corroded.
[0156] In this embodiment, taking the charging box and earphones as an example, when the POGO PIN of the charging box is not corroded, the impedance of the POGO PIN of the charging box is relatively large, such as Figure 15 As shown, the current between the POGO PIN- of the charging box and R2 is small. When a charging box with an uncorroded POGO PIN is placed in an uncorroded earphone, the impedance of the earphone's POGO PIN is also relatively large. Therefore, the current between the POGO PIN- of the charging box and R2 does not decrease much. Therefore, when the current between the POGO PIN- of the charging box and R2 is greater than or equal to the fourth current threshold, it is determined that the connector of the second device is not corroded. Conversely, when a charging box with an uncorroded POGO PIN is placed in a corroded earphone, the impedance of the earphone's POGO PIN becomes smaller, resulting in a significant current being shunted between the POGO PIN- and R2. Therefore, when the current between the POGO PIN- of the charging box and R2 is less than the fourth current threshold, it is determined that the connector of the second device is corroded.
[0157] It should be noted that there is a certain difference between the second current threshold and the fourth current threshold. For example, the second current threshold is greater than the fourth current threshold. The second current threshold can be 2A, 1.9A, 1.8A, etc., and the fourth current threshold can be 1.8A, 1.7A, 1.6A, etc., which is not limited in the embodiments of the present application. The fourth current threshold can be obtained by collecting the current between the charging contact and the ground contact of the connector of the first device and the current on the connector of the second device under the conditions of no corrosion of the connector of the first device, corroded connector of the first device, no corrosion of the connector of the second device, and corroded connector of the second device, respectively, through multiple measurement experiments, or it can be calculated based on an equivalent circuit, which is not limited in the embodiments of the present application.
[0158] The connector corrosion identification method provided in the embodiment of the present application can determine the corrosion state of the connector of the second device based on the fourth current and the preset fourth current threshold. By comparing the fourth current with the preset fourth current threshold, it can quickly and accurately determine whether the connector of the second device is corroded, thereby avoiding the impact of the corrosion of the connector of the second device on the performance of the second device.
[0159] Example 13
[0160] In the case where the connector of the first device is corroded, a second current between the charging contact and the ground contact of the connector of the first device when the first device is not connected to the second device can be collected, and a fourth current between the charging contact and the ground contact of the connector of the first device when the first device is connected to the second device can be collected. The corrosion state of the connector of the second device can be determined based on the fourth current and a preset fourth current threshold, and the corrosion state of the connector of the second device can also be determined by the degree of change between the second current and the fourth current.
[0161] In this embodiment, the corrosion state of the connector of the second device is determined based on the second current difference between the second current and the fourth current, including: if the second current difference is greater than a preset third difference threshold, determining that the connector of the second device is corroded; if the second current difference is less than or equal to the third difference threshold, determining that the connector of the second device is not corroded.
[0162] In this embodiment, taking the charging box and earphones as an example, when the POGO PIN of the charging box is corroded, Figure 15As shown, the current between POGO PIN- and R2 decreases. When a charging case with corroded POGO PINs is placed in an earphone with uncorroded POGO PINs, the current between POGO PIN- and R2 does not decrease much due to the relatively large impedance of the earphone's POGO PINs. Therefore, when the current difference between the charging case with corroded POGO PINs and the earphone with uncorroded POGO PINs is less than or equal to the third difference threshold, the earphone's POGO PIN is determined to be uncorroded. However, when a charging case with corroded POGO PINs is placed in an earphone with corroded POGO PINs, the current between POGO PIN- and R2 decreases significantly due to the reduced impedance of the earphone's POGO PINs. Therefore, when the current difference between the charging case with corroded POGO PINs and the earphone with uncorroded POGO PINs is greater than the third difference threshold, the earphone's POGO PIN is determined to be corroded.
[0163] The connector corrosion identification method provided in the embodiment of the present application collects a second current between the charging contact and the ground contact of the connector of the first device when the first device and the second device are not connected, and collects a fourth current between the charging contact and the ground contact of the connector of the first device when the first device and the second device are connected, calculates the second current difference between the second current and the fourth current, and determines that the connector of the second device is corroded if the second current difference is greater than a preset third difference threshold; if the second current difference is less than or equal to the third difference threshold, it is determined that the connector of the second device is not corroded. By judging the degree of change between the second current and the fourth current, the corrosion state of the connector of the second device is determined, thereby preventing the impact of the corrosion of the connector of the second device on the performance of the second device.
[0164] Example 14
[0165] In some scenarios, the corrosion state of the connector can also be identified by the impedance of the connector. In this embodiment, the first parameter includes a first resistance value, which is the resistance value of the connector of the first device collected when the first device is not connected to the second device. The corrosion state of the connector of the first device is determined based on the first parameter and the preset threshold, including: if the first resistance value is greater than or equal to the preset first resistance threshold, it is determined that the connector of the first device is not corroded; if the first resistance value is less than the first resistance threshold, it is determined that the connector of the first device is corroded.
[0166] In this embodiment, the first device is a charging box as an example. Figure 6 and Figure 7As shown in the figure, when the POGO pin on the charging box is corroded, it is equivalent to connecting a resistor R3 in parallel with resistor R2. Therefore, when the POGO pin on the charging box is corroded, the resistance value of the POGO pin on the charging box decreases. Based on this principle, a first resistance threshold can be preset to collect the first resistance value of R2 when the earphones are not placed in the charging box. If the first resistance value is greater than or equal to the first resistance threshold, it is determined that the POGO pin of the charging box is not corroded. If the first resistance value is less than the first resistance threshold, it is determined that the POGO pin of the charging box is corroded.
[0167] In another embodiment, taking the first device as an earphone and the second device as a charging box, as an example, Figure 16 As shown, the earphone is equivalent to Figure 16 The circuit shown includes a preset voltage V5, a voltage V6, resistors R7 and R8, and a voltage V4, where V4 = V5*R8 / (R7+R8). When the connection between the POGO PIN+ and POGO PIN- of the earphones is uncorroded, resistor R8 is very large. When the POGO PIN of the earphones is corroded, this is equivalent to adding a series resistor to resistor R8, causing the resistance of the POGO PIN of the earphones to decrease. Based on this principle, a first resistance threshold can be preset to collect the first resistance value of R8 when the earphones are not placed in the charging case. If the first resistance value is greater than or equal to the first resistance threshold, it is determined that the POGO PIN of the earphones is not corroded. If the first resistance value is less than the first resistance threshold, it is determined that the POGO PIN of the earphones is corroded.
[0168] The first resistance value may be obtained by directly sampling the resistance value of the connector of the first device using a resistance sensor when the first device is not connected to the second device, or by sampling the voltage and current on the connector of the first device when the first device is not connected to the second device and calculating the value based on the voltage and current, which are not limited in the embodiments of the present application. The first resistance threshold may be obtained by sampling the resistance values of the connectors of multiple first devices in both uncorroded and corroded states, and then performing multiple tests, or by calculating the value based on the equivalent circuit principle, which are not limited in the embodiments of the present application.
[0169] The connector corrosion identification method provided in the embodiment of the present application collects a first resistance value on the connector of the first device when the first device is not connected to the second device. If the first resistance value is greater than or equal to a preset first resistance threshold, it is determined that the connector of the first device is not corroded; if the first resistance value is less than the first resistance threshold, it is determined that the connector of the first device is corroded. By comparing the first resistance value and the preset first resistance threshold, the corrosion state of the connector of the first device can be quickly and accurately determined.
[0170] Example 15
[0171] Based on Example 12, this embodiment of the present application focuses on a specific implementation method for determining the corrosion state of the connector of the second device when the first parameter and the second parameter are both resistance values. In this embodiment, the first parameter includes a first resistance value, which is the resistance value of the connector of the first device measured when the first and second devices are not connected, and the second parameter includes a second resistance value, which is the resistance value of the connector of the first device measured when the first and second devices are connected via the connector. Determining the corrosion state of the connector of the second device based on the corrosion state of the connector of the first device and the second parameter includes:
[0172] If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the second resistance value and a preset second resistance threshold; or determining the corrosion state of the connector of the second device based on a resistance difference between the first resistance value and the second resistance value;
[0173] If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the second resistance value and a preset second resistance threshold; or, the corrosion state of the connector of the second device is determined based on the resistance difference between the first resistance value and the second resistance value.
[0174] Among them, the second resistance value can be obtained by directly collecting the resistance value of the connector of the first device using a resistance sensor when the first device is connected to the second device through a connector, or it can be obtained by collecting the voltage and current on the connector of the first device when the first device is connected to the second device through a connector, and calculating based on the voltage and current. The embodiments of the present application are not limited to this.
[0175] In this embodiment, the first device is an earphone and the second device is a charging box. Figure 17 As shown, the uncorroded charging box of POGOPIN is equivalent to resistor R9, as shown in Figure 18 As shown, placing an uncorroded earphone in a charging case with an uncorroded POGO PIN is equivalent to connecting resistor R9 in parallel with R8. At this time, V4 = V5 * (R8 / / R9) / (R7 + R8 / / R9), where R9 represents the resistance of the earphone's POGO PIN. When the POGO PIN of the charging case is uncorroded, the resistance value of R9 is relatively large. Therefore, the resistance change of the earphone's POGO PIN before and after the earphone is placed in the charging case is relatively small. When the POGO PIN of the charging case is corroded, the resistance value of R9 is relatively small. Therefore, the resistance change of the earphone's POGO PIN before and after the earphone is placed in the charging case is relatively large.
[0176] In this embodiment, when a first device and a second device are connected via a connector, a second resistance value of the connector of the first device is collected. If the connector of the first device is not corroded, the corrosion state of the connector of the second device can be determined based on the second resistance value and a preset second resistance value threshold, or based on the resistance difference between the first resistance value and the second resistance value. If the connector of the first device is corroded, the corrosion state of the connector of the second device can be determined based on the second resistance value and the preset second resistance value threshold, or based on the degree of change between the first resistance value and the second resistance value.
[0177] Furthermore, the corrosion state of the connector of the second device is determined based on the second resistance value and a preset second resistance threshold, including: if the second resistance value is greater than or equal to the second resistance threshold, determining that the connector of the second device is not corroded; if the second resistance value is less than the second resistance threshold, determining that the connector of the second device is corroded.
[0178] In this embodiment, taking the charging case as the first device and the earphones as the second device as an example, the POGO PIN of the earphones is identified as corroded. The principle is that the POGO PIN of the earphones can be regarded as a resistor. When the earphones are placed in the charging case, it is equivalent to connecting a resistor in parallel between the POGO PIN+ and POGO PIN- of the charging case. When the earphones with uncorroded POGO PINs are placed in a charging case with uncorroded POGO PINs, the impedance of the POGO PINs of the charging case and the earphones are both relatively large. Therefore, the equivalent impedance of the POGO PIN of the earphones is also relatively large. When the earphones with corroded POGO PINs are placed in a charging case with uncorroded POGO PINs, the impedance of the POGO PIN of the earphones decreases. Therefore, the equivalent impedance of the POGO PIN of the earphones decreases.
[0179] Based on this principle, a second resistance threshold can be pre-set and compared with the second resistance threshold to determine the corrosion status of the connector of the second device. For example, when the earphones are placed in the charging case, the second resistance value of the POGO PIN of the charging case is collected. When the second resistance value is greater than or equal to the second resistance threshold, it indicates that the resistance value of the POGO PIN of the earphones is relatively large, and the POGO PIN of the earphones is determined to be uncorroded. When the second resistance value is less than the second resistance threshold, it indicates that the resistance value of the POGO PIN of the earphones is relatively small, and the POGO PIN of the earphones is determined to be corroded.
[0180] It should be noted that the second resistance threshold value may be the same as the first resistance threshold value, the second resistance threshold value may also be different from the first resistance threshold value, and the second resistance threshold value may be smaller than the first resistance threshold value, and the embodiments of the present application are not limited thereto. The second resistance threshold value may be obtained by collecting the resistance values of the connector of the first device and the resistance values of the connector of the second device respectively under the conditions of no corrosion of the connector of the first device, no corrosion of the connector of the second device, and corrosion of the connector of the second device, through multiple measurement experiments, or may be calculated based on an equivalent circuit, and the embodiments of the present application are not limited thereto.
[0181] The connector corrosion identification method provided in the embodiment of the present application collects the second resistance value on the connector of the first device when the first device and the second device are connected through the connector. If the second resistance value is greater than or equal to the second resistance value threshold, it is determined that the connector of the second device is not corroded; if the second resistance value is less than the second resistance value threshold, it is determined that the connector of the second device is corroded. By pre-setting the second resistance value threshold, it is possible to simply and accurately determine whether the connector of the second device is corroded, thereby reducing the impact of connector corrosion on the second device.
[0182] In another embodiment, a method for determining the corrosion state of the connector of the second device based on the resistance difference between the first resistance value and the second resistance value is mainly introduced, including: if the resistance difference is less than a preset fourth difference threshold, determining that the connector of the second device is not corroded; if the resistance difference is greater than or equal to the fourth difference threshold, determining that the connector of the second device is corroded.
[0183] In this embodiment, the first device is a charging box and the second device is a headset. Figure 11 As shown in the figure, when the POGO PIN corroded earphones are placed in the charging box with uncorroded POGO PINs, it is equivalent to adding a resistor R4 in parallel to the resistors R2 and R3. Since the resistance R4 of the earphones' POGO PINs is relatively large, the equivalent resistance of the earphones' POGO PINs changes little before and after the earphones are placed in the box. Figure 12 As shown in the figure, when the POGO PIN of the charging box is corroded, putting the corroded earphones in is equivalent to adding a resistor R5 in parallel on the basis of resistors R2, R3, and R4. Since the resistance R4 of the POGO PIN of the earphones is reduced, the equivalent resistance of the POGO PIN of the earphone box changes greatly before and after the earphones are placed in the earphone box.
[0184] Based on this principle, if the resistance difference between the first resistance value and the second resistance value is less than a preset fourth difference threshold, the connector of the second device is determined to be uncorroded; if the resistance difference between the first resistance value and the second resistance value is greater than or equal to the fourth difference threshold, the connector of the second device is determined to be corroded. In other words, if the change between the resistance value on the connector of the first device before the first and second devices are connected via the connector and the resistance value on the connector of the first device after the first and second devices are connected via the connector is small, the connector of the second device is determined to be uncorroded; if the change between the resistance value on the connector of the first device before the first and second devices are connected via the connector and the resistance value on the connector of the first device after the first and second devices are connected via the connector is large, the connector of the second device is determined to be corroded.
[0185] The embodiment of the present application provides a method for identifying corrosion of a connector, which collects a first resistance value of the connector of the first device when the first device is not connected to the second device, and a second resistance value of the connector of the first device when the first device is connected to the second device through the connector, and calculates the resistance difference between the first resistance value and the second resistance value. If the resistance difference is less than a preset fourth difference threshold, it is determined that the connector of the second device is not corroded; if the resistance difference is greater than or equal to the fourth difference threshold, it is determined that the connector of the second device is corroded. The corrosion state of the connector of the second device is identified by the degree of resistance change on the connector of the first device before and after the first device is connected to the second device through the connector. This method can simply and accurately identify the corrosion state of the connector of the second device and reduce the impact of corrosion of the connector of the second device on the second device.
[0186] Example 16
[0187] Based on any of the above embodiments, when it is determined that the connector of the first device and / or the connector of the second device is corroded, the corrosion condition can be reported to the user terminal. In this embodiment, the connector corrosion identification method further includes: if the connector of the first device is corroded, transmitting corrosion information; the corrosion information is used to indicate that the connector of the first device is corroded and / or to inform remedial measures.
[0188] Optionally, if the connector of the second device is corroded, corrosion information may also be sent; the corrosion information is used to prompt that the connector of the second device is corroded and / or inform remedial measures.
[0189] Taking earphones and charging box as an example, when the charging box detects that the POGO PIN of the charging box and / or the POGO PIN of the earphones are corroded, the charging box sends the corrosion information to the earphones, and the earphones then send the corrosion information to the mobile phone. The mobile phone reminds the user that the POGO PIN of the earphones and / or the charging box is corroded.
[0190] In this embodiment, when the connector of the first device is determined, the first device can send the corrosion information to the second device through the connector, and the second device sends the corrosion information to the user terminal to remind the user to process the connector of the first device to reduce the corrosion of the connector or avoid the impact of connector corrosion on the device.
[0191] It should be noted that the above embodiments mainly take the first device as a charging box and the second device as earphones as an example to introduce the corrosion identification method of the connector provided in the embodiments of the present application. The implementation method with the first device as earphones and the second device as a charging box is similar to the implementation principle of the above embodiments and will not be repeated in this application.
[0192] It should be understood that although Figure 3-Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 3-Figure 5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0193] Figure 19 This is a structural block diagram of a connector corrosion identification device provided in one embodiment. Figure 19 As shown, the corrosion identification device of the connector includes:
[0194] An acquisition module 11 is configured to acquire a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to a second device;
[0195] The first determining module 12 is configured to determine a corrosion state of the connector of the first device according to the first parameter.
[0196] like Figure 20 As shown, the acquisition module 11 is further used to acquire a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector;
[0197] The corrosion identification device of the connector also includes:
[0198] The second determining module 13 is configured to determine a corrosion state of the connector of the second device according to the first parameter and the second parameter.
[0199] In one embodiment, the first determining module 12 is configured to determine the corrosion state of the connector of the first device according to the first parameter and a preset threshold.
[0200] In one embodiment, the first parameter includes a first voltage, where the first voltage is the voltage on the connector of the first device collected when the first device and the second device are not connected. The first determination module 12 is configured to determine that the connector of the first device is not corroded if the first voltage is greater than or equal to a preset first voltage threshold; and to determine that the connector of the first device is corroded if the first voltage is less than the first voltage threshold.
[0201] In one embodiment, the first parameter includes a first current, where the first current is the current between the connector of the first device and a preset voltage or ground terminal, collected when the first device and the second device are not connected. The first determination module 12 is configured to determine that the connector of the first device is not corroded if the first current is less than a preset first current threshold; and to determine that the connector of the first device is corroded if the first current is greater than or equal to the first current threshold.
[0202] In one embodiment, the first parameter includes the second current, where the second current is the current between the charging contact and the ground contact of the connector of the first device, collected when the first device and the second device are not connected. The first determination module 12 is configured to determine that the connector of the first device is corroded if the second current is less than a preset second current threshold; and to determine that the connector of the first device is not corroded if the second current is greater than or equal to the second current threshold.
[0203] In one embodiment, the first parameter includes a first resistance value, where the first resistance value is a resistance value of the connector of the first device collected when the first device and the second device are not connected. The first determination module 12 is configured to determine that the connector of the first device is not corroded if the first resistance value is greater than or equal to a preset first resistance threshold; and determine that the connector of the first device is corroded if the first resistance value is less than the first resistance threshold.
[0204] like Figure 20 As shown, the acquisition module 11 is further used to acquire a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector;
[0205] The corrosion identification device of the connector also includes:
[0206] The second determining module 13 is configured to determine the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter.
[0207] In one embodiment, the first parameter includes a first voltage, which is the voltage on the connector of the first device collected when the first device is not connected to the second device. The second parameter includes a second voltage, which is the voltage on the connector of the first device collected when the first device is connected to the second device through the connector. The second determination module 13 is used to determine the corrosion state of the connector of the second device based on the second voltage and a preset second voltage threshold if the connector of the first device is not corroded, or to determine the corrosion state of the connector of the second device based on the voltage difference between the first voltage and the second voltage; if the connector of the first device is corroded, determine the corrosion state of the connector of the second device based on the second voltage and the preset second voltage threshold; or to determine the corrosion state of the connector of the second device based on the voltage difference between the first voltage and the second voltage.
[0208] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the second voltage is greater than or equal to the second voltage threshold; and to determine that the connector of the second device is corroded if the second voltage is less than the second voltage threshold.
[0209] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the voltage difference is less than a preset first difference threshold; and to determine that the connector of the second device is corroded if the voltage difference is greater than or equal to the first difference threshold.
[0210] In one embodiment, the first parameter includes a first current, which is the current between the connector of the first device and a preset voltage or ground terminal collected when the first device and the second device are not connected, and the second parameter includes a third current, which is the current between the connector of the first device and a preset voltage or ground terminal when the first device and the second device are connected through the connector; the second determination module 13 is used to determine the corrosion state of the connector of the second device according to the third current and a preset third current threshold if the connector of the first device is not corroded; or, to determine the corrosion state of the connector of the second device according to a first current difference between the first current and the third current; if the connector of the first device is corroded, determine the corrosion state of the connector of the second device according to the third current and the preset third current threshold; or, to determine the corrosion state of the connector of the second device according to the first current difference between the first current and the third current.
[0211] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the third current is less than the third current threshold; and to determine that the connector of the second device is corroded if the third current is greater than or equal to the third current threshold.
[0212] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the first current difference is less than a preset second difference threshold; and to determine that the connector of the second device is corroded if the first current difference is greater than or equal to the second difference threshold.
[0213] In one embodiment, the first parameter includes the second current, which is the current between the charging contact and the ground contact of the connector of the first device collected when the first device and the second device are not connected, and the second parameter includes the fourth current, which is the current between the charging contact and the ground contact of the connector of the first device when the first device and the second device are connected through the connector; the second determination module 13 is used to determine the corrosion state of the connector of the second device according to the fourth current and a preset fourth current threshold if the connector of the first device is not corroded; or, to determine the corrosion state of the connector of the second device according to a second current difference between the second current and the fourth current; if the connector of the first device is corroded, determine the corrosion state of the connector of the second device according to the fourth current and the preset fourth current threshold; or, to determine the corrosion state of the connector of the second device according to the second current difference between the second current and the fourth current.
[0214] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is corroded if the fourth current is less than the fourth current threshold; and to determine that the connector of the second device is not corroded if the fourth current is greater than or equal to the fourth current threshold.
[0215] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is corroded if the second current difference is greater than a preset third difference threshold; and to determine that the connector of the second device is not corroded if the second current difference is less than or equal to the third difference threshold.
[0216] In one embodiment, the first parameter includes a first resistance, and the first resistance value is the resistance value of the connector of the first device collected when the first device and the second device are not connected. The second parameter includes a second resistance value, and the second resistance value is the resistance value of the connector of the first device collected when the first device and the second device are connected through the connector; the second determination module 13 is used to determine the corrosion state of the connector of the second device according to the second resistance value and a preset second resistance threshold if the connector of the first device is not corroded; or, to determine the corrosion state of the connector of the second device according to the resistance difference between the first resistance value and the second resistance value; if the connector of the first device is corroded, determine the corrosion state of the connector of the second device according to the second resistance value and the preset second resistance threshold; or, to determine the corrosion state of the connector of the second device according to the resistance difference between the first resistance value and the second resistance value.
[0217] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the second resistance value is greater than or equal to the second resistance threshold; and to determine that the connector of the second device is corroded if the second resistance value is less than the second resistance threshold.
[0218] In one embodiment, the second determination module 13 is configured to determine that the connector of the second device is not corroded if the resistance difference is less than a preset fourth difference threshold; and to determine that the connector of the second device is corroded if the resistance difference is greater than or equal to the fourth difference threshold.
[0219] In one embodiment, the corrosion identification device of the connector further comprises:
[0220] The sending module is used to send corrosion information if the connector of the first device is corroded; the corrosion information is used to prompt that the connector of the first device is corroded and / or inform remedial measures.
[0221] In one embodiment, the first device includes a first resistor and a second resistor, the first end of the first resistor is connected to a preset voltage, the second end of the first resistor is connected to the first end of the second resistor, the second end of the second resistor is grounded, the first end of the second resistor is also connected to the charging contact of the connector of the first device, and the second end of the second resistor is also connected to the ground contact of the connector of the first device.
[0222] In one embodiment, the first device further includes a first current sensor, wherein an input end of the first current sensor is connected to the preset voltage, and an output end of the first current sensor is connected to the first end of the first resistor.
[0223] In one embodiment, the first device further includes a second current sensor, the input end of the second current sensor is connected to the target common end, and the output end of the second current sensor is grounded; the target common end is the common end between the second end of the second resistor and the ground contact of the connector of the first device.
[0224] In one embodiment, the first device further includes a third current sensor, wherein an input terminal of the third current sensor is connected to the second terminal of the second resistor, and an output terminal of the second current sensor is grounded.
[0225] In one embodiment, the first device is a charging box, and the second device is an earphone; or
[0226] The first device is an earphone, and the second device is a charging box.
[0227] The implementation principle and beneficial effects of the connector corrosion identification device provided in the above embodiment can be referred to the method embodiment, which will not be repeated here.
[0228] The division of the various modules in the above-mentioned corrosion identification device of the connector is only for illustration. In other embodiments, the corrosion identification device of the connector can be divided into different modules as needed to complete all or part of the functions of the above-mentioned corrosion identification device of the connector.
[0229] The specific definition of the connector corrosion identification device can be found in the definition of the connector corrosion identification method above and will not be repeated here. Each module in the aforementioned connector corrosion identification device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of these modules can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0230] Figure 21 A schematic diagram of the structure of a charging box provided in an embodiment is shown as follows: Figure 21 As shown, the charging box includes: a processor 21, a power module 22 and a connector 23, and the processor 21 is connected to the power module 22 and the connector 23 respectively; the processor 21 is used to execute the corrosion identification method of the connector described in any of the above embodiments.
[0231] The implementation principle and beneficial effects of the charging box provided in the embodiment of the present application can be referred to the embodiment of the above-mentioned connector corrosion identification method, which will not be repeated here.
[0232] Figure 22 A schematic diagram of the structure of an earphone provided in an embodiment is shown in FIG. Figure 22 As shown, the earphones include: a processor 31, a power module 32, a connector 33 and an audio module 34. The processor 31 is connected to the power module 32, the connector 33 and the audio module 34 respectively. The processor 31 is used to execute the corrosion identification method of the connector described in any of the above embodiments.
[0233] The implementation principle and beneficial effects of the earphones provided in the embodiment of the present application can be referred to the embodiment of the above-mentioned connector corrosion identification method, which will not be repeated here.
[0234] Figure 23 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. Figure 23 As shown, the electronic device includes a processor and a memory connected via a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a method for identifying corrosion of a connector provided in the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium. The electronic device can be any terminal device such as a charging box, a charging base, headphones, AR glasses, wearable devices, etc.
[0235] The present application also provides a computer-readable storage medium or non-volatile computer-readable storage medium containing computer-executable instructions, which, when executed by one or more processors, cause the processors to perform the steps of the connector corrosion identification method provided in any of the above embodiments.
[0236] A computer program product comprising instructions, when running on a computer, enables the computer to execute the corrosion identification method for a connector provided by any one of the above embodiments.
[0237] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Nonvolatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM).
[0238] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. A method for identifying corrosion of a connector, characterized in that: The method comprises: Obtaining a first parameter of a connector of a first device; the first parameter is a parameter collected when the first device is not connected to the second device; determining a corrosion state of a connector of the first device according to the first parameter; Obtaining a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector; A corrosion state of a connector of the second device is determined according to the first parameter and the second parameter.
2. The method according to claim 1, characterized in that The determining the corrosion state of the connector of the first device according to the first parameter includes: The corrosion state of the connector of the first device is determined according to the first parameter and a preset threshold.
3. The method according to claim 2, characterized in that The first parameter includes a first voltage, where the first voltage is a voltage on a connector of the first device acquired when the first device and the second device are not connected. Determining the corrosion state of the connector of the first device based on the first parameter and a preset threshold value includes: If the first voltage is greater than or equal to a preset first voltage threshold, determining that the connector of the first device is not corroded; If the first voltage is less than the first voltage threshold, it is determined that the connector of the first device is corroded.
4. The method according to claim 2, characterized in that The first parameter includes a first current, where the first current is a current between a connector of the first device and a preset voltage or ground terminal, collected when the first device and the second device are not connected. Determining the corrosion state of the connector of the first device based on the first parameter and a preset threshold value includes: If the first current is less than a preset first current threshold, determining that the connector of the first device is not corroded; If the first current is greater than or equal to the first current threshold, it is determined that the connector of the first device is corroded.
5. The method according to claim 2, characterized in that The first parameter includes the second current, where the second current is a current between a charging contact and a ground contact of a connector of the first device, collected when the first device and the second device are not connected. Determining the corrosion state of the connector of the first device based on the first parameter and a preset threshold value includes: If the second current is less than a preset second current threshold, determining that the connector of the first device is corroded; If the second current is greater than or equal to the second current threshold, it is determined that the connector of the first device is not corroded.
6. The method according to claim 2, characterized in that The first parameter includes a first resistance value, where the first resistance value is a resistance value of a connector of the first device acquired when the first device and the second device are not connected. Determining the corrosion state of the connector of the first device based on the first parameter and a preset threshold value includes: If the first resistance value is greater than or equal to a preset first resistance threshold, it is determined that the connector of the first device is not corroded; If the first resistance value is less than the first resistance threshold, it is determined that the connector of the first device is corroded.
7. The method according to claim 1, characterized in that The method further comprises: Obtaining a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector; The corrosion state of the connector of the second device is determined according to the corrosion state of the connector of the first device and the second parameter.
8. The method according to claim 7, characterized in that The first parameter includes a first voltage, which is a voltage on the connector of the first device acquired when the first device and the second device are not connected; the second parameter includes a second voltage, which is a voltage on the connector of the first device acquired when the first device and the second device are connected via the connector; The determining the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter includes: If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the second voltage and a preset second voltage threshold; or determining the corrosion state of the connector of the second device based on a voltage difference between the first voltage and the second voltage; If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the second voltage and a preset second voltage threshold; or, the corrosion state of the connector of the second device is determined based on the voltage difference between the first voltage and the second voltage.
9. The method according to claim 8, characterized in that The determining, based on the second voltage and a preset second voltage threshold, a corrosion state of the connector of the second device includes: If the second voltage is greater than or equal to the second voltage threshold, determining that the connector of the second device is not corroded; If the second voltage is less than the second voltage threshold, it is determined that the connector of the second device is corroded.
10. The method according to claim 8, characterized in that The determining, based on the voltage difference between the first voltage and the second voltage, the corrosion state of the connector of the second device includes: If the voltage difference is less than a preset first difference threshold, determining that the connector of the second device is not corroded; If the voltage difference is greater than or equal to the first difference threshold, it is determined that the connector of the second device is corroded.
11. The method according to claim 7, characterized in that The first parameter includes a first current, which is a current between a connector of the first device and a preset voltage or ground terminal, collected when the first device and the second device are not connected; the second parameter includes a third current, which is a current between a connector of the first device and a preset voltage or ground terminal, when the first device and the second device are connected via the connector; The determining the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter includes: If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the third current and a preset third current threshold; or determining the corrosion state of the connector of the second device based on a first current difference between the first current and the third current; If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the third current and the preset third current threshold; or, the corrosion state of the connector of the second device is determined based on the first current difference between the first current and the third current.
12. The method according to claim 11, characterized in that The determining, based on the third current and a preset third current threshold, a corrosion state of the connector of the second device includes: If the third current is less than the third current threshold, determining that the connector of the second device is not corroded; If the third current is greater than or equal to the third current threshold, it is determined that the connector of the second device is corroded.
13. The method according to claim 11, characterized in that The determining, based on a first current difference between the first current and the third current, a corrosion state of the connector of the second device includes: If the first current difference is less than a preset second difference threshold, determining that the connector of the second device is not corroded; If the first current difference is greater than or equal to the second difference threshold, it is determined that the connector of the second device is corroded.
14. The method according to claim 7, wherein: The first parameter includes the second current, which is the current between the charging contact and the ground contact of the connector of the first device, collected when the first device and the second device are not connected; the second parameter includes a fourth current, which is the current between the charging contact and the ground contact of the connector of the first device, when the first device and the second device are connected via the connector; The determining the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter includes: If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the fourth current and a preset fourth current threshold; or determining the corrosion state of the connector of the second device based on a second current difference between the second current and the fourth current; If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the fourth current and the preset fourth current threshold; or, the corrosion state of the connector of the second device is determined based on the second current difference between the second current and the fourth current.
15. The method according to claim 14, characterized in that The determining, based on the fourth current and a preset fourth current threshold, a corrosion state of the connector of the second device includes: If the fourth current is less than the fourth current threshold, determining that the connector of the second device is corroded; If the fourth current is greater than or equal to the fourth current threshold, it is determined that the connector of the second device is not corroded.
16. The method according to claim 14, characterized in that The determining, based on a second current difference between the second current and the fourth current, a corrosion state of the connector of the second device includes: If the second current difference is greater than a preset third difference threshold, determining that the connector of the second device is corroded; If the second current difference is less than or equal to the third difference threshold, it is determined that the connector of the second device is not corroded.
17. The method according to claim 7, characterized in that The first parameter includes a first resistance value, which is a resistance value of the connector of the first device acquired when the first device and the second device are not connected; the second parameter includes a second resistance value, which is a resistance value of the connector of the first device acquired when the first device and the second device are connected via the connector; The determining the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter includes: If the connector of the first device is not corroded, determining the corrosion state of the connector of the second device based on the second resistance value and a preset second resistance threshold; or determining the corrosion state of the connector of the second device based on a resistance difference between the first resistance value and the second resistance value; If the connector of the first device is corroded, the corrosion state of the connector of the second device is determined based on the second resistance value and a preset second resistance threshold; or, the corrosion state of the connector of the second device is determined based on the resistance difference between the first resistance value and the second resistance value.
18. The method according to claim 17, characterized in that The determining the corrosion state of the connector of the second device according to the second resistance value and a preset second resistance threshold includes: If the second resistance value is greater than or equal to the second resistance threshold, determining that the connector of the second device is not corroded; If the second resistance value is less than the second resistance threshold, it is determined that the connector of the second device is corroded.
19. The method according to claim 17, wherein The determining, based on the resistance difference between the first resistance value and the second resistance value, a corrosion state of the connector of the second device includes: If the resistance difference is less than a preset fourth difference threshold, determining that the connector of the second device is not corroded; If the resistance difference is greater than or equal to the fourth difference threshold, it is determined that the connector of the second device is corroded.
20. The method according to claim 1, wherein The method further comprises: If the connector of the first device is corroded, corrosion information is sent; the corrosion information is used to prompt that the connector of the first device is corroded and / or inform remedial measures.
21. The method according to claim 1, wherein The first device includes a first resistor and a second resistor, the first end of the first resistor is connected to a preset voltage, the second end of the first resistor is connected to the first end of the second resistor, the second end of the second resistor is grounded, the first end of the second resistor is also connected to the charging contact of the connector of the first device, and the second end of the second resistor is also connected to the ground contact of the connector of the first device.
22. The method according to claim 21, characterized in that The first device further includes a first current sensor, wherein an input end of the first current sensor is connected to the preset voltage, and an output end of the first current sensor is connected to the first end of the first resistor.
23. The method according to claim 21, characterized in that The first device also includes a second current sensor, the input end of the second current sensor is connected to the target common end, and the output end of the second current sensor is grounded; the target common end is the common end between the second end of the second resistor and the ground contact of the connector of the first device.
24. The method according to claim 21, wherein The first device further includes a third current sensor, wherein an input terminal of the third current sensor is connected to the second terminal of the second resistor, and an output terminal of the second current sensor is grounded.
25. The method according to claim 1 or 7, characterized in that The first device is a charging box, and the second device is an earphone; or The first device is an earphone, and the second device is a charging box.
26. A corrosion identification device for a connector, characterized in that: include: an acquisition module, configured to acquire a first parameter of a connector of a first device; The first parameter is a parameter collected when the first device and the second device are not connected; and obtaining a second parameter of a connector of the first device; The second parameter is a parameter collected when the first device and the second device are connected via a connector; a first determining module, configured to determine a corrosion state of a connector of the first device according to the first parameter; The second determining module is configured to determine the corrosion state of the connector of the second device according to the corrosion state of the connector of the first device and the second parameter.
27. A charging box, characterized in that: include: A processor, a power module and a connector, wherein the processor is connected to the power module and the connector respectively; The processor is configured to perform the steps of the method according to any one of claims 1 to 25.
28. A headset, characterized in that: include: A processor, a power module, a connector, and an audio module, wherein the processor is connected to the power module, the connector, and the audio module respectively; The processor is configured to perform the steps of the method according to any one of claims 1 to 25.
29. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 25 are implemented.
Citation Information
Patent Citations
Wireless earphone charging circuit and wireless earphone box
CN110572738A