A blind separation method of speech signals based on improved butterfly optimization algorithm
By improving the butterfly optimization algorithm to process speech signals, it solves the problem of traditional blind source separation methods relying on gradient information and initial solution sensitivity, achieves higher-quality speech signal separation, and improves separation performance and signal quality.
Patent Information
- Application Number
- CN202210560542.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-23
AI Technical Summary
Traditional speech signal blind separation methods rely too much on gradient information and are sensitive to the initial solution, which affects the separation performance and makes it difficult to improve the speed and accuracy of solving the separation matrix.
The improved butterfly optimization algorithm is used to centralize and whiten the speech signal, use the fitness function and population to iteratively update the signal separation matrix, and combine the generated transition probability and random movement strategy to improve the separation performance, and restart the population when the iteration stagnates. Strategies to enhance diversity.
It effectively improves the separation performance of the speech signal, and the obtained separated signal has a high similarity with the source signal, which improves the quality of the receiving end speech signal and has higher separation performance than the traditional algorithm.
Smart Images

Figure CN115035906B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of signal processing, and in particular to a speech signal blind separation method based on an improved butterfly optimization algorithm. Background Art
[0002] In the actual process of using voice signals for communication, interference is inevitable, making it impossible for the receiving end to obtain the original voice signal. Various mixed signals seriously affect the transmission of useful signals, thereby reducing the quality of the signal processing system. Therefore, it is necessary to process the mixed signals at the receiving end to improve the quality of the voice signal.
[0003] Blind source separation is a relatively new signal processing method that can use the observed signal to restore the source signal in the absence of prior knowledge such as the source and channel. Blind source separation can separate the mixed speech signal to obtain the useful signal, thereby achieving the purpose of speech enhancement. There have been many studies on blind separation methods of speech signals at home and abroad, but the traditional natural gradient algorithm is overly dependent on gradient information, and the fast fixed point algorithm is sensitive to the initial solution, which greatly affects the separation performance of the algorithm. Therefore, how to improve the speed and accuracy of solving the separation matrix and obtain a higher quality separation signal is of great practical significance. Summary of the invention
[0004] The purpose of the present invention is to provide a speech signal blind separation method based on an improved butterfly optimization algorithm, which overcomes the limitations of traditional blind source separation methods that are overly dependent on gradient information and sensitive to initial solutions, and effectively improves the separation performance.
[0005] To achieve the above objectives, the present application proposes a speech signal blind separation method based on an improved butterfly optimization algorithm, comprising:
[0006] Step 1: Get the source signal S(t) = [S1(t), S2(t), ..., S n (t)], and after being processed by the non-singular mixing matrix A, the observed signal X(t) = [X1(t), X2(t), ..., X m (t)], where S n (t) is the nth component of the source signal S(t), X m (t) is the mth component of the observed signal X(t), t is the sampling time, m and n are positive integers, and A is an m×n order mixing matrix;
[0007] Step 2: performing centering and whitening processing on the observed signal X(t);
[0008] Step 3: Set the maximum number of iterations T, the dimension space D, and the random number r between [0,1] to obtain the initial population x, where each individual xi The position corresponds to a signal separation matrix, each individual x i The fitness value of corresponds to its kurtosis value;
[0009] Step 4: Obtain the signal kurtosis corresponding to the individuals in the population according to the fitness function of the speech signal blind separation problem; update the current maximum kurtosis value of the population and the maximum kurtosis value of the individual;
[0010] Step 5: When the random number r is less than the generated transition probability p, the individuals in the population can sense that there is a higher kurtosis around them and gather towards the individual with the highest kurtosis. The gathering method is:
[0011]
[0012] Where F is a real constant between [0,2], λ is a random number between [0,1], and represents the separation matrix corresponding to the i-th, j-th and k-th butterflies in the t-th iteration solution space, g is the optimal separation matrix in the contemporary population, and the expression of the random number r1 is:
[0013]
[0014] The expression for generating the transition probability p is:
[0015]
[0016] Among them, e and T are the current and maximum number of iterations respectively, and μ is a constant 2;
[0017] When the random number r is greater than or equal to the generation transition probability p, the individuals in the population fail to perceive that there is a higher kurtosis around them and move randomly. The movement mode is:
[0018]
[0019] Among them, r2 is a random number between [0,2π], r3 and r4 are random numbers between [0,1];
[0020] Step 6: In the later stage of iteration, execute the population restart strategy, which is: introduce a counter count and set its initial value to 0; after each round of iteration, if the global optimal separation matrix g remains unchanged, the count is increased by 1; if the global optimal separation matrix g changes, the counter is reset; when the counter count exceeds 0.1*T, the default algorithm optimization is stagnant; in order to retain the historical optimization results, improve the diversity of the corresponding kurtosis values of the population individuals, jump out of the local optimization, and use a random selection method to select 20% of the individuals (including the optimal solution) from the original population, and the remaining 80% of the individuals will be discarded and replaced by randomly generated new individuals;
[0021] Step 7: Determine whether the maximum number of iterations has been reached. If so, output the separation matrix W corresponding to the individual with the highest kurtosis in the population, and output the speech separation signal according to Y(t)=WX(t) to achieve blind separation of the mixed signal; otherwise, return to step 4.
[0022] Compared with the prior art, the above technical solution adopted by the present invention has the following advantages: the present invention uses an improved butterfly optimization algorithm to process the mixed speech signal, and the obtained separated signal has a high similarity with the source signal, thereby improving the quality of the speech signal at the receiving end, and can effectively solve the problem of interference with the speech signal in the actual communication process. Compared with the traditional blind source separation algorithm, the separation performance is improved, and it has broad application prospects in modern signal processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a model diagram of the blind source separation algorithm of the present invention;
[0024] Figure 2 The present invention is a flow chart of a method for blind separation of speech signals based on an improved butterfly optimization algorithm;
[0025] Figure 3 It is a schematic diagram of source signal of the present invention;
[0026] Figure 4 It is a schematic diagram of observation signals of the present invention;
[0027] Figure 5 This is a schematic diagram of signal separation according to the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application, that is, the embodiments described are only part of the embodiments of the present application, not all of the embodiments.
[0029] Example 1
[0030] exist Figure 1 In the speech source signal S(t) = [S1(t), S2(t), ..., S n (t)] consists of n statistically independent signals S i (t), the observed signal X(t) = [X1(t), X2(t), ..., X m (t)] consists of m signals X i (t), the noise signal N(t) = [N1(T), N2(T), ..., N m (t)] is m signals Ni (t). The key to the blind source separation method is to determine a fitness function, and then use the improved butterfly optimization algorithm to iteratively optimize it to obtain the optimal signal separation matrix W, so that the output separation signal Y(t) has the strongest independence of each component. Among them, the relationship between the separation signal Y(t) and the observation signal X(t) is as follows:
[0031] Y(t)=WX(t)=WAS(t)+WN(t)(5)
[0032] Among them, Y(t)=[Y1(t),Y2(t),...,Y n (t)].
[0033] Since there is no source signal and channel information, the signal amplitude and order after blind source separation are difficult to determine, which is called ambiguity. Although blind source separation has ambiguity, in most scientific research and production practices, the ambiguity of blind source separation will not have much impact on the results.
[0034] In order to prove the effectiveness of the method proposed in the present invention, three speech signals are selected as source signals, which are mixed to obtain observation signals, and the observation signals are blindly separated using the method proposed in the present invention to obtain separation signals. The sampling frequency and sampling point of the speech signal are 40964 and 1000 respectively.
[0035] like Figure 2 As shown, this embodiment provides a speech signal blind separation method based on an improved butterfly optimization algorithm, which specifically includes:
[0036] Step 1: Get from 3-way voice signal Figure 3 The linear mixed source signal S(t) = [S1(t), S2(t), ..., S n (t)], which is obtained by processing the non-singular mixing matrix A. Figure 4 The observed signal X(t) = [X1(t), X2(t), ..., X m (t)], where S n (t) is the nth component of the source signal S(t), X m (t) is the mth component of the observed signal X(t), t is the sampling time, m and n are positive integers, and A is an m×n order mixing matrix.
[0037] Step 2: Perform centering and whitening processing on the observed signal X(t) obtained in step 1.
[0038] Step 3: Set the maximum number of iterations T, the dimension space D, and the random number r to obtain the initial population x, where each individual x i The position corresponds to a signal separation matrix, each individual x iThe fitness value of corresponds to its kurtosis value;
[0039] Step 4: Obtain the signal kurtosis corresponding to the individual in the population according to the fitness function of the speech signal blind separation problem; update the current maximum kurtosis value of the population and the maximum kurtosis value of the individual; the fitness function is:
[0040]
[0041] Among them, the kurtosis
[0042] Step 5: Update the separation matrix corresponding to the individuals in the population in the two cases of r<p and r≥p respectively.
[0043] Step 6: In the later stage of iteration, execute the population restart strategy to improve the diversity of the corresponding kurtosis values of the population individuals.
[0044] Step 7: Determine whether the maximum number of iterations has been reached. If so, output the separation matrix W corresponding to the individual with the highest kurtosis in the population, and output the speech separation signal according to Y(t)=WX(t) to achieve blind separation of the mixed signal; otherwise, return to step 4.
[0045] The parameters in this method can be set as follows: the maximum number of iterations T is 50, the number of populations is 30;
[0046] from Figure 5 It can be seen that the signal separated by the method of the present invention can restore the source signal well. In addition, the order and amplitude of the separated signal are inconsistent with the source signal, which reflects the ambiguity of blind source separation. However, the information of the signal is hidden in the waveform, so in most scientific research and production practices, the ambiguity of blind source separation will not have much impact on the results.
[0047] In order to compare the separation performance of the algorithm, similarity coefficient, crosstalk error and calculation time are taken as evaluation indicators. Among them, the similarity coefficient is an indicator to measure the similarity between the source signal and the separation signal. The larger the similarity coefficient, the better the separation effect. It is a 3×3 matrix in the present invention, and the maximum value of each channel is taken as the experimental data; the closer the crosstalk error is to 0, the better the separation performance. The comparison algorithms are DMBOA, butterfly optimization algorithm (BOA), whale algorithm (WOA) and butterfly optimization algorithm (HPSOBOA) combined with chaos and particle swarm optimization proposed in the present invention. Each algorithm runs independently 30 times to improve the accuracy of the experiment.
[0048] The comparison results are shown in Table 1. Among them, the best similarity coefficient, crosstalk error and calculation time of all algorithms will be bolded.
[0049] Table 1. Performance evaluation index data of several algorithms for solving the blind separation problem of speech signals.
[0050]
[0051] As can be seen from Table 1, the overall separation performance of DMBOA is better than that of other algorithms used for comparison, and the obtained separation signal similarity coefficient is the highest, and the crosstalk error and calculation time are the smallest. Therefore, the method proposed in the present invention has good separation performance.
[0052] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A speech signal blind separation method based on an improved butterfly optimization algorithm, characterized in that: include: Step 1: Get the source signal S(t) = [S1(t), S2(t), ..., S n (t)], and after being processed by the non-singular mixing matrix A, the observed signal X(t) = [X1(t), X2(t), ..., X m (t)], where S n (t) is the nth component of the source signal S(t), X m (t) is the mth component of the observed signal X(t), t is the sampling time, m and n are positive integers, and A is an m×n order mixing matrix; Step 2: performing centering and whitening processing on the observed signal X(t); Step 3: Set the maximum number of iterations T, the dimension space D, and the random number r between [0,1] to obtain the initial population x, where each individual x i The position corresponds to a signal separation matrix, each individual x i The fitness value of corresponds to its kurtosis value; Step 4: Obtain the signal kurtosis corresponding to the individuals in the population according to the fitness function of the speech signal blind separation problem; update the current maximum kurtosis value of the population and the maximum kurtosis value of the individual; Step 5: When the random number r is less than the generated transition probability p, the individuals in the population can perceive that there is a higher kurtosis around them and gather towards the individuals with the highest kurtosis; when the random number r is greater than or equal to the generated transition probability p, the individuals in the population cannot perceive that there is a higher kurtosis around them and move randomly; The aggregation method is: Where F is a real constant between [0,2], λ is a random number between [0,1], and represents the separation matrix corresponding to the i-th, j-th and k-th butterflies in the t-th iteration solution space, g is the optimal separation matrix in the contemporary population, and the expression of the random number r1 is: Its movement mode is: Among them, r2 is a random number between [0,2π], r3 and r4 are random numbers between [0,1]; Step 6: At the end of the iteration, execute the population restart strategy; Step 7: Determine whether the maximum number of iterations has been reached. If so, output the separation matrix W corresponding to the individual with the highest kurtosis in the population, and output the speech separation signal according to Y(t)=WX(t) to achieve blind separation of the mixed signal; otherwise, return to step 4.
2. According to claim 1, a speech signal blind separation method based on an improved butterfly optimization algorithm is characterized in that: The expression for generating the transition probability p in step 5 is: Where e and T are the current and maximum number of iterations respectively, and μ is a constant 2.
3. According to claim 1, a speech signal blind separation method based on an improved butterfly optimization algorithm is characterized in that: The population restart strategy in step 6 is: introduce a counter count and set its initial value to 0; after each round of iteration, if the global optimal separation matrix g remains unchanged, the count is increased by 1; if the global optimal separation matrix g changes, the counter is reset; when the counter count exceeds 0.1*T, the default algorithm optimization stagnates; a random selection method is used to select 20% of the individuals from the original population, and the remaining 80% of the individuals will be discarded and replaced by randomly generated new individuals.
Citation Information
Patent Citations
Method for separating time-frequency domain signals
CN103870875A
Blind source separation method based on improved artificial bee colony algorithm
CN104009948A
Blind source separation method
CN105404783A
Two-order oscillation particle swarm blind source separation method based on heritable variation optimization
CN106126479A
Source separation by independent component analysis with moving constraint
US20130294608A1
