Patent Description:
Capacitive proximity detectors are used in many modern portable devices, including mobile phones and tablets, to determine whether the device is close to a body part of a user. This information is important in several ways: it is used to detect whether the telephone is being actively manipulated by a user, and whether the user is looking at the display, in which case the information displayed can be adapted, and/or the device switch from a low power state to an active one. Importantly, this information is used to adapt the power level of the radio transmitter to comply with statutory SAR limits. Capacitive proximity detection is used also in touch-sensitive displays and panels.

Known capacitive sensing systems measure the capacity of an electrode and, when the device is placed in proximity of the human body (for example the hand, the head, or the lap) detect an increase in capacity. The variations in the sensor's capacity are relatively modest, and often amount to some per cent of the "background" capacity seen by the sensor when no conductive body is in the proximity. Known capacitive detection systems may include a digital processor for subtracting drift and noise contributions and deliver a digital value of the net user's capacity in real time and/or a digital binary flag indicating the proximity status based on a programmable threshold.

Proximity sensors are used in portable wireless devices to reduce the power of a radio transmitter when the device is close to the user's body, for example when a mobile phone is moved to the ear for making a call or put in a pocket. By reducing the power only when the device is close, regulatory exposure limits can be respected, without compromising the connectivity excessively, since the device can transmit at maximum power when it is not close to the body. <CIT> and <CIT> disclose such uses.

