STM32-based deaf-mute auxiliary system

Through the STM32-based assistive system for the deaf and mute, combined with intelligent sensing and self-learning algorithms, it solves the problems of high equipment cost and insufficient feedback, achieves efficient sign language recognition and communication, supports sign language training and examinations, and improves the quality of deaf and mute people. Communication efficiency and quality of life.

CN118708104AInactive Publication Date: 2024-09-27CHANGZHOU COLLEGE OF INFORMATION TECHNOLOGY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410693068.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing assistive devices for the deaf and mute are expensive and lack effective feedback systems, which limits communication efficiency. They also lack equipment for sign language training and examinations and cannot meet the needs of the deaf and mute people.

Method used

An assistive system for the deaf and mute based on STM32 is designed, including an intelligent sensing module, a posture capture module, a multi-modal interaction module, a two-way communication module and a self-learning algorithm module. It uses flexible pressure sensors and capacitive contact sensors to capture finger dynamics. Data, combined with accelerometer and gyroscope to achieve three-dimensional posture capture, provide visual and tactile feedback through micro-OLED display and vibration motor, and achieve two-way communication through Bluetooth module, self-learning algorithm optimizes recognition algorithm and feedback mechanism.

Benefits of technology

It significantly improves the accuracy of sign language recognition and communication efficiency, reduces equipment costs, provides an effective feedback mechanism, supports sign language training and examinations, and promotes effective communication between deaf-mute people and the outside world.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708104A
    Figure CN118708104A
Patent Text Reader

Abstract

The invention relates to the technical field of deaf-mute auxiliary communication, in particular to an STM32-based deaf-mute auxiliary system, which comprises an intelligent sensing module, a posture capture module, a multi-mode interaction module, a bidirectional communication module, a self-learning algorithm module and an energy management module, wherein the intelligent sensing module is integrated with a flexible pressure sensor and a capacitive contact sensor, is mounted at a knuckle position of each finger, and is used for capturing dynamic data of each bending and contact of the finger; and the posture capturing module combines the finger dynamic data from the intelligent sensing module and the data of a built-in accelerometer and a gyroscope, performs data fusion processing through an STM32 microcontroller, and realizes real-time capturing of three-dimensional postures of the hand and the wrist. According to the method, the sign language recognition accuracy and the interaction naturalness are remarkably improved by adopting multi-modal interaction and a self-learning algorithm, meanwhile, the cost is reduced, the learning experience is enhanced, and effective communication between the deaf-mute and a person with normal hearing is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of auxiliary communication for deaf-mute persons, and in particular to an auxiliary system for deaf-mute persons based on STM32. Background Art

[0002] The deaf-mute people face difficulties in language communication. Traditional sign language translation assistive devices have many limitations. At present, most of the existing wearable assistive devices for the deaf-mute people use deformation materials and gesture sensors to capture finger movements and hand gestures to achieve sign language recognition and translation. However, these devices generally have problems such as high price, single function, and insufficient feedback. The expensive sensors lead to high equipment costs, and conventional devices lack an effective feedback system and cannot accurately indicate when the user starts or ends the sign language action, which limits the effective communication between the deaf-mute and normal people.

[0003] However, existing technologies have failed to fully meet the needs of the deaf-mute population, and problems that need to be solved include: traditional wearable assistive devices are expensive, limiting their popularity and use; the devices lack an effective feedback system, resulting in inefficient communication; at the same time, there is currently a lack of equipment specifically for sign language training and learning on the market, as well as corresponding equipment for sign language examinations.

[0004] Therefore, there is an urgent need for a new type of assistive system for the deaf and mute that can reduce costs, provide effective feedback, support sign language training and learning, and meet the needs of sign language examinations, thereby promoting effective communication and interaction between the deaf and mute and the outside world. Summary of the invention

[0005] Based on the above purpose, the present invention provides a deaf-mute assistance system based on STM32.

[0006] The deaf-mute assistance system based on STM32 includes an intelligent sensor module, a posture capture module, a multimodal interaction module, a two-way communication module and a self-learning algorithm module; among them,

[0007] Intelligent sensing module: It integrates flexible pressure sensors and capacitive contact sensors and is installed at the knuckles of each finger to capture dynamic data of each bending and contact of the finger;

[0008] Posture capture module: combines the finger dynamic data from the intelligent sensor module with the data from the built-in accelerometer and gyroscope, and performs data fusion processing through the STM32 microcontroller to achieve real-time capture of the three-dimensional posture of the hand and wrist;

[0009] Multimodal interaction module: Based on the three-dimensional posture data output by the posture capture module, it provides visual feedback through the micro OLED display and generates tactile feedback on the predetermined fingers through the micro vibration motor to generate sign language recognition results;

[0010] Bidirectional communication module: The Bluetooth module is controlled by the STM32 microcontroller to achieve data exchange with external devices, and the sign language recognition results of the multimodal interaction module are converted into voice output. At the same time, external voice input is received and converted into sign language action instructions or text descriptions through the voice-to-text conversion function, and then output to the multimodal interaction module for display;

[0011] Self-learning algorithm module: Uses deep learning algorithm to analyze user feedback collected by the two-way communication module and operation data of the multimodal interaction module, automatically optimizes the sign language recognition algorithm and feedback mechanism, and periodically updates the improved algorithm to each module through the STM32 microcontroller to improve the overall system performance.

[0012] Furthermore, the intelligent sensing module includes a data capture unit, a signal conversion unit and a data processing unit; wherein,

[0013] Data capture unit: includes flexible pressure sensors and capacitive contact sensors, each of which is installed at each knuckle of the finger. The flexible pressure sensor is used to capture the pressure change generated when the finger is bent, and the bending angle is calculated by measuring the pressure change. The capacitive contact sensor detects the contact between the fingers. When the knuckles of two fingers touch, the capacitance value between the sensors changes, so that the occurrence of the contact event can be determined.

[0014] Signal conversion unit: receives analog signals from the data capture unit and converts them into digital signals. Specifically, a high-precision analog-to-digital converter is used to ensure that the analog signals received from the flexible pressure sensor and the capacitive touch sensor are accurately converted into digital form for subsequent processing;

[0015] Data processing unit: Receives the digital signal output by the signal conversion unit, determines the specific dynamics of the finger, including curvature and contact pattern, and generates corresponding data packets by setting thresholds and executing basic algorithms, including filtering and peak detection.

[0016] Furthermore, the data processing unit includes:

[0017] Data preprocessing: After receiving the digital signal output by the signal conversion unit, the signal is preprocessed first. Specifically, a digital low-pass filter is used to remove high-frequency noise in the signal. The filter adopts the Butterworth filter algorithm, and its transfer function formula is:

[0018] Where H(s) is the transfer function of the filter, which represents the output of the input signal after being processed by the filter, s is the Laplace transform variable, ω c is the cutoff frequency, n is the order of the filter;

[0019] Dynamic detection: The filtered signal enters the dynamic detection stage, and the curvature and contact mode of the finger are identified by setting the threshold. The curvature is determined by comparing the amplitude of the pressure sensor signal with the preset curvature threshold, and the contact mode is identified by comparing whether the change of the capacitance sensor signal exceeds the contact threshold; the curvature threshold calculation formula is: T bend =μ+k·σ, where T bend is the curvature threshold, which is used to determine whether the finger has reached sufficient curvature to be recognized as a valid gesture, μ is the average value of the signal, σ is the standard deviation of the signal, and k is the adjustment factor, which is used to adjust according to the user's hand sensitivity; the contact mode threshold calculation formula is: T contact =ΔC>τ, where T contact is the contact mode threshold, which is used to determine whether the contact between fingers is obvious enough to be recognized as a valid contact, ΔC represents the capacitance change, and τ is the contact sensitivity threshold;

[0020] Peak detection: For each valid activity of the curvature and contact pattern, the peak detection algorithm is executed to determine the exact moment and duration of the activity. The peak detection algorithm uses an improved Z-Score algorithm to identify the peak by calculating the Z score of the data point. The specific formula is: Where Z is the Z score of the data point, which is used to determine whether the data point is a peak. x is the current data point. μ and σ are the mean and standard deviation of the data in the window, respectively. When Z exceeds the set Z score threshold, the point is identified as a peak.

[0021] Packet Generation: Based on the detected bending and contact events, a packet is generated, which includes information on timestamp, event type, event duration, and intensity.

[0022] Furthermore, the posture capture module includes a data receiving unit, a data fusion processing unit and a three-dimensional posture reconstruction unit; wherein,

[0023] Data receiving unit: used to receive the finger dynamic data from the intelligent sensing module and the data of the built-in accelerometer and gyroscope, wherein the data provided by the intelligent sensing module includes the bending angle and contact state of each knuckle of the finger, and the accelerometer and gyroscope are used to provide the acceleration and rotation angle information of the hand and wrist in space;

[0024] Data fusion processing unit: Use STM32 microcontroller to execute data fusion algorithm and integrate received data. Data fusion specifically adopts extended Kalman filter algorithm, which is carried out through the following state update and measurement update formulas;

[0025] The state prediction formula is: in, represents the state prediction value at time step k; f is the nonlinear state transfer function; represents the state estimate at time step k-1; u k represents control input;

[0026] The measurement update formula is: Among them, K k is the Kalman gain; z k represents the measurement value at time step k; h is the measurement function, which is used to map the state space to the measurement space;

[0027] 3D posture reconstruction unit: Based on the fused data, the real-time 3D posture of the hand and wrist is calculated using a 3D reconstruction algorithm, which uses the state estimation output by the aforementioned Kalman filter combined with the geometric model of the hand to calculate the actual position and orientation of each joint.

[0028] Furthermore, the three-dimensional posture reconstruction unit includes:

[0029] State estimation reception: First, the state estimation value from the data fusion processing unit is received, including the predicted position and speed of each joint of the hand;

[0030] Hand geometry model loading: Load the predefined hand geometry model, which is used to define the skeleton structure of the hand, including the length and relative position of each joint;

[0031] Inverse kinematics solution of joint positions: The actual position of each joint is determined using an inverse kinematics algorithm, which is based on solving the following equation: Among them, θ is the joint angle; p is the vector from the current joint to the target position; l is the length between the joints;

[0032] Determination of direction vector: Calculate the direction vector for each joint and use quaternion to represent the direction of the joint. The quaternion is converted from the output of the Kalman filter in the following way: Among them, q is the quaternion representation of the joint; θ is the rotation angle of the joint; is the unit vector of the rotation axis;

