An intelligent adult product interaction mode adaptive control method and system

By establishing an LDA classification model and updating it in real time, the problem of recognition deviation when smart adult products change brain signals was solved, and more stable interactive control was achieved.

CN123156599APending Publication Date: 2026-11-24BESTON (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611334327.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing smart adult products suffer from recognition bias and insufficient control stability when EEG signals are affected by individual differences, wearing status, and changes in status during use.

Method used

By collecting EEG data from users when performing preset thought tasks, an LDA classification model is established to identify the user's thought state in real time and update the model parameters when conditions are met, ensuring that the interaction mode matches the user's EEG characteristics.

Benefits of technology

It improves the stability and consistency of interactive control, reduces mode switching errors caused by misidentification of thought states, and ensures control consistency during continuous use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123156599A_ABST
    Figure CN123156599A_ABST
Patent Text Reader

Abstract

This invention relates to the field of adult product technology, specifically to an adaptive control method and system for the interaction mode of an intelligent adult product, comprising: collecting EEG training data of the current user performing different preset thought tasks through an EEG acquisition device; obtaining training features through preprocessing and feature extraction; determining the category mean and common covariance matrix of each thought category and establishing a current LDA classification model; collecting real-time EEG data and obtaining real-time features during the operation of the adult product; identifying the current thought state using the current LDA classification model; determining the target interaction mode according to a preset mapping relationship and controlling the operation of the vibration actuator; entering a calibration stage when the model update conditions are met; collecting new EEG data with determined thought categories and obtaining new EEG features; updating the category mean, common covariance matrix, and current LDA classification model; and using the updated current LDA classification model to identify subsequent real-time EEG features and control subsequent interaction modes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of adult product technology, and in particular to an adaptive control method and system for the interaction mode of intelligent adult products. Background Technology

[0002] Existing smart adult products often employ preset modes, external terminal control, or adjustments to the execution state based on limited external data for interactive control. For example, patent application number 2014100889805, entitled "A Smart Vibrator Video Control System," converts video data into control commands to adjust the vibration mode; patent application number 2016102648060, entitled "A Wireless Smart Control Method for Adult Toys," collects user physiological and body data through wearable devices and adjusts the intensity and rhythm of the adult product's movement accordingly; and patent application number 2019104560310, entitled "Electroencephalogram Control Module Device and Method for Controlling Controlled Devices," collects EEG signals and generates corresponding control commands to control external devices.

[0003] The above solutions address the issues of external data linkage and EEG control devices for adult products. However, the interaction modes of adult products still mainly rely on preset mappings or existing recognition results. When EEG signals are affected by individual differences, wearing status, and changes in status during use, existing control relationships may exhibit recognition deviations, reducing the stability of the correspondence between the interaction mode and the user's current control intention. During continuous use, there are still problems such as accidental switching of interaction modes or decreased control consistency. Summary of the Invention

[0004] In view of the above technical problems, the present invention provides an adaptive control method and system for the interaction mode of intelligent adult products, which aims to solve the problem that when adult products use brainwave thoughts for interactive control, the existing thought recognition relationship is difficult to continuously adapt to the current changes in the user's brainwave characteristics, which easily leads to deviations in thought state recognition and insufficient stability of interaction mode control.

[0005] Other features and advantages of the invention will become apparent from the following detailed description, or may be learned in part by practice of the invention.

[0006] According to one aspect of the present invention, an adaptive control method for the interaction mode of an intelligent adult product is proposed, the method comprising: EEG training data is collected by an EEG acquisition device when the current user performs at least two preset intention tasks. Each preset intention task corresponds to an intention category, and each intention category represents an intention state. The EEG training data is processed using a preset preprocessing method and a preset feature extraction method to obtain EEG training features for each of the thought categories. Based on the EEG training features, the category mean of each thought category and the common covariance matrix shared by each thought category are determined. An initial LDA classification model for the current user is established based on the category mean and the common covariance matrix, and the initial LDA classification model is used as the current LDA classification model. During the operation of the adult product, the EEG data of the current user is collected in real time by the EEG acquisition device, and the real-time EEG features are obtained by the preset preprocessing method and the preset feature extraction method. The real-time EEG features are input into the current LDA classification model to determine the current user's current mental state. According to the preset mapping relationship that different mental states correspond to different interaction modes or different adjustment directions of the interaction modes, the target interaction mode of the adult product is determined. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode and vibration output state. Control commands are generated based on the target interaction mode to control the vibration actuator of the adult product to operate according to the target interaction mode; When the preset model update conditions are met, the system enters the calibration phase and outputs a calibration prompt corresponding to at least one of the preset thought tasks. The system collects new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt through the EEG acquisition device. The control terminal obtains new EEG features using the preset preprocessing method and the preset feature extraction method, and determines the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features. Based on the new EEG features, the pre-update class mean corresponding to the thought category of the new EEG features in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, the corresponding class mean and the common covariance matrix are updated according to the preset update weights, and the current LDA classification model is updated based on the updated class mean and the common covariance matrix. The updated current LDA classification model is used to identify subsequent real-time EEG features, and the subsequent interaction mode of the adult product is determined and controlled based on the identified subsequent mental states.

[0007] Furthermore, the preset preprocessing method includes performing power frequency notch filtering and common average reference processing on the EEG training data, the real-time EEG data, and the new EEG data, respectively.

[0008] Furthermore, the preset feature extraction method includes calculating the power spectral density of the preprocessed EEG data in the frequency range of 1Hz to 70Hz with a frequency interval of 2Hz, and forming an EEG feature vector by combining the power spectral densities corresponding to multiple EEG channels.

[0009] Furthermore, a sliding window with a window length of 500ms is used to move along the time axis of the preprocessed EEG data according to a preset window shift amount. Each sliding window corresponds to an EEG feature vector, and the thought state recognition result is continuously updated according to the EEG feature vectors corresponding to the continuous sliding windows.

[0010] Furthermore, the at least two preset thought tasks include a first preset thought task and a second preset thought task, wherein the first preset thought task and the second preset thought task correspond to a first thought category and a second thought category, respectively, and the current LDA classification model uses the following formula to determine the thought category to which the real-time EEG feature belongs: ; ; ; In the formula, This indicates the real-time EEG characteristics. and These represent the category means of the first thought category and the second thought category, respectively. This represents the common covariance matrix shared by the first idea category and the second idea category. Represents the discriminant vector. Indicates the bias term, according to The positive or negative sign of the real-time EEG feature determines whether it corresponds to a first or second mental state.

[0011] Furthermore, the first mental state corresponds to increasing the current vibration level, and the second mental state corresponds to decreasing the current vibration level. The target vibration level is determined by a preset segmented mapping relationship based on the recognition intensity of the current mental state or the continuous recognition time of the same mental state.

[0012] Furthermore, the preset model update conditions include at least one of the following: a preset usage time, a preset number of interactive control cycles completed, and receiving a user-triggered recalibration command. During the calibration phase, calibration prompts corresponding to at least two preset thought tasks are output in a preset order, and the current LDA classification model is updated once after obtaining new EEG features belonging to at least two different thought categories.

[0013] Furthermore, the category mean is updated according to the following formula: ; In the formula, Indicates the category of ideas, Indicates the number of model updates. Indicates the first Before the next update The category mean of the thought category. Indicates the first The next update has No new EEG feature vectors for the category of intention. Indicates the first The 1st update The category mean of the thought category. This represents the mean update coefficient, and 0 < .

[0014] Furthermore, the common covariance matrix is ​​updated according to the following formula: ; In the formula, Indicates the first The common covariance matrix before the next update Indicates the first The updated common covariance matrix This represents the covariance update coefficient, and , This represents the number of EEG feature samples used in the calculation of the common covariance matrix, and T represents the transpose operation; Using the Woodbury matrix identity, according to the first... The inverse of the common covariance matrix before the first update is obtained recursively. The inverse of the updated common covariance matrix is ​​used to redetermine the discriminant vector and bias term of the current LDA classification model based on the updated class mean and the inverse of the common covariance matrix.

[0015] According to a second aspect of the present invention, an adaptive control system for the interactive mode of an intelligent adult product is provided. The system includes an electroencephalogram (EEG) acquisition device, a control terminal, and an adult product. The EEG acquisition device is communicatively connected to the control terminal, and the adult product is communicatively connected to the control terminal. The adult product includes a vibration actuation component. The EEG acquisition device is used to collect EEG training data generated when the current user performs at least two preset intention tasks. Each preset intention task corresponds to an intention category, and each intention category represents an intention state. The control terminal is used to process the EEG training data using a preset preprocessing method and a preset feature extraction method to obtain the EEG training features of each of the thought categories, determine the category mean of each of the thought categories and the common covariance matrix shared by each of the thought categories based on the EEG training features, and establish the initial LDA classification model of the current user based on the category mean and the common covariance matrix, and use the initial LDA classification model as the current LDA classification model. The EEG acquisition device is also used to acquire real-time EEG data of the current user during the operation of the adult product. The control terminal is also used to process the real-time EEG data using the preset preprocessing method and the preset feature extraction method to obtain real-time EEG features. The real-time EEG features are input into the current LDA classification model to determine the current intention state of the current user. The target interaction mode of the adult product is determined according to the preset mapping relationship that different intention states correspond to different interaction modes or different adjustment directions of the interaction modes. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode and vibration output state. The control terminal is also used to generate control commands according to the target interaction mode and send the control commands to the adult product to control the vibration actuator to operate according to the target interaction mode; The control terminal is also used to enter the calibration phase when the preset model update conditions are met, and output a calibration prompt corresponding to at least one of the preset thought tasks. The EEG acquisition device is also used to acquire new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt. The control terminal is also used to process the new EEG data using the preset preprocessing method and the preset feature extraction method to obtain new EEG features, and determine the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features. The control terminal is also used to update the corresponding category mean and the common covariance matrix according to a preset update weight based on the new EEG feature, the pre-update category mean corresponding to the intention category of the new EEG feature in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, and to update the current LDA classification model based on the updated category mean and common covariance matrix. The control terminal is also used to identify subsequent real-time EEG features using the updated current LDA classification model, determine the subsequent interaction mode of the adult product based on the identified subsequent mental state, and control the adult product to operate according to the subsequent interaction mode.

[0016] The technical solution of the present invention has the following beneficial effects: This invention utilizes EEG data generated when a user performs a preset thought task to establish a thought classification model corresponding to that user. The recognition results of real-time EEG features are then used to determine the interaction mode of adult products, enabling interactive control to be based on the user's own EEG characteristics. During use, new EEG data with defined thought categories are used to update the category statistical parameters in the classification model, allowing the classification boundary to adjust according to changes in the user's current EEG characteristics, reducing recognition mismatch caused by the non-stationarity of EEG signals in fixed classification parameters. Training, real-time recognition, and model updates employ a consistent data processing method, which helps maintain the comparability of EEG features at different stages. The updated classification model continues to participate in subsequent interaction mode control, reducing mode switching errors caused by misidentification of thought states and improving the stability and consistency of interactive control during continuous use. Attached Figure Description

[0017] Figure 1 This is a flowchart of an adaptive control method for the interaction mode of an intelligent adult product, as described in an embodiment of this specification. Figure 2 This is a structural block diagram of an adaptive control system for the interaction mode of an intelligent adult product, as described in an embodiment of this specification. Detailed Implementation

[0018] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make the invention more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of the invention. However, those skilled in the art will recognize that the technical solutions of the invention may be practiced with one or more of these specific details omitted, or other methods, components, apparatus, steps, etc., may be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the invention.

[0019] Furthermore, the accompanying drawings are merely illustrative of the invention. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0020] This invention provides an adaptive control method for the interaction mode of intelligent adult products. (Refer to...) Figure 1 The diagram shown is a flowchart illustrating an adaptive control method for the interaction mode of an intelligent adult product according to an embodiment of the present invention. This method can be executed by a device, which can be implemented by software and / or hardware. Specifically, the method may include the following steps S101-S108: In step S101, EEG training data generated when the current user performs at least two preset thought tasks are collected by an EEG acquisition device. Each preset thought task corresponds to a thought category, and each thought category represents a thought state.

[0021] The EEG acquisition device can be a non-invasive multi-channel EEG acquisition device, which continuously acquires brain electrical activity through electrodes placed at different locations on the scalp. Before acquisition, the contact status of each electrode can be checked to ensure that each channel maintains an effective signal acquisition state, reducing the impact of poor electrode contact or misalignment on the stability of training data. Different users start with independent training, establishing a correspondence between the acquired EEG training data and the current user, rather than directly using training data from other users.

[0022] Pre-defined thought tasks are designed to enable users to actively generate brainwave activity with distinct categories, without requiring actual physical movements during execution. In practice, tasks such as imagining different syllables or imagining pushing or pulling virtual objects can be employed, with each task remaining distinct from the others. For example, in syllable visualization, users focus their internal visualization on the kinematic sensations corresponding to the phonation action, while avoiding actual vocalization, facial movements, and other accompanying actions to minimize brainwave interference from non-target movements.

[0023] The training process can be divided into multiple training segments. Within the same training segment, each thought category is sampled the same or similar number of times, and these samples are executed alternately in a random order. Each training session begins by providing the user with a task prompt corresponding to the current preset thought task. This thought task is then continuously executed within a predetermined training period. An interval period is then set to ensure clear time boundaries between adjacent training samples. The thought category corresponding to the EEG training data in that time period can be determined from the task prompt, thus forming training samples with defined category information for subsequent use in building the user's LDA classification model.

