Wearable device, wearing detection method, device and storage medium
By setting the first plate and the second plate in the wearable device, and using the mutual capacitance value change trend and attenuation rate to determine the wearing status, combined with temperature and humidity correction, the problem of misjudgment by the traditional proximity detection method is solved, and the More accurate wearing status detection.
Patent Information
- Application Number
- CN202110961267.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-20
AI Technical Summary
The traditional proximity detection method is prone to misjudgment when judging the wearing state, because the change in self-capacitance can also be caused by the device being placed on the wearer's hand or on a grounded conductor, making it difficult to accurately distinguish between wearing and non-wearing states.
Design a wearable device by arranging a first pole plate and a second pole plate on the shell, and using the detection and processing module to detect the mutual capacitance value between the two pole plates, and judge the wearability based on the changing trend and attenuation rate of the mutual capacitance value. status, combined with temperature and humidity correction to ensure accurate judgment.
It improves the accuracy of the wearing state, reduces misjudgments, and can accurately detect the fact that the electrode plate is covered in the wearing state, thereby enhancing the reliability of the device.
Smart Images

Figure CN113759439B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human proximity sensing, and in particular to a wearable device, a wearing detection method, a device and a storage medium. Background Art
[0002] In some wearable devices, such as headphones and glasses, proximity detection is usually set to identify whether the device is being worn. Traditional proximity detection uses a detection electrode, which has a self-capacitance to the ground. When a human body approaches, the human body, as an excellent conductor, will interfere with the electrostatic field between the detection electrode and the ground, causing a specific change in the size of the self-capacitance. Therefore, when the self-capacitance is detected to meet a specific change, the wearable device is considered to be in a wearing state, otherwise it is not in a wearing state.
[0003] However, a specific change in the size of the self-capacitance may also be caused by the wearable device being placed on the wearer's hand, or on a grounded conductor (such as a metal object connected to the ground). Therefore, it is easy to misjudge the wearing status based on the specific change in the self-capacitance. Summary of the invention
[0004] Based on this, it is necessary to provide a wearable device, a wearing detection method, an apparatus and a storage medium that can accurately determine the wearing status.
[0005] A wearable device, comprising:
[0006] case,
[0007] A first electrode plate is arranged on a first wearing portion of the housing;
[0008] a second electrode plate, arranged at a second wearing portion of the housing and spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold;
[0009] The detection processing module is connected to the first electrode plate and the second electrode plate respectively, and is used to detect a first mutual capacitance value between the first electrode plate and the second electrode plate, and determine the wearing state of the wearable device according to the first mutual capacitance value.
[0010] In one embodiment, the detection processing module is further used for:
[0011] Obtaining a change trend of the first mutual capacitance value within a first preset time period;
[0012] If the change trend within the first preset time period is a decay trend and the decay rate within the first preset time period is greater than a preset decay rate, it is determined that the wearable device is in a wearing state.
[0013] In one embodiment, the detection processing module is further used for:
[0014] Obtaining a change trend of the first mutual capacitance value within a second preset time period;
[0015] If the change trend within the second preset time period is a decay trend and the decay rate within the second preset time period is less than the preset decay rate, or the change trend within the second preset time period is an increase trend, the wearable device is determined to be in a non-wearing state.
[0016] In one embodiment, if the change trend within the second preset time period is an increasing trend, the detection processing module is further used to:
[0017] Calculating a growth rate of the first mutual capacitance value within a third preset time period;
[0018] If the growth rate within the third preset time period is greater than the first preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering.
[0019] In one embodiment, the first preset growth rate is greater than 10% and less than 200%.
[0020] In one embodiment, after determining that the wearable device is in a wearing state, the detection processing module is further used to:
[0021] Detecting a second mutual capacitance value between the first electrode plate and the second electrode plate;
[0022] Obtaining a change trend of the second mutual capacitance value within a fourth preset time period;
[0023] If the change trend within the fourth preset time period is an increasing trend and the growth rate within the fourth preset time period is greater than the second preset growth rate, it is determined that the wearable device is in a non-wearing state.
[0024] In one embodiment, if the wearable device is determined to be in a non-wearing state, the detection processing module is further configured to:
[0025] comparing a growth rate of the second mutual capacitance value within a fourth preset time period with a third preset growth rate;
[0026] If the growth rate within the fourth preset time period is greater than the third preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering, wherein the third preset growth rate is greater than the second preset growth rate.
[0027] In one embodiment, the wearable device further comprises:
[0028] A temperature sensing module, used to sense the ambient temperature inside the wearable device;
[0029] A humidity sensing module, used to sense the ambient humidity inside the wearable device;
[0030] The detection processing module is connected to the temperature sensing module and the humidity sensing module respectively, and is used to correct the first mutual capacitance value and / or the second mutual capacitance value according to the ambient temperature and the ambient humidity.
[0031] In one embodiment, the detection processing module is further used for:
[0032] Determining whether the first mutual capacitance value is in a changing state within a fifth preset time length;
[0033] If it is in a changing state, obtaining a first change rate of the first mutual capacitance value within a fifth preset time length;
[0034] If the first change rate is less than a first change threshold, the first mutual capacitance value is corrected.
[0035] In one embodiment, the detection processing module is further used for:
[0036] Determining whether the second mutual capacitance value is in a changing state within a sixth preset time length;
[0037] If it is in a changing state, obtaining a second changing rate of the second mutual capacitance value within a sixth preset time length;
[0038] If the second change rate is less than a second change threshold, the second mutual capacitance value is corrected.
[0039] In one embodiment, the wearable device is headphones or glasses.
[0040] In one embodiment, the first electrode plate and the second electrode plate are arranged in the same plane, or the projection of the first electrode plate on the second electrode plate at least partially overlaps with the second electrode plate.
[0041] A wearing detection method is applied to a wearable device, the wearable device comprising a housing, a first electrode plate and a second electrode plate, the first electrode plate being arranged at a first wearing portion of the housing, the second electrode plate being arranged at a second wearing portion of the housing and spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold, the wearing detection method comprising:
[0042] Obtaining a first mutual capacitance value between the first electrode plate and the second electrode plate;
[0043] Obtaining a change trend of the first mutual capacitance value within a first preset time period;
[0044] If the change trend within the first preset time period is a decay trend and the decay rate within the first preset time period is greater than a preset decay rate, it is determined that the wearable device is in a wearing state.
[0045] A wearing detection device is applied to a wearable device, the wearable device comprising a housing, a first electrode plate and a second electrode plate, the first electrode plate being arranged at a first wearing portion of the housing, the second electrode plate being arranged at a second wearing portion of the housing and spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold;
[0046] The wearing detection device comprises:
[0047] A mutual capacitance value acquisition module, used to acquire a first mutual capacitance value between the first electrode plate and the second electrode plate;
[0048] A change trend determination module, used to determine a change trend of the first mutual capacitance value within a first preset time period;
[0049] The wearing state determination module is used to determine that the wearable device is in the wearing state if the change trend within the first preset time period is a decay trend and the decay rate within the first preset time period is greater than a preset decay rate.
[0050] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned wearing detection method when executed by a processor.
[0051] The above-mentioned wearable device includes a shell, a first electrode plate, a second electrode plate and a detection and processing module, wherein the first electrode plate is arranged on the first wearing part of the shell, and the second electrode plate is arranged on the second wearing part of the shell and is spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distance between the first wearing part and the second wearing part and the wearer is less than a distance threshold at the same time, and the detection and processing module is respectively connected to the first electrode plate and the second electrode plate, and is used to detect a first mutual capacitance value between the first electrode plate and the second electrode plate. Since the first electrode plate and the second electrode plate are respectively arranged on different wearing parts and are spaced apart, the two electrodes will be covered only in the wearing state, and the mutual capacitance between the two electrodes is related to the situation that the two electrodes are covered. Therefore, the detection and processing module can accurately determine whether the wearable device is in a wearing state by detecting the first mutual capacitance value between the first electrode plate and the second electrode plate. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 A schematic diagram of electric field distribution of a plate in a wearable device when no target object is approaching according to an embodiment;
[0054] Figure 2 A schematic diagram of the electric field distribution of the electrode plate in the wearable device in the wearing state according to an embodiment;
[0055] Figure 3 A schematic diagram of the distribution positions of the first electrode plate and the second electrode plate in the earphone according to an embodiment;
[0056] Figure 4 A schematic diagram of the distribution positions of the first electrode plate and the second electrode plate in a lens frame according to an embodiment;
[0057] Figure 5 A schematic diagram of the relative arrangement positions of the first electrode plate and the second electrode plate according to an embodiment;
[0058] Figure 6 A schematic diagram of the relative arrangement positions of the first electrode plate and the second electrode plate of another embodiment;
[0059] Figure 7 Flow chart of a wearing detection method according to an embodiment.
[0060] Component number description:
[0061] First electrode: 101; second electrode: 102; detection and processing module: 103; sound outlet: 104; housing: 100; wearer: 200 DETAILED DESCRIPTION
[0062] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0063] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0064] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first plate may be referred to as a second plate, and similarly, a second plate may be referred to as a first plate. Both the first plate and the second plate are plates, but they are not the same plate.
[0065] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.
[0066] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.
[0067] Figure 1 1 is a structural diagram of a wearable device of an embodiment, the wearable device includes a shell 100, a first electrode 101, a second electrode 102 and a detection processing module 103, the first electrode 101 is arranged on the first wearing part of the shell 100, the second electrode 102 is arranged on the second wearing part of the shell 100 and is spaced apart from the first electrode 101, wherein when the wearable device is in a wearing state, the first wearing part and the second wearing part are used to contact with the wearer; the detection processing module 103 is respectively connected to the first electrode 101 and the second electrode 102, and is used to detect a first mutual capacitance value between the first electrode 101 and the second electrode 102, and determine the wearing state of the wearable device according to the first mutual capacitance value.
[0068] Specifically, the wearable device may be, for example, earphones, glasses, or a bracelet. The first wearing portion and the second wearing portion are different parts of the wearable device housing 100, for example Figure 1 In the wearing state, the distance between the first wearing part and the second wearing part and the wearer 200 is less than the distance threshold at the same time. The distance threshold can be the larger distance value between the first wearing part and the second wearing part and the wearer when the wearable device is converted from the non-wearing state to the wearing state, such as Figure 2As shown, in the non-wearing state, the distances between the first wearable portion and the second wearable portion and the target object will not be less than the distance threshold at the same time, wherein the target object may be a human body or other grounded conductor. Since the first electrode 101 and the second electrode 102 are arranged inside the wearable device, when the distances between the first wearable portion and the second wearable portion and the wearer 200 are less than the distance threshold at the same time, the wearable device can be determined to be in the wearing state. At this time, the first electrode 101 and the second electrode 102 are both covered by the wearer 200, and the wearer 200 can be regarded as a grounded conductor. Therefore, the electric field lines between the first electrode 101 and the second electrode 102 will be cut off by the wearer 200, thereby shortening the equivalent plate-to-plate distance between the first electrode 101 and the second electrode 102, and changing the mutual capacitance value between the first electrode 101 and the second electrode 102. The electric field line distributions when the first electrode 101 and the second electrode 102 are not covered and are covered at the same time are respectively as shown in the figure below. Figure 1 and Figure 2 As shown by the dotted line in . The non-wearing state may include a placement state or a state in which at least one wearing part is covered with a suspended conductor, wherein the suspended conductor is different from the grounding conductor. In the placement state, only one of the first wearing part and the second wearing part is less than the distance threshold from the target object, or the distances between both and the target object are not less than the distance threshold, and the three situations of both plates being uncovered, one of the plates being covered, and both plates being covered correspond to different first mutual capacitance values, respectively. Therefore, the coverage of the plates can be determined according to the first mutual capacitance value, thereby reflecting the distance between the first wearing part and the second wearing part and the target object, and further determining the wearing state of the wearable device.
[0069] In the wearable device according to the embodiment of the present invention, since the first electrode plate 101 and the second electrode plate 102 are respectively arranged in different wearing parts and are arranged at intervals, the two electrodes will be covered only in the wearing state, and the mutual capacitance between the two electrodes is related to the situation that the two electrodes are covered. Therefore, the detection processing module 103 can determine whether the wearable device is in the wearing state by detecting the first mutual capacitance value between the first electrode plate 101 and the second electrode plate 102.
[0070] In one embodiment, the detection processing module 103 is further used to obtain a change trend of the first mutual capacitance value within a first preset time period. If the change trend is a decay trend and the decay rate within the first preset time period is greater than a preset decay rate, it is determined that the wearable device is in a wearing state.
[0071] Among them, the first preset time length can be set artificially according to an empirical value, and its specific value can be determined according to the time length from the beginning of the decrease to the stability of the mutual capacitance value between the first electrode plate 101 and the second electrode plate 102 when the wearable device switches from the reference state to the wearing state, wherein the reference state is a state in which both the first electrode plate 101 and the second electrode plate 102 are not covered.
[0072] The change trend of the first mutual capacitance value may include a decay trend. Whether it is a decay trend may be determined based on the first mutual capacitance values at multiple time points. For example, a linear fit is performed on the first mutual capacitance values at multiple time points to obtain a fitting straight line, and then the slope of the fitting straight line is calculated. If the slope is a negative number, it is a decay trend.
[0073] The preset attenuation rate can be set artificially based on an empirical value, and its specific value can be determined according to the change rate of the mutual capacitance value between the first electrode 101 and the second electrode 102 when the wearable device switches from a reference state to a wearing state.
[0074] It can be understood that when the wearable device changes from the reference state to the wearing state, the first electrode plate 101 and the second electrode plate 102 are covered by the wearer 200 at the same time. At this time, the mutual capacitance between the first electrode plate 101 and the second electrode plate 102 decreases sharply, so the change trend of the first mutual capacitance value within a first preset time period can be obtained. If it is a decay trend and the decay rate is greater than the preset decay rate, it can be determined that it is in the wearing state at this time. This embodiment determines the wearing state of the wearable device based on the characteristic that the mutual capacitance between the two electrodes changes sharply when the wearable device enters the wearing state. The method is simple and the judgment accuracy is high.
[0075] In one embodiment, the detection processing module 103 is further used to obtain a change trend of the first mutual capacitance value within a second preset time period. If the change trend is a decay trend and the decay rate within the second preset time period is less than a preset decay rate, or the change trend is an increase trend, the wearable device is determined to be in a non-wearing state.
[0076] Among them, the second preset time length can be set artificially according to an empirical value, and its specific value can be determined according to the time length from the beginning of the mutual capacitance value between the first electrode plate 101 and the second electrode plate 102 decreasing to the stabilization when the wearable device switches from the reference state to the state where one of the first electrode plate 101 and the second electrode plate 102 is covered by the target object.
[0077] It can be understood that in the reference state, when one of the first electrode plate 101 and the second electrode plate 102 is approached and covered, the mutual capacitance between the first electrode plate 101 and the second electrode plate 102 decreases sharply, but compared with the case where both the first electrode plate 101 and the second electrode plate 102 are approached and covered, the rate of change of the mutual capacitance value is smaller. Therefore, the change trend of the first mutual capacitance value within the second preset time period can be obtained, and when the change trend is a decay trend and the decay rate within the second preset time period is less than the preset decay rate, it is determined that the wearable device is in a non-wearing state.
[0078] The variation trend of the first mutual capacitance value may also include a growth trend, which may be determined based on the first mutual capacitance values at multiple time points. For example, a linear fit is performed on the first mutual capacitance values at multiple time points to obtain a fitting line, and then the slope of the fitting line is calculated. If the slope is a positive number, it is a growth trend.
[0079] It can be understood that when the change trend is an increasing trend, it indicates that the first electrode 101 and / or the second electrode 102 is not covered by a grounding conductor similar to the human body, so the wearable device can also be determined to be in a non-wearing state at this time.
[0080] In one embodiment, if the change trend within the second preset time period is an increasing trend, the detection processing module 103 is also used to calculate the growth rate of the first mutual capacitance value within the third preset time period. If the growth rate is greater than the first preset growth rate, it is determined that the first wear part and / or the second wear part is covered with a conductive covering.
[0081] The conductive covering may be, for example, a conductive liquid such as human sweat or water containing impurities. The third preset duration may be set manually based on an empirical value, and its specific value may be determined based on the duration from the beginning of the increase to the stabilization of the mutual capacitance between the first electrode plate 101 and the second electrode plate 102 when the wearable device switches from the reference state to the state where the first electrode plate 101 and / or the second electrode plate 102 is covered by the conductive covering.
[0082] It can be understood that the conductive covering can be equivalent to a floating conductor. When the first wearing portion and / or the second wearing portion is covered with a conductive covering, the corresponding first electrode 101 and / or the second electrode 102 will also be covered by the conductive covering. The conductive covering shortens the inter-plate distance between the first electrode 101 and the second electrode 102, so that the mutual capacitance value between the first electrode 101 and the second electrode 102 increases sharply. Therefore, when it is determined that the change trend is a growth trend, the detection processing module 103 can also calculate the growth rate of the first mutual capacitance value within the third preset time length, and determine that the first wearing portion and / or the second wearing portion is covered with a conductive covering when the growth rate is greater than the first preset growth rate.
[0083] Among them, when the first wearing part is covered with a conductive covering, the first electrode 101 will be covered by the conductive covering; when the second wearing part is covered with a conductive covering, the second electrode 102 will be covered by the conductive covering; when the first wearing part and the second wearing part are covered with a conductive covering at the same time, the first electrode 101 and the second electrode 102 will be covered by the conductive covering at the same time. Among them, for the case where the first wearing part and the second wearing part are covered with a conductive covering at the same time, the first wearing part and the second wearing part can be covered by the conductive covering in the same area, that is, there is only one conductive covering; the first wearing part and the second wearing part can also be covered by conductive coverings in different areas respectively, that is, there are two conductive coverings, and the two wearing parts are covered by conductive liquids in different places respectively.
[0084] In one embodiment, the first preset growth rate is greater than 10% and less than 200%.
[0085] In one embodiment, after determining that the wearable device is in a worn state, the detection processing module 103 is further used to detect a second mutual capacitance value between the first electrode 101 and the second electrode 102 and obtain a change trend of the second mutual capacitance value within a fourth preset time period; if the change trend within the fourth preset time period is an increasing trend and the growth rate within the fourth preset time period is greater than the second preset growth rate, the wearable device is determined to be in a non-worn state.
[0086] Among them, the fourth preset time length can be set artificially according to an empirical value, and its specific value can be determined according to the time length from the beginning of the increase to the stabilization of the mutual capacitance value between the first electrode 101 and the second electrode 102 when the wearable device switches from a wearing state to a reference state or a non-wearing state.
[0087] It can be understood that when the wearable device switches from the wearing state to the reference state or only one electrode is covered by the grounding conductor, the equivalent inter-plate distance between the first electrode 101 and the second electrode 102 is lengthened, and the mutual capacitance value between the first electrode 101 and the second electrode 102 will increase sharply. In addition, when the first wearing part and / or the second wearing part of the wearable device is covered with a conductive covering, the mutual capacitance value between the first electrode 101 and the second electrode 102 will also increase sharply. Therefore, by detecting the second mutual capacitance value between the first electrode 101 and the second electrode 102, the change trend of the second mutual capacitance value within the fourth preset time length is obtained. If the change trend within the fourth preset time length is an increasing trend and the growth rate within the fourth preset time length is greater than the second preset growth rate, it can be determined that the wearable device is in a non-wearing state.
[0088] In one embodiment, if the wearable device is determined to be in a non-worn state, the detection and processing module is also used to compare the growth rate of the second mutual capacitance value within a fourth preset time period with the third preset growth rate. If the growth rate within the fourth preset time period is greater than the third preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering, wherein the third preset growth rate is greater than the second preset growth rate.
[0089] It can be understood that after the wearable device becomes a non-wearing state, the first wear part, or the second wear part, or the first wear part and the second wear part may be covered with a conductive covering, resulting in the growth rate of the second mutual capacitance value within the fourth preset time period being not only greater than the second preset growth rate, but also greater than the third preset growth rate. Therefore, after determining that the wearable device is in a non-wearing state, it is possible to determine whether the first wear part and / or the second wear part is covered with a conductive covering based on the relationship between the growth rate of the second mutual capacitance value within the fourth preset time period and the third preset growth rate.
[0090] In one embodiment, the wearable device further includes a temperature sensing module and a humidity sensing module, and both the temperature sensing module and the humidity sensing module are connected to the detection processing module 103. The temperature sensing module is used to sense the ambient temperature inside the wearable device, and the humidity sensing module is used to sense the ambient humidity inside the wearable device; the detection processing module 103 is used to calibrate the first mutual capacitance value and / or the second mutual capacitance value according to the ambient temperature and the ambient humidity.
[0091] It can be understood that the ambient temperature and ambient humidity will affect the mutual capacitance between the first electrode plate 101 and the second electrode plate 102. Therefore, the first mutual capacitance value, the second mutual capacitance value, or the first mutual capacitance value and the second mutual capacitance value detected by the detection processing module 103 can be corrected according to the ambient temperature and ambient humidity.
[0092] In one embodiment, the detection processing module is further used to determine whether the first mutual capacitance value is in a changing state within a fifth preset time length; if in a changing state, obtain a first change rate of the first mutual capacitance value within the fifth preset time length, and if the first change rate is less than a first change threshold, correct the first mutual capacitance value.
[0093] The fifth preset duration can be set artificially based on empirical values, and its specific value can be determined according to the duration of the first mutual capacitance value changing when the first electrode plate and the second electrode plate are affected by environmental factors. The first change threshold can be set artificially based on empirical values, and its specific value can be determined according to the rate of change of the first mutual capacitance value within the fifth preset duration when the first electrode plate and the second electrode plate are affected by environmental factors. Environmental factors can be, for example, temperature factors or humidity factors.
[0094] The change state of the first mutual capacitance value within the fifth preset time length can be determined based on multiple time points within the fifth preset time length. For example, a linear fit can be performed on the first mutual capacitance values at multiple time points within the fifth preset time length to obtain a fitting curve, and then the slope of the fitting line is calculated. If the slope is not 0, it indicates that it is in a changing state.
[0095] It can be understood that when it is determined that the first mutual capacitance value is in a changing state, the first change rate of the first mutual capacitance value within the fifth preset time length can be obtained and compared with the first change threshold. The change of the first mutual capacitance value caused by environmental factors is slow. When the first change rate is less than the first change threshold, it indicates that the change of the first mutual capacitance value is caused by the influence of environmental factors. At this time, the first mutual capacitance value can be corrected.
[0096] In one embodiment, the first mutual capacitance value may be corrected according to the first change rate. The first change rate may have a mapping relationship with the correction value of the first mutual capacitance value. Therefore, the correction value of the first mutual capacitance value may be determined according to the first change rate, and then the first mutual capacitance value may be corrected.
[0097] In one embodiment, the detection processing module is further used to determine whether the second mutual capacitance value is in a changing state within a sixth preset time length; if it is in a changing state, obtain a second change rate of the second mutual capacitance value within the sixth preset time length, and if the second change rate is less than a second change threshold, correct the second mutual capacitance value.
[0098] The sixth preset duration can be set artificially based on empirical values, and its specific value can be determined according to the duration of the second mutual capacitance value changing when the first electrode plate and the second electrode plate are affected by environmental factors. The second change threshold can be set artificially based on empirical values, and its specific value can be determined according to the rate of change of the second mutual capacitance value within the sixth preset duration when the first electrode plate and the second electrode plate are affected by environmental factors. Environmental factors can be, for example, temperature factors or humidity factors.
[0099] The change state of the second mutual capacitance value within the fifth preset time length can be determined based on multiple time points within the sixth preset time length. For example, a linear fit can be performed on the second mutual capacitance values at multiple time points within the sixth preset time length to obtain a fitting curve, and then the slope of the fitting line is calculated. If the slope is not 0, it indicates that it is in a changing state.
[0100] It can be understood that when it is determined that the second mutual capacitance value is in a changing state, the second change rate of the second mutual capacitance value within the sixth preset time length can be obtained and compared with the second change threshold. The change of the second mutual capacitance value caused by environmental factors is slow. When the second change rate is less than the second change threshold, it indicates that the change of the second mutual capacitance value is caused by the influence of environmental factors. At this time, the second mutual capacitance value can be corrected.
[0101] In one embodiment, the second mutual capacitance value may be corrected according to the second change rate. The second change rate may have a mapping relationship with the correction value of the second mutual capacitance value. Therefore, the correction value of the second mutual capacitance value may be determined according to the second change rate, and then the second mutual capacitance value may be corrected.
[0102] In one embodiment, the wearable device may be headphones or glasses.
[0103] When the wearable device is an earphone, the earphone includes at least a housing 100, a microphone (not shown) and a speaker (not shown), wherein the microphone and the speaker are arranged in a closed space formed by the housing.
[0104] In one embodiment, Figure 3 As shown, a sound outlet 104 is opened on the housing 100 of the earphone, and the sound outlet 104 is located in the curved surface area of the housing. The first electrode plate 101 and the second electrode plate 102 can be located on both sides of the sound outlet 104 respectively.
[0105] like Figure 3 As shown, on the one hand, in the wearing state, the sound outlet 104 of the earphone is directly opposite to the ear hole of the wearer 200, so the parts of the shell 100 around the sound outlet 104 will be close to the ear of the wearer 200, and the first wearing part and the second wearing part can be respectively located on both sides of the sound outlet 104, so that the first electrode plate 101 and the second electrode plate 102 are arranged on both sides of the sound outlet 104, so that they can be covered by the ear of the wearer 200; on the other hand, since the side where the sound outlet 104 of the earphone is located is an arc surface, the shell 100 on this side will not provide support for the earphone in any placement state, so as to contact the target object, and when the other sides of the shell 100 except the sound outlet 104 provide support for the earphone, at most one of the two wearing parts is less than the distance threshold at the same time with the wearer, so that at most one of the two electrodes will be covered by the target object, so the first electrode plate 101 and the second electrode plate 102 can be set in this way to achieve that both electrodes of the earphone are covered only when the earphone is in the wearing state. It can be understood that the first electrode plate 101 and the second electrode plate 102 are both inside the wearable device.
[0106] In addition, the first electrode plate 101 and the second electrode plate 102 are as follows Figure 3 The arrangement shown can ensure that when the earphone is in the placement state shown in the figure and the first electrode plate 101 and the second electrode plate 102 are covered at the same time, the conductive covering covering the first electrode plate 101 and the second electrode plate 102 are not easy to gather in one place, thereby avoiding the failure of the model that the conductive covering is equivalent to a suspended conductor when the covering area of the conductive covering is too large. At this time, the judgment rule of whether the conductive covering is covered according to the growth rate will no longer apply.
[0107] When the wearable device is a pair of glasses, the glasses at least include two lenses, a frame and two frames, such as Figure 4 shown.
[0108] In one embodiment, the shell 100 is the shell of the frame part, and the first wearing part and the second wearing part can be respectively located on the first side 01 of the tail of the glasses frame, so that the first electrode plate and the second electrode plate are respectively located on the first side 01 of the tail of the glasses frame, and the first side 01 is the side of the frame facing the human face when the glasses are worn.
[0109] Specifically, the glasses frame is strip-shaped, and its cross section is roughly square. The first side 01 of the frame faces the human face and is close to or in contact with the human face when the glasses are worn. The second side 02 of the frame faces the target object and is close to or in contact with the target object when the glasses are in an inverted state. The third side (not shown) opposite to the second side 02 faces the target object and is close to or in contact with the target object when the glasses are in an upright state. On the one hand, when the glasses are in a worn state, the first side 01 of the frame is close to or in contact with the human face. At this time, the distance between the first wearing part and the second wearing part and the wearer 200 will be less than the distance threshold at the same time, so that the first electrode plate 101 and the second electrode plate 102 can be covered by the ears of the wearer 200; on the other hand, when the glasses are in an upright state or an inverted state, at most one of the two wearing parts is less than the distance threshold at the same time, so that at most one electrode plate is close to the target object. Therefore, the first electrode plate 101 and the second electrode plate 102 can achieve that the glasses are covered only when the glasses are worn.
[0110] In one embodiment, the first electrode plate 101 and the second electrode plate 102 may be disposed on the same plane, or a projection of the first electrode plate 101 on the second electrode plate 102 at least partially overlaps with the second electrode plate 102 .
[0111] The first electrode plate 101 and the second electrode plate 102 are arranged on the same plane. Figure 2 and Figure 3 As shown, at this time, the electric field between the first electrode plate 101 and the second electrode plate 102 expands to the outside of the housing 100. When the target object approaches and covers the two electrodes at the same time, the original electric field lines between the two electrodes can be cut off, and the mutual capacitance between the two electrodes can be changed; the projection of the first electrode plate 101 on the second electrode plate 102 at least partially overlaps with the second electrode plate 102, and the two electrodes may be parallel, such as Figure 5 As shown, at this time, the electric field between the two plates can also expand to the outside of the housing 100, so that the target object can cut off the original electric field lines between the two plates; the relative position of the first plate 101 to the second plate 102 can also be as shown Figure 6 As shown, the two pole plates respectively form a deflection angle α1 and α2 relative to the horizontal direction, and the value range of the deflection angle α1 and α2 is 0° to 90°.
[0112] The embodiment of the present invention also provides a wearing detection method, which is applied to a wearable device, referring to Figures 1 to 6 The wearable device includes a housing 100, a first electrode plate 101 and a second electrode plate 102, wherein the first electrode plate 101 is disposed at a first wearing portion of the housing 100, and the second electrode plate 102 is disposed at a second wearing portion of the housing 100 and is spaced apart from the first electrode plate 101, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer 200 are both less than a distance threshold. Figure 7 As shown, the wearing detection method may include steps S110 to S130.
[0113] Step S110 , obtaining a first mutual capacitance value between the first electrode plate 101 and the second electrode plate 102 .
[0114] Step S120, obtaining a change trend of a first mutual capacitance value within a first preset time period.
[0115] Step S130: If the change trend is a decay trend and the decay rate within the first preset time period is greater than the preset decay rate, it is determined that the wearable device is in a wearing state.
[0116] In one embodiment, step S130 also includes obtaining a change trend of the first mutual capacitance value within a first preset time period. If the change trend within the first preset time period is an attenuation trend and the attenuation rate within the first preset time period is greater than a preset attenuation rate, it is determined that the wearable device is in a wearing state.
[0117] In one embodiment, step S130 also includes obtaining a changing trend of the first mutual capacitance value within a second preset time period. If the changing trend within the second preset time period is a decay trend and the decay rate within the second preset time period is less than a preset decay rate, or the changing trend within the second preset time period is an increasing trend, then it is determined that the wearable device is in a non-wearing state.
[0118] In one embodiment, if the changing trend within the second preset time period is an increasing trend, the wearing detection method also includes calculating the growth rate of the first mutual capacitance value within a third preset time period. If the growth rate within the third preset time period is greater than the first preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering.
[0119] In one embodiment, after the step determines that the wearable device is in a worn state, the wearing detection method further includes detecting a second mutual capacitance value between the first electrode 101 and the second electrode 102, and obtaining a change trend of the second mutual capacitance value within a fourth preset time length. If the change trend within the fourth preset time length is an increasing trend and the growth rate within the fourth preset time length is greater than the second preset growth rate, the wearable device is determined to be in a non-worn state.
[0120] In one embodiment, if the wearable device is determined to be in a non-worn state, the wearing detection method also includes comparing the growth rate of the second mutual capacitance value within a fourth preset time period with the third preset growth rate. If the growth rate within the fourth preset time period is greater than the third preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering, wherein the third preset growth rate is greater than the second preset growth rate.
[0121] In one embodiment, after the step of detecting the first mutual capacitance value between the first electrode plate 101 and the second electrode plate 102, the wearing detection method further includes sensing the ambient temperature and ambient humidity inside the wearable device, and correcting the first mutual capacitance value and / or the second mutual capacitance value according to the ambient temperature and ambient humidity.
[0122] In one embodiment, the wearing detection method also includes determining whether the first mutual capacitance value is in a changing state within a fifth preset time length; if it is in a changing state, obtaining a first change rate of the first mutual capacitance value within the fifth preset time length, and if the first change rate is less than a first change threshold, correcting the first mutual capacitance value.
[0123] In one embodiment, the first mutual capacitance value may be corrected according to the first rate of change.
[0124] In one embodiment, the wearing detection method also includes determining whether the second mutual capacitance value is in a changing state within a sixth preset time length; if it is in a changing state, obtaining a second change rate of the second mutual capacitance value within the sixth preset time length, and if the second change rate is less than a second change threshold, correcting the second mutual capacitance value.
[0125] In one embodiment, the second mutual capacitance value may be corrected according to the second rate of change.
[0126] The principles and beneficial effects of the wearing detection method of any of the above embodiments can be referred to the specific description in the embodiments of the wearable device, which will not be repeated here.
[0127] The embodiment of the present invention also provides a wearing detection device, which is applied to a wearable device. The wearable device includes a housing 100, a first electrode 101 and a second electrode 102. The first electrode 101 is arranged on the first wearing part of the housing 100, and the second electrode 102 is arranged on the second wearing part of the housing 100, and is spaced apart from the first electrode 101. When the wearable device is in a wearing state, the distance between the first wearing part and the second wearing part and the wearer 200 is less than the distance threshold at the same time. The wearing detection device includes a mutual capacitance value acquisition module, a change trend determination module and a wearing state determination module. Among them, the mutual capacitance value acquisition module is used to obtain the first mutual capacitance value between the first electrode 101 and the second electrode 102; the change trend determination module is used to determine the change trend of the first mutual capacitance value within a first preset time length; the wearing state determination module is used to determine that the wearable device is in a wearing state if the change trend is a decay trend and the decay rate within the first preset time length is greater than the preset decay rate.
[0128] In one embodiment, the wearing status determination module is also used to determine that the wearable device is in a non-wearing state if the changing trend within the second preset time period is a decay trend and the decay rate within the second preset time period is less than the preset decay rate, or the changing trend within the second preset time period is an increasing trend.
[0129] In one embodiment, if the change trend within the second preset time period is an increasing trend, the wearing status determination module is also used to calculate the growth rate of the first mutual capacitance value within the third preset time period. If the growth rate within the third preset time period is greater than the first preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering.
[0130] In one embodiment, after determining that the wearable device is in a wearing state, the wearing state determination module is further used to obtain a second mutual capacitance value between the first electrode 101 and the second electrode 102; obtain a change trend of the second mutual capacitance value within a fourth preset time length; if the change trend within the fourth preset time length is an increasing trend and the growth rate within the fourth preset time length is greater than the second preset growth rate, then determine that the wearable device is in a non-wearing state.
[0131] In one embodiment, if the wearable device is determined to be in a non-worn state, the wearing state determination module is also used to compare the growth rate of the second mutual capacitance value within a fourth preset time length with the third preset growth rate. If the growth rate within the fourth preset time length is greater than the third preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering, wherein the third preset growth rate is greater than the second preset growth rate.
[0132] In one embodiment, the wearable device may further include a temperature sensing module and a humidity sensing module. The temperature sensing module is used to sense the ambient temperature inside the wearable device, and the humidity sensing module is used to sense the ambient humidity inside the wearable device. The wearing detection device also includes a temperature acquisition module, a humidity acquisition module and a correction module. The temperature acquisition module is used to acquire the ambient temperature; the humidity acquisition module is used to acquire the ambient humidity; and the correction module is used to correct the first mutual capacitance value and / or the second mutual capacitance value according to the ambient temperature and the ambient humidity.
[0133] In one embodiment, the wearable device may further include a change determination module and a change rate acquisition module. The change determination module is used to determine whether the first mutual capacitance value is in a changing state within a fifth preset time length, the change rate acquisition module is used to obtain the first change rate of the first mutual capacitance value within the fifth preset time length if it is in a changing state, and the correction module is also used to correct the first mutual capacitance value if the first change rate is less than the first change threshold.
[0134] In one embodiment, the correction module may correct the first mutual capacitance value according to the first change rate.
[0135] In one embodiment, the change determination module may be further used to determine whether the second mutual capacitance value is in a changing state within a sixth preset time length, the change rate acquisition module may be further used to acquire a second change rate of the second mutual capacitance value within the sixth preset time length if it is in a changing state, and the correction module may be further used to correct the second mutual capacitance value if the second change rate is less than a second change threshold.
[0136] In one embodiment, the correction module may correct the second mutual capacitance value according to the second change rate.
[0137] The specific principles and beneficial effects of the wearing detection device in the above embodiment can be referred to the above wearing detection method embodiment, which will not be repeated here.
[0138] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the wearing detection method described in any of the above embodiments are implemented.
[0139] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0140] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0141] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0142] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A wearable device, characterized in that: include: case, A first electrode plate is arranged on a first wearing portion of the housing; a second electrode plate, arranged at a second wearing portion of the housing and spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold; a detection processing module, connected to the first electrode plate and the second electrode plate respectively, for detecting a first mutual capacitance value between the first electrode plate and the second electrode plate, and determining a wearing state of the wearable device according to the first mutual capacitance value; Among them, the detection and processing module is also used to obtain the changing trend of the first mutual capacitance value within a first preset time length; if the changing trend within the first preset time length is a decay trend and the decay rate within the first preset time length is greater than the preset decay rate, the wearable device is determined to be in a wearing state; and is also used to obtain the changing trend of the first mutual capacitance value within a second preset time length; if the changing trend within the second preset time length is an increasing trend, the wearable device is determined to be in a non-wearing state.
2. The wearable device according to claim 1, characterized in that: The detection processing module is also used to determine that the wearable device is in a non-wearing state if the change trend within the second preset time period is a decay trend and the decay rate within the second preset time period is less than a preset decay rate.
3. The wearable device according to claim 2, characterized in that: If the change trend within the second preset time period is an increasing trend, the detection processing module is further used to: Calculating a growth rate of the first mutual capacitance value within a third preset time period; If the growth rate within the third preset time period is greater than the first preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering.
4. The wearable device according to claim 3, characterized in that: The first preset growth rate is greater than 10% and less than 200%.
5. The wearable device according to claim 1, characterized in that: After determining that the wearable device is in a wearing state, the detection processing module is further used to: Detecting a second mutual capacitance value between the first electrode plate and the second electrode plate; Obtaining a change trend of the second mutual capacitance value within a fourth preset time period; If the change trend within the fourth preset time period is an increasing trend and the growth rate within the fourth preset time period is greater than the second preset growth rate, it is determined that the wearable device is in a non-wearing state.
6. The wearable device according to claim 5, characterized in that: If it is determined that the wearable device is in a non-wearing state, the detection processing module is further used to: comparing a growth rate of the second mutual capacitance value within a fourth preset time period with a third preset growth rate; If the growth rate within the fourth preset time period is greater than the third preset growth rate, it is determined that the first wearing part and / or the second wearing part is covered with a conductive covering, wherein the third preset growth rate is greater than the second preset growth rate.
7. The wearable device according to any one of claims 1 to 6, characterized in that: The wearable device further comprises: A temperature sensing module, used to sense the ambient temperature inside the wearable device; A humidity sensing module, used to sense the ambient humidity inside the wearable device; The detection processing module is connected to the temperature sensing module and the humidity sensing module respectively, and is used to correct the first mutual capacitance value and / or the second mutual capacitance value according to the ambient temperature and the ambient humidity.
8. The wearable device according to any one of claims 1 to 4, characterized in that: The detection processing module is also used for: Determining whether the first mutual capacitance value is in a changing state within a fifth preset time length; If it is in a changing state, obtaining a first change rate of the first mutual capacitance value within a fifth preset time length; If the first change rate is less than a first change threshold, the first mutual capacitance value is corrected.
9. The wearable device according to claim 5, characterized in that: The detection processing module is also used for: Determining whether the second mutual capacitance value is in a changing state within a sixth preset time length; If it is in a changing state, obtaining a second changing rate of the second mutual capacitance value within a sixth preset time length; If the second change rate is less than a second change threshold, the second mutual capacitance value is corrected.
10. The wearable device according to claim 1, characterized in that: The wearable device is headphones or glasses.
11. The wearable device according to claim 1, characterized in that: The first electrode plate and the second electrode plate are arranged on the same plane, or the projection of the first electrode plate on the second electrode plate at least partially overlaps with the second electrode plate.
12. A wearing detection method, characterized in that: Applied to a wearable device, the wearable device includes a housing, a first electrode plate and a second electrode plate, the first electrode plate is arranged on a first wearing portion of the housing, the second electrode plate is arranged on a second wearing portion of the housing, and is spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold, and the wearing detection method includes: Obtaining a first mutual capacitance value between the first electrode plate and the second electrode plate; Obtaining a change trend of the first mutual capacitance value within a first preset time period; If the change trend within the first preset time period is a decay trend and the decay rate within the first preset time period is greater than a preset decay rate, determining that the wearable device is in a wearing state; Obtaining a change trend of the first mutual capacitance value within a second preset time period; If the change trend within the second preset time period is an increasing trend, it is determined that the wearable device is in a non-wearing state.
13. A wearing detection device, characterized in that: Applied to a wearable device, the wearable device comprises a housing, a first electrode plate and a second electrode plate, the first electrode plate is arranged on a first wearing portion of the housing, the second electrode plate is arranged on a second wearing portion of the housing and is spaced apart from the first electrode plate, wherein when the wearable device is in a wearing state, the distances between the first wearing portion and the second wearing portion and the wearer are both less than a distance threshold; the wearing detection device comprises: A mutual capacitance value acquisition module, used to acquire a first mutual capacitance value between the first electrode plate and the second electrode plate; a change trend determination module, used to determine a change trend of the first mutual capacitance value within a first preset time length, and to determine a change trend of the first mutual capacitance value within a second preset time length; A wearing status determination module is used to determine that the wearable device is in a wearing state if the changing trend within the first preset time period is a decaying trend and the decay rate within the first preset time period is greater than a preset decay rate; and to determine that the wearable device is in a non-wearing state if the changing trend within the second preset time period is an increasing trend.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 12 are implemented.
