CN114668564A - Method for dynamically adjusting sampling frequency based on electromyographic signal data - Google Patents

Method for dynamically adjusting sampling frequency based on electromyographic signal data Download PDF

Info

Publication number
CN114668564A
CN114668564A CN202210582024.7A CN202210582024A CN114668564A CN 114668564 A CN114668564 A CN 114668564A CN 202210582024 A CN202210582024 A CN 202210582024A CN 114668564 A CN114668564 A CN 114668564A
Authority
CN
China
Prior art keywords
data
sampling frequency
fluctuation
electromyographic signal
signal data
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
CN202210582024.7A
Other languages
Chinese (zh)
Other versions
CN114668564B (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 CN202210582024.7A priority Critical patent/CN114668564B/en
Publication of CN114668564A publication Critical patent/CN114668564A/en
Application granted granted Critical
Publication of CN114668564B publication Critical patent/CN114668564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/50Prostheses not implantable in the body
    • A61F2/68Operating or control means
    • A61F2/70Operating or control means electrical
    • A61F2/72Bioelectric control, e.g. myoelectric
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/50Prostheses not implantable in the body
    • A61F2/54Artificial arms or hands or parts thereof
    • A61F2/58Elbows; Wrists ; Other joints; Hands
    • A61F2/583Hands; Wrist joints
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/50Prostheses not implantable in the body
    • A61F2/54Artificial arms or hands or parts thereof
    • A61F2/58Elbows; Wrists ; Other joints; Hands
    • A61F2/583Hands; Wrist joints
    • A61F2/586Fingers

Abstract

The invention discloses a method for dynamically adjusting sampling frequency based on electromyographic signal data, which comprises the following steps: acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the movement posture change of the bionic hand; analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition; and if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data. The invention can determine whether the gesture action meets the action requirement by analyzing the gesture data and the electromyographic signal data, and adjust the sampling frequency if the gesture action meets the action requirement so as to control the sampling frequency in time and be beneficial to reducing the energy consumption of the electromyographic equipment.

Description

Method for dynamically adjusting sampling frequency based on electromyographic signal data
Technical Field
The invention relates to the technical field of electromyographic signal control, in particular to a method for dynamically adjusting sampling frequency based on electromyographic signal data.
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 myoelectric signals uninterruptedly, so that the timeliness and the accuracy of the myoelectric signal collection can be ensured. However, the continuous collection of the electromyographic signals causes high energy consumption of the bionic hand and influences the use of the user. Therefore, the energy consumption of the bionic hand cannot be controlled in the prior art.
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 dynamically adjusting a sampling frequency based on electromyographic signal data, aiming at solving the problems in the prior art that the energy consumption of a bionic hand is high and cannot be controlled due to the continuous acquisition of the electromyographic signal.
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 dynamically adjusting a sampling frequency based on electromyographic signal data, wherein the method includes:
acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the movement posture change of the bionic hand;
analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition;
and if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data.
In one implementation, the analyzing the attitude data to determine a fluctuation amplitude of the attitude data includes:
analyzing the attitude data in a preset time period, and drawing fluctuation curve data corresponding to the attitude data;
and determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
In one implementation, the determining, according to the fluctuation curve data, the fluctuation amplitude of the attitude data within the preset time period includes:
acquiring a starting time and a terminating time corresponding to the fluctuation curve data based on the fluctuation curve data, and determining a peak value and a valley value between the starting time and the terminating time;
determining the fluctuation amplitude based on the peak value and the valley value, wherein the fluctuation amplitude is the difference between the peak value and the valley value.
In one implementation manner, when the fluctuation amplitude satisfies a preset condition, analyzing the electromyographic signal data to determine a gesture action corresponding to the electromyographic signal data includes:
comparing the fluctuation amplitude with a preset fluctuation range;
if the fluctuation amplitude is smaller than the fluctuation range, determining that the fluctuation amplitude meets a preset condition;
and acquiring action potential information corresponding to the electromyographic signal data, and determining the gesture action according to the action potential information.
In one implementation, the dynamically adjusting the sampling frequency based on the gesture data if the gesture motion meets a preset motion requirement includes:
determining an action mode corresponding to the gesture action according to the gesture action;
if the action mode is a static action mode or an intermittent action mode, acquiring the duration time of the fluctuation range of the attitude data meeting the preset condition;
and dynamically adjusting the sampling frequency according to the duration.
In one implementation, the dynamically adjusting the sampling frequency according to the duration includes:
comparing the duration with a preset time value;
and if the duration is greater than or equal to the preset time value, reducing the sampling frequency.
In one implementation, the method further includes:
re-acquiring the fluctuation amplitude of the attitude data;
if the fluctuation amplitude of the attitude data obtained again is larger than a preset fluctuation threshold value, the sampling frequency is increased;
reacquiring the electromyographic signal data;
and if the action mode corresponding to the reacquired electromyographic signal data is an active action mode, continuously increasing the sampling frequency until the sampling frequency is restored to the initial state.
In a second aspect, an embodiment of the present invention further provides an apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data, where the apparatus includes:
the data acquisition module is used for acquiring posture data and myoelectric signal data, and the posture data is used for reflecting the movement posture change of the bionic hand;
the data analysis module is used for analyzing the attitude data, determining the fluctuation amplitude of the attitude data, analyzing the electromyographic signal data when the fluctuation amplitude meets a preset condition, and determining the gesture action corresponding to the electromyographic signal data;
and the frequency adjusting module is used for dynamically adjusting the sampling frequency based on the gesture data if the gesture action meets the preset action requirement.
In one implementation, the data analysis module includes:
the fluctuation analysis unit is used for analyzing the attitude data in a preset time period and drawing fluctuation curve data corresponding to the attitude data;
and the amplitude determining unit is used for determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
In one implementation, the amplitude determining unit includes:
the numerical value determining subunit is configured to obtain a start time and an end time corresponding to the fluctuation curve data based on the fluctuation curve data, and determine a peak value and a valley value between the start time and the end time;
a difference determining subunit, configured to determine the fluctuation amplitude based on the peak value and the valley value, where the fluctuation amplitude is a difference between the peak value and the valley value.
In one implementation, the data analysis module includes:
the fluctuation comparison unit is used for comparing the fluctuation amplitude with a preset fluctuation range;
the condition judgment unit is used for determining that the fluctuation amplitude meets a preset condition if the fluctuation amplitude is smaller than the fluctuation range;
and the action determining unit is used for acquiring action potential information corresponding to the electromyographic signal data and determining the gesture action according to the action potential information.
In one implementation, the frequency adjustment module includes:
the action mode determining unit is used for determining an action mode corresponding to the gesture action according to the gesture action;
a duration determining unit, configured to obtain, if the motion mode is a static motion mode or an intermittent motion mode, a duration that a fluctuation amplitude of the posture data satisfies a preset condition;
and the frequency dynamic adjusting unit is used for dynamically adjusting the sampling frequency according to the duration.
In one implementation, the dynamic frequency adjustment unit includes:
the time comparison subunit is used for comparing the duration with a preset time value;
and the frequency reduction subunit is used for reducing the sampling frequency if the duration is greater than or equal to the preset time value.
In one implementation, the apparatus further includes:
a fluctuation-amplitude re-determination unit configured to re-acquire a fluctuation amplitude of the attitude data;
the first sampling frequency recovery unit is used for increasing the sampling frequency if the fluctuation amplitude of the attitude data obtained again is larger than a preset fluctuation threshold value;
an electromyographic signal reacquisition unit for reacquiring the electromyographic signal data;
and the second sampling frequency recovery unit is used for continuously increasing the sampling frequency if the action mode corresponding to the reacquired electromyographic signal data is an active action mode until the sampling frequency is recovered to the initial state.
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 a program stored in the memory and running on the processor and used for dynamically adjusting a sampling frequency based on electromyographic signal data, and when the processor executes the program used for dynamically adjusting the sampling frequency based on electromyographic signal data, the method for dynamically adjusting the sampling frequency based on electromyographic signal data 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 a program for dynamically adjusting a sampling frequency based on electromyographic signal data is stored on the computer-readable storage medium, and when the program for dynamically adjusting a sampling frequency based on electromyographic signal data is executed by a processor, the steps of the method for dynamically adjusting a sampling frequency based on electromyographic signal data according to any one of the above schemes are implemented.
Has the advantages that: compared with the prior art, the invention provides a method for dynamically adjusting sampling frequency based on electromyographic signal data. And then analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition. And if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data. The invention can determine whether the gesture action meets the action requirement by analyzing the gesture data and the myoelectric signal data, and adjust the sampling frequency if the gesture action meets the action requirement so as to control the sampling frequency in time and be beneficial to reducing the energy consumption of the myoelectric equipment.
Drawings
Fig. 1 is a flowchart of a method for dynamically adjusting a sampling frequency based on electromyographic signal data according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of an apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data 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 a method for dynamically adjusting sampling frequency based on electromyographic signal data, and the method based on the embodiment can control the sampling frequency of the electromyographic signal, so that the control of energy consumption of electromyographic equipment is realized. In specific implementation, the present embodiment first obtains posture data and myoelectric signal data, where the posture data is used to reflect the movement posture change of the bionic hand. And then analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition. And if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data. The embodiment can analyze the gesture data and the electromyographic signal data to determine whether the gesture action meets the action requirement, and if the gesture action meets the action requirement, the sampling frequency is adjusted to control the sampling frequency in time, so that the energy consumption of the electromyographic equipment is reduced.
For example, the electromyographic device first obtains posture data and electromyographic signal data, where the posture data is used to reflect a motion posture change of a bionic hand, so that the electromyographic device may analyze the posture data to obtain a fluctuation range, for example, the fluctuation range is a, if the fluctuation range a meets a preset condition, the electromyographic signal data may be analyzed to determine a gesture motion corresponding to the electromyographic signal data, and if the determined gesture motion is a static motion, it is indicated that the motion posture corresponding to the gesture motion is small, and at this time, a sampling frequency of the electromyographic signal data may be reduced to reduce energy consumption of the electromyographic device.
Exemplary method
The method for dynamically adjusting the sampling frequency based on the electromyographic signal data of the embodiment can be applied to electromyographic equipment, which can be an intelligent bionic hand, and specifically, as shown in fig. 1, the method for dynamically adjusting the sampling frequency based on the electromyographic signal data comprises the following steps:
and S100, acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the motion posture change of the bionic hand.
The electromyographic device of the embodiment firstly acquires posture data and electromyographic signal data, wherein the posture data reflects the motion posture change of a bionic hand (namely the electromyographic device), and specifically comprises data such as coordinate change of each finger joint of the bionic hand. In specific implementation, the embodiment may detect and obtain IMU (inertial measurement unit) data of the finger joint through the inertial measurement unit, and the IMU data may reflect the posture data. The electromyographic signal data is data which is collected by connecting the electromyographic equipment with neurons on arms of a human body and can reflect action potential information on the neurons.
Step S200, analyzing the attitude data, determining the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data when the fluctuation amplitude meets a preset condition to determine the gesture action corresponding to the electromyographic signal data.
After obtaining the posture data and the electromyographic signal data, the present embodiment may first analyze the posture data to determine the fluctuation amplitude of the posture data. The fluctuation amplitude reflects the change degree of the signal corresponding to the attitude data. After the fluctuation amplitude is obtained, the fluctuation amplitude is analyzed, and if the fluctuation amplitude meets a preset condition, the electromyographic signal data can be analyzed to determine the gesture action corresponding to the electromyographic signal data.
In one implementation, the present embodiment, when determining the fluctuation amplitude, includes the following steps:
step S201, analyzing the attitude data in a preset time period, and drawing fluctuation curve data corresponding to the attitude data;
step S202, determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
In specific implementation, the present embodiment may collect posture data within a preset time period, analyze the posture data, draw corresponding fluctuation curve data according to the posture data, and specifically, automatically generate the fluctuation curve data according to the posture data based on preset software. The fluctuation curve data reflects posture data at different times and can reflect the change condition of the posture data within a preset time period, so that the embodiment can acquire the starting time and the ending time corresponding to the fluctuation curve data according to the fluctuation curve data and determine the peak value and the valley value between the starting time and the ending time. Determining the fluctuation amplitude based on the peak value and the valley value, wherein the fluctuation amplitude is the difference between the peak value and the valley value. For example, the fluctuation range is a-B because the peak value and the trough value between the start time and the end time obtained from the fluctuation curve data are a and B, respectively.
Next, when determining the gesture, the embodiment includes the following steps:
step S203, comparing the fluctuation amplitude with a preset fluctuation range;
step S204, if the fluctuation amplitude is smaller than the fluctuation range, determining that the fluctuation amplitude meets a preset condition;
and S205, acquiring action potential information corresponding to the electromyographic signal data, and determining the gesture action according to the action potential information.
Specifically, after obtaining the fluctuation range, the present embodiment compares the fluctuation range with a preset fluctuation range; and if the fluctuation amplitude is smaller than the fluctuation range, determining that the fluctuation amplitude meets a preset condition. In this embodiment, the preset fluctuation range may be set to be relatively small, and when the fluctuation range is smaller than the fluctuation range, it may be said that the fluctuation of the attitude data is small. The electromyographic signal data may then be further analyzed. The embodiment acquires action potential information corresponding to the electromyographic signal data, and determines a gesture corresponding to the electromyographic signal data based on the action potential information. Since the action potential information corresponding to different gesture actions is different, the gesture actions can be determined based on a preset gesture template, and the action potential information corresponding to different gesture actions is set in the gesture template, so that after the action potential information corresponding to the electromyographic signal data is obtained, the action potential information is input into the gesture template for matching, and the corresponding gesture actions can be obtained.
And step S300, if the gesture motion meets the preset motion requirement, dynamically adjusting the sampling frequency based on the attitude data.
After the gesture action is determined, the gesture action is analyzed, if the gesture action meets a preset action requirement, for example, the gesture action is a static action, it indicates that the user does not perform too complicated or too many actions, and the electromyographic device does not need to acquire electromyographic signal data in real time or continuously, so that the sampling frequency can be dynamically adjusted.
In an implementation manner, when the sampling frequency is dynamically adjusted, the embodiment includes the following steps:
step S301, determining an action mode corresponding to the gesture action according to the gesture action;
step S302, if the action mode is a static action mode or an intermittent action mode, acquiring the duration time of the fluctuation range of the attitude data meeting a preset condition;
and step S303, dynamically adjusting the sampling frequency according to the duration.
Specifically, the embodiment determines the motion mode corresponding to the gesture motion according to the gesture motion. Specifically, the occurrence frequency, the occurrence time, and the motion amplitude of the gesture motion may be analyzed in this embodiment, and if the occurrence frequency of the gesture motion is less than a preset value and the occurrence time is discontinuous, it may be determined that the motion mode of the gesture motion is an intermittent motion mode, that is, the gesture motion is discontinuous. If the motion amplitude of the gesture motion is smaller than the preset range, the static motion mode of the gesture motion can be determined. When the gesture motion of the present embodiment is determined to be the static motion mode and the intermittent motion mode, the present embodiment may obtain the fluctuation range of the gesture data, and then obtain the duration that the fluctuation range meets the preset condition, that is, obtain the duration that the fluctuation range of the gesture data is smaller. Then comparing the duration with a preset time value; if the duration is greater than or equal to the preset time value, it is indicated that the time for maintaining the small fluctuation amplitude of the gesture data is long, and the motion mode of the gesture motion at this time is a static motion mode or an intermittent motion mode, and for the electromyographic device, frequent sampling of electromyographic signal data is not needed, so that the sampling frequency can be reduced, the sampling result and control of the electromyographic device (such as bionic) are not affected, and the energy consumption of the electromyographic device is also reduced.
In one implementation, after the sampling frequency is reduced, the embodiment may reacquire the fluctuation amplitude of the attitude data; if the fluctuation amplitude of the posture data obtained again is larger than the preset fluctuation threshold, the fluctuation of the posture data at this time is larger, so that the sampling frequency can be increased in this embodiment, and specifically, the sampling frequency can be restored to half of the sampling frequency before the reduction. Then, the electromyographic device re-acquires the electromyographic signal data, and if the action mode corresponding to the re-acquired electromyographic signal data is an active action mode (that is, the action amplitude of the gesture action corresponding to the re-acquired electromyographic signal data is relatively large), in order to capture the electromyographic signal data in time so as to miss the gesture action that the user wants to perform, the electromyographic device may continue to increase the sampling frequency until the sampling frequency returns to the initial state, that is, the sampling frequency before the decrease. Therefore, the embodiment can dynamically adjust the sampling frequency of the electromyographic equipment, realize the control of the energy consumption of the electromyographic equipment, and reduce the energy consumption of the electromyographic equipment on the premise of not influencing the use of a user.
In summary, the present embodiment first obtains posture data and myoelectric signal data, where the posture data is used to reflect the movement posture change of the bionic hand. And then analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition. And if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data. The embodiment can analyze the gesture data and the electromyographic signal data to determine whether the gesture action meets the action requirement, and if the gesture action meets the action requirement, the sampling frequency is adjusted to control the sampling frequency in time, so that the energy consumption of the electromyographic equipment is reduced.
Exemplary devices
Based on the above embodiment, the present invention further provides an apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data, as shown in fig. 2, the apparatus including: a data acquisition module 10, a data analysis module 20, and a frequency adjustment module 30. Specifically, the data acquiring module 10 is configured to acquire posture data and myoelectric signal data, where the posture data is used to reflect a movement posture change of the bionic hand. The data analysis module 20 is configured to analyze the posture data, determine a fluctuation amplitude of the posture data, analyze the electromyographic signal data when the fluctuation amplitude satisfies a preset condition, and determine a gesture action corresponding to the electromyographic signal data. The frequency adjustment module 30 is configured to dynamically adjust the sampling frequency based on the gesture data if the gesture motion meets a preset motion requirement.
In one implementation, the data analysis module 20 includes:
the fluctuation analysis unit is used for analyzing the attitude data in a preset time period and drawing fluctuation curve data corresponding to the attitude data;
and the amplitude determining unit is used for determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
In one implementation, the amplitude determining unit includes:
the numerical value determining subunit is configured to obtain a start time and an end time corresponding to the fluctuation curve data based on the fluctuation curve data, and determine a peak value and a valley value between the start time and the end time;
a difference determining subunit, configured to determine the fluctuation amplitude based on the peak value and the valley value, where the fluctuation amplitude is a difference between the peak value and the valley value.
In one implementation, the data analysis module includes:
the fluctuation comparison unit is used for comparing the fluctuation amplitude with a preset fluctuation range;
the condition judgment unit is used for determining that the fluctuation amplitude meets a preset condition if the fluctuation amplitude is smaller than the fluctuation range;
and the action determining unit is used for acquiring action potential information corresponding to the electromyographic signal data and determining the gesture action according to the action potential information.
In one implementation, the frequency adjustment module 30 includes:
the action mode determining unit is used for determining an action mode corresponding to the gesture action according to the gesture action;
a duration determining unit, configured to obtain, if the motion mode is a static motion mode or an intermittent motion mode, a duration that a fluctuation amplitude of the posture data satisfies a preset condition;
and the frequency dynamic adjusting unit is used for dynamically adjusting the sampling frequency according to the duration.
In one implementation, the dynamic frequency adjustment unit includes:
the time comparison subunit is used for comparing the duration with a preset time value;
and the frequency reduction subunit is used for reducing the sampling frequency if the duration is greater than or equal to the preset time value.
In one implementation, the apparatus further includes:
a fluctuation-amplitude re-determination unit configured to re-acquire a fluctuation amplitude of the attitude data;
the first sampling frequency recovery unit is used for increasing the sampling frequency if the fluctuation amplitude of the attitude data obtained again is larger than a preset fluctuation threshold value;
an electromyographic signal reacquisition unit for reacquiring the electromyographic signal data;
and the second sampling frequency recovery unit is used for continuously increasing the sampling frequency if the action mode corresponding to the reacquired electromyographic signal data is an active action mode until the sampling frequency is recovered to the initial state.
The working principle of each module in the device for dynamically adjusting the sampling frequency based on the electromyographic signal data of this embodiment is the same as the principle of each step in the above method embodiment, and details are not described 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 device 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 operation of an operating system and computer programs in 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 dynamically adjusting a sampling frequency based on electromyographic signal data.
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 a method program stored in the memory and executable on the processor for dynamically adjusting a sampling frequency based on electromyographic signal data, and when the processor executes the method program for dynamically adjusting the sampling frequency based on electromyographic signal data, the following operation instructions are implemented:
acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the movement posture change of the bionic hand;
analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition;
and if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data.
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, operations databases, or other media used in the 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 present invention discloses a method for dynamically adjusting sampling frequency based on electromyographic signal data, the method comprising: acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the movement posture change of the bionic hand; analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition; and if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data. The invention can determine whether the gesture action meets the action requirement by analyzing the gesture data and the myoelectric signal data, and adjust the sampling frequency if the gesture action meets the action requirement so as to control the sampling frequency in time and be beneficial to reducing the energy consumption of the myoelectric 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. A method for dynamically adjusting a sampling frequency based on electromyographic signal data, the method comprising:
acquiring posture data and electromyographic signal data, wherein the posture data is used for reflecting the movement posture change of the bionic hand;
analyzing the attitude data to determine the fluctuation amplitude of the attitude data, and analyzing the electromyographic signal data to determine the gesture action corresponding to the electromyographic signal data when the fluctuation amplitude meets a preset condition;
and if the gesture action meets the preset action requirement, dynamically adjusting the sampling frequency based on the gesture data.
2. The method for dynamically adjusting sampling frequency based on electromyographic signal data according to claim 1, wherein analyzing the posture data to determine the fluctuation amplitude of the posture data comprises:
analyzing the attitude data in a preset time period, and drawing fluctuation curve data corresponding to the attitude data;
and determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
3. The method for dynamically adjusting sampling frequency based on electromyographic signal data according to claim 2, wherein the determining the fluctuation amplitude of the posture data within the preset time period according to the fluctuation curve data comprises:
acquiring a starting time and a terminating time corresponding to the fluctuation curve data based on the fluctuation curve data, and determining a peak value and a valley value between the starting time and the terminating time;
determining the fluctuation amplitude based on the peak value and the valley value, wherein the fluctuation amplitude is the difference between the peak value and the valley value.
4. The method for dynamically adjusting sampling frequency based on electromyographic signal data according to claim 3, wherein the analyzing the electromyographic signal data to determine the gesture corresponding to the electromyographic signal data when the fluctuation amplitude satisfies a preset condition comprises:
comparing the fluctuation amplitude with a preset fluctuation range;
if the fluctuation amplitude is smaller than the fluctuation range, determining that the fluctuation amplitude meets a preset condition;
and acquiring action potential information corresponding to the electromyographic signal data, and determining the gesture action according to the action potential information.
5. The method for dynamically adjusting sampling frequency based on electromyographic signal data according to claim 4, wherein if the gesture action meets a preset action requirement, dynamically adjusting the sampling frequency based on the gesture data comprises:
determining an action mode corresponding to the gesture action according to the gesture action;
if the action mode is a static action mode or an intermittent action mode, acquiring the duration time of the fluctuation range of the attitude data meeting the preset condition;
and dynamically adjusting the sampling frequency according to the duration.
6. The method according to claim 5, wherein the dynamically adjusting the sampling frequency according to the duration comprises:
comparing the duration with a preset time value;
and if the duration is greater than or equal to the preset time value, reducing the sampling frequency.
7. The method of claim 6, further comprising:
re-acquiring the fluctuation amplitude of the attitude data;
if the fluctuation amplitude of the attitude data obtained again is larger than a preset fluctuation threshold value, the sampling frequency is increased;
reacquiring the electromyographic signal data;
and if the action mode corresponding to the reacquired electromyographic signal data is an active action mode, continuously increasing the sampling frequency until the sampling frequency is restored to the initial state.
8. An apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data, the apparatus comprising:
the data acquisition module is used for acquiring posture data and myoelectric signal data, and the posture data is used for reflecting the movement posture change of the bionic hand;
the data analysis module is used for analyzing the attitude data, determining the fluctuation amplitude of the attitude data, analyzing the electromyographic signal data when the fluctuation amplitude meets a preset condition, and determining the gesture action corresponding to the electromyographic signal data;
and the frequency adjusting module is used for dynamically adjusting the sampling frequency based on the attitude data if the gesture action meets the preset action requirement.
9. The apparatus for dynamically adjusting a sampling frequency according to claim 8, wherein the data analysis module comprises:
the fluctuation analysis unit is used for analyzing the attitude data in a preset time period and drawing fluctuation curve data corresponding to the attitude data;
and the amplitude determining unit is used for determining the fluctuation amplitude of the attitude data in the preset time period according to the fluctuation curve data.
10. The apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data according to claim 9, wherein the amplitude determining unit comprises:
the numerical value determining subunit is configured to obtain a start time and an end time corresponding to the fluctuation curve data based on the fluctuation curve data, and determine a peak value and a valley value between the start time and the end time;
a difference determining subunit, configured to determine the fluctuation amplitude based on the peak value and the valley value, where the fluctuation amplitude is a difference between the peak value and the valley value.
11. The apparatus for dynamically adjusting a sampling frequency according to claim 10, wherein the data analysis module comprises:
the fluctuation comparison unit is used for comparing the fluctuation amplitude with a preset fluctuation range;
the condition judgment unit is used for determining that the fluctuation amplitude meets a preset condition if the fluctuation amplitude is smaller than the fluctuation range;
and the action determining unit is used for acquiring action potential information corresponding to the electromyographic signal data and determining the gesture action according to the action potential information.
12. The apparatus for dynamically adjusting a sampling frequency according to claim 11, wherein the frequency adjustment module comprises:
the action mode determining unit is used for determining an action mode corresponding to the gesture action according to the gesture action;
a duration determining unit, configured to obtain, if the motion mode is a static motion mode or an intermittent motion mode, a duration that a fluctuation amplitude of the posture data satisfies a preset condition;
and the frequency dynamic adjusting unit is used for dynamically adjusting the sampling frequency according to the duration.
13. The apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data according to claim 12, wherein the frequency dynamic adjustment unit comprises:
the time comparison subunit is used for comparing the duration with a preset time value;
and the frequency reduction subunit is used for reducing the sampling frequency if the duration is greater than or equal to the preset time value.
14. The apparatus for dynamically adjusting a sampling frequency based on electromyographic signal data according to claim 13, further comprising:
a fluctuation-amplitude re-determination unit configured to re-acquire a fluctuation amplitude of the attitude data;
the first sampling frequency recovery unit is used for increasing the sampling frequency if the fluctuation amplitude of the attitude data obtained again is larger than a preset fluctuation threshold value;
an electromyographic signal reacquisition unit for reacquiring the electromyographic signal data;
and the second sampling frequency recovery unit is used for continuously increasing the sampling frequency if the action mode corresponding to the reacquired electromyographic signal data is an active action mode until the sampling frequency is recovered to the initial state.
15. An electromyographic device comprising a memory, a processor, and a program stored in and executable on the memory for dynamically adjusting a sampling frequency based on electromyographic signal data, the processor implementing the steps of the method for dynamically adjusting a sampling frequency based on electromyographic signal data according to any of claims 1 to 7 when executing the program for dynamically adjusting a sampling frequency based on electromyographic signal data.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for dynamically adjusting the sampling frequency based on electromyographic signal data, the program for dynamically adjusting the sampling frequency based on electromyographic signal data implementing the steps of the method for dynamically adjusting the sampling frequency based on electromyographic signal data according to any one of claims 1 to 7, when executed by a processor.
CN202210582024.7A 2022-05-26 2022-05-26 Method for dynamically adjusting sampling frequency based on electromyographic signal data Active CN114668564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210582024.7A CN114668564B (en) 2022-05-26 2022-05-26 Method for dynamically adjusting sampling frequency based on electromyographic signal data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210582024.7A CN114668564B (en) 2022-05-26 2022-05-26 Method for dynamically adjusting sampling frequency based on electromyographic signal data

Publications (2)

Publication Number Publication Date
CN114668564A true CN114668564A (en) 2022-06-28
CN114668564B CN114668564B (en) 2022-09-20

Family

ID=82080738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210582024.7A Active CN114668564B (en) 2022-05-26 2022-05-26 Method for dynamically adjusting sampling frequency based on electromyographic signal data

Country Status (1)

Country Link
CN (1) CN114668564B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115192049A (en) * 2022-09-14 2022-10-18 深圳市心流科技有限公司 Myoelectricity sampling frequency adjusting method of intelligent artificial limb

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294062A1 (en) * 2007-05-25 2008-11-27 Rapoport Benjamin I Low-power analog architecture for brain-machine interfaces
CN102499797A (en) * 2011-10-25 2012-06-20 中国科学院深圳先进技术研究院 Artificial limb control method and system
CN202288542U (en) * 2011-10-25 2012-07-04 中国科学院深圳先进技术研究院 Artificial limb control device
CN108209911A (en) * 2017-05-25 2018-06-29 深圳市前海未来无限投资管理有限公司 A kind of electromyographic signal collection method and device
WO2018214523A1 (en) * 2017-05-25 2018-11-29 深圳市前海未来无限投资管理有限公司 Electromyographic signal acquisition method and apparatus
CN113946225A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Gesture locking method, intelligent bionic hand, terminal and storage medium
CN113946224A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Control method and device for myoelectric gesture recognition of intelligent bionic hand and storage medium
CN113977589A (en) * 2021-12-23 2022-01-28 深圳市心流科技有限公司 Gesture recognition threshold adjusting method and device and storage medium
CN114452054A (en) * 2022-02-23 2022-05-10 深圳市心流科技有限公司 Control method and device of intelligent artificial limb, intelligent artificial limb and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294062A1 (en) * 2007-05-25 2008-11-27 Rapoport Benjamin I Low-power analog architecture for brain-machine interfaces
CN102499797A (en) * 2011-10-25 2012-06-20 中国科学院深圳先进技术研究院 Artificial limb control method and system
CN202288542U (en) * 2011-10-25 2012-07-04 中国科学院深圳先进技术研究院 Artificial limb control device
CN108209911A (en) * 2017-05-25 2018-06-29 深圳市前海未来无限投资管理有限公司 A kind of electromyographic signal collection method and device
WO2018214523A1 (en) * 2017-05-25 2018-11-29 深圳市前海未来无限投资管理有限公司 Electromyographic signal acquisition method and apparatus
CN113946225A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Gesture locking method, intelligent bionic hand, terminal and storage medium
CN113946224A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Control method and device for myoelectric gesture recognition of intelligent bionic hand and storage medium
CN113977589A (en) * 2021-12-23 2022-01-28 深圳市心流科技有限公司 Gesture recognition threshold adjusting method and device and storage medium
CN114452054A (en) * 2022-02-23 2022-05-10 深圳市心流科技有限公司 Control method and device of intelligent artificial limb, intelligent artificial limb and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115192049A (en) * 2022-09-14 2022-10-18 深圳市心流科技有限公司 Myoelectricity sampling frequency adjusting method of intelligent artificial limb

Also Published As

Publication number Publication date
CN114668564B (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN114652493B (en) Electromyographic signal control method and device, electromyographic equipment and storage medium
CN113977589B (en) Gesture recognition threshold adjusting method and device and storage medium
CN113946224B (en) Control method and device for myoelectric gesture recognition of intelligent bionic hand and storage medium
CN113946225B (en) Gesture locking method, intelligent bionic hand, terminal and storage medium
CN113970968B (en) Intelligent bionic hand action pre-judging method
CN114167995B (en) Gesture locking method and device for bionic hand, terminal and storage medium
CN114668564B (en) Method for dynamically adjusting sampling frequency based on electromyographic signal data
CN114707562B (en) Electromyographic signal sampling frequency control method and device and storage medium
CN114452054A (en) Control method and device of intelligent artificial limb, intelligent artificial limb and storage medium
CN114668563B (en) Multi-level regulation method for sampling frequency of electromyographic signals
CN114625257B (en) Action recognition method and device based on electromyographic signals
CN115192049B (en) Myoelectricity sampling frequency adjusting method of intelligent artificial limb
CN115105270B (en) Dynamic adjustment method for myoelectricity matching threshold of intelligent artificial limb
CN114683292B (en) Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium
CN114676737B (en) Dynamic regulation method for sampling frequency of electromyographic signal
CN114167996B (en) Sensor-based action pre-judging method and device and storage medium
CN113985949B (en) Temperature control method of intelligent artificial limb, terminal and storage medium
CN113616494A (en) Massage control method, massage control device, computer equipment and computer readable storage medium
WO2023027578A1 (en) Nose-operated head-mounted device
CN115204242B (en) Method and device for adjusting action template comparison threshold and storage medium
CN117357873B (en) Running mode control method and device, intelligent leg prosthesis, terminal and storage medium
CN114201052A (en) Motion force control method and device of bionic hand and storage medium
CN114625246A (en) Gesture combination triggering method and device, intelligent bionic hand and storage medium
CN115251957A (en) Method, device and storage medium for adjusting sampling frequency step by step
CN114967935B (en) Interaction method and device based on sight estimation, terminal equipment and storage medium

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