[0024] In step S102, the EEG training data is processed using a preset preprocessing method and a preset feature extraction method to obtain EEG training features for each of the thought categories. Based on the EEG training features, the category mean of each thought category and the common covariance matrix shared by each thought category are determined. An initial LDA classification model for the current user is established based on the category mean and the common covariance matrix, and the initial LDA classification model is used as the current LDA classification model.

[0025] The preset preprocessing method includes performing power frequency notch filtering and common average reference processing on the EEG training data, the real-time EEG data, and the new EEG data, respectively.

[0026] Among these methods, power frequency notch filtering is used to suppress the power frequency component of the power grid mixed in during EEG acquisition. Common averaging reference processing uses the average potential of multiple EEG channels at the same time as a common reference to correct the reference benchmark for each channel signal, thereby reducing the impact of background fluctuations shared by multiple channels on subsequent feature extraction. The training phase, real-time recognition phase, and model update phase all employ consistent preprocessing methods to ensure that the EEG features obtained at different stages maintain the same data processing benchmark, avoiding additional feature shifts introduced by changes in processing methods.

[0027] The preset feature extraction method includes calculating the power spectral density of preprocessed EEG data within a frequency range of 1Hz to 70Hz, with frequency intervals of 2Hz, and combining the power spectral densities corresponding to multiple EEG channels into an EEG feature vector. Power spectral density is used to characterize the distribution of EEG signal energy with frequency. By sequentially combining the power spectral densities corresponding to different frequency positions of each EEG channel, a multidimensional EEG feature vector reflecting the EEG spectral characteristics of the current time window can be formed. A sliding window is used to segment continuous EEG data, ensuring that each time window generates a corresponding EEG feature vector, providing time-updated input data for subsequent continuous recognition. In specific implementation, adjacent sliding windows can maintain a preset overlap to balance the temporal continuity of EEG features and the amount of data processing.

[0028] A sliding window with a window length of 500ms is used to move along the time axis of the preprocessed EEG data according to a preset window shift amount. Each sliding window forms an EEG feature vector, and the thought state recognition result is continuously updated based on the EEG feature vectors corresponding to the consecutive sliding windows.

[0029] The at least two preset thought tasks include a first preset thought task and a second preset thought task, wherein the first preset thought task and the second preset thought task correspond to a first thought category and a second thought category, respectively, and the current LDA classification model uses the following formula to determine the thought category to which the real-time EEG features belong: ; ; ; In the formula, This indicates the real-time EEG characteristics. and These represent the category means of the first thought category and the second thought category, respectively. This represents the common covariance matrix shared by the first idea category and the second idea category. Represents the discriminant vector. Indicates the bias term, according to The positive or negative sign of the real-time EEG feature determines whether it corresponds to a first or second mental state.

[0030] Linear Discriminant Analysis (LDA) establishes a linear classification boundary by statistically analyzing the EEG training features of different thought categories. The class mean reflects the central location of EEG features corresponding to that thought category in the feature space, while the common covariance matrix reflects the dispersion of each feature dimension and the common relationships between different feature dimensions. When building the classification model, the discriminant direction is determined by the differences between class means and the common covariance matrix, increasing the inter-class distance between different thought categories along that direction while controlling for the discrete influence of features within each category. LDA requires relatively few training samples and computational resources, making it suitable for subsequent continuous EEG recognition and classification parameter updates.

[0031] For the first and second thought categories, the category means can be calculated using the corresponding EEG training features, and a shared common covariance matrix can be determined using the EEG training features of the two categories. After real-time EEG features are input into the current LDA classification model, the discriminant value represents the position of the EEG feature relative to the classification boundary. Its sign is used to determine which side of the classification boundary the EEG feature is located on, thus obtaining the corresponding first or second thought state. Using the common covariance matrix enables linear discrimination between the two thought categories at a unified feature scale and maintains a unified model parameter structure for subsequent recursive adjustment of the classification boundary using new EEG features.

[0032] In step S103, during the operation of the adult product, the EEG data of the current user is collected in real time by the EEG acquisition device, and the real-time EEG features are obtained by the preset preprocessing method and the preset feature extraction method.

[0033] The real-time EEG data can be input as a continuous data stream. The EEG acquisition device maintains the same sampling and channel configuration as during the training phase while the adult product is in operation, ensuring that the real-time data and EEG training data are in the same data dimension and feature space. During real-time acquisition, data windows can be continuously formed at preset time intervals. Each data window corresponds to the EEG activity of the current time period and serves as input for a single real-time feature extraction. Adjacent data windows can partially overlap to improve the continuity of tracking changes in mental states and avoid lag in state transition detection caused by using only completely separate data segments.

[0034] Real-time EEG features refer to the feature vectors formed after performing the same preprocessing and feature extraction on the current data window as in the training phase. The number of feature terms, their order, and the corresponding EEG channels for each feature remain consistent. By maintaining consistent data processing conditions between the training and runtime phases, feature distribution shifts caused by changes in processing methods can be reduced, allowing real-time EEG features to be directly input into the current LDA classification model for thought state recognition.

[0035] In step S104, the real-time EEG features are input into the current LDA classification model to determine the current user's current mental state. According to the preset mapping relationship that different mental states correspond to different interaction modes or different adjustment directions of the interaction modes, the target interaction mode of the adult product is determined. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode and vibration output state.

[0036] The first intention state corresponds to increasing the current vibration level, and the second intention state corresponds to decreasing the current vibration level. The target vibration level is determined by a preset segmented mapping relationship based on the recognition intensity of the current intention state or the continuous recognition time of the same intention state.

[0037] LDA (Linear Discriminant Analysis) is a classification method that determines the corresponding thought category by the position of EEG features relative to the classification boundary in the feature space. Real-time EEG features are continuously input into the current LDA classification model, and classification results are continuously obtained as the data window updates, allowing the current thought state to be updated with changes in EEG activity. In addition to distinguishing between the first and second thought states, the classification results can also use the probability output of the corresponding category to characterize the recognition strength of the current classification result. Higher recognition strength indicates a higher degree of matching between the current real-time EEG features and the corresponding thought category. The probability output of the real-time classification can be continuously updated with EEG data and can serve as a continuous control variable for adjusting the interaction mode.

[0038] In one implementation, the direction of interaction mode adjustment is determined by the intention category, and the specific adjustment amount is determined by the recognition intensity or the duration of recognition. Recognition intensity can be represented by a normalized continuous quantity and divided into different control levels according to a preset interval; duration of recognition refers to the cumulative time during which the current LDA classification model continuously identifies multiple real-time EEG features as the same intention state. Using duration of recognition as the adjustment basis can reduce the frequent changes in vibration levels caused by short-term classification fluctuations, ensuring that the same intention state is maintained within the corresponding time range before performing the corresponding level adjustment.

[0039] The pre-defined segmented mapping relationship can divide the continuous recognition time into multiple time intervals and configure corresponding vibration levels for each time interval. For example, a continuous recognition time greater than 1 second and less than 3 seconds corresponds to a lower vibration level, greater than 3 seconds and less than 5 seconds corresponds to a medium vibration level, and greater than 5 seconds corresponds to a higher vibration level; recognition intensity can also be converted into vibration levels using the corresponding segmentation method. By using the intention state to determine the adjustment direction and the recognition intensity or continuous recognition time to determine the degree of adjustment, a continuous and executable control relationship can be formed between discrete intention classification results and multi-level interaction modes.

[0040] In step S105, a control command is generated according to the target interaction mode to control the vibration actuator of the adult product to operate according to the target interaction mode.

[0041] The control command may include an interaction mode identifier and vibration intensity parameters and / or temperature parameters corresponding to the target vibration level. The control terminal sends the control command to the adult product via a communication link. After receiving the control command, the adult product's microcontroller parses the interaction mode identifier and vibration intensity parameters, and outputs the corresponding drive signal to the vibration actuator through the vibration drive circuit, causing the vibration actuator to enter the target interaction mode. The EEG recognition result therefore does not directly act on the vibration actuator, but rather, after interaction mode determination and control command conversion, forms a control quantity that can be executed by the adult product.

[0042] Vibration intensity parameters can be represented digitally and converted into corresponding motor drive voltages or equivalent drive quantities by the vibration drive circuit. Different vibration intensity parameters correspond to different vibration levels. When the adult product receives a new control command, it adjusts the current vibration level to the target vibration level; when the target interaction mode changes, it switches the vibration output state according to the new interaction mode identifier. This control method establishes a clear data correspondence between the target interaction mode formed during the thought state recognition stage and the actual drive state of the vibration actuator.

[0043] In step S106, when the preset model update conditions are met, the calibration phase is entered and a calibration prompt corresponding to at least one of the preset thought tasks is output. The EEG acquisition device collects new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt. The control terminal obtains new EEG features using the preset preprocessing method and the preset feature extraction method, and determines the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features.

[0044] The preset model update conditions include at least one of the following: a preset usage time, a preset number of interactive control cycles completed, and receiving a user-triggered recalibration command. During the calibration phase, calibration prompts corresponding to at least two preset thought tasks are output in a preset order, and the current LDA classification model is updated once after obtaining new EEG features belonging to at least two different thought categories.

[0045] The calibration phase is used to obtain new EEG features with known categories, providing a clear categorical basis for subsequent model updates. The thought categories obtained during the normal interactive control phase belong to the current LDA classification model's recognition results and cannot be directly used as the true categories of new EEG features for model updates. Upon entering the calibration phase, the control terminal sequentially displays prompts corresponding to different preset thought tasks via a display interface. The current user performs the corresponding thought task according to the prompts, establishing a definite relationship between the new EEG data collected during that period and the thought categories corresponding to the prompts.

[0046] Each preset thought task's calibration process can form an independent data acquisition interval, with intervals set between adjacent thought tasks to ensure that new EEG data from different thought categories are temporally separated. The processing method for new EEG data remains consistent with the initial training phase, ensuring that the acquired new EEG features are in the same feature space as the original EEG training features, facilitating their direct use in subsequent parameter updates for the current LDA classification model. The calibration phase acquires new EEG features from at least two different thought categories before performing a model update, preventing changes in classification parameters from a single thought category from affecting the discriminative relationships between different thought categories.

[0047] The preset usage duration and preset number of interactive control cycles are used to establish periodic model calibration opportunities, while the recalibration command is used for the current user to actively initiate the calibration process. Different update conditions can be used individually or in combination, enabling the current LDA classification model to reacquire new EEG features with a definite intention category at predetermined times during continuous operation, providing a data foundation for subsequent classification parameter updates.

[0048] In step S107, based on the new EEG feature, the pre-update class mean corresponding to the thought category of the new EEG feature in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, the corresponding class mean and the common covariance matrix are updated according to preset update weights, and the current LDA classification model is updated based on the updated class mean and common covariance matrix.

[0049] The category mean is updated according to the following formula: ; In the formula, Indicates the category of ideas, Indicates the number of model updates. Indicates the first Before the next update The category mean of the thought category. Indicates the first The next update has No new EEG feature vectors for the category of intention. Indicates the first The 1st update The category mean of the thought category. This represents the mean update coefficient, and 0 < .

[0050] The common covariance matrix is ​​updated according to the following formula: ; In the formula, Indicates the first The common covariance matrix before the next update Indicates the first The updated common covariance matrix This represents the covariance update coefficient, and , This represents the number of EEG feature samples used in the calculation of the common covariance matrix, and T represents the transpose operation; Using the Woodbury matrix identity, according to the first... The inverse of the common covariance matrix before the first update is obtained recursively. The inverse of the updated common covariance matrix is ​​used to redetermine the discriminant vector and bias term of the current LDA classification model based on the updated class mean and the inverse of the common covariance matrix.

[0051] Among them, the mean update coefficient Covariance update coefficient Used to adjust the relative influence of historical classification parameters and new EEG features in model updates. or When the value is small, the updated classification parameters retain more statistical information of the existing EEG features, and the model changes more gradually. or As the value increases, the influence of new EEG features on classification parameters improves, and the model can adapt to changes in the user's current EEG features more quickly. In practical applications, the update coefficient can be set according to the degree of change in EEG features over time to balance the model's adaptation speed and the stability of classification parameters.

[0052] The category mean is used to characterize the central position of the EEG feature corresponding to the thought category in the feature space, while the common covariance matrix is ​​used to characterize the common discrete relationship between different EEG feature dimensions. When a new EEG feature is added, the central position and common discrete relationship of the corresponding category are adjusted accordingly, allowing the classification boundary to follow changes in the current user's EEG feature distribution. Each update uses the determined thought category obtained during the calibration phase as the category label for the new EEG feature, ensuring that parameter updates apply to the corresponding thought category.

[0053] The Woodbury matrix identity is used to recursively calculate the updated inverse matrix given the inverse of the common covariance matrix before the update, avoiding the need to re-invert the complete common covariance matrix for each model update. Its expression is: ; in: ; ; ; ; In the formula, It is the identity matrix. , , and This is an intermediate variable used to meet the dimensionality requirements of matrix operations. After obtaining the inverse of the updated common covariance matrix using a recursive method, it can be directly used to recalculate the discriminant vector and bias term of the LDA classification model, thereby reducing the amount of matrix computation during the continuous model update process.

[0054] In step S108, the updated current LDA classification model is used to identify subsequent real-time EEG features, and the subsequent interaction mode of the adult product is determined and controlled based on the identified subsequent mental state.

[0055] The updated LDA classification model continues to use the aforementioned real-time EEG feature input method to classify the subsequently generated EEG features. Since the class mean and common covariance matrix have been updated in conjunction with the new EEG features from the calibration phase, the newly determined discriminant vector and bias term can reflect the current user's newer EEG feature distribution, enabling subsequent thought state recognition to be based on the updated classification boundary.

[0056] The determination of subsequent thought states can continue to utilize the aforementioned preset mapping relationship between thought categories and interaction modes, and the recognition results can be converted into corresponding interaction modes or the direction of interaction mode adjustment. The updated current LDA classification model will continue to participate in real-time recognition during subsequent operation, enabling the model update results to directly affect subsequent interactive control, rather than being saved merely as independent calibration results.

[0057] When the preset model update conditions are met again, the calibration phase can be restarted to obtain new EEG features with a defined intention category, and the current LDA classification model can be updated again in the aforementioned manner. This forms a cyclical process of real-time recognition, interactive control, calibration update, and continued recognition after the update, enabling the current LDA classification model to gradually adjust as the user's EEG features change.

[0058] Based on the same line of thought, such as Figure 2 The diagram shown is a structural block diagram of an adaptive control system for the interactive mode of an intelligent adult product according to an embodiment of the present invention. The system includes an EEG acquisition device 201, a control terminal 202, and an adult product 203. The EEG acquisition device 201 is communicatively connected to the control terminal 202, and the adult product 203 is communicatively connected to the control terminal 202. The adult product 203 includes a vibration actuator. The EEG acquisition device 201 is used to collect EEG training data generated when the current user performs at least two preset intention tasks. Each preset intention task corresponds to an intention category, and each intention category represents an intention state. The control terminal 202 is used to process the EEG training data using a preset preprocessing method and a preset feature extraction method to obtain the EEG training features of each of the thought categories, determine the category mean of each of the thought categories and the common covariance matrix shared by each of the thought categories based on the EEG training features, and establish the initial LDA classification model of the current user based on the category mean and the common covariance matrix, and use the initial LDA classification model as the current LDA classification model; The EEG acquisition device 201 is also used to acquire real-time EEG data of the current user during the operation of the adult product. The control terminal is also used to process the real-time EEG data using the preset preprocessing method and the preset feature extraction method to obtain real-time EEG features. The real-time EEG features are input into the current LDA classification model to determine the current mental state of the current user. The target interaction mode of the adult product is determined according to the preset mapping relationship that different mental states correspond to different interaction modes or different adjustment directions of the interaction modes. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode and vibration output state. The control terminal 202 is also used to generate control commands according to the target interaction mode and send the control commands to the adult product 203 to control the vibration actuator to operate according to the target interaction mode; The control terminal 202 is further configured to enter the calibration phase when the preset model update conditions are met, and output a calibration prompt corresponding to at least one of the preset thought tasks. The EEG acquisition device 201 is further configured to acquire new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt. The control terminal 202 is further configured to process the new EEG data using the preset preprocessing method and the preset feature extraction method to obtain new EEG features, and determine the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features. The control terminal 202 is also used to update the corresponding category mean and the common covariance matrix according to a preset update weight based on the new EEG feature, the pre-update category mean corresponding to the intention category of the new EEG feature in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, and update the current LDA classification model based on the updated category mean and common covariance matrix. The control terminal 202 is also used to identify subsequent real-time EEG features using the updated current LDA classification model, determine the subsequent interaction mode of the adult product based on the identified subsequent mental state, and control the adult product to operate according to the subsequent interaction mode.

[0059] This system utilizes EEG data generated when a user performs a preset thought task to establish a thought classification model corresponding to that user. The real-time EEG feature recognition results are then used to determine the interaction mode of adult products, enabling interactive control to be based on the user's own EEG characteristics. During use, new EEG data with defined thought categories are used to update the category statistical parameters in the classification model, allowing the classification boundary to adjust according to changes in the user's EEG characteristics, reducing recognition mismatch caused by the non-stationarity of EEG signals in fixed classification parameters. Training, real-time recognition, and model updates employ consistent data processing methods, which helps maintain the comparability of EEG features at different stages. The updated classification model continues to participate in subsequent interaction mode control, reducing mode switching errors caused by misidentification of thought states and improving the stability and consistency of interactive control during continuous use.

[0060] The specific details of the above system have been described in detail in the implementation method section. For any undisclosed details, please refer to the implementation method section, and therefore will not be repeated here.

[0061] The above figures are merely illustrative representations of the processes included in the method according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Furthermore, it is also readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0062] It should be noted that although several modules or units of the system have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0063] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.

[0064] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. An adaptive control method for the interaction mode of an intelligent adult product, characterized in that, The method includes: EEG training data is collected by an EEG acquisition device when the current user performs at least two preset intention tasks. Each preset intention task corresponds to an intention category, and each intention category represents an intention state. The EEG training data is processed using a preset preprocessing method and a preset feature extraction method to obtain EEG training features for each of the thought categories. Based on the EEG training features, the category mean of each thought category and the common covariance matrix shared by each thought category are determined. An initial LDA classification model for the current user is established based on the category mean and the common covariance matrix, and the initial LDA classification model is used as the current LDA classification model. During the operation of the adult product, the EEG data of the current user is collected in real time by the EEG acquisition device, and the real-time EEG features are obtained by the preset preprocessing method and the preset feature extraction method. The real-time EEG features are input into the current LDA classification model to determine the current user's current mental state. According to the preset mapping relationship that different mental states correspond to different interaction modes or different adjustment directions of the interaction modes, the target interaction mode of the adult product is determined. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode and vibration output state. Control commands are generated based on the target interaction mode to control the vibration actuator of the adult product to operate according to the target interaction mode; When the preset model update conditions are met, the system enters the calibration phase and outputs a calibration prompt corresponding to at least one of the preset thought tasks. The system collects new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt through the EEG acquisition device. The control terminal obtains new EEG features using the preset preprocessing method and the preset feature extraction method, and determines the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features. Based on the new EEG features, the pre-update class mean corresponding to the thought category of the new EEG features in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, the corresponding class mean and the common covariance matrix are updated according to the preset update weights, and the current LDA classification model is updated based on the updated class mean and the common covariance matrix. The updated current LDA classification model is used to identify subsequent real-time EEG features, and the subsequent interaction mode of the adult product is determined and controlled based on the identified subsequent mental states.

2. The adaptive control method for the interaction mode of intelligent adult products according to claim 1, characterized in that, The preset preprocessing method includes performing power frequency notch filtering and common average reference processing on the EEG training data, the real-time EEG data, and the new EEG data, respectively.

3. The adaptive control method for the interaction mode of intelligent adult products according to claim 1, characterized in that, The preset feature extraction method includes calculating the power spectral density of the preprocessed EEG data in the frequency range of 1Hz to 70Hz with a frequency interval of 2Hz, and forming an EEG feature vector by combining the power spectral densities corresponding to multiple EEG channels.

4. The adaptive control method for the interaction mode of intelligent adult products according to claim 3, characterized in that, A sliding window with a window length of 500ms is used to move along the time axis of the preprocessed EEG data according to a preset window shift amount. Each sliding window forms an EEG feature vector, and the thought state recognition result is continuously updated based on the EEG feature vectors corresponding to the consecutive sliding windows.

5. The adaptive control method for the interaction mode of intelligent adult products according to claim 1, characterized in that, The at least two preset thought tasks include a first preset thought task and a second preset thought task, wherein the first preset thought task and the second preset thought task correspond to a first thought category and a second thought category, respectively, and the current LDA classification model uses the following formula to determine the thought category to which the real-time EEG features belong: ; ; ; In the formula, This indicates the real-time EEG characteristics. and These represent the category means of the first thought category and the second thought category, respectively. This represents the common covariance matrix shared by the first idea category and the second idea category. Represents the discriminant vector. Indicates the bias term, according to The positive or negative sign of the real-time EEG feature determines whether it corresponds to a first or second mental state.

6. The adaptive control method for the interaction mode of intelligent adult products according to claim 5, characterized in that, The first intention state corresponds to increasing the current vibration level, and the second intention state corresponds to decreasing the current vibration level. The target vibration level is determined by a preset segmented mapping relationship based on the recognition intensity of the current intention state or the continuous recognition time of the same intention state.

7. The adaptive control method for the interaction mode of intelligent adult products according to claim 1, characterized in that, The preset model update conditions include at least one of the following: a preset usage time, a preset number of interactive control cycles completed, and receiving a user-triggered recalibration command. During the calibration phase, calibration prompts corresponding to at least two preset thought tasks are output in a preset order, and the current LDA classification model is updated once after obtaining new EEG features belonging to at least two different thought categories.

8. The adaptive control method for the interaction mode of intelligent adult products according to claim 1, characterized in that, The category mean is updated according to the following formula: ; In the formula, Indicates the category of ideas, Indicates the number of model updates. Indicates the first Before the next update The category mean of the thought category. Indicates the first The next update has No new EEG feature vectors for the category of intention. Indicates the first The 1st update The category mean of the thought category. This represents the mean update coefficient, and 0 < .

9. The adaptive control method for the interaction mode of intelligent adult products according to claim 8, characterized in that, The common covariance matrix is ​​updated according to the following formula: ; In the formula, Indicates the first The common covariance matrix before the next update Indicates the first The updated common covariance matrix This represents the covariance update coefficient, and , This represents the number of EEG feature samples used in the calculation of the common covariance matrix, and T represents the transpose operation; Using the Woodbury matrix identity, according to the first... The inverse of the common covariance matrix before the first update is obtained recursively. The inverse of the updated common covariance matrix is ​​used to redetermine the discriminant vector and bias term of the current LDA classification model based on the updated class mean and the inverse of the common covariance matrix.

10. An adaptive control system for the interactive mode of an intelligent adult product, the system comprising an EEG acquisition device, a control terminal, and an adult product, wherein the EEG acquisition device is communicatively connected to the control terminal, the adult product is communicatively connected to the control terminal, and the adult product includes a vibration actuator. The EEG acquisition device is used to collect EEG training data generated when the current user performs at least two preset intention tasks. Each preset intention task corresponds to an intention category, and each intention category represents an intention state. The control terminal is used to process the EEG training data using a preset preprocessing method and a preset feature extraction method to obtain the EEG training features of each of the thought categories, determine the category mean of each of the thought categories and the common covariance matrix shared by each of the thought categories based on the EEG training features, and establish the initial LDA classification model of the current user based on the category mean and the common covariance matrix, and use the initial LDA classification model as the current LDA classification model. The EEG acquisition device is also used to acquire real-time EEG data of the current user during the operation of the adult product. The control terminal is also used to process the real-time EEG data using the preset preprocessing method and the preset feature extraction method to obtain real-time EEG features. The real-time EEG features are input into the current LDA classification model to determine the current user's current mental state. The target interaction mode of the adult product is determined according to a preset mapping relationship where different mental states correspond to different interaction modes or different adjustment directions of the interaction modes. The interaction mode is an execution output state determined by at least one of vibration intensity, vibration level, vibration mode, and vibration output state. The control terminal is also used to generate control commands according to the target interaction mode and send the control commands to the adult product to control the vibration actuator to operate according to the target interaction mode; The control terminal is also used to enter the calibration phase when the preset model update conditions are met, and output a calibration prompt corresponding to at least one of the preset thought tasks. The EEG acquisition device is also used to acquire new EEG data generated when the current user performs the corresponding preset thought task according to the calibration prompt. The control terminal is also used to process the new EEG data using the preset preprocessing method and the preset feature extraction method to obtain new EEG features, and determine the thought category corresponding to the preset thought task corresponding to the calibration prompt as the thought category of the new EEG features. The control terminal is also used to update the corresponding category mean and the common covariance matrix according to a preset update weight based on the new EEG feature, the pre-update category mean corresponding to the intention category of the new EEG feature in the current LDA classification model, and the pre-update common covariance matrix of the current LDA classification model, and to update the current LDA classification model based on the updated category mean and common covariance matrix. The control terminal is also used to identify subsequent real-time EEG features using the updated current LDA classification model, determine the subsequent interaction mode of the adult product based on the identified subsequent mental state, and control the adult product to operate according to the subsequent interaction mode.