[0033] Data packet construction and sending: Based on the position and orientation of each joint, a data packet is constructed, which includes the status information of all joints.

[0034] Furthermore, the multimodal interaction module includes a visual feedback unit, a tactile feedback unit and a result generation unit; wherein,

[0035] Visual feedback unit: including a micro OLED display screen, which is used to display the hand's three-dimensional posture and the progress and results of sign language recognition in real time. Specifically, after receiving the three-dimensional posture data from the posture capture module, the visual feedback unit converts this data into a graphical user interface to display the position and posture of each finger, as well as the recognition status of the entire gesture, so as to directly reflect the user's hand movements and assist the user in self-correction and learning sign language;

[0036] Tactile feedback unit: It includes multiple micro vibration motors installed on the predetermined finger positions of the glove. When the sign language action is recognized or requires specific user attention, the vibration motor of the corresponding finger will be activated according to the analysis of the sign language recognition results and the three-dimensional posture data. The intensity and duration of the vibration are adjusted according to the complexity of the sign language action and the urgency of the recognition, providing immediate physical feedback;

[0037] Result generation unit: Based on the user response and three-dimensional posture data collected from the visual feedback unit and the tactile feedback unit, the preset support vector machine algorithm is used to analyze the hand movements, generate sign language recognition results, and match them with the predefined sign language library; then the recognition results are converted into visual data and displayed on the OLED screen.

[0038] Furthermore, the result generating unit includes:

[0039] Feature extraction: First, the 3D hand posture data is received and the predetermined features are extracted, including the bending angle of the fingers, the relative position between the fingers and the overall shape of the hand. The formula for forming the feature vector is:

[0040] Among them, x i represents the i-th feature extracted from the hand posture data;

[0041] Support vector machine model application: Use a pre-trained support vector machine model to analyze the extracted features and identify the corresponding sign language movements. The support vector machine model makes decisions based on the following classification functions:

[0042] Among them, α i represents the Lagrange multiplier of the i-th support vector; y i is the label of the i-th support vector; is the kernel function, which is used to calculate the input vector With support vector The similarity between them; b is the bias term;

[0043] Sign language library matching: According to the output of the support vector machine model, the recognized sign language action is matched with the predefined sign language library to determine the closest sign language representation. The specific matching process is based on the decision confidence provided by the support vector machine.

[0044] Result visualization: The recognized sign language results are converted into visual data, including animations or icons, and displayed on a micro OLED screen.

[0045] Furthermore, the two-way communication module includes a voice output unit, a voice receiving unit, a voice recognition unit and a command conversion unit; wherein,

[0046] Speech synthesis unit: including a text-to-speech engine, used to convert the sign language results recognized by the multimodal interaction module into speech output, specifically receiving a text description of the sign language recognition results and generating corresponding speech;

[0047] Voice receiving unit: Receives external voice input through the integrated microphone array, and ensures that the received voice signal is clear and interference-free through noise suppression and echo cancellation technology;

[0048] Speech recognition unit: including a speech recognition engine for converting received speech signals into text;

[0049] Instruction conversion unit: used to receive the text description generated by the ASR engine and parse it into sign language action instructions for users to execute or learn.

[0050] Furthermore, the self-learning algorithm module includes a data collection unit, a deep learning training unit, an optimization algorithm unit and a performance evaluation unit; wherein,

[0051] Data collection unit: used to collect data from the two-way communication module and the multimodal interaction module, including user voice feedback, feedback on the accuracy of sign language recognition results, and detailed records of user interaction with the system, to provide necessary input for algorithm training;

[0052] Deep learning training unit: Use the collected data to train a deep learning model for processing time series data, including gesture action sequences. During the training process, the model learns the most effective way to recognize sign language by minimizing recognition errors and optimizing parameters;

[0053] Optimization algorithm unit: Based on the output of the deep learning model, automatically adjust the sign language recognition algorithm and user feedback mechanism, including adjusting the algorithm parameters such as learning rate or number of layers, and improving the feedback method of the user interface, including adjusting the timeliness and relevance of the feedback;

[0054] Performance evaluation unit: used to regularly evaluate the performance of the optimized sign language recognition algorithm, using the accuracy, recall and F1 score indicators to measure the effect of the improvement.

[0055] Beneficial effects of the present invention:

[0056] The present invention significantly improves the accuracy of sign language recognition and the naturalness of interaction by adopting multimodal interaction technology and self-learning algorithm. By integrating visual feedback and tactile feedback mechanisms, the system can not only display the three-dimensional hand posture in real time, but also provide instant tactile feedback according to sign language movements, greatly enhancing the learning and usage experience of deaf and mute users. In addition, the self-learning function of the system can automatically optimize the recognition algorithm and feedback mechanism according to the user's interactive behavior, further improving the system's responsiveness and user satisfaction.

[0057] The present invention adopts low-cost sensors and components, which reduces the production cost and makes this high-efficiency deaf-mute assistance system easier to popularize. The two-way communication function of the system also allows the deaf-mute and people with normal hearing to communicate effectively, which not only helps the deaf-mute to better understand the outside world, but also enables people with normal hearing to understand the needs and expressions of the deaf-mute, thereby improving the inclusiveness of society and the quality of life of the deaf-mute group. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 A schematic diagram of an auxiliary system for the deaf-mute according to an embodiment of the present invention;

