A Bluetooth headset capable of recognizing posture and its preparation and control method

By using acceleration sensors, angular velocity sensors and light sensors in Bluetooth headphones, combined with attitude recognition technology, the problems of inconvenient control and inaccurate information interaction of existing Bluetooth headphones are solved, achieving higher operating accuracy and flexibility in circuit installation.

CN112291669BInactive Publication Date: 2024-11-29XIAN GEWU LIANGZHI INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011289362.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-17
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing Bluetooth headsets are inconvenient to operate by pressing buttons, have high operating error rates and inaccurate information interaction, so it is impossible to install larger control microcontrollers or multiple circuit boards.

Method used

The acceleration sensor and angular velocity sensor are combined with the control unit, and the headphone movement direction is judged through attitude recognition technology, control commands are generated and sent to the communication terminal, and combined with the optical sensor to detect the headphones' in-ear state, the operation mode and circuit installation structure are improved.

Benefits of technology

It reduces the user's misoperation rate, improves the accuracy of control, and replaces traditional button operation through posture recognition technology, adapting to the installation requirements of miniaturized headphone cases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112291669B_ABST
    Figure CN112291669B_ABST
Patent Text Reader

Abstract

The invention relates to the field of electronic information technology, and discloses a Bluetooth headset capable of recognizing postures and a control method thereof; a sensing unit including an acceleration sensor and an angular velocity sensor is arranged in the Bluetooth headset; a control unit connected to the sensing unit through an FPC soft board is connected to a storage unit of the control unit; the acceleration sensor and the angular velocity sensor collect acceleration and angular velocity data of the headset when the headset moves with the head; the control unit receives and processes the acceleration and angular velocity data, determines the movement direction of the headset according to the processed data, counts when the data is greater than or equal to a counting threshold, and determines the motion posture of the headset when the count number is greater than a triggering threshold; when the headset stops moving, it is determined as a single posture; when the headset continues to move, the next posture is detected until the headset stops moving, and a plurality of single postures are integrated to obtain a complex posture; according to the single posture or the complex posture, a corresponding control instruction is determined in a posture number-instruction mapping table and sent to a communication terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic information technology, and in particular to a gesture-recognizable Bluetooth headset and a preparation and control method thereof. Background Art

[0002] Compared with ordinary headphones, Bluetooth headphones transmit audio and control signals between devices through wireless Bluetooth, without the need for ordinary signal lines, greatly increasing portability.

[0003] The neck of the existing Bluetooth headset is provided with a button and a charging port, and the control microcontroller circuit board is loaded from the bottom to the top to ensure that the circuit board and the charging port are aligned; however, when the major axis of the inner diameter of the earphone shell is ≤5.5mm and the minor axis is ≤4.5mm, it will make it impossible to install a control microcontroller with a larger package or a circuit board with more units.

[0004] In addition, existing Bluetooth headsets are all controlled by buttons. This operation method requires the user to press or touch the buttons of the headset by hand to achieve adjustment and control. Moreover, if the buttons are not pressed properly, the communication terminal cannot be controlled, which is inconvenient to use. Summary of the invention

[0005] The present invention provides a gesture-recognizable Bluetooth headset and a control method thereof, which solve the problems of inconvenient operation and inaccurate information interaction of controlling the Bluetooth headset by keys.

[0006] The present invention is achieved through the following scheme:

[0007] A gesture-recognizable Bluetooth headset, comprising a speaker encapsulated on the top of a headset shell through a top cover and a charging port installed on the bottom of the headset shell through a bottom cover; the headset shell is also provided with:

[0008] The sensing unit includes an acceleration sensor and an angular velocity sensor, which are used to collect acceleration and angular velocity data of the headset when the head moves, and send the data to the control unit;

[0009] The control unit is connected to the sensor unit through an FPC soft board, and is used to receive and process acceleration and angular velocity data, and determine the current direction of movement based on the processed data; when the data is greater than or equal to the threshold, count; when the count number is greater than the trigger threshold, determine the single posture of the headset movement; when the headset stops moving, it is judged as a single posture; when the headset continues to move, continue to determine the next posture until the headset stops moving, and fuse multiple postures to determine a complex posture; determine the corresponding control instruction in the posture number-instruction mapping table according to the single posture or complex posture, and send the control instruction to the communication terminal;

[0010] The storage unit is connected to the control unit through an FPC soft board, stores processing and analysis method data, and accepts the call of the control unit;

[0011] A Bluetooth module is connected to the control unit and is connected to the communication terminal via Bluetooth;

[0012] The power supply unit has one end connected to the charging port to receive power, and the other end connected to the control unit to supply power to it.

[0013] Furthermore, the sensor unit is arranged above the charging interface; the control unit is arranged at the curved part of the earphone shell; the Bluetooth module and the power supply unit are connected to the control unit; and the storage unit is arranged at the speaker part;

[0014] The sensing unit encapsulates an acceleration sensor and an angular velocity sensor through a gyroscope; the storage unit includes a memory; the Bluetooth module is an antenna; and the power supply unit is a power supply battery.

[0015] Furthermore, the sensing unit also includes a plurality of light sensors respectively arranged on the storage unit, the control unit and the sensing unit, and a photosensitive hole is arranged at the earphone shell where each light sensor is arranged; the light sensor collects the distance between the earphone and the ear through the photosensitive hole and determines whether the earphone is inserted into the ear. Once inserted into the ear, it causes an interruption and sends a signal to the control unit.

[0016] A method for preparing a Bluetooth headset capable of recognizing gestures comprises the following steps:

[0017] A1. Open the top and bottom covers of the headset;

[0018] A2. Slowly insert the charging port, sensor unit, control unit, Bluetooth module, storage unit, power supply unit, light sensor, and speaker from the upper opening of the earphone shell in sequence, so that the charging port is fixed at the lower opening of the earphone shell. Adjust the angle to ensure that the positions of the light sensors and the photosensitive holes are aligned, and ensure that the speaker is fixed at the upper opening of the earphone.

[0019] A3.Install the bottom cover and top cover.

[0020] A method for controlling a gesture-recognizable Bluetooth headset comprises the following steps:

[0021] B1. Initialize the sensor, set the measurement range and accuracy of the acceleration sensor and angular velocity sensor; and set the counting threshold, trigger threshold and attitude number-command mapping table including the acceleration threshold and angular velocity threshold on the control unit;

[0022] B2. Detect a single gesture when the headset moves with the head;

[0023] B3. After a single posture detection is completed, detect whether the headset continues to move;

[0024] If the movement stops, go to step B4;

[0025] If the movement continues, return to step B2 and continue to detect the next posture;

[0026] B4. If the headphone stops after detecting a single posture, it is determined that the headphone movement posture is a single posture;

[0027] If the movement continues after detecting a single gesture, when the headset stops, multiple single gestures are fused to obtain a complex gesture;

[0028] B5. Determine the control instruction corresponding to a single posture or complex posture according to the posture number-instruction mapping table, and send the control instruction to the communication terminal.

[0029] In the control method of the Bluetooth headset capable of recognizing gestures, in step B2, the steps of detecting a single gesture are as follows:

[0030] S1. When the headset moves with the head, the acceleration sensor and the angular velocity sensor collect the raw acceleration data and the raw angular velocity data of the headset respectively, and transmit them to the control unit;

[0031] S2. The control unit receives the acceleration raw data and the angular velocity raw data, and processes the acceleration data and the angular velocity data; respectively compares the acceleration data, the angular velocity data with the acceleration threshold and the angular velocity threshold to determine whether to count or clear the data;

[0032] After the count is determined, the count is increased by 1 and the process goes to S3;

[0033] After confirming to clear the data, clear the current acceleration data and angular velocity data, and return to step S1;

[0034] S3. The control unit compares the current count number with the trigger threshold value to determine whether to trigger or clear the specified data;

[0035] Determine the trigger instruction and proceed to step S4;

[0036] After confirming to clear the data, clear the current acceleration data and angular velocity data, and return to step S1;

[0037] S4. After determining the head movement posture according to the current acceleration data and angular velocity data, the control unit clears the current acceleration data and angular velocity data.

[0038] Furthermore, in step S1, the collected acceleration raw data and angular velocity raw data are 16-bit binary complement data or quaternion data.

[0039] Furthermore, when the collected acceleration raw data and angular velocity raw data are 16-bit binary complement data, in step S2, the formula for data processing is as follows:

[0040] The conversion formula of the original acceleration data is:

[0041] Among them, a m for a x , a y or a z ACC_RATIO is the acceleration ratio set when initializing the acceleration sensor; ACC_z is the component of the acceleration raw data read along the x-axis, y-axis or z-axis; a x , a y , a z They are the components of the acceleration along the x-axis, y-axis, and z-axis after processing; δ is the set accuracy constant;

[0042] The conversion formula of the raw angular velocity data is:

[0043] Among them, g m g x , g y or z ; GYR_RATIO is the angular velocity ratio set when initializing the angular velocity sensor; GYR_z is the component of the read angular velocity raw data along the x-axis, y-axis or z-axis; g x , g y , g z They are the components of the angular velocity along the x-axis, y-axis, and z-axis after processing; δ is the set precision constant.

[0044] Furthermore, when the collected acceleration raw data and angular velocity raw data are quaternion data, in step S2, the formula for data processing is as follows:

[0045] Convert the quaternion to floating point numbers, and set the four floating point numbers obtained to be q0, q1, q2, q3;

[0046] Get Euler angles from floating point numbers:

[0047] pitch=arcsin(2×(q0×q2-q1×q3))×57.3;

[0048] roll=arctan2(2×(q0×q1+q2×q3),1-2×(q1 2 +q2 2 ))×57.3;

[0049] yaw=arctan2(2×(q0×q3+q1×q2),1-2×(q22 +q3 2 ))×57.3;

[0050] Among them, pitch is the pitch angle, roll is the roll angle, yaw is the heading angle, and the unit is degree "°".

[0051] Furthermore, in step S2, the condition for determining whether to count or clear the data is: when the acceleration data ≥ the acceleration threshold, and the angular velocity data ≥ the angular velocity threshold, count; otherwise, clear the data;

[0052] In step S3, the conditions for triggering the designation or clearing data are: when the count number ≥ the trigger threshold, the trigger instruction is determined; when the count number < the trigger threshold, the data is determined to be cleared.

[0053] The present invention has the following advantages:

[0054] 1). The acceleration sensor and angular velocity sensor collect acceleration and angular velocity data when the headset moves; the control unit receives and processes the data, and determines the current direction of movement based on the processed data, compares the processed data with the set acceleration threshold and angular velocity threshold, counts when the data is greater than or equal to the threshold, and compares the counted number with the trigger threshold, and triggers the instruction when the counted number is greater than the trigger threshold to determine the single posture of the headset movement; outputs a single posture when the headset stops moving, and continues to judge the next posture when the headset continues to move until the headset stops moving, and multiple single postures are integrated to obtain a complex posture; determines the control instruction corresponding to a single posture or a complex posture according to the posture number-instruction mapping table; and sends the control instruction to the communication terminal; changes the traditional button-type adjustment, and because of the use of the two-threshold method, reduces the user's misoperation rate and improves the accuracy of control;

[0055] 2) Slowly insert the charging port, sensor unit, control unit, Bluetooth module, storage unit, power supply unit, light sensor, and speaker from the upper opening of the earphone shell. Since the control unit, sensor unit, and storage unit are connected by FPC soft boards, each unit will bend with the hollow shell during installation without affecting the circuit board, which can meet the installation requirements;

[0056] 3). A light sensor is provided to detect the distance between the earphone and the head, so as to ensure that the earphone is placed in the ear, and indirectly ensure the detection accuracy of the acceleration sensor and angular velocity sensor for the acceleration and angular velocity of the earphone. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is a schematic diagram of the internal structure of a Bluetooth headset;

[0058] Figure 2It is the layout diagram of the front side of each unit circuit board;

[0059] Figure 3 It is the layout diagram of the reverse side of each unit circuit board;

[0060] Figure 4 This is the circuit schematic diagram of the Bluetooth headset;

[0061] Figure 5 This is the circuit diagram of the Bluetooth headset;

[0062] Figure 6 This is a schematic diagram of the installation direction of the Bluetooth headset;

[0063] Figure 7 is a flow chart of a method for controlling a Bluetooth headset;

[0064] Figure 8 This is a flow chart for detecting a single posture;

[0065] Fig. 9 is the coordinate diagram of the gyroscope;

[0066] In the figure: 1-top cover, 2-speaker, 3-storage unit, 4-control unit, 5-sensor unit, 6-charging port, 7-bottom cover, 8-Bluetooth module, 9-power supply unit, U2-main control chip, U4-first light sensor chip, U5-second light sensor chip, U6-third light sensor chip, U7-gyroscope chip. DETAILED DESCRIPTION

[0067] The present invention is described in detail below in conjunction with specific implementation modes.

[0068] Example 1

[0069] A Bluetooth headset capable of recognizing gestures, such as Figure 1 As shown, the earphone shell includes a speaker 2 encapsulated on the top of the earphone shell through a top cover 1 and a charging port 6 installed on the bottom of the earphone shell through a bottom cover 7; the earphone shell is also provided with:

[0070] The sensing unit 5 is encapsulated with an acceleration sensor and an angular velocity sensor through a gyroscope, and is used to collect acceleration and angular velocity data of the earphone when the head moves; it also includes a plurality of light sensors respectively arranged on the storage unit 3, the control unit 4 and the sensing unit 5, and a photosensitive hole is arranged at the earphone shell where each light sensor is arranged; the light sensor collects the distance between the earphone and the ear through the photosensitive hole and determines whether the earphone is inserted into the ear, causing an interruption and sending a signal to the control unit;

[0071] The control unit 4 includes a control single chip microcomputer, which is connected to the sensor unit 5 through an FPC soft board, and is used to receive and process acceleration and angular velocity data, and determine the current movement direction of the headset according to the processed data; when the data is greater than or equal to the threshold, count; when the counted number is greater than the trigger threshold, determine the single posture of the headset movement; when the headset stops moving, it is judged as a single posture; when the headset continues to move, continue to determine the next posture until the headset stops moving, and fuse multiple postures to determine a complex posture; determine the control instruction corresponding to the single posture or complex posture according to the posture number-instruction mapping table, and send the control instruction to the communication terminal;

[0072] The storage unit 3 includes a memory, which is connected to the control unit 4 through an FPC soft board, stores processing and analysis method data, and accepts the call of the control unit 4;

[0073] A Bluetooth module 8, connected to the control unit 4, and connected to the communication terminal via Bluetooth;

[0074] The power supply unit 9 has one end connected to the charging interface 6 to receive power, and the other end connected to the control unit 4 to supply power thereto.

[0075] like Figure 2 , Figure 3 As shown, the chip used by the gyroscope is U7, which is arranged on the reverse side of the sensor unit 5; three optical sensors are arranged, and the chips used are U4, U5, and U6, which are infrared sensors, which are arranged on the front side of the sensor unit 5, the reverse side of the storage unit 3, and the reverse side of the control unit 4 respectively; the control microcontroller uses chip U2, model QCC3020, which is arranged on the front side of the control unit 4; the memory uses chip U3, which is arranged on the front side of the storage unit 3;

[0076] like Figure 5 As shown, the gyroscope chip U7 is connected to the PIO

[54] and PIO

[53] of the control microcontroller U2 through the 14 and 13 pins; the three light sensor chips U4, U5 and U6 are respectively connected to the pin K3 of the control microcontroller U2 through the input end of the peripheral circuit, and the VOUT ends of the chips U4, U5 and U6 are respectively connected to the pins G3, J2 and J3 of the control microcontroller U2; the E3, F2 and H2 pins of the control microcontroller U2 are respectively connected to the 1, 2 and 3 pins of the FLASH memory chip U3; the positive and negative poles of the battery are respectively connected to the P1 and P2 pins of the control microcontroller U2; the antenna of the Bluetooth module is connected to the BT_RF pin of the control microcontroller U2.

[0077] The specific process used is as follows:

[0078] Put the Bluetooth headset into the ear, and the light sensor collects the distance between the headset and the ear through the photosensitive hole and determines whether the headset is in the ear. After the headset is in the ear, it causes an interrupt and sends a signal to the control unit; after the headset is in the ear, the headset moves with the change of head posture, and the acceleration sensor and angular velocity sensor respectively collect the original acceleration data and angular velocity data of the headset when it moves; the control microcontroller receives the original acceleration data and angular velocity data and processes them into acceleration data and angular velocity data, and determines the current movement direction according to the processed data; compares the processed data with the set acceleration threshold and angular velocity threshold, and counts when the data is greater than or equal to the threshold; when the count number is greater than the trigger threshold, determines the single posture of the headset movement; when the headset stops moving, it is judged as a single posture; when the headset continues to move, continue to determine the next posture until the headset stops moving, and merges multiple single postures into a complex posture; determines the control instruction corresponding to the single posture or complex posture according to the posture number-instruction mapping table, and sends the control instruction to the communication terminal.

[0079] The beneficial effects of this embodiment are: changing the traditional key-type adjustment, and because of the use of the two-threshold method, reducing the user's error rate and improving the accuracy of control.

[0080] Example 2

[0081] Based on Example 1, a method for preparing a Bluetooth headset capable of recognizing gestures comprises the following steps:

[0082] A1. Open the top and bottom covers of the headset;

[0083] A2. Figure 6 As shown, the charging port, the sensing unit, the control unit, the Bluetooth module, the storage unit, the power supply unit, the light sensor, and the speaker are slowly placed in sequence from the upper opening of the earphone shell, so that the charging port is fixed at the opening at the lower part of the earphone shell, and the angle is adjusted to ensure that the positions of the light sensors and the photosensitive holes correspond, and the speaker is fixed at the upper opening of the earphone shell;

