CN114910515A - Connector corrosion identification method and device, earphone, charging box and storage medium - Google Patents
Connector corrosion identification method and device, earphone, charging box and storage medium Download PDFInfo
- Publication number
- CN114910515A CN114910515A CN202110178035.4A CN202110178035A CN114910515A CN 114910515 A CN114910515 A CN 114910515A CN 202110178035 A CN202110178035 A CN 202110178035A CN 114910515 A CN114910515 A CN 114910515A
- Authority
- CN
- China
- Prior art keywords
- connector
- current
- corroded
- voltage
- determining
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000005260 corrosion Methods 0.000 title claims abstract description 299
- 230000007797 corrosion Effects 0.000 title claims abstract description 299
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000246 remedial effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 32
- 230000008859 change Effects 0.000 description 26
- 230000007423 decrease Effects 0.000 description 10
- 238000002474 experimental method Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003628 erosive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/02—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
- G01N27/04—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
- G01N27/041—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance of a solid body
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N17/00—Investigating resistance of materials to the weather, to corrosion, or to light
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/02—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
- G01N27/04—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating resistance
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R27/00—Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
- G01R27/02—Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/02—Contact members
Landscapes
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Health & Medical Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Electrochemistry (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Biodiversity & Conservation Biology (AREA)
- Ecology (AREA)
- Environmental & Geological Engineering (AREA)
- Environmental Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Testing Resistance To Weather, Investigating Materials By Mechanical Methods (AREA)
Abstract
本申请实施例提供的连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,通过第一设备与第二设备未连接时采集的第一设备的连接器的参数,确定第一设备的连接器是否被腐蚀,可以及时识别出第一设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。
The corrosion identification method, device, earphone, charging box, and storage medium of the connector provided in the embodiments of the present application acquire the first parameter of the connector of the first device collected when the first device is not connected to the second device, according to the first parameter of the connector of the first device. A parameter determines the corrosion state of the connector of the first device, and determines whether the connector of the first device is corroded through the parameters of the connector of the first device collected when the first device and the second device are not connected, and can identify in time whether the connector of the first device is corroded Corrosion of the connector of the first device reduces influences such as poor contact caused by corrosion of the connector.
Description
技术领域technical field
本申请涉及无线通信技术,特别是涉及一种连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质。The present application relates to wireless communication technology, and in particular, to a method, device, earphone, charging box and storage medium for identifying corrosion of a connector.
背景技术Background technique
随着无线通信技术的发展,无线耳机的使用越来越广泛。例如,TWS耳机的左右两只耳塞无需线缆连接,可以实现蓝牙左右声道无线分离使用。With the development of wireless communication technology, wireless earphones are more and more widely used. For example, 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.
通常,TWS耳机的底部有两个金属引脚,该金属引脚是用于实现充电盒给TWS耳机充电以及两者之间通讯的连接器,该连接器例如可以是POGO PIN,常见的TWS耳机有两个POGO PIN或三个POGO PIN。当TWS耳机放置在充电盒内时,TWS耳机上的POGO PIN和充电盒上的POGO PIN接触并导通,从而给TWS耳机充电。Usually, there are two metal pins at the bottom of the TWS headset, which are the connectors used for charging the TWS headset by the charging box and communicating between the two. For example, the connector can be POGO PIN, a common TWS headset. There are two POGO PINs or three POGO PINs. When the TWS earphone is placed in the charging box, the POGO PIN on the TWS earphone and the POGO PIN on the charging box are in contact and conduct, thereby charging the TWS earphone.
然而,TWS耳机在使用过程中可能出现连接器被腐蚀的现象,使得TWS耳机上的连接器和充电盒上的连接器接触不良,导致充电盒给TWS耳机充电慢甚至不能充电的问题,影响TWS耳机的正常使用,但目前对连接器是否被腐蚀缺乏识别机制,从而难以及时补救。However, 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.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种连接器的腐蚀识别方法、装置、耳机、充电盒和存储介质,可以识别连接器的腐蚀状态。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, the method comprising:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;acquiring a first parameter of the connector of the first device; 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:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;acquiring a first parameter of the connector of the first device; 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:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;acquiring a first parameter of the connector of the first device; 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 computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;acquiring a first parameter of the connector of the first device; 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.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个实施例中连接器的腐蚀识别方法的应用环境示意图;1 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment;
图2为另一个实施例中连接器的腐蚀识别方法的应用环境示意图;2 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in another embodiment;
图3为一个实施例中连接器的腐蚀识别方法的流程图;3 is a flowchart of a method for identifying corrosion of a connector in one embodiment;
图4为一个实施例中连接器的腐蚀识别方法的流程图;4 is a flowchart of a method for identifying corrosion of a connector in one embodiment;
图5为一个实施例中连接器的腐蚀识别方法的流程图;5 is a flowchart of a method for identifying corrosion of a connector in one embodiment;
图6为一个实施例中充电盒的等效电路图;6 is an equivalent circuit diagram of a charging box in one embodiment;
图7为一个实施例中充电盒的等效电路图;7 is an equivalent circuit diagram of a charging box in one embodiment;
图8为一个实施例中耳机放入充电盒中的等效电路图;8 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment;
图9为一个实施例中耳机的等效电路图;9 is an equivalent circuit diagram of an earphone in one embodiment;
图10为一个实施例中耳机放入充电盒中的等效电路图;FIG. 10 is an equivalent circuit diagram of an earphone being put into a charging case in one embodiment;
图11为一个实施例中耳机放入充电盒中的等效电路图;FIG. 11 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment;
图12为一个实施例中耳机放入充电盒中的等效电路图;12 is an equivalent circuit diagram of an earphone being placed in a charging case in one embodiment;
图13为一个实施例中充电盒的等效电路图;13 is an equivalent circuit diagram of a charging box in one embodiment;
图14为一个实施例中充电盒的等效电路图;14 is an equivalent circuit diagram of a charging case in one embodiment;
图15为一个实施例中充电盒的等效电路图;15 is an equivalent circuit diagram of a charging case in one embodiment;
图16为一个实施例中耳机的等效电路图;16 is an equivalent circuit diagram of an earphone in one embodiment;
图17为一个实施例中充电盒的等效电路图;Figure 17 is an equivalent circuit diagram of a charging case in one embodiment;
图18为一个实施例中耳机放入充电盒中的等效电路图;FIG. 18 is an equivalent circuit diagram of an earphone placed in a charging case in one embodiment;
图19为一个实施例提供的连接器的腐蚀识别装置的结构框图;19 is a structural block diagram of a device for identifying corrosion of a connector provided by an embodiment;
图20为一个实施例提供的连接器的腐蚀识别装置的结构框图;20 is a structural block diagram of a device for identifying corrosion of a connector provided by an embodiment;
图21为一个实施例提供的充电盒的结构示意图;21 is a schematic structural diagram of a charging box provided by an embodiment;
图22为一个实施例提供的耳机的结构示意图;22 is a schematic structural diagram of an earphone provided by an embodiment;
图23为一个实施例中电子设备的内部结构示意图。FIG. 23 is a schematic diagram of the internal structure of an electronic device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。本申请的实施例、实施方式及其技术特征在不冲突的情况下可以相互组合。It will be understood that the terms "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. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of this application. 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.
图1为一个实施例中连接器的腐蚀识别方法的应用环境示意图。如图1所示,该应用环境包括第一设备1和第二设备2,第一设备1包括连接器3,第二设备2上包括连接器4,第一设备和第二设备之间可通过连接器连接进行充电和/或通信,第一设备可以为第二设备充电。第一设备可以是充电盒、充电盒座等,第二设备可以为耳机,例如,TWS耳机,第二设备还可以是手表、AR眼镜等其他设备,本申请实施例并不以此为限。FIG. 1 is a schematic diagram of an application environment of a method for identifying corrosion of a connector in one embodiment. As shown in FIG. 1, the application environment includes a
如图2所示,第一设备为充电盒3,第二设备为耳机4,充电盒3内部集成了移动电源,耳机4没电的时候,将耳机4放入充电盒4内充电即可。耳机的底部有两个金属引脚,称为POGO PIN,当耳机放置在充电盒内时,让耳机的POGO PIN与充电盒的POGO PIN接触连接,以使耳机与充电盒之间的电路导通,从而为耳机充电和通讯。常见的设备有两个POGO PIN或三个POGO IN,位置分别位于耳机和充电盒上的对应位置,当耳机放置在充电盒内时,耳机上的POGO PIN和充电盒上的POGO PIN刚好接触和导通。As shown in Figure 2, the first device is the charging box 3, the second device is the earphone 4, and the charging box 3 integrates a mobile power supply. When the earphone 4 is out of power, the earphone 4 can be charged in the charging box 4. There are two metal pins on the bottom of the earphone, called POGO PIN. When the earphone is placed in the charging box, let the POGO PIN of the earphone contact and connect with the POGO PIN of the charging box to make the circuit between the earphone and the charging box conduct. , to charge and communicate with the headset. 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.
需要说明的是,本申请实施例中提供的连接器的腐蚀识别方法,可以运行与第一设备,也可以运行于第二设备,运行于第一设备和运行于第二设备的实现原理类似,因此,下述实施例中主要以运行于第一设备为例进行说明。It should be noted that 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.
实施例一Example 1
图3为一个实施例中连接器的腐蚀识别方法的流程图。本实施例中的连接器的腐蚀识别方法,以运行于图1中的第一设备上为例进行描述。如图3所示,该连接器的腐蚀识别方法包括以下步骤: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,获取第一设备的连接器的第一参数;第一参数为第一设备未与第二设备连接时,采集的第一设备的连接器的参数。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.
其中,第一设备的连接器为第一设备的连接器,例如,第一设备的连接器可以是第一设备上的POGO PIN、弹簧压片、接线柱等。第一参数为第一设备的连接器与第二设备的连接器未接触时,采集的第一设备的连接器的参数,第一参数可以是第一设备的连接器上的电压、电流、阻抗等参数。Wherein, the connector of the first device is a connector of the first device, for example, the connector of the first device may be a POGO PIN, a spring pressing piece, 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.
在本实施例中,在第一设备与第二设备未连接之前,第一设备采集第一设备的连接器上的电流、电压、阻抗等作为第一参数。该第一设备内部可以设置有各种传感器,例如,电流传感器、电压传感器等,用于采集第一参数。In this embodiment, before the first device is not connected to the second device, 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.
以第一设备为充电盒、第二设备为耳机为例,在耳机未放入充电盒之前,采集充电盒的POGO PIN上的电压、电流、阻抗中的至少一个作为第一参数,或者,当第一设备为耳机、第二设备可以为耳机盒时,在耳机未放入充电盒之前,采集耳机的POGO PIN上的电压、电流、阻抗中的至少一个作为第一参数,本申请实施例中并不以此为限。Taking the first device as the charging box and the second device as the earphone as an example, 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,根据第一参数确定第一设备的连接器的腐蚀状态。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.
在本实施例中,在第一设备与第二设备未连接时,采集第一设备的连接器的第一参数,根据该第一参数可以确定第一设备的连接器的腐蚀状态。通常情况下,连接器未被腐蚀时,连接器上的电压、电流、阻抗等都是一个固定值,一旦连接器被腐蚀,可能会出现连接器上的电压降低、漏电导致电流过大、阻抗变小等现象,因此,可以将采集到的第一参数与连接器未被腐蚀时的参数值进行比较,以判断第一设备的连接器的腐蚀状态。In this embodiment, when the first device is not connected to the second device, 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. Under normal circumstances, when the connector is not corroded, 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.
例如,常见的耳机充电盒的连接器未被腐蚀时,充电盒连接器上的电压为5V,当连接器被腐蚀时,相当于在连接器的电阻上并联电阻,则连接器的电阻变小,其电压也会降低,可以采集耳机未放入充电盒时,充电盒的POGO PIN上的电压值,若POGO PIN上的电压值小于5V,则确定该充电盒的连接器被腐蚀。或者,若该POGO PIN上的电压值处于一定的电压范围内,可以确定该充电盒的连接器未被腐蚀,比如,当耳机未放入充电盒中时,充电盒的POGO PIN上的电压值在4.8V-5V的范围内,则确定该POGO PIN没有腐蚀,若充电盒的POGOPIN上的电压值小于4.8V,则确定该POGO PIN有腐蚀。再例如,常见的耳机充电盒的连接器未被腐蚀时,充电盒连接器上的电流为2A,若连接器被腐蚀,则可能出现漏电现象,导致连接器上的电流增大,该可以采集耳机未放入充电盒时,充电盒的POGO PIN上的电流,若该电流大于2A,则确定该充电盒的连接器被腐蚀,或者,若该POGO PIN上的电流处于一定的电流范围内,可以确定该充电盒的连接器未被腐蚀,比如,当耳机未放入充电盒中时,充电盒的POGO PIN上的电流在1.9A-2.1A的范围内,则确定该POGO PIN没有被腐蚀,若充电盒的POGOPIN上的电流大于2.1A,则确定该POGO PIN有腐蚀。当第一参数为采集的耳机的POGO PIN上的电压、电流时,其实现原理与耳机盒的实现原理类似,此处不再赘述。For example, when the connector of a common earphone charging box is not corroded, the voltage on the connector of the charging box is 5V. When 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. , its voltage will also decrease. You can collect the voltage value on the POGO PIN of the charging box when the earphone is not placed in the charging box. If the voltage value on the POGO PIN is less than 5V, it is determined that the connector of the charging box is corroded. Or, if the voltage value on the POGO PIN is within a certain voltage range, it can be determined that the connector of the charging box is not corroded. For example, when the headset is not placed in the charging box, 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 POGOPIN of the charging box is less than 4.8V, it is determined that the POGO PIN is corroded. For another example, when the connector of the common earphone charging box is not 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. When the headset is not placed in the charging box, 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. For example, when the headset is not placed in the charging box, 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. , if the current on the POGO PIN of the charging box is greater than 2.1A, it is determined that the POGO PIN is corroded. When the first parameter is the collected voltage and current on the POGO PIN of the earphone, the implementation principle thereof is similar to that of the earphone box, which will not be repeated here.
需要说明的是,根据第一参数确定第一设备的连接器的腐蚀状态时,可以根据实际情况选择合适的第一参数和方法来确定第一设备的连接器的腐蚀状态,本申请实施例中并不加以限制。It should be noted that when determining the corrosion state of the connector of the first device according to the first parameter, 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.
需要说明的是,上述实施例中主要以第一设备为耳机盒,第二设备为耳机为例说明连接器的腐蚀识别方法,以第一设备为耳机,第二设备为耳机的实现方式类似,此处不再赘述。It should be noted that, in the above-mentioned embodiments, 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.
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,通过第一设备与第二设备未连接时采集的第一设备的连接器的参数,确定第一设备的连接器是否被腐蚀,可以及时识别出第一设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, 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, 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 corrosion of the connector of the first device can be identified in time, Reduce the influence of poor contact caused by corrosion of the connector.
实施例二
在图3所示实施例的基础上,还可以进一步的获取第一设备与第二设备连接时,采集的第一设备的连接器的第二参数,根据第一参数和第二参数确定第二设备的连接器的腐蚀状态。如图4所示,该连接器的腐蚀识别方法还可以包括以下步骤:On the basis of the embodiment shown in FIG. 3 , 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. As shown in FIG. 4 , the method for identifying corrosion of the connector may further include the following steps:
S401、获取第一设备的连接器的第二参数;第二参数为第一设备与第二设备通过连接器连接时采集的参数。S401. Acquire a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector.
其中,第二参数为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器的参数。例如,第二参数可以为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器上的电压、电流、电阻等参数。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. For example, 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.
以第一设备为充电盒、第二设备为耳机为例,在耳机放入充电盒之后,采集充电盒的POGO PIN上的电压、电流、阻抗中的至少一个作为第二参数,或者,当第一设备为耳机、第二设备可以为耳机盒时,在耳机放入充电盒之后,采集耳机的POGO PIN上的电压、电流、阻抗中的至少一个作为第二参数,本申请实施例中并不以此为限。Taking the first device as the charging box and the second device as the earphone as an example, after the earphone is placed in the charging box, collect at least one of the voltage, current and impedance on the POGO PIN of the charging box as the second parameter, or when the first When the first device is an earphone and the second device can be an earphone box, after the earphone is 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 second parameter. This is the limit.
S402、根据第一参数和第二参数,确定第二设备的连接器的腐蚀状态。S402. Determine the corrosion state of the connector of the second device according to the first parameter and the second parameter.
在本实施例中,可以将第一参数的值和第二参数的值进行大小比较,以确定第二设备的连接器的腐蚀状态。例如,若第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电压A,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电压B,由于连接器被腐蚀可能会出现连接器上的电压降低的现象,因此,若电压B小于电压A,则确定第二设备的连接器被腐蚀,若电压B等于电压A,则确定第二设备的连接器没有被腐蚀。或者,第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电流C,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电流D,由于连接器被腐蚀可能会出现连接器漏电导致电流过大的现象,因此,若电流C小于电流D,则确定第二设备的连接器被腐蚀,若电流C等于电流D,则确定第二设备的连接器没有被腐蚀。In this embodiment, 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. Alternatively, the first parameter includes collecting the current C on the connector of the first device when the first device is not connected to the second device, and the second parameter includes collecting the first device when the first device and the second device are connected through the connector The current D on the connector, because the connector is corroded, the leakage of the connector may cause the phenomenon of excessive current. Therefore, if the current C is less than the current D, it is determined that the connector of the second device is corroded. If the current C is equal to Current D, it is determined that the connector of the second device is not corroded.
或者,还可以通过第一参数的值和第二参数的值的变化程度来确定第二设备的连接器的腐蚀状态。若第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电压A,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电压B,由于连接器被腐蚀可能会出现连接器上的电压降低的现象,若电压B与电压A的差值小于预设电压差值,也即,第一设备与第二设备通过连接前后,第一设备的连接器上的电压变化较小,则确定第二连接器没有被腐蚀,若电压B与电压A的差值大于或等于预设电压差值,也即,第一设备与第二设备通过连接前后,第一设备的连接器上的电压变化较大,则确定第二连接器被腐蚀。又或者,第一参数包括第一设备与第二设备未连接时,采集第一设备的连接器上的电流C,第二参数包括第一设备与第二设备通连接器连接时,采集第一设备的连接器上的电流D,由于连接器被腐蚀可能会出现连接器漏电导致电流过大的现象,因此,若电流C与电流D的差值大于预设电流差值,则确定第二设备的连接器被腐蚀,若电流C与电流D的差值小于或等于预设电流差值,则确定第二设备的连接器没有被腐蚀。Alternatively, 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. If the difference between the voltage B and the voltage A is less than the preset voltage difference, that is, the first device and the second device Before and after the connection, the voltage change on the connector of the first device is small, it is determined that the second connector is not corroded, if the difference between the voltage B and the voltage A is greater than or equal to the preset voltage difference, that is, the first Before and after the device is connected to the second device, if the voltage on the connector of the first device changes greatly, it is determined that the second connector is corroded. Alternatively, the first parameter includes collecting the current C on the connector of the first device when the first device is not connected to the second device, and the second parameter includes collecting the first device when the first device and the second device are connected through the connector. The current D on the connector of the device, because the connector is corroded, the leakage of the connector may cause the phenomenon of excessive current. Therefore, if the difference between the current C and the current D is greater than the preset current difference, 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.
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备的连接器的第二参数,根据第一参数和第二参数,确定第二设备的连接器的腐蚀状态,由于,第一参数为第一设备未与第二设备连接时,采集的第一设备的连接器的参数,第二参数为第一设备与第二设备通过连接器连接时采集的参数,通过第一设备和第二设备连接前后第一设备的连接器的参数,可以快速的确定出第二设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。In the method for identifying corrosion of a connector provided in this embodiment of the present application, 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.
实施例三Embodiment 3
在图3所示实施例的基础上,还可以进一步的获取第一设备与第二设备连接时,采集的第一设备的连接器的第二参数,基于第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态。如图5所示,该连接器的腐蚀识别方法还可以包括以下步骤:On the basis of the embodiment shown in FIG. 3 , 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. As shown in FIG. 5 , the method for identifying corrosion of the connector may further include the following steps:
S501、获取第一设备的连接器的第二参数;第二参数为第一设备与第二设备通过连接器连接时采集的参数。S501. Acquire a second parameter of the connector of the first device; the second parameter is a parameter collected when the first device and the second device are connected through the connector.
本实施例的实现原理可参照实施例二中的步骤S401,此处不再赘述。For the implementation principle of this embodiment, reference may be made to step S401 in the second embodiment, which will not be repeated here.
S502、根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态。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 .
在本实施例中,确定了第一设备的连接器的腐蚀状态后,可以基于第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态。例如,确定了第一设备的连接器的腐蚀状态,可以将第二参数的值与预设的参数阈值进行比较确定第二设备的连接器的腐蚀状态,也可以是将第一参数的值和第二参数的值进行比较,以确定第二设备的连接器的腐蚀状态,还可以是通过采集第二设备在充电过程中的一些参数来确定第二设备的连接器的腐蚀状态。In this embodiment, after the corrosion state of the connector of the first device is determined, 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.
以充电盒和耳机为例,在确定了充电盒的连接器未被腐蚀时,如果耳机的连接器也没有被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化很小,如果耳机的连接器被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化会比较大。可以采集耳机放入充电盒中时,充电盒的连接器的电压值a,将该电压值a与耳机未放入充电盒中时充电盒的连接器的电压值b进行比较,如果电压值a与电压值b之间的差值小于某个阈值,则确定耳机的连接器没有腐蚀,如果电压值a与电压值b之间的差值大于某个阈值,则确定耳机的连接器有腐蚀。或者,也可以直接将该电压值a与预先设定的阈值进行比较,若该电压值a大于或等于该阈值,则确定耳机的连接器没有腐蚀,若该电压值a小于该阈值,则确定耳机的连接器有腐蚀。同理,在确定了充电盒被腐蚀时,如果耳机的连接器没有被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化很小,如果耳机的连接器被腐蚀,则耳机放入充电盒前后充电盒的连接器上的电压变化也会比较大,也可以采用上述电压值比较的方法来确定耳机的连接器是否被腐蚀,不同的是阈值或者阈值的取值范围不同,本申请实施例并不以此为限。Taking the charging box and the earphone as an example, 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. If 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. Similarly, when it is determined that the charging box is corroded, if the connector of the earphone is not 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. You can also use the above voltage value comparison method to determine whether the connector of the earphone is corroded. The difference is that the threshold or the range of the threshold value is different. The embodiments of the present application are not limited thereto.
或者,还可以在确定了充电盒的连接器的腐蚀状态之后,通过耳机放入充电盒前后充电盒的连接器上的电流的变化大小来确定耳机的连接器是否被腐蚀,例如,若充电盒的连接器未被腐蚀,耳机放入充电盒之前充电盒的连接器的电流为c,耳机放入充电盒之后充电盒的连接器的电流为d,若电流c与电流d的差值小于预设的电流阈值,则确定耳机的连接器没有腐蚀,若电流c与电流d的差值大于或等于电流阈值,则确定耳机的连接器有腐蚀,本申请实施例并不以此为限。Alternatively, after the corrosion state of the connector of the charging box is determined, 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.
本申请实施例提供的连接器的腐蚀识别方法,获取第一设备未与第二设备连接时,采集的第一设备的连接器的第一参数,根据第一参数确定第一设备的连接器的腐蚀状态,并在第一设备与第二设备通过连接器连接时,采集的第一设备的连接器的第二参数,根据第一设备的连接器的腐蚀状态和第二参数确定第二设备的连接器的腐蚀状态,可以及时识别出第二设备的连接器的腐蚀情况,减少由于连接器被腐蚀造成的接触不良等影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, 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.
实施例四Embodiment 4
在图3所示实施例中,根据第一参数确定第一设备的连接器的腐蚀状态的方式有多种,在一个实施例中,根据第一参数确定第一设备的连接器的腐蚀状态,包括:根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态。In the embodiment shown in FIG. 3, there are various ways to determine the corrosion state of the connector of the first device according to the first parameter. In one embodiment, 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.
其中,不同的第一参数对应不同的预设阈值,例如,若第一参数为电流,则预设阈值为预设电流阈值,若第一参数为电压,则预设阈值为预设电压阈值,若第一参数为电阻值,则预设阈值为预设电阻阈值,不同的预设阈值可以根据实际需求、第一设备的设备参数、第二设备的设备参数等确定,例如,对于正常速率充电的设备,对于充电时长的要求较低,则该预设阈值可适当设置的较小,或者预设阈值的范围可以适当大一些,对于需要快充的第二设备,对于充电时长的要求较高,则该预设阈值可适当设置的较大,或者预设阈值的范围可以适当小一些,本申请实施例不加以限制。Wherein, different first parameters correspond to different preset thresholds. For example, if the first parameter is current, the preset threshold is a preset current threshold, and if the first parameter is voltage, the preset threshold is a preset voltage threshold, If the first parameter is a resistance value, the preset threshold is a preset resistance threshold, and 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 For the second device that requires fast charging, the preset threshold can be appropriately set to a smaller value, or the range of the preset threshold can be appropriately larger. For the second device that requires fast charging, the charging time is required to be higher. , 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.
在本实施例中,第一设备可以根据采集的到第一参数的类型,选择对应的预设阈值,以确定第一设备的连接器的腐蚀状态。可以将第一参数的值与预设阈值进行比较,根据第一参数的值与预设阈值的大小关系确定第一设备的连接器的腐蚀状态,例如,当第一参数的值大于预设阈值时,第一设备的连接器未被腐蚀,当第一参数的值小于预设阈值时,第一设备的连接器被腐蚀。通过将第一参数和预设阈值可以快速简单的确定出第一设备的连接器的腐蚀状态,降低连接器腐蚀对第一设备的影响。In this embodiment, 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. By using the first parameter and the preset threshold, 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.
实施例五Embodiment 5
本实施例重点介绍的是第一参数为电压时,确定第一设备的连接器的腐蚀状态的具体实现过程。在本实施例中,第一参数包括第一电压,第一电压为第一设备未与第二设备连接时,采集的第一设备的连接器上的电压,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电压大于或等于预设的第一电压阈值,则确定第一设备的连接器未被腐蚀;若第一电压小于第一电压阈值,则确定第一设备的连接器被腐蚀。This embodiment focuses on the specific implementation process of determining the corrosion state of the connector of the first device when the first parameter is voltage. In this embodiment, the first parameter includes a first voltage, and 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. According to the first parameter and the preset threshold, 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.
在本实施例中,可以在第一设备中设置一些电阻,以采集第一设备的连接器上的电压。如图6所示,第一设备包括第一电阻R1和第二电阻R2,第一电阻R1的第一端连接预设电压V1,第一电阻R1的第二端与第二电阻R2的第一端连接,第二电阻R2的第二端接地,第二电阻R1的第一端还与第一设备的连接器的充电触点OPGO PIN+连接,第二电阻的第二端还与第一设备的连接器的接地触点OPGO PIN-连接。在本实施例中,可以将第一设备的连接器的充电触点OPGO PIN+和接地触点OPGO PIN-与第一设备的处理器连接,通过第一设备的处理器采集电压V2。In this embodiment, some resistors may be set in the first device to collect the voltage on the connector of the first device. As shown in FIG. 6 , 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. In this embodiment, 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.
其中,第一电阻R1和第二电阻R2可以特别设置在第一设备内部的电阻,也可以是服用第一设备中其他功能器件的等效电阻,本申请实施例中不加以限制。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.
如图6所示,该等效电路图中包括电压V1、电阻R1、电阻R2、电压V2、电压V3,其中,耳机盒向耳机充电时,通过电压V3提供电能,例如,该电压V3可以为稳定的5V电压。为了避免电压V3或者其他充电电压对OPGO PIN上的测量电压的影响,一般在耳机盒未向耳机充电或者充电过程断开之后,可以通过处理器采集电压V2作为上述第一电压,该第一电压等效为V2=V1*R2/(R1+R2),当充电盒的POGO PIN+与POGO PIN-之间未腐蚀时电阻R2很大,V2的电压比较高。As shown in FIG. 6 , the equivalent circuit diagram includes voltage V1, resistor R1, resistor R2, voltage V2, and voltage V3. When the earphone box charges the earphone, power is provided by voltage V3. For example, the voltage V3 can be stable 5V voltage. In order to avoid the influence of the voltage V3 or other charging voltages on the measured voltage on the OPGO PIN, generally after the earphone box is not charged to the earphone or the charging process is disconnected, the voltage V2 can be collected by the processor as the above-mentioned first voltage, the first voltage Equivalent to V2=V1*R2/(R1+R2), when there is no corrosion between POGO PIN+ and POGO PIN- of the charging box, the resistance R2 is very large, and the voltage of V2 is relatively high.
本实施例中,将充电盒的连接器被腐蚀时的电路等效为如图7所示的电路图,当充电盒的POGO PIN+与POGO PIN-之间有腐蚀时,相当于给电阻R2并联了一个电阻,因此,图7所示的等效电路图中包括电压V1、电阻R1、电阻R2、电阻R3、电压V2,当充电盒的POGO PIN+与POGO PIN-之间有腐蚀时,类似于在电阻R2上再并联了一颗电阻R3,POGO PIN+与POGOPIN-之间的阻抗变小,V2=V1*(R2//R3)/(R1+R2//R3),这样V2的电压变小。In this embodiment, the circuit when the connector of the charging box is corroded is equivalent to the circuit diagram shown in Figure 7. When there is corrosion between the POGO PIN+ and POGO PIN- of the charging box, it is equivalent to connecting the resistor R2 in parallel. A resistor, therefore, the equivalent circuit diagram shown in Figure 7 includes voltage V1, resistor R1, resistor R2, resistor R3, and voltage V2. When there is corrosion between POGO PIN+ and POGO PIN- of the charging box, similar to the resistance A resistor R3 is connected in parallel with R2, the impedance between POGO PIN+ and POGOPIN- becomes smaller, V2=V1*(R2//R3)/(R1+R2//R3), so the voltage of V2 becomes smaller.
本实施例中,参照图6和图7所示的电路原理,可以预先设置第一电压阈值,采集耳机未放入充电盒中时R2两端的第一电压V2,当第一电压V2大于或者等于第一电压阈值时,确定充电盒的连接器未被腐蚀,当第二电压V2小于第一电压阈值时,确定充电盒的连接器被腐蚀。例如,耳机盒的连接器未被腐蚀时,连接器上的电压为5V,可以将第一电压阈值设置为4.9V、4.85V、4.8等,本申请实施例中不加以限制。该第一电压阈值可以将多个第一设备的连接器在未腐蚀和腐蚀状态下,分别采集其器连接器上的电压,经过多次试验测试得到的,也可以是根据等效电路原理计算得到的,本申请实施例中不加以限制。In this embodiment, referring to the circuit principles shown in FIG. 6 and FIG. 7 , 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. When the first voltage V2 is greater than or equal to When the first voltage threshold is set, it is determined that the connector of the charging box is not corroded, and when the second voltage V2 is less than the first voltage threshold, it is determined that the connector of the charging box is corroded. For example, when the connector of the earphone box is not corroded, the voltage on the connector is 5V, and the first voltage threshold 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.
本申请实施例提供的连接器的腐蚀方法,在第一设备未与第二设备连接时,采集的第一设备的连接器上的第一电压,若第一电压大于或等于预设的第一电压阈值,则确定第一设备的连接器未被腐蚀;若第一电压小于第一电压阈值,则确定第一设备的连接器被腐蚀,通过比较第一电压和预设的第一电压阈值的大小,可以快速准确的确定第一设备的连接器的腐蚀状态。In the method for corroding a connector provided by the embodiment of the present application, 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.
实施例六Embodiment 6
本申请实施例在实施例三的基础上,重点介绍当第一参数和第二参数均为电压时,确定第二设备的连接器的腐蚀状态的具体实现方式。在本实施例中,第一参数包括第一电压,第一电压为第一设备与第二设备未连接时,采集的第一设备的连接器上的电压,第二参数包括第二电压,第二电压为第一设备与第二设备通过连接器连接时,采集的第一设备的连接器上的电压;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:On the basis of the third embodiment, 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. In this embodiment, 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:
若第一设备的连接器未被腐蚀,则根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态;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;
若第一设备的连接器被腐蚀,则根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态。If the connector of the first device is corroded, 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.
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器上的第二电压,在第一设备的连接器未被腐蚀的情况下,可以根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐蚀状态,也可以是计算第一电压与第二电压之间的电压差值,根据电压差值的大小来确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电压和第二电压之间的变化程度确定第二设备的连接器的腐蚀状态。In this embodiment, when the first device is connected to 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. In the case that the connector of the first device is corroded, 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.
下面以第一设备的连接器未被腐蚀,根据第二电压和预设的第二电压阈值确定第二设备的连接器的腐蚀状态为例,说明本方案的具体实现方式。在本实施例中,以第二设备为耳机为例,识别耳机的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比较大。The specific implementation of this solution will be described below by taking as an example that the connector of the first device is not corroded and the corrosion state of the connector of the second device is determined according to the second voltage and the preset second voltage threshold. In this embodiment, taking the second device as an earphone as an example, to identify whether the POGO PIN of the earphone is corroded, 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. At this time, V2=V1*(R2 //R4)/(R1+R2//R4), where R4 represents the resistance value at both ends of the POGO PIN of the headset. When the POGO PIN of the headset is not corroded, the resistance value of R4 is relatively large, and V2 is relatively large.
在本实施例中,当耳机的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腐蚀了。In this embodiment, when the POGO PIN of the earphone is corroded, as shown in FIG. 9 , both ends of the POGO PIN of the earphone are equivalent to a resistor connected in parallel, that is, a resistor R5 is connected in parallel to both ends of R4 . When the POGO PIN corroded charging box is put into the POGO PIN corroded charging box, its equivalent circuit diagram is shown in Figure 10, at this time V2=V1*(R2//R5//R4)/(R1+R2// R5//R4), since the POGO PIN of the charging box is not corroded, the V2 voltage measured on the charging box is relatively high before putting the earphones in, but the POGO PIN on the earphone end is corroded. At this time, the POGO PIN on the earphone end is equivalent to resistance R4 //R5 is relatively small, so when the headset is put in, the voltage of V2 will be much lower. From this, it can be judged that the POGO PIN of the charging box itself is not corroded, but the POGO PIN of the earphone is corroded.
基于以上电路原理,可以基于耳机放入POGO PIN未腐蚀的充电盒前后,耳机盒的POGO PIN的电压变化情况,设置相应的第二电压阈值或电压差值,将耳机放入POGO PI未腐蚀的充电盒之后,采集的到充电盒的POGO PIN的第二电压与第二电压阈值确定耳机的连接器的腐蚀情况,也可以是将耳机放入POGO PIN未腐蚀的充电盒前后,采集到的充电盒的POGO PIN的电压实际差值与预设的电压差值阈值比较,确定耳机的连接器的腐蚀情况。Based on the above circuit principle, you can set the corresponding second voltage threshold or voltage difference based on the voltage change of the POGO PIN of the earphone box before and after the earphone is put into the POGO PIN uncorroded charging box, and put the earphone into the POGO PI uncorroded charging box. After the charging box, the second voltage and the second voltage threshold collected to the POGO PIN of the charging box determine the corrosion of the connector of the earphone, or the charging data collected before and after the earphone is put into the POGO PIN uncorroded charging box. The actual difference of the voltage 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.
在本实施例中,根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态,包括:若第二电压大于或等于第二电压阈值,则确定第二设备的连接器未被腐蚀;若第二电压小于第二电压阈值,则确定第二设备的连接器被腐蚀。In this embodiment, 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.
在本实施例中,可以预先设置第二电压阈值,将第二电压与第二电压阈值进行比较,以确定第二设备的连接器的腐蚀状态。如图10示,当耳机放入充电盒中时,采集充电盒的POGO PIN上的第二电压V2,当第二电压V2大于或等于第二电压阈值时,说明耳机的POGOPIN上电阻值比较大,确定耳机的POGO PIN未被腐蚀;当第二电压V2小于第二电压阈值时,说明耳机的POGO PIN上电阻值比较小,确定耳机的POGO PIN被腐蚀。In this embodiment, 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. As shown in Figure 10, when the earphone is put into the charging box, the second voltage V2 on the POGO PIN of the charging box is collected. When the second voltage V2 is greater than or equal to the second voltage threshold, it means that the resistance value on the POGOPIN of the earphone is relatively large. , confirm that the POGO PIN of the headset is not corroded; when 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.
需要说明的是,第二电压阈值可以与第一电压阈值相同,第二电压阈值也以与第一电压阈值不同,第二电压阈值可以比第一电压阈值小,例如,第二电压阈值可以为4.85V、4.8V、4.75V.4.7V等,本申请实施例并不以此为限。第二电压阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器上的电压、第二设备的连接器上的电压,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that the second voltage threshold may be the same as the first voltage threshold, the second voltage threshold may also be different from the first voltage threshold, and the second voltage threshold may be 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.
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备连接时,第一设备的连接器上的第二电压,若第二电压大于或等于第二电压阈值,则确定第二设备的连接器未被腐蚀;若第二电压小于第二电压阈值,则确定第二设备的连接器被腐蚀,通过预先设置的第二电压阈值,可以简单、准确的确定出第二设备的连接器是否被腐蚀,以减少连接器腐蚀对第二设备的影响。In the connector corrosion identification method provided by the embodiment of the present application, when the first device is connected to the second device, 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.
实施例七Embodiment 7
上面重点介绍了第一设备的连接器未腐蚀的情况下,确定第二设备的连接器的腐蚀状态的实现方式,下面重点介绍第一设备的连接器被腐蚀的情况下,确定第二设备的连接器的腐蚀状态的实现方式。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.
在本实施例中,充电盒的连接器被腐蚀时的等效电路如图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未腐蚀。In this embodiment, 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. At this time, 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. However, the POGO PIN on the earphone end is not corroded, and the resistance R4 is still relatively large at this time, so when the earphone is put in, the voltage of V2 will not become much lower. 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.
在本实施例中,如图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腐蚀了。In this embodiment, as shown in Figure 12, when the POGO PIN of the charging box is corroded, after putting the corroded earphones, it is equivalent to connecting a resistor R5 in parallel on the basis of the resistors R2, R3, and R4. At this time, V2 =V1*(R2//R3//R5//R4)/(R1+R2//R3//R5//R4), because the POGO PIN of the charging box is corroded, so before putting the earphones, test on the charging box The resulting V2 voltage is relatively low. However, the POGO PIN on the earphone end is corroded. At this time, the equivalent resistance R4//R5 of the POGO PIN on the earphone end is relatively small, 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.
基于上述图11和图12所示等效电路图的原理,在第一设备的连接器被腐蚀的情况下,既可以根据第二电压和预设的第二电压阈值,确定第二设备的连接器的腐蚀状态,也可以根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态。进一步地,在本实施例中,根据第一电压与第二电压之间的电压差值,确定第二设备的连接器的腐蚀状态,包括:若电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若电压差值大于或等于第一差值阈值,则确定第二设备的连接器被腐蚀。Based on the above principles of the equivalent circuit diagrams shown in FIGS. 11 and 12 , in the case that the connector of the first device is corroded, the connector of the second device 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. Further, in this embodiment, 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.
在本实施例中,当第一设备的连接器被腐蚀的情况下,若第一电压与第二电压之间的电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若第一电压与第二电压之间的大于或等于第一差值阈值,则确定第二设备的连接器被腐蚀。也就是说,在第一设备的连接器被腐蚀的情况下,若第一设备与第二设备连接前第一设备的连接器上的电压,与第一设备与第二设备连接之后第一设备的连接器上的电压之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备连接前第一设备的连接器上的电压,与第一设备与第二设备连接之后第一设备的连接器上的电压之间的变化较大,则确定第二设备的连接器被腐蚀。In this embodiment, when the connector of the first device is corroded, if the voltage difference between the first voltage and the second voltage is smaller than the preset first difference threshold, 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. That is to say, in the case where the connector of the first device is corroded, if the voltage on the connector of the first device before the first device is connected with the second device, 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.
以耳机与充电盒为例,充电盒的POGO PIN被腐蚀,第一差值阈值为0.2V,若耳机放入充电盒之前,充电盒的POGO PIN的第一电压为4.7V,耳机放入充电盒中时,充电盒的POGOPIN的第二电压为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有腐蚀。Taking the headset and the charging box as an example, 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 POGOPIN 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, then it is determined that the POGO PIN of the headset is not corroded. If the first voltage of the POGO PIN of the charging box is 4.7V before the headset is put into the charging box, and the second voltage of the POGO PIN of the charging box is 4.4V when the headset is put into the charging box, 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.
本申请实施例提供的连接器的腐蚀识别方法,在第一设备的连接器被腐蚀的情况下,采集第一设备与第二设备未连接时,第一设备的连接器的第一电压,和,第一设备与第二设备连接时,第一设备的连接器的第二电压,计算第一电压和第二电压之间的电压差值,若电压差值小于预设的第一差值阈值,则确定第二设备的连接器未被腐蚀;若电压差值大于或等于第一差值阈值,则确定第二设备的连接器被腐蚀,通过第一设备与第二设备连接前后,第一设备的连接器上的电压变化程度,识别第二设备的连接器的腐蚀状态,该方法可以简单、准确的识别出第二设备的连接器的腐蚀状态,减少第二设备的连接器的腐蚀对第二设备的影响。In the method for identifying corrosion of a connector provided by an embodiment of the present application, in the case that the connector of the first device 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.
实施例八Embodiment 8
在本实施例中,采集电流的位置不同,识别连接器的腐蚀状态的方式也不相同,本实施例中重点介绍采集第一设备的连接器与电源或接地端之间的电流的实现方式。In this embodiment, 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.
在本实施例中,在图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端的腐蚀情况比较严重。In this embodiment, on the basis of the embodiment shown in FIG. 6 , as shown in FIG. 13 , 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. As shown in Figure 6 and Figure 7, when the POGO PIN terminal of the charging box is corroded, it is equivalent to connecting the resistor R3 in parallel with the resistor R2, which is equivalent to the resistance of the POGO PIN terminal of the charging box becoming smaller, and the current of the POGO PIN terminal of the charging box will be reduced. Therefore, when there is no earphone in the charging box, the current is relatively small, indicating that the POGO PIN terminal in the charging box is not corroded; when the current is still relatively large, it means that the corrosion of the POGO PIN terminal in the charging box is more serious. After the earphone is put into the charging box, if 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.
在另一个实施例,如图14所示,第一设备还包括第二电流传感器,第二电流传感器的输入端与目标公共端连接,第二电流传感器的输出端接地;目标公共端为第二电阻R2的第二端与第一设备的连接器的接地触点POGO PIN-之间的公共端。该充电盒的等效电路可以包括电压V1、第一电阻R1和第二电阻R2,可以在POGO PIN-与接地端之间设置第二电流传感器,用于采集充电盒的连接器上的电流。其原理和图13类似,此处不再赘述。In another embodiment, as shown in FIG. 14 , 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 may include a voltage V1, a first resistor R1 and a second resistor R2, and a second current sensor may be provided between the POGO PIN- and the ground terminal for collecting the current on the connector of the charging box. The principle is similar to that in FIG. 13 , and will not be repeated here.
基于如图13和图14所示的电路原理,第一参数包括第一电流,第一电流为第一设备未与第二设备连接时,采集的第一设备的连接器与电源或接地端之间的电流,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀。Based on the circuit principles shown in Figures 13 and 14, 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.
在本实施例中,在第一设备和第二设备未连接时,采集第一设备的连接器与电源或者接地端之间的第一电流,若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀。以上述图13为例,在耳机未放入充电盒时,采集充电盒的电压V1与电阻R1之间的电流e,若电流e小于预设的第一电流阈值,则确定充电盒的POGO PIN端未腐蚀;若电流e大于或等于第一电流阈值,则确定充电盒的POGO PIN端被腐蚀。或者,以图13为例,在耳机未放入充电盒时,采集充电盒的POGO PIN-与接地端之间的电流f,若电流f小于预设的第一电流阈值,则确定充电盒的POGO PIN端未腐蚀;若电流f大于或等于第一电流阈值,则确定充电盒的POGOPIN端被腐蚀。In this embodiment, when the first device and the second device are not connected, the first current between the connector of the first device and the power supply or 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. Taking the above Figure 13 as an example, when 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- of the charging box and the ground terminal 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.
需要说明的是,第一电流阈值可以为2.1A、2.05A、2A、1.9A等,本申请实施例并不以此为限。第一电流阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器与电源或接地端之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that, 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.
本申请实施例提供的连接器的腐蚀识别方法,在第一设备和第二设备未连接时,采集第一设备的连接器与电源或者接地端之间的第一电流,若第一电流小于预设的第一电流阈值,则确定第一设备的连接器未被腐蚀;若第一电流大于或等于第一电流阈值,则确定第一设备的连接器被腐蚀,通过采集第一设备的连接器上的电流与预设电流阈值进行比较,可以快速准确的识别第一设备的连接器是否被腐蚀,避免第一设备的连接器被腐蚀带来的接触不良、漏电等影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, when the first device and the second device are not connected, the first current between the connector of the first device and the power supply or 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.
进一步地,在确定了第一设备的连接器的腐蚀状态之后,可以基于第一设备的连接器的腐蚀状态,以及第一设备和所述第二设备连接时第一设备的连接器与电源或接地端之间的电流,确定第二设备的连接器的腐蚀状态。Further, after 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.
实施例九Embodiment 9
在本实施例中,第一参数包括第一电流,第一电流为第一设备与第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,第二参数包括第三电流,第三电流为第一设备和第二设备连接时,第一设备的连接器与预设电压或接地端之间的电流;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:In this embodiment, the first parameter includes a first current, and 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:
若第一设备的连接器未被腐蚀,则根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态;If the connector of the first device is not 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 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;
若第一设备的连接器被腐蚀,则根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态。If the connector of the first device is corroded, determine the corrosion state of the connector of the second device according to the third current and the preset third current threshold; or, according to the first current between the first current and the third current The difference in current determines the corrosion state of the connector of the second device.
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器与电源或接地端之间的第三电流,在第一设备的连接器未被腐蚀的情况下,可以根据第三电流和预设的第三电流阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电流和第三电流之间的第一电流差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,也可以根据第一电流和第三电流之间的变化程度确定第二设备的连接器的腐蚀状态,本申请实施例中不加以限制。In this embodiment, when the first device is connected to the second device, the collected third current between the connector of the first device and the power supply or the ground terminal, in the case that the connector of the first device is not corroded, 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. In the case that the connector of the first 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. 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.
进一步地,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,包括:若第三电流小于第三电流阈值,则确定第二设备的连接器未被腐蚀;若第三电流大于或等于第三电流阈值,则确定第二设备的连接器被腐蚀。Further, 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.
在本实施例中,以充电盒和耳机为例,当充电盒的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所示,通过第二电流传感器采集充电盒的POGOPIN-与接地端之间的第二电流m,若电流m小于第三电流阈值,则确定耳机的POGO PIN未被腐蚀,若电流m大于或等于第三电流阈值,则确定耳机的POGO PIN被腐蚀。In this embodiment, taking the charging box and the earphone as an example, when the POGO PIN of the charging box is not corroded, the impedance of the POGO PIN of the charging box is relatively large, as shown in Figure 13, the voltage V1 of the charging box and the resistance R1 When the POGO PIN uncorroded charging box is put into the uncorroded earphone, the impedance of the POGO PIN of the earphone is also relatively large, so the current between the voltage V1 and the resistance R1 is still relatively small. Based on this principle, when the earphone is placed in the POGO PIN uncorroded charging box, as shown in Figure 13, 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 earphone 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 earphone is corroded. Alternatively, as shown in Figure 14, the second current m between the POGOPIN- of the charging box and the ground terminal is collected by the second current sensor. If the current m is less than the third current threshold, it is determined that the POGO PIN of the earphone is not corroded. If the current m is greater than or equal to the third current threshold, it is determined that the POGO PIN of the earphone is corroded.
需要说明的是,第三电流阈值可以与第一电流阈值相同,也可以不相同,第三电流阈值可以为2.1A、2.05A、2A、1.9A等,本申请实施例并不以此为限。第三电流阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器与电源或接地端之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that 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.
本申请实施例提供的连接器的腐蚀识别方法,第一设备和第二设备连接时,采集第一设备的连接器与电源或接地端之间的第三电流,若第三电流小于第三电流阈值,则确定第二设备的连接器未被腐蚀;若第三电流大于或等于第三电流阈值,则确定第二设备的连接器被腐蚀。将第一设备和第二设备连接时,采集第一设备的连接器与电源或接地端之间的第三电流与第三电流阈值比较,可以快速识别出第二设备的连接器是否被腐蚀。In the method for identifying corrosion of a connector provided by this embodiment of the present application, when the first device and the second device are connected, the third current between the connector of the first device and the power supply or 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. When the first device and the second device are connected, the third current between the connector of the first device and the power supply or 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.
实施例十Embodiment ten
在第一设备的连接器被腐蚀的情况下,采集第一设备与第二设备连接时,第一设备的连接器与电源或接地端之间的第三电流,根据第三电流和预设的第三电流阈值,确定第二设备的连接器的腐蚀状态,也可以采集第一设备与第二设备未连接时,第一设备的连接器与电源或接地端之间的第一电流,以及,采集第一设备与第二设备连接时,第一设备的连接器与电源或接地端之间的第三电流,通过第一电流与第三电流之间的变化程度,确定第二设备的连接器的腐蚀状态。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.
在本实施例中,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态,包括:若第一电流差值小于预设的第二差值阈值,确定第二设备的连接器未被腐蚀;若第一电流差值大于或等于第二差值阈值,则确定第二设备的连接器被腐蚀。In this embodiment, 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.
在本实施例中,在第一设备的连接器被腐蚀的情况下,若第一电流与第三电流之间的差值小于预设的第二差值阈值,则确定第二设备的连接器未腐蚀,若第一电流与第三电流之间的差值大于或等于第二差值阈值,则确定第二设备的连接器被腐蚀。也就是说,在第一设备的连接器被腐蚀的情况下,若第一设备与第二设备连接前第一设备的连接器与电源或接地端之间的电流,与第一设备与第二设备连接之后第一设备的连接器与电源或接地端之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备连接前第一设备的连接器与电源或接地端的电流,与第一设备与第二设备连接之后第一设备的连接器与电源或接地端的电流之间的变化较大,则确定第二设备的连接器被腐蚀。In this embodiment, 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. That is to say, in the case where the connector of the first device is corroded, if 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.
以耳机与充电盒为例,充电盒的POGO PIN被腐蚀,第一差值阈值为0.2A,若耳机放入充电盒之前,充电盒的POGO PIN的第一电流为2.2A,耳机放入充电盒中时,充电盒的POGOPIN的第三电流为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有腐蚀。Taking the headset and the charging box as an example, 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 POGOPIN 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 put into the charging box, the first current of the POGO PIN of the charging box is 2.2A. When the headset is put into the charging box, 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 provided in the embodiment of the present application 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. When the device is connected, 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.
实施例十一
在本实施例中,重点介绍采集第一设备的连接器的充电触点与接地触点之间的电流,根据该电流识别第一设备的连接器和第二设备的连接器的腐蚀状态的实现方式。In this embodiment, we focus on collecting the current between the charging contact and the grounding contact of the connector of the first device, and identifying the corrosion state of the connector of the first device and the connector of the second device according to the current. Way.
在本实施例中,在图6所示实施例的基础上,如图15所示,第一设备还包括第三电流传感器,第三电流传感器的输入端与第二电阻R2的第二端连接,第二电流传感器的输出端接地。可以将充电盒电路等效为如图15所示的电路图,可以在充电盒的POGO PIN-与R2之间设置电流表,用于采集充电盒的POGO PIN-与R2之间的电流,也即,该电流表采集的是流经R2的电流,当充电盒的POGO PIN被腐蚀时,相当于在R2上并联一颗电阻,也即将流经R2的电流进行分流,则R2上的电流变小,因此,在本实施例中,当检测到POGO PIN-与R2之间的电流变小时,确定充电盒的POGO PIN被腐蚀。In this embodiment, on the basis of the embodiment shown in FIG. 6 , as shown in FIG. 15 , 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, and an ammeter can be set between POGO PIN- and R2 of the charging box to collect the current between POGO PIN- and R2 of the charging box, that is, The ammeter collects the current flowing through R2. When the POGO PIN of the charging box is corroded, it is equivalent to connecting a resistor in parallel with R2, that is, the current flowing through R2 will be shunted, and the current on R2 will become smaller, so , in this embodiment, when it is detected that the current between POGO PIN- and R2 becomes smaller, it is determined that the POGO PIN of the charging box is corroded.
基于如图13所示的电路原理,在本实施例中,第一参数包括第二电流,第二电流为第一设备与第二设备未连接时,采集的第一设备的连接器的充电触点与接地触点之间的电流,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。Based on the circuit principle shown in FIG. 13 , in this embodiment, the first parameter includes a second current, and 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.
在本实施例中,在第一设备和第二设备未连接时,采集第一设备的连接器充电触点与接地触点之间的第二电流,若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。以上述图15为例,在耳机未放入充电盒时,采集充电盒的POGO PIN-与R2之间的电流x,若电流x小于预设的第二电流阈值,则确定充电盒的POGO PIN端被腐蚀;若电流x大于或等于第二电流阈值,则确定充电盒的POGO PIN端未腐蚀。In this embodiment, when the first device and the second device are not connected, the second current between the charging contact and the grounding contact of the connector of the first device is collected, if the second current is less than 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. Taking the above Figure 15 as an example, when the headset is not placed in the charging box, the current x between the POGO PIN- and R2 of the charging box is collected. If the current x is less than the preset second current threshold, 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.
需要说明的是,第二电流阈值可以为2A、1.9A、1.8A等,本申请实施例并不以此为限。第二电流阈值可以是对第一设备的连接器未腐蚀、第一设备的连接器被腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器的充电触点与接地触点之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that 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.
本申请实施例提供的连接器的腐蚀识别方法,在第一设备和第二设备未连接时,采集第一设备的连接器的充电触点与接地触点之间的第二电流,若第二电流小于预设的第二电流阈值,则确定第一设备的连接器被腐蚀;若第二电流大于或等于第二电流阈值,则确定第一设备的连接器未被腐蚀。通过采集第一设备的连接器的充电触点与接地触点之间的电流与预设的第二电流阈值进行比较,可以快速准确的识别第一设备的连接器是否被腐蚀,避免第一设备的连接器被腐蚀带来的接触不良、漏电等影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, when the first device and the second device are not connected, the second current between the charging contact and the grounding contact of the connector of the first device is collected. If the 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. By collecting the current between the charging contact and the grounding contact of the connector of the first device and comparing it with the preset second current threshold, it is possible to quickly and accurately identify whether the connector of the first device is corroded, so as to avoid the first device being corroded. The connector is affected by poor contact and leakage caused by corrosion.
实施例十二
在确定了第一设备的连接器的腐蚀状态之后,可以基于第一设备的连接器的腐蚀状态,以及第一设备和第二设备连接时第一设备的连接器的充电触点与接地触点之间的电流,确定第二设备的连接器的腐蚀状态。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.
在本实施例中,第一参数包括第二电流,第二电流为第一设备与第二设备未连接时,采集的第一设备的连接器的充电触点与接地触点之间的电流,第二参数包括第四电流,第四电流为第一设备和第二设备连接时,第一设备的连接器的充电触点与接地触点之间的电流;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:In this embodiment, the first parameter includes the second current, and 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:
若第一设备的连接器未被腐蚀,则根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态;If the connector of the first device is not corroded, determine the corrosion state of the connector of the second device according to the fourth current and the preset fourth current threshold; or, according to the first current between the second current and the fourth current Two current differences, to determine the corrosion state of the connector of the second device;
若第一设备的连接器被腐蚀,则根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态;或,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态。If the connector of the first device is corroded, determine the corrosion state of the connector of the second device according to the fourth current and the preset fourth current threshold; or, according to the second current between the second current and the fourth current The difference in current determines the corrosion state of the connector of the second device.
在本实施例中,第一设备与第二设备连接时,采集的第一设备的连接器的充电触点与接地触点之间的第四电流,在第一设备的连接器未被腐蚀的情况下,可以根据第四电流和预设的第四电流阈值确定第二设备的连接器的腐蚀状态,也可以根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,也可以根据第三电流和第四电流之间的变化程度确定第二设备的连接器的腐蚀状态。In this embodiment, when the first device is connected to the second device, the fourth current collected between the charging contact and the grounding contact of the connector of the first device is not corroded when the connector of the first device is not corroded. In this case, 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 the corrosion state of the connector. In the case that the connector of the first device is corroded, 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.
进一步地,根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,包括:若第四电流小于第四电流阈值,则确定第二设备的连接器被腐蚀;若第四电流大于或等于第四电流阈值,则确定第二设备的连接器未被腐蚀。Further, 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.
在本实施例中,以充电盒和耳机为例,当充电盒的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之间的电流小于第四电流阈值,则确定第二设备的连接器被腐蚀。In this embodiment, taking the charging box and the earphone as examples, when the POGO PIN of the charging box is not corroded, the impedance of the POGO PIN of the charging box is relatively large, as shown in Figure 15, the POGO PIN- of the charging box and R2 When the POGO PIN uncorroded charging box is put into the uncorroded earphone, since the impedance of the POGO PIN of the earphone is also relatively large, the current between the POGO PIN- and R2 of the charging box will not decrease. It is much smaller. Therefore, when the current between the POGO PIN- and R2 of the charging box is greater than or equal to the fourth current threshold, it is determined that the connector of the second device is not corroded. On the contrary, when the POGO PIN uncorroded charging box is put into the corroded earphone, the current between POGO PIN- and R2 is shunted a lot because the impedance of the POGO PIN of the earphone becomes smaller. Therefore, when the POGO PIN of the charging box is If the current between PIN- and R2 is less than the fourth current threshold, it is determined that the connector of the second device is corroded.
需要说明的是,第二电流阈值与第四电流阈值之间存在一定的差异,例如,第二电流阈值大于第四电流阈值,第二电流阈值可以为2A、1.9A、1.8A等,第四电流阈值可以为1.8A、1.7A、1.6A等,本申请实施例中不加以限制。第四电流阈值可以是对第一设备的连接器未腐蚀、第一设备的连接器被腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器的充电触点与接地触点之间的电流、第二设备的连接器上的电流,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that there is a certain difference between the second current threshold and the fourth current threshold. For example, if the second current threshold is greater than the fourth current threshold, 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.
本申请实施例提供的连接器的腐蚀识别方法,可以根据第四电流和预设的第四电流阈值确定第二设备的连接器的腐蚀状态,通过将第四电流和预设的第四电流阈值进行比较,快速准确地确定第二设备的连接器是否被腐蚀,避免第二设备的连接器被腐蚀时对第二设备性能的影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, the corrosion state of the connector of the second device can be determined according to the fourth current and the preset fourth current threshold. By comparing 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.
实施例十三Embodiment thirteen
在第一设备的连接器被腐蚀的情况下,可以采集第一设备与第二设备未连接时,第一设备的连接器的充电触点与接地触点之间的第二电流,以及,采集第一设备与第二设备连接时,第一设备的连接器的充电触点与接地触点之间的第四电流,可以根据第四电流和预设的第四电流阈值,确定第二设备的连接器的腐蚀状态,也可以通过第二电流与第四电流之间的变化程度,确定第二设备的连接器的腐蚀状态。In the case that the connector of the first 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 When the first device is connected to the second device, 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.
在本实施例中,根据第二电流和第四电流之间的第二电流差值,确定第二设备的连接器的腐蚀状态,包括:若第二电流差值大于预设的第三差值阈值,确定第二设备的连接器被腐蚀;若第二电流差值小于或等于第三差值阈值,则确定第二设备的连接器未被腐蚀。In this embodiment, 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.
在本实施例中,以充电盒和耳机为例,当充电盒的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被腐蚀。In this embodiment, taking the charging box and the earphone as examples, when the POGO PIN of the charging box is corroded, as shown in Figure 15, the current between POGO PIN- and R2 becomes smaller. When the POGO PIN is not corroded, the current between POGO PIN- and R2 will not be much smaller because the POGO PIN impedance of the earphone is relatively large. Therefore, when the POGO PIN corroded charging box is put into the POGO PIN uncorroded earphone If the current difference before and after is less than or equal to the third difference threshold, it is determined that the POGO PIN of the earphone is not corroded. However, when the POGO PIN corroded charging box is put into the POGO PIN corroded earphone, the current between POGO PIN- and R2 will be much smaller due to the decrease of the POGO PIN impedance of the earphone. Therefore, when the POGO PIN corroded charging box is If the current difference before and after putting in the uncorroded earphone with POGO PIN is greater than the third difference threshold, it is determined that the POGO PIN of the earphone is corroded.
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备未连接时,第一设备的连接器的充电触点与接地触点之间的第二电流,以及,采集第一设备与第二设备连接时,第一设备的连接器的充电触点与接地触点之间的第四电流,计算第二电流与第四电流之间的第二电流差值,若第二电流差值大于预设的第三差值阈值,确定第二设备的连接器被腐蚀;若第二电流差值小于或等于第三差值阈值,则确定第二设备的连接器未被腐蚀。通过判断第二电流与第四电流之间的变化程度,确定第二设备的连接器的腐蚀状态,避免第二设备的连接器被腐蚀时对第二设备性能的影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, when the first device and the second device are not connected, 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. When a device is connected to a second device, 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. By judging the degree of change between the second current and the fourth current, the corrosion state of the connector of the second device is determined, so as to avoid the influence on the performance of the second device when the connector of the second device is corroded.
实施例十四Embodiment 14
在一些场景中,还可以通过连接器的阻抗来识别连接器的腐蚀状态,在本实施例中,第一参数包括第一电阻值,第一电阻值为第一设备与第二设备未连接时,采集的第一设备的连接器的电阻值,根据第一参数和预设阈值,确定第一设备的连接器的腐蚀状态,包括:若第一电阻值大于或等于预设的第一电阻阈值,则确定第一设备的连接器未被腐蚀;若第一电阻值小于第一电阻阈值,则确定第一设备的连接器被腐蚀。In some scenarios, the corrosion state of the connector can also be identified by the impedance of the connector. In this embodiment, the first parameter includes a first resistance value, and 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.
在本实施例中,以第一设备为充电盒为例,如图6和图7所示,当充电盒上的POGOPIN被腐蚀时,相当于给电阻R2并联一颗电阻R3,因此,当充电盒上的POGO PIN被腐蚀时,充电盒上的POGO PIN的电阻值减小。基于该原理,可以预设设置第一电阻阈值,采集耳机未放入充电盒中时R2的第一电阻值,若该第一电阻值大于或等于第一电阻阈值,则确定充电盒的POGO PIN没有腐蚀,若该第一电阻值小于第一电阻阈值,则确定充电盒的POGO PIN有腐蚀。In this embodiment, taking the first device as the charging box as an example, as shown in Figures 6 and 7, when the POGOPIN on the charging box is corroded, it is equivalent to connecting a resistor R3 in parallel with the resistor R2. Therefore, when charging When the POGO PIN on the case is corroded, the resistance value of the POGO PIN on the charging case decreases. Based on this principle, 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.
在另一个实施例中,以第一设备为耳机、第二设备的充电盒为例,如图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有腐蚀。In another embodiment, taking a charging box in which the first device is an earphone and the second device as an example, as shown in FIG. 16 , the earphone is equivalent to the circuit shown in FIG. 16 , and the circuit includes the preset voltage V5 , Voltage V6, resistor R7, resistor R8, voltage V4, V4=V5*R8/(R7+R8), when the POGO PIN+ and POGO PIN- of the headset are not corroded, the resistance R8 is very large, when the POGO PIN of the headset is corroded When it is equivalent to adding a series resistance to the resistor R8, the resistance of the POGO PIN of the headset becomes smaller. Based on this principle, 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 has no Corrosion, if the first resistance value is less than the first resistance threshold, it is determined that the POGO PIN of the earphone is corroded.
其中,第一电阻值可以是第一设备与第二设备未连接时,采用电阻传感器直接采集第一设备的连接器的电阻值得到,也可以是采集第一设备与第二设备未连接时,第一设备的连接器上的电压和电流,根据该电压和电流计算得到的,本申请实施例不加以限制。第一电阻阈值可以是将多个第一设备的连接器在未腐蚀和腐蚀状态下,分别采集其器连接器上的电阻值,经过多次试验测试得到的,也可以是根据等效电路原理计算得到的,本申请实施例中不加以限制。Wherein, 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.
本申请实施例提供的连接器的腐蚀识别方法,在第一设备未与第二设备连接时,采集的第一设备的连接器上的第一电阻值,若第一电阻值大于或等于预设的第一电阻阈值,则确定第一设备的连接器未被腐蚀;若第一电阻值小于第一电阻阈值,则确定第一设备的连接器被腐蚀,通过比较第一电阻值和预设的第一电阻阈值的大小,可以快速准确的确定第一设备的连接器的腐蚀状态。In the method for identifying corrosion of a connector provided by the embodiment of the present application, 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.
实施例十五Embodiment fifteen
本申请实施例在实施例十二的基础上,重点介绍当第一参数和第二参数均为电阻值时,确定第二设备的连接器的腐蚀状态的具体实现方式。在本实施例中,第一参数包括第一电阻值,第一电阻值为第一设备与第二设备未连接时,采集的第一设备的连接器的电阻值,第二参数包括第二电阻值,第二电阻值为第一设备和第二设备通过连接器连接时,采集的第一设备的连接器的电阻值;根据第一设备的连接器的腐蚀状态和第二参数,确定第二设备的连接器的腐蚀状态,包括:On the basis of the twelfth embodiment, 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. In this embodiment, 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, and 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; according to the corrosion state of the connector of the first device and the second parameter, determine the second resistance value Corrosion status of the equipment's connectors, including:
若第一设备的连接器未被腐蚀,则根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态;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;
若第一设备的连接器被腐蚀,则根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态;或,根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态。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.
在本实施例中,以第一设备为耳机、第二设备的充电盒为例,如图17所示,将POGOPIN未腐蚀的充电盒等效为电阻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的电阻变化比较大。In this embodiment, taking the charging box where the first device is an earphone and the second device as an example, as shown in Figure 17, the POGOPIN uncorroded charging box is equivalent to a resistor R9, as shown in Figure 18, without the POGO PIN Put the uncorroded earphones into the POGO PIN uncorroded charging box, which is equivalent to connecting R8 in parallel with resistor R9. At this time, V4=V5*(R8//R9)/(R7+R8//R9), where R9 represents the earphone’s Resistor for POGO PIN. When the POGO PIN of the charging box is not corroded, the resistance value of R9 is relatively large. Therefore, the resistance of the POGO PIN of the earphone changes relatively small before and after the earphone is placed in the charging box. When the POGO PIN of the charging box corrodes, 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.
在本实施例中,第一设备与第二设备通过连接器连接时,采集的第一设备的连接器上的第二电阻值,在第一设备的连接器未被腐蚀的情况下,可以根据第二电阻值和预设的第二电阻值阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态。在第一设备的连接器被腐蚀的情况下,可以根据第二电阻值和预设的第二电阻值阈值确定第二设备的连接器的腐蚀状态,也可以根据第一电阻值和第二电阻值之间的变化程度确定第二设备的连接器的腐蚀状态。In this embodiment, when the first device is connected to the second device through the connector, 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. When the connector of the first device is corroded, 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.
进一步地,根据第二电阻值和预设的第二电阻阈值,确定第二设备的连接器的腐蚀状态,包括:若第二电阻值大于或等于第二电阻阈值,则确定第二设备的连接器未被腐蚀;若第二电阻值小于第二电阻阈值,则确定第二设备的连接器被腐蚀。Further, 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.
在本实施例中,以第一设备为充电盒、第二设备为耳机为例,识别耳机的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的等效阻抗减小。In this embodiment, taking the first device as the charging box and the second device as the earphone as an example, to identify whether the POGO PIN of the earphone 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. When the POGO PIN uncorroded charging box is put into the POGO PIN uncorroded earphone, since the impedance of the POGO PIN of the charging box and the impedance of the POGO PIN of the earphone are relatively large, 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, 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.
基于该原理,可以预先设置第二电阻阈值,将第二电阻值和第二电阻阈值进行比较,以确定第二设备的连接器的腐蚀状态。例如,当耳机放入充电盒中时,采集充电盒的POGO PIN上的第二电阻值,当第二电阻值大于或等于第二电阻值阈值时,说明耳机的POGOPIN上电阻值比较大,确定耳机的POGO PIN未被腐蚀;当第二电阻值小于第二电阻值阈值时,说明耳机的POGO PIN上电阻值比较小,确定耳机的POGO PIN被腐蚀。Based on this principle, 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 earphone 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 POGOPIN of the earphone is relatively large. The POGO PIN of the earphone 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 earphone is relatively small, and it is determined that the POGO PIN of the earphone is corroded.
需要说明的是,第二电阻值阈值可以与第一电阻值阈值相同,第二电阻值阈值也以与第一电阻值阈值不同,第二电阻值阈值可以比第一电阻值阈值小,本申请实施例并不以此为限。第二电阻值阈值可以是对第一设备的连接器未腐蚀、第二设备的连接器未腐蚀、以及第二设备的连接器腐蚀等情况下,分别采集第一设备的连接器上的电阻值、第二设备的连接器上的电阻值,经过多次测量实验得到的,也可以是根据等效电路计算得到的,本申请实施例中不加以限制。It should be noted that 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.
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备通过连接器连接时,第一设备的连接器上的第二电阻值,若第二电阻值大于或等于第二电阻值阈值,则确定第二设备的连接器未被腐蚀;若第二电阻值小于第二电阻值阈值,则确定第二设备的连接器被腐蚀,通过预先设置的第二电阻值阈值,可以简单、准确的确定出第二设备的连接器是否被腐蚀,以减少连接器腐蚀对第二设备的影响。In the method for identifying corrosion of a connector provided in this embodiment of the present application, when the first device and the second device are connected through the connector, 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.
在另一个实施例中,重点介绍根据第一电阻值和第二电阻值之间的电阻差值,确定第二设备的连接器的腐蚀状态的实现方式,包括:若电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若电阻差值大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀。In another embodiment, 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.
在本实施例中,以第一设备为充电盒、第二设备为耳机为例,如图11所示,当POGOPIN腐蚀的充电盒中放入POGO PIN未腐蚀的耳机时,相当于在电阻R2和R3上再并联一颗电阻R4,由于耳机的POGO PIN的电阻R4比较大,耳机放入耳机盒前后,耳机盒的POGO PIN的等效电阻变化较小。如图12所示,当充电盒的POGO PIN腐蚀时,放入腐蚀的耳机后,相当于在电阻R2、R3、R4的基础上再并联一颗电阻R5,由于耳机的POGO PIN的电阻R4减小,导致耳机放入耳机盒前后,耳机盒的POGO PIN的等效电阻变化较大。In this embodiment, taking the first device as the charging box and the second device as the earphone as an example, as shown in Figure 11, when the POGOPIN corroded charging box is put into the POGOPIN uncorroded earphone, it is equivalent to the resistance R2 A resistor R4 is connected in parallel with R3. Since the resistance R4 of the POGO PIN of the headset is relatively large, the equivalent resistance of the POGO PIN of the headset box changes little before and after the headset is placed in the headset box. As shown in Figure 12, when the POGO PIN of the charging box is corroded, after putting the corroded earphones, it is equivalent to adding a resistor R5 in parallel on the basis of the resistors R2, R3, and R4. Since the resistance R4 of the POGO PIN of the earphone decreases Small, resulting in a large change in the equivalent resistance of the POGO PIN of the earphone box before and after the earphone is placed in the earphone box.
基于该原理,若第一电阻值和第二电阻值之间的电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若第一电阻值和第二电阻值之间电阻差值的大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀。也就是说,若第一设备与第二设备通过连接器连接前第一设备的连接器上的电阻值,与第一设备与第二设备通过连接器连接之后第一设备的连接器上的电阻值之间的变化较小,则确定第二设备的连接器未被腐蚀;若第一设备与第二设备通过连接器连接前第一设备的连接器上的电阻值,与第一设备与第二设备通过连接器连接之后第一设备的连接器上的电阻值之间的变化较大,则确定第二设备的连接器被腐蚀。Based on this principle, if 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. That is to say, if 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.
本申请实施例提供的连接器的腐蚀识别方法,采集第一设备与第二设备未连接时,第一设备的连接器的第一电阻值,和,第一设备与第二设备通过连接器连接时,第一设备的连接器的第二电阻值,计算第一电阻值和第二电阻值之间的电阻差值,若电阻差值小于预设的第四差值阈值,则确定第二设备的连接器未被腐蚀;若电阻差值大于或等于第四差值阈值,则确定第二设备的连接器被腐蚀,通过第一设备与第二设备通过连接器连接前后,第一设备的连接器上的电阻变化程度,识别第二设备的连接器的腐蚀状态,该方法可以简单、准确的识别出第二设备的连接器的腐蚀状态,减少第二设备的连接器的腐蚀对第二设备的影响。In the method for identifying corrosion of a connector provided by the embodiment of the present application, 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 When the second resistance value of the connector of the first device is calculated, 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. 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.
实施例十六Embodiment 16
在上述任一实施例的基础上,当确定第一设备的连接器和/或第二设备的连接器发生腐蚀时,可以向用户终端上报告腐蚀情况。在本实施例中,该连接器的腐蚀识别方法还包括:若第一设备的连接器被腐蚀,则发送腐蚀信息;腐蚀信息用于提示第一设备的连接器被腐蚀和/或告知补救措施。Based on any of the foregoing embodiments, 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. In this embodiment, 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 .
可选地,若第二设备的连接器被腐蚀,也可以发送腐蚀信息;腐蚀信息用于提示第二设备的连接器被腐蚀和/或告知补救措施。Optionally, if the connector of the second device is corroded, corrosion information may also be sent; the corrosion information is used to prompt that the connector of the second device is corroded and/or inform remedial measures.
以耳机和充电盒为例,当充电盒检测到充电盒的POGO PIN和/或耳机的POGO PIN被腐蚀时,充电盒将腐蚀信息发送至耳机,耳机再将该腐蚀信息发送至手机,手机提醒用户耳机和/或充电盒的POGO PIN出现腐蚀。Taking the earphone and charging box as an example, when the charging box detects that the POGO PIN of the charging box and/or the POGO PIN of the 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.
在本实施例中,当确定了第一设备的连接器时,第一设备可以将该腐蚀信息通过连接器发送至第二设备,第二设备将该腐蚀信息发送至用户终端,以提醒用户对第一设备的连接器进行处理,减少连接器的腐蚀或者避免连接器腐蚀对设备的影响。In this embodiment, when the connector of the first device is determined, the first device can send the corrosion information to the second device through the connector, and the second device 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.
需要说明的是,上述实施例中主要以第一设备为充电盒、第二设备为耳机为例,来介绍本申请实施例提供的连接器的腐蚀识别方法,以第一设备为耳机、第二设备为充电盒的实现方式与上述实施例的实现原理类似,本申请中不再赘述。It should be noted that, in the above embodiments, 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.
应该理解的是,虽然图3-图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图3-图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various 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 at the same time, but may be executed at different times. These sub-steps or 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.
图19为一个实施例提供的连接器的腐蚀识别装置的结构框图。如图19所示,该连接器的腐蚀识别装置包括: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:
获取模块11,用于获取第一设备的连接器的第一参数;所述第一参数为所述第一设备与第二设备未连接时采集的参数;an obtaining
第一确定模块12,用于根据所述第一参数确定所述第一设备的连接器的腐蚀状态。The
如图20所示,获取模块11,还用于获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;As shown in FIG. 20, the
该连接器的腐蚀识别装置还包括:The corrosion identification device of the connector also includes:
第二确定模块13,用于根据所述第一参数和所述第二参数,确定第二设备的连接器的腐蚀状态。The
在一个实施例中,第一确定模块12用于根据所述第一参数和预设阈值,确定所述第一设备的连接器的腐蚀状态。In one embodiment, the
在一个实施例中,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,第一确定模块12,用于在所述第一电压大于或等于预设的第一电压阈值的情况下,确定所述第一设备的连接器未被腐蚀;在所述第一电压小于所述第一电压阈值的情况下,确定所述第一设备的连接器被腐蚀。In one embodiment, the first parameter includes a first voltage, and 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
在一个实施例中,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,第一确定模块12,用于若所述第一电流小于预设的第一电流阈值,则确定所述第一设备的连接器未被腐蚀;若所述第一电流大于或等于所述第一电流阈值,则确定所述第一设备的连接器被腐蚀。In one embodiment, the first parameter includes a first current, and 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. voltage or current between the ground terminals, the first determining
在一个实施例中,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,第一确定模块12,用于若所述第二电流小于预设的第二电流阈值,则确定所述第一设备的连接器被腐蚀;若所述第二电流大于或等于所述第二电流阈值,则确定所述第一设备的连接器未被腐蚀。In one embodiment, the first parameter includes the second current, and 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
在一个实施例中,所述第一参数包括第一电阻值,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,第一确定模块12,用于若所述第一电阻值大于或等于预设的第一电阻阈值,则确定所述第一设备的连接器未被腐蚀;若所述第一电阻值小于所述第一电阻阈值,则确定所述第一设备的连接器被腐蚀。In one embodiment, the first parameter includes a first resistance value, and 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. resistance value, the
如图20所示,获取模块11,还用于获取所述第一设备的连接器的第二参数;所述第二参数为所述第一设备与所述第二设备通过连接器连接时采集的参数;As shown in FIG. 20, the
该连接器的腐蚀识别装置还包括:The corrosion identification device of the connector also includes:
第二确定模块13,用于根据所述第一设备的连接器的腐蚀状态和所述第二参数,确定所述第二设备的连接器的腐蚀状态。The
在一个实施例中,所述第一参数包括第一电压,所述第一电压为所述第一设备与所述第二设备未连接时,采集的第一设备的连接器上的电压,所述第二参数包括第二电压,所述第二电压为所述第一设备与所述第二设备通过连接器连接时,采集的第一设备的连接器上的电压,第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态,或,根据所述第一电压与所述第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第二电压和预设的第二电压阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电压与第二电压之间的电压差值,确定所述第二设备的连接器的腐蚀状态。In one embodiment, the first parameter includes a first voltage, and 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, so The second parameter includes a second voltage, and 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, and the
在一个实施例中,第二确定模块13,用于若所述第二电压大于或等于所述第二电压阈值,则确定所述第二设备的连接器未被腐蚀;若所述第二电压小于所述第二电压阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the
在一个实施例中,第二确定模块13,用于若所述电压差值小于预设的第一差值阈值,则确定所述第二设备的连接器未被腐蚀;若所述电压差值大于或等于所述第一差值阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the
在一个实施例中,所述第一参数包括第一电流,所述第一电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器与预设电压或接地端之间的电流,所述第二参数包括第三电流,所述第三电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器与预设电压或接地端之间的电流;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第三电流和预设的第三电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电流和第三电流之间的第一电流差值,确定所述第二设备的连接器的腐蚀状态。In one embodiment, the first parameter includes a first current, and 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 voltage or the ground terminal, the second parameter includes a third current, and the third current is the connector of the first device when the first device and the second device are connected through a connector The current between the preset voltage or the ground terminal; the
在一个实施例中,第二确定模块13,用于若所述第三电流小于所述第三电流阈值,则确定所述第二设备的连接器未被腐蚀;若所述第三电流大于或等于所述第三电流阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the
在一个实施例中,第二确定模块13,用于若所述第一电流差值小于预设的第二差值阈值,确定所述第二设备的连接器未被腐蚀;若所述第一电流差值大于或等于所述第二差值阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the
在一个实施例中,所述第一参数包括所述第二电流,所述第二电流为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的充电触点与接地触点之间的电流,所述第二参数包括第四电流,所述第四电流为所述第一设备和所述第二设备通过连接器连接时,所述第一设备的连接器的充电触点与接地触点之间的电流;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第四电流和预设的第四电流阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第二电流和第四电流之间的第二电流差值,确定所述第二设备的连接器的腐蚀状态。In one embodiment, the first parameter includes the second current, and 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
在一个实施例中,第二确定模块13,用于若所述第四电流小于所述第四电流阈值,则确定所述第二设备的连接器被腐蚀;若所述第四电流大于或等于所述第四电流阈值,则确定所述第二设备的连接器未被腐蚀。In one embodiment, the
在一个实施例中,第二确定模块13,用于若所述第二电流差值大于预设的第三差值阈值,确定所述第二设备的连接器被腐蚀;若所述第二电流差值小于或等于所述第三差值阈值,则确定所述第二设备的连接器未被腐蚀。In one embodiment, the
在一个实施例中,所述第一参数包括第一电阻,所述第一电阻值为所述第一设备与所述第二设备未连接时,采集的所述第一设备的连接器的电阻值,所述第二参数包括第二电阻值,所述第二电阻值为所述第一设备和所述第二设备通过连接器连接时,采集的所述第一设备的连接器的电阻值;第二确定模块13,用于若所述第一设备的连接器未被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态;若所述第一设备的连接器被腐蚀,则根据所述第二电阻值和预设的第二电阻阈值,确定所述第二设备的连接器的腐蚀状态;或,根据所述第一电阻值和第二电阻值之间的电阻差值,确定所述第二设备的连接器的腐蚀状态。In one embodiment, the first parameter includes a first resistance, and 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
在一个实施例中,第二确定模块13,用于若所述第二电阻值大于或等于所述第二电阻阈值,则确定所述第二设备的连接器未被腐蚀;若所述第二电阻值小于所述第二电阻阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the
在一个实施例中,第二确定模块13,用于若所述电阻差值小于预设的第四差值阈值,则确定所述第二设备的连接器未被腐蚀;若所述电阻差值大于或等于所述第四差值阈值,则确定所述第二设备的连接器被腐蚀。In one embodiment, the second determining
在一个实施例中,该连接器的腐蚀识别装置还包括:In one embodiment, 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.
在一个实施例中,所述第一设备包括第一电阻和第二电阻,所述第一电阻的第一端连接预设电压,所述第一电阻的第二端与所述二电阻的第一端连接,所述第二电阻的第二端接地,所述第二电阻的第一端还与所述第一设备的连接器的充电触点连接,所述第二电阻的第二端还与所述第一设备的连接器的接地触点连接。In one embodiment, 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.
在一个实施例中,所述第一设备还包括第一电流传感器,所述第一电流传感器的输入端与所述预设电压连接,所述第一电流传感器的输出端与所述第一电阻的第一端连接。In one embodiment, 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.
在一个实施例中,所述第一设备还包括第二电流传感器,所述第二电流传感器的输入端与目标公共端连接,所述第二电流传感器的输出端接地;所述目标公共端为所述第二电阻的第二端与所述第一设备的连接器的接地触点之间的公共端。In one embodiment, 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.
在一个实施例中,所述第一设备还包括第三电流传感器,所述第三电流传感器的输入端与所述第二电阻的第二端连接,所述第二电流传感器的输出端接地。In one embodiment, 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.
在一个实施例中,所述第一设备为充电盒,所述第二设备为耳机;或者,In one embodiment, the first device is a charging box, and the second device is an earphone; or,
所述第一设备为耳机,所述第二设备为充电盒。The first device is an earphone, and the second device is a charging box.
上述实施例提供的连接器的腐蚀识别装置的实现原理和有益效果可参照方法实施例,此处不再赘述。For the implementation principle and beneficial effects of the device for identifying corrosion of the connector provided by the above embodiments, reference may be made to the method embodiments, which will not be repeated here.
上述连接器的腐蚀识别装置中各个模块的划分仅仅用于举例说明,在其他实施例中,可将连接器的腐蚀识别装置按照需要划分为不同的模块,以完成上述连接器的腐蚀识别装置的全部或部分功能。The division of 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 as required, so as to complete the above-mentioned connector corrosion identification device. full or partial functionality.
关于连接器的腐蚀识别装置的具体限定可以参见上文中对于连接器的腐蚀识别方法的限定,在此不再赘述。上述连接器的腐蚀识别装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the device for identifying corrosion of the connector, reference may be made to the definition of the method for identifying the corrosion of the connector above, which will not be repeated here. 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.
图21为一个实施例提供的充电盒的结构示意图,如图21所示,该充电盒包括:处理器21、电源模块22和连接器23,处理器21分别与电源模块22和连接器23连接;处理器21用于执行上述任一实施例所述的连接器的腐蚀识别方法。FIG. 21 is a schematic structural diagram of a charging box provided by an embodiment. As shown in FIG. 21 , the charging box includes: a
本申请实施例提供的充电盒的实现原理和有益效果可参照上述连接器的腐蚀识别方法的实施例,此处不再赘述。For the implementation principle and beneficial effects of the charging box provided by the embodiments of the present application, reference may be made to the embodiments of the method for identifying corrosion of the connector, which will not be repeated here.
图22为一个实施例提供的耳机的结构示意图,如图22所示,耳机包括:处理器31、电源模块32、连接器33和音频模块34,所述处理器31分别与所述电源模块32、所述连接器33、所述音频模块34连接,处理器31用于执行上述任一实施例所述的连接器的腐蚀识别方法。FIG. 22 is a schematic structural diagram of an earphone provided by an embodiment. As shown in FIG. 22 , the earphone includes: a
本申请实施例提供的耳机的实现原理和有益效果可参照上述连接器的腐蚀识别方法的实施例,此处不再赘述。For the implementation principle and beneficial effects of the earphone provided by the embodiment of the present application, reference may be made to the embodiment of the corrosion identification method of the connector, which will not be repeated here.
图23为一个实施例中电子设备的内部结构示意图。如图23所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种连接器的腐蚀识别方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是充电盒、充电座、耳机、AR眼镜、穿戴式设备等任意终端设备。FIG. 23 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in Figure 23, the electronic device includes a processor and a memory connected by a system bus. Among them, 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.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一实施例提供的连接器的腐蚀识别方法。A computer program product containing instructions, when executed on a computer, causes the computer to execute the method for identifying corrosion of a connector provided by any of the above embodiments.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(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)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, 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).
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (30)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110178035.4A CN114910515A (en) | 2021-02-09 | 2021-02-09 | Connector corrosion identification method and device, earphone, charging box and storage medium |
PCT/CN2022/071474 WO2022170907A1 (en) | 2021-02-09 | 2022-01-12 | Corrosion identification method and apparatus for connectors, and earbuds, charging box, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110178035.4A CN114910515A (en) | 2021-02-09 | 2021-02-09 | Connector corrosion identification method and device, earphone, charging box and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114910515A true CN114910515A (en) | 2022-08-16 |
Family
ID=82761623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110178035.4A Pending CN114910515A (en) | 2021-02-09 | 2021-02-09 | Connector corrosion identification method and device, earphone, charging box and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114910515A (en) |
WO (1) | WO2022170907A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180172767A1 (en) * | 2016-12-21 | 2018-06-21 | Eaton Corporation | System and method for monitoring contact life of a circuit interrupter |
CN109217248A (en) * | 2017-07-05 | 2019-01-15 | 台达电子企业管理(上海)有限公司 | A kind of fault handling method and system of connector |
CN109977057A (en) * | 2019-03-27 | 2019-07-05 | 青岛海信移动通信技术股份有限公司 | A kind of control method of interface equipment and interface equipment |
CN110572738A (en) * | 2019-10-08 | 2019-12-13 | 上海爻火微电子有限公司 | wireless earphone charging circuit and wireless earphone box |
Family Cites Families (6)
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 |
US10014637B2 (en) * | 2015-10-20 | 2018-07-03 | Sony Mobile Communications Inc. | Connector receptacle interfacing circuit and method of operation |
CN108370170B (en) * | 2017-02-27 | 2020-11-20 | 华为技术有限公司 | Short-circuit fault processing device and method |
KR102411195B1 (en) * | 2017-08-25 | 2022-06-21 | 삼성전자주식회사 | Method and apparatus for changing impedance of terminal included in connector |
CN208736956U (en) * | 2018-07-09 | 2019-04-12 | 东莞市钰璘测试自动化有限公司 | Portable POGO Open and Short Detector |
KR102609837B1 (en) * | 2019-04-04 | 2023-12-05 | 삼성전자 주식회사 | Electronic device and method of communicating with an external device via a power supply line |
-
2021
- 2021-02-09 CN CN202110178035.4A patent/CN114910515A/en active Pending
-
2022
- 2022-01-12 WO PCT/CN2022/071474 patent/WO2022170907A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180172767A1 (en) * | 2016-12-21 | 2018-06-21 | Eaton Corporation | System and method for monitoring contact life of a circuit interrupter |
CN109217248A (en) * | 2017-07-05 | 2019-01-15 | 台达电子企业管理(上海)有限公司 | A kind of fault handling method and system of connector |
CN109977057A (en) * | 2019-03-27 | 2019-07-05 | 青岛海信移动通信技术股份有限公司 | A kind of control method of interface equipment and interface equipment |
CN110572738A (en) * | 2019-10-08 | 2019-12-13 | 上海爻火微电子有限公司 | wireless earphone charging circuit and wireless earphone box |
Also Published As
Publication number | Publication date |
---|---|
WO2022170907A1 (en) | 2022-08-18 |
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 | |
CN105548895B (en) | A kind of battery performance test method and device | |
US10720778B2 (en) | Method for identifying type of cable, power adapter and cable | |
CN110412480A (en) | Battery screening method, device and computer storage medium and test system | |
CN114089209B (en) | Battery reliability evaluation method and device | |
CN112433898A (en) | Method and device for testing power consumption value of solid state disk, computer equipment and storage medium | |
WO2021239007A1 (en) | Battery identification method, electronic device and storage medium | |
CN114035096B (en) | SOH evaluation method for electrochemical device, electronic equipment and battery system | |
CN110244233A (en) | Battery detection method, electronic equipment and computer storage medium | |
CN116819346B (en) | Battery SOC estimation method, device, equipment and storage medium | |
CN116845998A (en) | A charging device, method and related equipment | |
JP2021502041A (en) | Charging device test system and method | |
CN110006953A (en) | Rosin joint detection method, system, device, computer equipment and readable storage medium storing program for executing | |
CN111239633B (en) | Battery pack pressure difference reason analysis method and device and computer equipment | |
CN113030760A (en) | Battery life prediction method, device and storage medium | |
CN106226647B (en) | The earphone socket and electronic equipment of a kind of electronic equipment | |
WO2022170907A1 (en) | Corrosion identification method and apparatus for connectors, and earbuds, charging box, and storage medium | |
CN113945740B (en) | Method, device, equipment and storage medium for determining contact resistance | |
CN106772092B (en) | Charging current setting system and method for obtaining battery voltage based on mobile terminal | |
US9372239B2 (en) | Sealed battery manufacturing method and inspection device | |
CN115103289A (en) | Earphone aging monitoring method and device, computer equipment and storage medium | |
CN115428231A (en) | Battery diagnostic device and battery diagnostic method | |
CN114487884A (en) | Battery detection method and device, battery system and electronic equipment | |
CN105868063A (en) | A method, system and device for writing function detection results and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |