Modular biomimetic electro-mechanical robot facial expression drive system
By using a modular biomyoelectric robot facial expression driving system, electromyographic signals are directly mapped to time-varying control signals for the robot's face. This solves the problems of dynamic continuity and delay caused by the discretization of electromyographic signals in existing technologies, and realizes the natural rhythm of robot facial expressions and low-latency real-time interaction.
Patent Information
- Application Number
- CN202611444955.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies discretize continuous electromyographic signals into facial expression categories before using lookup tables, resulting in a lack of dynamic continuity in robot facial expressions and a delay in real-time interactive experience.
A modular biomyoelectric robot facial expression driving system is adopted. Through electromyography signal acquisition, temporal feature extraction, temporal prediction and trajectory driving mapping modules, the electromyography signal is directly mapped into the time-varying control signal of the robot's face, realizing end-to-end control, preserving the amplitude, velocity and acceleration information of the electromyography signal, and adopting a rolling time domain prediction strategy to reduce latency.
It achieves dynamic continuity and low-latency real-time interaction of robot facial expressions. By preserving the temporal characteristics of electromyographic signals and using a rolling prediction strategy, it ensures the natural rhythm and fluency of robot expressions.
Smart Images

Figure CN123169162A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of bionic robot technology, and in particular to a modular bionic myoelectric robot facial expression driving system. Background Technology
[0002] Facial expression actuation in bionic robots based on electromyographic signals has become a research hotspot in recent years. Existing technologies are mainly divided into two categories: one is a two-level scheme of recognition-driving, which first identifies the expression category through a classifier and then drives the actuator by looking up a table, such as the invention patent with publication number CN122413046A; the other is a scheme that directly maps electromyographic features into driving commands, such as the invention patent with publication number CN119347820A.
[0003] However, the above-mentioned solutions all suffer from the following technical biases: First, existing technologies generally extract static statistical features such as root mean square value and average absolute value from electromyography (EMG) signals, assuming that these steady-state features are sufficient to characterize facial expression intentions, but they lose temporal evolution information such as signal rise rate and peak duration; Second, the "recognition-drive" two-level paradigm transforms a continuous control problem into a discrete classification problem. After passing through the classifier, the EMG signal is compressed into a finite number of labels, and information such as the intensity and speed of the smile is discarded in the classification stage; Third, existing technologies treat robot facial expression control as a position control problem, only outputting target position commands, and cannot express the rhythm and fluency of facial expressions.
[0004] The aforementioned defects result in a lack of dynamic continuity in the robot's facial expressions, and the delay introduced by the two-level paradigm affects the real-time interactive experience. Summary of the Invention
[0005] This invention proposes a modular biomyoelectric robot facial expression driving system, which aims to solve the technical problem of paradigm bias in the prior art, which discretizes continuous electromyographic signals into expression categories and then performs table lookup driving.
[0006] This invention provides a modular biomyoelectric robot facial expression driving system, comprising: The electromyography (EMG) signal acquisition module is used to acquire facial EMG signals from the user and construct a time-series signal window; The temporal feature extraction module is communicatively connected to the electromyography signal acquisition module and is used to extract the original signal values, first-order difference values and second-order difference values of the temporal signal window, and align them in the time dimension to construct an electromyography temporal trajectory matrix. The time-series prediction module has a built-in time-series prediction model, which is a sequence prediction model based on the Transformer architecture. It is used to predict the electromyographic signal values at future times based on the electromyographic time-series trajectory matrix to obtain the future time-series trajectory. The trajectory-driven mapping module has a built-in trajectory-driven mapping model, which is a mapping model based on a temporal convolutional network. It is used to generate the target position, target velocity and target acceleration at each time step according to the future temporal trajectory, and obtain a time-varying control signal sequence. The drive output module is used to output the time-varying control signal sequence to drive the robot's face to produce facial expressions.
[0007] Furthermore, the time-series prediction model includes an input embedding layer, a multi-head self-attention layer, a feedforward neural network layer, and a linear output layer connected in sequence; the input embedding layer is used to map the vector at each time step in the electromyography time-series trajectory matrix into an embedding vector, the multi-head self-attention layer is used to extract the dependencies between channels and between time steps, and the linear output layer is used to output the electromyography signal values at future time steps.
[0008] Furthermore, the temporal prediction model also includes a position encoding layer connected between the input embedding layer and the multi-head self-attention layer, used to add temporal position information to the embedding vector at each time step.
[0009] Furthermore, the multi-head self-attention layer includes multiple parallel attention heads, each of which calculates the correlation weight between any two time points in the embedding vector, and the multi-head self-attention layer concatenates the outputs of each attention head before outputting the result.
[0010] Furthermore, the trajectory-driven mapping model includes multiple dilated convolutional layers and a fully connected output layer connected in sequence. The dilation rate of the multiple dilated convolutional layers increases sequentially, which is used to extract the temporal features of the future time-series trajectory at different time scales. The fully connected output layer is used to map the temporal features to the target position, the target velocity, and the target acceleration.
[0011] Furthermore, the trajectory-driven mapping model also includes a residual connection structure, which is disposed between each of the dilated convolutional layers, for adding the input and output of the previous dilated convolutional layer and then inputting it into the next dilated convolutional layer.
[0012] Furthermore, it also includes a rolling time-domain prediction step: reacquiring electromyographic signals and updating the time-varying control signal sequence in each control cycle, and only executing the target position, target velocity, and target acceleration at the current moment.
[0013] Furthermore, the trajectory-driven mapping model is trained using a composite loss function, which includes a position loss term, a velocity loss term, an acceleration loss term, and a temporal feature alignment loss term. The temporal feature alignment loss term is used to constrain the temporal evolution pattern of the time-varying control signal sequence to be consistent with the temporal evolution pattern of the electromyographic temporal trajectory matrix.
[0014] Furthermore, the acquisition of facial electromyography (EMG) signals includes: acquiring multi-channel surface EMG signals through an electrode array attached to multiple key muscle groups on the user's face, wherein the multiple key muscle groups include multiple of the frontalis muscle, orbicularis oculi muscle, zygomaticus major muscle, levator labii superioris muscle, orbicularis oris muscle, and depressor anguli oris muscle.
[0015] The technical effects of the disclosed technical solution are as follows: First, it overcomes the technical bias of discretizing electromyographic signals into facial expression categories. This invention extracts first-order and second-order difference values to completely preserve the temporal features of the electromyographic signal at three levels—amplitude, velocity, and acceleration—into the electromyographic temporal trajectory matrix. By replacing discrete categories with continuous temporal trajectories, it avoids information loss in the classification process.
[0016] Second, it achieves end-to-end mapping from electromyographic temporal trajectories to time-varying actuator trajector ...
[0017] Third, a rolling time-domain prediction strategy is employed to achieve low-latency real-time tracking. This invention re-acquires electromyographic signals, re-predicts, and regenerates control signals in each control cycle, but only executes the control command for the current moment. The time-series prediction model can predict muscle movement trends in advance, effectively compensating for the physical delays in signal acquisition, transmission, and processing.
[0018] Fourth, the temporal feature alignment loss function ensures that the electromyographic temporal features are completely preserved in the actuator motion trajectory. This invention introduces dynamic time warping distance as a temporal feature alignment loss term in the training of the trajectory-driven mapping model, so that the temporal evolution pattern of the actuator motion trajectory is consistent with the temporal evolution pattern of the electromyographic signal. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the principle framework of the modular biomyoelectric robot facial expression driving system proposed in an embodiment of the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] This invention addresses the paradigm bias inherent in discretizing continuous electromyographic signals into facial expression categories before performing lookup table-driven facial expression control, as mentioned in the background section. This embodiment provides a modular bionic electromyographic robot facial expression driving system, referencing... Figure 1 As shown, it specifically includes: The electromyography (EMG) signal acquisition module includes a high-density flexible dry electrode array and a signal conditioning unit. The electrode array contains 8 to 16 channels and is attached to key facial muscle groups. Based on facial anatomy, these key muscle groups include: the frontalis muscle, located in the forehead, which controls eyebrow lifting and forehead wrinkles; the orbicularis oculi muscle, located around the eyelids, which controls eyelid closure and crow's feet wrinkles; the zygomaticus major muscle, located in the cheek, which controls lifting the corners of the mouth and smiling; the levator labii superioris muscle, located above the upper lip, which controls upper lip lifting; the orbicularis oris muscle, located around the lips, which controls lip closure and pursing; and the depressor anguli oris muscle, located below the corners of the mouth, which controls pulling down the corners of the mouth.
[0022] The surface electromyography (EMG) signals acquired from each electrode channel are pre-amplified by a signal conditioning unit with a gain of 1000 to 10000 times. Then, they undergo bandpass filtering with a passband frequency of 10 Hz to 500 Hz. Next, power frequency notch filtering is applied to suppress 50 Hz or 60 Hz power frequency interference. After the above analog signal processing, the analog signals are converted into digital signals by an analog-to-digital converter at a preset sampling frequency, preferably 1000 Hz.
[0023] The timing signal window for each channel is constructed with a preset window length, preferably 300 milliseconds. The reason for choosing 300 milliseconds is that the typical time for human facial muscles to go from a resting state to a maximum contraction state is 200 to 400 milliseconds, and a window length of 300 milliseconds can completely cover the three stages of the onset, development and peak of an expression.
[0024] The timing feature extraction module performs preprocessing on the received timing signal window. Preprocessing includes the following sub-steps: First, a software noise reduction method that fully integrates empirical mode decomposition and adaptive noise is adopted to decompose the signal of each channel into multiple intrinsic mode functions and remove high-frequency noise components and low-frequency baseline drift components.
[0025] Second, individual baseline normalization is performed to normalize the signal amplitude of each channel to a uniform dynamic range, thereby eliminating the impact of individual differences on subsequent processing. The specific normalization method is as follows: calculate the signal mean and standard deviation of each channel in the resting state, subtract the mean from the real-time signal value, and then divide by the standard deviation.
[0026] After preprocessing, the temporal evolution features of each channel are extracted, including three levels: original signal value, first-order difference value, and second-order difference value.
[0027] For the preprocessed signal sequence of the i-th channel, the first-order difference is the difference between the signal value at the current time and the signal value at the previous time: ; The first-order difference value reflects the speed of muscle contraction or relaxation. A positive value indicates an increase in muscle activation intensity, i.e., muscle contraction, while a negative value indicates a decrease in muscle activation intensity, i.e., muscle relaxation. The larger the absolute value, the faster the rate of change.
[0028] The second-order difference is the difference between the first-order difference at the current time and the first-order difference at the previous time: ; The second-order difference value reflects the acceleration of muscle contraction or relaxation. A positive value indicates that the contraction speed is accelerating, i.e., the force exertion phase, while a negative value indicates that the contraction speed is slowing down, i.e., the force release phase.
[0029] Align the original signal values, first-order difference values, and second-order difference values of each channel along the time dimension to construct the electromyographic time trajectory matrix H(t): ; in Let be the vector of original signal values for all channels at time t. Let be the first-order difference vector of all channels at time t. Let be the second-order difference vector of all channels at time t. For window length, The sampling interval is defined as follows. Each row of this matrix corresponds to a time point, and each column corresponds to the original signal value, first-order difference value, or second-order difference value of an electromyographic channel, thus fully recording the amplitude, velocity, and acceleration information of each electromyographic signal in the time dimension.
[0030] By extracting first-order and second-order difference features, the temporal features of the electromyographic signal at three levels—amplitude, velocity, and acceleration—are completely preserved in the electromyographic temporal trajectory matrix, providing a sufficient information basis for subsequent temporal prediction.
[0031] The timing prediction module has a built-in timing prediction model based on the Transformer architecture, which is used to predict the timing trajectory of each electromyographic channel in the future time window based on the electromyographic timing trajectory matrix H(t) before the current time.
[0032] The model consists of the following modules connected in sequence: (i) Input Embedding Layer: The input embedding layer maps the vector at each time step in the electromyographic time trajectory matrix H(t) to a fixed-dimensional embedding vector through a linear transformation. Specifically, for the vector at the k-th time step in H(t), whose dimension is 3×N (N is the total number of electromyographic channels), the input embedding layer linearly transforms it to a fixed-dimensional embedding vector using a trainable weight matrix. Embedded vector, 128 dimensions are preferred.
[0033] (ii) Position Encoding Layer: Since the Transformer's self-attention mechanism itself does not contain temporal position information, the position encoding layer is used to add temporal position information to each moment in the temporal signal window, enabling the model to perceive the order of each moment in the temporal sequence. This invention uses sine-cosine position encoding, and the position encoding value is added to the output of the input embedding layer.
[0034] (III) Multi-head self-attention layer: The multi-head self-attention layer is used to capture the spatial dependencies between different electromyographic channels and the temporal dependencies between different time points. The self-attention mechanism captures global dependencies by calculating the correlation weights between any two positions in the sequence. The core calculation formula of the self-attention mechanism is: ; Where Q is the query matrix, K is the key matrix, and V is the value matrix. Let Q be the dimension of the key vector. Q, K, and V are all obtained by linearly transforming the input sequence through three different trainable weight matrices.
[0035] The multi-head self-attention mechanism employs multiple attention heads for parallel computation, with each attention head capturing different dependency patterns from different subspaces. Let the number of attention heads be h (preferably 8). The outputs of each head are concatenated and then subjected to a linear transformation to obtain the final output of the multi-head self-attention mechanism.
[0036] (iv) Feedforward Neural Network Layer: The feedforward neural network layer is used to perform non-linear transformations on the features weighted by the attention mechanism. This layer uses a two-layer fully connected network. The first layer feeds the input from... Dimensional mapping to 4× The second layer uses 4×4 as the activation function. Dimension Mapping Back dimension.
[0037] After each multi-head self-attention layer and feedforward neural network layer, residual connections and layer normalization operations are employed. Residual connections add the layer's input and output, while layer normalization normalizes the sum.
[0038] (v) Linear output layer: The linear output layer maps the encoded features to the predicted electromyographic signal values at each time point within the future time window. Suppose that the future time window contains m time points, the output dimension of the linear output layer is m×N, where N is the total number of electromyographic channels.
[0039] The training process of the time series prediction model is as follows: A large amount of multi-channel electromyography (EMG) signal data from users under different facial expressions was collected. Specifically, multiple users were asked to make various natural facial expressions in a laboratory environment, including neutral, smiling, laughing, surprised, frowning, sad, and angry expressions. Each expression was repeated multiple times, and the EMG signals of each channel were recorded at a sampling frequency of 1000Hz. The training data was labeled as follows: historical time-series signal windows were used as input features, and the corresponding future time-series signal windows (subsequent signals actually collected) were used as training labels.
[0040] The collected data was divided into training, validation, and test sets in a ratio of 7:1.5:1.5. For each training sample, historical time-series signal windows were used as input features, and the corresponding future time-series signal windows were used as training labels. Mean squared error was used as the loss function, and the Adam optimizer was employed for training. The initial learning rate was set to 0.001, the batch size to 64, and the number of training epochs to 100. After each training epoch, the model performance was evaluated on the validation set. If the validation set loss no longer decreased within 10 consecutive epochs, training was stopped early to prevent overfitting.
[0041] The technical advantage of this step is that by using the multi-head self-attention mechanism of the Transformer architecture, it can effectively capture the spatial dependence (such as the co-activation pattern of the zygomaticus major and orbicularis oris muscles when smiling) and temporal dependence (such as the temporal pattern of muscle contraction initiation, development and extinction) between multi-channel electromyographic signals, and the prediction accuracy is significantly better than traditional linear prediction methods or recurrent neural networks.
[0042] The trajectory-driven mapping module has a built-in trajectory-driven mapping model based on a temporal convolutional network, which is used to generate time-varying control signal sequences for each drive of the robot based on the predicted temporal trajectory output by the temporal prediction model.
[0043] The model includes the following modules: (i) Input layer: The input layer receives the predicted time trajectory output by the time prediction model. The dimension of the predicted time trajectory is m×N, where m is the number of moments in the future time window and N is the number of electromyography channels.
[0044] (ii) Multiple dilated convolutional layers are used to extract temporal features of the predicted temporal trajectory at different time scales. The kernel of a standard convolution slides continuously on the input sequence, while the kernel of a dilated convolution inserts a fixed interval (i.e., dilation rate) between the elements of the kernel, allowing the kernel to capture features over a larger range.
[0045] This invention employs 4 to 6 dilated convolutional layers, with the dilation rate of each layer increasing sequentially. For example, the first layer has a dilation rate of 1 (i.e., standard convolution), the second layer has a dilation rate of 2, the third layer has a dilation rate of 4, the fourth layer has a dilation rate of 8, and the fifth layer has a dilation rate of 16. This increasing dilation rate design allows shallow networks to capture short-term, rapidly changing features (such as the initial phase of muscle contraction), while deep networks capture long-term, slowly changing features (such as the maintenance and decay phases of facial expressions). The kernel size of each dilated convolutional layer is preferably 3 to 5.
[0046] Each dilated convolutional layer is followed by a batch normalization layer and a ReLU activation function. Batch normalization is used to accelerate training and improve model stability, while the ReLU activation function is used to introduce non-linearity.
[0047] (iii) Residual connection structure: The residual connection structure fuses shallow and deep features. Specifically, the input and output of each dilated convolutional layer are added element-wise, and the result is used as the input of the next layer. Residual connections alleviate the gradient vanishing problem, enabling the network to learn deeper temporal features.
[0048] (iv) Fully connected output layer: The fully connected output layer maps the temporal features to the target position, target velocity, and target acceleration of each actuator at each time step. Suppose that there are D actuators in the robot face. The output dimension of the fully connected output layer is m×D×3, where m is the number of time steps in the future time window, D is the number of actuators, and 3 corresponds to the three control variables of position, velocity, and acceleration, respectively.
[0049] The training process of the trajectory-driven mapping model is as follows: A large number of paired samples of electromyographic signals and robot actuation data were collected. Specifically, while the user made various facial expressions, the robot's face was driven to make the same expressions as the user through remote control or a preset program. At the same time, two types of data were recorded: first, the multi-channel electromyographic signals of the user's face; second, the actual motion trajectory of each actuator of the robot's face, including the position, velocity and acceleration at each moment.
[0050] The predicted temporal trajectory obtained after processing the electromyographic signal by the temporal prediction model is used as the input feature of the trajectory-driven mapping model. The corresponding actual motion trajectory of the robot actuator is used as the training label.
[0051] Training is performed using a composite loss function, which includes a position loss term, a velocity loss term, an acceleration loss term, and a temporal feature alignment loss term. The position loss term constrains the error between the predicted and actual positions; the velocity loss term constrains the error between the predicted and actual velocities; and the acceleration loss term constrains the error between the predicted and actual accelerations. The temporal feature alignment loss term uses dynamic time warping distance to measure the similarity in temporal evolution patterns between the predicted and actual driver motion trajectories. Dynamic time warping allows for non-linear alignment of two sequences along the time axis, thus being unaffected by slight offsets in the time axis and accurately measuring the similarity in shape between the two trajectories.
[0052] The weights of each loss term control the importance of position accuracy, velocity accuracy, acceleration accuracy, and temporal feature alignment, respectively. In this embodiment, the weight of the position loss term is 0.4, the weight of the velocity loss term is 0.3, the weight of the acceleration loss term is 0.2, and the weight of the temporal feature alignment loss term is 0.1. The Adam optimizer is used for training, with an initial learning rate of 0.001, a batch size of 32, and 80 training epochs.
[0053] By aligning the loss term with the temporal features in the composite loss function (using dynamic time warping distance), we ensure that the temporal evolution pattern of the actuator's motion trajectory (including motion initiation speed, peak duration, and motion decay mode) is consistent with the temporal evolution pattern of the electromyographic signal, thus giving the robot's facial expressions natural and dynamic continuous characteristics.
[0054] This invention employs a rolling time-domain prediction strategy, which means that prediction and planning are performed again in each control cycle, but only the control instructions at the current moment are executed.
[0055] The preferred control cycle is 10 milliseconds (i.e., a control frequency of 100 Hz). In each control cycle, the system executes the following steps: First, the acquisition and update steps are as follows: reacquire the electromyographic signal at the current moment, construct a new time-series signal window, and reconstruct the electromyographic time-series trajectory matrix H(t).
[0056] Second, the prediction update step: input H(t) into the time series prediction model to obtain the updated predicted time series trajectory.
[0057] Third, the mapping update step: input the updated predicted time-series trajectory into the trajectory-driven mapping model to obtain the updated time-varying control signal sequence C(t).
[0058] Fourth, execute the current control signal step: the system only executes the first control signal in C(t), that is, the control instruction one sampling interval after the current time.
[0059] Fifth, wait for the next cycle step: wait for the next control cycle to arrive, and repeat the above steps of data acquisition update, prediction update, mapping update and execution of the current control signal.
[0060] This strategy has three advantages: First, real-time response capability. Control commands at any given moment are calculated based on the latest acquired electromyographic (EMG) signals, enabling real-time response to dynamic changes in these signals. When a user's EMG signal undergoes a sudden change, the system can detect the change and update the control commands in the next control cycle (10ms later).
[0061] Second, proactive predictive capability. The system not only knows the current state of the electromyographic (EMG) signal, but also predicts the evolution trend of the EMG signal in the next 100ms to 300ms through a time-series prediction model, thereby planning the motion trajectory of the actuator in advance. This proactive prediction effectively compensates for the physical delay (typically 50ms to 150ms) in signal acquisition, transmission, and processing, achieving near-zero latency real-time tracking.
[0062] Third, control smoothness. Since the control command at each moment is calculated based on the re-predicted complete trajectory, there is an inherent continuity and smoothness between control commands at adjacent moments, and there will be no abrupt changes.
[0063] The technical effect of this step is that, through the rolling time-domain prediction strategy, real-time closed-loop control of acquisition-prediction-mapping-execution is realized, reducing the control delay from more than 200ms in the traditional scheme to less than one control cycle (10ms).
[0064] Electromyographic (EMG) signals exhibit significant individual differences among users. Factors such as muscle anatomical location, subcutaneous fat thickness, skin impedance, and neuromuscular conduction velocity all influence the amplitude, frequency, and temporal characteristics of EMG signals. Therefore, this invention incorporates a personalized adaptive calibration mechanism.
[0065] Personalized adaptive calibration consists of two phases: initial calibration and online adaptive updates.
[0066] Phase 1: Initial calibration.
[0067] When a user uses the system for the first time, an initial calibration procedure should be performed. The specific steps are as follows: First, the system guides the user to sequentially perform several preset standard expressions through a graphical interface or voice prompts. The preset standard expressions include: neutral expression (no expression), smile, laugh, surprise, frown, sadness, and anger, a total of seven expressions. Each expression lasts for 3 seconds and is repeated 3 times.
[0068] Second, under each standard facial expression, the system collects the time sequence signal window of the user's facial multi-channel electromyography (EMG) signals and records the corresponding standard EMG time sequence trajectory.
[0069] Third, the time-series signal window is used as the input feature, and the corresponding standard electromyography (EMG) time-series trajectory is used as the training target to fine-tune the time-series prediction model. The fine-tuning training uses a small learning rate, set to one-tenth of the pre-training learning rate, i.e., 0.0001. A small number of iterations (preferably 10 to 20 rounds) are performed on the basis of the pre-trained model to adapt the model to the user's personalized EMG characteristics.
[0070] Phase Two: Online Adaptive Updates.
[0071] During daily use, the system continuously collects the user's electromyography (EMG) signals and performs online adaptive updates. The specific steps are as follows: First, in each control cycle, the system compares the actual future electromyographic signal values collected with the model prediction values and calculates the prediction error.
[0072] Second, when the root mean square of the prediction error exceeds a preset threshold (preferably 5% of the signal dynamic range), the online update of the model parameters is triggered.
[0073] Third, a stochastic gradient descent algorithm is used, with the current time-series signal window as the training sample, to update the parameters of the time-series prediction model step by step. The learning rate for each step update is set to 0.00001, which is much smaller than the learning rate in the initial calibration phase, to avoid catastrophic forgetting.
[0074] Through two stages—initial calibration and online adaptive update—the time-series prediction model can quickly adapt to the personalized electromyographic characteristics of different users and continuously track the slow changes in users' electromyographic characteristics (such as muscle fatigue, electrode position shift, etc.) during long-term use, thus maintaining the stability of prediction accuracy.
[0075] The following section uses a smiling expression as an example to explain in detail the complete driving process of this invention from electromyographic signal acquisition to robot expression generation.
[0076] When a user makes a smiling expression, the zygomaticus major and orbicularis oris muscles are significantly activated. The electromyography (EMG) signal acquisition module acquires EMG signals from each channel in real time at a sampling frequency of 1000Hz, with the signal in the zygomaticus major channel rising from the baseline level.
[0077] The system captures a 300ms time-series signal window. At the beginning of the smiling expression, the electromyographic (EMG) signal in the zygomaticus major muscle channel rises rapidly from the baseline, with a large positive first-order difference value and a positive second-order difference value. During the development phase, the signal continues to rise to a peak, the first-order difference value gradually decreases, and the second-order difference value changes from positive to negative. At the peak, the signal remains at a high level, with both the first-order and second-order difference values approaching zero. The system aligns the original signal values, first-order difference values, and second-order difference values of each channel along the time dimension to construct an EMG time-series trajectory matrix.
[0078] The timing prediction model, based on the historical 300ms electromyographic (EMG) timing trajectory, predicts the EMG signal timing trajectory within the next 200ms. The prediction results show that the signal in the zygomaticus major muscle channel will continue to rise to its peak within the next 50ms, then maintain the peak for about 100ms, and finally gradually decline within the last 50ms.
[0079] The trajectory-driven mapping model maps the predicted time-series trajectory into a time-varying control signal sequence: during the time period from 0ms to 50ms, the corner of the mouth actuator starts with a high positive acceleration and moves from the current position to the smiling position at a relatively fast speed; during the time period from 50ms to 150ms, the corner of the mouth actuator maintains a position close to the smiling position and gradually decreases its speed to zero; during the time period from 150ms to 200ms, the corner of the mouth actuator decelerates with a small negative acceleration and rebounds slightly from the smiling position at a relatively slow speed.
[0080] After 10ms, the system enters the next control cycle, reacquires electromyographic signals, reconstructs the timing window, re-predicts, and regenerates control signals, but only executes the control commands for the current moment. When the user stops smiling, the zygomaticus major muscle relaxes, the electromyographic signal returns to the baseline level, and the system automatically generates the corresponding reset control signal sequence, causing the corner of the mouth actuator to return to the neutral position with a smooth trajectory.
[0081] Throughout the process, the robot's facial expressions follow a continuous trajectory with complete dynamic features of initiation-development-maintenance-decay, completing the full cycle of generating, maintaining, and fading a smile, rather than jumping to a smiling state and then back.
[0082] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of the invention as set forth in the appended claims.
Claims
1. A modular biomimetic electromyography robot facial expression driving system, characterized in that, include: The electromyography (EMG) signal acquisition module is used to acquire facial EMG signals from the user and construct a time-series signal window; The temporal feature extraction module is communicatively connected to the electromyography signal acquisition module and is used to extract the original signal values, first-order difference values and second-order difference values of the temporal signal window, and align them in the time dimension to construct an electromyography temporal trajectory matrix. The time-series prediction module has a built-in time-series prediction model, which is a sequence prediction model based on the Transformer architecture. It is used to predict the electromyographic signal values at future times based on the electromyographic time-series trajectory matrix to obtain the future time-series trajectory. The trajectory-driven mapping module has a built-in trajectory-driven mapping model, which is a mapping model based on a temporal convolutional network. It is used to generate the target position, target velocity and target acceleration at each time step according to the future temporal trajectory, and obtain a time-varying control signal sequence. The drive output module is used to output the time-varying control signal sequence to drive the robot's face to produce facial expressions.
2. The modular bionic myoelectric robot facial expression driving system according to claim 1, characterized in that, The time-series prediction model includes an input embedding layer, a multi-head self-attention layer, a feedforward neural network layer, and a linear output layer connected in sequence. The input embedding layer is used to map the vector at each time step in the electromyography time-series trajectory matrix into an embedding vector. The multi-head self-attention layer is used to extract the dependencies between channels and between time steps. The linear output layer is used to output the electromyography signal values at future time steps.
3. The modular bionic myoelectric robot facial expression driving system according to claim 2, characterized in that, The temporal prediction model further includes a position encoding layer connected between the input embedding layer and the multi-head self-attention layer, used to add temporal position information to the embedding vector at each time step.
4. The modular bionic myoelectric robot facial expression driving system according to claim 2, characterized in that, The multi-head self-attention layer includes multiple parallel attention heads, each of which calculates the correlation weight between any two time points in the embedding vector. The multi-head self-attention layer then concatenates the outputs of each attention head before outputting the result.
5. The modular bionic myoelectric robot facial expression driving system according to claim 1, characterized in that, The trajectory-driven mapping model includes multiple dilated convolutional layers and a fully connected output layer connected in sequence. The dilation rate of the multiple dilated convolutional layers increases sequentially, which is used to extract the temporal features of the future time-series trajectory at different time scales. The fully connected output layer is used to map the temporal features to the target position, the target velocity, and the target acceleration.
6. The modular bionic myoelectric robot facial expression driving system according to claim 5, characterized in that, The trajectory-driven mapping model also includes a residual connection structure, which is set between each dilated convolutional layer, and is used to add the input and output of the previous dilated convolutional layer and then input it into the next dilated convolutional layer.
7. The modular biomimetic electromyography robot facial expression driving system according to claim 1, characterized in that, It also includes a rolling time-domain prediction step: in each control cycle, the electromyographic signal is reacquired and the time-varying control signal sequence is updated, and only the target position, the target velocity and the target acceleration at the current moment are executed.
8. The modular biomimetic electromyography robot facial expression driving system according to claim 1, characterized in that, The trajectory-driven mapping model is trained using a composite loss function, which includes a position loss term, a velocity loss term, an acceleration loss term, and a temporal feature alignment loss term. The temporal feature alignment loss term is used to constrain the temporal evolution pattern of the time-varying control signal sequence to be consistent with the temporal evolution pattern of the electromyographic temporal trajectory matrix.
9. The modular bionic myoelectric robot facial expression driving system according to claim 1, characterized in that, The acquisition of facial electromyography (EMG) signals includes: acquiring multi-channel surface EMG signals through an electrode array attached to multiple key muscle groups on the user's face, wherein the multiple key muscle groups include multiple of the frontalis muscle, orbicularis oculi muscle, zygomaticus major muscle, levator labii superioris muscle, orbicularis oris muscle, and depressor anguli oris muscle.
Citation Information
Patent Citations
Facial muscle neural network intelligent bionic expression robot control system
CN119347820A
Human expression comfort detection method based on facial muscle electric signals
CN122413046A