[0060] Figure 2 Schematic diagram of a multimodal interaction module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0062] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. The words "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0063] like Figure 1-Figure 2As shown, the STM32-based deaf-mute assistance system includes an intelligent sensor module, a gesture capture module, a multimodal interaction module, a two-way communication module, and a self-learning algorithm module; among them,

[0064] Intelligent sensing module: It integrates flexible pressure sensors and capacitive contact sensors and is installed at the knuckles of each finger to capture dynamic data of each bending and contact of the finger, and transmits the collected dynamic bending angle and contact data to the enhanced gesture capture module through the data line for subsequent processing;

[0065] Gesture capture module: Combines the finger dynamic data from the intelligent sensor module with the data from the built-in accelerometer and gyroscope, and performs data fusion processing through the STM32 microcontroller to achieve real-time capture of the three-dimensional posture of the hand and wrist. The fused data is output to the multimodal interaction module and the two-way communication module to provide basic data support for the recognition and feedback of sign language movements;

[0066] Multimodal interaction module: Based on the three-dimensional posture data output by the posture capture module, it provides visual feedback through the micro OLED display and generates tactile feedback on the predetermined fingers through the micro vibration motor to generate sign language recognition results;

[0067] Bidirectional communication module: The Bluetooth module is controlled by the STM32 microcontroller to achieve data exchange with external devices, and the sign language recognition results of the multimodal interaction module are converted into voice output. At the same time, external voice input is received and converted into sign language action instructions or text descriptions through the voice-to-text conversion function, and then output to the multimodal interaction module for display;

[0068] Self-learning algorithm module: Uses deep learning algorithm to analyze user feedback collected by the two-way communication module and operation data of the multimodal interaction module, automatically optimizes the sign language recognition algorithm and feedback mechanism, and periodically updates the improved algorithm to each module through the STM32 microcontroller to improve the overall system performance.

[0069] The intelligent sensing module includes a data capture unit, a signal conversion unit and a data processing unit; wherein,

[0070] Data capture unit: includes flexible pressure sensors and capacitive contact sensors, each of which is installed at each knuckle of the finger. The flexible pressure sensor is used to capture the pressure change generated when the finger is bent, and the bending angle is calculated by measuring the pressure change. The capacitive contact sensor detects the contact between the fingers. When the knuckles of two fingers touch, the capacitance value between the sensors changes, so that the occurrence of the contact event can be determined.

[0071] Signal conversion unit: receives analog signals from the data capture unit and converts them into digital signals. Specifically, a high-precision analog-to-digital converter (ADC) is used to ensure that the analog signals received from the flexible pressure sensor and the capacitive touch sensor are accurately converted into digital form for subsequent processing;

[0072] Data processing unit: Receives the digital signal output by the signal conversion unit, determines the specific dynamics of the finger, including curvature and contact pattern, by setting thresholds and executing basic algorithms, including filtering and peak detection, and generates corresponding data packets, which are sent to the gesture capture module for further analysis; by integrating precise sensor technology and efficient signal processing units, it ensures high accuracy and real-time responsiveness of gesture data, significantly improving the performance and reliability of the deaf-mute assistance system in sign language recognition and communication.

[0073] The data processing unit includes:

[0074] Data preprocessing: After receiving the digital signal output by the signal conversion unit, the signal is first preprocessed. Specifically, a digital low pass filter (DLPF) is used to remove high-frequency noise in the signal. The filter adopts the Butterworth filter algorithm, and its transfer function formula is:

[0075] Where H(s) is the transfer function of the filter, which represents the output of the input signal after being processed by the filter, s is the Laplace transform variable, ω c is the cutoff frequency, n is the order of the filter. By adjusting the cutoff frequency and order, the filtering effect can be optimized according to the characteristics of hand dynamics;

[0076] Dynamic detection: The filtered signal enters the dynamic detection stage, and the curvature and contact mode of the finger are identified by setting the threshold. The curvature is determined by comparing the amplitude of the pressure sensor signal with the preset curvature threshold, and the contact mode is identified by comparing whether the change of the capacitance sensor signal exceeds the contact threshold; the curvature threshold calculation formula is: T bend =μ+k·σ, where T bend is the curvature threshold, which is used to determine whether the finger has reached sufficient curvature to be recognized as a valid gesture, μ is the average value of the signal, σ is the standard deviation of the signal, and k is the adjustment factor, which is used to adjust according to the user's hand sensitivity; the contact mode threshold calculation formula is: T contact =ΔC>τ, where T contact is the contact mode threshold, which is used to determine whether the contact between fingers is obvious enough to be recognized as a valid contact, ΔC represents the capacitance change, and τ is the contact sensitivity threshold;

[0077] Peak detection: For each valid activity of the curvature and contact pattern, the peak detection algorithm is executed to determine the exact moment and duration of the activity. The peak detection algorithm uses an improved Z-Score algorithm to identify the peak by calculating the Z score of the data point. The specific formula is: Where Z is the Z score of the data point, which is used to determine whether the data point is a peak. x is the current data point. μ and σ are the mean and standard deviation of the data in the window, respectively. When Z exceeds the set Z score threshold, the point is identified as a peak.

[0078] Data packet generation: Based on the detected bending and contact events, a data packet is generated, which includes information such as timestamp, event type (bending or contact), event duration and intensity, so as to be transmitted to the gesture capture module for further analysis; the above steps significantly improve the accuracy and response speed of sign language motion recognition by adopting efficient signal processing algorithms and precise threshold settings. Accurate dynamic detection and peak recognition ensure the system's rapid response and high accuracy to complex gestures, thereby providing deaf users with a smoother and more natural communication experience.

[0079] The posture capture module includes a data receiving unit, a data fusion processing unit and a three-dimensional posture reconstruction unit; wherein,

[0080] Data receiving unit: used to receive the finger dynamic data from the intelligent sensing module and the data of the built-in accelerometer and gyroscope, wherein the data provided by the intelligent sensing module includes the bending angle and contact state of each knuckle of the finger, and the accelerometer and gyroscope are used to provide the acceleration and rotation angle information of the hand and wrist in space;

[0081] Data fusion processing unit: Use STM32 microcontroller to execute data fusion algorithm and integrate received data. Data fusion specifically adopts Extended Kalman Filter (EKF) algorithm, which is suitable for state estimation of nonlinear systems. It is specifically carried out through the following state update and measurement update formulas;

[0082] The state prediction formula is: in, represents the state prediction value at time step k; f is the nonlinear state transfer function; represents the state estimate at time step k-1; u k Represents control input (e.g., hand motion drive signal);

[0083] The measurement update formula is: Among them, K k is the Kalman gain; z krepresents the measurement value at time step k; h is the measurement function, which is used to map the state space to the measurement space;

[0084] 3D posture reconstruction unit: Based on the fused data, the real-time 3D posture of the hand and wrist is calculated using a 3D reconstruction algorithm. The 3D reconstruction algorithm uses the state estimation output by the aforementioned Kalman filter, combined with the geometric model of the hand, to calculate the actual position and direction of each joint. The posture capture module improves the performance and reliability of the sign language recognition system through precise data fusion and 3D posture reconstruction technology, enabling the deaf-mute assistance system to more accurately recognize and interpret the user's gestures, thereby providing a smoother and more accurate communication experience.

[0085] The 3D posture reconstruction unit includes:

[0086] State estimation reception: First, the state estimation value from the data fusion processing unit is received, including the predicted position and speed of each joint of the hand;

[0087] Hand geometry model loading: Loads a predefined hand geometry model, which defines the skeleton structure of the hand, including the length and relative position of each joint. This model is customized based on average anthropometric data and can be adjusted based on user-specific biometric data;

[0088] Inverse kinematics solution of joint positions: The actual position of each joint is determined using an inverse kinematics algorithm, which is based on solving the following equation: Where θ is the joint angle; p is the vector from the current joint to the target position; l is the length between the joints; this step calculates the angle that each joint must reach to satisfy the dynamic position by comparing the predicted joint position output by the Kalman filter with the static structure defined by the hand model;

[0089] Determination of direction vector: Calculate the direction vector for each joint and use quaternion to represent the direction of the joint. The quaternion is converted from the output of the Kalman filter in the following way: Among them, q is the quaternion representation of the joint; θ is the rotation angle of the joint; is the unit vector of the rotation axis; this direction vector will be used to update the hand model in the user interface in real time to provide accurate visual feedback;

[0090] Construction and sending of data packets: According to the position and orientation of each joint, a data packet is constructed, which includes the status information of all joints and sent to the multimodal interaction module for further processing and feedback. By using inverse kinematics and quaternions to process the position and orientation of the joints, the 3D posture reconstruction unit can provide high-precision hand posture data. This high-precision data is crucial for the accurate recognition of complex gestures and can greatly improve the interaction quality and user experience of the deaf-mute assistance system.

[0091] The multimodal interaction module includes a visual feedback unit, a tactile feedback unit and a result generation unit; wherein,

[0092] Visual feedback unit: including a micro OLED display screen, which is used to display the three-dimensional hand gestures and the progress and results of sign language recognition in real time. Specifically, after receiving the three-dimensional gesture data from the gesture capture module, the visual feedback unit converts these data into a graphical user interface (GUI) to display the position and posture of each finger and the recognition status of the entire gesture, so as to directly reflect the user's hand movements and assist the user in self-correction and learning sign language;

[0093] Tactile feedback unit: It includes multiple micro vibration motors installed on the predetermined finger positions of the glove. When the sign language action is recognized or requires specific user attention, the vibration motor of the corresponding finger will be activated according to the analysis of the sign language recognition results and 3D posture data. The intensity and duration of the vibration are adjusted according to the complexity of the sign language action and the urgency of recognition, providing instant physical feedback, enhancing the learning effect and interactive experience;

[0094] Result generation unit: Based on the user response and three-dimensional posture data collected from the visual feedback unit and the tactile feedback unit, the preset support vector machine algorithm is used to analyze the hand movements, generate sign language recognition results, and match them with the predefined sign language library; the recognition results are then converted into visual data and displayed on the OLED screen; this multimodal interaction module significantly improves the interactivity and efficiency of the sign language learning and recognition process by combining visual and tactile feedback. Through real-time display and tactile feedback, users can learn correct sign language movements faster. At the same time, the system's instant feedback also helps users correct movement errors in a timely manner, improving the accuracy and effectiveness of learning.

