CN114707562A - Electromyographic signal sampling frequency control method and device and storage medium - Google Patents

Electromyographic signal sampling frequency control method and device and storage medium Download PDF

Info

Publication number
CN114707562A
CN114707562A CN202210612029.XA CN202210612029A CN114707562A CN 114707562 A CN114707562 A CN 114707562A CN 202210612029 A CN202210612029 A CN 202210612029A CN 114707562 A CN114707562 A CN 114707562A
Authority
CN
China
Prior art keywords
electromyographic
gesture
sampling frequency
action
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210612029.XA
Other languages
Chinese (zh)
Other versions
CN114707562B (en
Inventor
韩壁丞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mental Flow Technology Co Ltd
Original Assignee
Shenzhen Mental Flow Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mental Flow Technology Co Ltd filed Critical Shenzhen Mental Flow Technology Co Ltd
Priority to CN202210612029.XA priority Critical patent/CN114707562B/en
Publication of CN114707562A publication Critical patent/CN114707562A/en
Application granted granted Critical
Publication of CN114707562B publication Critical patent/CN114707562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Software Systems (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device and a storage medium for controlling the sampling frequency of an electromyographic signal, wherein the method comprises the following steps: acquiring a plurality of electromyographic signals, and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals; acquiring time information corresponding to each gesture action, and screening out the same gesture actions; and determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration. The invention can realize the control of the electromyographic signal sampling frequency and is beneficial to reducing the power consumption of the electromyographic equipment.

Description

Electromyographic signal sampling frequency control method and device and storage medium
Technical Field
The invention relates to the technical field of electromyographic signal acquisition, in particular to an electromyographic signal sampling frequency control method, an electromyographic signal sampling frequency control device and a storage medium.
Background
With the development of artificial intelligence technology and bioelectricity collection technology, people increasingly strongly demand intelligent auxiliary equipment. In the life of disabled people, the requirement of the artificial limb is not only limited to beauty and some simple aids, but also the desire of intelligent artificial limb, so that the appearance of intelligent bionic hands is promoted. The intelligent bionic hand is an intelligent product with high integration of a brain-computer interface technology and an artificial intelligence algorithm. The bionic hand can identify the movement intention of the wearer by extracting the arm neuromuscular signals of the wearer and convert the movement schematic diagram into the actions of the bionic hand, so that the dexterity and intelligence are achieved, and the hand moves with the heart.
At present, the bionic hand basically collects the electromyographic signals uninterruptedly, so that the timeliness and the accuracy of electromyographic signal collection can be ensured. However, the continuous collection of the electromyographic signals causes higher energy consumption of the bionic hand and influences the use of the user,
thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus and a storage medium for controlling the sampling frequency of an electromyographic signal, aiming at solving the problems that the continuous acquisition of the electromyographic signal in the prior art causes high energy consumption of a bionic hand and affects the use of a user.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for controlling a sampling frequency of an electromyographic signal, wherein the method comprises:
acquiring a plurality of electromyographic signals, and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals;
acquiring time information corresponding to each gesture action, and screening out the same gesture actions;
and determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration.
In one implementation, the determining, based on a plurality of the electromyographic signals, a gesture corresponding to each of the electromyographic signals includes:
inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and processing the electromyographic signals through the gesture recognition model, and outputting corresponding gesture actions.
In one implementation, the training process of the gesture recognition model includes:
collecting a plurality of electromyographic sample signals, determining sample gesture actions corresponding to each electromyographic sample signal, and forming a training data set, wherein the training data set has a mapping relation between the electromyographic sample signals and the sample gesture actions;
and inputting the training data set into a preset neural network model for training to obtain the gesture recognition model.
In one implementation, the obtaining time information corresponding to each gesture motion and screening out the same gesture motion includes:
recording time information corresponding to each gesture action, and binding the gesture actions with the time information;
acquiring action potential information corresponding to each gesture action;
taking one piece of action potential information as a matching item, and sequentially comparing the matching item with the rest action potential information;
and repeatedly executing the steps of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest of action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
In one implementation, the determining the duration of the same gesture motion based on the same gesture motion and the time information corresponding to each gesture motion includes:
determining the initial time and the end time of each same gesture action from the time information of each same gesture action;
determining a duration of the same gesture action based on the initial time and the end time.
In one implementation, the controlling of the sampling frequency of the electromyographic signal based on the duration includes:
comparing the duration with a preset first time threshold and a preset second time threshold in sequence, wherein the first time threshold is smaller than the second time threshold;
if the duration is greater than the first time threshold, reducing the sampling frequency of the electromyographic signals;
and if the duration is greater than the second time threshold, continuing to reduce the sampling frequency of the electromyographic signal.
In one implementation, the controlling of the sampling frequency of the electromyographic signal based on the duration includes:
acquiring the sampling frequency of the reduced electromyographic signal, and comparing the sampling frequency of the reduced electromyographic signal with a frequency threshold;
and if the sampling frequency of the electromyographic signals after being reduced is smaller than the frequency threshold, stopping reducing the sampling frequency of the electromyographic signals, and sampling the electromyographic signals by using the frequency threshold.
In a second aspect, an embodiment of the present invention further provides an electromyographic signal sampling frequency control apparatus, where the apparatus includes:
the action determining module is used for acquiring a plurality of electromyographic signals and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals;
the action screening module is used for acquiring the moment information corresponding to each gesture action and screening out the same gesture action;
and the frequency control module is used for determining the duration time of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signal based on the duration time.
In one implementation, the action determination module includes:
the model input unit is used for inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and the model output unit is used for processing the electromyographic signals through the gesture recognition model and outputting corresponding gesture actions.
In one implementation, the apparatus further comprises:
the system comprises a sample acquisition module, a data processing module and a data processing module, wherein the sample acquisition module is used for acquiring a plurality of electromyographic sample signals and determining sample gesture actions corresponding to each electromyographic sample signal to form a training data set, and the training data set is provided with a mapping relation between the electromyographic sample signals and the sample gesture actions;
and the model training module is used for inputting the training data set into a preset neural network model for training to obtain the gesture recognition model.
In one implementation, the action filtering module includes:
the time recording unit is used for recording time information corresponding to each gesture action and binding the gesture action with the time information;
the potential acquisition unit is used for acquiring action potential information corresponding to each gesture action;
the potential comparison unit is used for taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest action potential information;
and the action screening unit is used for repeatedly executing the steps of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
In one implementation, the frequency control module includes:
a time information analysis unit for determining an initial time and an end time of the same gesture motion from time information of each of the same gesture motions;
and the duration determining unit is used for determining the duration of the same gesture action based on the initial time and the end time.
In one implementation, the frequency control module includes:
the time comparison unit is used for sequentially comparing the duration with a preset first time threshold and a preset second time threshold, wherein the first time threshold is smaller than the second time threshold;
the first frequency reduction unit is used for reducing the sampling frequency of the electromyographic signal if the duration is greater than the first time threshold;
and the second frequency reduction unit is used for continuously reducing the sampling frequency of the electromyographic signal if the duration is greater than the second time threshold.
In one implementation, the frequency control module includes:
the frequency reduction control unit is used for acquiring the sampling frequency of the reduced electromyographic signal and comparing the sampling frequency of the reduced electromyographic signal with a frequency threshold;
and the frequency reduction stopping unit is used for stopping reducing the sampling frequency of the electromyographic signal and sampling the electromyographic signal by the frequency threshold if the sampling frequency of the reduced electromyographic signal is less than the frequency threshold.
In a third aspect, an embodiment of the present invention further provides an electromyographic device, where the electromyographic device includes a memory, a processor, and an electromyographic signal sampling frequency control program stored in the memory and executable on the processor, and when the processor executes the electromyographic signal sampling frequency control program, the step of implementing the electromyographic signal sampling frequency control method according to any one of the above schemes is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where an electromyographic signal sampling frequency control program is stored on the computer-readable storage medium, and when the electromyographic signal sampling frequency control program is executed by a processor, the steps of the electromyographic signal sampling frequency control method according to any one of the above schemes are implemented.
Has the beneficial effects that: compared with the prior art, the invention provides an electromyographic signal sampling frequency control method. And then, acquiring time information corresponding to each gesture action, and screening out the same gesture actions. And finally, determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration. The myoelectric device comprises a myoelectric device, a touch screen and a touch screen, wherein the touch screen is used for displaying a gesture action, and the gesture action is displayed on the touch screen.
Drawings
Fig. 1 is a flowchart of a specific implementation of a method for controlling a sampling frequency of an electromyographic signal according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of an electromyographic signal sampling frequency control apparatus according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of an electromyographic apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment provides an electromyographic signal sampling frequency control method, and the method based on the embodiment can control the sampling frequency of the electromyographic signal, so that the control of the energy consumption of the electromyographic equipment is realized. In specific implementation, a plurality of electromyographic signals are collected first, and a gesture corresponding to each electromyographic signal is determined based on the plurality of electromyographic signals. Then, the embodiment acquires time information corresponding to each gesture action, and screens out the same gesture action. Finally, in this embodiment, based on the same gesture motion and the time information corresponding to each gesture motion, the duration of the same gesture motion is determined, and based on the duration, the sampling frequency of the electromyographic signal is controlled. The electromyographic signals are analyzed to determine the duration time of one gesture, and the duration time of one gesture can reflect the action which the user wants to perform for a long time, so that the electromyographic signals collected within the period of time are the same and have no great difference, and the sampling frequency of the electromyographic devices can be controlled to control the energy consumption of the electromyographic devices.
For example, the muscle point device first collects a plurality of electromyographic signals, and then analyzes the electromyographic signals one by one to obtain corresponding gesture actions. For example, the gesture motion obtained by the analysis is: index finger tap 1, index finger tap 2, index finger tap 3, index finger tap 4, finger open 5. And recording the time information of each gesture, wherein the time information of the index finger tapping 1 is 9:01:25, the time information of the index finger tapping 2 is 9:01:26, the time information of the index finger tapping 3 is 9:01:27, the time information of the index finger tapping 4 is 9:01:28, and the time information of the finger opening 5 is 9:01: 29. And myoelectric devices screen out the same gesture actions, namely a finger tap 1, an index finger tap 2, an index finger tap 3 and an index finger tap 4 belong to the same gesture actions, and the gesture actions are index finger tap actions. Then, the electromyographic device can determine that the duration time of the forefinger tapping action is 4 seconds, and if the electromyographic signals collected by the electromyographic device within the 4 seconds are the same, the action which the user wants to continuously execute at the moment is the forefinger tapping action, so that the electromyographic signals continuously collected by the electromyographic device are basically the same, and at the moment, the electromyographic device can reduce the sampling frequency of the electromyographic signals, the recognition effect of gesture actions cannot be influenced, and the energy consumption of the electromyographic device can also be reduced.
Exemplary method
The electromyographic signal sampling frequency control method in this embodiment is applied to an electromyographic device, which may be a terminal such as an intelligent bionic hand, and specifically, as shown in fig. 1, the electromyographic signal sampling frequency control method includes the following steps:
s100, collecting a plurality of electromyographic signals, and determining a gesture corresponding to each electromyographic signal based on the plurality of electromyographic signals.
The electromyographic device in this embodiment collects a plurality of electromyographic signals, analyzes the electromyographic signals, and determines a gesture corresponding to each electromyographic signal, where the purpose of determining the gesture is to determine an action and an action intention that a user wants to perform at that time.
In one implementation manner, when determining the gesture motion in this embodiment, the method includes the following steps:
s101, inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and S102, processing the electromyographic signals through the neural network model, and outputting corresponding gesture actions.
Specifically, in this embodiment, a gesture recognition model may be trained in advance, where the gesture recognition model is used to recognize gesture actions, and after a plurality of electromyographic signals are collected in this embodiment, the electromyographic signals are input into the trained gesture recognition model, and then corresponding gesture actions may be output, so as to improve the gesture recognition efficiency. When the gesture recognition model is trained, a large number of electromyographic sample signals are collected, and then the sample gesture actions corresponding to each electromyographic sample signal are determined based on the priori knowledge and the stored gesture template. In the embodiment, the gesture template is preset with a corresponding relationship between the electromyographic signals and the action potential information, and different action potential information represents different gesture actions, so that the action potential information corresponding to each electromyographic sample signal can be determined based on the gesture template, and further the corresponding sample gesture action is determined. After the sample gesture actions are determined, the electromyography sample signals and the sample gesture actions are bound to form a training data set. In the embodiment, the myoelectric sample signal is labeled with the signal characteristics corresponding to the action potential information of the sample gesture action, so that the myoelectric sample signal and the sample gesture action can be linked, and the training data set has the mapping relation between the myoelectric sample signal and the sample gesture action. After the training data set is input into a preset neural network model for training, the neural network model can automatically learn the association between the electromyographic sample signals and the gesture actions of the sample, and after repeated training, the neural network model can automatically learn the recognition of the gesture actions, so that a gesture recognition model is obtained, and the gesture recognition model can automatically recognize the gesture actions corresponding to each electromyographic signal.
And S200, acquiring time information corresponding to each gesture action, and screening out the same gesture actions.
When a plurality of electromyographic signals are collected, the electromyographic signals in a preset time period can be collected, for example, the electromyographic signals are collected for half a minute. Each electromyographic signal is acquired in real time, so each electromyographic signal corresponds to respective time information. In this embodiment, after the gesture corresponding to each electromyographic signal is recognized, time information corresponding to each gesture is obtained. And the embodiment also screens out the same gesture motion from all recognized gesture motions.
In one implementation, the step S200 includes the following steps:
step S201, recording time information corresponding to each gesture action, and binding the gesture action with the time information;
step S202, obtaining action potential information corresponding to each gesture action;
step S203, taking one of the action potential information as a matching item, and comparing the matching item with the rest action potential information in sequence;
and S204, repeatedly executing the step of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest pieces of action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
Specifically, in the embodiment, first, time information corresponding to each gesture action is recorded, and the gesture action is bound with the time information, where the purpose of the binding is to carry the corresponding time information when the gesture action is called in a subsequent process, so that the processing is facilitated. Then, the embodiment acquires the action potential information corresponding to each gesture action, and because the action potential information corresponding to different gesture actions is different, the embodiment can screen out the same gesture action by the similarity of the action potential information. Specifically, in this embodiment, one of the pieces of action potential information is first used as a matching item, the matching item is sequentially compared with the remaining pieces of action potential information, and then the step of sequentially comparing one of the pieces of action potential information as a matching item with the remaining pieces of action potential information is repeatedly performed until all pieces of action potential information are used as matching items, so that all pieces of action potential information can be ensured to be compared with each other, and the same gesture action can be screened out more accurately. For example, the action potential information for which all gesture actions are recognized includes action potential information a, action potential information B, action potential information C, and action potential information D. Firstly, comparing action potential information A serving as a matching item with action potential information B, action potential information C and action potential information D in sequence; after the comparison is finished, the action potential information B is taken as a matching item and is sequentially compared with the action potential information C and the action potential information D; after the comparison, the action potential information C is used as a matching item to be compared with the action potential information D, so that all the action potential information can be ensured to be compared once. In the comparison process, when the similarity between the two pieces of action potential information is greater than the preset threshold (e.g., 95%), it can be determined that the gesture actions corresponding to the two pieces of action potential information are the same gesture actions, and based on this, all the same gesture actions can be screened out in the embodiment.
Step S300, determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signal based on the duration.
After the same gesture actions are screened out, the duration time of the same gesture actions can be determined based on the same gesture actions and the time information corresponding to each gesture action, and the duration time can reflect the action intention of the user and the tendency of the user to execute a certain gesture action for a long time, so that the sampling frequency of the electromyographic signals is controlled according to the duration time.
In one implementation manner, in the present embodiment, when controlling the sampling frequency, the method includes the following steps:
step S301, determining the initial time and the end time of the same gesture action from the time information of each gesture action in the same gesture actions;
step S302, determining the duration of the same gesture action based on the initial time and the end time;
step S303, comparing the duration time with a preset first time threshold and a preset second time threshold in sequence, wherein the first time threshold is smaller than the second time threshold;
step S304, if the duration time is greater than the first time threshold, reducing the sampling frequency of the electromyographic signal;
and S305, if the duration is greater than the second time threshold, continuing to reduce the sampling frequency of the electromyographic signal.
Specifically, all gesture actions correspond to time information, so that after the same gesture actions are screened out in this embodiment, the embodiment can acquire the time information corresponding to the same gesture actions, then determine the initial time and the end time of the same gesture actions based on the sequence of the time information, and determine the duration of the same gesture actions based on the initial time and the end time. For example, the duration of the gesture motion of the index finger tap 1 is determined to be 4 seconds because the time information of the index finger tap 1 is 9:01:25, the time information of the index finger tap 2 is 9:01:26, the time information of the index finger tap 3 is 9:01:27, and the time information of the index finger tap 4 is 9:01:28, the same gesture motion is used as the index finger tap, and the initial time of the index finger tap is 9:01:25 and the end time of the index finger tap is 9:01: 28.
Further, after the duration is determined, the duration is compared with a preset first time threshold and a preset second time threshold, respectively, and the first time threshold is smaller than the second time threshold. Since the duration time in this embodiment may reflect the action intention and the action of the tendency of the user, comparing the duration time with the first time threshold and the second time threshold may determine whether the user continues a certain gesture action for a long time. Specifically, if the duration is longer than the first time threshold (e.g. 2 seconds), it indicates that the user has continuously performed the same gesture motion (e.g. the index finger tapping motion in the above example) for a period of time, and it may be determined that the user may continue to perform the index finger tapping motion, so that the sampling frequency of the electromyographic device for the electromyographic signal may be reduced, and since the sampling frequency is reduced, the collection amount of the electromyographic signal is reduced, so that triggering of the control command caused by the electromyographic signal is reduced, thereby avoiding unintentional fluctuation of the control command, and reducing energy consumption of the electromyographic device. And at this time, the duration of the same gesture motion can be continuously monitored, if the duration is prolonged and is greater than a second time threshold (for example, 4 seconds), it indicates that the user has performed the same gesture motion (for example, the forefinger tapping motion in the above example) for a long time, and this embodiment can further reduce the sampling frequency of the electromyographic signals by the electromyographic device.
Further, the present embodiment also obtains the sampling frequency of the reduced electromyographic signal, and compares the sampling frequency of the reduced electromyographic signal with a frequency threshold. If the sampling frequency of the electromyographic signal after being reduced is smaller than the frequency threshold, the reduction of the sampling frequency of the electromyographic signal is stopped, at this time, the sampling frequency is lower than a limit value (frequency threshold), and at this time, the sampling frequency cannot be reduced any more.
In another implementation manner, the present embodiment may also control the timing of the electromyographic device stopping the frequency reduction based on the frequency reduction frequency of the electromyographic device, for example, the present embodiment may set a frequency threshold (for example, twice), and if the frequency of the electromyographic device for reducing the electromyographic signal sampling frequency has reached the frequency threshold (that is, twice), at this time, the electromyographic device may be controlled to sample the electromyographic signal with the frequency threshold. In addition, when the electromyographic device in this embodiment cannot continue to reduce the sampling frequency, the user may be reminded based on a reminding manner such as voice, light, vibration, and the like, so that the user can use the electromyographic device better.
In summary, in this embodiment, a plurality of electromyographic signals are collected first, and a gesture corresponding to each of the electromyographic signals is determined based on the plurality of electromyographic signals. Then, the embodiment acquires time information corresponding to each gesture action, and screens out the same gesture action. Finally, in this embodiment, based on the same gesture motion and the time information corresponding to each gesture motion, the duration of the same gesture motion is determined, and based on the duration, the sampling frequency of the electromyographic signal is controlled. The electromyographic signals are analyzed to determine the duration time of one gesture, and the duration time of one gesture can reflect the action which the user wants to perform for a long time, so that the electromyographic signals collected within the period of time are the same and have no great difference, and the sampling frequency of the electromyographic devices can be controlled to control the energy consumption of the electromyographic devices.
Exemplary devices
Based on the above embodiment, the present invention also provides an electromyographic signal sampling frequency control apparatus, as shown in fig. 2, the apparatus including: an action determination module 10, an action filtering module 20 and a frequency control module 30. Specifically, the action determining module 10 is configured to collect a plurality of electromyographic signals, and determine a gesture action corresponding to each of the electromyographic signals based on the plurality of electromyographic signals. The motion screening module 20 is configured to obtain time information corresponding to each gesture motion, and screen out the same gesture motion. The frequency control module 30 is configured to determine duration of the same gesture motion based on the same gesture motion and time information corresponding to each gesture motion, and control a sampling frequency of an electromyographic signal based on the duration.
In one implementation, the action determining module 10 includes:
the model input unit is used for inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and the model output unit is used for processing the electromyographic signals through the neural network model and outputting corresponding gesture actions.
In one implementation, the apparatus further comprises:
the system comprises a sample acquisition module, a data processing module and a data processing module, wherein the sample acquisition module is used for acquiring a plurality of electromyographic sample signals and determining sample gesture actions corresponding to each electromyographic sample signal to form a training data set, and the training data set is provided with a mapping relation between the electromyographic sample signals and the sample gesture actions;
and the model training module is used for inputting the training data set into a preset neural network model for training to obtain the gesture recognition model.
In one implementation, the action filtering module 20 includes:
the time recording unit is used for recording time information corresponding to each gesture action and binding the gesture action with the time information;
the potential acquisition unit is used for acquiring action potential information corresponding to each gesture action;
the potential comparison unit is used for taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest action potential information;
and the action screening unit is used for repeatedly executing the steps of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest of action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
In one implementation, the frequency control module 30 includes:
a time information analysis unit for determining an initial time and an end time of the same gesture motion from time information of each of the same gesture motions;
and the duration determining unit is used for determining the duration of the same gesture action based on the initial time and the end time.
In one implementation, the frequency control module 30 includes:
the time comparison unit is used for sequentially comparing the duration with a preset first time threshold and a preset second time threshold, wherein the first time threshold is smaller than the second time threshold;
the first frequency reduction unit is used for reducing the sampling frequency of the electromyographic signal if the duration is greater than the first time threshold;
and the second frequency reduction unit is used for continuously reducing the sampling frequency of the electromyographic signal if the duration is greater than the second time threshold.
In one implementation, the frequency control module 30 includes:
the frequency reduction control unit is used for acquiring the sampling frequency of the reduced electromyographic signal and comparing the sampling frequency of the reduced electromyographic signal with a frequency threshold;
and the frequency reduction stopping unit is used for stopping reducing the sampling frequency of the electromyographic signal and sampling the electromyographic signal by the frequency threshold if the sampling frequency of the reduced electromyographic signal is less than the frequency threshold.
The working principle of each module in the electromyographic signal sampling frequency control device of this embodiment is the same as the principle of each step in the above method embodiments, and details are not repeated here.
Based on the above embodiments, the present invention also provides an electromyographic device, and a schematic block diagram of the electromyographic device may be as shown in fig. 3. The electromyographic equipment comprises a processor and a memory which are connected through a system bus, wherein the processor and the memory are arranged in a host. Wherein, the processor of the electromyographic device is used for providing calculation and control capability. The memory of the electromyographic device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The network interface of the electromyographic equipment is used for being connected and communicated with an external terminal through network communication. The computer program is executed by a processor to implement a method of electromyographic signal sampling frequency control.
It will be understood by those skilled in the art that the schematic block diagram shown in fig. 3 is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the electromyographic device to which the scheme of the present invention is applied, and a specific electromyographic device may include more or less components than those shown in the figure, or may combine some components, or have a different arrangement of components.
In one embodiment, an electromyographic device is provided, where the electromyographic device includes a memory, a processor, and an electromyographic signal sampling frequency control method program stored in the memory and executable on the processor, and when the processor executes the electromyographic signal sampling frequency control method program, the following operation instructions are implemented:
acquiring a plurality of electromyographic signals, and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals;
acquiring time information corresponding to each gesture action, and screening out the same gesture actions;
and determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, operational databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the invention discloses a method, a device and a storage medium for controlling the sampling frequency of an electromyographic signal, wherein the method comprises the following steps: acquiring a plurality of electromyographic signals, and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals; acquiring time information corresponding to each gesture action, and screening out the same gesture actions; and determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration. The invention can realize the control of the electromyographic signal sampling frequency and is beneficial to reducing the power consumption of the electromyographic equipment.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (16)

1. An electromyographic signal sampling frequency control method, the method comprising:
acquiring a plurality of electromyographic signals, and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals;
acquiring time information corresponding to each gesture action, and screening out the same gesture actions;
and determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signals based on the duration.
2. The electromyographic signal sampling frequency control method according to claim 1, wherein the determining a gesture corresponding to each electromyographic signal based on a plurality of electromyographic signals comprises:
inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and processing the electromyographic signals through the gesture recognition model, and outputting corresponding gesture actions.
3. The electromyographic signal sampling frequency control method of claim 2, wherein the training process of the gesture recognition model comprises:
acquiring a plurality of electromyographic sample signals, determining sample gesture actions corresponding to each electromyographic sample signal, and forming a training data set, wherein the training data set has a mapping relation between the electromyographic sample signals and the sample gesture actions;
and inputting the training data set into a preset neural network model for training to obtain the gesture recognition model.
4. The electromyographic signal sampling frequency control method according to claim 2, wherein the obtaining time information corresponding to each gesture action and screening out the same gesture action comprises:
recording time information corresponding to each gesture action, and binding the gesture actions with the time information;
acquiring action potential information corresponding to each gesture action;
taking one piece of action potential information as a matching item, and sequentially comparing the matching item with the rest action potential information;
and repeatedly executing the steps of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest of action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
5. The electromyographic signal sampling frequency control method of claim 4, wherein determining the duration of the same gesture action based on the same gesture action and the time information corresponding to each gesture action comprises:
determining the initial time and the end time of each same gesture action from the time information of each same gesture action;
determining a duration of the same gesture action based on the initial time and the end time.
6. The electromyographic signal sampling frequency control method according to claim 1, wherein the controlling of the electromyographic signal sampling frequency based on the duration comprises:
comparing the duration with a preset first time threshold and a preset second time threshold in sequence, wherein the first time threshold is smaller than the second time threshold;
if the duration is greater than the first time threshold, reducing the sampling frequency of the electromyographic signals;
and if the duration is greater than the second time threshold, continuing to reduce the sampling frequency of the electromyographic signal.
7. The electromyographic signal sampling frequency control method of claim 6, wherein the controlling of the electromyographic signal sampling frequency based on the duration comprises:
acquiring the sampling frequency of the reduced electromyographic signal, and comparing the sampling frequency of the reduced electromyographic signal with a frequency threshold;
and if the sampling frequency of the electromyographic signals after being reduced is smaller than the frequency threshold, stopping reducing the sampling frequency of the electromyographic signals, and sampling the electromyographic signals by using the frequency threshold.
8. An electromyographic signal sampling frequency control apparatus, the apparatus comprising:
the action determining module is used for acquiring a plurality of electromyographic signals and determining a gesture action corresponding to each electromyographic signal based on the plurality of electromyographic signals;
the action screening module is used for acquiring the time information corresponding to each gesture action and screening out the same gesture action;
and the frequency control module is used for determining the duration time of the same gesture action based on the same gesture action and the time information corresponding to each gesture action, and controlling the sampling frequency of the electromyographic signal based on the duration time.
9. The electromyographic signal sampling frequency control apparatus of claim 8, wherein the motion determination module comprises:
the model input unit is used for inputting a plurality of electromyographic signals into a pre-trained gesture recognition model for recognizing gesture actions;
and the model output unit is used for processing the electromyographic signals through the gesture recognition model and outputting corresponding gesture actions.
10. The electromyographic signal sampling frequency control apparatus of claim 8, further comprising:
the system comprises a sample acquisition module, a data processing module and a data processing module, wherein the sample acquisition module is used for acquiring a plurality of electromyographic sample signals and determining sample gesture actions corresponding to each electromyographic sample signal to form a training data set, and the training data set has a mapping relation between the electromyographic sample signals and the sample gesture actions;
and the model training module is used for inputting the training data set into a preset neural network model for training to obtain the gesture recognition model.
11. The electromyographic signal sampling frequency control apparatus of claim 8, wherein the action filtering module comprises:
the time recording unit is used for recording time information corresponding to each gesture action and binding the gesture action with the time information;
the potential acquisition unit is used for acquiring action potential information corresponding to each gesture action;
the potential comparison unit is used for taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest action potential information;
and the action screening unit is used for repeatedly executing the steps of taking one piece of action potential information as a matching item and sequentially comparing the matching item with the rest action potential information until all pieces of action potential information are taken as matching items so as to screen out the same gesture action.
12. The electromyographic signal sampling frequency control apparatus of claim 8, wherein the frequency control module comprises:
a time information analysis unit for determining an initial time and an end time of the same gesture motion from time information of each of the same gesture motions;
and the duration determining unit is used for determining the duration of the same gesture action based on the initial time and the end time.
13. The electromyographic signal sampling frequency control apparatus of claim 12, wherein the frequency control module comprises:
the time comparison unit is used for sequentially comparing the duration with a preset first time threshold and a preset second time threshold, wherein the first time threshold is smaller than the second time threshold;
the first frequency reduction unit is used for reducing the sampling frequency of the electromyographic signal if the duration is greater than the first time threshold;
and the second frequency reducing unit is used for continuously reducing the sampling frequency of the electromyographic signals if the duration is greater than the second time threshold.
14. The electromyographic signal sampling frequency control apparatus of claim 13, wherein the frequency control module comprises:
the frequency reduction control unit is used for acquiring the sampling frequency of the reduced electromyographic signal and comparing the sampling frequency of the reduced electromyographic signal with a frequency threshold;
and the frequency reduction stopping unit is used for stopping reducing the sampling frequency of the electromyographic signal and sampling the electromyographic signal by the frequency threshold if the sampling frequency of the reduced electromyographic signal is less than the frequency threshold.
15. An electromyographic device comprising a memory, a processor, and an electromyographic signal sampling frequency control program stored in the memory and executable on the processor, the steps of implementing the electromyographic signal sampling frequency control method of any one of claims 1-7 when the processor executes the electromyographic signal sampling frequency control program.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an electromyogram signal sampling frequency control program, which when executed by a processor, implements the steps of the electromyogram signal sampling frequency control method according to any one of claims 1 to 7.
CN202210612029.XA 2022-06-01 2022-06-01 Electromyographic signal sampling frequency control method and device and storage medium Active CN114707562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210612029.XA CN114707562B (en) 2022-06-01 2022-06-01 Electromyographic signal sampling frequency control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210612029.XA CN114707562B (en) 2022-06-01 2022-06-01 Electromyographic signal sampling frequency control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN114707562A true CN114707562A (en) 2022-07-05
CN114707562B CN114707562B (en) 2022-09-02

Family

ID=82176121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210612029.XA Active CN114707562B (en) 2022-06-01 2022-06-01 Electromyographic signal sampling frequency control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN114707562B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115153985A (en) * 2022-09-08 2022-10-11 深圳市心流科技有限公司 Control method, device and terminal of intelligent artificial limb and computer readable storage medium
CN115204242A (en) * 2022-09-09 2022-10-18 深圳市心流科技有限公司 Method and device for adjusting action template comparison threshold and storage medium
CN115251957A (en) * 2022-09-26 2022-11-01 深圳市心流科技有限公司 Method, device and storage medium for adjusting sampling frequency step by step
CN116360592A (en) * 2023-03-17 2023-06-30 浙江强脑科技有限公司 Control method and equipment of intelligent bionic hand, intelligent bionic hand and storage medium
CN116449967A (en) * 2023-06-20 2023-07-18 浙江强脑科技有限公司 Bionic hand teaching aid, control method thereof and main control equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111870242A (en) * 2020-08-03 2020-11-03 南京邮电大学 Intelligent gesture action generation method based on electromyographic signals
CN114452054A (en) * 2022-02-23 2022-05-10 深圳市心流科技有限公司 Control method and device of intelligent artificial limb, intelligent artificial limb and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111870242A (en) * 2020-08-03 2020-11-03 南京邮电大学 Intelligent gesture action generation method based on electromyographic signals
CN114452054A (en) * 2022-02-23 2022-05-10 深圳市心流科技有限公司 Control method and device of intelligent artificial limb, intelligent artificial limb and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115153985A (en) * 2022-09-08 2022-10-11 深圳市心流科技有限公司 Control method, device and terminal of intelligent artificial limb and computer readable storage medium
CN115204242A (en) * 2022-09-09 2022-10-18 深圳市心流科技有限公司 Method and device for adjusting action template comparison threshold and storage medium
CN115251957A (en) * 2022-09-26 2022-11-01 深圳市心流科技有限公司 Method, device and storage medium for adjusting sampling frequency step by step
CN116360592A (en) * 2023-03-17 2023-06-30 浙江强脑科技有限公司 Control method and equipment of intelligent bionic hand, intelligent bionic hand and storage medium
CN116449967A (en) * 2023-06-20 2023-07-18 浙江强脑科技有限公司 Bionic hand teaching aid, control method thereof and main control equipment

Also Published As

Publication number Publication date
CN114707562B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN114707562B (en) Electromyographic signal sampling frequency control method and device and storage medium
Savur et al. Real-time american sign language recognition system using surface emg signal
McFarland et al. BCI meeting 2005-workshop on BCI signal processing: feature extraction and translation
CN110555468A (en) Electroencephalogram signal identification method and system combining recursion graph and CNN
CN113977589B (en) Gesture recognition threshold adjusting method and device and storage medium
WO2022012364A1 (en) Electromyographic signal processing method and apparatus, and exoskeleton robot control method and apparatus
CN108703824B (en) Bionic hand control system and control method based on myoelectricity bracelet
Carfi et al. Online human gesture recognition using recurrent neural networks and wearable sensors
CN110069199A (en) A kind of skin-type finger gesture recognition methods based on smartwatch
Oh et al. Classification of hand gestures based on multi-channel EMG by scale Average wavelet transform and convolutional neural network
CN109800720A (en) Emotion identification model training method, Emotion identification method, apparatus, equipment and storage medium
CN106484082B (en) Control method and device based on bioelectricity and controller
CN110443113A (en) A kind of virtual reality Writing method, system and storage medium
CN112001305B (en) Feature optimization SSVEP asynchronous recognition method based on gradient lifting decision tree
Jaramillo-Yanez et al. Short-term hand gesture recognition using electromyography in the transient state, support vector machines, and discrete wavelet transform
Young et al. Pattern recognition for prosthetic hand user’s intentions using EMG data and machine learning techniques
Aggelides et al. A gesture recognition approach to classifying allergic rhinitis gestures using wrist-worn devices: a multidisciplinary case study
Jo et al. Real-time hand gesture classification using crnn with scale average wavelet transform
CN108491792B (en) Office scene human-computer interaction behavior recognition method based on electro-oculogram signals
Ye et al. Attention bidirectional LSTM networks based mime speech recognition using sEMG data
CN110910898A (en) Voice information processing method and device
CN110751060B (en) Portable motion mode real-time identification system based on multi-source signals
Derr et al. Signer-independent classification of American sign language word signs using surface EMG
Eddy et al. Understanding the influence of confounding factors in myoelectric control for discrete gesture recognition
JP2022523354A (en) EMG control systems and methods for instructing extracorporeal prosthesis users

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Han Bicheng

Inventor before: Han Bicheng

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant