System for charging wireless communication device

By integrating the capacitive sensing circuit and processor in the wireless device housing, intelligent charging management of wireless devices is achieved, the problem of energy dissipation and corrosion of electrical components is solved, and charging efficiency and communication management are improved.

CN112075006BActive Publication Date: 2024-10-11GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201880092872.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-07
Publication Date
2024-10-11
Estimated Expiration
2038-09-07

AI Technical Summary

Technical Problem

Existing wireless device casings are inefficient due to energy dissipation and corrosion of electrical components during long-term use, and sensors consume a large amount of energy, making it difficult to efficiently manage the charging status of wireless devices.

Method used

A housing including a capacitive sensing circuit, transceiver and processor is designed to detect the presence and status of wireless devices through the capacitive sensing circuit, adjust the sampling rate and communication rate, realize smart charging, and deactivate through high impedance signals Unnecessary electrical components to save energy.

Benefits of technology

It realizes intelligent and efficient charging of wireless devices, reduces energy loss and corrosion, improves the efficiency of two-way communication management between the casing and the device, and saves power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112075006B_ABST
    Figure CN112075006B_ABST
Patent Text Reader

Abstract

A housing (100) is provided for accommodating one or more wireless devices (180) (such as wireless earbuds) and charging the one or more wireless devices (180). The housing (100) includes a capacitance sensing circuit (120) for detecting whether the wireless device (180) is positioned inside the housing (100) based on the capacitance of the wireless device (180). The housing (100) also includes a transceiver (150) for transmitting data to the wireless device (180) and receiving data from the wireless device (180). When the wireless device (180) is positioned inside the housing (100), an electrical component (110) inside the housing operably connects the capacitance sensing circuit (120) and the transceiver (150) of the housing (100) to the wireless device (180). The housing (100) further includes one or more processors (140) for controlling the capacitance sensing circuit (120), the transceiver (150), and the electrical component (110).
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Wireless devices typically require one or more batteries, such as rechargeable batteries, to provide power to the wireless device. Such rechargeable batteries need to be recharged or replaced periodically. The housing used to house the wireless device can be configured to charge the batteries of the wireless device and communicate with the wireless device. As such, electrical components such as wires and contacts are often required to enable communication and charging. However, when such electrical components remain active for an extended period of time, energy dissipation may result and they may be more susceptible to corrosion.

[0002] Electromechanical sensors can be used to detect the condition of the case and wireless device. Such sensors also consume a lot of energy when active for extended periods of time. Summary of the invention

[0003] The present disclosure provides a shell configured for charging one or more wireless devices, the shell comprising a capacitance sensing circuit configured to detect whether the one or more wireless devices are positioned inside the shell; a transceiver configured to transmit data to and receive data from the one or more wireless devices; an electrical component operably connected to the capacitance sensing circuit and the transceiver, wherein, when the one or more wireless devices are positioned inside the shell, the electrical component is configured to operably connect the capacitance sensing circuit and the transceiver to the one or more wireless devices; and one or more processors configured to control the capacitance sensing circuit, the transceiver, and the electrical component; wherein the one or more processors are configured to determine whether to charge the one or more wireless devices based on detection of the capacitance sensing circuit and data received by the transceiver.

[0004] The housing may further include a sensor configured to detect whether the housing is open or closed; wherein the one or more processors may be configured to: activate the capacitive sensing circuit when it is detected that the housing is open, and deactivate the capacitive sensing circuit when it is detected that the housing is closed. The one or more processors may be configured to: set a sampling rate of the capacitive sensing circuit to a predetermined low sampling rate when it is detected that the one or more wireless devices are positioned inside the housing, and set the sampling rate of the capacitive sensing circuit to a predetermined high sampling rate when it is not detected that the one or more wireless devices are positioned inside the housing.

[0005] When the one or more wireless devices are detected to be inside the housing by the capacitive sensing circuit, the one or more processors may be configured to enable communication by activating a transceiver and electrical components for transmitting data to or receiving data from the one or more wireless devices. The one or more processors may be configured to control the transceiver to initiate communication with the one or more wireless devices when the detection data from the capacitive sensing circuit indicates that the one or more wireless devices have been positioned inside the housing for a predetermined period of time.

[0006] The data received by the transceiver may include: whether the one or more wireless devices are in working mode or factory mode; wherein the one or more processors may be configured to: when the one or more wireless devices are in working mode, set the communication rate of the transceiver to a predetermined high communication rate, and when the one or more wireless devices are in factory mode, set the communication rate of the transceiver to a predetermined low communication rate. The data received by the transceiver may include the charging status of the one or more wireless devices.

[0007] The one or more processors may be configured to set the communication rate of the transceiver to a predetermined high communication rate when the charging status indicates that the one or more wireless devices are below a predetermined sufficient charge threshold, and to set the communication rate of the transceiver to a predetermined low communication rate when the charging status indicates that the one or more wireless devices are at or above a predetermined sufficient charge threshold. The one or more processors may be configured to set the communication rate of the transceiver to a predetermined high communication rate when the one or more wireless devices are charged inside the housing, and to set the communication rate of the transceiver to a predetermined low communication rate when the one or more wireless devices are not charged inside the housing.

[0008] When the one or more wireless devices are not responding to the communication, the one or more processors may be configured to activate charging of the one or more wireless devices. When the charging status indicates that the one or more wireless devices are below a predetermined sufficient charge threshold, the one or more processors may be configured to activate charging of the one or more wireless devices. The one or more processors may be configured to determine that the charging status of the housing is below a predetermined critically low charge threshold and stop charging the one or more wireless devices when the one or more wireless devices are charged to a predetermined minimum charge threshold.

[0009] The housing may further include: a sensing line that operably connects the capacitive sensing circuit to the electrical component; and an input / output line that connects the one or more processors to the electrical component; wherein the input / output line at least partially overlaps the sensing line. The one or more processors may be configured to deactivate the electrical component by sending a high impedance signal to the input / output line.

[0010] The housing may further include: a pull-up resistor that operably connects the output of the one or more processors to the electrical component and operably connects the capacitive sensing circuit to the electrical component; a pull-down resistor that connects the electrical component to a ground that is shared with the one or more wireless devices; and wherein the pull-down resistor has a resistance value that is at least an order of magnitude greater than the pull-up resistor.

[0011] The present disclosure further provides a system, which includes: a shell, which is used to charge the one or more wireless devices, the shell including a capacitance sensing circuit, which is configured to detect whether the one or more wireless devices are positioned inside the shell; a first transceiver, which is configured to transmit data to the one or more wireless devices and receive data from them; an electrical component, which is operably connected to the capacitance sensing circuit and the transceiver, wherein, when the one or more wireless devices are positioned inside the shell, the electrical component is configured to operably connect the capacitance sensing circuit and the transceiver to the one or more wireless devices; and one or more processors, which are configured to control the capacitance sensing circuit, the transceiver and the electrical component, wherein the one or more processors are configured to determine whether to charge the one or more wireless devices based on detection of the capacitance sensing circuit and data received by the transceiver; and the one or more wireless devices, including a second transceiver, for transmitting data to the shell and receiving data from the shell.

[0012] The one or more wireless devices of the system may further include: a second capacitance sensing circuit configured to detect whether the one or more wireless devices are positioned inside the shell; wherein, when the second capacitance sensing circuit detects that the one or more wireless devices are positioned inside the shell, the second transceiver of the one or more wireless devices is configured to initiate communication with the first transceiver of the shell.

[0013] The present disclosure further provides a method for charging one or more wireless devices through a shell, the method comprising: activating a capacitive sensing circuit by one or more processors to detect whether the one or more wireless devices are positioned inside the shell; upon detecting that the one or more wireless devices are positioned inside the shell, activating a transceiver by the one or more processors to initiate communication between the shell and the one or more wireless devices; receiving a charging status of the one or more wireless devices from the one or more wireless devices; and determining by the one or more processors whether to charge the one or more wireless devices based on the charging status of the one or more wireless devices.

[0014] The method may further include: activating, by the one or more processors, a sensor for detecting whether the housing is open or closed; and adjusting, by the one or more processors, a sampling rate of a capacitive sensing circuit based on whether the housing is open or closed. The method may further include adjusting, by the one or more processors, a communication rate of a transceiver based on a charging state of the one or more wireless devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 An example system according to aspects of the present disclosure is illustrated.

[0016] Figure 2 It is a graphic Figure 1 A visual diagram of an example physical structure of a system.

