Dynamic focusing method based on nonlinear mapping and EEG glasses
By using a dynamic focusing method based on nonlinear mapping, attention signals are acquired and processed in segments in real time, solving the problem of inaccurate focusing of EEG data in existing technologies and improving the accuracy of refractive power and focusing speed.
Patent Information
- Application Number
- CN202510974396.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-11-14
AI Technical Summary
Existing EEG data focusing algorithms fail to effectively adapt to the nonlinear changes in EEG, resulting in inaccurate focusing.
A dynamic focusing method based on nonlinear mapping is adopted. Attention signals are acquired in real time and preprocessed. The attention signals are segmented into low, medium and high attention signals, which are mapped to different diopters. The diopters of the EEG glasses are adjusted with a specific step size and a dichotomy method.
It achieves high accuracy in diopter, fast focusing speed, and good smoothness, meeting the needs of rapid automatic focusing.
Smart Images

Figure CN120949460A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a dynamic focusing method based on nonlinear mapping and EEG glasses. Background Technology
[0002] With the development of dynamic focusing technology, electroencephalography (EEG) technology, and liquid lens technology, some glasses on the market have achieved intelligent focusing through EEG data.
[0003] For example, Chinese patent "CN108732786A" discloses a novel fully automatic brain-controlled zoom glasses, which uses a rate-wave algorithm to convert brainwave data from a biocurrent sensor into program control signals to meet control requirements. However, the rate-wave algorithm is not described in detail in this patent.
[0004] In addition, existing rate wave algorithms mainly include median filtering, arithmetic mean filtering, and amplitude limiting filtering. None of these filtering algorithms take into account the nonlinear variation characteristics of brain waves and cannot adapt to the dynamic characteristics of brain waves.
[0005] Therefore, developing a dynamic focusing method based on nonlinear mapping to address the nonlinear variation characteristics of brain waves is an urgent problem to be solved. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a dynamic focusing method and EEG glasses based on nonlinear mapping, which can realize segmented targeted conversion of refractive power with high accuracy.
[0007] To address the aforementioned technical problems, this invention provides a dynamic focusing method based on nonlinear mapping, comprising: acquiring the attention signal of a target user in real time; preprocessing the attention signal; dividing the attention signal into low attention signal, medium attention signal, and high attention signal according to the magnitude of the preprocessed attention signal; mapping the low attention signal to a first diopter and adjusting the real-time diopter of the EEG glasses according to the first diopter; mapping the medium attention signal to a second diopter and adjusting the real-time diopter of the EEG glasses according to the second diopter; and mapping the high attention signal to a third diopter and adjusting the real-time diopter of the EEG glasses according to the third diopter.
[0008] As an improvement to the above scheme, the step of mapping the low attention signal to a first diopter includes: calculating the first diopter according to the formula diopter1 = -10 + 6(attention1 / 30); where diopter1 is the first diopter and attention1 is the low attention signal.
[0009] As an improvement to the above scheme, the step of mapping the attention signal to a second diopter includes: calculating the reference time according to the formula t = (attention2 - 30) / 40; and calculating the reference time according to the formula diopter2 = diopter... a +span×t×(1-0.5t), calculate the second diopter; where t is the reference time, attention2 is the central attention signal, diopter2 is the second diopter, and diopter... a The value is the baseline value for moderate conditions, and span is the baseline span.
[0010] As an improvement to the above scheme, the calculation steps for the reference span include: according to the formula span = 10 - diopter a Calculate the baseline span.
[0011] As an improvement to the above scheme, the step of mapping the high attention signal to a third diopter includes: according to the formula diopter3 = diopter b +0.15[(attention3-70) / 30], calculate the third diopter; where diopter3 is the third diopter, diopter... b The height is the baseline value, and attention3 is the high attention signal.
[0012] As an improvement to the above solution, when adjusting the real-time refractive power of the EEG glasses according to the first refractive power, the real-time refractive power of the EEG glasses is adjusted with a first adjustment step size; when adjusting the real-time refractive power of the EEG glasses according to the second refractive power, the real-time refractive power of the EEG glasses is adjusted with a second adjustment step size; when adjusting the real-time refractive power of the EEG glasses according to the third refractive power, a dynamic adjustment method is adopted to adjust the real-time refractive power of the EEG glasses with a third adjustment step size; the first adjustment step size is greater than the second adjustment step size and the third adjustment step size.
[0013] As an improvement to the above scheme, the first adjustment step size is twice the second adjustment step size, and the second adjustment step size is equal to the third adjustment step size.
[0014] As an improvement to the above scheme, the step of adjusting the real-time refractive power of the EEG glasses to the third refractive power with a third adjustment step size using a dynamic adjustment method includes: constructing a reference interval centered on the third refractive power; and adjusting the real-time refractive power of the EEG glasses within the reference interval using a dichotomy method.
[0015] As an improvement to the above scheme, the step of preprocessing the attention signal includes: smoothing the attention signal; and performing domain adaptation processing on the smoothed attention signal.
[0016] Accordingly, the present invention also provides an EEG glasses comprising: an electroencephalogram sensor for acquiring the attention signals of a target user; a dynamic focusing controller including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described dynamic focusing method based on nonlinear mapping; and a liquid lens for adjusting the real-time refractive power according to the refractive power sent by the dynamic focusing controller.
[0017] Implementing this invention has the following beneficial effects:
[0018] Based on the dynamic distribution characteristics of attention signals, this invention performs segmented nonlinear mapping on low attention signals in the low attention range, medium attention signals in the medium attention range, and high attention signals in the high attention range, thereby achieving targeted conversion of refractive power with high accuracy.
[0019] Furthermore, the present invention introduces a specific step size to optimize the search process, more accurately lock the value of the highest attention, and thus confirm the value of the final calibrated refractive power.
[0020] More preferably, the present invention also introduces a binary search method to quickly search and lock the target refractive power, which significantly improves the focusing speed and smoothness, thus meeting the selling point of fast autofocus. Attached Figure Description
[0021] Figure 1 This is a flowchart of the first embodiment of the dynamic focusing method based on nonlinear mapping of the present invention;
[0022] Figure 2 This is a flowchart of the second embodiment of the dynamic focusing method based on nonlinear mapping of the present invention;
[0023] Figure 3 This is a schematic diagram of an embodiment of the EEG glasses of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.
[0025] See Figure 1 , Figure 1 The first embodiment of the dynamic focusing method based on nonlinear mapping of the present invention is shown, which includes:
[0026] S101, acquires the target user's attention signal in real time;
[0027] In practical applications, the attention signals of the target user can be collected by an electroencephalogram (EEG) sensor and sent to a dynamic focus controller, which then acquires / receives the attention signals in real time.
[0028] S102, Preprocess the attention signal;
[0029] Accordingly, the steps for preprocessing the attention signal include:
[0030] (1) Smooth the attention signal;
[0031] This invention can use a smoothing algorithm to smooth the attention signal in order to reduce noise interference and ensure signal stability. Specific smoothing algorithms may include polynomial smoothing algorithm (SG smoothing algorithm), exponential smoothing algorithm, Fourier transform (FFT), etc., but are not limited thereto.
[0032] (2) Perform domain adaptation processing on the smoothed attention signal.
[0033] This invention can use a domain adaptation algorithm to standardize the attention signal in order to reduce individual differences and ensure the consistency of subsequent processing; specific domain adaptation algorithms may include offline calibration (manual input of reference value), automatic calibration, etc., but are not limited thereto.
[0034] S103, Based on the magnitude of the preprocessed attention signal, the attention signal is divided into low attention signal, medium attention signal and high attention signal;
[0035] Generally, the numerical range of attention signals is 0 to 100. In this embodiment, the interval [0, 100] is divided into a low attention interval [0, 30], a medium attention interval (30, 70], and a high attention interval (70, 100]. Attention signals within the low attention interval [0, 30] are defined as low attention signals, attention signals within the medium attention interval (30, 70) are defined as medium attention signals, and attention signals within the high attention interval (70, 100) are defined as high attention signals. However, this is not a limitation and can be fine-tuned according to the actual situation, as long as the values of low attention signals, medium attention signals, and high attention signals increase sequentially.
[0036] S104 maps the low attention signal to a first diopter and adjusts the real-time diopter of the EEG glasses according to the first diopter;
[0037] For low-attention signals, the first diopter can be calculated using the following formula:
[0038] diopter1 = N + 3 (attention1 / 30)
[0039] in:
[0040] N represents the real-time refractive power of the EEG glasses;
[0041] diopter1 is the first diopter;
[0042] attention1 is a low attention signal.
[0043] For example, if the initial diopter of the EEG glasses is -10dpt, and the low attention signal obtained when dynamic focusing is activated is 30, then diopter1 = -10 + 3(30 / 30) = -7dpt, meaning that the real-time diopter of the EEG glasses is adjusted from -10dpt to -7dpt.
[0044] For example, if the initial diopter of the EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are 20 and 30; firstly, for the first low attention signal of 20, the first diopter calculated is diopter1 = -10 + 3(20 / 30) = -8 dpt, at which point the real-time diopter of the EEG glasses adjusts from -10 dpt to -8 dpt; then, for the second low attention signal of 30, the second first diopter calculated is diopter1 = -8 + 3(30 / 30) = -5 dpt, at which point the real-time diopter of the EEG glasses adjusts from -8 dpt to -5 dpt.
[0045] It should be noted that the mapping frequency of the attention signal (up to 10Hz) is consistent with the acquisition frequency of the attention signal, which can realize real-time mapping of the attention signal with a delay of less than 0.01 seconds.
[0046] In addition, in practical applications, other mapping formulas can be used to construct the mapping relationship between the low attention signal and the first diopter, such as: diopter1 = N + 6 (attention1 / 30). By changing the formula coefficients, the range of diopter variation can be appropriately adjusted.
[0047] S105 maps the central attention signal to a second diopter and adjusts the real-time diopter of the EEG glasses according to the second diopter;
[0048] Accordingly, the step of mapping the central attention signal to a second diopter includes:
[0049] (1) Calculate the base time using the following formula:
[0050] t = (attention2 - 30) / 40
[0051] in:
[0052] t is the base time;
[0053] attention2 is the medium attention signal.
[0054] (2) Calculate the second diopter using the following formula:
[0055] diopter2 = diopter a +span×t×(1-0.5t)
[0056] in:
[0057] diopter2 is the second diopter;
[0058] diopter a This is the baseline value for moderate severity.
[0059] span is the baseline span;
[0060] t is the base time.
[0061] It should be noted that when dynamic focus is activated, attention signals can be acquired sequentially, and the medium baseline value can be dynamically set based on the values of the received attention signals, wherein:
[0062] (a) If the first received attention signal is a low attention signal, after calculating the first diopter of all low attention signals before the current medium attention signal, the diopter corresponding to the maximum value in the low attention interval is taken as the medium reference value. In this embodiment, the low attention interval is [0, 30]. That is, when the first received attention signal is in the low attention interval [0, 30], the diopter when the attention signal value is 30 is taken as the medium reference value.
[0063] For example, if the initial diopter of the EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are "20" and "50", then after completing the first diopter calculation for the low attention signal "20", the diopter for the low attention signal value "30" is diopter. a =-8+3(30 / 30)=-5dpt;
[0064] For example, if the initial diopter of EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are "20, 25, 50", then after completing the first diopter calculation for the low attention signal "20, 25", the diopter for the low attention signal value "30" is diopter. a=-5.5+3(30 / 30)=-2.5dpt;
[0065] For example, if the initial diopter of EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are "20, 30, 50", then after completing the first diopter calculation for the low attention signal "20, 30", the diopter for the low attention signal value "30" is retained as diopter. a =-8+3(30 / 30)=-5dpt, no need to recalculate;
[0066] (b) If the first received attention signal is a medium attention signal, then the value of the medium baseline is set to -10dpt, i.e., diopter a = -10dpt.
[0067] Furthermore, the baseline span can be calculated using the following formula:
[0068] span = 10 - diopter a
[0069] in:
[0070] span is the baseline span;
[0071] diopter a This is the baseline value for moderate severity.
[0072] For example, if the attention signals acquired sequentially after starting dynamic focus are "30, 70", then:
[0073] diopter a =-7dpt
[0074] diopter2=-7+[10-(-7)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=1.5dpt.
[0075] For example, if the attention signals acquired sequentially after activating dynamic focus are "20, 30, 70", then:
[0076] diopter a = -5dpt
[0077] diopter2=-5+[10-(-5)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=2.5dpt.
[0078] For example, if the attention signal obtained after activating dynamic focus is "70", then:
[0079] dioptera =-10dpt
[0080] diopter2=-10+[10-(-10)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=0dpt.
[0081] Therefore, the value of the received attention signal determines the moderate baseline value diopter. a The value of determines the mapping relationship between the central attention signal and the second diopter.
[0082] S106 maps the high-attention signal to a third diopter and adjusts the real-time diopter of the EEG glasses based on the third diopter.
[0083] Calculate the third diopter using the following formula:
[0084] diopter3 = diopter b +0.15[(attention3-70) / 30]
[0085] in:
[0086] diopter3 is the third diopter;
[0087] diopter b This is the baseline value for altitude;
[0088] attention3 is a high attention signal.
[0089] It should be noted that when dynamic focus is activated, attention signals can be acquired sequentially, and the height reference value can be dynamically set based on the received attention signal values, wherein:
[0090] (a) If the first received attention signal is a low attention signal, after calculating the refractive power of all low attention signals before the current high attention signal, the refractive power corresponding to the maximum value in the medium attention interval is taken as the height reference value. In this embodiment, the medium attention interval is (30, 70], so the refractive power when the attention signal value is 70 is taken as the height reference value.
[0091] For example, if the initial diopter of the EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are "20, 50, 90", then after completing the first diopter calculation for the low attention signal "20", the diopter for the low attention signal value "30" is diopter. a = -8 + 3(30 / 30) = -5dpt, then the refractive power of a central attention signal value of "70" is:
[0092] diopter b =-5+[10-(-5)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=2.5dpt;
[0093] (b) If the first received attention signal is a medium attention signal, the refractive power corresponding to the maximum value in the medium attention interval is taken as the height reference value. In this embodiment, the medium attention interval is (30, 70], so the refractive power when the attention signal value is 70 is taken as the height reference value.
[0094] For example, if the initial diopter of the EEG glasses is -10 dpt, and when dynamic focusing is activated, if the attention signals acquired sequentially are "50, 90", then the diopter corresponding to the low attention signal value of "30" is diopter. a = -10dpt, then the refractive power of a central attention signal value of "70" is:
[0095] diopter b =-10+[10-(-10)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=0dpt;
[0096] (c) If the first received attention signal is a high attention signal, then the height reference value is set to -10dpt, i.e., diopter b = -10dpt.
[0097] Therefore, the value of the received attention signal simultaneously determines the moderate baseline value diopter. a and height reference value diopter b The value of determines the mapping relationship between the intermediate attention signal and the second diopter, and between the high attention signal and the third diopter.
[0098] For example, when dynamic focus is activated, and the attention signals acquired sequentially are "10, 60, 90", diopter a =-6dpt,di opter b =2dpt, then the third diopter corresponding to the final high attention signal "90" is: di opter3 = 2 + 0.15[(90-70) / 30] = 2.1dpt;
[0099] For example, when dynamic focus is activated, and the attention signals acquired sequentially are "60" and "90", diopter a =-10dpt,di opter b=0dpt, then the third diopter corresponding to the final high attention signal "90" is: di opter3=0+0.15[(90-70) / 30]=0.1dpt;
[0100] For example, when dynamic focus is activated, if the acquired attention signal is "90", diopter b = -10dpt, then the third diopter corresponding to the high attention signal "90" is: diopter3 = -10 + 0.15[(90-70) / 30] = -9.9dpt.
[0101] Therefore, based on the dynamic distribution characteristics of attention signals, this invention performs segmented nonlinear mapping on low attention signals in the low attention range, medium attention signals in the medium attention range, and high attention signals in the high attention range, thereby achieving targeted conversion of refractive power with high accuracy.
[0102] See Figure 2 , Figure 2 A second embodiment of the dynamic focusing method based on nonlinear mapping of the present invention is shown, which includes:
[0103] S201, real-time acquisition of target user attention signals;
[0104] S202, preprocessing the attention signal;
[0105] S203, Based on the magnitude of the preprocessed attention signal, the attention signal is divided into low attention signal, medium attention signal and high attention signal;
[0106] Similarly, attention signals within the low attention range [0,30] are defined as low attention signals, attention signals within the medium attention range (30,70) are defined as medium attention signals, and attention signals within the high attention range (70,100) are defined as high attention signals.
[0107] S204, maps the low attention signal to a first diopter, and adjusts the real-time diopter of the EEG glasses with a first adjustment step based on the first diopter;
[0108] Figure 1 In the first embodiment shown, a dynamic step size is used to adjust the first diopter. (And) Figure 1 Unlike the first embodiment shown, this embodiment uses a fixed step size to adjust the first diopter, which can effectively improve the adjustment speed of diopter.
[0109] For example, if the initial diopter of the EEG glasses is -10dpt, when dynamic focusing is activated, if the low attention signal obtained is 20, then di opter1 = -10 + 3(20 / 30) = -8dpt; at this time, if the first adjustment step is 3dpt, the real-time diopter of the EEG glasses will be adjusted from -10dpt to -7dpt, instead of being adjusted to -8dpt.
[0110] It should be noted that when the attention signal is a low attention signal, it means that the current refractive power is far from the user's ideal refractive power. At this time, by using the fixed step size method, the real-time refractive power change can be adjusted more quickly, thereby improving the speed of refractive power adjustment and quickly approaching the ideal refractive power.
[0111] S205 maps the central attention signal to a second diopter and adjusts the real-time diopter of the EEG glasses with a second adjustment step size according to the second diopter;
[0112] Figure 1 In the first embodiment shown, a dynamic step size is used to adjust the second diopter. Figure 1 Unlike the first embodiment shown, this embodiment uses a fixed step size to adjust the second diopter.
[0113] For example, if the initial refractive power of the EEG glasses is -10 dpt, and the attention signal obtained after activating dynamic focusing is "70", then:
[0114] diopter a =-10dpt
[0115] diopter2=-10+[10-(-10)]×[(70-30) / 40]×{1-0.5[(70-30) / 40]}=0dpt.
[0116] At this point, if the second adjustment step size is 1.5dpt, the real-time refractive power of the EEG glasses will be adjusted sequentially from -10dpt to -8.5dpt, -7dpt, -5.5dpt, -4dpt, -2.5dpt, -1dpt, and 0.5dpt, instead of being directly adjusted to 0dpt.
[0117] It should be noted that when the attention signal is a medium attention signal, it means that the current refractive power is not far from the user's ideal refractive power. At this time, by using a fixed step size, the real-time refractive power can be slowly adjusted, thereby improving the stability and accuracy of the refractive power adjustment.
[0118] S206 maps the high attention signal to a third diopter and uses a dynamic adjustment method based on the third diopter to adjust the real-time diopter of the EEG glasses with a third adjustment step size.
[0119] Figure 1 In the first embodiment shown, a dynamic step size is used to adjust the third diopter. (And) Figure 1 Unlike the first embodiment shown, this embodiment uses a dynamic adjustment method to adjust the real-time refractive power of the EEG glasses to a third refractive power with a third adjustment step. Specific steps include:
[0120] (1) Construct a reference interval centered on the third diopter;
[0121] Generally, the reference range is formed by extending ±3dpt to both sides of the third diopter as the center.
[0122] For example, if the attention information exceeds 70 at -4dpt, then a baseline interval [-7, -1] is constructed with -4dpt as the center.
[0123] (2) Adjust the real-time refractive power of the EEG glasses within the reference range using the dichotomy method.
[0124] For example, if the initial diopter of the EEG glasses is -10 dpt, and dynamic focusing is activated, and the attention signals acquired sequentially are "50" and "90", firstly, regarding the first attention signal "50", the diopter... a = -10dpt, the calculated second diopter is:
[0125] diopter2=-10+[10-(-10)]×[(50-30) / 40]×{1-0.5[(50-30) / 40]}=2.5dpt
[0126] At this point, if the second adjustment step size is 1.5dpt, the real-time refractive power of the EEG glasses will be adjusted sequentially from -10dpt to -8.5dpt, -7dpt, -5.5dpt, -4dpt, -2.5dpt, -1dpt, 0.5dpt, and 2dpt.
[0127] Then, regarding the second high-attention signal "90", diopter b =0dpt, the calculated third diopter is: diopter3=0+0.15[(90-70) / 30]=0.1dpt.
[0128] At this point, if the third adjustment step size is 1.5dpt, a reference interval [-2.9, 3.1] is constructed with the third diopter of 0.1dpt as the center, and the real-time diopter of the EEG glasses is adjusted to -2.9dpt, -1.4dpt, 0.1dpt, 1.6dpt, and 3.1dpt respectively using the dichotomy method, thereby finding the optimal diopter.
[0129] Generally, when using the binary search method for adjustment, each test involves 2 points (0.1 seconds / point), and the test can be completed in 3 iterations (0.6 seconds).
[0130] It should be noted that when the attention signal is a high attention signal, it means that the current refractive power is very close to the user's ideal refractive power. At this time, by using the "dichotomy + fixed step size" method, the real-time refractive power change can be slowly adjusted to more accurately lock the value of the highest attention, thereby confirming the final calibrated refractive power value.
[0131] Accordingly, in this invention, the first adjustment step size is larger than the second and third adjustment step sizes, which can ensure that the diopter can be quickly adjusted when the attention is low and the ideal diopter can be quickly approached. It can also ensure that the diopter can be slowly adjusted when the attention is medium and high, thus ensuring the stability of focusing.
[0132] Preferably, the first adjustment step size is twice the second adjustment step size, and the second adjustment step size is equal to the third adjustment step size. In this embodiment, the first adjustment step size is 3dpt, and the second and third adjustment step sizes are both 1.5dpt, but this is not a limitation and can be set according to actual conditions.
[0133] Furthermore, if the EEG glasses fail to respond (timeout 100ms), the error will be automatically recorded and the device will retry 3 times; if the device still fails after 3 retries, an error alert will be generated.
[0134] Therefore, this invention not only constructs a piecewise nonlinear mapping between attention information and refractive power, but also introduces a specific step size to optimize the search process and more accurately lock the value of the highest attention, thereby confirming the value of the final calibrated refractive power. At the same time, this invention also introduces a binary search method to quickly search and lock the target refractive power, which significantly improves the focusing speed and smoothness, meeting the selling point of fast autofocus.
[0135] See Figure 3 , Figure 3 The specific structure of an EEG glasses 100 is also shown, which includes:
[0136] EEG sensor 1, used to collect the attention signals of the target user;
[0137] The dynamic focus controller 3 includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the steps of the dynamic focus method based on nonlinear mapping described above.
[0138] The liquid lens 2 is used to adjust the real-time refractive power according to the refractive power sent by the dynamic focusing controller 3; wherein, the aperture of the liquid lens is preferably 3-20mm, but is not limited thereto.
[0139] It should be noted that this invention is applicable to vision correction and AR focusing scenarios. By using the piecewise nonlinear mapping formula of this invention, attention signals can be mapped to the refractive power range of -10dpt to +10dpt, which can efficiently adapt to the dynamic changes of attention signals, improve the correlation to 0.90, simplify the calculation, and have a calibration time of 0.5 to 0.8 seconds and a delay of less than 0.01 seconds, thus meeting the requirements for rapid focusing.
[0140] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A dynamic focusing method based on nonlinear mapping, characterized in that, include: Real-time acquisition of target user attention signals; The attention signal is preprocessed; The attention signals are divided into low attention signals, medium attention signals, and high attention signals based on the numerical value of the preprocessed attention signals. The low attention signal is mapped to a first diopter, and the real-time diopter of the EEG glasses is adjusted according to the first diopter. The attention signal is mapped to a second diopter, and the real-time diopter of the EEG glasses is adjusted according to the second diopter. The high attention signal is mapped to a third diopter, and the real-time diopter of the EEG glasses is adjusted according to the third diopter.
2. The dynamic focusing method based on nonlinear mapping as described in claim 1, characterized in that, The step of mapping the low attention signal to a first diopter includes: Calculate the first diopter using the formula diopter1 = -10 + 6(attention1 / 30); Where diopter1 is the first diopter and attention1 is the low attention signal.
3. The dynamic focusing method based on nonlinear mapping as described in claim 1, characterized in that, The step of mapping the central attention signal to a second diopter includes: Calculate the baseline time using the formula t = (attention2 - 30) / 40; According to the formula diopter2 = diopter a +span×t×(1-0.5t), calculate the second diopter; Where t is the reference time, attention2 is the central attention signal, diopter2 is the second diopter, and diopter... a The value is the baseline for moderate conditions, and span is the baseline span.
4. The dynamic focusing method based on nonlinear mapping as described in claim 3, characterized in that, The calculation steps for the reference span include: according to the formula span = 10 - diopter a Calculate the baseline span.
5. The dynamic focusing method based on nonlinear mapping as described in claim 1, characterized in that, The step of mapping the high-attention signal to a third diopter includes: According to the formula diopter3 = diopter b +0.15[(attention3-70) / 30], calculate the third diopter; Wherein, diopter3 is the third diopter, diopter b The height is the baseline value, and attention3 is the high attention signal.
6. The dynamic focusing method based on nonlinear mapping as described in claim 1, characterized in that, When adjusting the real-time refractive power of the EEG glasses according to the first refractive power, the real-time refractive power of the EEG glasses is adjusted with a first adjustment step. When adjusting the real-time refractive power of the EEG glasses according to the second refractive power, the real-time refractive power of the EEG glasses is adjusted with a second adjustment step size; When adjusting the real-time refractive power of the EEG glasses according to the third refractive power, a dynamic adjustment method is adopted to adjust the real-time refractive power of the EEG glasses with a third adjustment step size. The first adjustment step size is greater than the second adjustment step size and the third adjustment step size.
7. The dynamic focusing method based on nonlinear mapping as described in claim 6, characterized in that, The first adjustment step size is twice the second adjustment step size, and the second adjustment step size is equal to the third adjustment step size.
8. The dynamic focusing method based on nonlinear mapping as described in claim 6, characterized in that, The step of adjusting the real-time refractive power of the EEG glasses to the third refractive power using a dynamic adjustment method with a third adjustment step includes: A reference range is constructed with the third diopter as the center; The real-time refractive power of the EEG glasses is adjusted using a dichotomy method within the reference range.
9. The dynamic focusing method based on nonlinear mapping as described in claim 1, characterized in that, The step of preprocessing the attention signal includes: The attention signal is smoothed. The smoothed attention signal is then subjected to domain adaptation processing.
10. An EEG glasses, characterized in that, include: EEG sensors are used to collect attention signals from the target user. A dynamic focusing controller includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the dynamic focusing method based on nonlinear mapping as described in any one of claims 1 to 9; A liquid lens is used to adjust the real-time diopter based on the diopter sent by the dynamic focusing controller.
Citation Information
Patent Citations
Novel full-automatic brain-controlled zooming glasses
CN108732786A