CN114683292A - Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium - Google Patents
Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium Download PDFInfo
- Publication number
- CN114683292A CN114683292A CN202210613072.8A CN202210613072A CN114683292A CN 114683292 A CN114683292 A CN 114683292A CN 202210613072 A CN202210613072 A CN 202210613072A CN 114683292 A CN114683292 A CN 114683292A
- Authority
- CN
- China
- Prior art keywords
- sampling frequency
- measurement unit
- data
- gesture
- motion
- 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
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
- B25J9/161—Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J13/00—Controls for manipulators
- B25J13/08—Controls for manipulators by means of sensing devices, e.g. viewing or touching devices
- B25J13/087—Controls for manipulators by means of sensing devices, e.g. viewing or touching devices for sensing other physical parameters, e.g. electrical or chemical properties
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/015—Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Robotics (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Health & Medical Sciences (AREA)
- Neurology (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- Neurosurgery (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Dermatology (AREA)
- Biomedical Technology (AREA)
- User Interface Of Digital Computer (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention discloses a sampling frequency control method of electromyographic equipment, an intelligent bionic hand and a storage medium, wherein the method comprises the following steps: acquiring gesture electromyographic signal data and inertia measurement unit data, and determining a motion mode according to the gesture electromyographic signal data and the inertia measurement unit data, wherein the inertia measurement unit data is used for reflecting the motion posture of a user in a three-dimensional space; according to the action mode, determining a sampling frequency, wherein the sampling frequency is used for determining the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data; and adjusting the sampling frequency according to the data of the inertial measurement unit. The invention can determine different sampling frequencies according to different action modes, and can adjust the sampling frequency according to the data of the inertia measurement unit, thereby saving power consumption and prolonging the battery endurance time of the electromyographic equipment.
Description
Technical Field
The invention relates to the field of power consumption control, in particular to a sampling frequency control method of electromyographic equipment, an intelligent bionic hand and a storage medium.
Background
The intelligent bionic hand is an intelligent product with high integration of brain-computer interface technology and artificial intelligence algorithm. The intelligent bionic hand can identify the movement intention of the wearer by extracting the neuromuscular signals of the wearer and convert the movement schematic diagram into the movement of the intelligent bionic hand, so that the smart intelligence is achieved, and the hand moves with the heart.
However, the current intelligent bionic hand cannot change the power consumption strategy along with the change of the action mode of the user during the use. For example, when the intelligent bionic hand of the user is switched from the motion mode to the natural placement state, the frequency of signal acquisition is not reduced, so that the power consumption of the intelligent bionic hand is wasted, and the endurance time of the intelligent bionic hand is influenced.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a sampling frequency control method of an electromyographic device, an intelligent bionic hand and a storage medium aiming at solving the problem that in the use process of the electromyographic device, the power consumption is wasted because a power consumption strategy cannot be changed according to an action mode in the prior art, so that the problem of insufficient endurance time of the electromyographic device is solved.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, the present invention provides a sampling frequency control method of an electromyographic device, wherein the method comprises:
acquiring gesture electromyographic signal data and inertia measurement unit data, and determining a motion mode according to the gesture electromyographic signal data and the inertia measurement unit data, wherein the inertia measurement unit data is used for reflecting the motion posture of a user in a three-dimensional space;
determining a sampling frequency according to the action mode, wherein the sampling frequency is the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data;
and adjusting the sampling frequency according to the data of the inertial measurement unit.
In one implementation, the acquiring gesture electromyographic signal data and inertial measurement unit data, and determining a motion mode according to the gesture electromyographic signal data and the inertial measurement unit data includes:
acquiring the electromyographic signal data, and analyzing the electromyographic signal data to obtain action potential information corresponding to the electromyographic signal data;
determining a gesture action corresponding to the action potential information according to the action potential information;
acquiring the data of the inertial measurement unit, and analyzing the data of the inertial measurement unit to obtain a motion attitude corresponding to the data of the inertial measurement unit;
determining the motion mode according to the gesture motion and the motion gesture.
In one implementation, the determining the motion pattern from the gesture motion and the motion gesture includes:
if the motion posture is a sitting posture and the gesture motion is a natural placing state of the sitting posture, determining that the motion mode is the natural state mode;
if the motion posture is a standing posture and the gesture motion is a natural placing state of the standing posture, determining that the motion mode is the natural state mode;
and if the motion posture is a walking posture and the gesture motion is a natural placing state of the walking posture, determining that the motion mode is the natural state mode.
In one implementation, the determining a sampling frequency according to the motion pattern includes:
matching the action mode with a preset sampling frequency template, wherein the sampling frequency template is provided with a corresponding relation between the sampling frequency and the action mode;
and determining the sampling frequency corresponding to the action mode according to the sampling frequency template.
In one implementation, the adjusting the sampling frequency according to the inertial measurement unit data includes:
obtaining a fluctuation numerical value of the inertial measurement unit data according to the inertial measurement unit data;
and adjusting the sampling frequency according to the fluctuation value of the data of the inertial measurement unit.
In one implementation, the adjusting the sampling frequency according to the fluctuation value of the inertial measurement unit data includes:
if the fluctuation value of the data of the inertia measurement unit is larger than a first fluctuation threshold value, increasing the sampling frequency;
and if the fluctuation value of the data of the inertia measurement unit is smaller than a second fluctuation threshold value, reducing the sampling frequency.
In one implementation, the method further comprises:
if the action mode is a natural state mode, comparing the duration time of the natural state mode with a preset duration time threshold value;
if the duration is greater than the preset duration threshold, reducing the sampling frequency to be a limit sampling frequency corresponding to the natural state mode, wherein the limit sampling frequency is a preset lowest sampling frequency value corresponding to the natural state mode.
In a second aspect, an embodiment of the present invention further provides a sampling frequency control apparatus for an electromyographic device, where the apparatus includes:
the motion mode acquisition module is used for acquiring gesture electromyographic signal data and inertia measurement unit data and determining a motion mode according to the gesture electromyographic signal data and the inertia measurement unit data;
the sampling frequency acquisition module is used for determining a sampling frequency according to the action mode, and the sampling frequency is used for determining the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data;
and the sampling frequency adjusting module is used for adjusting the sampling frequency according to the data of the inertial measurement unit.
In a third aspect, an embodiment of the present invention further provides an intelligent bionic hand, which is characterized in that the intelligent bionic hand includes a memory, a processor, and a program of a sampling frequency control method of an electromyographic device, where the program of the sampling frequency control method of the electromyographic device is stored in the memory and is executable on the processor, and when the processor executes the program of the sampling frequency control method of the electromyographic device, the step of the sampling frequency control method of the electromyographic device according to any one of the above-mentioned schemes is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a program of a sampling frequency control method of an electromyographic device is stored on the computer-readable storage medium, and when the program of the sampling frequency control method of the electromyographic device is executed by a processor, the step of implementing the sampling frequency control method of the electromyographic device according to any one of the above aspects is implemented.
Has the advantages that: compared with the prior art, the invention provides a sampling frequency control method of electromyographic equipment. Therefore, the myoelectric device can be controlled to collect gesture myoelectric signal data and inertia measurement unit data by different frequencies according to different action modes. And meanwhile, adjusting the sampling frequency according to the data of the inertial measurement unit. Therefore, the sampling frequency can be dynamically adjusted, so that the effects of controlling the power consumption of the intelligent bionic hand and prolonging the battery endurance time are achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and it is also possible for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a specific implementation of a sampling frequency control method of an electromyographic device according to an embodiment of the present invention.
Fig. 2 is an area diagram of a fluctuation value of inertial measurement unit data according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of a sampling frequency control apparatus of an electromyographic apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic block diagram of an internal structure of an intelligent bionic hand provided by 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 do not limit the invention.
The intelligent bionic hand is an intelligent product with high integration of a brain-computer interface technology and an artificial intelligence algorithm. The intelligent 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 movement of the intelligent bionic hand, so that the smart intelligence is achieved, and the hand moves with the heart. However, the current intelligent bionic hand collects signal data with the same frequency during use, and the collection frequency cannot be changed according to the action mode of a user. For example, when the intelligent bionic hand of the user is in a natural placing state, only little signal data can be generated, but the frequency of signal acquisition cannot be reduced by the intelligent bionic hand, so that the power consumption of the intelligent bionic hand is wasted, and the endurance time of the intelligent bionic hand is influenced.
Therefore, in order to solve the above problems, the present embodiment provides a sampling frequency control method for an electromyographic device, which first acquires gesture electromyographic signal data and inertia measurement unit data, determines an action mode according to the gesture electromyographic signal data and the inertia measurement unit data, determines a sampling frequency according to the action mode, and finally adjusts the sampling frequency according to the inertia measurement unit data. According to the method, the electromyographic equipment can be controlled to sample at different frequencies according to different action modes, the sampling frequency is increased or decreased continuously according to the data of the inertia measurement unit, the power consumption of the electromyographic equipment is controlled, and the battery endurance time is prolonged.
For example, when acquiring gesture electromyographic signal data and inertia measurement unit data, determining that a motion posture is a sitting posture, determining that a gesture motion is a natural placing state of the sitting posture, determining that a motion mode is the natural state mode, and obtaining that the sampling frequency in the natural state mode is 1 time/second, the intelligent bionic hand collects signal data every other second, and if the fluctuation numerical value of the inertia measurement unit data is small and the sampling frequency can be reduced to 1 time/minute, the sampling frequency is reduced to once per minute, so that the power consumption is reduced. If the sampling frequency is increased to 2 times/second according to the larger fluctuation value of the data of the inertia measurement unit, the sampling frequency is further increased to two times per second, and therefore the signal data of the user is acquired in time.
Exemplary method
The embodiment provides a sampling frequency control method of an electromyographic device, which can be applied to a terminal device, and the terminal device can be a computer, a mobile phone and other intelligent terminal products. In addition, the sampling frequency control method of the electromyographic device in this embodiment is applied to the bionic hand, so the terminal device in this embodiment can establish communication connection with the bionic hand, or be directly arranged on the bionic hand to form an intelligent bionic hand.
In specific implementation, as shown in fig. 1, the sampling frequency control method of the electromyographic device in this embodiment includes the following steps:
s100, acquiring gesture electromyographic signal data and inertia measurement unit data, and determining a motion mode according to the gesture electromyographic signal data and the inertia measurement unit data, wherein the inertia measurement unit data is used for reflecting the motion posture of a user in a three-dimensional space.
The electromyographic signal data is the superposition of action potential information of a motor unit (such as an arm) in a plurality of muscle fibers on time and space, and can reflect the activity of neuromuscular to a certain extent. The intelligent bionic hand is provided with an inertia measurement unit for collecting data of the inertia measurement unit. The inertial measurement unit comprising three single axesAccelerometerAnd three single axesGyroscopeThe accelerometer detects the acceleration signals of the user in the three independent axes of the carrier coordinate system, and the gyroscope detects the acceleration signals of the carrier relative to the navigation coordinate systemAngular velocitySignal, measuring user isThree-dimensional spaceAngular velocity and acceleration, andthe solution calculates the motion gesture of the user. Three axis acceleration signal data andangular velocityThe signal data is the inertial measurement unit data.
The action pattern is a result of classifying actions. The actions are divided into different categories, so that the intelligent bionic hand can determine which signal acquisition frequency is more suitable for which action, because the gesture electromyographic signal data can reflect the activity of neuromuscular, and the inertia measurement unit data can reflect the motion posture of the user, the user can determine what type of action the user does at present by combining the gesture electromyographic signal data and the inertia measurement unit data, and the action mode can be determined.
For example, when the electromyographic signal data of the intelligent bionic hand user reflects that the user is patting an object with a hand, and the data of the inertia measurement unit reflects that the user is jumping, rotating and squatting, the action mode of the user is determined to be basketball playing.
In one implementation, the step S100 includes the following steps:
step S101, acquiring the electromyographic signal data, and analyzing the electromyographic signal data to obtain action potential information corresponding to the electromyographic signal data;
and S102, determining the gesture action corresponding to the action potential information according to the action potential information.
Specifically, each electromyographic signal data has different action potential information, and the action potential information reflects that the surface electromyographic signal is a comprehensive effect of the electrical activity of superficial muscles and nerve trunks on the skin surface, so that the gesture characteristics corresponding to the action gesture made by the user can be determined based on the action potential information. The embodiment can acquire corresponding action potential information from the effective electromyographic signal data, and then analyze corresponding gesture characteristics, thereby determining gesture actions.
For example, after acquiring myoelectric signal data with the numbers of a1 and a2 … a10, the intelligent bionic hand further obtains action potential information a1 and a2 … a10 corresponding to the myoelectric signal data. And determining the gesture action corresponding to each action potential information according to the action potential information. For example, it is determined that the gesture motions corresponding to the motion potential information a1, a2, A3 are handshake motions, the gesture motions corresponding to the motion potential information a4, a5, A6, a7, A8, a9 are pen holding motions, the gesture motions corresponding to the motion potential information a10 are key holding motions, the gesture motions corresponding to the myoelectric signal data a1, a2, A3 are handshake motions, the gesture motions corresponding to the myoelectric signal data a4, a5, A6, a7, A8, a9 are pen holding motions, and the gesture motion corresponding to the a10 is key holding motions.
Step S103, acquiring the data of the inertial measurement unit, and analyzing the data of the inertial measurement unit to obtain a motion attitude corresponding to the data of the inertial measurement unit;
and step S104, determining the motion mode according to the gesture motion and the motion posture.
Specifically, the movement posture of the whole body of the user in the three-dimensional space is obtained through the data of the inertial measurement unit, and the data of the inertial measurement unit can be obtained at any time in the use process by wearing the intelligent bionic hand with the inertial measurement unit. The inertial measurement unit data are the three-axis attitude angular velocity and the acceleration, and the data are reflected by the whole body movement attitude of the intelligent bionic hand user, such as a jumping attitude, a rotating attitude, a walking attitude, a sitting attitude, a standing attitude and the like. The gesture motion reflects a partial motion of the user's hand, such as a punch, pen, tap, five-finger bend, five-finger stretch, etc. Considering that the gesture action of the human body can be adjusted under different motion postures, the intelligent bionic hand can combine the motion posture with the gesture action when determining the action mode. For example, the motion posture is a massage motion mode in which a combination of sitting posture and flick gesture is a massage, but the motion posture is a basketball motion mode in which a combination of standing posture and flick gesture is a flick gesture.
For example, if the gesture is used as holding a pen and the movement posture is sitting, the action mode is writing. If the gesture motion is left-right swing and the motion posture is standing, the motion mode is calling. Therefore, local hand actions are determined according to the gesture actions, the motion posture of the whole body of the intelligent bionic hand user is obtained according to the data of the inertial measurement unit, and then what types of actions the intelligent bionic hand user is doing can be judged, and the actions are classified to obtain action modes.
In one implementation, the step S104 includes the following steps:
step S1041, if the movement posture is a sitting posture and the gesture movement is a natural placing state of the sitting posture, determining that the movement mode is the natural state mode;
step S1042, if the motion posture is a standing posture and the gesture motion is a natural placing state of the standing posture, determining that the motion mode is the natural state mode;
step S1043, if the motion posture is a walking posture and the gesture motion is a natural placement state of the walking posture, determining that the motion mode is the natural state mode.
Specifically, the natural state mode is a state in which the change frequency of the gesture motion of the bionic hand user is low and the whole body motion is relatively static, and the sending frequencies of the gesture electromyographic signal data and the inertia measurement unit data are both low in the natural state mode. Considering that the natural placing states of hands of a human body under different motion postures are different, in this embodiment, gesture actions of a sitting posture, a standing posture and a walking posture are set respectively to be natural placing states, and whether the gesture actions are judged to be the natural placing states of the motion postures has two factors: a specified gesture action and a specified gesture action hold time. Namely, the gesture motion is used as the designated gesture motion in the motion posture, and when the designated gesture motion holding time is higher than the preset natural state threshold value, the gesture motion can be determined as the natural placement state. When judging whether the gesture is the natural state mode, firstly determining the motion posture of the user of the intelligent bionic hand, then determining whether the gesture action of the user of the intelligent bionic hand is the natural placing state corresponding to the motion posture, if the gesture action is the natural placing state corresponding to the motion posture, determining that the action mode is the natural state mode under the current motion posture, and if the gesture action is not the natural placing state corresponding to the motion posture, matching the motion posture and the gesture action with the action mode under the unnatural state. It should be noted that the designated gesture actions may be multiple, and the holding times of the multiple designated gesture actions cannot be overlapped.
For example, in one implementation, the designated gesture motion for setting the natural state mode for the standing position is five-finger micro-flexion or five-finger extension, and the natural state threshold for the five-finger micro-flexion holding time is set to 40 seconds and the natural state threshold for the five-finger extension holding time is set to 40 seconds. When the motion posture of the user of the intelligent bionic hand is a standing posture, the gesture motion is five-finger micro-bending, the holding time is 50 seconds, and the holding time is 40 seconds higher than a preset natural state threshold value, the motion mode in the current standing posture can be determined to be a natural state mode. If the motion posture of the user of the intelligent bionic hand is a standing posture, the gesture motion is not five-finger micro-bending, the motion mode is not a natural state mode, and if the gesture motion is five-finger micro-bending but the gesture motion holding time is less than 40 seconds, the motion mode is not a natural state mode. If the gesture motion holding time for the five-finger micro-flexion gesture motion is 20 seconds, and then the gesture motion holding time for the five-finger extension gesture motion is 30 seconds, although the holding time of the two designated gesture motions is added to exceed 40 seconds, the gesture motion is not a natural state mode.
And S200, determining a sampling frequency according to the action mode, wherein the sampling frequency is the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data.
Specifically, the sampling frequency is the frequency of collecting gesture electromyographic signal data and inertial measurement unit data, the electric quantity of the intelligent bionic hand needs to be consumed in sampling, the higher the sampling frequency is, the more the electric quantity is consumed, so if the electric quantity of the intelligent bionic hand needs to be saved, the sampling frequency needs to be reduced. But simultaneously, if the signal data of the intelligent bionic hand user is required to be collected in time, a certain sampling frequency is required to be ensured. That is to say, the sampling frequency is too high, and the electric quantity is wasted, and the sampling frequency is too low, and the signal data of the user can not be collected in time. In order to determine a reasonable sampling frequency, the present embodiment determines the sampling frequency according to the motion pattern, considering that there is a certain relationship between the occurrence density of the signal data and the motion pattern. After the action mode is determined, the frequency of acquiring the gesture electromyographic signal data and the inertia measurement unit data can be determined according to different action modes, so that the sampling frequency can be dynamically adjusted.
For example, when the action mode is basketball shooting, the frequency of gesture actions is high, the whole body movement is active, when the natural state mode is basketball shooting, the gesture actions are few, the whole body movement is relatively static, and different sampling frequencies can be determined for the basketball shooting and the natural state mode, for example, the sampling frequency when the action mode is basketball shooting is increased to 10 times/second, and when the action mode is the natural state mode, the sampling frequency is decreased to 1 time/second, so that the waste of electric quantity or untimely signal acquisition can be avoided through the dynamic adjustment of the sampling frequency.
In one implementation, the step S200 includes the following steps:
step S201, matching the action mode with a preset sampling frequency template, wherein the sampling frequency template is provided with a corresponding relation between the sampling frequency and the action mode;
and S202, determining the sampling frequency corresponding to the action mode according to the sampling frequency template.
The sampling frequency template is obtained by mapping the motion pattern and the sampling frequency. That is, in the sampling frequency template, one sampling frequency is set for each motion pattern, wherein the setting of the sampling frequency depends on the characteristics of the motion pattern. For example, a higher sampling frequency is set for active motion patterns and a lower sampling frequency is set for more static motion patterns. The sampling frequency template is favorable for helping a user to customize the sampling frequency under different action modes, and by setting the sampling frequency with different heights and matching with the action modes, an intelligent bionic hand of the user can obtain the effect of saving power consumption by controlling the sampling frequency on the premise of ensuring timely signal data acquisition.
For example, as described in the above example, when the action mode is basketball shooting, the gesture action has a high occurrence frequency, and the whole body motion is active, then a higher sampling frequency is matched for basketball shooting in the sampling frequency template to meet the sampling requirement. And in the natural state mode, the gesture actions are few, the whole body movement is relatively static, and a lower sampling frequency can be matched for the natural state mode so as to save power consumption.
And S300, adjusting the sampling frequency according to the data of the inertial measurement unit.
Specifically, after the data of the inertial measurement unit is obtained, the sampling frequency may be adjusted according to the data of the inertial measurement unit. The inertial measurement unit data can reflect the motion posture of the intelligent bionic hand user, and the inertial measurement unit data comprises data content and data generation frequency. The data content is the angular velocity and acceleration data of the three-axis attitude, and the data generation frequency is the frequency of acquiring the data of the inertial measurement unit by the intelligent bionic hand in unit time. Therefore, the data content reflects the motion posture of the user, and the data occurrence frequency reflects whether the motion posture is changed frequently or not. The data generation frequency is high, so that higher signal acquisition frequency is required to be ensured, and when the data generation frequency is low, the intelligent bionic hand can acquire the data of the inertia measurement unit in time by adopting lower signal acquisition frequency, so that the sampling frequency can be adjusted according to the data of the inertia measurement unit. For example, when the intelligent bionic hand obtains the current data of the inertial measurement unit of the user frequently, the data of the inertial measurement unit can be acquired in time by using a higher sampling frequency, and when the data of the inertial measurement unit of the user is detected to be reduced in occurrence frequency, the data of the inertial measurement unit can be acquired in time by using a lower sampling frequency.
In one implementation, the step S300 includes the following steps:
s301, obtaining a fluctuation numerical value of the inertial measurement unit data according to the inertial measurement unit data;
and S302, adjusting the sampling frequency according to the fluctuation value of the data of the inertial measurement unit.
Specifically, the present embodiment employs an area map to reflect the fluctuation value of the inertial measurement unit data. The area graph is also called a region graph and is formed on the basis of a line graph, the region between a broken line and an independent variable coordinate axis in the line graph is filled with color or texture, so that a filled region is called an area, the filling of the color can better highlight trend information, and the area graph is used for emphasizing the degree of change of the quantity along with time and is used for representing trends and relations instead of conveying specific values. In this embodiment, the area map of the fluctuation value of the inertia measurement unit data may reflect the fluctuation condition of the inertia measurement unit data, and the larger the painted area in each time unit is, the larger the fluctuation value of the inertia measurement unit data in the unit time is, that is, the higher the frequency of the inertia measurement unit data occurrence is. The smaller the painted area per time unit, the smaller the value of fluctuation of the data representing the inertial measurement unit per unit time, i.e., the lower the frequency of occurrence of the data representing the inertial measurement unit. Therefore, the frequency of the data generation of the inertia measurement unit can be visually reflected through the painted area in the area diagram.
For example, as shown in fig. 2, the horizontal axis of the area graph is a time axis, the vertical axis represents the number of times of occurrence of the data of the inertial measurement unit, and the painted area in the area graph represents the fluctuation value of the data of the inertial measurement unit. Therefore, after the area graph is drawn according to the data of the inertia measurement unit, the sampling frequency can be adjusted according to the size of the painted area in the area graph.
In one implementation, the step S302 includes the following steps:
step S3021, if the fluctuation value of the data of the inertial measurement unit is greater than a first fluctuation threshold, increasing the sampling frequency;
step S3022, if the fluctuation value of the data of the inertial measurement unit is smaller than a second fluctuation threshold, reducing the sampling frequency.
In this embodiment, the first and second fluctuation thresholds are painted area thresholds of the data area map of the inertia measurement unit in unit time, and the first fluctuation threshold is greater than the second fluctuation threshold, where a fluctuation value of the data of the inertia measurement unit greater than the first fluctuation threshold represents a high occurrence frequency of the data of the inertia measurement unit, and the sampling frequency needs to be increased to obtain the sampling signal in time, and a fluctuation value of the data of the inertia measurement unit less than the second fluctuation threshold represents a low occurrence frequency of the data of the inertia measurement unit, so that the sampling frequency can be reduced to save electric quantity. In this embodiment, the color-coated area of the data area diagram of the inertial measurement unit represents the fluctuation value of the data of the inertial measurement unit, that is, the sampling frequency is adjusted according to the comparison result between the color-coated area of the data area diagram of the inertial measurement unit and the first and second fluctuation thresholds.
Specifically, as described in the above example, if the first fluctuation threshold is 15, the second fluctuation threshold is 10, and the unit time is 1 in one time unit on the abscissa axis, and in fig. 2, the painted area of the area map is smaller than the second fluctuation threshold 10 in the time period t2-t1, the sampling frequency is decreased. And in the time period from t3 to t2, if the color painting area is larger than the second fluctuation threshold value 10 and smaller than the first fluctuation threshold value 15, the sampling frequency is not changed, and in the time period from t5 to t4, if the color painting area is larger than the first fluctuation threshold value 15, the sampling frequency is increased.
In one implementation, the method further comprises the steps of:
step S303, if the action mode is a natural state mode, comparing the duration of the natural state mode with a preset duration threshold;
step S304, if the duration is greater than the preset duration threshold, reducing the sampling frequency to be a limit sampling frequency corresponding to the natural state mode, where the limit sampling frequency is a preset lowest sampling frequency value corresponding to the natural state mode.
Specifically, when the action mode enters the natural state mode, the sampling frequency corresponding to the natural state mode is determined according to the sampling frequency template, and sampling is performed according to the sampling frequency. And simultaneously recording the time of entering the natural state mode, comparing the time of the user for keeping the natural state mode with a duration threshold value, and adjusting the sampling frequency according to the comparison result. If the duration time of the natural state mode exceeds a preset duration time threshold, it can be considered that the gesture actions of the user are few in a certain time period, the whole body movement is in a relatively static state, the generated signal data are few, and the sampling frequency can be reduced to the minimum, namely, the limit sampling frequency, so that the power consumption is further saved. And when the action mode of the user is not the natural state mode any more, re-determining the sampling frequency corresponding to the action mode according to the sampling frequency template.
For example, the preset duration threshold is 10 minutes, when the action mode of the user is detected to be the sitting posture natural state mode, the sampling frequency is determined to be 10 times/minute according to the sampling frequency template, and when the time that the user is in the sitting posture natural state mode reaches 10 minutes, the sampling frequency is set to be the limit sampling frequency of 1 time/minute, so that the power consumption is saved and the battery endurance time is prolonged on the premise that the minimum sampling requirement is fully met by reducing the sampling frequency. When the situation that the user exits the sitting posture natural state mode and enters the basketball playing action mode is detected, the sampling frequency is determined to be 600 times/minute again according to the sampling frequency template, and at the moment, the intelligent bionic hand samples according to the sampling frequency of 600 times/minute.
Exemplary devices
Based on the above embodiment, as shown in fig. 3, the present invention also discloses a sampling frequency control device for an electromyographic device, wherein the device includes:
the motion mode acquisition module 10 is configured to acquire gesture electromyogram signal data and inertial measurement unit data, and determine a motion mode according to the gesture electromyogram signal data and the inertial measurement unit data;
the sampling frequency acquisition module 20 is configured to determine a sampling frequency according to the motion mode, where the sampling frequency is used to determine a frequency for acquiring the gesture electromyographic signal data and the inertial measurement unit data;
and the sampling frequency adjusting module 30 is configured to adjust the sampling frequency according to the data of the inertial measurement unit.
In one implementation, the motion pattern obtaining module 10 includes:
the action potential information acquisition unit is used for acquiring the electromyographic signal data and analyzing the electromyographic signal data to obtain action potential information corresponding to the electromyographic signal data;
the gesture action determining unit is used for determining a gesture action corresponding to the action potential information according to the action potential information;
the motion attitude acquisition unit is used for acquiring the data of the inertial measurement unit and analyzing the data of the inertial measurement unit to obtain a motion attitude corresponding to the data of the inertial measurement unit;
and the motion mode determining unit is used for determining the motion mode according to the gesture motion and the motion posture.
In one implementation, the motion mode determining unit includes:
a sitting posture natural state mode determining subunit, configured to determine that the action mode is the natural state mode if the motion posture is a sitting posture and the gesture action is a natural placement state of the sitting posture;
a standing posture natural state mode determining subunit, configured to determine that the motion mode is the natural state mode if the motion posture is a standing posture and the gesture motion is a natural placement state of the standing posture;
and the walking posture natural state mode determining subunit is used for determining that the action mode is the natural state mode if the motion posture is the walking posture and the gesture motion is the natural placing state of the walking posture.
In one implementation, the sampling frequency acquisition module 20 includes:
the sampling frequency matching unit is used for matching the action mode with a preset sampling frequency template, and the sampling frequency template is provided with a corresponding relation between the sampling frequency and the action mode;
and the sampling frequency acquisition unit is used for determining the sampling frequency corresponding to the action mode according to the sampling frequency template.
In one implementation, the sampling frequency adjustment module 30 includes:
the fluctuation numerical value acquisition unit is used for acquiring the fluctuation numerical value of the data of the inertial measurement unit according to the data of the inertial measurement unit;
and the sampling frequency adjusting unit is used for adjusting the sampling frequency according to the fluctuation numerical value of the data of the inertia measuring unit.
In one implementation, the sampling frequency adjustment unit includes:
the sampling frequency increasing subunit is used for increasing the sampling frequency if the fluctuation numerical value of the data of the inertia measurement unit is greater than a first fluctuation threshold value;
and the sampling frequency reduction subunit is used for reducing the sampling frequency if the fluctuation numerical value of the data of the inertia measurement unit is smaller than a second fluctuation threshold value.
In one implementation, the apparatus further includes:
a duration comparison module 40, configured to compare, if the motion mode is a natural state mode, a duration of the natural state mode with a preset duration threshold;
and the limit sampling frequency setting module 50 is configured to reduce the sampling frequency to be the limit sampling frequency corresponding to the natural state mode if the duration is greater than the preset duration threshold, where the limit sampling frequency is a preset lowest sampling frequency value corresponding to the natural state mode.
Based on the above embodiment, the present invention further provides an intelligent bionic hand, and a schematic block diagram thereof can be shown in fig. 4. The intelligent bionic hand comprises a processor and a memory which are connected through a system bus. Wherein the processor of the intelligent bionic hand is used for providing computing and control capability. The memory of the intelligent bionic hand 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 intelligent bionic hand is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a sampling frequency control method of an electromyographic device.
It will be appreciated by those skilled in the art that the block diagram illustrated in fig. 4 is merely a block diagram of a portion of the structure associated with the inventive arrangements and is not intended to limit the intelligent biomimetic hand to which the inventive arrangements may be applied, as the particular intelligent biomimetic hand may include more or less components than shown in the drawings, or may combine certain components, or have a different arrangement of components.
In one embodiment, an intelligent bionic hand is provided, which includes a memory, a processor and a sampling frequency control program of an electromyographic device stored in the memory and capable of running on the processor, and when the processor executes the sampling frequency control program of the electromyographic device, the following operation instructions are implemented:
acquiring gesture electromyographic signal data and inertia measurement unit data, and determining an action mode according to the gesture electromyographic signal data and the inertia measurement unit data, wherein the inertia measurement unit data is used for reflecting a motion posture of a user in a three-dimensional space;
determining a sampling frequency according to the action mode, wherein the sampling frequency is the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data;
and adjusting the sampling frequency according to the data of the inertial measurement unit.
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 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), dual-rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
In summary, the invention discloses a sampling frequency control method of a myoelectric device, an intelligent bionic hand and a storage medium, wherein the method comprises the following steps: acquiring gesture electromyographic signal data and inertial measurement unit data, and determining an action mode according to the gesture electromyographic signal data and the inertial measurement unit data; according to the action mode, determining a sampling frequency, wherein the sampling frequency is used for determining the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data; and adjusting the sampling frequency according to the data of the inertial measurement unit. The invention can determine different sampling frequencies according to different action modes, and can adjust the sampling frequency according to the data of the inertia measurement unit, thereby saving power consumption and prolonging the battery endurance time 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 (10)
1. A sampling frequency control method of an electromyographic device, the method comprising:
acquiring gesture electromyogram signal data and inertia measurement unit data, and determining an action mode according to the gesture electromyogram signal data and the inertia measurement unit data, wherein the inertia measurement unit data is used for reflecting the motion posture of a user in a three-dimensional space;
determining a sampling frequency according to the action mode, wherein the sampling frequency is the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data;
and adjusting the sampling frequency according to the data of the inertial measurement unit.
2. The method for controlling sampling frequency of electromyographic equipment according to claim 1, wherein the acquiring gesture electromyographic signal data and inertial measurement unit data, and determining the motion pattern according to the gesture electromyographic signal data and the inertial measurement unit data comprises:
acquiring the electromyographic signal data, and analyzing the electromyographic signal data to obtain action potential information corresponding to the electromyographic signal data;
determining a gesture action corresponding to the action potential information according to the action potential information;
acquiring the data of the inertial measurement unit, and analyzing the data of the inertial measurement unit to obtain a motion attitude corresponding to the data of the inertial measurement unit;
determining the motion mode according to the gesture motion and the motion gesture.
3. The sampling frequency control method of an electromyographic device according to claim 2, wherein the determining the motion pattern from the gesture motion and the motion gesture comprises:
if the motion posture is a sitting posture and the gesture motion is a natural placing state of the sitting posture, determining that the motion mode is a natural state mode;
if the motion gesture is a standing gesture and the gesture motion is a natural placing state of the standing gesture, determining that the motion mode is the natural state mode;
and if the motion posture is a walking posture and the gesture motion is a natural placing state of the walking posture, determining that the motion mode is the natural state mode.
4. The method for controlling a sampling frequency of an electromyographic device according to claim 1, wherein the determining a sampling frequency according to the motion pattern comprises:
matching the action mode with a preset sampling frequency template, wherein the sampling frequency template is provided with a corresponding relation between the sampling frequency and the action mode;
and determining the sampling frequency corresponding to the action mode according to the sampling frequency template.
5. The method for controlling sampling frequency of electromyographic equipment according to claim 1, wherein the adjusting the sampling frequency according to the inertial measurement unit data comprises:
obtaining a fluctuation numerical value of the inertial measurement unit data according to the inertial measurement unit data;
and adjusting the sampling frequency according to the fluctuation value of the data of the inertial measurement unit.
6. The method for controlling sampling frequency of electromyographic equipment according to claim 5, wherein the adjusting the sampling frequency according to the fluctuation value of the inertial measurement unit data comprises:
if the fluctuation value of the data of the inertia measurement unit is larger than a first fluctuation threshold value, increasing the sampling frequency;
and if the fluctuation value of the data of the inertia measurement unit is smaller than a second fluctuation threshold value, reducing the sampling frequency.
7. The sampling frequency control method of an electromyographic device according to claim 3, characterized in that the method further comprises:
if the action mode is a natural state mode, comparing the duration of the natural state mode with a preset duration threshold;
if the duration is greater than the preset duration threshold, reducing the sampling frequency to be a limit sampling frequency corresponding to the natural state mode, wherein the limit sampling frequency is a preset lowest sampling frequency value corresponding to the natural state mode.
8. A sampling frequency control apparatus of an electromyographic device, the apparatus comprising:
the motion mode acquisition module is used for acquiring gesture electromyographic signal data and inertia measurement unit data and determining a motion mode according to the gesture electromyographic signal data and the inertia measurement unit data;
the sampling frequency acquisition module is used for determining a sampling frequency according to the action mode, and the sampling frequency is used for determining the frequency for acquiring the gesture electromyographic signal data and the inertia measurement unit data;
and the sampling frequency adjusting module is used for adjusting the sampling frequency according to the data of the inertial measurement unit.
9. An intelligent biomimetic hand, characterized in that the intelligent biomimetic hand comprises a memory, a processor and a program of a sampling frequency control method of an electromyographic device stored in the memory and operable on the processor, wherein when the processor executes the program of the sampling frequency control method of the electromyographic device, the step of implementing the sampling frequency control method of the electromyographic device according to any one of claims 1 to 7 is realized.
10. A computer-readable storage medium, characterized in that it has stored thereon a program of a sampling frequency control method of an electromyographic device, which when executed by a processor, carries out the steps of the sampling frequency control method of an electromyographic device according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210613072.8A CN114683292B (en) | 2022-06-01 | 2022-06-01 | Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210613072.8A CN114683292B (en) | 2022-06-01 | 2022-06-01 | Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114683292A true CN114683292A (en) | 2022-07-01 |
CN114683292B CN114683292B (en) | 2022-08-30 |
Family
ID=82131222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210613072.8A Active CN114683292B (en) | 2022-06-01 | 2022-06-01 | Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114683292B (en) |
Cited By (1)
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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140081420A1 (en) * | 2008-09-04 | 2014-03-20 | Iwalk, Inc. | Implementing a stand-up sequence using a lower-extremity prosthesis or orthosis |
CN108209911A (en) * | 2017-05-25 | 2018-06-29 | 深圳市前海未来无限投资管理有限公司 | A kind of electromyographic signal collection method and device |
KR20180086547A (en) * | 2017-01-22 | 2018-08-01 | 계명대학교 산학협력단 | Wearable device for gesture recognition and control and gesture recognition control method using the same |
CN112603758A (en) * | 2020-12-21 | 2021-04-06 | 上海交通大学宁波人工智能研究院 | Gesture recognition method based on sEMG and IMU information fusion |
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 |
-
2022
- 2022-06-01 CN CN202210613072.8A patent/CN114683292B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140081420A1 (en) * | 2008-09-04 | 2014-03-20 | Iwalk, Inc. | Implementing a stand-up sequence using a lower-extremity prosthesis or orthosis |
KR20180086547A (en) * | 2017-01-22 | 2018-08-01 | 계명대학교 산학협력단 | Wearable device for gesture recognition and control and gesture recognition control method using the same |
CN108209911A (en) * | 2017-05-25 | 2018-06-29 | 深圳市前海未来无限投资管理有限公司 | A kind of electromyographic signal collection method and device |
CN112603758A (en) * | 2020-12-21 | 2021-04-06 | 上海交通大学宁波人工智能研究院 | Gesture recognition method based on sEMG and IMU information fusion |
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)
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 |
---|---|
CN114683292B (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113977589B (en) | Gesture recognition threshold adjusting method and device and storage medium | |
CN113946224A (en) | Control method and device for myoelectric gesture recognition of intelligent bionic hand and storage medium | |
CN114683292B (en) | Sampling frequency control method of electromyographic equipment, intelligent bionic hand and storage medium | |
CN113986017B (en) | Myoelectric gesture template generation method and device and storage medium | |
CN114756137B (en) | Training mode adjusting method and device for electromyographic signals and electroencephalographic signals | |
CN106464748B (en) | Thermal control apparatus and method | |
CN114652493B (en) | Electromyographic signal control method and device, electromyographic equipment and storage medium | |
CN114707562B (en) | Electromyographic signal sampling frequency control method and device and storage medium | |
CN104720821A (en) | Method and smart clothing for achieving real-time posture monitoring | |
CN114668563B (en) | Multi-level regulation method for sampling frequency of electromyographic signals | |
DE102014019600A1 (en) | Switching method and electronic device | |
CN114756136B (en) | Training standard reaching prompting method and device for electromyographic signals and electroencephalographic signals | |
CN114201052A (en) | Motion force control method and device of bionic hand and storage medium | |
CN115192049B (en) | Myoelectricity sampling frequency adjusting method of intelligent artificial limb | |
CN107273705A (en) | The determination of human body implantation type medical treatment device parameter, method to set up and equipment | |
CN114167996B (en) | Sensor-based action pre-judging method and device and storage medium | |
CN114668564B (en) | Method for dynamically adjusting sampling frequency based on electromyographic signal data | |
CN117563227A (en) | Virtual character face control method, device, computer equipment and storage medium | |
CN114676737B (en) | Dynamic regulation method for sampling frequency of electromyographic signal | |
CN113616494A (en) | Massage control method, massage control device, computer equipment and computer readable storage medium | |
CN108652609A (en) | A kind of heart rate acquisition methods, system and wearable device | |
CN112568653A (en) | Method, device and equipment for determining target vibration position in multi-person awakening scheme | |
CN114625246A (en) | Gesture combination triggering method and device, intelligent bionic hand and storage medium | |
CN215898000U (en) | Intelligent audio playing system based on human body state recognition | |
CN113925509A (en) | Electroencephalogram signal based attention value calculation method and device and electronic device |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Han Bicheng Inventor before: Han Bicheng |
|
GR01 | Patent grant | ||
GR01 | Patent grant |