[0084] A3. Install the bottom cover and top cover.

[0085] Since this solution requires the use of a square Bluetooth main control microcontroller QCC3020, whose side length exceeds 5mm, and the side length of the sensor unit circuit board exceeds 6mm, the "bottom-to-top" installation method on the market is not suitable for this Bluetooth headset; based on this, this solution installs the charging port, sensor unit, control unit, storage unit, and speaker along the hollow neck of the earphone shell to the bottom, and the units are connected by FPC soft boards, which can be adjusted to ensure the accurate installation position of each internal unit.

[0086] The beneficial effects of this embodiment are: according to the structural characteristics of the internal unit and the earphone shell, the units are installed from the upper large diameter to the lower small diameter of the earphone shell to adapt to the Bluetooth earphone shell, and the phenomenon of being unable to enter the earphone shell will not occur; in addition, during the installation process, since the control unit, the sensor unit and the storage unit are connected by the FPC soft board, the circuit board will not be affected by the bending of the hollow shell, thereby improving the yield of the earphone.

[0087] Example 3

[0088] Based on Example 1, a method for controlling a Bluetooth headset capable of recognizing gestures is as follows: Figure 7 As shown, the following steps are included:

[0089] B1. Initialize the sensor, set the measurement range and accuracy of the acceleration sensor and angular velocity sensor; and set the counting threshold, trigger threshold and attitude number-command mapping table including the acceleration threshold and angular velocity threshold on the control unit;

[0090] B2. Detect a single gesture when the headset moves with the head;

[0091] Among them, Figure 8 As shown, the steps to detect a single posture are as follows:

[0092] S1. When the headset moves with the head, the acceleration sensor and the angular velocity sensor respectively collect the current acceleration raw data and angular velocity raw data of the headset, represent them by 16-bit binary complement data or quaternion data, and transmit them to the control unit;

[0093] S2. The control unit receives and processes the acceleration raw data and the angular velocity raw data to obtain the acceleration data and the angular velocity data; respectively compares the acceleration data, the angular velocity data with the acceleration threshold and the angular velocity threshold to determine whether to count or clear the data;

[0094] When the acceleration raw data and angular velocity raw data are 16-bit binary complement data, the data processing formula is as follows:

[0095] The conversion formula of the original acceleration data is:

[0096] Among them, a m for a x , a y or a z ACC_RATIO is the acceleration ratio set when initializing the acceleration sensor; ACC_z is the component of the acceleration raw data read along the x-axis, y-axis or z-axis; a x , a y , a zThey are the components of the acceleration along the x-axis, y-axis, and z-axis after processing; δ is the set precision constant, specifically 32768;

[0097] The conversion formula of the raw angular velocity data is:

[0098] Among them, g m g x , g y or z ; GYR_RATIO is the angular velocity ratio set when initializing the angular velocity sensor; GYR_z is the component of the read angular velocity raw data along the x-axis, y-axis or z-axis; g x , g y , g z They are the components of the angular velocity along the x-axis, y-axis, and z-axis after processing; δ is the set precision constant, specifically 32768;

[0099] When the acceleration raw data and angular velocity raw data are quaternion data, the data processing formula is as follows:

[0100] Convert the quaternion to floating point numbers, and set the four floating point numbers obtained to be q0, q1, q2, q3;

[0101] Get Euler angles from floating point numbers:

[0102] pitch=arcsin(2×(q0×q2-q1×q3))×57.3;

[0103] roll=arctan2(2×(q0×q1+q2×q3),1-2×(q1 2 +q2 2 ))×57.3;

[0104] yaw=arctan2(2×(q0×q3+q1×q2),1-2×(q2 2 +q3 2 ))×57.3;

[0105] Among them, pitch is the pitch angle, roll is the roll angle, yaw is the heading angle, and the unit is degree "°";

[0106] The conditions that determine whether to count or clear data are:

[0107] When the acceleration data is greater than or equal to the acceleration threshold and the angular velocity data is greater than or equal to the angular velocity threshold, the count is increased by 1 and the process goes to S3;

[0108] After confirming to clear the data, clear the current acceleration data and angular velocity data;

[0109] S3. The control unit compares the current count number with the trigger threshold value to determine whether to trigger or clear the specified data;

[0110] When the counted number is ≥ the trigger threshold, the trigger instruction is determined and the process goes to step S4;

[0111] When the count number is less than the trigger threshold, the data is cleared, and the current acceleration data and angular velocity data are cleared;

[0112] S4. The control unit determines the head movement posture according to the current acceleration data and angular velocity data, and clears the current acceleration data and angular velocity data;

