Gyroscope-based Bluetooth headset control system and method
By adopting a gyroscope-based control system in the Bluetooth headset and using the analysis module of the data acquisition and processing module to adjust the sampling frequency and rotation angle, the problem of data accuracy and efficiency caused by the gyroscope's accidental touch during driving is solved, and the Higher data processing accuracy and control convenience.
Patent Information
- Application Number
- CN202410929902.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-11
AI Technical Summary
In existing Bluetooth headsets, the gyroscope is accidentally touched due to road conditions during driving, which affects the accuracy and collection efficiency of data processing.
A gyroscope-based control system is adopted, including a data acquisition module, a data processing module, a control algorithm module and an analysis module. By judging the ratio, interval length and variance of invalid information and valid information, the gyroscope's sampling frequency and preset rotation angle are adjusted. , optimize data collection and processing.
It improves the data processing accuracy and collection efficiency of Bluetooth headsets, reduces accidental touch errors, and enhances control convenience and safety during driving.
Smart Images

Figure CN118474618B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Bluetooth headsets, and in particular to a gyroscope-based Bluetooth headset control system and method. Background Art
[0002] Since its introduction, Bluetooth headsets have become a popular configuration for hands-free mobile calls, especially in environments where it is inconvenient to hold a phone, such as driving a car. Bluetooth headsets are more popular among people.
[0003] However, the existing Bluetooth headsets on the market require the wearer to do every operation, whether it is answering a call, rejecting a call, hanging up a call, making a call, or adjusting the volume of a call. For example, first use your hands to feel the position of the headset's multi-function button, then short press once to answer a call, or long press for a certain period of time to hang up a call, or short press several times in a row to make a call. In actual applications, this way of key operation on a micro device makes users feel very inconvenient, especially in scenes where they cannot free their hands to operate, such as driving a car or doing manual work, which can easily cause users to be busy, distracted, and even bring safety risks. Therefore, Bluetooth headsets not only need to relieve people's troubles of holding the phone while talking, but also make the operation intelligent and convenient to truly free their hands.
[0004] Chinese Patent Publication No.: CN116506759A, discloses a data processing method and system for a Bluetooth headset gyroscope, which is applied to a first headset, and the method includes: obtaining first gyroscope data corresponding to a first gyroscope in the first headset; receiving second gyroscope data sent from a second headset; calculating and processing based on the first gyroscope data and the second gyroscope data to obtain a target average value and a target standard deviation; calculating and processing through the target average value and the target standard deviation to obtain posture data; sending the posture data to the second headset; It can be seen that the above technical solution has the following problems: It does not take into account taking corresponding measures for the situation where the user accidentally touches the gyroscope due to road conditions during driving, which affects the accuracy of data processing of the Bluetooth headset, and further affects the processing efficiency of the Bluetooth headset for data collected by the gyroscope. Summary of the invention
[0005] To this end, the present invention provides a gyroscope-based Bluetooth headset control system and method, so as to overcome the problem that the prior art does not take into account the situation where the user accidentally touches the gyroscope due to road conditions during driving, thereby affecting the accuracy of data processing by the Bluetooth headset, and further affecting the processing efficiency of the Bluetooth headset for data collected by the gyroscope.
[0006] In one aspect, the present invention provides a gyroscope-based Bluetooth headset control system, comprising:
[0007] A data acquisition module, which includes a gyroscope for obtaining the rotation angle of the Bluetooth headset;
[0008] A data processing module, connected to the data acquisition module, for processing the data acquired by the gyroscope to obtain data information;
[0009] A control algorithm module, which is connected to the data processing module, and is used to control the Bluetooth headset to execute corresponding instructions according to valid information, wherein valid information is data information whose rotation angle is greater than a preset rotation angle in the processed data; invalid information is data information whose rotation angle is less than or equal to the preset rotation angle;
[0010] An analysis module is respectively connected to the data acquisition module, the data processing module and the control algorithm module, and is used to determine whether the operating status of the data acquisition module meets the preset standard according to the amount of invalid information, and to re-determine whether the operating status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time when it is preliminarily determined that the operating status of the data acquisition module does not meet the preset standard.
[0011] Furthermore, under the condition that there is data information with a rotation angle less than or equal to a preset rotation angle in the processed data, the analysis module records the number of invalid information in the preset detection time as an invalid number, and determines whether the operation status of the data acquisition module meets the preset standard according to the invalid number;
[0012] When it is determined that the operating status of the data acquisition module does not meet the preset standard, determining a processing method for the data acquisition module according to the average interval duration between each piece of data information within the preset detection duration;
[0013] When it is not possible to preliminarily determine that the operating status of the data acquisition module does not meet the preset standard, re-determine whether the operating status of the data acquisition module meets the preset standard based on the ratio of the number of valid information to the number of invalid information within the historical monitoring time in the acquired historical data;
[0014] When determining that the operation status of the data acquisition module meets the preset standard, whether the operation status of the control algorithm module meets the preset standard is determined according to the variance of each interval duration between each invalid information within the preset detection duration.
[0015] Furthermore, the analysis module determines a processing method for the data acquisition module based on the average interval duration between each piece of data information within a preset detection duration, including:
[0016] Adjusting the sampling frequency of the gyroscope to a corresponding value according to the difference between the preset interval duration and the average interval duration;
[0017] Taking the last invalid information in the current preset detection time as the time starting point, the invalid information in the next preset detection time is continuously monitored.
[0018] Furthermore, the analysis module records the ratio of the number of valid information to the number of invalid information within the historical monitoring period as the information ratio, and determines whether the operating status of the data acquisition module meets the preset standard based on the obtained information ratio;
[0019] When it is determined that the operating status of the data acquisition module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the difference between the preset information ratio and the information ratio.
[0020] Furthermore, the analysis module determines whether the operation status of the control algorithm module meets the preset standard based on the calculated variance of each interval duration between each invalid information within the preset detection duration;
[0021] When it is determined that the operating status of the control algorithm module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the amount of invalid information within the historical monitoring time.
[0022] Furthermore, the analysis module records the difference between the preset interval duration and the average interval duration as the interval difference. Based on the obtained interval difference, the analysis module provides several sampling adjustment methods for the sampling frequency of the gyroscope, and each sampling adjustment method has a different adjustment amplitude for the sampling frequency of the gyroscope.
[0023] Furthermore, the analysis module records the difference between the preset information ratio and the information ratio as the effective difference. Based on the obtained effective difference, the analysis module provides several standard adjustment methods for the preset rotation angle, and the adjustment range of each standard adjustment method for the preset rotation angle is different.
[0024] Furthermore, the analysis module records the number of invalid information within the historical monitoring period as the historical number. Based on the historical number, the analysis module sets a number of rotation adjustment methods for the preset rotation angle, and the adjustment range of each rotation adjustment method for the preset rotation angle is different.
[0025] Furthermore, the analysis module compares the adjusted sampling frequency with the preset maximum frequency after completing the adjustment of the sampling frequency. If the adjusted sampling frequency is less than or equal to the preset maximum frequency, the analysis module determines to use the adjusted sampling frequency as the operating parameter of the data acquisition module; if the adjusted sampling frequency is greater than the preset maximum frequency, the analysis module determines to use the preset maximum frequency as the operating parameter of the data acquisition module, and uses the first preset standard adjustment coefficient to adjust the preset rotation angle to a corresponding value.
[0026] On the other hand, the present invention also provides a control method using the above-mentioned Bluetooth headset control system, comprising: S1, a gyroscope in the Bluetooth headset continuously obtains a rotation angle, a control algorithm module divides each rotation angle into valid information and invalid information based on a preset rotation angle, and controls the Bluetooth headset to execute a corresponding instruction according to the valid information;
[0027] S2, when there is invalid information, the analysis module determines whether the operation status of the data acquisition module meets the preset standard according to the amount of invalid information;
[0028] S3, when the analysis module preliminarily determines that the operation status of the data acquisition module does not meet the preset standard, re-determine whether the operation status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time;
[0029] S4, when it is re-determined that the operating status of the data acquisition module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the difference between the preset information ratio and the ratio of the amount of valid information to the amount of invalid information.
[0030] Compared with the prior art, the beneficial effect of the present invention lies in that the Bluetooth headset is continuously monitored according to the situation of invalid information. When the number of invalid information within the preset detection time is less than or equal to the first preset number, because the minimum valid information in the corresponding execution instruction is two times, it is a false trigger of the program in this case. At this time, it is determined that the operating status of the data acquisition module meets the preset standards; the invalid data is processed to perform corresponding processing when too much invalid data appears, which effectively improves the accuracy of data processing of the Bluetooth headset.
[0031] Furthermore, when the number of invalid information is less than or equal to the second preset number and greater than the first preset number, there is a possibility that the user may execute an instruction within the preset detection time. According to the interval time in multiple invalid information, when the average interval time is greater than the preset interval time, in this case, due to the long interval between the multiple rotations of the user, there is a possibility of user accidental touch. Therefore, the last invalid information in the current preset detection time is used as the time starting point, and the invalid information in the next preset detection time is further processed; when the average interval time is less than or equal to the preset interval time, the user frequently issues rotation instructions. In this case, the system cannot capture all angular velocity changes in time when obtaining the posture change information of the Bluetooth headset, resulting in delays and inaccuracies in the calculation of the rotation angle. The actual rotation angle has exceeded the rotation angle obtained by the system, causing an error. In this case, the sampling frequency of the gyroscope is increased, and the situation where the gyroscope performance is degraded or damaged due to use and aging during the use of the Bluetooth headset is processed. By increasing the sampling frequency, the accuracy of the Bluetooth headset for data processing is effectively improved.
[0032] Furthermore, when the number of invalid information is less than or equal to the third preset number and greater than the second preset number, in this case, it is impossible to determine whether the operating status of the data acquisition module meets the preset standard based solely on the situation of the invalid number. At this time, the specific situation of the data acquisition module is jointly judged by the ratio of the number of valid information to the number of invalid information. When the information ratio is greater than the preset information ratio, the gyroscope can still obtain a large amount of valid information in this case. At this time, the accuracy of the gyroscope can achieve the purpose of determining that the Bluetooth headset executes the corresponding instruction; when the information ratio is less than or equal to the preset information ratio, the collected data is inaccurate due to the abnormality of the gyroscope. In this case, the preset rotation angle is adjusted to process the data acquisition module, accurately obtain user information, and realize precise control operations, which effectively improves the processing efficiency of the Bluetooth headset for data collected by the gyroscope.
[0033] Furthermore, when the invalid number is greater than the third preset number, the data acquisition module can accurately collect the posture changes of each user; when the variance is less than or equal to the preset variance, the invalid information is concentrated within the preset detection time. At this time, due to special circumstances, the user frequently changes posture, and there is no need to adjust the operating parameters of the control algorithm module; when the variance is greater than the preset variance, the angle change is randomly dispersed within the monitoring time. At this time, when invalid information appears at a high frequency, the phenomenon of frequent excessive abnormal instructions caused by false touches of the Bluetooth headset due to excessive sensitivity is reduced, and the preset rotation angle is adjusted higher; corresponding measures are taken for the situation where the gyroscope is accidentally touched due to road conditions during driving, and corresponding processing is performed when the performance of the gyroscope is reduced or damaged due to use and aging during the use of the Bluetooth headset, affecting its sampling frequency and sampling accuracy, thereby effectively improving the accuracy of data processing of the Bluetooth headset, and thereby effectively improving the processing efficiency of the Bluetooth headset for data collected by the gyroscope. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a module block diagram of a gyroscope-based Bluetooth headset control system according to an embodiment of the present invention;
[0035] Figure 2 This is a structural diagram of a Bluetooth headset according to an embodiment of the present invention;
[0036] Figure 3 This is a flowchart of the steps of a gyroscope-based Bluetooth headset control method according to an embodiment of the present invention;
[0037] Figure 4 A flowchart of a Bluetooth determination method in which an analysis module according to an embodiment of the present invention determines whether the operation status of a data acquisition module meets a preset standard according to the invalid quantity;
[0038] Figure 5This is a flow chart of a processing method for a data acquisition module determined by an analysis module according to an average interval duration according to an embodiment of the present invention;
[0039] In the figure: 1. gyroscope; 2. first fixing member; 3. earphone connector; 4. second fixing member; 5. earphone. DETAILED DESCRIPTION
[0040] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0041] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0042] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0043] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0044] See also Figure 1 As shown, it is a module block diagram of a Bluetooth headset control system based on a gyroscope 1 according to an embodiment of the present invention. The Bluetooth headset control system according to the present invention includes:
[0045] A data acquisition module, comprising a gyroscope 1 for obtaining the rotation angle of the Bluetooth headset;
[0046] The data processing module (not shown) is connected to the data acquisition module and is used to process the data collected by the gyroscope 1 to obtain data information; the processing process includes filtering and calibration to ensure the accuracy and stability of the data.
[0047] A control algorithm module (not shown in the figure), which is connected to the data processing module, is used to control the Bluetooth headset to execute corresponding instructions according to valid information, wherein valid information is data information whose rotation angle is greater than the preset rotation angle in the processed data; invalid information is data information whose rotation angle is less than or equal to the preset rotation angle;
[0048] The data information includes invalid information and valid information.
[0049] Preferably, when valid information is received twice in succession, the control algorithm module controls the volume of the Bluetooth headset to increase. When valid information is received four times in succession, the control algorithm module controls the Bluetooth headset to switch songs, and when valid information is received four times in succession, the control algorithm module controls the Bluetooth headset to answer calls; preferably, the control algorithm module can set corresponding instructions to perform corresponding operations according to the various situations of the rotation angle along each axis (X\Y\Z axis) obtained from the valid information of the gyroscope 1.
[0050] An analysis module (not shown) is respectively connected to the data acquisition module, the data processing module and the control algorithm module, and is used to determine whether the operating status of the data acquisition module meets the preset standard according to the amount of invalid information, and to re-determine whether the operating status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time when it is preliminarily determined that the operating status of the data acquisition module does not meet the preset standard.
[0051] See also Figure 2 As shown, it is a structural diagram of a Bluetooth headset according to an embodiment of the present invention. The Bluetooth headset according to the present invention comprises:
[0052] A gyroscope 1, which is located at the end of the Bluetooth headset and is used to obtain the rotation angle of the Bluetooth headset;
[0053] An earphone connector 3, which is located in the middle of the Bluetooth earphone and is used to fix the Bluetooth earphone;
[0054] A first fixing member 2, which is arranged on a side of the gyroscope 1 close to the earphone connector 3, and connects the earphone connector 3 and the gyroscope 1;
[0055] A headset 5, which is located at the other end of the Bluetooth headset and is used to transmit sound to the cochlea;
[0056] The second fixing member 4 is used to connect the earphone 5 to the earphone connector 3 .
[0057] See also Figure 3 As shown, it is a flowchart of the steps of the Bluetooth headset control method based on the gyroscope 1 according to an embodiment of the present invention. The control method of the present invention includes the following steps:
[0058] S1, the gyroscope 1 in the Bluetooth headset continuously obtains the rotation angle, and the control algorithm module divides each rotation angle into valid information and invalid information based on the preset rotation angle, and controls the Bluetooth headset to execute the corresponding instruction according to the valid information;
[0059] S2, when there is invalid information, the analysis module determines whether the operation status of the data acquisition module meets the preset standard according to the amount of invalid information;
[0060] S3, when the analysis module preliminarily determines that the operation status of the data acquisition module does not meet the preset standard, re-determine whether the operation status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time;
[0061] S4, when it is re-determined that the operating status of the data acquisition module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the difference between the preset information ratio and the ratio of the amount of valid information to the amount of invalid information.
[0062] It should be pointed out that the data in this embodiment are obtained by comprehensive analysis and evaluation of the historical test data of the system of the present invention three months before the current test and the corresponding historical test results.
[0063] The method for determining a single parameter by the system of the present invention can be to select the value with the highest proportion as the preset standard parameter according to the data distribution, use weighted summation to use the obtained value as the preset standard parameter, or other selection methods, as long as the system of the present invention can clearly define different specific situations in the single determination process through the obtained value.
[0064] See also Figure 4 As shown, it is a flow chart of a Bluetooth determination method in which an analysis module of an embodiment of the present invention determines whether the operating status of a data acquisition module meets a preset standard according to an invalid number. The analysis module of the present invention records the number of invalid information in a preset detection time as an invalid number under the condition that there is data information with a rotation angle less than or equal to a preset rotation angle in the processed data, and determines whether the operating status of the data acquisition module meets the preset standard according to the invalid number. The Bluetooth determination method, wherein:
[0065] The first Bluetooth determination method is that the analysis module determines that the operating status of the data acquisition module meets the preset standard, and controls the data acquisition module to continue to operate using the current operating parameters; the first Bluetooth determination method satisfies that the invalid number is less than or equal to the first preset number;
[0066] The second Bluetooth determination method is that the analysis module determines that the operation status of the data acquisition module does not meet the preset standard, and determines the processing method for the data acquisition module according to the average interval duration between each data information within the preset detection time; the second Bluetooth determination method satisfies that the invalid number is less than or equal to the second preset number and greater than the first preset number;
[0067] The third Bluetooth determination method is that the analysis module preliminarily determines that the operation status of the data acquisition module does not meet the preset standard, and re-determines whether the operation status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time in the acquired historical data; the third Bluetooth determination method satisfies that the invalid number is less than or equal to the third preset number and greater than the second preset number, and the first preset number is less than the second preset number and less than the third preset number;
[0068] The fourth Bluetooth determination method is that the analysis module determines whether the operating status of the data acquisition module meets the preset standards, and determines whether the operating status of the control algorithm module meets the preset standards based on the variance of the interval durations between each invalid information within the preset detection duration; the fourth Bluetooth determination method satisfies that the invalid number is greater than the third preset number.
[0069] Set the preset rotation angle to 32°, the preset detection time to 120s, the first preset number to 2, the second preset number to 5, the third preset number to 9, and the historical monitoring time to 86400s.
[0070] The Bluetooth headset is continuously monitored according to the situation of invalid information. When the number of invalid information within the preset detection time is less than or equal to the first preset number, since the minimum valid information in the corresponding execution instruction is two times, it is a false trigger of the program in this case. At this time, it is determined that the operating status of the data acquisition module meets the preset standards; the invalid data is processed to perform corresponding processing when too much invalid data appears, which effectively improves the accuracy of data processing of the Bluetooth headset.
[0071] See also Figure 5 As shown, it is a flow chart of the analysis module according to the embodiment of the present invention determining the processing method for the data acquisition module according to the average interval duration. The analysis module of the present invention determines the processing method for the data acquisition module according to the average interval duration between each data information within the preset detection duration under the second Bluetooth determination mode, wherein:
[0072] The first processing method is that the analysis module adjusts the sampling frequency of the gyroscope 1 to a corresponding value according to the difference between the preset interval duration and the average interval duration; the first processing method satisfies that the average interval duration is less than or equal to the preset interval duration;
[0073] The second processing method is that the analysis module takes the last invalid information in the current preset detection time as the time starting point, and continuously monitors the invalid information within the next preset detection time; the second processing method satisfies that the average interval duration is greater than the preset interval duration.
[0074] Set the preset interval to 3s.
[0075] When the number of invalid information is less than or equal to the second preset number and greater than the first preset number, there is a possibility that the user may execute the instruction within the preset detection time. According to the interval time in multiple invalid information, when the average interval time is greater than the preset interval time, in this case, because the interval between the multiple rotations of the user is too long, there is a possibility of user accidental touch in this case. Therefore, the last invalid information in the current preset detection time is used as the time starting point, and the invalid information in the next preset detection time is further processed; when the average interval time is less than or equal to the preset interval time, the user frequently issues rotation instructions. In this case, because the system cannot capture all angular velocity changes in time when obtaining the posture change information of the Bluetooth headset, the calculation of the rotation angle is delayed and inaccurate, and the actual rotation angle has exceeded the rotation angle obtained by the system, causing an error. In this case, the sampling frequency of the gyroscope 1 is increased, and the situation where the performance of the gyroscope 1 is degraded or damaged due to use and aging during the use of the Bluetooth headset is processed. By increasing the sampling frequency, the accuracy of the Bluetooth headset for data processing is effectively improved.
[0076] Specifically, the analysis module records the ratio of the number of valid information to the number of invalid information within the historical monitoring time as the information ratio under the third Bluetooth determination mode, and the analysis module determines whether the operating status of the data acquisition module meets the preset standard Bluetooth secondary determination mode according to the obtained information ratio, wherein:
[0077] The first Bluetooth secondary determination method is that the analysis module determines that the operation status of the data acquisition module does not meet the preset standard, and adjusts the preset rotation angle to a corresponding value according to the difference between the preset information ratio and the information ratio; the first Bluetooth secondary determination method satisfies that the information ratio is less than or equal to the preset information ratio;
[0078] The second Bluetooth secondary determination method is that the analysis module determines that the operating status of the data acquisition module meets the preset standard, and controls the data acquisition module to continue to operate using the current operating parameters; the second Bluetooth secondary determination method satisfies that the information ratio is greater than the preset information ratio.
[0079] The default information ratio is set to 0.12.
[0080] When the invalid number is less than or equal to the third preset number and greater than the second preset number, in this case, it is impossible to determine whether the operating status of the data acquisition module meets the preset standard based solely on the invalid number. At this time, the specific situation of the data acquisition module is judged jointly by the ratio of the number of valid information to the number of invalid information. When the information ratio is greater than the preset information ratio, the gyroscope 1 can still obtain a large amount of valid information in this case. At this time, the accuracy of the gyroscope 1 can achieve the purpose of determining that the Bluetooth headset executes the corresponding instruction; when the information ratio is less than or equal to the preset information ratio, the collected data is inaccurate due to the abnormality of the gyroscope 1. In this case, the preset rotation angle is adjusted to process the data acquisition module, so as to accurately obtain user information, thereby realizing precise control operations, thereby effectively improving the processing efficiency of the Bluetooth headset for the data collected by the gyroscope 1.
[0081] Specifically, the analysis module determines whether the operation status of the control algorithm module meets the preset standard algorithm determination method according to the calculated variance of each interval duration between each invalid information within the preset detection duration in the fourth Bluetooth determination mode, wherein:
[0082] The first algorithm determination mode is that the analysis module determines that the operating status of the control algorithm module meets the preset standard, and controls the control algorithm module to continue to operate using the current operating parameters; the first algorithm determination mode satisfies that the variance is less than or equal to the preset variance;
[0083] The second algorithm judgment method is that the analysis module determines that the operating status of the control algorithm module does not meet the preset standard, and adjusts the preset rotation angle to a corresponding value according to the amount of invalid information within the historical monitoring period; the first algorithm judgment method satisfies that the variance is greater than the preset variance.
[0084] The default variance is 18.49.
[0085] When the invalid number is greater than the third preset number, the data acquisition module can accurately collect the posture changes of each user; when the variance is less than or equal to the preset variance, the invalid information is concentrated within the preset detection time. At this time, due to special circumstances, the user frequently changes posture, and there is no need to adjust the operating parameters of the control algorithm module; when the variance is greater than the preset variance, the angle change is randomly dispersed within the monitoring time. At this time, when invalid information appears at a high frequency, the phenomenon of frequent excessive abnormal instructions caused by accidental touch of the Bluetooth headset due to excessive sensitivity is reduced, and the preset rotation angle is adjusted higher; corresponding measures are taken for the situation where the gyroscope 1 is accidentally touched by the user due to road conditions during driving, and corresponding processing is performed when the performance of the gyroscope 1 is degraded or damaged due to use and aging during the use of the Bluetooth headset, affecting its sampling frequency and sampling accuracy, thereby effectively improving the accuracy of the Bluetooth headset for data processing, and thereby effectively improving the processing efficiency of the Bluetooth headset for data collected by the gyroscope 1.
[0086] Specifically, the analysis module records the difference between the preset interval duration and the average interval duration as the interval difference under the first processing mode, and the analysis module determines the sampling adjustment mode for the sampling frequency of the gyroscope 1 according to the obtained interval difference, wherein:
[0087] The first sampling adjustment mode is that the analysis module uses a first preset sampling adjustment coefficient to adjust the sampling frequency of the gyroscope 1 to a corresponding value; the first sampling adjustment mode satisfies that the interval difference is less than or equal to the first preset interval difference;
[0088] The second sampling adjustment mode is that the analysis module uses the second preset sampling adjustment coefficient to adjust the sampling frequency of the gyroscope 1 to a corresponding value; the second sampling adjustment mode satisfies that the interval difference is less than or equal to the second preset interval difference and greater than the first preset interval difference, and the first preset interval difference is less than the second preset interval difference;
[0089] The third sampling adjustment method is that the analysis module uses a third preset sampling adjustment coefficient to adjust the sampling frequency of the gyroscope 1 to a corresponding value; the third sampling adjustment method satisfies that the interval difference is greater than the second preset interval difference.
[0090] It is set that the first preset interval difference is 1s, the second preset interval difference is 2s, the first preset sampling adjustment coefficient is 1.16, the second preset sampling adjustment coefficient is 1.11, and the third preset sampling adjustment coefficient is 1.07.
[0091] Specifically, the analysis module records the difference between the preset information ratio and the information ratio as the effective difference under the first Bluetooth secondary determination mode, and the analysis module determines the standard adjustment mode for the preset rotation angle according to the obtained effective difference, wherein:
[0092] The first standard adjustment method is that the analysis module uses a first preset standard adjustment coefficient to adjust the preset rotation angle to a corresponding value; the first standard adjustment method satisfies that the effective difference is less than or equal to the first preset effective difference;
[0093] The second standard adjustment method is that the analysis module uses a second preset standard adjustment coefficient to adjust the preset rotation angle to a corresponding value; the second standard adjustment method satisfies that the effective difference is less than or equal to the second preset effective difference and greater than the first preset effective difference, and the first preset effective difference is less than the second preset effective difference;
[0094] The third standard adjustment method is that the analysis module uses a third preset standard adjustment coefficient to adjust the preset rotation angle to a corresponding value; the third standard adjustment method satisfies that the effective difference is greater than the second preset effective difference.
[0095] It is set that the first preset effective difference is 0.04, the second preset effective difference is 0.08, the first preset standard adjustment coefficient is 0.91, the second preset standard adjustment coefficient is 0.84, and the third preset standard adjustment coefficient is 0.78.
[0096] Specifically, the analysis module records the number of invalid information within the historical monitoring time as the historical number under the second algorithm determination mode, and the analysis module determines the rotation adjustment mode for the preset rotation angle according to the historical number, wherein:
[0097] The first rotation adjustment method is that the analysis module uses a first preset rotation adjustment coefficient to adjust the preset rotation angle to a corresponding value; the first rotation adjustment method satisfies that the history number is less than or equal to the first preset history number;
[0098] The second rotation adjustment method is that the analysis module uses a second preset rotation adjustment coefficient to adjust the preset rotation angle to a corresponding value; the second rotation adjustment method satisfies that the history number is less than or equal to the first preset history number and greater than the first preset history number, and the first preset history number is less than the second preset history number;
[0099] The third rotation adjustment method is that the analysis module uses a third preset rotation adjustment coefficient to adjust the preset rotation angle to a corresponding value; the third rotation adjustment method satisfies that the historical number is greater than the second preset historical number.
[0100] The first preset history number is set to 47, the second preset history number is set to 139, the first preset rotation adjustment coefficient is set to 1.11, the second preset rotation adjustment coefficient is set to 1.23, and the third preset rotation adjustment coefficient is set to 1.29.
[0101] Specifically, after completing the adjustment of the sampling frequency, the analysis module compares the adjusted sampling frequency with the preset maximum frequency. If the adjusted sampling frequency is less than or equal to the preset maximum frequency, the analysis module determines to use the adjusted sampling frequency as the operating parameter of the data acquisition module; if the adjusted sampling frequency is greater than the preset maximum frequency, the analysis module determines to use the preset maximum frequency as the operating parameter of the data acquisition module, and uses the first preset standard adjustment coefficient to adjust the preset rotation angle to the corresponding value. Example 1
[0102] At 11:36:11 on June 13, 2023, the data processing module processes the data collected by gyroscope 1 to obtain data information, and the rotation angle is 28° less than or equal to the preset rotation angle 32°. The rotation angles in the data information obtained in the preset detection time of 120s are shown in the following table:
[0103]
[0104] The control algorithm module records the data information of each rotation angle that is less than or equal to the preset rotation angle as invalid information; the number of invalid information obtained is 7, which is less than or equal to the third preset number 9 and greater than the second preset number 5. The analysis module obtains that the number of valid information within the historical monitoring time of 86400s is 11, and the number of invalid information is 37. The information ratio of valid information to invalid information is calculated to be 0.30, which is greater than the preset information ratio of 0.12. The analysis module determines that the operating status of the data acquisition module meets the preset standard, and controls the data acquisition module to continue to operate using the current operating parameters. Example 2
[0105] At 11:14:27 on April 11, 2023, the data processing module processes the data collected by gyroscope 1 to obtain data information, and the rotation angle is 29° less than or equal to the preset rotation angle 32°. The rotation angles in the data information obtained in the preset detection time of 120s are shown in the following table:
[0106]
[0107] The invalid number of invalid information in the preset detection time is obtained to be 3, which is less than or equal to the second preset number 5 and greater than the first preset number 2. The analysis module calculates the average interval time between each data information in the preset detection time as 2.1s, which is less than or equal to the preset interval time 3s. The analysis module calculates the interval difference between the preset interval time 3s and the average interval time 2.1s as 0.9s, which is less than or equal to the first preset interval difference 1s. The analysis module uses the first preset sampling adjustment coefficient 1.16 to adjust the sampling frequency of the gyroscope 1 from 260Hz to 301.6Hz; the adjusted sampling frequency 301.6Hz is compared with the preset maximum frequency 700Hz. The adjusted sampling frequency is less than or equal to the preset maximum frequency. The analysis module determines to use the adjusted sampling frequency as the operating parameter of the data acquisition module.
[0108] At 11:21:16 on April 11, 2023, the data processing module processes the data collected by the gyroscope 1, obtains data information, and the rotation angle of 24° is less than or equal to the preset rotation angle of 32°, obtains each rotation angle in the data information in the preset detection time of 120s, and obtains the invalid number of invalid information in the preset detection time of 2, which is less than or equal to the first preset number 2. The analysis module determines that the operating status of the data acquisition module meets the preset standard, and controls the data acquisition module to continue to operate using the current operating parameters. Example 3
[0109] At 9:11:26 on June 14, 2023, the data processing module processes the data collected by gyroscope 1, obtains data information, and the rotation angle is 31° less than or equal to the preset rotation angle 32°, and obtains each rotation angle in the data information in the preset detection time of 120s.
[0110]
[0111] The invalid number of invalid information in the preset detection time is 8, which is less than or equal to the third preset number 9 and greater than the second preset number 5; the number of valid information in the historical data is 2, and the number of invalid information is 48, and the information ratio of valid information to invalid information is 0.04, which is less than or equal to the preset information ratio 0.12. The analysis module calculates that the effective difference between the preset information ratio 0.12 and the information ratio 0.04 is 0.08, which is less than or equal to the second preset effective difference 0.08 and greater than the first preset effective difference 0.04. The analysis module uses the second preset standard adjustment coefficient 0.84 to adjust the preset rotation angle 32° to 26.88°;
[0112] At 15:46:02 on June 14, 2023, the data processing module processes the data collected by the gyroscope 1, obtains data information, and the rotation angle is 17°, which is less than or equal to the preset rotation angle of 26.88°. The rotation angles in the data information in the preset detection time of 120s are obtained, and the invalid number of invalid information in the preset detection time is 1, which is less than or equal to the first preset number 2. The analysis module determines that the operating status of the data acquisition module meets the preset standard, and controls the data acquisition module to continue to operate using the current operating parameters.
[0113] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0114] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A gyroscope-based Bluetooth headset control system, characterized in that: include: A data acquisition module, which includes a gyroscope for obtaining the rotation angle of the Bluetooth headset; A data processing module, connected to the data acquisition module, for processing the data acquired by the gyroscope to obtain data information; A control algorithm module, which is connected to the data processing module, and is used to control the Bluetooth headset to execute corresponding instructions according to valid information, wherein valid information is data information whose rotation angle is greater than a preset rotation angle in the processed data; invalid information is data information whose rotation angle is less than or equal to the preset rotation angle; An analysis module is respectively connected to the data acquisition module, the data processing module and the control algorithm module, and is used to determine whether the operating status of the data acquisition module meets the preset standard according to the amount of invalid information, and to re-determine whether the operating status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time when it is preliminarily determined that the operating status of the data acquisition module does not meet the preset standard.
2. The gyroscope-based Bluetooth headset control system according to claim 1, characterized in that: The analysis module records the number of invalid information in the preset detection time as the invalid number under the condition that there is data information with a rotation angle less than or equal to the preset rotation angle in the processed data, and determines whether the operation status of the data acquisition module meets the preset standard according to the invalid number; When it is determined that the operating status of the data acquisition module does not meet the preset standard, determining a processing method for the data acquisition module according to the average interval duration between each piece of data information within the preset detection duration; When it is not possible to preliminarily determine that the operating status of the data acquisition module does not meet the preset standard, re-determine whether the operating status of the data acquisition module meets the preset standard based on the ratio of the number of valid information to the number of invalid information within the historical monitoring time in the acquired historical data; When determining that the operation status of the data acquisition module meets the preset standard, whether the operation status of the control algorithm module meets the preset standard is determined according to the variance of each interval duration between each invalid information within the preset detection duration.
3. The gyroscope-based Bluetooth headset control system according to claim 2, characterized in that: The analysis module determines a processing method for the data acquisition module based on the average interval duration between each piece of data information within a preset detection duration, including: Adjusting the sampling frequency of the gyroscope to a corresponding value according to the difference between the preset interval duration and the average interval duration; Taking the last invalid information in the current preset detection time as the time starting point, the invalid information in the next preset detection time is continuously monitored.
4. The gyroscope-based Bluetooth headset control system according to claim 3, characterized in that: The analysis module records the ratio of the number of valid information to the number of invalid information within the historical monitoring period as the information ratio, and determines whether the operation status of the data acquisition module meets the preset standard based on the obtained information ratio; When it is determined that the operating status of the data acquisition module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the difference between the preset information ratio and the information ratio.
5. The gyroscope-based Bluetooth headset control system according to claim 4, characterized in that: The analysis module determines whether the operation status of the control algorithm module meets the preset standard based on the calculated variance of each interval duration between each invalid information within the preset detection duration; When it is determined that the operating status of the control algorithm module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the amount of invalid information within the historical monitoring time.
6. The gyroscope-based Bluetooth headset control system according to claim 5, characterized in that: The analysis module records the difference between the preset interval duration and the average interval duration as the interval difference. Based on the obtained interval difference, the analysis module sets several sampling adjustment methods for the sampling frequency of the gyroscope, and the adjustment range of the sampling frequency of the gyroscope in each sampling adjustment method is different.
7. The gyroscope-based Bluetooth headset control system according to claim 6, characterized in that: The analysis module records the difference between the preset information ratio and the information ratio as the effective difference. Based on the obtained effective difference, the analysis module sets several standard adjustment methods for the preset rotation angle, and the adjustment range of each standard adjustment method for the preset rotation angle is different.
8. The gyroscope-based Bluetooth headset control system according to claim 7, characterized in that: The analysis module records the number of invalid information within the historical monitoring period as the historical number. The analysis module is provided with a plurality of rotation adjustment methods for the preset rotation angle based on the historical number, and the adjustment range of each rotation adjustment method for the preset rotation angle is different.
9. The gyroscope-based Bluetooth headset control system according to claim 8, characterized in that: The analysis module compares the adjusted sampling frequency with the preset maximum frequency after completing the adjustment of the sampling frequency. If the adjusted sampling frequency is less than or equal to the preset maximum frequency, the analysis module determines to use the adjusted sampling frequency as the operating parameter of the data acquisition module; if the adjusted sampling frequency is greater than the preset maximum frequency, the analysis module determines to use the preset maximum frequency as the operating parameter of the data acquisition module, and uses the first preset standard adjustment coefficient to adjust the preset rotation angle to a corresponding value.
10. A control method using the Bluetooth headset control system according to any one of claims 1 to 9, characterized in that: include, S1, the gyroscope in the Bluetooth headset continuously obtains the rotation angle, the control algorithm module divides each rotation angle into valid information and invalid information based on the preset rotation angle, and controls the Bluetooth headset to execute the corresponding instruction according to the valid information; S2, when there is invalid information, the analysis module determines whether the operation status of the data acquisition module meets the preset standard according to the amount of invalid information; S3, when the analysis module preliminarily determines that the operation status of the data acquisition module does not meet the preset standard, re-determine whether the operation status of the data acquisition module meets the preset standard according to the ratio of the number of valid information to the number of invalid information within the historical monitoring time; S4, when it is re-determined that the operating status of the data acquisition module does not meet the preset standard, the preset rotation angle is adjusted to a corresponding value according to the difference between the preset information ratio and the ratio of the amount of valid information to the amount of invalid information.