[0095] The result generation unit includes:

[0096] Feature extraction: First, the 3D hand posture data is received and the predetermined features are extracted, including the bending angle of the fingers, the relative position between the fingers and the overall shape of the hand. The formula for forming the feature vector is:

[0097] Among them, x i represents the i-th feature extracted from the hand posture data;

[0098] Support vector machine model application: Use a pre-trained support vector machine model to analyze the extracted features and identify the corresponding sign language movements. The support vector machine model makes decisions based on the following classification functions:

[0099] Among them, α irepresents the Lagrange multiplier of the i-th support vector; y i is the label of the i-th support vector; is the kernel function, which is used to calculate the input vector With support vector The similarity between them; b is the bias term; the kernel function usually selects Gaussian kernel or polynomial kernel, which is determined according to the complexity and characteristics of the specific sign language movements;

[0100] Sign language library matching: According to the output of the support vector machine model, the recognized sign language movements are matched with the predefined sign language library to determine the closest sign language representation. The specific matching process is based on the decision confidence provided by the support vector machine to ensure high-accuracy sign language recognition;

[0101] Result visualization: The recognized sign language results are converted into visual data, including animations or icons, and displayed on a micro OLED screen. The display not only presents basic sign language symbols, but also includes dynamic gesture demonstrations to help users better understand and learn the corresponding sign language. Through efficient feature extraction and precise SVM model application, the result generation unit can accurately recognize complex sign language movements and efficiently match them with the predefined sign language library, thereby providing accurate sign language recognition results.

[0102] The two-way communication module includes a voice output unit, a voice receiving unit, a voice recognition unit and an instruction conversion unit; wherein,

[0103] Speech synthesis unit: including a text-to-speech (TTS) engine, which is used to convert the sign language results recognized by the multimodal interaction module into speech output. Specifically, it receives the text description of the sign language recognition result and generates the corresponding speech. The text-to-speech conversion process can be expressed as: S = TTS (T), where T is the text description of the sign language recognition result; S is the generated speech signal; the TTS engine uses advanced speech synthesis algorithms, such as a neural network model based on deep learning, to ensure the naturalness and fluency of the speech;

[0104] Voice receiving unit: Receives external voice input through the integrated microphone array, and ensures that the received voice signal is clear and interference-free through noise suppression and echo cancellation technology;

[0105] Speech recognition unit: includes a speech recognition engine, which is used to convert the received speech signal into text. The speech recognition engine specifically uses Automatic Speech Recognition (ASR) technology. The specific algorithm is expressed as: T′=ASR(S′), where S′ represents the received external speech signal; T′ represents the converted text description. The ASR engine usually uses Hidden Markov Model (HMM) or neural network technology to improve the accuracy and speed of recognition;

[0106] Command conversion unit: used to receive the text description generated by the ASR engine and parse it into sign language action instructions for users to execute or learn. This conversion process ensures that users can understand and respond to external voice commands.

[0107] The self-learning algorithm module includes a data collection unit, a deep learning training unit, an optimization algorithm unit, and a performance evaluation unit;

[0108] Data collection unit: used to collect data from the two-way communication module and the multimodal interaction module, including user voice feedback, feedback on the accuracy of sign language recognition results, and detailed records of user interaction with the system; ensuring that the collected data is representative and diverse enough to provide necessary input for algorithm training;

[0109] Deep learning training unit: Use the collected data to train deep learning models, including convolutional neural networks (CNN) or recurrent neural networks (RNN), for processing time series data, including gesture action sequences. During the training process, the model learns the most effective way to recognize sign language by minimizing recognition errors and optimizing parameters;

[0110] Optimization algorithm unit: Based on the output of the deep learning model, automatically adjust the sign language recognition algorithm and user feedback mechanism, including adjusting the algorithm parameters such as learning rate or number of layers, and improving the feedback method of the user interface, including adjusting the timeliness and relevance of the feedback;

[0111] Performance evaluation unit: used to regularly evaluate the performance of the optimized sign language recognition algorithm, using accuracy, recall and F1 score indicators to measure the effect of the improvement. Performance evaluation helps determine which optimization measures are effective and which require further adjustment. The above-mentioned self-learning algorithm module significantly improves the learning ability and adaptability of the sign language recognition system by using advanced deep learning technology and automatic optimization mechanism. The system can self-optimize according to the user's specific feedback and interactive behavior, thereby continuously providing more accurate feedback and support that is more in line with user needs.