[0017] Figure 3 It is a graphic Figure 1 A circuit diagram of an example implementation of a system.

[0018] Figure 4 Another example system according to aspects of the present disclosure is illustrated.

[0019] Figure 5 Another example system according to aspects of the present disclosure is illustrated.

[0020] Figure 6 is a block diagram of an example system according to aspects of the present disclosure.

[0021] Figure 7 is an example flow chart illustrating an example method according to aspects of the present disclosure.

[0022] Figure 8 is an example flow chart illustrating another example method according to aspects of the present disclosure.

[0023] Fig. 9 is an example flow chart illustrating another example method according to aspects of the present disclosure.

[0024] Fig.10is an example flow chart illustrating another example method according to aspects of the present invention. DETAILED DESCRIPTION

[0025] Overview

[0026] The technology generally relates to a housing for accommodating and charging one or more wireless devices (such as wireless earbuds). The housing includes a capacitive sensing circuit for detecting whether the wireless device is positioned inside the housing based on the capacitance of the wireless device. The housing also includes a transceiver for transmitting data to the wireless device and receiving data from the wireless device. When the wireless device is positioned inside the housing, the electrical components inside the housing operably connect the capacitive sensing circuit and the transceiver of the housing to the wireless device. The housing further includes one or more processors for controlling the capacitive sensing circuit, the transceiver, and the electrical components. For example, one or more processors can be configured to control the sampling rate of the capacitive sensing circuit, the communication rate of the transceiver, and / or the charging of the wireless device.

[0027] The capacitance sensing circuit has a sensing line connected to the electrical component. In this regard, the capacitance sensing circuit can send a sensing pulse to the electrical component via the sensing line. When no wireless device is positioned inside the housing, the capacitance sensing circuit can detect the capacitance of the circuit from the housing itself (e.g., from the transceiver of the housing). Conversely, when one or more wireless devices are positioned inside the housing so that the electrical component operably connects the one or more wireless devices to the capacitance sensing circuit, the capacitance sensing circuit can detect the additional capacitance from the wireless device. Because this additional capacitance is caused only by the presence of the internal circuit of the wireless device, the presence of the wireless device can be detected even if the wireless device is completely out of power or powered off. In addition, a strong pull-up resistor can be implemented on the sensing line to provide a logic 1 signal during communication and provide electrostatic discharge protection for the capacitance sensing line, while a weak pull-down resistor can be implemented to connect the electrical component to ground, which sets the input level of the wireless device to logic 0 when the wireless device is not connected to the housing.

[0028] One or more processors control the capacitive sensing circuit by generating a control signal to the capacitive sensing circuit. The control signal can allow the capacitive sensing circuit to send a sensing pulse through the sensing line and can also receive a capacitance detection through the sensing line. One or more processors can further control the sampling rate of the sensing pulse based on the state of the shell. For example, the capacitive sensing circuit can be configured to send a sensing pulse at a predetermined low sampling rate when the shell is in a standby state to save energy, and to send a sensing pulse at a predetermined high sampling rate when the shell is in an active state to reduce the detection delay. As another example, the capacitive sensing circuit can be configured to send a sensing pulse at a predetermined low sampling rate, or even stop sensing when the shell is closed, because it can be assumed that no wireless device can be placed in or removed from the shell, or if the shell is open, a sensing pulse is sent at a predetermined high sampling rate, because when the shell is open, it is possible that at some point the wireless device will be placed inside the shell or removed from the shell. In this regard, the shell can additionally include a proximity sensor, such as a Hall effect sensor, for detecting whether the shell is open or closed. As yet another example, the capacitive sensing circuit may be configured to send sensing pulses at a predetermined low sampling rate when a wireless device is detected because it may be assumed that the wireless device is plugged in for charging or storage for at least a certain period of time, and to send at a predetermined high sampling rate when no wireless device is detected, thereby reducing latency in detecting insertion of a wireless device.

[0029] When the wireless device is connected to the electrical component, the transceiver can transmit data to the wireless device and receive data from the wireless device. The transceiver can be implemented as half-duplex communication, so that the transceiver can either transmit data to the wireless device or receive data from the wireless device through the electrical component, but not both at the same time. A strong pull-up resistor can be implemented on the input / output line of the housing to provide a logic "1" to the transceiver. The input / output line of the housing can have a portion that overlaps with the sensing line of the capacitive sensing circuit, or can be implemented as a completely separate line. When the wireless device is not in the housing or is powered off, connecting the electrical component to a weak pull-down resistor to ground can set a logic "0" to the input line. A pull-up resistor that is much stronger (lower resistance) than a weak pull-down resistor (higher resistance) can be selected.

[0030] One or more processors control the transceiver by generating a control signal to the input / output line. The control signal may be a logic 1 signal that enables communication between the transceiver of the housing and the transceiver of the wireless device through the electrical component. The one or more processors may further control the communication direction and frequency of the transceiver. For example, the transceiver may be configured to ping the wireless device at a predetermined low communication rate when the wireless device is fully charged, and ping the wireless device at a predetermined high communication rate when the wireless device is not fully charged or cannot respond to communication. As another example, the transceiver may be configured to ping the wireless device at a predetermined low communication rate when the wireless device is or was in factory mode, or ping the wireless device at a predetermined low communication rate when the wireless device is or was in working mode. As yet another example, the transceiver may be configured to ping the wireless device based on detection data from a capacitive sensing circuit, which indicates that the wireless device has been positioned in the housing for a certain period of time and may therefore have been discharged. As yet another example, the transceiver may be configured to ping the wireless device at a predetermined high communication rate when the housing is open, and to ping the wireless device at a predetermined low communication rate when the housing is closed.

[0031] The one or more processors may control the charging of the wireless device based on the detection of the wireless device by the capacitive sensing circuit and the data received by the transceiver, which data may include battery life information. For example, the one or more processors may be configured to enable charging whenever the wireless device is not fully charged, or only when the wireless device is not fully charged to a predetermined fully charged threshold. As another example, the one or more processors may control the extent to which the wireless device is charged based on the charging state of the housing, so that if the housing has a critically low charge, the wireless device is only charged to a predetermined minimum charging threshold. As yet another example, the one or more processors may control charging based on detection data from the capacitive sensing circuit, which indicates that the wireless device has been positioned in the housing for a certain period of time and may therefore have been discharged. Charging may be accomplished through a separate connection between the battery of the electrical component or housing and the battery of the wireless device.

[0032] The one or more processors can further reserve power for the housing by disabling capacitive sensing circuits, transceivers, Hall effect sensors, input / output / sensing lines, and / or electrical components. To disable the input / output / sensing lines and electrical components, the one or more processors can generate a high impedance signal (a high Z logic state of a tri-state logic gate) at the input / output / sensing lines, which is then passed through the electrical components. The high impedance signal effectively removes the influence of the input / output / sensing lines and electrical components of the remaining circuits, and thereby reduces energy loss and corrosion on the input / output / sensing lines and electrical components.

[0033] The technology is advantageous because it provides a housing for intelligent and efficient charging of wireless devices. By using capacitive sensing, the housing can detect the wireless device inside even if the wireless device is completely discharged or powered off. The housing also provides two-way communication between the housing and the wireless device inside to better manage efficient charging. In addition, energy can be saved by adjusting the sampling rate of capacitive sensing and the communication rate of the transceiver, and by selectively turning capacitive sensing and communication on and off. Further energy can be saved by controlling the extent to which the wireless device is charged. Still further, the housing uses high impedance signals to deactivate unnecessary signal / power lines to further reduce energy loss and corrosion.

[0034] Example System

[0035] Figure 1 A simplified circuit diagram of an example system including an example housing 100 and a wireless device 180 is shown. Although only one wireless device 180 is shown in this example, the housing 100 can be configured to charge multiple wireless devices. The housing 100 includes an electrical component 110 such that when the wireless device 180 is positioned inside the housing 100, the electrical component 110 operably connects the circuitry of the housing 100 to the circuitry of the wireless device 180. Although the electrical component 110 is shown as a single wire, the electrical component 110 can include one or more wires, one or more electrical contacts, or a bus having multiple pins.