Exposure limit to radio energy are set by several national and international standards. They generally include both spatial (mass, surface) and time averaging conditions. The ICNIRP standard (<NPL>)) provides for averaging over <NUM> minutes at <NUM> and reduces to <NUM> seconds at <NUM> on a complex basis. The IEEE standard (IEEE Std C95. <NUM>-<NUM> (<NUM>)) has an averaging time of <NUM> minutes at <NUM> dropping to <NUM> seconds at <NUM>. The FCC (https://docs. qov/public/attachments/FCC-<NUM>-126A <NUM>. pdf) proposes an averaging time of <NUM> seconds below <NUM> dropping to <NUM> second above <NUM>.

It is known to limit the power of a radio transmitter in a portable device to keep the average SAR/PD value in a sliding time window below the regulatory safety limit. In this approach, the actual transmission power is reduced according to the monitored traffic, irrespective of whether the device is close to the user or not. These devices do not rely on a proximity sensor to respect the regulatory SAR/PD limits.

An aim of the present invention is the provision of a proximity sensor, and a processing circuit therefor, that can be used to limit the transmission power of a portable device such as a portable phone. The inventive sensor and processor generate a time-averaged proximity status in a manner that can be used to respect regulatory exposure limits with a minimal impact to the connectivity of the device.

According to the invention, these aims are attained by the object of the attached claims, and especially by a proximity sensor for a portable connected wireless device, the sensor being arranged to determine whether a user is in proximity with its body to the portable connected wireless device, the sensor comprising a processing circuit generating an immediate proximity status signal that can assume proximity-indicating values when a part of a user's body is close to the proximity sensor, and a memory operatively arranged for storing repeated values of the immediate proximity status flag over a time interval, and a decision unit generating a time-averaged proximity status flag based on the number of occurrence of a proximity-indicating value of the immediate proximity status flag in the time interval.

dependent claims relate to advantageous, but not essential and not necessarily preferred variants such as: a memory including a counter that accumulates the number of occurrences of proximity-indicating values in a granularity interval and/or a FIFO buffer that is periodically supplied with values of the immediate proximity status flag or with values of the counter; a combined proximity status flag resulting from a logic operation on the immediate proximity status flag and on the time-averaged proximity status flag, such as a logic OR or a logic AND, possibly in a selectable fashion; the FIFO buffer with a selectable length; the use of the sensor in a portable connected wireless device to reduce a power of the radio transmitter.

Although the processor of the invention is applicable to proximity sensor of whichever nature, a special use case is that in which the proximity is a capacitive sensor one, based the variations of the capacity seen by a sense electrode. In a cellphone, the electrode can perform double duty as antenna for the radio.

In the context of the present disclosure, a "portable connected wireless device" is a portable device that can be carried by a user and is capable of exchanging data in a wireless network, be it a local area network or a wide area network. Examples of portable connected wireless devices in a local area network may be telephone terminals using the standard DECT or a VolP connection in a WiFi network, or a WiFi-connected computer, tablet, media player, or book reader. Portable connected wireless devices in a wide area network include of course portable phones, as well as tablets, laptops, and computers having cellphone connectivity. The list is not exhaustive, however.

<FIG> shows schematically a capacitive proximity detector in a connected portable device such as a portable phone, laptop computer, or tablet, but the filter and the method of the invention could be applied to diverse fields.

The detector is sensitive to the capacity Cx of an electrode <NUM> that will increase slightly at the approach of a user's hand, face or body. The variations due to body proximity are overshadowed by the own capacity of the electrode <NUM> which, in turn, is not stable. The capacity signal is preferably amplified and processed by an analogue processor <NUM>, which may also subtract a programmable offset, and converted into raw digital values by an A/D converter <NUM>. The samples R(n) may be encoded as <NUM> bits integers, or in any other suitable format.

The raw samples R(n) contain also, in a non-ideal world, noise and unwanted disturbances that are attenuated by a filter <NUM>, providing a series of samples U(n) useful for the processing in the successive stages.

The unit <NUM> is a baseline estimator that generates a series of samples A(n) that approximate the instantaneous value of the baseline, considering drift. This is then subtracted from the U(n) samples in difference unit <NUM> and provides the drift-corrected samples D(n). A discriminator unit <NUM> then generates a binary value 'PROXSTAT' that indicates the proximity of the user's hand, face, or body. In the following, the 'PROXSTAT' variable is treated as a binary value. The invention is not so limited, however, and encompasses detectors that generate multi-bit proximity values as well.

Should the capacitive proximity sensor be part of a connected portable device for SAR control, the sensor electrode <NUM> will preferably be placed close to the transmitting antenna of the RF transmitter, to determine accurately the distance from the radio source. The sensor electrode <NUM> could be realized by a conductor on a printed circuit board or on a flexible circuit board and may have guard electrodes on the back and at the sides, to suppress detection of bodies and objects at the back or on the sides of the device.

In the same application, the capacitive electrode <NUM> could serve also as RF antenna, or part thereof. <FIG> shows this feature of the invention. The electrode <NUM> is connected, through a decoupling capacitor Cd, to a radio transmitter and receiver unit <NUM>, and has an inductor Ld, or another RF-blocking element, to block the radiofrequency signal. Otherwise, the radio unit <NUM> could be connected to an antenna separate and independent from the sense electrode <NUM> which, in this case, could be connected directly to the analogue interface <NUM> without the decoupling inductor Ld.

<FIG> show schematically a processor that processes the PROXSTAT signal <NUM> to determine a time-averaged TIMEAVGSTAT status flag that is high when the user has been close to the device for some time. When the user approaches the telephone to the body, TIMEAVGSTAT does not become high immediately, therefore fleeting approaches do not cause a reduction in transmission power. When the telephone remains in closeness to the user's body for some time, the TIMEAVGSTAT status flag is raised.

To function, the circuit of <FIG> has some form of memory that retains a trace of past states of the immediate proximity flag PROXSTAT. While several variants are possible, the circuit of <FIG> has an accumulator <NUM> and a FIFO buffer <NUM>. The PROXSTAT variable is available at terminal <NUM>. the accumulator <NUM> adds together the values of PROXSTAT each time a new value is available and is periodically reset to zero. The time between successive resets is predetermined and defines a granularity interval.

At the end of the granularity interval, before the resetting of the accumulator <NUM>, a new value is pushed in the FIFO buffer <NUM> by the serial input <NUM>. If the value of accumulator <NUM> is zero, or below a determined threshold, then a value '<NUM>' is pushed in the FIFO. Otherwise, a value '<NUM>' is pushed in the FIFO.

Preferably, the length of the FIFO buffer <NUM> is variable, and can be set at will, within predefined limits. In an exemplary implementation the buffer <NUM> can have a length of up to <NUM> places. The length of the FIFO buffer <NUM> and the granularity interval between each reset of the accumulator <NUM> define the length of the sliding window that is used to average the immediate proximity status flag, relative to the rate of generation of new PROXSTAT values.

Note that the purpose of accumulator <NUM> is to slow down the insertion of new values in the FIFO buffer and, consequently, to limit the length of the FIFO buffer <NUM> needed to obtain a given time window. The window size is determined in relation to the integration level allowed in the regulation and, if it were quite short and memory were not a limiting factor, the accumulator <NUM> could be dispensed with.

Note also that the present disclosure deals with the special case in which the immediate status flag PROXSTAT is a one-bit value, and the content of the accumulator <NUM> is quantized to one bit before being pushed in the FIFO buffer. The FIFO buffer has therefore a width of one bit. This is not a necessary limitation, however, and the invention includes also variants in which the immediate flag PROXSTAT is a multi-bit variable, the accumulator <NUM> accumulates a suitable function of PROXSTAT that indicates whether or not the device is in proximity, and the values pushed in the FIFO buffer <NUM> are also multi-bit variables.

Note also that the FIFO buffer <NUM> can be implemented in various ways without leaving the scope of the invention, for example with a shift register or a ring buffer.

The values comprised in the FIFO buffer <NUM> are samples of the immediate status flag PROXSTAT in a sliding time window, whose length is defined by the length of the buffer times the granularity interval between successive introductions of new values in the buffer. The adding unit <NUM> sums all the values in the FIFO buffer - which, the values being single bits, is the same as counting them - and the result is compared with a predetermined threshold <NUM> in the comparator <NUM> to produce a time-averaged proximity status flag <NUM>. Preferably, the comparator <NUM> has a hysteresis to avoid multiple transitions when the input value <NUM> lingers close to the threshold value <NUM>.

While the figure shows an adder <NUM> reading all the values in the FIFO buffer through the respective parallel outputs at each cycle, this is not the only manner of implementing a sliding sum. A possible variant, for example, may include a register to which the new values entering the buffer at one side are added, and the old values dropping out of the other side of the buffer are subtracted at each cycle. The block <NUM> comprising the FIFO buffer 25a and the adder <NUM> can be regarded functionally as an averaging, or as a sliding sum unit. Although the represented variant is preferred, being stable and easy to implement, all possible implementations of averaging units or sliding sum units are included in the scope of the invention.

The time-averaged proximity status TIMEAVGSTAT could be used to modify the power of a radio transmitter of a portable device, in lieu of the immediate proximity status PROXSTAT. In a preferred variant, a logic unit <NUM> is used to generate a combined status PROXTIMESTAT, available at terminal <NUM>, that is the result of a logic operation on PROXSTAT and TIMEAVGSTAT. The logic operation may be a logic 'or', or a logic 'and', and is preferably selectable by a suitable variable PROXTIMECONFIG, corresponding to wire <NUM> in <FIG>.

<FIG> illustrates the behavior of the invention in a flowchart. The flowchart start with the generation of a new value of PROXSTAT (step <NUM>) that the circuit of <FIG> produces at periodic regular intervals. In step <NUM>, the accumulator <NUM>, here indicated by the variable 'TimeGranCount' is updated. In step <NUM> the system checks whether the current granularity interval is complete. In most cases, the granularity interval will not be complete and the system will take the 'N' branch, update the value of the combined status PROXTIMESTAT (step <NUM>) and end the processing, until the next PROSTAT value is available.

At the end of a granularity interval, the invention pushes a new value in the FIFO buffer (step <NUM>) which new value may be a '<NUM>' or a '<NUM>' as disclosed above, or another suitable value, if the FIFO buffer allows multi-bit values, the sliding sum TimeAvgCount is recalculated, compared with the threshold value TIMEAVGTHRESH (step <NUM>) and the time-averaged flag TIMEAVGSTAT is set accordingly (steps <NUM> and <NUM>).

Plots <NUM> and <NUM> illustrate how the power of a radio transmitter can be controlled to respect SAR/PD limitations, in the invention. Plots <NUM> show the situation in which the radio power is governed by the immediate flag PROXSTAT only. The left-side plot shows the dose level as function of the distance for two power levels: P2 is the full power, and P1 is a reduced "safe" power that is selected by the immediate proximity status PROXSTAT, trimmed to fire when the distance reaches the value D1 at which the dose at nominal power reaches the maximum admissible level 'L'. The right-side plot shows that the power level is 'P2' when PROXSTAT (trace <NUM>) is inactive and is immediately lowered to 'P1' when PROXSTAT is active.

Plot <NUM> shows a case in which the output power is governed by the combined status PROXTIMESTAT, computed in this case by a logic 'and' of PROXSTAT (trace <NUM>) and TIMEAVGSTAT (trace <NUM>).

<FIG> shows a variant of the invention comprising a logic AND gate <NUM> at the input of the averaging unit <NUM>. The averaging unit is represented functionally as a block and its internal structure may include the FIFO buffer <NUM> and sum unit <NUM> of <FIG> or have a different structure. The averaging unit <NUM> yields a value TIMEAVGCOUNT <NUM> that count the accumulated length of time during which the proximity signal PROXSTAT was active, in a time window of predetermined length. If the averaging unit is implemented as disclosed in <FIG>, the window length will correspond to the depth of the FIFO times the update rate, which is determined by the rate of production of new PROXSTAT samples, scaled by the integration time of the counter <NUM>, if present.

The value TIMEAVGCOUNT is compared with a suitable threshold TIMEAVGTHRESH <NUM> in comparator <NUM>, as in the previous embodiment. A time-averaged proximity flag PROXTIMESTAT <NUM> is generated if the threshold TIMEAVGTHRESH is exceeded and the PROXSTAT is active, as represented by the logic gate <NUM>, which substitutes, in this embodiment, the multiplexer <NUM> of <FIG>.

Importantly, the signal PROXTIMESTAT <NUM> is fed back to the input of the averaging unit through the logic AND gate <NUM> that has its inputs tied to the PROXSTAT value and to the complement of PROXTIMESTAT. In this embodiment, the logic gate <NUM> inhibits the accumulation of new PROXSTAT values if the time-averaged proximity signal PROXTIMESTAT is already active. This is advantageous when the sensor is used to limit the radio power of a mobile device, since it allows the power to return to a high level in short intervals during the whole detection period, rather than allowing a short time of high power only at the beginning, as in the previous embodiment. The inventors have found that this manner of detecting proximity improves significatively the connectivity when the detection period (the window length mentioned above) spans over several minutes.

If, to make an example, the embodiment of <FIG> would yield a <NUM> high power period at the beginning, and then low power for the rest of detection time, until the device is moved away, this improved embodiment, thanks to the negative feedback disclosed above, would give with similar parameters, a series of <NUM>-periods of high power alternated with periods of low power. In this manner, connectivity can be preserved without worsening excessively the SAR.

Manufacturers also have the flexibility to use a shorter FIFO duration while still complying with the SAR limit computed on a longer regulatory window.

<FIG> shows the values of the immediate proximity status PROXSTAT (plot <NUM>), the corresponding values of "<NUM>" values present in the FIFO buffer TIMEAVGCOUNT (plot <NUM>), the threshold TIMEAVGTHRESH (plot <NUM>) and the time-averaged proximity status TIMEAVGSTAT (plot <NUM>). The digital signals <NUM> and <NUM> have been shifted by an arbitrary amount to improve readability.

<FIG> corresponds to a scenario in which the mobile device is temporarily moved close to the user in four short intervals, as shown by the immediate proximity status (plot <NUM>). As explained above, this leads to a rise of the TIMEAVGCOUNT value, without however reaching the threshold level (line <NUM>). Consequently, the time-averaged proximity status (plot <NUM>) remains inactive all the time.

<FIG> corresponds to a situation where the proximity between the mobile device and the user is protracted, and the proximity sensor is configurated as in <FIG>. The accumulated value TIMEAVGCOUNT (plot <NUM>) rises steadily until the threshold value <NUM> is exceeded, whereupon the time-averaged proximity status (plot <NUM>) becomes active. The gate <NUM> now inhibits the accumulation of further "<NUM>" values in the averaging unit <NUM>, the accumulated value <NUM> after a constant period at high value dips below the threshold line <NUM>, and the time-averaged proximity status becomes temporarily inactive, despite the continuing proximity. The cycle then repeats until the proximity ends.

<FIG> shows another variant in which the PROXSTAT signal is gated by logic gate <NUM> and by a second OR gate <NUM> with an input receiving the complementary value of PROXSTAT. This variant works as that of <FIG> when PROXSTAT is active. When PROXSTAT is inactive, however, the averaging unit <NUM> is pre-flled with "<NUM>" values, which may provide a faster response. The logic gates at <NUM> and <NUM> simulate an active PROXSTAT value even though PROXSTAT is inactive and fill the memory of the averaging unit accordingly. When the mobile device is brough in proximity with a body part of the user, the PROXTIMESTAT flag will immediately turn to active.

Claim 1:
A proximity sensor for a portable connected wireless device, the sensor being arranged to determine whether a user is in proximity with its body to the portable connected wireless device, the sensor comprising a processing circuit generating an immediate proximity status flag (<NUM>) that becomes active when a part of a user's body is close to the proximity sensor, characterized by an averaging unit (<NUM>) configured to average repeated values of the immediate proximity status flag (<NUM>) in a predetermined time window spanning over more than one minute, and by a decision unit generating a time-averaged proximity status flag (<NUM>) based on an averaged or accumulated value (<NUM>) of the immediate proximity status flag (<NUM>) in the time window.