[0112] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. The deaf-mute assistance system based on STM32 is characterized by: It includes intelligent sensing module, posture capture module, multimodal interaction module, two-way communication module and self-learning algorithm module; among them, Intelligent sensing module: It integrates flexible pressure sensors and capacitive contact sensors and is installed at the knuckles of each finger to capture dynamic data of each bending and contact of the finger; Posture capture module: combines the finger dynamic data from the intelligent sensor module with the data from the built-in accelerometer and gyroscope, and performs data fusion processing through the STM32 microcontroller to achieve real-time capture of the three-dimensional posture of the hand and wrist; Multimodal interaction module: Based on the three-dimensional posture data output by the posture capture module, it provides visual feedback through the micro OLED display and generates tactile feedback on the predetermined fingers through the micro vibration motor to generate sign language recognition results; Bidirectional communication module: The Bluetooth module is controlled by the STM32 microcontroller to achieve data exchange with external devices, and the sign language recognition results of the multimodal interaction module are converted into voice output. At the same time, external voice input is received and converted into sign language action instructions or text descriptions through the voice-to-text conversion function, and then output to the multimodal interaction module for display; Self-learning algorithm module: Uses deep learning algorithm to analyze user feedback collected by the two-way communication module and operation data of the multimodal interaction module, automatically optimizes the sign language recognition algorithm and feedback mechanism, and periodically updates the improved algorithm to each module through the STM32 microcontroller to improve the overall system performance.

2. The STM32-based deaf-mute assistance system according to claim 1, characterized in that: The intelligent sensing module includes a data capture unit, a signal conversion unit and a data processing unit; wherein, Data capture unit: includes flexible pressure sensors and capacitive contact sensors, each of which is installed at each knuckle of the finger. The flexible pressure sensor is used to capture the pressure change generated when the finger is bent, and the bending angle is calculated by measuring the pressure change. The capacitive contact sensor detects the contact between the fingers. When the knuckles of two fingers touch, the capacitance value between the sensors changes, so that the occurrence of the contact event can be determined. Signal conversion unit: receives analog signals from the data capture unit and converts them into digital signals. Specifically, a high-precision analog-to-digital converter is used to ensure that the analog signals received from the flexible pressure sensor and the capacitive touch sensor are accurately converted into digital form for subsequent processing; Data processing unit: Receives the digital signal output by the signal conversion unit, determines the specific dynamics of the finger, including curvature and contact pattern, and generates corresponding data packets by setting thresholds and executing basic algorithms, including filtering and peak detection.

3. The deaf-mute assistance system based on STM32 according to claim 2 is characterized in that, The data processing unit comprises: Data preprocessing: After receiving the digital signal output by the signal conversion unit, the signal is preprocessed first. Specifically, a digital low-pass filter is used to remove high-frequency noise in the signal. The filter adopts the Butterworth filter algorithm, and its transfer function formula is: Where H(s) is the transfer function of the filter, which represents the output of the input signal after being processed by the filter, s is the Laplace transform variable, ω c is the cutoff frequency, n is the order of the filter; Dynamic detection: The filtered signal enters the dynamic detection stage, and the curvature and contact mode of the finger are identified by setting the threshold. The curvature is determined by comparing the amplitude of the pressure sensor signal with the preset curvature threshold, and the contact mode is identified by comparing whether the change of the capacitance sensor signal exceeds the contact threshold; the curvature threshold calculation formula is: T bend =μ+k·σ, where T bend is the curvature threshold, which is used to determine whether the finger has reached sufficient curvature to be recognized as a valid gesture, μ is the average value of the signal, σ is the standard deviation of the signal, and k is the adjustment factor, which is used to adjust according to the user's hand sensitivity; the contact mode threshold calculation formula is: T contact =ΔC>τ, where T contact is the contact mode threshold, which is used to determine whether the contact between fingers is obvious enough to be recognized as a valid contact, ΔC represents the capacitance change, and τ is the contact sensitivity threshold; Peak detection: For each valid activity of the curvature and contact pattern, the peak detection algorithm is executed to determine the exact moment and duration of the activity. The peak detection algorithm uses an improved Z-Score algorithm to identify the peak by calculating the Z score of the data point. The specific formula is: Where Z is the Z score of the data point, which is used to determine whether the data point is a peak. x is the current data point. μ and σ are the mean and standard deviation of the data in the window, respectively. When Z exceeds the set Z score threshold, the point is identified as a peak. Packet Generation: Based on the detected bending and contact events, a packet is generated, which includes information on timestamp, event type, event duration, and intensity.

4. The deaf-mute assistance system based on STM32 according to claim 1 is characterized in that: The posture capture module includes a data receiving unit, a data fusion processing unit and a three-dimensional posture reconstruction unit; wherein, Data receiving unit: used to receive the finger dynamic data from the intelligent sensing module and the data of the built-in accelerometer and gyroscope, wherein the data provided by the intelligent sensing module includes the bending angle and contact state of each knuckle of the finger, and the accelerometer and gyroscope are used to provide the acceleration and rotation angle information of the hand and wrist in space; Data fusion processing unit: Use STM32 microcontroller to execute data fusion algorithm and integrate received data. Data fusion specifically adopts extended Kalman filter algorithm, which is carried out through the following state update and measurement update formulas; The state prediction formula is: in, represents the state prediction value at time step k; f is the nonlinear state transfer function; represents the state estimate at time step k-1; u k represents control input; The measurement update formula is: Among them, K k is the Kalman gain; z k represents the measurement value at time step k; h is the measurement function, which is used to map the state space to the measurement space; 3D posture reconstruction unit: Based on the fused data, the real-time 3D posture of the hand and wrist is calculated using a 3D reconstruction algorithm, which uses the state estimation output by the aforementioned Kalman filter combined with the geometric model of the hand to calculate the actual position and orientation of each joint.