[0036] For example, Figure 2 Provide illustration Figure 1100 and a wireless device 180. As shown in this example, the housing 210 houses a pair of wireless earbuds 230. The earbuds 230 can be wireless because they do not need to be wired to a music player, phone, or other device to be powered. The earbuds 230 include one or more batteries 232 that provide power to the earbuds 230 and other components therein such as a transceiver 234, a sensor, an amplifier, etc. In view of the small size of the earbuds 230, the battery 232 of the earbuds 230 can be relatively small. The housing 210 in which the earbuds 230 are shipped and stored can have a larger battery 212. This larger battery 212 of the housing 210 can deliver charge to the smaller battery 232 of the earbuds 230. Data can be transmitted between the transceiver 234 of the earbuds 230 and the transceiver 214 of the housing 210. The sensor 216 of the housing 210 can be configured to detect various conditions, such as whether the earbud 230 is inside the housing 210, and whether the housing 210 is open or closed.

[0037] When the earplug 230 is placed inside the housing 210 in a given orientation, the contacts 238 on the earplug 230 can contact the contacts 218 on the housing 210 to establish an electrical connection. For example, the contacts 238 and 218 can be Figure 1 . The electrical connections may include a power line connection between a charger for the battery 212 of the housing 210 and an output booster for the battery 232 of the earbud 230, a communication connection between the transceiver 214 of the housing 210 and the transceiver 234 of the earbud 230, a sensing connection between the sensor 216 of the housing 210 and the earbud 230, and a ground line connection. In some examples, each earbud may operate independently and therefore establish separate electrical connections with the two earbuds.

[0038] Although Figure 2 The examples of the present invention illustrate the wireless device as an earbud, but it should be understood that the wireless device may alternatively be any of a number of wireless devices, such as a phone, a phone accessory, a smart watch, a toy, a gaming system, a tablet, etc. Although Figure 2 The examples illustrate the housing as a container surrounding the earplug, but it should be understood that the housing may alternatively be any of a variety of shapes, such as a holder, a protective cover, etc.

[0039] Return to reference Figure 1, the housing 100 includes a capacitance sensing circuit 120 for detecting whether the wireless device 180 is positioned inside the housing 100 based on the capacitance of the wireless device 180. The capacitance sensing circuit 120 sends and receives signals through a sensing line 130 connected to the electrical component 110. In this regard, the capacitance sensing circuit 120 can send a sensing pulse to the electrical component 110 through the sensing line 130. When there is no wireless device 180 positioned inside the housing 100, the capacitance sensing circuit 120 can detect the capacitance from the circuit of the housing 100 itself (e.g., from the transceiver 150 of the housing 100). Conversely, when the wireless device 180 is positioned inside the housing 100 so that the electrical component 110 operably connects the wireless device 180 to the capacitance sensing circuit 120, the capacitance sensing circuit 120 can detect the additional capacitance from the wireless device 180. Because this additional capacitance is caused only by the presence of the internal circuit of the wireless device 180, the presence of the wireless device 180 can be detected even if the wireless device 180 is completely unpowered or powered off. For example, capacitance sensing circuit 120 may be configured to detect changes in capacitance as small as a fraction of a pico-Farad (pFs).

[0040] As shown, a strong pull-up resistor 132 can be implemented on the sense line 130 to provide a drive signal of logic 1 during communication between the transceivers 150 and 190 and prevent electrostatic discharge (ESD) to the capacitive sensing circuit 120. In this way, electrostatic charge can be dissipated through the strong pull-up resistor 132 instead of passing the electrostatic charge through the sense line 130 to interfere with the capacitive sensing signal. For example, the strong pull-up resistor 132 can have a value between 100Ω and 10kΩ. Weak pull-down resistors 134 and 198 can be implemented to connect the electrical component 110 to ground, thereby setting a logic level 0 at the transceiver 150 and transceiver 190 input when the strong pull-up resistor 132 is not activated or the wireless device 180 is not attached. In this way, the noise signal on the sense line 130 is routed to ground instead of being passed through the sense line 130 to the capacitive sensing circuit 120 or one or more processors 140. For example, the weak pull-down resistor 134 may have a value between 100 KΩ and 10 MΩ.

[0041] The one or more processors 140 are configured to control the capacitive sensing circuit 120. In this regard, the one or more processors 140 may be provided with a connection 142 to the capacitive sensing circuit 120. The one or more processors 140 may generate a control signal and send the control signal to the capacitive sensing circuit 120 via the connection 142. The control signal may be an enable signal that enables the capacitive sensing circuit 120 to send a sensing pulse via the sensing line 130 and also receive a capacitive detection via the sensing line 130. The control signal may drive the capacitive sensing circuit 120 to output a high level, which enables the pull-up resistor 132 during communication between the transceivers 150 and 190. The control signal may also be a disable signal that disables the capacitive sensing circuit 120. The one or more processors 140 may also receive detection data from the capacitive sensing circuit 120 via the connection 142, or alternatively via a separate connection.

[0042] The one or more processors 140 may further generate a control signal that controls the sampling rate of the sensing pulses sent by the capacitive sensing circuit 120. For example, the one or more processors 140 may determine an appropriate sampling rate based on the state of the housing 100. For example, when the housing 100 is in a standby state, the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 to a predetermined low sampling rate, such as between about 1 Hz-10 Hz. As another example, when the housing 100 is in an active state, the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 to a predetermined high sampling rate, such as up to about 10 Hz to 100 Hz. It should be understood that the example sampling rates set forth herein are merely non-limiting examples, and other high or low sampling rates may be predetermined. While a lower sampling rate may save energy for the housing 100, a higher sampling rate may reduce the detection latency of the housing 100. In this regard, an active state may be a state in which the housing 100 actively performs one or more functions, such as broadcasting music or displaying information to a user; and a standby state may be a state in which the housing 100 does not actively perform any function.

[0043] The one or more processors 140 may further determine an appropriate sampling rate based on detections from other sensors. Figure 1As shown in , the housing 100 further includes a proximity sensor 160, such as a Hall effect sensor, for detecting whether the housing 100 is open or closed. The one or more processors 140 are configured to control the proximity sensor 160. In this regard, the one or more processors 140 may be provided with a connection 144 to the capacitive sensing circuit 120. The one or more processors 140 may generate a control signal and send the control signal to the proximity sensor 160 via the connection 144. The control signal may be an enable signal to enable the proximity sensor 160 or a disable signal to disable the proximity sensor 160. The one or more processors 140 may also receive detection data from the proximity sensor 160 via the connection 144.

[0044] The one or more processors 140 may determine an appropriate sampling rate based on detection from the proximity sensor 160. For example, if the housing 100 is detected to be closed, it may be assumed that no wireless device may be placed inside or removed from the housing 100, so the one or more processors 140 may deactivate the capacitive sensing circuit 120 to save energy. Conversely, if the housing 100 is detected to be open, a wireless device may be placed inside or removed from the housing 100 at some point, so the one or more processors 140 may activate the capacitive sensing circuit 120 to actively monitor the presence of the wireless device. In another example, instead of activating / deactivating the capacitive sensing circuit 120, the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 based on whether the housing 100 is open or closed. For example, the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 to a predetermined low sampling rate when the housing 100 is detected to be closed, and set the sampling rate of the capacitive sensing circuit 120 to a predetermined high sampling rate when the housing 100 is detected to be open.

[0045] The one or more processors 140 may further determine an appropriate sampling rate based on the presence of the wireless device 180. As described above, the one or more processors 140 may receive detection data from the capacitive sensing circuit 120 via the connection 142. For example, once the wireless device 180 is detected inside the housing 100, it may be assumed that the wireless device 180 is inserted into the housing 100 for charging or storage for at least a certain period of time, and thus the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 to a predetermined low sampling rate. Conversely, if the wireless device 180 has not yet been detected inside the housing 100, the capacitive sensing circuit 120 may take a more active role to detect the insertion of the wireless device 180 as quickly as possible so that charging or communication can begin shortly after the wireless device 180 is inserted into the housing 100, and thus the one or more processors 140 may set the sampling rate of the capacitive sensing circuit 120 to a predetermined high sampling rate.

[0046] The housing 100 also includes a transceiver 150 for transmitting and receiving data to and from the wireless device 180. To enable communication with the housing 100, the wireless device 180 also includes a transceiver 190 for transmitting and receiving data to and from the housing 100. The transceiver 190 of the wireless device 180 may be the same as or different from the transceiver 150 of the housing 100. In some examples, the wireless device 180 may further include a capacitive sensing circuit for detecting whether it is placed inside the housing 100. For example, the wireless device 180 may initiate communication with the housing 100 upon detecting that the wireless device 180 has been placed inside the housing 100.

[0047] Figure 3 1 is a simplified circuit diagram showing an example implementation of the transceiver 150 of the housing 100 and the transceiver 190 of the wireless device 180. As shown, the transceiver 150 may include a universal asynchronous receiver-transmitter 152 ("UART") for controlling data transmission in a sequential manner. The transceiver 150 may be implemented for half-duplex communication. In this regard, the transmitter 154 is connected to the receiver 156, in which way the transceiver 150 either transmits data to the wireless device 180 or receives data from the wireless device 180 through the electrical component 110, but not both at the same time. As shown, in this example, the transceiver 190 of the wireless device 180 is implemented in the same manner as the transceiver 150 of the housing 100, including a UART 192 (transmitter 194 is connected to receiver 196) for controlling data transmission in a sequential manner and its configuration for half-duplex communication.

[0048] Return to reference Figure 1 , the one or more processors 140 are configured to control the transceiver 150 of the housing 100. In this regard, the one or more processors 140 may be provided with an input / output line 146 connected to the electrical component 110. As shown, the input / output line 146 in this example partially overlaps the sensing line 130 (the portion between the capacitance sensing circuit 120 and the electrical component 110). The one or more processors 140 may generate a control signal to the electrical component 110 via the input / output line 146, which in turn is connected to the transceiver 150. The control signal may be a logic 1 signal that enables communication between the transceiver 150 of the housing 100 and the transceiver 190 of the wireless device 180 through the electrical component 110. Alternatively, the control signal may be a high impedance signal (such as a high Z logic state of a tri-state logic gate) that disables communication between the transceiver 150 of the housing 100 and the transceiver 190 of the wireless device 180. The one or more processors 140 may be provided with a connection 147 to send and receive data to and from the transceiver 150 .

[0049] As shown in this example, when the input / output line 146 partially overlaps the sense line 130 for capacitive sensing, the strong pull-up resistor 132 and the weak pull-down resistor 134 can also be used to provide logic values ​​for communication between the housing 100 and the wireless device 180. The strong pull-up resistor 132 provides a logic 1 during active communication, while the weak pull-down resistor 134 provides a logic 0 when the strong pull-up resistor 132 is not involved in communication, so that the input to either of the transceivers 150 and 190 has a known logic level of 0. In this regard, the resistance values ​​of the strong pull-up resistor 132 and the weak pull-down resistors 134 and 198 can be selected so that when the strong pull-up resistor 132 is engaged, the inputs of the transceivers 150 and 190 have a known logic level of 1, and the strong pull-up resistor 132 provides sufficient ESD protection for the capacitive sensing circuit 120. The strong pull-up resistor 132 and the weak pull-down resistors 134, 198 can be selected to have different resistance values. For example, strong pull-up resistor 132 may be selected to be much stronger (lower resistance) than weak pull-down resistors 134, 198 (higher resistance). For example, the value of strong pull-up resistor 132 may be between 100Ω and 10kΩ, while the values ​​of weak pull-down resistors 134 and 198 may be between 100kkΩ and 10MΩ.

[0050] Although in this example, the input / output line 146 partially overlaps the sensing line 130, in other examples, the input / output line 146 and the sensing line 130 may be implemented as completely separate lines. Figure 4 is a simplified circuit diagram of another example housing 100A. Example housing 100A includes many of the features of example housing 100, but has differences as further discussed below. Specifically, housing 100A includes a sensing line 130A that connects capacitive sensing circuit 120 to electrical component 110. A first strong pull-up resistor 132A can be provided to protect capacitive sensing circuit 120 from ESD. Separately, housing 100A also has an input / output line 146A that connects one or more processors 140 to electrical component 110. A second strong pull-up resistor 132B can be provided to generate a logic 1 signal for transceiver 150. The first and second strong pull-up resistors 132A and 132B can have the same or different resistance values, for example, the first strong pull-up resistor 132A can have a resistance between 100Ω and 10kΩ, and the second strong pull-up resistor 132B can have a resistance between 100Ω and 10kΩ. On the one hand, as Figure 1 Sharing wires for multiple purposes as shown in can be more energy efficient. On the other hand, as shown in Figure 4 Using separate wires for different purposes as shown in can increase reliability.

[0051] Reference here Figure 3An example communication sequence is described. As the strong pull-up resistor 132 mentioned above, one or more processors 140 can generate a logic 1 signal to enable the transceiver 150 to communicate, which, when first turned on via the strong pull-up resistor 132, can act as an interrupt signal to wake up the wireless device 180, prompting the wireless device 180 to respond. When the transceiver 190 of the wireless device 180 responds by transmitting data to the housing 100, the transmitter 194 of the wireless device 180 can generate a logic 0 signal by driving the electrical component 110 to a logic 0, or release the driver, allowing the pull-up resistor 132 in the housing 100 to maintain a logic 1 signal. For example, the transmitter 194 of the wireless device 180 can have an open collector driver (not shown) that can be turned on, which connects the electrical component 110 to ground, and then transmits this logic 0 signal through the electrical component 110 to the receiver 156 of the housing. Conversely, when the wireless device's transmitter 194 releases the open collector driver, this allows a logic 1 signal from the strong pull-up resistor 132 to be supplied to the receiver 156 of the housing 100 .

[0052] Similarly, the transceiver 150 of the housing 100 can transmit data to the transceiver 190 of the wireless device 180. In this regard, the transmitter 154 of the housing 100 can similarly generate a logic 0 signal by driving the electrical component 110 to a low level, or allowing the strong pull-up resistor 132 to maintain a logic 1 signal when the transmitter 154 is not driven. For example, the transmitter 154 of the housing 100 can also have an open collector driver (not shown) that can be connected to the electrical component 110, which is connected to ground when driven, and then the logic 0 signal is transmitted to the receiver 196 of the wireless device 180 through the electrical component 110. Conversely, when the transmitter 154 of the housing 100 releases the open collector driver, this allows the logic 1 signal from the strong pull-up resistor 132 to be supplied to the receiver 196 of the wireless device 180.

[0053] The housing 100 and the wireless device 180 may transmit data to each other in a sequential manner. For example, the housing 100 and the wireless device 180 may take turns transmitting data at fixed time periods (such as 10 ms of communication in each direction). As another example, the housing 100 and / or the wireless device 180 may be configured to indicate when there is no more data to transmit and is ready to receive data, and such indication may cause the communication to reverse. One or more processors 140 may control the sequence of the communication.

[0054] The data transmitted between the housing 100 and the wireless device 180 may include battery life information. For example, the housing 100 and the wireless device 180 may send each other their own battery charge status. As another example, the housing 100 may send a request ("ping") to the wireless device 180 for the charging status of the wireless device 180. In some examples, the housing 100 may make these requests at regular time intervals. In other examples, the housing 100 may request an update on the charging status of the wireless device 180 while charging is in progress. The failure of the housing 100 or the wireless device 180 to respond to the communication may indicate that it is completely discharged.

[0055] The housing 100 and the wireless device 180 may also relay information to each other. For example, when the wireless device 180 is being charged in the housing 100, the user may want to know the charging status of the wireless device 180. In this regard, the housing 100 may send a request to the wireless device 180 for its charging status, receive the charging status from the wireless device 180, and then display the information to the user or send the information to another user device. In another example, the user may want the wireless device 180 to perform a task (e.g., play music) while charging inside the housing 100, in which case the housing 100 may receive the user request and relay the request to the wireless device 180.

[0056] The one or more processors 140 may control the communication direction and frequency of the transceiver 150. In this regard, the one or more processors 140 may analyze various detected and received data to determine the appropriate communication direction and frequency. In some examples, the one or more processors 140 may determine the appropriate communication direction and frequency based on the data received by the transceiver 150. For example, if the transceiver 150 has previously received data from the wireless device 180 indicating that it has a low charge state, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charge state at a predetermined high communication rate. Conversely, if the transceiver 150 has previously received data from the wireless device 180 indicating that it has a full charge state, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charge state at a predetermined low communication rate. For example, the predetermined high communication rate may be up to 100 Hz. For example, the predetermined low communication rate may be 1 Hz to 10 Hz. It should be understood that the example communication rates set forth herein are merely non-limiting examples and that other high or low sampling rates may be predetermined.

[0057] As another example, if the transceiver 150 receives data from the wireless device 180 indicating that it is or was in the working mode, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charging status at a predetermined high communication rate. Conversely, if the transceiver 150 has received data from the wireless device 180 indicating that it is or was in the factory mode, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charging status at a predetermined low communication rate, or in the case where the earbud is inside a closed housing, to stop communication altogether until the housing is opened again. In this regard, the working mode may be a mode in which the wireless device 180 is actively performing one or more functions (such as broadcasting music to a user or displaying information to a user); and the factory mode may be a state in which the wireless device 180 is not actively performing any function. As yet another example, if transceiver 150 receives no response from wireless device 180 , it may be assumed that wireless device 180 is fully discharged, and then one or more processors 140 may generate a control signal to transceiver 150 to ping wireless device 180 after charging for a fixed period of time.

