Signal waveform analysis system and program thereof
The signal waveform analysis system uses redundant discrete wavelet analysis to extract and visualize individual frequency components in muscle activity signals, overcoming the challenges of irregular waveforms in surface electromyography, enabling precise motor unit analysis and real-time monitoring.
Patent Information
- Application Number
- JP2020215284
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-24
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2040-12-24
AI Technical Summary
Existing signal analysis methods struggle to accurately separate and analyze individual motor unit action potentials from mixed muscle activity signals due to irregular waveforms and superimposed signals, especially in surface electromyography, making it difficult to distinguish signal components from noise and requiring complex multi-channel measurements.
A signal waveform analysis system and program that performs redundant discrete wavelet analysis to calculate wavelet coefficients for each frequency band, allowing for the extraction and visualization of component waveforms on a time-frequency plane, even with irregular frequency components, without needing multi-channel measurements.
Enables precise quantification and visualization of individual frequency components in muscle activity signals, facilitating detailed analysis and separation of motor unit action potentials, even in single-channel surface myoelectric signals, and allowing real-time monitoring of muscle fatigue and abnormal patterns.
Smart Images

Figure 0007549879000012 
Figure 0007549879000014 
Figure 0007549879000010
Abstract
Description
[Technical field]
[0001] The present invention relates to a signal waveform analysis system and a program therefor that are capable of analyzing mixed signal waveforms, etc., that are made up of single waves whose occurrence frequency is irregular. [Background technology]
[0002] The activity of a muscle is the composite of the activities of the many motor units that make up the muscle. Therefore, to capture detailed muscle activity, it is desirable to obtain the activity of each individual motor unit, and the quickest way to obtain motor unit activity is to capture the resulting electrical potential changes. One method for capturing electrical potential changes is needle electromyography, in which an electrode needle is inserted into the muscle. Needle electromyography can directly measure the motor unit action potential near the insertion site of the electrode needle.
[0003] However, the insertion of the electrode needle is painful and application during exercise is difficult, so there are many limitations to its use. Furthermore, needle EMG only provides localized information near the insertion site of the electrode needle, and to obtain information over a wide area, multiple needle electrodes must be used. However, inserting multiple needle electrodes is not practical, and there is also the problem that the activity of the entire muscle, including the motor units, is not visible for the trees.
[0004] In contrast, surface electromyography, a non-invasive method that only requires attaching electrodes to the surface of the skin, is easy to use and can capture a wide range of information, but it measures the superposition of multiple motor unit action potentials. Here, activity of each motor unit occurs as a single pulse when a nerve impulse arrives, and therefore the motor unit action potential change also occurs as a discrete single wave.
[0005] In addition, the many motor units that make up a muscle do not activate uniformly, but rather multiple types of motor units with different activation speeds are selectively activated depending on the load. In addition, the response of motor units changes with fatigue, so even if there is no change in muscle length or load, the time during which the shape and period of the single wave of the motor unit action potential can maintain regularity and stability is extremely short.
[0006] Therefore, it is difficult to separate and extract individual motor unit action potentials from the superimposed signal waveforms detected by surface EMG. Not limited to muscle activity, biological activity is often a collection of single-shot activities that do not necessarily have regularity, and it is highly likely that the observed biological signal is also a superposition of signals dependent on single-shot activities. Fields in which irregular single-shot waveforms (e.g., abnormal signals) can be observed as superimposed signal waveforms are not limited to fields that analyze biological activity, and extraction and analysis of the time position (occurrence time) of single-shot waveforms, etc. are required in various fields.
[0007] To analyze such signals, it is necessary to be sensitive to local characteristics, so wavelet analysis, which has high time resolution, is suitable. Wavelet analysis can easily detect single waves that occur completely discretely at fixed frequencies. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] JP 2018-047230 A [Patent Document 2] JP 2002-272692 A [Patent Document 3] JP 2007-202612 A [Patent Document 4] JP 2016-063995 A [Patent Document 5] WO2004 / 023996 publication [Patent Document 6] Special Publication No. 05-032057 [Patent Document 7] JP 2013-244027 A Summary of the Invention [Problem to be solved by the invention]
[0009] However, it is believed that there are many waveforms, including those of motor unit activity included in myoelectric potential, in which the property of single-shot waves occurring completely discretely at fixed frequencies cannot be expected. In such waveforms, the single-shot signal components exist with a time and frequency spread. Therefore, as disclosed in Patent Documents 1, 2, and 3, when the results of the continuous wavelet transform are displayed two-dimensionally or three-dimensionally, it is difficult to determine which parts are part of the single-shot signal components and which parts are noise-like components.
[0010] When performing signal analysis using a computer, discrete data obtained by sampling is used, and wavelet analysis of discrete data is called discrete wavelet analysis. When the results of multi-resolution analysis, which is common in discrete wavelet analysis, are simply used, it becomes extremely difficult to identify a single wave on the time-frequency plane due to restrictions on the division of the time-frequency plane. As described in Patent Document 4, if redundant discrete wavelet analysis is performed, the problems of multi-resolution analysis can be avoided, but problems similar to those of continuous wavelet transform remain. In this regard, there are techniques that use multi-channel signals and models or special measurement conditions to enable the detection and separation of component signals from a single-channel signal (e.g., component motor unit action potentials from a single-channel surface electromyography signal) (see Patent Documents 5 and 6).
[0011] However, these methods require complex calculations, and the accuracy of estimating element signals decreases for signals that contain elements that do not conform to the model conditions, such as noise. An even more serious problem is that, because multi-channel feature information is used during estimation, analysis based on the obtained element signals cannot be performed from a multi-channel perspective. If extraction and separation from single-channel signals can be realized, technologies that aim for analysis using multi-channels (for example, Patent Document 7) can be further developed.
[0012] The present invention has been made in consideration of the above circumstances, and aims to provide a signal waveform analysis system and a program therefor that can quantitatively extract each frequency component contained in a component waveform corresponding to the time at which the component waveform exists, even if the signal waveform is not simple, such as one in which the frequency components of the component waveform vary over time. [Means for solving the problem]
[0013] A signal waveform analysis system according to a first invention that meets the above-mentioned objective is a signal waveform analysis system that analyzes component waveforms contained in a detected signal waveform, and is characterized in that it comprises processing means that performs wavelet analysis on the signal waveform and calculates wavelet coefficients for each frequency band of each frequency component contained in the component waveform based on wavelet coefficient characteristics related to the component waveform to be analyzed, and the processing means outputs the wavelet coefficients for each frequency band of each frequency component corresponding to the time at which the component waveform is present in the signal waveform.
[0014] A signal waveform analysis program according to a second invention in line with the above-mentioned object is a signal waveform analysis program used in a signal waveform analysis system that analyzes component waveforms contained in a detected signal waveform, characterized in that wavelet analysis is performed on the signal waveform, and wavelet coefficients for each frequency band of each frequency component contained in the component waveform are calculated based on wavelet coefficient characteristics related to the component waveform to be analyzed, and the wavelet coefficients for each frequency band of each frequency component are output corresponding to the time at which the component waveform is present in the signal waveform.
[0015] As a method of wavelet analysis, redundant discrete wavelet analysis is preferable because it is suitable for computer processing, particularly when real-time analysis is required. In the following embodiments of the present invention, redundant discrete wavelet analysis will be mainly described, but the wavelet analysis that can be adopted in the signal waveform analysis system according to the first invention and the signal waveform analysis program according to the second invention is not limited to redundant discrete wavelet analysis as long as it is possible to obtain the necessary wavelet coefficients in the time-frequency domain.
[0016] The component waveforms of a signal waveform handled by the signal waveform analysis system according to the first invention and the signal waveform analysis program according to the second invention are often single waves or similar waves with irregular occurrence frequencies, and are generally composed of multiple frequency components, and it is natural to think that the time period in which each frequency component exists differs depending on the frequency band. Since the existence time of the component waveforms is short and the number of periods contained in the component waveforms is considered to be extremely small, Fourier analysis, which seeks periodicity in the detection target, including short-time Fourier analysis, is not suitable. Therefore, to analyze the component waveforms of a single signal waveform, the use of wavelet analysis is far more desirable than the use of Fourier analysis.
[0017] In wavelet analysis, since it is sensitive to signal changes with shapes similar to those of the wavelets used, if the time periods in which the frequency components of the component waveforms exist differ for each frequency, the time periods in which large wavelet coefficients are output in response to the frequency components differ for each frequency component. Therefore, if the frequency of occurrence of the component waveforms is low and the component waveforms exist isolated in the signal to be analyzed, when the values obtained from wavelet analysis are represented, for example, on a time-frequency plane, the component waveforms will exist as a large mass of wavelet coefficient values that are spread out in terms of time and frequency.
[0018] However, when a signal to be analyzed contains many component waveforms that are close in time, if the signal intensity distribution based on the wavelet analysis results is simply displayed on the time-frequency plane, for example, two wavelet coefficients belonging to different component waveforms will appear in the high-frequency and low-frequency regions at the same time position on the time-frequency plane. As a result, it becomes unclear which region on the time-frequency plane contains which signal intensity clusters, making it extremely difficult to detect the component waveforms.
[0019] On the other hand, when considering the frequency components that make up a component waveform and the time period in which the frequency components exist, wavelet coefficients that have a strong relationship as frequency components that make up one component waveform (hereinafter, a group of these wavelet coefficients is also referred to as a "wavelet coefficient group") are considered to be distributed with regularity on the time-frequency plane. Note that there is not necessarily a direct relationship in the calculations of wavelet analysis or an inclusion relationship in time periods between each wavelet coefficient of the wavelet coefficient group, and such a relationship does not necessarily have to exist.
[0020] Here, for a wavelet coefficient group, a relationship between the time position of each wavelet coefficient and the frequency band in the time-frequency domain is defined as a wavelet coefficient set as a wavelet coefficient characteristic, and a reference time position in the time-frequency domain of this wavelet coefficient set is defined as a reference time point. A component waveform to be captured by the wavelet coefficient set has a time width like the wavelet coefficient set, and the reference time point of the wavelet coefficient set is also the time at which the component waveform exists.
[0021] As a result, even if the signal to be analyzed is a single channel, if the result of wavelet analysis of the signal to be analyzed is expressed, for example, on a time-frequency plane, at each time, a group of wavelet coefficients can be extracted based on a wavelet coefficient set having the time as a reference time, and the component waveforms present at that time can be extracted and analyzed. In other words, if all the wavelet coefficients corresponding to the wavelet coefficient set are adjusted and arranged for each frequency band based on the reference time, as described above, each frequency component contained in the component waveform is output corresponding to the time at which the component waveform exists as a group consisting of a frequency band and its wavelet coefficient, without being output at different times. In addition, when this result is displayed on a time-frequency plane, a row of wavelet coefficients with large values appears in a direction perpendicular to the time axis corresponding to the above-mentioned time, and the distribution of the component waveforms in the signal to be analyzed can be easily visually recognized and analyzed.
[0022] The sampling frequency when the signal to be analyzed is input to a computer is usually determined based on the maximum frequency value of the frequency components contained in the signal to be analyzed, but in the analysis of component waveforms according to the present invention, the sampling frequency is adjusted in consideration of how closely the component waveforms are contained in time and the desired time resolution for extracting them. It is preferable to set the sampling frequency to at least twice the frequency that has a period for the time width to be separated. Effect of the Invention
[0023] The signal waveform analysis system according to the first invention and the signal waveform analysis program according to the second invention comprise a processing means for performing wavelet analysis on a signal waveform and calculating a wavelet coefficient for each frequency band of each frequency component included in the component waveform based on the wavelet coefficient characteristics related to the component waveform to be analyzed, and the processing means outputs the wavelet coefficient for each frequency band of each frequency component corresponding to the time when the component waveform exists in the signal waveform. Therefore, even if the signal waveform is not simple, such as the frequency components of the component waveform having time fluctuations, each frequency component included in the component waveform can be quantitatively extracted corresponding to the time when the component waveform exists. In addition, for example, when expressed on a time-frequency plane, it is possible to estimate and analyze the temporal behavior of the component waveform in the signal to be analyzed and the frequency components and magnitudes that constitute each component waveform. It goes without saying that information on the characteristics of the time fluctuation of the frequency components is included in the arrangement and adjustment setting of the wavelet coefficients.
[0024] Furthermore, according to the first and second inventions, there is no need for multi-channel measurements or the use of models or special measurement conditions, as seen in conventional methods, and detailed component waveform distribution and analysis is possible using a signal measured from a single channel. [Brief description of the drawings]
[0025] [Figure 1] 1 is an explanatory diagram of a signal waveform analysis system according to an embodiment of the present invention; [Diagram 2] FIG. 2 is an explanatory diagram of a time-frequency plane. [Diagram 3] (A) and (B) are explanatory diagrams of wavelet analysis. [Figure 4] (A) and (B) are explanatory diagrams of wavelet analysis. [Diagram 5] FIG. 1 is an explanatory diagram of wavelet analysis. [Figure 6] (A), (B), and (C) are examples of selected wavelet coefficient sets, respectively. [Figure 7](A), (B), and (C) are examples of selected wavelet coefficient sets, respectively. [Figure 8] (A) and (B) are time-frequency planes obtained by applying the conventional method to surface EMG signals with weighting of approximately 50% MVC. [Figure 9] (A) and (B) are time-frequency planes obtained by applying the conventional method to surface EMG signals with weighting of approximately 90% MVC. [Figure 10] (A) and (B) are time-frequency planes obtained by contouring the time-frequency planes of Figures 8(A) and (B), respectively. [Figure 11] (A) and (B) are time-frequency planes obtained by contouring the time-frequency planes of Figures 9(A) and (B), respectively. [Figure 12] (A) and (B) are respectively contoured time-frequency planes obtained using the T+1 / 2 wavelet coefficient set based on the surface EMG signal with weighting of approximately 50% MVC. [Figure 13] (A) and (B) are respectively contoured time-frequency planes obtained using the T+1 / 2 wavelet coefficient set based on the surface EMG signal with weighting of approximately 90% MVC. [Figure 14] FIG. 13B is a partially enlarged view of FIG. [Figure 15] (A) to (F) are waveforms obtained by inverse transforming the wavelet coefficients at specific times on the time-frequency plane. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Next, with reference to the attached drawings, an embodiment of the present invention will be described for understanding the present invention. As shown in FIG. 1, a signal waveform analysis system 10 according to one embodiment of the present invention comprises a sensor unit 11 that is attached to a human body and detects a surface electromyogram (an example of a waveform signal), an amplifier 12 that amplifies the analog surface electromyogram output from the sensor unit 11, an A / D converter 13 that digitizes the amplified analog surface electromyogram, and a processing means 14 that performs redundant discrete wavelet analysis or the like on the digitized surface electromyogram (the "digitized surface electromyogram" will hereinafter also be referred to simply as the "surface electromyogram") to analyze component waveforms contained in the surface electromyogram.
[0027] The sensor unit 11 is set to perform measurement at a sampling frequency that provides sufficient time resolution to capture the component waveforms of the surface myoelectric signal. The sensor unit 11 may be of a type that contacts the skin of the measurement subject, or may be of a type that does not contact the skin. Conventionally, the sampling frequency of the surface myoelectric signal is set to 1 to 3 kHz, whereas in this embodiment, the sampling frequency is set to a value higher than the conventional value (for example, 10 to 20 kHz or more) with the main purpose of increasing the time resolution of component waveform extraction. When detecting the surface EMG signal, noise reduction processing may be performed using a digital filter or the like. However, since the highest frequency component contained in the component waveform affects the resolution when extracting the component waveform, when performing noise reduction processing, it is preferable to leave as much room as possible for the high frequency components to remain in the waveform of the surface EMG signal.
[0028] The processing means 14 can be configured, for example, by a computer with a monitor, and a signal waveform analysis program for obtaining a set of wavelet coefficients is installed. The processing means 14 performs redundant discrete wavelet analysis (the wavelet to be adopted can be a type used in general multi-resolution analysis) or wavelet analysis capable of obtaining wavelet coefficients in the time-frequency domain required for feature extraction in accordance with the redundant discrete wavelet analysis on the surface myoelectric signal input from the A / D converter 13, and can obtain wavelet coefficients corresponding to the frequency bands of each frequency component included in the component waveform. It is also possible to plot the wavelet coefficients and display them as a graph on a time-frequency plane (see FIG. 2). The processing means 14 configured in this way performs wavelet analysis based on values sampled from the waveform signal to obtain wavelet coefficients corresponding to each frequency band, and the analysis results can be displayed on a time-frequency plane as necessary.
[0029] As shown in FIG. 2, the time-frequency plane is a plane with the vertical axis being the frequency axis and the horizontal axis being the time axis, and wavelet coefficients are input to each unit area on the plane. Note that FIG. 2 shows the result of multi-resolution analysis so that the unit areas of the wavelet coefficients in each frequency band can be easily understood, but in redundant wavelet analysis, wavelet coefficients are obtained in all unit areas shifted by one sample time. On the time-frequency plane, coefficient aggregates (lumps) consisting of sets of wavelet coefficients of a predetermined range of size (for example, absolute values equal to or greater than a predetermined value) are scattered. The time-frequency plane shown in FIG. 2 expresses the size of the wavelet coefficients with shades of color, and the darker the color of the unit area, the larger the wavelet coefficient.
[0030] Below, we will first explain the process of determining wavelet coefficients to be plotted in a unit domain on the time-frequency plane based on data sampled from a waveform signal (hereinafter also referred to as "sampled values"). Note that in the following, we will explain the case where Daubechies' N=2 wavelet is used and the number of frequency bands is three. 3A, the wavelet coefficients are calculated using table 16, to which sampling values are input, and tables 17, 18, and 19, each of which corresponds to a different frequency band on the time-frequency plane. Each of tables 16, 17, 18, and 19 has multiple buffers capable of storing numerical values. The numbers 0, -1, -2, etc. shown horizontally in each table indicate the time when the sample value is input (hereinafter also referred to as the time position). A minus sign means that the data was input in the past; for example, data "-1" was input before the data input at position 0, following the flow described below. Additionally, the table numbers 16, 17, and 18 indicate frequency bands, with the higher the number, the lower the frequency.
[0031] When a new sampled value is provided from the A / D converter 13 to the processing means 14, the sampled value is first input to the 0th buffer of the table 16 as shown in Fig. 3(A), and each time the next sampled value is input to the 0th buffer, the sampled value input to the previous buffer is sequentially moved to the left and input to the next buffer. Then, as shown in Fig. 3(B), when a sampled value is input to each of the 0th to -3rd buffers of the table 16, wavelet coefficients and the value of the remaining low-frequency signal component (hereinafter simply referred to as "residual signal component") obtained by removing the signal component represented by the wavelet coefficient are calculated from these four values (when Daubechies'N=2 defined by a width of 4). The -1st to -3rd buffers of the table 16 are respectively input with the previous sampled value, the second previous sampled value, and the third previous sampled value. The calculated wavelet coefficient is then input to the −3rd buffer of table 17, and the value of the remaining signal component calculated simultaneously with the wavelet coefficient is overwritten in the −3rd buffer of table 16.
[0032] When the analysis proceeds according to the above flow, then, as shown in Fig. 4(A), wavelet coefficients and residual signal components are calculated from the four values input to the -3rd buffer, -5th buffer, -7th buffer, and -9th buffer of Table 16, respectively, and the calculated wavelet coefficients are input to the -9th buffer of Table 18, and at the same time, the value of the calculated residual signal component is overwritten in the -9th buffer of Table 16. Note that, since the analysis of the value before the overwrite proceeds in the same manner as in the above flow, the -9th buffer of Table 16 contains the value of the residual signal component calculated at the same time as the wavelet coefficient calculated 6 buffers ago as the value to be input to the buffer of Table 17.
[0033] 4(B), a wavelet coefficient is calculated from the four values input to the -9th buffer, the -13th buffer, the -17th buffer, and the -21st buffer of Table 16, the calculated wavelet coefficient is input to the -21st buffer of Table 19, and the value of the remaining signal component calculated simultaneously with the wavelet coefficient is overwritten in the -21st buffer of Table 16. Note that before the overwriting, the -21st buffer of Table 16 contained the value of the remaining signal component calculated simultaneously with the wavelet coefficient calculated 12 times previously as the value to be input to the buffer of Table 18.
[0034] Then, as shown in FIG. 5, the wavelet coefficients input to the −21st buffer of Table 17, the −21st buffer of Table 18, and the −21st buffer of Table 19 are output as wavelet coefficients to be plotted in the unit domain of the time-frequency plane, and the numerical values input to the −21st buffer of each of Tables 16, 17, 18, and 19 are erased.
[0035] As for Tables 17, 18, and 19, as described above, Table 17 corresponds to the highest frequency band on the time-frequency plane, Table 18 corresponds to the second highest frequency band on the time-frequency plane, and Table 19 corresponds to the lowest frequency band on the time-frequency plane. The wavelet coefficients output to the -21st buffer of Tables 17, 18, and 19 are plotted (input) at positions with equal time positions in the frequency bands on the time-frequency plane in the frequency unit domains corresponding to each other.
[0036] Here, the time width corresponding to the wavelet coefficients input into each buffer of Table 17 is equal to the time width of two buffers of Table 16, as shown in FIG. 5 (the time width of the hatched area in Table 17), the time width corresponding to the wavelet coefficients input into each buffer of Table 18 is equal to the time width of four buffers of Table 16 (the time width of the hatched area in Table 18), and the time width corresponding to the wavelet coefficients input into each buffer of Table 19 is equal to the time width of eight buffers of Table 16 (the time width of the hatched area in Table 19).
[0037] After that, the values entered in each buffer of tables 16, 17, 18, and 19 are moved to the buffer one position to the left (for example, the value entered in the -20th buffer of table 16 is moved to the -21st buffer of table 16), and the 0th buffer of table 16 becomes empty and a new sampling value can be input. Note that if the table is implemented as a ring buffer, it is only necessary to change the position of the tip of the table and there is no need to directly move the data.
[0038] When changing the wavelet to be used for each frequency band, the index position of table 16 to be referenced in the calculation for a certain band and the index position of the table to be input are changed. For example, when using a type of wavelet defined with a width of 6 when calculating the wavelet coefficients of table 18, the wavelet coefficients calculated from the six values input to the -3rd buffer, -5th buffer, -7th buffer, -9th buffer, -11th buffer, and -13th buffer of table 16 (in this case, unlike FIG. 3, the -10th to -13th buffers are also the remaining signal components when calculating table 17) are input to the -13th buffer of table 18. The processing means 14 repeats the above-mentioned process to obtain a time-frequency plane on which the set of coefficients is interspersed.
[0039] As described above, a component waveform is generally composed of multiple frequency components, and the time periods in which each frequency component exists vary depending on the frequency band, resulting in a variety of shapes. In order to accurately estimate and analyze the distribution of such component waveforms, analysis must be performed according to the shapes of the component waveforms. Therefore, the processing means 14 first analyzes and grasps the wavelet coefficient characteristics (hereinafter also referred to as "wavelet coefficient set") in the time-frequency domain of the component waveform to be analyzed, and analyzes the component waveform contained in the signal waveform to be analyzed based on the wavelet coefficient set. In other words, the wavelet coefficient set, which is previously grasped according to the time-frequency characteristics of the component waveform, is set, for example, as a table as described above, and analyzed, and the frequency components contained in the component waveform and their wavelet coefficients corresponding to the time when the component waveform exists in the signal waveform can be output.
[0040] In order to analyze the component waveform to be analyzed by the processing means 14, it is necessary to input the shape of the waveform as an initial condition before analyzing the signal waveform, but the method is not limited to this. For example, various methods are conceivable, such as providing a storage means or the like and storing representative component waveforms in advance, or in the case of a component waveform for which a wavelet coefficient set is already known or can be estimated, directly inputting the wavelet coefficient set, or storing various wavelet coefficient sets as described below in a storage means in advance, and selecting a wavelet coefficient set close to the component waveform when performing analysis, and adjusting the time position of the wavelet coefficients in each frequency band to analyze the component waveform.
[0041] 5 shows an example of one wavelet coefficient set as described above, and when this wavelet coefficient set is used, the processing means 14 is adjusted so as to select, as the wavelet coefficients to be plotted on the time-frequency plane, the wavelet coefficients of the -21st buffer existing at the same time position in each of the frequency bands shown in Tables 17, 18, and 19. This wavelet coefficient set corresponds to H+0, which will be described later. Such a wavelet coefficient set will be specifically described below.
[0042] For example, in addition to the wavelet coefficient set shown in FIG. 5, the patterns shown in FIG. 6(A), (B), (C) and FIG. 7(A), (B), (C) are also assumed. Tables 16, 17, 18, and 19 are set so that they can hold the wavelet coefficients of each area 20 of these wavelet coefficient sets until they are all calculated. The buffer that holds the wavelet coefficients of each area 20 of the wavelet coefficient set is a buffer located at the time position of the leading edge (left end) of each area in the time axis direction. When the wavelet coefficients of each area 20 of the wavelet coefficient set are all calculated, these wavelet coefficients are output as a group of wavelet coefficients at the reference time point of the wavelet coefficient set.
[0043] As a basic form of a method for making the region 20 from which the wavelet coefficients are selected different for each frequency band (a method for obtaining a set of wavelet coefficients), there is the shift selection method described in "Nagai Hidetoshi, Shift Selection Method of Wavelet Coefficient Set for Extracting Features of Surface EMG, IEICE Technical Report, vol. 119, no. 391, MBE2019-78, pp. 51-56 (2020)" (hereinafter referred to as "Document P").
[0044] It has been confirmed that the shift selection method is effective in examining the overall characteristics of a signal waveform using signal feature quantities for each time, such as the RMS of wavelet coefficients obtained in an arrangement that ignores computational relationships, as opposed to patterns that have direct computational relationships in conventionally used multiresolution analysis (H+0 patterns). Furthermore, it has been confirmed that this method has the property that the above overall characteristics also change continuously through successive arrangement operations.
[0045] Based on this result, the present invention has been further studied, and instead of simply changing the arrangement without any basis and comparing and analyzing the overall characteristics of the signal waveform in such a shift selection method, it is possible to focus on individual component waveforms contained in the signal waveform. In the present invention, a wavelet coefficient set that goes beyond the scope of the shift selection method according to the shape of the target component waveform is studied and set, and further, the time position of the wavelet coefficients of each frequency band is adjusted and arranged according to the coefficient set, and the distribution of the wavelet coefficient values at each time is examined, thereby it is possible to analyze the behavior of the component waveform in the signal waveform, that is, it is possible to analyze the details of the signal waveform.
[0046] In addition, in the present invention, based on the continuity of the shift selection method, it is also possible to use the arrangement operation method of the shift selection method with a certain wavelet coefficient set as a base form, and compare and analyze while slightly shifting the range of each frequency band. By doing so, for example, due to the scaling relationship between frequency bands, component waveforms that have the same shape but different wavelengths will appear as differences in whether the distribution of the wavelet coefficient set on the frequency axis is closer to the high frequency band or the low frequency band.
[0047] Fig. 6(A) is an example in which the time position of the region 20 constituting the wavelet coefficient set is shifted by 1 / 2 in each frequency band, Fig. 6(B) is an example in which the same time position is shifted by 1 / 4 in each frequency band, and Fig. 6(C) is an example in which there is no shift. Hereinafter, the shift amount of each region 20 is represented as S, and this embodiment in which the time position of the region 20 from which the wavelet coefficient is selected differs in each frequency band is represented as T+S including the shift amount. The examples shown in Figs. 6(A), (B), and (C) are represented as T+1 / 2, T+1 / 4, and T(T+0), respectively.
[0048] Note that T indicates one pattern of a wavelet coefficient set, and represents a wavelet coefficient set in which the positions of the time axis direction ends (right side) of the region 20 of each frequency band are aligned. Also, T+S can be formed by using the end of the lowest frequency band of that pattern as a reference, shifting the end (right end) of the high frequency band on the adjacent high frequency side relative to this end by only S, and similarly shifting the even higher frequency band between adjacent bands in sequence.
[0049] The wavelet coefficient sets shown in Figures 7(A) and (B) show the time positions of the frequency bands shifted with respect to H, which is based on the alignment of the time axis ends (left ends) of the regions 20 of the frequency bands. The examples shown in Figures 7(A), (B), and (C) are H-1 / 2, H-1 / 4, and H(H+0), respectively, and the pattern of H is that shown in the prior art (see Figure 7(C)).
[0050] In the analysis of component waveforms according to the present invention, a set of wavelet coefficients corresponding to the target component waveform that needs to be analyzed is used. Specifically, for example, for a component waveform that has a strong peak in the high frequency range and decays or disappears as the frequency decreases, it is effective to clearly grasp the behavior of the component waveform based on the HS form such as H-1.0 or H-0.5, taking into consideration that the shift amount is related to the rate of decay.
[0051] On the other hand, when the signal to be analyzed has a component waveform that contains a frequency component with one main peak, such as that shown by the Daubechies' N=2 wavelet, a wavelet coefficient set in which end justification (T) is set as the standard setting and a shift amount of 0 or more is set is useful; by adjusting the shift amount, it is possible to set a well-balanced setting for the rise and decay speeds, enabling stable analysis of the component waveform.
[0052] Furthermore, in cases where the characteristics of the target component waveforms can be estimated in advance, as mentioned above, it is possible to provide a memory means and store the above-mentioned T and H patterns, and to use these in combination with a wavelet coefficient set obtained by analyzing the component waveforms, or to perform analysis by appropriately finely adjusting the time position of each frequency band based on these patterns as described below, without analyzing the component waveforms in advance.
[0053] While wavelet coefficients have both positive and negative values, in this embodiment, the regions constituting the wavelet coefficient set are defined so that the closer the inverse transform waveform of the selected wavelet coefficients is to the shape of the component waveform, the more the wavelet coefficients are likely to have large positive values. Conversely, if the closer the wavelet coefficients are to the shape of the component waveform, the more likely they are to have large negative values, the region is defined so that the values are all negative. This is to make the plotted wavelet coefficient set clear. In order to make the values all positive or negative, a process of inverting the positive and negative values of the wavelet coefficients may be performed only in a portion of the frequency range.
[0054] In addition, when the time width of the component waveform varies, it is preferable to select a type of wavelet whose shape is close to that of the component waveform alone, taking into consideration the scalability. For example, when targeting surface myoelectric potential and its component motor unit action potential waveform, Daubechies'N=2 is recommended as the wavelet, as it has a narrow support and is relatively close in shape to the motor unit action potential waveform. If it is known that the component waveform has different waveform characteristics for each frequency band, the type of wavelet used may be changed depending on the frequency band.
[0055] When shifting each frequency band in the wavelet coefficient set and adjusting the time position of the selected wavelet coefficient for each frequency band, it is not necessary to make the inverse transform waveform of the wavelet coefficients constituting the coefficient set approach the shape of the entire component waveform. For example, a selection can be made to approach only the shape of the latter half of the component waveform, and the entire component waveform can be estimated after detecting the latter half of the component waveform. In this case, however, it should be noted that the wavelet coefficients obtained from the parts of the component waveform that are not the target may reduce the extraction accuracy.
[0056] In addition, in this embodiment, in order to clarify the component waveform, threshold processing (standing wave reduction processing or wavelet shrinkage processing) is performed during wavelet analysis to reduce the standing wave. This is a process in which a signal waveform that contains almost no component waveform is treated as a standing wave, and the signal components of the standing wave are reduced from the signal waveform to be analyzed, which corresponds to a noise reduction process in which the standing wave is regarded as noise. In this embodiment, soft thresholding is used for the threshold processing to reduce the standing wave, but other methods may be used. Note that the threshold processing may be performed on the wavelet coefficients output from a specified buffer in the table after the wavelet analysis, rather than during the wavelet analysis.
[0057] There are many methods for determining the threshold value for threshold processing. When the signal waveform is a surface electromyogram signal as in this embodiment, the signal when the subject (i.e., the living body) is in a relaxed state is subjected to wavelet analysis as a standing wave, and the threshold value is often determined so that almost all of the obtained signal components are regarded as noise and reduced. In this case, the method is roughly divided into a method of setting the same threshold value for all frequency bands and a method of setting the threshold value individually for each frequency band. However, when the surface electromyogram signal is the target, there is a considerable difference in the signal strength (magnitude of the wavelet coefficient) between the low frequency band and the high frequency band (the signal strength of the low frequency band is considerably larger than that of the high frequency band), so if the threshold value is set to the same value for all frequency bands, a lot of low frequency noise will remain, or information will be lost due to excessive reduction of high frequency components.
[0058] On the other hand, if a threshold is determined independently for each frequency band based on the wavelet coefficient value of each frequency band, random signal components tend to remain on the time-frequency plane, which is a major hindrance to analysis. Therefore, in this embodiment, a threshold is determined for each frequency band according to the following procedure, the effect of which can be adjusted by parameters.
[0059] (1) A wavelet analysis is performed on the surface electromyogram signal detected from a living body in a relaxed state to obtain wavelet coefficients. The number of wavelet coefficients obtained in each frequency band is defined as n. (2) Since the obtained wavelet coefficients may exceptionally contain extremely large noise or signal components other than noise, an outlier percentage criterion OB is given as a parameter, and the top 100×(OB / log(n))% of the wavelet coefficients for each frequency band are excluded as outliers in descending order. The appropriate value of OB depends on the measurement environment, etc. As an example, in this embodiment, OB=0.25 is used.
[0060] (3) For frequency band i, calculate the standard deviation SDi of the wavelet coefficients for each frequency band with the average set to 0. Here, the maximum value of SDi in all frequency bands is defined as max_SD. (4) A threshold weight TW is given as a parameter, and, for example, either Equation 1 or Equation 2 below is set as the threshold for frequency band i.
[0061] SDi×TW×(1+log(max_SD / SDi))...Equation 1 SDi×TW×(1+√(max_SD / SDi)) Formula 2
[0062] Whether Equation 1 or Equation 2 is appropriate and the appropriate value of TW differ depending on the type of data being handled. Empirically, Equation 1 often shows better results than Equation 2, so in this embodiment, TW=2.0 is used as an example. Here, from Equations 1 and 2, the threshold value for the threshold processing performed in each frequency band is determined using the standard deviation of the wavelet coefficients.
[0063] The X-axis is the reference time of the wavelet coefficient set, the Y-axis is the frequency band of the wavelet coefficient (for a frequency band in which multiple wavelet coefficients are used, the frequency band can be virtually divided and assigned to each according to the characteristics of the assumed wavelet coefficient set), and the Z-axis is the wavelet coefficient value (for a frequency band in which multiple wavelet coefficients are used, averaging or addition processing can be performed). By visualizing the distribution of the signal strength evaluated from the viewpoint of the compatibility with the used wavelet on the time-frequency plane in a three-dimensional plot in the Z-axis range of positive values (in the case where the wavelet coefficient is set so that the closer the inverse transformed waveform is to the component waveform, the more negative it becomes, the range of negative values), the existence of the component waveform can be observed as a group of strong signal regions close to the direction parallel to the Y-axis (direction perpendicular to the time axis). It goes without saying that the range of the Z-axis to be displayed may be adjusted to make it easier to observe the component waveform.
[0064] When the signal waveform to be analyzed contains a large number of component waveforms, plotting values on a time-frequency plane tends to result in fusion of the frequency components of the component waveforms and strong signal regions represented by the wavelet coefficients in the low frequency band. If the sampling frequency is sufficient, fusion is unlikely to occur in the high frequency band. In such a situation, the distribution of each component waveform may be easily distinguished by plotting in three dimensions using a wavelet coefficient set adjusted by further shifting each region 20 in the time axis direction based on a wavelet coefficient set considered optimal for the component waveform. This is particularly effective when there is a difference in the frequency characteristics of the fused component waveforms.
[0065] By plotting the wavelet coefficient set three-dimensionally on the time-frequency plane in the positive region of the wavelet coefficient value (negative region when the wavelet coefficient is set so that the closer the inverse transform waveform is to the component waveform, the more negative the wavelet coefficient), the individual motor unit activity is output, displayed, and observable in response to the time when the waveform of the motor unit activity exists in the signal waveform, for example, a teardrop-shaped distribution approximately perpendicular to the time axis. When there are many motor unit activities, the teardrop-shaped distributions may merge, but in order to perform a more efficient analysis of the motor unit activity, it is helpful to shift the distributions little by little as described above, or to make the shift amount small (for example, T+1 / 2, i.e., T+0.5, when the reference setting is T+0.35 or T+0.55, etc.).
[0066] By performing an inverse wavelet transform on the wavelet coefficient set extracted based on the distribution of the component waveforms, it is possible to obtain an estimated shape of the component waveforms actually present in the signal waveform. When separating and extracting motor unit activity from a single-channel surface EMG signal, it is preferable to adopt the standard setting of T+1 / 2 in the shift selection method if the interval is roughly divided, and it is preferable to adopt T+6 / 16 or T+7 / 16 if the interval is more finely divided.
[0067] For example, when the sampling frequency is 20 kHz, there are roughly two frequency bands where the teardrop-shaped distribution of motor unit activity peaks. One peak is presumed to be the activity of fast-twitch motor units, and the other peak is presumed to be the activity of slow-twitch motor units. By separating and extracting the wavelet coefficient set at the relevant time based on the distribution properties and obtaining the waveform using inverse wavelet transform, it is possible to estimate the action potential waveforms of fast and slow-twitch motor units.
[0068] The teardrop-shaped distribution of each motor unit activity transitions in a mountain shape along the time axis (see Figures 13(A) and (B)). Its width is the time width over which the observed signal changes, and is thought to be closely related to the signal transmission speed. When comparing before and after muscle fatigue, it appears that after muscle fatigue the values in the low frequency range increase and there is an increase in teardrop-shaped distributions with a wide time width, which is likely to reflect the decrease in muscle fiber conduction velocity that occurs during muscle fatigue. Therefore, it is clear that analysis of the teardrop-shaped distribution can provide a new perspective on the analysis of muscle fatigue.
[0069] In this way, the signal analysis of the surface myoelectric signal has been described as an example of a signal waveform that is composed of irregular and dense component waveforms and is difficult to analyze, but the present invention is not limited to the surface myoelectric signal. The important point of the present invention is that it reacts very strongly to the appearance of the target component waveform. In addition, since the analysis itself can be performed in real time, it can also be used for applications such as monitoring the appearance of a single, transient waveform that occurs very infrequently.
[0070] In this case, if the table for analysis is made larger and the retention time is lengthened, analysis can be performed from a certain time before the occurrence of a single waveform. The component waveform analysis ability of the present invention is also effective in detecting abnormalities in signal waveforms whose component waveforms are periodic or repetitive. For example, it can be applied to the analysis of electrocardiogram waveforms, which are difficult to express by the synthesis of simple sine waves assumed in Fourier analysis. It is also possible to analyze waveform fluctuations by comparing a wavelet coefficient set with the peak of the R wave as a feature vector using cosine similarity. In addition to biological information, for example, when a solenoid actuator operating repetitively in a machine device during operation has a driving impact sound as a component waveform in a certain signal waveform, it can also be applied to analyzing the driving state. If a certain degree of reduction in driving speed occurs due to dirt or the like, there is a high possibility that the timing of operation will be shifted or the high-frequency components of the driving impact sound will be reduced, and it is believed that the present invention functions effectively in detecting such a case. EXAMPLES
[0071] Next, an experiment conducted to confirm the effects of the present invention will be described. In the experiment, we measured a single channel surface electromyogram of the biceps brachii muscle when the subject stood upright, bent the elbow 90 degrees, and placed weight on the wrist with the forearm horizontal, and visualized the motor unit activity contained in the surface electromyogram. In the experiment, the sampling frequency was 20 kHz, and the wavelet analysis method used was Daubechies' N=2 redundant discrete wavelet analysis.
[0072] Figures 8 to 11 show time-frequency planes obtained by applying the conventional method (wavelet coefficient set H(H+0) shown in Figure 7(C)) for the states in which the weight on the wrist is approximately 50% MVC (maximum voluntary muscle strength) and approximately 90% MVC. Figures 8(A) and (B) are time-frequency planes before and after muscle fatigue when the weight on the wrist is about 50% MVC, and Figures 9(A) and (B) are time-frequency planes before and after muscle fatigue when the weight on the wrist is about 90% MVC. In all of the time-frequency planes in Figures 8(A), (B), 9(A), and (B), the magnitude of the wavelet coefficient of each unit area is represented by the shade of color. From the time-frequency planes in Figures 8(A), (B), 9(A), and (B), it can be confirmed that there are changes in the signal features, but the details are blurred and unclear, and it is difficult to distinguish the difference before and after muscle fatigue.
[0073] Figures 10(A) and (B) are time-frequency planes in which the positive range of wavelet coefficient values is shown by contour lines on the time-frequency planes of Figures 8(A) and (B), respectively, and Figures 11(A) and (B) are time-frequency planes in which the positive range of wavelet coefficient values is shown by contour lines on the time-frequency planes of Figures 9(A) and (B), respectively. From the time-frequency planes of Figures 10(A), (B) and Figures 11(A), (B), it can be confirmed that there are changes in the signal characteristics before and after muscle fatigue, but the coefficient assemblies (lumps) present on the time-frequency plane are greatly inclined, undulating, and exist individually like islands, and there is little regularity in the connections between the coefficient assemblies, making it impossible to analyze motor unit activity. Therefore, it is clear that the H pattern is inappropriate for analyzing motor unit activity of component waveforms based on surface EMG signals measured in experiments.
[0074] Next, Fig. 12(A), (B) and Fig. 13(A) and (B) show the contours of the positive range of wavelet coefficient values on the time-frequency plane obtained by applying the T+1 / 2 pattern to the same surface EMG signal. From the time-frequency planes of Fig. 12(A), (B) and Fig. 13(A) and (B), it was confirmed that each coefficient group represented by the contours is expressed as a mass drooping like a teardrop, and each teardrop-shaped mass corresponds to each motor unit activity. In other words, it can be confirmed that for each motor unit activity, which is a component waveform, the wavelet coefficient for each frequency band of each frequency component contained in that motor unit activity is output at the time when the waveform of that motor unit activity exists.
[0075] It can also be seen that by making adjustments using wavelet coefficient sets corresponding to component waveforms in this way, all wavelet coefficients constituting one component waveform can be contained in one coefficient set, rather than being separated into multiple coefficient sets on the time-frequency plane. Previous research has confirmed that motor unit activity of fast muscles is high frequency and that of slow muscles is low frequency, so it is believed that the coefficient ensemble in the high frequency range corresponds to the motor unit activity of fast muscles, and the coefficient ensemble in the low frequency range corresponds to the motor unit activity of slow muscles. The height represented by the contour line of the teardrop-shaped mass (height in the direction perpendicular to the paper) corresponds to the magnitude of the energy of the motor unit activity.
[0076] Fig. 14 is an enlarged view of a part of Fig. 13(A). Fig. 15(A), (B), and (C) are waveforms obtained by inversely transforming all of the wavelet coefficients present at times (1), (2), and (3) shown in Fig. 14 back to their original time-frequency relationships without considering the individual teardrop-shaped masses. Fig. 15(D), (E), and (F) are waveforms obtained by inversely transforming the wavelet coefficients (the wavelet coefficients of the parts of the teardrop-shaped masses that are cut vertically without gaps by a straight line perpendicular to the time axis) present in the high frequency range (-5 to -7 on the vertical axis) at time (1), the high to mid frequency range (-5 to -8 on the vertical axis) at time (2), and the high frequency range (-5 to -7 on the vertical axis) at time (3) shown in Fig. 14 back to their original time-frequency relationships.
[0077] It was confirmed that the waveforms shown in Figures 15(D), (E), and (F) are similar to the potential changes that occur when a motor unit is excited by the arrival of a nerve impulse. In contrast, while a waveform similar to the potential changes that occur when a motor unit is excited is seen in Figure 15(B), the waveforms in Figures 15(A) and (C) are far removed from the potential changes that occur when a motor unit is excited.
[0078] The estimated waveforms of the motor unit action potential obtained with the wavelet coefficient set of T+1 / 2 (waveforms shown in Figures 15(D), (E), and (F)) appear to have a large negative overshoot when attenuating from the peak, but this can be improved by adjusting the shift amount of the wavelet coefficient set used (from T+1 / 2 to T+6 / 16 or T+7 / 16).
[0079] Although the embodiment of the present invention has been described above, the present invention is not limited to the above-mentioned embodiment, and all changes in conditions that do not depart from the gist of the present invention are within the scope of application of the present invention. For example, the threshold process may be omitted. In addition, the function for visualizing the distribution of motor unit activity on the time-frequency plane can be omitted. [Explanation of symbols]
[0080] 10: signal waveform analysis system, 11: sensor unit, 12: amplifier, 13: A / D converter, 14: processing means, 16, 17, 18, 19: table, 20: area
Claims
1. A signal waveform analysis system for analyzing component waveforms included in a detected signal waveform, a processing means for performing a wavelet analysis on the signal waveform and calculating a wavelet coefficient for each frequency band of each frequency component included in the component waveform based on a wavelet coefficient characteristic associated with the component waveform; The processing means is capable of plotting the calculated wavelet coefficients for each frequency band of each of the frequency components and displaying a time-frequency plane on which coefficient collections consisting of a set of the wavelet coefficients in a predetermined range of sizes are scattered, and during the display, the time positions at which the wavelet coefficients are placed on the time-frequency plane are adjusted so that all of the wavelet coefficients that make up one of the component waveforms are included in one of the coefficient collections on the time-frequency plane.
2. 2. The signal waveform analysis system according to claim 1, wherein each of said coefficient sets has a shape in which most of the coefficient sets are cut longitudinally without gaps by a straight line perpendicular to the time axis of said time-frequency plane.
3. 3. The signal waveform analysis system according to claim 1, wherein when performing the wavelet analysis, waveforms that do not correspond to the component waveforms and are included in the signal waveform regardless of whether the component waveforms are present or not are reduced by threshold processing.
4. 4. The signal waveform analysis system according to claim 3, wherein the signal waveform is an electromyogram, and the threshold for the threshold processing performed in each frequency band is determined using the standard deviation of the wavelet coefficients obtained from the signal waveform detected from a living body in a relaxed state.
5. A signal waveform analysis program used in a signal waveform analysis system for analyzing component waveforms included in a detected signal waveform, a signal waveform analysis program that performs wavelet analysis on the signal waveform, calculates a wavelet coefficient for each frequency band of each frequency component included in the component waveform based on a wavelet coefficient characteristic associated with the component waveform, plots the calculated wavelet coefficient for each frequency band of the frequency component, and when displaying a time-frequency plane on which coefficient sets consisting of a set of the wavelet coefficients of a predetermined range of sizes are scattered, adjusts the time positions at which the wavelet coefficients are placed on the time-frequency plane so that all of the wavelet coefficients that make up one of the component waveforms are included in one of the coefficient sets on the time-frequency plane.
6. 6. The signal waveform analysis program according to claim 5, wherein each of said coefficient sets has a shape in which most of said coefficient sets are cut longitudinally without gaps by a straight line perpendicular to the time axis of said time-frequency plane.
7. 7. The signal waveform analysis program according to claim 5 or 6, characterized in that, when performing the wavelet analysis, waveforms that are included in the signal waveform and do not correspond to the component waveforms, regardless of whether the component waveforms exist, are reduced by threshold processing.
8. 8. The signal waveform analysis program according to claim 7, wherein the signal waveform is an electromyogram, and the threshold for the threshold processing performed in each frequency band is determined using the standard deviation of the wavelet coefficients obtained from the signal waveform detected from a living body in a relaxed state.
Citation Information
Patent Citations
Controlling method for recording apparatus
JP1993032057A
Method and device for analyzing and diagnosing brain cerebration function
JP2002272692A
System apparatus for quantifying the quality of body motion capability
JP2007202612A
Muscular active mass measuring device
JP2013244027A
Evaluation system and evaluation method of action amount and action efficiency of muscle tissue system and nervous system, and program thereof
JP2016063995A