5. The STM32-based deaf-mute assistance system according to claim 4 is characterized in that: The three-dimensional posture reconstruction unit comprises: State estimation reception: First, the state estimation value from the data fusion processing unit is received, including the predicted position and speed of each joint of the hand; Hand geometry model loading: Load the predefined hand geometry model, which is used to define the skeleton structure of the hand, including the length and relative position of each joint; Inverse kinematics solution of joint positions: The actual position of each joint is determined using an inverse kinematics algorithm, which is based on solving the following equation: Among them, θ is the joint angle; p is the vector from the current joint to the target position; l is the length between the joints; Determination of direction vector: Calculate the direction vector for each joint and use quaternion to represent the direction of the joint. The quaternion is converted from the output of the Kalman filter in the following way: Among them, q is the quaternion representation of the joint; θ is the rotation angle of the joint; is the unit vector of the rotation axis; Data packet construction and sending: Based on the position and orientation of each joint, a data packet is constructed, which includes the status information of all joints.

6. The STM32-based deaf-mute assistance system according to claim 1 is characterized in that: The multimodal interaction module includes a visual feedback unit, a tactile feedback unit and a result generation unit; wherein, Visual feedback unit: including a micro OLED display screen, which is used to display the hand's three-dimensional posture and the progress and results of sign language recognition in real time. Specifically, after receiving the three-dimensional posture data from the posture capture module, the visual feedback unit converts this data into a graphical user interface to display the position and posture of each finger, as well as the recognition status of the entire gesture, so as to directly reflect the user's hand movements and assist the user in self-correction and learning sign language; Tactile feedback unit: It includes multiple micro vibration motors installed on the predetermined finger positions of the glove. When the sign language action is recognized or requires specific user attention, the vibration motor of the corresponding finger will be activated according to the analysis of the sign language recognition results and the three-dimensional posture data. The intensity and duration of the vibration are adjusted according to the complexity of the sign language action and the urgency of the recognition, providing immediate physical feedback; Result generation unit: Based on the user response and three-dimensional posture data collected from the visual feedback unit and the tactile feedback unit, the preset support vector machine algorithm is used to analyze the hand movements, generate sign language recognition results, and match them with the predefined sign language library; then the recognition results are converted into visual data and displayed on the OLED screen.

7. The STM32-based deaf-mute assistance system according to claim 6 is characterized in that: The result generating unit comprises: Feature extraction: First, the 3D hand posture data is received and the predetermined features are extracted, including the bending angle of the fingers, the relative position between the fingers and the overall shape of the hand. The formula for forming the feature vector is: Among them, x i represents the i-th feature extracted from the hand posture data; Support vector machine model application: Use a pre-trained support vector machine model to analyze the extracted features and identify the corresponding sign language movements. The support vector machine model makes decisions based on the following classification functions: Among them, α i represents the Lagrange multiplier of the i-th support vector; y i is the label of the i-th support vector; is the kernel function, which is used to calculate the input vector With support vector The similarity between them; b is the bias term; Sign language library matching: According to the output of the support vector machine model, the recognized sign language action is matched with the predefined sign language library to determine the closest sign language representation. The specific matching process is based on the decision confidence provided by the support vector machine. Result visualization: The recognized sign language results are converted into visual data, including animations or icons, and displayed on a micro OLED screen.

8. The STM32-based deaf-mute assistance system according to claim 1 is characterized in that: The two-way communication module includes a voice output unit, a voice receiving unit, a voice recognition unit and an instruction conversion unit; wherein, Speech synthesis unit: including a text-to-speech engine, used to convert the sign language results recognized by the multimodal interaction module into speech output, specifically receiving a text description of the sign language recognition results and generating corresponding speech; Voice receiving unit: Receives external voice input through the integrated microphone array, and ensures that the received voice signal is clear and interference-free through noise suppression and echo cancellation technology; Speech recognition unit: including a speech recognition engine for converting received speech signals into text; Instruction conversion unit: used to receive the text description generated by the ASR engine and parse it into sign language action instructions for users to execute or learn.

9. The STM32-based deaf-mute assistance system according to claim 1 is characterized in that: The self-learning algorithm module includes a data collection unit, a deep learning training unit, an optimization algorithm unit and a performance evaluation unit; wherein, Data collection unit: used to collect data from the two-way communication module and the multimodal interaction module, including user voice feedback, feedback on the accuracy of sign language recognition results, and detailed records of user interaction with the system, to provide necessary input for algorithm training; Deep learning training unit: Use the collected data to train a deep learning model for processing time series data, including gesture action sequences. During the training process, the model learns the most effective way to recognize sign language by minimizing recognition errors and optimizing parameters; Optimization algorithm unit: Based on the output of the deep learning model, automatically adjust the sign language recognition algorithm and user feedback mechanism, including adjusting the algorithm parameters such as learning rate or number of layers, and improving the feedback method of the user interface, including adjusting the timeliness and relevance of the feedback; Performance evaluation unit: used to regularly evaluate the performance of the optimized sign language recognition algorithm, using the accuracy, recall and F1 score indicators to measure the effect of the improvement.

Citation Information

Cited By

  • Somatosensory glove and system based on flexible photoelectric bimodal sensor

    CN119739281A