[0058] In other examples, the one or more processors 140 may determine the appropriate communication direction and frequency based on the detection data from the capacitive sensing circuit 120. For example, after receiving the detection data that the wireless device 180 has been positioned in the housing 100, the one or more processors 140 may generate a control signal to enable the transceiver 150 to initiate communication with the wireless device 180. As another example, after receiving the detection data that the wireless device 180 has been removed from the housing 100, the one or more processors 140 may generate a control signal to disable the transceiver 150. As yet another example, after analyzing the detection data that the wireless device 180 has been positioned in the housing 100 for a predetermined period of time (such as 7 days), the one or more processors 140 may generate a control signal to the transceiver 150 to periodically ping the wireless device 180 for its charging status (to monitor the discharge of the wireless device 180). In this regard, the one or more processors 140 may be provided with a clock (not shown) for keeping time.

[0059] In other examples, the one or more processors 140 may determine the appropriate communication direction and frequency based on the detection data from the proximity sensor 160. For example, after receiving the detection data that the housing 100 is closed, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charging state at a predetermined low communication rate. As another example, upon receiving the detection data that the housing 100 is open, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 for its charging state at a predetermined high communication rate. In this way, when the housing 100 is open, which means that the wireless device 180 can be inserted into the housing 100 at any time, the communication rate is higher to reduce the detection delay and quickly detect whether the wireless device 180 needs to be charged. On the other hand, the wireless device 180 cannot be inserted into the housing 100 or removed from the housing 100 during the period when the housing 100 is closed, so the communication rate can be set to be lower.

[0060] The one or more processors 140 may control the charging of the wireless device 180. In this regard, when the wireless device 180 is positioned inside the housing 100, a connection may be provided between a battery (not shown) of the housing 100 and a battery (not shown) of the wireless device 180. For example, the connection may be provided by the electrical component 110 or some other component (such as one or more pins on a wire, contact, or bus). The one or more processors 140 may be provided with one or more connections to the battery of the housing 100 so that the one or more processors 140 may be powered by the battery, monitor the charge status of the battery, and control the charging of the wireless device 180 through the battery.

[0061] In this regard, the one or more processors 140 may analyze various detected and received data to determine whether to charge the wireless device 180 and the appropriate degree to charge the wireless device 180. In some examples, the one or more processors 140 may determine whether to charge the wireless device 180 and the appropriate degree to charge the wireless device 180 based on the data received by the transceiver 150. For example, the one or more processors 140 may be configured to enable charging of the wireless device 180 whenever the battery charge status indicates that the wireless device 180 is not fully charged. As another example, the one or more processors 140 may be configured to enable charging of the wireless device 180 only when the wireless device 180 is not fully charged to a predetermined fully charged threshold (such as less than 80%, less than 70%, etc.). As yet another example, if the wireless device 180 is unable to transmit its charging status (e.g., fully discharged), the one or more processors 140 enable charging of the wireless device 180 until the wireless device 180 is able to turn on and transmit its charging status. As yet another example, the one or more processors 140 may be configured to enable charging of the wireless device 180 when data received from the transceiver 150 indicates that the wireless device 180 is or was in an operating mode, and to disable charging of the wireless device when data received from the transceiver 150 indicates that the wireless device 180 is or was in a factory mode.

[0062] In other examples, the one or more processors 140 may determine whether to charge the wireless device 180 and the appropriate degree of charging the wireless device 180 based on the detection data from the capacitance sensing circuit 120. For example, upon receiving the detection data that the wireless device 180 has been positioned in the housing 100, the one or more processors 140 may generate a control signal to initiate charging. As another example, upon analyzing the detection data that the wireless device 180 has been positioned in the housing 100 for a predetermined period of time (e.g., 7 days), the one or more processors 140 may assume that the wireless device will be fully discharged and generate a control signal to initiate charging.

[0063] Although the case 100 can handle a fully charged wireless device 180 without a problem - the capacitive sensing circuit 120 can detect a fully discharged wireless device 180 and can charge the fully discharged wireless device 180 until it is able to respond to communications with the transceiver 150 - if the case 100 itself is completely discharged then there is nothing that can be done. Therefore, to prevent this situation, the one or more processors 140 can be configured to control the charging of the wireless device 180 so that power is reserved for the case 100 when it has a charge state below a predetermined critically low charge threshold (such as below 10% charge, 5% charge, etc.). For example, this can be accomplished by only allowing a critically low charged case 100 to charge the wireless device 180 up to a predetermined minimum charge threshold. For example, the predetermined minimum charge threshold can be the charge level required to turn on the wireless device 180, or the charge level required for the wireless device 180 to report its charge status.

[0064] As described above, in addition to controlling the capacitive sensing circuit 120 (enable / disable / sampling rate), the transceiver 150 (enable / disable / communication rate), and charging (enable / disable / degree), the one or more processors 140 can be configured to further conserve power to the housing 100 by deactivating the sensing lines 130, the input / output lines 146, and / or the electrical components 110. In order to deactivate the sensing lines 130, the input / output lines 146, and / or the electrical components 110, the one or more processors 140 can generate a high impedance signal (a high Z logic state of a tri-state logic gate) to the input / output lines 146, which in turn is also transmitted through the sensing lines 130 and the electrical components 110. The high impedance signal effectively removes the influence of the input / output lines 146, the sensing lines 130, and the electrical components 110 from the rest of the circuitry of the housing 100, thereby reducing energy losses on these lines. In particular, in the case where the electrical component 110 has exposed portions such as contacts for docking with contacts of the wireless device 180, the high impedance signal also reduces corrosion at such exposed portions. In Figure 4 In the example where the sense line 130A and the input / output line 146A are separate, the one or more processors 140 may generate a high impedance signal to the input / output line 146A to disable the electrical component 110. In the example where the electrical component 110 includes multiple wires, contacts, or a bus with multiple pins, the one or more processors 140 may generate a high impedance signal to all or only some of the wires / contacts / pins.

[0065] In this regard, the one or more processors 140 may be configured to generate a high impedance signal whenever capacitive sensing, communication, and charging are not needed / wanted. For example, when the wireless device 180 is detected to be inside the housing 100 and in factory mode while fully charged, and the housing 100 is closed, the one or more processors 140 may generate a high impedance signal. As another example, if no wireless device 180 is detected inside the housing 100 and the housing 100 is closed, a high impedance signal may be used. As yet another example, when the state of charge of the housing 100 is below a predetermined critically low charge threshold, the one or more processors 140 may generate a high impedance signal to prevent the housing 100 from completely discharging.

[0066] although Figure 1 , Figure 3 as well as Figure 4 The circuit diagram in FIG. 1 shows only one wireless device 180 , but the housing 100 can be configured to charge multiple wireless devices, such as a pair of wireless earbuds. For example, Figure 5 1 is a simplified circuit diagram of an example housing 100 with two wireless devices 180A and 180B. The two wireless devices 180A and 180B may have the same or different circuits. Each of the two wireless devices 180A and 180B is provided with a connection to the electrical component 110. For example, in the case where the electrical component 110 is a single wire, the two wireless devices 180A and 180B may each have an electrical contact that contacts the single wire. As another example, in the case where the electrical component 110 includes two wires with contacts, the two wireless devices 180A and 180B may each have an electrical contact that docks with one of the two contacts of the electrical component 110. As yet another example, in the case where the electrical component 110 is a bus with multiple pins, the two wireless devices 180A and 180B may each have an electrical contact that docks with the pins on the bus. Although using a single wire as the electrical component 110 can be more energy-efficient and reduce corrosion, using multiple wires or a dedicated bus as the electrical component 110 can increase reliability.

[0067] Figure 6 An example housing 600 is shown for charging one or more wireless devices. The housing 600 may include one or more processors 630, one or more memories 620, and other components. For example, the housing 600 may further include a battery 612, one or more transceivers 614, and one or more sensors 616. The housing 600 may further include a user interface 640, a communication module 650, and one or more internal clocks 660. The housing 600 may include Figure 1 , Figure 3 as well as Figure 5 Some or all of the features of the housing 100 or Figure 4For example, one or more processors 630 may include Figure 1 or one or more processors 140 in 3-5. The housing 600 may have Figure 2 The physical structure of the housing 210 is shown in FIG. For example, the battery 612 may be implemented as Figure 2 The battery 212, one or more transceivers 614 may include the transceiver 214, and one or more sensors 616 may include Figure 2 Sensor 216.

