WO2022170907A1 - 连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质 - Google Patents

连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质 Download PDF

Info

Publication number
WO2022170907A1
WO2022170907A1 PCT/CN2022/071474 CN2022071474W WO2022170907A1 WO 2022170907 A1 WO2022170907 A1 WO 2022170907A1 CN 2022071474 W CN2022071474 W CN 2022071474W WO 2022170907 A1 WO2022170907 A1 WO 2022170907A1
Authority
WO
WIPO (PCT)
Prior art keywords
connector
current
corroded
voltage
threshold
Prior art date
Application number
PCT/CN2022/071474
Other languages
English (en)
French (fr)
Inventor
刘绍斌
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022170907A1 publication Critical patent/WO2022170907A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/04Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
    • G01N27/041Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance of a solid body
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N17/00Investigating resistance of materials to the weather, to corrosion, or to light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/02Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
    • G01N27/04Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/02Contact members

Definitions

  • 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.
  • wireless earphones are more and more widely used.
  • the left and right earbuds of the TWS headset do not need to be connected by cables, which can realize the wireless separation of the left and right channels of Bluetooth.
  • the connector can be POGO PIN, a common TWS headset.
  • the POGO PINs or three POGO PINs are two metal pins at the bottom of the TWS headset.
  • the connector of the TWS earphone may be corroded during use, which makes the connector on the TWS earphone and the connector on the charging box have poor contact, resulting in the charging box charging the TWS earphone slowly or even unable to charge the problem, affecting the TWS
  • the normal use of the headset but the current lack of identification mechanism for whether the connector is corroded, so it is difficult to remedy in time.
  • the embodiments of the present application provide a method, device, device, earphone, charging box and storage medium for identifying corrosion of a connector, which can identify the corrosion state of the connector.
  • a method for identifying corrosion of a connector comprising:
  • the first parameter is a parameter collected when the first device and the second device are not connected;
  • the corrosion state of the connector of the first device is determined according to the first parameter.
  • a corrosion identification device for a connector comprising:
  • an acquisition module configured to acquire the first parameter of the connector of the first device; the first parameter is the parameter collected when the first device and the second device are not connected;
  • a first determining module configured to determine the corrosion state of the connector of the first device according to the first parameter.
  • a charging box comprising: a processor, a power module and a connector, the processor is respectively connected with the power module and the connector;
  • the processor is configured to perform the following steps:
  • the first parameter is a parameter collected when the first device and the second device are not connected;
  • the corrosion state of the connector of the first device is determined according to the first parameter.
  • An earphone includes: a processor, a power module, a connector and an audio module, the processor is respectively connected with the power module, the connector and the audio module;
  • the processor is configured to perform the following steps:
  • the first parameter is a parameter collected when the first device and the second device are not connected;
  • the corrosion state of the connector of the first device is determined according to the first parameter.
  • the first parameter is a parameter collected when the first device and the second device are not connected;
  • the corrosion state of the connector of the first device is determined according to the first parameter.
  • the corrosion identification method, device, earphone, charging box and storage medium of the above-mentioned connector obtain the first parameter of the connector of the first device collected when the first device is not connected to the second device, and determine the first parameter according to the first parameter.
  • Corrosion state of the connector of the device, through the parameters of the connector of the first device collected when the first device and the second device are not connected to determine whether the connector of the first device is corroded, and the connection of the first device can be identified in time Corrosion of the connector and reduce the influence of poor contact caused by corrosion of the connector.
  • FIG. 1 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment
  • FIG. 2 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in another embodiment
  • FIG. 3 is a flowchart of a method for identifying corrosion of a connector in one embodiment
  • FIG. 4 is a flowchart of a method for identifying corrosion of a connector in one embodiment
  • FIG. 5 is a flowchart of a method for identifying corrosion of a connector in one embodiment
  • FIG. 6 is an equivalent circuit diagram of a charging box in one embodiment
  • FIG. 7 is an equivalent circuit diagram of a charging box in one embodiment
  • FIG. 8 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment
  • FIG. 10 is an equivalent circuit diagram of an earphone being put into a charging case in one embodiment
  • FIG. 11 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment
  • 13 is an equivalent circuit diagram of a charging box in one embodiment
  • 15 is an equivalent circuit diagram of a charging case in one embodiment
  • 16 is an equivalent circuit diagram of an earphone in one embodiment
  • Figure 17 is an equivalent circuit diagram of a charging case in one embodiment
  • FIG. 18 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment
  • 19 is a structural block diagram of a device for identifying corrosion of a connector provided by an embodiment
  • 20 is a structural block diagram of a device for identifying corrosion of a connector provided by an embodiment
  • 21 is a schematic structural diagram of a charging box provided by an embodiment
  • 22 is a schematic structural diagram of an earphone provided by an embodiment
  • FIG. 23 is a schematic diagram of the internal structure of an electronic device in one embodiment.
  • first, second, etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.
  • 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.
  • Both the first client and the second client are clients, but they are not the same client.
  • the embodiments, implementation manners and technical features of the present application may be combined with each other without conflict.
  • FIG. 1 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment.
  • the application environment includes a first device 1 and a second device 2, the first device 1 includes a connector 3, the second device 2 includes a connector 4, and the first device and the second device can pass
  • the connector is connected for charging and/or communication, and the first device can charge the second device.
  • the first device may be a charging box, a charging box stand, etc.
  • the second device may be a headset, for example, a TWS headset, and the second device may also be other devices such as a watch, AR glasses, etc., which are not limited in the embodiments of the present application.
  • the first device is the charging box 3
  • the second device is the earphone 4
  • the charging box 3 integrates a mobile power supply.
  • the earphone 4 can be charged in the charging box 4.
  • POGO PIN metal pins on the bottom of the earphone
  • Common devices have two POGO PINs or three POGO INs, which are located at the corresponding positions on the headset and the charging box. When the headset is placed in the charging box, the POGO PIN on the headset and the POGO PIN on the charging box are just in contact with each other. on.
  • the method for identifying corrosion of the connector provided in the embodiment of the present application can be operated with the first device or the second device, and the implementation principles of the first device and the second device are similar. Therefore, in the following embodiments, the operation of the first device is mainly used as an example for description.
  • FIG. 3 is a flowchart of a method for identifying corrosion of a connector in one embodiment.
  • the corrosion identification method of the connector in this embodiment is described by taking the operation on the first device in FIG. 1 as an example. As shown in Figure 3, the corrosion identification method of the connector includes the following steps:
  • S301 Acquire a first parameter of the connector of the first device; the first parameter is the parameter of the connector of the first device collected when the first device is not connected to the second device.
  • the connector of the first device is the connector of the first device, for example, the connector of the first device may be a POGO PIN, a spring clip, a terminal, etc. 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 is not in contact with the connector of the second device, and the first parameter may be the voltage, current, impedance on the connector of the first device and other parameters.
  • the first device collects current, voltage, impedance, etc. on the connector of the first device as the first parameter.
  • Various sensors may be provided inside the first device, for example, a current sensor, a voltage sensor, etc., for collecting the first parameter.
  • the first device before the earphone is not put into the charging box, collect at least one of the voltage, current and impedance on the POGO PIN of the charging box as the first parameter, or, when When the first device is an earphone and the second device can be an earphone box, before the earphone is not put into 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. Not limited to this.
  • S302 Determine the corrosion state of the connector of the first device according to the first parameter.
  • 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.
  • the first parameter of the connector of the first device is collected, and the corrosion state of the connector of the first device can be determined according to the first parameter.
  • the voltage, current, impedance, etc. on the connector are all fixed values. Once the connector is corroded, the voltage on the connector may decrease, and the leakage may cause excessive current and impedance. Therefore, the collected first parameter can be compared with the parameter value when the connector is not corroded, so as to judge the corrosion state of the connector of the first device.
  • the voltage on the connector of the charging box is 5V.
  • the connector is corroded, it is equivalent to connecting a resistance in parallel with the resistance of the connector, and the resistance of the connector becomes smaller. , the voltage will also decrease.
  • the voltage value on the POGO PIN of the charging box In the range of 4.8V-5V, it is determined that the POGO PIN is not corroded. If the voltage value on the POGO PIN of the charging box is less than 4.8V, it is determined that the POGO PIN is corroded.
  • the current on the connector of the charging box is 2A. If the connector is corroded, leakage may occur, resulting in an increase in the current on the connector, which can be collected.
  • the current on the POGO PIN of the charging box if the current is greater than 2A, it is determined that the connector of the charging box is corroded, or, 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.
  • the current on the POGO PIN of the charging box is in the range of 1.9A-2.1A, then it is determined that the POGO PIN is not corroded.
  • the current on the POGO PIN of the charging box is greater than 2.1A, it is determined that the POGO PIN is corroded.
  • the first parameter is the voltage and current on the POGO PIN of the collected earphones, the implementation principle is similar to that of the earphone box, which will not be repeated here.
  • an appropriate first parameter and method may be selected according to the actual situation to determine the corrosion state of the connector of the first device. is not restricted.
  • the first device is an earphone box and the second device is an earphone as an example to illustrate the method for identifying corrosion of the connector.
  • the first device is an earphone and the second device is an earphone. It will not be repeated here.
  • the first parameter of the connector of the first device collected when the first device is not connected to the second device is acquired, and the first parameter of the connector of the first device is determined according to the first parameter.
  • the second parameter of the connector of the first device collected when the first device is connected to the second device can be further obtained, and the second parameter can be determined according to the first parameter and the second parameter. Corrosion state of the connector of the device.
  • the method for identifying corrosion of the connector may further include the following steps:
  • the second parameter is a parameter of the connector of the first device collected when the first device and the second device are connected through the connector.
  • the second parameter may be parameters such as voltage, current, and resistance collected on the connector of the first device when the first device and the second device are connected through the connector.
  • the first device as the charging box and the second device as the earphone as an example
  • 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
  • the first device is an earphone and the second device can be an earphone 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 the limit.
  • S402. Determine the corrosion state of the connector of the second device according to the first parameter and the second parameter.
  • the value of the first parameter and the value of the second parameter may be compared in magnitude to determine the corrosion state of the connector of the second device. For example, if the first parameter includes collecting the voltage A 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 voltage A when the first device and the second device are connected through the connector
  • the voltage B on the connector of the device may decrease the voltage on the connector due to the corrosion of the connector. Therefore, if the voltage B is less than the voltage A, it is determined that the connector of the second device is corroded. If the voltage B is equal to voltage A, it is determined that the connector of the second device is not corroded.
  • 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
  • the second parameter includes collecting the first device when the first device and the second device are connected through the connector
  • the corrosion state of the connector of the second device may also be determined by the degree of change between the value of the first parameter and the value of the second parameter. If the first parameter includes collecting the voltage A 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 voltage A of the first device when the first device and the second device are connected through the connector The voltage B on the connector may decrease due to the corrosion of the connector.
  • 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
  • the second parameter includes collecting the first device when the first device and the second device are connected through the connector
  • the second device is determined.
  • the connector of the second device is corroded, and 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.
  • the second parameter of the connector of the first device is obtained, and the corrosion state of the connector of the second device is determined according to the first parameter and the second parameter, since the first parameter It is the 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 the parameter collected when the first device and the second device are connected through the connector.
  • the parameters of the connector of the first device before and after the device is connected can quickly determine the corrosion condition of the connector of the second device, and reduce the influence of poor contact caused by the corrosion of the connector.
  • the second parameter of the connector of the first device collected when the first device is connected to the second device can be further obtained, based on the corrosion state of the connector of the first device and the The second parameter determines the corrosion state of the connector of the second device.
  • the method for identifying corrosion of the connector may further include the following steps:
  • step S401 in the second embodiment which will not be repeated here.
  • 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.
  • the corrosion state of the connector of the first device is that the connector of the first device is corroded or the connector of the first device is not corroded, and the corrosion state of the connector of the second device indicates whether the connector of the second device is corroded .
  • the corrosion state of the connector of the second device may be determined based on the corrosion state of the connector of the first device and the second parameter. For example, when the corrosion state of the connector of the first device is determined, the value of the second parameter can be compared with a preset parameter threshold to determine the corrosion state of the connector of the second device, or the value of the first parameter and the The value of the second parameter is compared to determine the corrosion state of the connector of the second device, and the corrosion state of the connector of the second device may also be determined by collecting some parameters of the second device during the charging process.
  • the charging box and the earphone when it is determined that the connector of the charging box is not 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 be relatively large. You can collect the voltage value a of the connector of the charging box when the earphones are placed in the charging box, and compare the voltage value a with the voltage value b of the connector of the charging box when the earphones are not placed in the charging box.
  • the difference between the voltage value b and the voltage value b is less than a certain threshold, it is determined that the connector of the earphone is not corroded. If the difference between the voltage value a and the voltage value b is greater than a certain threshold value, it is determined that the connector of the earphone is corroded. Alternatively, it is also possible to directly compare the voltage value a with a preset threshold value. If the voltage value a is greater than or equal to the threshold value, it is determined that the connector of the earphone is not corroded, and if the voltage value a is smaller than the threshold value, it is determined that The connector of the headset is corroded.
  • the voltage on the connector of the charging box before and after the earphone is placed in the charging box changes very little.
  • the voltage change on the connector of the charging box before and after it is placed in the charging box will also be relatively large.
  • the embodiments of the present application are not limited thereto.
  • the corrosion state of the connector of the charging box it can be determined whether the connector of the earphone is corroded by the change of the current on the connector of the charging box before and after the earphone is placed in the charging box. For example, if the charging box 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 the preset value If the current threshold is set, 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, and the embodiment of the present application is not limited to this.
  • the first parameter of the connector of the first device collected when the first device is not connected to the second device is acquired, and the first parameter of the connector of the first device is determined according to the first parameter.
  • Corrosion state, and when the first device and the second device are connected through the connector, the second parameter of the connector of the first device is collected, and the corrosion state of the connector of the first device and the second parameter are used to determine the second device.
  • the corrosion state of the connector can identify the corrosion state of the connector of the second device in time, and reduce the influences such as poor contact caused by the corrosion of the connector.
  • the corrosion state of the connector of the first device is determined according to the first parameter
  • the method includes: determining the corrosion state of the connector of the first device according to the first parameter and the preset threshold.
  • different first parameters correspond to different preset thresholds.
  • the preset threshold is a preset current threshold
  • the preset threshold is a preset voltage threshold
  • the preset threshold is a preset resistance threshold
  • different preset thresholds can be determined according to actual requirements, device parameters of the first device, device parameters of the second device, etc., for example, for normal rate charging
  • the preset threshold can be appropriately set to a smaller value, or the range of the preset threshold can be appropriately larger.
  • the preset threshold may be appropriately set to be larger, or the range of the preset threshold may be appropriately smaller, which is not limited in this embodiment of the present application.
  • the first device may select a corresponding preset threshold according to the type of the collected first parameter, so as to determine the corrosion state of the connector of the first device.
  • the value of the first parameter can be compared with the preset threshold, and the corrosion state of the connector of the first device can be determined according to the magnitude relationship between the value of the first parameter and the preset threshold. For example, when the value of the first parameter is greater than the preset threshold , the connector of the first device is not corroded, and when the value of the first parameter is less than the preset threshold, the connector of the first device is corroded.
  • the corrosion state of the connector of the first device can be quickly and simply determined, so as to reduce the influence of the corrosion of the connector on the first device.
  • the first parameter includes a first voltage
  • the first voltage is the voltage on the connector of the first device collected when the first device is not connected to the second device.
  • Determining the corrosion state of the connector of the first device 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, Then it is determined that the connector of the first device is corroded.
  • the first device includes a first resistor R1 and a second resistor R2, the first end of the first resistor R1 is connected to the preset voltage V1, the second end of the first resistor R1 is connected to the first end of the second resistor R2 The second end of the second resistor R2 is connected to the ground, 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 first device.
  • the ground contact of the connector is OPGO PIN-connected.
  • the charging contact OPGO PIN+ and the grounding contact OPGO PIN- of the connector of the first device can be connected to the processor of the first device, and the voltage V2 is collected by the processor of the first device.
  • the first resistor R1 and the second resistor R2 may be specially set as resistors inside the first device, or may be equivalent resistors of other functional devices in the first device, which are not limited in the embodiments of the present application.
  • the equivalent circuit diagram includes voltage V1, resistor R1, resistor R2, voltage V2, and voltage V3.
  • the voltage V3 can be stable 5V voltage.
  • the circuit when the connector of the charging box is corroded is equivalent to the circuit diagram shown in Figure 7.
  • the equivalent circuit diagram shown in Figure 7 includes voltage V1, resistor R1, resistor R2, resistor R3, and voltage V2.
  • V2 V1*(R2//R3)/(R1+R2//R3), so that the voltage of V2 becomes smaller.
  • the first voltage threshold can be preset to collect the first voltage V2 across R2 when the earphone is not placed in the charging box.
  • the first voltage V2 is greater than or equal to
  • the first voltage threshold it is determined that the connector of the charging box is not corroded
  • the second voltage V2 is less than the first voltage threshold
  • the connector of the charging box is corroded.
  • the voltage on the connector is 5V
  • the first voltage threshold may be set to 4.9V, 4.85V, 4.8, etc., which is not limited in the embodiments of the present application.
  • the first voltage threshold can be obtained by collecting the voltages on the connectors of a plurality of first devices in uncorroded and corroded states, respectively, and obtained through multiple tests, and can also be calculated according to the principle of equivalent circuit obtained, which is not limited in the examples of the present application.
  • the collected first voltage on the connector of the first device when the first device is not connected to the second device, the collected first voltage on the connector of the first device, if the first voltage is greater than or equal to the preset first voltage 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 size, the corrosion state of the connector of the first device can be quickly and accurately determined.
  • this embodiment of the present application focuses on the specific implementation of determining the corrosion state of the connector of the second device when the first parameter and the second parameter are both voltages.
  • the first parameter includes a first voltage
  • 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 second parameter includes the second voltage
  • the first The second voltage is the voltage on the connector of the first device collected when the first device and the second device are connected through the connector
  • the connector of the second device is determined according to the corrosion state of the connector of the first device and the second parameter corrosion status, including:
  • the connector of the first device If the connector of the first device is not corroded, determine the corrosion state of the connector of the second device according to the second voltage and the preset second voltage threshold; or, according to the voltage between the first voltage and the second voltage The difference value determines the corrosion state of the connector of the second device;
  • the corrosion state of the connector of the second device is determined according to the second voltage and the preset second voltage threshold; or, according to the voltage difference between the first voltage and the second voltage value to determine the corrosion state of the connector of the second device.
  • the collected second voltage on the connector of the first device can be determined according to the second voltage and the The preset second voltage threshold determines the corrosion state of the connector of the second device, or the voltage difference between the first voltage and the second voltage is calculated, and the connector of the second device is determined according to the magnitude of the voltage difference corrosion state.
  • the corrosion state of the connector of the second device may be determined according to the second voltage and the preset second voltage threshold, or the corrosion state of the connector of the second device may be determined according to the difference between the first voltage and the second voltage.
  • the degree of change determines the corrosion state of the connector of the second device.
  • the corrosion state of the connector of the second device is determined according to the second voltage and the preset second voltage threshold.
  • the principle is that the POGO PIN of the earphone can be equivalent to a resistor R4, when the earphone is put into the charging box , which is equivalent to connecting a resistor R4 in parallel on the POGO PIN+ and POGO PIN- of the charging box.
  • the schematic diagram is shown in Figure 8. The earphone is placed in the charging box with the POGO PIN uncorroded.
  • V2 V1*(R2 //R4)/(R1+R2//R4), where R4 represents the resistance value at both ends of the POGO PIN of the headset.
  • R4 represents the resistance value at both ends of the POGO PIN of the headset.
  • both ends of the POGO PIN of the earphone are equivalent to connecting a resistor in parallel, that is, a resistor R5 is connected in parallel at both ends of R4.
  • the second voltage and the second voltage threshold of the POGO PIN collected in the charging box determine the corrosion of the connector of the earphone, or it can be the charging data collected before and after the earphone is put into the POGO PIN uncorroded charging box.
  • the actual voltage difference of the POGO PIN of the box is compared with the preset voltage difference threshold to determine the corrosion of the connector of the earphone.
  • determining the corrosion state of the connector of the second device according to the second voltage and the preset second voltage threshold includes: if the second voltage is greater than or equal to the second voltage threshold, determining the corrosion state of the connector of the second device The connector 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.
  • the second voltage threshold may be preset, and the second voltage is compared with the second voltage threshold to determine the corrosion state of the connector of the second device.
  • the second voltage V2 on the POGO PIN of the charging box is collected.
  • the second voltage V2 is greater than or equal to the second voltage threshold, it means that the resistance value on the POGO PIN of the earphone is compared
  • the second voltage V2 is less than the second voltage threshold, it means that the resistance value on the POGO PIN of the headset is relatively small, and it is determined that the POGO PIN of the headset is corroded.
  • 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 smaller than the first voltage threshold, for example, the second voltage threshold may be 4.85V, 4.8V, 4.75V, 4.7V, etc., the embodiments of the present application are not limited thereto.
  • the second voltage threshold may be the case 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, etc.
  • the voltage on the connector of the second device is obtained through multiple measurement experiments, or it may be calculated according to the equivalent circuit, which is not limited in the embodiments of the present application.
  • the second voltage on the connector of the first device is collected, and if the second voltage is greater than or equal to the second voltage threshold, then determine 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, and the second device can be simply and accurately determined by the preset second voltage threshold Whether the connector is corroded, so as to reduce the impact of connector corrosion on the second device.
  • the above focuses on the implementation of determining the corrosion state of the connector of the second device when the connector of the first device is not corroded. Implementation of the corroded state of the connector.
  • the equivalent circuit when the connector of the charging box is corroded is shown in Figure 7, and as shown in Figure 11, when the POGO PIN corroded charging box is put into the POGO PIN uncorroded earphone, it is equivalent to Connect a resistor R4 in parallel with the resistors R2 and R3.
  • V2 V1*(R2//R3//R4)/(R1+R2//R3//R4), because the charging box is corroded, so put it in Before the headset, the V2 voltage measured on the charging box is relatively low.
  • the POGO PIN on the earphone end is not corroded, and the resistance R4 is still relatively large at this time, so that when the earphone is put in, the voltage of V2 will not become much lower. From this, it can be judged that when the POGO PIN of the charging box itself is corroded, the voltage V2 before and after the earphone is put into the charging box changes relatively small, and the POGO PIN of the earphone is not corroded.
  • the POGO PIN on the earphone end is corroded, and the equivalent resistance R4//R5 of the POGO PIN on the earphone end is relatively small, so when the earphone is put in, the voltage of V2 will be much lower again. It can be judged that when the POGO PIN of the charging box itself is corroded, and the voltage V2 before and after the earphone is put into the charging box changes greatly, the POGO PIN of the earphone is corroded.
  • the connector of the second device in the case that the connector of the first device is corroded, can be determined according to the second voltage and the preset second voltage threshold.
  • the corrosion state of the connector of the second device can also be determined according to the voltage difference between the first voltage and the second voltage.
  • determining the corrosion state of the connector of the second device according to the voltage difference between the first voltage and the second voltage includes: 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 connection of the second device is determined The device is not corroded; if the difference between the first voltage and the second voltage is greater than or equal to the first difference threshold, it is determined that the connector of the second device is corroded.
  • the connector of the first device is corroded
  • the first device after the first device is connected with the second device If the change between the voltages on the connectors of the second device is small, it is determined that the connector of the second device is not corroded; if the voltage on the connector of the first device before the first device is connected to the second device, the After the second device is connected, the change between the voltages on the connector of the first device is large, and it is determined that the connector of the second device is corroded.
  • the POGO PIN of the charging box is corroded, and the first difference threshold is 0.2V. If the headset is placed in the charging box, the first voltage of the POGO PIN of the charging box is 4.7V, and the headset is placed in the charging box. When in the box, the second voltage of the POGO PIN of the charging box is 4.6V, the voltage difference between the first voltage and the second voltage is 0.1V, and 0.1V is less than 0.2V, it is determined that the POGO PIN of the headset is not corroded.
  • the difference between the first voltage and the second voltage is 4.4V. If the voltage difference is 0.3V, and 0.3V is greater than 0.2V, it is determined that the POGO PIN of the headset is corroded.
  • the first voltage of the connector of the first device is collected when the first device is not connected to the second device, and , when the first device is connected to the second device, the second voltage of the connector of the first device, calculate the voltage difference between the first voltage and the second voltage, if the voltage difference is less than the preset first difference threshold , then 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, before and after the first device is connected to the second device, the first The degree of voltage change on the connector of the device can identify the corrosion state of the connector of the second device. This method can simply and accurately identify the corrosion state of the connector of the second device and reduce the corrosion effect of the connector of the second device. The effect of the second device.
  • the above embodiment focuses on the collection of the voltage on the connector of the first device, and the realization method of identifying the corrosion state of the connector according to the voltage. How the corrosion state is implemented.
  • the location of current collection is different, and the way to identify the corrosion state of the connector is also different.
  • This embodiment focuses on the implementation of collection of current between the connector of the first device and the power supply or the ground terminal.
  • the first device further includes a first current sensor, the input end of the first current sensor is connected to the preset voltage V1 , and the first current The output end of the 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 resistance R1 and a resistance R2, and an ammeter is set between the voltage V1 and the resistance R1 for collecting the current at the connector end of the charging box.
  • the current change is relatively small, it means that the POGO PIN end of the earphone is not corroded; but when the current change is relatively large, it means that the corrosion of the POGO PIN end of the earphone is more serious.
  • 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 second The common terminal between the second terminal of the resistor R2 and the ground contact POGO PIN- of the connector of the first device.
  • the equivalent circuit of the charging box can include a voltage V1, a first resistor R1 and a second resistor R2, and a second current sensor can be set between the POGO PIN- and the ground terminal to collect the current on the connector of the charging box. The principle is similar to that in FIG. 13 , and will not be repeated here.
  • the first parameter includes a first current, which is the collected connection between the connector of the first device and the power supply or ground when the first device is not connected to the second device. determining the corrosion state of the connector of the first device according to the first parameter and the preset threshold, including: if the first current is less than the 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.
  • the first current between the connector of the first device and the power supply or the ground terminal is collected. If the first current is less than the preset first current threshold, Then 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.
  • the earphone is not placed in the charging box, the current e between the voltage V1 of the charging box and the resistance R1 is collected. If the current e is less than the preset first current threshold, the POGO PIN of the charging box is determined.
  • the terminal is not corroded; if the current e is greater than or equal to the first current threshold, it is determined that the POGO PIN terminal of the charging box is corroded. Or, taking Fig. 13 as an example, when the earphone is 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, the The POGO PIN terminal 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.
  • the first current threshold may be 2.1A, 2.05A, 2A, 1.9A, etc., and the embodiment of the present application is not limited to this.
  • the first current threshold may be the case 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, etc., respectively collect the connector of the first device and the power or ground terminal.
  • the current between the two and the current on the connector of the second device are obtained through multiple measurement experiments, and may also be calculated according to the equivalent circuit, which are not limited in the embodiments of the present application.
  • the first current between the connector of the first device and the power supply or the ground terminal is collected. If the first current threshold is set, 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.
  • the current on the device is compared with the preset current threshold, which can quickly and accurately identify whether the connector of the first device is corroded, and avoid the influence of poor contact and leakage caused by the corrosion of the connector of the first device.
  • determining the corrosion state of the connector of the first device it can be based on the corrosion state of the connector of the first device, and when the first device and the second device are connected, the connector of the first device is connected to the power supply or The current between the ground terminals determines the corrosion state of the connector of the second device.
  • the first parameter includes a first current
  • the first current is the current collected between the connector of the first device and the preset voltage or ground terminal when the first device and the second device are not connected
  • the second parameter includes a third current
  • the third current is the current between the connector of the first device and the preset voltage or ground when the first device and the second device are connected; according to the corrosion of the connector of the first device A state and a second parameter that determines the corrosion state of the connector of the second device, including:
  • the corrosion state of the connector of the second device is determined according to the third current and the preset third current threshold; or, according to the third current between the first current and the third current a current difference value to determine the corrosion state of the connector of the second device;
  • the corrosion state of the connector of the second device may be determined according to the third current and the preset third current threshold, or the connector of the second device may be determined according to the first current difference between the first current and the third current corrosion state.
  • the corrosion state of the connector of the second device is determined according to the third current and the preset third current threshold.
  • the degree of change determines the corrosion state of the connector of the second device, which is not limited in this embodiment of the present application.
  • determining the corrosion state of the connector of the second device according to the third current and the 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, it is determined that the connector of the second device is corroded.
  • 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, and 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.
  • the second current m between the POGO PIN- of the charging box and the ground terminal is collected by the second current sensor.
  • 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.
  • the third current threshold may be the same as or different from the first current threshold, and the third current threshold may be 2.1A, 2.05A, 2A, 1.9A, etc., and the embodiment of the present application is not limited to this .
  • the third current threshold may be the case 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, etc., respectively collecting the connector of the first device and the power or ground terminal
  • the current between the two and the current on the connector of the second device are obtained through multiple measurement experiments, and may also be calculated according to the equivalent circuit, which are not limited in the embodiments of the present application.
  • the third current between the connector of the first device and the power supply or the ground terminal is collected, if the third current is smaller than the third current 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.
  • the third current between the connector of the first device and the power supply or the ground terminal is collected and compared with the third current threshold, so as to quickly identify whether the connector of the second device is corroded.
  • the connector of the first device In the case that the connector of the first device is corroded, collect the third current between the connector of the first device and the power supply or the ground when the first device is connected to the second device, according to the third current and the preset
  • the third current threshold value determines the corrosion state of the connector of the second device, and can also collect the first current between the connector of the first device and the power supply or the ground terminal when the first device and the second device are not connected, and, When the first device is connected to the second device, the third current between the connector of the first device and the power supply or the ground terminal is collected, and the connector of the second device is determined by the degree of change between the first current and the third current corrosion state.
  • determining the corrosion state of the connector of the second device according to the first current difference between the first current and the third current includes: if the first current difference is less than a preset value For the 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 connector of the first device when the connector of the first device is corroded, if the difference between the first current and the third current is smaller than the preset second difference threshold, the connector of the second device is determined to be Not corroded, if the difference between the first current and the third current is greater than or equal to the second difference threshold, it is determined that the connector of the second device is corroded.
  • the connector of the first device is corroded
  • the current between the connector of the first device and the power supply or the ground terminal before the first device is connected to the second device the current between the connector of the first device and the After the device is connected, the change between the connector of the first device and the power supply or the ground terminal is small, it is determined that the connector of the second device is not corroded; If the current of the power supply or the ground terminal has a large change between the connector of the first device and the current of the power supply or the ground terminal after being connected to the first device and the second device, it is determined that the connector of the second device is corroded.
  • the POGO PIN of the charging box is corroded, and the first difference threshold is 0.2A. If the headset is placed in the charging box, the first current of the POGO PIN of the charging box is 2.2A, and the headset is placed in the charging box. When in the box, the third current of the POGO PIN of the charging box is 2.3A, the current difference between the first current and the third current is 0.1A, and 0.1A is less than 0.2A, it is determined that the POGO PIN of the headset is not corroded. If the headset is placed in the charging box, the first current of the POGO PIN of the charging box is 2.2A.
  • the third current of the POGO PIN of the charging box is 2.5A.
  • the difference between the first current and the third current is 2.5A. If the current difference is 0.3A, and 0.3A is greater than 0.2A, it is determined that the POGO PIN of the headset is corroded.
  • the corrosion method of the connector collects the first current between the connector of the first device and the power supply or the ground terminal when the first device and the second device are not connected, and the first device and the second device are collected.
  • the third current between the connector of the first device and the power supply or the ground terminal calculate the first current difference between the first current and the third current, if the first current difference is less than the preset No. Two difference thresholds, 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 can be 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 connector of the second device. Corrosion state, reducing the influence of the corrosion of the connector of the second device on the second device.
  • the first device further includes a third current sensor, and the input end of the third current sensor is connected to the second end of the second resistor R2 , the output terminal of the second current sensor is grounded.
  • the circuit of the charging box can be equivalent to the circuit diagram shown in Figure 15.
  • 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.
  • the first parameter includes a second current
  • the second current is the collected charging contact of the connector of the first device when the first device and the second device are not connected.
  • the current between the point and the ground contact according to the first parameter and the preset threshold, to determine the corrosion state of the connector of the first device, including: if the second current is less than the preset second current threshold, determining the first device 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.
  • 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 the preset second current 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.
  • 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, the POGO PIN of the charging box is determined. The terminal is corroded; if the current x is greater than or equal to the second current threshold, it is determined that the POGO PIN terminal of the charging box is not corroded.
  • the second current threshold may be 2A, 1.9A, 1.8A, etc., and the embodiment of the present application is not limited to this.
  • the second current threshold may be collected from the first device when 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, etc.
  • the current between the charging contact and the grounding contact of the connector of the device, and the current on the connector of the second device are obtained through multiple measurement experiments, and can also be calculated according to the equivalent circuit. Examples of this application is not restricted.
  • the second current between the charging contact and the grounding contact of the connector of the first device is collected. If the current is less than the 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.
  • the corrosion state of the connector of the first device After the corrosion state of the connector of the first device is determined, it may be based on the corrosion state of the connector of the first device, and the charging contact and the ground contact of the connector of the first device when the first device and the second device are connected Between the currents, the corrosion state of the connector of the second device is determined.
  • the first parameter includes the second current
  • the second current is the current collected between the charging contact and the grounding contact of the connector of the first device 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; according to the corrosion of the connector of the first device A state and a second parameter that determines the corrosion state of the connector of the second device, including:
  • the corrosion state of the connector of the second device may be determined according to the fourth current and the preset fourth current threshold, or the second device may be determined according to the second current difference between the second current and the fourth current Corrosion state of the connector.
  • the corrosion state of the connector of the second device may be determined according to the fourth current and the preset fourth current threshold, or the difference between the third current and the fourth current may be determined. The degree of change in determines the corrosion state of the connector of the second device.
  • determining the corrosion state of the connector of the second device according to the fourth current and the 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, it is determined that the connector of the second device is not corroded.
  • the second current threshold may be 2A, 1.9A, 1.8A, etc.
  • the current threshold may be 1.8A, 1.7A, 1.6A, etc., which is not limited in this embodiment of the present application.
  • the fourth current threshold value may be collected for the first device under the condition that 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, etc.
  • the current between the charging contact and the grounding contact of the connector of the device, and the current on the connector of the second device are obtained through multiple measurement experiments, and can also be calculated according to the equivalent circuit. Examples of this application is not restricted.
  • the corrosion state of the connector of the second device can be determined according to the fourth current and the preset fourth current threshold.
  • the comparison is made to quickly and accurately determine whether the connector of the second device is corroded, so as to avoid the impact on the performance of the second device when the connector of the second device is corroded.
  • the second current between the charging contact and the grounding contact of the connector of the first device when the first device and the second device are not connected can be collected, and the collecting
  • the fourth current between the charging contact and the ground contact of the connector of the first device can be determined according to the fourth current and the preset fourth current threshold.
  • the corrosion state of the connector can also be determined by the degree of change between the second current and the fourth current to determine the corrosion state of the connector of the second device.
  • determining the corrosion state of the connector of the second device according to the second current difference between the second current and the fourth current includes: if the second current difference is greater than a preset third difference threshold, it is determined 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.
  • the second current between the charging contact and the ground contact of the connector of the first device is collected, and the second current is collected.
  • the fourth current between the charging contact and the ground contact of the connector of the first device is calculated, and the second current difference between the second current and the fourth current is calculated. If the current difference is greater than the preset third difference threshold, it is determined 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.
  • the corrosion state of the connector of the second device is determined, so as to avoid the influence on the performance of the second device when the connector of the second device is corroded.
  • the corrosion state of the connector can also be identified by the impedance of the connector.
  • the first parameter includes a first resistance value
  • the first resistance value is when the first device and the second device are not connected , collecting the resistance value of the connector of the first device, and determining the corrosion state of the connector of the first device according to 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.
  • the first resistance threshold can be preset to collect the first resistance value of R2 when the earphone is not placed in the charging box. If the first resistance value is greater than or equal to the first resistance threshold, the POGO PIN of the charging box is determined. There is no corrosion. 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.
  • the first resistance threshold can be preset to collect the first resistance value of R8 when the earphone is 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 earphone is not Corrosion, if the first resistance value is less than the first resistance threshold, it is determined that the POGO PIN of the headset is corroded.
  • the first resistance value may be obtained by directly collecting the resistance value of the connector of the first device by using a resistance sensor when the first device and the second device are not connected, or it may be obtained by collecting the resistance value of the connector of the first device and the second device when the first device is not connected.
  • the voltage and current on the connector of the first device are calculated and obtained according to the voltage and current, which are not limited in this embodiment of the present application.
  • the first resistance threshold value may be obtained by collecting the resistance values on the connectors of the connectors of the plurality of first devices in the uncorroded and corroded states respectively, and obtained through multiple tests, or according to the principle of equivalent circuit. It can be obtained by calculation, which is not limited in the embodiments of the present application.
  • the collected first resistance value on the connector of the first device when the first device is not connected to the second device, the collected first resistance value on the connector of the first device, if the first resistance value is greater than or equal to a preset value If the first resistance threshold is lower than the 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.
  • the magnitude of the first resistance threshold value can quickly and accurately determine the corrosion state of the connector of the first device.
  • the embodiment of the present application focuses on the specific implementation of determining the corrosion state of the connector of the second device when the first parameter and the second parameter are both resistance values.
  • the first parameter includes a first resistance value
  • 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 the second resistance value
  • 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 connector of the first device If the connector of the first device is not 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, according to the difference between the first resistance value and the second resistance value The resistance difference between the two determines the corrosion state of the connector of the second device;
  • the connector of the first device 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, according to the difference between the first resistance value and the second resistance value The resistance difference value determines the corrosion state of the connector of the second device.
  • the second resistance value may be obtained by directly collecting the resistance value of the connector of the first device by using a resistance sensor when the first device and the second device are connected through the connector, or by collecting the first device and the second device through the connection When the connector is connected, the voltage and current on the connector of the first device are collected, and the voltage and current are calculated according to the voltage and current, which are not limited in the embodiments of the present application.
  • the charging box with the POGO PIN uncorroded is equivalent to a resistor R9, as shown in Figure 18, without POGO PIN Put the uncorroded earphones into the POGO PIN uncorroded charging box, which is equivalent to connecting the resistor R9 in parallel with R8.
  • V4 V5*(R8//R9)/(R7+R8//R9), where R9 represents the earphone the resistance of the POGO PIN.
  • the resistance value of R9 is relatively large.
  • the resistance of the POGO PIN of the earphone changes relatively small before and after the earphone is placed in the charging box.
  • the resistance value of R9 is relatively small. Therefore, the resistance of the POGO PIN of the earphone changes greatly before and after the earphone is placed in the charging box.
  • the collected second resistance value on the connector of the first device can be determined according to the condition that the connector of the first device is not corroded.
  • the second resistance value and the preset second resistance value threshold value determine the corrosion state of the connector of the second device, and the connector of the second device can also be determined according to the resistance difference between the first resistance value and the second resistance value corrosion state.
  • the corrosion state of the connector of the second device may be determined according to the second resistance value and the preset second resistance value threshold, or the first resistance value and the second resistance value may be determined according to the corrosion state of the connector of the second device.
  • the degree of change between the values determines the corrosion state of the connector of the second device.
  • determining the corrosion state of the connector of the second device according to the second resistance value and the preset second resistance threshold including: if the second resistance value is greater than or equal to the second resistance threshold, determining the connection of the second device The connector 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.
  • the principle is that the POGO PIN of the earphone can be equivalent to a resistor, and when the earphone is used When placed in the charging box, it is equivalent to connecting a resistor in parallel to the POGO PIN+ and POGO PIN- of the charging box.
  • the equivalent impedance of the POGO PIN of the earphone at this time is relatively large. It is also relatively large; when the POGO PIN corroded earphone is placed in the uncorroded charging box of the POGO PIN, since the impedance of the POGO PIN of the earphone decreases, the equivalent impedance of the POGO PIN of the earphone decreases at this time.
  • the second resistance threshold can be preset, and the second resistance value can be compared with the second resistance threshold to determine the corrosion state of the connector of the second device. For example, when the headset is put into the charging box, the second resistance value on the POGO PIN of the charging box is collected. When the second resistance value is greater than or equal to the second resistance value threshold, it means that the resistance value on the POGO PIN of the headset is relatively large. Make sure that the POGO PIN of the headset is not corroded; when the second resistance value is less than the second resistance value threshold, it means that the resistance value on the POGO PIN of the headset is relatively small, and it is determined that the POGO PIN of the headset is corroded.
  • the second resistance value threshold may be the same as the first resistance value threshold, the second resistance value threshold may also be different from the first resistance value threshold, and the second resistance value threshold may be smaller than the first resistance value threshold.
  • the embodiment is not limited thereto.
  • the second resistance value threshold may be collected from the resistance values on the connector of the first 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, etc. .
  • the resistance value on the connector of the second device is obtained through multiple measurement experiments, or may be calculated according to the equivalent circuit, which is not limited in the embodiments of the present application.
  • the second resistance value on the connector of the first device is collected. If the second resistance value is greater than or equal to the second resistance value 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. Whether the connector of the second device is corroded is simply and accurately determined, so as to reduce the influence of the corrosion of the connector on the second device.
  • an implementation manner of determining 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 is mainly introduced, including: if the resistance difference is less than a preset value the 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 resistance difference between the first resistance value and the second resistance value is smaller than the preset fourth difference threshold, it is determined that the connector of the second device is not corroded; if the first resistance value and the second resistance value are not corroded If the resistance difference between the resistance values is greater than or equal to the fourth difference threshold, it is determined that the connector of the second device is corroded.
  • the resistance value on the connector of the first device before the first device and the second device are connected through the connector
  • the resistance value on the connector of the first device after the first device and the second device are connected through the connector
  • the change between the values is small, it is determined that the connector of the second device is not corroded; if the resistance value on the connector of the first device before the first device and the second device are connected through the connector After the two devices are connected through the connector, the change between the resistance values on the connector of the first device is relatively large, and it is determined that the connector of the second device is corroded.
  • the first resistance value of the connector of the first device is collected when the first device and the second device are not connected, and the first device and the second device are connected through the connector
  • the resistance difference between the first resistance value and the second resistance value is calculated. If the resistance difference is less than the preset fourth difference threshold, the second device is determined. The connector of the first 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 connection of the first device Before and after the first device is connected to the second device through the connector, the connection of the first device
  • the degree of resistance change on the device can be used to identify the corrosion state of the connector of the second device. This method can simply and accurately identify the corrosion state of the connector of the second device and reduce the corrosion of the connector of the second device. Impact.
  • the corrosion situation when it is determined that the connector of the first device and/or the connector of the second device is corroded, the corrosion situation may be reported to the user terminal.
  • the method for identifying corrosion of the connector further includes: if the connector of the first device is corroded, sending corrosion information; the corrosion information is used to prompt that the connector of the first device is corroded and/or inform remedial measures .
  • 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.
  • the charging box when the charging box detects that the POGO PIN of the charging box and/or the POGO PIN of the earphone is corroded, the charging box sends the corrosion information to the earphone, and the earphone sends the corrosion information to the mobile phone, and the mobile phone reminds Corrosion on the POGO PIN of the user's headset and/or charging case.
  • the first device 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 can send the corrosion information to the user terminal to remind the user to The connector of the first device is processed to reduce the corrosion of the connector or avoid the influence of the corrosion of the connector on the device.
  • the first device is a charging box and the second device is an earphone as an example to introduce the corrosion identification method of the connector provided by the embodiment of the present application.
  • the first device is an earphone and the second device is an earphone.
  • the implementation manner of the device being a charging box is similar to the implementation principle of the above-mentioned embodiment, and details are not repeated in this application.
  • steps in the flowcharts of FIGS. 3-5 are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 3 to FIG. 5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages may be executed at different times. The order of execution of the stages is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a stage.
  • FIG. 19 is a structural block diagram of a device for identifying corrosion of a connector according to an embodiment. As shown in Figure 19, the corrosion identification device of the connector includes:
  • an obtaining module 11 configured to obtain 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;
  • the first determination module 12 is configured to determine the corrosion state of the connector of the first device according to the first parameter.
  • the acquisition module 11 is further configured to acquire the second parameter of the connector of the first device; the second parameter is collected when the first device and the second device are connected through the connector parameter;
  • the corrosion identification device of the connector also includes:
  • the second determination module 13 is configured to determine the corrosion state of the connector of the second device according to the first parameter and the second parameter.
  • the first determination 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.
  • the first parameter includes a first voltage
  • the first voltage is a voltage on the connector of the first device collected when the first device and the second device are not connected, and the first voltage is A determination module 12, configured to determine that the connector of the first device is not corroded when the first voltage is greater than or equal to a preset first voltage threshold; when the first voltage is lower than the first voltage In the case of a voltage threshold, it is determined that the connector of the first device is corroded.
  • the first parameter includes a first current
  • the first current is the collected connection between the connector of the first device and the preset value when the first device and the second device are not connected.
  • the first determining 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; When the current is greater than or equal to the first current threshold, it is determined that the connector of the first device is corroded.
  • the first parameter includes the second current
  • the second current is the collected value of the connector of the first device when the first device and the second device are not connected.
  • the current between the charging contact and the grounding contact, the first determining 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; 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.
  • the first parameter includes a first resistance value
  • the first resistance value is the collected value of the connector of the first device 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; if the first resistance value If it is less than the first resistance threshold, it is determined that the connector of the first device is corroded.
  • the acquisition module 11 is further configured to acquire the second parameter of the connector of the first device; the second parameter is collected when the first device and the second device are connected through the connector parameter;
  • the corrosion identification device of the connector also includes:
  • the second determination 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.
  • the first parameter includes a first voltage
  • the first voltage is a voltage on the connector of the first device collected when the first device and the second device are not connected
  • the second parameter includes a second voltage
  • the second voltage is the voltage on 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 If the connector of the first device is not corroded, determine the corrosion state of the connector of the second device according to the second voltage and the preset second voltage threshold, or, according to the first The voltage difference between a voltage and the second voltage determines the corrosion state of the connector of the second device; if the connector of the first device is corroded, according to the second voltage and the preset determine the corrosion state of the connector of the second device; or, determine the corrosion state of the connector of the second device according to the voltage difference between the first voltage and the second voltage .
  • 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; If it is less than the second voltage threshold, it is determined that the connector of the second device is corroded.
  • 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; if the voltage difference is not corroded If it is greater than or equal to the first difference threshold, it is determined that the connector of the second device is corroded.
  • the first parameter includes a first current
  • the first current is the collected connection between the connector of the first device and the preset value when the first device and the second device are not connected.
  • the current between the preset voltage or the ground terminal; the second determination module 13 is configured to determine, according to the third current and the preset third current threshold, if the connector of the first device is not corroded The corrosion state of the connector of the second device; or, according to the first current difference between the first current and the third current, determine the corrosion state of the connector of the second device; if the first current If the connector of a device is corroded, the corrosion state of the connector of the second device is determined according to the third current and the preset third current threshold; or, according to the difference between the first current and the third current The first current difference between the two determines the corrosion state of the connector of the second device.
  • 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; 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.
  • 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; If the 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 first parameter includes the second current
  • the second current is the collected value of the connector of the first device when the first device and the second device are not connected.
  • the current between the charging contact and the ground contact, the second parameter includes a fourth current, and the fourth current is when the first device and the second device are connected through a connector, the first device
  • the current between the charging contact and the grounding contact of the connector; the second determination module 13 is used to determine the current between the charging contact and the ground contact of the first device if the connector of the first device is not corroded, according to the fourth current and the preset fourth current a current threshold, to determine the corrosion state of the connector of the second device; 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; 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 a preset fourth current threshold; or, according to the second current and The second current difference between the fourth currents determines the corrosion state of
  • 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; 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.
  • 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; If the difference is less than or equal to the third difference threshold, it is determined that the connector of the second device is not corroded.
  • the first parameter includes a first resistance
  • the first resistance value is the resistance of the connector of the first device collected when the first device and the second device are not connected value
  • the second parameter includes a second resistance value
  • 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 of the connector of the second device according to the second resistance value and the preset second resistance threshold if the connector of the first device is not corroded or, according to the resistance difference between the first resistance value and the second resistance value, determine the corrosion state of the connector of the second device; if the connector of the first device is corroded, according to The second resistance value and the preset second resistance threshold value determine the corrosion state of the connector of the second device; or, according to the resistance difference between the first resistance value and the second resistance value, determine Corrosion state of the connector of the second device.
  • 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; If the resistance value is less than the second resistance threshold, it is determined that the connector of the second device is corroded.
  • the second determining 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; if the resistance difference is not corroded If it is greater than or equal to the fourth difference threshold, it is determined that the connector of the second device is corroded.
  • the corrosion identification device of the connector further includes:
  • a sending module configured 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.
  • the first device includes a first resistor and a second resistor, a first end of the first resistor is connected to a preset voltage, and a second end of the first resistor is connected to a second end of the two resistors.
  • One end of the second resistor is connected to the ground, 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 charging contact of the connector of the first device. Connect to the ground contact of the connector of the first device.
  • the first device further includes a first current sensor, an input terminal of the first current sensor is connected to the preset voltage, and an output terminal of the first current sensor is connected to the first resistor the first end of the connection.
  • the first device further includes a second current sensor, an input terminal of the second current sensor is connected to a target common terminal, and an output terminal of the second current sensor is grounded; the target common terminal is a common terminal between the second terminal of the second resistor and the ground contact of the connector of the first device.
  • the first device further includes a third current sensor, the input terminal of the third current sensor is connected to the second terminal of the second resistor, and the output terminal of the second current sensor is grounded.
  • the first device is a charging box
  • the second device is an earphone
  • the first device is an earphone
  • the second device is a charging box.
  • each module in the above-mentioned connector corrosion identification device is only used for illustration. In other embodiments, the connector corrosion identification device can be divided into different modules according to needs, so as to complete the above-mentioned connector corrosion identification device. full or partial functionality.
  • Each module in the above-mentioned connector corrosion identification device can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • FIG. 21 is a schematic structural diagram of a charging box provided by an embodiment.
  • 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 configured to execute the method for identifying corrosion of the connector described in any of the above embodiments.
  • FIG. 22 is a schematic structural diagram of an earphone provided by an embodiment.
  • the earphone includes: a processor 31 , a power module 32 , a connector 33 and an audio module 34 , and the processor 31 is connected to the power module 32 respectively.
  • the connector 33 and the audio module 34 are connected, and the processor 31 is configured to execute the method for identifying corrosion of the connector described in any of the above embodiments.
  • FIG. 23 is a schematic diagram of the internal structure of an electronic device in one embodiment.
  • the electronic device includes a processor and a memory connected by 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 non-volatile storage media and internal memory.
  • the nonvolatile 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 by the following embodiments.
  • Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media.
  • the electronic device can be any terminal device such as a charging box, a charging stand, earphones, AR glasses, and wearable devices.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processor to perform the erosion of the connector provided by any of the above embodiments Identify the steps of the method.
  • 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 acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Immunology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Ecology (AREA)
  • Environmental Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Environmental & Geological Engineering (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Testing Resistance To Weather, Investigating Materials By Mechanical Methods (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

连接器(3,4)的腐蚀识别方法、装置、耳机、充电盒和存储介质,获取第一设备(1)未与第二设备(2)连接时,采集的第一设备(1)的连接器(3)的第一参数,根据第一参数确定第一设备(1)的连接器(3)的腐蚀状态,通过第一设备(1)与第二设备(2)未连接时采集的第一设备(1)的连接器(3)的参数,确定第一设备(1)的连接器(3)是否被腐蚀,可以及时识别出第一设备(1)的连接器(3)的腐蚀情况,减少由于连接器(3,4)被腐蚀造成的接触不良等影响。

Description

连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质
相关申请
本申请要求2021年02月09日申请的,申请号为2021101780354,名称为“连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及无线通信技术,特别是涉及一种连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质。
背景技术
随着无线通信技术的发展,无线耳机的使用越来越广泛。例如,TWS耳机的左右两只耳塞无需线缆连接,可以实现蓝牙左右声道无线分离使用。
通常,TWS耳机的底部有两个金属引脚,该金属引脚是用于实现充电盒给TWS耳机充电以及两者之间通讯的连接器,该连接器例如可以是POGO PIN,常见的TWS耳机有两个POGO PIN或三个POGO PIN。当TWS耳机放置在充电盒内时,TWS耳机上的POGO PIN和充电盒上的POGO PIN接触并导通,从而给TWS耳机充电。
然而,TWS耳机在使用过程中可能出现连接器被腐蚀的现象,使得TWS耳机上的连接器和充电盒上的连接器接触不良,导致充电盒给TWS耳机充电慢甚至不能充电的问题,影响TWS耳机的正常使用,但目前对连接器是否被腐蚀缺乏识别机制,从而难以及时补救。
发明内容
本申请实施例提供了一种连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质,可以识别连接器的腐蚀状态。
一种连接器的腐蚀识别方法,所述方法包括:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
一种连接器的腐蚀识别装置,包括:
获取模块,用于获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
第一确定模块,用于根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
一种充电盒,包括:处理器、电源模块和连接器,所述处理器分别与所述电源模块和所述连接器连接;
所述处理器用于执行如下步骤:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
一种耳机,包括:处理器、电源模块、连接器和音频模块,所述处理器分别与所述电源模块、所述连接器、所述音频模块连接;
所述处理器用于执行如下步骤:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
上述连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,通过第一设备与第二设备未连接时采集的第一设备的连接器的参数,确定第一设备的连接器是否被腐蚀,可以及时识别出第一设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中连接器的腐蚀识别方法的应用环境示意图;
图2为另一个实施例中连接器的腐蚀识别方法的应用环境示意图;
图3为一个实施例中连接器的腐蚀识别方法的流程图;
图4为一个实施例中连接器的腐蚀识别方法的流程图;
图5为一个实施例中连接器的腐蚀识别方法的流程图;
图6为一个实施例中充电盒的等效电路图;
图7为一个实施例中充电盒的等效电路图;
图8为一个实施例中耳机放入充电盒中的等效电路图;
图9为一个实施例中耳机的等效电路图;
图10为一个实施例中耳机放入充电盒中的等效电路图;
图11为一个实施例中耳机放入充电盒中的等效电路图;
图12为一个实施例中耳机放入充电盒中的等效电路图;
图13为一个实施例中充电盒的等效电路图;
图14为一个实施例中充电盒的等效电路图;
图15为一个实施例中充电盒的等效电路图;
图16为一个实施例中耳机的等效电路图;
图17为一个实施例中充电盒的等效电路图;
图18为一个实施例中耳机放入充电盒中的等效电路图;
图19为一个实施例提供的连接器的腐蚀识别装置的结构框图;
图20为一个实施例提供的连接器的腐蚀识别装置的结构框图;
图21为一个实施例提供的充电盒的结构示意图;
图22为一个实施例提供的耳机的结构示意图;
图23为一个实施例中电子设备的内部结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。本申请的实施例、实施方式及其技术特征在不冲突的情况下可以相互组合。
图1为一个实施例中连接器的腐蚀识别方法的应用环境示意图。如图1所示,该应用环境包括第一设备1和第二设备2,第一设备1包括连接器3,第二设备2上包括连接器4,第一设备和第二设备之间可通过连接器连接进行充电和/或通信,第一设备可以为第二设备充电。第一设备可以是充电盒、充电盒座等,第二设备可以为耳机,例如,TWS耳机,第二设备还可以是手表、AR眼镜等其他设备,本申请实施例并不以此为限。
如图2所示,第一设备为充电盒3,第二设备为耳机4,充电盒3内部集成了移动电源,耳机4没电的时候,将耳机4放入充电盒4内充电即可。耳机的底部有两个金属引脚,称为POGO PIN,当耳机放置在充电盒内时,让耳机的POGO PIN与充电盒的POGO PIN接触连接,以使耳机与充电盒之间的电路导通,从而为耳机充电和通讯。常见的设备有两个POGO PIN或三个POGO IN,位置分别位于耳机和充电盒上的对应位置,当耳机放置在充电盒内时,耳机上的POGO PIN和充电盒上的POGO PIN刚好接触和导通。
需要说明的是,本申请实施例中提供的连接器的腐蚀识别方法,可以运行与第一设备,也可以运行于第二设备,运行于第一设备和运行于第二设备的实现原理类似,因此,下述实施例中主要以运行于第一设备为例进行说明。
实施例一
图3为一个实施例中连接器的腐蚀识别方法的流程图。本实施例中的连接器的腐蚀识别方法,以运行于图1中的第一设备上为例进行描述。如图3所示,该连接器的腐蚀识别方法包括以下步骤:
S301,获取第一设备的连接器的第一参数;第一参数为第一设备未与第二设备连接时,采集的第一设备的连接器的参数。
其中,第一设备的连接器为第一设备的连接器,例如,第一设备的连接器可以是第一设备上的POGO PIN、弹簧压片、接线柱等。第一参数为第一设备的连接器与第二设备的连接器未接触时,采集的第一设备的连接器的参数,第一参数可以是第一设备的连接器上的电压、电流、阻抗等参数。
在本实施例中,在第一设备与第二设备未连接之前,第一设备采集第一设备的连接器上的电流、电压、阻抗等作为第一参数。该第一设备内部可以设置有各种传感器,例如,电流传感器、电压传感器等,用于采集第一参数。
以第一设备为充电盒、第二设备为耳机为例,在耳机未放入充电盒之前,采集充电盒的POGO PIN上的电压、电流、阻抗中的至少一个作为第一参数,或者,当第一设备为耳机、第二设备可以为耳机盒时,在耳机未放入充电盒之前,采集耳机的POGO PIN上的电压、电流、阻抗中的至少一个作为第一参数,本申请实施例中并不以此为限。
S302,根据第一参数确定第一设备的连接器的腐蚀状态。
其中,腐蚀状态用于表示连接器是否被腐蚀,第一设备的连接器的腐蚀状态表示第一设备的连接器是否被腐蚀。
在本实施例中,在第一设备与第二设备未连接时,采集第一设备的连接器的第一参数,根据该第一参 数可以确定第一设备的连接器的腐蚀状态。通常情况下,连接器未被腐蚀时,连接器上的电压、电流、阻抗等都是一个固定值,一旦连接器被腐蚀,可能会出现连接器上的电压降低、漏电导致电流过大、阻抗变小等现象,因此,可以将采集到的第一参数与连接器未被腐蚀时的参数值进行比较,以判断第一设备的连接器的腐蚀状态。
例如,常见的耳机充电盒的连接器未被腐蚀时,充电盒连接器上的电压为5V,当连接器被腐蚀时,相当于在连接器的电阻上并联电阻,则连接器的电阻变小,其电压也会降低,可以采集耳机未放入充电盒时,充电盒的POGO PIN上的电压值,若POGO PIN上的电压值小于5V,则确定该充电盒的连接器被腐蚀。或者,若该POGO PIN上的电压值处于一定的电压范围内,可以确定该充电盒的连接器未被腐蚀,比如,当耳机未放入充电盒中时,充电盒的POGO PIN上的电压值在4.8V-5V的范围内,则确定该POGO PIN没有腐蚀,若充电盒的POGO PIN上的电压值小于4.8V,则确定该POGO PIN有腐蚀。再例如,常见的耳机充电盒的连接器未被腐蚀时,充电盒连接器上的电流为2A,若连接器被腐蚀,则可能出现漏电现象,导致连接器上的电流增大,该可以采集耳机未放入充电盒时,充电盒的POGO PIN上的电流,若该电流大于2A,则确定该充电盒的连接器被腐蚀,或者,若该POGO PIN上的电流处于一定的电流范围内,可以确定该充电盒的连接器未被腐蚀,比如,当耳机未放入充电盒中时,充电盒的POGO PIN上的电流在1.9A-2.1A的范围内,则确定该POGO PIN没有被腐蚀,若充电盒的POGO PIN上的电流大于2.1A,则确定该POGO PIN有腐蚀。当第一参数为采集的耳机的POGO PIN上的电压、电流时,其实现原理与耳机盒的实现原理类似,此处不再赘述。
需要说明的是,根据第一参数确定第一设备的连接器的腐蚀状态时,可以根据实际情况选择合适的第一参数和方法来确定第一设备的连接器的腐蚀状态,本申请实施例中并不加以限制。
需要说明的是,上述实施例中主要以第一设备为耳机盒,第二设备为耳机为例说明连接器的腐蚀识别方法,以第一设备为耳机,第二设备为耳机的实现方式类似,此处不再赘述。
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,通过第一设备与第二设备未连接时采集的第一设备的连接器的参数,确定第一设备的连接器是否被腐蚀,可以及时识别出第一设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。
实施例二
在图3所示实施例的基础上,还可以进一步的获取第一设备与第二设备连接时,采集的第一设备的连接器的第二参数,根据第一参数和第二参数确定第二设备的连接器的腐蚀状态。如图4所示,该连接器的腐蚀识别方法还可以包括以下步骤:
S401、获取第一设备的连接器的第二参数;第二参数为第一设备与第二设备通过连接器连接时采集的参数。
其中,第二参数为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器的参数。例如,第二参数可以为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器上的电压、电流、电阻等参数。
以第一设备为充电盒、第二设备为耳机为例,在耳机放入充电盒之后,采集充电盒的POGO PIN上的电压、电流、阻抗中的至少一个作为第二参数,或者,当第一设备为耳机、第二设备可以为耳机盒时,在耳机放入充电盒之后,采集耳机的POGO PIN上的电压、电流、阻抗中的至少一个作为第二参数,本申请实施例中并不以此为限。
S402、根据第一参数和第二参数,确定第二设备的连接器的腐蚀状态。
在本实施例中,可以将第一参数的值和第二参数的值进行大小比较,以确定第二设备的连接器的腐蚀状态。例如,若第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电压A,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电压B,由于连接器被腐蚀可能会出现连接器上的电压降低的现象,因此,若电压B小于电压A,则确定第二设备的连接器被腐蚀,若电压B等于电压A,则确定第二设备的连接器没有被腐蚀。或者,第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电流C,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电流D,由于连接器被腐蚀可能会出现连接器漏电导致电流过大的现象,因此,若电流C小于电流D,则确定第二设备的连接器被腐蚀,若电流C等于电流D,则确定第二设备的连接器没有被腐蚀。
或者,还可以通过第一参数的值和第二参数的值的变化程度来确定第二设备的连接器的腐蚀状态。若第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电压A,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电压B,由于连接器被腐蚀可能会出现连接器上的电压降低的现象,若电压B与电压A的差值小于预设电压差值,也即,第一设备与第二设备通过连接前后,第一设备的连接器上的电压变化较小,则确定第二连接器没有被腐蚀,若电压B与电压A的差值大于或等于预设电压差值,也即,第一设备与第二设备通过连接前后,第一设备的连接器上的电压变化较大,则确定第二连接器被腐蚀。又或者,第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器 上的电流C,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电流D,由于连接器被腐蚀可能会出现连接器漏电导致电流过大的现象,因此,若电流C与电流D的差值大于预设电流差值,则确定第二设备的连接器被腐蚀,若电流C与电流D的差值小于或等于预设电流差值,则确定第二设备的连接器没有被腐蚀。
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备的连接器的第二参数,根据第一参数和第二参数,确定第二设备的连接器的腐蚀状态,由于,第一参数为第一设备未与第二设备连接时,采集的第一设备的连接器的参数,第二参数为第一设备与第二设备通过连接器连接时采集的参数,通过第一设备和第二设备连接前后第一设备的连接器的参数,可以快速的确定出第二设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。
实施例三
在图3所示实施例的基础上,还可以进一步的获取第一设备与第二设备连接时,采集的第一设备的连接器的第二参数,基于第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态。如图5所示,该连接器的腐蚀识别方法还可以包括以下步骤:
S501、获取第一设备的连接器的第二参数;第二参数为第一设备与第二设备通过连接器连接时采集的参数。
本实施例的实现原理可参照实施例二中的步骤S401,此处不再赘述。
S502、根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态。
其中,第一设备的连接器的腐蚀状态为第一设备的连接器被腐蚀或第一设备的连接器未被腐蚀,第二设备的连接器的腐蚀状态表示第二设备的连接器是否被腐蚀。
在本实施例中,确定了第一设备的连接器的腐蚀状态后,可以基于第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态。例如,确定了第一设备的连接器的腐蚀状态,可以将第二参数的值与预设的参数阈值进行比较确定第二设备的连接器的腐蚀状态,也可以是将第一参数的值和第二参数的值进行比较,以确定第二设备的连接器的腐蚀状态,还可以是通过采集第二设备在充电过程中的一些参数来确定第二设备的连接器的腐蚀状态。
以充电盒和耳机为例,在确定了充电盒的连接器未被腐蚀时,如果耳机的连接器也没有被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化很小,如果耳机的连接器被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化会比较大。可以采集耳机放入充电盒中时,充电盒的连接器的电压值a,将该电压值a与耳机未放入充电盒中时充电盒的连接器的电压值b进行比较,如果电压值a与电压值b之间的差值小于某个阈值,则确定耳机的连接器没有腐蚀,如果电压值a与电压值b之间的差值大于某个阈值,则确定耳机的连接器有腐蚀。或者,也可以直接将该电压值a与预先设定的阈值进行比较,若该电压值a大于或等于该阈值,则确定耳机的连接器没有腐蚀,若该电压值a小于该阈值,则确定耳机的连接器有腐蚀。同理,在确定了充电盒被腐蚀时,如果耳机的连接器没有被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化很小,如果耳机的连接器被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化也会比较大,也可以采用上述电压值比较的方法来确定耳机的连接器是否被腐蚀,不同的是阈值或者阈值的取值范围不同,本申请实施例并不以此为限。
或者,还可以在确定了充电盒的连接器的腐蚀状态之后,通过耳机放入充电盒前后充电盒的连接器上的电流的变化大小来确定耳机的连接器是否被腐蚀,例如,若充电盒的连接器未被腐蚀,耳机放入充电盒之前充电盒的连接器的电流为c,耳机放入充电盒之后充电盒的连接器的电流为d,若电流c与电流d的差值小于预设的电流阈值,则确定耳机的连接器没有腐蚀,若电流c与电流d的差值大于或等于电流阈值,则确定耳机的连接器有腐蚀,本申请实施例并不以此为限。
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,并在第一设备与第二设备通过连接器连接时,采集的第一设备的连接器的第二参数,根据第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态,可以及时识别出第二设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。
实施例四
在图3所示实施例中,根据第一参数确定第一设备的连接器的腐蚀状态的方式有多种,在一个实施例中,根据第一参数确定第一设备的连接器的腐蚀状态,包括:根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态。
其中,不同的第一参数对应不同的预设阈值,例如,若第一参数为电流,则预设阈值为预设电流阈值,若第一参数为电压,则预设阈值为预设电压阈值,若第一参数为电阻值,则预设阈值为预设电阻阈值,不同的预设阈值可以根据实际需求、第一设备的设备参数、第二设备的设备参数等确定,例如,对于正常速率充电的设备,对于充电时长的要求较低,则该预设阈值可适当设置的较小,或者预设阈值的范围可以适当大一些,对于需要快充的第二设备,对于充电时长的要求较高,则该预设阈值可适当设置的较大,或者预设阈值的范围可以适当小一些,本申请实施例不加以限制。
在本实施例中,第一设备可以根据采集的到第一参数的类型,选择对应的预设阈值,以确定第一设备的连接器的腐蚀状态。可以将第一参数的值与预设阈值进行比较,根据第一参数的值与预设阈值的大小关系确定第一设备的连接器的腐蚀状态,例如,当第一参数的值大于预设阈值时,第一设备的连接器未被腐蚀,当第一参数的值小于预设阈值时,第一设备的连接器被腐蚀。通过将第一参数和预设阈值可以快速简单的确定出第一设备的连接器的腐蚀状态,降低连接器腐蚀对第一设备的影响。
实施例五
本实施例重点介绍的是第一参数为电压时,确定第一设备的连接器的腐蚀状态的具体实现过程。在本实施例中,第一参数包括第一电压,第一电压为第一设备未与第二设备连接时,采集的第一设备的连接器上的电压,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电压大于或等于预设的第一电压阈值,则确定第一设备的连接器未被腐蚀;若第一电压小于第一电压阈值,则确定第一设备的连接器被腐蚀。
在本实施例中,可以在第一设备中设置一些电阻,以采集第一设备的连接器上的电压。如图6所示,第一设备包括第一电阻R1和第二电阻R2,第一电阻R1的第一端连接预设电压V1,第一电阻R1的第二端与第二电阻R2的第一端连接,第二电阻R2的第二端接地,第二电阻R1的第一端还与第一设备的连接器的充电触点OPGO PIN+连接,第二电阻的第二端还与第一设备的连接器的接地触点OPGO PIN-连接。在本实施例中,可以将第一设备的连接器的充电触点OPGO PIN+和接地触点OPGO PIN-与第一设备的处理器连接,通过第一设备的处理器采集电压V2。
其中,第一电阻R1和第二电阻R2可以特别设置在第一设备内部的电阻,也可以是服用第一设备中其他功能器件的等效电阻,本申请实施例中不加以限制。
如图6所示,该等效电路图中包括电压V1、电阻R1、电阻R2、电压V2、电压V3,其中,耳机盒向耳机充电时,通过电压V3提供电能,例如,该电压V3可以为稳定的5V电压。为了避免电压V3或者其他充电电压对OPGO PIN上的测量电压的影响,一般在耳机盒未向耳机充电或者充电过程断开之后,可以通过处理器采集电压V2作为上述第一电压,该第一电压等效为V2=V1*R2/(R1+R2),当充电盒的POGO PIN+与POGO PIN-之间未腐蚀时电阻R2很大,V2的电压比较高。
本实施例中,将充电盒的连接器被腐蚀时的电路等效为如图7所示的电路图,当充电盒的POGO PIN+与POGO PIN-之间有腐蚀时,相当于给电阻R2并联了一个电阻,因此,图7所示的等效电路图中包括电压V1、电阻R1、电阻R2、电阻R3、电压V2,当充电盒的POGO PIN+与POGO PIN-之间有腐蚀时,类似于在电阻R2上再并联了一颗电阻R3,POGO PIN+与POGO PIN-之间的阻抗变小,V2=V1*(R2//R3)/(R1+R2//R3),这样V2的电压变小。
本实施例中,参照图6和图7所示的电路原理,可以预先设置第一电压阈值,采集耳机未放入充电盒中时R2两端的第一电压V2,当第一电压V2大于或者等于第一电压阈值时,确定充电盒的连接器未被腐蚀,当第二电压V2小于第一电压阈值时,确定充电盒的连接器被腐蚀。例如,耳机盒的连接器未被腐蚀时,连接器上的电压为5V,可以将第一电压阈值设置为4.9V、4.85V、4.8等,本申请实施例中不加以限制。该第一电压阈值可以将多个第一设备的连接器在未腐蚀和腐蚀状态下,分别采集其器连接器上的电压,经过多次试验测试得到的,也可以是根据等效电路原理计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀方法,在第一设备未与第二设备连接时,采集的第一设备的连接器上的第一电压,若第一电压大于或等于预设的第一电压阈值,则确定第一设备的连接器未被腐蚀;若第一电压小于第一电压阈值,则确定第一设备的连接器被腐蚀,通过比较第一电压和预设的第一电压阈值的大小,可以快速准确的确定第一设备的连接器的腐蚀状态。
实施例六
本申请实施例在实施例三的基础上,重点介绍当第一参数和第二参数均为电压时,确定第二设备的连接器的腐蚀状态的具体实现方式。在本实施例中,第一参数包括第一电压,第一电压为第一设备与第二设备未连接时,采集的第一设备的连接器上的电压,第二参数包括第二电压,第二电压为第一设备与第二设备通过连接器连接时,采集的第一设备的连接器上的电压;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:
若第一设备的连接器未被腐蚀,则根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态;
若第一设备的连接器被腐蚀,则根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态。
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器上的第二电压,在第一设备的连接器未被腐蚀的情况下,可以根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐蚀状态,也可以是计算第一电压与第二电压之间的电压差值,根据电压差值的大小来确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电压和第二电压之间的变化程度确定第二设备的连接器的腐蚀状态。
下面以第一设备的连接器未被腐蚀,根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐 蚀状态为例,说明本方案的具体实现方式。在本实施例中,以第二设备为耳机为例,识别耳机的POGO PIN是否有腐蚀,其原理为,可以将耳机的POGO PIN等效为一颗电阻R4,当耳机放入充电盒中时,相当于在充电盒的POGO PIN+和POGO PIN-上并联了一颗电阻R4,其示意图如图8所示,为POGO PIN未腐蚀的充电盒中放入耳机,此时V2=V1*(R2//R4)/(R1+R2//R4),其中R4代表耳机的POGO PIN两端的电阻值。当耳机的POGO PIN未腐蚀时,R4的电阻值比较大,V2比较大。
在本实施例中,当耳机的POGO PIN腐蚀时,如图9所示,耳机的POGO PIN两端相当于并联了一颗电阻,也就是在R4的两端并联了一颗电阻R5。当POGO PIN未腐蚀的充电盒中放入POGO PIN腐蚀的耳机时,其等效电路图如图10所示,此时V2=V1*(R2//R5//R4)/(R1+R2//R5//R4),由于充电盒的POGO PIN未腐蚀,所以放入耳机前,充电盒上测到的V2电压比较高,但是耳机端的POGO PIN腐蚀了,此时耳机端的POGO PIN等效电阻R4//R5比较小,这样放入耳机时,V2的电压会变低很多。由此可以判断出充电盒的POGO PIN自身未腐蚀了,但是耳机的POGO PIN腐蚀了。
基于以上电路原理,可以基于耳机放入POGO PIN未腐蚀的充电盒前后,耳机盒的POGO PIN的电压变化情况,设置相应的第二电压阈值或电压差值,将耳机放入POGO PI未腐蚀的充电盒之后,采集的到充电盒的POGO PIN的第二电压与第二电压阈值确定耳机的连接器的腐蚀情况,也可以是将耳机放入POGO PIN未腐蚀的充电盒前后,采集到的充电盒的POGO PIN的电压实际差值与预设的电压差值阈值比较,确定耳机的连接器的腐蚀情况。
在本实施例中,根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态,包括:若第二电压大于或等于第二电压阈值,则确定第二设备的连接器未被腐蚀;若第二电压小于第二电压阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,可以预先设置第二电压阈值,将第二电压与第二电压阈值进行比较,以确定第二设备的连接器的腐蚀状态。如图10示,当耳机放入充电盒中时,采集充电盒的POGO PIN上的第二电压V2,当第二电压V2大于或等于第二电压阈值时,说明耳机的POGO PIN上电阻值比较大,确定耳机的POGO PIN未被腐蚀;当第二电压V2小于第二电压阈值时,说明耳机的POGO PIN上电阻值比较小,确定耳机的POGO PIN被腐蚀。
需要说明的是,第二电压阈值可以与第一电压阈值相同,第二电压阈值也以与第一电压阈值不同,第二电压阈值可以比第一电压阈值小,例如,第二电压阈值可以为4.85V、4.8V、4.75V.4.7V等,本申请实施例并不以此为限。第二电压阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器上的电压、第二设备的连接器上的电压,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备连接时,第一设备的连接器上的第二电压,若第二电压大于或等于第二电压阈值,则确定第二设备的连接器未被腐蚀;若第二电压小于第二电压阈值,则确定第二设备的连接器被腐蚀,通过预先设置的第二电压阈值,可以简单、准确的确定出第二设备的连接器是否被腐蚀,以减少连接器腐蚀对第二设备的影响。
实施例七
上面重点介绍了第一设备的连接器未腐蚀的情况下,确定第二设备的连接器的腐蚀状态的实现方式,下面重点介绍第一设备的连接器被腐蚀的情况下,确定第二设备的连接器的腐蚀状态的实现方式。
在本实施例中,充电盒的连接器被腐蚀时的等效电路如图7所示,如图11所示,当POGO PIN腐蚀的充电盒中放入POGO PIN未腐蚀的耳机时,相当于在电阻R2和R3上再并联一颗电阻R4,此时V2=V1*(R2//R3//R4)/(R1+R2//R3//R4),由于充电盒腐蚀了,所以放入耳机前,充电盒上测到的V2电压比较低。但是耳机端的POGO PIN未腐蚀,此时电阻R4还比较大,这样放入耳机时,V2的电压不会再变低很多。由此可以判断当充电盒的POGO PIN自身腐蚀了,耳机放入充电盒前后的电压V2变化比较小时,耳机的POGO PIN未腐蚀。
在本实施例中,如图12所示,当充电盒的POGO PIN腐蚀时,放入腐蚀的耳机后,相当于在电阻R2、R3、R4的基础上再并联一颗电阻R5,此时V2=V1*(R2//R3//R5//R4)/(R1+R2//R3//R5//R4),由于充电盒的POGO PIN腐蚀了,所以放入耳机前,充电盒上测到的V2电压比较低。但是耳机端的POGO PIN腐蚀了,此时耳机端的POGO PIN等效电阻R4//R5比较小,这样放入耳机时,V2的电压会再次变低很多。由此可以判断当充电盒的POGO PIN自身腐蚀了,耳机放入充电盒前后的电压V2变化比较大时,耳机的POGO PIN腐蚀了。
基于上述图11和图12所示等效电路图的原理,在第一设备的连接器被腐蚀的情况下,既可以根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态,也可以根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态。进一步地,在本实施例中,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态,包括:若电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若电压差值大于或等于第一差值阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,当第一设备的连接器被腐蚀的情况下,若第一电压与第二电压之间的电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若第一电压与第二电压之间的大于或等于第一差 值阈值,则确定第二设备的连接器被腐蚀。也就是说,在第一设备的连接器被腐蚀的情况下,若第一设备与第二设备连接前第一设备的连接器上的电压,与第一设备与第二设备连接之后第一设备的连接器上的电压之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备连接前第一设备的连接器上的电压,与第一设备与第二设备连接之后第一设备的连接器上的电压之间的变化较大,则确定第二设备的连接器被腐蚀。
以耳机与充电盒为例,充电盒的POGO PIN被腐蚀,第一差值阈值为0.2V,若耳机放入充电盒之前,充电盒的POGO PIN的第一电压为4.7V,耳机放入充电盒中时,充电盒的POGO PIN的第二电压为4.6V,第一电压与第二电压的电压差值为0.1V,0.1V小于0.2V,则确定耳机的POGO PIN没有腐蚀。若耳机放入充电盒之前,充电盒的POGO PIN的第一电压为4.7V,耳机放入充电盒中时,充电盒的POGO PIN的第二电压为4.4V,第一电压与第二电压的电压差值为0.3V,0.3V大于0.2V,则确定耳机的POGO PIN有腐蚀。
本申请实施例提供的连接器的腐蚀识别方法,在第一设备的连接器被腐蚀的情况下,采集第一设备与第二设备未连接时,第一设备的连接器的第一电压,和,第一设备与第二设备连接时,第一设备的连接器的第二电压,计算第一电压和第二电压之间的电压差值,若电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若电压差值大于或等于第一差值阈值,则确定第二设备的连接器被腐蚀,通过第一设备与第二设备连接前后,第一设备的连接器上的电压变化程度,识别第二设备的连接器的腐蚀状态,该方法可以简单、准确的识别出第二设备的连接器的腐蚀状态,减少第二设备的连接器的腐蚀对第二设备的影响。
上述实施例中重点介绍了采集第一设备的连接器上的电压,根据电压识别连接器的腐蚀状态的实现方式,下面重点介绍采集第一设备的连接器上的电流,根据电流识别连接器的腐蚀状态的实现方式。
实施例八
在本实施例中,采集电流的位置不同,识别连接器的腐蚀状态的方式也不相同,本实施例中重点介绍采集第一设备的连接器与电源或接地端之间的电流的实现方式。
在本实施例中,在图6所示实施例的基础上,如图13所示,第一设备还包括第一电流传感器,第一电流传感器的输入端与预设电压V1连接,第一电流传感器的输出端与第一电阻R1的第一端连接。该充电盒的等效电路可以包括预设电压V1、电阻R1和电阻R2,在电压V1和电阻R1之间设置一个电流表,用于采集充电盒的连接器端的电流。如图6和图7所示,充电盒的POGO PIN端被腐蚀时,相当于在电阻R2上并联电阻R3,相当于充电盒的POGO PIN端的电阻变小,则充电盒的POGO PIN端的电流会变大,因此,当充电盒中无耳机时,电流比较小时说明充电盒中POGO PIN端未腐蚀;电流仍比较大时说明充电盒中POGO PIN端的腐蚀情况比较严重。耳机放入充电盒中后,电流变化比较小时说明耳机中POGO PIN端未腐蚀;但电流变化比较大时说明耳机的POGO PIN端的腐蚀情况比较严重。
在另一个实施例,如图14所示,第一设备还包括第二电流传感器,第二电流传感器的输入端与目标公共端连接,第二电流传感器的输出端接地;目标公共端为第二电阻R2的第二端与第一设备的连接器的接地触点POGO PIN-之间的公共端。该充电盒的等效电路可以包括电压V1、第一电阻R1和第二电阻R2,可以在POGO PIN-与接地端之间设置第二电流传感器,用于采集充电盒的连接器上的电流。其原理和图13类似,此处不再赘述。
基于如图13和图14所示的电路原理,第一参数包括第一电流,第一电流为第一设备未与第二设备连接时,采集的第一设备的连接器与电源或接地端之间的电流,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀。
在本实施例中,在第一设备和第二设备未连接时,采集第一设备的连接器与电源或者接地端之间的第一电流,若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀。以上述图13为例,在耳机未放入充电盒时,采集充电盒的电压V1与电阻R1之间的电流e,若电流e小于预设的第一电流阈值,则确定充电盒的POGO PIN端未腐蚀;若电流e大于或等于第一电流阈值,则确定充电盒的POGO PIN端被腐蚀。或者,以图13为例,在耳机未放入充电盒时,采集充电盒的POGO PIN-与接地端之间的电流f,若电流f小于预设的第一电流阈值,则确定充电盒的POGO PIN端未腐蚀;若电流f大于或等于第一电流阈值,则确定充电盒的POGO PIN端被腐蚀。
需要说明的是,第一电流阈值可以为2.1A、2.05A、2A、1.9A等,本申请实施例并不以此为限。第一电流阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器与电源或接地端之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,在第一设备和第二设备未连接时,采集第一设备的连接器与电源或者接地端之间的第一电流,若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀,通过采集第一设备的连 接器上的电流与预设电流阈值进行比较,可以快速准确的识别第一设备的连接器是否被腐蚀,避免第一设备的连接器被腐蚀带来的接触不良、漏电等影响。
进一步地,在确定了第一设备的连接器的腐蚀状态之后,可以基于第一设备的连接器的腐蚀状态,以及第一设备和所述第二设备连接时第一设备的连接器与电源或接地端之间的电流,确定第二设备的连接器的腐蚀状态。
实施例九
在本实施例中,第一参数包括第一电流,第一电流为第一设备与第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,第二参数包括第三电流,第三电流为第一设备和第二设备连接时,第一设备的连接器与预设电压或接地端之间的电流;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:
若第一设备的连接器未被腐蚀,则根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态;
若第一设备的连接器被腐蚀,则根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态。
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器与电源或接地端之间的第三电流,在第一设备的连接器未被腐蚀的情况下,可以根据第三电流和预设的第三电流阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,也可以根据第一电流和第三电流之间的变化程度确定第二设备的连接器的腐蚀状态,本申请实施例中不加以限制。
进一步地,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,包括:若第三电流小于第三电流阈值,则确定第二设备的连接器未被腐蚀;若第三电流大于或等于第三电流阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,以充电盒和耳机为例,当充电盒的POGO PIN未被腐蚀时,充电盒的POGO PIN的阻抗较大,如图13所示,充电盒的电压V1、电阻R1之间的电流较小,当POGO PIN未腐蚀的充电盒放入未腐蚀的耳机时,由于耳机的POGO PIN的阻抗也比较大,因此,电压V1、电阻R1之间的电流仍然比较小。基于该原理,耳机放入POGO PIN未腐蚀的充电盒中时,如图13所示,通过第一电流传感器采集充电盒的电压V1、电阻R1之间的电流l,若电流l小于第三电流阈值,则确定耳机的POGO PIN未被腐蚀,若电流l大于或等于第三电流阈值,则确定耳机的POGO PIN被腐蚀。或者,如图14所示,通过第二电流传感器采集充电盒的POGO PIN-与接地端之间的第二电流m,若电流m小于第三电流阈值,则确定耳机的POGO PIN未被腐蚀,若电流m大于或等于第三电流阈值,则确定耳机的POGO PIN被腐蚀。
需要说明的是,第三电流阈值可以与第一电流阈值相同,也可以不相同,第三电流阈值可以为2.1A、2.05A、2A、1.9A等,本申请实施例并不以此为限。第三电流阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器与电源或接地端之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,第一设备和第二设备连接时,采集第一设备的连接器与电源或接地端之间的第三电流,若第三电流小于第三电流阈值,则确定第二设备的连接器未被腐蚀;若第三电流大于或等于第三电流阈值,则确定第二设备的连接器被腐蚀。将第一设备和第二设备连接时,采集第一设备的连接器与电源或接地端之间的第三电流与第三电流阈值比较,可以快速识别出第二设备的连接器是否被腐蚀。
实施例十
在第一设备的连接器被腐蚀的情况下,采集第一设备与第二设备连接时,第一设备的连接器与电源或接地端之间的第三电流,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,也可以采集第一设备与第二设备未连接时,第一设备的连接器与电源或接地端之间的第一电流,以及,采集第一设备与第二设备连接时,第一设备的连接器与电源或接地端之间的第三电流,通过第一电流与第三电流之间的变化程度,确定第二设备的连接器的腐蚀状态。
在本实施例中,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态,包括:若第一电流差值小于预设的第二差值阈值,确定第二设备的连接器未被腐蚀;若第一电流差值大于或等于第二差值阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,在第一设备的连接器被腐蚀的情况下,若第一电流与第三电流之间的差值小于预设的第二差值阈值,则确定第二设备的连接器未腐蚀,若第一电流与第三电流之间的差值大于或等于第二差值阈值,则确定第二设备的连接器被腐蚀。也就是说,在第一设备的连接器被腐蚀的情况下,若第一设备与第二设备连接前第一设备的连接器与电源或接地端之间的电流,与第一设备与第二设备连接之后第一设备的连接器与电源或接地端之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备连 接前第一设备的连接器与电源或接地端的电流,与第一设备与第二设备连接之后第一设备的连接器与电源或接地端的电流之间的变化较大,则确定第二设备的连接器被腐蚀。
以耳机与充电盒为例,充电盒的POGO PIN被腐蚀,第一差值阈值为0.2A,若耳机放入充电盒之前,充电盒的POGO PIN的第一电流为2.2A,耳机放入充电盒中时,充电盒的POGO PIN的第三电流为2.3A,第一电流与第三电流的电流差值为0.1A,0.1A小于0.2A,则确定耳机的POGO PIN没有腐蚀。若耳机放入充电盒之前,充电盒的POGO PIN的第一电流为2.2A,耳机放入充电盒中时,充电盒的POGO PIN的第三电流为2.5A,第一电流与第三电流的电流差值为0.3A,0.3A大于0.2A,则确定耳机的POGO PIN有腐蚀。
本申请实施例提供的连接器的腐蚀方法,采集第一设备与第二设备未连接时,第一设备的连接器与电源或接地端之间的第一电流,和,第一设备与第二设备连接时,第一设备的连接器与电源或接地端之间的第三电流,计算第一电流和第三电流之间的第一电流差值,若第一电流差值小于预设的第二差值阈值,确定第二设备的连接器未被腐蚀;若第一电流差值大于或等于第二差值阈值,则确定第二设备的连接器被腐蚀。通过第一设备与第二设备连接前后,第一设备的连接器上的电流变化程度,识别第二设备的连接器的腐蚀状态,该方法可以简单、准确的识别出第二设备的连接器的腐蚀状态,减少第二设备的连接器的腐蚀对第二设备的影响。
实施例十一
在本实施例中,重点介绍采集第一设备的连接器的充电触点与接地触点之间的电流,根据该电流识别第一设备的连接器和第二设备的连接器的腐蚀状态的实现方式。
在本实施例中,在图6所示实施例的基础上,如图15所示,第一设备还包括第三电流传感器,第三电流传感器的输入端与第二电阻R2的第二端连接,第二电流传感器的输出端接地。可以将充电盒电路等效为如图15所示的电路图,可以在充电盒的POGO PIN-与R2之间设置电流表,用于采集充电盒的POGO PIN-与R2之间的电流,也即,该电流表采集的是流经R2的电流,当充电盒的POGO PIN被腐蚀时,相当于在R2上并联一颗电阻,也即将流经R2的电流进行分流,则R2上的电流变小,因此,在本实施例中,当检测到POGO PIN-与R2之间的电流变小时,确定充电盒的POGO PIN被腐蚀。
基于如图13所示的电路原理,在本实施例中,第一参数包括第二电流,第二电流为第一设备与第二设备未连接时,采集的第一设备的连接器的充电触点与接地触点之间的电流,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。
在本实施例中,在第一设备和第二设备未连接时,采集第一设备的连接器充电触点与接地触点之间的第二电流,若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。以上述图15为例,在耳机未放入充电盒时,采集充电盒的POGO PIN-与R2之间的电流x,若电流x小于预设的第二电流阈值,则确定充电盒的POGO PIN端被腐蚀;若电流x大于或等于第二电流阈值,则确定充电盒的POGO PIN端未腐蚀。
需要说明的是,第二电流阈值可以为2A、1.9A、1.8A等,本申请实施例并不以此为限。第二电流阈值可以是对第一设备的连接器未腐蚀、第一设备的连接器被腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器的充电触点与接地触点之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,在第一设备和第二设备未连接时,采集第一设备的连接器的充电触点与接地触点之间的第二电流,若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。通过采集第一设备的连接器的充电触点与接地触点之间的电流与预设的第二电流阈值进行比较,可以快速准确的识别第一设备的连接器是否被腐蚀,避免第一设备的连接器被腐蚀带来的接触不良、漏电等影响。
实施例十二
在确定了第一设备的连接器的腐蚀状态之后,可以基于第一设备的连接器的腐蚀状态,以及第一设备和第二设备连接时第一设备的连接器的充电触点与接地触点之间的电流,确定第二设备的连接器的腐蚀状态。
在本实施例中,第一参数包括第二电流,第二电流为第一设备与第二设备未连接时,采集的第一设备的连接器的充电触点与接地触点之间的电流,第二参数包括第四电流,第四电流为第一设备和第二设备连接时,第一设备的连接器的充电触点与接地触点之间的电流;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:
若第一设备的连接器未被腐蚀,则根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态;
若第一设备的连接器被腐蚀,则根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态。
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器的充电触点与接地触点之间的第四电流,在第一设备的连接器未被腐蚀的情况下,可以根据第四电流和预设的第四电流阈值确定第二设备的连接器的腐蚀状态,也可以根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,也可以根据第三电流和第四电流之间的变化程度确定第二设备的连接器的腐蚀状态。
进一步地,根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,包括:若第四电流小于第四电流阈值,则确定第二设备的连接器被腐蚀;若第四电流大于或等于第四电流阈值,则确定第二设备的连接器未被腐蚀。
在本实施例中,以充电盒和耳机为例,当充电盒的POGO PIN未被腐蚀时,充电盒的POGO PIN的阻抗较大,如图15所示,充电盒的POGO PIN-与R2之间的电流较小,当POGO PIN未腐蚀的充电盒放入未腐蚀的耳机时,由于耳机的POGO PIN的阻抗也比较大,因此,充电盒的POGO PIN-与R2之间的电流不会减小很多,因此,当充电盒的POGO PIN-与R2之间的电流大于或等于第四电流阈值,则确定第二设备的连接器未被腐蚀。相反地,当POGO PIN未腐蚀的充电盒放入腐蚀的耳机时,由于耳机的POGO PIN的阻抗变小,导致POGO PIN-与R2之间的电流被分流的很多,因此,当充电盒的POGO PIN-与R2之间的电流小于第四电流阈值,则确定第二设备的连接器被腐蚀。
需要说明的是,第二电流阈值与第四电流阈值之间存在一定的差异,例如,第二电流阈值大于第四电流阈值,第二电流阈值可以为2A、1.9A、1.8A等,第四电流阈值可以为1.8A、1.7A、1.6A等,本申请实施例中不加以限制。第四电流阈值可以是对第一设备的连接器未腐蚀、第一设备的连接器被腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器的充电触点与接地触点之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,可以根据第四电流和预设的第四电流阈值确定第二设备的连接器的腐蚀状态,通过将第四电流和预设的第四电流阈值进行比较,快速准确地确定第二设备的连接器是否被腐蚀,避免第二设备的连接器被腐蚀时对第二设备性能的影响。
实施例十三
在第一设备的连接器被腐蚀的情况下,可以采集第一设备与第二设备未连接时,第一设备的连接器的充电触点与接地触点之间的第二电流,以及,采集第一设备与第二设备连接时,第一设备的连接器的充电触点与接地触点之间的第四电流,可以根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,也可以通过第二电流与第四电流之间的变化程度,确定第二设备的连接器的腐蚀状态。
在本实施例中,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态,包括:若第二电流差值大于预设的第三差值阈值,确定第二设备的连接器被腐蚀;若第二电流差值小于或等于第三差值阈值,则确定第二设备的连接器未被腐蚀。
在本实施例中,以充电盒和耳机为例,当充电盒的POGO PIN被腐蚀时,如图15所示,POGO PIN-与R2之间的电流变小,当POGO PIN腐蚀的充电盒放入POGO PIN未腐蚀的耳机时,由于耳机的POGO PIN阻抗比较大,POGO PIN-与R2之间的电流不会变小很多,因此,当POGO PIN腐蚀的充电盒放入POGO PIN未腐蚀的耳机前后的电流差小于或等于第三差值阈值,则确定耳机的POGO PIN未被腐蚀。但是,当POGO PIN腐蚀的充电盒放入POGO PIN腐蚀的耳机时,由于耳机的POGO PIN阻抗减小,POGO PIN-与R2之间的电流会变小很多,因此,当POGO PIN腐蚀的充电盒放入POGO PIN未腐蚀的耳机前后的电流差大于第三差值阈值,则确定耳机的POGO PIN被腐蚀。
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备未连接时,第一设备的连接器的充电触点与接地触点之间的第二电流,以及,采集第一设备与第二设备连接时,第一设备的连接器的充电触点与接地触点之间的第四电流,计算第二电流与第四电流之间的第二电流差值,若第二电流差值大于预设的第三差值阈值,确定第二设备的连接器被腐蚀;若第二电流差值小于或等于第三差值阈值,则确定第二设备的连接器未被腐蚀。通过判断第二电流与第四电流之间的变化程度,确定第二设备的连接器的腐蚀状态,避免第二设备的连接器被腐蚀时对第二设备性能的影响。
实施例十四
在一些场景中,还可以通过连接器的阻抗来识别连接器的腐蚀状态,在本实施例中,第一参数包括第一电阻值,第一电阻值为第一设备与第二设备未连接时,采集的第一设备的连接器的电阻值,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电阻值大于或等于预设的第一电阻阈值,则确定第一设备的连接器未被腐蚀;若第一电阻值小于第一电阻阈值,则确定第一设备的连接器被腐蚀。
在本实施例中,以第一设备为充电盒为例,如图6和图7所示,当充电盒上的POGO PIN被腐蚀时,相当于给电阻R2并联一颗电阻R3,因此,当充电盒上的POGO PIN被腐蚀时,充电盒上的POGO PIN的电阻值减小。基于该原理,可以预设设置第一电阻阈值,采集耳机未放入充电盒中时R2的第一电阻值,若该第一电阻值大于或等于第一电阻阈值,则确定充电盒的POGO PIN没有腐蚀,若该第一电阻值小于第 一电阻阈值,则确定充电盒的POGO PIN有腐蚀。
在另一个实施例中,以第一设备为耳机、第二设备的充电盒为例,如图16所示,将耳机等效为如图16所示的电路,该电路包括预设电压V5、电压V6、电阻R7、电阻R8、电压V4,V4=V5*R8/(R7+R8),当耳机的POGO PIN+与POGO PIN-之间未腐蚀时电阻R8很大,当耳机的POGO PIN有腐蚀时,相当于给电阻R8串联电阻,耳机的POGO PIN的电阻变小。基于该原理,可以预设设置第一电阻阈值,采集耳机未放入充电盒中时R8的第一电阻值,若该第一电阻值大于或等于第一电阻阈值,则确定耳机的POGO PIN没有腐蚀,若该第一电阻值小于第一电阻阈值,则确定耳机的POGO PIN有腐蚀。
其中,第一电阻值可以是第一设备与第二设备未连接时,采用电阻传感器直接采集第一设备的连接器的电阻值得到,也可以是采集第一设备与第二设备未连接时,第一设备的连接器上的电压和电流,根据该电压和电流计算得到的,本申请实施例不加以限制。第一电阻阈值可以是将多个第一设备的连接器在未腐蚀和腐蚀状态下,分别采集其器连接器上的电阻值,经过多次试验测试得到的,也可以是根据等效电路原理计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,在第一设备未与第二设备连接时,采集的第一设备的连接器上的第一电阻值,若第一电阻值大于或等于预设的第一电阻阈值,则确定第一设备的连接器未被腐蚀;若第一电阻值小于第一电阻阈值,则确定第一设备的连接器被腐蚀,通过比较第一电阻值和预设的第一电阻阈值的大小,可以快速准确的确定第一设备的连接器的腐蚀状态。
实施例十五
本申请实施例在实施例十二的基础上,重点介绍当第一参数和第二参数均为电阻值时,确定第二设备的连接器的腐蚀状态的具体实现方式。在本实施例中,第一参数包括第一电阻值,第一电阻值为第一设备与第二设备未连接时,采集的第一设备的连接器的电阻值,第二参数包括第二电阻值,第二电阻值为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器的电阻值;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:
若第一设备的连接器未被腐蚀,则根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态;
若第一设备的连接器被腐蚀,则根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态。
其中,第二电阻值可以是第一设备与第二设备通过连接器连接时,采用电阻传感器直接采集第一设备的连接器的电阻值得到,也可以是采集第一设备与第二设备通过连接器连接时,采集第一设备的连接器上的电压和电流,根据该电压和电流计算得到的,本申请实施例不加以限制。
在本实施例中,以第一设备为耳机、第二设备的充电盒为例,如图17所示,将POGO PIN未腐蚀的充电盒等效为电阻R9,如图18所示,未POGO PIN未腐蚀的耳机放入POGO PIN未腐蚀的充电盒中,相当于在R8并联电阻R9,此时V4=V5*(R8//R9)/(R7+R8//R9),其中R9代表耳机的POGO PIN的电阻。当充电盒的POGO PIN未腐蚀时,R9的电阻值比较大,因此,耳机放入充电盒前后,耳机的POGO PIN的电阻变化比较小。当充电盒的POGO PIN腐蚀时,R9的电阻值比较小,因此,耳机放入充电盒前后,耳机的POGO PIN的电阻变化比较大。
在本实施例中,第一设备与第二设备通过连接器连接时,采集的第一设备的连接器上的第二电阻值,在第一设备的连接器未被腐蚀的情况下,可以根据第二电阻值和预设的第二电阻值阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第二电阻值和预设的第二电阻值阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电阻值和第二电阻值之间的变化程度确定第二设备的连接器的腐蚀状态。
进一步地,根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态,包括:若第二电阻值大于或等于第二电阻阈值,则确定第二设备的连接器未被腐蚀;若第二电阻值小于第二电阻阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,以第一设备为充电盒、第二设备为耳机为例,识别耳机的POGO PIN是否有腐蚀,其原理为,可以将耳机的POGO PIN等效为一颗电阻,当耳机放入充电盒中时,相当于在充电盒的POGO PIN+和POGO PIN-上并联了一颗电阻。当POGO PIN未腐蚀的充电盒中放入POGO PIN未腐蚀的耳机时,由于充电盒的POGO PIN的阻抗与耳机的POGO PIN的阻抗都比较大,因此,此时耳机的POGO PIN的等效阻抗也比较大;当POGO PIN未腐蚀的充电盒中放入POGO PIN腐蚀的耳机时,由于耳机的POGO PIN的阻抗减小,因此,此时耳机的POGO PIN的等效阻抗减小。
基于该原理,可以预先设置第二电阻阈值,将第二电阻值和第二电阻阈值进行比较,以确定第二设备的连接器的腐蚀状态。例如,当耳机放入充电盒中时,采集充电盒的POGO PIN上的第二电阻值,当第二电阻值大于或等于第二电阻值阈值时,说明耳机的POGO PIN上电阻值比较大,确定耳机的POGO PIN未被腐蚀;当第二电阻值小于第二电阻值阈值时,说明耳机的POGO PIN上电阻值比较小,确定耳机的POGO PIN被腐蚀。
需要说明的是,第二电阻值阈值可以与第一电阻值阈值相同,第二电阻值阈值也以与第一电阻值阈值不同,第二电阻值阈值可以比第一电阻值阈值小,本申请实施例并不以此为限。第二电阻值阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器上的电阻值、第二设备的连接器上的电阻值,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备通过连接器连接时,第一设备的连接器上的第二电阻值,若第二电阻值大于或等于第二电阻值阈值,则确定第二设备的连接器未被腐蚀;若第二电阻值小于第二电阻值阈值,则确定第二设备的连接器被腐蚀,通过预先设置的第二电阻值阈值,可以简单、准确的确定出第二设备的连接器是否被腐蚀,以减少连接器腐蚀对第二设备的影响。
在另一个实施例中,重点介绍根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态的实现方式,包括:若电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若电阻差值大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀。
在本实施例中,以第一设备为充电盒、第二设备为耳机为例,如图11所示,当POGO PIN腐蚀的充电盒中放入POGO PIN未腐蚀的耳机时,相当于在电阻R2和R3上再并联一颗电阻R4,由于耳机的POGO PIN的电阻R4比较大,耳机放入耳机盒前后,耳机盒的POGO PIN的等效电阻变化较小。如图12所示,当充电盒的POGO PIN腐蚀时,放入腐蚀的耳机后,相当于在电阻R2、R3、R4的基础上再并联一颗电阻R5,由于耳机的POGO PIN的电阻R4减小,导致耳机放入耳机盒前后,耳机盒的POGO PIN的等效电阻变化较大。
基于该原理,若第一电阻值和第二电阻值之间的电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若第一电阻值和第二电阻值之间电阻差值的大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀。也就是说,若第一设备与第二设备通过连接器连接前第一设备的连接器上的电阻值,与第一设备与第二设备通过连接器连接之后第一设备的连接器上的电阻值之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备通过连接器连接前第一设备的连接器上的电阻值,与第一设备与第二设备通过连接器连接之后第一设备的连接器上的电阻值之间的变化较大,则确定第二设备的连接器被腐蚀。
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备未连接时,第一设备的连接器的第一电阻值,和,第一设备与第二设备通过连接器连接时,第一设备的连接器的第二电阻值,计算第一电阻值和第二电阻值之间的电阻差值,若电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若电阻差值大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀,通过第一设备与第二设备通过连接器连接前后,第一设备的连接器上的电阻变化程度,识别第二设备的连接器的腐蚀状态,该方法可以简单、准确的识别出第二设备的连接器的腐蚀状态,减少第二设备的连接器的腐蚀对第二设备的影响。
实施例十六
在上述任一实施例的基础上,当确定第一设备的连接器和/或第二设备的连接器发生腐蚀时,可以向用户终端上报告腐蚀情况。在本实施例中,该连接器的腐蚀识别方法还包括:若第一设备的连接器被腐蚀,则发送腐蚀信息;腐蚀信息用于提示第一设备的连接器被腐蚀和/或告知补救措施。
可选地,若第二设备的连接器被腐蚀,也可以发送腐蚀信息;腐蚀信息用于提示第二设备的连接器被腐蚀和/或告知补救措施。
以耳机和充电盒为例,当充电盒检测到充电盒的POGO PIN和/或耳机的POGO PIN被腐蚀时,充电盒将腐蚀信息发送至耳机,耳机再将该腐蚀信息发送至手机,手机提醒用户耳机和/或充电盒的POGO PIN出现腐蚀。
在本实施例中,当确定了第一设备的连接器时,第一设备可以将该腐蚀信息通过连接器发送至第二设备,第二设备将该腐蚀信息发送至用户终端,以提醒用户对第一设备的连接器进行处理,减少连接器的腐蚀或者避免连接器腐蚀对设备的影响。
需要说明的是,上述实施例中主要以第一设备为充电盒、第二设备为耳机为例,来介绍本申请实施例提供的连接器的腐蚀识别方法,以第一设备为耳机、第二设备为充电盒的实现方式与上述实施例的实现原理类似,本申请中不再赘述。
应该理解的是,虽然图3-图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3-图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
图19为一个实施例提供的连接器的腐蚀识别装置的结构框图。如图19所示,该连接器的腐蚀识别装置包括:
获取模块11,用于获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
第一确定模块12,用于根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
如图20所示,获取模块11,还用于获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;
该连接器的腐蚀识别装置还包括:
第二确定模块13,用于根据所述第一参数和所述第二参数,确定第二设备的连接器的腐蚀状态。
在一个实施例中,第一确定模块12用于根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态。
在一个实施例中,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,第一确定模块12,用于在所述第一电压大于或等于预设的第一电压阈值的情况下,确定所述第一设备的连接器未被腐蚀;在所述第一电压小于所述第一电压阈值的情况下,确定所述第一设备的连接器被腐蚀。
在一个实施例中,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,第一确定模块12,用于若所述第一电流小于预设的第一电流阈值,则确定所述第一设备的连接器未被腐蚀;若所述第一电流大于或等于所述第一电流阈值,则确定所述第一设备的连接器被腐蚀。
在一个实施例中,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,第一确定模块12,用于若所述第二电流小于预设的第二电流阈值,则确定所述第一设备的连接器被腐蚀;若所述第二电流大于或等于所述第二电流阈值,则确定所述第一设备的连接器未被腐蚀。
在一个实施例中,所述第一参数包括第一电阻值,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,第一确定模块12,用于若所述第一电阻值大于或等于预设的第一电阻阈值,则确定所述第一设备的连接器未被腐蚀;若所述第一电阻值小于所述第一电阻阈值,则确定所述第一设备的连接器被腐蚀。
如图20所示,获取模块11,还用于获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;
该连接器的腐蚀识别装置还包括:
第二确定模块13,用于根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态。
在一个实施例中,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,所述第二参数包括第二电压,所述第二电压为所述第一设备与所述第二设备通过连接器连接时,采集的第一设备的连接器上的电压,第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态,或,根据所述第一电压与所述第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电压与第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态。
在一个实施例中,第二确定模块13,用于若所述第二电压大于或等于所述第二电压阈值,则确定所述第二设备的连接器未被腐蚀;若所述第二电压小于所述第二电压阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,第二确定模块13,用于若所述电压差值小于预设的第一差值阈值,则确定所述第二设备的连接器未被腐蚀;若所述电压差值大于或等于所述第一差值阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,所述第二参数包括第三电流,所述第三电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器与预设电压或接地端之间的电流;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态。
在一个实施例中,第二确定模块13,用于若所述第三电流小于所述第三电流阈值,则确定所述第二设备的连接器未被腐蚀;若所述第三电流大于或等于所述第三电流阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,第二确定模块13,用于若所述第一电流差值小于预设的第二差值阈值,确定所述第 二设备的连接器未被腐蚀;若所述第一电流差值大于或等于所述第二差值阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,所述第二参数包括第四电流,所述第四电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器的充电触点与接地触点之间的电流;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态。
在一个实施例中,第二确定模块13,用于若所述第四电流小于所述第四电流阈值,则确定所述第二设备的连接器被腐蚀;若所述第四电流大于或等于所述第四电流阈值,则确定所述第二设备的连接器未被腐蚀。
在一个实施例中,第二确定模块13,用于若所述第二电流差值大于预设的第三差值阈值,确定所述第二设备的连接器被腐蚀;若所述第二电流差值小于或等于所述第三差值阈值,则确定所述第二设备的连接器未被腐蚀。
在一个实施例中,所述第一参数包括第一电阻,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,所述第二参数包括第二电阻值,所述第二电阻值为所述第一设备和所述第二设备通过连接器连接时,采集的所述第一设备的连接器的电阻值;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态。
在一个实施例中,第二确定模块13,用于若所述第二电阻值大于或等于所述第二电阻阈值,则确定所述第二设备的连接器未被腐蚀;若所述第二电阻值小于所述第二电阻阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,第二确定模块13,用于若所述电阻差值小于预设的第四差值阈值,则确定所述第二设备的连接器未被腐蚀;若所述电阻差值大于或等于所述第四差值阈值,则确定所述第二设备的连接器被腐蚀。
在一个实施例中,该连接器的腐蚀识别装置还包括:
发送模块,用于若所述第一设备的连接器被腐蚀,则发送腐蚀信息;所述腐蚀信息用于提示所述第一设备的连接器被腐蚀和/或告知补救措施。
在一个实施例中,所述第一设备包括第一电阻和第二电阻,所述第一电阻的第一端连接预设电压,所述第一电阻的第二端与所述二电阻的第一端连接,所述第二电阻的第二端接地,所述第二电阻的第一端还与所述第一设备的连接器的充电触点连接,所述第二电阻的第二端还与所述第一设备的连接器的接地触点连接。
在一个实施例中,所述第一设备还包括第一电流传感器,所述第一电流传感器的输入端与所述预设电压连接,所述第一电流传感器的输出端与所述第一电阻的第一端连接。
在一个实施例中,所述第一设备还包括第二电流传感器,所述第二电流传感器的输入端与目标公共端连接,所述第二电流传感器的输出端接地;所述目标公共端为所述第二电阻的第二端与所述第一设备的连接器的接地触点之间的公共端。
在一个实施例中,所述第一设备还包括第三电流传感器,所述第三电流传感器的输入端与所述第二电阻的第二端连接,所述第二电流传感器的输出端接地。
在一个实施例中,所述第一设备为充电盒,所述第二设备为耳机;或者,
所述第一设备为耳机,所述第二设备为充电盒。
上述实施例提供的连接器的腐蚀识别装置的实现原理和有益效果可参照方法实施例,此处不再赘述。
上述连接器的腐蚀识别装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将连接器的腐蚀识别装置按照需要划分为不同的模块,以完成上述连接器的腐蚀识别装置的全部或部分功能。
关于连接器的腐蚀识别装置的具体限定可以参见上文中对于连接器的腐蚀识别方法的限定,在此不再赘述。上述连接器的腐蚀识别装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
图21为一个实施例提供的充电盒的结构示意图,如图21所示,该充电盒包括:处理器21、电源模块22和连接器23,处理器21分别与电源模块22和连接器23连接;处理器21用于执行上述任一实施例所 述的连接器的腐蚀识别方法。
本申请实施例提供的充电盒的实现原理和有益效果可参照上述连接器的腐蚀识别方法的实施例,此处不再赘述。
图22为一个实施例提供的耳机的结构示意图,如图22所示,耳机包括:处理器31、电源模块32、连接器33和音频模块34,所述处理器31分别与所述电源模块32、所述连接器33、所述音频模块34连接,处理器31用于执行上述任一实施例所述的连接器的腐蚀识别方法。
本申请实施例提供的耳机的实现原理和有益效果可参照上述连接器的腐蚀识别方法的实施例,此处不再赘述。
图23为一个实施例中电子设备的内部结构示意图。如图23所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种连接器的腐蚀识别方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是充电盒、充电座、耳机、AR眼镜、穿戴式设备等任意终端设备。
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行上述任一实施例提供的连接器的腐蚀识别方法的步骤。
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一实施例提供的连接器的腐蚀识别方法。
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (30)

  1. 一种连接器的腐蚀识别方法,其特征在于,所述方法包括:
    获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
    根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;
    根据所述第一参数和所述第二参数,确定第二设备的连接器的腐蚀状态。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一参数确定所述第一设备的连接器的腐蚀状态,包括:
    根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态。
  4. 根据权利要求3所述的方法,其特征在于,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,所述根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态,包括:
    若所述第一电压大于或等于预设的第一电压阈值,则确定所述第一设备的连接器未被腐蚀;
    若所述第一电压小于所述第一电压阈值,则确定所述第一设备的连接器被腐蚀。
  5. 根据权利要求3所述的方法,其特征在于,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,所述根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态,包括:
    若所述第一电流小于预设的第一电流阈值,则确定所述第一设备的连接器未被腐蚀;
    若所述第一电流大于或等于所述第一电流阈值,则确定所述第一设备的连接器被腐蚀。
  6. 根据权利要求3所述的方法,其特征在于,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,所述根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态,包括:
    若所述第二电流小于预设的第二电流阈值,则确定所述第一设备的连接器被腐蚀;
    若所述第二电流大于或等于所述第二电流阈值,则确定所述第一设备的连接器未被腐蚀。
  7. 根据权利要求3所述的方法,其特征在于,所述第一参数包括第一电阻值,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,所述根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态,包括:
    若所述第一电阻值大于或等于预设的第一电阻阈值,则确定所述第一设备的连接器未被腐蚀;
    若所述第一电阻值小于所述第一电阻阈值,则确定所述第一设备的连接器被腐蚀。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;
    根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态。
  9. 根据权利要求8所述的方法,其特征在于,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,所述第二参数包括第二电压,所述第二电压为所述第一设备与所述第二设备通过连接器连接时,采集的第一设备的连接器上的电压;
    所述根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第一设备的连接器未被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电压与所述第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态;
    若所述第一设备的连接器被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电压与所述第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第二电压大于或等于所述第二电压阈值,则确定所述第二设备的连接器未被腐蚀;
    若所述第二电压小于所述第二电压阈值,则确定所述第二设备的连接器被腐蚀。
  11. 根据权利要求9所述的方法,其特征在于,所述根据所述第一电压与第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述电压差值小于预设的第一差值阈值,则确定所述第二设备的连接器未被腐蚀;
    若所述电压差值大于或等于所述第一差值阈值,则确定所述第二设备的连接器被腐蚀。
  12. 根据权利要求8所述的方法,其特征在于,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,所述第二参数包括第三电流,所述第三电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器与预设电压或接地端之间的电流;
    所述根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第一设备的连接器未被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态;
    若所述第一设备的连接器被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态。
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第三电流小于所述第三电流阈值,则确定所述第二设备的连接器未被腐蚀;
    若所述第三电流大于或等于所述第三电流阈值,则确定所述第二设备的连接器被腐蚀。
  14. 根据权利要求12所述的方法,其特征在于,所述根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第一电流差值小于预设的第二差值阈值,确定所述第二设备的连接器未被腐蚀;
    若所述第一电流差值大于或等于所述第二差值阈值,则确定所述第二设备的连接器被腐蚀。
  15. 根据权利要求8所述的方法,其特征在于,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,所述第二参数包括第四电流,所述第四电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器的充电触点与接地触点之间的电流;
    所述根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第一设备的连接器未被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态;
    若所述第一设备的连接器被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态。
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第四电流小于所述第四电流阈值,则确定所述第二设备的连接器被腐蚀;
    若所述第四电流大于或等于所述第四电流阈值,则确定所述第二设备的连接器未被腐蚀。
  17. 根据权利要求15所述的方法,其特征在于,所述根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第二电流差值大于预设的第三差值阈值,确定所述第二设备的连接器被腐蚀;
    若所述第二电流差值小于或等于所述第三差值阈值,则确定所述第二设备的连接器未被腐蚀。
  18. 根据权利要求8所述的方法,其特征在于,所述第一参数包括第一电阻值,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,所述第二参数包括第二电阻值,所述第二电阻值为所述第一设备和所述第二设备通过连接器连接时,采集的所述第一设备的连接器的电阻值;
    所述根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第一设备的连接器未被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态;
    若所述第一设备的连接器被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态。
  19. 根据权利要求18所述的方法,其特征在于,所述根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述第二电阻值大于或等于所述第二电阻阈值,则确定所述第二设备的连接器未被腐蚀;
    若所述第二电阻值小于所述第二电阻阈值,则确定所述第二设备的连接器被腐蚀。
  20. 根据权利要求18所述的方法,其特征在于,所述根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态,包括:
    若所述电阻差值小于预设的第四差值阈值,则确定所述第二设备的连接器未被腐蚀;
    若所述电阻差值大于或等于所述第四差值阈值,则确定所述第二设备的连接器被腐蚀。
  21. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述第一设备的连接器被腐蚀,则发送腐蚀信息;所述腐蚀信息用于提示所述第一设备的连接器被腐蚀和/或告知补救措施。
  22. 根据权利要求1所述的方法,其特征在于,所述第一设备包括第一电阻和第二电阻,所述第一电阻的第一端连接预设电压,所述第一电阻的第二端与所述二电阻的第一端连接,所述第二电阻的第二端接地,所述第二电阻的第一端还与所述第一设备的连接器的充电触点连接,所述第二电阻的第二端还与所述第一设备的连接器的接地触点连接。
  23. 根据权利要求22所述的方法,其特征在于,所述第一设备还包括第一电流传感器,所述第一电流传感器的输入端与所述预设电压连接,所述第一电流传感器的输出端与所述第一电阻的第一端连接。
  24. 根据权利要求22所述的方法,其特征在于,所述第一设备还包括第二电流传感器,所述第二电流传感器的输入端与目标公共端连接,所述第二电流传感器的输出端接地;所述目标公共端为所述第二电阻的第二端与所述第一设备的连接器的接地触点之间的公共端。
  25. 根据权利要求22所述的方法,其特征在于,所述第一设备还包括第三电流传感器,所述第三电流传感器的输入端与所述第二电阻的第二端连接,所述第二电流传感器的输出端接地。
  26. 根据权利要求2或8所述的方法,其特征在于,所述第一设备为充电盒,所述第二设备为耳机;或者,
    所述第一设备为耳机,所述第二设备为充电盒。
  27. 一种连接器的腐蚀识别装置,其特征在于,包括:
    获取模块,用于获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;
    第一确定模块,用于根据所述第一参数确定所述第一设备的连接器的腐蚀状态。
  28. 一种充电盒,其特征在于,包括:处理器、电源模块和连接器,所述处理器分别与所述电源模块和所述连接器连接;
    所述处理器用于执行如权利要求1至26中任一项所述的方法的步骤。
  29. 一种耳机,其特征在于,包括:处理器、电源模块、连接器和音频模块,所述处理器分别与所述电源模块、所述连接器、所述音频模块连接;
    所述处理器用于执行如权利要求1至26中任一项所述的方法的步骤。
  30. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至26中任一项所述的方法的步骤。
PCT/CN2022/071474 2021-02-09 2022-01-12 连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质 WO2022170907A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110178035.4 2021-02-09
CN202110178035.4A CN114910515A (zh) 2021-02-09 2021-02-09 连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质

Publications (1)

Publication Number Publication Date
WO2022170907A1 true WO2022170907A1 (zh) 2022-08-18

Family

ID=82761623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071474 WO2022170907A1 (zh) 2021-02-09 2022-01-12 连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质

Country Status (2)

Country Link
CN (1) CN114910515A (zh)
WO (1) WO2022170907A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5933309A (en) * 1998-06-02 1999-08-03 International Business Machines Corporation Apparatus and method for monitoring the effects of contact resistance
CN106598818A (zh) * 2015-10-20 2017-04-26 索尼移动通信株式会社 连接器插座接口连接电路和操作方法
CN108370170A (zh) * 2017-02-27 2018-08-03 华为技术有限公司 短路故障处理装置及方法
CN109217248A (zh) * 2017-07-05 2019-01-15 台达电子企业管理(上海)有限公司 一种连接器的故障处理方法和系统
CN208736956U (zh) * 2018-07-09 2019-04-12 东莞市钰璘测试自动化有限公司 便携式pogo开路短路检测仪
CN109977057A (zh) * 2019-03-27 2019-07-05 青岛海信移动通信技术股份有限公司 一种接口设备及接口设备的控制方法
CN110800168A (zh) * 2017-08-25 2020-02-14 三星电子株式会社 改变连接器中包括的端子的阻抗的方法和装置
US20200321792A1 (en) * 2019-04-04 2020-10-08 Samsung Electronics Co., Ltd. Electronic device and method for communicating with external device through power source line

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5933309A (en) * 1998-06-02 1999-08-03 International Business Machines Corporation Apparatus and method for monitoring the effects of contact resistance
CN106598818A (zh) * 2015-10-20 2017-04-26 索尼移动通信株式会社 连接器插座接口连接电路和操作方法
CN108370170A (zh) * 2017-02-27 2018-08-03 华为技术有限公司 短路故障处理装置及方法
CN109217248A (zh) * 2017-07-05 2019-01-15 台达电子企业管理(上海)有限公司 一种连接器的故障处理方法和系统
CN110800168A (zh) * 2017-08-25 2020-02-14 三星电子株式会社 改变连接器中包括的端子的阻抗的方法和装置
CN208736956U (zh) * 2018-07-09 2019-04-12 东莞市钰璘测试自动化有限公司 便携式pogo开路短路检测仪
CN109977057A (zh) * 2019-03-27 2019-07-05 青岛海信移动通信技术股份有限公司 一种接口设备及接口设备的控制方法
US20200321792A1 (en) * 2019-04-04 2020-10-08 Samsung Electronics Co., Ltd. Electronic device and method for communicating with external device through power source line

Also Published As

Publication number Publication date
CN114910515A (zh) 2022-08-16

Similar Documents

Publication Publication Date Title
US20170115355A1 (en) Maximum capacity estimator for battery state of health and state of charge determinations
US20170093056A1 (en) Kelvin connector adapter for storage battery
US10720778B2 (en) Method for identifying type of cable, power adapter and cable
CN112180260A (zh) 电池析锂窗口分析方法、析锂检测方法、设备及存储介质
WO2021239007A1 (zh) 一种电池识别方法及电子设备、存储介质
CN110887438A (zh) 一种极耳焊接效果的检测方法
CN110514925A (zh) 测试方法和系统,及存储介质
CN110006953A (zh) 虚焊检测方法、系统、装置、计算机设备和可读存储介质
JP2022516753A (ja) バッテリー診断システム及び方法
WO2020244604A1 (zh) 电路检测方法及装置、设备、存储介质
KR20220051673A (ko) 배터리 검사 장치
JP2015105863A (ja) 推定プログラム、推定方法および推定装置
CN106226647B (zh) 一种电子设备的耳机插座和电子设备
WO2022170907A1 (zh) 连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质
TW202136806A (zh) 電池老化評估方法
CN116819346B (zh) 电池soc估算方法、装置、设备及存储介质
JP2021502041A (ja) 充電装置のテストシステム及び方法
WO2023179255A1 (zh) 一种充电装置、方法及相关设备
CN116662232A (zh) 一种电子设备和检测方法
US20140019790A1 (en) Monitoring a battery in an electronic device
CN106772092B (zh) 基于移动终端获取电池电压的充电电流设置系统及方法
KR102256096B1 (ko) 배터리팩과 접지 간의 절연 상태를 진단하기 위한 장치 및 방법과, 상기 장치를 포함하는 배터리팩
US9372239B2 (en) Sealed battery manufacturing method and inspection device
CN115103289A (zh) 耳机老化监测方法、装置、计算机设备和存储介质
CN113093037B (zh) 电池故障检测装置、方法、模块以及车辆

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22752069

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22752069

Country of ref document: EP

Kind code of ref document: A1