WO2022141248A1 - Proximity detection circuit, wearable device and proximity detection method - Google Patents

Proximity detection circuit, wearable device and proximity detection method Download PDF

Info

Publication number
WO2022141248A1
WO2022141248A1 PCT/CN2020/141618 CN2020141618W WO2022141248A1 WO 2022141248 A1 WO2022141248 A1 WO 2022141248A1 CN 2020141618 W CN2020141618 W CN 2020141618W WO 2022141248 A1 WO2022141248 A1 WO 2022141248A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
capacitance
self
channel
signal
Prior art date
Application number
PCT/CN2020/141618
Other languages
French (fr)
Chinese (zh)
Inventor
唐玲裕
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2020/141618 priority Critical patent/WO2022141248A1/en
Publication of WO2022141248A1 publication Critical patent/WO2022141248A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/26Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation

Definitions

  • the embodiments of the present application relate to the field of capacitance detection, and more particularly, to a proximity detection circuit, a wearable device, and a proximity detection method.
  • a proximity detection circuit is usually used to detect the user's touch or approach to the earphones.
  • the proximity detection circuit can obtain the information of the user's proximity to the earphone by detecting the change of the self-capacitance of the detection electrode in the earphone to the ground, so as to determine the wearing condition of the earphone and make the earphone perform the corresponding operation.
  • the playback operation is performed, and the playback pause operation is performed when the earphone is detected to be removed from the user's ear.
  • the detection electrodes are usually connected to an electrostatic discharge (Electrostatic Discharge, ESD) protection circuit, and the ESD protection circuit includes protection devices such as transient voltage suppression (Transient Voltage Suppression, TVS) diodes.
  • ESD Electrostatic Discharge
  • TVS Transient Voltage Suppression
  • Embodiments of the present application provide a proximity detection circuit, a wearable device, and a proximity detection method, which can improve the detection performance of the proximity detection circuit in the wearable device.
  • a proximity detection circuit provided in a wearable device, the proximity detection circuit is connected to a plurality of detection channels in the wearable device, and at least part of the detection channels in the plurality of detection channels are An ESD protection circuit is connected thereon, and the proximity detection circuit includes: a self-capacitance drive circuit for inputting a self-capacitance drive signal to a first detection channel to be detected among the plurality of detection channels, and the first detection channel is connected to With the ESD protection circuit, the self-capacitance detection signal output by the first detection channel under the action of the self-capacitance driving signal, the self-capacitance of the detection electrode associated with the first detection channel is relative to the self-capacitance basic capacitance
  • the self-capacitance change of the ESD protection circuit and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed
  • the mutual capacitance variation of the mutual capacitance between the detection electrode of a detection channel and the detection electrode of the second detection channel relative to the mutual capacitance basic capacitance where the mutual capacitance basic capacitance includes: no user approaches the first detection channel When the detection electrode of the first detection channel and the detection electrode of the second detection channel are detected, the mutual capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel; and a signal processing circuit for according to the The self-capacitance detection signal and the mutual capacitance detection signal determine the detection result of whether the user is approaching the wearable device.
  • the proximity detection circuit performs both self-capacitance detection on the detection electrodes and mutual capacitance detection on the detection electrodes. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, the mutual capacitance detection is based on mutual capacitance detection.
  • the detection signals of the capacitance detection and the self-capacitance detection jointly determine the final detection result, which can effectively improve the accuracy of the detection result and improve the detection performance of the proximity detection circuit.
  • the mutual capacitance detection signal is used to determine whether the self-capacitance detection signal is valid.
  • the mutual capacitance detection signal output during mutual capacitance detection can be used to determine whether the self-capacitance detection signal output during self-capacitance detection is valid, that is, the mutual capacitance detection signal is used as an auxiliary to determine the validity of the self-capacitance detection signal. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, judging the validity of the self-capacitance detection signal output during self-capacitance detection based on the mutual capacitance detection signal can ensure that the self-capacitance detection signal is generated by the user close to the wearable equipment, thereby improving the accuracy of the detection results.
  • the self-capacitance detection signal when the mutual capacitance detection signal is greater than a preset first threshold, the self-capacitance detection signal is determined to be valid; and/or, when the mutual capacitance detection signal is smaller than the When the first threshold value is reached, the self-capacitance detection signal is judged to be invalid.
  • the first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
  • the threshold can be determined according to the value of the mutual capacitance detection signal when the user approaches the detection electrode. For example, it may be 0.2-0.8 times the value of the mutual capacitance detection signal when the user approaches the detection electrode.
  • the mutual capacitance detection signal is less than the threshold, there may be no user approach at this time, then the self-capacitance detection signal can be considered invalid, because the magnitude of the self-capacitance detection signal is likely to reflect the TVS in the ESD protection circuit
  • the capacitance change of the diode affected by the light when the mutual capacitance detection signal is greater than the threshold, it can be considered that the user is close to the detection electrode at this time, and the self-capacitance detection signal can be considered effective.
  • the self-capacitance detection signal when the self-capacitance detection signal is determined to be valid, the self-capacitance detection signal is used to determine the detection result; and/or, when the self-capacitance detection signal is determined to be invalid , the proximity detection circuit acquires the self-capacitance detection signal again.
  • the self-capacitance detection signal is considered valid, and the detection result can be determined based on the self-capacitance detection signal; if the self-capacitance detection signal is considered invalid, the self-capacitance detection signal can be re-acquired, or the self-capacitance detection signal can be re-acquired based on the mutual The detection signal determines the detection result. In this way, the self-capacitance detection signal caused by the capacitance change of the ESD protection device can be excluded, thereby improving the accuracy of the detection result.
  • the signal processing circuit is configured to: when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, determine that the user is approaching the possible A wearable device; wherein the second threshold is used to indicate a threshold of a self-capacitance detection signal when a user approaches the wearable device.
  • the self-capacitance detection signal is judged to be valid, indicating that the self-capacitance detection signal is not caused by the capacitance change of the ESD protection device.
  • the self-capacitance detection signal is greater than the preset second threshold, it indicates that a user is approaching the wearable device. Accordingly, the detection result obtained at this time is accurate. Therefore, in the above manner, the accuracy of the detection result can be ensured.
  • a detection period of the proximity detection circuit includes a first period, a second period, and a third period, wherein the first period is used to obtain all the corresponding values of the first detection channel.
  • the self-capacitance change amount, the second period is used to obtain the self-capacitance change amount corresponding to the second detection channel, and the third period is used to obtain the detection electrode of the first detection channel and the first detection channel.
  • a detection cycle of the proximity detection circuit includes a period of self-capacitance detection, and also includes a period of mutual capacitance detection.
  • the proximity detection circuit performs capacitance detection according to the timing sequence, which can effectively obtain the self-capacitance detection signal and the mutual capacitance detection. Signal.
  • the ESD protection circuit is connected to the second detection channel, or the ESD protection circuit is not connected to the second detection channel.
  • the ESD protection circuit includes a transient voltage suppression TVS diode.
  • the proximity detection circuit further includes: a multiplexer, which is respectively connected to the plurality of detection channels, the self-capacitance driving circuit and the mutual-capacity driving circuit, and is used to connect all the The detection channel to be detected among the plurality of detection channels is electrically connected to the self-capacitance driving circuit or the mutual capacitance driving circuit.
  • the signal processing circuit includes: an analog front-end AFE circuit, connected to the multiplexer, for receiving the self-capacitance detection signal and the mutual-capacitance detection signal, and for all The self-capacitance detection signal and the mutual capacitance detection signal are subjected to signal processing to improve the signal quality of the self-capacitance detection signal and the mutual capacitance detection signal.
  • the signal processing circuit includes: a DAQ, for collecting the self-capacitance detection signal and the mutual capacitance detection signal; and a DSP circuit, connected to the DAQ circuit, for collecting the The self-capacitance detection signal and the mutual capacitance detection signal determine the detection result.
  • a wearable device including the proximity detection circuit in the first aspect or any possible implementation manner of the first aspect.
  • a proximity detection method comprising: inputting a self-capacitance driving signal to a first detection channel to be detected in a wearable device, wherein an electrostatic discharge ESD protection circuit is connected to the first detection channel; Obtain a self-capacitance detection signal output by the first detection channel under the action of the self-capacitance drive signal, where the self-capacitance detection signal is related to the self-capacitance of the detection electrode of the first detection channel relative to the self-capacitance base capacitance
  • the self-capacitance change of the ESD protection circuit and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed to light , the self-capacitance of the detection electrode of the first detection channel; output a mutual capacitance drive signal to one of the first detection channel and the second detection channel; obtain under the action of the mutual capacitance
  • the determining the detection result of whether the user is approaching the wearable device according to the self-capacitance detection signal and the mutual capacitance detection signal includes: judging the wearable device according to the mutual capacitance detection signal. Whether the self-capacitance detection signal is valid; when the self-capacitance detection signal is determined to be valid, the detection result is determined according to the self-capacitance detection signal.
  • the determining whether the self-capacitance detection signal is valid according to the mutual capacitance detection signal includes: when the mutual capacitance detection signal is greater than a preset first threshold, determining whether the self-capacitance detection signal is valid. and/or, when the mutual capacitance detection signal is smaller than the first threshold, determine that the self-capacitance detection signal is invalid; wherein the first threshold is used to indicate that the user is approaching the acceptable Threshold of mutual capacitance detection signal when wearing the device.
  • the method further includes: reacquiring the self-capacitance detection signal when the self-capacitance detection signal is determined to be invalid.
  • determining the detection result according to the self-capacitance detection signal includes: when the self-capacitance detection signal is determined to be valid, if the When the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device; wherein the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
  • the self-capacitance variation corresponding to the first detection channel is acquired in a first period of a detection period, and the corresponding amount of the second detection channel is acquired in a second period of the detection period
  • the self-capacitance change amount corresponding to the mutual capacitance change amount between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel is acquired in the third period of the detection period.
  • FIG. 1 is a schematic block diagram of a proximity detection circuit according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a possible implementation based on the proximity detection circuit shown in FIG. 1 .
  • FIG. 3 is a schematic flowchart of a proximity detection method according to an embodiment of the present application.
  • proximity detection circuits are usually used to detect the user's touch or approach to the wearable device.
  • the proximity detection circuit can determine whether the user is currently wearing the earphone by detecting the change of the self-capacitance of the detecting electrode in the earphone.
  • the detection electrodes are usually connected to an external ESD protection circuit.
  • This application does not make any limitation on the ESD protection circuit, which can be a protection circuit formed by any ESD protection device.
  • the ESD protection circuit includes a TVS diode as an example for description.
  • Wearable devices generally include several detection channels, such as two or more than a dozen detection channels.
  • the proximity detection circuit determines whether the user is approaching the The detection result of the wearable device, so that the wearable device performs a matching operation according to the detection result.
  • the above-mentioned “proximity” may include contacting or approaching. For example, a playback operation is performed when it is detected that the earphone is close to the user's ear, and an operation of pause playback is performed when it is detected that the earphone is away from the user's ear.
  • the threshold may be a threshold for indicating the amount of capacitance change when the user approaches the wearable device.
  • the TVS diode connected to the detection channel and the ground, which is also called the junction capacitance of the TVS diode.
  • the TVS diode is easily affected by external light, and its capacitance to ground changes with the light. This capacitance change will affect the detection result of the self-capacitance of the detection electrode, thereby affecting the detection result.
  • FIG. 1 is a schematic block diagram of a proximity detection circuit according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a possible implementation based on the proximity detection circuit shown in FIG. 1 .
  • the proximity detection circuit 200 is connected to the detection channel C 0 to the detection channel CN .
  • the following description takes the detection channel C 0 and the detection channel C 1 as an example. In FIG. 2 , only the detection channel C 0 and the detection channel C 1 are shown. Circuit structure on the two branches of channel C1 . As shown in FIG.
  • the detection channel C 0 and the detection channel C 1 are respectively connected to the TVS diode D 0 and the TVS diode D 1 .
  • the self-capacitance of the detection electrode S 0 on the detection channel C 0 to the ground is C S0
  • the self-capacitance of the detection electrode S 1 on the detection channel C 1 to the ground is C S1 .
  • the size of the self-capacitance C S0 of the detection electrode S 0 will change, and the capacitance change of the self-capacitance C S0 is ⁇ C S0 body .
  • the self-capacitance change amount ⁇ C S0body is valid data expected to be detected by the proximity detection circuit 200 .
  • the capacitance C j0 of the TVS diode D 0 connected to the detection channel C 0 to the ground also changes, and the capacitance change is ⁇ C j0 .
  • the capacitance change reflected by the detection signal output on the detection channel C 0 includes ⁇ C S0body and ⁇ C j0 .
  • the proximity detection circuit 200 will mistakenly think that the capacitance changes of the two parts ⁇ C S0body and ⁇ C j0 are valid data, so as to determine the detection result of the detection channel C 0 according to the ⁇ C S0 body and ⁇ C j0 , that is, whether the user is approaching the detection electrode S 0 detection result.
  • the capacitance change of the self-capacitance C S1 is ⁇ C S1body .
  • the self-capacitance change amount ⁇ C S1body is valid data expected to be detected by the proximity detection circuit 200 .
  • the capacitance C j1 of the TVS diode D 1 connected to the detection channel C 1 to the ground also changes, and the capacitance change is ⁇ C j1 .
  • the capacitance variation reflected by the detection signal output from the detection channel C1 includes ⁇ C S1body and ⁇ C j1 .
  • the proximity detection circuit 200 will mistakenly think that the capacitance changes of ⁇ C S1body and ⁇ C j1 are valid data, so as to determine the detection result of the detection channel C 1 according to the ⁇ C S1 body and ⁇ C j1 , that is, whether the user is approaching the detection electrode S 1 test results.
  • the wearable device may detect that the capacitance change of the above-mentioned self-capacitance reaches the threshold. It will think that the wearable device is worn on the user, and then start to play music and other response events; on the other hand, after the wearable device normally responds to the event that the user approaches the wearable device, due to the influence of light, when the wearable device The wearable device may also be mistakenly identified as still being worn by the user, and the wearable device cannot exit the above-mentioned response event normally.
  • the earphone As an example, it is assumed that when the self-capacitance change ⁇ C S0body of the detection electrode S 0 on the detection channel C 0 in FIG. 2 is greater than the threshold A, it is considered that the user is wearing the earphone, so that the earphone performs the playback operation; and ⁇ C When the S0body is smaller than the threshold value A, it is considered that the user takes off the earphone, so that the earphone performs the operation of pausing playback.
  • the headset When there is light, if the user does not wear the headset, but the capacitance change ⁇ C j0 of the TVS diode D 0 is greater than the threshold A due to the light, the headset will also perform a playback operation, resulting in a false response.
  • the earphone does not think that the user has taken off the earphone, but continues to play, unable to Exit normally.
  • an embodiment of the present application provides a proximity detection circuit, by adding mutual capacitance detection as an auxiliary on the basis of self-capacitance detection, so as to reduce the influence of the ESD protection circuit on the self-capacitance detection due to illumination, and improve the proximity detection circuit.
  • the accuracy of the capacitance detection results is improved, thereby reducing the misjudgment of the event that the human body approaches the wearable device.
  • FIG. 1 is a schematic block diagram of a proximity detection circuit 200 according to an embodiment of the present application.
  • the proximity detection circuit 200 can be applied to wearable devices, including but not limited to TWS earphones (including in-ear, semi-in-ear and head-mounted, etc.), smart watches, smart glasses and other smart wearable devices.
  • TWS earphones including in-ear, semi-in-ear and head-mounted, etc.
  • smart watches smart glasses and other smart wearable devices.
  • the proximity detection circuit 200 is connected to several detection channels in the wearable device, and at least part of the several detection channels is connected with an ESD protection circuit, and the ESD protection circuit includes a TVS diode. As shown in FIG. 2 , the proximity detection circuit 200 includes a self-capacitance driving circuit 210 , a mutual capacitance driving circuit 220 and a signal processing circuit 215 .
  • the self-capacitance driving circuit 210 is used for inputting a self-capacitance driving signal to a first detection channel to be detected among the plurality of detection channels, and an ESD protection circuit is connected to the first detection channel.
  • the self-capacitance detection signal output by the first detection channel under the action of the self-capacitance driving signal, the self-capacitance change of the detection electrode of the first detection channel relative to the self-capacitance basic capacitance, and the ESD protection circuit The amount of capacitance change caused by light exposure.
  • the mutual capacitance driving circuit 220 is configured to output a mutual capacitance driving signal to one of the first detection channel and the second detection channel.
  • the second detection channel may be any detection channel that forms mutual capacitance detection with the first detection channel.
  • the mutual capacitance detection signal output by the first detection channel and the other detection channel of the second detection channel is associated with the detection electrode of the first detection channel and the second detection channel
  • the mutual capacitance variation of the mutual capacitance between the detection electrodes relative to the mutual capacitance base capacitance is associated with the detection electrode of the first detection channel and the second detection channel.
  • the signal processing circuit 215 is configured to determine the detection result of whether the user is approaching the wearable device according to the self-capacitance detection signal and the mutual capacitance detection signal.
  • the proximity detection circuit 200 not only performs self-capacitance detection on the detection electrodes, but also performs mutual capacitance detection on the detection electrodes. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, based on the The detection signals of mutual capacitance detection and self-capacitance detection jointly determine the final detection result, which can effectively improve the accuracy of the detection result and improve the detection performance of the proximity detection circuit. Moreover, the detection circuit provided by the present application can use common ESD protection devices, which can still ensure ESD protection, improve the accuracy of proximity detection, reduce the requirements for ESD device selection, and reduce the use of specific ESD devices. cost impact.
  • self-capacitance detection of proximity detection circuits in wearable devices can accommodate longer detection distances than mutual-capacitance detection.
  • the position of the detection electrode of the earphone and the fit degree of the ear are different, which may be completely fitted or there may be a certain distance (such as rotating the earphone or Headphones come loose due to human movement).
  • self-capacitance detection it can adapt to a larger detection distance, while mutual capacitance detection can adapt to a smaller detection distance. Therefore, for wearable devices such as earphones, the approach of a user is mainly detected by means of self-capacitance detection.
  • the proximity detection circuit uses the mutual capacitance detection result to assist in judging the self-capacitance detection result, thereby improving the accuracy of the detection result and reducing misjudgment of the user approaching event.
  • the embodiment of the present application does not limit the ESD protection circuit.
  • a TVS diode can be used as the ESD protection device in the ESD protection circuit.
  • the description will be given by taking the TVS diode as an ESD protection device as an example.
  • the aforementioned self-capacitance detection signal is not only related to the self-capacitance change of the detection electrode of the first detection channel, but also to the capacitance change of the TVS diode caused by illumination.
  • ESD protection circuits can only be connected to some detection channels. For example, in the first detection channel and the second detection channel, only one of the detection channels can be detected.
  • the ESD protection circuit is connected to the channel, and the ESD protection circuit can also be connected to both detection channels.
  • each detection channel can be tested for static electricity to find the detection channels that are easily affected by static electricity, and connect ESD protection circuits to these detection channels, while the detection channels that are not easily affected by static electricity may not be connected to ESD protection. circuit.
  • the embodiments of the present application do not limit the shape and size of the detection electrodes on the detection channels.
  • the proximity detection circuit 200 When the proximity detection circuit 200 performs self-capacitance detection on the first detection channel, it detects the variation of the self-capacitance between the detection electrode of the first detection channel and the ground relative to the self-capacitance basic capacitance; and when performing mutual capacitance detection, What is detected is the variation of the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel relative to the mutual capacitance base capacitance. It should be understood that, regarding the detection of the capacitance change, the change may be directly measured, or the change may be obtained indirectly, that is, the detection value is measured first, and then the change is obtained according to the detection value and the basic value.
  • the TVS diode is grounded to transfer the electrostatic charge generated when static electricity occurs to the ground.
  • the capacitance change generated when the TVS diode is illuminated will affect the self-capacitance detection result.
  • the loop during mutual capacitance detection passes between the two detection electrodes. Therefore, the capacitance change generated when the TVS diode is illuminated will basically not affect the results of mutual capacitance detection.
  • the above-mentioned self-capacitance basic capacitance includes: when no user approaches the first detection channel and the TVS diode connected to the first detection channel is not illuminated, the self-capacitance of the detection electrode of the first detection channel.
  • the self-capacitance corresponding to the first detection channel will change. According to the magnitude of the self-capacitance change, it can be determined Whether the user is close to the position corresponding to the first detection channel.
  • the above-mentioned mutual capacitance basic capacitance includes: when no user approaches the first detection channel and the second detection channel, and the TVS diode is not illuminated, the detection electrodes of the first detection channel and the second detection channel detect mutual capacitance between electrodes.
  • the mutual capacitance corresponding to the first detection channel will change on the basis of the mutual capacitance basic capacitance. size, it can be determined whether the user is close to the position corresponding to the first detection channel or the second detection channel.
  • the self-capacitance detection signal obtained by the proximity detection circuit 200 when performing self-capacitance detection and the mutual-capacitance detection signal obtained when performing mutual-capacitance detection are jointly used to determine the detection result.
  • the mutual capacitance detection signal can be used to determine whether the self capacitance detection signal is valid.
  • the mutual capacitance detection signal is greater than a preset first threshold, the self-capacitance detection signal is determined to be valid; and/or, when the mutual capacitance detection signal is less than the first threshold, the self-capacitance detection signal is The detection signal is judged to be invalid.
  • the first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
  • the first threshold may be set according to the specific product form.
  • the first threshold may be, for example, several tens of fF to several hundreds of fF.
  • the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, judging the validity of the self-capacitance detection signal output during self-capacitance detection based on the mutual capacitance detection signal can ensure that the self-capacitance detection signal is generated by the user close to the wearable equipment, thereby improving the accuracy of the detection results.
  • the self-capacitance detection signal when the self-capacitance detection signal is determined to be valid, the self-capacitance detection signal is used to determine the detection result; and/or, when the self-capacitance detection signal is determined to be invalid, the proximity detection circuit re-acquires the self-capacitance detection signal. capacity detection signal.
  • the detection result can be determined based on the self-capacitance detection signal; if the self-capacitance detection signal is considered to be invalid, the self-capacitance detection signal can be re-acquired, or can also be based on The mutual capacitance detection signal determines the detection result. In this way, the self-capacitance detection signal caused by the capacitance change of the ESD protection device can be excluded, thereby improving the accuracy of the detection result.
  • the self-capacitance detection signal when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device; wherein the second threshold is used to indicate The threshold of the self-capacitance detection signal when the user approaches the wearable device.
  • the self-capacitance detection signal is judged to be valid, indicating that the self-capacitance detection signal is not caused by the capacitance change of the ESD protection device.
  • the self-capacitance detection signal is greater than the preset second threshold, it indicates that a user is approaching the wearable device. Accordingly, the detection result obtained at this time is accurate. Therefore, in the above manner, the accuracy of the detection result can be ensured.
  • FIG. 2 is a schematic diagram based on a possible implementation of the proximity detection circuit 200 shown in FIG. 1 .
  • the proximity detection circuit 200 is connected to the detection channel C 0 to the detection channel CN .
  • the following description takes the detection channel C 0 and the detection channel C 1 as an example. In FIG. 2 , only the detection channel C 0 and the detection channel C 1 are shown. Circuit structure on the two branches of channel C1 .
  • the detection channel C 0 and the detection channel C 1 are respectively connected to the TVS diode D 0 and the TVS diode D 1 .
  • the self-capacitance of the detection electrode S 0 on the detection channel C 0 to the ground is C S0
  • the self-capacitance of the detection electrode S 1 on the detection channel C 1 to the ground is C S1
  • the detection electrode on the detection channel C 0 is C S1
  • the mutual capacitance between S 0 and the detection electrode S 1 on the detection channel C 1 is C m
  • the capacitance of the TVS diode D 0 to ground and the capacitance of the TVS diode D 1 to the ground are C j0 and C j1 , respectively.
  • the self-capacitance driving circuit 210 can input a self-capacitance driving signal to the detection channel C 0 and receive the self-capacitance detection signal output by the detection channel C 0 , and the self-capacitance detection signal reflects the is the self-capacitance change ⁇ C S0 body of the detection electrode C S0 and the capacitance change ⁇ C j0 of the TVS diode; the mutual capacitance drive circuit 220 can input the mutual capacitance to one of the detection channel C 0 and the detection channel C 1 The driving signal is received, and the mutual capacitance detection signal output by the other detection channel is received.
  • the self-capacitance detection signal reflects the mutual capacitance variation ⁇ C mbody between the detection electrode C S0 and the detection electrode C S1 .
  • the threshold B is set, if the mutual capacitance detection signal is greater than the threshold B, the self-capacitance detection signal is considered to be valid, and the proximity detection circuit 200 can determine whether the user is approaching the corresponding position of the first detection channel according to the self-capacitance detection signal; If the signal is smaller than the threshold value B, it is considered that the self-capacitance detection signal is invalid, and at this time, the proximity detection circuit 200 can obtain the self-capacitance detection signal again.
  • the earphone As an example, it is assumed that when the self-capacitance change ⁇ C S0body of the detection electrode S 0 on the detection channel C 0 in FIG. 2 is greater than the threshold A, it is considered that the user is wearing the earphone, so that the earphone performs the playback operation; and ⁇ C When the S0body is smaller than the threshold value A, it is considered that the user takes off the earphone, so that the earphone performs the operation of pausing playback.
  • the earphone When there is light, if the user does not wear the earphone, but the amount of capacitance change ⁇ C j0 of the TVS diode D 0 is greater than the threshold A due to the light, the earphone will also perform a playback operation, resulting in a false response. At this time, if the mutual capacitance detection signal used to represent the mutual capacitance change ⁇ C mbody is less than the threshold B, the above detection result will be judged to be invalid, so that the headphones will not be misplayed; if the mutual capacitance detection signal is greater than the threshold B, then The above detection result will be judged to be valid, and the playback will be executed.
  • a detection period of the proximity detection circuit 200 includes a first period, a second period and a third period.
  • the three time periods are respectively used for self-capacitance detection of the first detection channel, self-capacitance detection of the second detection channel, and mutual capacitance detection between the first detection channel and the second detection channel.
  • the time sequence of the first time period, the second time period and the third time period is not limited here.
  • the detection cycle includes a first period of time, a second period of time, and a third period of time according to time sequence.
  • the first time period is used to obtain the self-capacitance change corresponding to the first detection channel
  • the second time period is used to obtain the self-capacitance change corresponding to the second detection channel
  • the third time period is used to obtain the detection electrode and the first detection channel.
  • the detection results of the first detection channel and the second detection channel can be comprehensively determined according to the data of the self-capacitance detection and the mutual capacitance detection. In this way, an accurate detection result of the corresponding detection channel can be obtained within one detection period.
  • serial detection is usually adopted. As shown in Fig. 2, in one detection cycle, the self-capacitance change of the detection electrode on the detection channel C 0 and the self-capacitance change of the detection electrode on the detection channel C 1 are detected, and the difference between the two is detected.
  • the mutual capacitance change is detected; then, in the next detection cycle, the self-capacitance change of the detection electrode on the detection channel C2 and the self - capacitance change of the detection electrode on the detection channel C3 are detected, and the two The change in mutual capacitance between them is detected; in turn, similarly, the remaining detection channels are detected in sequence in the subsequent detection cycle, until finally the change in self-capacitance of the detection electrode on the detection channel CN-1 and The self-capacitance variation of the detection electrodes on the detection channel CN is detected, and the mutual capacitance variation between the two is detected.
  • the proximity detection circuit 200 may further include a multiplexer 230 .
  • the multiplexer 230 is connected to several detection channels, the self-capacitance driving circuit 210 and the mutual capacitance driving circuit 220 in the wearable device, and is used to electrically connect the detection channel to be detected among the several detection channels to the self-capacitance driving circuit circuit 210 or the mutual capacitance driving circuit 220 .
  • the signal processing circuit 215 may include an analog front end (Analog Front End, AFE) circuit 240 .
  • the AFE circuit 240 is connected to the multiplexer 230 for receiving the self-capacitance detection signal and the mutual-capacitance detection signal, and performing signal conditioning on the self-capacitance detection signal and the mutual-capacitance detection signal to improve the difference between the self-capacitance detection signal and the mutual-capacitance detection signal. Signal quality.
  • the signal processing circuit 215 may include a data acquisition circuit (Data Acquisition Circuit, DAQ) 250 and a digital signal processing circuit (Digital Signal Processor, DSP) 260.
  • DAQ Data Acquisition Circuit
  • DSP Digital Signal Processor
  • the DAQ 250 is used to acquire self-capacitance detection signals and mutual capacitance detection signals.
  • the DAQ 250 can be connected to the AFE circuit 240 for collecting the self-capacitance detection signal and the mutual capacitance detection signal processed by the AFE circuit 240.
  • the DSP circuit 260 is connected to the DAQ circuit 250 for determining the detection result according to the self-capacitance detection signal and the mutual capacitance detection signal.
  • the multiplexer (Multiplexer) 230 may also be referred to as a multiplexer, a data selector, etc., and is a device that can select one signal from a plurality of signals for input or output. For its specific description, reference may be made to the description of the multiplexer in the related art, which will not be repeated here. Any detection channel can be switched and connected to the self-capacitance driving circuit 210 , the mutual capacitance driving circuit 220 and the AFE circuit 240 through the multiplexer 230 .
  • the current detection is the self-capacitance of the detection electrode of the first detection channel to the ground
  • the multiplexer 230 can select the first detection channel in several detection channels, so that the driving signal of the self-capacitance driving circuit 210 It can be input to the first detection channel, and the self-capacitance detection signal output by the first detection channel can be output to the AFE circuit 240 through the multiplexer 230 .
  • the current detection is the self-capacitance of the detection electrode of the second detection channel to the ground
  • the multiplexer 230 can select the second detection channel in several detection channels, so that the self-capacitance driving circuit 210 can drive the self-capacitance driving circuit 210.
  • the signal may be input to the second detection channel, and the self-capacitance detection signal output by the second detection channel may be output to the AFE circuit 240 through the multiplexer 230 .
  • the current detection is the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel
  • the multiplexer 230 may select the first detection channel and the second detection channel in several detection channels. Two detection channels, so that the driving signal of the self-capacitance driving circuit 210 is input to the first detection channel, and the mutual capacitance detection signal output by the second detection channel is output to the AFE circuit 240 through the multiplexer 230; The driving signal of the capacitance driving circuit 210 is input to the second detection channel, and the mutual capacitance detection signal output by the first detection channel is output to the AFE circuit 240 through the multiplexer 230 .
  • the AFE circuit 240 is an integrated component including an amplifier circuit, a filter circuit, an analog-to-digital conversion circuit, etc., and can be used to amplify, filter, and convert the self-capacitance detection signal and the mutual capacitance detection signal.
  • This embodiment of the present application does not limit the specific structure of the AFE circuit 240 .
  • the proximity detection circuit 200 may also include other circuit components, such as auxiliary circuits, power supply circuits, etc., which are not illustrated here.
  • the proximity detection circuit 200 may be an integrated circuit, that is, the above circuit modules 210 to 260 may be integrated on a chip; or, the above circuit modules 210 to 260 may also be discrete circuit modules. This embodiment of the present application does not limit this.
  • Embodiments of the present application further provide a wearable device, including the proximity detection circuit 200 in the above-mentioned various embodiments of the present application.
  • the embodiment of the present application also provides a proximity detection method 300 .
  • This method can be applied to the proximity detection circuit 200 and the wearable device in the various embodiments of the present application described above. As shown in FIG. 3, the method 300 may include:
  • Input a self-capacitance drive signal to a first detection channel to be detected in the wearable device, where an electrostatic discharge ESD protection circuit is connected to the first detection channel;
  • the self-capacitance basic capacitance includes: no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not affected When illuminated, the self-capacitance of the detection electrode of the first detection channel;
  • the mutual capacitance variation is the mutual capacitance variation of the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel relative to the mutual capacitance basic capacitance
  • the mutual capacitance The basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the detection electrode of the second detection channel, the capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel is mutual capacitance;
  • the mutual capacitance detection signal when the mutual capacitance detection signal is greater than a preset first threshold, it is determined that the self-capacitance detection signal is valid; and/or, when the mutual capacitance detection signal is smaller than the When the first threshold is used, it is determined that the self-capacitance detection signal is invalid; wherein, the first threshold is used to indicate the threshold of the mutual-capacity detection signal when the user approaches the wearable device.
  • the self-capacitance detection signal when the self-capacitance detection signal is determined to be invalid, the self-capacitance detection signal is re-acquired.
  • determining the detection result according to the self-capacitance detection signal includes: when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is determined to be valid. If the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user approaches the wearable device; wherein the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
  • the self-capacitance variation corresponding to the first detection channel is acquired in a first period of a detection period, and the second detection channel is acquired in a second period of the detection period.
  • the mutual capacitance variation corresponding to the detection electrode of the first detection channel and the detection electrode of the second detection channel is acquired in the third period of the detection period.
  • the ESD protection device provided by this application adopts TVS, and TVS has a better electrostatic protection effect.
  • the detection circuit provided by this application can use common TVS, so as to avoid the difficulty of type selection and the high cost caused by the use of specific TVS. question.
  • the detection circuit provided by the present application can improve the accuracy of proximity detection and greatly reduce the cost of the entire detection circuit while ensuring ESD protection.
  • the proximity detection method 300 of the embodiment of the present application corresponds to the proximity detection circuit 200 of the embodiment of the present application, and the relevant description thereof may refer to the foregoing embodiments, which will not be repeated here for brevity.
  • the wearable device in the embodiment of the present application may include a device with full functions, a large size, and a device that can achieve complete or partial functions without relying on a smartphone, such as a smart watch or smart glasses; it may also include a device that only focuses on a certain A type of application function that needs to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry that monitor physical signs.

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

A proximity detection circuit (200), provided in a wearable device and connected to a plurality of detection channels. The proximity detection circuit (200) comprises: a self-capacitance drive circuit (210), configured to input a self-capacitance drive signal to a first detection channel, wherein the first detection channel is connected to an ESD protection circuit, and a self-capacitance detection signal outputted by the first detection channel under the action of the self-capacitance drive signal is associated with a self-capacitance variation amount and a capacitance variation amount caused by the ESD protection circuit being illuminated; a mutual-capacitance drive circuit (220), configured to output a mutual-capacitance drive signal to one of the first detection channel and a second detection channel, wherein under the action of the mutual-capacitance drive signal, a mutual-capacitance detection signal outputted by the other detection channel is associated with a mutual-capacitance variation amount; and a signal processing circuit (215), configured to determine, according to the self-capacitance detection signal and the mutual-capacitance detection signal, a detection result of whether a user is close to a wearable device. The proximity detection circuit (200) can improve the detection performance of the proximity detection circuit (200) in a wearable device.

Description

接近检测电路、可穿戴设备和接近检测方法Proximity detection circuit, wearable device, and proximity detection method 技术领域technical field
本申请实施例涉及电容检测领域,并且更具体地,涉及一种接近检测电路、可穿戴设备和接近检测方法。The embodiments of the present application relate to the field of capacitance detection, and more particularly, to a proximity detection circuit, a wearable device, and a proximity detection method.
背景技术Background technique
在可穿戴设备,例如真无线立体声(True Wireless Stereo,TWS)耳机中,通常利用接近检测电路来检测用户对耳机的触摸或靠近。接近检测电路可以通过检测耳机中的检测电极对地的自电容的变化情况,以获取用户接近耳机的信息,从而确定耳机的佩戴情况和使耳机执行相应的操作,例如在检测到耳机接近用户耳朵时执行播放操作,在检测到耳机离开用户耳朵时执行暂停播放的操作等。同时,为了实现电路保护,检测电极通常连接静电放电(Electrostatic Discharge,ESD)保护电路,ESD保护电路包括例如瞬态电压抑制(Transient Voltage Suppression,TVS)二极管等保护器件。TVS二极管容易受到外界光照的影响,使其对地的电容发生变化,这种电容变化会对检测电极的自电容的检测结果造成影响,从而影响接近检测电路的检测性能。In wearable devices, such as True Wireless Stereo (TWS) earphones, a proximity detection circuit is usually used to detect the user's touch or approach to the earphones. The proximity detection circuit can obtain the information of the user's proximity to the earphone by detecting the change of the self-capacitance of the detection electrode in the earphone to the ground, so as to determine the wearing condition of the earphone and make the earphone perform the corresponding operation. When it is detected that the earphone has left the user's ear, the playback operation is performed, and the playback pause operation is performed when the earphone is detected to be removed from the user's ear. Meanwhile, in order to achieve circuit protection, the detection electrodes are usually connected to an electrostatic discharge (Electrostatic Discharge, ESD) protection circuit, and the ESD protection circuit includes protection devices such as transient voltage suppression (Transient Voltage Suppression, TVS) diodes. The TVS diode is easily affected by external light, which changes its capacitance to the ground. This capacitance change will affect the detection result of the self-capacitance of the detection electrode, thereby affecting the detection performance of the proximity detection circuit.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种接近检测电路、可穿戴设备和接近检测方法,能够提高可穿戴设备中的接近检测电路的检测性能。Embodiments of the present application provide a proximity detection circuit, a wearable device, and a proximity detection method, which can improve the detection performance of the proximity detection circuit in the wearable device.
第一方面,提供了一种接近检测电路,设置于可穿戴设备中,所述接近检测电路与所述可穿戴设备中的若干个检测通道相连,所述若干个检测通道中的至少部分检测通道上连接有ESD保护电路,所述接近检测电路包括:自容驱动电路,用于向所述若干个检测通道中待检测的第一检测通道输入自容驱动信号,所述第一检测通道上连接有所述ESD保护电路,所述第一检测通道在所述自容驱动信号的作用下输出的自容检测信号,关联于所述第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量以及所述ESD保护电路受光照所引起的电容变化量,所述自容基础电容包括:没有用户接近所述第一检测通道的检测电极且所述ESD保护电路没有受到光照时,所述第一检测通道的检测电极的自电容;互容驱动电路,用于向所述第一检 测通道和第二检测通道中的一个检测通道输出互容驱动信号,其中,在所述互容驱动信号的作用下,所述第一检测通道和所述第二检测通道中的另一个检测通道输出的互容检测信号,关联于互容变化量,所述互容变化量为所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量,所述互容基础电容包括:没有用户接近所述第一检测通道的检测电极和所述第二检测通道的检测电极时,所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容;及信号处理电路,用于根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果。In a first aspect, a proximity detection circuit provided in a wearable device is provided, the proximity detection circuit is connected to a plurality of detection channels in the wearable device, and at least part of the detection channels in the plurality of detection channels are An ESD protection circuit is connected thereon, and the proximity detection circuit includes: a self-capacitance drive circuit for inputting a self-capacitance drive signal to a first detection channel to be detected among the plurality of detection channels, and the first detection channel is connected to With the ESD protection circuit, the self-capacitance detection signal output by the first detection channel under the action of the self-capacitance driving signal, the self-capacitance of the detection electrode associated with the first detection channel is relative to the self-capacitance basic capacitance The self-capacitance change of the ESD protection circuit and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed to light , the self-capacitance of the detection electrode of the first detection channel; the mutual capacitance drive circuit is used to output a mutual capacitance drive signal to one of the first detection channel and the second detection channel, wherein in the mutual capacitance drive circuit Under the action of the capacitance driving signal, the mutual capacitance detection signal output by the other detection channel in the first detection channel and the second detection channel is related to the mutual capacitance change, and the mutual capacitance change is the first detection channel. The mutual capacitance variation of the mutual capacitance between the detection electrode of a detection channel and the detection electrode of the second detection channel relative to the mutual capacitance basic capacitance, where the mutual capacitance basic capacitance includes: no user approaches the first detection channel When the detection electrode of the first detection channel and the detection electrode of the second detection channel are detected, the mutual capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel; and a signal processing circuit for according to the The self-capacitance detection signal and the mutual capacitance detection signal determine the detection result of whether the user is approaching the wearable device.
检测通道上连接的ESD保护电路中的ESD保护器件在受光照时,其电容也会发生变化,导致该检测通道上的检测电极的自容检测结果受到影响。在该实施例中,接近检测电路既会对检测电极进行自容检测,也会对检测电极进行互容检测,而由于互容检测基本不会受到ESD保护器件的电容变化的影响,因此基于互容检测和自容检测的检测信号共同确定最终的检测结果,可以有效提高检测结果的准确性,提高接近检测电路的检测性能。When the ESD protection device in the ESD protection circuit connected to the detection channel is exposed to light, its capacitance will also change, so that the self-capacitance detection result of the detection electrode on the detection channel is affected. In this embodiment, the proximity detection circuit performs both self-capacitance detection on the detection electrodes and mutual capacitance detection on the detection electrodes. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, the mutual capacitance detection is based on mutual capacitance detection. The detection signals of the capacitance detection and the self-capacitance detection jointly determine the final detection result, which can effectively improve the accuracy of the detection result and improve the detection performance of the proximity detection circuit.
在一种可能的实现方式中,所述互容检测信号用于判断所述自容检测信号是否有效。In a possible implementation manner, the mutual capacitance detection signal is used to determine whether the self-capacitance detection signal is valid.
具体来说,互电容检测时输出的互容检测信号可以用来判断自电容检测时输出的自容检测信号是否有效,即将互容检测信号作为辅助,来判断自容检测信号的有效性。由于互容检测基本不会受到ESD保护器件的电容变化的影响,基于互容检测信号来判断自电容检测时输出的自容检测信号的有效性,可以确保自容检测信号是由用户接近可穿戴设备引起的,从而能够提高检测结果的准确性。Specifically, the mutual capacitance detection signal output during mutual capacitance detection can be used to determine whether the self-capacitance detection signal output during self-capacitance detection is valid, that is, the mutual capacitance detection signal is used as an auxiliary to determine the validity of the self-capacitance detection signal. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, judging the validity of the self-capacitance detection signal output during self-capacitance detection based on the mutual capacitance detection signal can ensure that the self-capacitance detection signal is generated by the user close to the wearable equipment, thereby improving the accuracy of the detection results.
在一种可能的实现方式中,当所述互容检测信号大于预设的第一阈值时,所述自容检测信号被判断为有效;和/或,当所述互容检测信号小于所述第一阈值时,所述自容检测信号被判断为无效。所述第一阈值用于指示用户接近所述可穿戴设备时的互容检测信号的阈值。In a possible implementation manner, when the mutual capacitance detection signal is greater than a preset first threshold, the self-capacitance detection signal is determined to be valid; and/or, when the mutual capacitance detection signal is smaller than the When the first threshold value is reached, the self-capacitance detection signal is judged to be invalid. The first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
该阈值可以根据用户接近检测电极时互容检测信号的值确定。例如,可以是用户接近检测电极时互容检测信号的值的0.2-0.8倍。当互容检测信号小于该阈值时,此时可能并没有用户的接近,那么自容检测信号可以被认为是无效的,因为自容检测信号的大小很有可能反映的是ESD保护电路中的 TVS二极管受光照影响而产生的电容变化量;当互容检测信号大于该阈值时,可以认为此时用户接近了检测电极,那么自容检测信号可以被认为是有效的。The threshold can be determined according to the value of the mutual capacitance detection signal when the user approaches the detection electrode. For example, it may be 0.2-0.8 times the value of the mutual capacitance detection signal when the user approaches the detection electrode. When the mutual capacitance detection signal is less than the threshold, there may be no user approach at this time, then the self-capacitance detection signal can be considered invalid, because the magnitude of the self-capacitance detection signal is likely to reflect the TVS in the ESD protection circuit The capacitance change of the diode affected by the light; when the mutual capacitance detection signal is greater than the threshold, it can be considered that the user is close to the detection electrode at this time, and the self-capacitance detection signal can be considered effective.
在一种可能的实现方式中,所述自容检测信号被判断为有效时,所述自容检测信号用于确定所述检测结果;和/或,所述自容检测信号被判断为无效时,所述接近检测电路重新获取所述自容检测信号。In a possible implementation manner, when the self-capacitance detection signal is determined to be valid, the self-capacitance detection signal is used to determine the detection result; and/or, when the self-capacitance detection signal is determined to be invalid , the proximity detection circuit acquires the self-capacitance detection signal again.
具体来说,自容检测信号被认为是有效的,可以基于自容检测信号确定检测结果;如果自容检测信号被认为是无效的,则可以重新获取该自容检测信号,或者也可以基于互容检测信号确定检测结果。这样可以排除掉由ESD保护器件的电容变化引起的自容检测信号,从而能够提高检测结果的准确性。Specifically, the self-capacitance detection signal is considered valid, and the detection result can be determined based on the self-capacitance detection signal; if the self-capacitance detection signal is considered invalid, the self-capacitance detection signal can be re-acquired, or the self-capacitance detection signal can be re-acquired based on the mutual The detection signal determines the detection result. In this way, the self-capacitance detection signal caused by the capacitance change of the ESD protection device can be excluded, thereby improving the accuracy of the detection result.
在一种可能的实现方式中,所述信号处理电路用于:所述自容检测信号被判断为有效时,若所述自容检测信号大于预设的第二阈值,确定用户接近所述可穿戴设备;其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。In a possible implementation manner, the signal processing circuit is configured to: when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, determine that the user is approaching the possible A wearable device; wherein the second threshold is used to indicate a threshold of a self-capacitance detection signal when a user approaches the wearable device.
自容检测信号被判断为有效,表明自容检测信号不是由ESD保护器件的电容变化引起的,此时,若自容检测信号大于预设的第二阈值,表明有用户接近了可穿戴设备。相应地,此时得到的检测结果是准确的。因此,采用上述方式,可以确保检测结果的准确性。The self-capacitance detection signal is judged to be valid, indicating that the self-capacitance detection signal is not caused by the capacitance change of the ESD protection device. At this time, if the self-capacitance detection signal is greater than the preset second threshold, it indicates that a user is approaching the wearable device. Accordingly, the detection result obtained at this time is accurate. Therefore, in the above manner, the accuracy of the detection result can be ensured.
在一种可能的实现方式中,所述接近检测电路的一个检测周期包括第一时段、第二时段和第三时段,其中,所述第一时段用于获取所述第一检测通道对应的所述自容变化量,所述第二时段用于获取所述第二检测通道对应的所述自容变化量,所述第三时段用于获取所述第一检测通道的检测电极与所述第二检测通道的检测电极之间对应的所述互容变化量。In a possible implementation manner, a detection period of the proximity detection circuit includes a first period, a second period, and a third period, wherein the first period is used to obtain all the corresponding values of the first detection channel. The self-capacitance change amount, the second period is used to obtain the self-capacitance change amount corresponding to the second detection channel, and the third period is used to obtain the detection electrode of the first detection channel and the first detection channel. The corresponding change in mutual capacitance between the detection electrodes of the two detection channels.
在该实施例中,接近检测电路的一个检测周期包括自容检测的时段,并且还包括互容检测的时段,接近检测电路按照该时序进行电容检测,可以有效获取自容检测信号和互容检测信号。In this embodiment, a detection cycle of the proximity detection circuit includes a period of self-capacitance detection, and also includes a period of mutual capacitance detection. The proximity detection circuit performs capacitance detection according to the timing sequence, which can effectively obtain the self-capacitance detection signal and the mutual capacitance detection. Signal.
在一种可能的实现方式中,所述第二检测通道上连接有所述ESD保护电路,或者所述第二检测通道上未连接所述ESD保护电路。In a possible implementation manner, the ESD protection circuit is connected to the second detection channel, or the ESD protection circuit is not connected to the second detection channel.
在一种可能的实现方式中,所述ESD保护电路包括瞬变电压抑制TVS二极管。In one possible implementation, the ESD protection circuit includes a transient voltage suppression TVS diode.
在一种可能的实现方式中,所述接近检测电路还包括:多路选择器,与所述若干个检测通道、所述自容驱动电路和所述互容驱动电路分别相连,用 于将所述若干个检测通道中待检测的检测通道电连接到所述自容驱动电路或所述互容驱动电路。In a possible implementation manner, the proximity detection circuit further includes: a multiplexer, which is respectively connected to the plurality of detection channels, the self-capacitance driving circuit and the mutual-capacity driving circuit, and is used to connect all the The detection channel to be detected among the plurality of detection channels is electrically connected to the self-capacitance driving circuit or the mutual capacitance driving circuit.
在一种可能的实现方式中,所述信号处理电路包括:模拟前端AFE电路,与所述多路选择器相连,用于接收所述自容检测信号和所述互容检测信号,并对所述自容检测信号和所述互容检测信号进行信号处理以提高所述自容检测信号和所述互容检测信号的信号质量。In a possible implementation manner, the signal processing circuit includes: an analog front-end AFE circuit, connected to the multiplexer, for receiving the self-capacitance detection signal and the mutual-capacitance detection signal, and for all The self-capacitance detection signal and the mutual capacitance detection signal are subjected to signal processing to improve the signal quality of the self-capacitance detection signal and the mutual capacitance detection signal.
在一种可能的实现方式中,所述信号处理电路包括:DAQ,用于采集所述自容检测信号和所述互容检测信号;以及,DSP电路,与所述DAQ电路相连,用于根据所述自容检测信号和所述互容检测信号确定所述检测结果。In a possible implementation manner, the signal processing circuit includes: a DAQ, for collecting the self-capacitance detection signal and the mutual capacitance detection signal; and a DSP circuit, connected to the DAQ circuit, for collecting the The self-capacitance detection signal and the mutual capacitance detection signal determine the detection result.
第二方面,提供了一种可穿戴设备,包括第一方面或第一方面的任意可能的实现方式中的接近检测电路。In a second aspect, a wearable device is provided, including the proximity detection circuit in the first aspect or any possible implementation manner of the first aspect.
第三方面,提供了一种接近检测方法,包括:向可穿戴设备中的待检测的第一检测通道输入自容驱动信号,其中,所述第一检测通道上连接有静电放电ESD保护电路;获取所述第一检测通道在所述自容驱动信号的作用下输出的自容检测信号,所述自容检测信号关联于所述第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量以及所述ESD保护电路受光照所引起的电容变化量,所述自容基础电容包括:没有用户接近所述第一检测通道的检测电极且所述ESD保护电路没有受到光照时,所述第一检测通道的检测电极的自电容;向所述第一检测通道和第二检测通道中的一个检测通道输出互容驱动信号;获取在所述互容驱动信号的作用下,所述第一检测通道和所述第二检测通道中的另一个检测通道输出的互容检测信号,所述互容检测信号关联于互容变化量,所述互容变化量为所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量,所述互容基础电容包括:没有用户接近所述第一检测通道的检测电极和所述第二检测通道的检测电极时,所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容;根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果。In a third aspect, a proximity detection method is provided, comprising: inputting a self-capacitance driving signal to a first detection channel to be detected in a wearable device, wherein an electrostatic discharge ESD protection circuit is connected to the first detection channel; Obtain a self-capacitance detection signal output by the first detection channel under the action of the self-capacitance drive signal, where the self-capacitance detection signal is related to the self-capacitance of the detection electrode of the first detection channel relative to the self-capacitance base capacitance The self-capacitance change of the ESD protection circuit and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed to light , the self-capacitance of the detection electrode of the first detection channel; output a mutual capacitance drive signal to one of the first detection channel and the second detection channel; obtain under the action of the mutual capacitance drive signal, all The mutual capacitance detection signal output by the other detection channel in the first detection channel and the second detection channel, the mutual capacitance detection signal is related to the mutual capacitance variation, and the mutual capacitance variation is the first detection The mutual capacitance variation of the mutual capacitance between the detection electrode of the channel and the detection electrode of the second detection channel relative to the mutual capacitance basic capacitance, where the mutual capacitance basic capacitance includes: no user approaches the detection of the first detection channel When the electrode and the detection electrode of the second detection channel, the mutual capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel; according to the self-capacitance detection signal and the mutual capacitance The detection signal determines whether the user is approaching the detection result of the wearable device.
在一种可能的实现方式中,所述根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果,包括:根据所述互容检测信号判断所述自容检测信号是否有效;所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果。In a possible implementation manner, the determining the detection result of whether the user is approaching the wearable device according to the self-capacitance detection signal and the mutual capacitance detection signal includes: judging the wearable device according to the mutual capacitance detection signal. Whether the self-capacitance detection signal is valid; when the self-capacitance detection signal is determined to be valid, the detection result is determined according to the self-capacitance detection signal.
在一种可能的实现方式中,所述根据所述互容检测信号判断所述自容检测信号是否有效,包括:当所述互容检测信号大于预设的第一阈值时,判断所述自容检测信号为有效;和/或,当所述互容检测信号小于所述第一阈值时,判断所述自容检测信号为无效;其中,所述第一阈值用于指示用户接近所述可穿戴设备时的互容检测信号的阈值。In a possible implementation manner, the determining whether the self-capacitance detection signal is valid according to the mutual capacitance detection signal includes: when the mutual capacitance detection signal is greater than a preset first threshold, determining whether the self-capacitance detection signal is valid. and/or, when the mutual capacitance detection signal is smaller than the first threshold, determine that the self-capacitance detection signal is invalid; wherein the first threshold is used to indicate that the user is approaching the acceptable Threshold of mutual capacitance detection signal when wearing the device.
在一种可能的实现方式中,所述方法还包括:所述自容检测信号被判断为无效时,重新获取所述自容检测信号。In a possible implementation manner, the method further includes: reacquiring the self-capacitance detection signal when the self-capacitance detection signal is determined to be invalid.
在一种可能的实现方式中,所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果,包括:所述自容检测信号被判断为有效时,若所述自容检测信号大于预设的第二阈值,确定用户接近所述可穿戴设备;其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。In a possible implementation manner, when the self-capacitance detection signal is determined to be valid, determining the detection result according to the self-capacitance detection signal includes: when the self-capacitance detection signal is determined to be valid, if the When the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device; wherein the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
在一种可能的实现方式中,在一个检测周期的第一时段获取所述第一检测通道对应的所述自容变化量,在所述检测周期的第二时段获取所述第二检测通道对应的所述自容变化量,在所述检测周期的第三时段获取所述第一检测通道的检测电极与所述第二检测通道的检测电极之间对应的所述互容变化量。In a possible implementation manner, the self-capacitance variation corresponding to the first detection channel is acquired in a first period of a detection period, and the corresponding amount of the second detection channel is acquired in a second period of the detection period The self-capacitance change amount corresponding to the mutual capacitance change amount between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel is acquired in the third period of the detection period.
附图说明Description of drawings
图1是本申请实施例的接近检测电路的示意性框图。FIG. 1 is a schematic block diagram of a proximity detection circuit according to an embodiment of the present application.
图2是基于图1所示的接近检测电路的一种可能的实现方式的示意图。FIG. 2 is a schematic diagram of a possible implementation based on the proximity detection circuit shown in FIG. 1 .
图3是本申请实施例的接近检测方法的示意性流程图。FIG. 3 is a schematic flowchart of a proximity detection method according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
在可穿戴设备,例如蓝牙耳机、智能手表中,通常利用接近检测电路来检测用户对可穿戴设备的触摸或靠近。比如,接近检测电路可以通过检测耳机中的检测电极的自电容的变化情况,来确定用户当前是否佩戴耳机。为了提高电容检测的可靠性,检测电极通常连接外部的ESD保护电路。本申请对ESD保护电路不做任何限定,其可以是由任何ESD保护器件形成的保护电路。以下,均以ESD保护电路包括TVS二极管为例进行描述。In wearable devices, such as Bluetooth headsets and smart watches, proximity detection circuits are usually used to detect the user's touch or approach to the wearable device. For example, the proximity detection circuit can determine whether the user is currently wearing the earphone by detecting the change of the self-capacitance of the detecting electrode in the earphone. In order to improve the reliability of capacitance detection, the detection electrodes are usually connected to an external ESD protection circuit. This application does not make any limitation on the ESD protection circuit, which can be a protection circuit formed by any ESD protection device. In the following description, the ESD protection circuit includes a TVS diode as an example for description.
可穿戴设备中一般包括若干个检测通道,例如两个或者十几个检测通道,通常,接近检测电路通过检测各个检测通道上的检测电极对地的自电容的变化情况,确定用户是否接近所述可穿戴设备的检测结果,从而使可穿戴设备根据检测结果执行相匹配的操作。上述“接近”可以包括接触或靠近。例如在检测到耳机接近用户的耳朵时执行播放操作,在检测到耳机离开用户的耳朵时执行暂停播放的操作等。例如,在上述自电容的电容变化量达到预设阈值时,会认为耳机被佩戴在用户耳朵上,进而耳机开始播放音乐。该阈值可以是用于指示用户接近可穿戴设备时的电容变化量的阈值。Wearable devices generally include several detection channels, such as two or more than a dozen detection channels. Usually, the proximity detection circuit determines whether the user is approaching the The detection result of the wearable device, so that the wearable device performs a matching operation according to the detection result. The above-mentioned "proximity" may include contacting or approaching. For example, a playback operation is performed when it is detected that the earphone is close to the user's ear, and an operation of pause playback is performed when it is detected that the earphone is away from the user's ear. For example, when the capacitance change amount of the self-capacitance reaches a preset threshold, it will be considered that the earphone is worn on the user's ear, and then the earphone starts to play music. The threshold may be a threshold for indicating the amount of capacitance change when the user approaches the wearable device.
连接在检测通道上的TVS二极管与地之间也会存在电容,也称TVS二极管的结电容。但是,TVS二极管容易受到外界光照的影响,而使其对地的电容随光照而发生变化,这种电容变化会对检测电极的自电容的检测结果造成影响,从而影响检测结果。There is also a capacitance between the TVS diode connected to the detection channel and the ground, which is also called the junction capacitance of the TVS diode. However, the TVS diode is easily affected by external light, and its capacitance to ground changes with the light. This capacitance change will affect the detection result of the self-capacitance of the detection electrode, thereby affecting the detection result.
图1是本申请实施例的接近检测电路的示意性框图。图2是基于图1所示的接近检测电路的一种可能的实现方式的示意图。下面先结合图2说明上述问题。如图2所示,接近检测电路200与检测通道C 0至检测通道C N连接,下面以检测通道C 0和检测通道C 1为例进行说明,图2中仅示出检测通道C 0和检测通道C 1这两条支路上的电路结构。如图2所示,检测通道C 0和检测通道C 1上分别连接TVS二极管D 0和TVS二极管D 1。检测通道C 0上的检测电极S 0对地的自电容为C S0,检测通道C 1上的检测电极S 1对地的自电容为C S1。当用户接近检测电极S 0时,检测电极S 0的自电容C S0的大小会发生变化,自电容C S0的电容变化量为△C S0body。该自容变化量△C S0body是接近检测电路200所期望检测到的有效数据。但是,在受到光照时,检测通道C 0上连接的TVS二极管D 0对地的电容C j0也会发生变化,电容变化量为△C j0。这样,检测通道C 0上输出的检测信号所反映的电容的变化量,就包括△C S0body和△C j0。接近检测电路200会误认为△C S0body和△C j0这两部分的电容变化量是有效数据,从而根据△C S0body和△C j0确定检测通道C 0的检测结果,即用户是否接近检测电极S 0的检测结果。 FIG. 1 is a schematic block diagram of a proximity detection circuit according to an embodiment of the present application. FIG. 2 is a schematic diagram of a possible implementation based on the proximity detection circuit shown in FIG. 1 . The above problem will be described below with reference to FIG. 2 . As shown in FIG. 2 , the proximity detection circuit 200 is connected to the detection channel C 0 to the detection channel CN . The following description takes the detection channel C 0 and the detection channel C 1 as an example. In FIG. 2 , only the detection channel C 0 and the detection channel C 1 are shown. Circuit structure on the two branches of channel C1 . As shown in FIG. 2 , the detection channel C 0 and the detection channel C 1 are respectively connected to the TVS diode D 0 and the TVS diode D 1 . The self-capacitance of the detection electrode S 0 on the detection channel C 0 to the ground is C S0 , and the self-capacitance of the detection electrode S 1 on the detection channel C 1 to the ground is C S1 . When the user approaches the detection electrode S 0 , the size of the self-capacitance C S0 of the detection electrode S 0 will change, and the capacitance change of the self-capacitance C S0 is ΔC S0 body . The self-capacitance change amount ΔC S0body is valid data expected to be detected by the proximity detection circuit 200 . However, when exposed to light, the capacitance C j0 of the TVS diode D 0 connected to the detection channel C 0 to the ground also changes, and the capacitance change is ΔC j0 . In this way, the capacitance change reflected by the detection signal output on the detection channel C 0 includes ΔC S0body and ΔC j0 . The proximity detection circuit 200 will mistakenly think that the capacitance changes of the two parts ΔC S0body and ΔC j0 are valid data, so as to determine the detection result of the detection channel C 0 according to the ΔC S0 body and ΔC j0 , that is, whether the user is approaching the detection electrode S 0 detection result.
类似地,当用户接近检测电极S 1对应的位置时,检测电极S 1的自电容C S1的大小会发生变化,自电容C S1的电容变化量为△C S1body。该自容变化量△C S1body是接近检测电路200所期望检测到的有效数据。但是,在受到光照时,检测通道C 1上连接的TVS二极管D 1对地的电容C j1也会发生变化,电 容变化量为△C j1。这样,检测通道C 1上输出的检测信号所反映的电容的变化量,就包括△C S1body和△C j1。接近检测电路200会误认为△C S1body和△C j1这两部分电容变化量是有效数据,从而根据△C S1body和△C j1确定检测通道C 1的检测结果,即用户是否接近检测电极S 1的检测结果。 Similarly, when the user approaches the position corresponding to the detection electrode S1, the size of the self - capacitance C S1 of the detection electrode S1 will change, and the capacitance change of the self-capacitance C S1 is ΔC S1body . The self-capacitance change amount ΔC S1body is valid data expected to be detected by the proximity detection circuit 200 . However, when exposed to light, the capacitance C j1 of the TVS diode D 1 connected to the detection channel C 1 to the ground also changes, and the capacitance change is ΔC j1 . In this way, the capacitance variation reflected by the detection signal output from the detection channel C1 includes ΔC S1body and ΔC j1 . The proximity detection circuit 200 will mistakenly think that the capacitance changes of ΔC S1body and ΔC j1 are valid data, so as to determine the detection result of the detection channel C 1 according to the ΔC S1 body and ΔC j1 , that is, whether the user is approaching the detection electrode S 1 test results.
正因如此,在实际应用中,一方面,当可穿戴设备受到一定光照时,即使没有发生用户接近可穿戴设备的事件,可穿戴设备也可能会检测到上述自电容的电容变化量达到阈值,会认为可穿戴设备被佩戴在用户身上,进而开始播放音乐等响应事件;另一方面,可穿戴设备在正常响应用户接近可穿戴设备的事件后,由于光照的影响,当可穿戴设备实际已经远离用户时,也可能可穿戴设备被误识别为依然佩戴在用户身上,进而可穿戴设备无法正常退出上述响应事件。Because of this, in practical applications, on the one hand, when the wearable device is exposed to a certain amount of light, even if there is no event that the user approaches the wearable device, the wearable device may detect that the capacitance change of the above-mentioned self-capacitance reaches the threshold. It will think that the wearable device is worn on the user, and then start to play music and other response events; on the other hand, after the wearable device normally responds to the event that the user approaches the wearable device, due to the influence of light, when the wearable device The wearable device may also be mistakenly identified as still being worn by the user, and the wearable device cannot exit the above-mentioned response event normally.
以耳机为例,假设,图2中的检测通道C 0上的检测电极S 0的自容变化量△C S0body大于阈值A时,认为用户佩戴该耳机,从而该耳机执行播放操作;而△C S0body小于阈值A时,认为用户摘掉该耳机,从而该耳机执行暂停播放的操作。当存在光照时,如果用户没有佩戴该耳机,但是因光照而使TVS二极管D 0的电容变化量△C j0大于该阈值A,那么耳机也会执行播放操作,从而产生误响应。当存在光照时,如果用户摘掉耳机,但是因光照而使TVS二极管D 0的电容变化量△C j0大于该阈值A,那么耳机并不会认为用户摘掉耳机了,而是继续播放,无法正常退出。 Taking the earphone as an example, it is assumed that when the self-capacitance change ΔC S0body of the detection electrode S 0 on the detection channel C 0 in FIG. 2 is greater than the threshold A, it is considered that the user is wearing the earphone, so that the earphone performs the playback operation; and ΔC When the S0body is smaller than the threshold value A, it is considered that the user takes off the earphone, so that the earphone performs the operation of pausing playback. When there is light, if the user does not wear the headset, but the capacitance change ΔC j0 of the TVS diode D 0 is greater than the threshold A due to the light, the headset will also perform a playback operation, resulting in a false response. When there is light, if the user takes off the earphone, but the capacitance change ΔC j0 of the TVS diode D 0 is greater than the threshold A due to the light, then the earphone does not think that the user has taken off the earphone, but continues to play, unable to Exit normally.
可见,作为ESD保护电路的TVS二极管(或其它的会受光照影响电容的ESD保护器件)因光照而产生的电容的变化,会对电容检测的结果造成影响,从而影响接近检测电路的检测性能。对于此,一种解决方案是选择合适的、结电容基本不受光照影响的ESD保护二极管,然而,这又会导致选择ESD保护器件的难度大且成本高的问题。It can be seen that the change of the capacitance of the TVS diode as an ESD protection circuit (or other ESD protection devices that can be affected by light to affect the capacitance) due to light will affect the result of capacitance detection, thereby affecting the detection performance of the proximity detection circuit. One solution to this is to select a suitable ESD protection diode whose junction capacitance is substantially unaffected by light, however, this leads to the difficulty and high cost of selecting an ESD protection device.
为此,本申请实施例提供一种接近检测电路,通过在自容检测的基础上增加互容检测作为辅助,以降低ESD保护电路因光照而对自容检测造成的影响,并提高接近检测电路的电容检测结果的准确性,进而减少对人体接近可穿戴设备的事件的误判。To this end, an embodiment of the present application provides a proximity detection circuit, by adding mutual capacitance detection as an auxiliary on the basis of self-capacitance detection, so as to reduce the influence of the ESD protection circuit on the self-capacitance detection due to illumination, and improve the proximity detection circuit. The accuracy of the capacitance detection results is improved, thereby reducing the misjudgment of the event that the human body approaches the wearable device.
图1是本申请实施例的接近检测电路200的示意性框图。接近检测电路200可以应用于可穿戴设备中,该可穿戴设备包括但不限于TWS耳机(包括入耳式、半入耳式和头戴式等)、智能手表、智能眼镜等智能穿戴设备。FIG. 1 is a schematic block diagram of a proximity detection circuit 200 according to an embodiment of the present application. The proximity detection circuit 200 can be applied to wearable devices, including but not limited to TWS earphones (including in-ear, semi-in-ear and head-mounted, etc.), smart watches, smart glasses and other smart wearable devices.
接近检测电路200与可穿戴设备中的若干个检测通道相连,该若干个检测通道中的至少部分检测通道上连接有ESD保护电路,该ESD保护电路包括TVS二极管。如图2所示,接近检测电路200包括自容驱动电路210、互容驱动电路220和信号处理电路215。The proximity detection circuit 200 is connected to several detection channels in the wearable device, and at least part of the several detection channels is connected with an ESD protection circuit, and the ESD protection circuit includes a TVS diode. As shown in FIG. 2 , the proximity detection circuit 200 includes a self-capacitance driving circuit 210 , a mutual capacitance driving circuit 220 and a signal processing circuit 215 .
其中,自容驱动电路210用于向该若干个检测通道中待检测的第一检测通道输入自容驱动信号,第一检测通道上连接有ESD保护电路。The self-capacitance driving circuit 210 is used for inputting a self-capacitance driving signal to a first detection channel to be detected among the plurality of detection channels, and an ESD protection circuit is connected to the first detection channel.
该第一检测通道在该自容驱动信号的作用下输出的自容检测信号,关联于该第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量,以及ESD保护电路受光照所引起的电容变化量。The self-capacitance detection signal output by the first detection channel under the action of the self-capacitance driving signal, the self-capacitance change of the detection electrode of the first detection channel relative to the self-capacitance basic capacitance, and the ESD protection circuit The amount of capacitance change caused by light exposure.
互容驱动电路220用于向该第一检测通道和第二检测通道中的一个检测通道输出互容驱动信号。该第二检测通道可以是与该第一检测通道形成互容检测的任一检测通道。The mutual capacitance driving circuit 220 is configured to output a mutual capacitance driving signal to one of the first detection channel and the second detection channel. The second detection channel may be any detection channel that forms mutual capacitance detection with the first detection channel.
在该互容驱动信号的作用下,该第一检测通道和该第二检测通道中的另一个检测通道输出的互容检测信号,关联于该第一检测通道的检测电极与该第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量。Under the action of the mutual capacitance drive signal, the mutual capacitance detection signal output by the first detection channel and the other detection channel of the second detection channel is associated with the detection electrode of the first detection channel and the second detection channel The mutual capacitance variation of the mutual capacitance between the detection electrodes relative to the mutual capacitance base capacitance.
信号处理电路215用于根据该自容检测信号和该互容检测信号确定用户是否接近所述可穿戴设备的检测结果。The signal processing circuit 215 is configured to determine the detection result of whether the user is approaching the wearable device according to the self-capacitance detection signal and the mutual capacitance detection signal.
检测通道上连接的ESD保护电路中的ESD保护器件在光照时,ESD保护器件的结电容也会发生变化,导致该检测通道上的检测电极的自容检测结果受到影响。在本申请实施例中,接近检测电路200除了对检测电极进行自容检测,还会对检测电极进行互容检测,而由于互容检测基本不会受到ESD保护器件的电容变化的影响,因此基于互容检测和自容检测的检测信号共同确定最终的检测结果,可以有效提高检测结果的准确性,提高接近检测电路的检测性能。而且,本申请提供的检测电路可以采用普通的ESD保护器件,依然可以在保障ESD防护的同时,提高接近检测的准确性且能减少对ESD器件选型的要求及降低使用特定的ESD器件带来的成本的影响。When the ESD protection device in the ESD protection circuit connected on the detection channel is illuminated, the junction capacitance of the ESD protection device will also change, which will affect the self-capacitance detection result of the detection electrode on the detection channel. In the embodiment of the present application, the proximity detection circuit 200 not only performs self-capacitance detection on the detection electrodes, but also performs mutual capacitance detection on the detection electrodes. Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, based on the The detection signals of mutual capacitance detection and self-capacitance detection jointly determine the final detection result, which can effectively improve the accuracy of the detection result and improve the detection performance of the proximity detection circuit. Moreover, the detection circuit provided by the present application can use common ESD protection devices, which can still ensure ESD protection, improve the accuracy of proximity detection, reduce the requirements for ESD device selection, and reduce the use of specific ESD devices. cost impact.
通常,可穿戴设备中的接近检测电路的自容检测比互容检测能够适应更远的检测距离。以耳机为例,由于人体耳朵内的空间大小不同,戴入耳机后,耳机的检测电极的位置与耳朵的贴合程度就不同,可能完全贴合,也可能存在一定距离(比如手旋转耳机或人运动导致耳机松动)。对于自容检测而言,其能够适应的检测距离更大,而互容检测能够适应的检测距离更小。因此, 对于耳机这类可穿戴设备而言,主要采用自容检测的方式检测用户的接近。Generally, self-capacitance detection of proximity detection circuits in wearable devices can accommodate longer detection distances than mutual-capacitance detection. Taking the earphone as an example, due to the different size of the space in the human ear, after wearing the earphone, the position of the detection electrode of the earphone and the fit degree of the ear are different, which may be completely fitted or there may be a certain distance (such as rotating the earphone or Headphones come loose due to human movement). For self-capacitance detection, it can adapt to a larger detection distance, while mutual capacitance detection can adapt to a smaller detection distance. Therefore, for wearable devices such as earphones, the approach of a user is mainly detected by means of self-capacitance detection.
然而,检测通道上连接的ESD保护电路中的ESD保护器件在光照时,其电容也会发生变化,导致检测通道上的检测电极的自容检测结果受到影响。因此,本申请实施例中,接近检测电路通过互容检测的结果,来辅助判断自容检测的结果,从而提高检测结果的准确性,减少对用户接近的事件的误判。However, when the ESD protection device in the ESD protection circuit connected on the detection channel is illuminated, its capacitance will also change, which will affect the self-capacitance detection result of the detection electrode on the detection channel. Therefore, in this embodiment of the present application, the proximity detection circuit uses the mutual capacitance detection result to assist in judging the self-capacitance detection result, thereby improving the accuracy of the detection result and reducing misjudgment of the user approaching event.
本申请实施例对ESD保护电路不做限定。优选地,ESD保护电路中可以采用TVS二极管作为ESD保护器件。以下,均以TVS二极管作为ESD保护器件为例进行描述。这时,前述的自容检测信号不仅关联于第一检测通道的检测电极的自容变化量,还关联于该TVS二极管因光照所引起的电容变化量。The embodiment of the present application does not limit the ESD protection circuit. Preferably, a TVS diode can be used as the ESD protection device in the ESD protection circuit. In the following, the description will be given by taking the TVS diode as an ESD protection device as an example. At this time, the aforementioned self-capacitance detection signal is not only related to the self-capacitance change of the detection electrode of the first detection channel, but also to the capacitance change of the TVS diode caused by illumination.
并非所有检测通道上都需要连接ESD保护电路,为了节省成本和空间,可以只在部分检测通道上连接ESD保护电路,例如,在第一检测通道和第二检测通道中,可以仅在其中一个检测通道上连接ESD保护电路,也可以在两个检测通道上都连接ESD保护电路。在具体实现时,例如可以通过对各个检测通道进行静电测试,找到容易受到静电影响的检测通道,并在这些检测通道上连接ESD保护电路,而不易受到静电影响的检测通道上可以不连接ESD保护电路。Not all detection channels need to be connected to ESD protection circuits. To save cost and space, ESD protection circuits can only be connected to some detection channels. For example, in the first detection channel and the second detection channel, only one of the detection channels can be detected. The ESD protection circuit is connected to the channel, and the ESD protection circuit can also be connected to both detection channels. In specific implementation, for example, each detection channel can be tested for static electricity to find the detection channels that are easily affected by static electricity, and connect ESD protection circuits to these detection channels, while the detection channels that are not easily affected by static electricity may not be connected to ESD protection. circuit.
本申请实施例对检测通道上的检测电极的形状和大小不做限定。The embodiments of the present application do not limit the shape and size of the detection electrodes on the detection channels.
接近检测电路200对第一检测通道进行自容检测时,检测的是第一检测通道的检测电极与地之间的自电容相对于自容基础电容的变化量;而在进行互容检测时,检测的是第一检测通道的检测电极与第二检测通道的检测电极之间的互电容相对于互容基础电容的变化量。应理解,关于电容变化量的检测,可以是直接测得该变化量,也可以是间接得到该变化量,即先测得检测值,再根据检测值与基础值得到该变化量。TVS二极管接地,用以将发生静电时产生的静电电荷转移至地,TVS二极管受光照时产生的电容变化量对自容检测的结果会造成影响。互容检测时的回路经过两个检测电极之间,因此,TVS二极管受光照时产生的电容变化量基本不会对互容检测的结果造成影响。When the proximity detection circuit 200 performs self-capacitance detection on the first detection channel, it detects the variation of the self-capacitance between the detection electrode of the first detection channel and the ground relative to the self-capacitance basic capacitance; and when performing mutual capacitance detection, What is detected is the variation of the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel relative to the mutual capacitance base capacitance. It should be understood that, regarding the detection of the capacitance change, the change may be directly measured, or the change may be obtained indirectly, that is, the detection value is measured first, and then the change is obtained according to the detection value and the basic value. The TVS diode is grounded to transfer the electrostatic charge generated when static electricity occurs to the ground. The capacitance change generated when the TVS diode is illuminated will affect the self-capacitance detection result. The loop during mutual capacitance detection passes between the two detection electrodes. Therefore, the capacitance change generated when the TVS diode is illuminated will basically not affect the results of mutual capacitance detection.
其中,上述的自容基础电容包括:没有用户接近该第一检测通道且该第一检测通道上连接的TVS二极管没有受到光照时,该第一检测通道的检测电极的自电容。Wherein, the above-mentioned self-capacitance basic capacitance includes: when no user approaches the first detection channel and the TVS diode connected to the first detection channel is not illuminated, the self-capacitance of the detection electrode of the first detection channel.
当有用户接近该第一检测通道或者该TVS二极管受到光照时,在该自容基础电容的基础上,第一检测通道对应的自电容会发生变化,根据自容变化量的大小,就可以确定用户是否接近第一检测通道对应的位置。When a user approaches the first detection channel or the TVS diode is illuminated, on the basis of the self-capacitance basic capacitance, the self-capacitance corresponding to the first detection channel will change. According to the magnitude of the self-capacitance change, it can be determined Whether the user is close to the position corresponding to the first detection channel.
其中,上述的互容基础电容包括:没有用户接近该第一检测通道和该第二检测通道,且该TVS二极管没有受到光照时,该第一检测通道的检测电极与该第二检测通道的检测电极之间的互电容。Wherein, the above-mentioned mutual capacitance basic capacitance includes: when no user approaches the first detection channel and the second detection channel, and the TVS diode is not illuminated, the detection electrodes of the first detection channel and the second detection channel detect mutual capacitance between electrodes.
当有用户接近该第一检测电极、第二检测电极、或者该TVS二极管受到光照时,在该互容基础电容的基础上,第一检测通道对应的互电容会发生变化,根据互容变化量的大小,就可以确定用户是否接近第一检测通道或第二检测通道对应的位置。When a user approaches the first detection electrode, the second detection electrode, or the TVS diode is illuminated, the mutual capacitance corresponding to the first detection channel will change on the basis of the mutual capacitance basic capacitance. size, it can be determined whether the user is close to the position corresponding to the first detection channel or the second detection channel.
接近检测电路200在进行自容检测时获得的自容检测信号,以及在进行互容检测时获得的互容检测信号,共同用于确定检测结果。The self-capacitance detection signal obtained by the proximity detection circuit 200 when performing self-capacitance detection and the mutual-capacitance detection signal obtained when performing mutual-capacitance detection are jointly used to determine the detection result.
例如,该互容检测信号可以用于判断该自容检测信号是否有效。可选地,当该互容检测信号大于预设的第一阈值时,该自容检测信号被判断为有效;和/或,当该互容检测信号小于所述第一阈值时,该自容检测信号被判断为无效。该第一阈值用于指示用户接近可穿戴设备时的互容检测信号的阈值。For example, the mutual capacitance detection signal can be used to determine whether the self capacitance detection signal is valid. Optionally, when the mutual capacitance detection signal is greater than a preset first threshold, the self-capacitance detection signal is determined to be valid; and/or, when the mutual capacitance detection signal is less than the first threshold, the self-capacitance detection signal is The detection signal is judged to be invalid. The first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
该第一阈值可以根据具体的产品形态来设定,对于TWS而言,该第一阈值例如可以是几十fF至几百fF。The first threshold may be set according to the specific product form. For TWS, the first threshold may be, for example, several tens of fF to several hundreds of fF.
由于互容检测基本不会受到ESD保护器件的电容变化的影响,基于互容检测信号来判断自电容检测时输出的自容检测信号的有效性,可以确保自容检测信号是由用户接近可穿戴设备引起的,从而能够提高检测结果的准确性。Since the mutual capacitance detection is basically not affected by the capacitance change of the ESD protection device, judging the validity of the self-capacitance detection signal output during self-capacitance detection based on the mutual capacitance detection signal can ensure that the self-capacitance detection signal is generated by the user close to the wearable equipment, thereby improving the accuracy of the detection results.
进一步地,可选地,自容检测信号被判断为有效时,该自容检测信号用于确定检测结果;和/或,自容检测信号被判断为无效时,该接近检测电路重新获取该自容检测信号。Further, optionally, when the self-capacitance detection signal is determined to be valid, the self-capacitance detection signal is used to determine the detection result; and/or, when the self-capacitance detection signal is determined to be invalid, the proximity detection circuit re-acquires the self-capacitance detection signal. capacity detection signal.
也就是说,如果自容检测信号被认为是有效的,可以基于自容检测信号确定检测结果;如果自容检测信号被认为是无效的,则可以重新获取该自容检测信号,或者也可以基于互容检测信号确定检测结果。这样可以排除掉由ESD保护器件的电容变化引起的自容检测信号,从而能够提高检测结果的准确性。That is, if the self-capacitance detection signal is considered to be valid, the detection result can be determined based on the self-capacitance detection signal; if the self-capacitance detection signal is considered to be invalid, the self-capacitance detection signal can be re-acquired, or can also be based on The mutual capacitance detection signal determines the detection result. In this way, the self-capacitance detection signal caused by the capacitance change of the ESD protection device can be excluded, thereby improving the accuracy of the detection result.
可选地,所述自容检测信号被判断为有效时,若所述自容检测信号大于 预设的第二阈值,确定用户接近所述可穿戴设备;其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。Optionally, when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device; wherein the second threshold is used to indicate The threshold of the self-capacitance detection signal when the user approaches the wearable device.
自容检测信号被判断为有效,表明自容检测信号不是由ESD保护器件的电容变化引起的,此时,若自容检测信号大于预设的第二阈值,表明有用户接近了可穿戴设备。相应地,此时得到的检测结果是准确的。因此,采用上述方式,可以确保检测结果的准确性。The self-capacitance detection signal is judged to be valid, indicating that the self-capacitance detection signal is not caused by the capacitance change of the ESD protection device. At this time, if the self-capacitance detection signal is greater than the preset second threshold, it indicates that a user is approaching the wearable device. Accordingly, the detection result obtained at this time is accurate. Therefore, in the above manner, the accuracy of the detection result can be ensured.
图2是基于图1所示的接近检测电路200的一种可能的实现方式的示意图。如图2所示,接近检测电路200与检测通道C 0至检测通道C N连接,下面以检测通道C 0和检测通道C 1为例进行说明,图2中仅示出检测通道C 0和检测通道C 1这两条支路上的电路结构。如图2所示,检测通道C 0和检测通道C 1上分别连接TVS二极管D 0和TVS二极管D 1。参见表一,检测通道C 0上的检测电极S 0对地的自电容为C S0,检测通道C 1上的检测电极S 1对地的自电容为C S1,检测通道C 0上的检测电极S 0与检测通道C 1上的检测电极S 1之间的互电容为C m,TVS二极管D 0对地的电容和TVS二极管D 1对地的电容分别为C j0和C j1FIG. 2 is a schematic diagram based on a possible implementation of the proximity detection circuit 200 shown in FIG. 1 . As shown in FIG. 2 , the proximity detection circuit 200 is connected to the detection channel C 0 to the detection channel CN . The following description takes the detection channel C 0 and the detection channel C 1 as an example. In FIG. 2 , only the detection channel C 0 and the detection channel C 1 are shown. Circuit structure on the two branches of channel C1 . As shown in FIG. 2 , the detection channel C 0 and the detection channel C 1 are respectively connected to the TVS diode D 0 and the TVS diode D 1 . Referring to Table 1, the self-capacitance of the detection electrode S 0 on the detection channel C 0 to the ground is C S0 , the self-capacitance of the detection electrode S 1 on the detection channel C 1 to the ground is C S1 , and the detection electrode on the detection channel C 0 is C S1 . The mutual capacitance between S 0 and the detection electrode S 1 on the detection channel C 1 is C m , and the capacitance of the TVS diode D 0 to ground and the capacitance of the TVS diode D 1 to the ground are C j0 and C j1 , respectively.
在没有光照时,且没有用户接近第一检测通道和第二检测通道对应的位置时,C S0、C S1、C m、C j0、C j1分别为C S0=C S0base、C S1=C S1base、C m=C mbase、C j0=C j0base、C j1=C j1base。当有用户接近第一检测通道和第二检测通道对应的位置时,C S0、C S1、C m分别为C S0=C S0base+△C S0body、C S1=C S1base+△C S1body、C m=C mbase+△C mbody,即变化量分别为△C S0body、△C S1body和△C mbody。当受到光照时,C j0、C j1分别为C j0=C j0base+△C j0、C j1=C j1base+△C j1,即变化量分别为△C j0和△C j1。从表一可以看出,接近检测电路200所期望检测到的有效数据是△C S0body、△C S1body和△C mbody,但是实际检测到的信号受到了C j0和△C j1的影响。△C j0和△C j1仅对自容检测的结果有影响,而对互容检测的结果没有影响。 When there is no illumination and no user approaches the positions corresponding to the first detection channel and the second detection channel, C S0 , C S1 , C m , C j0 , and C j1 are respectively C S0 =C S0base , C S1 =C S1base , C m =C mbase , C j0 =C j0base , C j1 =C j1base . When a user approaches the positions corresponding to the first detection channel and the second detection channel, C S0 , C S1 , and C m are respectively C S0 =C S0base +ΔC S0body , C S1 =C S1base +ΔC S1body , C m =C mbase +ΔC mbody , that is, the amount of change is ΔC S0body , ΔC S1body and ΔC mbody , respectively. When exposed to light, C j0 and C j1 are respectively C j0 =C j0base +ΔC j0 , C j1 =C j1base +ΔC j1 , that is, the change amounts are respectively ΔC j0 and ΔC j1 . It can be seen from Table 1 that the valid data expected to be detected by the proximity detection circuit 200 are ΔC S0body , ΔC S1body and ΔC mbody , but the actually detected signals are affected by C j0 and ΔC j1 . △C j0 and △C j1 only affect the results of self-capacitance detection, but have no effect on the results of mutual capacitance detection.
表一Table I
Figure PCTCN2020141618-appb-000001
Figure PCTCN2020141618-appb-000001
Figure PCTCN2020141618-appb-000002
Figure PCTCN2020141618-appb-000002
图2所示的接近检测电路200在进行接近检测时,自容驱动电路210可以向检测通道C 0输入自容驱动信号,并接收检测通道C 0输出的自容检测信号,自容检测信号反映的是检测电极C S0的自容变化量△C S0body以及TVS二极管的电容变化量△C j0;互容驱动电路220可以向检测通道C 0和检测通道C 1中的其中一个检测通道输入互容驱动信号,并接收其中另一个检测通道输出的互容检测信号,自容检测信号反映的是检测电极C S0和检测电极C S1之间的互容变化量△C mbody。设定阈值B,互容检测信号如果大于阈值B,则认为自容检测信号是有效的,接近检测电路200可以根据自容检测信号判断用户是否接近第一检测通道对应的位置;如果互容检测信号小于阈值B,则认为自容检测信号是无效的,这时,接近检测电路200可以重新获取该自容检测信号。 When the proximity detection circuit 200 shown in FIG. 2 performs proximity detection, the self-capacitance driving circuit 210 can input a self-capacitance driving signal to the detection channel C 0 and receive the self-capacitance detection signal output by the detection channel C 0 , and the self-capacitance detection signal reflects the is the self-capacitance change ΔC S0 body of the detection electrode C S0 and the capacitance change ΔC j0 of the TVS diode; the mutual capacitance drive circuit 220 can input the mutual capacitance to one of the detection channel C 0 and the detection channel C 1 The driving signal is received, and the mutual capacitance detection signal output by the other detection channel is received. The self-capacitance detection signal reflects the mutual capacitance variation ΔC mbody between the detection electrode C S0 and the detection electrode C S1 . The threshold B is set, if the mutual capacitance detection signal is greater than the threshold B, the self-capacitance detection signal is considered to be valid, and the proximity detection circuit 200 can determine whether the user is approaching the corresponding position of the first detection channel according to the self-capacitance detection signal; If the signal is smaller than the threshold value B, it is considered that the self-capacitance detection signal is invalid, and at this time, the proximity detection circuit 200 can obtain the self-capacitance detection signal again.
以耳机为例,假设,图2中的检测通道C 0上的检测电极S 0的自容变化量△C S0body大于阈值A时,认为用户佩戴该耳机,从而该耳机执行播放操作;而△C S0body小于阈值A时,认为用户摘掉该耳机,从而该耳机执行暂停播放的操作。 Taking the earphone as an example, it is assumed that when the self-capacitance change ΔC S0body of the detection electrode S 0 on the detection channel C 0 in FIG. 2 is greater than the threshold A, it is considered that the user is wearing the earphone, so that the earphone performs the playback operation; and ΔC When the S0body is smaller than the threshold value A, it is considered that the user takes off the earphone, so that the earphone performs the operation of pausing playback.
当存在光照时,如果用户没有佩戴该耳机,但是因光照而使TVS二极管D 0的电容变化量△C j0大于阈值A,耳机也会执行播放操作,从而产生误响应。此时,如果用于表示互容变化量△C mbody的互容检测信号小于阈值B,则会判断上述的检测结果无效,从而不会使耳机误播放;如果互容检测信号大于阈值B,则会判断上述的检测结果有效,从而执行播放。 When there is light, if the user does not wear the earphone, but the amount of capacitance change ΔC j0 of the TVS diode D 0 is greater than the threshold A due to the light, the earphone will also perform a playback operation, resulting in a false response. At this time, if the mutual capacitance detection signal used to represent the mutual capacitance change ΔC mbody is less than the threshold B, the above detection result will be judged to be invalid, so that the headphones will not be misplayed; if the mutual capacitance detection signal is greater than the threshold B, then The above detection result will be judged to be valid, and the playback will be executed.
当存在光照时,如果用户摘掉耳机,但是因光照而使TVS二极管D 0的电容变化量△C j0大于阈值A,那么并不会认为用户摘掉耳机了,从而继续播放,无法退出。此时,如果用于表示互容变化量△C mbody的互容检测信号小于阈值B,则会判断上述的检测结果无效,从而不会使耳机误播放;如果互容检测信号大于阈值B,则会判断上述的检测结果有效,从而继续执行播放。 When there is light, if the user takes off the headphones, but the amount of capacitance change ΔC j0 of the TVS diode D 0 is greater than the threshold A due to the light, then the user will not think that the user has taken off the headphones, so the playback continues and cannot be exited. At this time, if the mutual capacitance detection signal used to represent the mutual capacitance change ΔC mbody is less than the threshold B, the above detection result will be judged to be invalid, so that the headphones will not be misplayed; if the mutual capacitance detection signal is greater than the threshold B, then It will judge that the above detection result is valid, and then continue to play.
本申请实施例中,接近检测电路200的一个检测周期中包括第一时段、第二时段和第三时段。这三个时段分别用于第一检测通道的自容检测、第二检测通道的自容检测、以及第一检测通道和第二检测通道之间的互容检测。 这里对第一时段、第二时段和第三时段在时间上的先后顺序不做限定。In this embodiment of the present application, a detection period of the proximity detection circuit 200 includes a first period, a second period and a third period. The three time periods are respectively used for self-capacitance detection of the first detection channel, self-capacitance detection of the second detection channel, and mutual capacitance detection between the first detection channel and the second detection channel. The time sequence of the first time period, the second time period and the third time period is not limited here.
例如,该检测周期中按照时间先后分别包括第一时段、第二时段和第三时段。其中,第一时段用于获取第一检测通道对应的自容变化量,第二时段用于获取第二检测通道对应的自容变化量,第三时段用于获取第一检测通道的检测电极与第二检测通道的检测电极之间对应的互容变化量。完成一次检测后,可以根据自容检测和互容检测的数据,综合确定对第一检测通道和第二检测通道的检测结果。这样,在一个检测周期内就可以得到相应检测通道的准确的检测结果。For example, the detection cycle includes a first period of time, a second period of time, and a third period of time according to time sequence. The first time period is used to obtain the self-capacitance change corresponding to the first detection channel, the second time period is used to obtain the self-capacitance change corresponding to the second detection channel, and the third time period is used to obtain the detection electrode and the first detection channel. The corresponding change in mutual capacitance between the detection electrodes of the second detection channel. After one detection is completed, the detection results of the first detection channel and the second detection channel can be comprehensively determined according to the data of the self-capacitance detection and the mutual capacitance detection. In this way, an accurate detection result of the corresponding detection channel can be obtained within one detection period.
在对若干个检测通道进行检测时,可以是串行检测也可以是并行检测。为了提高可操作性,优选地,通常采用串行检测的方式。如图2所示,在一个检测周期中,对检测通道C 0上的检测电极的自容变化量和检测通道C 1上的检测电极的自容变化量进行检测,并对二者之间的互容变化量进行检测;接着,在下一个检测周期中,对检测通道C 2上的检测电极的自容变化量和检测通道C 3上的检测电极的自容变化量进行检测,并对二者之间的互容变化量进行检测;依次,类似地,在后续的检测周期中按照顺序对剩余的检测通道进行检测,直至最终对检测通道C N-1上的检测电极的自容变化量和检测通道C N上的检测电极的自容变化量进行检测,并对二者之间的互容变化量进行检测。 When detecting several detection channels, it can be either serial detection or parallel detection. In order to improve operability, preferably, serial detection is usually adopted. As shown in Fig. 2, in one detection cycle, the self-capacitance change of the detection electrode on the detection channel C 0 and the self-capacitance change of the detection electrode on the detection channel C 1 are detected, and the difference between the two is detected. The mutual capacitance change is detected; then, in the next detection cycle, the self-capacitance change of the detection electrode on the detection channel C2 and the self - capacitance change of the detection electrode on the detection channel C3 are detected, and the two The change in mutual capacitance between them is detected; in turn, similarly, the remaining detection channels are detected in sequence in the subsequent detection cycle, until finally the change in self-capacitance of the detection electrode on the detection channel CN-1 and The self-capacitance variation of the detection electrodes on the detection channel CN is detected, and the mutual capacitance variation between the two is detected.
可选地,如图2所示,接近检测电路200还可以包括多路选择器230。多路选择器230与可穿戴设备中的若干个检测通道、自容驱动电路210和互容驱动电路220相连,并用于将若干个检测通道中待检测的检测通道电连接到所述自容驱动电路210或所述互容驱动电路220。Optionally, as shown in FIG. 2 , the proximity detection circuit 200 may further include a multiplexer 230 . The multiplexer 230 is connected to several detection channels, the self-capacitance driving circuit 210 and the mutual capacitance driving circuit 220 in the wearable device, and is used to electrically connect the detection channel to be detected among the several detection channels to the self-capacitance driving circuit circuit 210 or the mutual capacitance driving circuit 220 .
进一步地,信号处理电路215可以包括模拟前端(Analog Front End,AFE)电路240。AFE电路240与多路选择器230相连,用于接收自容检测信号和互容检测信号,并对自容检测信号和互容检测信号进行信号调理以提高自容检测信号和互容检测信号的信号质量。Further, the signal processing circuit 215 may include an analog front end (Analog Front End, AFE) circuit 240 . The AFE circuit 240 is connected to the multiplexer 230 for receiving the self-capacitance detection signal and the mutual-capacitance detection signal, and performing signal conditioning on the self-capacitance detection signal and the mutual-capacitance detection signal to improve the difference between the self-capacitance detection signal and the mutual-capacitance detection signal. Signal quality.
进一步地,信号处理电路215可以包括数据采集电路(Data Acquisition Circuit,DAQ)250和数字信号处理电路(Digital Signal Processor,DSP)260。Further, the signal processing circuit 215 may include a data acquisition circuit (Data Acquisition Circuit, DAQ) 250 and a digital signal processing circuit (Digital Signal Processor, DSP) 260.
DAQ 250用于采集自容检测信号和互容检测信号。例如,DAQ 250可以与AFE电路240相连,用于采集经过AFE电路240处理后的自容检测信号和互容检测信号。DSP电路260与DAQ电路250相连,用于根据自容检 测信号和互容检测信号确定检测结果。The DAQ 250 is used to acquire self-capacitance detection signals and mutual capacitance detection signals. For example, the DAQ 250 can be connected to the AFE circuit 240 for collecting the self-capacitance detection signal and the mutual capacitance detection signal processed by the AFE circuit 240. The DSP circuit 260 is connected to the DAQ circuit 250 for determining the detection result according to the self-capacitance detection signal and the mutual capacitance detection signal.
多路选择器(Multiplexer)230也可以称为多路复用器、数据选择器等,是一种可以从多个信号中选择一个信号进行输入或输出的器件。其具体描述可参考相关技术中对多路选择器的描述,此处不再赘述。任何一个检测通道都可以通过多路选择器230切换连接至自容驱动电路210、互容驱动电路220和AFE电路240。The multiplexer (Multiplexer) 230 may also be referred to as a multiplexer, a data selector, etc., and is a device that can select one signal from a plurality of signals for input or output. For its specific description, reference may be made to the description of the multiplexer in the related art, which will not be repeated here. Any detection channel can be switched and connected to the self-capacitance driving circuit 210 , the mutual capacitance driving circuit 220 and the AFE circuit 240 through the multiplexer 230 .
例如,当前检测的是第一检测通道的检测电极对地的自电容,那么多路选择器230可以在若干个检测通道中,选通第一检测通道,从而使自容驱动电路210的驱动信号可以被输入至第一检测通道,并使第一检测通道输出的自容检测信号可以通过多路选择器230输出至AFE电路240中。For example, the current detection is the self-capacitance of the detection electrode of the first detection channel to the ground, the multiplexer 230 can select the first detection channel in several detection channels, so that the driving signal of the self-capacitance driving circuit 210 It can be input to the first detection channel, and the self-capacitance detection signal output by the first detection channel can be output to the AFE circuit 240 through the multiplexer 230 .
又例如,当前检测的是第二检测通道的检测电极对地的自电容,那么多路选择器230可以在若干个检测通道中,选通第二检测通道,从而使自容驱动电路210的驱动信号可以被输入至第二检测通道,并使第二检测通道输出的自容检测信号可以通过多路选择器230输出至AFE电路240中。For another example, the current detection is the self-capacitance of the detection electrode of the second detection channel to the ground, the multiplexer 230 can select the second detection channel in several detection channels, so that the self-capacitance driving circuit 210 can drive the self-capacitance driving circuit 210. The signal may be input to the second detection channel, and the self-capacitance detection signal output by the second detection channel may be output to the AFE circuit 240 through the multiplexer 230 .
又例如,当前检测的是第一检测通道的检测电极和第二检测通道的检测电极之间的互电容,那么多路选择器230可以在若干个检测通道中,选通第一检测通道和第二检测通道,从而使自容驱动电路210的驱动信号被输入至第一检测通道,并使第二检测通道输出的互容检测信号通过多路选择器230输出至AFE电路240中;或者使自容驱动电路210的驱动信号被输入至第二检测通道,并使第一检测通道输出的互容检测信号通过多路选择器230输出至AFE电路240中。For another example, the current detection is the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel, and the multiplexer 230 may select the first detection channel and the second detection channel in several detection channels. Two detection channels, so that the driving signal of the self-capacitance driving circuit 210 is input to the first detection channel, and the mutual capacitance detection signal output by the second detection channel is output to the AFE circuit 240 through the multiplexer 230; The driving signal of the capacitance driving circuit 210 is input to the second detection channel, and the mutual capacitance detection signal output by the first detection channel is output to the AFE circuit 240 through the multiplexer 230 .
AFE电路240是包括放大电路、滤波电路、模数转换电路等在内的集成组件,可以用来对自容检测信号和互容检测信号进行放大、滤波、信号转换等操作。本申请实施例对AFE电路240的具体结构不做限定。其具体描述可参考相关技术中对AFE电路的描述,此处不再赘述。The AFE circuit 240 is an integrated component including an amplifier circuit, a filter circuit, an analog-to-digital conversion circuit, etc., and can be used to amplify, filter, and convert the self-capacitance detection signal and the mutual capacitance detection signal. This embodiment of the present application does not limit the specific structure of the AFE circuit 240 . For the specific description thereof, reference may be made to the description of the AFE circuit in the related art, which will not be repeated here.
此外,接近检测电路200还可以包括其他电路组件,例如辅助电路、供电电路等,此处不再示意。In addition, the proximity detection circuit 200 may also include other circuit components, such as auxiliary circuits, power supply circuits, etc., which are not illustrated here.
接近检测电路200可以是集成电路,即上述的各个电路模块210至260可以集成在一个芯片上;或者,上述的各个电路模块210至260也可以是分立的电路模块。本申请实施例对此不做限定。The proximity detection circuit 200 may be an integrated circuit, that is, the above circuit modules 210 to 260 may be integrated on a chip; or, the above circuit modules 210 to 260 may also be discrete circuit modules. This embodiment of the present application does not limit this.
本申请实施例还提供一种可穿戴设备,包括上述本申请各种实施例中的 接近检测电路200。Embodiments of the present application further provide a wearable device, including the proximity detection circuit 200 in the above-mentioned various embodiments of the present application.
本申请实施例还提供了一种接近检测方法300。该方法可以应用于上述本申请各种实施例中的接近检测电路200和可穿戴设备。如图3所示,该方法300可以包括:The embodiment of the present application also provides a proximity detection method 300 . This method can be applied to the proximity detection circuit 200 and the wearable device in the various embodiments of the present application described above. As shown in FIG. 3, the method 300 may include:
310,向可穿戴设备中的待检测的第一检测通道输入自容驱动信号,其中,所述第一检测通道上连接有静电放电ESD保护电路;310. Input a self-capacitance drive signal to a first detection channel to be detected in the wearable device, where an electrostatic discharge ESD protection circuit is connected to the first detection channel;
320,获取所述第一检测通道在所述自容驱动信号的作用下输出的自容检测信号,所述自容检测信号关联于所述第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量以及所述ESD保护电路受光照所引起的电容变化量,所述自容基础电容包括:没有用户接近所述第一检测通道的检测电极且所述ESD保护电路没有受到光照时,所述第一检测通道的检测电极的自电容;320: Acquire a self-capacitance detection signal output by the first detection channel under the action of the self-capacitance drive signal, where the self-capacitance detection signal is related to the self-capacitance of the detection electrode of the first detection channel relative to the self-capacitance The self-capacitance change of the basic capacitance and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not affected When illuminated, the self-capacitance of the detection electrode of the first detection channel;
330,向所述第一检测通道和第二检测通道中的一个检测通道输出互容驱动信号;330. Output a mutual capacitance drive signal to one of the first detection channel and the second detection channel;
340,获取在所述互容驱动信号的作用下,所述第一检测通道和所述第二检测通道中的另一个检测通道输出的互容检测信号,所述互容检测信号关联于互容变化量,所述互容变化量为所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量,所述互容基础电容包括:没有用户接近所述第一检测通道的检测电极和所述第二检测通道的检测电极时,所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容;340. Acquire a mutual capacitance detection signal output by another detection channel in the first detection channel and the second detection channel under the action of the mutual capacitance drive signal, where the mutual capacitance detection signal is associated with the mutual capacitance Variation, the mutual capacitance variation is the mutual capacitance variation of the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel relative to the mutual capacitance basic capacitance, and the mutual capacitance The basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the detection electrode of the second detection channel, the capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel is mutual capacitance;
350,根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果。350. Determine, according to the self-capacitance detection signal and the mutual capacitance detection signal, a detection result of whether the user is approaching the wearable device.
可选地,在一个实施例中,可以根据所述互容检测信号判断所述自容检测信号是否有效;所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果。Optionally, in one embodiment, it may be determined whether the self-capacitance detection signal is valid according to the mutual capacitance detection signal; when the self-capacitance detection signal is determined to be valid, the Test results.
可选地,在一个实施例中,当所述互容检测信号大于预设的第一阈值时,判断所述自容检测信号为有效;和/或,当所述互容检测信号小于所述第一阈值时,判断所述自容检测信号为无效;其中,所述第一阈值用于指示用户接近所述可穿戴设备时的互容检测信号的阈值。Optionally, in an embodiment, when the mutual capacitance detection signal is greater than a preset first threshold, it is determined that the self-capacitance detection signal is valid; and/or, when the mutual capacitance detection signal is smaller than the When the first threshold is used, it is determined that the self-capacitance detection signal is invalid; wherein, the first threshold is used to indicate the threshold of the mutual-capacity detection signal when the user approaches the wearable device.
可选地,在一个实施例中,所述自容检测信号被判断为无效时,重新获 取所述自容检测信号。Optionally, in one embodiment, when the self-capacitance detection signal is determined to be invalid, the self-capacitance detection signal is re-acquired.
可选地,在一个实施例中,所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果,包括:所述自容检测信号被判断为有效时,若所述自容检测信号大于预设的第二阈值,确定用户接近所述可穿戴设备;其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。Optionally, in an embodiment, when the self-capacitance detection signal is determined to be valid, determining the detection result according to the self-capacitance detection signal includes: when the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is determined to be valid. If the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user approaches the wearable device; wherein the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
可选地,在一个实施例中,在一个检测周期的第一时段获取所述第一检测通道对应的所述自容变化量,在所述检测周期的第二时段获取所述第二检测通道对应的所述自容变化量,在所述检测周期的第三时段获取所述第一检测通道的检测电极与所述第二检测通道的检测电极之间对应的所述互容变化量。Optionally, in one embodiment, the self-capacitance variation corresponding to the first detection channel is acquired in a first period of a detection period, and the second detection channel is acquired in a second period of the detection period. For the corresponding self-capacitance variation, the mutual capacitance variation corresponding to the detection electrode of the first detection channel and the detection electrode of the second detection channel is acquired in the third period of the detection period.
优选地,本申请提供的ESD保护器件采用TVS,TVS的静电保护效果较好,本申请提供的检测电路可以采用普通的TVS,以避免采用特定的TVS带来的选型困难及成本较高的问题。本申请提供的检测电路可以在保障ESD防护的同时,提高接近检测的准确性且能大大减少整个检测电路的成本。Preferably, the ESD protection device provided by this application adopts TVS, and TVS has a better electrostatic protection effect. The detection circuit provided by this application can use common TVS, so as to avoid the difficulty of type selection and the high cost caused by the use of specific TVS. question. The detection circuit provided by the present application can improve the accuracy of proximity detection and greatly reduce the cost of the entire detection circuit while ensuring ESD protection.
应理解,本申请实施例的接近检测方法300与本申请实施例的接近检测电路200对应,其中的相关描述可以参考前述各实施例,为了简洁,在此不再赘述。It should be understood that the proximity detection method 300 of the embodiment of the present application corresponds to the proximity detection circuit 200 of the embodiment of the present application, and the relevant description thereof may refer to the foregoing embodiments, which will not be repeated here for brevity.
作为示例而非限定,本申请实施例中的可穿戴设备可以包括功能全、尺寸大、可不依赖智能手机实现完整或部分功能的设备,例如智能手表或智能眼镜等;也可以包括只专注于某一类应用功能,且需要和其它设备例如智能手机等配合使用的设备,例如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, the wearable device in the embodiment of the present application may include a device with full functions, a large size, and a device that can achieve complete or partial functions without relying on a smartphone, such as a smart watch or smart glasses; it may also include a device that only focuses on a certain A type of application function that needs to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry that monitor physical signs.
需要说明的是,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。It should be noted that, on the premise of no conflict, each embodiment described in this application and/or the technical features in each embodiment can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the protection scope of this application .
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围,本领域技术人员可以在上述实施例的基础上进行各种改进和变形,而这些改进或者变形均落在本申请的保护范围内。It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than limiting the scope of the embodiments of the present application, and those skilled in the art can Various improvements and modifications can be made, and these improvements or modifications all fall within the protection scope of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易 想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (17)

  1. 一种接近检测电路,其特征在于,设置于可穿戴设备中,所述接近检测电路与所述可穿戴设备中的若干个检测通道相连,所述若干个检测通道中的至少部分检测通道上连接有静电放电ESD保护电路,所述接近检测电路包括:A proximity detection circuit, characterized in that it is provided in a wearable device, the proximity detection circuit is connected to a plurality of detection channels in the wearable device, and at least part of the detection channels in the plurality of detection channels are connected to There is an electrostatic discharge ESD protection circuit, and the proximity detection circuit includes:
    自容驱动电路,用于向所述若干个检测通道中待检测的第一检测通道输入自容驱动信号,所述第一检测通道上连接有所述ESD保护电路,所述第一检测通道在所述自容驱动信号的作用下输出的自容检测信号,关联于所述第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量以及所述ESD保护电路受光照所引起的电容变化量,所述自容基础电容包括:没有用户接近所述第一检测通道的检测电极且所述ESD保护电路没有受到光照时,所述第一检测通道的检测电极的自电容;A self-capacitance drive circuit is used to input a self-capacitance drive signal to a first detection channel to be detected among the plurality of detection channels, the first detection channel is connected with the ESD protection circuit, and the first detection channel is in The self-capacitance detection signal output under the action of the self-capacitance drive signal, the self-capacitance change of the self-capacitance of the detection electrode associated with the first detection channel relative to the self-capacitance basic capacitance, and the ESD protection circuit exposed to light. The amount of capacitance change caused, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed to light, the self-capacitance of the detection electrode of the first detection channel;
    互容驱动电路,用于向所述第一检测通道和第二检测通道中的一个检测通道输出互容驱动信号,其中,在所述互容驱动信号的作用下,所述第一检测通道和所述第二检测通道中的另一个检测通道输出的互容检测信号,关联于互容变化量,所述互容变化量为所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量,所述互容基础电容包括:没有用户接近所述第一检测通道的检测电极和所述第二检测通道的检测电极时,所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容;及A mutual capacitance drive circuit is used to output a mutual capacitance drive signal to one of the first detection channel and the second detection channel, wherein, under the action of the mutual capacitance drive signal, the first detection channel and the The mutual capacitance detection signal output by another detection channel in the second detection channel is related to the mutual capacitance variation, and the mutual capacitance variation is the difference between the detection electrode of the first detection channel and the second detection channel. The mutual capacitance variation of the mutual capacitance between the detection electrodes relative to the mutual capacitance basic capacitance, where the mutual capacitance basic capacitance includes: when no user approaches the detection electrodes of the first detection channel and the detection electrodes of the second detection channel , the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel; and
    信号处理电路,用于根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果。The signal processing circuit is configured to determine the detection result of whether the user is approaching the wearable device according to the self-capacitance detection signal and the mutual capacitance detection signal.
  2. 根据权利要求1所述接近检测电路,其特征在于,所述互容检测信号用于判断所述自容检测信号是否有效。The proximity detection circuit according to claim 1, wherein the mutual capacitance detection signal is used to determine whether the self capacitance detection signal is valid.
  3. 根据权利要求2所述的接近检测电路,其特征在于,The proximity detection circuit according to claim 2, wherein:
    当所述互容检测信号大于预设的第一阈值时,所述自容检测信号被判断为有效;和/或,When the mutual capacitance detection signal is greater than a preset first threshold, the self-capacitance detection signal is determined to be valid; and/or,
    当所述互容检测信号小于所述第一阈值时,所述自容检测信号被判断为无效;When the mutual capacitance detection signal is less than the first threshold, the self-capacitance detection signal is determined to be invalid;
    其中,所述第一阈值用于指示用户接近所述可穿戴设备时的互容检测信号的阈值。Wherein, the first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
  4. 根据权利要求2或3所述的接近检测电路,其特征在于,The proximity detection circuit according to claim 2 or 3, characterized in that:
    所述自容检测信号被判断为有效时,所述自容检测信号用于确定所述检测结果;和/或,When the self-capacitance detection signal is determined to be valid, the self-capacitance detection signal is used to determine the detection result; and/or,
    所述自容检测信号被判断为无效时,所述接近检测电路重新获取所述自容检测信号。When the self-capacitance detection signal is determined to be invalid, the proximity detection circuit acquires the self-capacitance detection signal again.
  5. 根据权利要求4所述的接近检测电路,其特征在于,所述信号处理电路用于:The proximity detection circuit according to claim 4, wherein the signal processing circuit is used for:
    所述自容检测信号被判断为有效时,若所述自容检测信号大于预设的第二阈值,确定用户接近所述可穿戴设备;When the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device;
    其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。Wherein, the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
  6. 根据权利要求1至5中任一项所述的接近检测电路,其特征在于,所述接近检测电路的一个检测周期包括第一时段、第二时段和第三时段,其中,所述第一时段用于获取所述第一检测通道对应的所述自容变化量,所述第二时段用于获取所述第二检测通道对应的所述自容变化量,所述第三时段用于获取所述第一检测通道的检测电极与所述第二检测通道的检测电极之间对应的所述互容变化量。The proximity detection circuit according to any one of claims 1 to 5, wherein one detection period of the proximity detection circuit includes a first period, a second period and a third period, wherein the first period is used to obtain the self-capacitance change amount corresponding to the first detection channel, the second period is used to obtain the self-capacitance change amount corresponding to the second detection channel, and the third period is used to obtain the self-capacitance change amount. The amount of change in mutual capacitance corresponding to the detection electrode of the first detection channel and the detection electrode of the second detection channel.
  7. 根据权利要求1至6中任一项所述的接近检测电路,其特征在于,所述ESD保护电路包括瞬变电压抑制TVS二极管。The proximity detection circuit according to any one of claims 1 to 6, wherein the ESD protection circuit comprises a transient voltage suppression TVS diode.
  8. 根据权利要求1至7中任一项所述的接近检测电路,其特征在于,所述接近检测电路还包括:The proximity detection circuit according to any one of claims 1 to 7, wherein the proximity detection circuit further comprises:
    多路选择器,与所述若干个检测通道、所述自容驱动电路和所述互容驱动电路相连,用于将所述若干个检测通道中待检测的检测通道电连接到所述自容驱动电路或所述互容驱动电路。a multiplexer, connected to the plurality of detection channels, the self-capacitance driving circuit and the mutual capacitance driving circuit, and used for electrically connecting the detection channel to be detected among the plurality of detection channels to the self-capacitance A drive circuit or the mutual capacitance drive circuit.
  9. 根据权利要求8所述的接近检测电路,其特征在于,所述信号处理电路包括:The proximity detection circuit according to claim 8, wherein the signal processing circuit comprises:
    数据采集电路DAQ,用于采集所述自容检测信号和所述互容检测信号;以及,a data acquisition circuit DAQ for acquiring the self-capacitance detection signal and the mutual capacitance detection signal; and,
    数字信号处理电路DSP,与所述DAQ相连,用于根据所述自容检测信号和所述互容检测信号确定所述检测结果。A digital signal processing circuit DSP, connected to the DAQ, is configured to determine the detection result according to the self-capacitance detection signal and the mutual capacitance detection signal.
  10. 根据权利要求1至9中任一项所述的接近检测电路,其特征在于, 所述可穿戴设备包括真无线立体声TWS耳机、智能手表或者智能眼镜。The proximity detection circuit according to any one of claims 1 to 9, wherein the wearable device comprises a true wireless stereo TWS headset, a smart watch or smart glasses.
  11. 一种可穿戴设备,其特征在于,包括上述权利要求1至10中任一项所述的接近检测电路。A wearable device, comprising the proximity detection circuit according to any one of claims 1 to 10.
  12. 一种接近检测方法,其特征在于,包括:A method for proximity detection, comprising:
    向可穿戴设备中的待检测的第一检测通道输入自容驱动信号,其中,所述第一检测通道上连接有静电放电ESD保护电路;inputting a self-capacitance drive signal to a first detection channel to be detected in the wearable device, wherein an electrostatic discharge ESD protection circuit is connected to the first detection channel;
    获取所述第一检测通道在所述自容驱动信号的作用下输出的自容检测信号,所述自容检测信号关联于所述第一检测通道的检测电极的自电容相对于自容基础电容的自容变化量以及所述ESD保护电路受光照所引起的电容变化量,所述自容基础电容包括:没有用户接近所述第一检测通道的检测电极且所述ESD保护电路没有受到光照时,所述第一检测通道的检测电极的自电容;Obtain a self-capacitance detection signal output by the first detection channel under the action of the self-capacitance drive signal, where the self-capacitance detection signal is related to the self-capacitance of the detection electrode of the first detection channel relative to the self-capacitance base capacitance The self-capacitance change of the ESD protection circuit and the capacitance change caused by the ESD protection circuit being exposed to light, the self-capacitance basic capacitance includes: when no user approaches the detection electrode of the first detection channel and the ESD protection circuit is not exposed to light , the self-capacitance of the detection electrode of the first detection channel;
    向所述第一检测通道和第二检测通道中的一个检测通道输出互容驱动信号;outputting a mutual capacitance drive signal to one of the first detection channel and the second detection channel;
    获取在所述互容驱动信号的作用下,所述第一检测通道和所述第二检测通道中的另一个检测通道输出的互容检测信号,所述互容检测信号关联于互容变化量,所述互容变化量为所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容相对于互容基础电容的互容变化量,所述互容基础电容包括:没有用户接近所述第一检测通道的检测电极和所述第二检测通道的检测电极时,所述第一检测通道的检测电极与所述第二检测通道的检测电极之间的互电容;Acquire a mutual capacitance detection signal output by another detection channel in the first detection channel and the second detection channel under the action of the mutual capacitance drive signal, where the mutual capacitance detection signal is associated with a change in the mutual capacitance , the mutual capacitance variation is the mutual capacitance variation of the mutual capacitance between the detection electrode of the first detection channel and the detection electrode of the second detection channel relative to the mutual capacitance basic capacitance, the mutual capacitance basic capacitance Including: when no user approaches the detection electrodes of the first detection channel and the detection electrodes of the second detection channel, the mutual capacitance between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel ;
    根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果。The detection result of whether the user is approaching the wearable device is determined according to the self-capacitance detection signal and the mutual capacitance detection signal.
  13. 根据权利要求12所述方法,其特征在于,所述根据所述自容检测信号和所述互容检测信号确定用户是否接近所述可穿戴设备的检测结果,包括:The method according to claim 12, wherein the detecting result of determining whether a user is close to the wearable device according to the self-capacitance detection signal and the mutual-capacity detection signal comprises:
    根据所述互容检测信号判断所述自容检测信号是否有效;Determine whether the self-capacitance detection signal is valid according to the mutual capacitance detection signal;
    所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果。When the self-capacitance detection signal is determined to be valid, the detection result is determined according to the self-capacitance detection signal.
  14. 根据权利要求13所述的方法,其特征在于,所述根据所述互容检测信号判断所述自容检测信号是否有效,包括:The method according to claim 13, wherein the determining whether the self-capacitance detection signal is valid according to the mutual capacitance detection signal comprises:
    当所述互容检测信号大于预设的第一阈值时,判断所述自容检测信号为有效;和/或,When the mutual capacitance detection signal is greater than a preset first threshold, it is determined that the self capacitance detection signal is valid; and/or,
    当所述互容检测信号小于所述第一阈值时,判断所述自容检测信号为无效;When the mutual capacitance detection signal is smaller than the first threshold, determine that the self capacitance detection signal is invalid;
    其中,所述第一阈值用于指示用户接近所述可穿戴设备时的互容检测信号的阈值。The first threshold is used to indicate the threshold of the mutual capacitance detection signal when the user approaches the wearable device.
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:The method according to claim 13 or 14, wherein the method further comprises:
    所述自容检测信号被判断为无效时,重新获取所述自容检测信号。When the self-capacitance detection signal is determined to be invalid, the self-capacitance detection signal is acquired again.
  16. 根据权利要求13或14所述的方法,其特征在于,所述自容检测信号被判断为有效时,根据所述自容检测信号确定所述检测结果,包括:The method according to claim 13 or 14, wherein when the self-capacitance detection signal is determined to be valid, determining the detection result according to the self-capacitance detection signal, comprising:
    所述自容检测信号被判断为有效时,若所述自容检测信号大于预设的第二阈值,确定用户接近所述可穿戴设备;When the self-capacitance detection signal is determined to be valid, if the self-capacitance detection signal is greater than a preset second threshold, it is determined that the user is approaching the wearable device;
    其中,所述第二阈值用于指示用户接近所述可穿戴设备时的自容检测信号的阈值。Wherein, the second threshold is used to indicate the threshold of the self-capacitance detection signal when the user approaches the wearable device.
  17. 根据权利要求12至16中任一项所述的方法,其特征在于,在一个检测周期的第一时段获取所述第一检测通道对应的所述自容变化量,在所述检测周期的第二时段获取所述第二检测通道对应的所述自容变化量,在所述检测周期的第三时段获取所述第一检测通道的检测电极与所述第二检测通道的检测电极之间对应的所述互容变化量。The method according to any one of claims 12 to 16, wherein the self-capacitance variation corresponding to the first detection channel is acquired in a first period of a detection period, and in the first period of the detection period The self-capacitance variation corresponding to the second detection channel is acquired in two periods, and the correspondence between the detection electrodes of the first detection channel and the detection electrodes of the second detection channel is acquired in the third period of the detection cycle of the mutual capacitance change.