[0068] The memory 620 may store information accessible to one or more processors 630, including data 622 instructions 628 that may be executed or otherwise used by one or more processors 630. For example, the memory 620 may be any type of medium capable of storing information accessible to the processor 630, including computing device readable media or other media storing data that may be read by an electronic device, such as volatile memory, non-volatile memory, and other write-only and read-only memories. By way of example only, the memory 620 may be a static random access memory (SRAM) configured to provide fast lookups. The systems and methods may include different combinations of the foregoing, whereby different portions of the instructions and data are stored on different types of media.

[0069] The data 622 may be retrieved, stored, or modified by the one or more processors 630 in accordance with the instructions 628. For example, the data 622 may include detection data from the sensor 616, which may indicate whether the housing 600 is open or closed, or whether the wireless device data 622 is detected inside the housing 600. The data 622 may also include data received by the one or more transceivers 614, such as battery life information of a wireless device positioned inside the housing 600. In accordance with the instructions 628, the one or more processors 630 may control the sensor 616, the transceiver 614, and / or the battery 612 based on the data 622. Although the claimed subject matter is not limited to any particular data structure, the data may be stored in a computing device register, in a relational database as a table with a plurality of different fields and records, an XML document, or a flat file. The data may also be formatted in any computing device readable format.

[0070] Instructions 628 may be any set of instructions to be executed directly (such as machine code) or indirectly (such as a script) by one or more processors 630. For example, instructions may be stored as computing device code on a computing device readable medium. In this regard, the terms "instructions" and "programs" may be used interchangeably herein. Instructions may be stored in an object code format for direct processing by a processor, or in any other computing device language including scripts or collections of independent source code modules that are interpreted on demand or pre-compiled. The functions, methods, and routines of instructions will be explained in more detail below.

[0071] The one or more processors 630 may be a microprocessor, a logic circuit (e.g., logic gates, flip-flops, etc.) hardwired into the housing 600, or may be a dedicated application specific integrated circuit (ASIC). It should be understood that the one or more processors 630 are not limited to hardwired logic circuits, but may also include any commercially available processing unit or any hardware-based processor, such as a field programmable gate array (FPGA). In some examples, the one or more processors 630 may include a state machine.

[0072] The one or more sensors 616 may include any of a variety of mechanical or electromechanical sensors, such as a capacitive sensing circuit 120, a proximity sensor 160 or an accelerometer, a gyroscope, a magnetic sensor, a switch, a light sensor, a barometer, an audio sensor (e.g., a microphone), a vibration sensor, a thermal sensor, a radio frequency (RF) sensor, etc. In this regard, the one or more processors 630 and the memory 620 of the housing 600 may receive detection data from any of these sensors 616.

[0073] The user interface 640 includes various I / O elements. For example, one or more user inputs 642 may be provided, such as mechanical actuators, soft actuators, and microphones. Mechanical actuators may include crowns, buttons, switches, and other components. Soft actuators may be incorporated into touch screen covers, such as resistive or capacitive touch screens. The user interface 640 includes various outputs 644, such as user displays such as screens or touch screens, one or more speakers, transducers, or other audio outputs, or tactile interfaces or other tactile feedback to provide non-visual and non-audio information.

[0074] The communication module 650 may include a wireless network connection module, a wireless ad hoc connection module, and / or a wired connection module. The wireless network connection module may be configured to support communication via cellular, LTE, 4G, WiFi, GPS, and other networking architectures. The wireless ad hoc connection module may be configured to support Bluetooth LE, Near Field Communication, and other non-networked wireless arrangements. And wired connections may include USB, micro-USB, USB Type-C, or other connectors, for example to receive data and / or power from a laptop, tablet, smartphone, or other device.

[0075] The one or more internal clocks 660 provide timing information that can be used for time measurement in various operations performed by the one or more processors 630, the one or more transceivers 614, the one or more sensors 616, and / or the communication module 650. For example, using the one or more internal clocks 660, the one or more processors 630 can determine that the wireless device has been located for a predetermined period of time (such as 7 days) and therefore the wireless device may be fully discharged.

[0076] Example Method

[0077] In addition to the example systems described above, example methods are now described. Such methods may be performed using any of the above systems, modifications thereof, or a variety of systems with different configurations. It should be understood that the operations involved in the following methods do not have to be performed in the exact order described. Instead, various operations may be processed in a different order or simultaneously, and operations may be added or omitted.

[0078] Figure 7 An example flow chart is provided that illustrates an example method 700 for controlling sensing, communicating with, and charging a wireless device in a housing. For example, Figure 1 and Figure 3-5 One or more processors 140 in the housing 100 or 100A shown in the figure can control the sensing and charging of the wireless device 180 according to the method 700. For example, the housing 100 or 100A can control the sensing, communication and charging of the wireless device 180 based on the detection from the capacitive sensing circuit 120 and the proximity sensor 160, and the data received from the transceiver 150.

[0079] In block 710, proximity sensing is activated. For example, one or more processors 140 may generate a control signal to activate proximity sensor 160. In other examples, proximity sensing may be always activated when a low-power proximity sensor (such as a Hall effect sensor) is used. In block 712, it is determined whether the housing is open. For example, one or more processors 140 may receive detection data from proximity sensor 160 indicating whether housing 100 is open.

[0080] In box 714, if it is detected that the shell is not open, capacitive sensing is deactivated. For example, if the capacitive sensing circuit 120 has been previously activated, the one or more processors 140 may generate a control signal to deactivate the capacitive sensing circuit 120 upon receiving detection data indicating that the shell is closed; if the capacitive sensing circuit 120 has not been activated, the one or more processors 140 do not need to do anything further. Conversely, in box 716, if it is detected that the shell is open, capacitive sensing is activated. For example, if the capacitive sensing circuit 120 has been previously deactivated, the one or more processors 140 may generate a control signal to activate the capacitive sensing circuit 120 upon receiving detection data indicating that the shell is open; if the capacitive sensing circuit 120 has not been deactivated, the one or more processors 140 do not need to do anything further.

[0081] In block 720, it is determined whether the device is in the housing. For example, if the housing 100 is open and the capacitive sensing circuit 120 is activated (block 716), the one or more processors 140 may receive detection data from the capacitive sensing circuit 120 indicating whether the wireless device 180 is inside the housing 100. For example, if the housing 100 is closed and the capacitive sensing circuit 120 is deactivated (block 714), the one or more processors 140 may review previous detection data stored in memory indicating whether the wireless device 180 has been detected in the housing 100.

[0082] In box 722, if it is detected that the device is not in the housing, the electrical component is disabled. For example, one or more processors 140 can generate a control signal to the electrical component 110, which is a high impedance signal (high Z state of a tri-state logic gate), thereby disabling the electrical component 110. Thereafter, the housing continues to monitor whether the housing is opened (box 712) and repeats any of the above steps as necessary. Conversely, in box 724, if it is detected that the device is in the housing, the housing pings the device for its charging status. For example, one or more processors 140 can generate a control signal to the transceiver 150 to initiate communication with the wireless device 180.

[0083] In block 730 , it is determined whether the device is responsive to the communication. For example, the one or more processors 140 may generate control signals to the transceiver 150 to receive data from the wireless device 180 .

[0084] In block 732, if the device is not responding to the communication, the case charges the device. For example, the one or more processors 140 may not have received any data from the transceiver 150 and assume that the wireless device 180 is not responding to the communication initiated by the transceiver 150. The one or more processors 140 may assume that the failure to respond is because the wireless device 180 is completely discharged, and therefore generate a control signal to enable charging of the wireless device 180. Thereafter, the case continues to ping the device (block 724) to observe whether the device can respond to the communication, and repeats any of the above steps as necessary.

[0085] Conversely, in box 734, if the device responds to the communication, it is determined whether the device is fully charged. For example, the transceiver 150 can receive the charging status from the wireless device 180 and report to the one or more processors 140, which can determine whether the charging status is fully charged, or alternatively whether it is at or above a predetermined fully charged threshold (such as 70% charge, 80% charge, etc.). If it is determined that the device is not fully charged, the shell charges the device (box 732). Otherwise, in box 736, if it is determined that the device is fully charged, the shell does not charge the device. For example, the one or more processors 140 generate a control signal to disable charging of the wireless device 180. In addition, the electrical component is disabled (box 722). Thereafter, the shell continues to monitor whether the shell is opened (box 712) and repeats any of the above steps as necessary, including detecting whether the device is in the shell and whether the device is fully charged.

