Left and right ear detection method and system

文档序号:1957109 发布日期:2021-12-10 浏览:16次 中文

阅读说明:本技术 一种左右耳检测方法及系统 (Left and right ear detection method and system ) 是由 王洁 陈曦 于 2021-08-09 设计创作,主要内容包括:本发明主要涉及可穿戴设备领域,提供了一种左右耳检测方法及系统,所述方法应用于头戴式设备,所述头戴式设备包括左、右耳罩和至少一个自电容传感器,所述至少一个自电容传感器设置于左、右耳罩内,该方法包括:获取至少一个自电容传感器的自电容数据;判断所述至少一个自电容传感器的自电容数据是否满足预设条件,以判定所述左耳罩或右耳罩是否位于左耳或右耳。利用传感器自电容变化量或者多个传感器的自电容变化量差值信息进行判断,或者,利用传感器自电容变化量计算传感器自电容变化量平均值进行判断,实现自动检测头戴式设备的左右耳,有利于提高左右耳检测的准确性和效率。(The invention mainly relates to the field of wearable equipment, and provides a left ear and right ear detection method and a system, wherein the method is applied to head-mounted equipment, the head-mounted equipment comprises a left earmuff, a right earmuff and at least one self-capacitance sensor, the at least one self-capacitance sensor is arranged in the left earmuff and the right earmuff, and the method comprises the following steps: acquiring self-capacitance data of at least one self-capacitance sensor; and judging whether the self-capacitance data of the at least one self-capacitance sensor meet a preset condition or not so as to judge whether the left earmuff or the right earmuff is positioned on the left ear or the right ear or not. The self-capacitance variation difference information of the sensor self-capacitance variation or the sensors is utilized to judge, or the sensor self-capacitance variation average value is calculated by utilizing the sensor self-capacitance variation to judge, so that the left ear and the right ear of the head-mounted equipment can be automatically detected, and the accuracy and the efficiency of left ear and right ear detection can be improved.)

1. A left and right ear detection method, applied to a head-mounted device comprising left and right ear cups and at least one self-capacitance sensor disposed within the left and right ear cups, the method comprising:

acquiring self-capacitance data of at least one self-capacitance sensor;

and judging whether the self-capacitance data of the at least one self-capacitance sensor meet a preset condition or not so as to judge whether the left earmuff or the right earmuff is positioned on the left ear or the right ear or not.

2. The left-right ear detection method according to claim 1, wherein the determining whether the self-capacitance data of the at least one self-capacitance sensor satisfies a preset condition comprises:

judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the left earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the right earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the right earmuff is judged to be positioned at the left ear.

3. The left-right ear detection method according to claim 1, wherein the determining whether the self-capacitance data of the at least one self-capacitance sensor satisfies a preset condition comprises:

judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff; if yes, the right earmuff is judged to be positioned at the left ear.

4. The left-right ear detection method according to claim 1, wherein the determining whether the self-capacitance data of the at least one self-capacitance sensor satisfies a preset condition comprises:

calculating the ratio of the number of self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the left earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

calculating the ratio of the number of self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the right earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the right earmuff is judged to be positioned at the left ear.

5. The left-right ear detection method according to claim 1, wherein the determining whether the self-capacitance data of the at least one self-capacitance sensor satisfies a preset condition comprises:

calculating the self-capacitance change average value of the left earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the left earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C1i={ΔC11,ΔC12,…,ΔC1nWherein i and n are natural numbers, i is more than or equal to 1, and n is more than or equal to 2;

the self-capacitance variation average value of the left earmuffCalculated according to the following formula:

wherein p is1iIs the weight, p, corresponding to the respective capacitive sensor in the left earmuff1i={p11,p12,…,p1n};

Judging the self-capacitance variation average value of the left earmuffWhether the average value is smaller than a preset average threshold value of the left ear or not; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

calculating the self-capacitance change average value of the right earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the right earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C2i={ΔC21,ΔC22,…,ΔC2jWherein i and j are natural numbers, i is more than or equal to 1, and j is more than or equal to 2;

the self-capacitance variation average value of the right earmuffCalculated according to the following formula:

wherein p is2iIs the weight, p, corresponding to the respective capacitive sensor in the right earmuff2i={p21,p22,…,p2j};

Judging the self-capacitance variation average value of the right earmuffWhether the average value is smaller than a preset average threshold value of the right ear or not; if yes, the right earmuff is judged to be positioned at the left ear.

6. The left-right ear detection method according to claim 1, wherein the determining whether the self-capacitance data of the at least one self-capacitance sensor satisfies a preset condition comprises:

according to N obtained in the left earmuff1The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated1The self-capacitance variation difference of the self-capacitance sensor is used for judging the calculated M1Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M1The self-capacitance variation difference preset by each self-capacitance sensor; if not, the left earmuff is judged to be positioned at the right ear, wherein N1And M1Are each an integer greater than or equal to 2, M1≤N1

And/or the presence of a gas in the gas,

according to N obtained in the right earmuff2The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated2Self of a self-capacitance sensorThe difference of the capacitance variation is used to judge the calculated M2Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M2The self-capacitance variation difference preset by each self-capacitance sensor; if not, the right earmuff is judged to be positioned at the left ear, wherein N2And M2Are each an integer greater than or equal to 2, M2≤N2

7. The left-right ear detection method according to any one of claims 1 to 6, wherein when it is determined that the left ear cup is located in the right ear, and/or that the right ear cup is located in the left ear, the method further comprises:

and informing the user of adjusting the wearing mode of the head-mounted equipment in a preset mode.

8. The left and right ear detection method according to claim 7, wherein the preset manner comprises:

and sending at least one of voice prompt information, vibration information and acousto-optic prompt information to inform a user of adjusting the wearing mode of the head-mounted equipment.

9. The left-right ear detection method according to any one of claims 1 to 6, wherein when it is determined that the left ear cup is located in the right ear, and/or that the right ear cup is located in the left ear, the method further comprises: the head-mounted equipment automatically switches the left and right sound channels to adapt to the current wearing mode of the user.

10. The left and right ear detection system is applied to a head-mounted device, wherein the head-mounted device comprises a left earmuff, a right earmuff and at least one self-capacitance sensor, the at least one self-capacitance sensor is arranged in the left earmuff and the right earmuff, and the system comprises:

the acquisition module is used for acquiring self-capacitance data of at least one self-capacitance sensor;

the judging module is used for judging whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition or not;

and the determining module is used for judging whether the left earmuff or the right earmuff is positioned at the left ear or the right ear according to the judgment result of the judging module.

Technical Field

The invention relates to the field of wearable equipment, in particular to a left ear and right ear detection method and system.

Background

Wearable equipment in this application mainly refers to intelligent head mounted device, including headphone, AR head mounted display etc.. Taking a headphone as an example, the headphone is a common earphone form, and as the name suggests, the headphone is worn on the head, is not inserted into the ear canal, and is a type of earphone different from an in-ear type earplug. In practical use, because the design of the headset is generally bilaterally symmetrical, the surface of the headset is marked with an "R" or an "L" to distinguish the left ear from the right ear, so that the headset is worn on the right position of the left ear and the right ear of a user.

However, even in this way, when the user wears the earphone, the wearing posture of the earphone is still prone to be wrong due to environmental influences or external factors, for example, when the user does not turn on the light at night, the user cannot identify the "R" or the "L" marked on the surface of the earphone, and if the wearing positions of the left ear and the right ear are wrong, the hearing effect of the user is affected, and poor experience is brought to the user; for another example, in an important meeting, a headset is required to be worn for translation, but if the left ear and the right ear are worn at wrong positions, it is inconvenient to remove the "R" or the "L" marked on the surface of the re-identified headset, and therefore the meeting progress of the user may be affected.

Therefore, how to accurately and automatically detect whether the left ear and the right ear of the headphone are worn correctly is a technical problem to be solved urgently at present.

Disclosure of Invention

Based on the technical problems in the prior art, the invention provides a left and right ear detection method and system, which are mainly applied to automatic detection of left and right ears of wearable equipment.

The method is mainly realized by the following technical scheme:

a left-right ear detection method applied to a head-mounted device, the head-mounted device comprising left and right ear cups and at least one self-capacitance sensor disposed within the left and right ear cups, the method comprising:

acquiring self-capacitance data of at least one self-capacitance sensor;

and judging whether the self-capacitance data of the at least one self-capacitance sensor meet a preset condition or not so as to judge whether the left earmuff or the right earmuff is positioned on the left ear or the right ear or not.

Preferably, the determining whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition includes:

judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the left earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the right earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the right earmuff is judged to be positioned at the left ear.

Preferably, the determining whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition includes:

judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff; if yes, the right earmuff is judged to be positioned at the left ear.

Preferably, the determining whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition includes:

calculating the ratio of the number of self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the left earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

calculating the ratio of the number of self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the right earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the right earmuff is judged to be positioned at the left ear.

Preferably, the determining whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition includes:

calculating the self-capacitance change average value of the left earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the left earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C1i={ΔC11,ΔC12,…,ΔC1nWherein i and n are natural numbers, i is more than or equal to 1, and n is more than or equal to 2;

the self-capacitance variation average value of the left earmuffCalculated according to the following formula:

wherein p is1iIs the weight, p, corresponding to the respective capacitive sensor in the left earmuff1i={p11,p12,…,p1n};

Judging the self-capacitance variation average value of the left earmuffWhether the average value is smaller than a preset average threshold value of the left ear or not; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

calculating the self-capacitance change average value of the right earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the right earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C2i={ΔC21,ΔC22,…,ΔC2jWherein i and j are natural numbers, i is more than or equal to 1, and j is more than or equal to 2;

the self-capacitance variation average value of the right earmuffCalculated according to the following formula:

wherein p is2iIs the weight, p, corresponding to the respective capacitive sensor in the right earmuff2i={p21,p22,…,p2j};

Judging the self-capacitance variation average value of the right earmuffWhether the average value is smaller than a preset average threshold value of the right ear or not; if yes, the right earmuff is judged to be positioned at the left ear.

Preferably, the determining whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition includes:

calculating the self-capacitance change average value of the left earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the left earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C1i={ΔC11,ΔC12,…,ΔC1nWherein i and n are natural numbers, i is more than or equal to 1, and n is more than or equal to 2;

the self-capacitance variation average value of the left earmuffCalculated according to the following formula:

wherein p is1iIs the weight, p, corresponding to the respective capacitive sensor in the left earmuff1i={p11,p12,…,p1n};

Judging the self-capacitance variation average value of the left earmuffWhether or not it is smaller than the left earSetting an average threshold value; if yes, the left earmuff is judged to be positioned at the right ear;

and/or the presence of a gas in the gas,

calculating the self-capacitance change average value of the right earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the right earmuff, and recording the self-capacitance change quantity of the self-capacitance sensors as delta C2i={ΔC21,ΔC22,…,ΔC2jWherein i and j are natural numbers, i is more than or equal to 1, and j is more than or equal to 2;

the self-capacitance variation average value of the right earmuffCalculated according to the following formula:

wherein p is2iIs the weight, p, corresponding to the respective capacitive sensor in the right earmuff2i={p21,p22,…,p2j};

Judging the self-capacitance variation average value of the right earmuffWhether the average value is smaller than a preset average threshold value of the right ear or not; if yes, the right earmuff is judged to be positioned at the left ear.

Preferably, when it is determined that the left earmuff is located in the right ear, and/or the right earmuff is located in the left ear, the method further comprises:

and informing the user of adjusting the wearing mode of the head-mounted equipment in a preset mode.

Preferably, the preset mode includes:

and sending at least one of voice prompt information, vibration information and acousto-optic prompt information to inform a user of adjusting the wearing mode of the head-mounted equipment.

Preferably, when it is determined that the left earmuff is located in the right ear, and/or the right earmuff is located in the left ear, the method further comprises: the head-mounted equipment automatically switches the left and right sound channels to adapt to the current wearing mode of the user.

A left and right ear detection system for use with a head-mounted device, the head-mounted device including left and right ear cups and at least one self-capacitance sensor disposed in the left and right ear cups, the system comprising:

the acquisition module is used for acquiring self-capacitance data of at least one self-capacitance sensor;

the judging module is used for judging whether the self-capacitance data of the at least one self-capacitance sensor meets a preset condition or not;

and the determining module is used for judging whether the left earmuff or the right earmuff is positioned at the left ear or the right ear according to the judgment result of the judging module.

The invention provides a left ear and right ear detection method and system applied to head-mounted equipment. The self-capacitance variation quantity or the self-capacitance variation quantity difference information of a plurality of sensors is utilized to judge according to the characteristic that the self-capacitance sensor is closer to a human body and the self-capacitance variation is larger, or the self-capacitance variation quantity average value of the sensor is calculated by utilizing the self-capacitance variation quantity of the sensor to judge, so that the left ear and the right ear of the head-mounted equipment can be automatically detected, and the accuracy and the efficiency of detection of the left ear and the right ear can be improved.

Drawings

Fig. 1 is a schematic flow chart of a left-right ear detection method according to an embodiment of the present invention;

FIG. 2 is a schematic view of various parts of human ears according to an embodiment of the present invention;

fig. 3 is a schematic diagram illustrating an application of a left-ear and right-ear detection method according to an embodiment of the present invention;

fig. 4 is a schematic diagram illustrating another application of a left-ear and right-ear detection method according to an embodiment of the present invention;

fig. 5 is a schematic diagram illustrating another application of a left-ear and right-ear detection method according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of a left and right ear detection system according to an embodiment of the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The left and right ear detection method provided by the embodiment of the invention is mainly applied to head-mounted equipment, the head-mounted equipment comprises a left ear shield, a right ear shield and at least one self-capacitance sensor, and the head-mounted equipment also comprises an MCU (micro control unit) for data processing and control, wherein the at least one self-capacitance sensor sends acquired self-capacitance data to the MCU so that the MCU can analyze the data and execute corresponding actions, for example, at least one of voice prompt information, vibration information and acousto-optic prompt information is sent out to inform a user to adjust the wearing mode of the head-mounted equipment, or the left and right sound channels of the head-mounted equipment are automatically controlled and switched to adapt to the current wearing mode of the user. In addition, it can be understood that, for different devices, the installation positions of the self-capacitance sensors may be different, which needs to be determined according to the structure of the device itself, and the installation positions do not affect the implementation of the technical scheme. Typically, for overall portability, the at least one self-capacitance sensor of the present invention is disposed within the left and right earmuffs of the headset.

Example one

As shown in fig. 1, a left and right ear detection method specifically includes the following steps:

s1, self-capacitance data of at least one self-capacitance sensor is acquired.

And S2, judging whether the self-capacitance data of the at least one self-capacitance sensor meet a preset condition.

S3, judging whether the left earmuff or the right earmuff is positioned at the left ear or the right ear according to the judgment result of the step S2.

It should be noted that a self-capacitance sensor is a sensor that converts a change in a measured quantity (e.g., a size, a pressure, etc.) into a change in capacitance. In fact, itself and/or the object to be measured acts as a variable capacitor. The closer the self-capacitance sensor is to the human body, the larger the self-capacitance change of the self-capacitance sensor is, namely, the self-capacitance change amount of the self-capacitance sensor changes along with the positive correlation with the proximity degree of the human body, and the closer the self-capacitance sensor is to the human body, the larger the self-capacitance change amount of the self-capacitance sensor is.

Typically, the left and right ear cups of a head-mounted device are in a circular, rectangular, oval, equiaxed symmetrical pattern, while the human ear is in an asymmetrical pattern. Therefore, this feature is used in conjunction with self-capacitance detection techniques to detect the left and right ears.

The position of laminating ear sets up at least one self-capacitance sensor in the left and right earmuff of head-mounted equipment, according to the characteristic of the self-capacitance data that self-capacitance sensor read, judges whether to satisfy the preset condition to whether the left ear muff or the right earmuff of judging current detection are located left ear or right ear, promptly, distinguish whether current detection's earmuff is located the exact position of wearing, thereby according to this testing result, carry out corresponding action. For example, when detecting that the left and right ear caps of the head-mounted device are located at the correct wearing positions, the MCU inside the device may control to send at least one of a voice prompt message, a vibration message, and an audio-visual prompt message to notify the user to adjust the current wearing mode of the head-mounted device in time, or control to automatically switch the left and right sound channels of the head-mounted device to adapt to the current wearing mode of the user. Whether the left ear and the right ear of the head-mounted equipment are correctly worn or not is automatically detected, and the problem that the use of a user is influenced due to the fact that the wearing error cannot be timely adjusted is solved.

In a preferred embodiment, step S2 includes:

judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the left earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the left earmuff is judged to be positioned at the right ear; and/or judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the right earmuff is smaller than a preset self-capacitance variation threshold value; if yes, the right earmuff is judged to be positioned at the left ear.

The specific implementation of the preset self-capacitance variation threshold may be: fig. 2 is a name diagram of each part of a human ear, and as shown in fig. 2, a self-capacitance sensor at a corresponding position of each part of a human ear is tested, for example, the self-capacitance sensor corresponding to the left earlobe position in the left earmuff is used for measuring a standard value of the self-capacitance variation of the self-capacitance sensor when the self-capacitance sensor is worn correctly, in order to avoid a measurement error caused by wearing the self-capacitance sensor incorrectly, the standard value is multiplied by a coefficient, an obtained result value can be used as a preset self-capacitance variation threshold, and the setting of the coefficient can be set according to an actual application scenario, which is not limited in the present invention, and can be, for example, 0.8 or 0.6. According to the above aspect, the preset self-capacitance variation threshold value at the position corresponding to each part of the ear of the human body can be set, and therefore it can be understood that the respective capacitance sensors provided in the left and right ear covers respectively correspond to the respective preset self-capacitance variation threshold values.

It should be noted that, the method for calculating the self-capacitance variation may be: detecting in real time the wearing event of the head-mounted device (it is understood that the detection of the wearing event can be achieved in various ways, for example, by an Infrared (IR) sensor), recording the self-capacitance of the self-capacitance sensor (denoted as sensor 1) corresponding to the position of the earlobe in the left earmuff, denoted as Cd1Let the self-capacitance of the sensor 1 when the head-mounted device is not worn be respectively denoted as C01Calculating the self-capacitance variation of the sensor 1 as Cd1-C01The closer the contact distance between the sensor and the human body, the larger the self-capacitance variation, when the left earmuff is worn to the left ear, the sensor 1 correspondingly covers the left earlobe, and the self-capacitance variation of the sensor 1 is the largest at the moment, namely, the standard value of the self-capacitance variation of the left earlobe self-capacitance sensor.

As shown in fig. 3, two self-capacitance sensors are respectively arranged at the position of the antihelix and the position of the left earlobe, close to the crus of the left earlobe, in the left earmuff, and are respectively recorded as a sensor 2 and a sensor 1, and the MCU acquires the self-capacitance variation according to the readings of the two sensors. It can be understood that, if the left earmuff is worn on the left ear, the sensor 1 is covering the left earlobe, and the sensor 2 is covering the antihelix near the crus of the left ear, at this time, the self-capacitance variation of the sensor 1 and the sensor 2 is large; if the left earmuff is worn and positioned on the right ear, the position corresponding to the sensor 1 cannot cover the ear part on the right ear, the self-capacitance variation of the sensor 1 is small, the sensor 2 is covering the outer side of the right tragus, but the antihelix is more prominent relative to the tragus, so that the self-capacitance variation of the sensor 2 covering the outer side of the right tragus is relatively small. Therefore, when MCU according to the reading of two sensors acquires its self-capacitance variation, judges whether the self-capacitance variation of each sensor is less than the preset self-capacitance variation threshold that this sensor corresponds, if the self-capacitance variation of sensor 1 is less than the preset self-capacitance variation threshold that this sensor 1 corresponds, then can judge that this left earmuff does not wear to the correct position department, promptly, this left earmuff is located the right ear.

Whether the right earmuff is positioned in the left ear is detected, and the description is omitted as in the embodiment. It is understood that the left and right ear detection of the present invention can detect only the left ear cup alone, or only the right ear cup alone, or both the left and right ear cups at the left and right ears.

In a preferred embodiment, step S2 includes:

judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff; if yes, the left earmuff is judged to be positioned at the right ear; and/or judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff; if yes, the right earmuff is judged to be positioned at the left ear.

On the basis of the above embodiments, in order to avoid a measurement error caused by wearing an abnormal ear muff, for example, when a user wears a head-mounted device, the left ear muff is located in the left ear, and the right ear muff is located in the right ear, but due to wearing the abnormal ear, there is a phenomenon of wearing a wrong ear, and therefore, there may be a case where a self-capacitance variation of a certain sensor is smaller than a corresponding preset self-capacitance variation threshold, so as to determine that the left ear muff is located in the right ear, and/or that the right ear muff is located in the left ear, resulting in an extremely poor experience and a measurement error for the user. Therefore, whether the number of the self-capacitance sensors with the self-capacitance variation smaller than the corresponding preset self-capacitance variation threshold reaches the preset number threshold is judged according to the self-capacitance variation of the self-capacitance sensors acquired in the left earmuff, and if so, the left earmuff is judged to be positioned in the right ear; and/or judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a corresponding preset self-capacitance variation threshold reaches a preset number threshold or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff; if yes, the right earmuff is judged to be positioned at the left ear. The preset number threshold value can be obtained according to an experimental test, for example, a sensor is arranged on each part of the ears of the human body, when the left earmuff is tested to be positioned on the right ear, the minimum number of the self-capacitance sensors with the self-capacitance variation smaller than the corresponding preset self-capacitance variation threshold value is calculated, and the minimum number is used as the preset number threshold value. It can be understood that at least one sensor is arranged for each part of the human ear, a preset number threshold value can be obtained through testing, and the setting of a specific value is not limited and can be determined according to an actual application scene.

In a preferred embodiment, step S2 includes:

calculating the ratio of the number of self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the left earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the left earmuff is judged to be positioned at the right ear; and/or calculating the ratio of the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the right earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the right earmuff is judged to be positioned at the left ear.

On the basis of the above embodiments, in order to avoid a measurement error caused by wearing an abnormal ear muff, for example, when a user wears a head-mounted device, the left ear muff is located in the left ear, and the right ear muff is located in the right ear, but due to wearing the abnormal ear, there is a phenomenon of wearing a wrong ear, and therefore, there may be a case where a self-capacitance variation of a certain sensor is smaller than a corresponding preset self-capacitance variation threshold, so as to determine that the left ear muff is located in the right ear, and/or that the right ear muff is located in the left ear, resulting in an extremely poor experience and a measurement error for the user.

However, according to the above embodiment, at least one sensor is provided for each part of the human ear, and when the left ear cup is tested to be positioned in the right ear, the minimum number of self-capacitance sensors whose self-capacitance variation is smaller than the corresponding preset self-capacitance variation threshold is set as the preset number threshold. Therefore, the number of the self-capacitance sensors with the preset number threshold value and the self-capacitance variation smaller than the preset self-capacitance variation threshold value is related to the total number of the sensors arranged at each part of the human ear, and is in a positive correlation relationship, so that the detection error is increased due to the influence of the total number of the sensors, and extremely poor experience is brought to a user.

Therefore, according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff, calculating the ratio of the number of the self-capacitance sensors with the self-capacitance variation smaller than the preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the left earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the left earmuff is judged to be positioned at the right ear; and/or calculating the ratio of the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold to the total number of the self-capacitance sensors in the right earmuff according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the right earmuff, and judging whether the ratio reaches the preset ratio threshold; if yes, the right earmuff is judged to be positioned at the left ear. The preset duty ratio threshold may be obtained according to an experimental test, for example, at least one sensor is disposed for each part of a human ear, when the left earmuff is tested to be located in the right ear, the minimum number of the self-capacitance sensors whose self-capacitance variation is smaller than the corresponding preset self-capacitance variation threshold is calculated, and the duty ratio between the minimum number and the total amount of the self-capacitance sensors in the left earmuff is used as the preset duty ratio threshold. It can be understood that one or more sensors are arranged for each part of the human ear, and the preset ratio threshold can be obtained through testing, and the setting of the specific ratio is not limited and can be determined according to the actual application scene.

In a preferred embodiment, step S2 includes:

recording self-capacitance variation of a plurality of self-capacitance sensors acquired in the left earmuff as delta C1i={ΔC11,ΔC12,…,ΔC1nWherein i and n are natural numbers, i is more than or equal to 1, and n is more than or equal to 2; calculating the self-capacitance change average value of the left earmuff according to the self-capacitance change quantity of a plurality of self-capacitance sensors acquired in the left earmuff

Wherein p is1iIs the weight, p, corresponding to the respective capacitive sensor in the left earmuff1i={p11,p12,…,p1n};

Judging the self-capacitance variation average value of the left earmuffWhether the average value is smaller than a preset average threshold value of the left ear or not; if yes, the left earmuff is judged to be positioned at the right ear; wherein the preset average threshold value of the left ear is obtained according to the self-capacitance variation delta C of the self-capacitance sensor when the left ear cover is positioned on the left ear1iAnd its corresponding weight p1iThus obtaining the product. The weight value corresponding to each capacitance sensor in the left earmuff is set according to the distribution and the characteristics of each part of the human ear, for example, the left ear antihelix is more prominent than the left tragus, and the self-electricity generated at the position of the left ear antihelix can be setAnd the weight corresponding to the capacitance sensor is higher than the weight corresponding to the self-capacitance sensor arranged at the left tragus.

And/or the presence of a gas in the gas,

the self-capacitance variation delta C of a plurality of self-capacitance sensors acquired in the right earmuff2i={ΔC21,ΔC22,…,ΔC2jWherein i and j are natural numbers, i is more than or equal to 1, and j is more than or equal to 2; calculating the self-capacitance change average value of the right earmuff according to the self-capacitance change quantity of the plurality of self-capacitance sensors acquired in the right earmuff;

the self-capacitance variation average value of the right earmuffCalculated according to the following formula:

wherein p is2iIs the weight, p, corresponding to the respective capacitive sensor in the right earmuff2i={p21,p22,…,p2j};

Judging the self-capacitance variation average value of the right earmuffWhether the average value is smaller than a preset average threshold value of the right ear or not; if yes, the right earmuff is judged to be positioned at the left ear. Wherein the preset average threshold value of the right ear is determined according to the self-capacitance variation delta C of the self-capacitance sensor when the right earmuff is positioned at the right ear1iAnd its corresponding weight p1iThus obtaining the product. The weight that each capacitive sensor corresponds in the ear muff of the right side sets for according to the distribution and the characteristic of each position of human ear, for example, the right ear lobe is more outstanding and area of contact is bigger for right ear antitragus, can set for the weight that the self-capacitance sensor that right ear lobe department set up corresponds is higher than the weight that the self-capacitance sensor that right ear antitragus department set up corresponds.

According to the embodiment of the invention, the corresponding self-capacitance change average value is calculated through the self-capacitance change quantities of the plurality of self-capacitance sensors acquired in the left earmuff and the right earmuff respectively, the self-capacitance change average value is compared with the preset left ear and right ear preset average threshold values, if the self-capacitance change average value is smaller than the preset average threshold value, the left earmuff is judged to be positioned in the right ear, and/or the right earmuff is judged to be positioned in the left ear, and the weight values of the corresponding sensors are set for different parts of the ears of a human body to calculate, so that the detection accuracy and the detection efficiency of the left ear and the right ear are improved.

In a preferred embodiment, step S2 includes:

according to N obtained in the left earmuff1The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated1The self-capacitance variation difference of the self-capacitance sensor is used for judging the calculated M1Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M1The self-capacitance variation difference preset by each self-capacitance sensor; if not, the left earmuff is judged to be positioned at the right ear, wherein N1And M1Are each an integer greater than or equal to 2, M1≤N1

And/or the presence of a gas in the gas,

according to N obtained in the right earmuff2The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated2The self-capacitance variation difference of the self-capacitance sensor is used for judging the calculated M2Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M2The self-capacitance variation difference preset by each self-capacitance sensor; if not, the right earmuff is judged to be positioned at the left ear, wherein N2And M2Are each an integer greater than or equal to 2, M2≤N2

It should be noted that, in the embodiment of the present invention, the left and right ears are detected according to the differential capacitance information of the plurality of self-capacitance sensors, for example, as shown in fig. 4, a sensor 1 is disposed in the left earmuff corresponding to the left earlobe, and a sensor 2 is disposed in the left earlobe corresponding to the left earlobe close to the left earlobe, because the left earlobe is more protruded than the left earlobe close to the left earlobe, and the contact area is larger, when the left earmuff is located in the left ear, the self-capacitance variation when the sensor 1 covers the left earlobe is larger than the self-capacitance variation when the sensor 2 covers the left earlobe close to the left earlobe, that is, at this time, the self-capacitance variation difference between the sensor 1 and the sensor 2 is positive, and the difference is smaller; however, when the left earmuff is located in the right ear, the sensor 1 covers the blank on the right earlobe side, and then the self-capacitance variation of the sensor 1 at this time is smaller than the self-capacitance variation of the sensor 2 when covering the right earlobe, that is, the self-capacitance variation difference of the sensor 1 and the sensor 2 at this time is negative, and the difference is large, so that the self-capacitance variation difference condition preset by the sensor 1 and the sensor 2 is not met, and then it is determined that the left earmuff is located in the right ear.

For another example, as shown in fig. 5, a sensor 1 is disposed in the left ear cup corresponding to the left earlobe, a sensor 2 is disposed in the left ear wheel corresponding to the left earlobe, and a sensor 3 is disposed in the left ear lobe, because the left earlobe is more protruded than the left ear wheel close to the left earlobe, and the contact area is larger, when the left ear cup is located in the left ear, the self-capacitance variation when the sensor 1 covers the left earlobe is larger than the self-capacitance variation when the sensor 2 covers the left ear wheel close to the left earlobe, that is, the self-capacitance variation difference between the sensor 1 and the sensor 2 is positive and the difference is smaller, and further, because the left ear wheel close to the left earlobe is more protruded than the left ear screen, when the left ear cup is located in the left ear, the self-capacitance variation when the sensor 2 covers the left ear wheel close to the left earlobe is larger than the self-capacitance variation when the sensor 3 covers the left ear screen, that is, the relationship between the amount of change in self-capacitance of the sensor 1, the sensor 2, and the sensor 3 is: the self-capacitance variation of the sensor 1 is larger than the self-capacitance variation of the sensor 2 and larger than the self-capacitance variation of the sensor 3. However, when the left earmuff is located in the right ear, the sensor 1 covers the blank on the right earlobe side, and then the self-capacitance variation of the sensor 1 at this time is smaller than the self-capacitance variation of the sensor 2 when covering the right earlobe, that is, the self-capacitance variation difference of the sensor 1 and the sensor 2 at this time is negative, and the difference is large, and the sensor 3 covers the antihelix of the right ear close to the crus of the helix, and the self-capacitance variation thereof is smaller than the sensor 2, but is larger than the self-capacitance variation of the sensor 1 covering the blank on the right earlobe side, that is, at this time, the relationship of the self-capacitance variations of the sensor 1, the sensor 2 and the sensor 3 is: sensor 2 self-capacitance variation > sensor 3 self-capacitance variation > sensor 1 self-capacitance variation, consequently, can judge from this, does not conform to the self-capacitance variation difference condition that sensor 1, sensor 2 and sensor 3 predetermine this moment, then judges that this left earmuff is located the right ear. The scheme of the embodiment can inhibit the influence of common-mode interference and improve the accuracy of left and right ear detection.

In summary, it can be determined according to the self-capacitance variation difference condition of any number of self-capacitance sensors in the left and right earmuffs, whether the difference condition meets the preset difference condition is not limited to the 2 or 3 sensors described in the above example, and it can be specifically set according to the actual application scenario, but it can be understood that the greater the number of self-capacitance sensors selected as the determination difference condition is, the more sensitive the left and right ear detection is, but the higher the detection sensitivity is, the more easily the false detection occurs, therefore, the above embodiments can be combined arbitrarily, for example, in the case of determining by the self-capacitance variation difference, one or more of the determination conditions of the number of sensors whose self-capacitance variation is smaller than the corresponding preset self-capacitance variation threshold, the ratio of the number of sensors to the total amount of sensors, or the average value of self-capacitance variation are combined, and carrying out comprehensive judgment, and finally determining whether the left earmuff and the right earmuff are positioned at the correct positions according to the judgment result.

In a preferred embodiment, after step S3, the method further includes:

and S4, informing the user of adjusting the wearing mode of the head-mounted device in a preset mode.

Specifically, the sound prompt information may be sent by the MCU through control, such as "please adjust the wearing posture of the headset", "please adjust the positions of the left and right ears in time", etc., and may also send vibration information to remind the user to adjust the wearing mode of the head-mounted device, and may also send sound and light prompt information, such as a specific prompt sound "ring bell" or "music of a song", or a specific flashing prompt information.

In a preferred embodiment, after step S3, the method further includes:

the left and right sound channels of the head-mounted device are automatically switched to adapt to the current wearing mode of the user, so that the user can conveniently adapt to the current wearing mode without taking off the head-mounted device, and meanwhile, the use experience of the user can be improved.

Example two

As shown in fig. 6, a left and right ear detection system includes:

an obtaining module 100, configured to obtain self-capacitance data of at least one self-capacitance sensor;

the judging module 200 is configured to judge whether self-capacitance data of the at least one self-capacitance sensor meets a preset condition;

a determining module 300, configured to determine whether the left earmuff or the right earmuff is located in the left ear or the right ear according to the determination result of the determining module.

In a preferred embodiment, the determining module 200 specifically includes:

the first judgment unit is used for judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the left earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the left earmuff is judged to be positioned at the right ear.

The second judgment unit is used for judging whether the self-capacitance variation of at least one self-capacitance sensor acquired in the right earmuff is smaller than a preset self-capacitance variation threshold value or not; if yes, the right earmuff is judged to be positioned at the left ear.

In a preferred embodiment, the determining module 200 specifically includes:

the third judgment unit is used for judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold value reaches a preset number threshold value or not according to the self-capacitance variation of the plurality of self-capacitance sensors acquired in the left earmuff; if yes, the left earmuff is judged to be positioned at the right ear.

The fourth judging unit is used for judging whether the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold value reaches a preset number threshold value or not according to the self-capacitance variation of the self-capacitance sensors acquired in the right earmuff; if yes, the right earmuff is judged to be positioned at the left ear.

In a preferred embodiment, the determining module 200 specifically includes:

the first calculating unit is used for calculating the ratio of the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold value to the total number of the self-capacitance sensors in the left earmuff according to the self-capacitance variations of the plurality of self-capacitance sensors acquired in the left earmuff.

A fifth judging unit for judging whether the ratio reaches a preset ratio threshold; if yes, the left earmuff is judged to be positioned at the right ear.

And the second calculation unit is used for calculating the ratio of the number of the self-capacitance sensors with the self-capacitance variation smaller than a preset self-capacitance variation threshold value to the total number of the self-capacitance sensors in the right earmuff according to the self-capacitance variations of the self-capacitance sensors acquired in the right earmuff.

A sixth judging unit that judges whether the ratio reaches a preset ratio threshold; if yes, the right earmuff is judged to be positioned at the left ear.

In a preferred embodiment, the determining module 200 specifically includes:

the third calculation unit calculates the self-capacitance change average value of the left earmuff according to the self-capacitance change quantities of the self-capacitance sensors acquired in the left earmuff, and the self-capacitance change quantities of the self-capacitance sensors are recorded as delta C1i={ΔC11,ΔC12,…,ΔC1nWherein i and n are natural numbers, i is more than or equal to 1, and n is more than or equal to 2;

the self-capacitance variation average value of the left earmuffCalculated according to the following formula:

wherein p is1iIs the weight, p, corresponding to the respective capacitive sensor in the left earmuff1i={p11,p12,…,p1n}。

A seventh judging unit for judging the average value of the self-capacitance changes of the left earmuffWhether the average value is smaller than a preset average threshold value of the left ear or not; if yes, the left earmuff is judged to be positioned at the right ear.

The fourth calculation unit is used for calculating the self-capacitance change average value of the right earmuff according to the self-capacitance change quantities of the self-capacitance sensors acquired in the right earmuff, and the self-capacitance change quantities of the self-capacitance sensors are recorded as delta C2i={ΔC21,ΔC22,…,ΔC2jWherein i and j are natural numbers, i is more than or equal to 1, and j is more than or equal to 2;

the self-capacitance variation average value of the right earmuffCalculated according to the following formula:

wherein p is2iIs the weight, p, corresponding to the respective capacitive sensor in the right earmuff2i={p21,p22,…,p2j}。

An eighth judging unit for judging the average value of the self-capacitance change of the right earmuffWhether the average value is smaller than a preset average threshold value of the right ear or not; if yes, the right earmuff is judged to be positioned at the left ear.

In a preferred embodiment, the determining module 200 specifically includes:

a fifth calculation unit for calculating N obtained from the left ear cup1The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated1Self-capacitance sensingThe self-capacitance variation difference of the device.

A ninth judging unit for judging the calculated M1Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M1The self-capacitance variation difference preset by each self-capacitance sensor; if not, the left earmuff is judged to be positioned at the right ear, wherein N1And M1Are each an integer greater than or equal to 2, M1≤N1

A sixth calculation unit for calculating N from the right ear cup2The self-capacitance variation of each self-capacitance sensor is calculated, and any M in the self-capacitance variation is calculated2The self-capacitance variation difference of each self-capacitance sensor.

A tenth judging unit for judging the calculated M2Whether the self-capacitance variation difference of the self-capacitance sensors conforms to the M2The self-capacitance variation difference preset by each self-capacitance sensor; if not, the right earmuff is judged to be positioned at the left ear, wherein N2And M2Are each an integer greater than or equal to 2, M2≤N2

In a preferred embodiment, the system further comprises:

the notification module 400 notifies a user of adjusting the wearing mode of the head-mounted device in a preset mode.

In a preferred embodiment, the notification module 400 is specifically configured to emit at least one of a voice prompt message, a vibration message, and an audible and visual prompt message to notify the user to adjust the wearing manner of the head-mounted device.

In a preferred embodiment, the system further comprises:

and the sound channel switching module 500 is used for automatically switching the left and right sound channels to adapt to the current wearing mode of the user when the left earmuff is judged to be positioned at the right ear and/or the right earmuff is judged to be positioned at the left ear.

The above has described in detail the embodiments of the left and right ear detection method applied to the head-mounted device, and since the system portion in this embodiment corresponds to the embodiments of the method portion, reference may be made to the description of the embodiments of the left and right ear detection method in the embodiments of the left and right ear detection system of the present invention, and details are not repeated here.

The left ear and right ear detection system applied to the head-mounted device provided by the embodiment judges whether the preset condition is met or not by acquiring self-capacitance data of at least one self-capacitance sensor in left and right earmuffs of the head-mounted device, and determines whether the current earmuff is positioned in the left ear or the right ear or not according to the judgment result. The self-capacitance variation quantity or the self-capacitance variation difference information of a plurality of sensors can be utilized to judge according to the characteristic that the self-capacitance sensor is closer to a human body and the self-capacitance variation is larger, or the self-capacitance variation quantity average value of the sensor is calculated by utilizing the self-capacitance variation quantity of the sensor to judge, so that the accuracy and the efficiency of left and right ear detection are improved.

The foregoing detailed description of the embodiments of the present invention has been presented for the purpose of illustrating the principles and implementations of the present invention, and the description of the embodiments is only provided to assist understanding of the core concepts of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种A2B数字麦克风测试系统及测试方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!