Embodiments of the disclosure relate generally to techniques and systems for detecting the presence of a liquid, such as water, on one or more contacts of an external connector of a portable electronic device.
Portable electronic devices, such as smartphones and tablet computers, can be exposed to liquid or moisture during their normal use. For example, such devices may be exposed to rain, or sweat or an accidental liquid spill. Additionally, in some instances the devices may be waterproof or highly water resistant in which case a user may knowingly expose the device to water when swimming or to wash the device.
Many portable electronic devices include a receptacle connector that has an opening or port at an exterior of the device in which multiple contacts reside. A corresponding plug connector can be inserted into the receptacle connector port to charge the internal battery of the device, to transfer data between the device and a second device, or for audio or video input or output, among other functions. If the contacts within the connector port are exposed to liquid while a voltage is applied to one or more of the contacts a short circuit could damage the connector or electronic device. Additionally, ions and other solids or materials within the liquid can react with the electrical contacts causing corrosion and other damage.
Some electronic devices include a liquid contact sensing circuit within the device that takes measurements, such as resistance and capacitance measurements, across one or more of the electrical contacts of the device in order to detect the presence of liquid on those contacts. In response to detecting the presence of liquid corrective actions can be taken in real time. For example, the electronic device can power down certain sensitive electronic components within the device. Alternatively, or additionally, the electronic device can reduce or terminate power supplied to its connector such that the voltage across electrical contacts of the connector is reduced or dropped to zero in response to having detected the presence of short-circuit or corrosion causing moisture within the port.
While terminating or reducing power supplied to a connector can prevent damage to the electronic device and/or connector, it can also cause user frustration if the liquid sensing circuit incorrectly determines that a harmful liquid is present on the contacts. For example, not all liquid is likely to result in contact corrosion. Some liquids that have minimal or no dissolved materials within them are not a serious concern for likely contact corrosion. Similarly, the liquid sensing circuit might incorrectly determine that solid material (e.g., dirt, dust, grease, etc.) that is present on one or more of the contacts is a harmful liquid and act accordingly even though the solid material does not present a safety or corrosion concern.
Thus, despite the existence of various known liquid detection methods and circuits, new and improved methods for detecting liquid at a connector of a portable electronic device and distinguishing potentially harmful liquids from other contaminants are desirable.
Embodiments of the disclosure pertain to a system and method for reliably detecting the presence of a short circuit-causing liquid (e.g. sweat, pool water, tap water, sea water, rain, or a beverage) in an external connector of an electronic device, such as a portable consumer electronics device. Embodiments can also protect the electronic device from potential damage and/or corrosion on contacts of the external connector that may otherwise occur by continued presence of the liquid on powered contacts of the connector. Embodiments of the disclosure can provide such protection while distinguishing instances when solids or liquids that are not likely to be harmful are present on one or more contacts instead of potentially harmful liquids being present at the connector contacts.
If a liquid is present on a connector contact, ions of opposing polarity can form at the boundary between the contact and liquid when a voltage is applied to the contact. Typically, a single layer of liquid molecules adheres to the surface of the contact and forms between the two layers of opposing polarity ions separating the two layers and acting like a dielectric in capacitor. This phenomenon is sometimes referred to as the double layer capacitance effect. Some embodiments of the disclosure apply a time varying voltage to a connector contact (e.g., a sinusoidal wave) at multiple frequencies and monitor reactance (both magnitude and phase) at the contacts to determine if an harmful liquid is present on a contact. If a liquid is present on the contact, the contact will be highly capacitive which will impact the signals phase change. The liquid coated contact will also exhibit significant frequency dependence being more highly conductive at higher frequencies and less conductive at lower frequencies.
In some embodiments an electronic device is provided that includes a connector having a plurality of contacts and a liquid detection module coupled to at least one contact in the plurality of contacts. The liquid detection module can be configured to generate and apply a time varying voltage or current to the at least one contact over a range of frequencies, measure complex impedance including phase and magnitude at the at least one contact, and determine whether liquid intrusion has occurred on the contacts based on previously measured signatures of phase and magnitude versus frequency.
In some embodiments the electronic device may further include communication circuitry that enables the electronic device to communicate with another electronic device over the at least one contact and a multiplexor is configured to switch the at least one contact between the communication circuitry and the liquid detection circuitry. The liquid detection module can generate the time varying voltage or current as a sinewave from a pulse density modulation (PDM) signal and can convert the current sinewave to a voltage sinewave that is applied to the at least one contact in the plurality of contacts. In various examples the liquid detection module can include a low pass filter that receives a PDM signal as input and outputs a current sinewave, a transimpedance amplifier that receives a current sinewave as input and generates a voltage sinewave as output, and/or an audio codec that processes received signals to determine whether liquid intrusion has occurred on the contacts based on previously measured signatures of phase and magnitude versus frequency.
In some embodiments the liquid detection module can employ a test that includes detecting whether the measured impedance on the at least one contact is greater than a predetermined amount and whether the measured phase on the at least one contact is essentially zero at a predetermined frequency to determine whether liquid intrusion has occurred on the contacts based on previously measured signatures of phase and magnitude versus frequency.
In some embodiments an electronic device according to the disclosure can include: a connector comprising a plurality of contacts including at least a voltage contact and a signal contact; signal generating circuitry configured to generate a control signal or data signal; a digital processor configured to generate a pulse density modulation (PDM) signal, receive complex impedance measurements of the at least one contact including phase and magnitude from the analog-to-digital converter, and determine whether liquid intrusion has occurred on one or more of the contacts based on previously measured signatures of phase and magnitude versus frequency; a low pass filter configured to receive the pulse density modulation (PDM) signal at an input and output a current sine wave at a frequency indicated by the PDM signal; a transimpedance amplifier coupled at an input to receive the current sinewave from the low pass filter and output a voltage sine wave; an analog-to-digital converter having a first input coupled to the output of the low pass filter and a second input coupled to the output of the transimpedance amplifier; and a multiplexor coupled to the signal generating circuitry, to the output of the transimpedance amplifier and to the signal contact, the multiplexor configured to switch the signal contact between the signal generating circuitry and the transimpedance amplifier.
In some embodiments a method of detecting a liquid on a contact of a connector is provided. The method can include: generating and apply a time varying voltage or current to the contact over a range of frequencies; measuring complex impedance including phase and magnitude at the contact; and determining whether liquid intrusion has occurred on the contacts based on previously measured signatures of phase and magnitude versus frequency. The step of generating and applying can include generating a current sine wave from a pulse density modulation (PDM) signal and converting the current sinewave to a voltage sinewave that is applied to the contact. If it is determined that a liquid is present on the contact, the method can do one or more of the following: reduce the voltage on the contact, terminate the voltage on the contact or delay initiation of a function until a predetermined amount of time has expired. In some examples, the method can further include, prior to the generating and applying step, decoupling the contact from a first set of circuitry within an electronic device and coupling the contact to second set of circuitry to perform the generating and applying step.
The above summary does not include an exhaustive list of all aspects of the present disclosure. It is contemplated that the disclosure includes all systems and methods that can be practiced from all suitable combinations of the various aspects summarized above, as well as those disclosed in the Detailed Description below and particularly pointed out in the claims filed with the application.
Embodiments of the disclosure are illustrated herein by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements.
Embodiments of the present disclosure will now be described in detail with reference to certain examples thereof as illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. It will be apparent, however, to one skilled in the art, that embodiments of the present disclosure may be practiced without some or all of these specific details. In other instances, well known details have not been described in detail in order not to unnecessarily obscure embodiments of the present disclosure.
Some embodiments of the disclosure pertain to a system and method for reliably detecting the presence of a short circuit-causing liquid (e.g. sweat, pool water, tap water, sea water, rain, or a beverage) in an external connector of an electronic device, such as a consumer electronics portable device, and also for mitigating corrosion on the external connector that would be caused by continued presence of the liquid on powered contacts of the connector. An example of one type of portable consumer electronic device in which embodiments of the disclosure can be beneficially employed is shown in
Device 100 can also include a receptacle connector 125 having a cavity that opens to an exterior surface of housing 120. Electrical contacts (not shown in
For simplicity, various internal components, such as the control circuitry, graphics circuitry, bus, memory, storage device and other components of electronic media device 100 are not shown in
Receptacle connector 200 can also include first and second retention mechanisms 220 on opposing sides of cavity 210 that engage with retention features of a corresponding plug connector to secure the plug connector within cavity 210 once the connectors are mated. Retention mechanisms 220 can be, for example springs, and can be made from an electrically conductive material to double as ground contacts. Receptacle connector can further include two contacts 225 (sometimes referred to as “connector detect” contacts) that are positioned slightly behind and on each side of the row of contacts 205(1) . . . 205(8). Contacts 225 can be used to detect when the plug connector 240 is inserted within cavity 210 as well as when the plug connector 240 is pulled out of cavity 210 and disengaged from connector 200.
Since cavity 210 is exposed at exterior surface 215 of an electronic device, it is possible for a liquid (e.g., water or sweat) to get into the cavity and cover one or more of contacts 205(1) . . . 205(8). For example, as shown in
Some embodiments of the disclosure pertain to a system and method for protecting an electronic device, such as a consumer electronics portable device, having a connector such as connector 100 or 200 from potential damage or corrosion that might otherwise occur when the contacts of the connector are exposed to a liquid, such as liquid 230. Embodiments of the disclosure can reliably detect the presence of a short circuit-causing liquid (e.g. sweat, pool water, tap water, sea water, rain, or a beverage) in an external connector of the electronic device and reduce or terminate the voltage supplied to the connector such that the voltage across the electrical contacts of the connector is reduced or dropped to zero in response to having detected the presence of the short-circuit or corrosion causing moisture. Embodiments of the disclosure can provide such protection while distinguishing instances when solids or liquids that are not likely to cause corrosion are present on one or more contacts instead of potentially harmful liquids.
In order to better appreciate and understand various embodiments of the disclosure, reference is made to
As shown in
Connector 310 can be a computer peripheral serial bus connector, such as a Universal Serial Bus (USB) compliant connector, a Lightning connector developed by Apple Inc. or another connector that serves to pass both a power supply voltage as well as digital and/or analog control or communication signals to an external device. Connector 310 can include multiple contacts 315 located within a cavity (not shown in
Multiplexor 320 can be operatively coupled at an output to one or more of contacts 315 and at inputs to LDM 330 as well as to one or more communication interfaces or other circuitry represented by additional components 340. During normal operation, multiplexor 320 connects various ones of contacts 315 to communication circuitry within device 300 (represented in
In some embodiments multiplexor 320 can also selectively route signals from LDM 330 onto one or more of the contacts 315 to conduct a liquid intrusion test as discussed below. In some embodiments the liquid detection testing signals are routed over a contact that is not currently being used for data signals, control signals or other purposes. In such embodiments, multiplexor 320 can decouple the pin from other circuitry within device 300 and connect the pin to LDM 330. In this manner, embodiments of the disclosure can conduct liquid detection tests without impairing or otherwise interrupting the normal communications that may be occurring over connector 310. In other embodiments, connector 310 can include one or more contacts 315 that are solely dedicated to the liquid detection operation in which case multiplexor 320 is not needed to couple and decouple circuitry to a particular contact for the liquid detection function. Additionally, in some embodiments the sensing conductor could be a dedicated part of the connector that does not form a contact, or it could be a power or ground pin that is temporarily decoupled from active circuits on both sides of the connector.
When a liquid intrudes within the cavity of connector 310 and comes into contact with one or more of contacts 315, energy can be stored at the contact by the double layer capacitance effect as discussed above. LDM 330 can generate and apply a time varying signal to a contact over a range of frequencies and can measure complex impedance at a contact in connector 310 to determine whether liquid intrusion has occurred on the contacts. In some embodiments, LDM 330 can apply a sinusoidal wave of voltage to a contact and measure the current that comes back. In other embodiments, LDM 330 can apply a sinusoidal wave of current to a contact and measure the voltage that comes back.
In the embodiment shown in
AFE 332 can also sample voltage or current measured at the contact being tested. The sampled data can then be sent over line(s) 338 to be analyzed by digital processor 334 to examine capacitive phase and magnitude shifts over the frequency of the signal to detect a potential double layer capacitor formed by the liquid. In some embodiments digital processor 334 is a digital signal processor (DSP) dedicated to the liquid detection process. In other embodiments, digital processor 334 can be included within an audio codec or similar component that electronic device 300 uses to code and decode digital data streams of audio for media playback and other purposes. In still other embodiments, digital processor 334 can be included within the main processing unit (represented by additional components 340) of electronic device 300 instead of a separate component.
Digital processor 334 can analyze the sampled data looking for signatures in phase and magnitude versus frequency that are indicative of a potentially harmful liquid as compared to a solid or a liquid that does not include any dissolved material and is thus likely to not be corrosive. In some embodiments, signal analyzer can employ a relatively straight forward decision tree in assessing whether a liquid or solid is present on the contacts. In other embodiments digital processor 334 can employ a more complex classifier using machine learning and pattern recognition techniques. The signatures can be based on data generated from previous measurements as discussed in more detail below. First, however, further details of one embodiment of AFE 332 are discussed below with respect to
As shown in
To achieve accurate detection of a potentially harmful liquid on one or more contacts while minimizing false positive results, the inventors ran numerous experiments on both real resistors and various liquids to determine the characteristics of each at different frequencies using electrochemical impedance spectroscopy (EIS) measurements. The results of some of those experiments are set forth in
When a liquid is present on a connector's contacts, the impedance and frequency shift characteristics over different frequencies are quite different from those shown in
After thoroughly reviewing and characterizing the measurements on both real resistor and various liquids from
In some embodiments the liquid intrusion test of step 930 is a multi-step test in which impedance and phase values measured during step 920 are compared to specific impedance and phase values from previously measured data sets the represent signatures of phase and magnitude versus frequency for known resistors having different resistance levels and different, known liquids. It is to be understood that test 930 set forth in
In some embodiments of the disclosure, multi-step test 930 can be implemented by digital processor 334 and associated circuitry shown in
If the resistance is less than the predetermined value, test 930 then checks the phase of the signal at 100 Hz (step 932). If the phase at 100 Hz (or a value close to 100 Hz) is zero or within a predetermined range of zero (e.g., ±5 degrees or ±2 degrees) it is likely that any material on the contact being tested is either not a liquid or a liquid that is not likely to cause corrosion as shown in
If the impedance is determined to be flat in step 933, some embodiments can perform an additional test by determining if the capacitance at a particular frequency is less than a predetermined amount that represents the maximum stray capacitance in the measured circuit (step 934). As an example, in some embodiments step 934 determines the capacitance on the measured contact at 10 kHz and assumes that anything less than 100 pF indicates the contact is dry. To determine the capacitance embodiments of the disclosure can measure the magnitude and phase of the impedance between the signal and the reference and derive capacitance from the vector of the magnitude and phase of the measurement according to the following formula:
C=1/(2×π×frequency×imaginary impedance) (1)
where the magnitude times the cosine of the phase equals the real part of the impedance, and where the magnitude times the sine of the phase equals the imaginary part of the impedance.
If each of steps 931, 932, 933 and 934 generate positive results, it is likely that any material on the contact being tested is not a liquid (step 935). If, instead, step 932 determines that the phase at 100 Hz is not zero, step 933 determines that impedance is not flat in the predetermined range, or step 934 generates negative results (i.e., the capacitance at a specified predetermined frequency is greater than the predetermined amount, e.g., 100 pF), test 930 next checks whether the phase at a low frequency (e.g., 10 Hz) is less than a predetermined negative value (step 936). In some embodiments, step 936 checks to see if the phase at 10 Hz is less than −30 degrees. If the phase is not less than −30 degrees, a comparison of
If step 936 indicates that the phase at 10 Hz is less than the predetermined value, test 900 can proceed to determine whether the impedance at the contact is falling between 10 Hz and 1,000 Hz as shown, for example, in
If the impedance is falling in step 937, having met the threshold for each of the previous steps 931, 932 and 933, test 930 can determine that the material on the contact(s) being tested is likely to be a potentially harmful liquid and take appropriate action (
When the decision logic is based on the test results from
Once electronic device 300 determines that a potentially harmful liquid is present on its contacts, a variety of actions can be undertaken (
In some embodiments, electronic device 300 can delay implementing the function (e.g., by software executing on the device's main processor) for a predetermined amount of time after detecting liquid intrusion. For example, if a charging cable is mated with electronic device 300 and device 300 determines that liquid is present on contacts 315, device 300 may delay the initiating of the charging operation for an hour or some other predetermined amount of time that is believed to be sufficient to allow the liquid to dry before initiating charging. In other embodiments, after detecting liquid on the contacts device 300 can implement a timer to rerun test 900 every X minutes (e.g., 5, 10 or 15 minutes) until liquid is no longer detected. Thus, for example, if it takes half an hour for the liquid to fully dry such that test 930 can be passed, device may run test 930 at 0 minutes, 10 minutes, and 20 minutes with the test failing on each occasion. When test 930 then passes on the fourth attempt, charging can be initiated.
In other embodiments, electronic device 300 can initiate charging even when liquid is detected on contacts 315 but then run test 930 again every Y minutes (e.g., 5, 10 or 15 minutes) to determine if liquid is still present. If a small amount of liquid was present when charging was initiated, the charging process may result in a small amount of corrosion that is not particularly detrimental to the contacts. Gases can be generated during the corrosion forming process that consume the liquid. Thus, if a fixed amount of liquid is present within the connector, the corrosion forming process is self-limiting and test 930 can be passed when subsequently run a second, third or some future iteration. If after a predetermined number of attempts test 930 is still not passed, electronic device 300 can terminate the charging process. This may occur, for example, if device 300 is exposed to an ongoing large source of liquid (e.g., a puddle or a user continuously sweating).
Additionally, in some embodiments, portable electronic device 300 can include a context awareness module (not shown) that can be, for example, a software program that collects various data (including output from one or more sensors included within device 300) within electronic device 300 and analyzes the collected data to form various conclusions on context awareness (including location awareness). The context awareness data may include context types such as the location of device 300, the identity and role of a user of device 300, the activity in which the user is engaged and the time of day. The context awareness data can be used to determine whether or not to initiate test 930. For example, in some embodiments, test 900 might only be initiated if the context awareness module determines that there is a higher than a predetermined percent chance that liquid may have intruded into the connector cavity.
Reference is now made to
A cable 1130 can be attached to body 1115 at an end opposite of insertion end 1110. The insertion end 1110 is sized to be inserted into the cavity of receptacle connector 200 during a mating event. Connector 1100 also includes retention features 1140 on opposing sides of the connector (only one is visible in
While certain embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that the invention is not limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those of ordinary skill in the art. For example, while embodiments of the disclosure were primarily discussed with respect to detecting liquid on a receptacle connector, such as connector 100 or 200, embodiments of the disclosure can also be used to detect liquid on a plug connector, such as connector 1100 or other types of plug connectors. The description above is thus to be regarded as illustrative instead of limiting.
Number | Name | Date | Kind |
---|---|---|---|
3927351 | Lambertsen | Dec 1975 | A |
6313646 | Davis et al. | Nov 2001 | B1 |
6318172 | Byatt et al. | Nov 2001 | B1 |
6885201 | Germiquet et al. | Apr 2005 | B2 |
7571637 | Chen et al. | Aug 2009 | B2 |
9335355 | Menzel et al. | May 2016 | B2 |
20060058069 | Garcia et al. | Mar 2006 | A1 |
20060208914 | Liu et al. | Sep 2006 | A1 |
20120299555 | Tam et al. | Nov 2012 | A1 |
20140313039 | Stevens | Oct 2014 | A1 |
20160313270 | Connell et al. | Oct 2016 | A1 |
20170110835 | Hasegawa | Apr 2017 | A1 |
20170358922 | Bacon et al. | Dec 2017 | A1 |
Number | Date | Country |
---|---|---|
104067184 | Sep 2014 | CN |
106598818 | Apr 2017 | CN |
2390673 | Nov 2011 | EP |
2680043 | Jan 2014 | EP |
201301625 | Jan 2013 | TW |
2013007542 | Jan 2013 | WO |
Entry |
---|
International Search Report and Written Opinion for PCT/US2018/048253 dated Dec. 12, 2018, 15 pages. |
Office Action for TW107130420 dated Dec. 17, 2019, 12 pages. |
Number | Date | Country | |
---|---|---|---|
20190079037 A1 | Mar 2019 | US |