[0086] Although this example only shows that sensing and charging are controlled based on detection data and data received from the device, any of the other data may also be used to control sensing and charging. For example, a user may manually enable and disable sensing and charging, such as via a user input to the shell (such as user interface 640). In other examples, whether various sensing, communication and charging functions and / or electrical components are disabled or enabled may depend on the charging state of the shell itself. For example, when the shell has a predetermined severe low charge state (such as less than 10% charge, 5% charge, or another low charge level), one or more sensing, communication and charging functions may be cut off. In other examples, whether to disable or enable various sensing, communication and charging functions and / or electrical components may depend on whether the shell is in standby, active, or factory mode. For example, when the shell is in standby or factory mode, one or more sensing, communication, and charging functions may be cut off.

[0087] Figure 8 An example flow chart is provided that illustrates an example method 800 for controlling a capacitive sensing circuit in a housing for detecting the presence of a wireless device. For example, Figure 1 and Figure 3-5 One or more processors 140 of the housing 100 or 100A shown in FIG. 7 may control the capacitive sensing circuit 120 according to the method 700. For example, the processor 140 may control the capacitive sensing circuit 120 based on detections from the proximity sensor 160 and the capacitive sensing circuit 120.

[0088] In block 810, the case is in a factory mode—where a fully charged device is packaged in the case. For example, in this initial state, most or all components of the case may be in an inactive or standby state, such as the capacitive sensing circuit 120, the transceiver 150, the electrical components 110, and the charging capability. In this example, only the proximity sensor 160 may be active in this factory mode to detect whether the case 100 is opened (indicating that the case 100 has reached a user who can remove the packaged device 180 from the case 100).

[0089] In box 820, it is determined whether the housing is open. For example, one or more processors 140 may receive detection data indicating whether the housing 100 is open from the proximity sensor 160. If the housing is not open, the housing remains in factory mode (box 810). However, in box 822, if it is determined that the housing is opened, capacitive sensing is activated. For example, one or more processors 140 may generate a control signal to activate the capacitive sensing circuit 120 when receiving detection data indicating that the housing is opened.

[0090] In box 830, determine whether the device is in the shell. For example, one or more processors 140 can receive detection data from the capacitive sensing circuit 120 indicating whether the wireless device 180 is inside the shell 100. If the device is in the shell, then in box 832, the capacitive sensing is polled at a low sampling rate. For example, the one or more processors 140 can receive the detection data of the wireless device 180 in the shell 100, and assume that the user wants the shell to charge the wireless device 180 or store the device for a period of time, and therefore generate a control signal to the capacitive sensing circuit 120 to poll at a predetermined low sampling rate (such as 1kHz-10kHz). On the contrary, if the device is not in the shell, then in box 834, the capacitive sensing is polled at a high sampling rate. For example, the one or more processors 140 may receive detection data that the wireless device 180 is not in the housing 100, and assuming that once the user returns the wireless device 180 to the housing 100, some action (such as charging) may be required immediately, therefore, the one or more processors 140 may generate a control signal to the capacitive sensing circuit 120 to poll at a predetermined high sampling rate (such as up to 100kHz).

[0091] Although this example only shows controlling the sampling rate of capacitive sensing based on whether a device is detected in the shell, the sampling rate of capacitive sensing can be alternatively or additionally set based on other factors, such as whether the shell is in standby / factory mode (low sampling rate) or active state (high sampling rate), whether the shell is open (high sampling rate) or closed (low sampling rate), and / or whether the shell has a predetermined critically low charge level (low sampling rate) or does not have a predetermined critically low charge level (high sampling rate).

[0092] Fig. 9 An example flow chart is provided that illustrates an example method 900 for controlling communications between a housing and a wireless device. For example, Figure 1 and Figure 3-5 One or more processors 140 of housing 100 or 100A shown in FIG. 1 may be used to control transceiver 150 according to method 900. For example, processor 140 may control transceiver 150 based on detection from proximity sensor 160, capacitive sensing circuit 120, and data received by transceiver 150.

[0093] In block 910, a device is detected inside the housing. For example, if the capacitive sensing circuit 120 is activated, the one or more processors 140 may receive detection data from the capacitive sensing circuit 120 indicating that the wireless device 180 is inside the housing 100. As another example, if the capacitive sensing circuit 120 is disabled, the one or more processors 140 may review previous detection data saved in memory indicating that the wireless device 180 has been detected in the housing 100.

[0094] In block 920, the case pings the device for its charging status at a low rate.For example, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 at a predetermined low communication rate, such as 1 Hz-10 Hz.

[0095] In block 930 , a determination is made as to whether the device is responsive to the communication. For example, the one or more processors 140 may generate control signals to the transceiver 150 to receive data from the wireless device 180 .

[0096] In block 932, if the device does not respond to the communication, the shell charges the device. For example, the one or more processors 140 may not receive data from the transceiver 150 and assume that the wireless device 180 does not respond to the communication initiated by the transceiver 150. The one or more processors 140 may assume that the failure to respond is because the wireless device 180 is fully discharged, and therefore generate a control signal to enable charging of the wireless device 180. Then, in block 934, the shell pings the device for its charging status at a high rate. For example, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 at a predetermined high communication rate (e.g., up to 100 Hz). Thereafter, the shell continues to actively monitor whether the device can respond to the communication (block 932) and repeats any of the above steps as necessary. In this regard, the high rate can be determined by the amount of time it takes to charge the fully discharged wireless device 180 to a predetermined minimum charging threshold, such as the amount that enables the wireless device 180 to respond to the communication.

[0097] In box 936, if the device responds to the communication, it is determined whether the device is fully charged. For example, the transceiver 150 can receive the charging status from the wireless device 180 and report to the one or more processors 140, which can determine whether the charging status is fully charged, or alternatively whether it is at or above a predetermined fully charged threshold (such as 80% charge, 70% charge, etc.). If it is determined that the device is not fully charged, the shell charges the device (box 932). Otherwise, in box 938, if it is determined that the device is fully charged, the shell does not charge the device. For example, the one or more processors 140 generate a control signal to disable charging of the wireless device 180. Thereafter, the shell continues to ping the device at a low rate for its charging status (box 920), and repeats any of the above steps as necessary. In this regard, the low rate can be determined by the amount of time it takes for all or a predetermined amount of charge to be exhausted from the wireless device 180.

[0098] Although this example only shows that the communication rate is controlled based on whether the device responds to communication and the charging state of the device, the communication rate can be set based on other factors, such as whether the device is in factory mode (low communication rate) or working mode (high communication rate). In addition, the communication rate can be further based on the state of the shell, such as whether the shell is in standby state / factory mode (low communication rate) or active state (high communication rate), whether the shell is open (high communication rate) or closed (low communication rate), whether the shell has a predetermined critically low charge (low communication rate) or does not have a predetermined critically low charge (high communication rate).

[0099] Fig.10An example flow chart is provided that illustrates an example method 1000 for controlling charging of a wireless device in a housing. For example, Figure 1 and Figure 3-5 One or more processors 140 of the case 100 or 100A shown in FIG. 1 may be used to control charging of the wireless device 180 according to the method 1000. For example, the case 100 or 100A may control charging based on detections from the capacitive sensing circuit 120 and the proximity sensor 160 and data received from the transceiver 150.

[0100] In block 1010, a device is detected inside the housing. For example, if the capacitive sensing circuit 120 is activated, the one or more processors 140 may receive detection data from the capacitive sensing circuit 120 indicating that the wireless device 180 is inside the housing 100. As another example, if the capacitive sensing circuit 120 is deactivated, the one or more processors 140 may review previous detection data saved in memory indicating that the wireless device 180 has been detected in the housing 100.

[0101] In block 1020 , the case pings the device for its charging status. For example, the one or more processors 140 may generate a control signal to the transceiver 150 to ping the wireless device 180 .

[0102] In block 1030 , it is determined whether the device is responsive to the communication. For example, the one or more processors 140 may generate control signals to the transceiver 150 to receive data from the wireless device 180 .

[0103] In block 1032, if the device is not responding to the communication, the housing charges the device. For example, the one or more processors 140 may not have received any data from the transceiver 150 and assume that the wireless device 180 is not responding to the communication initiated by the transceiver 150. The one or more processors 140 may assume that the failure to respond is because the wireless device 180 has been fully discharged, and therefore generate a control signal to enable charging of the wireless device 180. The housing then continues to ping the device for its charging status (block 1020). Thereafter, the housing continues to monitor whether the wireless device can respond to the communication (block 1030), and repeats any of the above steps as necessary.