[0113] B3. After a single posture detection is completed, detect whether the headset continues to move;

[0114] If the movement continues, return to step B2 and continue to detect the next posture;

[0115] If the movement stops, go to step B4;

[0116] B4. If the headphone stops after detecting a single posture, it is determined that the headphone movement posture is a single posture;

[0117] If the movement continues after detecting a single gesture, when the headset stops, multiple single gestures are fused to obtain a complex gesture;

[0118] B5. Determine the control instruction corresponding to a single posture or complex posture according to the posture number-instruction mapping table, and send the control instruction to the communication terminal.

[0119] It should be noted that:

[0120] In step S2, the key to whether to count is to remove unconscious gestures; based on this, this solution removes actions within a period of time according to people's habits, for example, removing data with action time less than 100ms, that is, only actions with time greater than 100ms can be counted as valid trigger data.

[0121] In step B4, for complex gestures, for example, identifying continuous shaking of the head left and right, then at the critical point of the left-right transition of the gesture, there is obviously a period of time when the raw acceleration data and the raw angular velocity data are small or even 0; in order to continue to identify, within a period of time (for example, within 100ms), if the data is reversed, it is necessary to continue to track the measurement data and detect the next gesture until the headset stops moving, and multiple gestures are merged into a complex gesture; but if two consecutive gestures are reversed after a period of time (for example, after 200ms), they cannot be merged, but are determined as two separate gestures; after the above processing, the single gesture or complex gesture of the user controlling the Bluetooth headset can be effectively identified, and the error operation rate can be reduced.

[0122] The posture number-command mapping table is as follows:

[0123] Head posture (including but not limited to) Corresponding instructions (including but not limited to) Nod once Sound reduction Look up once Sound Increase Shake your head left Previous song Shake your head right Next song Shake your head twice Reject call Nod twice Answering a call

[0124] It should be noted that the head postures are not limited to the instructions corresponding to the above table, and the head postures and the corresponding instructions can also be adjusted to each other.

[0125] The beneficial effects of this embodiment are: the control microcontroller receives the original data of the headphone movement, processes it through a formula, compares the processed data with two thresholds, determines the single posture of the head movement, and then continues to track and detect. When the tracking detects that the headphone stops moving, the detected single posture is determined to be the command trigger posture; when the tracking detects that the headphone continues to move, each posture is continuously judged until the headphone stops moving, multiple postures are merged into a complex posture, and the complex posture is used as the command trigger posture; after the trigger posture is determined, the control instruction is determined according to the posture number-instruction mapping table, and sent to the communication terminal to realize control. Compared with traditional posture recognition, the use of the two-threshold method reduces the user's misoperation rate and improves the accuracy of control.

[0126] Example 4

[0127] In this embodiment, the steps of data detection, processing and analysis at a certain moment in a single posture detection process are as follows: the coordinate system of the gyroscope is as follows: Fig. 9 As shown, assuming that the total count before the current moment is 19, the acceleration threshold is set to 0.6g within the acceleration threshold range of 0.4g-0.8g; the angular velocity threshold is set to 140° / s within the angular velocity threshold range of 120° / s-150° / s; and the trigger threshold is set to 20;

[0128] The headset moves with the head, and the acceleration sensor and angular velocity sensor collect the current acceleration raw data and angular velocity raw data of the headset respectively, and convert the 16-bit binary complement data into a x =

[13612] , a y =[-824], a z =

[8952] ; g x =

[307] , g y =

[84] , g z =

[124] ;

[0129] The control unit receives and processes the acceleration raw data and angular velocity raw data. The data processing formula is as follows:

[0130] According to the conversion formula of the original acceleration data:

[0131]

[0132] The acceleration data at the current moment is: a x =0.99g, a y =0.12g, a z =0.21g;

[0133] The conversion formula of the raw angular velocity data is:

[0134]

[0135] The angular velocity data at the current moment is: g x =-103.72° / s,g y =-58.35° / s, g z =291.52° / s;

[0136] Combined with Fig. 9 Gyroscope coordinate system and acceleration, angular velocity analysis shown:

[0137] a x =0.99g is greater than 0, at this time the component of acceleration on the positive axis of the X axis is 0.99;

[0138] a y =0.12g is greater than 0, at this time the component of acceleration on the positive axis of the Y axis is 0.12;

[0139] a z =0.21g is greater than 0, at this time the component of acceleration on the positive axis of the Z axis is 0.21;

[0140] g x =-103.72° / s is less than 0, at which point the negative component of the angular velocity on the X-axis is 133.72;

[0141] g y =-58.35° / s is less than 0, at which point the negative component of the angular velocity on the Y axis is 58.35;

[0142] g z =291.52° / s is greater than 0, at which point the component of the angular velocity in the positive direction of the Z axis is 291.52;

[0143] Because |a x |>|a y |,|a x |>|a z |;|g z |>|g x |,|g z |>|g y |, so the acceleration data on the X axis and the angular velocity data on the Z axis are selected as the judgment basis, and a x , gz The components on the X-axis and Z-axis are both on the positive axis, combined with Fig. 9 The coordinate system of the gyroscope shown and the data of the earphone moving to the right at the current moment determine that the movement of the earphone is shaking the head to the right;

[0144] In addition, the current acceleration data a x = 0.99g satisfies a ≥ 0.6g, and the angular velocity data g z =291.52° / s satisfies g≥140° / s, so the count is +1; the number of counts at this time is 19+1=20;

[0145] Since the count number is ≥ the trigger threshold 20, the instruction is triggered;

[0146] The control unit determines the "next song" instruction corresponding to the right head shaking gesture in the gesture instruction mapping table as the control instruction, and the control unit controls the communication terminal to execute the "next song" instruction through the wireless Bluetooth module.

[0147] If in Example 4, a x , g z If the counting condition is not met or the number of counts after counting is less than the trigger threshold, the acceleration and angular velocity data at that moment are cleared, and the acceleration sensor and angular velocity sensor respectively collect the original acceleration data and angular velocity data of the headset at the next moment, and then continue to judge according to the above method.

[0148] The content of the present invention is not limited to the embodiments listed, and any equivalent changes made to the technical solution of the present invention by ordinary technicians in this field after reading the description of the present invention are covered by the claims of the present invention.

Claims

1. A gesture-recognizable Bluetooth headset, comprising a speaker encapsulated on the top of an earphone shell through a top cover and a charging port installed on the bottom of the earphone shell through a bottom cover; characterized in that: Inside the earphone case are: The sensing unit includes an acceleration sensor and an angular velocity sensor, which are used to collect acceleration and angular velocity data of the headset when the head moves, and send the data to the control unit; The control unit is connected to the sensor unit through an FPC soft board, and is used to receive and process acceleration and angular velocity data, and determine the direction of movement of the earphone according to the processed data; when the data is greater than or equal to the threshold, count, and when the count number is greater than the trigger threshold, determine the movement posture of the earphone according to the direction of movement of the earphone; When the headset stops moving, it is judged as a single posture; when the headset continues to move, the next posture is detected until the headset stops moving, and multiple postures are integrated to obtain a complex posture; according to the single posture or complex posture, the corresponding control instruction is determined in the posture number-instruction mapping table, and the control instruction is sent to the communication terminal; The storage unit is connected to the control unit through an FPC soft board, stores processing and analysis method data, and accepts the call of the control unit; A Bluetooth module is connected to the control unit and is connected to the communication terminal via Bluetooth; The power supply unit has one end connected to the charging port to receive power, and the other end connected to the control unit to supply power to it.

2. The gesture-recognizable Bluetooth headset according to claim 1, characterized in that: The sensor unit is arranged above the charging interface; the control unit is arranged at the curved part of the earphone shell; the Bluetooth module and the power supply unit are connected to the control unit; and the storage unit is arranged at the speaker part; The sensing unit encapsulates an acceleration sensor and an angular velocity sensor through a gyroscope; the storage unit includes a memory; the Bluetooth module is an antenna; and the power supply unit is a power supply battery.

3. The gesture-recognizable Bluetooth headset according to claim 2, characterized in that: The sensing unit also includes a plurality of light sensors respectively arranged on the storage unit, the control unit and the sensing unit, and a photosensitive hole is arranged at the earphone shell where each light sensor is arranged; the light sensor collects the distance between the earphone and the ear through the photosensitive hole and determines whether the earphone is inserted into the ear. If the earphone is inserted into the ear, an interruption is caused and a signal is sent to the control unit.

4. The method for preparing a gesture-recognizable Bluetooth headset according to claim 3, characterized in that: The following steps are involved: A1. Open the top and bottom covers of the headset; A2. Slowly insert the charging port, sensor unit, control unit, Bluetooth module, storage unit, power supply unit, light sensor, and speaker from the upper opening of the earphone shell in sequence, so that the charging port is fixed at the lower opening of the earphone shell. Adjust the angle to ensure that the positions of the light sensors and the photosensitive holes are aligned, and ensure that the speaker is fixed at the upper opening of the earphone. A3. Install the bottom cover and top cover.

5. The control method of the gesture-recognizable Bluetooth headset according to claim 1, characterized in that: The following steps are involved: B1. Initialize the sensor, set the measurement range and accuracy of the acceleration sensor and angular velocity sensor; and set the counting threshold, trigger threshold and attitude number-command mapping table including the acceleration threshold and angular velocity threshold on the control unit; B2. Detect a single gesture when the headset moves with the head; B3. After a single posture detection is completed, detect whether the headset continues to move; If the movement stops, go to step B4; If the movement continues, return to step B2 and continue to detect the next posture; B4. If the headphone stops after detecting a single posture, it is determined that the headphone movement posture is single; If the movement continues after detecting a single gesture, when the headset stops, multiple single gestures are fused to obtain a complex gesture; B5. Determine the control instruction corresponding to a single posture or complex posture according to the posture number-instruction mapping table, and send the control instruction to the communication terminal.

6. The method for controlling a gesture-recognizable Bluetooth headset according to claim 5, characterized in that: In step B2, the steps of detecting a single posture are as follows: S1. When the headset moves with the head, the acceleration sensor and the angular velocity sensor collect the raw acceleration data and the raw angular velocity data of the headset respectively, and transmit them to the control unit; S2. The control unit receives the acceleration raw data and the angular velocity raw data, and processes the acceleration data and the angular velocity data; respectively compares the acceleration data, the angular velocity data with the acceleration threshold and the angular velocity threshold to determine whether to count or clear the data; After the count is determined, the count is increased by 1 and the process goes to S3; After confirming to clear the data, clear the current acceleration data and angular velocity data, and return to step S1; S3. The control unit compares the current count number with the trigger threshold value to determine whether to trigger or clear the specified data; Determine the trigger instruction and proceed to step S4; After confirming to clear the data, clear the current acceleration data and angular velocity data, and return to step S1; S4. After determining the head movement posture according to the current acceleration data and angular velocity data, the control unit clears the current acceleration data and angular velocity data.

7. The method for controlling a gesture-recognizable Bluetooth headset according to claim 6, characterized in that: In the step S1, the collected acceleration raw data and angular velocity raw data are 16-bit binary complement data or quaternion data.

8. The method for controlling a gesture-recognizable Bluetooth headset according to claim 7, characterized in that: When the collected acceleration raw data and angular velocity raw data are 16-bit binary complement data, in step S2, the data processing formula is as follows: The conversion formula of the original acceleration data is: Among them, a m for a x , a y or a z ;ACC_RATIO is the acceleration ratio set when initializing the acceleration sensor; ACC_z is the component of the acceleration raw data read along the x-axis, y-axis or z-axis; a x , a y , a z They are the components of the acceleration along the x-axis, y-axis, and z-axis after processing; δ is the set accuracy constant; The conversion formula of the raw angular velocity data is: Among them, g m g x , g y or z ; GYR_RATIO is the angular velocity ratio set when initializing the angular velocity sensor; GYR_z is the component of the read angular velocity raw data along the x-axis, y-axis or z-axis; g x , g y , g z They are the components of the angular velocity along the x-axis, y-axis, and z-axis after processing; δ is the set precision constant.

9. The method for controlling a gesture-recognizable Bluetooth headset according to claim 7, characterized in that: When the collected acceleration raw data and angular velocity raw data are quaternion data, in step S2, the formula for data processing is as follows: Convert the quaternion to floating point numbers, and set the four floating point numbers obtained to be q0, q1, q2, q3; Get Euler angles from floating point numbers: pitch=arcsin(2×(q0×q2-q1×q3))×57.3; roll=arctan2(2×(q0×q1+q2×q3),1-2×(q1 2 +q2 2 ))×57.3; <h2 style=";text-align:left;direction:ltr">yaw = arctan2(2×(q0×q3+q1×q2),1-2×(q2<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +q3<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> ))×57.3; Among them, pitch is the pitch angle, roll is the roll angle, yaw is the heading angle, and the unit is degree "°".

10. The method for controlling a gesture-recognizable Bluetooth headset according to claim 8 or 9, characterized in that: In step S2, the condition for determining whether to count or clear the data is: when the acceleration data ≥ the acceleration threshold, and the angular velocity data ≥ the angular velocity threshold, count; otherwise, clear the data; In step S3, the conditions for triggering the designation or clearing data are: when the count number ≥ the trigger threshold, the trigger instruction is determined; when the count number < the trigger threshold, the data is determined to be cleared.

Citation Information

Patent Citations

  • Bluetooth earphone capable of recognizing posture

    CN213403447U