PCT/CN2020/141618 2020-12-30 2020-12-30 Proximity detection circuit, wearable device and proximity detection method WO2022141248A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/141618 WO2022141248A1 (en) 2020-12-30 2020-12-30 Proximity detection circuit, wearable device and proximity detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/141618 WO2022141248A1 (en) 2020-12-30 2020-12-30 Proximity detection circuit, wearable device and proximity detection method

Publications (1)

Publication Number Publication Date
WO2022141248A1 true WO2022141248A1 (en) 2022-07-07

Family

ID=82259961

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141618 WO2022141248A1 (en) 2020-12-30 2020-12-30 Proximity detection circuit, wearable device and proximity detection method

Country Status (1)

Country Link
WO (1) WO2022141248A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4916863B2 (en) * 2006-12-15 2012-04-18 三菱電機株式会社 Proximity detector
CN103186298A (en) * 2011-12-29 2013-07-03 旭曜科技股份有限公司 Low standby power consumption drive method and device for capacitive multi-point touch control
CN104615314A (en) * 2013-11-01 2015-05-13 盛群半导体股份有限公司 Capacitive touch sensor and self-capacitance and mutual capacitance switching method thereof
US20160224166A1 (en) * 2012-08-10 2016-08-04 Semiconductor Energy Laboratory Co., Ltd. Display device
CN106502451A (en) * 2016-09-27 2017-03-15 北京集创北方科技股份有限公司 Touch detecting method and device
CN109328293A (en) * 2018-09-30 2019-02-12 深圳市汇顶科技股份有限公司 Capacitance detecting mould group, method and electronic equipment
CN109426380A (en) * 2017-08-28 2019-03-05 奇景光电股份有限公司 Touch device and its method for sensing and touch control sensing circuit
WO2020028542A1 (en) * 2018-08-02 2020-02-06 Elo Touch Solutions, Inc. Water immune projected-capacitive (pcap) touchscreen
CN212031757U (en) * 2020-09-07 2020-11-27 深圳市汇顶科技股份有限公司 Proximity detection device and electronic apparatus
CN212207517U (en) * 2020-03-12 2020-12-22 深圳芯启航科技有限公司 Self-mutual capacitance detection circuit, chip and equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4916863B2 (en) * 2006-12-15 2012-04-18 三菱電機株式会社 Proximity detector
CN103186298A (en) * 2011-12-29 2013-07-03 旭曜科技股份有限公司 Low standby power consumption drive method and device for capacitive multi-point touch control
US20160224166A1 (en) * 2012-08-10 2016-08-04 Semiconductor Energy Laboratory Co., Ltd. Display device
CN104615314A (en) * 2013-11-01 2015-05-13 盛群半导体股份有限公司 Capacitive touch sensor and self-capacitance and mutual capacitance switching method thereof
CN106502451A (en) * 2016-09-27 2017-03-15 北京集创北方科技股份有限公司 Touch detecting method and device
CN109426380A (en) * 2017-08-28 2019-03-05 奇景光电股份有限公司 Touch device and its method for sensing and touch control sensing circuit
WO2020028542A1 (en) * 2018-08-02 2020-02-06 Elo Touch Solutions, Inc. Water immune projected-capacitive (pcap) touchscreen
CN109328293A (en) * 2018-09-30 2019-02-12 深圳市汇顶科技股份有限公司 Capacitance detecting mould group, method and electronic equipment
CN212207517U (en) * 2020-03-12 2020-12-22 深圳芯启航科技有限公司 Self-mutual capacitance detection circuit, chip and equipment
CN212031757U (en) * 2020-09-07 2020-11-27 深圳市汇顶科技股份有限公司 Proximity detection device and electronic apparatus