[0104] In block 1040, if the device responds to the communication, it is determined whether the housing has a critically low charge. For example, this is because the housing 100 is configured to handle the wireless device even if the wireless device is fully discharged and unable to communicate, but if the housing 100 itself is fully discharged, it cannot do so. Therefore, the housing 100 can be further configured to save energy when its charge state is at a predetermined critically low level. For example, the predetermined critically low charge can be a predetermined value, such as 10% charge, 5% charge, or another low charge level.

[0105] In block 1042, if the shell has a critically low charge, it is determined whether the device has a charge at or above a minimum charge threshold. For example, the transceiver 150 may receive a charge status from the wireless device 180 and report to the one or more processors 140, which may determine whether the charge status is at or above a predetermined minimum charge threshold. For example, the predetermined minimum charge threshold may be a charge required for the wireless device 180 to turn on or transmit its charge status. In block 1044, if it is determined that the device has a charge at or above the minimum charge threshold, the shell does not charge the device. For example, the one or more processors 140 may generate a control signal to disable charging of the wireless device 180. Thereafter, although not shown, the shell continues to ping the device for the charge status of the device (block 1020). However, if it is determined that the device has a charge below the minimum charge threshold, the shell charges the device (block 1032).

[0106] Conversely, in block 1046, if it is determined that the shell does not have a critically low charge, it is further determined whether the device is fully charged. For example, the transceiver 150 may receive a charging status from the wireless device 180 and report to the one or more processors 140, which may determine whether the charging status is fully charged, or alternatively whether it is at or above a predetermined fully charged threshold (such as 80% charged, 70% charged, etc.). If it is determined that the device is not fully charged, the shell charges the device (block 1032). Otherwise, if it is determined that the device is fully charged, the shell does not charge the device (block 1044). Thereafter, although not shown, the shell continues to ping the device for its charging status (block 1020).

[0107] Although this example only shows charging being controlled based on the charging state of the device and the charging state of the case, charging can be further controlled based on other factors, such as whether the device is in factory mode (not charging) or operating mode (charging), and whether the device has been positioned in the case for an extended period of time (assumed to be discharged).

[0108] The technology is advantageous because it provides a housing for intelligent and efficient charging of wireless devices. By using capacitive sensing, the housing can detect the wireless device inside, even if the wireless device is completely discharged or powered off. The housing also provides two-way communication between the housing and the wireless device inside to better manage efficient charging. In addition, energy can be saved by adjusting the sampling rate of capacitive sensing and the communication rate of the transceiver, and by selectively turning capacitive sensing and communication on and off. Further energy can be saved by controlling the extent to which the wireless device is charged. Still further, the housing uses high impedance signals to deactivate unnecessary signal / power lines to further reduce energy loss and corrosion.

[0109] Unless otherwise stated, the above alternative examples are not mutually exclusive, but can be implemented in various combinations to achieve unique advantages. Because these and other variations and combinations of the features discussed above can be utilized without departing from the subject matter defined by the claims, the above description of the embodiments should be made by way of illustration rather than by limitation of the subject matter defined by the claims. In addition, the examples described herein and the provision of terms expressed in phrases such as "such as", "including", etc. should not be interpreted as limiting the subject matter of the claims to specific examples; on the contrary, the examples are intended to illustrate only one of many possible embodiments. In addition, the same reference numerals in different figures may identify the same or similar elements.

Claims

1. A housing configured to charge one or more wireless devices, the housing comprising: a capacitive sensing circuit configured to detect whether the one or more wireless devices are positioned inside the housing; a transceiver configured to transmit data to and receive data from the one or more wireless devices; an electrical component operably connected to the capacitive sensing circuit and the transceiver, wherein the electrical component is configured to operably connect the capacitive sensing circuit and the transceiver to the one or more wireless devices when the one or more wireless devices are positioned inside the housing; and one or more processors configured to control the capacitive sensing circuit, the transceiver, and the electrical component; wherein the one or more processors are configured to determine whether to charge the one or more wireless devices based on detection of the capacitive sensing circuit and data received by the transceiver, wherein, when the one or more wireless devices are detected by the capacitive sensing circuit to be inside the housing, the one or more processors are configured to: enable communication by activating the transceiver and the electrical component for transmitting data to or receiving data from the one or more wireless devices, the data received by the transceiver including the charging status of the one or more wireless devices, and in: The one or more processors are configured to: set the communication rate of the transceiver to a predetermined high communication rate when the charging status indicates that the one or more wireless devices are below a predetermined sufficient charge threshold, and set the communication rate of the transceiver to a predetermined low communication rate when the charging status indicates that the one or more wireless devices are at or above a predetermined sufficient charge threshold, or The one or more processors are configured to set the communication rate of the transceiver to a predetermined high communication rate when the one or more wireless devices are charged inside the shell, and to set the communication rate of the transceiver to a predetermined low communication rate when the one or more wireless devices are not charged inside the shell.

2. The housing according to claim 1, further comprising: a sensor configured to detect whether the housing is open or closed; Wherein the one or more processors are configured to: activate the capacitive sensing circuit upon detecting that the housing is open, and deactivate the capacitive sensing circuit upon detecting that the housing is closed.

3. The housing according to claim 1, wherein: The one or more processors are configured to set the sampling rate of the capacitive sensing circuit to a predetermined low sampling rate when the one or more wireless devices are detected to be positioned inside the shell, and to set the sampling rate of the capacitive sensing circuit to a predetermined high sampling rate when the one or more wireless devices are not detected to be positioned inside the shell.

4. The housing according to claim 1, wherein: The data received by the transceiver includes: whether the one or more wireless devices are in working mode or factory mode; The one or more processors are configured to: when the one or more wireless devices are in working mode, set the communication rate of the transceiver to a predetermined high communication rate, and when the one or more wireless devices are in factory mode, set the communication rate of the transceiver to a predetermined low communication rate.

5. The housing according to claim 1, wherein: The one or more processors are configured to control the transceiver to initiate communication with the one or more wireless devices when detection data from the capacitive sensing circuit indicates that the one or more wireless devices have been positioned inside the housing for a predetermined period of time.

6. The housing according to claim 1, wherein: When the one or more wireless devices are not responsive to communications, the one or more processors are configured to activate charging of the one or more wireless devices.

7. The housing according to claim 1, wherein: When the charging status indicates that the one or more wireless devices are below a predetermined sufficiently charged threshold, the one or more processors are configured to activate charging of the one or more wireless devices.

8. The housing according to claim 7, wherein: The one or more processors are configured to determine that the charging state of the case is below a predetermined critically low charge threshold and to cease charging the one or more wireless devices when the one or more wireless devices are charged to a predetermined minimum charge threshold.

9. The housing according to claim 1, further comprising: a sensing line operatively connecting the capacitance sensing circuit to the electrical component; and input / output lines connecting the one or more processors to the electrical components; Wherein, the input / output line at least partially overlaps with the sensing line.

10. The housing according to claim 9, wherein: The one or more processors are configured to disable the electrical component by sending a high impedance signal to the input / output line.

11. The housing according to claim 9, further comprising: a pull-up resistor operatively connecting an output of the one or more processors to the electrical component and operatively connecting the capacitance sensing circuit to the electrical component; a pull-down resistor connecting the electrical component to a ground shared with the one or more wireless devices; and The pull-down resistor has a resistance value that is at least one order of magnitude greater than that of the pull-up resistor.

12. A method for charging one or more wireless devices via a housing, the method comprising: activating, by the one or more processors, a capacitive sensing circuit to detect whether the one or more wireless devices are positioned within the housing; upon detecting that the one or more wireless devices are positioned within the housing, activating, by the one or more processors, a transceiver to initiate communication between the housing and the one or more wireless devices; receiving, from the one or more wireless devices, a charging status of the one or more wireless devices; determining, by the one or more processors, whether to charge the one or more wireless devices based on the charging status of the one or more wireless devices; as well as A communication rate of the transceiver is adjusted, by the one or more processors, based on the charging status of the one or more wireless devices.

13. The method according to claim 12, further comprising: activating, by the one or more processors, a sensor for detecting whether the housing is open or closed; as well as A sampling rate of the capacitive sensing circuit is adjusted, by the one or more processors, based on whether the housing is open or closed.