Similar Documents

Publication Publication Date Title
CN111488083B (en) Capacitive touch detection device with self-calibration function
US10313777B2 (en) Earphone control circuit and method, earphone, as well as audio output device and method
US9924270B2 (en) Techniques for channelization of stereo audio in headphones
KR101646964B1 (en) Circuit apparatus and method for recognition earphone in electronic device
US10103541B2 (en) Wearable device and electrostatic discharge protection circuit of the same
TWI441070B (en) Sensing methods for touch sensing devices
US9910178B2 (en) Accessory detection
JP5161153B2 (en) Audio device recognition apparatus and portable computer
CA2760220C (en) Apparatus, systems and methods for controlling an electronic device using an accessory
US11985470B2 (en) Method and device for detecting wearing state of earphones, and earphones
WO2018062630A1 (en) Non-contact electrocardiogram measurement method, non-contact electrocardiogram measurement circuit, and electrocardiogram measurement device using same
WO2021187884A1 (en) Wearable electronic device for detecting biometric information
CN113709623B (en) Earphone control method and device, earphone and storage medium
WO2016053556A1 (en) Electronics interface for device headset jack
CN112305320B (en) Proximity detection circuit, wearable device and proximity detection method
WO2022141248A1 (en) Proximity detection circuit, wearable device and proximity detection method
US20110273189A1 (en) Sensing apparatus for and associated methods
TWI633795B (en) A signal processing system and a method
CN114003147B (en) Signal detection device, touch pad and electronic equipment
CN115243145A (en) Earphone control method, earphone control device, earphone and computer readable storage medium
CN110987154B (en) Detection method and device for knocking event, medium and head-mounted equipment
TW202143016A (en) Proximity detection method and circuit thereof
US20210194481A1 (en) Dynamic capacitive sensing
TW202007044A (en) Device and method for over-current protection
JP7305162B2 (en) sound-electricity converter

Legal Events

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

Ref document number: 20967589

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20967589

Country of ref document: EP

Kind code of ref document: A1